@lifesg/react-design-system 2.0.0-canary.6 → 2.0.0-canary.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +41 -23
- package/cjs/index.js.map +1 -1
- package/file-upload/index.js +238 -220
- package/file-upload/index.js.map +1 -1
- package/form/index.js +196 -178
- package/form/index.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +25 -7
- package/index.js.map +1 -1
- package/input/index.js +1 -1
- package/input/index.js.map +1 -1
- package/input/input.style.d.ts +3 -4
- package/input-group/index.js +2 -2
- package/input-group/index.js.map +1 -1
- package/input-multi-select/index.js +5 -5
- package/input-multi-select/index.js.map +1 -1
- package/input-range-select/index.js +117 -51
- package/input-range-select/index.js.map +1 -1
- package/input-range-select/input-range-select.style.d.ts +3 -0
- package/input-select/index.js +1 -1
- package/input-select/index.js.map +1 -1
- package/otp-input/index.js +12 -6
- package/otp-input/index.js.map +1 -1
- package/package.json +1 -1
- package/pagination/index.js +2 -2
- package/pagination/index.js.map +1 -1
- package/phone-number-input/index.js +2 -2
- package/phone-number-input/index.js.map +1 -1
- package/popover/index.js +7 -1
- package/popover/index.js.map +1 -1
- package/popover/popover.styles.d.ts +1 -0
- package/predictive-text-input/index.js +3 -3
- package/predictive-text-input/index.js.map +1 -1
- package/toast/index.js +1 -1
- package/toast/index.js.map +1 -1
- package/toast/toast.d.ts +1 -1
- package/toast/types.d.ts +2 -0
- package/unit-number/index.js +8 -8
- package/unit-number/index.js.map +1 -1
package/cjs/index.js
CHANGED
|
@@ -389,12 +389,12 @@
|
|
|
389
389
|
height: 1.375rem;
|
|
390
390
|
width: 1.375rem;
|
|
391
391
|
margin-left: 0.25rem;
|
|
392
|
-
`,Alert=({type:e,className:t,children:r,actionLink:i,...n})=>jsxRuntime.jsxs(Wrapper$r,{className:t,$type:e,"data-testid":n["data-testid"],children:[r,i&&jsxRuntime.jsxs(ActionLinkText,{weight:"semibold",...i,"data-testid":"action-link",children:[i.children,jsxRuntime.jsx(ArrowIcon,{})]})]});var lottie$1={exports:{}};(function(module,exports){var factory;"undefined"!=typeof navigator&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,i,n=e.length;for(r=0;r<n;r+=1)for(var a in i=e[r].prototype)Object.prototype.hasOwnProperty.call(i,a)&&(t.prototype[a]=i[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,i=0,n=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<t;i+=1)n.push(r);return n}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,r=createSizedArray(e.length),i=e.length;for(t=0;t<i;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,i){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,i){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,r){var i,n,a,o,s,l,d,p;switch(l=r*(1-t),d=r*(1-(s=6*e-(o=Math.floor(6*e)))*t),p=r*(1-(1-s)*t),o%6){case 0:i=r,n=p,a=l;break;case 1:i=d,n=r,a=l;break;case 2:i=l,n=r,a=p;break;case 3:i=l,n=d,a=r;break;case 4:i=p,n=l,a=r;break;case 5:i=r,n=l,a=d}return[i,n,a]}function RGBtoHSV(e,t,r){var i,n=Math.max(e,t,r),a=Math.min(e,t,r),o=n-a,s=0===n?0:o/n,l=n/255;switch(n){case a:i=0;break;case e:i=t-r+o*(t<r?6:0),i/=6*o;break;case t:i=r-e+2*o,i/=6*o;break;case r:i=e-t+4*o,i/=6*o}return[i,s,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,i){return e<0&&(e=0),t<0&&(t=0),i<0&&(i=0),"#"+r[e]+r[t]+r[i]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,r=1,i=[],n={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){n.onmessage({data:e})}};function o(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return e=t,n}((function(e){if(a.dataManager||(a.dataManager=function(){function e(n,a){var o,s,l,d,p,u,h=n.length;for(s=0;s<h;s+=1)if("ks"in(o=n[s])&&!o.completed){if(o.completed=!0,o.hasMask){var m=o.masksProperties;for(d=m.length,l=0;l<d;l+=1)if(m[l].pt.k.i)i(m[l].pt.k);else for(u=m[l].pt.k.length,p=0;p<u;p+=1)m[l].pt.k[p].s&&i(m[l].pt.k[p].s[0]),m[l].pt.k[p].e&&i(m[l].pt.k[p].e[0])}0===o.ty?(o.layers=t(o.refId,a),e(o.layers,a)):4===o.ty?r(o.shapes):5===o.ty&&c(o)}}function t(e,t){var r=function(e,t){for(var r=0,i=t.length;r<i;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,n,a;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)i(e[t].ks.k);else for(a=e[t].ks.k.length,n=0;n<a;n+=1)e[t].ks.k[n].s&&i(e[t].ks.k[n].s[0]),e[t].ks.k[n].e&&i(e[t].ks.k[n].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function i(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function n(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a,o=function(){var e=[4,4,14];function t(e){var t,r,i,n=e.length;for(t=0;t<n;t+=1)5===e[t].ty&&(i=void 0,i=(r=e[t]).t.d,r.t.d={k:[{s:i,t:0}]})}return function(r){if(n(e,r.v)&&(t(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&t(r.assets[i].layers)}}}(),s=(a=[4,7,99],function(e){if(e.chars&&!n(a,e.v)){var t,i=e.chars.length;for(t=0;t<i;t+=1){var o=e.chars[t];o.data&&o.data.shapes&&(r(o.data.shapes),o.data.ip=0,o.data.op=99999,o.data.st=0,o.data.sr=1,o.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(o.data.shapes.push({ty:"no"}),o.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"})))}}}),l=function(){var e=[5,7,15];function t(e){var t,r,i=e.length;for(t=0;t<i;t+=1)5===e[t].ty&&(r=void 0,"number"==typeof(r=e[t].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(n(e,r.v)&&(t(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&t(r.assets[i].layers)}}}(),d=function(){var e=[4,1,9];function t(e){var r,i,n,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(n=e[r].c.k.length,i=0;i<n;i+=1)e[r].c.k[i].s&&(e[r].c.k[i].s[0]/=255,e[r].c.k[i].s[1]/=255,e[r].c.k[i].s[2]/=255,e[r].c.k[i].s[3]/=255),e[r].c.k[i].e&&(e[r].c.k[i].e[0]/=255,e[r].c.k[i].e[1]/=255,e[r].c.k[i].e[2]/=255,e[r].c.k[i].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,i=e.length;for(r=0;r<i;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(n(e,t.v)&&(r(t.layers),t.assets)){var i,a=t.assets.length;for(i=0;i<a;i+=1)t.assets[i].layers&&r(t.assets[i].layers)}}}(),p=function(){var e=[4,4,18];function t(e){var r,i,n;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(n=e[r].ks.k.length,i=0;i<n;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,i,n,a,o,s,l=e.length;for(i=0;i<l;i+=1){if((r=e[i]).hasMask){var d=r.masksProperties;for(a=d.length,n=0;n<a;n+=1)if(d[n].pt.k.i)d[n].pt.k.c=d[n].cl;else for(s=d[n].pt.k.length,o=0;o<s;o+=1)d[n].pt.k[o].s&&(d[n].pt.k[o].s[0].c=d[n].cl),d[n].pt.k[o].e&&(d[n].pt.k[o].e[0].c=d[n].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(n(e,t.v)&&(r(t.layers),t.assets)){var i,a=t.assets.length;for(i=0;i<a;i+=1)t.assets[i].layers&&r(t.assets[i].layers)}}}();function c(e){0===e.t.a.length&&e.t.p}var u={completeData:function(r){r.__complete||(d(r),o(r),s(r),l(r),p(r),e(r.layers,r.assets),function(r,i){if(r){var n=0,a=r.length;for(n=0;n<a;n+=1)1===r[n].t&&(r[n].data.layers=t(r[n].data.refId,i),e(r[n].data.layers,i))}}(r.chars,r.assets),r.__complete=!0)}};return u.checkColors=d,u.checkChars=s,u.checkPathProperties=l,u.checkShapes=p,u.completeLayers=e,u}()),a.assetLoader||(a.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,i,n){var a,o=new XMLHttpRequest;try{o.responseType="json"}catch(e){}o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status)a=e(o),i(a);else try{a=e(o),i(a)}catch(e){n&&n(e)}};try{o.open(["G","E","T"].join(""),t,!0)}catch(e){o.open(["G","E","T"].join(""),r+"/"+t,!0)}o.send()}}}()),"loadAnimation"===e.data.type)a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,r=t.id,n=i[r];i[r]=null,"success"===t.status?n.onComplete(t.payload):n.onError&&n.onError()})}function s(e,t){var n="processId_"+(r+=1);return i[n]={onComplete:e,onError:t},n}return{loadAnimation:function(e,r,i){o();var n=s(r,i);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(e,r,i){o();var n=s(r,i);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(e,r,i){o();var n=s(r,i);t.postMessage({type:"complete",animation:e,id:n})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(e,t,r){var i="";if(e.e)i=e.p;else if(t){var n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),i=t+n}else i=r,i+=e.u?e.u:"",i+=e.p;return i}function n(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},r=i(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function o(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return o.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var i=e.length;for(r=0;r<i;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},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(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=i(t,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),n.src=r;var a={img:n,assetData:t};return a},createImageData:function(t){var r=i(t,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var a={img:n,assetData:t};return a},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},o}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],i=0;i<r.length;i+=1)r[i](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,i=this._cbs[e].length;r<i;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,i-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),i={},n=0,a=0;a<r.length;a+=1)2===(t=r[a].split(":")).length&&(i[t[0]]=t[1].trim(),n+=1);if(0===n)throw new Error;return i}return function(t){for(var r=[],i=0;i<t.length;i+=1){var n=t[i],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(t[i].cm)}catch(r){try{a.payload=e(t[i].cm)}catch(e){a.payload={name:t[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},i=e.attributes;r.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:"",r.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:getRegisteredRenderer()||"canvas";var n=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"===n?r.loop=!1:"true"===n?r.loop=!0:""!==n&&(r.loop=parseInt(n,10));var a=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;r.autoplay="false"!==a,r.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:"","false"===(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:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,i=this.animationData.layers,n=i.length,a=e.layers,o=a.length;for(r=0;r<o;r+=1)for(t=0;t<n;){if(i[t].id===a[r].id){i[t]=a[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,t=0;t<n;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,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(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r="number"==typeof e?e:void 0,i="number"==typeof t?t:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if((t=this.markers[r]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var i=Number(e);if(isNaN(i)){var n=this.getMarkerData(e);n&&this.goToAndStop(n.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!r||this.name===r){var i=Number(e);if(isNaN(i)){var n=this.getMarkerData(e);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(i,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=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)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,i=e.length;for(r=0;r<i;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!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.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,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(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,i=0,n=0,a=!0,o=!1;function s(e){for(var r=0,n=e.target;r<i;)t[r].animation===n&&(t.splice(r,1),r-=1,i-=1,n.isPaused||p()),r+=1}function l(e,r){if(!e)return null;for(var n=0;n<i;){if(t[n].elem===e&&null!==t[n].elem)return t[n].animation;n+=1}var a=new AnimationItem;return c(a,e),a.setData(e,r),a}function d(){n+=1,m()}function p(){n-=1}function c(e,r){e.addEventListener("destroy",s),e.addEventListener("_active",d),e.addEventListener("_idle",p),t.push({elem:r,animation:e}),i+=1}function u(e){var s,l=e-r;for(s=0;s<i;s+=1)t[s].animation.advanceTime(l);r=e,n&&!o?window.requestAnimationFrame(u):a=!0}function h(e){r=e,window.requestAnimationFrame(u)}function m(){!o&&n&&a&&(window.requestAnimationFrame(h),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return c(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var n;for(n=0;n<i;n+=1)t[n].animation.setSpeed(e,r)},e.setDirection=function(e,r){var n;for(n=0;n<i;n+=1)t[n].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var i,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=n.length;for(i=0;i<a;i+=1)r&&n[i].setAttribute("data-bm-type",r),l(n[i],e);if(t&&0===a){r||(r="svg");var o=document.getElementsByTagName("body")[0];o.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",r),o.appendChild(s),l(s,e)}},e.resize=function(){var e;for(e=0;e<i;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,n){var a;for(a=0;a<i;a+=1)t[a].animation.goToAndStop(e,r,n)},e.destroy=function(e){var r;for(r=i-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){o=!0},e.unfreeze=function(){o=!1,m()},e.setVolume=function(e,r){var n;for(n=0;n<i;n+=1)t[n].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i.push(t[e].animation);return i},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,i,n,a){var o=a||("bez_"+e+"_"+r+"_"+i+"_"+n).replace(/\./g,"p");if(t[o])return t[o];var s=new p([e,r,i,n]);return t[o]=s,s}},t={},r=11,i=1/(r-1),n="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,r){return((a(t,r)*e+o(t,r))*e+s(t))*e}function d(e,t,r){return 3*a(t,r)*e*e+2*o(t,r)*e+s(t)}function p(e){this._p=e,this._mSampleValues=n?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return p.prototype={get:function(e){var t=this._p[0],r=this._p[1],i=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),t===r&&i===n?e:0===e?0:1===e?1:l(this._getTForX(e),r,n)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,e===t&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],n=0;n<r;++n)this._mSampleValues[n]=l(n*i,e,t)},_getTForX:function(e){for(var t=this._p[0],n=this._p[2],a=this._mSampleValues,o=0,s=1,p=r-1;s!==p&&a[s]<=e;++s)o+=i;var c=o+(e-a[--s])/(a[s+1]-a[s])*i,u=d(c,t,n);return u>=.001?function(e,t,r,i){for(var n=0;n<4;++n){var a=d(t,r,i);if(0===a)return t;t-=(l(t,r,i)-e)/a}return t}(e,c,t,n):0===u?c:function(e,t,r,i,n){var a,o,s=0;do{(a=l(o=t+(r-t)/2,i,n)-e)>0?r=o:t=o}while(Math.abs(a)>1e-7&&++s<10);return o}(e,o,o+i,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var i=0,n=e,a=createSizedArray(n);return{newElement:function(){return i?a[i-=1]:t()},release:function(e){i===n&&(a=pooling.double(a),n*=2),r&&r(e),a[i]=e,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(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,r,i,n,a){var o=e*i+t*n+r*a-n*i-a*e-r*t;return o>-.001&&o<.001}var r=function(e,t,r,i){var n,a,o,s,l,d,p=getDefaultCurveSegments(),c=0,u=[],h=[],m=bezierLengthPool.newElement();for(o=r.length,n=0;n<p;n+=1){for(l=n/(p-1),d=0,a=0;a<o;a+=1)s=bmPow(1-l,3)*e[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*i[a]+bmPow(l,3)*t[a],u[a]=s,null!==h[a]&&(d+=bmPow(u[a]-h[a],2)),h[a]=u[a];d&&(c+=d=bmSqrt(d)),m.percents[n]=l,m.lengths[n]=c}return m.addedLength=c,m};function i(e){this.segmentLength=0,this.points=new Array(e)}function n(e,t){this.partialLength=e,this.point=t}var a,o=(a={},function(e,r,o,s){var l=(e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+o[0]+"_"+o[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!a[l]){var d,p,c,u,h,m,f,y=getDefaultCurveSegments(),g=0,x=null;2===e.length&&(e[0]!==r[0]||e[1]!==r[1])&&t(e[0],e[1],r[0],r[1],e[0]+o[0],e[1]+o[1])&&t(e[0],e[1],r[0],r[1],r[0]+s[0],r[1]+s[1])&&(y=2);var _=new i(y);for(c=o.length,d=0;d<y;d+=1){for(f=createSizedArray(c),h=d/(y-1),m=0,p=0;p<c;p+=1)u=bmPow(1-h,3)*e[p]+3*bmPow(1-h,2)*h*(e[p]+o[p])+3*(1-h)*bmPow(h,2)*(r[p]+s[p])+bmPow(h,3)*r[p],f[p]=u,null!==x&&(m+=bmPow(f[p]-x[p],2));g+=m=bmSqrt(m),_.points[d]=new n(m,f),x=f}_.segmentLength=g,a[l]=_}return a[l]});function s(e,t){var r=t.percents,i=t.lengths,n=r.length,a=bmFloor((n-1)*e),o=e*t.addedLength,s=0;if(a===n-1||0===a||o===i[a])return r[a];for(var l=i[a]>o?-1:1,d=!0;d;)if(i[a]<=o&&i[a+1]>o?(s=(o-i[a])/(i[a+1]-i[a]),d=!1):a+=l,a<0||a>=n-1){if(a===n-1)return r[a];d=!1}return r[a]+(r[a+1]-r[a])*s}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,i=segmentsLengthPool.newElement(),n=e.c,a=e.v,o=e.o,s=e.i,l=e._length,d=i.lengths,p=0;for(t=0;t<l-1;t+=1)d[t]=r(a[t],a[t+1],o[t],s[t+1]),p+=d[t].addedLength;return n&&l&&(d[t]=r(a[t],a[0],o[t],s[0]),p+=d[t].addedLength),i.totalLength=p,i},getNewSegment:function(t,r,i,n,a,o,d){a<0?a=0:a>1&&(a=1);var p,c=s(a,d),u=s(o=o>1?1:o,d),h=t.length,m=1-c,f=1-u,y=m*m*m,g=c*m*m*3,x=c*c*m*3,_=c*c*c,b=m*m*f,v=c*m*f+m*c*f+m*m*u,S=c*c*f+m*c*u+c*m*u,C=c*c*u,$=m*f*f,w=c*f*f+m*u*f+m*f*u,T=c*u*f+m*u*u+c*f*u,R=c*u*u,E=f*f*f,k=u*f*f+f*u*f+f*f*u,A=u*u*f+f*u*u+u*f*u,D=u*u*u;for(p=0;p<h;p+=1)l[4*p]=e.round(1e3*(y*t[p]+g*i[p]+x*n[p]+_*r[p]))/1e3,l[4*p+1]=e.round(1e3*(b*t[p]+v*i[p]+S*n[p]+C*r[p]))/1e3,l[4*p+2]=e.round(1e3*($*t[p]+w*i[p]+T*n[p]+R*r[p]))/1e3,l[4*p+3]=e.round(1e3*(E*t[p]+k*i[p]+A*n[p]+D*r[p]))/1e3;return l},getPointInSegment:function(t,r,i,n,a,o){var l=s(a,o),d=1-l;return[e.round(1e3*(d*d*d*t[0]+(l*d*d+d*l*d+d*d*l)*i[0]+(l*l*d+d*l*l+l*d*l)*n[0]+l*l*l*r[0]))/1e3,e.round(1e3*(d*d*d*t[1]+(l*d*d+d*l*d+d*d*l)*i[1]+(l*l*d+d*l*l+l*d*l)*n[1]+l*l*l*r[1]))/1e3]},buildBezierData:o,pointOnLine2D:t,pointOnLine3D:function(r,i,n,a,o,s,l,d,p){if(0===n&&0===s&&0===p)return t(r,i,a,o,l,d);var c,u=e.sqrt(e.pow(a-r,2)+e.pow(o-i,2)+e.pow(s-n,2)),h=e.sqrt(e.pow(l-r,2)+e.pow(d-i,2)+e.pow(p-n,2)),m=e.sqrt(e.pow(l-a,2)+e.pow(d-o,2)+e.pow(p-s,2));return(c=u>h?u>m?u-h-m:m-h-u:m>h?m-h-u:h-u-m)>-1e-4&&c<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var n,a,o,s,l,d,p,c,u,h=t.lastIndex,m=h,f=this.keyframes.length-1,y=!0;y;){if(n=this.keyframes[m],a=this.keyframes[m+1],m===f-1&&e>=a.t-i){n.h&&(n=a),h=0;break}if(a.t-i>e){h=m;break}m<f-1?m+=1:(h=0,y=!1)}o=this.keyframesMetadata[m]||{};var g,x=a.t-i,_=n.t-i;if(n.to){o.bezierData||(o.bezierData=bez.buildBezierData(n.s,a.s||n.e,n.to,n.ti));var b=o.bezierData;if(e>=x||e<_){var v=e>=x?b.points.length-1:0;for(l=b.points[v].point.length,s=0;s<l;s+=1)r[s]=b.points[v].point[s]}else{o.__fnct?u=o.__fnct:(u=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,o.__fnct=u),d=u((e-_)/(x-_));var S,C=b.segmentLength*d,$=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(c=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,y=!0,p=b.points.length;y;){if($+=b.points[c].partialLength,0===C||0===d||c===b.points.length-1){for(l=b.points[c].point.length,s=0;s<l;s+=1)r[s]=b.points[c].point[s];break}if(C>=$&&C<$+b.points[c+1].partialLength){for(S=(C-$)/b.points[c+1].partialLength,l=b.points[c].point.length,s=0;s<l;s+=1)r[s]=b.points[c].point[s]+(b.points[c+1].point[s]-b.points[c].point[s])*S;break}c<p-1?c+=1:y=!1}t._lastPoint=c,t._lastAddedLength=$-b.points[c].partialLength,t._lastKeyframeIndex=m}}else{var w,T,R,E,k;if(f=n.s.length,g=a.s||n.e,this.sh&&1!==n.h)e>=x?(r[0]=g[0],r[1]=g[1],r[2]=g[2]):e<=_?(r[0]=n.s[0],r[1]=n.s[1],r[2]=n.s[2]):quaternionToEuler(r,slerp(createQuaternion(n.s),createQuaternion(g),(e-_)/(x-_)));else for(m=0;m<f;m+=1)1!==n.h&&(e>=x?d=1:e<_?d=0:(n.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?u=o.__fnct[m]:(w=void 0===n.o.x[m]?n.o.x[0]:n.o.x[m],T=void 0===n.o.y[m]?n.o.y[0]:n.o.y[m],R=void 0===n.i.x[m]?n.i.x[0]:n.i.x[m],E=void 0===n.i.y[m]?n.i.y[0]:n.i.y[m],u=BezierFactory.getBezierEasing(w,T,R,E).get,o.__fnct[m]=u)):o.__fnct?u=o.__fnct:(w=n.o.x,T=n.o.y,R=n.i.x,E=n.i.y,u=BezierFactory.getBezierEasing(w,T,R,E).get,n.keyframeMetadata=u),d=u((e-_)/(x-_)))),g=a.s||n.e,k=1===n.h?n.s[m]:n.s[m]+(g[m]-n.s[m])*d,"multidimensional"===this.propType?r[m]=k:r=k}return t.lastIndex=h,r}function slerp(e,t,r){var i,n,a,o,s,l=[],d=e[0],p=e[1],c=e[2],u=e[3],h=t[0],m=t[1],f=t[2],y=t[3];return(n=d*h+p*m+c*f+u*y)<0&&(n=-n,h=-h,m=-m,f=-f,y=-y),1-n>1e-6?(i=Math.acos(n),a=Math.sin(i),o=Math.sin((1-r)*i)/a,s=Math.sin(r*i)/a):(o=1-r,s=r),l[0]=o*d+s*h,l[1]=o*p+s*m,l[2]=o*c+s*f,l[3]=o*u+s*y,l}function quaternionToEuler(e,t){var r=t[0],i=t[1],n=t[2],a=t[3],o=Math.atan2(2*i*a-2*r*n,1-2*i*i-2*n*n),s=Math.asin(2*r*i+2*n*a),l=Math.atan2(2*r*a-2*i*n,1-2*r*r-2*n*n);e[0]=o/degToRads,e[1]=s/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,n=Math.cos(t/2),a=Math.cos(r/2),o=Math.cos(i/2),s=Math.sin(t/2),l=Math.sin(r/2),d=Math.sin(i/2);return[s*l*o+n*a*d,s*a*o+n*l*d,n*l*o-s*a*d,n*a*o-s*l*d]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,i){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,i){var n;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),n=0;n<a;n+=1)this.v[n]=t.k[n]*this.mult,this.pv[n]=t.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,i){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,i){var n;this.propType="multidimensional";var a,o,s,l,d=t.k.length;for(n=0;n<d-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(a=t.k[n].s,o=t.k[n+1].s,s=t.k[n].to,l=t.k[n].ti,(2===a.length&&(a[0]!==o[0]||a[1]!==o[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],a[0]+s[0],a[1]+s[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],o[0]+l[0],o[1]+l[1])||3===a.length&&(a[0]!==o[0]||a[1]!==o[1]||a[2]!==o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],a[0]+s[0],a[1]+s[1],a[2]+s[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],o[0]+l[0],o[1]+l[1],o[2]+l[2]))&&(t.k[n].to=null,t.k[n].ti=null),a[0]===o[0]&&a[1]===o[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===a.length||a[2]===o[2]&&0===s[2]&&0===l[2])&&(t.k[n].to=null,t.k[n].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=t.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),n=0;n<p;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory=(ob={getProp:function(e,t,r,i,n){var a;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"==typeof t.k[0])a=new MultiDimensionalProperty(e,t,i,n);else switch(r){case 0:a=new KeyframedValueProperty(e,t,i,n);break;case 1:a=new KeyframedMultidimensionalProperty(e,t,i,n)}else a=new ValueProperty(e,t,i,n);return a.effectsSequence.length&&n.addDynamicProperty(a),a}},ob),ob;function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,i,n){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!n)&&(a[i]=pointPool.newElement()),a[i][0]=e,a[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,n,a,o,s){this.setXYAt(e,t,"v",o,s),this.setXYAt(r,i,"o",o,s),this.setXYAt(n,a,"i",o,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a,o=this._length-1,s=this._length;for(a=n;a<s;a+=1)e.setTripleAt(t[o][0],t[o][1],i[o][0],i[o][1],r[o][0],r[o][1],a,!1),o-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,r=factory.newElement(),i=void 0===e._length?e.v.length:e._length;for(r.setLength(i),r.c=e.c,t=0;t<i;t+=1)r.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:function(){return t?i[t-=1]:new ShapeCollection},release:function(e){var n,a=e._length;for(n=0;n<a;n+=1)shapePool.release(e.shapes[n]);e._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=e,t+=1}},t=0,r=4,i=createSizedArray(r);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var i,n,a,o,s,l,d,p,c,u=r.lastIndex,h=this.keyframes;if(e<h[0].t-this.offsetTime)i=h[0].s[0],a=!0,u=0;else if(e>=h[h.length-1].t-this.offsetTime)i=h[h.length-1].s?h[h.length-1].s[0]:h[h.length-2].e[0],a=!0;else{for(var m,f,y,g=u,x=h.length-1,_=!0;_&&(m=h[g],!((f=h[g+1]).t-this.offsetTime>e));)g<x-1?g+=1:_=!1;if(y=this.keyframesMetadata[g]||{},u=g,!(a=1===m.h)){if(e>=f.t-this.offsetTime)p=1;else if(e<m.t-this.offsetTime)p=0;else{var b;y.__fnct?b=y.__fnct:(b=BezierFactory.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,y.__fnct=b),p=b((e-(m.t-this.offsetTime))/(f.t-this.offsetTime-(m.t-this.offsetTime)))}n=f.s?f.s[0]:m.e[0]}i=m.s[0]}for(l=t._length,d=i.i[0].length,r.lastIndex=u,o=0;o<l;o+=1)for(s=0;s<d;s+=1)c=a?i.i[o][s]:i.i[o][s]+(n.i[o][s]-i.i[o][s])*p,t.i[o][s]=c,c=a?i.o[o][s]:i.o[o][s]+(n.o[o][s]-i.o[o][s])*p,t.o[o][s]=c,c=a?i.v[o][s]:i.v[o][s]+(n.v[o][s]-i.v[o][s])*p,t.v[o][s]=c}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==e&&(n<r&&t<r||n>i&&t>i)||(this._caching.lastIndex=n<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function i(){this.paths=this.localShapeCollection}function n(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,i=e._length;for(r=0;r<i;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),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)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function o(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var n=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,n,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?n.pt.k:n.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var o=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,o),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=i,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}o.prototype.interpolateShape=t,o.prototype.getValue=a,o.prototype.setVValue=n,o.prototype.addEffect=s,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=n,l.prototype.addEffect=s;var d=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:i,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],r=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,a=3!==this.d,o=this.v;o.v[0][0]=t,o.v[0][1]=r-n,o.v[1][0]=a?t+i:t-i,o.v[1][1]=r,o.v[2][0]=t,o.v[2][1]=r+n,o.v[3][0]=a?t-i:t+i,o.v[3][1]=r,o.i[0][0]=a?t-i*e:t+i*e,o.i[0][1]=r-n,o.i[1][0]=a?t+i:t-i,o.i[1][1]=r-n*e,o.i[2][0]=a?t+i*e:t-i*e,o.i[2][1]=r+n,o.i[3][0]=a?t-i:t+i,o.i[3][1]=r+n*e,o.o[0][0]=a?t+i*e:t-i*e,o.o[0][1]=r-n,o.o[1][0]=a?t+i:t-i,o.o[1][1]=r+n*e,o.o[2][0]=a?t-i*e:t+i*e,o.o[2][1]=r+n,o.o[3][0]=a?t-i:t+i,o.o[3][1]=r-n*e}},extendPrototype([DynamicPropertyContainer],t),t}(),p=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,i,n=2*Math.floor(this.pt.v),a=2*Math.PI/n,o=!0,s=this.or.v,l=this.ir.v,d=this.os.v,p=this.is.v,c=2*Math.PI*s/(2*n),u=2*Math.PI*l/(2*n),h=-Math.PI/2;h+=this.r.v;var m=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<n;e+=1){r=o?d:p,i=o?c:u;var f=(t=o?s:l)*Math.cos(h),y=t*Math.sin(h),g=0===f&&0===y?0:y/Math.sqrt(f*f+y*y),x=0===f&&0===y?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-g*i*r*m,y-x*i*r*m,f+g*i*r*m,y+x*i*r*m,e,!0),o=!o,h+=a*m}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,i=this.or.v,n=this.os.v,a=2*Math.PI*i/(4*t),o=.5*-Math.PI,s=3===this.data.d?-1:1;for(o+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=i*Math.cos(o),d=i*Math.sin(o),p=0===l&&0===d?0:d/Math.sqrt(l*l+d*d),c=0===l&&0===d?0:-l/Math.sqrt(l*l+d*d);l+=+this.p.v[0],d+=+this.p.v[1],this.v.setTripleAt(l,d,l-p*a*n*s,d-c*a*n*s,l+p*a*n*s,d+c*a*n*s,e,!0),o+=r*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,n=bmMin(r,i,this.r.v),a=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-i+n,e+r,t-i+n,e+r,t-i+a,0,!0),this.v.setTripleAt(e+r,t+i-n,e+r,t+i-a,e+r,t+i-n,1,!0),0!==n?(this.v.setTripleAt(e+r-n,t+i,e+r-n,t+i,e+r-a,t+i,2,!0),this.v.setTripleAt(e-r+n,t+i,e-r+a,t+i,e-r+n,t+i,3,!0),this.v.setTripleAt(e-r,t+i-n,e-r,t+i-n,e-r,t+i-a,4,!0),this.v.setTripleAt(e-r,t-i+n,e-r,t-i+a,e-r,t-i+n,5,!0),this.v.setTripleAt(e-r+n,t-i,e-r+n,t-i,e-r+a,t-i,6,!0),this.v.setTripleAt(e+r-n,t-i,e+r-a,t-i,e+r-n,t-i,7,!0)):(this.v.setTripleAt(e-r,t+i,e-r+a,t+i,e-r,t+i,2),this.v.setTripleAt(e-r,t-i,e-r,t-i+a,e-r,t-i,3))):(this.v.setTripleAt(e+r,t-i+n,e+r,t-i+a,e+r,t-i+n,0,!0),0!==n?(this.v.setTripleAt(e+r-n,t-i,e+r-n,t-i,e+r-a,t-i,1,!0),this.v.setTripleAt(e-r+n,t-i,e-r+a,t-i,e-r+n,t-i,2,!0),this.v.setTripleAt(e-r,t-i+n,e-r,t-i+n,e-r,t-i+a,3,!0),this.v.setTripleAt(e-r,t+i-n,e-r,t+i-a,e-r,t+i-n,4,!0),this.v.setTripleAt(e-r+n,t+i,e-r+n,t+i,e-r+a,t+i,5,!0),this.v.setTripleAt(e+r-n,t+i,e+r-a,t+i,e+r-n,t+i,6,!0),this.v.setTripleAt(e+r,t+i-n,e+r,t+i-n,e+r,t+i-a,7,!0)):(this.v.setTripleAt(e-r,t-i,e-r+a,t-i,e-r,t-i,1,!0),this.v.setTripleAt(e-r,t+i,e-r,t+i-a,e-r,t+i,2,!0),this.v.setTripleAt(e+r,t+i,e+r-a,t+i,e+r,t+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],e),e}(),u={getShapeProp:function(e,t,r){var i;return 3===r||4===r?i=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new o(e,t,r):5===r?i=new c(e,t):6===r?i=new d(e,t):7===r&&(i=new p(e,t)),i.k&&e.addDynamicProperty(i),i},getConstructorFunction:function(){return o},getKeyframedConstructorFunction:function(){return l}};return u}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function o(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1)}function s(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1)}function l(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function d(e,t){return this._t(1,t,e,1,0,0)}function p(e,t){return this.shear(r(e),r(t))}function c(i,n){var a=e(n),o=t(n);return this._t(a,o,0,0,-o,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(a,-o,0,0,o,a,0,0,0,0,1,0,0,0,0,1)}function u(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function h(e,t,r,i,n,a,o,s,l,d,p,c,u,h,m,f){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=i,this.props[4]=n,this.props[5]=a,this.props[6]=o,this.props[7]=s,this.props[8]=l,this.props[9]=d,this.props[10]=p,this.props[11]=c,this.props[12]=u,this.props[13]=h,this.props[14]=m,this.props[15]=f,this}function m(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function f(e,t,r,i,n,a,o,s,l,d,p,c,u,h,m,f){var y=this.props;if(1===e&&0===t&&0===r&&0===i&&0===n&&1===a&&0===o&&0===s&&0===l&&0===d&&1===p&&0===c)return y[12]=y[12]*e+y[15]*u,y[13]=y[13]*a+y[15]*h,y[14]=y[14]*p+y[15]*m,y[15]*=f,this._identityCalculated=!1,this;var g=y[0],x=y[1],_=y[2],b=y[3],v=y[4],S=y[5],C=y[6],$=y[7],w=y[8],T=y[9],R=y[10],E=y[11],k=y[12],A=y[13],D=y[14],j=y[15];return y[0]=g*e+x*n+_*l+b*u,y[1]=g*t+x*a+_*d+b*h,y[2]=g*r+x*o+_*p+b*m,y[3]=g*i+x*s+_*c+b*f,y[4]=v*e+S*n+C*l+$*u,y[5]=v*t+S*a+C*d+$*h,y[6]=v*r+S*o+C*p+$*m,y[7]=v*i+S*s+C*c+$*f,y[8]=w*e+T*n+R*l+E*u,y[9]=w*t+T*a+R*d+E*h,y[10]=w*r+T*o+R*p+E*m,y[11]=w*i+T*s+R*c+E*f,y[12]=k*e+A*n+D*l+j*u,y[13]=k*t+A*a+D*d+j*h,y[14]=k*r+A*o+D*p+j*m,y[15]=k*i+A*s+D*c+j*f,this._identityCalculated=!1,this}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 g(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function x(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function _(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function b(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function v(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function S(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function C(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function $(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,i=-this.props[4]/e,n=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,o=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=r,s.props[4]=i,s.props[5]=n,s.props[12]=a,s.props[13]=o,s}function w(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function T(e){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i[t]=w(e[t]);return i}function R(e,t,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=e[0],i[1]=e[1],i[2]=t[0],i[3]=t[1],i[4]=r[0],i[5]=r[1];else{var n=this.props[0],a=this.props[1],o=this.props[4],s=this.props[5],l=this.props[12],d=this.props[13];i[0]=e[0]*n+e[1]*o+l,i[1]=e[0]*a+e[1]*s+d,i[2]=t[0]*n+t[1]*o+l,i[3]=t[0]*a+t[1]*s+d,i[4]=r[0]*n+r[1]*o+l,i[5]=r[0]*a+r[1]*s+d}return i}function E(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function k(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function A(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=i(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function D(e){return e<1e-6&&e>0||e>-1e-6&&e<0?i(1e4*e)/1e4:e}function j(){var e=this.props;return"matrix("+D(e[0])+","+D(e[1])+","+D(e[4])+","+D(e[5])+","+D(e[12])+","+D(e[13])+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=o,this.rotateY=s,this.rotateZ=l,this.skew=p,this.skewFromAxis=c,this.shear=d,this.scale=u,this.setTransform=h,this.translate=m,this.transform=f,this.applyToPoint=b,this.applyToX=v,this.applyToY=S,this.applyToZ=C,this.applyToPointArray=E,this.applyToTriplePoints=R,this.applyToPointStringified=k,this.toCSS=A,this.to2dCSS=j,this.clone=x,this.cloneFromProps=_,this.equals=g,this.inversePoints=T,this.inversePoint=w,this.getInverseMatrix=$,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){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(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var i=t[r].split("=");if(decodeURIComponent(i[0])==e)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.11.0";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer");var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,i){return new t[e](r,i)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,i,n){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o,s,l=[],d=a.length;for(o=0;o<d;o+=1){var p,c;(s=a[o]).e*n<i||s.s*n>i+r||(p=s.s*n<=i?0:(s.s*n-i)/r,c=s.e*n>=i+r?1:(s.e*n-i)/r,l.push([p,c]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,i,n;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),(t=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var o=t;t=r,r=o}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var s,l,d,p,c,u=this.shapes.length,h=0;if(r===t)for(n=0;n<u;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(n=0;n<u;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var m,f,y=[];for(n=0;n<u;n+=1)if((m=this.shapes[n]).shape._mdf||this._mdf||e||2===this.m){if(l=(i=m.shape.paths)._length,c=0,!m.shape._mdf&&m.pathsData.length)c=m.totalShapeLength;else{for(d=this.releasePathsData(m.pathsData),s=0;s<l;s+=1)p=bez.getSegmentsLength(i.shapes[s]),d.push(p),c+=p.totalLength;m.totalShapeLength=c,m.pathsData=d}h+=c,m.shape._mdf=!0}else m.shape.paths=m.localShapeCollection;var g,x=t,_=r,b=0;for(n=u-1;n>=0;n-=1)if((m=this.shapes[n]).shape._mdf){for((f=m.localShapeCollection).releaseShapes(),2===this.m&&u>1?(g=this.calculateShapeEdges(t,r,m.totalShapeLength,b,h),b+=m.totalShapeLength):g=[[x,_]],l=g.length,s=0;s<l;s+=1){x=g[s][0],_=g[s][1],y.length=0,_<=1?y.push({s:m.totalShapeLength*x,e:m.totalShapeLength*_}):x>=1?y.push({s:m.totalShapeLength*(x-1),e:m.totalShapeLength*(_-1)}):(y.push({s:m.totalShapeLength*x,e:m.totalShapeLength}),y.push({s:0,e:m.totalShapeLength*(_-1)}));var v=this.addShapes(m,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(m.shape.paths.shapes[m.shape.paths._length-1].c){var S=v.pop();this.addPaths(v,f),v=this.addShapes(m,y[1],S)}else this.addPaths(v,f),v=this.addShapes(m,y[1]);this.addPaths(v,f)}}m.shape.paths=f}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,i,n,a,o){n.setXYAt(t[0],t[1],"o",a),n.setXYAt(r[0],r[1],"i",a+1),o&&n.setXYAt(e[0],e[1],"v",a),n.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i,n,a,o,s,l,d,p,c=e.pathsData,u=e.shape.paths.shapes,h=e.shape.paths._length,m=0,f=[],y=!0;for(r?(s=r._length,p=r._length):(r=shapePool.newElement(),s=0,p=0),f.push(r),i=0;i<h;i+=1){for(l=c[i].lengths,r.c=u[i].c,a=u[i].c?l.length:l.length+1,n=1;n<a;n+=1)if(m+(o=l[n-1]).addedLength<t.s)m+=o.addedLength,r.c=!1;else{if(m>t.e){r.c=!1;break}t.s<=m&&t.e>=m+o.addedLength?(this.addSegment(u[i].v[n-1],u[i].o[n-1],u[i].i[n],u[i].v[n],r,s,y),y=!1):(d=bez.getNewSegment(u[i].v[n-1],u[i].v[n],u[i].o[n-1],u[i].i[n],(t.s-m)/o.addedLength,(t.e-m)/o.addedLength,l[n-1]),this.addSegmentFromArray(d,r,s,y),y=!1,r.c=!1),m+=o.addedLength,s+=1}if(u[i].c&&l.length){if(o=l[n-1],m<=t.e){var g=l[n-1].addedLength;t.s<=m&&t.e>=m+g?(this.addSegment(u[i].v[n-1],u[i].o[n-1],u[i].i[0],u[i].v[0],r,s,y),y=!1):(d=bez.getNewSegment(u[i].v[n-1],u[i].v[0],u[i].o[n-1],u[i].i[0],(t.s-m)/g,(t.e-m)/g,l[n-1]),this.addSegmentFromArray(d,r,s,y),y=!1,r.c=!1)}else r.c=!1;m+=o.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),m>t.e)break;i<h-1&&(r=shapePool.newElement(),y=!0,f.push(r),s=0)}return f},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,i=[0,0],n=e._length,a=0;for(a=0;a<n;a+=1)i[0]+=e.v[a][0],i[1]+=e.v[a][1];i[0]/=n,i[1]/=n;var o,s,l,d,p,c,u=shapePool.newElement();for(u.c=e.c,a=0;a<n;a+=1)o=e.v[a][0]+(i[0]-e.v[a][0])*r,s=e.v[a][1]+(i[1]-e.v[a][1])*r,l=e.o[a][0]+(i[0]-e.o[a][0])*-r,d=e.o[a][1]+(i[1]-e.o[a][1])*-r,p=e.i[a][0]+(i[0]-e.i[a][0])*-r,c=e.i[a][1]+(i[1]-e.i[a][1])*-r,u.setTripleAt(o,s,l,d,p,c,a);return u},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var i,n=t.or.k.length;for(i=0;i<n;i+=1)t.or.k[i].to=null,t.or.k[i].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.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?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,n;if(r=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)/r,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/r,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/r,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],n=[];var a=this.px,o=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),n[0]=a.getValueAtTime(a.keyframes[0].t/r,0),n[1]=o.getValueAtTime(o.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),n[1]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,o.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),n[1]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime))}else i=n=e;this.v.rotate(-Math.atan2(i[1]-n[1],i[0]-n[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.a.k&&(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(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,i){return new t(e,r,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(0===e)return[];var i=t*t-4*e*r;if(i<0)return[];var n=-t/(2*e);if(0===i)return[n];var a=Math.sqrt(i)/(2*e);return[n-a,n+a]}function polynomialCoefficients(e,t,r,i){return[3*t-e-3*r+i,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,i,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,i,1/3)),n&&pointEqual(r,i)&&(r=lerpPoint(e,i,2/3));var a=polynomialCoefficients(e[0],t[0],r[0],i[0]),o=polynomialCoefficients(e[1],t[1],r[1],i[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,r,i]}function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var n=i;i=r,r=n}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var s=e.point(a[o])[t];s<r?r=s:s>i&&(i=s)}return{min:r,max:i}}function intersectData(e,t,r){var i=e.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,r,i,n,a){if(boxIntersect(e,t))if(r>=a||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i)n.push([e.t,t.t]);else{var o=splitData(e),s=splitData(t);intersectsImpl(o[0],s[0],r+1,i,n,a),intersectsImpl(o[0],s[1],r+1,i,n,a),intersectsImpl(o[1],s[0],r+1,i,n,a),intersectsImpl(o[1],s[1],r+1,i,n,a)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var n=[e[0],e[1],1],a=[t[0],t[1],1],o=[r[0],r[1],1],s=[i[0],i[1],1],l=crossProduct(crossProduct(n,a),crossProduct(o,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,r,i,n,a,o){var s=r-Math.PI/2,l=r+Math.PI/2,d=t[0]+Math.cos(r)*i*n,p=t[1]-Math.sin(r)*i*n;e.setTripleAt(d,p,d+Math.cos(s)*a,p-Math.sin(s)*a,d+Math.cos(l)*o,p-Math.sin(l)*o,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=.5*-Math.PI;return[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]]}function getProjectingAngle(e,t){var r=0===t?e.length()-1:t-1,i=(t+1)%e.length(),n=getPerpendicularVector(e.v[r],e.v[i]);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(e,t,r,i,n,a,o){var s=getProjectingAngle(t,r),l=t.v[r%t._length],d=t.v[0===r?t._length-1:r-1],p=t.v[(r+1)%t._length],c=2===a?Math.sqrt(Math.pow(l[0]-d[0],2)+Math.pow(l[1]-d[1],2)):0,u=2===a?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0;setPoint(e,t.v[r%t._length],s,o,i,u/(2*(n+1)),c/(2*(n+1)))}function zigZagSegment(e,t,r,i,n,a){for(var o=0;o<i;o+=1){var s=(o+1)/(i+1),l=2===n?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,d=t.normalAngle(s);setPoint(e,t.point(s),d,a,r,l/(2*(i+1)),l/(2*(i+1))),a=-a}return a}function linearOffset(e,t,r){var i=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,i,r),polarOffset(t,i,r)]}function offsetSegment(e,t){var r,i,n,a,o,s,l;r=(l=linearOffset(e.points[0],e.points[1],t))[0],i=l[1],n=(l=linearOffset(e.points[1],e.points[2],t))[0],a=l[1],o=(l=linearOffset(e.points[2],e.points[3],t))[0],s=l[1];var d=lineIntersection(r,i,n,a);null===d&&(d=i);var p=lineIntersection(o,s,n,a);return null===p&&(p=o),new PolynomialBezier(r,d,p,s)}function joinLines(e,t,r,i,n){var a=t.points[3],o=r.points[0];if(3===i)return a;if(pointEqual(a,o))return a;if(2===i){var s=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,d=lineIntersection(a,polarOffset(a,s+Math.PI/2,100),o,polarOffset(o,s+Math.PI/2,100)),p=d?pointDistance(d,a):pointDistance(a,o)/2,c=polarOffset(a,s,2*p*roundCorner);return e.setXYAt(c[0],c[1],"o",e.length()-1),c=polarOffset(o,l,2*p*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],c[0],c[1],e.length()),o}var u=lineIntersection(pointEqual(a,t.points[2])?t.points[0]:t.points[2],a,o,pointEqual(o,r.points[1])?r.points[3]:r.points[1]);return u&&pointDistance(u,a)<n?(e.setTripleAt(u[0],u[1],u[0],u[1],u[0],u[1],e.length()),u):a}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),i=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(r[e.length-1]=e[e.length-1].split(n[0])[0],i[0]=t[0].split(n[1])[1]),e.length>1&&t.length>1&&(n=getIntersection(e[0],t[t.length-1]))?[[e[0].split(n[0])[0]],[t[t.length-1].split(n[1])[1]]]:[r,i]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r,i,n,a,o=e.inflectionPoints();if(0===o.length)return[offsetSegment(e,t)];if(1===o.length||floatEqual(o[1],1))return r=(n=e.split(o[0]))[0],i=n[1],[offsetSegment(r,t),offsetSegment(i,t)];r=(n=e.split(o[0]))[0];var s=(o[1]-o[0])/(1-o[0]);return a=(n=n[1].split(s))[0],i=n[1],[offsetSegment(r,t),offsetSegment(a,t),offsetSegment(i,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",n=t.length,a=0;a<n;a+=1)switch(t[a].toLowerCase()){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:i,weight:e.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,i,n,a){var o=a?-1:1,s=i.s.v[0]+(1-i.s.v[0])*(1-n),l=i.s.v[1]+(1-i.s.v[1])*(1-n);e.translate(i.p.v[0]*o*n,i.p.v[1]*o*n,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*o*n),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/s:s,a?1/l:l),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,i){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,i,n,a,o=!1;if(this._mdf||e){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var d={it:this.cloneElements(this._elements),ty:"gr"};d.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,d),this._groups.splice(0,0,d),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}for(a=0,i=0;i<=this._groups.length-1;i+=1){if(s=a<l,this._groups[i]._render=s,this.changeGroupRender(this._groups[i].it,s),!s){var p=this.elemsData[i].it,c=p[p.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}a+=1}this._currentCopies=l;var u=this.o.v,h=u%1,m=u>0?Math.floor(u):Math.ceil(u),f=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var x,_,b=0;if(u>0){for(;b<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,h,!1),b+=h)}else if(u<0){for(;b>m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),b-=h)}for(i=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,a=this._currentCopies;a;){if(_=(r=(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!==b){for((0!==i&&1===n||i!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),x=0;x<_;x+=1)r[x]=this.matrix.props[x];this.matrix.reset()}else for(this.matrix.reset(),x=0;x<_;x+=1)r[x]=this.matrix.props[x];b+=1,a-=1,i+=n}}else for(a=this._currentCopies,i=0,n=1;a;)r=(t=this.elemsData[i].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,i+=n;return o},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r,i=shapePool.newElement();i.c=e.c;var n,a,o,s,l,d,p,c,u,h,m,f,y=e._length,g=0;for(r=0;r<y;r+=1)n=e.v[r],o=e.o[r],a=e.i[r],n[0]===o[0]&&n[1]===o[1]&&n[0]===a[0]&&n[1]===a[1]?0!==r&&r!==y-1||e.c?(s=0===r?e.v[y-1]:e.v[r-1],d=(l=Math.sqrt(Math.pow(n[0]-s[0],2)+Math.pow(n[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=m=n[0]+(s[0]-n[0])*d,c=f=n[1]-(n[1]-s[1])*d,u=p-(p-n[0])*roundCorner,h=c-(c-n[1])*roundCorner,i.setTripleAt(p,c,u,h,m,f,g),g+=1,s=r===y-1?e.v[0]:e.v[r+1],d=(l=Math.sqrt(Math.pow(n[0]-s[0],2)+Math.pow(n[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=u=n[0]+(s[0]-n[0])*d,c=h=n[1]+(s[1]-n[1])*d,m=p-(p-n[0])*roundCorner,f=c-(c-n[1])*roundCorner,i.setTripleAt(p,c,u,h,m,f,g),g+=1):(i.setTripleAt(n[0],n[1],o[0],o[1],a[0],a[1],g),g+=1):(i.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],g),g+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[t]:[]:[t-i,t+i].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),i=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,r,e),a=lerpPoint(r,i,e),o=lerpPoint(n,a,e);return[new PolynomialBezier(this.points[0],t,n,o,!0),new PolynomialBezier(o,a,i,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,r){void 0===t&&(t=2),void 0===r&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,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(e,t,r,i){var n=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(n-=1),0===n)return a;var o=-1,s=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,r,i,o);for(var l=0;l<n;l+=1)o=zigZagSegment(a,s,t,r,i,-o),s=l!==n-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%n):null,zigZagCorner(a,e,l+1,t,r,i,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.amplitude.v,d=Math.max(0,Math.round(this.frequency.v)),p=this.pointsType.v;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l,d,p));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,r,i){var n=shapePool.newElement();n.c=e.c;var a,o,s,l=e.length();e.c||(l-=1);var d=[];for(a=0;a<l;a+=1)s=PolynomialBezier.shapeSegment(e,a),d.push(offsetSegmentSplit(s,t));if(!e.c)for(a=l-1;a>=0;a-=1)s=PolynomialBezier.shapeSegmentInverted(e,a),d.push(offsetSegmentSplit(s,t));d=pruneIntersections(d);var p=null,c=null;for(a=0;a<d.length;a+=1){var u=d[a];for(c&&(p=joinLines(n,c,u[0],r,i)),c=u[u.length-1],o=0;o<u.length;o+=1)s=u[o],p&&pointEqual(s.points[0],p)?n.setXYAt(s.points[1][0],s.points[1][1],"o",n.length()-1):n.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],n.length()),n.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],n.length()),p=s.points[3]}return d.length&&joinLines(n,c,d[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.amount.v,d=this.miterLimit.v,p=this.lineJoin;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l,p,d));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],i=[65039,8205];function n(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var n=i.offsetWidth;return i.style.fontFamily=function(e){var t,r=e.split(","),i=r.length,n=[];for(t=0;t<i;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&n.push(r[t]);return n.join(",")}(e)+", "+t,{node:i,w:n,parent:r}}function a(e,t){var r,i=document.body&&t?"svg":"canvas",n=getFontProperties(e);if("svg"===i){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",e.fFamily),a.setAttribute("font-style",n.style),a.setAttribute("font-weight",n.weight),a.textContent="1",e.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",e.fClass)):a.style.fontFamily=e.fFamily,t.appendChild(a),r=a}else{var o=new OffscreenCanvas(500,500).getContext("2d");o.font=n.style+" "+n.weight+" 100px "+e.fFamily,r=o}return{measureText:function(e){return"svg"===i?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}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)};o.isModifier=function(e,t){var i=e.toString(16)+t.toString(16);return-1!==r.indexOf(i)},o.isZeroWidthJoiner=function(e,t){return t?e===i[0]&&t===i[1]:e===i[1]},o.isCombinedCharacter=function(e){return-1!==t.indexOf(e)};var s={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,i,n=e.length,a=this.chars.length;for(t=0;t<n;t+=1){for(r=0,i=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(i=!0),r+=1;i||(this.chars.push(e[t]),a+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=a(e),e.cache={}})),void(this.fonts=e.list);var r,i=e.list,o=i.length,s=o;for(r=0;r<o;r+=1){var l,d,p=!0;if(i[r].loaded=!1,i[r].monoCase=n(i[r].fFamily,"monospace"),i[r].sansCase=n(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",i[r].fOrigin),c.setAttribute("f-origin",i[r].origin),c.setAttribute("f-family",i[r].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",t.appendChild(c)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),d=0;d<l.length;d+=1)-1!==l[d].href.indexOf(i[r].fPath)&&(p=!1);if(p){var u=createTag("link");u.setAttribute("f-forigin",i[r].fOrigin),u.setAttribute("f-origin",i[r].origin),u.type="text/css",u.rel="stylesheet",u.href=i[r].fPath,document.body.appendChild(u)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),d=0;d<l.length;d+=1)i[r].fPath===l[d].src&&(p=!1);if(p){var h=createTag("link");h.setAttribute("f-forigin",i[r].fOrigin),h.setAttribute("f-origin",i[r].origin),h.setAttribute("rel","stylesheet"),h.setAttribute("href",i[r].fPath),t.appendChild(h)}}}else i[r].loaded=!0,s-=1;i[r].helper=a(i[r],t),i[r].cache={},this.fonts.push(i[r])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,i){for(var n=0,a=this.chars.length;n<a;){if(this.chars[n].ch===t&&this.chars[n].style===r&&this.chars[n].fFamily===i)return this.chars[n];n+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,i)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var i=this.getFontByName(t),n=e.charCodeAt(0);if(!i.cache[n+1]){var a=i.helper;if(" "===e){var o=a.measureText("|"+e+"|"),s=a.measureText("||");i.cache[n+1]=(o-s)/100}else i.cache[n+1]=a.measureText(e)/100}return i.cache[n+1]*r},checkLoadedFonts:function(){var e,t,r,i=this.fonts.length,n=i;for(e=0;e<i;e+=1)this.fonts[e].loaded?n-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(n-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(n-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return o.prototype=s,o}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!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 e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].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 getBlendMode=(blendModeEnums={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(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r,i=e.ef||[];this.effectElements=[];var n,a=i.length;for(r=0;r<a;r+=1)n=new GroupEffect(i[r],t),this.effectElements.push(n)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),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=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,n,a=this.globalData.defs,o=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(o),this.solidPath="";var s,l,d,p,c,u,h=this.masksProperties,m=0,f=[],y=createElementID(),g="clipPath",x="clip-path";for(i=0;i<o;i+=1)if(("a"!==h[i].mode&&"n"!==h[i].mode||h[i].inv||100!==h[i].o.k||h[i].o.x)&&(g="mask",x="mask"),"s"!==h[i].mode&&"i"!==h[i].mode||0!==m?d=null:((d=createNS("rect")).setAttribute("fill","#ffffff"),d.setAttribute("width",this.element.comp.data.w||0),d.setAttribute("height",this.element.comp.data.h||0),f.push(d)),n=createNS("path"),"n"===h[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,h[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[i],3),elem:n,lastPath:""},a.appendChild(n);else{var _;if(m+=1,n.setAttribute("fill","s"===h[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==h[i].x.k?(g="mask",x="mask",u=PropertyFactory.getProp(this.element,h[i].x,0,null,this.element),_=createElementID(),(p=createNS("filter")).setAttribute("id",_),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),p.appendChild(c),a.appendChild(p),n.setAttribute("stroke","s"===h[i].mode?"#000000":"#ffffff")):(c=null,u=null),this.storedData[i]={elem:n,x:u,expan:c,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===h[i].mode){l=f.length;var b=createNS("g");for(s=0;s<l;s+=1)b.appendChild(f[s]);var v=createNS("mask");v.setAttribute("mask-type","alpha"),v.setAttribute("id",y+"_"+m),v.appendChild(n),a.appendChild(v),b.setAttribute("mask","url("+getLocationHref()+"#"+y+"_"+m+")"),f.length=0,f.push(b)}else f.push(n);h[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,h[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[i],3),invRect:d},this.viewData[i].prop.k||this.drawPath(h[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(g),o=f.length,i=0;i<o;i+=1)this.maskElement.appendChild(f[i]);m>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(x,"url("+getLocationHref()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var i,n=this.data.ef.length,a=this.data.ef;for(r=0;r<n;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],t,this);break;case 1:i=new AngleEffect(a[r],t,this);break;case 2:i=new ColorEffect(a[r],t,this);break;case 3:i=new PointEffect(a[r],t,this);break;case 4:case 7:i=new CheckboxEffect(a[r],t,this);break;case 10:i=new LayerIndexEffect(a[r],t,this);break;case 11:i=new MaskIndexEffect(a[r],t,this);break;case 5:i=new EffectsManager(a[r],t);break;default:i=new NoValueEffect(a[r])}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),i=e("shape"),n=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),0===this.data.ty||this.data.xt?this.compInterface=a(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=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(e){var t,r,i=this.layers.length;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var r,i=e.length,n=this.layers.length;for(t=0;t<i;t+=1)for(r=0;r<n;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var i=this.elements,n=this.layers,a=0,o=n.length;a<o;)n[a].ind==t&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==n[a].parent?this.buildElementParenting(e,n[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,r=e.shift();if("number"==typeof r)t=this.elements[r];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===r){t=this.elements[i];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),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=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},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 e,t=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<i;r+=1)e=this.hierarchy[r].finalTransform.mProp.v.props,t.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])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&t.splice(0,0,n.finalTransform),n=n.comp):i=!1;var a,o=t.length;for(r=0;r<o;r+=1)a=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(t=0;t<i;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var n=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),n.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var i,n,a=" M"+t.v[0][0]+","+t.v[0][1];for(n=t._length,i=1;i<n;i+=1)a+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[i][0]+","+t.i[i][1]+" "+t.v[i][0]+","+t.v[i][1];if(t.c&&n>1&&(a+=" 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]),r.lastPath!==a){var o="";r.elem&&(t.c&&(o=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",o)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={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))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,r,i="SourceGraphic",n=e.data.ef?e.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),s=0;for(this.filters=[],t=0;t<n;t+=1){r=null;var l=e.data.ef[t].ty;registeredEffects[l]&&(r=new(0,registeredEffects[l].effect)(o,e.effectsManager.effectElements[t],e,idPrefix+s,i),i=idPrefix+s,registeredEffects[l].countsAsEffect&&(s+=1)),r&&this.filters.push(r)}s&&(e.globalData.defs.appendChild(o),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,r){registeredEffects[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=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 r=createNS("clipPath"),i=createNS("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var n=createElementID();if(r.setAttribute("id",n),r.appendChild(i),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,i,n,a=this.layerId+"_"+e;if(1===e||3===e){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type",3===e?"luminance":"alpha"),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(i),this.globalData.defs.appendChild(o),featureSupport.maskType||1!==e||(o.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(i),o.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type","alpha");var l=createNS("g");s.appendChild(l),t=createElementID(),r=filtersFactory.createFilter(t);var d=createNS("feComponentTransfer");d.setAttribute("in","SourceGraphic"),r.appendChild(d);var p=createNS("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),d.appendChild(p),this.globalData.defs.appendChild(r);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(c),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),l.appendChild(c),n.appendChild(this.layerElement),l.appendChild(n)),this.globalData.defs.appendChild(s)}this.matteMasks[e]=a}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),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.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,i=t.length;r<i;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===e)return void(r[i].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var i=0,n=e.length;i<n;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,i){var n;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,o=t.length||0;for(n=0;n<o;n+=1)a=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=a.k||this.k,this.dataProps[n]={n:t[n].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var i=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=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 e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,i,n=4*this.data.p;for(t=0;t<n;t+=1)r=t%4==0?100:255,i=Math.round(this.prop.v[t]*r),this.c[t]!==i&&(this.c[t]=i,this._cmdf=!e);if(this.o.length)for(n=this.prop.v.length,t=4*this.data.p;t<n;t+=1)r=t%2==0?100:1,i=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==i&&(this.o[t-4*this.data.p]=i,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),i=createNS(1===t.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n,a,o,s=[];for(o=4*t.g.p,a=0;a<o;a+=4)n=createNS("stop"),i.appendChild(n),s.push(n);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,a=createNS("mask"),o=createNS("path");a.appendChild(o);var s=createElementID(),l=createElementID();a.setAttribute("id",l);var d=createNS(1===e.t?"linearGradient":"radialGradient");d.setAttribute("id",s),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var p=this.stops;for(i=4*e.g.p;i<n;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(r),p.push(r);o.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===e.ty&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=d,this.ms=a,this.ost=p,this.maskId=l,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,i){if(0===t)return"";var n,a=e.o,o=e.i,s=e.v,l=" M"+i.applyToPointStringified(s[0][0],s[0][1]);for(n=1;n<t;n+=1)l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(o[n][0],o[n][1])+" "+i.applyToPointStringified(s[n][0],s[n][1]);return r&&t&&(l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(o[0][0],o[0][1])+" "+i.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function i(){}function n(r,i,n){var a,o,s,l,d,p,c,u,h,m,f,y=i.styles.length,g=i.lvl;for(p=0;p<y;p+=1){if(l=i.sh._mdf||n,i.styles[p].lvl<g){for(u=t.reset(),m=g-i.styles[p].lvl,f=i.transformers.length-1;!l&&m>0;)l=i.transformers[f].mProps._mdf||l,m-=1,f-=1;if(l)for(m=g-i.styles[p].lvl,f=i.transformers.length-1;m>0;)h=i.transformers[f].mProps.v.props,u.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]),m-=1,f-=1}else u=e;if(o=(c=i.sh.paths)._length,l){for(s="",a=0;a<o;a+=1)(d=c.shapes[a])&&d._length&&(s+=buildShapeString(d,d._length,d.c,u));i.caches[p]=s}else s=i.caches[p];i.styles[p].d+=!0===r.hd?"":s,i.styles[p]._mdf=l||i.styles[p]._mdf}}function a(e,t,r){var i=t.style;(t.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",t.o.v)}function o(e,t,r){s(e,t,r),l(0,t,r)}function s(e,t,r){var i,n,a,o,s,l=t.gf,d=t.g._hasOpacity,p=t.s.v,c=t.e.v;if(t.o._mdf||r){var u="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(u,t.o.v)}if(t.s._mdf||r){var h=1===e.t?"x1":"cx",m="x1"===h?"y1":"cy";l.setAttribute(h,p[0]),l.setAttribute(m,p[1]),d&&!t.g._collapsable&&(t.of.setAttribute(h,p[0]),t.of.setAttribute(m,p[1]))}if(t.g._cmdf||r){i=t.cst;var f=t.g.c;for(a=i.length,n=0;n<a;n+=1)(o=i[n]).setAttribute("offset",f[4*n]+"%"),o.setAttribute("stop-color","rgb("+f[4*n+1]+","+f[4*n+2]+","+f[4*n+3]+")")}if(d&&(t.g._omdf||r)){var y=t.g.o;for(a=(i=t.g._collapsable?t.cst:t.ost).length,n=0;n<a;n+=1)o=i[n],t.g._collapsable||o.setAttribute("offset",y[2*n]+"%"),o.setAttribute("stop-opacity",y[2*n+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",c[0]),l.setAttribute("y2",c[1]),d&&!t.g._collapsable&&(t.of.setAttribute("x2",c[0]),t.of.setAttribute("y2",c[1])));else if((t.s._mdf||t.e._mdf||r)&&(s=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)),l.setAttribute("r",s),d&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.e._mdf||t.h._mdf||t.a._mdf||r){s||(s=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)));var g=Math.atan2(c[1]-p[1],c[0]-p[0]),x=t.h.v;x>=1?x=.99:x<=-1&&(x=-.99);var _=s*x,b=Math.cos(g+t.a.v)*_+p[0],v=Math.sin(g+t.a.v)*_+p[1];l.setAttribute("fx",b),l.setAttribute("fy",v),d&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",v))}}function l(e,t,r){var i=t.style,n=t.d;n&&(n._mdf||r)&&n.dashStr&&(i.pElem.setAttribute("stroke-dasharray",n.dashStr),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),t.c&&(t.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",t.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return s;case"gs":return o;case"st":return l;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,i,n,a){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=n,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,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 e,t,r,i,n=this.shapes.length,a=this.stylesList.length,o=[],s=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],s=!1,o.length=0,e=0;e<n;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(i)&&(o.push(t),s=t._isAnimated||s);o.length>1&&s&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,i=new SVGStyleData(e,t),n=i.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,i):"fl"===e.ty?r=new SVGFillStyleData(this,e,i):"gf"===e.ty||"gs"===e.ty?(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===e.ty&&(r=new SVGNoStyleData(this,e,i)),"st"!==e.ty&&"gs"!==e.ty||(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),n.setAttribute("fill-opacity","0"),1===e.lj&&n.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&n.setAttribute("fill-rule","evenodd"),e.ln&&n.setAttribute("id",e.ln),e.cl&&n.setAttribute("class",e.cl),e.bm&&(n.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var i=4;"rc"===e.ty?i=5:"el"===e.ty?i=6:"sr"===e.ty&&(i=7);var n=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,i,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,n,a,o){var s,l,d,p,c,u,h=[].concat(a),m=e.length-1,f=[],y=[];for(s=m;s>=0;s-=1){if((u=this.searchProcessedElement(e[s]))?t[s]=r[u-1]:e[s]._render=o,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)u?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],n),e[s]._render&&t[s].style.pElem.parentNode!==i&&i.appendChild(t[s].style.pElem),f.push(t[s].style);else if("gr"===e[s].ty){if(u)for(d=t[s].it.length,l=0;l<d;l+=1)t[s].prevViewData[l]=t[s].it[l];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,n+1,h,o),e[s]._render&&t[s].gr.parentNode!==i&&i.appendChild(t[s].gr)}else"tr"===e[s].ty?(u||(t[s]=this.createTransformElement(e[s],i)),p=t[s].transform,h.push(p)):"sh"===e[s].ty||"rc"===e[s].ty||"el"===e[s].ty||"sr"===e[s].ty?(u||(t[s]=this.createShapeElement(e[s],h,n)),this.setElementStyles(t[s])):"tm"===e[s].ty||"rd"===e[s].ty||"ms"===e[s].ty||"pb"===e[s].ty||"zz"===e[s].ty||"op"===e[s].ty?(u?(c=t[s]).closed=!1:((c=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=c,this.shapeModifiers.push(c)),y.push(c)):"rp"===e[s].ty&&(u?(c=t[s]).closed=!0:(c=ShapeModifiers.getModifier(e[s].ty),t[s]=c,c.init(this,e,s,t),this.shapeModifiers.push(c),o=!1),y.push(c));this.addProcessedElement(e[s],s+1)}for(m=f.length,s=0;s<m;s+=1)f[s].closed=!0;for(m=y.length,s=0;s<m;s+=1)y[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,i,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,o=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,o=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,o=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,o=!0),o},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,i=[],n=0,a=e.length,o=!1;n<a;)t=e.charCodeAt(n),FontManager.isCombinedCharacter(t)?i[i.length-1]+=e.charAt(n):t>=55296&&t<=56319?(r=e.charCodeAt(n+1))>=56320&&r<=57343?(o||FontManager.isModifier(t,r)?(i[i.length-1]+=e.substr(n,2),o=!1):i.push(e.substr(n,2)),n+=1):i.push(e.charAt(n)):t>56319?(r=e.charCodeAt(n+1),FontManager.isZeroWidthJoiner(t,r)?(o=!0,i[i.length-1]+=e.substr(n,2),n+=1):i.push(e.charAt(n))):FontManager.isZeroWidthJoiner(t)?(i[i.length-1]+=e.charAt(n),o=!0):i.push(e.charAt(n)),n+=1;return i},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,i,n,a,o,s,l=this.elem.globalData.fontManager,d=this.data,p=[],c=0,u=d.m.g,h=0,m=0,f=0,y=[],g=0,x=0,_=l.getFontByName(e.f),b=0,v=getFontProperties(_);e.fWeight=v.weight,e.fStyle=v.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var S,C=e.tr/1e3*e.finalSize;if(e.sz)for(var $,w,T=!0,R=e.sz[0],E=e.sz[1];T;){$=0,g=0,r=(w=this.buildFinalText(e.t)).length,C=e.tr/1e3*e.finalSize;var k=-1;for(t=0;t<r;t+=1)S=w[t].charCodeAt(0),i=!1," "===w[t]?k=t:13!==S&&3!==S||(g=0,i=!0,$+=e.finalLineHeight||1.2*e.finalSize),l.chars?(s=l.getCharData(w[t],_.fStyle,_.fFamily),b=i?0:s.w*e.finalSize/100):b=l.measureText(w[t],e.f,e.finalSize),g+b>R&&" "!==w[t]?(-1===k?r+=1:t=k,$+=e.finalLineHeight||1.2*e.finalSize,w.splice(t,k===t?1:0,"\r"),k=-1,g=0):(g+=b,g+=C);$+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&E<$?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=w,r=e.finalText.length,T=!1)}g=-C,b=0;var A,D=0;for(t=0;t<r;t+=1)if(i=!1,13===(S=(A=e.finalText[t]).charCodeAt(0))||3===S?(D=0,y.push(g),x=g>x?g:x,g=-2*C,n="",i=!0,f+=1):n=A,l.chars?(s=l.getCharData(A,_.fStyle,l.getFontByName(e.f).fFamily),b=i?0:s.w*e.finalSize/100):b=l.measureText(n,e.f,e.finalSize)," "===A?D+=b+C:(g+=b+C+D,D=0),p.push({l:b,an:b,add:h,n:i,anIndexes:[],val:n,line:f,animatorJustifyOffset:0}),2==u){if(h+=b,""===n||" "===n||t===r-1){for(""!==n&&" "!==n||(h-=b);m<=t;)p[m].an=h,p[m].ind=c,p[m].extra=b,m+=1;c+=1,h=0}}else if(3==u){if(h+=b,""===n||t===r-1){for(""===n&&(h-=b);m<=t;)p[m].an=h,p[m].ind=c,p[m].extra=b,m+=1;h=0,c+=1}}else p[c].ind=c,p[c].extra=0,c+=1;if(e.l=p,x=g>x?g:x,y.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=x,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=y;var j,I,P,M,F=d.a;o=F.length;var O=[];for(a=0;a<o;a+=1){for((j=F[a]).a.sc&&(e.strokeColorAnim=!0),j.a.sw&&(e.strokeWidthAnim=!0),(j.a.fc||j.a.fh||j.a.fs||j.a.fb)&&(e.fillColorAnim=!0),M=0,P=j.s.b,t=0;t<r;t+=1)(I=p[t]).anIndexes[a]=M,(1==P&&""!==I.val||2==P&&""!==I.val&&" "!==I.val||3==P&&(I.n||" "==I.val||t==r-1)||4==P&&(I.n||t==r-1))&&(1===j.s.rn&&O.push(M),M+=1);d.a[a].s.totalChars=M;var L,B=-1;if(1===j.s.rn)for(t=0;t<r;t+=1)B!=(I=p[t]).anIndexes[a]&&(B=I.anIndexes[a],L=O.splice(Math.floor(Math.random()*O.length),1)[0]),I.anIndexes[a]=L}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function i(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.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 n=0,a=0,o=1,s=1;this.ne.v>0?n=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(n,a,o,s).get,d=0,p=this.finalS,c=this.finalE,u=this.data.sh;if(2===u)d=l(d=c===p?i>=c?1:0:e(0,t(.5/(c-p)+(i-p)/(c-p),1)));else if(3===u)d=l(d=c===p?i>=c?0:1:1-e(0,t(.5/(c-p)+(i-p)/(c-p),1)));else if(4===u)c===p?d=0:(d=e(0,t(.5/(c-p)+(i-p)/(c-p),1)))<.5?d*=2:d=1-2*(d-.5),d=l(d);else if(5===u){if(c===p)d=0;else{var h=c-p,m=-h/2+(i=t(e(0,i+.5-p),c-p)),f=h/2;d=Math.sqrt(1-m*m/(f*f))}d=l(d)}else 6===u?(c===p?d=0:(i=t(e(0,i+.5-p),c-p),d=(1+Math.cos(Math.PI+2*Math.PI*i/(c-p)))/2),d=l(d)):(i>=r(p)&&(d=e(0,t(i-p<0?t(c,1)-(p-i):c-i,1))),d=l(d));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;d<g?d=0:(d=(d-g)/y)>1&&(d=1)}return d*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,i=this.s.v/t+r,n=this.e.v/t+r;if(i>n){var a=i;i=n,n=a}this.finalS=i,this.finalE=n}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(e,t,r){return new i(e,t)}}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},n=PropertyFactory.getProp,a=t.a;this.a={r:a.r?n(e,a.r,0,degToRads,r):i,rx:a.rx?n(e,a.rx,0,degToRads,r):i,ry:a.ry?n(e,a.ry,0,degToRads,r):i,sk:a.sk?n(e,a.sk,0,degToRads,r):i,sa:a.sa?n(e,a.sa,0,degToRads,r):i,s:a.s?n(e,a.s,1,.01,r):i,a:a.a?n(e,a.a,1,0,r):i,o:a.o?n(e,a.o,0,.01,r):i,p:a.p?n(e,a.p,1,0,r):i,sw:a.sw?n(e,a.sw,0,0,r):i,sc:a.sc?n(e,a.sc,1,0,r):i,fc:a.fc?n(e,a.fc,1,0,r):i,fh:a.fh?n(e,a.fh,0,0,r):i,fs:a.fs?n(e,a.fs,0,.01,r):i,fb:a.fb?n(e,a.fb,0,.01,r):i,t:a.t?n(e,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,i=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,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)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,n,a,o,s,l,d,p,c,u,h,m,f,y,g,x,_,b,v=this._moreOptions.alignment.v,S=this._animatorsData,C=this._textData,$=this.mHelper,w=this._renderType,T=this.renderedLetters.length,R=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var E,k=b.v;for(this._pathData.r.v&&(k=k.reverse()),o={tLength:0,segments:[]},a=k._length-1,g=0,n=0;n<a;n+=1)E=bez.buildBezierData(k.v[n],k.v[n+1],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[n+1][0]-k.v[n+1][0],k.i[n+1][1]-k.v[n+1][1]]),o.tLength+=E.segmentLength,o.segments.push(E),g+=E.segmentLength;n=a,b.v.c&&(E=bez.buildBezierData(k.v[n],k.v[0],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[0][0]-k.v[0][0],k.i[0][1]-k.v[0][1]]),o.tLength+=E.segmentLength,o.segments.push(E),g+=E.segmentLength),this._pathData.pi=o}if(o=this._pathData.pi,s=this._pathData.f.v,u=0,c=1,d=0,p=!0,f=o.segments,s<0&&b.v.c)for(o.tLength<Math.abs(s)&&(s=-Math.abs(s)%o.tLength),c=(m=f[u=f.length-1].points).length-1;s<0;)s+=m[c].partialLength,(c-=1)<0&&(c=(m=f[u-=1].points).length-1);h=(m=f[u].points)[c-1],y=(l=m[c]).partialLength}a=R.length,r=0,i=0;var A,D,j,I,P,M=1.2*e.finalSize*.714,F=!0;j=S.length;var O,L,B,N,V,H,z,W,G,U,q,Y,Q=-1,K=s,X=u,Z=c,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ie=0,ne=2===e.j?-.5:-1,ae=0,oe=!0;for(n=0;n<a;n+=1)if(R[n].n){for(re&&(re+=ie);ae<n;)R[ae].animatorJustifyOffset=re,ae+=1;re=0,oe=!0}else{for(D=0;D<j;D+=1)(A=S[D].a).t.propType&&(oe&&2===e.j&&(ie+=A.t.v*ne),(P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?re+=A.t.v*P[0]*ne:re+=A.t.v*P*ne);oe=!1}for(re&&(re+=ie);ae<n;)R[ae].animatorJustifyOffset=re,ae+=1}for(n=0;n<a;n+=1){if($.reset(),N=1,R[n].n)r=0,i+=e.yOffset,i+=F?1:0,s=K,F=!1,this._hasMaskedPath&&(c=Z,h=(m=f[u=X].points)[c-1],y=(l=m[c]).partialLength,d=0),ee="",q="",G="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==R[n].line){switch(e.j){case 1:s+=g-e.lineWidths[R[n].line];break;case 2:s+=(g-e.lineWidths[R[n].line])/2}J=R[n].line}Q!==R[n].ind&&(R[Q]&&(s+=R[Q].extra),s+=R[n].an/2,Q=R[n].ind),s+=v[0]*R[n].an*.005;var se=0;for(D=0;D<j;D+=1)(A=S[D].a).p.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?se+=A.p.v[0]*P[0]:se+=A.p.v[0]*P),A.a.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?se+=A.a.v[0]*P[0]:se+=A.a.v[0]*P);for(p=!0,this._pathData.a.v&&(s=.5*R[0].an+(g-this._pathData.f.v-.5*R[0].an-.5*R[R.length-1].an)*Q/(a-1),s+=this._pathData.f.v);p;)d+y>=s+se||!m?(x=(s+se-d)/l.partialLength,L=h.point[0]+(l.point[0]-h.point[0])*x,B=h.point[1]+(l.point[1]-h.point[1])*x,$.translate(-v[0]*R[n].an*.005,-v[1]*M*.01),p=!1):m&&(d+=l.partialLength,(c+=1)>=m.length&&(c=0,f[u+=1]?m=f[u].points:b.v.c?(c=0,m=f[u=0].points):(d-=l.partialLength,m=null)),m&&(h=l,y=(l=m[c]).partialLength));O=R[n].an/2-R[n].add,$.translate(-O,0,0)}else O=R[n].an/2-R[n].add,$.translate(-O,0,0),$.translate(-v[0]*R[n].an*.005,-v[1]*M*.01,0);for(D=0;D<j;D+=1)(A=S[D].a).t.propType&&(P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?P.length?s+=A.t.v*P[0]:s+=A.t.v*P:P.length?r+=A.t.v*P[0]:r+=A.t.v*P));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(z=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<j;D+=1)(A=S[D].a).a.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?$.translate(-A.a.v[0]*P[0],-A.a.v[1]*P[1],A.a.v[2]*P[2]):$.translate(-A.a.v[0]*P,-A.a.v[1]*P,A.a.v[2]*P));for(D=0;D<j;D+=1)(A=S[D].a).s.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?$.scale(1+(A.s.v[0]-1)*P[0],1+(A.s.v[1]-1)*P[1],1):$.scale(1+(A.s.v[0]-1)*P,1+(A.s.v[1]-1)*P,1));for(D=0;D<j;D+=1){if(A=S[D].a,P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars),A.sk.propType&&(P.length?$.skewFromAxis(-A.sk.v*P[0],A.sa.v*P[1]):$.skewFromAxis(-A.sk.v*P,A.sa.v*P)),A.r.propType&&(P.length?$.rotateZ(-A.r.v*P[2]):$.rotateZ(-A.r.v*P)),A.ry.propType&&(P.length?$.rotateY(A.ry.v*P[1]):$.rotateY(A.ry.v*P)),A.rx.propType&&(P.length?$.rotateX(A.rx.v*P[0]):$.rotateX(A.rx.v*P)),A.o.propType&&(P.length?N+=(A.o.v*P[0]-N)*P[0]:N+=(A.o.v*P-N)*P),e.strokeWidthAnim&&A.sw.propType&&(P.length?H+=A.sw.v*P[0]:H+=A.sw.v*P),e.strokeColorAnim&&A.sc.propType)for(W=0;W<3;W+=1)P.length?V[W]+=(A.sc.v[W]-V[W])*P[0]:V[W]+=(A.sc.v[W]-V[W])*P;if(e.fillColorAnim&&e.fc){if(A.fc.propType)for(W=0;W<3;W+=1)P.length?z[W]+=(A.fc.v[W]-z[W])*P[0]:z[W]+=(A.fc.v[W]-z[W])*P;A.fh.propType&&(z=P.length?addHueToRGB(z,A.fh.v*P[0]):addHueToRGB(z,A.fh.v*P)),A.fs.propType&&(z=P.length?addSaturationToRGB(z,A.fs.v*P[0]):addSaturationToRGB(z,A.fs.v*P)),A.fb.propType&&(z=P.length?addBrightnessToRGB(z,A.fb.v*P[0]):addBrightnessToRGB(z,A.fb.v*P))}}for(D=0;D<j;D+=1)(A=S[D].a).p.propType&&(P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars),this._hasMaskedPath?P.length?$.translate(0,A.p.v[1]*P[0],-A.p.v[2]*P[1]):$.translate(0,A.p.v[1]*P,-A.p.v[2]*P):P.length?$.translate(A.p.v[0]*P[0],A.p.v[1]*P[1],-A.p.v[2]*P[2]):$.translate(A.p.v[0]*P,A.p.v[1]*P,-A.p.v[2]*P));if(e.strokeWidthAnim&&(G=H<0?0:H),e.strokeColorAnim&&(U="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(q="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),this._hasMaskedPath){if($.translate(0,-e.ls),$.translate(0,v[1]*M*.01+i,0),this._pathData.p.v){_=(l.point[1]-h.point[1])/(l.point[0]-h.point[0]);var le=180*Math.atan(_)/Math.PI;l.point[0]<h.point[0]&&(le+=180),$.rotate(-le*Math.PI/180)}$.translate(L,B,0),s-=v[0]*R[n].an*.005,R[n+1]&&Q!==R[n+1].ind&&(s+=R[n].an/2,s+=.001*e.tr*e.finalSize)}else{switch($.translate(r,i,0),e.ps&&$.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:$.translate(R[n].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[R[n].line]),0,0);break;case 2:$.translate(R[n].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[R[n].line])/2,0,0)}$.translate(0,-e.ls),$.translate(O,0,0),$.translate(v[0]*R[n].an*.005,v[1]*M*.01,0),r+=R[n].l+.001*e.tr*e.finalSize}"html"===w?ee=$.toCSS():"svg"===w?ee=$.to2dCSS():te=[$.props[0],$.props[1],$.props[2],$.props[3],$.props[4],$.props[5],$.props[6],$.props[7],$.props[8],$.props[9],$.props[10],$.props[11],$.props[12],$.props[13],$.props[14],$.props[15]],Y=N}T<=n?(I=new LetterProps(Y,G,U,q,ee,te),this.renderedLetters.push(I),T+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[n],this.lettersChangedFlag=I.update(Y,G,U,q,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,i,n=t.length,a="";for(r=0;r<n;r+=1)"sh"===t[r].ty&&(i=t[r].ks.k,a+=buildShapeString(i,i.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,n){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(i,n,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=t.title,this.svgElement.appendChild(i),r+=n}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+o}r&&this.svgElement.setAttribute("aria-labelledby",r);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,i=[],n="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(i.push(n),n=""):n+=e[t],t+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=t,i.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var o,s=r.l||[],l=!!this.globalData.fontManager.chars;t=s.length;var d=this.mHelper,p=this.data.singleShape,c=0,u=0,h=!0,m=.001*r.tr*r.finalSize;if(!p||l||r.sz){var f,y=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!p||0===e){if(o=y>e?this.textSpans[e].span:createNS(l?"g":"text"),y<=e){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=o,l){var g=createNS("g");o.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(d.reset(),p&&(s[e].n&&(c=-m,u+=r.yOffset,u+=h?1:0,h=!1),this.applyTextPropertiesToMatrix(r,d,s[e].line,c,u),c+=s[e].l||0,c+=m),l){var x;if(1===(f=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)x=new SVGCompElement(f.data,this.globalData,this);else{var _=emptyShapeData;f.data&&f.data.shapes&&(_=this.buildShapeData(f.data,r.finalSize)),x=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[e].glyph){var b=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[e].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[e].childSpan.appendChild(x.layerElement),1===f.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&o.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),o.textContent=s[e].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&o&&o.setAttribute("d","")}else{var v=this.textContainer,S="start";switch(r.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}v.setAttribute("text-anchor",S),v.setAttribute("letter-spacing",m);var C=this.buildTextContents(r.finalText);for(t=C.length,u=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(o=this.textSpans[e].span||createNS("tspan")).textContent=C[e],o.setAttribute("x",0),o.setAttribute("y",u),o.style.display="inherit",v.appendChild(o),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=o,u+=r.finalLineHeight;this.layerElement.appendChild(v)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,i,n,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(t=o.length,e=0;e<t;e+=1)o[e].n||(r=a[e],i=this.textSpans[e].span,(n=this.textSpans[e].glyph)&&n.renderFrame(),r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){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 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.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 t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var i="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var n=t[i].getMatte(this.layers[e].tt);r.setMatte(n)}else this.buildItem(i),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var i="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[i].getMatte(this.layers[t].tt);e.setMatte(n);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var i,n=0;n<t;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var e,t=this.saved[this.cArrPos],r=this.cTr.props;for(e=0;e<16;e+=1)r[e]=t[e];return t},CVContextData.prototype.popOpacity=function(){var e=this.savedOp[this.cArrPos];return this.cO=e,e},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var e,t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.saved[this.cArrPos];for(e=0;e<16;e+=1)r[e]=t[e];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(e){this.cO=e},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,i="_";for(t=0;t<r;t+=1)i+=e[t].transform.key+"_";var n=this.sequences[i];return n||(n={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=n,this.sequenceList.push(n)),n},processSequence:function(e,t){for(var r,i=0,n=e.transforms.length,a=t;i<n&&!t;){if(e.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(e.finalTransform.reset(),i=n-1;i>=0;i-=1)r=e.transforms[i].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,r=null,i=null;function n(){var n,a,o;t||(n=createNS("svg"),a=createNS("filter"),o=createNS("feColorMatrix"),a.setAttribute("id",e),o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),a.appendChild(o),n.appendChild(a),n.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(n.style.display="none"),i=n,document.body.appendChild(i),t=createTag("canvas"),(r=t.getContext("2d")).filter="url(#"+e+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:n,get:function(i){return t||n(),t.width=i.width,t.height=i.height,r.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas};function CVEffects(){}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,i,n=this.element.finalTransform.mat,a=this.element.canvasContext,o=this.masksProperties.length;for(a.beginPath(),e=0;e<o;e+=1)if("n"!==this.masksProperties[e].mode){var s;this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[e].v,t=n.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(t[0],t[1]);var l=i._length;for(s=1;s<l;s+=1)r=n.applyToTriplePoints(i.o[s-1],i.i[s],i.v[s]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=n.applyToTriplePoints(i.o[s-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n,a=4;"rc"===t.ty?a=5:"el"===t.ty?a=6:"sr"===t.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var o,s=r.length;for(n=0;n<s;n+=1)r[n].closed||(o={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(o),r[n].elements.push(o))}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,a=e.ks.or.k.length;for(n=0;n<a;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},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(e){e.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 e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.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 r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,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(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),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(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},i={};if("fl"===e.ty||"st"===e.ty?(i.c=PropertyFactory.getProp(this,e.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(r.wi=i.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);i.d=n,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,i,n){var a,o,s,l,d,p,c=e.length-1,u=[],h=[],m=[].concat(n);for(a=c;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=i,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],m),u.push(t[a].style);else if("gr"===e[a].ty){if(l)for(s=t[a].it.length,o=0;o<s;o+=1)t[a].prevViewData[o]=t[a].it[o];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,i,m)}else"tr"===e[a].ty?(l||(p=this.createTransformElement(e[a]),t[a]=p),m.push(t[a]),this.addTransformToStyleList(t[a])):"sh"===e[a].ty||"rc"===e[a].ty||"el"===e[a].ty||"sr"===e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"===e[a].ty||"rd"===e[a].ty||"pb"===e[a].ty||"zz"===e[a].ty||"op"===e[a].ty?(l?(d=t[a]).closed=!1:((d=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=d,this.shapeModifiers.push(d)),h.push(d)):"rp"===e[a].ty&&(l?(d=t[a]).closed=!0:(d=ShapeModifiers.getModifier(e[a].ty),t[a]=d,d.init(this,e,a,t),this.shapeModifiers.push(d),i=!1),h.push(d));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),c=h.length,a=0;a<c;a+=1)h[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,i,n,a,o,s,l,d=this.stylesList.length,p=this.globalData.renderer,c=this.globalData.canvasContext;for(e=0;e<d;e+=1)if(("st"!==(s=(l=this.stylesList[e]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),a=l.elements,"st"===s||"gs"===s?(c.strokeStyle="st"===s?l.co:l.grd,c.lineWidth=l.wi,c.lineCap=l.lc,c.lineJoin=l.lj,c.miterLimit=l.ml||0):c.fillStyle="fl"===s?l.co:l.grd,p.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&c.beginPath(),p.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==s&&"gs"!==s||(c.beginPath(),l.da&&(c.setLineDash(l.da),c.lineDashOffset=l.do)),n=(o=a[t].trNodes).length,i=0;i<n;i+=1)"m"===o[i].t?c.moveTo(o[i].p[0],o[i].p[1]):"c"===o[i].t?c.bezierCurveTo(o[i].pts[0],o[i].pts[1],o[i].pts[2],o[i].pts[3],o[i].pts[4],o[i].pts[5]):c.closePath();"st"!==s&&"gs"!==s||(c.stroke(),l.da&&c.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&c.fill(l.r),p.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var n,a;for(a=e,n=t.length-1;n>=0;n-=1)"tr"===t[n].ty?(a=r[n].transform,this.renderShapeTransform(e,a)):"sh"===t[n].ty||"el"===t[n].ty||"rc"===t[n].ty||"sr"===t[n].ty?this.renderPath(t[n],r[n]):"fl"===t[n].ty?this.renderFill(t[n],r[n],a):"st"===t[n].ty?this.renderStroke(t[n],r[n],a):"gf"===t[n].ty||"gs"===t[n].ty?this.renderGradientFill(t[n],r[n],a):"gr"===t[n].ty?this.renderShape(a,t[n].it,r[n].it):t[n].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,i,n,a=e.trNodes,o=t.paths,s=o._length;a.length=0;var l=e.transforms.finalTransform;for(n=0;n<s;n+=1){var d=o.shapes[n];if(d&&d.v){for(i=d._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(d.v[0][0],d.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(d.o[r-1],d.i[r],d.v[r])});1===i&&a.push({t:"m",p:l.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&i&&(a.push({t:"c",pts:l.applyToTriplePoints(d.o[r-1],d.i[0],d.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,i=t.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var i,n=t.style;if(!n.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var a,o=this.globalData.canvasContext,s=t.s.v,l=t.e.v;if(1===e.t)i=o.createLinearGradient(s[0],s[1],l[0],l[1]);else{var d=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),p=Math.atan2(l[1]-s[1],l[0]-s[0]),c=t.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var u=d*c,h=Math.cos(p+t.a.v)*u+s[0],m=Math.sin(p+t.a.v)*u+s[1];i=o.createRadialGradient(h,m,0,s[0],s[1],d)}var f=e.g.p,y=t.g.c,g=1;for(a=0;a<f;a+=1)t.g._hasOpacity&&t.g._collapsable&&(g=t.g.o[2*a+1]),i.addColorStop(y[4*a]/100,"rgba("+y[4*a+1]+","+y[4*a+2]+","+y[4*a+3]+","+g+")");n.grd=i}n.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(i.da=n.dashArray,i.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i,n,a,o,s,l,d,p,c,u,h,m,f=this.globalData.fontManager.getFontByName(e.f),y=e.l,g=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,n=e.finalText.length;var x=this.data.singleShape,_=.001*e.tr*e.finalSize,b=0,v=0,S=!0,C=0;for(i=0;i<n;i+=1){o=(a=this.globalData.fontManager.getCharData(e.finalText[i],f.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&a.data||{},g.reset(),x&&y[i].n&&(b=-_,v+=e.yOffset,v+=S?1:0,S=!1),c=(d=o.shapes?o.shapes[0].it:[]).length,g.scale(e.finalSize/100,e.finalSize/100),x&&this.applyTextPropertiesToMatrix(e,g,y[i].line,b,v),h=createSizedArray(c-1);var $=0;for(p=0;p<c;p+=1)if("sh"===d[p].ty){for(l=d[p].ks.k.i.length,u=d[p].ks.k,m=[],s=1;s<l;s+=1)1===s&&m.push(g.applyToX(u.v[0][0],u.v[0][1],0),g.applyToY(u.v[0][0],u.v[0][1],0)),m.push(g.applyToX(u.o[s-1][0],u.o[s-1][1],0),g.applyToY(u.o[s-1][0],u.o[s-1][1],0),g.applyToX(u.i[s][0],u.i[s][1],0),g.applyToY(u.i[s][0],u.i[s][1],0),g.applyToX(u.v[s][0],u.v[s][1],0),g.applyToY(u.v[s][0],u.v[s][1],0));m.push(g.applyToX(u.o[s-1][0],u.o[s-1][1],0),g.applyToY(u.o[s-1][0],u.o[s-1][1],0),g.applyToX(u.i[0][0],u.i[0][1],0),g.applyToY(u.i[0][0],u.i[0][1],0),g.applyToX(u.v[0][0],u.v[0][1],0),g.applyToY(u.v[0][0],u.v[0][1],0)),h[$]=m,$+=1}x&&(b+=y[i].l,b+=_),this.textSpans[C]?this.textSpans[C].elem=h:this.textSpans[C]={elem:h},C+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,i,n,a,o=this.canvasContext;o.font=this.values.fValue,o.lineCap="butt",o.lineJoin="miter",o.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;t=d.length;var p,c,u=null,h=null,m=null;for(e=0;e<t;e+=1)if(!d[e].n){if((s=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?u!==s.fc&&(u=s.fc,o.fillStyle=s.fc):u!==this.values.fill&&(u=this.values.fill,o.fillStyle=this.values.fill),i=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(c[n],c[n+1],c[n+2],c[n+3],c[n+4],c[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?m!==s.sw&&(m=s.sw,o.lineWidth=s.sw):m!==this.values.sWidth&&(m=this.values.sWidth,o.lineWidth=this.values.sWidth),s&&s.sc?h!==s.sc&&(h=s.sc,o.strokeStyle=s.sc):h!==this.values.stroke&&(h=this.values.stroke,o.strokeStyle=this.values.stroke),i=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(c[n],c[n+1],c[n+2],c[n+3],c[n+4],c[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,i=e.getContext("2d"),n=this.img.width,a=this.img.height,o=n/a,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>s&&"xMidYMid slice"===l||o<s&&"xMidYMid slice"!==l?t=(r=a)*s:r=(t=n)/s,i.drawImage(this.img,(n-t)/2,(a-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.getTransform(),r=t.props;this.transformMat.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]),t.cloneFromProps(this.transformMat.props);var i=t.props;this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){var t=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=t);t*=e<0?0:e,this.contextData.setOpacity(t),this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){this.renderConfig.clearCanvas?(e&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var t=this.contextData.pop(),r=t.transform,i=t.opacity;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),this.globalData.currentGlobalAlpha!==i&&(this.canvasContext.globalAlpha=i,this.globalData.currentGlobalAlpha=i)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var r,i,n,a;if(this.reset(),e?(r=e,i=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var o=this.renderConfig.preserveAspectRatio.split(" "),s=o[1]||"meet",l=o[0]||"xMidYMid",d=l.substr(0,4),p=l.substr(4);n=r/i,(a=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===s||a<n&&"slice"===s?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===d&&(a<n&&"meet"===s||a>n&&"slice"===s)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===d&&(a<n&&"meet"===s||a>n&&"slice"===s)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(a>n&&"meet"===s||a<n&&"slice"===s)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===p&&(a>n&&"meet"===s||a<n&&"slice"===s)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.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"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,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.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 e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.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 e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,i,n,a,o,s=e.sh.v,l=e.transformers,d=s._length;if(!(d<=1)){for(r=0;r<d-1;r+=1)i=this.getTransformedPoint(l,s.v[r]),n=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[r+1]),o=this.getTransformedPoint(l,s.v[r+1]),this.checkBounds(i,n,a,o,t);s.c&&(i=this.getTransformedPoint(l,s.v[r]),n=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[0]),o=this.getTransformedPoint(l,s.v[0]),this.checkBounds(i,n,a,o,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,n){this.getBoundsOfCurve(e,t,r,i);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,i){for(var n,a,o,s,l,d,p,c=[[e[0],i[0]],[e[1],i[1]]],u=0;u<2;++u)a=6*e[u]-12*t[u]+6*r[u],n=-3*e[u]+9*t[u]-9*r[u]+3*i[u],o=3*t[u]-3*e[u],a|=0,o|=0,0==(n|=0)&&0===a||(0===n?(s=-o/a)>0&&s<1&&c[u].push(this.calculateF(s,e,t,r,i,u)):(l=a*a-4*o*n)>=0&&((d=(-a+bmSqrt(l))/(2*n))>0&&d<1&&c[u].push(this.calculateF(d,e,t,r,i,u)),(p=(-a-bmSqrt(l))/(2*n))>0&&p<1&&c[u].push(this.calculateF(p,e,t,r,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(e,t,r,i,n,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*i[a]+bmPow(e,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var n=e.keyframes[i].s;n>r&&(r=n)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=n,i.webkitTransform=n}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var i,n,a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{t.fontFamily=a.fFamily;var o=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=o}var l,d,p,c=e.l;n=c.length;var u,h=this.mHelper,m="",f=0;for(i=0;i<n;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?l=this.textPaths[f]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?p=(d=this.textSpans[f]).children[0]:((d=createTag("div")).style.lineHeight=0,(p=createNS("svg")).appendChild(l),styleDiv(d)))):this.isMasked?l=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(d=this.textSpans[f],l=this.textPaths[f]):(styleDiv(d=createTag("span")),styleDiv(l=createTag("span")),d.appendChild(l)),this.globalData.fontManager.chars){var y,g=this.globalData.fontManager.getCharData(e.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(y=g?g.data:null,h.reset(),y&&y.shapes&&y.shapes.length&&(u=y.shapes[0].it,h.scale(e.finalSize/100,e.finalSize/100),m=this.createPathShape(h,u),l.setAttribute("d",m)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(d),y&&y.shapes){document.body.appendChild(p);var x=p.getBBox();p.setAttribute("width",x.width+2),p.setAttribute("height",x.height+2),p.setAttribute("viewBox",x.x-1+" "+(x.y-1)+" "+(x.width+2)+" "+(x.height+2));var _=p.style,b="translate("+(x.x-1)+"px,"+(x.y-1)+"px)";_.transform=b,_.webkitTransform=b,c[i].yOffset=x.y-1}else p.setAttribute("width",1),p.setAttribute("height",1);d.appendChild(p)}}else if(l.textContent=c[i].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(d);var v=l.style,S="translate3d(0,"+-e.finalSize/1.2+"px,0)";v.transform=S,v.webkitTransform=S}this.isMasked?this.textSpans[f]=l:this.textSpans[f]=d,this.textSpans[f].style.display="block",this.textPaths[f]=l,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,i,n,a,o,s=0,l=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;for(i=d.length,r=0;r<i;r+=1)d[r].n?s+=1:(a=this.textSpans[r],o=this.textPaths[r],n=l[s],s+=1,n._mdf.m&&(this.isMasked?a.setAttribute("transform",n.m):(a.style.webkitTransform=n.m,a.style.transform=n.m)),a.style.opacity=n.o,n.sw&&n._mdf.sw&&o.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&o.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(o.setAttribute("fill",n.fc),o.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();if(this.currentBBox.w!==p.width&&(this.currentBBox.w=p.width,this.svgElement.setAttribute("width",p.width)),this.currentBBox.h!==p.height&&(this.currentBBox.h=p.height,this.svgElement.setAttribute("height",p.height)),this.currentBBox.w!==p.width+2||this.currentBBox.h!==p.height+2||this.currentBBox.x!==p.x-1||this.currentBBox.y!==p.y-1){this.currentBBox.w=p.width+2,this.currentBBox.h=p.height+2,this.currentBBox.x=p.x-1,this.currentBBox.y=p.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var c="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=c,e.webkitTransform=c}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,i,n=this.comp.threeDElements.length;for(e=0;e<n;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){r=t.perspectiveElem.style,i=t.container.style;var a=this.pe.v+"px",o="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=o,i.mozTransformOrigin=o,i.webkitTransformOrigin=o,r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var i=this.hierarchy[e].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 n;n=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 a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),o=[n[0]/a,n[1]/a,n[2]/a],s=Math.sqrt(o[2]*o[2]+o[0]*o[0]),l=Math.atan2(o[1],s),d=Math.atan2(o[0],-o[2]);this.mat.rotateY(d).rotateX(-l)}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 p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var c,u,h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(c=this.comp.threeDElements[e]).type){if(p){var m=this.mat.toCSS();(h=c.container.style).transform=m,h.webkitTransform=m}this.pe._mdf&&((u=c.perspectiveElem.style).perspective=this.pe.v+"px",u.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var i=this.layers[t];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var n,a,o=0;o<t;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement&&(a=this.elements[o],n=(this.layers[o].ddd?this.getThreeDContainerByPos(o):a.getBaseElement())||n),o+=1;n?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,n):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,i,n=createTag("div");styleDiv(n);var a=createTag("div");if(styleDiv(a),"3d"===t){(r=n.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var o="50% 50%";r.webkitTransformOrigin=o,r.mozTransformOrigin=o,r.transformOrigin=o;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=s,i.webkitTransform=s}n.appendChild(a);var l={container:a,perspectiveElem:n,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,i="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==i&&(i="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==i&&(i="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;r<i;){if(t<=this.threeDElements[r].endPos){for(var n,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.threeDElements[r].container.insertBefore(e,n):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),i.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,r,i,n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,o=n/a;this.globalData.compSize.w/this.globalData.compSize.h>o?(e=n/this.globalData.compSize.w,t=n/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(n/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(n-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+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 e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(e=0;e<i;e+=1){var n=this.threeDElements[e].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,i=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t],i,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r,i=0;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var r=0,i=e.layers.length;r<i;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var r,i=createSizedArray(t.viewData.length),n=t.viewData.length;for(r=0;r<n;r+=1)i[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<n;){if(t.masksProperties[r].nm===e)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(i){if(!e.numKeys)return 0;var n="";n="s"in t.keyframes[i-1]?t.keyframes[i-1].s:"e"in t.keyframes[i-2]?t.keyframes[i-2].e:t.keyframes[i-2].s;var a="unidimensional"===r?new Number(n):Object.assign({},n);return a.time=t.keyframes[i-1].t/t.elem.comp.globalData.frameRate,a.value="unidimensional"===r?n[0]:n,a},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function i(){return e}return function(n){return n?"unidimensional"===n.propType?function(t){t&&"pv"in t||(t=e);var i=1/t.mult,n=t.pv*i,a=new Number(n);return a.value=n,r(a,t,"unidimensional"),function(){return t.k&&t.getValue(),n=t.v*i,a.value!==n&&((a=new Number(n)).value=n,r(a,t,"unidimensional")),a}}(n):function(e){e&&"pv"in e||(e=t);var i=1/e.mult,n=e.data&&e.data.l||e.pv.length,a=createTypedArray("float32",n),o=createTypedArray("float32",n);return a.value=o,r(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<n;t+=1)o[t]=e.v[t]*i,a[t]=o[t];return a}}(n):i}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var r,i,n,a;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?a=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),i(),n?n():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function i(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function s(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(d){var p;function c(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return p;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}c.getMatrix=e,c.invertPoint=o,c.applyPoint=a,c.toWorld=r,c.toWorldVec=t,c.fromWorld=n,c.fromWorldVec=i,c.toComp=r,c.fromComp=s,c.sampleImage=l,c.sourceRectAtTime=d.sourceRectAtTime.bind(d),c._elem=d;var u=getDescriptor(p=TransformExpressionInterface(d.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(p,"rotation"),scale:getDescriptor(p,"scale"),position:getDescriptor(p,"position"),opacity:getDescriptor(p,"opacity"),anchorPoint:u,anchor_point:u,transform:{get:function(){return p}},active:{get:function(){return d.isInRange}}}),c.startTime=d.data.st,c.index=d.data.ind,c.source=d.data.refId,c.height=0===d.data.ty?d.data.h:100,c.width=0===d.data.ty?d.data.w:100,c.inPoint=d.data.ip/d.comp.globalData.frameRate,c.outPoint=d.data.op/d.comp.globalData.frameRate,c._name=d.data.nm,c.registerMaskInterface=function(e){c.mask=new MaskManagerInterface(e,d)},c.registerEffectsInterface=function(e){c.effect=e},c}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){function e(r,i,n,a){function o(e){for(var t=r.ef,i=0,n=t.length;i<n;){if(e===t[i].nm||e===t[i].mn||e===t[i].ix)return 5===t[i].ty?d[i]:d[i]();i+=1}throw new Error}var s,l=propertyGroupFactory(o,n),d=[],p=r.ef.length;for(s=0;s<p;s+=1)5===r.ef[s].ty?d.push(e(r.ef[s],i.effectElements[s],i.effectElements[s].propertyGroup,a)):d.push(t(i.effectElements[s],r.ef[s].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(o,"color",{get:function(){return d[0]()}}),Object.defineProperties(o,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),o.enabled=0!==r.en,o.active=o.enabled,o}function t(e,t,r,i){var n=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===t?r.comp.compInterface(e.p.v):n()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var i,n=[],a=t.data.ef,o=t.effectsManager.effectElements.length;for(i=0;i<o;i+=1)n.push(e(a[i],t.effectsManager.effectElements[i],r,t));var s=t.data.ef||[],l=function(e){for(i=0,o=s.length;i<o;){if(e===s[i].nm||e===s[i].mn||e===s[i].ix)return n[i];i+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}}}(),ShapePathInterface=function(e,t,r){var i=t.sh;function n(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?n.path:null}var a=propertyGroupFactory(n,r);return i.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),n},ShapeExpressionInterface=function(){function e(e,o,u){var h,m=[],f=e?e.length:0;for(h=0;h<f;h+=1)"gr"===e[h].ty?m.push(t(e[h],o[h],u)):"fl"===e[h].ty?m.push(r(e[h],o[h],u)):"st"===e[h].ty?m.push(n(e[h],o[h],u)):"tm"===e[h].ty?m.push(a(e[h],o[h],u)):"tr"===e[h].ty||("el"===e[h].ty?m.push(s(e[h],o[h],u)):"sr"===e[h].ty?m.push(l(e[h],o[h],u)):"sh"===e[h].ty?m.push(ShapePathInterface(e[h],o[h],u)):"rc"===e[h].ty?m.push(d(e[h],o[h],u)):"rd"===e[h].ty?m.push(p(e[h],o[h],u)):"rp"===e[h].ty?m.push(c(e[h],o[h],u)):"gf"===e[h].ty?m.push(i(e[h],o[h],u)):m.push((e[h],o[h],function(){return null})));return m}function t(t,r,i){var n=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,i);var a=function(t,r,i){var n,a=function(e){for(var t=0,r=n.length;t<r;){if(n[t]._name===e||n[t].mn===e||n[t].propertyIndex===e||n[t].ix===e||n[t].ind===e)return n[t];t+=1}return"number"==typeof e?n[e-1]:null};a.propertyGroup=propertyGroupFactory(a,i),n=e(t.it,r.it,a.propertyGroup),a.numProperties=n.length;var s=o(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=s,a.propertyIndex=t.cix,a._name=t.nm,a}(t,r,n.propertyGroup),s=o(t.it[t.it.length-1],r.it[r.it.length-1],n.propertyGroup);return n.content=a,n.transform=s,Object.defineProperty(n,"_name",{get:function(){return t.nm}}),n.numProperties=t.np,n.propertyIndex=t.ix,n.nm=t.nm,n.mn=t.mn,n}function r(e,t,r){function i(e){return"Color"===e||"color"===e?i.color:"Opacity"===e||"opacity"===e?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(e,t,r){function i(e){return"Start Point"===e||"start point"===e?i.startPoint:"End Point"===e||"end point"===e?i.endPoint:"Opacity"===e||"opacity"===e?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function n(e,t,r){var i,n=propertyGroupFactory(d,r),a=propertyGroupFactory(l,n);function o(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var s=e.d?e.d.length:0,l={};for(i=0;i<s;i+=1)o(i),t.d.dataProps[i].p.setGroupProperty(a);function d(e){return"Color"===e||"color"===e?d.color:"Opacity"===e||"opacity"===e?d.opacity:"Stroke Width"===e||"stroke width"===e?d.strokeWidth:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),t.w.setGroupProperty(PropertyInterface("Stroke Width",n)),d}function a(e,t,r){function i(t){return t===e.e.ix||"End"===t||"end"===t?i.end:t===e.s.ix?i.start:t===e.o.ix?i.offset:null}var n=propertyGroupFactory(i,r);return i.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",n)),t.e.setGroupProperty(PropertyInterface("End",n)),t.o.setGroupProperty(PropertyInterface("Offset",n)),i.propertyIndex=e.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),i.mn=e.mn,i}function o(e,t,r){function i(t){return e.a.ix===t||"Anchor Point"===t?i.anchorPoint:e.o.ix===t||"Opacity"===t?i.opacity:e.p.ix===t||"Position"===t?i.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?i.rotation:e.s.ix===t||"Scale"===t?i.scale:e.sk&&e.sk.ix===t||"Skew"===t?i.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?i.skewAxis:null}var n=propertyGroupFactory(i,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),i.ty="tr",i.mn=e.mn,i.propertyGroup=r,i}function s(e,t,r){function i(t){return e.p.ix===t?i.position:e.s.ix===t?i.size:null}var n=propertyGroupFactory(i,r);i.propertyIndex=e.ix;var a="tm"===t.sh.ty?t.sh.prop:t.sh;return a.s.setGroupProperty(PropertyInterface("Size",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:e.nm}}),i.mn=e.mn,i}function l(e,t,r){function i(t){return e.p.ix===t?i.position:e.r.ix===t?i.rotation:e.pt.ix===t?i.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?i.outerRadius:e.os.ix===t?i.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?i.innerRoundness:null:i.innerRadius}var n=propertyGroupFactory(i,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return i.propertyIndex=e.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",n)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),a.pt.setGroupProperty(PropertyInterface("Points",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),e.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:e.nm}}),i.mn=e.mn,i}function d(e,t,r){function i(t){return e.p.ix===t?i.position:e.r.ix===t?i.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?i.size:null}var n=propertyGroupFactory(i,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return i.propertyIndex=e.ix,a.p.setGroupProperty(PropertyInterface("Position",n)),a.s.setGroupProperty(PropertyInterface("Size",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:e.nm}}),i.mn=e.mn,i}function p(e,t,r){function i(t){return e.r.ix===t||"Round Corners 1"===t?i.radius:null}var n=propertyGroupFactory(i,r),a=t;return i.propertyIndex=e.ix,a.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:e.nm}}),i.mn=e.mn,i}function c(e,t,r){function i(t){return e.c.ix===t||"Copies"===t?i.copies:e.o.ix===t||"Offset"===t?i.offset:null}var n=propertyGroupFactory(i,r),a=t;return i.propertyIndex=e.ix,a.c.setGroupProperty(PropertyInterface("Copies",n)),a.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:e.nm}}),i.mn=e.mn,i}return function(t,r,i){var n;function a(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?i:n[e-1];for(var t=0,r=n.length;t<r;){if(n[t]._name===e)return n[t];t+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return i})),n=e(t,r,a.propertyGroup),a.numProperties=n.length,a._name="Contents",a}}(),TextExpressionInterface=function(e){var t;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return t&&r===t.value||((t=new String(r)).value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof$2(e){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function i(e){if(r[e])return t=e,"object"===_typeof$2(r=r[e])?i:r;var n=e.indexOf(t);if(-1!==n){var a=parseInt(e.substr(n+t.length),10);return"object"===_typeof$2(r=r[a])?i:r}return""}return function(){return t="",r=e.getFootageData(),i}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}function _typeof$1(e){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}function seedRandom(e,t){var r=this,i=256,n="random",a=t.pow(i,6),o=t.pow(2,52),s=2*o,l=i-1;function d(e){var t,r=e.length,n=this,a=0,o=n.i=n.j=0,s=n.S=[];for(r||(e=[r++]);a<i;)s[a]=a++;for(a=0;a<i;a++)s[a]=s[o=l&o+e[a%r]+(t=s[a])],s[o]=t;n.g=function(e){for(var t,r=0,a=n.i,o=n.j,s=n.S;e--;)t=s[a=l&a+1],r=r*i+s[l&(s[a]=s[o=l&o+t])+(s[o]=t)];return n.i=a,n.j=o,r}}function p(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function c(e,t){var r,i=[],n=_typeof$1(e);if(t&&"object"==n)for(r in e)try{i.push(c(e[r],t-1))}catch(e){}return i.length?i:"string"==n?e:e+"\0"}function u(e,t){for(var r,i=e+"",n=0;n<i.length;)t[l&n]=l&(r^=19*t[l&n])+i.charCodeAt(n++);return h(t)}function h(e){return String.fromCharCode.apply(0,e)}t["seed"+n]=function(l,m,f){var y=[],g=u(c((m=!0===m?{entropy:!0}:m||{}).entropy?[l,h(e)]:null===l?function(){try{var t=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(t),h(t)}catch(t){var n=r.navigator,a=n&&n.plugins;return[+new Date,r,a,r.screen,h(e)]}}():l,3),y),x=new d(y),_=function(){for(var e=x.g(6),t=a,r=0;e<o;)e=(e+r)*i,t*=i,r=x.g(1);for(;e>=s;)e/=2,t/=2,r>>>=1;return(e+r)/t};return _.int32=function(){return 0|x.g(4)},_.quick=function(){return x.g(4)/4294967296},_.double=_,u(h(x.S),e),(m.pass||f||function(e,r,i,a){return a&&(a.S&&p(a,x),e.state=function(){return p(x,{})}),i?(t[n]=e,r):e})(_,g,"global"in m?m.global:this==t,m.state)},u(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,i=e.length,n=[];for(r=0;r<i;r+=1)n[r]=-e[r];return n}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof(e),i=_typeof(t);if("string"===r||"string"===i)return e+t;if(isNumerable(r,e)&&isNumerable(i,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,s=[];n<a||n<o;)("number"==typeof e[n]||e[n]instanceof Number)&&("number"==typeof t[n]||t[n]instanceof Number)?s[n]=e[n]+t[n]:s[n]=void 0===t[n]?e[n]:e[n]||t[n],n+=1;return s}return 0}var add=sum;function sub(e,t){var r=_typeof(e),i=_typeof(t);if(isNumerable(r,e)&&isNumerable(i,t))return"string"===r&&(e=parseInt(e,10)),"string"===i&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,s=[];n<a||n<o;)("number"==typeof e[n]||e[n]instanceof Number)&&("number"==typeof t[n]||t[n]instanceof Number)?s[n]=e[n]-t[n]:s[n]=void 0===t[n]?e[n]:e[n]||t[n],n+=1;return s}return 0}function mul(e,t){var r,i,n,a=_typeof(e),o=_typeof(t);if(isNumerable(a,e)&&isNumerable(o,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(o,t)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e[i]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e*t[i];return r}return 0}function div(e,t){var r,i,n,a=_typeof(e),o=_typeof(t);if(isNumerable(a,e)&&isNumerable(o,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(o,t)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e[i]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e/t[i];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var i=Math.min(e.length,t.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(t[r]-e[r],2);return Math.sqrt(n)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,i=e[0],n=e[1],a=e[2],o=Math.max(i,n,a),s=Math.min(i,n,a),l=(o+s)/2;if(o===s)t=0,r=0;else{var d=o-s;switch(r=l>.5?d/(2-o-s):d/(o+s),o){case i:t=(n-a)/d+(n<a?6:0);break;case n:t=(a-i)/d+2;break;case a:t=(i-n)/d+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,i,n=e[0],a=e[1],o=e[2];if(0===a)t=o,i=o,r=o;else{var s=o<.5?o*(1+a):o+a-o*a,l=2*o-s;t=hue2rgb(l,s,n+1/3),r=hue2rgb(l,s,n),i=hue2rgb(l,s,n-1/3)}return[t,r,i,e[3]]}function linear(e,t,r,i,n){if(void 0!==i&&void 0!==n||(i=t,n=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return i;if(e>=r)return n;var o,s=r===t?0:(e-t)/(r-t);if(!i.length)return i+(n-i)*s;var l=i.length,d=createTypedArray("float32",l);for(o=0;o<l;o+=1)d[o]=i[o]+(n[o]-i[o])*s;return d}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,i=t.length;e||(e=createTypedArray("float32",i));var n=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)n[r]=e[r]+a*(t[r]-e[r]);return n}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,i){var n,a=e.length,o=shapePool.newElement();o.setPathData(!!i,a);var s,l,d=[0,0];for(n=0;n<a;n+=1)s=t&&t[n]?t[n]:d,l=r&&r[n]?r[n]:d,o.setTripleAt(e[n][0],e[n][1],l[0]+e[n][0],l[1]+e[n][1],s[0]+e[n][0],s[1]+e[n][1],n,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,i,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n),o=Math.floor(5*time);for(r=0,i=0;r<o;){for(i=0;i<n;i+=1)a[i]+=-t+2*t*BMMath.random();r+=1}var s=5*time,l=s-Math.floor(s),d=createTypedArray("float32",n);if(n>1){for(i=0;i<n;i+=1)d[i]=this.pv[i]+a[i]+(-t+2*t*BMMath.random())*l;return d}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(e,t,r,i,n){return applyEase(easeOutBez,e,t,r,i,n)}function easeIn(e,t,r,i,n){return applyEase(easeInBez,e,t,r,i,n)}function ease(e,t,r,i,n){return applyEase(easeInOutBez,e,t,r,i,n)}function applyEase(e,t,r,i,n,a){void 0===n?(n=r,a=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(n)){var s,l=n.length,d=createTypedArray("float32",l);for(s=0;s<l;s+=1)d[s]=(a[s]-n[s])*o+n[s];return d}return(a-n)*o+n}function nearestKey(e){var t,r,i,n=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(t=0;t<n-1;t+=1){if(e===data.k[t].t){r=t+1,i=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,i=data.k[t+1].t):(r=t+1,i=data.k[t].t);break}}-1===r&&(r=t+1,i=data.k[t].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(e){var t,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=n.length,r=0;r<i;r+=1)t[r]=n[r],t.value[r]=n[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),i=0;if(t.length){var n;for(n=0;n<t.length;n+=1)i+=Math.pow(r[n]-t[n],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,i=-.001,n=this.getValueAtTime(e),a=this.getValueAtTime(e+i);if(n.length)for(t=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)t[r]=(a[r]-n[r])/i;else t=(a-n)/i;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var i,n,a,o,s,l=this.comp.renderedFrame,d=this.keyframes,p=d[d.length-1].t;if(l<=p)return this.pv;if(r?n=p-(i=t?Math.abs(p-this.elem.comp.globalData.frameRate*t):Math.max(0,p-this.elem.data.ip)):((!t||t>d.length-1)&&(t=d.length-1),i=p-(n=d[d.length-1-t].t)),"pingpong"===e){if(Math.floor((l-n)/i)%2!=0)return this.getValueAtTime((i-(l-n)%i+n)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(n/this.comp.globalData.frameRate,0),u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),h=this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0),m=Math.floor((l-n)/i);if(this.pv.length){for(o=(s=new Array(c.length)).length,a=0;a<o;a+=1)s[a]=(u[a]-c[a])*m+h[a];return s}return(u-c)*m+h}if("continue"===e){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(s=new Array(f.length)).length,a=0;a<o;a+=1)s[a]=f[a]+(f[a]-y[a])*((l-p)/this.comp.globalData.frameRate)/5e-4;return s}return f+(l-p)/.001*(f-y)}}return this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var i,n,a,o,s,l=this.comp.renderedFrame,d=this.keyframes,p=d[0].t;if(l>=p)return this.pv;if(r?n=p+(i=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-p)):((!t||t>d.length-1)&&(t=d.length-1),i=(n=d[t].t)-p),"pingpong"===e){if(Math.floor((p-l)/i)%2==0)return this.getValueAtTime(((p-l)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(n/this.comp.globalData.frameRate,0),h=this.getValueAtTime((i-(p-l)%i+p)/this.comp.globalData.frameRate,0),m=Math.floor((p-l)/i)+1;if(this.pv.length){for(o=(s=new Array(c.length)).length,a=0;a<o;a+=1)s[a]=h[a]-(u[a]-c[a])*m;return s}return h-(u-c)*m}if("continue"===e){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(s=new Array(f.length)).length,a=0;a<o;a+=1)s[a]=f[a]+(f[a]-y[a])*(p-l)/.001;return s}return f+(f-y)*(p-l)/.001}}return this.getValueAtTime((i-((p-l)%i+p))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,i,n=this.comp.renderedFrame/this.comp.globalData.frameRate,a=n-e,o=t>1?(n+e-a)/(t-1):1,s=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;s<t;){if(i=this.getValueAtTime(a+s*o),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=i[l];else r+=i;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}function i(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(e);t.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(e),a=this.sa.getValueAtTime(e);t.skewFromAxis(-n*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var o=this.r.getValueAtTime(e);t.rotate(-o*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),d=this.rx.getValueAtTime(e),p=this.or.getValueAtTime(e);t.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(d*this.rx.mult).rotateZ(-p[2]*this.or.mult).rotateY(p[1]*this.or.mult).rotateX(p[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var c=this.px.getValueAtTime(e),u=this.py.getValueAtTime(e);if(this.data.p.z){var h=this.pz.getValueAtTime(e);t.translate(c*this.px.mult,u*this.py.mult,-h*this.pz.mult)}else t.translate(c*this.px.mult,u*this.py.mult,0)}else{var m=this.p.getValueAtTime(e);t.translate(m[0]*this.p.mult,m[1]*this.p.mult,-m[2]*this.p.mult)}return t}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var o=a(e,t,r);return o.dynamicProperties.length?o.getValueAtTime=i.bind(o):o.getValueAtTime=n.bind(o),o.setGroupProperty=expressionHelpers.setGroupProperty,o};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(i,n,a,s,l){var d=o(i,n,a,s,l);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=r,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=1===n.a?n.k.length:0,d.propertyIndex=n.ix;var p=0;return 0!==a&&(p=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(i,n,d),d.k&&l.addDynamicProperty(d),d};var s=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function d(){}d.prototype={vertices:function(e,t){this.k&&this.getValue();var r,i=this.v;void 0!==t&&(i=this.getValueAtTime(t,0));var n=i._length,a=i[e],o=i.v,s=createSizedArray(n);for(r=0;r<n;r+=1)s[r]="i"===e||"o"===e?[a[r][0]-o[r][0],a[r][1]-o[r][1]]:[a[r][0],a[r][1]];return s},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,n=this._segmentsLength,a=n.lengths,o=n.totalLength*e,s=0,l=a.length,d=0;s<l;){if(d+a[s].addedLength>o){var p=s,c=r.c&&s===l-1?0:s+1,u=(o-d)/a[s].addedLength;i=bez.getPointInSegment(r.v[p],r.v[c],r.o[p],r.i[c],u,a[s]);break}d+=a[s].addedLength,s+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var i=this.pointOnPath(e,t),n=this.pointOnPath(e+.001,t),a=n[0]-i[0],o=n[1]-i[1],s=Math.sqrt(Math.pow(a,2)+Math.pow(o,2));return 0===s?[0,0]:"tangent"===r?[a/s,o/s]:[-o/s,a/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([d],s),extendPrototype([d],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var p=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,i,n){var a=p(e,t,r,i,n);return a.propertyIndex=t.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,a):4===r&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var i={};return this.copyData(i,e),i.t=r.toString(),i.__complete=!1,i}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var r,i,n=createNS("feMerge");for(n.setAttribute("result",e),i=0;i<t.length;i+=1)(r=createNS("feMergeNode")).setAttribute("in",t[i]),n.appendChild(r),n.appendChild(r);return n}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,i,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",i+"_tint_1"),e.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);e.appendChild(o)}function SVGFillFilter(e,t,r,i){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),e.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,i){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var s=createNS("feFuncG");s.setAttribute("type","table"),a.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(e,t,r,i,n){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",i+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var p=createNS("feComposite");p.setAttribute("in",i+"_drop_shadow_3"),p.setAttribute("in2",i+"_drop_shadow_2"),p.setAttribute("operator","in"),p.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(p);var c=this.createMergeNode(i,[i+"_drop_shadow_4",n]);e.appendChild(c)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,i,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<i;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+o+")");n[0];)s.appendChild(n[0]);this.elem.layerElement.appendChild(s),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var r,i,n=this.paths.length;for(t=0;t<n;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],i=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var o=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=i.getTotalLength();a="0 0 0 "+l*o+" ";var d,p=l*(s-o),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,u=Math.floor(p/c);for(d=0;d<u;d+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var h=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*h[0])+","+bmFloor(255*h[1])+","+bmFloor(255*h[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+t[0],a=i[1]+" "+r[1]+" "+t[1],o=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,n){for(var a,o,s=0,l=Math.min(e,t),d=Math.max(e,t),p=Array.call(null,{length:256}),c=0,u=n-i,h=t-e;s<=256;)o=(a=s/256)<=l?h<0?n:i:a>=d?h<0?i:n:i+u*Math.pow((a-e)/h,1/r),p[c]=o,c+=1,s+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||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((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,i){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("result",i),e.appendChild(n),this.feGaussianBlur=n}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var i,n=r.children,a=0,o=n.length;a<o&&n[a]!==e.layerElement;)a+=1;a<=o-2&&(i=n[a+1]);var s=createNS("use");s.setAttribute("href","#"+t),i?r.insertBefore(s,i):r.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),n.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+r),i.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,i=t.length;r<i;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:t,n=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+n);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=factory())})(lottie$1,lottie$1.exports);var lottie=lottie$1.exports;function _iterableToArrayLimit$2(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,n,a,o,s=[],l=!0,d=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){d=!0,n=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(d)throw n}}return s}}function ownKeys$2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$2(Object(r),!0).forEach((function(t){_defineProperty$2(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$2(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty$2(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectWithoutPropertiesLoose$1(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}function _objectWithoutProperties$1(e,t){if(null==e)return{};var r,i,n=_objectWithoutPropertiesLoose$1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _slicedToArray$2(e,t){return _arrayWithHoles$2(e)||_iterableToArrayLimit$2(e,t)||_unsupportedIterableToArray$3(e,t)||_nonIterableRest$2()}function _arrayWithHoles$2(e){if(Array.isArray(e))return e}function _unsupportedIterableToArray$3(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray$3(e,t):void 0}}function _arrayLikeToArray$3(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _nonIterableRest$2(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toPrimitive(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:String(t)}var _excluded$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function(e,t){var r=e.animationData,i=e.loop,n=e.autoplay,a=e.initialSegment,o=e.onComplete,s=e.onLoopComplete,l=e.onEnterFrame,d=e.onSegmentStart,p=e.onConfigReady,c=e.onDataReady,u=e.onDataFailed,h=e.onLoadedImages,m=e.onDOMLoaded,f=e.onDestroy;e.lottieRef,e.renderer,e.name,e.assetsPath,e.rendererSettings;var y=_objectWithoutProperties$1(e,_excluded$1),g=_slicedToArray$2(React.useState(!1),2),x=g[0],_=g[1],b=React.useRef(),v=React.useRef(null);return React.useEffect((function(){var t=function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(v.current){null===(t=b.current)||void 0===t||t.destroy();var i=_objectSpread2(_objectSpread2(_objectSpread2({},e),r),{},{container:v.current});return b.current=lottie.loadAnimation(i),_(!!b.current),function(){var e;null===(e=b.current)||void 0===e||e.destroy(),b.current=void 0}}}();return function(){return null==t?void 0:t()}}),[r,i]),React.useEffect((function(){b.current&&(b.current.autoplay=!!n)}),[n]),React.useEffect((function(){b.current&&(a?Array.isArray(a)&&a.length&&((b.current.currentRawFrame<a[0]||b.current.currentRawFrame>a[1])&&(b.current.currentRawFrame=a[0]),b.current.setSegment(a[0],a[1])):b.current.resetSegments(!0))}),[a]),React.useEffect((function(){var e=[{name:"complete",handler:o},{name:"loopComplete",handler:s},{name:"enterFrame",handler:l},{name:"segmentStart",handler:d},{name:"config_ready",handler:p},{name:"data_ready",handler:c},{name:"data_failed",handler:u},{name:"loaded_images",handler:h},{name:"DOMLoaded",handler:m},{name:"destroy",handler:f}].filter((function(e){return null!=e.handler}));if(e.length){var t=e.map((function(e){var t;return null===(t=b.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=b.current)||void 0===t||t.removeEventListener(e.name,e.handler)}}));return function(){t.forEach((function(e){return e()}))}}}),[o,s,l,d,p,c,u,h,m,f]),{View:React__default.default.createElement("div",_objectSpread2({style:t,ref:v},y)),play:function(){var e;null===(e=b.current)||void 0===e||e.play()},stop:function(){var e;null===(e=b.current)||void 0===e||e.stop()},pause:function(){var e;null===(e=b.current)||void 0===e||e.pause()},setSpeed:function(e){var t;null===(t=b.current)||void 0===t||t.setSpeed(e)},goToAndStop:function(e,t){var r;null===(r=b.current)||void 0===r||r.goToAndStop(e,t)},goToAndPlay:function(e,t){var r;null===(r=b.current)||void 0===r||r.goToAndPlay(e,t)},setDirection:function(e){var t;null===(t=b.current)||void 0===t||t.setDirection(e)},playSegments:function(e,t){var r;null===(r=b.current)||void 0===r||r.playSegments(e,t)},setSubframe:function(e){var t;null===(t=b.current)||void 0===t||t.setSubframe(e)},getDuration:function(e){var t;return null===(t=b.current)||void 0===t?void 0:t.getDuration(e)},destroy:function(){var e;null===(e=b.current)||void 0===e||e.destroy(),b.current=void 0},animationContainerRef:v,animationLoaded:x,animationItem:b.current}},v$3="4.10.1",fr$2=24,ip$2=0,op$2=72,w$3=250,h$3=250,nm$1="Comp 1",ddd$2=0,assets$2=[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Capa de formas 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:24,s:[81.5,370.25,0],e:[445.5,199.25,0],to:[60.6666679382324,-28.5,0],ti:[-60.6666679382324,28.5,0]},{t:48}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[43,43,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[28,0],[34.935,-19.483],[31.619,18.821],[33,-14],[57,29],[0,0],[0,0],[0,0]],o:[[-28,0],[-52,29],[-42,-25],[-28.892,12.257],[-57,-29],[0,0],[0,0],[0,0]],v:[[367.75,-97],[277,-75],[155,-82],[35,-82],[-94,-82.326],[-200,-74],[-352.07,320.209],[499.162,354.093]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.9372549019607843,.2549019607843137,.23921568627450981,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Forma 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:144,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Capa de formas 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:24,s:[-133,374,0],e:[231,203,0],to:[60.6666679382324,-28.5,0],ti:[-60.6666679382324,28.5,0]},{t:48}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[43,43,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[28,0],[34.935,-19.483],[31.619,18.821],[33,-14],[57,29],[0,0],[0,0],[0,0]],o:[[-28,0],[-52,29],[-42,-25],[-28.892,12.257],[-57,-29],[0,0],[0,0],[0,0]],v:[[367.75,-97],[277,-75],[155,-82],[35,-82],[-94,-82.326],[-200,-74],[-352.07,320.209],[499.162,354.093]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.9372549019607843,.2549019607843137,.23921568627450981,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Forma 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:144,st:0,bm:0}]}],layers$2=[{ddd:0,ind:1,ty:4,nm:"Capa de formas 5",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:15,s:[100],e:[0]},{t:16}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[124.375,-8.75,0],e:[199,156,0],to:[0,28.3333339691162,0],ti:[0,-28.9375,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:12,s:[124.375,97.5,0],e:[199,164.066,0],to:[0,4.54861259460449,0],ti:[0,-2.45892143249512,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:13,s:[124.375,102.54125,0],e:[199,166.125,0],to:[0,13.1843204498291,0],ti:[0,-1.72074222564697,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:14,s:[124.375,103.828125,0],e:[199,168.375,0],to:[0,2.04166674613953,0],ti:[0,-.04166666790843,0]},{t:15}],ix:2},a:{a:0,k:[-1,-182.375,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[31.25,31.25,100],e:[31.25,58.75,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:12,s:[31.25,58.75,100],e:[43.75,27.083125,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:13,s:[43.75,27.083125,100],e:[65.16125000000001,20,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:14,s:[65.16125000000001,20,100],e:[132.5,11.25,100]},{t:15}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.938,0],[0,-5.25],[-4.563,.125],[.108,4.624]],o:[[-.813,.125],[0,4.813],[4.563,-.125],[-.125,-5.375]],v:[[-1.344,-193.078],[-8.75,-180.5],[-1.063,-172.313],[6.938,-180.188]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.2549019607843137,.25098039215686274,.25882352941176473,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Forma 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Capa de formas 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:46,s:[0],e:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:47,s:[100],e:[100]},{t:48}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:47,s:[124.98749999999998,105.15625,0],e:[199.98,158.037,0],to:[0,-.20375619828701,0],ti:[0,17.58864402771,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:48,s:[124.98749999999998,98.77312500000001,0],e:[199.98,-10,0],to:[-28421709430404e-27,-50.4047393798828,0],ti:[0,1.17485654354095,0]},{t:53}],ix:2},a:{a:0,k:[-32,-31,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:47,s:[-2.5,.625,100],e:[.9375,2.5,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:48,s:[.9375,2.5,100],e:[1.25,1.875,100]},{t:53}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[308,308],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Trazado elíptico 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[.2549019607843137,.25098039215686274,.25882352941176473,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-31,-31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Elipse 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Capa de formas 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[124.375,158.125,0],ix:2},a:{a:0,k:[-32,-31,0],ix:1},s:{a:0,k:[34.375,34.375,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[308,308],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Trazado elíptico 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.2549019607843137,.25098039215686274,.25882352941176473,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-31,-31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Elipse 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:12,s:[50],e:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:24,s:[100],e:[50]},{t:48}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:12,s:[50],e:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:24,s:[0],e:[50]},{t:48}],ix:2},o:{a:0,k:180,ix:3},m:1,ix:2,nm:"Recortar trazados 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Capa de formas 1",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[124.375,158.125,0],ix:2},a:{a:0,k:[-32,-31,0],ix:1},s:{a:0,k:[31.25,31.25,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[308,308],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Trazado elíptico 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[.913725490196,.347995563582,.03941561007,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-31,-31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Elipse 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:11,ty:0,nm:"Precomp. 1",tt:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[125,125,0],ix:2},a:{a:0,k:[200,200,0],ix:1},s:{a:0,k:[62.5,62.5,100],ix:6}},ao:0,w:400,h:400,ip:0,op:144,st:0,bm:0}],animationData$2={v:v$3,fr:fr$2,ip:ip$2,op:op$2,w:w$3,h:h$3,nm:nm$1,ddd:ddd$2,assets:assets$2,layers:layers$2};const LottieSpinner=()=>{const e={animationData:animationData$2,loop:!0,autoplay:!0,style:{height:"200px",width:"200px"}},{View:t}=useLottie(e);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:t})},LoadingSpinner=e=>jsxRuntime.jsx(Container$v,{...e,children:jsxRuntime.jsx(LottieSpinner,{})}),Container$v=styled__default.default.div`
|
|
392
|
+
`,Alert=({type:e,className:t,children:r,actionLink:i,...n})=>jsxRuntime.jsxs(Wrapper$r,{className:t,$type:e,"data-testid":n["data-testid"],children:[r,i&&jsxRuntime.jsxs(ActionLinkText,{weight:"semibold",...i,"data-testid":"action-link",children:[i.children,jsxRuntime.jsx(ArrowIcon,{})]})]});var lottie$1={exports:{}};(function(module,exports){var factory;"undefined"!=typeof navigator&&(factory=function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,i,n=e.length;for(r=0;r<n;r+=1)for(var a in i=e[r].prototype)Object.prototype.hasOwnProperty.call(i,a)&&(t.prototype[a]=i[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}var audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,i=0,n=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<t;i+=1)n.push(r);return n}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof$6(e)&&e.length){var t,r=createSizedArray(e.length),i=e.length;for(t=0;t<i;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,i){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,i){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=i<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,r){var i,n,a,o,s,l,d,p;switch(l=r*(1-t),d=r*(1-(s=6*e-(o=Math.floor(6*e)))*t),p=r*(1-(1-s)*t),o%6){case 0:i=r,n=p,a=l;break;case 1:i=d,n=r,a=l;break;case 2:i=l,n=r,a=p;break;case 3:i=l,n=d,a=r;break;case 4:i=p,n=l,a=r;break;case 5:i=r,n=l,a=d}return[i,n,a]}function RGBtoHSV(e,t,r){var i,n=Math.max(e,t,r),a=Math.min(e,t,r),o=n-a,s=0===n?0:o/n,l=n/255;switch(n){case a:i=0;break;case e:i=t-r+o*(t<r?6:0),i/=6*o;break;case t:i=r-e+2*o,i/=6*o;break;case r:i=e-t+4*o,i/=6*o}return[i,s,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,i){return e<0&&(e=0),t<0&&(t=0),i<0&&(i=0),"#"+r[e]+r[t]+r[i]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,r=1,i=[],n={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){n.onmessage({data:e})}};function o(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),i=URL.createObjectURL(r);return new Worker(i)}return e=t,n}((function(e){if(a.dataManager||(a.dataManager=function(){function e(n,a){var o,s,l,d,p,u,h=n.length;for(s=0;s<h;s+=1)if("ks"in(o=n[s])&&!o.completed){if(o.completed=!0,o.hasMask){var m=o.masksProperties;for(d=m.length,l=0;l<d;l+=1)if(m[l].pt.k.i)i(m[l].pt.k);else for(u=m[l].pt.k.length,p=0;p<u;p+=1)m[l].pt.k[p].s&&i(m[l].pt.k[p].s[0]),m[l].pt.k[p].e&&i(m[l].pt.k[p].e[0])}0===o.ty?(o.layers=t(o.refId,a),e(o.layers,a)):4===o.ty?r(o.shapes):5===o.ty&&c(o)}}function t(e,t){var r=function(e,t){for(var r=0,i=t.length;r<i;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,n,a;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)i(e[t].ks.k);else for(a=e[t].ks.k.length,n=0;n<a;n+=1)e[t].ks.k[n].s&&i(e[t].ks.k[n].s[0]),e[t].ks.k[n].e&&i(e[t].ks.k[n].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function i(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function n(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a,o=function(){var e=[4,4,14];function t(e){var t,r,i,n=e.length;for(t=0;t<n;t+=1)5===e[t].ty&&(i=void 0,i=(r=e[t]).t.d,r.t.d={k:[{s:i,t:0}]})}return function(r){if(n(e,r.v)&&(t(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&t(r.assets[i].layers)}}}(),s=(a=[4,7,99],function(e){if(e.chars&&!n(a,e.v)){var t,i=e.chars.length;for(t=0;t<i;t+=1){var o=e.chars[t];o.data&&o.data.shapes&&(r(o.data.shapes),o.data.ip=0,o.data.op=99999,o.data.st=0,o.data.sr=1,o.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(o.data.shapes.push({ty:"no"}),o.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"})))}}}),l=function(){var e=[5,7,15];function t(e){var t,r,i=e.length;for(t=0;t<i;t+=1)5===e[t].ty&&(r=void 0,"number"==typeof(r=e[t].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(n(e,r.v)&&(t(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&t(r.assets[i].layers)}}}(),d=function(){var e=[4,1,9];function t(e){var r,i,n,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(n=e[r].c.k.length,i=0;i<n;i+=1)e[r].c.k[i].s&&(e[r].c.k[i].s[0]/=255,e[r].c.k[i].s[1]/=255,e[r].c.k[i].s[2]/=255,e[r].c.k[i].s[3]/=255),e[r].c.k[i].e&&(e[r].c.k[i].e[0]/=255,e[r].c.k[i].e[1]/=255,e[r].c.k[i].e[2]/=255,e[r].c.k[i].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,i=e.length;for(r=0;r<i;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(n(e,t.v)&&(r(t.layers),t.assets)){var i,a=t.assets.length;for(i=0;i<a;i+=1)t.assets[i].layers&&r(t.assets[i].layers)}}}(),p=function(){var e=[4,4,18];function t(e){var r,i,n;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(n=e[r].ks.k.length,i=0;i<n;i+=1)e[r].ks.k[i].s&&(e[r].ks.k[i].s[0].c=e[r].closed),e[r].ks.k[i].e&&(e[r].ks.k[i].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,i,n,a,o,s,l=e.length;for(i=0;i<l;i+=1){if((r=e[i]).hasMask){var d=r.masksProperties;for(a=d.length,n=0;n<a;n+=1)if(d[n].pt.k.i)d[n].pt.k.c=d[n].cl;else for(s=d[n].pt.k.length,o=0;o<s;o+=1)d[n].pt.k[o].s&&(d[n].pt.k[o].s[0].c=d[n].cl),d[n].pt.k[o].e&&(d[n].pt.k[o].e[0].c=d[n].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(n(e,t.v)&&(r(t.layers),t.assets)){var i,a=t.assets.length;for(i=0;i<a;i+=1)t.assets[i].layers&&r(t.assets[i].layers)}}}();function c(e){0===e.t.a.length&&e.t.p}var u={completeData:function(r){r.__complete||(d(r),o(r),s(r),l(r),p(r),e(r.layers,r.assets),function(r,i){if(r){var n=0,a=r.length;for(n=0;n<a;n+=1)1===r[n].t&&(r[n].data.layers=t(r[n].data.refId,i),e(r[n].data.layers,i))}}(r.chars,r.assets),r.__complete=!0)}};return u.checkColors=d,u.checkChars=s,u.checkPathProperties=l,u.checkShapes=p,u.completeLayers=e,u}()),a.assetLoader||(a.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"===_typeof$5(e.response)?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,i,n){var a,o=new XMLHttpRequest;try{o.responseType="json"}catch(e){}o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status)a=e(o),i(a);else try{a=e(o),i(a)}catch(e){n&&n(e)}};try{o.open(["G","E","T"].join(""),t,!0)}catch(e){o.open(["G","E","T"].join(""),r+"/"+t,!0)}o.send()}}}()),"loadAnimation"===e.data.type)a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}));else if("complete"===e.data.type){var t=e.data.animation;a.dataManager.completeData(t),a.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&a.assetLoader.load(e.data.path,e.data.fullPath,(function(t){a.postMessage({id:e.data.id,payload:t,status:"success"})}),(function(){a.postMessage({id:e.data.id,status:"error"})}))})),t.onmessage=function(e){var t=e.data,r=t.id,n=i[r];i[r]=null,"success"===t.status?n.onComplete(t.payload):n.onError&&n.onError()})}function s(e,t){var n="processId_"+(r+=1);return i[n]={onComplete:e,onError:t},n}return{loadAnimation:function(e,r,i){o();var n=s(r,i);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(e,r,i){o();var n=s(r,i);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(e,r,i){o();var n=s(r,i);t.postMessage({type:"complete",animation:e,id:n})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(e,t,r){var i="";if(e.e)i=e.p;else if(t){var n=e.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),i=t+n}else i=r,i+=e.u?e.u:"",i+=e.p;return i}function n(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},r=i(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function o(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return o.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var i=e.length;for(r=0;r<i;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},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(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=i(t,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),n.src=r;var a={img:n,assetData:t};return a},createImageData:function(t){var r=i(t,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=e,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var a={img:n,assetData:t};return a},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},o}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],i=0;i<r.length;i+=1)r[i](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,i=this._cbs[e].length;r<i;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,i-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),i={},n=0,a=0;a<r.length;a+=1)2===(t=r[a].split(":")).length&&(i[t[0]]=t[1].trim(),n+=1);if(0===n)throw new Error;return i}return function(t){for(var r=[],i=0;i<t.length;i+=1){var n=t[i],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(t[i].cm)}catch(r){try{a.payload=e(t[i].cm)}catch(e){a.payload={name:t[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=function(e,t){renderers[e]=t};function getRenderer(e){return renderers[e]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var e in renderers)if(renderers[e])return e;return""}function _typeof$4(e){return _typeof$4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(e)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);var r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!==_typeof$4(t)&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},i=e.attributes;r.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:"",r.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:getRegisteredRenderer()||"canvas";var n=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"===n?r.loop=!1:"true"===n?r.loop=!0:""!==n&&(r.loop=parseInt(n,10));var a=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;r.autoplay="false"!==a,r.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:"","false"===(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:"")&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,i=this.animationData.layers,n=i.length,a=e.layers,o=a.length;for(r=0;r<o;r+=1)for(t=0;t<n;){if(i[t].id===a[r].id){i[t]=a[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,t=0;t<n;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,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(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(e,t){var r="number"==typeof e?e:void 0,i="number"==typeof t?t:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if((t=this.markers[r]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var i=Number(e);if(isNaN(i)){var n=this.getMarkerData(e);n&&this.goToAndStop(n.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!r||this.name===r){var i=Number(e);if(isNaN(i)){var n=this.getMarkerData(e);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(i,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=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)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,i=e.length;for(r=0;r<i;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!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.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(e){this.loop=e},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,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(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var animationManager=function(){var e={},t=[],r=0,i=0,n=0,a=!0,o=!1;function s(e){for(var r=0,n=e.target;r<i;)t[r].animation===n&&(t.splice(r,1),r-=1,i-=1,n.isPaused||p()),r+=1}function l(e,r){if(!e)return null;for(var n=0;n<i;){if(t[n].elem===e&&null!==t[n].elem)return t[n].animation;n+=1}var a=new AnimationItem;return c(a,e),a.setData(e,r),a}function d(){n+=1,m()}function p(){n-=1}function c(e,r){e.addEventListener("destroy",s),e.addEventListener("_active",d),e.addEventListener("_idle",p),t.push({elem:r,animation:e}),i+=1}function u(e){var s,l=e-r;for(s=0;s<i;s+=1)t[s].animation.advanceTime(l);r=e,n&&!o?window.requestAnimationFrame(u):a=!0}function h(e){r=e,window.requestAnimationFrame(u)}function m(){!o&&n&&a&&(window.requestAnimationFrame(h),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return c(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var n;for(n=0;n<i;n+=1)t[n].animation.setSpeed(e,r)},e.setDirection=function(e,r){var n;for(n=0;n<i;n+=1)t[n].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var i,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=n.length;for(i=0;i<a;i+=1)r&&n[i].setAttribute("data-bm-type",r),l(n[i],e);if(t&&0===a){r||(r="svg");var o=document.getElementsByTagName("body")[0];o.innerText="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",r),o.appendChild(s),l(s,e)}},e.resize=function(){var e;for(e=0;e<i;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,n){var a;for(a=0;a<i;a+=1)t[a].animation.goToAndStop(e,r,n)},e.destroy=function(e){var r;for(r=i-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){o=!0},e.unfreeze=function(){o=!1,m()},e.setVolume=function(e,r){var n;for(n=0;n<i;n+=1)t[n].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<i;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i.push(t[e].animation);return i},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,i,n,a){var o=a||("bez_"+e+"_"+r+"_"+i+"_"+n).replace(/\./g,"p");if(t[o])return t[o];var s=new p([e,r,i,n]);return t[o]=s,s}},t={},r=11,i=1/(r-1),n="function"==typeof Float32Array;function a(e,t){return 1-3*t+3*e}function o(e,t){return 3*t-6*e}function s(e){return 3*e}function l(e,t,r){return((a(t,r)*e+o(t,r))*e+s(t))*e}function d(e,t,r){return 3*a(t,r)*e*e+2*o(t,r)*e+s(t)}function p(e){this._p=e,this._mSampleValues=n?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return p.prototype={get:function(e){var t=this._p[0],r=this._p[1],i=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),t===r&&i===n?e:0===e?0:1===e?1:l(this._getTForX(e),r,n)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,e===t&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],n=0;n<r;++n)this._mSampleValues[n]=l(n*i,e,t)},_getTForX:function(e){for(var t=this._p[0],n=this._p[2],a=this._mSampleValues,o=0,s=1,p=r-1;s!==p&&a[s]<=e;++s)o+=i;var c=o+(e-a[--s])/(a[s+1]-a[s])*i,u=d(c,t,n);return u>=.001?function(e,t,r,i){for(var n=0;n<4;++n){var a=d(t,r,i);if(0===a)return t;t-=(l(t,r,i)-e)/a}return t}(e,c,t,n):0===u?c:function(e,t,r,i,n){var a,o,s=0;do{(a=l(o=t+(r-t)/2,i,n)-e)>0?r=o:t=o}while(Math.abs(a)>1e-7&&++s<10);return o}(e,o,o+i,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var i=0,n=e,a=createSizedArray(n);return{newElement:function(){return i?a[i-=1]:t()},release:function(e){i===n&&(a=pooling.double(a),n*=2),r&&r(e),a[i]=e,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(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0}));function bezFunction(){var e=Math;function t(e,t,r,i,n,a){var o=e*i+t*n+r*a-n*i-a*e-r*t;return o>-.001&&o<.001}var r=function(e,t,r,i){var n,a,o,s,l,d,p=getDefaultCurveSegments(),c=0,u=[],h=[],m=bezierLengthPool.newElement();for(o=r.length,n=0;n<p;n+=1){for(l=n/(p-1),d=0,a=0;a<o;a+=1)s=bmPow(1-l,3)*e[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*i[a]+bmPow(l,3)*t[a],u[a]=s,null!==h[a]&&(d+=bmPow(u[a]-h[a],2)),h[a]=u[a];d&&(c+=d=bmSqrt(d)),m.percents[n]=l,m.lengths[n]=c}return m.addedLength=c,m};function i(e){this.segmentLength=0,this.points=new Array(e)}function n(e,t){this.partialLength=e,this.point=t}var a,o=(a={},function(e,r,o,s){var l=(e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+o[0]+"_"+o[1]+"_"+s[0]+"_"+s[1]).replace(/\./g,"p");if(!a[l]){var d,p,c,u,h,m,f,y=getDefaultCurveSegments(),g=0,x=null;2===e.length&&(e[0]!==r[0]||e[1]!==r[1])&&t(e[0],e[1],r[0],r[1],e[0]+o[0],e[1]+o[1])&&t(e[0],e[1],r[0],r[1],r[0]+s[0],r[1]+s[1])&&(y=2);var _=new i(y);for(c=o.length,d=0;d<y;d+=1){for(f=createSizedArray(c),h=d/(y-1),m=0,p=0;p<c;p+=1)u=bmPow(1-h,3)*e[p]+3*bmPow(1-h,2)*h*(e[p]+o[p])+3*(1-h)*bmPow(h,2)*(r[p]+s[p])+bmPow(h,3)*r[p],f[p]=u,null!==x&&(m+=bmPow(f[p]-x[p],2));g+=m=bmSqrt(m),_.points[d]=new n(m,f),x=f}_.segmentLength=g,a[l]=_}return a[l]});function s(e,t){var r=t.percents,i=t.lengths,n=r.length,a=bmFloor((n-1)*e),o=e*t.addedLength,s=0;if(a===n-1||0===a||o===i[a])return r[a];for(var l=i[a]>o?-1:1,d=!0;d;)if(i[a]<=o&&i[a+1]>o?(s=(o-i[a])/(i[a+1]-i[a]),d=!1):a+=l,a<0||a>=n-1){if(a===n-1)return r[a];d=!1}return r[a]+(r[a+1]-r[a])*s}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,i=segmentsLengthPool.newElement(),n=e.c,a=e.v,o=e.o,s=e.i,l=e._length,d=i.lengths,p=0;for(t=0;t<l-1;t+=1)d[t]=r(a[t],a[t+1],o[t],s[t+1]),p+=d[t].addedLength;return n&&l&&(d[t]=r(a[t],a[0],o[t],s[0]),p+=d[t].addedLength),i.totalLength=p,i},getNewSegment:function(t,r,i,n,a,o,d){a<0?a=0:a>1&&(a=1);var p,c=s(a,d),u=s(o=o>1?1:o,d),h=t.length,m=1-c,f=1-u,y=m*m*m,g=c*m*m*3,x=c*c*m*3,_=c*c*c,b=m*m*f,v=c*m*f+m*c*f+m*m*u,S=c*c*f+m*c*u+c*m*u,C=c*c*u,$=m*f*f,w=c*f*f+m*u*f+m*f*u,T=c*u*f+m*u*u+c*f*u,R=c*u*u,k=f*f*f,E=u*f*f+f*u*f+f*f*u,A=u*u*f+f*u*u+u*f*u,D=u*u*u;for(p=0;p<h;p+=1)l[4*p]=e.round(1e3*(y*t[p]+g*i[p]+x*n[p]+_*r[p]))/1e3,l[4*p+1]=e.round(1e3*(b*t[p]+v*i[p]+S*n[p]+C*r[p]))/1e3,l[4*p+2]=e.round(1e3*($*t[p]+w*i[p]+T*n[p]+R*r[p]))/1e3,l[4*p+3]=e.round(1e3*(k*t[p]+E*i[p]+A*n[p]+D*r[p]))/1e3;return l},getPointInSegment:function(t,r,i,n,a,o){var l=s(a,o),d=1-l;return[e.round(1e3*(d*d*d*t[0]+(l*d*d+d*l*d+d*d*l)*i[0]+(l*l*d+d*l*l+l*d*l)*n[0]+l*l*l*r[0]))/1e3,e.round(1e3*(d*d*d*t[1]+(l*d*d+d*l*d+d*d*l)*i[1]+(l*l*d+d*l*l+l*d*l)*n[1]+l*l*l*r[1]))/1e3]},buildBezierData:o,pointOnLine2D:t,pointOnLine3D:function(r,i,n,a,o,s,l,d,p){if(0===n&&0===s&&0===p)return t(r,i,a,o,l,d);var c,u=e.sqrt(e.pow(a-r,2)+e.pow(o-i,2)+e.pow(s-n,2)),h=e.sqrt(e.pow(l-r,2)+e.pow(d-i,2)+e.pow(p-n,2)),m=e.sqrt(e.pow(l-a,2)+e.pow(d-o,2)+e.pow(p-s,2));return(c=u>h?u>m?u-h-m:m-h-u:m>h?m-h-u:h-u-m)>-1e-4&&c<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var n,a,o,s,l,d,p,c,u,h=t.lastIndex,m=h,f=this.keyframes.length-1,y=!0;y;){if(n=this.keyframes[m],a=this.keyframes[m+1],m===f-1&&e>=a.t-i){n.h&&(n=a),h=0;break}if(a.t-i>e){h=m;break}m<f-1?m+=1:(h=0,y=!1)}o=this.keyframesMetadata[m]||{};var g,x=a.t-i,_=n.t-i;if(n.to){o.bezierData||(o.bezierData=bez.buildBezierData(n.s,a.s||n.e,n.to,n.ti));var b=o.bezierData;if(e>=x||e<_){var v=e>=x?b.points.length-1:0;for(l=b.points[v].point.length,s=0;s<l;s+=1)r[s]=b.points[v].point[s]}else{o.__fnct?u=o.__fnct:(u=BezierFactory.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y,n.n).get,o.__fnct=u),d=u((e-_)/(x-_));var S,C=b.segmentLength*d,$=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastAddedLength:0;for(c=t.lastFrame<e&&t._lastKeyframeIndex===m?t._lastPoint:0,y=!0,p=b.points.length;y;){if($+=b.points[c].partialLength,0===C||0===d||c===b.points.length-1){for(l=b.points[c].point.length,s=0;s<l;s+=1)r[s]=b.points[c].point[s];break}if(C>=$&&C<$+b.points[c+1].partialLength){for(S=(C-$)/b.points[c+1].partialLength,l=b.points[c].point.length,s=0;s<l;s+=1)r[s]=b.points[c].point[s]+(b.points[c+1].point[s]-b.points[c].point[s])*S;break}c<p-1?c+=1:y=!1}t._lastPoint=c,t._lastAddedLength=$-b.points[c].partialLength,t._lastKeyframeIndex=m}}else{var w,T,R,k,E;if(f=n.s.length,g=a.s||n.e,this.sh&&1!==n.h)e>=x?(r[0]=g[0],r[1]=g[1],r[2]=g[2]):e<=_?(r[0]=n.s[0],r[1]=n.s[1],r[2]=n.s[2]):quaternionToEuler(r,slerp(createQuaternion(n.s),createQuaternion(g),(e-_)/(x-_)));else for(m=0;m<f;m+=1)1!==n.h&&(e>=x?d=1:e<_?d=0:(n.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?u=o.__fnct[m]:(w=void 0===n.o.x[m]?n.o.x[0]:n.o.x[m],T=void 0===n.o.y[m]?n.o.y[0]:n.o.y[m],R=void 0===n.i.x[m]?n.i.x[0]:n.i.x[m],k=void 0===n.i.y[m]?n.i.y[0]:n.i.y[m],u=BezierFactory.getBezierEasing(w,T,R,k).get,o.__fnct[m]=u)):o.__fnct?u=o.__fnct:(w=n.o.x,T=n.o.y,R=n.i.x,k=n.i.y,u=BezierFactory.getBezierEasing(w,T,R,k).get,n.keyframeMetadata=u),d=u((e-_)/(x-_)))),g=a.s||n.e,E=1===n.h?n.s[m]:n.s[m]+(g[m]-n.s[m])*d,"multidimensional"===this.propType?r[m]=E:r=E}return t.lastIndex=h,r}function slerp(e,t,r){var i,n,a,o,s,l=[],d=e[0],p=e[1],c=e[2],u=e[3],h=t[0],m=t[1],f=t[2],y=t[3];return(n=d*h+p*m+c*f+u*y)<0&&(n=-n,h=-h,m=-m,f=-f,y=-y),1-n>1e-6?(i=Math.acos(n),a=Math.sin(i),o=Math.sin((1-r)*i)/a,s=Math.sin(r*i)/a):(o=1-r,s=r),l[0]=o*d+s*h,l[1]=o*p+s*m,l[2]=o*c+s*f,l[3]=o*u+s*y,l}function quaternionToEuler(e,t){var r=t[0],i=t[1],n=t[2],a=t[3],o=Math.atan2(2*i*a-2*r*n,1-2*i*i-2*n*n),s=Math.asin(2*r*i+2*n*a),l=Math.atan2(2*r*a-2*i*n,1-2*r*r-2*n*n);e[0]=o/degToRads,e[1]=s/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,i=e[2]*degToRads,n=Math.cos(t/2),a=Math.cos(r/2),o=Math.cos(i/2),s=Math.sin(t/2),l=Math.sin(r/2),d=Math.sin(i/2);return[s*l*o+n*a*d,s*a*o+n*l*d,n*l*o-s*a*d,n*a*o-s*l*d]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame<t&&e<t))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)t=e[r]*this.mult,mathAbs(this.v[r]-t)>1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ValueProperty(e,t,r,i){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(e,t,r,i){var n;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=i,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a=t.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),n=0;n<a;n+=1)this.v[n]=t.k[n]*this.mult,this.pv[n]=t.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,i){this.propType="unidimensional",this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=t,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(e,t,r,i){var n;this.propType="multidimensional";var a,o,s,l,d=t.k.length;for(n=0;n<d-1;n+=1)t.k[n].to&&t.k[n].s&&t.k[n+1]&&t.k[n+1].s&&(a=t.k[n].s,o=t.k[n+1].s,s=t.k[n].to,l=t.k[n].ti,(2===a.length&&(a[0]!==o[0]||a[1]!==o[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],a[0]+s[0],a[1]+s[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],o[0]+l[0],o[1]+l[1])||3===a.length&&(a[0]!==o[0]||a[1]!==o[1]||a[2]!==o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],a[0]+s[0],a[1]+s[1],a[2]+s[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],o[0]+l[0],o[1]+l[1],o[2]+l[2]))&&(t.k[n].to=null,t.k[n].ti=null),a[0]===o[0]&&a[1]===o[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===a.length||a[2]===o[2]&&0===s[2]&&0===l[2])&&(t.k[n].to=null,t.k[n].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=t,this.keyframes=t.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=e,this.container=i,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var p=t.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),n=0;n<p;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=addEffect}var PropertyFactory=(ob={getProp:function(e,t,r,i,n){var a;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if("number"==typeof t.k[0])a=new MultiDimensionalProperty(e,t,i,n);else switch(r){case 0:a=new KeyframedValueProperty(e,t,i,n);break;case 1:a=new KeyframedMultidimensionalProperty(e,t,i,n)}else a=new ValueProperty(e,t,i,n);return a.effectsSequence.length&&n.addDynamicProperty(a),a}},ob),ob;function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,i,n){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!n)&&(a[i]=pointPool.newElement()),a[i][0]=e,a[i][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,i,n,a,o,s){this.setXYAt(e,t,"v",o,s),this.setXYAt(r,i,"o",o,s),this.setXYAt(n,a,"i",o,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,i=this.i,n=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a,o=this._length-1,s=this._length;for(a=n;a<s;a+=1)e.setTripleAt(t[o][0],t[o][1],i[o][0],i[o][1],r[o][0],r[o][1],a,!1),o-=1;return e},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1})),factory.clone=function(e){var t,r=factory.newElement(),i=void 0===e._length?e.v.length:e._length;for(r.setLength(i),r.c=e.c,t=0;t<i;t+=1)r.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};var shapeCollectionPool=function(){var e={newShapeCollection:function(){return t?i[t-=1]:new ShapeCollection},release:function(e){var n,a=e._length;for(n=0;n<a;n+=1)shapePool.release(e.shapes[n]);e._length=0,t===r&&(i=pooling.double(i),r*=2),i[t]=e,t+=1}},t=0,r=4,i=createSizedArray(r);return e}(),ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var i,n,a,o,s,l,d,p,c,u=r.lastIndex,h=this.keyframes;if(e<h[0].t-this.offsetTime)i=h[0].s[0],a=!0,u=0;else if(e>=h[h.length-1].t-this.offsetTime)i=h[h.length-1].s?h[h.length-1].s[0]:h[h.length-2].e[0],a=!0;else{for(var m,f,y,g=u,x=h.length-1,_=!0;_&&(m=h[g],!((f=h[g+1]).t-this.offsetTime>e));)g<x-1?g+=1:_=!1;if(y=this.keyframesMetadata[g]||{},u=g,!(a=1===m.h)){if(e>=f.t-this.offsetTime)p=1;else if(e<m.t-this.offsetTime)p=0;else{var b;y.__fnct?b=y.__fnct:(b=BezierFactory.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,y.__fnct=b),p=b((e-(m.t-this.offsetTime))/(f.t-this.offsetTime-(m.t-this.offsetTime)))}n=f.s?f.s[0]:m.e[0]}i=m.s[0]}for(l=t._length,d=i.i[0].length,r.lastIndex=u,o=0;o<l;o+=1)for(s=0;s<d;s+=1)c=a?i.i[o][s]:i.i[o][s]+(n.i[o][s]-i.i[o][s])*p,t.i[o][s]=c,c=a?i.o[o][s]:i.o[o][s]+(n.o[o][s]-i.o[o][s])*p,t.o[o][s]=c,c=a?i.v[o][s]:i.v[o][s]+(n.v[o][s]-i.v[o][s])*p,t.v[o][s]=c}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==e&&(n<r&&t<r||n>i&&t>i)||(this._caching.lastIndex=n<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function i(){this.paths=this.localShapeCollection}function n(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,i=e._length;for(r=0;r<i;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),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)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function o(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var n=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,n,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?n.pt.k:n.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var o=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,o),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=i,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}o.prototype.interpolateShape=t,o.prototype.getValue=a,o.prototype.setVValue=n,o.prototype.addEffect=s,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=n,l.prototype.addEffect=s;var d=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:i,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],r=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,a=3!==this.d,o=this.v;o.v[0][0]=t,o.v[0][1]=r-n,o.v[1][0]=a?t+i:t-i,o.v[1][1]=r,o.v[2][0]=t,o.v[2][1]=r+n,o.v[3][0]=a?t-i:t+i,o.v[3][1]=r,o.i[0][0]=a?t-i*e:t+i*e,o.i[0][1]=r-n,o.i[1][0]=a?t+i:t-i,o.i[1][1]=r-n*e,o.i[2][0]=a?t+i*e:t-i*e,o.i[2][1]=r+n,o.i[3][0]=a?t-i:t+i,o.i[3][1]=r+n*e,o.o[0][0]=a?t+i*e:t-i*e,o.o[0][1]=r-n,o.o[1][0]=a?t+i:t-i,o.o[1][1]=r+n*e,o.o[2][0]=a?t-i*e:t+i*e,o.o[2][1]=r+n,o.o[3][0]=a?t-i:t+i,o.o[3][1]=r-n*e}},extendPrototype([DynamicPropertyContainer],t),t}(),p=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,i,n=2*Math.floor(this.pt.v),a=2*Math.PI/n,o=!0,s=this.or.v,l=this.ir.v,d=this.os.v,p=this.is.v,c=2*Math.PI*s/(2*n),u=2*Math.PI*l/(2*n),h=-Math.PI/2;h+=this.r.v;var m=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<n;e+=1){r=o?d:p,i=o?c:u;var f=(t=o?s:l)*Math.cos(h),y=t*Math.sin(h),g=0===f&&0===y?0:y/Math.sqrt(f*f+y*y),x=0===f&&0===y?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-g*i*r*m,y-x*i*r*m,f+g*i*r*m,y+x*i*r*m,e,!0),o=!o,h+=a*m}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,i=this.or.v,n=this.os.v,a=2*Math.PI*i/(4*t),o=.5*-Math.PI,s=3===this.data.d?-1:1;for(o+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=i*Math.cos(o),d=i*Math.sin(o),p=0===l&&0===d?0:d/Math.sqrt(l*l+d*d),c=0===l&&0===d?0:-l/Math.sqrt(l*l+d*d);l+=+this.p.v[0],d+=+this.p.v[1],this.v.setTripleAt(l,d,l-p*a*n*s,d-c*a*n*s,l+p*a*n*s,d+c*a*n*s,e,!0),o+=r*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),c=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,n=bmMin(r,i,this.r.v),a=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-i+n,e+r,t-i+n,e+r,t-i+a,0,!0),this.v.setTripleAt(e+r,t+i-n,e+r,t+i-a,e+r,t+i-n,1,!0),0!==n?(this.v.setTripleAt(e+r-n,t+i,e+r-n,t+i,e+r-a,t+i,2,!0),this.v.setTripleAt(e-r+n,t+i,e-r+a,t+i,e-r+n,t+i,3,!0),this.v.setTripleAt(e-r,t+i-n,e-r,t+i-n,e-r,t+i-a,4,!0),this.v.setTripleAt(e-r,t-i+n,e-r,t-i+a,e-r,t-i+n,5,!0),this.v.setTripleAt(e-r+n,t-i,e-r+n,t-i,e-r+a,t-i,6,!0),this.v.setTripleAt(e+r-n,t-i,e+r-a,t-i,e+r-n,t-i,7,!0)):(this.v.setTripleAt(e-r,t+i,e-r+a,t+i,e-r,t+i,2),this.v.setTripleAt(e-r,t-i,e-r,t-i+a,e-r,t-i,3))):(this.v.setTripleAt(e+r,t-i+n,e+r,t-i+a,e+r,t-i+n,0,!0),0!==n?(this.v.setTripleAt(e+r-n,t-i,e+r-n,t-i,e+r-a,t-i,1,!0),this.v.setTripleAt(e-r+n,t-i,e-r+a,t-i,e-r+n,t-i,2,!0),this.v.setTripleAt(e-r,t-i+n,e-r,t-i+n,e-r,t-i+a,3,!0),this.v.setTripleAt(e-r,t+i-n,e-r,t+i-a,e-r,t+i-n,4,!0),this.v.setTripleAt(e-r+n,t+i,e-r+n,t+i,e-r+a,t+i,5,!0),this.v.setTripleAt(e+r-n,t+i,e+r-a,t+i,e+r-n,t+i,6,!0),this.v.setTripleAt(e+r,t+i-n,e+r,t+i-n,e+r,t+i-a,7,!0)):(this.v.setTripleAt(e-r,t-i,e-r+a,t-i,e-r,t-i,1,!0),this.v.setTripleAt(e-r,t+i,e-r,t+i-a,e-r,t+i,2,!0),this.v.setTripleAt(e+r,t+i,e+r-a,t+i,e+r,t+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],e),e}(),u={getShapeProp:function(e,t,r){var i;return 3===r||4===r?i=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new o(e,t,r):5===r?i=new c(e,t):6===r?i=new d(e,t):7===r&&(i=new p(e,t)),i.k&&e.addDynamicProperty(i),i},getConstructorFunction:function(){return o},getKeyframedConstructorFunction:function(){return l}};return u}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function o(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1)}function s(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1)}function l(r){if(0===r)return this;var i=e(r),n=t(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function d(e,t){return this._t(1,t,e,1,0,0)}function p(e,t){return this.shear(r(e),r(t))}function c(i,n){var a=e(n),o=t(n);return this._t(a,o,0,0,-o,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(a,-o,0,0,o,a,0,0,0,0,1,0,0,0,0,1)}function u(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function h(e,t,r,i,n,a,o,s,l,d,p,c,u,h,m,f){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=i,this.props[4]=n,this.props[5]=a,this.props[6]=o,this.props[7]=s,this.props[8]=l,this.props[9]=d,this.props[10]=p,this.props[11]=c,this.props[12]=u,this.props[13]=h,this.props[14]=m,this.props[15]=f,this}function m(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function f(e,t,r,i,n,a,o,s,l,d,p,c,u,h,m,f){var y=this.props;if(1===e&&0===t&&0===r&&0===i&&0===n&&1===a&&0===o&&0===s&&0===l&&0===d&&1===p&&0===c)return y[12]=y[12]*e+y[15]*u,y[13]=y[13]*a+y[15]*h,y[14]=y[14]*p+y[15]*m,y[15]*=f,this._identityCalculated=!1,this;var g=y[0],x=y[1],_=y[2],b=y[3],v=y[4],S=y[5],C=y[6],$=y[7],w=y[8],T=y[9],R=y[10],k=y[11],E=y[12],A=y[13],D=y[14],j=y[15];return y[0]=g*e+x*n+_*l+b*u,y[1]=g*t+x*a+_*d+b*h,y[2]=g*r+x*o+_*p+b*m,y[3]=g*i+x*s+_*c+b*f,y[4]=v*e+S*n+C*l+$*u,y[5]=v*t+S*a+C*d+$*h,y[6]=v*r+S*o+C*p+$*m,y[7]=v*i+S*s+C*c+$*f,y[8]=w*e+T*n+R*l+k*u,y[9]=w*t+T*a+R*d+k*h,y[10]=w*r+T*o+R*p+k*m,y[11]=w*i+T*s+R*c+k*f,y[12]=E*e+A*n+D*l+j*u,y[13]=E*t+A*a+D*d+j*h,y[14]=E*r+A*o+D*p+j*m,y[15]=E*i+A*s+D*c+j*f,this._identityCalculated=!1,this}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 g(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function x(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function _(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function b(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function v(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function S(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function C(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function $(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,i=-this.props[4]/e,n=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,o=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=r,s.props[4]=i,s.props[5]=n,s.props[12]=a,s.props[13]=o,s}function w(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function T(e){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i[t]=w(e[t]);return i}function R(e,t,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=e[0],i[1]=e[1],i[2]=t[0],i[3]=t[1],i[4]=r[0],i[5]=r[1];else{var n=this.props[0],a=this.props[1],o=this.props[4],s=this.props[5],l=this.props[12],d=this.props[13];i[0]=e[0]*n+e[1]*o+l,i[1]=e[0]*a+e[1]*s+d,i[2]=t[0]*n+t[1]*o+l,i[3]=t[0]*a+t[1]*s+d,i[4]=r[0]*n+r[1]*o+l,i[5]=r[0]*a+r[1]*s+d}return i}function k(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function E(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function A(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=i(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function D(e){return e<1e-6&&e>0||e>-1e-6&&e<0?i(1e4*e)/1e4:e}function j(){var e=this.props;return"matrix("+D(e[0])+","+D(e[1])+","+D(e[4])+","+D(e[5])+","+D(e[12])+","+D(e[13])+")"}return function(){this.reset=n,this.rotate=a,this.rotateX=o,this.rotateY=s,this.rotateZ=l,this.skew=p,this.skewFromAxis=c,this.shear=d,this.scale=u,this.setTransform=h,this.translate=m,this.transform=f,this.applyToPoint=b,this.applyToX=v,this.applyToY=S,this.applyToZ=C,this.applyToPointArray=k,this.applyToTriplePoints=R,this.applyToPointStringified=E,this.toCSS=A,this.to2dCSS=j,this.clone=x,this.cloneFromProps=_,this.equals=g,this.inversePoints=T,this.inversePoint=w,this.getInverseMatrix=$,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={};function setLocation(e){setLocationHref(e)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){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(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var i=t[r].split("=");if(decodeURIComponent(i[0])==e)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.11.0";var queryString="",scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer");var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,i){return new t[e](r,i)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,i,n){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o,s,l=[],d=a.length;for(o=0;o<d;o+=1){var p,c;(s=a[o]).e*n<i||s.s*n>i+r||(p=s.s*n<=i?0:(s.s*n-i)/r,c=s.e*n>=i+r?1:(s.e*n-i)/r,l.push([p,c]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,i,n;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),(t=this.s.v>1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var o=t;t=r,r=o}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var s,l,d,p,c,u=this.shapes.length,h=0;if(r===t)for(n=0;n<u;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(n=0;n<u;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var m,f,y=[];for(n=0;n<u;n+=1)if((m=this.shapes[n]).shape._mdf||this._mdf||e||2===this.m){if(l=(i=m.shape.paths)._length,c=0,!m.shape._mdf&&m.pathsData.length)c=m.totalShapeLength;else{for(d=this.releasePathsData(m.pathsData),s=0;s<l;s+=1)p=bez.getSegmentsLength(i.shapes[s]),d.push(p),c+=p.totalLength;m.totalShapeLength=c,m.pathsData=d}h+=c,m.shape._mdf=!0}else m.shape.paths=m.localShapeCollection;var g,x=t,_=r,b=0;for(n=u-1;n>=0;n-=1)if((m=this.shapes[n]).shape._mdf){for((f=m.localShapeCollection).releaseShapes(),2===this.m&&u>1?(g=this.calculateShapeEdges(t,r,m.totalShapeLength,b,h),b+=m.totalShapeLength):g=[[x,_]],l=g.length,s=0;s<l;s+=1){x=g[s][0],_=g[s][1],y.length=0,_<=1?y.push({s:m.totalShapeLength*x,e:m.totalShapeLength*_}):x>=1?y.push({s:m.totalShapeLength*(x-1),e:m.totalShapeLength*(_-1)}):(y.push({s:m.totalShapeLength*x,e:m.totalShapeLength}),y.push({s:0,e:m.totalShapeLength*(_-1)}));var v=this.addShapes(m,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(m.shape.paths.shapes[m.shape.paths._length-1].c){var S=v.pop();this.addPaths(v,f),v=this.addShapes(m,y[1],S)}else this.addPaths(v,f),v=this.addShapes(m,y[1]);this.addPaths(v,f)}}m.shape.paths=f}}},TrimModifier.prototype.addPaths=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,i,n,a,o){n.setXYAt(t[0],t[1],"o",a),n.setXYAt(r[0],r[1],"i",a+1),o&&n.setXYAt(e[0],e[1],"v",a),n.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,i){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),i&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var i,n,a,o,s,l,d,p,c=e.pathsData,u=e.shape.paths.shapes,h=e.shape.paths._length,m=0,f=[],y=!0;for(r?(s=r._length,p=r._length):(r=shapePool.newElement(),s=0,p=0),f.push(r),i=0;i<h;i+=1){for(l=c[i].lengths,r.c=u[i].c,a=u[i].c?l.length:l.length+1,n=1;n<a;n+=1)if(m+(o=l[n-1]).addedLength<t.s)m+=o.addedLength,r.c=!1;else{if(m>t.e){r.c=!1;break}t.s<=m&&t.e>=m+o.addedLength?(this.addSegment(u[i].v[n-1],u[i].o[n-1],u[i].i[n],u[i].v[n],r,s,y),y=!1):(d=bez.getNewSegment(u[i].v[n-1],u[i].v[n],u[i].o[n-1],u[i].i[n],(t.s-m)/o.addedLength,(t.e-m)/o.addedLength,l[n-1]),this.addSegmentFromArray(d,r,s,y),y=!1,r.c=!1),m+=o.addedLength,s+=1}if(u[i].c&&l.length){if(o=l[n-1],m<=t.e){var g=l[n-1].addedLength;t.s<=m&&t.e>=m+g?(this.addSegment(u[i].v[n-1],u[i].o[n-1],u[i].i[0],u[i].v[0],r,s,y),y=!1):(d=bez.getNewSegment(u[i].v[n-1],u[i].v[0],u[i].o[n-1],u[i].i[0],(t.s-m)/g,(t.e-m)/g,l[n-1]),this.addSegmentFromArray(d,r,s,y),y=!1,r.c=!1)}else r.c=!1;m+=o.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),m>t.e)break;i<h-1&&(r=shapePool.newElement(),y=!0,f.push(r),s=0)}return f},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,i=[0,0],n=e._length,a=0;for(a=0;a<n;a+=1)i[0]+=e.v[a][0],i[1]+=e.v[a][1];i[0]/=n,i[1]/=n;var o,s,l,d,p,c,u=shapePool.newElement();for(u.c=e.c,a=0;a<n;a+=1)o=e.v[a][0]+(i[0]-e.v[a][0])*r,s=e.v[a][1]+(i[1]-e.v[a][1])*r,l=e.o[a][0]+(i[0]-e.o[a][0])*-r,d=e.o[a][1]+(i[1]-e.o[a][1])*-r,p=e.i[a][0]+(i[0]-e.i[a][0])*-r,c=e.i[a][1]+(i[1]-e.i[a][1])*-r,u.setTripleAt(o,s,l,d,p,c,a);return u},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var i,n=t.or.k.length;for(i=0;i<n;i+=1)t.or.k[i].to=null,t.or.k[i].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.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?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,n;if(r=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)/r,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/r,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/r,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],n=[];var a=this.px,o=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),n[0]=a.getValueAtTime(a.keyframes[0].t/r,0),n[1]=o.getValueAtTime(o.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),n[1]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,o.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),n[1]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime))}else i=n=e;this.v.rotate(-Math.atan2(i[1]-n[1],i[0]-n[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.a.k&&(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(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,i){return new t(e,r,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,r){return e*(1-r)+t*r}function lerpPoint(e,t,r){return[lerp(e[0],t[0],r),lerp(e[1],t[1],r)]}function quadRoots(e,t,r){if(0===e)return[];var i=t*t-4*e*r;if(i<0)return[];var n=-t/(2*e);if(0===i)return[n];var a=Math.sqrt(i)/(2*e);return[n-a,n+a]}function polynomialCoefficients(e,t,r,i){return[3*t-e-3*r+i,3*e-6*t+3*r,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,r,i,n){n&&pointEqual(e,t)&&(t=lerpPoint(e,i,1/3)),n&&pointEqual(r,i)&&(r=lerpPoint(e,i,2/3));var a=polynomialCoefficients(e[0],t[0],r[0],i[0]),o=polynomialCoefficients(e[1],t[1],r[1],i[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[3]],this.points=[e,t,r,i]}function extrema(e,t){var r=e.points[0][t],i=e.points[e.points.length-1][t];if(r>i){var n=i;i=r,r=n}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var s=e.point(a[o])[t];s<r?r=s:s>i&&(i=s)}return{min:r,max:i}}function intersectData(e,t,r){var i=e.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)<e.width+t.width&&2*Math.abs(e.cy-t.cy)<e.height+t.height}function intersectsImpl(e,t,r,i,n,a){if(boxIntersect(e,t))if(r>=a||e.width<=i&&e.height<=i&&t.width<=i&&t.height<=i)n.push([e.t,t.t]);else{var o=splitData(e),s=splitData(t);intersectsImpl(o[0],s[0],r+1,i,n,a),intersectsImpl(o[0],s[1],r+1,i,n,a),intersectsImpl(o[1],s[0],r+1,i,n,a),intersectsImpl(o[1],s[1],r+1,i,n,a)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,i){var n=[e[0],e[1],1],a=[t[0],t[1],1],o=[r[0],r[1],1],s=[i[0],i[1],1],l=crossProduct(crossProduct(n,a),crossProduct(o,s));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,r,i,n,a,o){var s=r-Math.PI/2,l=r+Math.PI/2,d=t[0]+Math.cos(r)*i*n,p=t[1]-Math.sin(r)*i*n;e.setTripleAt(d,p,d+Math.cos(s)*a,p-Math.sin(s)*a,d+Math.cos(l)*o,p-Math.sin(l)*o,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],i=.5*-Math.PI;return[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]]}function getProjectingAngle(e,t){var r=0===t?e.length()-1:t-1,i=(t+1)%e.length(),n=getPerpendicularVector(e.v[r],e.v[i]);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(e,t,r,i,n,a,o){var s=getProjectingAngle(t,r),l=t.v[r%t._length],d=t.v[0===r?t._length-1:r-1],p=t.v[(r+1)%t._length],c=2===a?Math.sqrt(Math.pow(l[0]-d[0],2)+Math.pow(l[1]-d[1],2)):0,u=2===a?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0;setPoint(e,t.v[r%t._length],s,o,i,u/(2*(n+1)),c/(2*(n+1)))}function zigZagSegment(e,t,r,i,n,a){for(var o=0;o<i;o+=1){var s=(o+1)/(i+1),l=2===n?Math.sqrt(Math.pow(t.points[3][0]-t.points[0][0],2)+Math.pow(t.points[3][1]-t.points[0][1],2)):0,d=t.normalAngle(s);setPoint(e,t.point(s),d,a,r,l/(2*(i+1)),l/(2*(i+1))),a=-a}return a}function linearOffset(e,t,r){var i=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,i,r),polarOffset(t,i,r)]}function offsetSegment(e,t){var r,i,n,a,o,s,l;r=(l=linearOffset(e.points[0],e.points[1],t))[0],i=l[1],n=(l=linearOffset(e.points[1],e.points[2],t))[0],a=l[1],o=(l=linearOffset(e.points[2],e.points[3],t))[0],s=l[1];var d=lineIntersection(r,i,n,a);null===d&&(d=i);var p=lineIntersection(o,s,n,a);return null===p&&(p=o),new PolynomialBezier(r,d,p,s)}function joinLines(e,t,r,i,n){var a=t.points[3],o=r.points[0];if(3===i)return a;if(pointEqual(a,o))return a;if(2===i){var s=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,d=lineIntersection(a,polarOffset(a,s+Math.PI/2,100),o,polarOffset(o,s+Math.PI/2,100)),p=d?pointDistance(d,a):pointDistance(a,o)/2,c=polarOffset(a,s,2*p*roundCorner);return e.setXYAt(c[0],c[1],"o",e.length()-1),c=polarOffset(o,l,2*p*roundCorner),e.setTripleAt(o[0],o[1],o[0],o[1],c[0],c[1],e.length()),o}var u=lineIntersection(pointEqual(a,t.points[2])?t.points[0]:t.points[2],a,o,pointEqual(o,r.points[1])?r.points[3]:r.points[1]);return u&&pointDistance(u,a)<n?(e.setTripleAt(u[0],u[1],u[0],u[1],u[0],u[1],e.length()),u):a}function getIntersection(e,t){var r=e.intersections(t);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(e,t){var r=e.slice(),i=t.slice(),n=getIntersection(e[e.length-1],t[0]);return n&&(r[e.length-1]=e[e.length-1].split(n[0])[0],i[0]=t[0].split(n[1])[1]),e.length>1&&t.length>1&&(n=getIntersection(e[0],t[t.length-1]))?[[e[0].split(n[0])[0]],[t[t.length-1].split(n[1])[1]]]:[r,i]}function pruneIntersections(e){for(var t,r=1;r<e.length;r+=1)t=pruneSegmentIntersection(e[r-1],e[r]),e[r-1]=t[0],e[r]=t[1];return e.length>1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r,i,n,a,o=e.inflectionPoints();if(0===o.length)return[offsetSegment(e,t)];if(1===o.length||floatEqual(o[1],1))return r=(n=e.split(o[0]))[0],i=n[1],[offsetSegment(r,t),offsetSegment(i,t)];r=(n=e.split(o[0]))[0];var s=(o[1]-o[0])/(1-o[0]);return a=(n=n[1].split(s))[0],i=n[1],[offsetSegment(r,t),offsetSegment(a,t),offsetSegment(i,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",i="normal",n=t.length,a=0;a<n;a+=1)switch(t[a].toLowerCase()){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:i,weight:e.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,i,n,a){var o=a?-1:1,s=i.s.v[0]+(1-i.s.v[0])*(1-n),l=i.s.v[1]+(1-i.s.v[1])*(1-n);e.translate(i.p.v[0]*o*n,i.p.v[1]*o*n,i.p.v[2]),t.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),t.rotate(-i.r.v*o*n),t.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/s:s,a?1/l:l),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,i){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,i,n,a,o=!1;if(this._mdf||e){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var d={it:this.cloneElements(this._elements),ty:"gr"};d.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,d),this._groups.splice(0,0,d),this._currentCopies+=1}this.elem.reloadShapes(),o=!0}for(a=0,i=0;i<=this._groups.length-1;i+=1){if(s=a<l,this._groups[i]._render=s,this.changeGroupRender(this._groups[i].it,s),!s){var p=this.elemsData[i].it,c=p[p.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}a+=1}this._currentCopies=l;var u=this.o.v,h=u%1,m=u>0?Math.floor(u):Math.ceil(u),f=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var x,_,b=0;if(u>0){for(;b<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,h,!1),b+=h)}else if(u<0){for(;b>m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),b-=h)}for(i=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,a=this._currentCopies;a;){if(_=(r=(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!==b){for((0!==i&&1===n||i!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),x=0;x<_;x+=1)r[x]=this.matrix.props[x];this.matrix.reset()}else for(this.matrix.reset(),x=0;x<_;x+=1)r[x]=this.matrix.props[x];b+=1,a-=1,i+=n}}else for(a=this._currentCopies,i=0,n=1;a;)r=(t=this.elemsData[i].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,i+=n;return o},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r,i=shapePool.newElement();i.c=e.c;var n,a,o,s,l,d,p,c,u,h,m,f,y=e._length,g=0;for(r=0;r<y;r+=1)n=e.v[r],o=e.o[r],a=e.i[r],n[0]===o[0]&&n[1]===o[1]&&n[0]===a[0]&&n[1]===a[1]?0!==r&&r!==y-1||e.c?(s=0===r?e.v[y-1]:e.v[r-1],d=(l=Math.sqrt(Math.pow(n[0]-s[0],2)+Math.pow(n[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=m=n[0]+(s[0]-n[0])*d,c=f=n[1]-(n[1]-s[1])*d,u=p-(p-n[0])*roundCorner,h=c-(c-n[1])*roundCorner,i.setTripleAt(p,c,u,h,m,f,g),g+=1,s=r===y-1?e.v[0]:e.v[r+1],d=(l=Math.sqrt(Math.pow(n[0]-s[0],2)+Math.pow(n[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=u=n[0]+(s[0]-n[0])*d,c=h=n[1]+(s[1]-n[1])*d,m=p-(p-n[0])*roundCorner,f=c-(c-n[1])*roundCorner,i.setTripleAt(p,c,u,h,m,f,g),g+=1):(i.setTripleAt(n[0],n[1],o[0],o[1],a[0],a[1],g),g+=1):(i.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],g),g+=1);return i},RoundCornersModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},PolynomialBezier.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(e){var t=this.derivative(e);return Math.atan2(t[1],t[0])},PolynomialBezier.prototype.normalAngle=function(e){var t=this.derivative(e);return Math.atan2(t[0],t[1])},PolynomialBezier.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(e))return[];var t=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,r=t*t-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[t]:[]:[t-i,t+i].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),i=lerpPoint(this.points[2],this.points[3],e),n=lerpPoint(t,r,e),a=lerpPoint(r,i,e),o=lerpPoint(n,a,e);return[new PolynomialBezier(this.points[0],t,n,o,!0),new PolynomialBezier(o,a,i,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,r){void 0===t&&(t=2),void 0===r&&(r=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,i,r),i},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,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(e,t,r,i){var n=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(n-=1),0===n)return a;var o=-1,s=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,r,i,o);for(var l=0;l<n;l+=1)o=zigZagSegment(a,s,t,r,i,-o),s=l!==n-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%n):null,zigZagCorner(a,e,l+1,t,r,i,o);return a},ZigZagModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.amplitude.v,d=Math.max(0,Math.round(this.frequency.v)),p=this.pointsType.v;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l,d,p));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(e,t,r,i){var n=shapePool.newElement();n.c=e.c;var a,o,s,l=e.length();e.c||(l-=1);var d=[];for(a=0;a<l;a+=1)s=PolynomialBezier.shapeSegment(e,a),d.push(offsetSegmentSplit(s,t));if(!e.c)for(a=l-1;a>=0;a-=1)s=PolynomialBezier.shapeSegmentInverted(e,a),d.push(offsetSegmentSplit(s,t));d=pruneIntersections(d);var p=null,c=null;for(a=0;a<d.length;a+=1){var u=d[a];for(c&&(p=joinLines(n,c,u[0],r,i)),c=u[u.length-1],o=0;o<u.length;o+=1)s=u[o],p&&pointEqual(s.points[0],p)?n.setXYAt(s.points[1][0],s.points[1][1],"o",n.length()-1):n.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],n.length()),n.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],n.length()),p=s.points[3]}return d.length&&joinLines(n,c,d[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(e){var t,r,i,n,a,o,s=this.shapes.length,l=this.amount.v,d=this.miterLimit.v,p=this.lineJoin;if(0!==l)for(r=0;r<s;r+=1){if(o=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(o.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)o.addShape(this.processPath(t[i],l,p,d));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],i=[65039,8205];function n(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var n=i.offsetWidth;return i.style.fontFamily=function(e){var t,r=e.split(","),i=r.length,n=[];for(t=0;t<i;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&n.push(r[t]);return n.join(",")}(e)+", "+t,{node:i,w:n,parent:r}}function a(e,t){var r,i=document.body&&t?"svg":"canvas",n=getFontProperties(e);if("svg"===i){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",e.fFamily),a.setAttribute("font-style",n.style),a.setAttribute("font-weight",n.weight),a.textContent="1",e.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",e.fClass)):a.style.fontFamily=e.fFamily,t.appendChild(a),r=a}else{var o=new OffscreenCanvas(500,500).getContext("2d");o.font=n.style+" "+n.weight+" 100px "+e.fFamily,r=o}return{measureText:function(e){return"svg"===i?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}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)};o.isModifier=function(e,t){var i=e.toString(16)+t.toString(16);return-1!==r.indexOf(i)},o.isZeroWidthJoiner=function(e,t){return t?e===i[0]&&t===i[1]:e===i[1]},o.isCombinedCharacter=function(e){return-1!==t.indexOf(e)};var s={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,i,n=e.length,a=this.chars.length;for(t=0;t<n;t+=1){for(r=0,i=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(i=!0),r+=1;i||(this.chars.push(e[t]),a+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach((function(e){e.helper=a(e),e.cache={}})),void(this.fonts=e.list);var r,i=e.list,o=i.length,s=o;for(r=0;r<o;r+=1){var l,d,p=!0;if(i[r].loaded=!1,i[r].monoCase=n(i[r].fFamily,"monospace"),i[r].sansCase=n(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(p=!1),p){var c=createTag("style");c.setAttribute("f-forigin",i[r].fOrigin),c.setAttribute("f-origin",i[r].origin),c.setAttribute("f-family",i[r].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",t.appendChild(c)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),d=0;d<l.length;d+=1)-1!==l[d].href.indexOf(i[r].fPath)&&(p=!1);if(p){var u=createTag("link");u.setAttribute("f-forigin",i[r].fOrigin),u.setAttribute("f-origin",i[r].origin),u.type="text/css",u.rel="stylesheet",u.href=i[r].fPath,document.body.appendChild(u)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),d=0;d<l.length;d+=1)i[r].fPath===l[d].src&&(p=!1);if(p){var h=createTag("link");h.setAttribute("f-forigin",i[r].fOrigin),h.setAttribute("f-origin",i[r].origin),h.setAttribute("rel","stylesheet"),h.setAttribute("href",i[r].fPath),t.appendChild(h)}}}else i[r].loaded=!0,s-=1;i[r].helper=a(i[r],t),i[r].cache={},this.fonts.push(i[r])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,i){for(var n=0,a=this.chars.length;n<a;){if(this.chars[n].ch===t&&this.chars[n].style===r&&this.chars[n].fFamily===i)return this.chars[n];n+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,i)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var i=this.getFontByName(t),n=e.charCodeAt(0);if(!i.cache[n+1]){var a=i.helper;if(" "===e){var o=a.measureText("|"+e+"|"),s=a.measureText("||");i.cache[n+1]=(o-s)/100}else i.cache[n+1]=a.measureText(e)/100}return i.cache[n+1]*r},checkLoadedFonts:function(){var e,t,r,i=this.fonts.length,n=i;for(e=0;e<i;e+=1)this.fonts[e].loaded?n-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(n-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(n-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return o.prototype=s,o}();function SlotManager(e){this.animationData=e}function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!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 e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].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 getBlendMode=(blendModeEnums={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(e){return blendModeEnums[e]||""}),blendModeEnums;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r,i=e.ef||[];this.effectElements=[];var n,a=i.length;for(r=0;r<a;r+=1)n=new GroupEffect(i[r],t),this.effectElements.push(n)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),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=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,n,a=this.globalData.defs,o=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(o),this.solidPath="";var s,l,d,p,c,u,h=this.masksProperties,m=0,f=[],y=createElementID(),g="clipPath",x="clip-path";for(i=0;i<o;i+=1)if(("a"!==h[i].mode&&"n"!==h[i].mode||h[i].inv||100!==h[i].o.k||h[i].o.x)&&(g="mask",x="mask"),"s"!==h[i].mode&&"i"!==h[i].mode||0!==m?d=null:((d=createNS("rect")).setAttribute("fill","#ffffff"),d.setAttribute("width",this.element.comp.data.w||0),d.setAttribute("height",this.element.comp.data.h||0),f.push(d)),n=createNS("path"),"n"===h[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,h[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[i],3),elem:n,lastPath:""},a.appendChild(n);else{var _;if(m+=1,n.setAttribute("fill","s"===h[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==h[i].x.k?(g="mask",x="mask",u=PropertyFactory.getProp(this.element,h[i].x,0,null,this.element),_=createElementID(),(p=createNS("filter")).setAttribute("id",_),(c=createNS("feMorphology")).setAttribute("operator","erode"),c.setAttribute("in","SourceGraphic"),c.setAttribute("radius","0"),p.appendChild(c),a.appendChild(p),n.setAttribute("stroke","s"===h[i].mode?"#000000":"#ffffff")):(c=null,u=null),this.storedData[i]={elem:n,x:u,expan:c,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===h[i].mode){l=f.length;var b=createNS("g");for(s=0;s<l;s+=1)b.appendChild(f[s]);var v=createNS("mask");v.setAttribute("mask-type","alpha"),v.setAttribute("id",y+"_"+m),v.appendChild(n),a.appendChild(v),b.setAttribute("mask","url("+getLocationHref()+"#"+y+"_"+m+")"),f.length=0,f.push(b)}else f.push(n);h[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,h[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,h[i],3),invRect:d},this.viewData[i].prop.k||this.drawPath(h[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(g),o=f.length,i=0;i<o;i+=1)this.maskElement.appendChild(f[i]);m>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(x,"url("+getLocationHref()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var i,n=this.data.ef.length,a=this.data.ef;for(r=0;r<n;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],t,this);break;case 1:i=new AngleEffect(a[r],t,this);break;case 2:i=new ColorEffect(a[r],t,this);break;case 3:i=new PointEffect(a[r],t,this);break;case 4:case 7:i=new CheckboxEffect(a[r],t,this);break;case 10:i=new LayerIndexEffect(a[r],t,this);break;case 11:i=new MaskIndexEffect(a[r],t,this);break;case 5:i=new EffectsManager(a[r],t);break;default:i=new NoValueEffect(a[r])}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),i=e("shape"),n=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),0===this.data.ty||this.data.xt?this.compInterface=a(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=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var e=getExpressionInterfaces();if(e){var t=e("footage");this.layerInterface=t(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(e){var t,r,i=this.layers.length;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var r,i=e.length,n=this.layers.length;for(t=0;t<i;t+=1)for(r=0;r<n;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var i=this.elements,n=this.layers,a=0,o=n.length;a<o;)n[a].ind==t&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==n[a].parent?this.buildElementParenting(e,n[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(e){var t,r=this.elements.length;for(t=0;t<r;t+=1)if(this.elements[t].data.ind===e)return this.elements[t];return null},BaseRenderer.prototype.getElementByPath=function(e){var t,r=e.shift();if("number"==typeof r)t=this.elements[r];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===r){t=this.elements[i];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),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=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},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 e,t=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<i;r+=1)e=this.hierarchy[r].finalTransform.mProp.v.props,t.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])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&t.splice(0,0,n.finalTransform),n=n.comp):i=!1;var a,o=t.length;for(r=0;r<o;r+=1)a=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(t=0;t<i;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var n=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),n.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var i,n,a=" M"+t.v[0][0]+","+t.v[0][1];for(n=t._length,i=1;i<n;i+=1)a+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[i][0]+","+t.i[i][1]+" "+t.v[i][0]+","+t.v[i][1];if(t.c&&n>1&&(a+=" 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]),r.lastPath!==a){var o="";r.elem&&(t.c&&(o=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",o)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={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))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,r,i="SourceGraphic",n=e.data.ef?e.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),s=0;for(this.filters=[],t=0;t<n;t+=1){r=null;var l=e.data.ef[t].ty;registeredEffects[l]&&(r=new(0,registeredEffects[l].effect)(o,e.effectsManager.effectElements[t],e,idPrefix+s,i),i=idPrefix+s,registeredEffects[l].countsAsEffect&&(s+=1)),r&&this.filters.push(r)}s&&(e.globalData.defs.appendChild(o),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,r){registeredEffects[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=t.slotManager.getProp(this.assetData)),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var t=createNS("g");t.setAttribute("id",this.layerId),t.appendChild(this.layerElement),e=t,this.globalData.defs.appendChild(t)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=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 r=createNS("clipPath"),i=createNS("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var n=createElementID();if(r.setAttribute("id",n),r.appendChild(i),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,i,n,a=this.layerId+"_"+e;if(1===e||3===e){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type",3===e?"luminance":"alpha"),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(i),this.globalData.defs.appendChild(o),featureSupport.maskType||1!==e||(o.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(i),o.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(2===e){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type","alpha");var l=createNS("g");s.appendChild(l),t=createElementID(),r=filtersFactory.createFilter(t);var d=createNS("feComponentTransfer");d.setAttribute("in","SourceGraphic"),r.appendChild(d);var p=createNS("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),d.appendChild(p),this.globalData.defs.appendChild(r);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(c),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),featureSupport.maskType||(s.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),l.appendChild(c),n.appendChild(this.layerElement),l.appendChild(n)),this.globalData.defs.appendChild(s)}this.matteMasks[e]=a}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),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.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,i=t.length;r<i;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===e)return void(r[i].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var i=0,n=e.length;i<n;){if(e[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,i){var n;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,o=t.length||0;for(n=0;n<o;n+=1)a=PropertyFactory.getProp(e,t[n].v,0,0,this),this.k=a.k||this.k,this.dataProps[n]={n:t[n].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var i=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=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 e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,i,n=4*this.data.p;for(t=0;t<n;t+=1)r=t%4==0?100:255,i=Math.round(this.prop.v[t]*r),this.c[t]!==i&&(this.c[t]=i,this._cmdf=!e);if(this.o.length)for(n=this.prop.v.length,t=4*this.data.p;t<n;t+=1)r=t%2==0?100:1,i=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==i&&(this.o[t-4*this.data.p]=i,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),i=createNS(1===t.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n,a,o,s=[];for(o=4*t.g.p,a=0;a<o;a+=4)n=createNS("stop"),i.appendChild(n),s.push(n);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,a=createNS("mask"),o=createNS("path");a.appendChild(o);var s=createElementID(),l=createElementID();a.setAttribute("id",l);var d=createNS(1===e.t?"linearGradient":"radialGradient");d.setAttribute("id",s),d.setAttribute("spreadMethod","pad"),d.setAttribute("gradientUnits","userSpaceOnUse"),n=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var p=this.stops;for(i=4*e.g.p;i<n;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),d.appendChild(r),p.push(r);o.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+s+")"),"gs"===e.ty&&(o.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&o.setAttribute("stroke-miterlimit",e.ml)),this.of=d,this.ms=a,this.ost=p,this.maskId=l,t.msElem=o}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,i){if(0===t)return"";var n,a=e.o,o=e.i,s=e.v,l=" M"+i.applyToPointStringified(s[0][0],s[0][1]);for(n=1;n<t;n+=1)l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(o[n][0],o[n][1])+" "+i.applyToPointStringified(s[n][0],s[n][1]);return r&&t&&(l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(o[0][0],o[0][1])+" "+i.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function i(){}function n(r,i,n){var a,o,s,l,d,p,c,u,h,m,f,y=i.styles.length,g=i.lvl;for(p=0;p<y;p+=1){if(l=i.sh._mdf||n,i.styles[p].lvl<g){for(u=t.reset(),m=g-i.styles[p].lvl,f=i.transformers.length-1;!l&&m>0;)l=i.transformers[f].mProps._mdf||l,m-=1,f-=1;if(l)for(m=g-i.styles[p].lvl,f=i.transformers.length-1;m>0;)h=i.transformers[f].mProps.v.props,u.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]),m-=1,f-=1}else u=e;if(o=(c=i.sh.paths)._length,l){for(s="",a=0;a<o;a+=1)(d=c.shapes[a])&&d._length&&(s+=buildShapeString(d,d._length,d.c,u));i.caches[p]=s}else s=i.caches[p];i.styles[p].d+=!0===r.hd?"":s,i.styles[p]._mdf=l||i.styles[p]._mdf}}function a(e,t,r){var i=t.style;(t.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",t.o.v)}function o(e,t,r){s(e,t,r),l(0,t,r)}function s(e,t,r){var i,n,a,o,s,l=t.gf,d=t.g._hasOpacity,p=t.s.v,c=t.e.v;if(t.o._mdf||r){var u="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(u,t.o.v)}if(t.s._mdf||r){var h=1===e.t?"x1":"cx",m="x1"===h?"y1":"cy";l.setAttribute(h,p[0]),l.setAttribute(m,p[1]),d&&!t.g._collapsable&&(t.of.setAttribute(h,p[0]),t.of.setAttribute(m,p[1]))}if(t.g._cmdf||r){i=t.cst;var f=t.g.c;for(a=i.length,n=0;n<a;n+=1)(o=i[n]).setAttribute("offset",f[4*n]+"%"),o.setAttribute("stop-color","rgb("+f[4*n+1]+","+f[4*n+2]+","+f[4*n+3]+")")}if(d&&(t.g._omdf||r)){var y=t.g.o;for(a=(i=t.g._collapsable?t.cst:t.ost).length,n=0;n<a;n+=1)o=i[n],t.g._collapsable||o.setAttribute("offset",y[2*n]+"%"),o.setAttribute("stop-opacity",y[2*n+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",c[0]),l.setAttribute("y2",c[1]),d&&!t.g._collapsable&&(t.of.setAttribute("x2",c[0]),t.of.setAttribute("y2",c[1])));else if((t.s._mdf||t.e._mdf||r)&&(s=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)),l.setAttribute("r",s),d&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.e._mdf||t.h._mdf||t.a._mdf||r){s||(s=Math.sqrt(Math.pow(p[0]-c[0],2)+Math.pow(p[1]-c[1],2)));var g=Math.atan2(c[1]-p[1],c[0]-p[0]),x=t.h.v;x>=1?x=.99:x<=-1&&(x=-.99);var _=s*x,b=Math.cos(g+t.a.v)*_+p[0],v=Math.sin(g+t.a.v)*_+p[1];l.setAttribute("fx",b),l.setAttribute("fy",v),d&&!t.g._collapsable&&(t.of.setAttribute("fx",b),t.of.setAttribute("fy",v))}}function l(e,t,r){var i=t.style,n=t.d;n&&(n._mdf||r)&&n.dashStr&&(i.pElem.setAttribute("stroke-dasharray",n.dashStr),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),t.c&&(t.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",t.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return s;case"gs":return o;case"st":return l;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r;case"no":return i;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,i,n,a){this.o=e,this.sw=t,this.sc=r,this.fc=i,this.m=n,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,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 e,t,r,i,n=this.shapes.length,a=this.stylesList.length,o=[],s=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],s=!1,o.length=0,e=0;e<n;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(i)&&(o.push(t),s=t._isAnimated||s);o.length>1&&s&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,i=new SVGStyleData(e,t),n=i.pElem;return"st"===e.ty?r=new SVGStrokeStyleData(this,e,i):"fl"===e.ty?r=new SVGFillStyleData(this,e,i):"gf"===e.ty||"gs"===e.ty?(r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===e.ty&&(r=new SVGNoStyleData(this,e,i)),"st"!==e.ty&&"gs"!==e.ty||(n.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),n.setAttribute("fill-opacity","0"),1===e.lj&&n.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&n.setAttribute("fill-rule","evenodd"),e.ln&&n.setAttribute("id",e.ln),e.cl&&n.setAttribute("class",e.cl),e.bm&&(n.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(i),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),i=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var i=4;"rc"===e.ty?i=5:"el"===e.ty?i=6:"sr"===e.ty&&(i=7);var n=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,i,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,i=this.stylesList.length;for(t=0;t<i;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,i,n,a,o){var s,l,d,p,c,u,h=[].concat(a),m=e.length-1,f=[],y=[];for(s=m;s>=0;s-=1){if((u=this.searchProcessedElement(e[s]))?t[s]=r[u-1]:e[s]._render=o,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)u?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],n),e[s]._render&&t[s].style.pElem.parentNode!==i&&i.appendChild(t[s].style.pElem),f.push(t[s].style);else if("gr"===e[s].ty){if(u)for(d=t[s].it.length,l=0;l<d;l+=1)t[s].prevViewData[l]=t[s].it[l];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,n+1,h,o),e[s]._render&&t[s].gr.parentNode!==i&&i.appendChild(t[s].gr)}else"tr"===e[s].ty?(u||(t[s]=this.createTransformElement(e[s],i)),p=t[s].transform,h.push(p)):"sh"===e[s].ty||"rc"===e[s].ty||"el"===e[s].ty||"sr"===e[s].ty?(u||(t[s]=this.createShapeElement(e[s],h,n)),this.setElementStyles(t[s])):"tm"===e[s].ty||"rd"===e[s].ty||"ms"===e[s].ty||"pb"===e[s].ty||"zz"===e[s].ty||"op"===e[s].ty?(u?(c=t[s]).closed=!1:((c=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=c,this.shapeModifiers.push(c)),y.push(c)):"rp"===e[s].ty&&(u?(c=t[s]).closed=!0:(c=ShapeModifiers.getModifier(e[s].ty),t[s]=c,c.init(this,e,s,t),this.shapeModifiers.push(c),o=!1),y.push(c));this.addProcessedElement(e[s],s+1)}for(m=f.length,s=0;s<m;s+=1)f[s].closed=!0;for(m=y.length,s=0;s<m;s+=1)y[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,i,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var o=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,o=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,o=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,o=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,o=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,o=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,o=!0),o},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,i=e.length;r<=i-1&&!(r===i-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,i=[],n=0,a=e.length,o=!1;n<a;)t=e.charCodeAt(n),FontManager.isCombinedCharacter(t)?i[i.length-1]+=e.charAt(n):t>=55296&&t<=56319?(r=e.charCodeAt(n+1))>=56320&&r<=57343?(o||FontManager.isModifier(t,r)?(i[i.length-1]+=e.substr(n,2),o=!1):i.push(e.substr(n,2)),n+=1):i.push(e.charAt(n)):t>56319?(r=e.charCodeAt(n+1),FontManager.isZeroWidthJoiner(t,r)?(o=!0,i[i.length-1]+=e.substr(n,2),n+=1):i.push(e.charAt(n))):FontManager.isZeroWidthJoiner(t)?(i[i.length-1]+=e.charAt(n),o=!0):i.push(e.charAt(n)),n+=1;return i},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,i,n,a,o,s,l=this.elem.globalData.fontManager,d=this.data,p=[],c=0,u=d.m.g,h=0,m=0,f=0,y=[],g=0,x=0,_=l.getFontByName(e.f),b=0,v=getFontProperties(_);e.fWeight=v.weight,e.fStyle=v.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var S,C=e.tr/1e3*e.finalSize;if(e.sz)for(var $,w,T=!0,R=e.sz[0],k=e.sz[1];T;){$=0,g=0,r=(w=this.buildFinalText(e.t)).length,C=e.tr/1e3*e.finalSize;var E=-1;for(t=0;t<r;t+=1)S=w[t].charCodeAt(0),i=!1," "===w[t]?E=t:13!==S&&3!==S||(g=0,i=!0,$+=e.finalLineHeight||1.2*e.finalSize),l.chars?(s=l.getCharData(w[t],_.fStyle,_.fFamily),b=i?0:s.w*e.finalSize/100):b=l.measureText(w[t],e.f,e.finalSize),g+b>R&&" "!==w[t]?(-1===E?r+=1:t=E,$+=e.finalLineHeight||1.2*e.finalSize,w.splice(t,E===t?1:0,"\r"),E=-1,g=0):(g+=b,g+=C);$+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&k<$?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=w,r=e.finalText.length,T=!1)}g=-C,b=0;var A,D=0;for(t=0;t<r;t+=1)if(i=!1,13===(S=(A=e.finalText[t]).charCodeAt(0))||3===S?(D=0,y.push(g),x=g>x?g:x,g=-2*C,n="",i=!0,f+=1):n=A,l.chars?(s=l.getCharData(A,_.fStyle,l.getFontByName(e.f).fFamily),b=i?0:s.w*e.finalSize/100):b=l.measureText(n,e.f,e.finalSize)," "===A?D+=b+C:(g+=b+C+D,D=0),p.push({l:b,an:b,add:h,n:i,anIndexes:[],val:n,line:f,animatorJustifyOffset:0}),2==u){if(h+=b,""===n||" "===n||t===r-1){for(""!==n&&" "!==n||(h-=b);m<=t;)p[m].an=h,p[m].ind=c,p[m].extra=b,m+=1;c+=1,h=0}}else if(3==u){if(h+=b,""===n||t===r-1){for(""===n&&(h-=b);m<=t;)p[m].an=h,p[m].ind=c,p[m].extra=b,m+=1;h=0,c+=1}}else p[c].ind=c,p[c].extra=0,c+=1;if(e.l=p,x=g>x?g:x,y.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=x,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=y;var j,I,P,M,F=d.a;o=F.length;var O=[];for(a=0;a<o;a+=1){for((j=F[a]).a.sc&&(e.strokeColorAnim=!0),j.a.sw&&(e.strokeWidthAnim=!0),(j.a.fc||j.a.fh||j.a.fs||j.a.fb)&&(e.fillColorAnim=!0),M=0,P=j.s.b,t=0;t<r;t+=1)(I=p[t]).anIndexes[a]=M,(1==P&&""!==I.val||2==P&&""!==I.val&&" "!==I.val||3==P&&(I.n||" "==I.val||t==r-1)||4==P&&(I.n||t==r-1))&&(1===j.s.rn&&O.push(M),M+=1);d.a[a].s.totalChars=M;var L,B=-1;if(1===j.s.rn)for(t=0;t<r;t+=1)B!=(I=p[t]).anIndexes[a]&&(B=I.anIndexes[a],L=O.splice(Math.floor(Math.random()*O.length),1)[0]),I.anIndexes[a]=L}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.setCurrentData(r),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function i(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.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 n=0,a=0,o=1,s=1;this.ne.v>0?n=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(n,a,o,s).get,d=0,p=this.finalS,c=this.finalE,u=this.data.sh;if(2===u)d=l(d=c===p?i>=c?1:0:e(0,t(.5/(c-p)+(i-p)/(c-p),1)));else if(3===u)d=l(d=c===p?i>=c?0:1:1-e(0,t(.5/(c-p)+(i-p)/(c-p),1)));else if(4===u)c===p?d=0:(d=e(0,t(.5/(c-p)+(i-p)/(c-p),1)))<.5?d*=2:d=1-2*(d-.5),d=l(d);else if(5===u){if(c===p)d=0;else{var h=c-p,m=-h/2+(i=t(e(0,i+.5-p),c-p)),f=h/2;d=Math.sqrt(1-m*m/(f*f))}d=l(d)}else 6===u?(c===p?d=0:(i=t(e(0,i+.5-p),c-p),d=(1+Math.cos(Math.PI+2*Math.PI*i/(c-p)))/2),d=l(d)):(i>=r(p)&&(d=e(0,t(i-p<0?t(c,1)-(p-i):c-i,1))),d=l(d));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;d<g?d=0:(d=(d-g)/y)>1&&(d=1)}return d*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,i=this.s.v/t+r,n=this.e.v/t+r;if(i>n){var a=i;i=n,n=a}this.finalS=i,this.finalE=n}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(e,t,r){return new i(e,t)}}}();function TextAnimatorDataProperty(e,t,r){var i={propType:!1},n=PropertyFactory.getProp,a=t.a;this.a={r:a.r?n(e,a.r,0,degToRads,r):i,rx:a.rx?n(e,a.rx,0,degToRads,r):i,ry:a.ry?n(e,a.ry,0,degToRads,r):i,sk:a.sk?n(e,a.sk,0,degToRads,r):i,sa:a.sa?n(e,a.sa,0,degToRads,r):i,s:a.s?n(e,a.s,1,.01,r):i,a:a.a?n(e,a.a,1,0,r):i,o:a.o?n(e,a.o,0,.01,r):i,p:a.p?n(e,a.p,1,0,r):i,sw:a.sw?n(e,a.sw,0,0,r):i,sc:a.sc?n(e,a.sc,1,0,r):i,fc:a.fc?n(e,a.fc,1,0,r):i,fh:a.fh?n(e,a.fh,0,0,r):i,fs:a.fs?n(e,a.fs,0,.01,r):i,fb:a.fb?n(e,a.fb,0,.01,r):i,t:a.t?n(e,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,i=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,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)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,n,a,o,s,l,d,p,c,u,h,m,f,y,g,x,_,b,v=this._moreOptions.alignment.v,S=this._animatorsData,C=this._textData,$=this.mHelper,w=this._renderType,T=this.renderedLetters.length,R=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var k,E=b.v;for(this._pathData.r.v&&(E=E.reverse()),o={tLength:0,segments:[]},a=E._length-1,g=0,n=0;n<a;n+=1)k=bez.buildBezierData(E.v[n],E.v[n+1],[E.o[n][0]-E.v[n][0],E.o[n][1]-E.v[n][1]],[E.i[n+1][0]-E.v[n+1][0],E.i[n+1][1]-E.v[n+1][1]]),o.tLength+=k.segmentLength,o.segments.push(k),g+=k.segmentLength;n=a,b.v.c&&(k=bez.buildBezierData(E.v[n],E.v[0],[E.o[n][0]-E.v[n][0],E.o[n][1]-E.v[n][1]],[E.i[0][0]-E.v[0][0],E.i[0][1]-E.v[0][1]]),o.tLength+=k.segmentLength,o.segments.push(k),g+=k.segmentLength),this._pathData.pi=o}if(o=this._pathData.pi,s=this._pathData.f.v,u=0,c=1,d=0,p=!0,f=o.segments,s<0&&b.v.c)for(o.tLength<Math.abs(s)&&(s=-Math.abs(s)%o.tLength),c=(m=f[u=f.length-1].points).length-1;s<0;)s+=m[c].partialLength,(c-=1)<0&&(c=(m=f[u-=1].points).length-1);h=(m=f[u].points)[c-1],y=(l=m[c]).partialLength}a=R.length,r=0,i=0;var A,D,j,I,P,M=1.2*e.finalSize*.714,F=!0;j=S.length;var O,L,B,N,V,H,z,W,G,U,q,Y,Q=-1,K=s,X=u,Z=c,J=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ie=0,ne=2===e.j?-.5:-1,ae=0,oe=!0;for(n=0;n<a;n+=1)if(R[n].n){for(re&&(re+=ie);ae<n;)R[ae].animatorJustifyOffset=re,ae+=1;re=0,oe=!0}else{for(D=0;D<j;D+=1)(A=S[D].a).t.propType&&(oe&&2===e.j&&(ie+=A.t.v*ne),(P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?re+=A.t.v*P[0]*ne:re+=A.t.v*P*ne);oe=!1}for(re&&(re+=ie);ae<n;)R[ae].animatorJustifyOffset=re,ae+=1}for(n=0;n<a;n+=1){if($.reset(),N=1,R[n].n)r=0,i+=e.yOffset,i+=F?1:0,s=K,F=!1,this._hasMaskedPath&&(c=Z,h=(m=f[u=X].points)[c-1],y=(l=m[c]).partialLength,d=0),ee="",q="",G="",Y="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(J!==R[n].line){switch(e.j){case 1:s+=g-e.lineWidths[R[n].line];break;case 2:s+=(g-e.lineWidths[R[n].line])/2}J=R[n].line}Q!==R[n].ind&&(R[Q]&&(s+=R[Q].extra),s+=R[n].an/2,Q=R[n].ind),s+=v[0]*R[n].an*.005;var se=0;for(D=0;D<j;D+=1)(A=S[D].a).p.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?se+=A.p.v[0]*P[0]:se+=A.p.v[0]*P),A.a.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?se+=A.a.v[0]*P[0]:se+=A.a.v[0]*P);for(p=!0,this._pathData.a.v&&(s=.5*R[0].an+(g-this._pathData.f.v-.5*R[0].an-.5*R[R.length-1].an)*Q/(a-1),s+=this._pathData.f.v);p;)d+y>=s+se||!m?(x=(s+se-d)/l.partialLength,L=h.point[0]+(l.point[0]-h.point[0])*x,B=h.point[1]+(l.point[1]-h.point[1])*x,$.translate(-v[0]*R[n].an*.005,-v[1]*M*.01),p=!1):m&&(d+=l.partialLength,(c+=1)>=m.length&&(c=0,f[u+=1]?m=f[u].points:b.v.c?(c=0,m=f[u=0].points):(d-=l.partialLength,m=null)),m&&(h=l,y=(l=m[c]).partialLength));O=R[n].an/2-R[n].add,$.translate(-O,0,0)}else O=R[n].an/2-R[n].add,$.translate(-O,0,0),$.translate(-v[0]*R[n].an*.005,-v[1]*M*.01,0);for(D=0;D<j;D+=1)(A=S[D].a).t.propType&&(P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?P.length?s+=A.t.v*P[0]:s+=A.t.v*P:P.length?r+=A.t.v*P[0]:r+=A.t.v*P));for(e.strokeWidthAnim&&(H=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(z=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<j;D+=1)(A=S[D].a).a.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?$.translate(-A.a.v[0]*P[0],-A.a.v[1]*P[1],A.a.v[2]*P[2]):$.translate(-A.a.v[0]*P,-A.a.v[1]*P,A.a.v[2]*P));for(D=0;D<j;D+=1)(A=S[D].a).s.propType&&((P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars)).length?$.scale(1+(A.s.v[0]-1)*P[0],1+(A.s.v[1]-1)*P[1],1):$.scale(1+(A.s.v[0]-1)*P,1+(A.s.v[1]-1)*P,1));for(D=0;D<j;D+=1){if(A=S[D].a,P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars),A.sk.propType&&(P.length?$.skewFromAxis(-A.sk.v*P[0],A.sa.v*P[1]):$.skewFromAxis(-A.sk.v*P,A.sa.v*P)),A.r.propType&&(P.length?$.rotateZ(-A.r.v*P[2]):$.rotateZ(-A.r.v*P)),A.ry.propType&&(P.length?$.rotateY(A.ry.v*P[1]):$.rotateY(A.ry.v*P)),A.rx.propType&&(P.length?$.rotateX(A.rx.v*P[0]):$.rotateX(A.rx.v*P)),A.o.propType&&(P.length?N+=(A.o.v*P[0]-N)*P[0]:N+=(A.o.v*P-N)*P),e.strokeWidthAnim&&A.sw.propType&&(P.length?H+=A.sw.v*P[0]:H+=A.sw.v*P),e.strokeColorAnim&&A.sc.propType)for(W=0;W<3;W+=1)P.length?V[W]+=(A.sc.v[W]-V[W])*P[0]:V[W]+=(A.sc.v[W]-V[W])*P;if(e.fillColorAnim&&e.fc){if(A.fc.propType)for(W=0;W<3;W+=1)P.length?z[W]+=(A.fc.v[W]-z[W])*P[0]:z[W]+=(A.fc.v[W]-z[W])*P;A.fh.propType&&(z=P.length?addHueToRGB(z,A.fh.v*P[0]):addHueToRGB(z,A.fh.v*P)),A.fs.propType&&(z=P.length?addSaturationToRGB(z,A.fs.v*P[0]):addSaturationToRGB(z,A.fs.v*P)),A.fb.propType&&(z=P.length?addBrightnessToRGB(z,A.fb.v*P[0]):addBrightnessToRGB(z,A.fb.v*P))}}for(D=0;D<j;D+=1)(A=S[D].a).p.propType&&(P=S[D].s.getMult(R[n].anIndexes[D],C.a[D].s.totalChars),this._hasMaskedPath?P.length?$.translate(0,A.p.v[1]*P[0],-A.p.v[2]*P[1]):$.translate(0,A.p.v[1]*P,-A.p.v[2]*P):P.length?$.translate(A.p.v[0]*P[0],A.p.v[1]*P[1],-A.p.v[2]*P[2]):$.translate(A.p.v[0]*P,A.p.v[1]*P,-A.p.v[2]*P));if(e.strokeWidthAnim&&(G=H<0?0:H),e.strokeColorAnim&&(U="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(q="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),this._hasMaskedPath){if($.translate(0,-e.ls),$.translate(0,v[1]*M*.01+i,0),this._pathData.p.v){_=(l.point[1]-h.point[1])/(l.point[0]-h.point[0]);var le=180*Math.atan(_)/Math.PI;l.point[0]<h.point[0]&&(le+=180),$.rotate(-le*Math.PI/180)}$.translate(L,B,0),s-=v[0]*R[n].an*.005,R[n+1]&&Q!==R[n+1].ind&&(s+=R[n].an/2,s+=.001*e.tr*e.finalSize)}else{switch($.translate(r,i,0),e.ps&&$.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:$.translate(R[n].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[R[n].line]),0,0);break;case 2:$.translate(R[n].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[R[n].line])/2,0,0)}$.translate(0,-e.ls),$.translate(O,0,0),$.translate(v[0]*R[n].an*.005,v[1]*M*.01,0),r+=R[n].l+.001*e.tr*e.finalSize}"html"===w?ee=$.toCSS():"svg"===w?ee=$.to2dCSS():te=[$.props[0],$.props[1],$.props[2],$.props[3],$.props[4],$.props[5],$.props[6],$.props[7],$.props[8],$.props[9],$.props[10],$.props[11],$.props[12],$.props[13],$.props[14],$.props[15]],Y=N}T<=n?(I=new LetterProps(Y,G,U,q,ee,te),this.renderedLetters.push(I),T+=1,this.lettersChangedFlag=!0):(I=this.renderedLetters[n],this.lettersChangedFlag=I.update(Y,G,U,q,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,i,n=t.length,a="";for(r=0;r<n;r+=1)"sh"===t[r].ty&&(i=t[r].ks.k,a+=buildShapeString(i,i.i.length,!0,e));return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,i,n){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(i,n,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=t.title,this.svgElement.appendChild(i),r+=n}if(t&&t.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+o}r&&this.svgElement.setAttribute("aria-labelledby",r);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height,runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,i=[],n="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(i.push(n),n=""):n+=e[t],t+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=t,i.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var o,s=r.l||[],l=!!this.globalData.fontManager.chars;t=s.length;var d=this.mHelper,p=this.data.singleShape,c=0,u=0,h=!0,m=.001*r.tr*r.finalSize;if(!p||l||r.sz){var f,y=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!p||0===e){if(o=y>e?this.textSpans[e].span:createNS(l?"g":"text"),y<=e){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=o,l){var g=createNS("g");o.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(d.reset(),p&&(s[e].n&&(c=-m,u+=r.yOffset,u+=h?1:0,h=!1),this.applyTextPropertiesToMatrix(r,d,s[e].line,c,u),c+=s[e].l||0,c+=m),l){var x;if(1===(f=this.globalData.fontManager.getCharData(r.finalText[e],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)x=new SVGCompElement(f.data,this.globalData,this);else{var _=emptyShapeData;f.data&&f.data.shapes&&(_=this.buildShapeData(f.data,r.finalSize)),x=new SVGShapeElement(_,this.globalData,this)}if(this.textSpans[e].glyph){var b=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(b.layerElement),b.destroy()}this.textSpans[e].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[e].childSpan.appendChild(x.layerElement),1===f.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&o.setAttribute("transform","translate("+d.props[12]+","+d.props[13]+")"),o.textContent=s[e].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&o&&o.setAttribute("d","")}else{var v=this.textContainer,S="start";switch(r.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}v.setAttribute("text-anchor",S),v.setAttribute("letter-spacing",m);var C=this.buildTextContents(r.finalText);for(t=C.length,u=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(o=this.textSpans[e].span||createNS("tspan")).textContent=C[e],o.setAttribute("x",0),o.setAttribute("y",u),o.style.display="inherit",v.appendChild(o),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=o,u+=r.finalLineHeight;this.layerElement.appendChild(v)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,i,n,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(t=o.length,e=0;e<t;e+=1)o[e].n||(r=a[e],i=this.textSpans[e].span,(n=this.textSpans[e].glyph)&&n.renderFrame(),r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){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 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.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 t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",e.w),i.setAttribute("height",e.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(e){var t=0,r=this.layers.length;for(t=0;t<r;t+=1)if(this.layers[t].ind===e)return t;return-1},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var i="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var n=t[i].getMatte(this.layers[e].tt);r.setMatte(n)}else this.buildItem(i),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){var i="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,n=this.elements[i].getMatte(this.layers[t].tt);e.setMatte(n);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var i,n=0;n<t;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var e,t=this.saved[this.cArrPos],r=this.cTr.props;for(e=0;e<16;e+=1)r[e]=t[e];return t},CVContextData.prototype.popOpacity=function(){var e=this.savedOp[this.cArrPos];return this.cO=e,e},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var e,t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.saved[this.cArrPos];for(e=0;e<16;e+=1)r[e]=t[e];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(e){this.cO=e},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,i="_";for(t=0;t<r;t+=1)i+=e[t].transform.key+"_";var n=this.sequences[i];return n||(n={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=n,this.sequenceList.push(n)),n},processSequence:function(e,t){for(var r,i=0,n=e.transforms.length,a=t;i<n&&!t;){if(e.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(e.finalTransform.reset(),i=n-1;i>=0;i-=1)r=e.transforms[i].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",t=null,r=null,i=null;function n(){var n,a,o;t||(n=createNS("svg"),a=createNS("filter"),o=createNS("feColorMatrix"),a.setAttribute("id",e),o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),a.appendChild(o),n.appendChild(a),n.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(n.style.display="none"),i=n,document.body.appendChild(i),t=createTag("canvas"),(r=t.getContext("2d")).filter="url(#"+e+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:n,get:function(i){return t||n(),t.width=i.width,t.height=i.height,r.filter="url(#"+e+")",t}}};function createCanvas(e,t){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(e,t);var r=createTag("canvas");return r.width=e,r.height=t,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas};function CVEffects(){}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,i,n=this.element.finalTransform.mat,a=this.element.canvasContext,o=this.masksProperties.length;for(a.beginPath(),e=0;e<o;e+=1)if("n"!==this.masksProperties[e].mode){var s;this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[e].v,t=n.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(t[0],t[1]);var l=i._length;for(s=1;s<l;s+=1)r=n.applyToTriplePoints(i.o[s-1],i.i[s],i.v[s]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=n.applyToTriplePoints(i.o[s-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(e,t,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n,a=4;"rc"===t.ty?a=5:"el"===t.ty?a=6:"sr"===t.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var o,s=r.length;for(n=0;n<s;n+=1)r[n].closed||(o={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(o),r[n].elements.push(o))}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,e.pe,0,0,this),e.ks.p.s?(this.px=i(this,e.ks.p.x,1,0,this),this.py=i(this,e.ks.p.y,1,0,this),this.pz=i(this,e.ks.p.z,1,0,this)):this.p=i(this,e.ks.p,1,0,this),e.ks.a&&(this.a=i(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var n,a=e.ks.or.k.length;for(n=0;n<a;n+=1)e.ks.or.k[n].to=null,e.ks.or.k[n].ti=null}this.or=i(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,e.ks.rx,0,degToRads,this),this.ry=i(this,e.ks.ry,0,degToRads,this),this.rz=i(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HybridRendererBase(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(t&&!1===t.hideOnTransparent),filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.filterSize.y||"-100%"},runExpressions:!t||void 0===t.runExpressions||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},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(e){e.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 e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],t=e.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 r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,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(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),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(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},i={};if("fl"===e.ty||"st"===e.ty?(i.c=PropertyFactory.getProp(this,e.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(i.s=PropertyFactory.getProp(this,e.s,1,null,this),i.e=PropertyFactory.getProp(this,e.e,1,null,this),i.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,e.g,this)),i.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),i.w=PropertyFactory.getProp(this,e.w,0,null,this),i.w.k||(r.wi=i.w.v),e.d){var n=new DashProperty(this,e.d,"canvas",this);i.d=n,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,i,n){var a,o,s,l,d,p,c=e.length-1,u=[],h=[],m=[].concat(n);for(a=c;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=i,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],m),u.push(t[a].style);else if("gr"===e[a].ty){if(l)for(s=t[a].it.length,o=0;o<s;o+=1)t[a].prevViewData[o]=t[a].it[o];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,i,m)}else"tr"===e[a].ty?(l||(p=this.createTransformElement(e[a]),t[a]=p),m.push(t[a]),this.addTransformToStyleList(t[a])):"sh"===e[a].ty||"rc"===e[a].ty||"el"===e[a].ty||"sr"===e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"===e[a].ty||"rd"===e[a].ty||"pb"===e[a].ty||"zz"===e[a].ty||"op"===e[a].ty?(l?(d=t[a]).closed=!1:((d=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=d,this.shapeModifiers.push(d)),h.push(d)):"rp"===e[a].ty&&(l?(d=t[a]).closed=!0:(d=ShapeModifiers.getModifier(e[a].ty),t[a]=d,d.init(this,e,a,t),this.shapeModifiers.push(d),i=!1),h.push(d));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),c=h.length,a=0;a<c;a+=1)h[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,i,n,a,o,s,l,d=this.stylesList.length,p=this.globalData.renderer,c=this.globalData.canvasContext;for(e=0;e<d;e+=1)if(("st"!==(s=(l=this.stylesList[e]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),a=l.elements,"st"===s||"gs"===s?(c.strokeStyle="st"===s?l.co:l.grd,c.lineWidth=l.wi,c.lineCap=l.lc,c.lineJoin=l.lj,c.miterLimit=l.ml||0):c.fillStyle="fl"===s?l.co:l.grd,p.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&c.beginPath(),p.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==s&&"gs"!==s||(c.beginPath(),l.da&&(c.setLineDash(l.da),c.lineDashOffset=l.do)),n=(o=a[t].trNodes).length,i=0;i<n;i+=1)"m"===o[i].t?c.moveTo(o[i].p[0],o[i].p[1]):"c"===o[i].t?c.bezierCurveTo(o[i].pts[0],o[i].pts[1],o[i].pts[2],o[i].pts[3],o[i].pts[4],o[i].pts[5]):c.closePath();"st"!==s&&"gs"!==s||(c.stroke(),l.da&&c.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&c.fill(l.r),p.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,i){var n,a;for(a=e,n=t.length-1;n>=0;n-=1)"tr"===t[n].ty?(a=r[n].transform,this.renderShapeTransform(e,a)):"sh"===t[n].ty||"el"===t[n].ty||"rc"===t[n].ty||"sr"===t[n].ty?this.renderPath(t[n],r[n]):"fl"===t[n].ty?this.renderFill(t[n],r[n],a):"st"===t[n].ty?this.renderStroke(t[n],r[n],a):"gf"===t[n].ty||"gs"===t[n].ty?this.renderGradientFill(t[n],r[n],a):"gr"===t[n].ty?this.renderShape(a,t[n].it,r[n].it):t[n].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,i,n,a=e.trNodes,o=t.paths,s=o._length;a.length=0;var l=e.transforms.finalTransform;for(n=0;n<s;n+=1){var d=o.shapes[n];if(d&&d.v){for(i=d._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(d.v[0][0],d.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(d.o[r-1],d.i[r],d.v[r])});1===i&&a.push({t:"m",p:l.applyToPointArray(d.v[0][0],d.v[0][1],0)}),d.c&&i&&(a.push({t:"c",pts:l.applyToTriplePoints(d.o[r-1],d.i[0],d.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,i=t.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var i=t.style;(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var i,n=t.style;if(!n.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var a,o=this.globalData.canvasContext,s=t.s.v,l=t.e.v;if(1===e.t)i=o.createLinearGradient(s[0],s[1],l[0],l[1]);else{var d=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),p=Math.atan2(l[1]-s[1],l[0]-s[0]),c=t.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var u=d*c,h=Math.cos(p+t.a.v)*u+s[0],m=Math.sin(p+t.a.v)*u+s[1];i=o.createRadialGradient(h,m,0,s[0],s[1],d)}var f=e.g.p,y=t.g.c,g=1;for(a=0;a<f;a+=1)t.g._hasOpacity&&t.g._collapsable&&(g=t.g.o[2*a+1]),i.addColorStop(y[4*a]/100,"rgba("+y[4*a+1]+","+y[4*a+2]+","+y[4*a+3]+","+g+")");n.grd=i}n.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var i=t.style,n=t.d;n&&(n._mdf||this._isFirstFrame)&&(i.da=n.dashArray,i.do=n.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(i.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var i,n,a,o,s,l,d,p,c,u,h,m,f=this.globalData.fontManager.getFontByName(e.f),y=e.l,g=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,n=e.finalText.length;var x=this.data.singleShape,_=.001*e.tr*e.finalSize,b=0,v=0,S=!0,C=0;for(i=0;i<n;i+=1){o=(a=this.globalData.fontManager.getCharData(e.finalText[i],f.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&a.data||{},g.reset(),x&&y[i].n&&(b=-_,v+=e.yOffset,v+=S?1:0,S=!1),c=(d=o.shapes?o.shapes[0].it:[]).length,g.scale(e.finalSize/100,e.finalSize/100),x&&this.applyTextPropertiesToMatrix(e,g,y[i].line,b,v),h=createSizedArray(c-1);var $=0;for(p=0;p<c;p+=1)if("sh"===d[p].ty){for(l=d[p].ks.k.i.length,u=d[p].ks.k,m=[],s=1;s<l;s+=1)1===s&&m.push(g.applyToX(u.v[0][0],u.v[0][1],0),g.applyToY(u.v[0][0],u.v[0][1],0)),m.push(g.applyToX(u.o[s-1][0],u.o[s-1][1],0),g.applyToY(u.o[s-1][0],u.o[s-1][1],0),g.applyToX(u.i[s][0],u.i[s][1],0),g.applyToY(u.i[s][0],u.i[s][1],0),g.applyToX(u.v[s][0],u.v[s][1],0),g.applyToY(u.v[s][0],u.v[s][1],0));m.push(g.applyToX(u.o[s-1][0],u.o[s-1][1],0),g.applyToY(u.o[s-1][0],u.o[s-1][1],0),g.applyToX(u.i[0][0],u.i[0][1],0),g.applyToY(u.i[0][0],u.i[0][1],0),g.applyToX(u.v[0][0],u.v[0][1],0),g.applyToY(u.v[0][0],u.v[0][1],0)),h[$]=m,$+=1}x&&(b+=y[i].l,b+=_),this.textSpans[C]?this.textSpans[C].elem=h:this.textSpans[C]={elem:h},C+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,i,n,a,o=this.canvasContext;o.font=this.values.fValue,o.lineCap="butt",o.lineJoin="miter",o.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;t=d.length;var p,c,u=null,h=null,m=null;for(e=0;e<t;e+=1)if(!d[e].n){if((s=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?u!==s.fc&&(u=s.fc,o.fillStyle=s.fc):u!==this.values.fill&&(u=this.values.fill,o.fillStyle=this.values.fill),i=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(c[n],c[n+1],c[n+2],c[n+3],c[n+4],c[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?m!==s.sw&&(m=s.sw,o.lineWidth=s.sw):m!==this.values.sWidth&&(m=this.values.sWidth,o.lineWidth=this.values.sWidth),s&&s.sc?h!==s.sc&&(h=s.sc,o.strokeStyle=s.sc):h!==this.values.stroke&&(h=this.values.stroke,o.strokeStyle=this.values.stroke),i=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(c[n],c[n+1],c[n+2],c[n+3],c[n+4],c[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,i=e.getContext("2d"),n=this.img.width,a=this.img.height,o=n/a,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>s&&"xMidYMid slice"===l||o<s&&"xMidYMid slice"!==l?t=(r=a)*s:r=(t=n)/s,i.drawImage(this.img,(n-t)/2,(a-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.getTransform(),r=t.props;this.transformMat.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]),t.cloneFromProps(this.transformMat.props);var i=t.props;this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){var t=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=t);t*=e<0?0:e,this.contextData.setOpacity(t),this.globalData.currentGlobalAlpha!==t&&(this.canvasContext.globalAlpha=t,this.globalData.currentGlobalAlpha=t)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){this.renderConfig.clearCanvas?(e&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var t=this.contextData.pop(),r=t.transform,i=t.opacity;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),this.globalData.currentGlobalAlpha!==i&&(this.canvasContext.globalAlpha=i,this.globalData.currentGlobalAlpha=i)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(e,t){var r,i,n,a;if(this.reset(),e?(r=e,i=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var o=this.renderConfig.preserveAspectRatio.split(" "),s=o[1]||"meet",l=o[0]||"xMidYMid",d=l.substr(0,4),p=l.substr(4);n=r/i,(a=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===s||a<n&&"slice"===s?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===d&&(a<n&&"meet"===s||a>n&&"slice"===s)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===d&&(a<n&&"meet"===s||a>n&&"slice"===s)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(a>n&&"meet"===s||a<n&&"slice"===s)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===p&&(a>n&&"meet"===s||a<n&&"slice"===s)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var i=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.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"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,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.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 e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.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 e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,i,n,a,o,s=e.sh.v,l=e.transformers,d=s._length;if(!(d<=1)){for(r=0;r<d-1;r+=1)i=this.getTransformedPoint(l,s.v[r]),n=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[r+1]),o=this.getTransformedPoint(l,s.v[r+1]),this.checkBounds(i,n,a,o,t);s.c&&(i=this.getTransformedPoint(l,s.v[r]),n=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[0]),o=this.getTransformedPoint(l,s.v[0]),this.checkBounds(i,n,a,o,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,i,n){this.getBoundsOfCurve(e,t,r,i);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(e,t,r,i){for(var n,a,o,s,l,d,p,c=[[e[0],i[0]],[e[1],i[1]]],u=0;u<2;++u)a=6*e[u]-12*t[u]+6*r[u],n=-3*e[u]+9*t[u]-9*r[u]+3*i[u],o=3*t[u]-3*e[u],a|=0,o|=0,0==(n|=0)&&0===a||(0===n?(s=-o/a)>0&&s<1&&c[u].push(this.calculateF(s,e,t,r,i,u)):(l=a*a-4*o*n)>=0&&((d=(-a+bmSqrt(l))/(2*n))>0&&d<1&&c[u].push(this.calculateF(d,e,t,r,i,u)),(p=(-a-bmSqrt(l))/(2*n))>0&&p<1&&c[u].push(this.calculateF(p,e,t,r,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(e,t,r,i,n,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*i[a]+bmPow(e,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,i=e.length;for(r=0;r<i;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it?this.calculateBoundingBox(e[r].it,t):e[r]&&e[r].style&&e[r].w&&this.expandStrokeBoundingBox(e[r].w,t)},HShapeElement.prototype.expandStrokeBoundingBox=function(e,t){var r=0;if(e.keyframes){for(var i=0;i<e.keyframes.length;i+=1){var n=e.keyframes[i].s;n>r&&(r=n)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;if(this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y){this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=n,i.webkitTransform=n}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style,r=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)";t.fill=r,t.color=r,e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var i,n,a=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{t.fontFamily=a.fFamily;var o=e.fWeight,s=e.fStyle;t.fontStyle=s,t.fontWeight=o}var l,d,p,c=e.l;n=c.length;var u,h=this.mHelper,m="",f=0;for(i=0;i<n;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?l=this.textPaths[f]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?p=(d=this.textSpans[f]).children[0]:((d=createTag("div")).style.lineHeight=0,(p=createNS("svg")).appendChild(l),styleDiv(d)))):this.isMasked?l=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(d=this.textSpans[f],l=this.textPaths[f]):(styleDiv(d=createTag("span")),styleDiv(l=createTag("span")),d.appendChild(l)),this.globalData.fontManager.chars){var y,g=this.globalData.fontManager.getCharData(e.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(y=g?g.data:null,h.reset(),y&&y.shapes&&y.shapes.length&&(u=y.shapes[0].it,h.scale(e.finalSize/100,e.finalSize/100),m=this.createPathShape(h,u),l.setAttribute("d",m)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(d),y&&y.shapes){document.body.appendChild(p);var x=p.getBBox();p.setAttribute("width",x.width+2),p.setAttribute("height",x.height+2),p.setAttribute("viewBox",x.x-1+" "+(x.y-1)+" "+(x.width+2)+" "+(x.height+2));var _=p.style,b="translate("+(x.x-1)+"px,"+(x.y-1)+"px)";_.transform=b,_.webkitTransform=b,c[i].yOffset=x.y-1}else p.setAttribute("width",1),p.setAttribute("height",1);d.appendChild(p)}}else if(l.textContent=c[i].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(d);var v=l.style,S="translate3d(0,"+-e.finalSize/1.2+"px,0)";v.transform=S,v.webkitTransform=S}this.isMasked?this.textSpans[f]=l:this.textSpans[f]=d,this.textSpans[f].style.display="block",this.textPaths[f]=l,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),e=this.svgElement.style;var t="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";e.transform=t,e.webkitTransform=t}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,i,n,a,o,s=0,l=this.textAnimator.renderedLetters,d=this.textProperty.currentData.l;for(i=d.length,r=0;r<i;r+=1)d[r].n?s+=1:(a=this.textSpans[r],o=this.textPaths[r],n=l[s],s+=1,n._mdf.m&&(this.isMasked?a.setAttribute("transform",n.m):(a.style.webkitTransform=n.m,a.style.transform=n.m)),a.style.opacity=n.o,n.sw&&n._mdf.sw&&o.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&o.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(o.setAttribute("fill",n.fc),o.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var p=this.innerElem.getBBox();if(this.currentBBox.w!==p.width&&(this.currentBBox.w=p.width,this.svgElement.setAttribute("width",p.width)),this.currentBBox.h!==p.height&&(this.currentBBox.h=p.height,this.svgElement.setAttribute("height",p.height)),this.currentBBox.w!==p.width+2||this.currentBBox.h!==p.height+2||this.currentBBox.x!==p.x-1||this.currentBBox.y!==p.y-1){this.currentBBox.w=p.width+2,this.currentBBox.h=p.height+2,this.currentBBox.x=p.x-1,this.currentBBox.y=p.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var c="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=c,e.webkitTransform=c}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,i,n=this.comp.threeDElements.length;for(e=0;e<n;e+=1)if("3d"===(t=this.comp.threeDElements[e]).type){r=t.perspectiveElem.style,i=t.container.style;var a=this.pe.v+"px",o="0px 0px 0px",s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=o,i.mozTransformOrigin=o,i.webkitTransformOrigin=o,r.transform=s,r.webkitTransform=s}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(e=t=this.hierarchy.length-1;e>=0;e-=1){var i=this.hierarchy[e].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 n;n=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 a=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),o=[n[0]/a,n[1]/a,n[2]/a],s=Math.sqrt(o[2]*o[2]+o[0]*o[0]),l=Math.atan2(o[1],s),d=Math.atan2(o[0],-o[2]);this.mat.rotateY(d).rotateX(-l)}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 p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var c,u,h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if("3d"===(c=this.comp.threeDElements[e]).type){if(p){var m=this.mat.toCSS();(h=c.container.style).transform=m,h.webkitTransform=m}this.pe._mdf&&((u=c.perspectiveElem.style).perspective=this.pe.v+"px",u.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.crossOrigin="anonymous",t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var i=this.layers[t];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var n,a,o=0;o<t;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement&&(a=this.elements[o],n=(this.layers[o].ddd?this.getThreeDContainerByPos(o):a.getBaseElement())||n),o+=1;n?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,n):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRendererBase.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextLottieElement(e,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,i,n=createTag("div");styleDiv(n);var a=createTag("div");if(styleDiv(a),"3d"===t){(r=n.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var o="50% 50%";r.webkitTransformOrigin=o,r.mozTransformOrigin=o,r.transformOrigin=o;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=s,i.webkitTransform=s}n.appendChild(a);var l={container:a,perspectiveElem:n,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,i="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==i&&(i="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==i&&(i="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,i=this.threeDElements.length;r<i;){if(t<=this.threeDElements[r].endPos){for(var n,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.threeDElements[r].container.insertBefore(e,n):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,i=t.style;i.width=e.w+"px",i.height=e.h+"px",this.resizerElem=t,styleDiv(t),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),i.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=a,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var e,t,r,i,n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,o=n/a;this.globalData.compSize.w/this.globalData.compSize.h>o?(e=n/this.globalData.compSize.w,t=n/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(n/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(n-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+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 e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(e=0;e<i;e+=1){var n=this.threeDElements[e].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,i=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t],i,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(e,t){for(var r,i=0;i<t;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(e,r):this.layerElement.appendChild(e)},HCompElement.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)};var CompExpressionInterface=function(e){function t(t){for(var r=0,i=e.layers.length;r<i;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},Expressions=function(){var e={initExpressions:function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}}};return e}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}return Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(t){var r,i=createSizedArray(t.viewData.length),n=t.viewData.length;for(r=0;r<n;r+=1)i[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<n;){if(t.masksProperties[r].nm===e)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(i){if(!e.numKeys)return 0;var n="";n="s"in t.keyframes[i-1]?t.keyframes[i-1].s:"e"in t.keyframes[i-2]?t.keyframes[i-2].e:t.keyframes[i-2].s;var a="unidimensional"===r?new Number(n):Object.assign({},n);return a.time=t.keyframes[i-1].t/t.elem.comp.globalData.frameRate,a.value="unidimensional"===r?n[0]:n,a},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function i(){return e}return function(n){return n?"unidimensional"===n.propType?function(t){t&&"pv"in t||(t=e);var i=1/t.mult,n=t.pv*i,a=new Number(n);return a.value=n,r(a,t,"unidimensional"),function(){return t.k&&t.getValue(),n=t.v*i,a.value!==n&&((a=new Number(n)).value=n,r(a,t,"unidimensional")),a}}(n):function(e){e&&"pv"in e||(e=t);var i=1/e.mult,n=e.data&&e.data.l||e.pv.length,a=createTypedArray("float32",n),o=createTypedArray("float32",n);return a.value=o,r(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<n;t+=1)o[t]=e.v[t]*i,a[t]=o[t];return a}}(n):i}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var r,i,n,a;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?a=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),i=ExpressionPropertyInterface(e.py),e.pz&&(n=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),i(),n?n():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;return void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t),t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function i(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function a(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function s(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(d){var p;function c(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return c.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return p;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return c.effect;case"ADBE Text Properties":return c.textInterface;default:return null}}c.getMatrix=e,c.invertPoint=o,c.applyPoint=a,c.toWorld=r,c.toWorldVec=t,c.fromWorld=n,c.fromWorldVec=i,c.toComp=r,c.fromComp=s,c.sampleImage=l,c.sourceRectAtTime=d.sourceRectAtTime.bind(d),c._elem=d;var u=getDescriptor(p=TransformExpressionInterface(d.finalTransform.mProp),"anchorPoint");return Object.defineProperties(c,{hasParent:{get:function(){return d.hierarchy.length}},parent:{get:function(){return d.hierarchy[0].layerInterface}},rotation:getDescriptor(p,"rotation"),scale:getDescriptor(p,"scale"),position:getDescriptor(p,"position"),opacity:getDescriptor(p,"opacity"),anchorPoint:u,anchor_point:u,transform:{get:function(){return p}},active:{get:function(){return d.isInRange}}}),c.startTime=d.data.st,c.index=d.data.ind,c.source=d.data.refId,c.height=0===d.data.ty?d.data.h:100,c.width=0===d.data.ty?d.data.w:100,c.inPoint=d.data.ip/d.comp.globalData.frameRate,c.outPoint=d.data.op/d.comp.globalData.frameRate,c._name=d.data.nm,c.registerMaskInterface=function(e){c.mask=new MaskManagerInterface(e,d)},c.registerEffectsInterface=function(e){c.effect=e},c}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){function e(r,i,n,a){function o(e){for(var t=r.ef,i=0,n=t.length;i<n;){if(e===t[i].nm||e===t[i].mn||e===t[i].ix)return 5===t[i].ty?d[i]:d[i]();i+=1}throw new Error}var s,l=propertyGroupFactory(o,n),d=[],p=r.ef.length;for(s=0;s<p;s+=1)5===r.ef[s].ty?d.push(e(r.ef[s],i.effectElements[s],i.effectElements[s].propertyGroup,a)):d.push(t(i.effectElements[s],r.ef[s].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(o,"color",{get:function(){return d[0]()}}),Object.defineProperties(o,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),o.enabled=0!==r.en,o.active=o.enabled,o}function t(e,t,r,i){var n=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===t?r.comp.compInterface(e.p.v):n()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var i,n=[],a=t.data.ef,o=t.effectsManager.effectElements.length;for(i=0;i<o;i+=1)n.push(e(a[i],t.effectsManager.effectElements[i],r,t));var s=t.data.ef||[],l=function(e){for(i=0,o=s.length;i<o;){if(e===s[i].nm||e===s[i].mn||e===s[i].ix)return n[i];i+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return s.length}}),l}return null}}}(),ShapePathInterface=function(e,t,r){var i=t.sh;function n(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?n.path:null}var a=propertyGroupFactory(n,r);return i.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),n},ShapeExpressionInterface=function(){function e(e,o,u){var h,m=[],f=e?e.length:0;for(h=0;h<f;h+=1)"gr"===e[h].ty?m.push(t(e[h],o[h],u)):"fl"===e[h].ty?m.push(r(e[h],o[h],u)):"st"===e[h].ty?m.push(n(e[h],o[h],u)):"tm"===e[h].ty?m.push(a(e[h],o[h],u)):"tr"===e[h].ty||("el"===e[h].ty?m.push(s(e[h],o[h],u)):"sr"===e[h].ty?m.push(l(e[h],o[h],u)):"sh"===e[h].ty?m.push(ShapePathInterface(e[h],o[h],u)):"rc"===e[h].ty?m.push(d(e[h],o[h],u)):"rd"===e[h].ty?m.push(p(e[h],o[h],u)):"rp"===e[h].ty?m.push(c(e[h],o[h],u)):"gf"===e[h].ty?m.push(i(e[h],o[h],u)):m.push((e[h],o[h],function(){return null})));return m}function t(t,r,i){var n=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,i);var a=function(t,r,i){var n,a=function(e){for(var t=0,r=n.length;t<r;){if(n[t]._name===e||n[t].mn===e||n[t].propertyIndex===e||n[t].ix===e||n[t].ind===e)return n[t];t+=1}return"number"==typeof e?n[e-1]:null};a.propertyGroup=propertyGroupFactory(a,i),n=e(t.it,r.it,a.propertyGroup),a.numProperties=n.length;var s=o(t.it[t.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=s,a.propertyIndex=t.cix,a._name=t.nm,a}(t,r,n.propertyGroup),s=o(t.it[t.it.length-1],r.it[r.it.length-1],n.propertyGroup);return n.content=a,n.transform=s,Object.defineProperty(n,"_name",{get:function(){return t.nm}}),n.numProperties=t.np,n.propertyIndex=t.ix,n.nm=t.nm,n.mn=t.mn,n}function r(e,t,r){function i(e){return"Color"===e||"color"===e?i.color:"Opacity"===e||"opacity"===e?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(e,t,r){function i(e){return"Start Point"===e||"start point"===e?i.startPoint:"End Point"===e||"end point"===e?i.endPoint:"Opacity"===e||"opacity"===e?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function n(e,t,r){var i,n=propertyGroupFactory(d,r),a=propertyGroupFactory(l,n);function o(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var s=e.d?e.d.length:0,l={};for(i=0;i<s;i+=1)o(i),t.d.dataProps[i].p.setGroupProperty(a);function d(e){return"Color"===e||"color"===e?d.color:"Opacity"===e||"opacity"===e?d.opacity:"Stroke Width"===e||"stroke width"===e?d.strokeWidth:null}return Object.defineProperties(d,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",n)),t.o.setGroupProperty(PropertyInterface("Opacity",n)),t.w.setGroupProperty(PropertyInterface("Stroke Width",n)),d}function a(e,t,r){function i(t){return t===e.e.ix||"End"===t||"end"===t?i.end:t===e.s.ix?i.start:t===e.o.ix?i.offset:null}var n=propertyGroupFactory(i,r);return i.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",n)),t.e.setGroupProperty(PropertyInterface("End",n)),t.o.setGroupProperty(PropertyInterface("Offset",n)),i.propertyIndex=e.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),i.mn=e.mn,i}function o(e,t,r){function i(t){return e.a.ix===t||"Anchor Point"===t?i.anchorPoint:e.o.ix===t||"Opacity"===t?i.opacity:e.p.ix===t||"Position"===t?i.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?i.rotation:e.s.ix===t||"Scale"===t?i.scale:e.sk&&e.sk.ix===t||"Skew"===t?i.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?i.skewAxis:null}var n=propertyGroupFactory(i,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),i.ty="tr",i.mn=e.mn,i.propertyGroup=r,i}function s(e,t,r){function i(t){return e.p.ix===t?i.position:e.s.ix===t?i.size:null}var n=propertyGroupFactory(i,r);i.propertyIndex=e.ix;var a="tm"===t.sh.ty?t.sh.prop:t.sh;return a.s.setGroupProperty(PropertyInterface("Size",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:e.nm}}),i.mn=e.mn,i}function l(e,t,r){function i(t){return e.p.ix===t?i.position:e.r.ix===t?i.rotation:e.pt.ix===t?i.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?i.outerRadius:e.os.ix===t?i.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?i.innerRoundness:null:i.innerRadius}var n=propertyGroupFactory(i,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return i.propertyIndex=e.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",n)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),a.pt.setGroupProperty(PropertyInterface("Points",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),e.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:e.nm}}),i.mn=e.mn,i}function d(e,t,r){function i(t){return e.p.ix===t?i.position:e.r.ix===t?i.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?i.size:null}var n=propertyGroupFactory(i,r),a="tm"===t.sh.ty?t.sh.prop:t.sh;return i.propertyIndex=e.ix,a.p.setGroupProperty(PropertyInterface("Position",n)),a.s.setGroupProperty(PropertyInterface("Size",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:e.nm}}),i.mn=e.mn,i}function p(e,t,r){function i(t){return e.r.ix===t||"Round Corners 1"===t?i.radius:null}var n=propertyGroupFactory(i,r),a=t;return i.propertyIndex=e.ix,a.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:e.nm}}),i.mn=e.mn,i}function c(e,t,r){function i(t){return e.c.ix===t||"Copies"===t?i.copies:e.o.ix===t||"Offset"===t?i.offset:null}var n=propertyGroupFactory(i,r),a=t;return i.propertyIndex=e.ix,a.c.setGroupProperty(PropertyInterface("Copies",n)),a.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:e.nm}}),i.mn=e.mn,i}return function(t,r,i){var n;function a(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?i:n[e-1];for(var t=0,r=n.length;t<r;){if(n[t]._name===e)return n[t];t+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return i})),n=e(t,r,a.propertyGroup),a.numProperties=n.length,a._name="Contents",a}}(),TextExpressionInterface=function(e){var t;function r(e){return"ADBE Text Document"===e?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return t&&r===t.value||((t=new String(r)).value=r||new String(r),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof$2(e){return _typeof$2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function i(e){if(r[e])return t=e,"object"===_typeof$2(r=r[e])?i:r;var n=e.indexOf(t);if(-1!==n){var a=parseInt(e.substr(n+t.length),10);return"object"===_typeof$2(r=r[a])?i:r}return""}return function(){return t="",r=e.getFootageData(),i}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(e){return interfaces[e]||null}function _typeof$1(e){return _typeof$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}function seedRandom(e,t){var r=this,i=256,n="random",a=t.pow(i,6),o=t.pow(2,52),s=2*o,l=i-1;function d(e){var t,r=e.length,n=this,a=0,o=n.i=n.j=0,s=n.S=[];for(r||(e=[r++]);a<i;)s[a]=a++;for(a=0;a<i;a++)s[a]=s[o=l&o+e[a%r]+(t=s[a])],s[o]=t;n.g=function(e){for(var t,r=0,a=n.i,o=n.j,s=n.S;e--;)t=s[a=l&a+1],r=r*i+s[l&(s[a]=s[o=l&o+t])+(s[o]=t)];return n.i=a,n.j=o,r}}function p(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function c(e,t){var r,i=[],n=_typeof$1(e);if(t&&"object"==n)for(r in e)try{i.push(c(e[r],t-1))}catch(e){}return i.length?i:"string"==n?e:e+"\0"}function u(e,t){for(var r,i=e+"",n=0;n<i.length;)t[l&n]=l&(r^=19*t[l&n])+i.charCodeAt(n++);return h(t)}function h(e){return String.fromCharCode.apply(0,e)}t["seed"+n]=function(l,m,f){var y=[],g=u(c((m=!0===m?{entropy:!0}:m||{}).entropy?[l,h(e)]:null===l?function(){try{var t=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(t),h(t)}catch(t){var n=r.navigator,a=n&&n.plugins;return[+new Date,r,a,r.screen,h(e)]}}():l,3),y),x=new d(y),_=function(){for(var e=x.g(6),t=a,r=0;e<o;)e=(e+r)*i,t*=i,r=x.g(1);for(;e>=s;)e/=2,t/=2,r>>>=1;return(e+r)/t};return _.int32=function(){return 0|x.g(4)},_.quick=function(){return x.g(4)/4294967296},_.double=_,u(h(x.S),e),(m.pass||f||function(e,r,i,a){return a&&(a.S&&p(a,x),e.state=function(){return p(x,{})}),i?(t[n]=e,r):e})(_,g,"global"in m?m.global:this==t,m.state)},u(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,i=e.length,n=[];for(r=0;r<i;r+=1)n[r]=-e[r];return n}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=_typeof(e),i=_typeof(t);if("string"===r||"string"===i)return e+t;if(isNumerable(r,e)&&isNumerable(i,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,s=[];n<a||n<o;)("number"==typeof e[n]||e[n]instanceof Number)&&("number"==typeof t[n]||t[n]instanceof Number)?s[n]=e[n]+t[n]:s[n]=void 0===t[n]?e[n]:e[n]||t[n],n+=1;return s}return 0}var add=sum;function sub(e,t){var r=_typeof(e),i=_typeof(t);if(isNumerable(r,e)&&isNumerable(i,t))return"string"===r&&(e=parseInt(e,10)),"string"===i&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var n=0,a=e.length,o=t.length,s=[];n<a||n<o;)("number"==typeof e[n]||e[n]instanceof Number)&&("number"==typeof t[n]||t[n]instanceof Number)?s[n]=e[n]-t[n]:s[n]=void 0===t[n]?e[n]:e[n]||t[n],n+=1;return s}return 0}function mul(e,t){var r,i,n,a=_typeof(e),o=_typeof(t);if(isNumerable(a,e)&&isNumerable(o,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(o,t)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e[i]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e*t[i];return r}return 0}function div(e,t){var r,i,n,a=_typeof(e),o=_typeof(t);if(isNumerable(a,e)&&isNumerable(o,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(o,t)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e[i]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=e/t[i];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var i=r;r=t,t=i}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var i=Math.min(e.length,t.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(t[r]-e[r],2);return Math.sqrt(n)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,i=e[0],n=e[1],a=e[2],o=Math.max(i,n,a),s=Math.min(i,n,a),l=(o+s)/2;if(o===s)t=0,r=0;else{var d=o-s;switch(r=l>.5?d/(2-o-s):d/(o+s),o){case i:t=(n-a)/d+(n<a?6:0);break;case n:t=(a-i)/d+2;break;case a:t=(i-n)/d+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,i,n=e[0],a=e[1],o=e[2];if(0===a)t=o,i=o,r=o;else{var s=o<.5?o*(1+a):o+a-o*a,l=2*o-s;t=hue2rgb(l,s,n+1/3),r=hue2rgb(l,s,n),i=hue2rgb(l,s,n-1/3)}return[t,r,i,e[3]]}function linear(e,t,r,i,n){if(void 0!==i&&void 0!==n||(i=t,n=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return i;if(e>=r)return n;var o,s=r===t?0:(e-t)/(r-t);if(!i.length)return i+(n-i)*s;var l=i.length,d=createTypedArray("float32",l);for(o=0;o<l;o+=1)d[o]=i[o]+(n[o]-i[o])*s;return d}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,i=t.length;e||(e=createTypedArray("float32",i));var n=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)n[r]=e[r]+a*(t[r]-e[r]);return n}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,i){var n,a=e.length,o=shapePool.newElement();o.setPathData(!!i,a);var s,l,d=[0,0];for(n=0;n<a;n+=1)s=t&&t[n]?t[n]:d,l=r&&r[n]?r[n]:d,o.setTripleAt(e[n][0],e[n][1],l[0]+e[n][0],l[1]+e[n][1],s[0]+e[n][0],s[1]+e[n][1],n,!0);return o}function initiateExpression(elem,data,property){function noOp(e){return e}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,i,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n),o=Math.floor(5*time);for(r=0,i=0;r<o;){for(i=0;i<n;i+=1)a[i]+=-t+2*t*BMMath.random();r+=1}var s=5*time,l=s-Math.floor(s),d=createTypedArray("float32",n);if(n>1){for(i=0;i<n;i+=1)d[i]=this.pv[i]+a[i]+(-t+2*t*BMMath.random())*l;return d}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(e,t,r,i,n){return applyEase(easeOutBez,e,t,r,i,n)}function easeIn(e,t,r,i,n){return applyEase(easeInBez,e,t,r,i,n)}function ease(e,t,r,i,n){return applyEase(easeInOutBez,e,t,r,i,n)}function applyEase(e,t,r,i,n,a){void 0===n?(n=r,a=i):t=(t-r)/(i-r),t>1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(n)){var s,l=n.length,d=createTypedArray("float32",l);for(s=0;s<l;s+=1)d[s]=(a[s]-n[s])*o+n[s];return d}return(a-n)*o+n}function nearestKey(e){var t,r,i,n=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(t=0;t<n-1;t+=1){if(e===data.k[t].t){r=t+1,i=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,i=data.k[t+1].t):(r=t+1,i=data.k[t].t);break}}-1===r&&(r=t+1,i=data.k[t].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(e){var t,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var n=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(i=n.length,r=0;r<i;r+=1)t[r]=n[r],t.value[r]=n[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),i=0;if(t.length){var n;for(n=0;n<t.length;n+=1)i+=Math.pow(r[n]-t[n],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,i=-.001,n=this.getValueAtTime(e),a=this.getValueAtTime(e+i);if(n.length)for(t=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)t[r]=(a[r]-n[r])/i;else t=(a-n)/i;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var i,n,a,o,s,l=this.comp.renderedFrame,d=this.keyframes,p=d[d.length-1].t;if(l<=p)return this.pv;if(r?n=p-(i=t?Math.abs(p-this.elem.comp.globalData.frameRate*t):Math.max(0,p-this.elem.data.ip)):((!t||t>d.length-1)&&(t=d.length-1),i=p-(n=d[d.length-1-t].t)),"pingpong"===e){if(Math.floor((l-n)/i)%2!=0)return this.getValueAtTime((i-(l-n)%i+n)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(n/this.comp.globalData.frameRate,0),u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),h=this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0),m=Math.floor((l-n)/i);if(this.pv.length){for(o=(s=new Array(c.length)).length,a=0;a<o;a+=1)s[a]=(u[a]-c[a])*m+h[a];return s}return(u-c)*m+h}if("continue"===e){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(s=new Array(f.length)).length,a=0;a<o;a+=1)s[a]=f[a]+(f[a]-y[a])*((l-p)/this.comp.globalData.frameRate)/5e-4;return s}return f+(l-p)/.001*(f-y)}}return this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var i,n,a,o,s,l=this.comp.renderedFrame,d=this.keyframes,p=d[0].t;if(l>=p)return this.pv;if(r?n=p+(i=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-p)):((!t||t>d.length-1)&&(t=d.length-1),i=(n=d[t].t)-p),"pingpong"===e){if(Math.floor((p-l)/i)%2==0)return this.getValueAtTime(((p-l)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(n/this.comp.globalData.frameRate,0),h=this.getValueAtTime((i-(p-l)%i+p)/this.comp.globalData.frameRate,0),m=Math.floor((p-l)/i)+1;if(this.pv.length){for(o=(s=new Array(c.length)).length,a=0;a<o;a+=1)s[a]=h[a]-(u[a]-c[a])*m;return s}return h-(u-c)*m}if("continue"===e){var f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(o=(s=new Array(f.length)).length,a=0;a<o;a+=1)s[a]=f[a]+(f[a]-y[a])*(p-l)/.001;return s}return f+(f-y)*(p-l)/.001}}return this.getValueAtTime((i-((p-l)%i+p))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,i,n=this.comp.renderedFrame/this.comp.globalData.frameRate,a=n-e,o=t>1?(n+e-a)/(t-1):1,s=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;s<t;){if(i=this.getValueAtTime(a+s*o),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=i[l];else r+=i;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}function i(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(e);t.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(e),a=this.sa.getValueAtTime(e);t.skewFromAxis(-n*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var o=this.r.getValueAtTime(e);t.rotate(-o*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var s=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),d=this.rx.getValueAtTime(e),p=this.or.getValueAtTime(e);t.rotateZ(-s*this.rz.mult).rotateY(l*this.ry.mult).rotateX(d*this.rx.mult).rotateZ(-p[2]*this.or.mult).rotateY(p[1]*this.or.mult).rotateX(p[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var c=this.px.getValueAtTime(e),u=this.py.getValueAtTime(e);if(this.data.p.z){var h=this.pz.getValueAtTime(e);t.translate(c*this.px.mult,u*this.py.mult,-h*this.pz.mult)}else t.translate(c*this.px.mult,u*this.py.mult,0)}else{var m=this.p.getValueAtTime(e);t.translate(m[0]*this.p.mult,m[1]*this.p.mult,-m[2]*this.p.mult)}return t}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var o=a(e,t,r);return o.dynamicProperties.length?o.getValueAtTime=i.bind(o):o.getValueAtTime=n.bind(o),o.setGroupProperty=expressionHelpers.setGroupProperty,o};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(i,n,a,s,l){var d=o(i,n,a,s,l);d.kf?d.getValueAtTime=expressionHelpers.getValueAtTime.bind(d):d.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(d),d.setGroupProperty=expressionHelpers.setGroupProperty,d.loopOut=e,d.loopIn=t,d.smooth=r,d.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(d),d.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(d),d.numKeys=1===n.a?n.k.length:0,d.propertyIndex=n.ix;var p=0;return 0!==a&&(p=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),d._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(i,n,d),d.k&&l.addDynamicProperty(d),d};var s=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function d(){}d.prototype={vertices:function(e,t){this.k&&this.getValue();var r,i=this.v;void 0!==t&&(i=this.getValueAtTime(t,0));var n=i._length,a=i[e],o=i.v,s=createSizedArray(n);for(r=0;r<n;r+=1)s[r]="i"===e||"o"===e?[a[r][0]-o[r][0],a[r][1]-o[r][1]]:[a[r][0],a[r][1]];return s},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,n=this._segmentsLength,a=n.lengths,o=n.totalLength*e,s=0,l=a.length,d=0;s<l;){if(d+a[s].addedLength>o){var p=s,c=r.c&&s===l-1?0:s+1,u=(o-d)/a[s].addedLength;i=bez.getPointInSegment(r.v[p],r.v[c],r.o[p],r.i[c],u,a[s]);break}d+=a[s].addedLength,s+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var i=this.pointOnPath(e,t),n=this.pointOnPath(e+.001,t),a=n[0]-i[0],o=n[1]-i[1],s=Math.sqrt(Math.pow(a,2)+Math.pow(o,2));return 0===s?[0,0]:"tangent"===r?[a/s,o/s]:[-o/s,a/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([d],s),extendPrototype([d],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var p=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,i,n){var a=p(e,t,r,i,n);return a.propertyIndex=t.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,a):4===r&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var i={};return this.copyData(i,e),i.t=r.toString(),i.__complete=!1,i}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(e,t){var r,i,n=createNS("feMerge");for(n.setAttribute("result",e),i=0;i<t.length;i+=1)(r=createNS("feMergeNode")).setAttribute("in",t[i]),n.appendChild(r),n.appendChild(r);return n}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(e,t,r,i,n){this.filterManager=t;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",i+"_tint_1"),e.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);e.appendChild(o)}function SVGFillFilter(e,t,r,i){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),e.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,i){this.filterManager=t;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),e.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var s=createNS("feFuncG");s.setAttribute("type","table"),a.appendChild(s),this.feFuncG=s;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}function SVGProLevelsFilter(e,t,r,i){this.filterManager=t;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),e.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(e,t,r,i,n){var a=t.container.globalData.renderConfig.filterSize,o=t.data.fs||a;e.setAttribute("x",o.x||a.x),e.setAttribute("y",o.y||a.y),e.setAttribute("width",o.width||a.width),e.setAttribute("height",o.height||a.height),this.filterManager=t;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",i+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,e.appendChild(s);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var d=createNS("feFlood");d.setAttribute("flood-color","#00ff00"),d.setAttribute("flood-opacity","1"),d.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=d,e.appendChild(d);var p=createNS("feComposite");p.setAttribute("in",i+"_drop_shadow_3"),p.setAttribute("in2",i+"_drop_shadow_2"),p.setAttribute("operator","in"),p.setAttribute("result",i+"_drop_shadow_4"),e.appendChild(p);var c=this.createMergeNode(i,[i+"_drop_shadow_4",n]);e.appendChild(c)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,i,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=1+(r=this.filterManager.effectElements[0].p.v-1),(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<i;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var s=createNS("g");for(s.setAttribute("mask","url("+getLocationHref()+"#"+o+")");n[0];)s.appendChild(n[0]);this.elem.layerElement.appendChild(s),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){var t;this.initialized||this.initialize();var r,i,n=this.paths.length;for(t=0;t<n;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],i=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var o=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),s=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=i.getTotalLength();a="0 0 0 "+l*o+" ";var d,p=l*(s-o),c=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,u=Math.floor(p/c);for(d=0;d<u;d+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var h=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*h[0])+","+bmFloor(255*h[1])+","+bmFloor(255*h[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+t[0],a=i[1]+" "+r[1]+" "+t[1],o=i[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,i,n){for(var a,o,s=0,l=Math.min(e,t),d=Math.max(e,t),p=Array.call(null,{length:256}),c=0,u=n-i,h=t-e;s<=256;)o=(a=s/256)<=l?h<0?n:i:a>=d?h<0?i:n:i+u*Math.pow((a-e)/h,1/r),p[c]=o,c+=1,s+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||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((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,i){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("result",i),e.appendChild(n),this.feGaussianBlur=n}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var i,n=r.children,a=0,o=n.length;a<o&&n[a]!==e.layerElement;)a+=1;a<=o-2&&(i=n[a+1]);var s=createNS("use");s.setAttribute("href","#"+t),i?r.insertBefore(s,i):r.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",t.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var n=e.globalData.defs;n.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),n.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+r),i.appendChild(o),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,i=t.length;r<i;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:t,n=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+n);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=factory())})(lottie$1,lottie$1.exports);var lottie=lottie$1.exports;function _iterableToArrayLimit$2(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,n,a,o,s=[],l=!0,d=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){d=!0,n=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(d)throw n}}return s}}function ownKeys$2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$2(Object(r),!0).forEach((function(t){_defineProperty$2(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$2(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty$2(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectWithoutPropertiesLoose$1(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}function _objectWithoutProperties$1(e,t){if(null==e)return{};var r,i,n=_objectWithoutPropertiesLoose$1(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _slicedToArray$2(e,t){return _arrayWithHoles$2(e)||_iterableToArrayLimit$2(e,t)||_unsupportedIterableToArray$3(e,t)||_nonIterableRest$2()}function _arrayWithHoles$2(e){if(Array.isArray(e))return e}function _unsupportedIterableToArray$3(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray$3(e,t):void 0}}function _arrayLikeToArray$3(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _nonIterableRest$2(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _toPrimitive(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function _toPropertyKey(e){var t=_toPrimitive(e,"string");return"symbol"==typeof t?t:String(t)}var _excluded$1=["animationData","loop","autoplay","initialSegment","onComplete","onLoopComplete","onEnterFrame","onSegmentStart","onConfigReady","onDataReady","onDataFailed","onLoadedImages","onDOMLoaded","onDestroy","lottieRef","renderer","name","assetsPath","rendererSettings"],useLottie=function(e,t){var r=e.animationData,i=e.loop,n=e.autoplay,a=e.initialSegment,o=e.onComplete,s=e.onLoopComplete,l=e.onEnterFrame,d=e.onSegmentStart,p=e.onConfigReady,c=e.onDataReady,u=e.onDataFailed,h=e.onLoadedImages,m=e.onDOMLoaded,f=e.onDestroy;e.lottieRef,e.renderer,e.name,e.assetsPath,e.rendererSettings;var y=_objectWithoutProperties$1(e,_excluded$1),g=_slicedToArray$2(React.useState(!1),2),x=g[0],_=g[1],b=React.useRef(),v=React.useRef(null);return React.useEffect((function(){var t=function(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(v.current){null===(t=b.current)||void 0===t||t.destroy();var i=_objectSpread2(_objectSpread2(_objectSpread2({},e),r),{},{container:v.current});return b.current=lottie.loadAnimation(i),_(!!b.current),function(){var e;null===(e=b.current)||void 0===e||e.destroy(),b.current=void 0}}}();return function(){return null==t?void 0:t()}}),[r,i]),React.useEffect((function(){b.current&&(b.current.autoplay=!!n)}),[n]),React.useEffect((function(){b.current&&(a?Array.isArray(a)&&a.length&&((b.current.currentRawFrame<a[0]||b.current.currentRawFrame>a[1])&&(b.current.currentRawFrame=a[0]),b.current.setSegment(a[0],a[1])):b.current.resetSegments(!0))}),[a]),React.useEffect((function(){var e=[{name:"complete",handler:o},{name:"loopComplete",handler:s},{name:"enterFrame",handler:l},{name:"segmentStart",handler:d},{name:"config_ready",handler:p},{name:"data_ready",handler:c},{name:"data_failed",handler:u},{name:"loaded_images",handler:h},{name:"DOMLoaded",handler:m},{name:"destroy",handler:f}].filter((function(e){return null!=e.handler}));if(e.length){var t=e.map((function(e){var t;return null===(t=b.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=b.current)||void 0===t||t.removeEventListener(e.name,e.handler)}}));return function(){t.forEach((function(e){return e()}))}}}),[o,s,l,d,p,c,u,h,m,f]),{View:React__default.default.createElement("div",_objectSpread2({style:t,ref:v},y)),play:function(){var e;null===(e=b.current)||void 0===e||e.play()},stop:function(){var e;null===(e=b.current)||void 0===e||e.stop()},pause:function(){var e;null===(e=b.current)||void 0===e||e.pause()},setSpeed:function(e){var t;null===(t=b.current)||void 0===t||t.setSpeed(e)},goToAndStop:function(e,t){var r;null===(r=b.current)||void 0===r||r.goToAndStop(e,t)},goToAndPlay:function(e,t){var r;null===(r=b.current)||void 0===r||r.goToAndPlay(e,t)},setDirection:function(e){var t;null===(t=b.current)||void 0===t||t.setDirection(e)},playSegments:function(e,t){var r;null===(r=b.current)||void 0===r||r.playSegments(e,t)},setSubframe:function(e){var t;null===(t=b.current)||void 0===t||t.setSubframe(e)},getDuration:function(e){var t;return null===(t=b.current)||void 0===t?void 0:t.getDuration(e)},destroy:function(){var e;null===(e=b.current)||void 0===e||e.destroy(),b.current=void 0},animationContainerRef:v,animationLoaded:x,animationItem:b.current}},v$3="4.10.1",fr$2=24,ip$2=0,op$2=72,w$3=250,h$3=250,nm$1="Comp 1",ddd$2=0,assets$2=[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Capa de formas 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:24,s:[81.5,370.25,0],e:[445.5,199.25,0],to:[60.6666679382324,-28.5,0],ti:[-60.6666679382324,28.5,0]},{t:48}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[43,43,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[28,0],[34.935,-19.483],[31.619,18.821],[33,-14],[57,29],[0,0],[0,0],[0,0]],o:[[-28,0],[-52,29],[-42,-25],[-28.892,12.257],[-57,-29],[0,0],[0,0],[0,0]],v:[[367.75,-97],[277,-75],[155,-82],[35,-82],[-94,-82.326],[-200,-74],[-352.07,320.209],[499.162,354.093]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.9372549019607843,.2549019607843137,.23921568627450981,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Forma 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:144,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Capa de formas 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:24,s:[-133,374,0],e:[231,203,0],to:[60.6666679382324,-28.5,0],ti:[-60.6666679382324,28.5,0]},{t:48}],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[43,43,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[28,0],[34.935,-19.483],[31.619,18.821],[33,-14],[57,29],[0,0],[0,0],[0,0]],o:[[-28,0],[-52,29],[-42,-25],[-28.892,12.257],[-57,-29],[0,0],[0,0],[0,0]],v:[[367.75,-97],[277,-75],[155,-82],[35,-82],[-94,-82.326],[-200,-74],[-352.07,320.209],[499.162,354.093]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.9372549019607843,.2549019607843137,.23921568627450981,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Forma 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:144,st:0,bm:0}]}],layers$2=[{ddd:0,ind:1,ty:4,nm:"Capa de formas 5",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:15,s:[100],e:[0]},{t:16}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[124.375,-8.75,0],e:[199,156,0],to:[0,28.3333339691162,0],ti:[0,-28.9375,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:12,s:[124.375,97.5,0],e:[199,164.066,0],to:[0,4.54861259460449,0],ti:[0,-2.45892143249512,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:13,s:[124.375,102.54125,0],e:[199,166.125,0],to:[0,13.1843204498291,0],ti:[0,-1.72074222564697,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:14,s:[124.375,103.828125,0],e:[199,168.375,0],to:[0,2.04166674613953,0],ti:[0,-.04166666790843,0]},{t:15}],ix:2},a:{a:0,k:[-1,-182.375,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[31.25,31.25,100],e:[31.25,58.75,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:12,s:[31.25,58.75,100],e:[43.75,27.083125,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:13,s:[43.75,27.083125,100],e:[65.16125000000001,20,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:14,s:[65.16125000000001,20,100],e:[132.5,11.25,100]},{t:15}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[.938,0],[0,-5.25],[-4.563,.125],[.108,4.624]],o:[[-.813,.125],[0,4.813],[4.563,-.125],[-.125,-5.375]],v:[[-1.344,-193.078],[-8.75,-180.5],[-1.063,-172.313],[6.938,-180.188]],c:!0},ix:2},nm:"Trazado 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.2549019607843137,.25098039215686274,.25882352941176473,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Forma 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:8,ty:4,nm:"Capa de formas 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:46,s:[0],e:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:47,s:[100],e:[100]},{t:48}],ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:47,s:[124.98749999999998,105.15625,0],e:[199.98,158.037,0],to:[0,-.20375619828701,0],ti:[0,17.58864402771,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:48,s:[124.98749999999998,98.77312500000001,0],e:[199.98,-10,0],to:[-28421709430404e-27,-50.4047393798828,0],ti:[0,1.17485654354095,0]},{t:53}],ix:2},a:{a:0,k:[-32,-31,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:47,s:[-2.5,.625,100],e:[.9375,2.5,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:48,s:[.9375,2.5,100],e:[1.25,1.875,100]},{t:53}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[308,308],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Trazado elíptico 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[.2549019607843137,.25098039215686274,.25882352941176473,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-31,-31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Elipse 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:9,ty:4,nm:"Capa de formas 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[124.375,158.125,0],ix:2},a:{a:0,k:[-32,-31,0],ix:1},s:{a:0,k:[34.375,34.375,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[308,308],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Trazado elíptico 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.2549019607843137,.25098039215686274,.25882352941176473,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},lc:1,lj:1,ml:4,nm:"Trazo 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[-31,-31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Elipse 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:12,s:[50],e:[100]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:24,s:[100],e:[50]},{t:48}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:12,s:[50],e:[0]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},n:["0p833_0p833_0p167_0p167"],t:24,s:[0],e:[50]},{t:48}],ix:2},o:{a:0,k:180,ix:3},m:1,ix:2,nm:"Recortar trazados 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:10,ty:4,nm:"Capa de formas 1",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[124.375,158.125,0],ix:2},a:{a:0,k:[-32,-31,0],ix:1},s:{a:0,k:[31.25,31.25,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[308,308],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Trazado elíptico 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"fl",c:{a:0,k:[.913725490196,.347995563582,.03941561007,1],ix:4},o:{a:0,k:100,ix:5},r:1,nm:"Relleno 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[-31,-31],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transformar"}],nm:"Elipse 1",np:3,cix:2,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:60,st:0,bm:0},{ddd:0,ind:11,ty:0,nm:"Precomp. 1",tt:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[125,125,0],ix:2},a:{a:0,k:[200,200,0],ix:1},s:{a:0,k:[62.5,62.5,100],ix:6}},ao:0,w:400,h:400,ip:0,op:144,st:0,bm:0}],animationData$2={v:v$3,fr:fr$2,ip:ip$2,op:op$2,w:w$3,h:h$3,nm:nm$1,ddd:ddd$2,assets:assets$2,layers:layers$2};const LottieSpinner=()=>{const e={animationData:animationData$2,loop:!0,autoplay:!0,style:{height:"200px",width:"200px"}},{View:t}=useLottie(e);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:t})},LoadingSpinner=e=>jsxRuntime.jsx(Container$v,{...e,children:jsxRuntime.jsx(LottieSpinner,{})}),Container$v=styled__default.default.div`
|
|
393
393
|
margin: 0 auto;
|
|
394
394
|
padding: 1rem 2rem 4rem;
|
|
395
395
|
`;var v$2="5.7.4",fr$1=120,ip$1=0,op$1=180,w$2=640,h$2=160,nm="Loading Orb",ddd$1=0,assets$1=[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:60,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:75,s:[50]},{t:100,s:[100]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.984,80.047,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:60,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:75,s:[150,150,100]},{t:100,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[100,100],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.109803922474,.46274510026,.835294127464,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[.016,-.047],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,bm:0}]},{id:"comp_1",layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:76,s:[50]},{t:101,s:[100]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.984,80.047,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:61,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:76,s:[150,150,100]},{t:101,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[100,100],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.584313750267,.607843160629,.772549033165,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[.016,-.047],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,bm:0}]},{id:"comp_2",layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:59,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:74,s:[50]},{t:99,s:[100]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.984,80.047,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:59,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:74,s:[150,150,100]},{t:99,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[100,100],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.341176480055,.662745118141,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[.016,-.047],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,bm:0}]},{id:"comp_3",layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:59,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:74,s:[50]},{t:99,s:[100]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.984,80.047,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:59,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:74,s:[150,150,100]},{t:99,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[100,100],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.949019610882,.40000000596,.392156869173,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[.016,-.047],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,bm:0}]},{id:"comp_4",layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:59,s:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:74,s:[50]},{t:99,s:[100]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[79.984,80.047,0],ix:2,l:2},a:{a:0,k:[0,0,0],ix:1,l:2},s:{a:1,k:[{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:59,s:[100,100,100]},{i:{x:[.667,.667,.667],y:[1,1,1]},o:{x:[.333,.333,.333],y:[0,0,0]},t:74,s:[150,150,100]},{t:99,s:[100,100,100]}],ix:6,l:2}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[100,100],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.937254905701,.254901975393,.239215686917,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[.016,-.047],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:240,st:0,bm:0}]}],layers$1=[{ddd:0,ind:1,ty:0,nm:"Orb 1",refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[80,80,0],ix:2,l:2},a:{a:0,k:[80,80,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:160,h:160,ip:-1,op:181,st:-59,bm:0},{ddd:0,ind:2,ty:0,nm:"Orb 2",refId:"comp_1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[200,80,0],ix:2,l:2},a:{a:0,k:[80,80,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:160,h:160,ip:0,op:191,st:-49,bm:0},{ddd:0,ind:3,ty:0,nm:"Orb 3",refId:"comp_2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[320,80,0],ix:2,l:2},a:{a:0,k:[80,80,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:160,h:160,ip:0,op:201,st:-39,bm:0},{ddd:0,ind:4,ty:0,nm:"Orb 4",refId:"comp_3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[440,80,0],ix:2,l:2},a:{a:0,k:[80,80,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:160,h:160,ip:0,op:211,st:-29,bm:0},{ddd:0,ind:5,ty:0,nm:"Orb 5",refId:"comp_4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[560,80,0],ix:2,l:2},a:{a:0,k:[80,80,0],ix:1,l:2},s:{a:0,k:[100,100,100],ix:6,l:2}},ao:0,w:160,h:160,ip:0,op:221,st:-19,bm:0}],markers=[],animationData$1={v:v$2,fr:fr$1,ip:ip$1,op:op$1,w:w$2,h:h$2,nm:nm,ddd:ddd$1,assets:assets$1,layers:layers$1,markers:markers};const LottieLoadingDots=()=>{const e={animationData:animationData$1,loop:!0,autoplay:!0,style:{height:"16px",width:"64px"}},{View:t}=useLottie(e);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:t})},LoadingDots=e=>jsxRuntime.jsx(Container$u,{...e,children:jsxRuntime.jsx(LottieLoadingDots,{})}),Container$u=styled__default.default.div`
|
|
396
396
|
margin: 0 auto;
|
|
397
|
-
`,BaseTheme={[exports.ThemeContextKeys.colorScheme]:"base",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"base"},BookingSGTheme={[exports.ThemeContextKeys.colorScheme]:"bookingsg",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"bookingsg"},RBSTheme={[exports.ThemeContextKeys.colorScheme]:"rbs",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"rbs",[exports.ThemeContextKeys.resourceScheme]:"rbs"};var lib={},lodash_clonedeep={exports:{}};!function(e,t){var r="__lodash_hash_undefined__",i=9007199254740991,n="[object Arguments]",a="[object Boolean]",o="[object Date]",s="[object Function]",l="[object GeneratorFunction]",d="[object Map]",p="[object Number]",c="[object Object]",u="[object Promise]",h="[object RegExp]",m="[object Set]",f="[object String]",y="[object Symbol]",g="[object WeakMap]",x="[object ArrayBuffer]",_="[object DataView]",b="[object Float32Array]",v="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",$="[object Int32Array]",w="[object Uint8Array]",T="[object Uint8ClampedArray]",R="[object Uint16Array]",E="[object Uint32Array]",k=/\w*$/,A=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,j={};j[n]=j["[object Array]"]=j[x]=j[_]=j[a]=j[o]=j[b]=j[v]=j[S]=j[C]=j[$]=j[d]=j[p]=j[c]=j[h]=j[m]=j[f]=j[y]=j[w]=j[T]=j[R]=j[E]=!0,j["[object Error]"]=j[s]=j[g]=!1;var I="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,P="object"==typeof self&&self&&self.Object===Object&&self,M=I||P||Function("return this")(),F=t&&!t.nodeType&&t,O=F&&e&&!e.nodeType&&e,L=O&&O.exports===F;function B(e,t){return e.set(t[0],t[1]),e}function N(e,t){return e.add(t),e}function V(e,t,r,i){var n=-1,a=e?e.length:0;for(i&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r}function H(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function z(e){var t=-1,r=Array(e.size);return e.forEach((function(e,i){r[++t]=[i,e]})),r}function W(e,t){return function(r){return e(t(r))}}function G(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var U=Array.prototype,q=Function.prototype,Y=Object.prototype,Q=M["__core-js_shared__"],K=function(){var e=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),X=q.toString,Z=Y.hasOwnProperty,J=Y.toString,ee=RegExp("^"+X.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=L?M.Buffer:void 0,re=M.Symbol,ie=M.Uint8Array,ne=W(Object.getPrototypeOf,Object),ae=Object.create,oe=Y.propertyIsEnumerable,se=U.splice,le=Object.getOwnPropertySymbols,de=te?te.isBuffer:void 0,pe=W(Object.keys,Object),ce=Fe(M,"DataView"),ue=Fe(M,"Map"),he=Fe(M,"Promise"),me=Fe(M,"Set"),fe=Fe(M,"WeakMap"),ye=Fe(Object,"create"),ge=Ve(ce),xe=Ve(ue),_e=Ve(he),be=Ve(me),ve=Ve(fe),Se=re?re.prototype:void 0,Ce=Se?Se.valueOf:void 0;function $e(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function we(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Te(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Re(e){this.__data__=new we(e)}function Ee(e,t){var r=ze(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(e)}(e)&&Z.call(e,"callee")&&(!oe.call(e,"callee")||J.call(e)==n)}(e)?function(e,t){for(var r=-1,i=Array(e);++r<e;)i[r]=t(r);return i}(e.length,String):[],i=r.length,a=!!i;for(var o in e)!t&&!Z.call(e,o)||a&&("length"==o||Be(o,i))||r.push(o);return r}function ke(e,t,r){var i=e[t];Z.call(e,t)&&He(i,r)&&(void 0!==r||t in e)||(e[t]=r)}function Ae(e,t){for(var r=e.length;r--;)if(He(e[r][0],t))return r;return-1}function De(e,t,r,i,u,g,A){var D;if(i&&(D=g?i(e,u,g,A):i(e)),void 0!==D)return D;if(!qe(e))return e;var I=ze(e);if(I){if(D=function(e){var t=e.length,r=e.constructor(t);t&&"string"==typeof e[0]&&Z.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!t)return function(e,t){var r=-1,i=e.length;t||(t=Array(i));for(;++r<i;)t[r]=e[r];return t}(e,D)}else{var P=Le(e),M=P==s||P==l;if(Ge(e))return function(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}(e,t);if(P==c||P==n||M&&!g){if(H(e))return g?e:{};if(D=function(e){return"function"!=typeof e.constructor||Ne(e)?{}:(t=ne(e),qe(t)?ae(t):{});var t}(M?{}:e),!t)return function(e,t){return Pe(e,Oe(e),t)}(e,function(e,t){return e&&Pe(t,Ye(t),e)}(D,e))}else{if(!j[P])return g?e:{};D=function(e,t,r,i){var n=e.constructor;switch(t){case x:return Ie(e);case a:case o:return new n(+e);case _:return function(e,t){var r=t?Ie(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,i);case b:case v:case S:case C:case $:case w:case T:case R:case E:return function(e,t){var r=t?Ie(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}(e,i);case d:return function(e,t,r){var i=t?r(z(e),!0):z(e);return V(i,B,new e.constructor)}(e,i,r);case p:case f:return new n(e);case h:return function(e){var t=new e.constructor(e.source,k.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,r){var i=t?r(G(e),!0):G(e);return V(i,N,new e.constructor)}(e,i,r);case y:return s=e,Ce?Object(Ce.call(s)):{}}var s}(e,P,De,t)}}A||(A=new Re);var F=A.get(e);if(F)return F;if(A.set(e,D),!I)var O=r?function(e){return function(e,t,r){var i=t(e);return ze(e)?i:function(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}(i,r(e))}(e,Ye,Oe)}(e):Ye(e);return function(e,t){for(var r=-1,i=e?e.length:0;++r<i&&!1!==t(e[r],r,e););}(O||e,(function(n,a){O&&(n=e[a=n]),ke(D,a,De(n,t,r,i,a,e,A))})),D}function je(e){return!(!qe(e)||(t=e,K&&K in t))&&(Ue(e)||H(e)?ee:A).test(Ve(e));var t}function Ie(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Pe(e,t,r,i){r||(r={});for(var n=-1,a=t.length;++n<a;){var o=t[n],s=i?i(r[o],e[o],o,r,e):void 0;ke(r,o,void 0===s?e[o]:s)}return r}function Me(e,t){var r,i,n=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof t?"string":"hash"]:n.map}function Fe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return je(r)?r:void 0}$e.prototype.clear=function(){this.__data__=ye?ye(null):{}},$e.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},$e.prototype.get=function(e){var t=this.__data__;if(ye){var i=t[e];return i===r?void 0:i}return Z.call(t,e)?t[e]:void 0},$e.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:Z.call(t,e)},$e.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},we.prototype.clear=function(){this.__data__=[]},we.prototype.delete=function(e){var t=this.__data__,r=Ae(t,e);return!(r<0)&&(r==t.length-1?t.pop():se.call(t,r,1),!0)},we.prototype.get=function(e){var t=this.__data__,r=Ae(t,e);return r<0?void 0:t[r][1]},we.prototype.has=function(e){return Ae(this.__data__,e)>-1},we.prototype.set=function(e,t){var r=this.__data__,i=Ae(r,e);return i<0?r.push([e,t]):r[i][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new $e,map:new(ue||we),string:new $e}},Te.prototype.delete=function(e){return Me(this,e).delete(e)},Te.prototype.get=function(e){return Me(this,e).get(e)},Te.prototype.has=function(e){return Me(this,e).has(e)},Te.prototype.set=function(e,t){return Me(this,e).set(e,t),this},Re.prototype.clear=function(){this.__data__=new we},Re.prototype.delete=function(e){return this.__data__.delete(e)},Re.prototype.get=function(e){return this.__data__.get(e)},Re.prototype.has=function(e){return this.__data__.has(e)},Re.prototype.set=function(e,t){var r=this.__data__;if(r instanceof we){var i=r.__data__;if(!ue||i.length<199)return i.push([e,t]),this;r=this.__data__=new Te(i)}return r.set(e,t),this};var Oe=le?W(le,Object):function(){return[]},Le=function(e){return J.call(e)};function Be(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<t}function Ne(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Y)}function Ve(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){return e===t||e!=e&&t!=t}(ce&&Le(new ce(new ArrayBuffer(1)))!=_||ue&&Le(new ue)!=d||he&&Le(he.resolve())!=u||me&&Le(new me)!=m||fe&&Le(new fe)!=g)&&(Le=function(e){var t=J.call(e),r=t==c?e.constructor:void 0,i=r?Ve(r):void 0;if(i)switch(i){case ge:return _;case xe:return d;case _e:return u;case be:return m;case ve:return g}return t});var ze=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!Ue(e)}var Ge=de||function(){return!1};function Ue(e){var t=qe(e)?J.call(e):"";return t==s||t==l}function qe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return We(e)?Ee(e):function(e){if(!Ne(e))return pe(e);var t=[];for(var r in Object(e))Z.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return De(e,!0,!0)}}(lodash_clonedeep,lodash_clonedeep.exports);var __spreadArrays=commonjsGlobal&&commonjsGlobal.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var i=Array(e),n=0;for(t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,n++)i[n]=a[o];return i},__importDefault=commonjsGlobal&&commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(lib,"__esModule",{value:!0});var getColors=lib.getColors=flatten$1=lib.flatten=lib.replaceColor=lib.colorify=void 0,lodash_clonedeep_1=__importDefault(lodash_clonedeep.exports);lib.colorify=function(e,t){void 0===e&&(e=[]);for(var r=[],i=0,n=e;i<n.length;i++){var a=n[i];r.push(convertColorToLottieColor(a))}return modifyColors(r,lodash_clonedeep_1.default(t))};var convertColorToLottieColor=function(e){if("string"==typeof e&&e.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(!t)throw new Error("Color can be only hex or rgb array (ex. [10,20,30])");return[Math.round(parseInt(t[1],16)/255*1e3)/1e3,Math.round(parseInt(t[2],16)/255*1e3)/1e3,Math.round(parseInt(t[3],16)/255*1e3)/1e3]}if("object"==typeof e&&3===e.length&&e.every((function(e){return e>=0&&e<=255})))return[Math.round(e[0]/255*1e3)/1e3,Math.round(e[1]/255*1e3)/1e3,Math.round(e[2]/255*1e3)/1e3];if(e)throw new Error("Color can be only hex or rgb array (ex. [10,20,30])")},round=function(e){return Math.round(1e3*e)/1e3};lib.replaceColor=function(e,t,r){var i=convertColorToLottieColor(e),n=convertColorToLottieColor(t);if(!i||!n)throw new Error("Proper colors must be used for both source and target");return function e(t,r,i){if(i.s&&Array.isArray(i.s)&&4===i.s.length)t[0]===i.s[0]&&t[1]===i.s[1]&&t[2]===i.s[2]&&(i.s=__spreadArrays(r,[1]));else if(i.c&&i.c.k)Array.isArray(i.c.k)&&"number"!=typeof i.c.k[0]?e(t,r,i.c.k):t[0]===round(i.c.k[0])&&t[1]===round(i.c.k[1])&&t[2]===round(i.c.k[2])&&(i.c.k=r);else for(var n in i)"object"==typeof i[n]&&e(t,r,i[n]);return i}(i,n,lodash_clonedeep_1.default(r))};var flatten$1=lib.flatten=function(e,t){var r=convertColorToLottieColor(e);if(!r)throw new Error("Proper colors must be used for target");return function e(t,r){if(r.s&&Array.isArray(r.s)&&4===r.s.length)r.s=__spreadArrays(t,[1]);else if(r.c&&r.c.k)Array.isArray(r.c.k)&&"number"!=typeof r.c.k[0]?e(t,r.c.k):r.c.k=t;else for(var i in r)"object"==typeof r[i]&&e(t,r[i]);return r}(r,lodash_clonedeep_1.default(t))},modifyColors=function(e,t){var r=0;return function e(t,i){for(var n in i.s&&Array.isArray(i.s)&&4===i.s.length?(t[r]&&(i.s=__spreadArrays(t[r],[1])),r++):i.c&&i.c.k&&(Array.isArray(i.c.k)&&"number"!=typeof i.c.k[0]?e(t,i.c.k):(t[r]&&(i.c.k=t[r]),r++)),i)"object"==typeof i[n]&&e(t,i[n]);return i}(e,t)},convertLottieColorToRgb=function(e){return[Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])]},convertLottieColorToRgba=function(e){return[Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2]),e[3]]};getColors=lib.getColors=function(e){var t=[];return function e(r){if(r.s&&Array.isArray(r.s)&&4===r.s.length)t.push(convertLottieColorToRgba(r.s));else if(r.c&&r.c.k)Array.isArray(r.c.k)&&"number"!=typeof r.c.k[0]?e(r.c.k):t.push(convertLottieColorToRgb(r.c.k));else for(var i in r)"object"==typeof r[i]&&e(r[i]);return t}(e),t};var v$1="4.5.8",fr=30,ip=0,op=60,w$1=1920,h$1=1080,ddd=0,assets=[],layers=[{ddd:0,ind:0,ty:3,nm:"position",ks:{o:{a:0,k:0},r:{a:0,k:0},p:{a:0,k:[960,540,0]},a:{a:0,k:[0,0,0]},s:{a:0,k:[100,100,100]}},ao:0,ef:[{ty:5,nm:"Elastic Controller",mn:"Pseudo/MDS Elastic Controller",ix:1,en:1,ef:[{ty:0,nm:"Amplitude",mn:"Pseudo/MDS Elastic Controller-0001",ix:1,v:{a:0,k:80}},{ty:0,nm:"Frequency",mn:"Pseudo/MDS Elastic Controller-0002",ix:2,v:{a:0,k:40}},{ty:0,nm:"Decay",mn:"Pseudo/MDS Elastic Controller-0003",ix:3,v:{a:0,k:50}}]}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:1,ty:3,nm:"scale",ks:{o:{a:0,k:0},r:{a:0,k:0},p:{a:0,k:[960,540,0]},a:{a:0,k:[0,0,0]},s:{a:0,k:[100,100,100]}},ao:0,ef:[{ty:5,nm:"Elastic Controller",mn:"Pseudo/MDS Elastic Controller",ix:1,en:1,ef:[{ty:0,nm:"Amplitude",mn:"Pseudo/MDS Elastic Controller-0001",ix:1,v:{a:0,k:100}},{ty:0,nm:"Frequency",mn:"Pseudo/MDS Elastic Controller-0002",ix:2,v:{a:0,k:40}},{ty:0,nm:"Decay",mn:"Pseudo/MDS Elastic Controller-0003",ix:3,v:{a:0,k:50}}]}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:2,ty:4,nm:"Shape Layer 8",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[1200,480,0],e:[1200,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:1,s:[1200,480,0],e:[1200,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.718},o:{x:.167,y:.083},n:"0p833_0p718_0p167_0p083",t:2,s:[1200,480,0],e:[1200,475.84,0],to:[0,-.69334012269974,0],ti:[-378956137032493e-28,2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:3,s:[1200,475.84,0],e:[1200,465.919,0],to:[378956137032493e-28,-2.3468861579895,0],ti:[378956137032493e-28,3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:4,s:[1200,465.919,0],e:[1200,454.08,0],to:[-378956137032493e-28,-3.62661719322205,0],ti:[378956137032493e-28,3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:5,s:[1200,454.08,0],e:[1200,444.16,0],to:[-378956137032493e-28,-3.62643098831177,0],ti:[-378956137032493e-28,2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:6,s:[1200,444.16,0],e:[1200,440,0],to:[378956137032493e-28,-2.34670925140381,0],ti:[-1.08608823323753e-10,.6474335193634,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:7,s:[1200,440,0],e:[1200,440.275,0],to:[1.08608823323753e-10,-.6474335193634,0],ti:[-1.76820932895616e-10,-.92485815286636,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:8,s:[1200,440.275,0],e:[1200,445.549,0],to:[1.76820932895616e-10,.92485815286636,0],ti:[-1.01332865709569e-10,-2.27932786941528,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:9,s:[1200,445.549,0],e:[1200,453.951,0],to:[1.01332865709569e-10,2.27932786941528,0],ti:[-380471938676852e-25,-3.12636637687683,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:10,s:[1200,453.951,0],e:[1200,464.307,0],to:[380471938676852e-25,3.12636637687683,0],ti:[2.09941689033322e-10,-4.34142255783081,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:11,s:[1200,464.307,0],e:[1200,480,0],to:[-2.09941689033322e-10,4.34142255783081,0],ti:[2.14868123293854e-10,-6.80449676513672,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:12,s:[1200,480,0],e:[1200,505.134,0],to:[-2.14868123293854e-10,6.80449676513672,0],ti:[0,-6.81718730926514,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:13,s:[1200,505.134,0],e:[1200,520.903,0],to:[0,6.81718730926514,0],ti:[0,-3.90351748466492,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:14,s:[1200,520.903,0],e:[1200,528.555,0],to:[0,3.90351748466492,0],ti:[0,-1.46778154373169,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:15,s:[1200,528.555,0],e:[1200,529.71,0],to:[0,1.46778154373169,0],ti:[0,.40835279226303,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:16,s:[1200,529.71,0],e:[1200,526.105,0],to:[0,-.40835279226303,0],ti:[0,1.71625697612762,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:17,s:[1200,526.105,0],e:[1200,519.412,0],to:[0,-1.71625697612762,0],ti:[0,2.50040626525879,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:18,s:[1200,519.412,0],e:[1200,511.103,0],to:[0,-2.50040626525879,0],ti:[0,2.83936166763306,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:19,s:[1200,511.103,0],e:[1200,502.376,0],to:[0,-2.83936166763306,0],ti:[0,2.82910346984863,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:20,s:[1200,502.376,0],e:[1200,494.128,0],to:[0,-2.82910346984863,0],ti:[0,2.56953763961792,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:21,s:[1200,494.128,0],e:[1200,486.959,0],to:[0,-2.56953763961792,0],ti:[0,2.15447521209717,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:22,s:[1200,486.959,0],e:[1200,481.201,0],to:[0,-2.15447521209717,0],ti:[0,1.66499769687653,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:23,s:[1200,481.201,0],e:[1200,476.969,0],to:[0,-1.66499769687653,0],ti:[0,1.16583645343781,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:24,s:[1200,476.969,0],e:[1200,474.206,0],to:[0,-1.16583645343781,0],ti:[0,.70423710346222,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:25,s:[1200,474.206,0],e:[1200,472.743,0],to:[0,-.70423710346222,0],ti:[0,.31070366501808,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:26,s:[1200,472.743,0],e:[1200,472.342,0],to:[0,-.31070366501808,0],ti:[0,.00102528964635,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:27,s:[1200,472.342,0],e:[1200,472.737,0],to:[0,-.00102528964635,0],ti:[0,-.22096036374569,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:28,s:[1200,472.737,0],e:[1200,473.668,0],to:[0,.22096036374569,0],ti:[0,-.3603213429451,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:29,s:[1200,473.668,0],e:[1200,474.899,0],to:[0,.3603213429451,0],ti:[0,-.42805504798889,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:30,s:[1200,474.899,0],e:[1200,476.236,0],to:[0,.42805504798889,0],ti:[0,-.43842709064484,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:31,s:[1200,476.236,0],e:[1200,477.53,0],to:[0,.43842709064484,0],ti:[0,-.40677306056023,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:32,s:[1200,477.53,0],e:[1200,478.677,0],to:[0,.40677306056023,0],ti:[0,-.34782794117928,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:33,s:[1200,478.677,0],e:[1200,479.617,0],to:[0,.34782794117928,0],ti:[0,-.27458295226097,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:34,s:[1200,479.617,0],e:[1200,480.324,0],to:[0,.27458295226097,0],ti:[0,-.19762142002583,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:35,s:[1200,480.324,0],e:[1200,480.803,0],to:[0,.19762142002583,0],ti:[0,-.12485805898905,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:36,s:[1200,480.803,0],e:[1200,481.074,0],to:[0,.12485805898905,0],ti:[0,-.06158968806267,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:37,s:[1200,481.074,0],e:[1200,481.172,0],to:[0,.06158968806267,0],ti:[0,-.0107651706785,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:38,s:[1200,481.172,0],e:[1200,481.138,0],to:[0,.0107651706785,0],ti:[0,.026611905545,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:39,s:[1200,481.138,0],e:[1200,481.012,0],to:[0,-.026611905545,0],ti:[0,.05102128908038,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:40,s:[1200,481.012,0],e:[1200,480.832,0],to:[0,-.05102128908038,0],ti:[0,.0639628097415,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:41,s:[1200,480.832,0],e:[1200,480.629,0],to:[0,-.0639628097415,0],ti:[0,.06753350049257,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:42,s:[1200,480.629,0],e:[1200,480.427,0],to:[0,-.06753350049257,0],ti:[0,.06407137960196,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:43,s:[1200,480.427,0],e:[1200,480.244,0],to:[0,-.06407137960196,0],ti:[0,.05587866902351,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:44,s:[1200,480.244,0],e:[1200,480.092,0],to:[0,-.05587866902351,0],ti:[0,.04502673074603,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:45,s:[1200,480.092,0],e:[1200,479.974,0],to:[0,-.04502673074603,0],ti:[0,.03323682770133,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:46,s:[1200,479.974,0],e:[1200,479.892,0],to:[0,-.03323682770133,0],ti:[0,.02182591706514,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:47,s:[1200,479.892,0],e:[1200,479.843,0],to:[0,-.02182591706514,0],ti:[0,.01170385163277,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:48,s:[1200,479.843,0],e:[1200,479.822,0],to:[0,-.01170385163277,0],ti:[0,.00340767251328,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:49,s:[1200,479.822,0],e:[1200,479.823,0],to:[0,-.00340767251328,0],ti:[0,-.00284059508704,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:50,s:[1200,479.823,0],e:[1200,479.839,0],to:[0,.00284059508704,0],ti:[0,-.00706443423405,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:51,s:[1200,479.839,0],e:[1200,479.865,0],to:[0,.00706443423405,0],ti:[0,-.00946115050465,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:52,s:[1200,479.865,0],e:[1200,479.896,0],to:[0,.00946115050465,0],ti:[0,-.01033500675112,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:53,s:[1200,479.896,0],e:[1200,479.927,0],to:[0,.01033500675112,0],ti:[0,-.0100397830829,0]},{i:{x:.833,y:.846},o:{x:.167,y:.173},n:"0p833_0p846_0p167_0p173",t:54,s:[1200,479.927,0],e:[1200,479.956,0],to:[0,.0100397830829,0],ti:[0,-.00893319491297,0]},{i:{x:.833,y:.851},o:{x:.167,y:.181},n:"0p833_0p851_0p167_0p181",t:55,s:[1200,479.956,0],e:[1200,479.981,0],to:[0,.00893319491297,0],ti:[0,-.00734389200807,0]},{i:{x:.833,y:.857},o:{x:.167,y:.189},n:"0p833_0p857_0p167_0p189",t:56,s:[1200,479.981,0],e:[1200,480,0],to:[0,.00734389200807,0],ti:[0,-.00555039569736,0]},{i:{x:.833,y:.864},o:{x:.167,y:.2},n:"0p833_0p864_0p167_0p2",t:57,s:[1200,480,0],e:[1200,480.014,0],to:[0,.00555039569736,0],ti:[0,-.00377047993243,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:58,s:[1200,480.014,0],e:[1200,480.023,0],to:[0,.00377047993243,0],ti:[0,-.00215897453018,0]},{i:{x:.833,y:.833},o:{x:.167,y:.255},n:"0p833_0p833_0p167_0p255",t:59,s:[1200,480.023,0],e:[1200,480.027,0],to:[0,.00215897453018,0],ti:[0,-.00070539524313,0]},{t:60}]},a:{a:0,k:[240,180,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:2,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:3,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:4,s:[100,-100,100],e:[101.04,-101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:5,s:[101.04,-101.04,100],e:[103.52,-103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:6,s:[103.52,-103.52,100],e:[106.48,-106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:7,s:[106.48,-106.48,100],e:[108.96,-108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:8,s:[108.96,-108.96,100],e:[110,-110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:9,s:[110,-110,100],e:[110.048,-110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:10,s:[110.048,-110.048,100],e:[108.803,-108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:11,s:[108.803,-108.803,100],e:[106.737,-106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:12,s:[106.737,-106.737,100],e:[104.153,-104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:13,s:[104.153,-104.153,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:14,s:[100,-100,100],e:[92.146,-92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:15,s:[92.146,-92.146,100],e:[87.218,-87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:16,s:[87.218,-87.218,100],e:[84.827,-84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:17,s:[84.827,-84.827,100],e:[84.466,-84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:18,s:[84.466,-84.466,100],e:[85.592,-85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:19,s:[85.592,-85.592,100],e:[87.684,-87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:20,s:[87.684,-87.684,100],e:[90.28,-90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:21,s:[90.28,-90.28,100],e:[93.008,-93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:22,s:[93.008,-93.008,100],e:[95.585,-95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:23,s:[95.585,-95.585,100],e:[97.825,-97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:24,s:[97.825,-97.825,100],e:[99.625,-99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:25,s:[99.625,-99.625,100],e:[100.947,-100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:26,s:[100.947,-100.947,100],e:[101.81,-101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:27,s:[101.81,-101.81,100],e:[102.268,-102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:28,s:[102.268,-102.268,100],e:[102.393,-102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:29,s:[102.393,-102.393,100],e:[102.27,-102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:30,s:[102.27,-102.27,100],e:[101.979,-101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:31,s:[101.979,-101.979,100],e:[101.594,-101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:32,s:[101.594,-101.594,100],e:[101.176,-101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:33,s:[101.176,-101.176,100],e:[100.772,-100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:34,s:[100.772,-100.772,100],e:[100.413,-100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:35,s:[100.413,-100.413,100],e:[100.12,-100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:36,s:[100.12,-100.12,100],e:[99.899,-99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:37,s:[99.899,-99.899,100],e:[99.749,-99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:38,s:[99.749,-99.749,100],e:[99.665,-99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:39,s:[99.665,-99.665,100],e:[99.634,-99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:40,s:[99.634,-99.634,100],e:[99.644,-99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:41,s:[99.644,-99.644,100],e:[99.684,-99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:42,s:[99.684,-99.684,100],e:[99.74,-99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:43,s:[99.74,-99.74,100],e:[99.804,-99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:44,s:[99.804,-99.804,100],e:[99.867,-99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:45,s:[99.867,-99.867,100],e:[99.924,-99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:46,s:[99.924,-99.924,100],e:[99.971,-99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:47,s:[99.971,-99.971,100],e:[100.008,-100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:48,s:[100.008,-100.008,100],e:[100.034,-100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:49,s:[100.034,-100.034,100],e:[100.049,-100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:50,s:[100.049,-100.049,100],e:[100.056,-100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:51,s:[100.056,-100.056,100],e:[100.055,-100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:52,s:[100.055,-100.055,100],e:[100.05,-100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:53,s:[100.05,-100.05,100],e:[100.042,-100.042,100]},{i:{x:[.833,.833,.833],y:[.832,.832,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p832_0p167_0p154","0p833_0p832_0p167_0p154","0p833_0p833_0p167_0p167"],t:54,s:[100.042,-100.042,100],e:[100.033,-100.033,100]},{i:{x:[.833,.833,.833],y:[.84,.84,.833]},o:{x:[.167,.167,.167],y:[.165,.165,.167]},n:["0p833_0p84_0p167_0p165","0p833_0p84_0p167_0p165","0p833_0p833_0p167_0p167"],t:55,s:[100.033,-100.033,100],e:[100.023,-100.023,100]},{i:{x:[.833,.833,.833],y:[.846,.846,.833]},o:{x:[.167,.167,.167],y:[.173,.173,.167]},n:["0p833_0p846_0p167_0p173","0p833_0p846_0p167_0p173","0p833_0p833_0p167_0p167"],t:56,s:[100.023,-100.023,100],e:[100.014,-100.014,100]},{i:{x:[.833,.833,.833],y:[.851,.851,.833]},o:{x:[.167,.167,.167],y:[.181,.181,.167]},n:["0p833_0p851_0p167_0p181","0p833_0p851_0p167_0p181","0p833_0p833_0p167_0p167"],t:57,s:[100.014,-100.014,100],e:[100.006,-100.006,100]},{i:{x:[.833,.833,.833],y:[.857,.857,.833]},o:{x:[.167,.167,.167],y:[.189,.189,.167]},n:["0p833_0p857_0p167_0p189","0p833_0p857_0p167_0p189","0p833_0p833_0p167_0p167"],t:58,s:[100.006,-100.006,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.2,.2,.167]},n:["0p833_0p833_0p167_0p2","0p833_0p833_0p167_0p2","0p833_0p833_0p167_0p167"],t:59,s:[100,-100,100],e:[99.996,-99.996,100]},{t:60}]}},ao:0,ef:[{ty:5,nm:"Elastic Controller Scale",mn:"Pseudo/MDS Elastic Controller",ix:1,en:1,ef:[{ty:0,nm:"Amplitude",mn:"Pseudo/MDS Elastic Controller-0001",ix:1,v:{a:0,k:100}},{ty:0,nm:"Frequency",mn:"Pseudo/MDS Elastic Controller-0002",ix:2,v:{a:0,k:40}},{ty:0,nm:"Decay",mn:"Pseudo/MDS Elastic Controller-0003",ix:3,v:{a:0,k:40}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-132.548],[-132.548,0],[0,132.548]],o:[[0,132.548],[132.548,0],[0,-132.548]],v:[[-240,0],[0,240],[240,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:2,s:[80],e:[147]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:7,s:[147],e:[80]},{t:17}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,180],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:5,s:[0],e:[99.9]},{t:20}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:2,s:[.1],e:[100]},{t:17}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:3,ty:4,nm:"Shape Layer 10",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:1,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:2,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:3,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:4,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:5,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:6,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.718},o:{x:.167,y:.083},n:"0p833_0p718_0p167_0p083",t:7,s:[1040,480,0],e:[1040,475.84,0],to:[-378956137032493e-28,-.69334012269974,0],ti:[0,2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:8,s:[1040,475.84,0],e:[1040,465.919,0],to:[0,-2.3468861579895,0],ti:[-378956137032493e-28,3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:9,s:[1040,465.919,0],e:[1040,454.08,0],to:[378956137032493e-28,-3.62661719322205,0],ti:[0,3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:10,s:[1040,454.08,0],e:[1040,444.16,0],to:[0,-3.62643098831177,0],ti:[0,2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:11,s:[1040,444.16,0],e:[1040,440,0],to:[0,-2.34670925140381,0],ti:[0,.6474335193634,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:12,s:[1040,440,0],e:[1040,440.275,0],to:[0,-.6474335193634,0],ti:[0,-.92485815286636,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:13,s:[1040,440.275,0],e:[1040,445.549,0],to:[0,.92485815286636,0],ti:[0,-2.27932786941528,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:14,s:[1040,445.549,0],e:[1040,453.951,0],to:[0,2.27932786941528,0],ti:[0,-3.12636637687683,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:15,s:[1040,453.951,0],e:[1040,464.307,0],to:[0,3.12636637687683,0],ti:[0,-4.34142255783081,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:16,s:[1040,464.307,0],e:[1040,480,0],to:[0,4.34142255783081,0],ti:[0,-6.80449676513672,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:17,s:[1040,480,0],e:[1040,505.134,0],to:[0,6.80449676513672,0],ti:[0,-6.81718730926514,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:18,s:[1040,505.134,0],e:[1040,520.903,0],to:[0,6.81718730926514,0],ti:[0,-3.90351748466492,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:19,s:[1040,520.903,0],e:[1040,528.555,0],to:[0,3.90351748466492,0],ti:[0,-1.46778154373169,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:20,s:[1040,528.555,0],e:[1040,529.71,0],to:[0,1.46778154373169,0],ti:[0,.40835279226303,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:21,s:[1040,529.71,0],e:[1040,526.105,0],to:[0,-.40835279226303,0],ti:[0,1.71625697612762,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:22,s:[1040,526.105,0],e:[1040,519.412,0],to:[0,-1.71625697612762,0],ti:[0,2.50040626525879,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:23,s:[1040,519.412,0],e:[1040,511.103,0],to:[0,-2.50040626525879,0],ti:[0,2.83936166763306,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:24,s:[1040,511.103,0],e:[1040,502.376,0],to:[0,-2.83936166763306,0],ti:[0,2.82910346984863,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:25,s:[1040,502.376,0],e:[1040,494.128,0],to:[0,-2.82910346984863,0],ti:[0,2.56953763961792,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:26,s:[1040,494.128,0],e:[1040,486.959,0],to:[0,-2.56953763961792,0],ti:[0,2.15447521209717,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:27,s:[1040,486.959,0],e:[1040,481.201,0],to:[0,-2.15447521209717,0],ti:[0,1.66499769687653,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:28,s:[1040,481.201,0],e:[1040,476.969,0],to:[0,-1.66499769687653,0],ti:[0,1.16583645343781,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:29,s:[1040,476.969,0],e:[1040,474.206,0],to:[0,-1.16583645343781,0],ti:[0,.70423710346222,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:30,s:[1040,474.206,0],e:[1040,472.743,0],to:[0,-.70423710346222,0],ti:[0,.31070366501808,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:31,s:[1040,472.743,0],e:[1040,472.342,0],to:[0,-.31070366501808,0],ti:[0,.00102528964635,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:32,s:[1040,472.342,0],e:[1040,472.737,0],to:[0,-.00102528964635,0],ti:[0,-.22096036374569,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:33,s:[1040,472.737,0],e:[1040,473.668,0],to:[0,.22096036374569,0],ti:[0,-.3603213429451,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:34,s:[1040,473.668,0],e:[1040,474.899,0],to:[0,.3603213429451,0],ti:[0,-.42805504798889,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:35,s:[1040,474.899,0],e:[1040,476.236,0],to:[0,.42805504798889,0],ti:[0,-.43842709064484,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:36,s:[1040,476.236,0],e:[1040,477.53,0],to:[0,.43842709064484,0],ti:[0,-.40677306056023,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:37,s:[1040,477.53,0],e:[1040,478.677,0],to:[0,.40677306056023,0],ti:[0,-.34782794117928,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:38,s:[1040,478.677,0],e:[1040,479.617,0],to:[0,.34782794117928,0],ti:[0,-.27458295226097,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:39,s:[1040,479.617,0],e:[1040,480.324,0],to:[0,.27458295226097,0],ti:[0,-.19762142002583,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:40,s:[1040,480.324,0],e:[1040,480.803,0],to:[0,.19762142002583,0],ti:[0,-.12485805898905,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:41,s:[1040,480.803,0],e:[1040,481.074,0],to:[0,.12485805898905,0],ti:[0,-.06158968806267,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:42,s:[1040,481.074,0],e:[1040,481.172,0],to:[0,.06158968806267,0],ti:[0,-.0107651706785,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:43,s:[1040,481.172,0],e:[1040,481.138,0],to:[0,.0107651706785,0],ti:[0,.026611905545,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:44,s:[1040,481.138,0],e:[1040,481.012,0],to:[0,-.026611905545,0],ti:[0,.05102128908038,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:45,s:[1040,481.012,0],e:[1040,480.832,0],to:[0,-.05102128908038,0],ti:[0,.0639628097415,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:46,s:[1040,480.832,0],e:[1040,480.629,0],to:[0,-.0639628097415,0],ti:[0,.06753350049257,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:47,s:[1040,480.629,0],e:[1040,480.427,0],to:[0,-.06753350049257,0],ti:[0,.06407137960196,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:48,s:[1040,480.427,0],e:[1040,480.244,0],to:[0,-.06407137960196,0],ti:[0,.05587866902351,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:49,s:[1040,480.244,0],e:[1040,480.092,0],to:[0,-.05587866902351,0],ti:[0,.04502673074603,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:50,s:[1040,480.092,0],e:[1040,479.974,0],to:[0,-.04502673074603,0],ti:[0,.03323682770133,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:51,s:[1040,479.974,0],e:[1040,479.892,0],to:[0,-.03323682770133,0],ti:[0,.02182591706514,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:52,s:[1040,479.892,0],e:[1040,479.843,0],to:[0,-.02182591706514,0],ti:[0,.01170385163277,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:53,s:[1040,479.843,0],e:[1040,479.822,0],to:[0,-.01170385163277,0],ti:[0,.00340767251328,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:54,s:[1040,479.822,0],e:[1040,479.823,0],to:[0,-.00340767251328,0],ti:[0,-.00284059508704,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:55,s:[1040,479.823,0],e:[1040,479.839,0],to:[0,.00284059508704,0],ti:[0,-.00706443423405,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:56,s:[1040,479.839,0],e:[1040,479.865,0],to:[0,.00706443423405,0],ti:[0,-.00946115050465,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:57,s:[1040,479.865,0],e:[1040,479.896,0],to:[0,.00946115050465,0],ti:[0,-.01033500675112,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:58,s:[1040,479.896,0],e:[1040,479.927,0],to:[0,.01033500675112,0],ti:[0,-.0100397830829,0]},{i:{x:.833,y:.833},o:{x:.167,y:.173},n:"0p833_0p833_0p167_0p173",t:59,s:[1040,479.927,0],e:[1040,479.956,0],to:[0,.0100397830829,0],ti:[0,-.00482279807329,0]},{t:60}]},a:{a:0,k:[80,20,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:2,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:3,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:4,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:5,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:6,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:7,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:8,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:9,s:[100,-100,100],e:[101.04,-101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:10,s:[101.04,-101.04,100],e:[103.52,-103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:11,s:[103.52,-103.52,100],e:[106.48,-106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:12,s:[106.48,-106.48,100],e:[108.96,-108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:13,s:[108.96,-108.96,100],e:[110,-110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:14,s:[110,-110,100],e:[110.048,-110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:15,s:[110.048,-110.048,100],e:[108.803,-108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:16,s:[108.803,-108.803,100],e:[106.737,-106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:17,s:[106.737,-106.737,100],e:[104.153,-104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:18,s:[104.153,-104.153,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:19,s:[100,-100,100],e:[92.146,-92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:20,s:[92.146,-92.146,100],e:[87.218,-87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:21,s:[87.218,-87.218,100],e:[84.827,-84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:22,s:[84.827,-84.827,100],e:[84.466,-84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:23,s:[84.466,-84.466,100],e:[85.592,-85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:24,s:[85.592,-85.592,100],e:[87.684,-87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:25,s:[87.684,-87.684,100],e:[90.28,-90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:26,s:[90.28,-90.28,100],e:[93.008,-93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:27,s:[93.008,-93.008,100],e:[95.585,-95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:28,s:[95.585,-95.585,100],e:[97.825,-97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:29,s:[97.825,-97.825,100],e:[99.625,-99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:30,s:[99.625,-99.625,100],e:[100.947,-100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:31,s:[100.947,-100.947,100],e:[101.81,-101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:32,s:[101.81,-101.81,100],e:[102.268,-102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:33,s:[102.268,-102.268,100],e:[102.393,-102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:34,s:[102.393,-102.393,100],e:[102.27,-102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:35,s:[102.27,-102.27,100],e:[101.979,-101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:36,s:[101.979,-101.979,100],e:[101.594,-101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:37,s:[101.594,-101.594,100],e:[101.176,-101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:38,s:[101.176,-101.176,100],e:[100.772,-100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:39,s:[100.772,-100.772,100],e:[100.413,-100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:40,s:[100.413,-100.413,100],e:[100.12,-100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:41,s:[100.12,-100.12,100],e:[99.899,-99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:42,s:[99.899,-99.899,100],e:[99.749,-99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:43,s:[99.749,-99.749,100],e:[99.665,-99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:44,s:[99.665,-99.665,100],e:[99.634,-99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:45,s:[99.634,-99.634,100],e:[99.644,-99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:46,s:[99.644,-99.644,100],e:[99.684,-99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:47,s:[99.684,-99.684,100],e:[99.74,-99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:48,s:[99.74,-99.74,100],e:[99.804,-99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:49,s:[99.804,-99.804,100],e:[99.867,-99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:50,s:[99.867,-99.867,100],e:[99.924,-99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:51,s:[99.924,-99.924,100],e:[99.971,-99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:52,s:[99.971,-99.971,100],e:[100.008,-100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:53,s:[100.008,-100.008,100],e:[100.034,-100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:54,s:[100.034,-100.034,100],e:[100.049,-100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:55,s:[100.049,-100.049,100],e:[100.056,-100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:56,s:[100.056,-100.056,100],e:[100.055,-100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:57,s:[100.055,-100.055,100],e:[100.05,-100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:58,s:[100.05,-100.05,100],e:[100.042,-100.042,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p833_0p167_0p154","0p833_0p833_0p167_0p154","0p833_0p833_0p167_0p167"],t:59,s:[100.042,-100.042,100],e:[100.033,-100.033,100]},{t:60}]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-44.183],[-44.183,0],[0,44.183]],o:[[0,44.183],[44.183,0],[0,-44.183]],v:[[-80,0],[0,80],[80,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:7,s:[80],e:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:12,s:[100],e:[80]},{t:22}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,20],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:11,s:[0],e:[99.9]},{t:26}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:7,s:[.1],e:[100]},{t:22}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:4,ty:4,nm:"Shape Layer 9",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.718},o:{x:.167,y:.167},n:"0p833_0p718_0p167_0p167",t:0,s:[720,480,0],e:[720,484.16,0],to:[189478068516246e-28,.69334012269974,0],ti:[189478068516246e-28,-2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:1,s:[720,484.16,0],e:[720,494.081,0],to:[-189478068516246e-28,2.3468861579895,0],ti:[189478068516246e-28,-3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:2,s:[720,494.081,0],e:[720,505.92,0],to:[-189478068516246e-28,3.62661719322205,0],ti:[-189478068516246e-28,-3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:3,s:[720,505.92,0],e:[720,515.84,0],to:[189478068516246e-28,3.62643098831177,0],ti:[0,-2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:4,s:[720,515.84,0],e:[720,520,0],to:[0,2.34670925140381,0],ti:[543044116618763e-25,-.64769965410233,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:5,s:[720,520,0],e:[720,519.726,0],to:[-543044116618763e-25,.64769965410233,0],ti:[884483597474173e-25,.92460745573044,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:6,s:[720,519.726,0],e:[720,514.452,0],to:[-884483597474173e-25,-.92460745573044,0],ti:[506664328547846e-25,2.27949190139771,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:7,s:[720,514.452,0],e:[720,506.049,0],to:[-506664328547846e-25,-2.27949190139771,0],ti:[19004650284038e-24,3.12637186050415,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:8,s:[720,506.049,0],e:[720,495.694,0],to:[-19004650284038e-24,-3.12637186050415,0],ti:[-1.04970844516661e-10,4.34152460098267,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:9,s:[720,495.694,0],e:[720,480,0],to:[1.04970844516661e-10,-4.34152460098267,0],ti:[-1.07453011766179e-10,6.80367374420166,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:10,s:[720,480,0],e:[720,454.872,0],to:[1.07453011766179e-10,-6.80367374420166,0],ti:[0,6.81544876098633,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:11,s:[720,454.872,0],e:[720,439.107,0],to:[0,-6.81544876098633,0],ti:[0,3.90252184867859,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:12,s:[720,439.107,0],e:[720,431.457,0],to:[0,-3.90252184867859,0],ti:[0,1.4674072265625,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:13,s:[720,431.457,0],e:[720,430.303,0],to:[0,-1.4674072265625,0],ti:[0,-.40824863314629,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:14,s:[720,430.303,0],e:[720,433.906,0],to:[0,.40824863314629,0],ti:[0,-1.71581923961639,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:15,s:[720,433.906,0],e:[720,440.598,0],to:[0,1.71581923961639,0],ti:[0,-2.49976849555969,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:16,s:[720,440.598,0],e:[720,448.905,0],to:[0,2.49976849555969,0],ti:[0,-2.83863735198975,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:17,s:[720,448.905,0],e:[720,457.63,0],to:[0,2.83863735198975,0],ti:[0,-2.82838201522827,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:18,s:[720,457.63,0],e:[720,465.875,0],to:[0,2.82838201522827,0],ti:[0,-2.56888222694397,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:19,s:[720,465.875,0],e:[720,473.043,0],to:[0,2.56888222694397,0],ti:[0,-2.15392565727234,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:20,s:[720,473.043,0],e:[720,478.799,0],to:[0,2.15392565727234,0],ti:[0,-1.66457295417786,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:21,s:[720,478.799,0],e:[720,483.03,0],to:[0,1.66457295417786,0],ti:[0,-1.16553914546967,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:22,s:[720,483.03,0],e:[720,485.792,0],to:[0,1.16553914546967,0],ti:[0,-.70405745506287,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:23,s:[720,485.792,0],e:[720,487.255,0],to:[0,.70405745506287,0],ti:[0,-.31062442064285,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:24,s:[720,487.255,0],e:[720,487.656,0],to:[0,.31062442064285,0],ti:[0,-.00102502817754,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:25,s:[720,487.656,0],e:[720,487.261,0],to:[0,.00102502817754,0],ti:[0,.22090400755405,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:26,s:[720,487.261,0],e:[720,486.33,0],to:[0,-.22090400755405,0],ti:[0,.36022943258286,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:27,s:[720,486.33,0],e:[720,485.099,0],to:[0,-.36022943258286,0],ti:[0,.42794588208199,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:28,s:[720,485.099,0],e:[720,483.763,0],to:[0,-.42794588208199,0],ti:[0,.43831527233124,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:29,s:[720,483.763,0],e:[720,482.47,0],to:[0,-.43831527233124,0],ti:[0,.40666928887367,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:30,s:[720,482.47,0],e:[720,481.323,0],to:[0,-.40666928887367,0],ti:[0,.34773921966553,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:31,s:[720,481.323,0],e:[720,480.383,0],to:[0,-.34773921966553,0],ti:[0,.27451291680336,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:32,s:[720,480.383,0],e:[720,479.676,0],to:[0,-.27451291680336,0],ti:[0,.19757102429867,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:33,s:[720,479.676,0],e:[720,479.198,0],to:[0,-.19757102429867,0],ti:[0,.12482621520758,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:34,s:[720,479.198,0],e:[720,478.927,0],to:[0,-.12482621520758,0],ti:[0,.06157397851348,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:35,s:[720,478.927,0],e:[720,478.828,0],to:[0,-.06157397851348,0],ti:[0,.01076242513955,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:36,s:[720,478.828,0],e:[720,478.862,0],to:[0,-.01076242513955,0],ti:[0,-.02660511806607,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:37,s:[720,478.862,0],e:[720,478.988,0],to:[0,.02660511806607,0],ti:[0,-.05100827664137,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:38,s:[720,478.988,0],e:[720,479.168,0],to:[0,.05100827664137,0],ti:[0,-.06394649296999,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:39,s:[720,479.168,0],e:[720,479.372,0],to:[0,.06394649296999,0],ti:[0,-.06751627475023,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:40,s:[720,479.372,0],e:[720,479.573,0],to:[0,.06751627475023,0],ti:[0,-.06405504047871,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:41,s:[720,479.573,0],e:[720,479.756,0],to:[0,.06405504047871,0],ti:[0,-.05586441606283,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:42,s:[720,479.756,0],e:[720,479.908,0],to:[0,.05586441606283,0],ti:[0,-.04501524940133,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:43,s:[720,479.908,0],e:[720,480.026,0],to:[0,.04501524940133,0],ti:[0,-.03322834894061,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:44,s:[720,480.026,0],e:[720,480.108,0],to:[0,.03322834894061,0],ti:[0,-.02182034961879,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:45,s:[720,480.108,0],e:[720,480.157,0],to:[0,.02182034961879,0],ti:[0,-.01170086674392,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:46,s:[720,480.157,0],e:[720,480.178,0],to:[0,.01170086674392,0],ti:[0,-.00340680335648,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:47,s:[720,480.178,0],e:[720,480.177,0],to:[0,.00340680335648,0],ti:[0,.00283987051807,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:48,s:[720,480.177,0],e:[720,480.161,0],to:[0,-.00283987051807,0],ti:[0,.00706263212487,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:49,s:[720,480.161,0],e:[720,480.135,0],to:[0,-.00706263212487,0],ti:[0,.00945873651654,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:50,s:[720,480.135,0],e:[720,480.104,0],to:[0,-.00945873651654,0],ti:[0,.01033237110823,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:51,s:[720,480.104,0],e:[720,480.073,0],to:[0,-.01033237110823,0],ti:[0,.01003722194582,0]},{i:{x:.833,y:.846},o:{x:.167,y:.173},n:"0p833_0p846_0p167_0p173",t:52,s:[720,480.073,0],e:[720,480.044,0],to:[0,-.01003722194582,0],ti:[0,.00893091596663,0]},{i:{x:.833,y:.851},o:{x:.167,y:.181},n:"0p833_0p851_0p167_0p181",t:53,s:[720,480.044,0],e:[720,480.019,0],to:[0,-.00893091596663,0],ti:[0,.00734201865271,0]},{i:{x:.833,y:.857},o:{x:.167,y:.189},n:"0p833_0p857_0p167_0p189",t:54,s:[720,480.019,0],e:[720,480,0],to:[0,-.00734201865271,0],ti:[0,.00554898008704,0]},{i:{x:.833,y:.864},o:{x:.167,y:.2},n:"0p833_0p864_0p167_0p2",t:55,s:[720,480,0],e:[720,479.986,0],to:[0,-.00554898008704,0],ti:[0,.00376951810904,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:56,s:[720,479.986,0],e:[720,479.977,0],to:[0,-.00376951810904,0],ti:[0,.0021584238857,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:57,s:[720,479.977,0],e:[720,479.973,0],to:[0,-.0021584238857,0],ti:[0,.0008115999517,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:58,s:[720,479.973,0],e:[720,479.973,0],to:[0,-.0008115999517,0],ti:[0,-.00022579594224,0]},{i:{x:.833,y:.833},o:{x:.167,y:.12},n:"0p833_0p833_0p167_0p12",t:59,s:[720,479.973,0],e:[720,479.975,0],to:[0,.00022579594224,0],ti:[0,-.00033218055614,0]},{t:60}]},a:{a:0,k:[-240,20,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:2,s:[100,100,100],e:[101.04,101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:3,s:[101.04,101.04,100],e:[103.52,103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:4,s:[103.52,103.52,100],e:[106.48,106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:5,s:[106.48,106.48,100],e:[108.96,108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:6,s:[108.96,108.96,100],e:[110,110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:7,s:[110,110,100],e:[110.048,110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:8,s:[110.048,110.048,100],e:[108.803,108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:9,s:[108.803,108.803,100],e:[106.737,106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:10,s:[106.737,106.737,100],e:[104.153,104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:11,s:[104.153,104.153,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:12,s:[100,100,100],e:[92.146,92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:13,s:[92.146,92.146,100],e:[87.218,87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:14,s:[87.218,87.218,100],e:[84.827,84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:15,s:[84.827,84.827,100],e:[84.466,84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:16,s:[84.466,84.466,100],e:[85.592,85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:17,s:[85.592,85.592,100],e:[87.684,87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:18,s:[87.684,87.684,100],e:[90.28,90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:19,s:[90.28,90.28,100],e:[93.008,93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:20,s:[93.008,93.008,100],e:[95.585,95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:21,s:[95.585,95.585,100],e:[97.825,97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:22,s:[97.825,97.825,100],e:[99.625,99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:23,s:[99.625,99.625,100],e:[100.947,100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:24,s:[100.947,100.947,100],e:[101.81,101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:25,s:[101.81,101.81,100],e:[102.268,102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:26,s:[102.268,102.268,100],e:[102.393,102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:27,s:[102.393,102.393,100],e:[102.27,102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:28,s:[102.27,102.27,100],e:[101.979,101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:29,s:[101.979,101.979,100],e:[101.594,101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:30,s:[101.594,101.594,100],e:[101.176,101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:31,s:[101.176,101.176,100],e:[100.772,100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:32,s:[100.772,100.772,100],e:[100.413,100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:33,s:[100.413,100.413,100],e:[100.12,100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:34,s:[100.12,100.12,100],e:[99.899,99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:35,s:[99.899,99.899,100],e:[99.749,99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:36,s:[99.749,99.749,100],e:[99.665,99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:37,s:[99.665,99.665,100],e:[99.634,99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:38,s:[99.634,99.634,100],e:[99.644,99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:39,s:[99.644,99.644,100],e:[99.684,99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:40,s:[99.684,99.684,100],e:[99.74,99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:41,s:[99.74,99.74,100],e:[99.804,99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:42,s:[99.804,99.804,100],e:[99.867,99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:43,s:[99.867,99.867,100],e:[99.924,99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:44,s:[99.924,99.924,100],e:[99.971,99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:45,s:[99.971,99.971,100],e:[100.008,100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:46,s:[100.008,100.008,100],e:[100.034,100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:47,s:[100.034,100.034,100],e:[100.049,100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:48,s:[100.049,100.049,100],e:[100.056,100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:49,s:[100.056,100.056,100],e:[100.055,100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:50,s:[100.055,100.055,100],e:[100.05,100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:51,s:[100.05,100.05,100],e:[100.042,100.042,100]},{i:{x:[.833,.833,.833],y:[.832,.832,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p832_0p167_0p154","0p833_0p832_0p167_0p154","0p833_0p833_0p167_0p167"],t:52,s:[100.042,100.042,100],e:[100.033,100.033,100]},{i:{x:[.833,.833,.833],y:[.84,.84,.833]},o:{x:[.167,.167,.167],y:[.165,.165,.167]},n:["0p833_0p84_0p167_0p165","0p833_0p84_0p167_0p165","0p833_0p833_0p167_0p167"],t:53,s:[100.033,100.033,100],e:[100.023,100.023,100]},{i:{x:[.833,.833,.833],y:[.846,.846,.833]},o:{x:[.167,.167,.167],y:[.173,.173,.167]},n:["0p833_0p846_0p167_0p173","0p833_0p846_0p167_0p173","0p833_0p833_0p167_0p167"],t:54,s:[100.023,100.023,100],e:[100.014,100.014,100]},{i:{x:[.833,.833,.833],y:[.851,.851,.833]},o:{x:[.167,.167,.167],y:[.181,.181,.167]},n:["0p833_0p851_0p167_0p181","0p833_0p851_0p167_0p181","0p833_0p833_0p167_0p167"],t:55,s:[100.014,100.014,100],e:[100.006,100.006,100]},{i:{x:[.833,.833,.833],y:[.857,.857,.833]},o:{x:[.167,.167,.167],y:[.189,.189,.167]},n:["0p833_0p857_0p167_0p189","0p833_0p857_0p167_0p189","0p833_0p833_0p167_0p167"],t:56,s:[100.006,100.006,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.2,.2,.167]},n:["0p833_0p864_0p167_0p2","0p833_0p864_0p167_0p2","0p833_0p833_0p167_0p167"],t:57,s:[100,100,100],e:[99.996,99.996,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:58,s:[99.996,99.996,100],e:[99.993,99.993,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p833_0p167_0p255","0p833_0p833_0p167_0p255","0p833_0p833_0p167_0p167"],t:59,s:[99.993,99.993,100],e:[99.992,99.992,100]},{t:60}]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-88.366],[88.366,0],[0,88.366]],o:[[0,88.366],[-88.366,0],[0,-88.366]],v:[[80,0],[-80,160],[-240,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:0,s:[80],e:[147]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:5,s:[147],e:[80]},{t:15}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,20],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:3,s:[0],e:[99.9]},{t:18}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:0,s:[.1],e:[100]},{t:15}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:5,ty:4,nm:"Shape Layer 7",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:1,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:2,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:3,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:4,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.718},o:{x:.167,y:.083},n:"0p833_0p718_0p167_0p083",t:5,s:[880,480,0],e:[880,484.16,0],to:[-189478068516246e-28,.69334012269974,0],ti:[189478068516246e-28,-2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:6,s:[880,484.16,0],e:[880,494.081,0],to:[-189478068516246e-28,2.3468861579895,0],ti:[-189478068516246e-28,-3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:7,s:[880,494.081,0],e:[880,505.92,0],to:[189478068516246e-28,3.62661719322205,0],ti:[-189478068516246e-28,-3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:8,s:[880,505.92,0],e:[880,515.84,0],to:[189478068516246e-28,3.62643098831177,0],ti:[0,-2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:9,s:[880,515.84,0],e:[880,520,0],to:[0,2.34670925140381,0],ti:[0,-.64769965410233,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:10,s:[880,520,0],e:[880,519.726,0],to:[0,.64769965410233,0],ti:[0,.92460745573044,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:11,s:[880,519.726,0],e:[880,514.452,0],to:[0,-.92460745573044,0],ti:[189478068516246e-28,2.27949190139771,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:12,s:[880,514.452,0],e:[880,506.049,0],to:[-189478068516246e-28,-2.27949190139771,0],ti:[0,3.12637186050415,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:13,s:[880,506.049,0],e:[880,495.694,0],to:[0,-3.12637186050415,0],ti:[-189478068516246e-28,4.34152460098267,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:14,s:[880,495.694,0],e:[880,480,0],to:[189478068516246e-28,-4.34152460098267,0],ti:[0,6.80367374420166,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:15,s:[880,480,0],e:[880,454.872,0],to:[0,-6.80367374420166,0],ti:[0,6.81544876098633,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:16,s:[880,454.872,0],e:[880,439.107,0],to:[0,-6.81544876098633,0],ti:[0,3.90252184867859,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:17,s:[880,439.107,0],e:[880,431.457,0],to:[0,-3.90252184867859,0],ti:[0,1.4674072265625,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:18,s:[880,431.457,0],e:[880,430.303,0],to:[0,-1.4674072265625,0],ti:[0,-.40824863314629,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:19,s:[880,430.303,0],e:[880,433.906,0],to:[0,.40824863314629,0],ti:[0,-1.71581923961639,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:20,s:[880,433.906,0],e:[880,440.598,0],to:[0,1.71581923961639,0],ti:[0,-2.49976849555969,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:21,s:[880,440.598,0],e:[880,448.905,0],to:[0,2.49976849555969,0],ti:[0,-2.83863735198975,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:22,s:[880,448.905,0],e:[880,457.63,0],to:[0,2.83863735198975,0],ti:[0,-2.82838201522827,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:23,s:[880,457.63,0],e:[880,465.875,0],to:[0,2.82838201522827,0],ti:[0,-2.56888222694397,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:24,s:[880,465.875,0],e:[880,473.043,0],to:[0,2.56888222694397,0],ti:[0,-2.15392565727234,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:25,s:[880,473.043,0],e:[880,478.799,0],to:[0,2.15392565727234,0],ti:[0,-1.66457295417786,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:26,s:[880,478.799,0],e:[880,483.03,0],to:[0,1.66457295417786,0],ti:[0,-1.16553914546967,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:27,s:[880,483.03,0],e:[880,485.792,0],to:[0,1.16553914546967,0],ti:[0,-.70405745506287,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:28,s:[880,485.792,0],e:[880,487.255,0],to:[0,.70405745506287,0],ti:[0,-.31062442064285,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:29,s:[880,487.255,0],e:[880,487.656,0],to:[0,.31062442064285,0],ti:[0,-.00102502817754,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:30,s:[880,487.656,0],e:[880,487.261,0],to:[0,.00102502817754,0],ti:[0,.22090400755405,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:31,s:[880,487.261,0],e:[880,486.33,0],to:[0,-.22090400755405,0],ti:[0,.36022943258286,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:32,s:[880,486.33,0],e:[880,485.099,0],to:[0,-.36022943258286,0],ti:[0,.42794588208199,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:33,s:[880,485.099,0],e:[880,483.763,0],to:[0,-.42794588208199,0],ti:[0,.43831527233124,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:34,s:[880,483.763,0],e:[880,482.47,0],to:[0,-.43831527233124,0],ti:[0,.40666928887367,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:35,s:[880,482.47,0],e:[880,481.323,0],to:[0,-.40666928887367,0],ti:[0,.34773921966553,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:36,s:[880,481.323,0],e:[880,480.383,0],to:[0,-.34773921966553,0],ti:[0,.27451291680336,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:37,s:[880,480.383,0],e:[880,479.676,0],to:[0,-.27451291680336,0],ti:[0,.19757102429867,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:38,s:[880,479.676,0],e:[880,479.198,0],to:[0,-.19757102429867,0],ti:[0,.12482621520758,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:39,s:[880,479.198,0],e:[880,478.927,0],to:[0,-.12482621520758,0],ti:[0,.06157397851348,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:40,s:[880,478.927,0],e:[880,478.828,0],to:[0,-.06157397851348,0],ti:[0,.01076242513955,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:41,s:[880,478.828,0],e:[880,478.862,0],to:[0,-.01076242513955,0],ti:[0,-.02660511806607,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:42,s:[880,478.862,0],e:[880,478.988,0],to:[0,.02660511806607,0],ti:[0,-.05100827664137,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:43,s:[880,478.988,0],e:[880,479.168,0],to:[0,.05100827664137,0],ti:[0,-.06394649296999,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:44,s:[880,479.168,0],e:[880,479.372,0],to:[0,.06394649296999,0],ti:[0,-.06751627475023,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:45,s:[880,479.372,0],e:[880,479.573,0],to:[0,.06751627475023,0],ti:[0,-.06405504047871,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:46,s:[880,479.573,0],e:[880,479.756,0],to:[0,.06405504047871,0],ti:[0,-.05586441606283,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:47,s:[880,479.756,0],e:[880,479.908,0],to:[0,.05586441606283,0],ti:[0,-.04501524940133,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:48,s:[880,479.908,0],e:[880,480.026,0],to:[0,.04501524940133,0],ti:[0,-.03322834894061,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:49,s:[880,480.026,0],e:[880,480.108,0],to:[0,.03322834894061,0],ti:[0,-.02182034961879,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:50,s:[880,480.108,0],e:[880,480.157,0],to:[0,.02182034961879,0],ti:[0,-.01170086674392,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:51,s:[880,480.157,0],e:[880,480.178,0],to:[0,.01170086674392,0],ti:[0,-.00340680335648,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:52,s:[880,480.178,0],e:[880,480.177,0],to:[0,.00340680335648,0],ti:[0,.00283987051807,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:53,s:[880,480.177,0],e:[880,480.161,0],to:[0,-.00283987051807,0],ti:[0,.00706263212487,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:54,s:[880,480.161,0],e:[880,480.135,0],to:[0,-.00706263212487,0],ti:[0,.00945873651654,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:55,s:[880,480.135,0],e:[880,480.104,0],to:[0,-.00945873651654,0],ti:[0,.01033237110823,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:56,s:[880,480.104,0],e:[880,480.073,0],to:[0,-.01033237110823,0],ti:[0,.01003722194582,0]},{i:{x:.833,y:.846},o:{x:.167,y:.173},n:"0p833_0p846_0p167_0p173",t:57,s:[880,480.073,0],e:[880,480.044,0],to:[0,-.01003722194582,0],ti:[0,.00893091596663,0]},{i:{x:.833,y:.851},o:{x:.167,y:.181},n:"0p833_0p851_0p167_0p181",t:58,s:[880,480.044,0],e:[880,480.019,0],to:[0,-.00893091596663,0],ti:[0,.00734201865271,0]},{i:{x:.833,y:.833},o:{x:.167,y:.189},n:"0p833_0p833_0p167_0p189",t:59,s:[880,480.019,0],e:[880,480,0],to:[0,-.00734201865271,0],ti:[0,.00323267048225,0]},{t:60}]},a:{a:0,k:[-80,180,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:2,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:3,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:4,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:5,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:6,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:7,s:[100,100,100],e:[101.04,101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:8,s:[101.04,101.04,100],e:[103.52,103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:9,s:[103.52,103.52,100],e:[106.48,106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:10,s:[106.48,106.48,100],e:[108.96,108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:11,s:[108.96,108.96,100],e:[110,110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:12,s:[110,110,100],e:[110.048,110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:13,s:[110.048,110.048,100],e:[108.803,108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:14,s:[108.803,108.803,100],e:[106.737,106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:15,s:[106.737,106.737,100],e:[104.153,104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:16,s:[104.153,104.153,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:17,s:[100,100,100],e:[92.146,92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:18,s:[92.146,92.146,100],e:[87.218,87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:19,s:[87.218,87.218,100],e:[84.827,84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:20,s:[84.827,84.827,100],e:[84.466,84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:21,s:[84.466,84.466,100],e:[85.592,85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:22,s:[85.592,85.592,100],e:[87.684,87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:23,s:[87.684,87.684,100],e:[90.28,90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:24,s:[90.28,90.28,100],e:[93.008,93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:25,s:[93.008,93.008,100],e:[95.585,95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:26,s:[95.585,95.585,100],e:[97.825,97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:27,s:[97.825,97.825,100],e:[99.625,99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:28,s:[99.625,99.625,100],e:[100.947,100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:29,s:[100.947,100.947,100],e:[101.81,101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:30,s:[101.81,101.81,100],e:[102.268,102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:31,s:[102.268,102.268,100],e:[102.393,102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:32,s:[102.393,102.393,100],e:[102.27,102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:33,s:[102.27,102.27,100],e:[101.979,101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:34,s:[101.979,101.979,100],e:[101.594,101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:35,s:[101.594,101.594,100],e:[101.176,101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:36,s:[101.176,101.176,100],e:[100.772,100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:37,s:[100.772,100.772,100],e:[100.413,100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:38,s:[100.413,100.413,100],e:[100.12,100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:39,s:[100.12,100.12,100],e:[99.899,99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:40,s:[99.899,99.899,100],e:[99.749,99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:41,s:[99.749,99.749,100],e:[99.665,99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:42,s:[99.665,99.665,100],e:[99.634,99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:43,s:[99.634,99.634,100],e:[99.644,99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:44,s:[99.644,99.644,100],e:[99.684,99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:45,s:[99.684,99.684,100],e:[99.74,99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:46,s:[99.74,99.74,100],e:[99.804,99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:47,s:[99.804,99.804,100],e:[99.867,99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:48,s:[99.867,99.867,100],e:[99.924,99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:49,s:[99.924,99.924,100],e:[99.971,99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:50,s:[99.971,99.971,100],e:[100.008,100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:51,s:[100.008,100.008,100],e:[100.034,100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:52,s:[100.034,100.034,100],e:[100.049,100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:53,s:[100.049,100.049,100],e:[100.056,100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:54,s:[100.056,100.056,100],e:[100.055,100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:55,s:[100.055,100.055,100],e:[100.05,100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:56,s:[100.05,100.05,100],e:[100.042,100.042,100]},{i:{x:[.833,.833,.833],y:[.832,.832,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p832_0p167_0p154","0p833_0p832_0p167_0p154","0p833_0p833_0p167_0p167"],t:57,s:[100.042,100.042,100],e:[100.033,100.033,100]},{i:{x:[.833,.833,.833],y:[.84,.84,.833]},o:{x:[.167,.167,.167],y:[.165,.165,.167]},n:["0p833_0p84_0p167_0p165","0p833_0p84_0p167_0p165","0p833_0p833_0p167_0p167"],t:58,s:[100.033,100.033,100],e:[100.023,100.023,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.173,.173,.167]},n:["0p833_0p833_0p167_0p173","0p833_0p833_0p167_0p173","0p833_0p833_0p167_0p167"],t:59,s:[100.023,100.023,100],e:[100.014,100.014,100]},{t:60}]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-88.366],[88.366,0],[0,88.366]],o:[[0,88.366],[-88.366,0],[0,-88.366]],v:[[240,0],[80,160],[-80,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:5,s:[80],e:[120]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:10,s:[120],e:[80]},{t:20}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,180],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:9,s:[0],e:[99.9]},{t:24}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:5,s:[.1],e:[100]},{t:20}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1}],animationData={v:v$1,fr:fr,ip:ip,op:op,w:w$1,h:h$1,ddd:ddd,assets:assets,layers:layers};const LottieLoadingDotsSpinner=({color:e=getColors(animationData)[0]})=>{const t={animationData:flatten$1(e,animationData),loop:!0,autoplay:!0,style:{height:"200px",width:"200px"}},{View:r}=useLottie(t);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:r})},LoadingDotsSpinner=({color:e,id:t,"data-testid":r})=>{const i=styled.useTheme(),n=e||Color.Primary({theme:i||BaseTheme});return jsxRuntime.jsx(Container$t,{"data-testid":r,id:t,children:jsxRuntime.jsx(LottieLoadingDotsSpinner,{color:n})})},Container$t=styled__default.default.div`
|
|
397
|
+
`,BaseTheme={[exports.ThemeContextKeys.colorScheme]:"base",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"base"},BookingSGTheme={[exports.ThemeContextKeys.colorScheme]:"bookingsg",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"base",[exports.ThemeContextKeys.resourceScheme]:"bookingsg"},RBSTheme={[exports.ThemeContextKeys.colorScheme]:"rbs",[exports.ThemeContextKeys.textStyleScheme]:"base",[exports.ThemeContextKeys.designTokenScheme]:"rbs",[exports.ThemeContextKeys.resourceScheme]:"rbs"};var lib={},lodash_clonedeep={exports:{}};!function(e,t){var r="__lodash_hash_undefined__",i=9007199254740991,n="[object Arguments]",a="[object Boolean]",o="[object Date]",s="[object Function]",l="[object GeneratorFunction]",d="[object Map]",p="[object Number]",c="[object Object]",u="[object Promise]",h="[object RegExp]",m="[object Set]",f="[object String]",y="[object Symbol]",g="[object WeakMap]",x="[object ArrayBuffer]",_="[object DataView]",b="[object Float32Array]",v="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",$="[object Int32Array]",w="[object Uint8Array]",T="[object Uint8ClampedArray]",R="[object Uint16Array]",k="[object Uint32Array]",E=/\w*$/,A=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,j={};j[n]=j["[object Array]"]=j[x]=j[_]=j[a]=j[o]=j[b]=j[v]=j[S]=j[C]=j[$]=j[d]=j[p]=j[c]=j[h]=j[m]=j[f]=j[y]=j[w]=j[T]=j[R]=j[k]=!0,j["[object Error]"]=j[s]=j[g]=!1;var I="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,P="object"==typeof self&&self&&self.Object===Object&&self,M=I||P||Function("return this")(),F=t&&!t.nodeType&&t,O=F&&e&&!e.nodeType&&e,L=O&&O.exports===F;function B(e,t){return e.set(t[0],t[1]),e}function N(e,t){return e.add(t),e}function V(e,t,r,i){var n=-1,a=e?e.length:0;for(i&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r}function H(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function z(e){var t=-1,r=Array(e.size);return e.forEach((function(e,i){r[++t]=[i,e]})),r}function W(e,t){return function(r){return e(t(r))}}function G(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var U=Array.prototype,q=Function.prototype,Y=Object.prototype,Q=M["__core-js_shared__"],K=function(){var e=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),X=q.toString,Z=Y.hasOwnProperty,J=Y.toString,ee=RegExp("^"+X.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),te=L?M.Buffer:void 0,re=M.Symbol,ie=M.Uint8Array,ne=W(Object.getPrototypeOf,Object),ae=Object.create,oe=Y.propertyIsEnumerable,se=U.splice,le=Object.getOwnPropertySymbols,de=te?te.isBuffer:void 0,pe=W(Object.keys,Object),ce=Fe(M,"DataView"),ue=Fe(M,"Map"),he=Fe(M,"Promise"),me=Fe(M,"Set"),fe=Fe(M,"WeakMap"),ye=Fe(Object,"create"),ge=Ve(ce),xe=Ve(ue),_e=Ve(he),be=Ve(me),ve=Ve(fe),Se=re?re.prototype:void 0,Ce=Se?Se.valueOf:void 0;function $e(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function we(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Te(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var i=e[t];this.set(i[0],i[1])}}function Re(e){this.__data__=new we(e)}function ke(e,t){var r=ze(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&We(e)}(e)&&Z.call(e,"callee")&&(!oe.call(e,"callee")||J.call(e)==n)}(e)?function(e,t){for(var r=-1,i=Array(e);++r<e;)i[r]=t(r);return i}(e.length,String):[],i=r.length,a=!!i;for(var o in e)!t&&!Z.call(e,o)||a&&("length"==o||Be(o,i))||r.push(o);return r}function Ee(e,t,r){var i=e[t];Z.call(e,t)&&He(i,r)&&(void 0!==r||t in e)||(e[t]=r)}function Ae(e,t){for(var r=e.length;r--;)if(He(e[r][0],t))return r;return-1}function De(e,t,r,i,u,g,A){var D;if(i&&(D=g?i(e,u,g,A):i(e)),void 0!==D)return D;if(!qe(e))return e;var I=ze(e);if(I){if(D=function(e){var t=e.length,r=e.constructor(t);t&&"string"==typeof e[0]&&Z.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!t)return function(e,t){var r=-1,i=e.length;t||(t=Array(i));for(;++r<i;)t[r]=e[r];return t}(e,D)}else{var P=Le(e),M=P==s||P==l;if(Ge(e))return function(e,t){if(t)return e.slice();var r=new e.constructor(e.length);return e.copy(r),r}(e,t);if(P==c||P==n||M&&!g){if(H(e))return g?e:{};if(D=function(e){return"function"!=typeof e.constructor||Ne(e)?{}:(t=ne(e),qe(t)?ae(t):{});var t}(M?{}:e),!t)return function(e,t){return Pe(e,Oe(e),t)}(e,function(e,t){return e&&Pe(t,Ye(t),e)}(D,e))}else{if(!j[P])return g?e:{};D=function(e,t,r,i){var n=e.constructor;switch(t){case x:return Ie(e);case a:case o:return new n(+e);case _:return function(e,t){var r=t?Ie(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,i);case b:case v:case S:case C:case $:case w:case T:case R:case k:return function(e,t){var r=t?Ie(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}(e,i);case d:return function(e,t,r){var i=t?r(z(e),!0):z(e);return V(i,B,new e.constructor)}(e,i,r);case p:case f:return new n(e);case h:return function(e){var t=new e.constructor(e.source,E.exec(e));return t.lastIndex=e.lastIndex,t}(e);case m:return function(e,t,r){var i=t?r(G(e),!0):G(e);return V(i,N,new e.constructor)}(e,i,r);case y:return s=e,Ce?Object(Ce.call(s)):{}}var s}(e,P,De,t)}}A||(A=new Re);var F=A.get(e);if(F)return F;if(A.set(e,D),!I)var O=r?function(e){return function(e,t,r){var i=t(e);return ze(e)?i:function(e,t){for(var r=-1,i=t.length,n=e.length;++r<i;)e[n+r]=t[r];return e}(i,r(e))}(e,Ye,Oe)}(e):Ye(e);return function(e,t){for(var r=-1,i=e?e.length:0;++r<i&&!1!==t(e[r],r,e););}(O||e,(function(n,a){O&&(n=e[a=n]),Ee(D,a,De(n,t,r,i,a,e,A))})),D}function je(e){return!(!qe(e)||(t=e,K&&K in t))&&(Ue(e)||H(e)?ee:A).test(Ve(e));var t}function Ie(e){var t=new e.constructor(e.byteLength);return new ie(t).set(new ie(e)),t}function Pe(e,t,r,i){r||(r={});for(var n=-1,a=t.length;++n<a;){var o=t[n],s=i?i(r[o],e[o],o,r,e):void 0;Ee(r,o,void 0===s?e[o]:s)}return r}function Me(e,t){var r,i,n=e.__data__;return("string"==(i=typeof(r=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof t?"string":"hash"]:n.map}function Fe(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return je(r)?r:void 0}$e.prototype.clear=function(){this.__data__=ye?ye(null):{}},$e.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},$e.prototype.get=function(e){var t=this.__data__;if(ye){var i=t[e];return i===r?void 0:i}return Z.call(t,e)?t[e]:void 0},$e.prototype.has=function(e){var t=this.__data__;return ye?void 0!==t[e]:Z.call(t,e)},$e.prototype.set=function(e,t){return this.__data__[e]=ye&&void 0===t?r:t,this},we.prototype.clear=function(){this.__data__=[]},we.prototype.delete=function(e){var t=this.__data__,r=Ae(t,e);return!(r<0)&&(r==t.length-1?t.pop():se.call(t,r,1),!0)},we.prototype.get=function(e){var t=this.__data__,r=Ae(t,e);return r<0?void 0:t[r][1]},we.prototype.has=function(e){return Ae(this.__data__,e)>-1},we.prototype.set=function(e,t){var r=this.__data__,i=Ae(r,e);return i<0?r.push([e,t]):r[i][1]=t,this},Te.prototype.clear=function(){this.__data__={hash:new $e,map:new(ue||we),string:new $e}},Te.prototype.delete=function(e){return Me(this,e).delete(e)},Te.prototype.get=function(e){return Me(this,e).get(e)},Te.prototype.has=function(e){return Me(this,e).has(e)},Te.prototype.set=function(e,t){return Me(this,e).set(e,t),this},Re.prototype.clear=function(){this.__data__=new we},Re.prototype.delete=function(e){return this.__data__.delete(e)},Re.prototype.get=function(e){return this.__data__.get(e)},Re.prototype.has=function(e){return this.__data__.has(e)},Re.prototype.set=function(e,t){var r=this.__data__;if(r instanceof we){var i=r.__data__;if(!ue||i.length<199)return i.push([e,t]),this;r=this.__data__=new Te(i)}return r.set(e,t),this};var Oe=le?W(le,Object):function(){return[]},Le=function(e){return J.call(e)};function Be(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||D.test(e))&&e>-1&&e%1==0&&e<t}function Ne(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Y)}function Ve(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function He(e,t){return e===t||e!=e&&t!=t}(ce&&Le(new ce(new ArrayBuffer(1)))!=_||ue&&Le(new ue)!=d||he&&Le(he.resolve())!=u||me&&Le(new me)!=m||fe&&Le(new fe)!=g)&&(Le=function(e){var t=J.call(e),r=t==c?e.constructor:void 0,i=r?Ve(r):void 0;if(i)switch(i){case ge:return _;case xe:return d;case _e:return u;case be:return m;case ve:return g}return t});var ze=Array.isArray;function We(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}(e.length)&&!Ue(e)}var Ge=de||function(){return!1};function Ue(e){var t=qe(e)?J.call(e):"";return t==s||t==l}function qe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ye(e){return We(e)?ke(e):function(e){if(!Ne(e))return pe(e);var t=[];for(var r in Object(e))Z.call(e,r)&&"constructor"!=r&&t.push(r);return t}(e)}e.exports=function(e){return De(e,!0,!0)}}(lodash_clonedeep,lodash_clonedeep.exports);var __spreadArrays=commonjsGlobal&&commonjsGlobal.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var i=Array(e),n=0;for(t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,n++)i[n]=a[o];return i},__importDefault=commonjsGlobal&&commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(lib,"__esModule",{value:!0});var getColors=lib.getColors=flatten$1=lib.flatten=lib.replaceColor=lib.colorify=void 0,lodash_clonedeep_1=__importDefault(lodash_clonedeep.exports);lib.colorify=function(e,t){void 0===e&&(e=[]);for(var r=[],i=0,n=e;i<n.length;i++){var a=n[i];r.push(convertColorToLottieColor(a))}return modifyColors(r,lodash_clonedeep_1.default(t))};var convertColorToLottieColor=function(e){if("string"==typeof e&&e.match(/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i)){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);if(!t)throw new Error("Color can be only hex or rgb array (ex. [10,20,30])");return[Math.round(parseInt(t[1],16)/255*1e3)/1e3,Math.round(parseInt(t[2],16)/255*1e3)/1e3,Math.round(parseInt(t[3],16)/255*1e3)/1e3]}if("object"==typeof e&&3===e.length&&e.every((function(e){return e>=0&&e<=255})))return[Math.round(e[0]/255*1e3)/1e3,Math.round(e[1]/255*1e3)/1e3,Math.round(e[2]/255*1e3)/1e3];if(e)throw new Error("Color can be only hex or rgb array (ex. [10,20,30])")},round=function(e){return Math.round(1e3*e)/1e3};lib.replaceColor=function(e,t,r){var i=convertColorToLottieColor(e),n=convertColorToLottieColor(t);if(!i||!n)throw new Error("Proper colors must be used for both source and target");return function e(t,r,i){if(i.s&&Array.isArray(i.s)&&4===i.s.length)t[0]===i.s[0]&&t[1]===i.s[1]&&t[2]===i.s[2]&&(i.s=__spreadArrays(r,[1]));else if(i.c&&i.c.k)Array.isArray(i.c.k)&&"number"!=typeof i.c.k[0]?e(t,r,i.c.k):t[0]===round(i.c.k[0])&&t[1]===round(i.c.k[1])&&t[2]===round(i.c.k[2])&&(i.c.k=r);else for(var n in i)"object"==typeof i[n]&&e(t,r,i[n]);return i}(i,n,lodash_clonedeep_1.default(r))};var flatten$1=lib.flatten=function(e,t){var r=convertColorToLottieColor(e);if(!r)throw new Error("Proper colors must be used for target");return function e(t,r){if(r.s&&Array.isArray(r.s)&&4===r.s.length)r.s=__spreadArrays(t,[1]);else if(r.c&&r.c.k)Array.isArray(r.c.k)&&"number"!=typeof r.c.k[0]?e(t,r.c.k):r.c.k=t;else for(var i in r)"object"==typeof r[i]&&e(t,r[i]);return r}(r,lodash_clonedeep_1.default(t))},modifyColors=function(e,t){var r=0;return function e(t,i){for(var n in i.s&&Array.isArray(i.s)&&4===i.s.length?(t[r]&&(i.s=__spreadArrays(t[r],[1])),r++):i.c&&i.c.k&&(Array.isArray(i.c.k)&&"number"!=typeof i.c.k[0]?e(t,i.c.k):(t[r]&&(i.c.k=t[r]),r++)),i)"object"==typeof i[n]&&e(t,i[n]);return i}(e,t)},convertLottieColorToRgb=function(e){return[Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])]},convertLottieColorToRgba=function(e){return[Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2]),e[3]]};getColors=lib.getColors=function(e){var t=[];return function e(r){if(r.s&&Array.isArray(r.s)&&4===r.s.length)t.push(convertLottieColorToRgba(r.s));else if(r.c&&r.c.k)Array.isArray(r.c.k)&&"number"!=typeof r.c.k[0]?e(r.c.k):t.push(convertLottieColorToRgb(r.c.k));else for(var i in r)"object"==typeof r[i]&&e(r[i]);return t}(e),t};var v$1="4.5.8",fr=30,ip=0,op=60,w$1=1920,h$1=1080,ddd=0,assets=[],layers=[{ddd:0,ind:0,ty:3,nm:"position",ks:{o:{a:0,k:0},r:{a:0,k:0},p:{a:0,k:[960,540,0]},a:{a:0,k:[0,0,0]},s:{a:0,k:[100,100,100]}},ao:0,ef:[{ty:5,nm:"Elastic Controller",mn:"Pseudo/MDS Elastic Controller",ix:1,en:1,ef:[{ty:0,nm:"Amplitude",mn:"Pseudo/MDS Elastic Controller-0001",ix:1,v:{a:0,k:80}},{ty:0,nm:"Frequency",mn:"Pseudo/MDS Elastic Controller-0002",ix:2,v:{a:0,k:40}},{ty:0,nm:"Decay",mn:"Pseudo/MDS Elastic Controller-0003",ix:3,v:{a:0,k:50}}]}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:1,ty:3,nm:"scale",ks:{o:{a:0,k:0},r:{a:0,k:0},p:{a:0,k:[960,540,0]},a:{a:0,k:[0,0,0]},s:{a:0,k:[100,100,100]}},ao:0,ef:[{ty:5,nm:"Elastic Controller",mn:"Pseudo/MDS Elastic Controller",ix:1,en:1,ef:[{ty:0,nm:"Amplitude",mn:"Pseudo/MDS Elastic Controller-0001",ix:1,v:{a:0,k:100}},{ty:0,nm:"Frequency",mn:"Pseudo/MDS Elastic Controller-0002",ix:2,v:{a:0,k:40}},{ty:0,nm:"Decay",mn:"Pseudo/MDS Elastic Controller-0003",ix:3,v:{a:0,k:50}}]}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:2,ty:4,nm:"Shape Layer 8",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[1200,480,0],e:[1200,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:1,s:[1200,480,0],e:[1200,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.718},o:{x:.167,y:.083},n:"0p833_0p718_0p167_0p083",t:2,s:[1200,480,0],e:[1200,475.84,0],to:[0,-.69334012269974,0],ti:[-378956137032493e-28,2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:3,s:[1200,475.84,0],e:[1200,465.919,0],to:[378956137032493e-28,-2.3468861579895,0],ti:[378956137032493e-28,3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:4,s:[1200,465.919,0],e:[1200,454.08,0],to:[-378956137032493e-28,-3.62661719322205,0],ti:[378956137032493e-28,3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:5,s:[1200,454.08,0],e:[1200,444.16,0],to:[-378956137032493e-28,-3.62643098831177,0],ti:[-378956137032493e-28,2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:6,s:[1200,444.16,0],e:[1200,440,0],to:[378956137032493e-28,-2.34670925140381,0],ti:[-1.08608823323753e-10,.6474335193634,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:7,s:[1200,440,0],e:[1200,440.275,0],to:[1.08608823323753e-10,-.6474335193634,0],ti:[-1.76820932895616e-10,-.92485815286636,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:8,s:[1200,440.275,0],e:[1200,445.549,0],to:[1.76820932895616e-10,.92485815286636,0],ti:[-1.01332865709569e-10,-2.27932786941528,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:9,s:[1200,445.549,0],e:[1200,453.951,0],to:[1.01332865709569e-10,2.27932786941528,0],ti:[-380471938676852e-25,-3.12636637687683,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:10,s:[1200,453.951,0],e:[1200,464.307,0],to:[380471938676852e-25,3.12636637687683,0],ti:[2.09941689033322e-10,-4.34142255783081,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:11,s:[1200,464.307,0],e:[1200,480,0],to:[-2.09941689033322e-10,4.34142255783081,0],ti:[2.14868123293854e-10,-6.80449676513672,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:12,s:[1200,480,0],e:[1200,505.134,0],to:[-2.14868123293854e-10,6.80449676513672,0],ti:[0,-6.81718730926514,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:13,s:[1200,505.134,0],e:[1200,520.903,0],to:[0,6.81718730926514,0],ti:[0,-3.90351748466492,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:14,s:[1200,520.903,0],e:[1200,528.555,0],to:[0,3.90351748466492,0],ti:[0,-1.46778154373169,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:15,s:[1200,528.555,0],e:[1200,529.71,0],to:[0,1.46778154373169,0],ti:[0,.40835279226303,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:16,s:[1200,529.71,0],e:[1200,526.105,0],to:[0,-.40835279226303,0],ti:[0,1.71625697612762,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:17,s:[1200,526.105,0],e:[1200,519.412,0],to:[0,-1.71625697612762,0],ti:[0,2.50040626525879,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:18,s:[1200,519.412,0],e:[1200,511.103,0],to:[0,-2.50040626525879,0],ti:[0,2.83936166763306,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:19,s:[1200,511.103,0],e:[1200,502.376,0],to:[0,-2.83936166763306,0],ti:[0,2.82910346984863,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:20,s:[1200,502.376,0],e:[1200,494.128,0],to:[0,-2.82910346984863,0],ti:[0,2.56953763961792,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:21,s:[1200,494.128,0],e:[1200,486.959,0],to:[0,-2.56953763961792,0],ti:[0,2.15447521209717,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:22,s:[1200,486.959,0],e:[1200,481.201,0],to:[0,-2.15447521209717,0],ti:[0,1.66499769687653,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:23,s:[1200,481.201,0],e:[1200,476.969,0],to:[0,-1.66499769687653,0],ti:[0,1.16583645343781,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:24,s:[1200,476.969,0],e:[1200,474.206,0],to:[0,-1.16583645343781,0],ti:[0,.70423710346222,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:25,s:[1200,474.206,0],e:[1200,472.743,0],to:[0,-.70423710346222,0],ti:[0,.31070366501808,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:26,s:[1200,472.743,0],e:[1200,472.342,0],to:[0,-.31070366501808,0],ti:[0,.00102528964635,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:27,s:[1200,472.342,0],e:[1200,472.737,0],to:[0,-.00102528964635,0],ti:[0,-.22096036374569,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:28,s:[1200,472.737,0],e:[1200,473.668,0],to:[0,.22096036374569,0],ti:[0,-.3603213429451,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:29,s:[1200,473.668,0],e:[1200,474.899,0],to:[0,.3603213429451,0],ti:[0,-.42805504798889,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:30,s:[1200,474.899,0],e:[1200,476.236,0],to:[0,.42805504798889,0],ti:[0,-.43842709064484,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:31,s:[1200,476.236,0],e:[1200,477.53,0],to:[0,.43842709064484,0],ti:[0,-.40677306056023,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:32,s:[1200,477.53,0],e:[1200,478.677,0],to:[0,.40677306056023,0],ti:[0,-.34782794117928,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:33,s:[1200,478.677,0],e:[1200,479.617,0],to:[0,.34782794117928,0],ti:[0,-.27458295226097,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:34,s:[1200,479.617,0],e:[1200,480.324,0],to:[0,.27458295226097,0],ti:[0,-.19762142002583,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:35,s:[1200,480.324,0],e:[1200,480.803,0],to:[0,.19762142002583,0],ti:[0,-.12485805898905,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:36,s:[1200,480.803,0],e:[1200,481.074,0],to:[0,.12485805898905,0],ti:[0,-.06158968806267,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:37,s:[1200,481.074,0],e:[1200,481.172,0],to:[0,.06158968806267,0],ti:[0,-.0107651706785,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:38,s:[1200,481.172,0],e:[1200,481.138,0],to:[0,.0107651706785,0],ti:[0,.026611905545,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:39,s:[1200,481.138,0],e:[1200,481.012,0],to:[0,-.026611905545,0],ti:[0,.05102128908038,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:40,s:[1200,481.012,0],e:[1200,480.832,0],to:[0,-.05102128908038,0],ti:[0,.0639628097415,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:41,s:[1200,480.832,0],e:[1200,480.629,0],to:[0,-.0639628097415,0],ti:[0,.06753350049257,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:42,s:[1200,480.629,0],e:[1200,480.427,0],to:[0,-.06753350049257,0],ti:[0,.06407137960196,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:43,s:[1200,480.427,0],e:[1200,480.244,0],to:[0,-.06407137960196,0],ti:[0,.05587866902351,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:44,s:[1200,480.244,0],e:[1200,480.092,0],to:[0,-.05587866902351,0],ti:[0,.04502673074603,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:45,s:[1200,480.092,0],e:[1200,479.974,0],to:[0,-.04502673074603,0],ti:[0,.03323682770133,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:46,s:[1200,479.974,0],e:[1200,479.892,0],to:[0,-.03323682770133,0],ti:[0,.02182591706514,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:47,s:[1200,479.892,0],e:[1200,479.843,0],to:[0,-.02182591706514,0],ti:[0,.01170385163277,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:48,s:[1200,479.843,0],e:[1200,479.822,0],to:[0,-.01170385163277,0],ti:[0,.00340767251328,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:49,s:[1200,479.822,0],e:[1200,479.823,0],to:[0,-.00340767251328,0],ti:[0,-.00284059508704,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:50,s:[1200,479.823,0],e:[1200,479.839,0],to:[0,.00284059508704,0],ti:[0,-.00706443423405,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:51,s:[1200,479.839,0],e:[1200,479.865,0],to:[0,.00706443423405,0],ti:[0,-.00946115050465,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:52,s:[1200,479.865,0],e:[1200,479.896,0],to:[0,.00946115050465,0],ti:[0,-.01033500675112,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:53,s:[1200,479.896,0],e:[1200,479.927,0],to:[0,.01033500675112,0],ti:[0,-.0100397830829,0]},{i:{x:.833,y:.846},o:{x:.167,y:.173},n:"0p833_0p846_0p167_0p173",t:54,s:[1200,479.927,0],e:[1200,479.956,0],to:[0,.0100397830829,0],ti:[0,-.00893319491297,0]},{i:{x:.833,y:.851},o:{x:.167,y:.181},n:"0p833_0p851_0p167_0p181",t:55,s:[1200,479.956,0],e:[1200,479.981,0],to:[0,.00893319491297,0],ti:[0,-.00734389200807,0]},{i:{x:.833,y:.857},o:{x:.167,y:.189},n:"0p833_0p857_0p167_0p189",t:56,s:[1200,479.981,0],e:[1200,480,0],to:[0,.00734389200807,0],ti:[0,-.00555039569736,0]},{i:{x:.833,y:.864},o:{x:.167,y:.2},n:"0p833_0p864_0p167_0p2",t:57,s:[1200,480,0],e:[1200,480.014,0],to:[0,.00555039569736,0],ti:[0,-.00377047993243,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:58,s:[1200,480.014,0],e:[1200,480.023,0],to:[0,.00377047993243,0],ti:[0,-.00215897453018,0]},{i:{x:.833,y:.833},o:{x:.167,y:.255},n:"0p833_0p833_0p167_0p255",t:59,s:[1200,480.023,0],e:[1200,480.027,0],to:[0,.00215897453018,0],ti:[0,-.00070539524313,0]},{t:60}]},a:{a:0,k:[240,180,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:2,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:3,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:4,s:[100,-100,100],e:[101.04,-101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:5,s:[101.04,-101.04,100],e:[103.52,-103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:6,s:[103.52,-103.52,100],e:[106.48,-106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:7,s:[106.48,-106.48,100],e:[108.96,-108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:8,s:[108.96,-108.96,100],e:[110,-110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:9,s:[110,-110,100],e:[110.048,-110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:10,s:[110.048,-110.048,100],e:[108.803,-108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:11,s:[108.803,-108.803,100],e:[106.737,-106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:12,s:[106.737,-106.737,100],e:[104.153,-104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:13,s:[104.153,-104.153,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:14,s:[100,-100,100],e:[92.146,-92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:15,s:[92.146,-92.146,100],e:[87.218,-87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:16,s:[87.218,-87.218,100],e:[84.827,-84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:17,s:[84.827,-84.827,100],e:[84.466,-84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:18,s:[84.466,-84.466,100],e:[85.592,-85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:19,s:[85.592,-85.592,100],e:[87.684,-87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:20,s:[87.684,-87.684,100],e:[90.28,-90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:21,s:[90.28,-90.28,100],e:[93.008,-93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:22,s:[93.008,-93.008,100],e:[95.585,-95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:23,s:[95.585,-95.585,100],e:[97.825,-97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:24,s:[97.825,-97.825,100],e:[99.625,-99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:25,s:[99.625,-99.625,100],e:[100.947,-100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:26,s:[100.947,-100.947,100],e:[101.81,-101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:27,s:[101.81,-101.81,100],e:[102.268,-102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:28,s:[102.268,-102.268,100],e:[102.393,-102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:29,s:[102.393,-102.393,100],e:[102.27,-102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:30,s:[102.27,-102.27,100],e:[101.979,-101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:31,s:[101.979,-101.979,100],e:[101.594,-101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:32,s:[101.594,-101.594,100],e:[101.176,-101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:33,s:[101.176,-101.176,100],e:[100.772,-100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:34,s:[100.772,-100.772,100],e:[100.413,-100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:35,s:[100.413,-100.413,100],e:[100.12,-100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:36,s:[100.12,-100.12,100],e:[99.899,-99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:37,s:[99.899,-99.899,100],e:[99.749,-99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:38,s:[99.749,-99.749,100],e:[99.665,-99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:39,s:[99.665,-99.665,100],e:[99.634,-99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:40,s:[99.634,-99.634,100],e:[99.644,-99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:41,s:[99.644,-99.644,100],e:[99.684,-99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:42,s:[99.684,-99.684,100],e:[99.74,-99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:43,s:[99.74,-99.74,100],e:[99.804,-99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:44,s:[99.804,-99.804,100],e:[99.867,-99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:45,s:[99.867,-99.867,100],e:[99.924,-99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:46,s:[99.924,-99.924,100],e:[99.971,-99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:47,s:[99.971,-99.971,100],e:[100.008,-100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:48,s:[100.008,-100.008,100],e:[100.034,-100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:49,s:[100.034,-100.034,100],e:[100.049,-100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:50,s:[100.049,-100.049,100],e:[100.056,-100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:51,s:[100.056,-100.056,100],e:[100.055,-100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:52,s:[100.055,-100.055,100],e:[100.05,-100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:53,s:[100.05,-100.05,100],e:[100.042,-100.042,100]},{i:{x:[.833,.833,.833],y:[.832,.832,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p832_0p167_0p154","0p833_0p832_0p167_0p154","0p833_0p833_0p167_0p167"],t:54,s:[100.042,-100.042,100],e:[100.033,-100.033,100]},{i:{x:[.833,.833,.833],y:[.84,.84,.833]},o:{x:[.167,.167,.167],y:[.165,.165,.167]},n:["0p833_0p84_0p167_0p165","0p833_0p84_0p167_0p165","0p833_0p833_0p167_0p167"],t:55,s:[100.033,-100.033,100],e:[100.023,-100.023,100]},{i:{x:[.833,.833,.833],y:[.846,.846,.833]},o:{x:[.167,.167,.167],y:[.173,.173,.167]},n:["0p833_0p846_0p167_0p173","0p833_0p846_0p167_0p173","0p833_0p833_0p167_0p167"],t:56,s:[100.023,-100.023,100],e:[100.014,-100.014,100]},{i:{x:[.833,.833,.833],y:[.851,.851,.833]},o:{x:[.167,.167,.167],y:[.181,.181,.167]},n:["0p833_0p851_0p167_0p181","0p833_0p851_0p167_0p181","0p833_0p833_0p167_0p167"],t:57,s:[100.014,-100.014,100],e:[100.006,-100.006,100]},{i:{x:[.833,.833,.833],y:[.857,.857,.833]},o:{x:[.167,.167,.167],y:[.189,.189,.167]},n:["0p833_0p857_0p167_0p189","0p833_0p857_0p167_0p189","0p833_0p833_0p167_0p167"],t:58,s:[100.006,-100.006,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.2,.2,.167]},n:["0p833_0p833_0p167_0p2","0p833_0p833_0p167_0p2","0p833_0p833_0p167_0p167"],t:59,s:[100,-100,100],e:[99.996,-99.996,100]},{t:60}]}},ao:0,ef:[{ty:5,nm:"Elastic Controller Scale",mn:"Pseudo/MDS Elastic Controller",ix:1,en:1,ef:[{ty:0,nm:"Amplitude",mn:"Pseudo/MDS Elastic Controller-0001",ix:1,v:{a:0,k:100}},{ty:0,nm:"Frequency",mn:"Pseudo/MDS Elastic Controller-0002",ix:2,v:{a:0,k:40}},{ty:0,nm:"Decay",mn:"Pseudo/MDS Elastic Controller-0003",ix:3,v:{a:0,k:40}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-132.548],[-132.548,0],[0,132.548]],o:[[0,132.548],[132.548,0],[0,-132.548]],v:[[-240,0],[0,240],[240,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:2,s:[80],e:[147]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:7,s:[147],e:[80]},{t:17}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,180],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:5,s:[0],e:[99.9]},{t:20}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:2,s:[.1],e:[100]},{t:17}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:3,ty:4,nm:"Shape Layer 10",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:1,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:2,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:3,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:4,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:5,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:6,s:[1040,480,0],e:[1040,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.718},o:{x:.167,y:.083},n:"0p833_0p718_0p167_0p083",t:7,s:[1040,480,0],e:[1040,475.84,0],to:[-378956137032493e-28,-.69334012269974,0],ti:[0,2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:8,s:[1040,475.84,0],e:[1040,465.919,0],to:[0,-2.3468861579895,0],ti:[-378956137032493e-28,3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:9,s:[1040,465.919,0],e:[1040,454.08,0],to:[378956137032493e-28,-3.62661719322205,0],ti:[0,3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:10,s:[1040,454.08,0],e:[1040,444.16,0],to:[0,-3.62643098831177,0],ti:[0,2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:11,s:[1040,444.16,0],e:[1040,440,0],to:[0,-2.34670925140381,0],ti:[0,.6474335193634,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:12,s:[1040,440,0],e:[1040,440.275,0],to:[0,-.6474335193634,0],ti:[0,-.92485815286636,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:13,s:[1040,440.275,0],e:[1040,445.549,0],to:[0,.92485815286636,0],ti:[0,-2.27932786941528,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:14,s:[1040,445.549,0],e:[1040,453.951,0],to:[0,2.27932786941528,0],ti:[0,-3.12636637687683,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:15,s:[1040,453.951,0],e:[1040,464.307,0],to:[0,3.12636637687683,0],ti:[0,-4.34142255783081,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:16,s:[1040,464.307,0],e:[1040,480,0],to:[0,4.34142255783081,0],ti:[0,-6.80449676513672,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:17,s:[1040,480,0],e:[1040,505.134,0],to:[0,6.80449676513672,0],ti:[0,-6.81718730926514,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:18,s:[1040,505.134,0],e:[1040,520.903,0],to:[0,6.81718730926514,0],ti:[0,-3.90351748466492,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:19,s:[1040,520.903,0],e:[1040,528.555,0],to:[0,3.90351748466492,0],ti:[0,-1.46778154373169,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:20,s:[1040,528.555,0],e:[1040,529.71,0],to:[0,1.46778154373169,0],ti:[0,.40835279226303,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:21,s:[1040,529.71,0],e:[1040,526.105,0],to:[0,-.40835279226303,0],ti:[0,1.71625697612762,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:22,s:[1040,526.105,0],e:[1040,519.412,0],to:[0,-1.71625697612762,0],ti:[0,2.50040626525879,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:23,s:[1040,519.412,0],e:[1040,511.103,0],to:[0,-2.50040626525879,0],ti:[0,2.83936166763306,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:24,s:[1040,511.103,0],e:[1040,502.376,0],to:[0,-2.83936166763306,0],ti:[0,2.82910346984863,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:25,s:[1040,502.376,0],e:[1040,494.128,0],to:[0,-2.82910346984863,0],ti:[0,2.56953763961792,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:26,s:[1040,494.128,0],e:[1040,486.959,0],to:[0,-2.56953763961792,0],ti:[0,2.15447521209717,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:27,s:[1040,486.959,0],e:[1040,481.201,0],to:[0,-2.15447521209717,0],ti:[0,1.66499769687653,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:28,s:[1040,481.201,0],e:[1040,476.969,0],to:[0,-1.66499769687653,0],ti:[0,1.16583645343781,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:29,s:[1040,476.969,0],e:[1040,474.206,0],to:[0,-1.16583645343781,0],ti:[0,.70423710346222,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:30,s:[1040,474.206,0],e:[1040,472.743,0],to:[0,-.70423710346222,0],ti:[0,.31070366501808,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:31,s:[1040,472.743,0],e:[1040,472.342,0],to:[0,-.31070366501808,0],ti:[0,.00102528964635,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:32,s:[1040,472.342,0],e:[1040,472.737,0],to:[0,-.00102528964635,0],ti:[0,-.22096036374569,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:33,s:[1040,472.737,0],e:[1040,473.668,0],to:[0,.22096036374569,0],ti:[0,-.3603213429451,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:34,s:[1040,473.668,0],e:[1040,474.899,0],to:[0,.3603213429451,0],ti:[0,-.42805504798889,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:35,s:[1040,474.899,0],e:[1040,476.236,0],to:[0,.42805504798889,0],ti:[0,-.43842709064484,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:36,s:[1040,476.236,0],e:[1040,477.53,0],to:[0,.43842709064484,0],ti:[0,-.40677306056023,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:37,s:[1040,477.53,0],e:[1040,478.677,0],to:[0,.40677306056023,0],ti:[0,-.34782794117928,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:38,s:[1040,478.677,0],e:[1040,479.617,0],to:[0,.34782794117928,0],ti:[0,-.27458295226097,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:39,s:[1040,479.617,0],e:[1040,480.324,0],to:[0,.27458295226097,0],ti:[0,-.19762142002583,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:40,s:[1040,480.324,0],e:[1040,480.803,0],to:[0,.19762142002583,0],ti:[0,-.12485805898905,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:41,s:[1040,480.803,0],e:[1040,481.074,0],to:[0,.12485805898905,0],ti:[0,-.06158968806267,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:42,s:[1040,481.074,0],e:[1040,481.172,0],to:[0,.06158968806267,0],ti:[0,-.0107651706785,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:43,s:[1040,481.172,0],e:[1040,481.138,0],to:[0,.0107651706785,0],ti:[0,.026611905545,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:44,s:[1040,481.138,0],e:[1040,481.012,0],to:[0,-.026611905545,0],ti:[0,.05102128908038,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:45,s:[1040,481.012,0],e:[1040,480.832,0],to:[0,-.05102128908038,0],ti:[0,.0639628097415,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:46,s:[1040,480.832,0],e:[1040,480.629,0],to:[0,-.0639628097415,0],ti:[0,.06753350049257,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:47,s:[1040,480.629,0],e:[1040,480.427,0],to:[0,-.06753350049257,0],ti:[0,.06407137960196,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:48,s:[1040,480.427,0],e:[1040,480.244,0],to:[0,-.06407137960196,0],ti:[0,.05587866902351,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:49,s:[1040,480.244,0],e:[1040,480.092,0],to:[0,-.05587866902351,0],ti:[0,.04502673074603,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:50,s:[1040,480.092,0],e:[1040,479.974,0],to:[0,-.04502673074603,0],ti:[0,.03323682770133,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:51,s:[1040,479.974,0],e:[1040,479.892,0],to:[0,-.03323682770133,0],ti:[0,.02182591706514,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:52,s:[1040,479.892,0],e:[1040,479.843,0],to:[0,-.02182591706514,0],ti:[0,.01170385163277,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:53,s:[1040,479.843,0],e:[1040,479.822,0],to:[0,-.01170385163277,0],ti:[0,.00340767251328,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:54,s:[1040,479.822,0],e:[1040,479.823,0],to:[0,-.00340767251328,0],ti:[0,-.00284059508704,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:55,s:[1040,479.823,0],e:[1040,479.839,0],to:[0,.00284059508704,0],ti:[0,-.00706443423405,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:56,s:[1040,479.839,0],e:[1040,479.865,0],to:[0,.00706443423405,0],ti:[0,-.00946115050465,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:57,s:[1040,479.865,0],e:[1040,479.896,0],to:[0,.00946115050465,0],ti:[0,-.01033500675112,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:58,s:[1040,479.896,0],e:[1040,479.927,0],to:[0,.01033500675112,0],ti:[0,-.0100397830829,0]},{i:{x:.833,y:.833},o:{x:.167,y:.173},n:"0p833_0p833_0p167_0p173",t:59,s:[1040,479.927,0],e:[1040,479.956,0],to:[0,.0100397830829,0],ti:[0,-.00482279807329,0]},{t:60}]},a:{a:0,k:[80,20,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:2,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:3,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:4,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:5,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:6,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:7,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:8,s:[100,-100,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:9,s:[100,-100,100],e:[101.04,-101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:10,s:[101.04,-101.04,100],e:[103.52,-103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:11,s:[103.52,-103.52,100],e:[106.48,-106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:12,s:[106.48,-106.48,100],e:[108.96,-108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:13,s:[108.96,-108.96,100],e:[110,-110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:14,s:[110,-110,100],e:[110.048,-110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:15,s:[110.048,-110.048,100],e:[108.803,-108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:16,s:[108.803,-108.803,100],e:[106.737,-106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:17,s:[106.737,-106.737,100],e:[104.153,-104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:18,s:[104.153,-104.153,100],e:[100,-100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:19,s:[100,-100,100],e:[92.146,-92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:20,s:[92.146,-92.146,100],e:[87.218,-87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:21,s:[87.218,-87.218,100],e:[84.827,-84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:22,s:[84.827,-84.827,100],e:[84.466,-84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:23,s:[84.466,-84.466,100],e:[85.592,-85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:24,s:[85.592,-85.592,100],e:[87.684,-87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:25,s:[87.684,-87.684,100],e:[90.28,-90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:26,s:[90.28,-90.28,100],e:[93.008,-93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:27,s:[93.008,-93.008,100],e:[95.585,-95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:28,s:[95.585,-95.585,100],e:[97.825,-97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:29,s:[97.825,-97.825,100],e:[99.625,-99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:30,s:[99.625,-99.625,100],e:[100.947,-100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:31,s:[100.947,-100.947,100],e:[101.81,-101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:32,s:[101.81,-101.81,100],e:[102.268,-102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:33,s:[102.268,-102.268,100],e:[102.393,-102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:34,s:[102.393,-102.393,100],e:[102.27,-102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:35,s:[102.27,-102.27,100],e:[101.979,-101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:36,s:[101.979,-101.979,100],e:[101.594,-101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:37,s:[101.594,-101.594,100],e:[101.176,-101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:38,s:[101.176,-101.176,100],e:[100.772,-100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:39,s:[100.772,-100.772,100],e:[100.413,-100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:40,s:[100.413,-100.413,100],e:[100.12,-100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:41,s:[100.12,-100.12,100],e:[99.899,-99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:42,s:[99.899,-99.899,100],e:[99.749,-99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:43,s:[99.749,-99.749,100],e:[99.665,-99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:44,s:[99.665,-99.665,100],e:[99.634,-99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:45,s:[99.634,-99.634,100],e:[99.644,-99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:46,s:[99.644,-99.644,100],e:[99.684,-99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:47,s:[99.684,-99.684,100],e:[99.74,-99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:48,s:[99.74,-99.74,100],e:[99.804,-99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:49,s:[99.804,-99.804,100],e:[99.867,-99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:50,s:[99.867,-99.867,100],e:[99.924,-99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:51,s:[99.924,-99.924,100],e:[99.971,-99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:52,s:[99.971,-99.971,100],e:[100.008,-100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:53,s:[100.008,-100.008,100],e:[100.034,-100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:54,s:[100.034,-100.034,100],e:[100.049,-100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:55,s:[100.049,-100.049,100],e:[100.056,-100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:56,s:[100.056,-100.056,100],e:[100.055,-100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:57,s:[100.055,-100.055,100],e:[100.05,-100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:58,s:[100.05,-100.05,100],e:[100.042,-100.042,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p833_0p167_0p154","0p833_0p833_0p167_0p154","0p833_0p833_0p167_0p167"],t:59,s:[100.042,-100.042,100],e:[100.033,-100.033,100]},{t:60}]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-44.183],[-44.183,0],[0,44.183]],o:[[0,44.183],[44.183,0],[0,-44.183]],v:[[-80,0],[0,80],[80,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:7,s:[80],e:[100]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:12,s:[100],e:[80]},{t:22}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,20],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:11,s:[0],e:[99.9]},{t:26}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:7,s:[.1],e:[100]},{t:22}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:4,ty:4,nm:"Shape Layer 9",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.718},o:{x:.167,y:.167},n:"0p833_0p718_0p167_0p167",t:0,s:[720,480,0],e:[720,484.16,0],to:[189478068516246e-28,.69334012269974,0],ti:[189478068516246e-28,-2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:1,s:[720,484.16,0],e:[720,494.081,0],to:[-189478068516246e-28,2.3468861579895,0],ti:[189478068516246e-28,-3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:2,s:[720,494.081,0],e:[720,505.92,0],to:[-189478068516246e-28,3.62661719322205,0],ti:[-189478068516246e-28,-3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:3,s:[720,505.92,0],e:[720,515.84,0],to:[189478068516246e-28,3.62643098831177,0],ti:[0,-2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:4,s:[720,515.84,0],e:[720,520,0],to:[0,2.34670925140381,0],ti:[543044116618763e-25,-.64769965410233,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:5,s:[720,520,0],e:[720,519.726,0],to:[-543044116618763e-25,.64769965410233,0],ti:[884483597474173e-25,.92460745573044,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:6,s:[720,519.726,0],e:[720,514.452,0],to:[-884483597474173e-25,-.92460745573044,0],ti:[506664328547846e-25,2.27949190139771,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:7,s:[720,514.452,0],e:[720,506.049,0],to:[-506664328547846e-25,-2.27949190139771,0],ti:[19004650284038e-24,3.12637186050415,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:8,s:[720,506.049,0],e:[720,495.694,0],to:[-19004650284038e-24,-3.12637186050415,0],ti:[-1.04970844516661e-10,4.34152460098267,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:9,s:[720,495.694,0],e:[720,480,0],to:[1.04970844516661e-10,-4.34152460098267,0],ti:[-1.07453011766179e-10,6.80367374420166,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:10,s:[720,480,0],e:[720,454.872,0],to:[1.07453011766179e-10,-6.80367374420166,0],ti:[0,6.81544876098633,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:11,s:[720,454.872,0],e:[720,439.107,0],to:[0,-6.81544876098633,0],ti:[0,3.90252184867859,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:12,s:[720,439.107,0],e:[720,431.457,0],to:[0,-3.90252184867859,0],ti:[0,1.4674072265625,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:13,s:[720,431.457,0],e:[720,430.303,0],to:[0,-1.4674072265625,0],ti:[0,-.40824863314629,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:14,s:[720,430.303,0],e:[720,433.906,0],to:[0,.40824863314629,0],ti:[0,-1.71581923961639,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:15,s:[720,433.906,0],e:[720,440.598,0],to:[0,1.71581923961639,0],ti:[0,-2.49976849555969,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:16,s:[720,440.598,0],e:[720,448.905,0],to:[0,2.49976849555969,0],ti:[0,-2.83863735198975,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:17,s:[720,448.905,0],e:[720,457.63,0],to:[0,2.83863735198975,0],ti:[0,-2.82838201522827,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:18,s:[720,457.63,0],e:[720,465.875,0],to:[0,2.82838201522827,0],ti:[0,-2.56888222694397,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:19,s:[720,465.875,0],e:[720,473.043,0],to:[0,2.56888222694397,0],ti:[0,-2.15392565727234,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:20,s:[720,473.043,0],e:[720,478.799,0],to:[0,2.15392565727234,0],ti:[0,-1.66457295417786,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:21,s:[720,478.799,0],e:[720,483.03,0],to:[0,1.66457295417786,0],ti:[0,-1.16553914546967,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:22,s:[720,483.03,0],e:[720,485.792,0],to:[0,1.16553914546967,0],ti:[0,-.70405745506287,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:23,s:[720,485.792,0],e:[720,487.255,0],to:[0,.70405745506287,0],ti:[0,-.31062442064285,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:24,s:[720,487.255,0],e:[720,487.656,0],to:[0,.31062442064285,0],ti:[0,-.00102502817754,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:25,s:[720,487.656,0],e:[720,487.261,0],to:[0,.00102502817754,0],ti:[0,.22090400755405,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:26,s:[720,487.261,0],e:[720,486.33,0],to:[0,-.22090400755405,0],ti:[0,.36022943258286,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:27,s:[720,486.33,0],e:[720,485.099,0],to:[0,-.36022943258286,0],ti:[0,.42794588208199,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:28,s:[720,485.099,0],e:[720,483.763,0],to:[0,-.42794588208199,0],ti:[0,.43831527233124,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:29,s:[720,483.763,0],e:[720,482.47,0],to:[0,-.43831527233124,0],ti:[0,.40666928887367,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:30,s:[720,482.47,0],e:[720,481.323,0],to:[0,-.40666928887367,0],ti:[0,.34773921966553,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:31,s:[720,481.323,0],e:[720,480.383,0],to:[0,-.34773921966553,0],ti:[0,.27451291680336,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:32,s:[720,480.383,0],e:[720,479.676,0],to:[0,-.27451291680336,0],ti:[0,.19757102429867,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:33,s:[720,479.676,0],e:[720,479.198,0],to:[0,-.19757102429867,0],ti:[0,.12482621520758,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:34,s:[720,479.198,0],e:[720,478.927,0],to:[0,-.12482621520758,0],ti:[0,.06157397851348,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:35,s:[720,478.927,0],e:[720,478.828,0],to:[0,-.06157397851348,0],ti:[0,.01076242513955,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:36,s:[720,478.828,0],e:[720,478.862,0],to:[0,-.01076242513955,0],ti:[0,-.02660511806607,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:37,s:[720,478.862,0],e:[720,478.988,0],to:[0,.02660511806607,0],ti:[0,-.05100827664137,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:38,s:[720,478.988,0],e:[720,479.168,0],to:[0,.05100827664137,0],ti:[0,-.06394649296999,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:39,s:[720,479.168,0],e:[720,479.372,0],to:[0,.06394649296999,0],ti:[0,-.06751627475023,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:40,s:[720,479.372,0],e:[720,479.573,0],to:[0,.06751627475023,0],ti:[0,-.06405504047871,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:41,s:[720,479.573,0],e:[720,479.756,0],to:[0,.06405504047871,0],ti:[0,-.05586441606283,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:42,s:[720,479.756,0],e:[720,479.908,0],to:[0,.05586441606283,0],ti:[0,-.04501524940133,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:43,s:[720,479.908,0],e:[720,480.026,0],to:[0,.04501524940133,0],ti:[0,-.03322834894061,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:44,s:[720,480.026,0],e:[720,480.108,0],to:[0,.03322834894061,0],ti:[0,-.02182034961879,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:45,s:[720,480.108,0],e:[720,480.157,0],to:[0,.02182034961879,0],ti:[0,-.01170086674392,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:46,s:[720,480.157,0],e:[720,480.178,0],to:[0,.01170086674392,0],ti:[0,-.00340680335648,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:47,s:[720,480.178,0],e:[720,480.177,0],to:[0,.00340680335648,0],ti:[0,.00283987051807,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:48,s:[720,480.177,0],e:[720,480.161,0],to:[0,-.00283987051807,0],ti:[0,.00706263212487,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:49,s:[720,480.161,0],e:[720,480.135,0],to:[0,-.00706263212487,0],ti:[0,.00945873651654,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:50,s:[720,480.135,0],e:[720,480.104,0],to:[0,-.00945873651654,0],ti:[0,.01033237110823,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:51,s:[720,480.104,0],e:[720,480.073,0],to:[0,-.01033237110823,0],ti:[0,.01003722194582,0]},{i:{x:.833,y:.846},o:{x:.167,y:.173},n:"0p833_0p846_0p167_0p173",t:52,s:[720,480.073,0],e:[720,480.044,0],to:[0,-.01003722194582,0],ti:[0,.00893091596663,0]},{i:{x:.833,y:.851},o:{x:.167,y:.181},n:"0p833_0p851_0p167_0p181",t:53,s:[720,480.044,0],e:[720,480.019,0],to:[0,-.00893091596663,0],ti:[0,.00734201865271,0]},{i:{x:.833,y:.857},o:{x:.167,y:.189},n:"0p833_0p857_0p167_0p189",t:54,s:[720,480.019,0],e:[720,480,0],to:[0,-.00734201865271,0],ti:[0,.00554898008704,0]},{i:{x:.833,y:.864},o:{x:.167,y:.2},n:"0p833_0p864_0p167_0p2",t:55,s:[720,480,0],e:[720,479.986,0],to:[0,-.00554898008704,0],ti:[0,.00376951810904,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:56,s:[720,479.986,0],e:[720,479.977,0],to:[0,-.00376951810904,0],ti:[0,.0021584238857,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:57,s:[720,479.977,0],e:[720,479.973,0],to:[0,-.0021584238857,0],ti:[0,.0008115999517,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:58,s:[720,479.973,0],e:[720,479.973,0],to:[0,-.0008115999517,0],ti:[0,-.00022579594224,0]},{i:{x:.833,y:.833},o:{x:.167,y:.12},n:"0p833_0p833_0p167_0p12",t:59,s:[720,479.973,0],e:[720,479.975,0],to:[0,.00022579594224,0],ti:[0,-.00033218055614,0]},{t:60}]},a:{a:0,k:[-240,20,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:2,s:[100,100,100],e:[101.04,101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:3,s:[101.04,101.04,100],e:[103.52,103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:4,s:[103.52,103.52,100],e:[106.48,106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:5,s:[106.48,106.48,100],e:[108.96,108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:6,s:[108.96,108.96,100],e:[110,110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:7,s:[110,110,100],e:[110.048,110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:8,s:[110.048,110.048,100],e:[108.803,108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:9,s:[108.803,108.803,100],e:[106.737,106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:10,s:[106.737,106.737,100],e:[104.153,104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:11,s:[104.153,104.153,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:12,s:[100,100,100],e:[92.146,92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:13,s:[92.146,92.146,100],e:[87.218,87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:14,s:[87.218,87.218,100],e:[84.827,84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:15,s:[84.827,84.827,100],e:[84.466,84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:16,s:[84.466,84.466,100],e:[85.592,85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:17,s:[85.592,85.592,100],e:[87.684,87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:18,s:[87.684,87.684,100],e:[90.28,90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:19,s:[90.28,90.28,100],e:[93.008,93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:20,s:[93.008,93.008,100],e:[95.585,95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:21,s:[95.585,95.585,100],e:[97.825,97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:22,s:[97.825,97.825,100],e:[99.625,99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:23,s:[99.625,99.625,100],e:[100.947,100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:24,s:[100.947,100.947,100],e:[101.81,101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:25,s:[101.81,101.81,100],e:[102.268,102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:26,s:[102.268,102.268,100],e:[102.393,102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:27,s:[102.393,102.393,100],e:[102.27,102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:28,s:[102.27,102.27,100],e:[101.979,101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:29,s:[101.979,101.979,100],e:[101.594,101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:30,s:[101.594,101.594,100],e:[101.176,101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:31,s:[101.176,101.176,100],e:[100.772,100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:32,s:[100.772,100.772,100],e:[100.413,100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:33,s:[100.413,100.413,100],e:[100.12,100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:34,s:[100.12,100.12,100],e:[99.899,99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:35,s:[99.899,99.899,100],e:[99.749,99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:36,s:[99.749,99.749,100],e:[99.665,99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:37,s:[99.665,99.665,100],e:[99.634,99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:38,s:[99.634,99.634,100],e:[99.644,99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:39,s:[99.644,99.644,100],e:[99.684,99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:40,s:[99.684,99.684,100],e:[99.74,99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:41,s:[99.74,99.74,100],e:[99.804,99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:42,s:[99.804,99.804,100],e:[99.867,99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:43,s:[99.867,99.867,100],e:[99.924,99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:44,s:[99.924,99.924,100],e:[99.971,99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:45,s:[99.971,99.971,100],e:[100.008,100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:46,s:[100.008,100.008,100],e:[100.034,100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:47,s:[100.034,100.034,100],e:[100.049,100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:48,s:[100.049,100.049,100],e:[100.056,100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:49,s:[100.056,100.056,100],e:[100.055,100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:50,s:[100.055,100.055,100],e:[100.05,100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:51,s:[100.05,100.05,100],e:[100.042,100.042,100]},{i:{x:[.833,.833,.833],y:[.832,.832,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p832_0p167_0p154","0p833_0p832_0p167_0p154","0p833_0p833_0p167_0p167"],t:52,s:[100.042,100.042,100],e:[100.033,100.033,100]},{i:{x:[.833,.833,.833],y:[.84,.84,.833]},o:{x:[.167,.167,.167],y:[.165,.165,.167]},n:["0p833_0p84_0p167_0p165","0p833_0p84_0p167_0p165","0p833_0p833_0p167_0p167"],t:53,s:[100.033,100.033,100],e:[100.023,100.023,100]},{i:{x:[.833,.833,.833],y:[.846,.846,.833]},o:{x:[.167,.167,.167],y:[.173,.173,.167]},n:["0p833_0p846_0p167_0p173","0p833_0p846_0p167_0p173","0p833_0p833_0p167_0p167"],t:54,s:[100.023,100.023,100],e:[100.014,100.014,100]},{i:{x:[.833,.833,.833],y:[.851,.851,.833]},o:{x:[.167,.167,.167],y:[.181,.181,.167]},n:["0p833_0p851_0p167_0p181","0p833_0p851_0p167_0p181","0p833_0p833_0p167_0p167"],t:55,s:[100.014,100.014,100],e:[100.006,100.006,100]},{i:{x:[.833,.833,.833],y:[.857,.857,.833]},o:{x:[.167,.167,.167],y:[.189,.189,.167]},n:["0p833_0p857_0p167_0p189","0p833_0p857_0p167_0p189","0p833_0p833_0p167_0p167"],t:56,s:[100.006,100.006,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.2,.2,.167]},n:["0p833_0p864_0p167_0p2","0p833_0p864_0p167_0p2","0p833_0p833_0p167_0p167"],t:57,s:[100,100,100],e:[99.996,99.996,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:58,s:[99.996,99.996,100],e:[99.993,99.993,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p833_0p167_0p255","0p833_0p833_0p167_0p255","0p833_0p833_0p167_0p167"],t:59,s:[99.993,99.993,100],e:[99.992,99.992,100]},{t:60}]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-88.366],[88.366,0],[0,88.366]],o:[[0,88.366],[-88.366,0],[0,-88.366]],v:[[80,0],[-80,160],[-240,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:0,s:[80],e:[147]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:5,s:[147],e:[80]},{t:15}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,20],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:3,s:[0],e:[99.9]},{t:18}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:0,s:[.1],e:[100]},{t:15}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1},{ddd:0,ind:5,ty:4,nm:"Shape Layer 7",ks:{o:{a:0,k:100},r:{a:0,k:0},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:0,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:1,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:2,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:3,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},n:"0p833_0p833_0p167_0p167",t:4,s:[880,480,0],e:[880,480,0],to:[0,0,0],ti:[0,0,0]},{i:{x:.833,y:.718},o:{x:.167,y:.083},n:"0p833_0p718_0p167_0p083",t:5,s:[880,480,0],e:[880,484.16,0],to:[-189478068516246e-28,.69334012269974,0],ti:[189478068516246e-28,-2.3468861579895,0]},{i:{x:.833,y:.817},o:{x:.167,y:.118},n:"0p833_0p817_0p167_0p118",t:6,s:[880,484.16,0],e:[880,494.081,0],to:[-189478068516246e-28,2.3468861579895,0],ti:[-189478068516246e-28,-3.62661719322205,0]},{i:{x:.833,y:.847},o:{x:.167,y:.153},n:"0p833_0p847_0p167_0p153",t:7,s:[880,494.081,0],e:[880,505.92,0],to:[189478068516246e-28,3.62661719322205,0],ti:[-189478068516246e-28,-3.62643098831177,0]},{i:{x:.833,y:.882},o:{x:.167,y:.183},n:"0p833_0p882_0p167_0p183",t:8,s:[880,505.92,0],e:[880,515.84,0],to:[189478068516246e-28,3.62643098831177,0],ti:[0,-2.34670925140381,0]},{i:{x:.833,y:.893},o:{x:.167,y:.282},n:"0p833_0p893_0p167_0p282",t:9,s:[880,515.84,0],e:[880,520,0],to:[0,2.34670925140381,0],ti:[0,-.64769965410233,0]},{i:{x:.833,y:.547},o:{x:.167,y:.375},n:"0p833_0p547_0p167_0p375",t:10,s:[880,520,0],e:[880,519.726,0],to:[0,.64769965410233,0],ti:[0,.92460745573044,0]},{i:{x:.833,y:.784},o:{x:.167,y:.102},n:"0p833_0p784_0p167_0p102",t:11,s:[880,519.726,0],e:[880,514.452,0],to:[0,-.92460745573044,0],ti:[189478068516246e-28,2.27949190139771,0]},{i:{x:.833,y:.814},o:{x:.167,y:.136},n:"0p833_0p814_0p167_0p136",t:12,s:[880,514.452,0],e:[880,506.049,0],to:[-189478068516246e-28,-2.27949190139771,0],ti:[0,3.12637186050415,0]},{i:{x:.833,y:.79},o:{x:.167,y:.151},n:"0p833_0p79_0p167_0p151",t:13,s:[880,506.049,0],e:[880,495.694,0],to:[0,-3.12637186050415,0],ti:[-189478068516246e-28,4.34152460098267,0]},{i:{x:.833,y:.783},o:{x:.167,y:.138},n:"0p833_0p783_0p167_0p138",t:14,s:[880,495.694,0],e:[880,480,0],to:[189478068516246e-28,-4.34152460098267,0],ti:[0,6.80367374420166,0]},{i:{x:.833,y:.864},o:{x:.167,y:.135},n:"0p833_0p864_0p167_0p135",t:15,s:[880,480,0],e:[880,454.872,0],to:[0,-6.80367374420166,0],ti:[0,6.81544876098633,0]},{i:{x:.833,y:.876},o:{x:.167,y:.216},n:"0p833_0p876_0p167_0p216",t:16,s:[880,454.872,0],e:[880,439.107,0],to:[0,-6.81544876098633,0],ti:[0,3.90252184867859,0]},{i:{x:.833,y:.9},o:{x:.167,y:.255},n:"0p833_0p9_0p167_0p255",t:17,s:[880,439.107,0],e:[880,431.457,0],to:[0,-3.90252184867859,0],ti:[0,1.4674072265625,0]},{i:{x:.833,y:.726},o:{x:.167,y:.489},n:"0p833_0p726_0p167_0p489",t:18,s:[880,431.457,0],e:[880,430.303,0],to:[0,-1.4674072265625,0],ti:[0,-.40824863314629,0]},{i:{x:.833,y:.762},o:{x:.167,y:.12},n:"0p833_0p762_0p167_0p12",t:19,s:[880,430.303,0],e:[880,433.906,0],to:[0,.40824863314629,0],ti:[0,-1.71581923961639,0]},{i:{x:.833,y:.813},o:{x:.167,y:.128},n:"0p833_0p813_0p167_0p128",t:20,s:[880,433.906,0],e:[880,440.598,0],to:[0,1.71581923961639,0],ti:[0,-2.49976849555969,0]},{i:{x:.833,y:.829},o:{x:.167,y:.15},n:"0p833_0p829_0p167_0p15",t:21,s:[880,440.598,0],e:[880,448.905,0],to:[0,2.49976849555969,0],ti:[0,-2.83863735198975,0]},{i:{x:.833,y:.838},o:{x:.167,y:.163},n:"0p833_0p838_0p167_0p163",t:22,s:[880,448.905,0],e:[880,457.63,0],to:[0,2.83863735198975,0],ti:[0,-2.82838201522827,0]},{i:{x:.833,y:.844},o:{x:.167,y:.172},n:"0p833_0p844_0p167_0p172",t:23,s:[880,457.63,0],e:[880,465.875,0],to:[0,2.82838201522827,0],ti:[0,-2.56888222694397,0]},{i:{x:.833,y:.85},o:{x:.167,y:.179},n:"0p833_0p85_0p167_0p179",t:24,s:[880,465.875,0],e:[880,473.043,0],to:[0,2.56888222694397,0],ti:[0,-2.15392565727234,0]},{i:{x:.833,y:.855},o:{x:.167,y:.187},n:"0p833_0p855_0p167_0p187",t:25,s:[880,473.043,0],e:[880,478.799,0],to:[0,2.15392565727234,0],ti:[0,-1.66457295417786,0]},{i:{x:.833,y:.862},o:{x:.167,y:.197},n:"0p833_0p862_0p167_0p197",t:26,s:[880,478.799,0],e:[880,483.03,0],to:[0,1.66457295417786,0],ti:[0,-1.16553914546967,0]},{i:{x:.833,y:.873},o:{x:.167,y:.211},n:"0p833_0p873_0p167_0p211",t:27,s:[880,483.03,0],e:[880,485.792,0],to:[0,1.16553914546967,0],ti:[0,-.70405745506287,0]},{i:{x:.833,y:.894},o:{x:.167,y:.241},n:"0p833_0p894_0p167_0p241",t:28,s:[880,485.792,0],e:[880,487.255,0],to:[0,.70405745506287,0],ti:[0,-.31062442064285,0]},{i:{x:.833,y:.835},o:{x:.167,y:.387},n:"0p833_0p835_0p167_0p387",t:29,s:[880,487.255,0],e:[880,487.656,0],to:[0,.31062442064285,0],ti:[0,-.00102502817754,0]},{i:{x:.833,y:.72},o:{x:.167,y:.168},n:"0p833_0p72_0p167_0p168",t:30,s:[880,487.656,0],e:[880,487.261,0],to:[0,.00102502817754,0],ti:[0,.22090400755405,0]},{i:{x:.833,y:.806},o:{x:.167,y:.119},n:"0p833_0p806_0p167_0p119",t:31,s:[880,487.261,0],e:[880,486.33,0],to:[0,-.22090400755405,0],ti:[0,.36022943258286,0]},{i:{x:.833,y:.826},o:{x:.167,y:.146},n:"0p833_0p826_0p167_0p146",t:32,s:[880,486.33,0],e:[880,485.099,0],to:[0,-.36022943258286,0],ti:[0,.42794588208199,0]},{i:{x:.833,y:.836},o:{x:.167,y:.16},n:"0p833_0p836_0p167_0p16",t:33,s:[880,485.099,0],e:[880,483.763,0],to:[0,-.42794588208199,0],ti:[0,.43831527233124,0]},{i:{x:.833,y:.843},o:{x:.167,y:.169},n:"0p833_0p843_0p167_0p169",t:34,s:[880,483.763,0],e:[880,482.47,0],to:[0,-.43831527233124,0],ti:[0,.40666928887367,0]},{i:{x:.833,y:.848},o:{x:.167,y:.177},n:"0p833_0p848_0p167_0p177",t:35,s:[880,482.47,0],e:[880,481.323,0],to:[0,-.40666928887367,0],ti:[0,.34773921966553,0]},{i:{x:.833,y:.854},o:{x:.167,y:.185},n:"0p833_0p854_0p167_0p185",t:36,s:[880,481.323,0],e:[880,480.383,0],to:[0,-.34773921966553,0],ti:[0,.27451291680336,0]},{i:{x:.833,y:.86},o:{x:.167,y:.194},n:"0p833_0p86_0p167_0p194",t:37,s:[880,480.383,0],e:[880,479.676,0],to:[0,-.27451291680336,0],ti:[0,.19757102429867,0]},{i:{x:.833,y:.869},o:{x:.167,y:.207},n:"0p833_0p869_0p167_0p207",t:38,s:[880,479.676,0],e:[880,479.198,0],to:[0,-.19757102429867,0],ti:[0,.12482621520758,0]},{i:{x:.833,y:.886},o:{x:.167,y:.23},n:"0p833_0p886_0p167_0p23",t:39,s:[880,479.198,0],e:[880,478.927,0],to:[0,-.12482621520758,0],ti:[0,.06157397851348,0]},{i:{x:.833,y:.883},o:{x:.167,y:.313},n:"0p833_0p883_0p167_0p313",t:40,s:[880,478.927,0],e:[880,478.828,0],to:[0,-.06157397851348,0],ti:[0,.01076242513955,0]},{i:{x:.833,y:.656},o:{x:.167,y:.287},n:"0p833_0p656_0p167_0p287",t:41,s:[880,478.828,0],e:[880,478.862,0],to:[0,-.01076242513955,0],ti:[0,-.02660511806607,0]},{i:{x:.833,y:.797},o:{x:.167,y:.11},n:"0p833_0p797_0p167_0p11",t:42,s:[880,478.862,0],e:[880,478.988,0],to:[0,.02660511806607,0],ti:[0,-.05100827664137,0]},{i:{x:.833,y:.823},o:{x:.167,y:.141},n:"0p833_0p823_0p167_0p141",t:43,s:[880,478.988,0],e:[880,479.168,0],to:[0,.05100827664137,0],ti:[0,-.06394649296999,0]},{i:{x:.833,y:.834},o:{x:.167,y:.157},n:"0p833_0p834_0p167_0p157",t:44,s:[880,479.168,0],e:[880,479.372,0],to:[0,.06394649296999,0],ti:[0,-.06751627475023,0]},{i:{x:.833,y:.841},o:{x:.167,y:.167},n:"0p833_0p841_0p167_0p167",t:45,s:[880,479.372,0],e:[880,479.573,0],to:[0,.06751627475023,0],ti:[0,-.06405504047871,0]},{i:{x:.833,y:.847},o:{x:.167,y:.175},n:"0p833_0p847_0p167_0p175",t:46,s:[880,479.573,0],e:[880,479.756,0],to:[0,.06405504047871,0],ti:[0,-.05586441606283,0]},{i:{x:.833,y:.853},o:{x:.167,y:.183},n:"0p833_0p853_0p167_0p183",t:47,s:[880,479.756,0],e:[880,479.908,0],to:[0,.05586441606283,0],ti:[0,-.04501524940133,0]},{i:{x:.833,y:.859},o:{x:.167,y:.192},n:"0p833_0p859_0p167_0p192",t:48,s:[880,479.908,0],e:[880,480.026,0],to:[0,.04501524940133,0],ti:[0,-.03322834894061,0]},{i:{x:.833,y:.867},o:{x:.167,y:.203},n:"0p833_0p867_0p167_0p203",t:49,s:[880,480.026,0],e:[880,480.108,0],to:[0,.03322834894061,0],ti:[0,-.02182034961879,0]},{i:{x:.833,y:.881},o:{x:.167,y:.222},n:"0p833_0p881_0p167_0p222",t:50,s:[880,480.108,0],e:[880,480.157,0],to:[0,.02182034961879,0],ti:[0,-.01170086674392,0]},{i:{x:.833,y:.898},o:{x:.167,y:.277},n:"0p833_0p898_0p167_0p277",t:51,s:[880,480.157,0],e:[880,480.178,0],to:[0,.01170086674392,0],ti:[0,-.00340680335648,0]},{i:{x:.833,y:.633},o:{x:.167,y:.45},n:"0p833_0p633_0p167_0p45",t:52,s:[880,480.178,0],e:[880,480.177,0],to:[0,.00340680335648,0],ti:[0,.00283987051807,0]},{i:{x:.833,y:.784},o:{x:.167,y:.108},n:"0p833_0p784_0p167_0p108",t:53,s:[880,480.177,0],e:[880,480.161,0],to:[0,-.00283987051807,0],ti:[0,.00706263212487,0]},{i:{x:.833,y:.818},o:{x:.167,y:.136},n:"0p833_0p818_0p167_0p136",t:54,s:[880,480.161,0],e:[880,480.135,0],to:[0,-.00706263212487,0],ti:[0,.00945873651654,0]},{i:{x:.833,y:.832},o:{x:.167,y:.154},n:"0p833_0p832_0p167_0p154",t:55,s:[880,480.135,0],e:[880,480.104,0],to:[0,-.00945873651654,0],ti:[0,.01033237110823,0]},{i:{x:.833,y:.84},o:{x:.167,y:.165},n:"0p833_0p84_0p167_0p165",t:56,s:[880,480.104,0],e:[880,480.073,0],to:[0,-.01033237110823,0],ti:[0,.01003722194582,0]},{i:{x:.833,y:.846},o:{x:.167,y:.173},n:"0p833_0p846_0p167_0p173",t:57,s:[880,480.073,0],e:[880,480.044,0],to:[0,-.01003722194582,0],ti:[0,.00893091596663,0]},{i:{x:.833,y:.851},o:{x:.167,y:.181},n:"0p833_0p851_0p167_0p181",t:58,s:[880,480.044,0],e:[880,480.019,0],to:[0,-.00893091596663,0],ti:[0,.00734201865271,0]},{i:{x:.833,y:.833},o:{x:.167,y:.189},n:"0p833_0p833_0p167_0p189",t:59,s:[880,480.019,0],e:[880,480,0],to:[0,-.00734201865271,0],ti:[0,.00323267048225,0]},{t:60}]},a:{a:0,k:[-80,180,0]},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:0,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:1,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:2,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:3,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:4,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:5,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],t:6,s:[100,100,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.718,.718,.833]},o:{x:[.167,.167,.167],y:[.083,.083,.167]},n:["0p833_0p718_0p167_0p083","0p833_0p718_0p167_0p083","0p833_0p833_0p167_0p167"],t:7,s:[100,100,100],e:[101.04,101.04,100]},{i:{x:[.833,.833,.833],y:[.817,.817,.833]},o:{x:[.167,.167,.167],y:[.118,.118,.167]},n:["0p833_0p817_0p167_0p118","0p833_0p817_0p167_0p118","0p833_0p833_0p167_0p167"],t:8,s:[101.04,101.04,100],e:[103.52,103.52,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.153,.153,.167]},n:["0p833_0p847_0p167_0p153","0p833_0p847_0p167_0p153","0p833_0p833_0p167_0p167"],t:9,s:[103.52,103.52,100],e:[106.48,106.48,100]},{i:{x:[.833,.833,.833],y:[.882,.882,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p882_0p167_0p183","0p833_0p882_0p167_0p183","0p833_0p833_0p167_0p167"],t:10,s:[106.48,106.48,100],e:[108.96,108.96,100]},{i:{x:[.833,.833,.833],y:[.913,.913,.833]},o:{x:[.167,.167,.167],y:[.282,.282,.167]},n:["0p833_0p913_0p167_0p282","0p833_0p913_0p167_0p282","0p833_0p833_0p167_0p167"],t:11,s:[108.96,108.96,100],e:[110,110,100]},{i:{x:[.833,.833,.833],y:[3.067,3.067,.833]},o:{x:[.167,.167,.167],y:[1.88,1.88,.167]},n:["0p833_3p067_0p167_1p88","0p833_3p067_0p167_1p88","0p833_0p833_0p167_0p167"],t:12,s:[110,110,100],e:[110.048,110.048,100]},{i:{x:[.833,.833,.833],y:[.778,.778,.833]},o:{x:[.167,.167,.167],y:[.08,.08,.167]},n:["0p833_0p778_0p167_0p08","0p833_0p778_0p167_0p08","0p833_0p833_0p167_0p167"],t:13,s:[110.048,110.048,100],e:[108.803,108.803,100]},{i:{x:[.833,.833,.833],y:[.812,.812,.833]},o:{x:[.167,.167,.167],y:[.134,.134,.167]},n:["0p833_0p812_0p167_0p134","0p833_0p812_0p167_0p134","0p833_0p833_0p167_0p167"],t:14,s:[108.803,108.803,100],e:[106.737,106.737,100]},{i:{x:[.833,.833,.833],y:[.783,.783,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p783_0p167_0p15","0p833_0p783_0p167_0p15","0p833_0p833_0p167_0p167"],t:15,s:[106.737,106.737,100],e:[104.153,104.153,100]},{i:{x:[.833,.833,.833],y:[.759,.759,.833]},o:{x:[.167,.167,.167],y:[.135,.135,.167]},n:["0p833_0p759_0p167_0p135","0p833_0p759_0p167_0p135","0p833_0p833_0p167_0p167"],t:16,s:[104.153,104.153,100],e:[100,100,100]},{i:{x:[.833,.833,.833],y:[.864,.864,.833]},o:{x:[.167,.167,.167],y:[.127,.127,.167]},n:["0p833_0p864_0p167_0p127","0p833_0p864_0p167_0p127","0p833_0p833_0p167_0p167"],t:17,s:[100,100,100],e:[92.146,92.146,100]},{i:{x:[.833,.833,.833],y:[.876,.876,.833]},o:{x:[.167,.167,.167],y:[.216,.216,.167]},n:["0p833_0p876_0p167_0p216","0p833_0p876_0p167_0p216","0p833_0p833_0p167_0p167"],t:18,s:[92.146,92.146,100],e:[87.218,87.218,100]},{i:{x:[.833,.833,.833],y:[.904,.904,.833]},o:{x:[.167,.167,.167],y:[.255,.255,.167]},n:["0p833_0p904_0p167_0p255","0p833_0p904_0p167_0p255","0p833_0p833_0p167_0p167"],t:19,s:[87.218,87.218,100],e:[84.827,84.827,100]},{i:{x:[.833,.833,.833],y:[1.177,1.177,.833]},o:{x:[.167,.167,.167],y:[.636,.636,.167]},n:["0p833_1p177_0p167_0p636","0p833_1p177_0p167_0p636","0p833_0p833_0p167_0p167"],t:20,s:[84.827,84.827,100],e:[84.466,84.466,100]},{i:{x:[.833,.833,.833],y:[.762,.762,.833]},o:{x:[.167,.167,.167],y:[.057,.057,.167]},n:["0p833_0p762_0p167_0p057","0p833_0p762_0p167_0p057","0p833_0p833_0p167_0p167"],t:21,s:[84.466,84.466,100],e:[85.592,85.592,100]},{i:{x:[.833,.833,.833],y:[.813,.813,.833]},o:{x:[.167,.167,.167],y:[.128,.128,.167]},n:["0p833_0p813_0p167_0p128","0p833_0p813_0p167_0p128","0p833_0p833_0p167_0p167"],t:22,s:[85.592,85.592,100],e:[87.684,87.684,100]},{i:{x:[.833,.833,.833],y:[.829,.829,.833]},o:{x:[.167,.167,.167],y:[.15,.15,.167]},n:["0p833_0p829_0p167_0p15","0p833_0p829_0p167_0p15","0p833_0p833_0p167_0p167"],t:23,s:[87.684,87.684,100],e:[90.28,90.28,100]},{i:{x:[.833,.833,.833],y:[.838,.838,.833]},o:{x:[.167,.167,.167],y:[.163,.163,.167]},n:["0p833_0p838_0p167_0p163","0p833_0p838_0p167_0p163","0p833_0p833_0p167_0p167"],t:24,s:[90.28,90.28,100],e:[93.008,93.008,100]},{i:{x:[.833,.833,.833],y:[.844,.844,.833]},o:{x:[.167,.167,.167],y:[.172,.172,.167]},n:["0p833_0p844_0p167_0p172","0p833_0p844_0p167_0p172","0p833_0p833_0p167_0p167"],t:25,s:[93.008,93.008,100],e:[95.585,95.585,100]},{i:{x:[.833,.833,.833],y:[.85,.85,.833]},o:{x:[.167,.167,.167],y:[.179,.179,.167]},n:["0p833_0p85_0p167_0p179","0p833_0p85_0p167_0p179","0p833_0p833_0p167_0p167"],t:26,s:[95.585,95.585,100],e:[97.825,97.825,100]},{i:{x:[.833,.833,.833],y:[.855,.855,.833]},o:{x:[.167,.167,.167],y:[.187,.187,.167]},n:["0p833_0p855_0p167_0p187","0p833_0p855_0p167_0p187","0p833_0p833_0p167_0p167"],t:27,s:[97.825,97.825,100],e:[99.625,99.625,100]},{i:{x:[.833,.833,.833],y:[.862,.862,.833]},o:{x:[.167,.167,.167],y:[.197,.197,.167]},n:["0p833_0p862_0p167_0p197","0p833_0p862_0p167_0p197","0p833_0p833_0p167_0p167"],t:28,s:[99.625,99.625,100],e:[100.947,100.947,100]},{i:{x:[.833,.833,.833],y:[.873,.873,.833]},o:{x:[.167,.167,.167],y:[.211,.211,.167]},n:["0p833_0p873_0p167_0p211","0p833_0p873_0p167_0p211","0p833_0p833_0p167_0p167"],t:29,s:[100.947,100.947,100],e:[101.81,101.81,100]},{i:{x:[.833,.833,.833],y:[.894,.894,.833]},o:{x:[.167,.167,.167],y:[.241,.241,.167]},n:["0p833_0p894_0p167_0p241","0p833_0p894_0p167_0p241","0p833_0p833_0p167_0p167"],t:30,s:[101.81,101.81,100],e:[102.268,102.268,100]},{i:{x:[.833,.833,.833],y:[.999,.999,.833]},o:{x:[.167,.167,.167],y:[.387,.387,.167]},n:["0p833_0p999_0p167_0p387","0p833_0p999_0p167_0p387","0p833_0p833_0p167_0p167"],t:31,s:[102.268,102.268,100],e:[102.393,102.393,100]},{i:{x:[.833,.833,.833],y:[.72,.72,.833]},o:{x:[.167,.167,.167],y:[-.001,-.001,.167]},n:["0p833_0p72_0p167_-0p001","0p833_0p72_0p167_-0p001","0p833_0p833_0p167_0p167"],t:32,s:[102.393,102.393,100],e:[102.27,102.27,100]},{i:{x:[.833,.833,.833],y:[.806,.806,.833]},o:{x:[.167,.167,.167],y:[.119,.119,.167]},n:["0p833_0p806_0p167_0p119","0p833_0p806_0p167_0p119","0p833_0p833_0p167_0p167"],t:33,s:[102.27,102.27,100],e:[101.979,101.979,100]},{i:{x:[.833,.833,.833],y:[.826,.826,.833]},o:{x:[.167,.167,.167],y:[.146,.146,.167]},n:["0p833_0p826_0p167_0p146","0p833_0p826_0p167_0p146","0p833_0p833_0p167_0p167"],t:34,s:[101.979,101.979,100],e:[101.594,101.594,100]},{i:{x:[.833,.833,.833],y:[.836,.836,.833]},o:{x:[.167,.167,.167],y:[.16,.16,.167]},n:["0p833_0p836_0p167_0p16","0p833_0p836_0p167_0p16","0p833_0p833_0p167_0p167"],t:35,s:[101.594,101.594,100],e:[101.176,101.176,100]},{i:{x:[.833,.833,.833],y:[.843,.843,.833]},o:{x:[.167,.167,.167],y:[.169,.169,.167]},n:["0p833_0p843_0p167_0p169","0p833_0p843_0p167_0p169","0p833_0p833_0p167_0p167"],t:36,s:[101.176,101.176,100],e:[100.772,100.772,100]},{i:{x:[.833,.833,.833],y:[.848,.848,.833]},o:{x:[.167,.167,.167],y:[.177,.177,.167]},n:["0p833_0p848_0p167_0p177","0p833_0p848_0p167_0p177","0p833_0p833_0p167_0p167"],t:37,s:[100.772,100.772,100],e:[100.413,100.413,100]},{i:{x:[.833,.833,.833],y:[.854,.854,.833]},o:{x:[.167,.167,.167],y:[.185,.185,.167]},n:["0p833_0p854_0p167_0p185","0p833_0p854_0p167_0p185","0p833_0p833_0p167_0p167"],t:38,s:[100.413,100.413,100],e:[100.12,100.12,100]},{i:{x:[.833,.833,.833],y:[.86,.86,.833]},o:{x:[.167,.167,.167],y:[.194,.194,.167]},n:["0p833_0p86_0p167_0p194","0p833_0p86_0p167_0p194","0p833_0p833_0p167_0p167"],t:39,s:[100.12,100.12,100],e:[99.899,99.899,100]},{i:{x:[.833,.833,.833],y:[.869,.869,.833]},o:{x:[.167,.167,.167],y:[.207,.207,.167]},n:["0p833_0p869_0p167_0p207","0p833_0p869_0p167_0p207","0p833_0p833_0p167_0p167"],t:40,s:[99.899,99.899,100],e:[99.749,99.749,100]},{i:{x:[.833,.833,.833],y:[.886,.886,.833]},o:{x:[.167,.167,.167],y:[.23,.23,.167]},n:["0p833_0p886_0p167_0p23","0p833_0p886_0p167_0p23","0p833_0p833_0p167_0p167"],t:41,s:[99.749,99.749,100],e:[99.665,99.665,100]},{i:{x:[.833,.833,.833],y:[.945,.945,.833]},o:{x:[.167,.167,.167],y:[.313,.313,.167]},n:["0p833_0p945_0p167_0p313","0p833_0p945_0p167_0p313","0p833_0p833_0p167_0p167"],t:42,s:[99.665,99.665,100],e:[99.634,99.634,100]},{i:{x:[.833,.833,.833],y:[.608,.608,.833]},o:{x:[.167,.167,.167],y:[-.159,-.159,.167]},n:["0p833_0p608_0p167_-0p159","0p833_0p608_0p167_-0p159","0p833_0p833_0p167_0p167"],t:43,s:[99.634,99.634,100],e:[99.644,99.644,100]},{i:{x:[.833,.833,.833],y:[.797,.797,.833]},o:{x:[.167,.167,.167],y:[.106,.106,.167]},n:["0p833_0p797_0p167_0p106","0p833_0p797_0p167_0p106","0p833_0p833_0p167_0p167"],t:44,s:[99.644,99.644,100],e:[99.684,99.684,100]},{i:{x:[.833,.833,.833],y:[.823,.823,.833]},o:{x:[.167,.167,.167],y:[.141,.141,.167]},n:["0p833_0p823_0p167_0p141","0p833_0p823_0p167_0p141","0p833_0p833_0p167_0p167"],t:45,s:[99.684,99.684,100],e:[99.74,99.74,100]},{i:{x:[.833,.833,.833],y:[.834,.834,.833]},o:{x:[.167,.167,.167],y:[.157,.157,.167]},n:["0p833_0p834_0p167_0p157","0p833_0p834_0p167_0p157","0p833_0p833_0p167_0p167"],t:46,s:[99.74,99.74,100],e:[99.804,99.804,100]},{i:{x:[.833,.833,.833],y:[.841,.841,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},n:["0p833_0p841_0p167_0p167","0p833_0p841_0p167_0p167","0p833_0p833_0p167_0p167"],t:47,s:[99.804,99.804,100],e:[99.867,99.867,100]},{i:{x:[.833,.833,.833],y:[.847,.847,.833]},o:{x:[.167,.167,.167],y:[.175,.175,.167]},n:["0p833_0p847_0p167_0p175","0p833_0p847_0p167_0p175","0p833_0p833_0p167_0p167"],t:48,s:[99.867,99.867,100],e:[99.924,99.924,100]},{i:{x:[.833,.833,.833],y:[.853,.853,.833]},o:{x:[.167,.167,.167],y:[.183,.183,.167]},n:["0p833_0p853_0p167_0p183","0p833_0p853_0p167_0p183","0p833_0p833_0p167_0p167"],t:49,s:[99.924,99.924,100],e:[99.971,99.971,100]},{i:{x:[.833,.833,.833],y:[.859,.859,.833]},o:{x:[.167,.167,.167],y:[.192,.192,.167]},n:["0p833_0p859_0p167_0p192","0p833_0p859_0p167_0p192","0p833_0p833_0p167_0p167"],t:50,s:[99.971,99.971,100],e:[100.008,100.008,100]},{i:{x:[.833,.833,.833],y:[.867,.867,.833]},o:{x:[.167,.167,.167],y:[.203,.203,.167]},n:["0p833_0p867_0p167_0p203","0p833_0p867_0p167_0p203","0p833_0p833_0p167_0p167"],t:51,s:[100.008,100.008,100],e:[100.034,100.034,100]},{i:{x:[.833,.833,.833],y:[.881,.881,.833]},o:{x:[.167,.167,.167],y:[.222,.222,.167]},n:["0p833_0p881_0p167_0p222","0p833_0p881_0p167_0p222","0p833_0p833_0p167_0p167"],t:52,s:[100.034,100.034,100],e:[100.049,100.049,100]},{i:{x:[.833,.833,.833],y:[.919,.919,.833]},o:{x:[.167,.167,.167],y:[.277,.277,.167]},n:["0p833_0p919_0p167_0p277","0p833_0p919_0p167_0p277","0p833_0p833_0p167_0p167"],t:53,s:[100.049,100.049,100],e:[100.056,100.056,100]},{i:{x:[.833,.833,.833],y:[-.984,-.984,.833]},o:{x:[.167,.167,.167],y:[-2.381,-2.381,.167]},n:["0p833_-0p984_0p167_-2p381","0p833_-0p984_0p167_-2p381","0p833_0p833_0p167_0p167"],t:54,s:[100.056,100.056,100],e:[100.055,100.055,100]},{i:{x:[.833,.833,.833],y:[.784,.784,.833]},o:{x:[.167,.167,.167],y:[.087,.087,.167]},n:["0p833_0p784_0p167_0p087","0p833_0p784_0p167_0p087","0p833_0p833_0p167_0p167"],t:55,s:[100.055,100.055,100],e:[100.05,100.05,100]},{i:{x:[.833,.833,.833],y:[.818,.818,.833]},o:{x:[.167,.167,.167],y:[.136,.136,.167]},n:["0p833_0p818_0p167_0p136","0p833_0p818_0p167_0p136","0p833_0p833_0p167_0p167"],t:56,s:[100.05,100.05,100],e:[100.042,100.042,100]},{i:{x:[.833,.833,.833],y:[.832,.832,.833]},o:{x:[.167,.167,.167],y:[.154,.154,.167]},n:["0p833_0p832_0p167_0p154","0p833_0p832_0p167_0p154","0p833_0p833_0p167_0p167"],t:57,s:[100.042,100.042,100],e:[100.033,100.033,100]},{i:{x:[.833,.833,.833],y:[.84,.84,.833]},o:{x:[.167,.167,.167],y:[.165,.165,.167]},n:["0p833_0p84_0p167_0p165","0p833_0p84_0p167_0p165","0p833_0p833_0p167_0p167"],t:58,s:[100.033,100.033,100],e:[100.023,100.023,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.173,.173,.167]},n:["0p833_0p833_0p167_0p173","0p833_0p833_0p167_0p173","0p833_0p833_0p167_0p167"],t:59,s:[100.023,100.023,100],e:[100.014,100.014,100]},{t:60}]}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ks:{a:0,k:{i:[[0,-88.366],[88.366,0],[0,88.366]],o:[[0,88.366],[-88.366,0],[0,-88.366]],v:[[240,0],[80,160],[-80,0]],c:!1}},nm:"Path 1",mn:"ADBE Vector Shape - Group"},{ty:"st",c:{a:0,k:[.39215686274509803,.2627450980392157,.6509803921568628,1]},o:{a:0,k:100},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:5,s:[80],e:[120]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},n:["0p667_1_0p333_0"],t:10,s:[120],e:[80]},{t:20}]},lc:2,lj:1,ml:4,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke"},{ty:"tr",p:{a:0,k:[0,180],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,mn:"ADBE Vector Group"},{ty:"tm",s:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:9,s:[0],e:[99.9]},{t:24}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.333],y:[0]},n:["0_1_0p333_0"],t:5,s:[.1],e:[100]},{t:20}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim"}],ip:0,op:360,st:0,bm:0,sr:1}],animationData={v:v$1,fr:fr,ip:ip,op:op,w:w$1,h:h$1,ddd:ddd,assets:assets,layers:layers};const LottieLoadingDotsSpinner=({color:e=getColors(animationData)[0]})=>{const t={animationData:flatten$1(e,animationData),loop:!0,autoplay:!0,style:{height:"200px",width:"200px"}},{View:r}=useLottie(t);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:r})},LoadingDotsSpinner=({color:e,id:t,"data-testid":r})=>{const i=styled.useTheme(),n=e||Color.Primary({theme:i||BaseTheme});return jsxRuntime.jsx(Container$t,{"data-testid":r,id:t,children:jsxRuntime.jsx(LottieLoadingDotsSpinner,{color:n})})},Container$t=styled__default.default.div`
|
|
398
398
|
margin: 0 auto;
|
|
399
399
|
`,Container$s=styled__default.default.div`
|
|
400
400
|
border: 1px solid ${Color.Neutral[5]};
|
|
@@ -687,7 +687,7 @@
|
|
|
687
687
|
`;case"other-decade":return styled.css`
|
|
688
688
|
color: ${Color.Neutral[4](e)};
|
|
689
689
|
`}}}
|
|
690
|
-
`,InternalCalendarYear=({calendarDate:e,currentFocus:t,selectedStartDate:r,selectedEndDate:i,viewCalendarDate:n,type:a,isNewSelection:o,minDate:s,maxDate:l,allowDisabledSelection:d,onYearSelect:p})=>{const c=React.useMemo((()=>CalendarHelper.generateDecadeOfYears(dayjs(e))),[e]),u=e=>{const n="start"===t&&i&&e.isAfter(i,"year")&&o,a="end"===t&&r&&e.isBefore(r,"year")&&o;return n||a},h=e=>{const t=[0,11].includes(c.indexOf(e)),r=e.year(),i=(a=e,!CalendarHelper.isWithinRange(a,s?dayjs(s):void 0,l?dayjs(l):void 0,"year"));var a;const o=t?"other-decade":n.isSame(e,"year")?"selected-year":dayjs().isSame(e,"year")?"current-year":"default";return{disabledDisplay:i||u(e),interactive:!i||d,year:r,variant:o}};return c.length?jsxRuntime.jsx(Wrapper$o,{$type:a,children:c.map((e=>{const{disabledDisplay:t,interactive:r,variant:i,year:n}=h(e);return jsxRuntime.jsx(YearCell,{$variant:i,$disabledDisplay:t,$interactive:r,onClick:()=>((e,t)=>{t||p(e)})(e,!r),children:jsxRuntime.jsx(CellLabel,{weight:"regular",$variant:i,$disabledDisplay:t,$interactive:r,children:n})},n)}))}):null},Component$i=({children:e,initialCalendarDate:t,type:r,minDate:i,maxDate:n,currentFocus:a,selectedStartDate:o,selectedEndDate:s,selectWithinRange:l,dynamicHeight:d=!1,allowDisabledSelection:p,onCalendarDateChange:c,withButton:u,doneButtonDisabled:h,onDismiss:m,showNavigationHeader:f=!0,getLeftArrowDate:y,getRightArrowDate:g,isLeftArrowDisabled:x,isRightArrowDisabled:_,getMonthHeaderLabel:b,getYearHeaderLabel:v,...S},C)=>{const[$,w]=React.useState(dayjs(t)),[T,R]=React.useState(dayjs(t)),[E
|
|
690
|
+
`,InternalCalendarYear=({calendarDate:e,currentFocus:t,selectedStartDate:r,selectedEndDate:i,viewCalendarDate:n,type:a,isNewSelection:o,minDate:s,maxDate:l,allowDisabledSelection:d,onYearSelect:p})=>{const c=React.useMemo((()=>CalendarHelper.generateDecadeOfYears(dayjs(e))),[e]),u=e=>{const n="start"===t&&i&&e.isAfter(i,"year")&&o,a="end"===t&&r&&e.isBefore(r,"year")&&o;return n||a},h=e=>{const t=[0,11].includes(c.indexOf(e)),r=e.year(),i=(a=e,!CalendarHelper.isWithinRange(a,s?dayjs(s):void 0,l?dayjs(l):void 0,"year"));var a;const o=t?"other-decade":n.isSame(e,"year")?"selected-year":dayjs().isSame(e,"year")?"current-year":"default";return{disabledDisplay:i||u(e),interactive:!i||d,year:r,variant:o}};return c.length?jsxRuntime.jsx(Wrapper$o,{$type:a,children:c.map((e=>{const{disabledDisplay:t,interactive:r,variant:i,year:n}=h(e);return jsxRuntime.jsx(YearCell,{$variant:i,$disabledDisplay:t,$interactive:r,onClick:()=>((e,t)=>{t||p(e)})(e,!r),children:jsxRuntime.jsx(CellLabel,{weight:"regular",$variant:i,$disabledDisplay:t,$interactive:r,children:n})},n)}))}):null},Component$i=({children:e,initialCalendarDate:t,type:r,minDate:i,maxDate:n,currentFocus:a,selectedStartDate:o,selectedEndDate:s,selectWithinRange:l,dynamicHeight:d=!1,allowDisabledSelection:p,onCalendarDateChange:c,withButton:u,doneButtonDisabled:h,onDismiss:m,showNavigationHeader:f=!0,getLeftArrowDate:y,getRightArrowDate:g,isLeftArrowDisabled:x,isRightArrowDisabled:_,getMonthHeaderLabel:b,getYearHeaderLabel:v,...S},C)=>{const[$,w]=React.useState(dayjs(t)),[T,R]=React.useState(dayjs(t)),[k,E]=React.useState("default"),A=React.useRef(null),D=React.useRef(null),j=React.useRef();React.useImperativeHandle(C,(()=>({defaultView(){E("default")},resetView(){const e=dayjs(t);w(e),R(e),E("default")},setCalendarDate(e){const t=e?dayjs(e):dayjs();w(t),R(t)}}))),React.useEffect((()=>{const e=t?dayjs(t):dayjs();w(e),R(e)}),[t]),React.useEffect((()=>{B(T)}),[T]);const I=()=>{"month-options"!==k?(E("month-options"),j.current.focus()):(E("default"),w(T))},P=()=>{"default"!==k?(E("default"),w(T)):E("year-options")},M=()=>{j.current.focus();const e=y?y($):$.subtract(1,"month");switch(k){case"default":R(e),w(e);break;case"month-options":w((e=>e.subtract(1,"year")));break;case"year-options":w((e=>e.subtract(10,"year")))}},F=()=>{j.current.focus();const e=g?g($):$.add(1,"month");switch(k){case"default":R(e),w(e);break;case"month-options":w((e=>e.add(1,"year")));break;case"year-options":w((e=>e.add(10,"year")))}},O=e=>{w(e),R(e)},L=()=>{w(dayjs(t)),R(dayjs(t)),"default"===k?N("reset"):E("default")},B=e=>{c&&c(e)},N=e=>{m&&m(e)},V=()=>{if(!i||p)return!1;const e=dayjs(i);return"month-options"===k?!CalendarHelper.isPreviousYearWithinRange($,e):"year-options"===k?!CalendarHelper.isPreviousDecadeWithinRange($,e):x?x($):!CalendarHelper.isPreviousMonthWithinRange($,e)},H=()=>{if(!n||p)return!1;const e=dayjs(n);return"month-options"===k?!CalendarHelper.isNextYearWithinRange($,e):"year-options"===k?!CalendarHelper.isNextDecadeWithinRange($,e):_?_($):!CalendarHelper.isNextMonthWithinRange($,e)},z=()=>{if("year-options"===k){const{beginDecade:e,endDecade:t}=CalendarHelper.getStartEndDecade($);return`${e} to ${t}`}return v?v($):dayjs($).format("YYYY")},W=()=>{const e=b?b($):dayjs($).format("MMM");return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(DropdownButton,{type:"button",tabIndex:-1,$expanded:"month-options"===k,$visible:"default"===k,id:"month-dropdown",onClick:I,children:[jsxRuntime.jsx(DropdownText,{children:e}),jsxRuntime.jsx(IconChevronDown,{})]}),jsxRuntime.jsxs(DropdownButton,{type:"button",tabIndex:-1,$expanded:"default"!==k,id:"year-dropdown",onClick:P,children:[jsxRuntime.jsx(DropdownText,{children:z()}),jsxRuntime.jsx(IconChevronDown,{})]})]})},G=()=>{switch(k){case"month-options":return jsxRuntime.jsx(InternalCalendarMonth,{type:r,calendarDate:$,currentFocus:a,minDate:i,maxDate:n,selectedStartDate:o,selectedEndDate:s,viewCalendarDate:T,isNewSelection:l,onMonthSelect:O,allowDisabledSelection:p});case"year-options":return jsxRuntime.jsx(InternalCalendarYear,{type:r,calendarDate:$,currentFocus:a,minDate:i,maxDate:n,selectedStartDate:o,selectedEndDate:s,viewCalendarDate:T,isNewSelection:l,onYearSelect:O,allowDisabledSelection:p});default:return null}};return jsxRuntime.jsxs(Container$r,{ref:j,tabIndex:-1,"data-id":"calendar-container","data-testid":"calendar-container",...S,children:[f&&jsxRuntime.jsxs(Header$1,{"data-id":"calendar-header","data-testid":"calendar-header",children:[jsxRuntime.jsx(HeaderInputDropdown,{children:W()}),jsxRuntime.jsxs(HeaderArrows,{children:[jsxRuntime.jsx(HeaderArrowButton,{"data-testid":"left-arrow-btn",disabled:V(),focusHighlight:!1,tabIndex:-1,onClick:M,children:jsxRuntime.jsx(ArrowLeft,{})}),jsxRuntime.jsx(HeaderArrowButton,{"data-testid":"right-arrow-btn",disabled:H(),focusHighlight:!1,tabIndex:-1,onClick:F,children:jsxRuntime.jsx(ArrowRight$1,{})})]})]}),jsxRuntime.jsx(ToggleZone,{children:(()=>{const t="function"==typeof e?e({calendarDate:T,currentView:k}):e;return d?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["default"===k&&t,G()]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t,jsxRuntime.jsx(OptionsOverlay,{$visible:"default"!==k,children:G()})]})})()}),(()=>{if(!u)return;const e=!!("default"===k)&&h;return jsxRuntime.jsxs(ActionButtonSection,{children:[jsxRuntime.jsx(ActionButton$3,{ref:D,"data-testid":"cancel-button",styleType:"light",type:"button",onClick:L,children:"Cancel"}),jsxRuntime.jsx(ActionButton$3,{"data-testid":"done-button",ref:A,type:"button",onClick:()=>(e=>{e||(w(T),"default"===k?N("confirmed"):E("default"))})(e),disabled:e,children:"Done"})]})})()]})},CalendarManager=React__default.default.forwardRef(Component$i),Wrapper$n=styled__default.default.div`
|
|
691
691
|
width: 100%;
|
|
692
692
|
display: grid;
|
|
693
693
|
grid-template-columns: repeat(7, 1fr);
|
|
@@ -996,7 +996,7 @@ var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.pr
|
|
|
996
996
|
\********************************************/e=>{e.exports=Function.call.bind(Object.prototype.hasOwnProperty)},"./node_modules/react-is/cjs/react-is.development.js":
|
|
997
997
|
/*!***********************************************************!*\
|
|
998
998
|
!*** ./node_modules/react-is/cjs/react-is.development.js ***!
|
|
999
|
-
\***********************************************************/(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var h=e.type;switch(h){case d:case p:case n:case o:case a:case u:return h;default:var y=h&&h.$$typeof;switch(y){case l:case c:case f:case m:case s:return y;default:return t}}case i:return t}}}var v=d,S=p,C=l,$=s,w=r,T=c,R=n,
|
|
999
|
+
\***********************************************************/(e,t)=>{!function(){var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var h=e.type;switch(h){case d:case p:case n:case o:case a:case u:return h;default:var y=h&&h.$$typeof;switch(y){case l:case c:case f:case m:case s:return y;default:return t}}case i:return t}}}var v=d,S=p,C=l,$=s,w=r,T=c,R=n,k=f,E=m,A=i,D=o,j=a,I=u,P=!1;function M(e){return b(e)===p}t.AsyncMode=v,t.ConcurrentMode=S,t.ContextConsumer=C,t.ContextProvider=$,t.Element=w,t.ForwardRef=T,t.Fragment=R,t.Lazy=k,t.Memo=E,t.Portal=A,t.Profiler=D,t.StrictMode=j,t.Suspense=I,t.isAsyncMode=function(e){return P||(P=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(e)||b(e)===d},t.isConcurrentMode=M,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return b(e)===c},t.isFragment=function(e){return b(e)===n},t.isLazy=function(e){return b(e)===f},t.isMemo=function(e){return b(e)===m},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===o},t.isStrictMode=function(e){return b(e)===a},t.isSuspense=function(e){return b(e)===u},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===p||e===o||e===a||e===u||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===m||e.$$typeof===s||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===x||e.$$typeof===_||e.$$typeof===y)},t.typeOf=b}()},"./node_modules/react-is/index.js":
|
|
1000
1000
|
/*!****************************************!*\
|
|
1001
1001
|
!*** ./node_modules/react-is/index.js ***!
|
|
1002
1002
|
\****************************************/(e,t,r)=>{e.exports=r(/*! ./cjs/react-is.development.js */"./node_modules/react-is/cjs/react-is.development.js")},"./node_modules/shallow-equal/dist/index.esm.js":
|
|
@@ -1170,9 +1170,9 @@ var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.pr
|
|
|
1170
1170
|
`:e.$hide?styled.css`
|
|
1171
1171
|
display: none;
|
|
1172
1172
|
`:void 0}
|
|
1173
|
-
`;dayjs.extend(customParseFormat);const Component$g=({disabled:e,readOnly:t,names:r,value:i,focused:n,hoverValue:a,placeholder:o,label:s,onChange:l,onFocus:d,onBlur:p},c)=>{const[u,h,m]=useStateRef(""),[f,y,g]=useStateRef(""),[x,_,b]=useStateRef(""),[v,S]=React.useState("none"),[C,$]=React.useState(!1),w=React.useRef(null),T=React.useRef(null),R=React.useRef(null),
|
|
1173
|
+
`;dayjs.extend(customParseFormat);const Component$g=({disabled:e,readOnly:t,names:r,value:i,focused:n,hoverValue:a,placeholder:o,label:s,onChange:l,onFocus:d,onBlur:p},c)=>{const[u,h,m]=useStateRef(""),[f,y,g]=useStateRef(""),[x,_,b]=useStateRef(""),[v,S]=React.useState("none"),[C,$]=React.useState(!1),w=React.useRef(null),T=React.useRef(null),R=React.useRef(null),k=React.useRef(null),[E,A,D]=F(a);React.useEffect((()=>{const[e="",t="",r=""]=F(i);h(e),y(t),_(r)}),[i]),React.useEffect((()=>{n||S("none"),n&&($(!0),w.current.contains(document.activeElement)||T.current.focus())}),[n]),React.useImperativeHandle(c,(()=>({ref:w,resetPlaceholder(){$(!1)},resetInput(){const[e="",t="",r=""]=F(i);h(e),y(t),_(r)}})),[i]);const j=e=>{e.target.select();const t=e.target.name;S(t)},I=e=>{const[t,i,n]=r,a={[t]:m.current,[i]:g.current,[n]:b.current},o=e.target.name,s=a[o],d=o!==n?StringHelper.padValue(s,!0):s;switch(o){case t:a[t]=d,h(d);break;case i:a[i]=d,y(d)}const c=`${a[n]}-${a[i]}-${a[t]}`,u=dayjs(c,"YYYY-MM-DD",!0).isValid(),f=!a[t]&&!a[i]&&!a[n];u&&s!==d&&l(c),w.current.contains(e.relatedTarget)||(S("none"),p?.(f||u))},P=e=>{if(a)return;const t=e.target.name,i=e.target.value.replace(/[^0-9]/g,""),n={day:u,month:f,year:x};switch(t){case r[0]:n.day=i,h(i),2===i.length&&R.current.focus();break;case r[1]:n.month=i,y(i),2===i.length&&k.current.focus();break;case r[2]:n.year=i,_(i)}if(!n.day&&!n.month&&!n.year)return void l("");const o=`${n.year}-${n.month}-${n.day}`;dayjs(o,"YYYY-MM-DD",!0).isValid()&&l(o)},M=e=>{"Backspace"!==e.code&&"Backspace"!==e.key||(v===r[1]&&0===f.length&&T.current.focus(),v===r[2]&&0===x.length&&R.current.focus())};function F(e){if(e){const t=dayjs(e,"YYYY-MM-DD");return[StringHelper.padValue(t.date().toString()),StringHelper.padValue((t.month()+1).toString()),t.year().toString()]}return[void 0,void 0,void 0]}return jsxRuntime.jsxs(InputSection$1,{role:"group","aria-label":s,onClick:()=>{e||t||($(!0),w.current.contains(document.activeElement)||T.current.focus())},onFocus:()=>{e||($(!0),n||d())},children:[jsxRuntime.jsxs(InputContainer$3,{ref:w,$hover:!!a,children:[jsxRuntime.jsx(DayInput,{ref:T,name:r[0],maxLength:2,value:E??u,onFocus:j,onBlur:I,onChange:P,type:"text",inputMode:"numeric",pattern:"[0-9]{2}","data-testid":`${r[0]}-input`,"aria-label":"day",disabled:e,readOnly:t,tabIndex:t?-1:0,autoComplete:"off",placeholder:v!==r[0]||t?"DD":""}),jsxRuntime.jsx(Divider$4,{$inactive:0===u.length,children:"/"}),jsxRuntime.jsx(MonthInput,{ref:R,name:r[1],maxLength:2,value:A??f,onFocus:j,onBlur:I,onChange:P,onKeyDown:M,type:"text",inputMode:"numeric",pattern:"[0-9]{2}","data-testid":`${r[1]}-input`,"aria-label":"month",disabled:e,readOnly:t,tabIndex:t?-1:0,autoComplete:"off",placeholder:v!==r[1]||t?"MM":""}),jsxRuntime.jsx(Divider$4,{$inactive:0===f.length,children:"/"}),jsxRuntime.jsx(YearInput,{ref:k,name:r[2],maxLength:4,value:D??x,onFocus:j,onBlur:I,onChange:P,onKeyDown:M,type:"text",inputMode:"numeric",pattern:"[0-9]{4}","data-testid":`${r[2]}-input`,"aria-label":"year",disabled:e,readOnly:t,tabIndex:t?-1:0,autoComplete:"off",placeholder:v!==r[2]||t?"YYYY":""})]}),(()=>{if(!i&&!t&&o)return jsxRuntime.jsx(Placeholder,{$hide:C,$disabled:e,children:o})})()]})},StandaloneDateInput=React__default.default.forwardRef(Component$g);var DateInputHelper;dayjs.extend(isBetween),function(e){e.isDateDisabled=(e,t)=>{const{disabledDates:r,minDate:i,maxDate:n}=t;return!!(r&&r.length&&r.includes(e))||(!(!i||!dayjs(e).isBefore(i,"day"))||!(!n||!dayjs(e).isAfter(n,"day")))}}(DateInputHelper||(DateInputHelper={}));const Container$o=styled__default.default(InputWrapper)`
|
|
1174
1174
|
height: 3rem;
|
|
1175
|
-
`,DateInput=({minDate:e,maxDate:t,disabled:r,disabledDates:i,error:n,value:a,onChange:o,onFocus:s,onBlur:l,onYearMonthDisplayChange:d,withButton:p=!0,readOnly:c,id:u,allowDisabledSelection:h,...m})=>{const[f,y]=React.useState(a),[g,x]=React.useState(a),[_,b]=React.useState(void 0),[v,S]=React.useState(!1),C=React.useRef(null),$=React.useRef(),w=React.useRef(),T=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL}),R=p||T;React.useEffect((()=>{y(a),x(a)}),[a]);const
|
|
1175
|
+
`,DateInput=({minDate:e,maxDate:t,disabled:r,disabledDates:i,error:n,value:a,onChange:o,onFocus:s,onBlur:l,onYearMonthDisplayChange:d,withButton:p=!0,readOnly:c,id:u,allowDisabledSelection:h,...m})=>{const[f,y]=React.useState(a),[g,x]=React.useState(a),[_,b]=React.useState(void 0),[v,S]=React.useState(!1),C=React.useRef(null),$=React.useRef(),w=React.useRef(),T=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL}),R=p||T;React.useEffect((()=>{y(a),x(a)}),[a]);const k=r=>{!h&&DateInputHelper.isDateDisabled(r,{disabledDates:i,minDate:e,maxDate:t})||(x(r),R||(E(r),y(r),r&&S(!1)))},E=e=>{o&&o(e)},A=()=>{l&&l()};return jsxRuntime.jsxs(Container$o,{ref:C,$disabled:r,$readOnly:c,$error:n,id:u,"data-testid":m["data-testid"],tabIndex:-1,onBlur:e=>{C&&!C.current.contains(e.relatedTarget)&&(w.current.resetInput(),x(f),S(!1),A())},onKeyDown:function(e){"Escape"===e.code&&(w.current.resetInput(),x(f),S(!1))},...m,children:[jsxRuntime.jsx(StandaloneDateInput,{ref:w,disabled:r,onChange:k,onFocus:()=>{c||(S(!0),s&&s())},readOnly:c,focused:v,names:["start-day","start-month","start-year"],value:g,hoverValue:_}),jsxRuntime.jsx(AnimatedInternalCalendar,{ref:$,type:"input",variant:"single",initialCalendarDate:g,isOpen:v,withButton:R,value:g,disabledDates:i,minDate:e,maxDate:t,allowDisabledSelection:h,onHover:e=>{b(e)},onSelect:k,onDismiss:e=>{switch(e){case"reset":x(f);break;case"confirmed":y(g),E(g)}S(!1)},onYearMonthDisplayChange:d})]})},getDynamicMediaWidthQuery=e=>`@media screen and (max-width: ${e}px)`,Wrapper$l=styled__default.default.div`
|
|
1176
1176
|
position: relative;
|
|
1177
1177
|
height: 100%;
|
|
1178
1178
|
display: flex;
|
|
@@ -1244,7 +1244,7 @@ var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.pr
|
|
|
1244
1244
|
@media screen and (max-width: ${MOBILE_WRAP_WIDTH}px) {
|
|
1245
1245
|
height: fit-content;
|
|
1246
1246
|
}
|
|
1247
|
-
`,INITIAL_STATE={initialStart:"",initialEnd:"",selectedStart:"",selectedEnd:"",currentFocus:"none",calendarOpen:!1,isStartDirty:!1,isEndDirty:!1},DateRangeInput=({minDate:e,maxDate:t,disabled:r,disabledDates:i,error:n,value:a,valueEnd:o,onChange:s,onFocus:l,onBlur:d,onYearMonthDisplayChange:p,withButton:c=!0,variant:u="range",readOnly:h,id:m,allowDisabledSelection:f,...y})=>{const[g,x]=React.useState(),[_,b]=React.useState(void 0),[v,S]=React.useState(!1),C="week"===u,[{selectedStart:$,selectedEnd:w,currentFocus:T,calendarOpen:R,isStartDirty:
|
|
1247
|
+
`,INITIAL_STATE={initialStart:"",initialEnd:"",selectedStart:"",selectedEnd:"",currentFocus:"none",calendarOpen:!1,isStartDirty:!1,isEndDirty:!1},DateRangeInput=({minDate:e,maxDate:t,disabled:r,disabledDates:i,error:n,value:a,valueEnd:o,onChange:s,onFocus:l,onBlur:d,onYearMonthDisplayChange:p,withButton:c=!0,variant:u="range",readOnly:h,id:m,allowDisabledSelection:f,...y})=>{const[g,x]=React.useState(),[_,b]=React.useState(void 0),[v,S]=React.useState(!1),C="week"===u,[{selectedStart:$,selectedEnd:w,currentFocus:T,calendarOpen:R,isStartDirty:k,isEndDirty:E},A]=useStateActions({name:"date-range-input",initialState:INITIAL_STATE,reducers:{blur:e=>({...e,selectedStart:e.initialStart,selectedEnd:e.initialEnd,currentFocus:"none",calendarOpen:!1,isStartDirty:!1,isEndDirty:!1}),changeStart:(e,t)=>({...e,selectedStart:t,isStartDirty:!0}),changeEnd:(e,t)=>({...e,selectedEnd:t,isEndDirty:!0}),reselectStart:e=>({...e,selectedStart:"",currentFocus:"start"}),reselectEnd:e=>({...e,selectedEnd:"",currentFocus:"end"}),focus:(e,t)=>({...e,currentFocus:C?"none":t,calendarOpen:!h}),cancel:e=>({...e,selectedStart:e.initialStart,selectedEnd:e.initialEnd,currentFocus:"none",calendarOpen:!1}),done:(e,t)=>({...e,selectedStart:t.start,selectedEnd:t.end,initialStart:t.start,initialEnd:t.end,currentFocus:"none",calendarOpen:!1,isStartDirty:!1,isEndDirty:!1}),resetStart:e=>({...e,selectedStart:e.initialStart}),resetEnd:e=>({...e,selectedEnd:e.initialEnd}),resetRange:(e,t)=>({...e,initialStart:t.start,selectedStart:t.start,initialEnd:t.end,selectedEnd:t.end})}}),D=React.useRef(!1),j=React.useRef(),I=React.useRef(),P=React.useRef(),M=React.useRef(),F=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths.mobileL}),O=c||F;React.useEffect((()=>{A.resetRange({start:a,end:o})}),[a,o]),React.useEffect((()=>{"start"===T?x($):"end"===T&&x(w)}),[T]);const L=e=>{if(H(e))return void(D.current=!0);if(A.changeStart(e),I.current.setCalendarDate(e),D.current=!1,!e)return void(O||w||!E||(A.resetRange({start:"",end:""}),s?.("","")));if(!w)return void A.focus("end");if(dayjs(e).isAfter(w,"day"))A.reselectEnd();else{if(E)return O?void 0:(A.done({start:e,end:w}),void s?.(e,w));A.focus("end")}},B=e=>{if(H(e))return void(D.current=!0);if(A.changeEnd(e),I.current.setCalendarDate(e),!e)return void(O||$||!k||(A.resetRange({start:"",end:""}),s?.("","")));if(!$)return void A.focus("start");if(dayjs(e).isBefore($,"day"))A.reselectStart();else{if(k)return O?void 0:(A.done({start:$,end:e}),void s?.($,e));A.focus("start")}},N=e=>()=>{h||(A.focus(e),V(),l&&l())},V=()=>{if(C){const e=dayjs($).startOf("week").format("YYYY-MM-DD");S(!0),x(e)}},H=r=>!f&&r&&DateInputHelper.isDateDisabled(r,{disabledDates:i,minDate:e,maxDate:t}),z=e=>{let t={start:void 0,end:void 0};switch(u){case"range":t={start:"start"===T?_:void 0,end:"end"===T?_:void 0};break;case"week":if(!_)return;t={start:dayjs(_).startOf("week").format("YYYY-MM-DD"),end:dayjs(_).endOf("week").format("YYYY-MM-DD")}}return t[e]};return jsxRuntime.jsxs(Container$n,{ref:j,$disabled:r,$readOnly:h,$error:n,id:m,"data-testid":y["data-testid"],onBlur:e=>{j.current.contains(e.relatedTarget)||(A.blur(),S(!1),P.current.resetPlaceholder(),M.current.resetPlaceholder(),d?.())},onKeyDown:e=>{"Escape"===e.code&&A.blur(),"Enter"!==e.code||O||($&&w?(A.done({start:$,end:w}),s?.($,w)):A.blur())},...y,children:[jsxRuntime.jsxs(RangeInputInnerContainer,{currentActive:T,minWidthBeforeWrap:MOBILE_WRAP_WIDTH,error:n,children:[jsxRuntime.jsx(InputContainer$2,{children:jsxRuntime.jsx(StandaloneDateInput,{ref:P,placeholder:"From",names:["start-day","start-month","start-year"],value:$,disabled:r,readOnly:v||h,focused:"start"===T,hoverValue:z("start"),onChange:L,onFocus:N("start"),onBlur:e=>{e&&!D.current||(A.resetStart(),P.current.resetInput())}})}),jsxRuntime.jsx(InputContainer$2,{children:jsxRuntime.jsx(StandaloneDateInput,{ref:M,placeholder:"To",names:["end-day","end-month","end-year"],value:w,disabled:r,readOnly:v||h,focused:"end"===T,hoverValue:z("end"),onChange:B,onFocus:N("end"),onBlur:e=>{e&&!D.current||(A.resetEnd(),M.current.resetInput())}})})]}),jsxRuntime.jsx(AnimatedInternalCalendar,{ref:I,type:"input",variant:u,initialCalendarDate:g,isOpen:R,withButton:O,value:$,endValue:w,selectWithinRange:k||E,currentFocus:T,disabledDates:i,minDate:e,maxDate:t,allowDisabledSelection:f,onSelect:e=>{"start"===T?L(e):"end"===T&&B(e),C&&(e=>{const t=dayjs(e).startOf("week").format("YYYY-MM-DD"),r=dayjs(e).endOf("week").format("YYYY-MM-DD");if(A.changeStart(t),A.changeEnd(r),D.current=!1,!O)A.done({start:t,end:r}),s?.(t,r)})(e)},onDismiss:e=>{switch(e){case"reset":A.cancel();break;case"confirmed":A.done({start:$,end:w}),s?.($,w)}},onHover:e=>{b(e)},onYearMonthDisplayChange:p})]})},getBackdropFilter=e=>{let t="";return e&&(t+="blur(10px)"),t.length>0?t:"none"},Root=styled__default.default.div`
|
|
1248
1248
|
position: fixed;
|
|
1249
1249
|
left: 0;
|
|
1250
1250
|
top: 0;
|
|
@@ -1485,12 +1485,12 @@ var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.pr
|
|
|
1485
1485
|
*
|
|
1486
1486
|
* This source code is licensed under the MIT license found in the
|
|
1487
1487
|
* LICENSE file in the root directory of this source tree.
|
|
1488
|
-
*/"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var f=e.type;switch(f){case l:case d:case i:case a:case n:case c:return f;default:var y=f&&f.$$typeof;switch(y){case s:case p:case m:case h:case o:return y;default:return u}}case r:return u}}}var b=l,v=d,S=s,C=o,$=t,w=p,T=i,R=m,
|
|
1488
|
+
*/"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function _(e){if("object"==typeof e&&null!==e){var u=e.$$typeof;switch(u){case t:var f=e.type;switch(f){case l:case d:case i:case a:case n:case c:return f;default:var y=f&&f.$$typeof;switch(y){case s:case p:case m:case h:case o:return y;default:return u}}case r:return u}}}var b=l,v=d,S=s,C=o,$=t,w=p,T=i,R=m,k=h,E=r,A=a,D=n,j=c,I=!1;function P(e){return _(e)===d}reactIs_development.AsyncMode=b,reactIs_development.ConcurrentMode=v,reactIs_development.ContextConsumer=S,reactIs_development.ContextProvider=C,reactIs_development.Element=$,reactIs_development.ForwardRef=w,reactIs_development.Fragment=T,reactIs_development.Lazy=R,reactIs_development.Memo=k,reactIs_development.Portal=E,reactIs_development.Profiler=A,reactIs_development.StrictMode=D,reactIs_development.Suspense=j,reactIs_development.isAsyncMode=function(e){return I||(I=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),P(e)||_(e)===l},reactIs_development.isConcurrentMode=P,reactIs_development.isContextConsumer=function(e){return _(e)===s},reactIs_development.isContextProvider=function(e){return _(e)===o},reactIs_development.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},reactIs_development.isForwardRef=function(e){return _(e)===p},reactIs_development.isFragment=function(e){return _(e)===i},reactIs_development.isLazy=function(e){return _(e)===m},reactIs_development.isMemo=function(e){return _(e)===h},reactIs_development.isPortal=function(e){return _(e)===r},reactIs_development.isProfiler=function(e){return _(e)===a},reactIs_development.isStrictMode=function(e){return _(e)===n},reactIs_development.isSuspense=function(e){return _(e)===c},reactIs_development.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===a||e===n||e===c||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===o||e.$$typeof===s||e.$$typeof===p||e.$$typeof===y||e.$$typeof===g||e.$$typeof===x||e.$$typeof===f)},reactIs_development.typeOf=_}(),"production"===process.env.NODE_ENV?reactIs.exports=reactIs_production_min:reactIs.exports=reactIs_development
|
|
1489
1489
|
/*
|
|
1490
1490
|
object-assign
|
|
1491
1491
|
(c) Sindre Sorhus
|
|
1492
1492
|
@license MIT
|
|
1493
|
-
*/;var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty$6=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}var objectAssign=shouldUseNative()?Object.assign:function(e,t){for(var r,i,n=toObject(e),a=1;a<arguments.length;a++){for(var o in r=Object(arguments[a]))hasOwnProperty$6.call(r,o)&&(n[o]=r[o]);if(getOwnPropertySymbols){i=getOwnPropertySymbols(r);for(var s=0;s<i.length;s++)propIsEnumerable.call(r,i[s])&&(n[i[s]]=r[i[s]])}}return n},ReactPropTypesSecret$3="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret$3,has$2=Function.call.bind(Object.prototype.hasOwnProperty),printWarning$1=function(){};if("production"!==process.env.NODE_ENV){var ReactPropTypesSecret$2=ReactPropTypesSecret_1,loggedTypeFailures={},has$1=has$2;printWarning$1=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function checkPropTypes$1(e,t,r,i,n){if("production"!==process.env.NODE_ENV)for(var a in e)if(has$1(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,r,null,ReactPropTypesSecret$2)}catch(e){o=e}if(!o||o instanceof Error||printWarning$1((i||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in loggedTypeFailures)){loggedTypeFailures[o.message]=!0;var l=n?n():"";printWarning$1("Failed "+r+" type: "+o.message+(null!=l?l:""))}}}checkPropTypes$1.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(loggedTypeFailures={})};var checkPropTypes_1=checkPropTypes$1,ReactIs$1=reactIs.exports,assign=objectAssign,ReactPropTypesSecret$1=ReactPropTypesSecret_1,has=has$2,checkPropTypes=checkPropTypes_1,printWarning=function(){};function emptyFunctionThatReturnsNull(){return null}"production"!==process.env.NODE_ENV&&(printWarning=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});var factoryWithTypeCheckers=function(e,t){var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";var n="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:l(emptyFunctionThatReturnsNull),arrayOf:function(e){return l((function(t,r,i,n,a){if("function"!=typeof e)return new s("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var o=t[r];if(!Array.isArray(o))return new s("Invalid "+n+" `"+a+"` of type `"+u(o)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<o.length;l++){var d=e(o,l,i,n,a+"["+l+"]",ReactPropTypesSecret$1);if(d instanceof Error)return d}return null}))},element:l((function(t,r,i,n,a){var o=t[r];return e(o)?null:new s("Invalid "+n+" `"+a+"` of type `"+u(o)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:l((function(e,t,r,i,n){var a=e[t];return ReactIs$1.isValidElementType(a)?null:new s("Invalid "+i+" `"+n+"` of type `"+u(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return l((function(t,r,i,a,o){if(!(t[r]instanceof e)){var l=e.name||n;return new s("Invalid "+a+" `"+o+"` of type `"+(((d=t[r]).constructor&&d.constructor.name?d.constructor.name:n)+"` supplied to `")+i+"`, expected instance of `"+l+"`.")}var d;return null}))},node:l((function(e,t,r,i,n){return c(e[t])?null:new s("Invalid "+i+" `"+n+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return l((function(t,r,i,n,a){if("function"!=typeof e)return new s("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var o=t[r],l=u(o);if("object"!==l)return new s("Invalid "+n+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var d in o)if(has(o,d)){var p=e(o,d,i,n,a+"."+d,ReactPropTypesSecret$1);if(p instanceof Error)return p}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&printWarning(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),emptyFunctionThatReturnsNull;return l((function(t,r,i,n,a){for(var l=t[r],d=0;d<e.length;d++)if(o(l,e[d]))return null;var p=JSON.stringify(e,(function(e,t){return"symbol"===h(t)?String(t):t}));return new s("Invalid "+n+" `"+a+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+p+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&printWarning("Invalid argument supplied to oneOfType, expected an instance of array."),emptyFunctionThatReturnsNull;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return printWarning("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(r)+" at index "+t+"."),emptyFunctionThatReturnsNull}return l((function(t,r,i,n,a){for(var o=[],l=0;l<e.length;l++){var d=(0,e[l])(t,r,i,n,a,ReactPropTypesSecret$1);if(null==d)return null;d.data&&has(d.data,"expectedType")&&o.push(d.data.expectedType)}return new s("Invalid "+n+" `"+a+"` supplied to `"+i+"`"+(o.length>0?", expected one of type ["+o.join(", ")+"]":"")+".")}))},shape:function(e){return l((function(t,r,i,n,a){var o=t[r],l=u(o);if("object"!==l)return new s("Invalid "+n+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var d in e){var c=e[d];if("function"!=typeof c)return p(i,n,a,d,h(c));var m=c(o,d,i,n,a+"."+d,ReactPropTypesSecret$1);if(m)return m}return null}))},exact:function(e){return l((function(t,r,i,n,a){var o=t[r],l=u(o);if("object"!==l)return new s("Invalid "+n+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var d=assign({},t[r],e);for(var c in d){var m=e[c];if(has(e,c)&&"function"!=typeof m)return p(i,n,a,c,h(m));if(!m)return new s("Invalid "+n+" `"+a+"` key `"+c+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(o,c,i,n,a+"."+c,ReactPropTypesSecret$1);if(f)return f}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function s(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function l(e){if("production"!==process.env.NODE_ENV)var r={},i=0;function a(a,o,l,d,p,c,u){if(d=d||n,c=c||l,u!==ReactPropTypesSecret$1){if(t){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=d+":"+l;!r[m]&&i<3&&(printWarning("You are manually calling a React.PropTypes validation function for the `"+c+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[m]=!0,i++)}}return null==o[l]?a?null===o[l]?new s("The "+p+" `"+c+"` is marked as required in `"+d+"`, but its value is `null`."):new s("The "+p+" `"+c+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(o,l,d,p,c)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function d(e){return l((function(t,r,i,n,a,o){var l=t[r];return u(l)!==e?new s("Invalid "+n+" `"+a+"` of type `"+h(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function p(e,t,r,i,n){return new s((e||"React class")+": "+t+" type `"+r+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e[i]);if("function"==typeof t)return t}(t);if(!n)return!1;var a,o=n.call(t);if(n!==t.entries){for(;!(a=o.next()).done;)if(!c(a.value))return!1}else for(;!(a=o.next()).done;){var s=a.value;if(s&&!c(s[1]))return!1}return!0;default:return!1}}function u(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function h(e){if(null==e)return""+e;var t=u(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){var t=h(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return s.prototype=Error.prototype,a.checkPropTypes=checkPropTypes,a.resetWarningCache=checkPropTypes.resetWarningCache,a.PropTypes=a,a},ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function e(e,t,r,i,n,a){if(a!==ReactPropTypesSecret){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return r.PropTypes=r,r};if("production"!==process.env.NODE_ENV){var ReactIs=reactIs.exports,throwOnDirectAccess=!0;propTypes.exports=factoryWithTypeCheckers(ReactIs.isElement,throwOnDirectAccess)}else propTypes.exports=factoryWithThrowingShims();var PropTypes=propTypes.exports;function __awaiter(e,t,r,i){return new(r||(r=Promise))((function(n,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function __generator(e,t){var r,i,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){o.label=s[1];break}if(6===s[0]&&o.label<n[1]){o.label=n[1],n=s;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(s);break}n[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],i=0}finally{r=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function __read(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}function __spreadArray(e,t,r){if(r||2===arguments.length)for(var i,n=0,a=t.length;n<a;n++)!i&&n in t||(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var COMMON_MIME_TYPES=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function toFileWithPath(e,t){var r=withMimeType(e);if("string"!=typeof r.path){var i=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function withMimeType(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),i=COMMON_MIME_TYPES.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var FILES_TO_IGNORE=[".DS_Store","Thumbs.db"];function fromEvent(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return isObject$3(e)&&isDataTransfer(e.dataTransfer)?[2,getDataTransferFiles(e.dataTransfer,e.type)]:isChangeEvt(e)?[2,getInputFiles(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,getFsHandleFiles(e)]:[2,[]]}))}))}function isDataTransfer(e){return isObject$3(e)}function isChangeEvt(e){return isObject$3(e)&&isObject$3(e.target)}function isObject$3(e){return"object"==typeof e&&null!==e}function getInputFiles(e){return fromList(e.target.files).map((function(e){return toFileWithPath(e)}))}function getFsHandleFiles(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return toFileWithPath(e)}))]}}))}))}function getDataTransferFiles(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return e.items?(r=fromList(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(toFilePromises))]):[3,2];case 1:return[2,noIgnoredFiles(flatten(i.sent()))];case 2:return[2,noIgnoredFiles(fromList(e.files).map((function(e){return toFileWithPath(e)})))]}}))}))}function noIgnoredFiles(e){return e.filter((function(e){return-1===FILES_TO_IGNORE.indexOf(e.name)}))}function fromList(e){if(null===e)return[];for(var t=[],r=0;r<e.length;r++){var i=e[r];t.push(i)}return t}function toFilePromises(e){if("function"!=typeof e.webkitGetAsEntry)return fromDataTransferItem(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?fromDirEntry(t):fromDataTransferItem(e)}function flatten(e){return e.reduce((function(e,t){return __spreadArray(__spreadArray([],__read(e),!1),__read(Array.isArray(t)?flatten(t):[t]),!1)}),[])}function fromDataTransferItem(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var r=toFileWithPath(t);return Promise.resolve(r)}function fromEntry(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,e.isDirectory?fromDirEntry(e):fromFileEntry(e)]}))}))}function fromDirEntry(e){var t=e.createReader();return new Promise((function(e,r){var i=[];!function n(){var a=this;t.readEntries((function(t){return __awaiter(a,void 0,void 0,(function(){var a,o,s;return __generator(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(fromEntry)),i.push(s),n(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function fromFileEntry(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var i=toFileWithPath(r,e.fullPath);t(i)}),(function(e){r(e)}))}))]}))}))}var _default=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),i=e.name||"",n=(e.type||"").toLowerCase(),a=n.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):n===t}))}return!0};function _toConsumableArray$2(e){return _arrayWithoutHoles$2(e)||_iterableToArray$2(e)||_unsupportedIterableToArray$2(e)||_nonIterableSpread$2()}function _nonIterableSpread$2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray$2(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles$2(e){if(Array.isArray(e))return _arrayLikeToArray$2(e)}function ownKeys$1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread$1(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$1(Object(r),!0).forEach((function(t){_defineProperty$1(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$1(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty$1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _slicedToArray$1(e,t){return _arrayWithHoles$1(e)||_iterableToArrayLimit$1(e,t)||_unsupportedIterableToArray$2(e,t)||_nonIterableRest$1()}function _nonIterableRest$1(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray$2(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$2(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray$2(e,t):void 0}}function _arrayLikeToArray$2(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _iterableToArrayLimit$1(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,n,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return a}}function _arrayWithHoles$1(e){if(Array.isArray(e))return e}var FILE_INVALID_TYPE="file-invalid-type",FILE_TOO_LARGE="file-too-large",FILE_TOO_SMALL="file-too-small",TOO_MANY_FILES="too-many-files",getInvalidTypeRejectionErr=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:FILE_INVALID_TYPE,message:"File type must be ".concat(t)}},getTooLargeRejectionErr=function(e){return{code:FILE_TOO_LARGE,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},getTooSmallRejectionErr=function(e){return{code:FILE_TOO_SMALL,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},TOO_MANY_FILES_REJECTION={code:TOO_MANY_FILES,message:"Too many files"};function fileAccepted(e,t){var r="application/x-moz-file"===e.type||_default(e,t);return[r,r?null:getInvalidTypeRejectionErr(t)]}function fileMatchSize(e,t,r){if(isDefined(e.size))if(isDefined(t)&&isDefined(r)){if(e.size>r)return[!1,getTooLargeRejectionErr(r)];if(e.size<t)return[!1,getTooSmallRejectionErr(t)]}else{if(isDefined(t)&&e.size<t)return[!1,getTooSmallRejectionErr(t)];if(isDefined(r)&&e.size>r)return[!1,getTooLargeRejectionErr(r)]}return[!0,null]}function isDefined(e){return null!=e}function allFilesAccepted(e){var t=e.files,r=e.accept,i=e.minSize,n=e.maxSize,a=e.multiple,o=e.maxFiles,s=e.validator;return!(!a&&t.length>1||a&&o>=1&&t.length>o)&&t.every((function(e){var t=_slicedToArray$1(fileAccepted(e,r),1)[0],a=_slicedToArray$1(fileMatchSize(e,i,n),1)[0],o=s?s(e):null;return t&&a&&!o}))}function isPropagationStopped(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function isEvtWithFiles(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function onDocumentDragOver(e){e.preventDefault()}function isIe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function isEdge(e){return-1!==e.indexOf("Edge/")}function isIeOrEdge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return isIe(e)||isEdge(e)}function composeEventHandlers(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return t.some((function(t){return!isPropagationStopped(e)&&t&&t.apply(void 0,[e].concat(i)),isPropagationStopped(e)}))}}function canUseFileSystemAccessAPI(){return"showOpenFilePicker"in window}function pickerOptionsFromAccept(e){return isDefined(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=_slicedToArray$1(e,2),r=t[0],i=t[1],n=!0;return isMIMEType(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),n=!1),Array.isArray(i)&&i.every(isExt)||(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),n=!1),n})).reduce((function(e,t){var r=_slicedToArray$1(t,2),i=r[0],n=r[1];return _objectSpread$1(_objectSpread$1({},e),{},_defineProperty$1({},i,n))}),{})}]:e}function acceptPropAsAcceptAttr(e){if(isDefined(e))return Object.entries(e).reduce((function(e,t){var r=_slicedToArray$1(t,2),i=r[0],n=r[1];return[].concat(_toConsumableArray$2(e),[i],_toConsumableArray$2(n))}),[]).filter((function(e){return isMIMEType(e)||isExt(e)})).join(",")}function isAbort(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function isSecurityError(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function isMIMEType(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function isExt(e){return/^.*\.[\w]+$/.test(e)}var _excluded=["children"],_excluded2=["open"],_excluded3=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],_excluded4=["refKey","onChange","onClick"];function _toConsumableArray$1(e){return _arrayWithoutHoles$1(e)||_iterableToArray$1(e)||_unsupportedIterableToArray$1(e)||_nonIterableSpread$1()}function _nonIterableSpread$1(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray$1(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles$1(e){if(Array.isArray(e))return _arrayLikeToArray$1(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray$1(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray$1(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$1(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray$1(e,t):void 0}}function _arrayLikeToArray$1(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,n,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectWithoutProperties(e,t){if(null==e)return{};var r,i,n=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}var Dropzone=React.forwardRef((function(e,t){var r=e.children,i=useDropzone(_objectWithoutProperties(e,_excluded)),n=i.open,a=_objectWithoutProperties(i,_excluded2);return React.useImperativeHandle(t,(function(){return{open:n}}),[n]),React__default.default.createElement(React.Fragment,null,r(_objectSpread(_objectSpread({},a),{},{open:n})))}));Dropzone.displayName="Dropzone";var defaultProps={disabled:!1,getFilesFromEvent:fromEvent,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Dropzone.defaultProps=defaultProps,Dropzone.propTypes={children:PropTypes.func,accept:PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),multiple:PropTypes.bool,preventDropOnDocument:PropTypes.bool,noClick:PropTypes.bool,noKeyboard:PropTypes.bool,noDrag:PropTypes.bool,noDragEventsBubbling:PropTypes.bool,minSize:PropTypes.number,maxSize:PropTypes.number,maxFiles:PropTypes.number,disabled:PropTypes.bool,getFilesFromEvent:PropTypes.func,onFileDialogCancel:PropTypes.func,onFileDialogOpen:PropTypes.func,useFsAccessApi:PropTypes.bool,autoFocus:PropTypes.bool,onDragEnter:PropTypes.func,onDragLeave:PropTypes.func,onDragOver:PropTypes.func,onDrop:PropTypes.func,onDropAccepted:PropTypes.func,onDropRejected:PropTypes.func,onError:PropTypes.func,validator:PropTypes.func};var initialState={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function useDropzone(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=_objectSpread(_objectSpread({},defaultProps),e),r=t.accept,i=t.disabled,n=t.getFilesFromEvent,a=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,d=t.onDragEnter,p=t.onDragLeave,c=t.onDragOver,u=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,f=t.onFileDialogCancel,y=t.onFileDialogOpen,g=t.useFsAccessApi,x=t.autoFocus,_=t.preventDropOnDocument,b=t.noClick,v=t.noKeyboard,S=t.noDrag,C=t.noDragEventsBubbling,$=t.onError,w=t.validator,T=React.useMemo((function(){return acceptPropAsAcceptAttr(r)}),[r]),R=React.useMemo((function(){return pickerOptionsFromAccept(r)}),[r]),E=React.useMemo((function(){return"function"==typeof y?y:noop$1}),[y]),k=React.useMemo((function(){return"function"==typeof f?f:noop$1}),[f]),A=React.useRef(null),D=React.useRef(null),j=_slicedToArray(React.useReducer(reducer$1,initialState),2),I=j[0],P=j[1],M=I.isFocused,F=I.isFileDialogActive,O=React.useRef("undefined"!=typeof window&&window.isSecureContext&&g&&canUseFileSystemAccessAPI()),L=function(){!O.current&&F&&setTimeout((function(){D.current&&(D.current.files.length||(P({type:"closeDialog"}),k()))}),300)};React.useEffect((function(){return window.addEventListener("focus",L,!1),function(){window.removeEventListener("focus",L,!1)}}),[D,F,k,O]);var B=React.useRef([]),N=function(e){A.current&&A.current.contains(e.target)||(e.preventDefault(),B.current=[])};React.useEffect((function(){return _&&(document.addEventListener("dragover",onDocumentDragOver,!1),document.addEventListener("drop",N,!1)),function(){_&&(document.removeEventListener("dragover",onDocumentDragOver),document.removeEventListener("drop",N))}}),[A,_]),React.useEffect((function(){return!i&&x&&A.current&&A.current.focus(),function(){}}),[A,x,i]);var V=React.useCallback((function(e){$?$(e):console.error(e)}),[$]),H=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e),B.current=[].concat(_toConsumableArray$1(B.current),[e.target]),isEvtWithFiles(e)&&Promise.resolve(n(e)).then((function(t){if(!isPropagationStopped(e)||C){var r=t.length,i=r>0&&allFilesAccepted({files:t,accept:T,minSize:o,maxSize:a,multiple:s,maxFiles:l,validator:w});P({isDragAccept:i,isDragReject:r>0&&!i,isDragActive:!0,type:"setDraggedFiles"}),d&&d(e)}})).catch((function(e){return V(e)}))}),[n,d,V,C,T,o,a,s,l,w]),z=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e);var t=isEvtWithFiles(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&c&&c(e),!1}),[c,C]),W=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e);var t=B.current.filter((function(e){return A.current&&A.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),B.current=t,t.length>0||(P({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),isEvtWithFiles(e)&&p&&p(e))}),[A,p,C]),G=React.useCallback((function(e,t){var r=[],i=[];e.forEach((function(e){var t=_slicedToArray(fileAccepted(e,T),2),n=t[0],s=t[1],l=_slicedToArray(fileMatchSize(e,o,a),2),d=l[0],p=l[1],c=w?w(e):null;if(n&&d&&!c)r.push(e);else{var u=[s,p];c&&(u=u.concat(c)),i.push({file:e,errors:u.filter((function(e){return e}))})}})),(!s&&r.length>1||s&&l>=1&&r.length>l)&&(r.forEach((function(e){i.push({file:e,errors:[TOO_MANY_FILES_REJECTION]})})),r.splice(0)),P({acceptedFiles:r,fileRejections:i,type:"setFiles"}),u&&u(r,i,t),i.length>0&&m&&m(i,t),r.length>0&&h&&h(r,t)}),[P,s,T,o,a,l,u,h,m,w]),U=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e),B.current=[],isEvtWithFiles(e)&&Promise.resolve(n(e)).then((function(t){isPropagationStopped(e)&&!C||G(t,e)})).catch((function(e){return V(e)})),P({type:"reset"})}),[n,G,V,C]),q=React.useCallback((function(){if(O.current){P({type:"openDialog"}),E();var e={multiple:s,types:R};window.showOpenFilePicker(e).then((function(e){return n(e)})).then((function(e){G(e,null),P({type:"closeDialog"})})).catch((function(e){isAbort(e)?(k(e),P({type:"closeDialog"})):isSecurityError(e)?(O.current=!1,D.current?(D.current.value=null,D.current.click()):V(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):V(e)}))}else D.current&&(P({type:"openDialog"}),E(),D.current.value=null,D.current.click())}),[P,E,k,g,G,V,R,s]),Y=React.useCallback((function(e){A.current&&A.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),q()))}),[A,q]),Q=React.useCallback((function(){P({type:"focus"})}),[]),K=React.useCallback((function(){P({type:"blur"})}),[]),X=React.useCallback((function(){b||(isIeOrEdge()?setTimeout(q,0):q())}),[b,q]),Z=function(e){return i?null:e},J=function(e){return v?null:Z(e)},ee=function(e){return S?null:Z(e)},te=function(e){C&&e.stopPropagation()},re=React.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.role,a=e.onKeyDown,o=e.onFocus,s=e.onBlur,l=e.onClick,d=e.onDragEnter,p=e.onDragOver,c=e.onDragLeave,u=e.onDrop,h=_objectWithoutProperties(e,_excluded3);return _objectSpread(_objectSpread(_defineProperty({onKeyDown:J(composeEventHandlers(a,Y)),onFocus:J(composeEventHandlers(o,Q)),onBlur:J(composeEventHandlers(s,K)),onClick:Z(composeEventHandlers(l,X)),onDragEnter:ee(composeEventHandlers(d,H)),onDragOver:ee(composeEventHandlers(p,z)),onDragLeave:ee(composeEventHandlers(c,W)),onDrop:ee(composeEventHandlers(u,U)),role:"string"==typeof n&&""!==n?n:"presentation"},r,A),i||v?{}:{tabIndex:0}),h)}}),[A,Y,Q,K,X,H,z,W,U,v,S,i]),ie=React.useCallback((function(e){e.stopPropagation()}),[]),ne=React.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,i=e.onChange,n=e.onClick,a=_objectWithoutProperties(e,_excluded4);return _objectSpread(_objectSpread({},_defineProperty({accept:T,multiple:s,type:"file",style:{display:"none"},onChange:Z(composeEventHandlers(i,U)),onClick:Z(composeEventHandlers(n,ie)),tabIndex:-1},r,D)),a)}}),[D,r,s,U,i]);return _objectSpread(_objectSpread({},I),{},{isFocused:M&&!i,getRootProps:re,getInputProps:ne,rootRef:A,inputRef:D,open:Z(q)})}function reducer$1(e,t){switch(t.type){case"focus":return _objectSpread(_objectSpread({},e),{},{isFocused:!0});case"blur":return _objectSpread(_objectSpread({},e),{},{isFocused:!1});case"openDialog":return _objectSpread(_objectSpread({},initialState),{},{isFileDialogActive:!0});case"closeDialog":return _objectSpread(_objectSpread({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return _objectSpread(_objectSpread({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return _objectSpread(_objectSpread({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return _objectSpread({},initialState);default:return e}}function noop$1(){}const Container$j=styled__default.default.div`
|
|
1493
|
+
*/;var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty$6=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function shouldUseNative(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var i=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==i.join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}var objectAssign=shouldUseNative()?Object.assign:function(e,t){for(var r,i,n=toObject(e),a=1;a<arguments.length;a++){for(var o in r=Object(arguments[a]))hasOwnProperty$6.call(r,o)&&(n[o]=r[o]);if(getOwnPropertySymbols){i=getOwnPropertySymbols(r);for(var s=0;s<i.length;s++)propIsEnumerable.call(r,i[s])&&(n[i[s]]=r[i[s]])}}return n},ReactPropTypesSecret$3="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret$3,has$2=Function.call.bind(Object.prototype.hasOwnProperty),printWarning$1=function(){};if("production"!==process.env.NODE_ENV){var ReactPropTypesSecret$2=ReactPropTypesSecret_1,loggedTypeFailures={},has$1=has$2;printWarning$1=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function checkPropTypes$1(e,t,r,i,n){if("production"!==process.env.NODE_ENV)for(var a in e)if(has$1(e,a)){var o;try{if("function"!=typeof e[a]){var s=Error((i||"React class")+": "+r+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}o=e[a](t,a,i,r,null,ReactPropTypesSecret$2)}catch(e){o=e}if(!o||o instanceof Error||printWarning$1((i||"React class")+": type specification of "+r+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof o+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),o instanceof Error&&!(o.message in loggedTypeFailures)){loggedTypeFailures[o.message]=!0;var l=n?n():"";printWarning$1("Failed "+r+" type: "+o.message+(null!=l?l:""))}}}checkPropTypes$1.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(loggedTypeFailures={})};var checkPropTypes_1=checkPropTypes$1,ReactIs$1=reactIs.exports,assign=objectAssign,ReactPropTypesSecret$1=ReactPropTypesSecret_1,has=has$2,checkPropTypes=checkPropTypes_1,printWarning=function(){};function emptyFunctionThatReturnsNull(){return null}"production"!==process.env.NODE_ENV&&(printWarning=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}});var factoryWithTypeCheckers=function(e,t){var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";var n="<<anonymous>>",a={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:l(emptyFunctionThatReturnsNull),arrayOf:function(e){return l((function(t,r,i,n,a){if("function"!=typeof e)return new s("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside arrayOf.");var o=t[r];if(!Array.isArray(o))return new s("Invalid "+n+" `"+a+"` of type `"+u(o)+"` supplied to `"+i+"`, expected an array.");for(var l=0;l<o.length;l++){var d=e(o,l,i,n,a+"["+l+"]",ReactPropTypesSecret$1);if(d instanceof Error)return d}return null}))},element:l((function(t,r,i,n,a){var o=t[r];return e(o)?null:new s("Invalid "+n+" `"+a+"` of type `"+u(o)+"` supplied to `"+i+"`, expected a single ReactElement.")})),elementType:l((function(e,t,r,i,n){var a=e[t];return ReactIs$1.isValidElementType(a)?null:new s("Invalid "+i+" `"+n+"` of type `"+u(a)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return l((function(t,r,i,a,o){if(!(t[r]instanceof e)){var l=e.name||n;return new s("Invalid "+a+" `"+o+"` of type `"+(((d=t[r]).constructor&&d.constructor.name?d.constructor.name:n)+"` supplied to `")+i+"`, expected instance of `"+l+"`.")}var d;return null}))},node:l((function(e,t,r,i,n){return c(e[t])?null:new s("Invalid "+i+" `"+n+"` supplied to `"+r+"`, expected a ReactNode.")})),objectOf:function(e){return l((function(t,r,i,n,a){if("function"!=typeof e)return new s("Property `"+a+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var o=t[r],l=u(o);if("object"!==l)return new s("Invalid "+n+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected an object.");for(var d in o)if(has(o,d)){var p=e(o,d,i,n,a+"."+d,ReactPropTypesSecret$1);if(p instanceof Error)return p}return null}))},oneOf:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&printWarning(arguments.length>1?"Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).":"Invalid argument supplied to oneOf, expected an array."),emptyFunctionThatReturnsNull;return l((function(t,r,i,n,a){for(var l=t[r],d=0;d<e.length;d++)if(o(l,e[d]))return null;var p=JSON.stringify(e,(function(e,t){return"symbol"===h(t)?String(t):t}));return new s("Invalid "+n+" `"+a+"` of value `"+String(l)+"` supplied to `"+i+"`, expected one of "+p+".")}))},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&printWarning("Invalid argument supplied to oneOfType, expected an instance of array."),emptyFunctionThatReturnsNull;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return printWarning("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+m(r)+" at index "+t+"."),emptyFunctionThatReturnsNull}return l((function(t,r,i,n,a){for(var o=[],l=0;l<e.length;l++){var d=(0,e[l])(t,r,i,n,a,ReactPropTypesSecret$1);if(null==d)return null;d.data&&has(d.data,"expectedType")&&o.push(d.data.expectedType)}return new s("Invalid "+n+" `"+a+"` supplied to `"+i+"`"+(o.length>0?", expected one of type ["+o.join(", ")+"]":"")+".")}))},shape:function(e){return l((function(t,r,i,n,a){var o=t[r],l=u(o);if("object"!==l)return new s("Invalid "+n+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");for(var d in e){var c=e[d];if("function"!=typeof c)return p(i,n,a,d,h(c));var m=c(o,d,i,n,a+"."+d,ReactPropTypesSecret$1);if(m)return m}return null}))},exact:function(e){return l((function(t,r,i,n,a){var o=t[r],l=u(o);if("object"!==l)return new s("Invalid "+n+" `"+a+"` of type `"+l+"` supplied to `"+i+"`, expected `object`.");var d=assign({},t[r],e);for(var c in d){var m=e[c];if(has(e,c)&&"function"!=typeof m)return p(i,n,a,c,h(m));if(!m)return new s("Invalid "+n+" `"+a+"` key `"+c+"` supplied to `"+i+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var f=m(o,c,i,n,a+"."+c,ReactPropTypesSecret$1);if(f)return f}return null}))}};function o(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function s(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function l(e){if("production"!==process.env.NODE_ENV)var r={},i=0;function a(a,o,l,d,p,c,u){if(d=d||n,c=c||l,u!==ReactPropTypesSecret$1){if(t){var h=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 h.name="Invariant Violation",h}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var m=d+":"+l;!r[m]&&i<3&&(printWarning("You are manually calling a React.PropTypes validation function for the `"+c+"` prop on `"+d+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[m]=!0,i++)}}return null==o[l]?a?null===o[l]?new s("The "+p+" `"+c+"` is marked as required in `"+d+"`, but its value is `null`."):new s("The "+p+" `"+c+"` is marked as required in `"+d+"`, but its value is `undefined`."):null:e(o,l,d,p,c)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function d(e){return l((function(t,r,i,n,a,o){var l=t[r];return u(l)!==e?new s("Invalid "+n+" `"+a+"` of type `"+h(l)+"` supplied to `"+i+"`, expected `"+e+"`.",{expectedType:e}):null}))}function p(e,t,r,i,n){return new s((e||"React class")+": "+t+" type `"+r+"."+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+n+"`.")}function c(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(c);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e[i]);if("function"==typeof t)return t}(t);if(!n)return!1;var a,o=n.call(t);if(n!==t.entries){for(;!(a=o.next()).done;)if(!c(a.value))return!1}else for(;!(a=o.next()).done;){var s=a.value;if(s&&!c(s[1]))return!1}return!0;default:return!1}}function u(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function h(e){if(null==e)return""+e;var t=u(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){var t=h(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return s.prototype=Error.prototype,a.checkPropTypes=checkPropTypes,a.resetWarningCache=checkPropTypes.resetWarningCache,a.PropTypes=a,a},ReactPropTypesSecret=ReactPropTypesSecret_1;function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function e(e,t,r,i,n,a){if(a!==ReactPropTypesSecret){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return r.PropTypes=r,r};if("production"!==process.env.NODE_ENV){var ReactIs=reactIs.exports,throwOnDirectAccess=!0;propTypes.exports=factoryWithTypeCheckers(ReactIs.isElement,throwOnDirectAccess)}else propTypes.exports=factoryWithThrowingShims();var PropTypes=propTypes.exports;function __awaiter(e,t,r,i){return new(r||(r=Promise))((function(n,a){function o(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((i=i.apply(e,t||[])).next())}))}function __generator(e,t){var r,i,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,i=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){o.label=s[1];break}if(6===s[0]&&o.label<n[1]){o.label=n[1],n=s;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(s);break}n[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],i=0}finally{r=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function __read(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return o}function __spreadArray(e,t,r){if(r||2===arguments.length)for(var i,n=0,a=t.length;n<a;n++)!i&&n in t||(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var COMMON_MIME_TYPES=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function toFileWithPath(e,t){var r=withMimeType(e);if("string"!=typeof r.path){var i=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof i&&i.length>0?i:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}function withMimeType(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),i=COMMON_MIME_TYPES.get(r);i&&Object.defineProperty(e,"type",{value:i,writable:!1,configurable:!1,enumerable:!0})}return e}var FILES_TO_IGNORE=[".DS_Store","Thumbs.db"];function fromEvent(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return isObject$3(e)&&isDataTransfer(e.dataTransfer)?[2,getDataTransferFiles(e.dataTransfer,e.type)]:isChangeEvt(e)?[2,getInputFiles(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"==typeof e.getFile}))?[2,getFsHandleFiles(e)]:[2,[]]}))}))}function isDataTransfer(e){return isObject$3(e)}function isChangeEvt(e){return isObject$3(e)&&isObject$3(e.target)}function isObject$3(e){return"object"==typeof e&&null!==e}function getInputFiles(e){return fromList(e.target.files).map((function(e){return toFileWithPath(e)}))}function getFsHandleFiles(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return toFileWithPath(e)}))]}}))}))}function getDataTransferFiles(e,t){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:return e.items?(r=fromList(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(toFilePromises))]):[3,2];case 1:return[2,noIgnoredFiles(flatten(i.sent()))];case 2:return[2,noIgnoredFiles(fromList(e.files).map((function(e){return toFileWithPath(e)})))]}}))}))}function noIgnoredFiles(e){return e.filter((function(e){return-1===FILES_TO_IGNORE.indexOf(e.name)}))}function fromList(e){if(null===e)return[];for(var t=[],r=0;r<e.length;r++){var i=e[r];t.push(i)}return t}function toFilePromises(e){if("function"!=typeof e.webkitGetAsEntry)return fromDataTransferItem(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?fromDirEntry(t):fromDataTransferItem(e)}function flatten(e){return e.reduce((function(e,t){return __spreadArray(__spreadArray([],__read(e),!1),__read(Array.isArray(t)?flatten(t):[t]),!1)}),[])}function fromDataTransferItem(e){var t=e.getAsFile();if(!t)return Promise.reject("".concat(e," is not a File"));var r=toFileWithPath(t);return Promise.resolve(r)}function fromEntry(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,e.isDirectory?fromDirEntry(e):fromFileEntry(e)]}))}))}function fromDirEntry(e){var t=e.createReader();return new Promise((function(e,r){var i=[];!function n(){var a=this;t.readEntries((function(t){return __awaiter(a,void 0,void 0,(function(){var a,o,s;return __generator(this,(function(l){switch(l.label){case 0:if(t.length)return[3,5];l.label=1;case 1:return l.trys.push([1,3,,4]),[4,Promise.all(i)];case 2:return a=l.sent(),e(a),[3,4];case 3:return o=l.sent(),r(o),[3,4];case 4:return[3,6];case 5:s=Promise.all(t.map(fromEntry)),i.push(s),n(),l.label=6;case 6:return[2]}}))}))}),(function(e){r(e)}))}()}))}function fromFileEntry(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,new Promise((function(t,r){e.file((function(r){var i=toFileWithPath(r,e.fullPath);t(i)}),(function(e){r(e)}))}))]}))}))}var _default=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),i=e.name||"",n=(e.type||"").toLowerCase(),a=n.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?i.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):n===t}))}return!0};function _toConsumableArray$2(e){return _arrayWithoutHoles$2(e)||_iterableToArray$2(e)||_unsupportedIterableToArray$2(e)||_nonIterableSpread$2()}function _nonIterableSpread$2(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray$2(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles$2(e){if(Array.isArray(e))return _arrayLikeToArray$2(e)}function ownKeys$1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread$1(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$1(Object(r),!0).forEach((function(t){_defineProperty$1(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$1(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty$1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _slicedToArray$1(e,t){return _arrayWithHoles$1(e)||_iterableToArrayLimit$1(e,t)||_unsupportedIterableToArray$2(e,t)||_nonIterableRest$1()}function _nonIterableRest$1(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray$2(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$2(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray$2(e,t):void 0}}function _arrayLikeToArray$2(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _iterableToArrayLimit$1(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,n,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return a}}function _arrayWithHoles$1(e){if(Array.isArray(e))return e}var FILE_INVALID_TYPE="file-invalid-type",FILE_TOO_LARGE="file-too-large",FILE_TOO_SMALL="file-too-small",TOO_MANY_FILES="too-many-files",getInvalidTypeRejectionErr=function(e){e=Array.isArray(e)&&1===e.length?e[0]:e;var t=Array.isArray(e)?"one of ".concat(e.join(", ")):e;return{code:FILE_INVALID_TYPE,message:"File type must be ".concat(t)}},getTooLargeRejectionErr=function(e){return{code:FILE_TOO_LARGE,message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},getTooSmallRejectionErr=function(e){return{code:FILE_TOO_SMALL,message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},TOO_MANY_FILES_REJECTION={code:TOO_MANY_FILES,message:"Too many files"};function fileAccepted(e,t){var r="application/x-moz-file"===e.type||_default(e,t);return[r,r?null:getInvalidTypeRejectionErr(t)]}function fileMatchSize(e,t,r){if(isDefined(e.size))if(isDefined(t)&&isDefined(r)){if(e.size>r)return[!1,getTooLargeRejectionErr(r)];if(e.size<t)return[!1,getTooSmallRejectionErr(t)]}else{if(isDefined(t)&&e.size<t)return[!1,getTooSmallRejectionErr(t)];if(isDefined(r)&&e.size>r)return[!1,getTooLargeRejectionErr(r)]}return[!0,null]}function isDefined(e){return null!=e}function allFilesAccepted(e){var t=e.files,r=e.accept,i=e.minSize,n=e.maxSize,a=e.multiple,o=e.maxFiles,s=e.validator;return!(!a&&t.length>1||a&&o>=1&&t.length>o)&&t.every((function(e){var t=_slicedToArray$1(fileAccepted(e,r),1)[0],a=_slicedToArray$1(fileMatchSize(e,i,n),1)[0],o=s?s(e):null;return t&&a&&!o}))}function isPropagationStopped(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function isEvtWithFiles(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function onDocumentDragOver(e){e.preventDefault()}function isIe(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function isEdge(e){return-1!==e.indexOf("Edge/")}function isIeOrEdge(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return isIe(e)||isEdge(e)}function composeEventHandlers(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return t.some((function(t){return!isPropagationStopped(e)&&t&&t.apply(void 0,[e].concat(i)),isPropagationStopped(e)}))}}function canUseFileSystemAccessAPI(){return"showOpenFilePicker"in window}function pickerOptionsFromAccept(e){return isDefined(e)?[{description:"Files",accept:Object.entries(e).filter((function(e){var t=_slicedToArray$1(e,2),r=t[0],i=t[1],n=!0;return isMIMEType(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),n=!1),Array.isArray(i)&&i.every(isExt)||(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),n=!1),n})).reduce((function(e,t){var r=_slicedToArray$1(t,2),i=r[0],n=r[1];return _objectSpread$1(_objectSpread$1({},e),{},_defineProperty$1({},i,n))}),{})}]:e}function acceptPropAsAcceptAttr(e){if(isDefined(e))return Object.entries(e).reduce((function(e,t){var r=_slicedToArray$1(t,2),i=r[0],n=r[1];return[].concat(_toConsumableArray$2(e),[i],_toConsumableArray$2(n))}),[]).filter((function(e){return isMIMEType(e)||isExt(e)})).join(",")}function isAbort(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}function isSecurityError(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}function isMIMEType(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||/\w+\/[-+.\w]+/g.test(e)}function isExt(e){return/^.*\.[\w]+$/.test(e)}var _excluded=["children"],_excluded2=["open"],_excluded3=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],_excluded4=["refKey","onChange","onClick"];function _toConsumableArray$1(e){return _arrayWithoutHoles$1(e)||_iterableToArray$1(e)||_unsupportedIterableToArray$1(e)||_nonIterableSpread$1()}function _nonIterableSpread$1(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray$1(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles$1(e){if(Array.isArray(e))return _arrayLikeToArray$1(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray$1(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray$1(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray$1(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray$1(e,t):void 0}}function _arrayLikeToArray$1(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _iterableToArrayLimit(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var i,n,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(i=r.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==r.return||r.return()}finally{if(s)throw n}}return a}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach((function(t){_defineProperty(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _objectWithoutProperties(e,t){if(null==e)return{};var r,i,n=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var r,i,n={},a=Object.keys(e);for(i=0;i<a.length;i++)r=a[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}var Dropzone=React.forwardRef((function(e,t){var r=e.children,i=useDropzone(_objectWithoutProperties(e,_excluded)),n=i.open,a=_objectWithoutProperties(i,_excluded2);return React.useImperativeHandle(t,(function(){return{open:n}}),[n]),React__default.default.createElement(React.Fragment,null,r(_objectSpread(_objectSpread({},a),{},{open:n})))}));Dropzone.displayName="Dropzone";var defaultProps={disabled:!1,getFilesFromEvent:fromEvent,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};Dropzone.defaultProps=defaultProps,Dropzone.propTypes={children:PropTypes.func,accept:PropTypes.objectOf(PropTypes.arrayOf(PropTypes.string)),multiple:PropTypes.bool,preventDropOnDocument:PropTypes.bool,noClick:PropTypes.bool,noKeyboard:PropTypes.bool,noDrag:PropTypes.bool,noDragEventsBubbling:PropTypes.bool,minSize:PropTypes.number,maxSize:PropTypes.number,maxFiles:PropTypes.number,disabled:PropTypes.bool,getFilesFromEvent:PropTypes.func,onFileDialogCancel:PropTypes.func,onFileDialogOpen:PropTypes.func,useFsAccessApi:PropTypes.bool,autoFocus:PropTypes.bool,onDragEnter:PropTypes.func,onDragLeave:PropTypes.func,onDragOver:PropTypes.func,onDrop:PropTypes.func,onDropAccepted:PropTypes.func,onDropRejected:PropTypes.func,onError:PropTypes.func,validator:PropTypes.func};var initialState={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function useDropzone(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=_objectSpread(_objectSpread({},defaultProps),e),r=t.accept,i=t.disabled,n=t.getFilesFromEvent,a=t.maxSize,o=t.minSize,s=t.multiple,l=t.maxFiles,d=t.onDragEnter,p=t.onDragLeave,c=t.onDragOver,u=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,f=t.onFileDialogCancel,y=t.onFileDialogOpen,g=t.useFsAccessApi,x=t.autoFocus,_=t.preventDropOnDocument,b=t.noClick,v=t.noKeyboard,S=t.noDrag,C=t.noDragEventsBubbling,$=t.onError,w=t.validator,T=React.useMemo((function(){return acceptPropAsAcceptAttr(r)}),[r]),R=React.useMemo((function(){return pickerOptionsFromAccept(r)}),[r]),k=React.useMemo((function(){return"function"==typeof y?y:noop$1}),[y]),E=React.useMemo((function(){return"function"==typeof f?f:noop$1}),[f]),A=React.useRef(null),D=React.useRef(null),j=_slicedToArray(React.useReducer(reducer$1,initialState),2),I=j[0],P=j[1],M=I.isFocused,F=I.isFileDialogActive,O=React.useRef("undefined"!=typeof window&&window.isSecureContext&&g&&canUseFileSystemAccessAPI()),L=function(){!O.current&&F&&setTimeout((function(){D.current&&(D.current.files.length||(P({type:"closeDialog"}),E()))}),300)};React.useEffect((function(){return window.addEventListener("focus",L,!1),function(){window.removeEventListener("focus",L,!1)}}),[D,F,E,O]);var B=React.useRef([]),N=function(e){A.current&&A.current.contains(e.target)||(e.preventDefault(),B.current=[])};React.useEffect((function(){return _&&(document.addEventListener("dragover",onDocumentDragOver,!1),document.addEventListener("drop",N,!1)),function(){_&&(document.removeEventListener("dragover",onDocumentDragOver),document.removeEventListener("drop",N))}}),[A,_]),React.useEffect((function(){return!i&&x&&A.current&&A.current.focus(),function(){}}),[A,x,i]);var V=React.useCallback((function(e){$?$(e):console.error(e)}),[$]),H=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e),B.current=[].concat(_toConsumableArray$1(B.current),[e.target]),isEvtWithFiles(e)&&Promise.resolve(n(e)).then((function(t){if(!isPropagationStopped(e)||C){var r=t.length,i=r>0&&allFilesAccepted({files:t,accept:T,minSize:o,maxSize:a,multiple:s,maxFiles:l,validator:w});P({isDragAccept:i,isDragReject:r>0&&!i,isDragActive:!0,type:"setDraggedFiles"}),d&&d(e)}})).catch((function(e){return V(e)}))}),[n,d,V,C,T,o,a,s,l,w]),z=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e);var t=isEvtWithFiles(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&c&&c(e),!1}),[c,C]),W=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e);var t=B.current.filter((function(e){return A.current&&A.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),B.current=t,t.length>0||(P({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),isEvtWithFiles(e)&&p&&p(e))}),[A,p,C]),G=React.useCallback((function(e,t){var r=[],i=[];e.forEach((function(e){var t=_slicedToArray(fileAccepted(e,T),2),n=t[0],s=t[1],l=_slicedToArray(fileMatchSize(e,o,a),2),d=l[0],p=l[1],c=w?w(e):null;if(n&&d&&!c)r.push(e);else{var u=[s,p];c&&(u=u.concat(c)),i.push({file:e,errors:u.filter((function(e){return e}))})}})),(!s&&r.length>1||s&&l>=1&&r.length>l)&&(r.forEach((function(e){i.push({file:e,errors:[TOO_MANY_FILES_REJECTION]})})),r.splice(0)),P({acceptedFiles:r,fileRejections:i,type:"setFiles"}),u&&u(r,i,t),i.length>0&&m&&m(i,t),r.length>0&&h&&h(r,t)}),[P,s,T,o,a,l,u,h,m,w]),U=React.useCallback((function(e){e.preventDefault(),e.persist(),te(e),B.current=[],isEvtWithFiles(e)&&Promise.resolve(n(e)).then((function(t){isPropagationStopped(e)&&!C||G(t,e)})).catch((function(e){return V(e)})),P({type:"reset"})}),[n,G,V,C]),q=React.useCallback((function(){if(O.current){P({type:"openDialog"}),k();var e={multiple:s,types:R};window.showOpenFilePicker(e).then((function(e){return n(e)})).then((function(e){G(e,null),P({type:"closeDialog"})})).catch((function(e){isAbort(e)?(E(e),P({type:"closeDialog"})):isSecurityError(e)?(O.current=!1,D.current?(D.current.value=null,D.current.click()):V(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):V(e)}))}else D.current&&(P({type:"openDialog"}),k(),D.current.value=null,D.current.click())}),[P,k,E,g,G,V,R,s]),Y=React.useCallback((function(e){A.current&&A.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),q()))}),[A,q]),Q=React.useCallback((function(){P({type:"focus"})}),[]),K=React.useCallback((function(){P({type:"blur"})}),[]),X=React.useCallback((function(){b||(isIeOrEdge()?setTimeout(q,0):q())}),[b,q]),Z=function(e){return i?null:e},J=function(e){return v?null:Z(e)},ee=function(e){return S?null:Z(e)},te=function(e){C&&e.stopPropagation()},re=React.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.role,a=e.onKeyDown,o=e.onFocus,s=e.onBlur,l=e.onClick,d=e.onDragEnter,p=e.onDragOver,c=e.onDragLeave,u=e.onDrop,h=_objectWithoutProperties(e,_excluded3);return _objectSpread(_objectSpread(_defineProperty({onKeyDown:J(composeEventHandlers(a,Y)),onFocus:J(composeEventHandlers(o,Q)),onBlur:J(composeEventHandlers(s,K)),onClick:Z(composeEventHandlers(l,X)),onDragEnter:ee(composeEventHandlers(d,H)),onDragOver:ee(composeEventHandlers(p,z)),onDragLeave:ee(composeEventHandlers(c,W)),onDrop:ee(composeEventHandlers(u,U)),role:"string"==typeof n&&""!==n?n:"presentation"},r,A),i||v?{}:{tabIndex:0}),h)}}),[A,Y,Q,K,X,H,z,W,U,v,S,i]),ie=React.useCallback((function(e){e.stopPropagation()}),[]),ne=React.useMemo((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,i=e.onChange,n=e.onClick,a=_objectWithoutProperties(e,_excluded4);return _objectSpread(_objectSpread({},_defineProperty({accept:T,multiple:s,type:"file",style:{display:"none"},onChange:Z(composeEventHandlers(i,U)),onClick:Z(composeEventHandlers(n,ie)),tabIndex:-1},r,D)),a)}}),[D,r,s,U,i]);return _objectSpread(_objectSpread({},I),{},{isFocused:M&&!i,getRootProps:re,getInputProps:ne,rootRef:A,inputRef:D,open:Z(q)})}function reducer$1(e,t){switch(t.type){case"focus":return _objectSpread(_objectSpread({},e),{},{isFocused:!0});case"blur":return _objectSpread(_objectSpread({},e),{},{isFocused:!1});case"openDialog":return _objectSpread(_objectSpread({},initialState),{},{isFileDialogActive:!0});case"closeDialog":return _objectSpread(_objectSpread({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return _objectSpread(_objectSpread({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return _objectSpread(_objectSpread({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return _objectSpread({},initialState);default:return e}}function noop$1(){}const Container$j=styled__default.default.div`
|
|
1494
1494
|
position: relative;
|
|
1495
1495
|
display: flex;
|
|
1496
1496
|
flex-direction: column;
|
|
@@ -1529,7 +1529,7 @@ object-assign
|
|
|
1529
1529
|
color: ${Color.Primary};
|
|
1530
1530
|
height: 4rem;
|
|
1531
1531
|
width: 4rem;
|
|
1532
|
-
`,Component$f=({children:e,accept:t,capture:r,multiple:i,id:n,className:a,name:o,border:s,disabled:l,onChange:d},p)=>{const c=React.useRef(),{getRootProps:u,isDragActive:h}=useDropzone({onDrop:d,noClick:!0,disabled:l});React.useImperativeHandle(p,(()=>({...c.current,openFileDialog:()=>{c.current.value=null,c.current?.click()}})));return jsxRuntime.jsxs(Container$j,{id:n,"data-testid":"dropzone",$border:s,className:a,...u(),children:[jsxRuntime.jsx(HiddenInput,{type:"file",name:o,ref:c,tabIndex:-1,"aria-hidden":!0,accept:t,capture:r,multiple:i,"data-testid":"dropzone-input",onChange:e=>{e.target.files&&d(Array.from(e.target.files))}}),e,h&&jsxRuntime.jsxs(DragOverlay,{children:[jsxRuntime.jsx(OverlayIcon,{}),jsxRuntime.jsx(OverlayText,{weight:"semibold",children:"Drop files here"})]})]})},FileUploadDropzone=React.forwardRef(Component$f);function useCombinedRefs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return React.useMemo((()=>e=>{t.forEach((t=>t(e)))}),t)}const canUseDOM="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function isWindow(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function isNode(e){return"nodeType"in e}function getWindow(e){var t,r;return e?isWindow(e)?e:isNode(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function isDocument(e){const{Document:t}=getWindow(e);return e instanceof t}function isHTMLElement(e){return!isWindow(e)&&e instanceof getWindow(e).HTMLElement}function isSVGElement(e){return e instanceof getWindow(e).SVGElement}function getOwnerDocument(e){return e?isWindow(e)?e.document:isNode(e)?isDocument(e)?e:isHTMLElement(e)?e.ownerDocument:document:document:document}const useIsomorphicLayoutEffect=canUseDOM?React.useLayoutEffect:React.useEffect;function useEvent(e){const t=React.useRef(e);return useIsomorphicLayoutEffect((()=>{t.current=e})),React.useCallback((function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return null==t.current?void 0:t.current(...r)}),[])}function useInterval(){const e=React.useRef(null);return[React.useCallback(((t,r)=>{e.current=setInterval(t,r)}),[]),React.useCallback((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function useLatestValue(e,t){void 0===t&&(t=[e]);const r=React.useRef(e);return useIsomorphicLayoutEffect((()=>{r.current!==e&&(r.current=e)}),t),r}function useLazyMemo(e,t){const r=React.useRef();return React.useMemo((()=>{const t=e(r.current);return r.current=t,t}),[...t])}function useNodeRef(e){const t=useEvent(e),r=React.useRef(null),i=React.useCallback((e=>{e!==r.current&&(null==t||t(e,r.current)),r.current=e}),[]);return[r,i]}function usePrevious(e){const t=React.useRef();return React.useEffect((()=>{t.current=e}),[e]),t.current}let ids={};function useUniqueId(e,t){return React.useMemo((()=>{if(t)return t;const r=null==ids[e]?0:ids[e]+1;return ids[e]=r,e+"-"+r}),[e,t])}function createAdjustmentFn(e){return function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return i.reduce(((t,r)=>{const i=Object.entries(r);for(const[r,n]of i){const i=t[r];null!=i&&(t[r]=i+e*n)}return t}),{...t})}}const add=createAdjustmentFn(1),subtract=createAdjustmentFn(-1);function hasViewportRelativeCoordinates(e){return"clientX"in e&&"clientY"in e}function isKeyboardEvent(e){if(!e)return!1;const{KeyboardEvent:t}=getWindow(e.target);return t&&e instanceof t}function isTouchEvent(e){if(!e)return!1;const{TouchEvent:t}=getWindow(e.target);return t&&e instanceof t}function getEventCoordinates(e){if(isTouchEvent(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return hasViewportRelativeCoordinates(e)?{x:e.clientX,y:e.clientY}:null}const CSS=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[CSS.Translate.toString(e),CSS.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:i}=e;return t+" "+r+"ms "+i}}}),SELECTOR="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function findFirstFocusableNode(e){return e.matches(SELECTOR)?e:e.querySelector(SELECTOR)}const hiddenStyles={display:"none"};function HiddenText(e){let{id:t,value:r}=e;return React__default.default.createElement("div",{id:t,style:hiddenStyles},r)}const visuallyHidden={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function LiveRegion(e){let{id:t,announcement:r}=e;return React__default.default.createElement("div",{id:t,style:visuallyHidden,role:"status","aria-live":"assertive","aria-atomic":!0},r)}function useAnnouncement(){const[e,t]=React.useState("");return{announce:React.useCallback((e=>{null!=e&&t(e)}),[]),announcement:e}}const DndMonitorContext=React.createContext(null);function useDndMonitor(e){const t=React.useContext(DndMonitorContext);React.useEffect((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}function useDndMonitorProvider(){const[e]=React.useState((()=>new Set)),t=React.useCallback((t=>(e.add(t),()=>e.delete(t))),[e]),r=React.useCallback((t=>{let{type:r,event:i}=t;e.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,i)}))}),[e]);return[r,t]}const defaultScreenReaderInstructions={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},defaultAnnouncements={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Accessibility(e){let{announcements:t=defaultAnnouncements,container:r,hiddenTextDescribedById:i,screenReaderInstructions:n=defaultScreenReaderInstructions}=e;const{announce:a,announcement:o}=useAnnouncement(),s=useUniqueId("DndLiveRegion"),[l,d]=React.useState(!1);if(React.useEffect((()=>{d(!0)}),[]),useDndMonitor(React.useMemo((()=>({onDragStart(e){let{active:r}=e;a(t.onDragStart({active:r}))},onDragMove(e){let{active:r,over:i}=e;t.onDragMove&&a(t.onDragMove({active:r,over:i}))},onDragOver(e){let{active:r,over:i}=e;a(t.onDragOver({active:r,over:i}))},onDragEnd(e){let{active:r,over:i}=e;a(t.onDragEnd({active:r,over:i}))},onDragCancel(e){let{active:r,over:i}=e;a(t.onDragCancel({active:r,over:i}))}})),[a,t])),!l)return null;const p=React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(HiddenText,{id:i,value:n.draggable}),React__default.default.createElement(LiveRegion,{id:s,announcement:o}));return r?ReactDOM.createPortal(p,r):p}var Action;function noop(){}function useSensor(e,t){return React.useMemo((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function useSensors(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return React.useMemo((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(Action||(Action={}));const defaultCoordinates=Object.freeze({x:0,y:0});function distanceBetween(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function sortCollisionsAsc(e,t){let{data:{value:r}}=e,{data:{value:i}}=t;return r-i}function sortCollisionsDesc(e,t){let{data:{value:r}}=e,{data:{value:i}}=t;return i-r}function cornersOfRectangle(e){let{left:t,top:r,height:i,width:n}=e;return[{x:t,y:r},{x:t+n,y:r},{x:t,y:r+i},{x:t+n,y:r+i}]}function getFirstCollision(e,t){if(!e||0===e.length)return null;const[r]=e;return t?r[t]:r}const closestCorners=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:i}=e;const n=cornersOfRectangle(t),a=[];for(const e of i){const{id:t}=e,i=r.get(t);if(i){const r=cornersOfRectangle(i),o=n.reduce(((e,t,i)=>e+distanceBetween(r[i],t)),0),s=Number((o/4).toFixed(4));a.push({id:t,data:{droppableContainer:e,value:s}})}}return a.sort(sortCollisionsAsc)};function getIntersectionRatio(e,t){const r=Math.max(t.top,e.top),i=Math.max(t.left,e.left),n=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=n-i,s=a-r;if(i<n&&r<a){const r=t.width*t.height,i=e.width*e.height,n=o*s;return Number((n/(r+i-n)).toFixed(4))}return 0}const rectIntersection=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:i}=e;const n=[];for(const e of i){const{id:i}=e,a=r.get(i);if(a){const r=getIntersectionRatio(a,t);r>0&&n.push({id:i,data:{droppableContainer:e,value:r}})}}return n.sort(sortCollisionsDesc)};function adjustScale(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function getRectDelta(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:defaultCoordinates}function createRectAdjustmentFn(e){return function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return i.reduce(((t,r)=>({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const getAdjustedRect=createRectAdjustmentFn(1);function parseTransform(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function inverseTransform(e,t,r){const i=parseTransform(t);if(!i)return e;const{scaleX:n,scaleY:a,x:o,y:s}=i,l=e.left-o-(1-n)*parseFloat(r),d=e.top-s-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),p=n?e.width/n:e.width,c=a?e.height/a:e.height;return{width:p,height:c,top:d,right:l+p,bottom:d+c,left:l}}const defaultOptions={ignoreTransform:!1};function getClientRect(e,t){void 0===t&&(t=defaultOptions);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:i}=getWindow(e).getComputedStyle(e);t&&(r=inverseTransform(r,t,i))}const{top:i,left:n,width:a,height:o,bottom:s,right:l}=r;return{top:i,left:n,width:a,height:o,bottom:s,right:l}}function getTransformAgnosticClientRect(e){return getClientRect(e,{ignoreTransform:!0})}function getWindowClientRect(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function isFixed(e,t){return void 0===t&&(t=getWindow(e).getComputedStyle(e)),"fixed"===t.position}function isScrollable(e,t){void 0===t&&(t=getWindow(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const i=t[e];return"string"==typeof i&&r.test(i)}))}function getScrollableAncestors(e,t){const r=[];return e?function i(n){if(null!=t&&r.length>=t)return r;if(!n)return r;if(isDocument(n)&&null!=n.scrollingElement&&!r.includes(n.scrollingElement))return r.push(n.scrollingElement),r;if(!isHTMLElement(n)||isSVGElement(n))return r;if(r.includes(n))return r;const a=getWindow(e).getComputedStyle(n);return n!==e&&isScrollable(n,a)&&r.push(n),isFixed(n,a)?r:i(n.parentNode)}(e):r}function getFirstScrollableAncestor(e){const[t]=getScrollableAncestors(e,1);return null!=t?t:null}function getScrollableElement(e){return canUseDOM&&e?isWindow(e)?e:isNode(e)?isDocument(e)||e===getOwnerDocument(e).scrollingElement?window:isHTMLElement(e)?e:null:null:null}function getScrollXCoordinate(e){return isWindow(e)?e.scrollX:e.scrollLeft}function getScrollYCoordinate(e){return isWindow(e)?e.scrollY:e.scrollTop}function getScrollCoordinates(e){return{x:getScrollXCoordinate(e),y:getScrollYCoordinate(e)}}var Direction;function isDocumentScrollingElement(e){return!(!canUseDOM||!e)&&e===document.scrollingElement}function getScrollPosition(e){const t={x:0,y:0},r=isDocumentScrollingElement(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},i={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=i.y,isRight:e.scrollLeft>=i.x,maxScroll:i,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Direction||(Direction={}));const defaultThreshold={x:.2,y:.2};function getScrollDirectionAndSpeed(e,t,r,i,n){let{top:a,left:o,right:s,bottom:l}=r;void 0===i&&(i=10),void 0===n&&(n=defaultThreshold);const{isTop:d,isBottom:p,isLeft:c,isRight:u}=getScrollPosition(e),h={x:0,y:0},m={x:0,y:0},f=t.height*n.y,y=t.width*n.x;return!d&&a<=t.top+f?(h.y=Direction.Backward,m.y=i*Math.abs((t.top+f-a)/f)):!p&&l>=t.bottom-f&&(h.y=Direction.Forward,m.y=i*Math.abs((t.bottom-f-l)/f)),!u&&s>=t.right-y?(h.x=Direction.Forward,m.x=i*Math.abs((t.right-y-s)/y)):!c&&o<=t.left+y&&(h.x=Direction.Backward,m.x=i*Math.abs((t.left+y-o)/y)),{direction:h,speed:m}}function getScrollElementRect(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:i,bottom:n}=e.getBoundingClientRect();return{top:t,left:r,right:i,bottom:n,width:e.clientWidth,height:e.clientHeight}}function getScrollOffsets(e){return e.reduce(((e,t)=>add(e,getScrollCoordinates(t))),defaultCoordinates)}function getScrollXOffset(e){return e.reduce(((e,t)=>e+getScrollXCoordinate(t)),0)}function getScrollYOffset(e){return e.reduce(((e,t)=>e+getScrollYCoordinate(t)),0)}function scrollIntoViewIfNeeded(e,t){if(void 0===t&&(t=getClientRect),!e)return;const{top:r,left:i,bottom:n,right:a}=t(e);getFirstScrollableAncestor(e)&&(n<=0||a<=0||r>=window.innerHeight||i>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const properties=[["x",["left","right"],getScrollXOffset],["y",["top","bottom"],getScrollYOffset]];class Rect{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=getScrollableAncestors(t),i=getScrollOffsets(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,n]of properties)for(const a of t)Object.defineProperty(this,a,{get:()=>{const t=n(r),o=i[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Listeners{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var i;null==(i=this.target)||i.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function getEventListenerTarget(e){const{EventTarget:t}=getWindow(e);return e instanceof t?e:getOwnerDocument(e)}function hasExceededDistance(e,t){const r=Math.abs(e.x),i=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+i**2)>t:"x"in t&&"y"in t?r>t.x&&i>t.y:"x"in t?r>t.x:"y"in t&&i>t.y}var EventName,KeyboardCode;function preventDefault(e){e.preventDefault()}function stopPropagation(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(EventName||(EventName={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(KeyboardCode||(KeyboardCode={}));const defaultKeyboardCodes={start:[KeyboardCode.Space,KeyboardCode.Enter],cancel:[KeyboardCode.Esc],end:[KeyboardCode.Space,KeyboardCode.Enter]},defaultKeyboardCoordinateGetter=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case KeyboardCode.Right:return{...r,x:r.x+25};case KeyboardCode.Left:return{...r,x:r.x-25};case KeyboardCode.Down:return{...r,y:r.y+25};case KeyboardCode.Up:return{...r,y:r.y-25}}};class KeyboardSensor{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Listeners(getOwnerDocument(t)),this.windowListeners=new Listeners(getWindow(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(EventName.Resize,this.handleCancel),this.windowListeners.add(EventName.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(EventName.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&scrollIntoViewIfNeeded(r),t(defaultCoordinates)}handleKeyDown(e){if(isKeyboardEvent(e)){const{active:t,context:r,options:i}=this.props,{keyboardCodes:n=defaultKeyboardCodes,coordinateGetter:a=defaultKeyboardCoordinateGetter,scrollBehavior:o="smooth"}=i,{code:s}=e;if(n.end.includes(s))return void this.handleEnd(e);if(n.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:l}=r.current,d=l?{x:l.left,y:l.top}:defaultCoordinates;this.referenceCoordinates||(this.referenceCoordinates=d);const p=a(e,{active:t,context:r.current,currentCoordinates:d});if(p){const t=subtract(p,d),i={x:0,y:0},{scrollableAncestors:n}=r.current;for(const r of n){const n=e.code,{isTop:a,isRight:s,isLeft:l,isBottom:d,maxScroll:c,minScroll:u}=getScrollPosition(r),h=getScrollElementRect(r),m={x:Math.min(n===KeyboardCode.Right?h.right-h.width/2:h.right,Math.max(n===KeyboardCode.Right?h.left:h.left+h.width/2,p.x)),y:Math.min(n===KeyboardCode.Down?h.bottom-h.height/2:h.bottom,Math.max(n===KeyboardCode.Down?h.top:h.top+h.height/2,p.y))},f=n===KeyboardCode.Right&&!s||n===KeyboardCode.Left&&!l,y=n===KeyboardCode.Down&&!d||n===KeyboardCode.Up&&!a;if(f&&m.x!==p.x){const e=r.scrollLeft+t.x,a=n===KeyboardCode.Right&&e<=c.x||n===KeyboardCode.Left&&e>=u.x;if(a&&!t.y)return void r.scrollTo({left:e,behavior:o});i.x=a?r.scrollLeft-e:n===KeyboardCode.Right?r.scrollLeft-c.x:r.scrollLeft-u.x,i.x&&r.scrollBy({left:-i.x,behavior:o});break}if(y&&m.y!==p.y){const e=r.scrollTop+t.y,a=n===KeyboardCode.Down&&e<=c.y||n===KeyboardCode.Up&&e>=u.y;if(a&&!t.x)return void r.scrollTo({top:e,behavior:o});i.y=a?r.scrollTop-e:n===KeyboardCode.Down?r.scrollTop-c.y:r.scrollTop-u.y,i.y&&r.scrollBy({top:-i.y,behavior:o});break}}this.handleMove(e,add(subtract(p,this.referenceCoordinates),i))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function isDistanceConstraint(e){return Boolean(e&&"distance"in e)}function isDelayConstraint(e){return Boolean(e&&"delay"in e)}KeyboardSensor.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:i=defaultKeyboardCodes,onActivation:n}=t,{active:a}=r;const{code:o}=e.nativeEvent;if(i.start.includes(o)){const t=a.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==n||n({event:e.nativeEvent}),!0)}return!1}}];class AbstractPointerSensor{constructor(e,t,r){var i;void 0===r&&(r=getEventListenerTarget(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:n}=e,{target:a}=n;this.props=e,this.events=t,this.document=getOwnerDocument(a),this.documentListeners=new Listeners(this.document),this.listeners=new Listeners(r),this.windowListeners=new Listeners(getWindow(a)),this.initialCoordinates=null!=(i=getEventCoordinates(n))?i:defaultCoordinates,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(EventName.Resize,this.handleCancel),this.windowListeners.add(EventName.DragStart,preventDefault),this.windowListeners.add(EventName.VisibilityChange,this.handleCancel),this.windowListeners.add(EventName.ContextMenu,preventDefault),this.documentListeners.add(EventName.Keydown,this.handleKeydown),t){if(isDistanceConstraint(t))return;if(isDelayConstraint(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(EventName.Click,stopPropagation,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(EventName.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:i,props:n}=this,{onMove:a,options:{activationConstraint:o}}=n;if(!i)return;const s=null!=(t=getEventCoordinates(e))?t:defaultCoordinates,l=subtract(i,s);if(!r&&o){if(isDelayConstraint(o))return hasExceededDistance(l,o.tolerance)?this.handleCancel():void 0;if(isDistanceConstraint(o))return null!=o.tolerance&&hasExceededDistance(l,o.tolerance)?this.handleCancel():hasExceededDistance(l,o.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(s)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===KeyboardCode.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const events={move:{name:"pointermove"},end:{name:"pointerup"}};class PointerSensor extends AbstractPointerSensor{constructor(e){const{event:t}=e,r=getOwnerDocument(t.target);super(e,events,r)}}PointerSensor.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:i}=t;return!(!r.isPrimary||0!==r.button)&&(null==i||i({event:r}),!0)}}];const events$1={move:{name:"mousemove"},end:{name:"mouseup"}};var MouseButton;!function(e){e[e.RightClick=2]="RightClick"}(MouseButton||(MouseButton={}));class MouseSensor$1 extends AbstractPointerSensor{constructor(e){super(e,events$1,getOwnerDocument(e.event.target))}}MouseSensor$1.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:i}=t;return r.button!==MouseButton.RightClick&&(null==i||i({event:r}),!0)}}];const events$2={move:{name:"touchmove"},end:{name:"touchend"}};class TouchSensor extends AbstractPointerSensor{constructor(e){super(e,events$2)}static setup(){return window.addEventListener(events$2.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(events$2.move.name,e)};function e(){}}}var AutoScrollActivator,TraversalOrder;function useAutoScroller(e){let{acceleration:t,activator:r=AutoScrollActivator.Pointer,canScroll:i,draggingRect:n,enabled:a,interval:o=5,order:s=TraversalOrder.TreeOrder,pointerCoordinates:l,scrollableAncestors:d,scrollableAncestorRects:p,delta:c,threshold:u}=e;const h=useScrollIntent({delta:c,disabled:!a}),[m,f]=useInterval(),y=React.useRef({x:0,y:0}),g=React.useRef({x:0,y:0}),x=React.useMemo((()=>{switch(r){case AutoScrollActivator.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case AutoScrollActivator.DraggableRect:return n}}),[r,n,l]),_=React.useRef(null),b=React.useCallback((()=>{const e=_.current;if(!e)return;const t=y.current.x*g.current.x,r=y.current.y*g.current.y;e.scrollBy(t,r)}),[]),v=React.useMemo((()=>s===TraversalOrder.TreeOrder?[...d].reverse():d),[s,d]);React.useEffect((()=>{if(a&&d.length&&x){for(const e of v){if(!1===(null==i?void 0:i(e)))continue;const r=d.indexOf(e),n=p[r];if(!n)continue;const{direction:a,speed:s}=getScrollDirectionAndSpeed(e,n,x,t,u);for(const e of["x","y"])h[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0)return f(),_.current=e,m(b,o),y.current=s,void(g.current=a)}y.current={x:0,y:0},g.current={x:0,y:0},f()}else f()}),[t,b,i,f,a,o,JSON.stringify(x),JSON.stringify(h),m,d,v,p,JSON.stringify(u)])}TouchSensor.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:i}=t;const{touches:n}=r;return!(n.length>1)&&(null==i||i({event:r}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(AutoScrollActivator||(AutoScrollActivator={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(TraversalOrder||(TraversalOrder={}));const defaultScrollIntent={x:{[Direction.Backward]:!1,[Direction.Forward]:!1},y:{[Direction.Backward]:!1,[Direction.Forward]:!1}};function useScrollIntent(e){let{delta:t,disabled:r}=e;const i=usePrevious(t);return useLazyMemo((e=>{if(r||!i||!e)return defaultScrollIntent;const n=Math.sign(t.x-i.x),a=Math.sign(t.y-i.y);return{x:{[Direction.Backward]:e.x[Direction.Backward]||-1===n,[Direction.Forward]:e.x[Direction.Forward]||1===n},y:{[Direction.Backward]:e.y[Direction.Backward]||-1===a,[Direction.Forward]:e.y[Direction.Forward]||1===a}}}),[r,t,i])}function useCachedNode(e,t){const r=null!==t?e.get(t):void 0,i=r?r.node.current:null;return useLazyMemo((e=>{var r;return null===t?null:null!=(r=null!=i?i:e)?r:null}),[i,t])}function useCombineActivators(e,t){return React.useMemo((()=>e.reduce(((e,r)=>{const{sensor:i}=r;return[...e,...i.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,r)})))]}),[])),[e,t])}var MeasuringStrategy,MeasuringFrequency;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(MeasuringStrategy||(MeasuringStrategy={})),function(e){e.Optimized="optimized"}(MeasuringFrequency||(MeasuringFrequency={}));const defaultValue=new Map;function useDroppableMeasuring(e,t){let{dragging:r,dependencies:i,config:n}=t;const[a,o]=React.useState(null),{frequency:s,measure:l,strategy:d}=n,p=React.useRef(e),c=function(){switch(d){case MeasuringStrategy.Always:return!1;case MeasuringStrategy.BeforeDragging:return r;default:return!r}}(),u=useLatestValue(c),h=React.useCallback((function(e){void 0===e&&(e=[]),u.current||o((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[u]),m=React.useRef(null),f=useLazyMemo((t=>{if(c&&!r)return defaultValue;if(!t||t===defaultValue||p.current!==e||null!=a){const t=new Map;for(let r of e){if(!r)continue;if(a&&a.length>0&&!a.includes(r.id)&&r.rect.current){t.set(r.id,r.rect.current);continue}const e=r.node.current,i=e?new Rect(l(e),e):null;r.rect.current=i,i&&t.set(r.id,i)}return t}return t}),[e,a,r,c,l]);return React.useEffect((()=>{p.current=e}),[e]),React.useEffect((()=>{c||h()}),[r,c]),React.useEffect((()=>{a&&a.length>0&&o(null)}),[JSON.stringify(a)]),React.useEffect((()=>{c||"number"!=typeof s||null!==m.current||(m.current=setTimeout((()=>{h(),m.current=null}),s))}),[s,c,h,...i]),{droppableRects:f,measureDroppableContainers:h,measuringScheduled:null!=a}}function useInitialValue(e,t){return useLazyMemo((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function useInitialRect(e,t){return useInitialValue(e,t)}function useMutationObserver(e){let{callback:t,disabled:r}=e;const i=useEvent(t),n=React.useMemo((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(i)}),[i,r]);return React.useEffect((()=>()=>null==n?void 0:n.disconnect()),[n]),n}function useResizeObserver(e){let{callback:t,disabled:r}=e;const i=useEvent(t),n=React.useMemo((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(i)}),[r]);return React.useEffect((()=>()=>null==n?void 0:n.disconnect()),[n]),n}function defaultMeasure(e){return new Rect(getClientRect(e),e)}function useRect(e,t,r){void 0===t&&(t=defaultMeasure);const[i,n]=React.useReducer((function(i){if(!e)return null;var n;if(!1===e.isConnected)return null!=(n=null!=i?i:r)?n:null;const a=t(e);if(JSON.stringify(i)===JSON.stringify(a))return i;return a}),null),a=useMutationObserver({callback(t){if(e)for(const r of t){const{type:t,target:i}=r;if("childList"===t&&i instanceof HTMLElement&&i.contains(e)){n();break}}}}),o=useResizeObserver({callback:n});return useIsomorphicLayoutEffect((()=>{n(),e?(null==o||o.observe(e),null==a||a.observe(document.body,{childList:!0,subtree:!0})):(null==o||o.disconnect(),null==a||a.disconnect())}),[e]),i}function useRectDelta(e){return getRectDelta(e,useInitialValue(e))}const defaultValue$1=[];function useScrollableAncestors(e){const t=React.useRef(e),r=useLazyMemo((r=>e?r&&r!==defaultValue$1&&e&&t.current&&e.parentNode===t.current.parentNode?r:getScrollableAncestors(e):defaultValue$1),[e]);return React.useEffect((()=>{t.current=e}),[e]),r}function useScrollOffsets(e){const[t,r]=React.useState(null),i=React.useRef(e),n=React.useCallback((e=>{const t=getScrollableElement(e.target);t&&r((e=>e?(e.set(t,getScrollCoordinates(t)),new Map(e)):null))}),[]);return React.useEffect((()=>{const t=i.current;if(e!==t){a(t);const o=e.map((e=>{const t=getScrollableElement(e);return t?(t.addEventListener("scroll",n,{passive:!0}),[t,getScrollCoordinates(t)]):null})).filter((e=>null!=e));r(o.length?new Map(o):null),i.current=e}return()=>{a(e),a(t)};function a(e){e.forEach((e=>{const t=getScrollableElement(e);null==t||t.removeEventListener("scroll",n)}))}}),[n,e]),React.useMemo((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>add(e,t)),defaultCoordinates):getScrollOffsets(e):defaultCoordinates),[e,t])}function useScrollOffsetsDelta(e,t){void 0===t&&(t=[]);const r=React.useRef(null);return React.useEffect((()=>{r.current=null}),t),React.useEffect((()=>{const t=e!==defaultCoordinates;t&&!r.current&&(r.current=e),!t&&r.current&&(r.current=null)}),[e]),r.current?subtract(e,r.current):defaultCoordinates}function useSensorSetup(e){React.useEffect((()=>{if(!canUseDOM)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}function useSyntheticListeners(e,t){return React.useMemo((()=>e.reduce(((e,r)=>{let{eventName:i,handler:n}=r;return e[i]=e=>{n(e,t)},e}),{})),[e,t])}function useWindowRect(e){return React.useMemo((()=>e?getWindowClientRect(e):null),[e])}const defaultValue$2=[];function useRects(e,t){void 0===t&&(t=getClientRect);const[r]=e,i=useWindowRect(r?getWindow(r):null),[n,a]=React.useReducer((function(){if(!e.length)return defaultValue$2;return e.map((e=>isDocumentScrollingElement(e)?i:new Rect(t(e),e)))}),defaultValue$2),o=useResizeObserver({callback:a});return e.length>0&&n===defaultValue$2&&a(),useIsomorphicLayoutEffect((()=>{e.length?e.forEach((e=>null==o?void 0:o.observe(e))):(null==o||o.disconnect(),a())}),[e]),n}function getMeasurableNode(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return isHTMLElement(t)?t:e}function useDragOverlayMeasuring(e){let{measure:t}=e;const[r,i]=React.useState(null),n=React.useCallback((e=>{for(const{target:r}of e)if(isHTMLElement(r)){i((e=>{const i=t(r);return e?{...e,width:i.width,height:i.height}:i}));break}}),[t]),a=useResizeObserver({callback:n}),o=React.useCallback((e=>{const r=getMeasurableNode(e);null==a||a.disconnect(),r&&(null==a||a.observe(r)),i(r?t(r):null)}),[t,a]),[s,l]=useNodeRef(o);return React.useMemo((()=>({nodeRef:s,rect:r,setRef:l})),[r,s,l])}const defaultSensors=[{sensor:PointerSensor,options:{}},{sensor:KeyboardSensor,options:{}}],defaultData={current:{}},defaultMeasuringConfiguration={draggable:{measure:getTransformAgnosticClientRect},droppable:{measure:getTransformAgnosticClientRect,strategy:MeasuringStrategy.WhileDragging,frequency:MeasuringFrequency.Optimized},dragOverlay:{measure:getClientRect}};class DroppableContainersMap extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const defaultPublicContext={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new DroppableContainersMap,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:noop},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:defaultMeasuringConfiguration,measureDroppableContainers:noop,windowRect:null,measuringScheduled:!1},defaultInternalContext={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:noop,draggableNodes:new Map,over:null,measureDroppableContainers:noop},InternalContext=React.createContext(defaultInternalContext),PublicContext=React.createContext(defaultPublicContext);function getInitialState(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new DroppableContainersMap}}}function reducer(e,t){switch(t.type){case Action.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Action.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Action.DragEnd:case Action.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Action.RegisterDroppable:{const{element:r}=t,{id:i}=r,n=new DroppableContainersMap(e.droppable.containers);return n.set(i,r),{...e,droppable:{...e.droppable,containers:n}}}case Action.SetDroppableDisabled:{const{id:r,key:i,disabled:n}=t,a=e.droppable.containers.get(r);if(!a||i!==a.key)return e;const o=new DroppableContainersMap(e.droppable.containers);return o.set(r,{...a,disabled:n}),{...e,droppable:{...e.droppable,containers:o}}}case Action.UnregisterDroppable:{const{id:r,key:i}=t,n=e.droppable.containers.get(r);if(!n||i!==n.key)return e;const a=new DroppableContainersMap(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function RestoreFocus(e){let{disabled:t}=e;const{active:r,activatorEvent:i,draggableNodes:n}=React.useContext(InternalContext),a=usePrevious(i),o=usePrevious(null==r?void 0:r.id);return React.useEffect((()=>{if(!t&&!i&&a&&null!=o){if(!isKeyboardEvent(a))return;if(document.activeElement===a.target)return;const e=n.get(o);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=findFirstFocusableNode(e);if(t){t.focus();break}}}))}}),[i,t,n,o,a]),null}function applyModifiers(e,t){let{transform:r,...i}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...i})),r):r}function useMeasuringConfiguration(e){return React.useMemo((()=>({draggable:{...defaultMeasuringConfiguration.draggable,...null==e?void 0:e.draggable},droppable:{...defaultMeasuringConfiguration.droppable,...null==e?void 0:e.droppable},dragOverlay:{...defaultMeasuringConfiguration.dragOverlay,...null==e?void 0:e.dragOverlay}})),[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay])}function useLayoutShiftScrollCompensation(e){let{activeNode:t,measure:r,initialRect:i,config:n=!0}=e;const a=React.useRef(!1),{x:o,y:s}="boolean"==typeof n?{x:n,y:n}:n;useIsomorphicLayoutEffect((()=>{if(!o&&!s||!t)return void(a.current=!1);if(a.current||!i)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const n=getRectDelta(r(e),i);if(o||(n.x=0),s||(n.y=0),a.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){const t=getFirstScrollableAncestor(e);t&&t.scrollBy({top:n.y,left:n.x})}}),[t,o,s,i,r])}const ActiveDraggableContext=React.createContext({...defaultCoordinates,scaleX:1,scaleY:1});var Status;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Status||(Status={}));const DndContext=React.memo((function(e){var t,r,i,n;let{id:a,accessibility:o,autoScroll:s=!0,children:l,sensors:d=defaultSensors,collisionDetection:p=rectIntersection,measuring:c,modifiers:u,...h}=e;const m=React.useReducer(reducer,void 0,getInitialState),[f,y]=m,[g,x]=useDndMonitorProvider(),[_,b]=React.useState(Status.Uninitialized),v=_===Status.Initialized,{draggable:{active:S,nodes:C,translate:$},droppable:{containers:w}}=f,T=S?C.get(S):null,R=React.useRef({initial:null,translated:null}),E=React.useMemo((()=>{var e;return null!=S?{id:S,data:null!=(e=null==T?void 0:T.data)?e:defaultData,rect:R}:null}),[S,T]),k=React.useRef(null),[A,D]=React.useState(null),[j,I]=React.useState(null),P=useLatestValue(h,Object.values(h)),M=useUniqueId("DndDescribedBy",a),F=React.useMemo((()=>w.getEnabled()),[w]),O=useMeasuringConfiguration(c),{droppableRects:L,measureDroppableContainers:B,measuringScheduled:N}=useDroppableMeasuring(F,{dragging:v,dependencies:[$.x,$.y],config:O.droppable}),V=useCachedNode(C,S),H=React.useMemo((()=>j?getEventCoordinates(j):null),[j]),z=function(){const e=!1===(null==A?void 0:A.autoScrollEnabled),t="object"==typeof s?!1===s.enabled:!1===s,r=v&&!e&&!t;if("object"==typeof s)return{...s,enabled:r};return{enabled:r}}(),W=useInitialRect(V,O.draggable.measure);useLayoutShiftScrollCompensation({activeNode:S?C.get(S):null,config:z.layoutShiftCompensation,initialRect:W,measure:O.draggable.measure});const G=useRect(V,O.draggable.measure,W),U=useRect(V?V.parentElement:null),q=React.useRef({activatorEvent:null,active:null,activeNode:V,collisionRect:null,collisions:null,droppableRects:L,draggableNodes:C,draggingNode:null,draggingNodeRect:null,droppableContainers:w,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Y=w.getNodeFor(null==(t=q.current.over)?void 0:t.id),Q=useDragOverlayMeasuring({measure:O.dragOverlay.measure}),K=null!=(r=Q.nodeRef.current)?r:V,X=v?null!=(i=Q.rect)?i:G:null,Z=Boolean(Q.nodeRef.current&&Q.rect),J=useRectDelta(Z?null:G),ee=useWindowRect(K?getWindow(K):null),te=useScrollableAncestors(v?null!=Y?Y:V:null),re=useRects(te),ie=applyModifiers(u,{transform:{x:$.x-J.x,y:$.y-J.y,scaleX:1,scaleY:1},activatorEvent:j,active:E,activeNodeRect:G,containerNodeRect:U,draggingNodeRect:X,over:q.current.over,overlayNodeRect:Q.rect,scrollableAncestors:te,scrollableAncestorRects:re,windowRect:ee}),ne=H?add(H,$):null,ae=useScrollOffsets(te),oe=useScrollOffsetsDelta(ae),se=useScrollOffsetsDelta(ae,[G]),le=add(ie,oe),de=X?getAdjustedRect(X,ie):null,pe=E&&de?p({active:E,collisionRect:de,droppableRects:L,droppableContainers:F,pointerCoordinates:ne}):null,ce=getFirstCollision(pe,"id"),[ue,he]=React.useState(null),me=adjustScale(Z?ie:add(ie,se),null!=(n=null==ue?void 0:ue.rect)?n:null,G),fe=React.useCallback(((e,t)=>{let{sensor:r,options:i}=t;if(null==k.current)return;const n=C.get(k.current);if(!n)return;const a=e.nativeEvent,o=new r({active:k.current,activeNode:n,event:a,options:i,context:q,onStart(e){const t=k.current;if(null==t)return;const r=C.get(t);if(!r)return;const{onDragStart:i}=P.current,n={active:{id:t,data:r.data,rect:R}};ReactDOM.unstable_batchedUpdates((()=>{null==i||i(n),b(Status.Initializing),y({type:Action.DragStart,initialCoordinates:e,active:t}),g({type:"onDragStart",event:n})}))},onMove(e){y({type:Action.DragMove,coordinates:e})},onEnd:s(Action.DragEnd),onCancel:s(Action.DragCancel)});function s(e){return async function(){const{active:t,collisions:r,over:i,scrollAdjustedTranslate:n}=q.current;let o=null;if(t&&n){const{cancelDrop:s}=P.current;if(o={activatorEvent:a,active:t,collisions:r,delta:n,over:i},e===Action.DragEnd&&"function"==typeof s){await Promise.resolve(s(o))&&(e=Action.DragCancel)}}k.current=null,ReactDOM.unstable_batchedUpdates((()=>{y({type:e}),b(Status.Uninitialized),he(null),D(null),I(null);const t=e===Action.DragEnd?"onDragEnd":"onDragCancel";if(o){const e=P.current[t];null==e||e(o),g({type:t,event:o})}}))}}ReactDOM.unstable_batchedUpdates((()=>{D(o),I(e.nativeEvent)}))}),[C]),ye=React.useCallback(((e,t)=>(r,i)=>{const n=r.nativeEvent,a=C.get(i);if(null!==k.current||!a||n.dndKit||n.defaultPrevented)return;const o={active:a};!0===e(r,t.options,o)&&(n.dndKit={capturedBy:t.sensor},k.current=i,fe(r,t))}),[C,fe]),ge=useCombineActivators(d,ye);useSensorSetup(d),useIsomorphicLayoutEffect((()=>{G&&_===Status.Initializing&&b(Status.Initialized)}),[G,_]),React.useEffect((()=>{const{onDragMove:e}=P.current,{active:t,activatorEvent:r,collisions:i,over:n}=q.current;if(!t||!r)return;const a={active:t,activatorEvent:r,collisions:i,delta:{x:le.x,y:le.y},over:n};ReactDOM.unstable_batchedUpdates((()=>{null==e||e(a),g({type:"onDragMove",event:a})}))}),[le.x,le.y]),React.useEffect((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:i,scrollAdjustedTranslate:n}=q.current;if(!e||null==k.current||!t||!n)return;const{onDragOver:a}=P.current,o=i.get(ce),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,l={active:e,activatorEvent:t,collisions:r,delta:{x:n.x,y:n.y},over:s};ReactDOM.unstable_batchedUpdates((()=>{he(s),null==a||a(l),g({type:"onDragOver",event:l})}))}),[ce]),useIsomorphicLayoutEffect((()=>{q.current={activatorEvent:j,active:E,activeNode:V,collisionRect:de,collisions:pe,droppableRects:L,draggableNodes:C,draggingNode:K,draggingNodeRect:X,droppableContainers:w,over:ue,scrollableAncestors:te,scrollAdjustedTranslate:le},R.current={initial:X,translated:de}}),[E,V,pe,de,C,K,X,L,w,ue,te,le]),useAutoScroller({...z,delta:$,draggingRect:de,pointerCoordinates:ne,scrollableAncestors:te,scrollableAncestorRects:re});const xe=React.useMemo((()=>({active:E,activeNode:V,activeNodeRect:G,activatorEvent:j,collisions:pe,containerNodeRect:U,dragOverlay:Q,draggableNodes:C,droppableContainers:w,droppableRects:L,over:ue,measureDroppableContainers:B,scrollableAncestors:te,scrollableAncestorRects:re,measuringConfiguration:O,measuringScheduled:N,windowRect:ee})),[E,V,G,j,pe,U,Q,C,w,L,ue,B,te,re,O,N,ee]),_e=React.useMemo((()=>({activatorEvent:j,activators:ge,active:E,activeNodeRect:G,ariaDescribedById:{draggable:M},dispatch:y,draggableNodes:C,over:ue,measureDroppableContainers:B})),[j,ge,E,G,y,M,C,ue,B]);return React__default.default.createElement(DndMonitorContext.Provider,{value:x},React__default.default.createElement(InternalContext.Provider,{value:_e},React__default.default.createElement(PublicContext.Provider,{value:xe},React__default.default.createElement(ActiveDraggableContext.Provider,{value:me},l)),React__default.default.createElement(RestoreFocus,{disabled:!1===(null==o?void 0:o.restoreFocus)})),React__default.default.createElement(Accessibility,{...o,hiddenTextDescribedById:M}))})),NullContext=React.createContext(null),defaultRole="button",ID_PREFIX$1="Droppable";function useDraggable(e){let{id:t,data:r,disabled:i=!1,attributes:n}=e;const a=useUniqueId(ID_PREFIX$1),{activators:o,activatorEvent:s,active:l,activeNodeRect:d,ariaDescribedById:p,draggableNodes:c,over:u}=React.useContext(InternalContext),{role:h=defaultRole,roleDescription:m="draggable",tabIndex:f=0}=null!=n?n:{},y=(null==l?void 0:l.id)===t,g=React.useContext(y?ActiveDraggableContext:NullContext),[x,_]=useNodeRef(),[b,v]=useNodeRef(),S=useSyntheticListeners(o,t),C=useLatestValue(r);useIsomorphicLayoutEffect((()=>(c.set(t,{id:t,key:a,node:x,activatorNode:b,data:C}),()=>{const e=c.get(t);e&&e.key===a&&c.delete(t)})),[c,t]);return{active:l,activatorEvent:s,activeNodeRect:d,attributes:React.useMemo((()=>({role:h,tabIndex:f,"aria-disabled":i,"aria-pressed":!(!y||h!==defaultRole)||void 0,"aria-roledescription":m,"aria-describedby":p.draggable})),[i,h,f,y,m,p.draggable]),isDragging:y,listeners:i?void 0:S,node:x,over:u,setNodeRef:_,setActivatorNodeRef:v,transform:g}}function useDndContext(){return React.useContext(PublicContext)}const ID_PREFIX$1$1="Droppable",defaultResizeObserverConfig={timeout:25};function useDroppable(e){let{data:t,disabled:r=!1,id:i,resizeObserverConfig:n}=e;const a=useUniqueId(ID_PREFIX$1$1),{active:o,dispatch:s,over:l,measureDroppableContainers:d}=React.useContext(InternalContext),p=React.useRef({disabled:r}),c=React.useRef(!1),u=React.useRef(null),h=React.useRef(null),{disabled:m,updateMeasurementsFor:f,timeout:y}={...defaultResizeObserverConfig,...n},g=useLatestValue(null!=f?f:i),x=useResizeObserver({callback:React.useCallback((()=>{c.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{d(Array.isArray(g.current)?g.current:[g.current]),h.current=null}),y)):c.current=!0}),[y]),disabled:m||!o}),_=React.useCallback(((e,t)=>{x&&(t&&(x.unobserve(t),c.current=!1),e&&x.observe(e))}),[x]),[b,v]=useNodeRef(_),S=useLatestValue(t);return React.useEffect((()=>{x&&b.current&&(x.disconnect(),c.current=!1,x.observe(b.current))}),[b,x]),useIsomorphicLayoutEffect((()=>(s({type:Action.RegisterDroppable,element:{id:i,key:a,disabled:r,node:b,rect:u,data:S}}),()=>s({type:Action.UnregisterDroppable,key:a,id:i}))),[i]),React.useEffect((()=>{r!==p.current.disabled&&(s({type:Action.SetDroppableDisabled,id:i,key:a,disabled:r}),p.current.disabled=r)}),[i,a,r,s]),{active:o,rect:u,isOver:(null==l?void 0:l.id)===i,node:b,over:l,setNodeRef:v}}function arrayMove(e,t,r){const i=e.slice();return i.splice(r<0?i.length+r:r,0,i.splice(t,1)[0]),i}function getSortedRects(e,t){return e.reduce(((e,r,i)=>{const n=t.get(r);return n&&(e[i]=n),e}),Array(e.length))}function isValidIndex(e){return null!==e&&e>=0}function itemsEqual(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function normalizeDisabled(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}const rectSortingStrategy=e=>{let{rects:t,activeIndex:r,overIndex:i,index:n}=e;const a=arrayMove(t,i,r),o=t[n],s=a[n];return s&&o?{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}:null},defaultScale$1={scaleX:1,scaleY:1},verticalListSortingStrategy=e=>{var t;let{activeIndex:r,activeNodeRect:i,index:n,rects:a,overIndex:o}=e;const s=null!=(t=a[r])?t:i;if(!s)return null;if(n===r){const e=a[o];return e?{x:0,y:r<o?e.top+e.height-(s.top+s.height):e.top-s.top,...defaultScale$1}:null}const l=getItemGap$1(a,n,r);return n>r&&n<=o?{x:0,y:-s.height-l,...defaultScale$1}:n<r&&n>=o?{x:0,y:s.height+l,...defaultScale$1}:{x:0,y:0,...defaultScale$1}};function getItemGap$1(e,t,r){const i=e[t],n=e[t-1],a=e[t+1];return i?r<t?n?i.top-(n.top+n.height):a?a.top-(i.top+i.height):0:a?a.top-(i.top+i.height):n?i.top-(n.top+n.height):0:0}const ID_PREFIX="Sortable",Context=React__default.default.createContext({activeIndex:-1,containerId:ID_PREFIX,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:rectSortingStrategy,disabled:{draggable:!1,droppable:!1}});function SortableContext(e){let{children:t,id:r,items:i,strategy:n=rectSortingStrategy,disabled:a=!1}=e;const{active:o,dragOverlay:s,droppableRects:l,over:d,measureDroppableContainers:p}=useDndContext(),c=useUniqueId(ID_PREFIX,r),u=Boolean(null!==s.rect),h=React.useMemo((()=>i.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[i]),m=null!=o,f=o?h.indexOf(o.id):-1,y=d?h.indexOf(d.id):-1,g=React.useRef(h),x=!itemsEqual(h,g.current),_=-1!==y&&-1===f||x,b=normalizeDisabled(a);useIsomorphicLayoutEffect((()=>{x&&m&&p(h)}),[x,h,m,p]),React.useEffect((()=>{g.current=h}),[h]);const v=React.useMemo((()=>({activeIndex:f,containerId:c,disabled:b,disableTransforms:_,items:h,overIndex:y,useDragOverlay:u,sortedRects:getSortedRects(h,l),strategy:n})),[f,c,b.draggable,b.droppable,_,h,y,l,u,n]);return React__default.default.createElement(Context.Provider,{value:v},t)}const defaultNewIndexGetter=e=>{let{id:t,items:r,activeIndex:i,overIndex:n}=e;return arrayMove(r,i,n).indexOf(t)},defaultAnimateLayoutChanges=e=>{let{containerId:t,isSorting:r,wasDragging:i,index:n,items:a,newIndex:o,previousItems:s,previousContainerId:l,transition:d}=e;return!(!d||!i)&&((s===a||n!==o)&&(!!r||o!==n&&t===l))},defaultTransition={duration:200,easing:"ease"},transitionProperty="transform",disabledTransition=CSS.Transition.toString({property:transitionProperty,duration:0,easing:"linear"}),defaultAttributes={roleDescription:"sortable"};function useDerivedTransform(e){let{disabled:t,index:r,node:i,rect:n}=e;const[a,o]=React.useState(null),s=React.useRef(r);return useIsomorphicLayoutEffect((()=>{if(!t&&r!==s.current&&i.current){const e=n.current;if(e){const t=getClientRect(i.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&o(r)}}r!==s.current&&(s.current=r)}),[t,r,i,n]),React.useEffect((()=>{a&&o(null)}),[a]),a}function useSortable(e){let{animateLayoutChanges:t=defaultAnimateLayoutChanges,attributes:r,disabled:i,data:n,getNewIndex:a=defaultNewIndexGetter,id:o,strategy:s,resizeObserverConfig:l,transition:d=defaultTransition}=e;const{items:p,containerId:c,activeIndex:u,disabled:h,disableTransforms:m,sortedRects:f,overIndex:y,useDragOverlay:g,strategy:x}=React.useContext(Context),_=normalizeLocalDisabled(i,h),b=p.indexOf(o),v=React.useMemo((()=>({sortable:{containerId:c,index:b,items:p},...n})),[c,n,b,p]),S=React.useMemo((()=>p.slice(p.indexOf(o))),[p,o]),{rect:C,node:$,isOver:w,setNodeRef:T}=useDroppable({id:o,data:v,disabled:_.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...l}}),{active:R,activatorEvent:E,activeNodeRect:k,attributes:A,setNodeRef:D,listeners:j,isDragging:I,over:P,setActivatorNodeRef:M,transform:F}=useDraggable({id:o,data:v,attributes:{...defaultAttributes,...r},disabled:_.draggable}),O=useCombinedRefs(T,D),L=Boolean(R),B=L&&!m&&isValidIndex(u)&&isValidIndex(y),N=!g&&I,V=N&&B?F:null,H=B?null!=V?V:(null!=s?s:x)({rects:f,activeNodeRect:k,activeIndex:u,overIndex:y,index:b}):null,z=isValidIndex(u)&&isValidIndex(y)?a({id:o,items:p,activeIndex:u,overIndex:y}):b,W=null==R?void 0:R.id,G=React.useRef({activeId:W,items:p,newIndex:z,containerId:c}),U=p!==G.current.items,q=t({active:R,containerId:c,isDragging:I,isSorting:L,id:o,index:b,items:p,newIndex:G.current.newIndex,previousItems:G.current.items,previousContainerId:G.current.containerId,transition:d,wasDragging:null!=G.current.activeId}),Y=useDerivedTransform({disabled:!q,index:b,node:$,rect:C});return React.useEffect((()=>{L&&G.current.newIndex!==z&&(G.current.newIndex=z),c!==G.current.containerId&&(G.current.containerId=c),p!==G.current.items&&(G.current.items=p)}),[L,z,c,p]),React.useEffect((()=>{if(W===G.current.activeId)return;if(W&&!G.current.activeId)return void(G.current.activeId=W);const e=setTimeout((()=>{G.current.activeId=W}),50);return()=>clearTimeout(e)}),[W]),{active:R,activeIndex:u,attributes:A,data:v,rect:C,index:b,newIndex:z,items:p,isOver:w,isSorting:L,isDragging:I,listeners:j,node:$,overIndex:y,over:P,setNodeRef:O,setActivatorNodeRef:M,setDroppableNodeRef:T,setDraggableNodeRef:D,transform:null!=Y?Y:H,transition:function(){if(Y||U&&G.current.newIndex===b)return disabledTransition;if(N&&!isKeyboardEvent(E)||!d)return;if(L||q)return CSS.Transition.toString({...d,property:transitionProperty});return}()}}function normalizeLocalDisabled(e,t){var r,i;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(i=null==e?void 0:e.droppable)?i:t.droppable}}function hasSortableData(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const directions=[KeyboardCode.Down,KeyboardCode.Right,KeyboardCode.Up,KeyboardCode.Left],sortableKeyboardCoordinates=(e,t)=>{let{context:{active:r,collisionRect:i,droppableRects:n,droppableContainers:a,over:o,scrollableAncestors:s}}=t;if(directions.includes(e.code)){if(e.preventDefault(),!r||!i)return;const t=[];a.getEnabled().forEach((r=>{if(!r||null!=r&&r.disabled)return;const a=n.get(r.id);if(a)switch(e.code){case KeyboardCode.Down:i.top<a.top&&t.push(r);break;case KeyboardCode.Up:i.top>a.top&&t.push(r);break;case KeyboardCode.Left:i.left>a.left&&t.push(r);break;case KeyboardCode.Right:i.left<a.left&&t.push(r)}}));const l=closestCorners({active:r,collisionRect:i,droppableRects:n,droppableContainers:t,pointerCoordinates:null});let d=getFirstCollision(l,"id");if(d===(null==o?void 0:o.id)&&l.length>1&&(d=l[1].id),null!=d){const e=a.get(r.id),t=a.get(d),o=t?n.get(t.id):null,l=null==t?void 0:t.node.current;if(l&&o&&e&&t){const r=getScrollableAncestors(l).some(((e,t)=>s[t]!==e)),n=isSameContainer(e,t),a=isAfter(e,t),d=r||!n?{x:0,y:0}:{x:a?i.width-o.width:0,y:a?i.height-o.height:0},p={x:o.left,y:o.top};return d.x&&d.y?p:subtract(p,d)}}}};function isSameContainer(e,t){return!(!hasSortableData(e)||!hasSortableData(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}function isAfter(e,t){return!(!hasSortableData(e)||!hasSortableData(t))&&(!!isSameContainer(e,t)&&e.data.current.sortable.index<t.data.current.sortable.index)}class MouseSensor extends MouseSensor$1{static activators=[{eventName:"onMouseDown",handler:({nativeEvent:e})=>shouldHandleEvent(e.target)}]}function shouldHandleEvent(e){let t=e;for(;t;){if(t.dataset&&t.dataset.noDnd)return!1;t=t.parentElement}return!0}var root$5=_root,now$1=function(){return root$5.Date.now()},now_1=now$1,reWhitespace=/\s/;function trimmedEndIndex$1(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(reTrimStart,""):e}var _baseTrim=baseTrim$1,baseTrim=_baseTrim,isObject$2=isObject_1,isSymbol=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$2(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject$2(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject$2(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=baseTrim(e);var r=reIsBinary.test(e);return r||reIsOctal.test(e)?freeParseInt(e.slice(2),r?2:8):reIsBadHex.test(e)?NAN:+e}var toNumber_1=toNumber$2,isObject$1=isObject_1,now=now_1,toNumber$1=toNumber_1,FUNC_ERROR_TEXT="Expected a function",nativeMax$1=Math.max,nativeMin=Math.min;function debounce(e,t,r){var i,n,a,o,s,l,d=0,p=!1,c=!1,u=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);function h(t){var r=i,a=n;return i=n=void 0,d=t,o=e.apply(a,r)}function m(e){var r=e-l;return void 0===l||r>=t||r<0||c&&e-d>=a}function f(){var e=now();if(m(e))return y(e);s=setTimeout(f,function(e){var r=t-(e-l);return c?nativeMin(r,a-(e-d)):r}(e))}function y(e){return s=void 0,u&&i?h(e):(i=n=void 0,o)}function g(){var e=now(),r=m(e);if(i=arguments,n=this,l=e,r){if(void 0===s)return function(e){return d=e,s=setTimeout(f,t),p?h(e):o}(l);if(c)return clearTimeout(s),s=setTimeout(f,t),h(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=toNumber$1(t)||0,isObject$1(r)&&(p=!!r.leading,a=(c="maxWait"in r)?nativeMax$1(toNumber$1(r.maxWait)||0,t):a,u="trailing"in r?!!r.trailing:u),g.cancel=function(){void 0!==s&&clearTimeout(s),d=0,i=l=n=s=void 0},g.flush=function(){return void 0===s?o:y(now())},g}var debounce_1=debounce;const visibilityStyle=(e,t)=>e?`\n\t\t\t${t}: 0;\n\t\t\topacity: 1;\n\t\t\ttransition: all 300ms cubic-bezier(0.21, 0.79, 0.53, 1);\n\t\t\ttransition-delay: 200ms;\n\t\t`:`\n\t\t${t}: -3%;\n\t\topacity: 0;\n\t\ttransition: all 300ms cubic-bezier(0.4, 0.34, 0.38, 1);\n\t`,Container$i=styled__default.default.div`
|
|
1532
|
+
`,Component$f=({children:e,accept:t,capture:r,multiple:i,id:n,className:a,name:o,border:s,disabled:l,onChange:d},p)=>{const c=React.useRef(),{getRootProps:u,isDragActive:h}=useDropzone({onDrop:d,noClick:!0,disabled:l});React.useImperativeHandle(p,(()=>({...c.current,openFileDialog:()=>{c.current.value=null,c.current?.click()}})));return jsxRuntime.jsxs(Container$j,{id:n,"data-testid":"dropzone",$border:s,className:a,...u(),children:[jsxRuntime.jsx(HiddenInput,{type:"file",name:o,ref:c,tabIndex:-1,"aria-hidden":!0,accept:t,capture:r,multiple:i,"data-testid":"dropzone-input",onChange:e=>{e.target.files&&d(Array.from(e.target.files))}}),e,h&&jsxRuntime.jsxs(DragOverlay,{children:[jsxRuntime.jsx(OverlayIcon,{}),jsxRuntime.jsx(OverlayText,{weight:"semibold",children:"Drop files here"})]})]})},FileUploadDropzone=React.forwardRef(Component$f);function useCombinedRefs(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return React.useMemo((()=>e=>{t.forEach((t=>t(e)))}),t)}const canUseDOM="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function isWindow(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function isNode(e){return"nodeType"in e}function getWindow(e){var t,r;return e?isWindow(e)?e:isNode(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function isDocument(e){const{Document:t}=getWindow(e);return e instanceof t}function isHTMLElement(e){return!isWindow(e)&&e instanceof getWindow(e).HTMLElement}function isSVGElement(e){return e instanceof getWindow(e).SVGElement}function getOwnerDocument(e){return e?isWindow(e)?e.document:isNode(e)?isDocument(e)?e:isHTMLElement(e)?e.ownerDocument:document:document:document}const useIsomorphicLayoutEffect=canUseDOM?React.useLayoutEffect:React.useEffect;function useEvent(e){const t=React.useRef(e);return useIsomorphicLayoutEffect((()=>{t.current=e})),React.useCallback((function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return null==t.current?void 0:t.current(...r)}),[])}function useInterval(){const e=React.useRef(null);return[React.useCallback(((t,r)=>{e.current=setInterval(t,r)}),[]),React.useCallback((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function useLatestValue(e,t){void 0===t&&(t=[e]);const r=React.useRef(e);return useIsomorphicLayoutEffect((()=>{r.current!==e&&(r.current=e)}),t),r}function useLazyMemo(e,t){const r=React.useRef();return React.useMemo((()=>{const t=e(r.current);return r.current=t,t}),[...t])}function useNodeRef(e){const t=useEvent(e),r=React.useRef(null),i=React.useCallback((e=>{e!==r.current&&(null==t||t(e,r.current)),r.current=e}),[]);return[r,i]}function usePrevious(e){const t=React.useRef();return React.useEffect((()=>{t.current=e}),[e]),t.current}let ids={};function useUniqueId(e,t){return React.useMemo((()=>{if(t)return t;const r=null==ids[e]?0:ids[e]+1;return ids[e]=r,e+"-"+r}),[e,t])}function createAdjustmentFn(e){return function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return i.reduce(((t,r)=>{const i=Object.entries(r);for(const[r,n]of i){const i=t[r];null!=i&&(t[r]=i+e*n)}return t}),{...t})}}const add=createAdjustmentFn(1),subtract=createAdjustmentFn(-1);function hasViewportRelativeCoordinates(e){return"clientX"in e&&"clientY"in e}function isKeyboardEvent(e){if(!e)return!1;const{KeyboardEvent:t}=getWindow(e.target);return t&&e instanceof t}function isTouchEvent(e){if(!e)return!1;const{TouchEvent:t}=getWindow(e.target);return t&&e instanceof t}function getEventCoordinates(e){if(isTouchEvent(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return hasViewportRelativeCoordinates(e)?{x:e.clientX,y:e.clientY}:null}const CSS=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[CSS.Translate.toString(e),CSS.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:i}=e;return t+" "+r+"ms "+i}}}),SELECTOR="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function findFirstFocusableNode(e){return e.matches(SELECTOR)?e:e.querySelector(SELECTOR)}const hiddenStyles={display:"none"};function HiddenText(e){let{id:t,value:r}=e;return React__default.default.createElement("div",{id:t,style:hiddenStyles},r)}const visuallyHidden={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function LiveRegion(e){let{id:t,announcement:r}=e;return React__default.default.createElement("div",{id:t,style:visuallyHidden,role:"status","aria-live":"assertive","aria-atomic":!0},r)}function useAnnouncement(){const[e,t]=React.useState("");return{announce:React.useCallback((e=>{null!=e&&t(e)}),[]),announcement:e}}const DndMonitorContext=React.createContext(null);function useDndMonitor(e){const t=React.useContext(DndMonitorContext);React.useEffect((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)}),[e,t])}function useDndMonitorProvider(){const[e]=React.useState((()=>new Set)),t=React.useCallback((t=>(e.add(t),()=>e.delete(t))),[e]),r=React.useCallback((t=>{let{type:r,event:i}=t;e.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,i)}))}),[e]);return[r,t]}const defaultScreenReaderInstructions={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},defaultAnnouncements={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function Accessibility(e){let{announcements:t=defaultAnnouncements,container:r,hiddenTextDescribedById:i,screenReaderInstructions:n=defaultScreenReaderInstructions}=e;const{announce:a,announcement:o}=useAnnouncement(),s=useUniqueId("DndLiveRegion"),[l,d]=React.useState(!1);if(React.useEffect((()=>{d(!0)}),[]),useDndMonitor(React.useMemo((()=>({onDragStart(e){let{active:r}=e;a(t.onDragStart({active:r}))},onDragMove(e){let{active:r,over:i}=e;t.onDragMove&&a(t.onDragMove({active:r,over:i}))},onDragOver(e){let{active:r,over:i}=e;a(t.onDragOver({active:r,over:i}))},onDragEnd(e){let{active:r,over:i}=e;a(t.onDragEnd({active:r,over:i}))},onDragCancel(e){let{active:r,over:i}=e;a(t.onDragCancel({active:r,over:i}))}})),[a,t])),!l)return null;const p=React__default.default.createElement(React__default.default.Fragment,null,React__default.default.createElement(HiddenText,{id:i,value:n.draggable}),React__default.default.createElement(LiveRegion,{id:s,announcement:o}));return r?ReactDOM.createPortal(p,r):p}var Action;function noop(){}function useSensor(e,t){return React.useMemo((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function useSensors(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return React.useMemo((()=>[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(Action||(Action={}));const defaultCoordinates=Object.freeze({x:0,y:0});function distanceBetween(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function sortCollisionsAsc(e,t){let{data:{value:r}}=e,{data:{value:i}}=t;return r-i}function sortCollisionsDesc(e,t){let{data:{value:r}}=e,{data:{value:i}}=t;return i-r}function cornersOfRectangle(e){let{left:t,top:r,height:i,width:n}=e;return[{x:t,y:r},{x:t+n,y:r},{x:t,y:r+i},{x:t+n,y:r+i}]}function getFirstCollision(e,t){if(!e||0===e.length)return null;const[r]=e;return t?r[t]:r}const closestCorners=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:i}=e;const n=cornersOfRectangle(t),a=[];for(const e of i){const{id:t}=e,i=r.get(t);if(i){const r=cornersOfRectangle(i),o=n.reduce(((e,t,i)=>e+distanceBetween(r[i],t)),0),s=Number((o/4).toFixed(4));a.push({id:t,data:{droppableContainer:e,value:s}})}}return a.sort(sortCollisionsAsc)};function getIntersectionRatio(e,t){const r=Math.max(t.top,e.top),i=Math.max(t.left,e.left),n=Math.min(t.left+t.width,e.left+e.width),a=Math.min(t.top+t.height,e.top+e.height),o=n-i,s=a-r;if(i<n&&r<a){const r=t.width*t.height,i=e.width*e.height,n=o*s;return Number((n/(r+i-n)).toFixed(4))}return 0}const rectIntersection=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:i}=e;const n=[];for(const e of i){const{id:i}=e,a=r.get(i);if(a){const r=getIntersectionRatio(a,t);r>0&&n.push({id:i,data:{droppableContainer:e,value:r}})}}return n.sort(sortCollisionsDesc)};function adjustScale(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}function getRectDelta(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:defaultCoordinates}function createRectAdjustmentFn(e){return function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return i.reduce(((t,r)=>({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const getAdjustedRect=createRectAdjustmentFn(1);function parseTransform(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function inverseTransform(e,t,r){const i=parseTransform(t);if(!i)return e;const{scaleX:n,scaleY:a,x:o,y:s}=i,l=e.left-o-(1-n)*parseFloat(r),d=e.top-s-(1-a)*parseFloat(r.slice(r.indexOf(" ")+1)),p=n?e.width/n:e.width,c=a?e.height/a:e.height;return{width:p,height:c,top:d,right:l+p,bottom:d+c,left:l}}const defaultOptions={ignoreTransform:!1};function getClientRect(e,t){void 0===t&&(t=defaultOptions);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:i}=getWindow(e).getComputedStyle(e);t&&(r=inverseTransform(r,t,i))}const{top:i,left:n,width:a,height:o,bottom:s,right:l}=r;return{top:i,left:n,width:a,height:o,bottom:s,right:l}}function getTransformAgnosticClientRect(e){return getClientRect(e,{ignoreTransform:!0})}function getWindowClientRect(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function isFixed(e,t){return void 0===t&&(t=getWindow(e).getComputedStyle(e)),"fixed"===t.position}function isScrollable(e,t){void 0===t&&(t=getWindow(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const i=t[e];return"string"==typeof i&&r.test(i)}))}function getScrollableAncestors(e,t){const r=[];return e?function i(n){if(null!=t&&r.length>=t)return r;if(!n)return r;if(isDocument(n)&&null!=n.scrollingElement&&!r.includes(n.scrollingElement))return r.push(n.scrollingElement),r;if(!isHTMLElement(n)||isSVGElement(n))return r;if(r.includes(n))return r;const a=getWindow(e).getComputedStyle(n);return n!==e&&isScrollable(n,a)&&r.push(n),isFixed(n,a)?r:i(n.parentNode)}(e):r}function getFirstScrollableAncestor(e){const[t]=getScrollableAncestors(e,1);return null!=t?t:null}function getScrollableElement(e){return canUseDOM&&e?isWindow(e)?e:isNode(e)?isDocument(e)||e===getOwnerDocument(e).scrollingElement?window:isHTMLElement(e)?e:null:null:null}function getScrollXCoordinate(e){return isWindow(e)?e.scrollX:e.scrollLeft}function getScrollYCoordinate(e){return isWindow(e)?e.scrollY:e.scrollTop}function getScrollCoordinates(e){return{x:getScrollXCoordinate(e),y:getScrollYCoordinate(e)}}var Direction;function isDocumentScrollingElement(e){return!(!canUseDOM||!e)&&e===document.scrollingElement}function getScrollPosition(e){const t={x:0,y:0},r=isDocumentScrollingElement(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},i={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=i.y,isRight:e.scrollLeft>=i.x,maxScroll:i,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(Direction||(Direction={}));const defaultThreshold={x:.2,y:.2};function getScrollDirectionAndSpeed(e,t,r,i,n){let{top:a,left:o,right:s,bottom:l}=r;void 0===i&&(i=10),void 0===n&&(n=defaultThreshold);const{isTop:d,isBottom:p,isLeft:c,isRight:u}=getScrollPosition(e),h={x:0,y:0},m={x:0,y:0},f=t.height*n.y,y=t.width*n.x;return!d&&a<=t.top+f?(h.y=Direction.Backward,m.y=i*Math.abs((t.top+f-a)/f)):!p&&l>=t.bottom-f&&(h.y=Direction.Forward,m.y=i*Math.abs((t.bottom-f-l)/f)),!u&&s>=t.right-y?(h.x=Direction.Forward,m.x=i*Math.abs((t.right-y-s)/y)):!c&&o<=t.left+y&&(h.x=Direction.Backward,m.x=i*Math.abs((t.left+y-o)/y)),{direction:h,speed:m}}function getScrollElementRect(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:i,bottom:n}=e.getBoundingClientRect();return{top:t,left:r,right:i,bottom:n,width:e.clientWidth,height:e.clientHeight}}function getScrollOffsets(e){return e.reduce(((e,t)=>add(e,getScrollCoordinates(t))),defaultCoordinates)}function getScrollXOffset(e){return e.reduce(((e,t)=>e+getScrollXCoordinate(t)),0)}function getScrollYOffset(e){return e.reduce(((e,t)=>e+getScrollYCoordinate(t)),0)}function scrollIntoViewIfNeeded(e,t){if(void 0===t&&(t=getClientRect),!e)return;const{top:r,left:i,bottom:n,right:a}=t(e);getFirstScrollableAncestor(e)&&(n<=0||a<=0||r>=window.innerHeight||i>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const properties=[["x",["left","right"],getScrollXOffset],["y",["top","bottom"],getScrollYOffset]];class Rect{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=getScrollableAncestors(t),i=getScrollOffsets(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,n]of properties)for(const a of t)Object.defineProperty(this,a,{get:()=>{const t=n(r),o=i[e]-t;return this.rect[a]+o},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Listeners{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var i;null==(i=this.target)||i.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function getEventListenerTarget(e){const{EventTarget:t}=getWindow(e);return e instanceof t?e:getOwnerDocument(e)}function hasExceededDistance(e,t){const r=Math.abs(e.x),i=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+i**2)>t:"x"in t&&"y"in t?r>t.x&&i>t.y:"x"in t?r>t.x:"y"in t&&i>t.y}var EventName,KeyboardCode;function preventDefault(e){e.preventDefault()}function stopPropagation(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(EventName||(EventName={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(KeyboardCode||(KeyboardCode={}));const defaultKeyboardCodes={start:[KeyboardCode.Space,KeyboardCode.Enter],cancel:[KeyboardCode.Esc],end:[KeyboardCode.Space,KeyboardCode.Enter]},defaultKeyboardCoordinateGetter=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case KeyboardCode.Right:return{...r,x:r.x+25};case KeyboardCode.Left:return{...r,x:r.x-25};case KeyboardCode.Down:return{...r,y:r.y+25};case KeyboardCode.Up:return{...r,y:r.y-25}}};class KeyboardSensor{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Listeners(getOwnerDocument(t)),this.windowListeners=new Listeners(getWindow(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(EventName.Resize,this.handleCancel),this.windowListeners.add(EventName.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(EventName.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&scrollIntoViewIfNeeded(r),t(defaultCoordinates)}handleKeyDown(e){if(isKeyboardEvent(e)){const{active:t,context:r,options:i}=this.props,{keyboardCodes:n=defaultKeyboardCodes,coordinateGetter:a=defaultKeyboardCoordinateGetter,scrollBehavior:o="smooth"}=i,{code:s}=e;if(n.end.includes(s))return void this.handleEnd(e);if(n.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:l}=r.current,d=l?{x:l.left,y:l.top}:defaultCoordinates;this.referenceCoordinates||(this.referenceCoordinates=d);const p=a(e,{active:t,context:r.current,currentCoordinates:d});if(p){const t=subtract(p,d),i={x:0,y:0},{scrollableAncestors:n}=r.current;for(const r of n){const n=e.code,{isTop:a,isRight:s,isLeft:l,isBottom:d,maxScroll:c,minScroll:u}=getScrollPosition(r),h=getScrollElementRect(r),m={x:Math.min(n===KeyboardCode.Right?h.right-h.width/2:h.right,Math.max(n===KeyboardCode.Right?h.left:h.left+h.width/2,p.x)),y:Math.min(n===KeyboardCode.Down?h.bottom-h.height/2:h.bottom,Math.max(n===KeyboardCode.Down?h.top:h.top+h.height/2,p.y))},f=n===KeyboardCode.Right&&!s||n===KeyboardCode.Left&&!l,y=n===KeyboardCode.Down&&!d||n===KeyboardCode.Up&&!a;if(f&&m.x!==p.x){const e=r.scrollLeft+t.x,a=n===KeyboardCode.Right&&e<=c.x||n===KeyboardCode.Left&&e>=u.x;if(a&&!t.y)return void r.scrollTo({left:e,behavior:o});i.x=a?r.scrollLeft-e:n===KeyboardCode.Right?r.scrollLeft-c.x:r.scrollLeft-u.x,i.x&&r.scrollBy({left:-i.x,behavior:o});break}if(y&&m.y!==p.y){const e=r.scrollTop+t.y,a=n===KeyboardCode.Down&&e<=c.y||n===KeyboardCode.Up&&e>=u.y;if(a&&!t.x)return void r.scrollTo({top:e,behavior:o});i.y=a?r.scrollTop-e:n===KeyboardCode.Down?r.scrollTop-c.y:r.scrollTop-u.y,i.y&&r.scrollBy({top:-i.y,behavior:o});break}}this.handleMove(e,add(subtract(p,this.referenceCoordinates),i))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function isDistanceConstraint(e){return Boolean(e&&"distance"in e)}function isDelayConstraint(e){return Boolean(e&&"delay"in e)}KeyboardSensor.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:i=defaultKeyboardCodes,onActivation:n}=t,{active:a}=r;const{code:o}=e.nativeEvent;if(i.start.includes(o)){const t=a.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==n||n({event:e.nativeEvent}),!0)}return!1}}];class AbstractPointerSensor{constructor(e,t,r){var i;void 0===r&&(r=getEventListenerTarget(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:n}=e,{target:a}=n;this.props=e,this.events=t,this.document=getOwnerDocument(a),this.documentListeners=new Listeners(this.document),this.listeners=new Listeners(r),this.windowListeners=new Listeners(getWindow(a)),this.initialCoordinates=null!=(i=getEventCoordinates(n))?i:defaultCoordinates,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(EventName.Resize,this.handleCancel),this.windowListeners.add(EventName.DragStart,preventDefault),this.windowListeners.add(EventName.VisibilityChange,this.handleCancel),this.windowListeners.add(EventName.ContextMenu,preventDefault),this.documentListeners.add(EventName.Keydown,this.handleKeydown),t){if(isDistanceConstraint(t))return;if(isDelayConstraint(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(EventName.Click,stopPropagation,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(EventName.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:i,props:n}=this,{onMove:a,options:{activationConstraint:o}}=n;if(!i)return;const s=null!=(t=getEventCoordinates(e))?t:defaultCoordinates,l=subtract(i,s);if(!r&&o){if(isDelayConstraint(o))return hasExceededDistance(l,o.tolerance)?this.handleCancel():void 0;if(isDistanceConstraint(o))return null!=o.tolerance&&hasExceededDistance(l,o.tolerance)?this.handleCancel():hasExceededDistance(l,o.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(s)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===KeyboardCode.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const events={move:{name:"pointermove"},end:{name:"pointerup"}};class PointerSensor extends AbstractPointerSensor{constructor(e){const{event:t}=e,r=getOwnerDocument(t.target);super(e,events,r)}}PointerSensor.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:i}=t;return!(!r.isPrimary||0!==r.button)&&(null==i||i({event:r}),!0)}}];const events$1={move:{name:"mousemove"},end:{name:"mouseup"}};var MouseButton;!function(e){e[e.RightClick=2]="RightClick"}(MouseButton||(MouseButton={}));class MouseSensor$1 extends AbstractPointerSensor{constructor(e){super(e,events$1,getOwnerDocument(e.event.target))}}MouseSensor$1.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:i}=t;return r.button!==MouseButton.RightClick&&(null==i||i({event:r}),!0)}}];const events$2={move:{name:"touchmove"},end:{name:"touchend"}};class TouchSensor extends AbstractPointerSensor{constructor(e){super(e,events$2)}static setup(){return window.addEventListener(events$2.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(events$2.move.name,e)};function e(){}}}var AutoScrollActivator,TraversalOrder;function useAutoScroller(e){let{acceleration:t,activator:r=AutoScrollActivator.Pointer,canScroll:i,draggingRect:n,enabled:a,interval:o=5,order:s=TraversalOrder.TreeOrder,pointerCoordinates:l,scrollableAncestors:d,scrollableAncestorRects:p,delta:c,threshold:u}=e;const h=useScrollIntent({delta:c,disabled:!a}),[m,f]=useInterval(),y=React.useRef({x:0,y:0}),g=React.useRef({x:0,y:0}),x=React.useMemo((()=>{switch(r){case AutoScrollActivator.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case AutoScrollActivator.DraggableRect:return n}}),[r,n,l]),_=React.useRef(null),b=React.useCallback((()=>{const e=_.current;if(!e)return;const t=y.current.x*g.current.x,r=y.current.y*g.current.y;e.scrollBy(t,r)}),[]),v=React.useMemo((()=>s===TraversalOrder.TreeOrder?[...d].reverse():d),[s,d]);React.useEffect((()=>{if(a&&d.length&&x){for(const e of v){if(!1===(null==i?void 0:i(e)))continue;const r=d.indexOf(e),n=p[r];if(!n)continue;const{direction:a,speed:s}=getScrollDirectionAndSpeed(e,n,x,t,u);for(const e of["x","y"])h[e][a[e]]||(s[e]=0,a[e]=0);if(s.x>0||s.y>0)return f(),_.current=e,m(b,o),y.current=s,void(g.current=a)}y.current={x:0,y:0},g.current={x:0,y:0},f()}else f()}),[t,b,i,f,a,o,JSON.stringify(x),JSON.stringify(h),m,d,v,p,JSON.stringify(u)])}TouchSensor.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:i}=t;const{touches:n}=r;return!(n.length>1)&&(null==i||i({event:r}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(AutoScrollActivator||(AutoScrollActivator={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(TraversalOrder||(TraversalOrder={}));const defaultScrollIntent={x:{[Direction.Backward]:!1,[Direction.Forward]:!1},y:{[Direction.Backward]:!1,[Direction.Forward]:!1}};function useScrollIntent(e){let{delta:t,disabled:r}=e;const i=usePrevious(t);return useLazyMemo((e=>{if(r||!i||!e)return defaultScrollIntent;const n=Math.sign(t.x-i.x),a=Math.sign(t.y-i.y);return{x:{[Direction.Backward]:e.x[Direction.Backward]||-1===n,[Direction.Forward]:e.x[Direction.Forward]||1===n},y:{[Direction.Backward]:e.y[Direction.Backward]||-1===a,[Direction.Forward]:e.y[Direction.Forward]||1===a}}}),[r,t,i])}function useCachedNode(e,t){const r=null!==t?e.get(t):void 0,i=r?r.node.current:null;return useLazyMemo((e=>{var r;return null===t?null:null!=(r=null!=i?i:e)?r:null}),[i,t])}function useCombineActivators(e,t){return React.useMemo((()=>e.reduce(((e,r)=>{const{sensor:i}=r;return[...e,...i.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,r)})))]}),[])),[e,t])}var MeasuringStrategy,MeasuringFrequency;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(MeasuringStrategy||(MeasuringStrategy={})),function(e){e.Optimized="optimized"}(MeasuringFrequency||(MeasuringFrequency={}));const defaultValue=new Map;function useDroppableMeasuring(e,t){let{dragging:r,dependencies:i,config:n}=t;const[a,o]=React.useState(null),{frequency:s,measure:l,strategy:d}=n,p=React.useRef(e),c=function(){switch(d){case MeasuringStrategy.Always:return!1;case MeasuringStrategy.BeforeDragging:return r;default:return!r}}(),u=useLatestValue(c),h=React.useCallback((function(e){void 0===e&&(e=[]),u.current||o((t=>null===t?e:t.concat(e.filter((e=>!t.includes(e))))))}),[u]),m=React.useRef(null),f=useLazyMemo((t=>{if(c&&!r)return defaultValue;if(!t||t===defaultValue||p.current!==e||null!=a){const t=new Map;for(let r of e){if(!r)continue;if(a&&a.length>0&&!a.includes(r.id)&&r.rect.current){t.set(r.id,r.rect.current);continue}const e=r.node.current,i=e?new Rect(l(e),e):null;r.rect.current=i,i&&t.set(r.id,i)}return t}return t}),[e,a,r,c,l]);return React.useEffect((()=>{p.current=e}),[e]),React.useEffect((()=>{c||h()}),[r,c]),React.useEffect((()=>{a&&a.length>0&&o(null)}),[JSON.stringify(a)]),React.useEffect((()=>{c||"number"!=typeof s||null!==m.current||(m.current=setTimeout((()=>{h(),m.current=null}),s))}),[s,c,h,...i]),{droppableRects:f,measureDroppableContainers:h,measuringScheduled:null!=a}}function useInitialValue(e,t){return useLazyMemo((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function useInitialRect(e,t){return useInitialValue(e,t)}function useMutationObserver(e){let{callback:t,disabled:r}=e;const i=useEvent(t),n=React.useMemo((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(i)}),[i,r]);return React.useEffect((()=>()=>null==n?void 0:n.disconnect()),[n]),n}function useResizeObserver(e){let{callback:t,disabled:r}=e;const i=useEvent(t),n=React.useMemo((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(i)}),[r]);return React.useEffect((()=>()=>null==n?void 0:n.disconnect()),[n]),n}function defaultMeasure(e){return new Rect(getClientRect(e),e)}function useRect(e,t,r){void 0===t&&(t=defaultMeasure);const[i,n]=React.useReducer((function(i){if(!e)return null;var n;if(!1===e.isConnected)return null!=(n=null!=i?i:r)?n:null;const a=t(e);if(JSON.stringify(i)===JSON.stringify(a))return i;return a}),null),a=useMutationObserver({callback(t){if(e)for(const r of t){const{type:t,target:i}=r;if("childList"===t&&i instanceof HTMLElement&&i.contains(e)){n();break}}}}),o=useResizeObserver({callback:n});return useIsomorphicLayoutEffect((()=>{n(),e?(null==o||o.observe(e),null==a||a.observe(document.body,{childList:!0,subtree:!0})):(null==o||o.disconnect(),null==a||a.disconnect())}),[e]),i}function useRectDelta(e){return getRectDelta(e,useInitialValue(e))}const defaultValue$1=[];function useScrollableAncestors(e){const t=React.useRef(e),r=useLazyMemo((r=>e?r&&r!==defaultValue$1&&e&&t.current&&e.parentNode===t.current.parentNode?r:getScrollableAncestors(e):defaultValue$1),[e]);return React.useEffect((()=>{t.current=e}),[e]),r}function useScrollOffsets(e){const[t,r]=React.useState(null),i=React.useRef(e),n=React.useCallback((e=>{const t=getScrollableElement(e.target);t&&r((e=>e?(e.set(t,getScrollCoordinates(t)),new Map(e)):null))}),[]);return React.useEffect((()=>{const t=i.current;if(e!==t){a(t);const o=e.map((e=>{const t=getScrollableElement(e);return t?(t.addEventListener("scroll",n,{passive:!0}),[t,getScrollCoordinates(t)]):null})).filter((e=>null!=e));r(o.length?new Map(o):null),i.current=e}return()=>{a(e),a(t)};function a(e){e.forEach((e=>{const t=getScrollableElement(e);null==t||t.removeEventListener("scroll",n)}))}}),[n,e]),React.useMemo((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>add(e,t)),defaultCoordinates):getScrollOffsets(e):defaultCoordinates),[e,t])}function useScrollOffsetsDelta(e,t){void 0===t&&(t=[]);const r=React.useRef(null);return React.useEffect((()=>{r.current=null}),t),React.useEffect((()=>{const t=e!==defaultCoordinates;t&&!r.current&&(r.current=e),!t&&r.current&&(r.current=null)}),[e]),r.current?subtract(e,r.current):defaultCoordinates}function useSensorSetup(e){React.useEffect((()=>{if(!canUseDOM)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}function useSyntheticListeners(e,t){return React.useMemo((()=>e.reduce(((e,r)=>{let{eventName:i,handler:n}=r;return e[i]=e=>{n(e,t)},e}),{})),[e,t])}function useWindowRect(e){return React.useMemo((()=>e?getWindowClientRect(e):null),[e])}const defaultValue$2=[];function useRects(e,t){void 0===t&&(t=getClientRect);const[r]=e,i=useWindowRect(r?getWindow(r):null),[n,a]=React.useReducer((function(){if(!e.length)return defaultValue$2;return e.map((e=>isDocumentScrollingElement(e)?i:new Rect(t(e),e)))}),defaultValue$2),o=useResizeObserver({callback:a});return e.length>0&&n===defaultValue$2&&a(),useIsomorphicLayoutEffect((()=>{e.length?e.forEach((e=>null==o?void 0:o.observe(e))):(null==o||o.disconnect(),a())}),[e]),n}function getMeasurableNode(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return isHTMLElement(t)?t:e}function useDragOverlayMeasuring(e){let{measure:t}=e;const[r,i]=React.useState(null),n=React.useCallback((e=>{for(const{target:r}of e)if(isHTMLElement(r)){i((e=>{const i=t(r);return e?{...e,width:i.width,height:i.height}:i}));break}}),[t]),a=useResizeObserver({callback:n}),o=React.useCallback((e=>{const r=getMeasurableNode(e);null==a||a.disconnect(),r&&(null==a||a.observe(r)),i(r?t(r):null)}),[t,a]),[s,l]=useNodeRef(o);return React.useMemo((()=>({nodeRef:s,rect:r,setRef:l})),[r,s,l])}const defaultSensors=[{sensor:PointerSensor,options:{}},{sensor:KeyboardSensor,options:{}}],defaultData={current:{}},defaultMeasuringConfiguration={draggable:{measure:getTransformAgnosticClientRect},droppable:{measure:getTransformAgnosticClientRect,strategy:MeasuringStrategy.WhileDragging,frequency:MeasuringFrequency.Optimized},dragOverlay:{measure:getClientRect}};class DroppableContainersMap extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const defaultPublicContext={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new DroppableContainersMap,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:noop},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:defaultMeasuringConfiguration,measureDroppableContainers:noop,windowRect:null,measuringScheduled:!1},defaultInternalContext={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:noop,draggableNodes:new Map,over:null,measureDroppableContainers:noop},InternalContext=React.createContext(defaultInternalContext),PublicContext=React.createContext(defaultPublicContext);function getInitialState(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new DroppableContainersMap}}}function reducer(e,t){switch(t.type){case Action.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Action.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case Action.DragEnd:case Action.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Action.RegisterDroppable:{const{element:r}=t,{id:i}=r,n=new DroppableContainersMap(e.droppable.containers);return n.set(i,r),{...e,droppable:{...e.droppable,containers:n}}}case Action.SetDroppableDisabled:{const{id:r,key:i,disabled:n}=t,a=e.droppable.containers.get(r);if(!a||i!==a.key)return e;const o=new DroppableContainersMap(e.droppable.containers);return o.set(r,{...a,disabled:n}),{...e,droppable:{...e.droppable,containers:o}}}case Action.UnregisterDroppable:{const{id:r,key:i}=t,n=e.droppable.containers.get(r);if(!n||i!==n.key)return e;const a=new DroppableContainersMap(e.droppable.containers);return a.delete(r),{...e,droppable:{...e.droppable,containers:a}}}default:return e}}function RestoreFocus(e){let{disabled:t}=e;const{active:r,activatorEvent:i,draggableNodes:n}=React.useContext(InternalContext),a=usePrevious(i),o=usePrevious(null==r?void 0:r.id);return React.useEffect((()=>{if(!t&&!i&&a&&null!=o){if(!isKeyboardEvent(a))return;if(document.activeElement===a.target)return;const e=n.get(o);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=findFirstFocusableNode(e);if(t){t.focus();break}}}))}}),[i,t,n,o,a]),null}function applyModifiers(e,t){let{transform:r,...i}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...i})),r):r}function useMeasuringConfiguration(e){return React.useMemo((()=>({draggable:{...defaultMeasuringConfiguration.draggable,...null==e?void 0:e.draggable},droppable:{...defaultMeasuringConfiguration.droppable,...null==e?void 0:e.droppable},dragOverlay:{...defaultMeasuringConfiguration.dragOverlay,...null==e?void 0:e.dragOverlay}})),[null==e?void 0:e.draggable,null==e?void 0:e.droppable,null==e?void 0:e.dragOverlay])}function useLayoutShiftScrollCompensation(e){let{activeNode:t,measure:r,initialRect:i,config:n=!0}=e;const a=React.useRef(!1),{x:o,y:s}="boolean"==typeof n?{x:n,y:n}:n;useIsomorphicLayoutEffect((()=>{if(!o&&!s||!t)return void(a.current=!1);if(a.current||!i)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const n=getRectDelta(r(e),i);if(o||(n.x=0),s||(n.y=0),a.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){const t=getFirstScrollableAncestor(e);t&&t.scrollBy({top:n.y,left:n.x})}}),[t,o,s,i,r])}const ActiveDraggableContext=React.createContext({...defaultCoordinates,scaleX:1,scaleY:1});var Status;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Status||(Status={}));const DndContext=React.memo((function(e){var t,r,i,n;let{id:a,accessibility:o,autoScroll:s=!0,children:l,sensors:d=defaultSensors,collisionDetection:p=rectIntersection,measuring:c,modifiers:u,...h}=e;const m=React.useReducer(reducer,void 0,getInitialState),[f,y]=m,[g,x]=useDndMonitorProvider(),[_,b]=React.useState(Status.Uninitialized),v=_===Status.Initialized,{draggable:{active:S,nodes:C,translate:$},droppable:{containers:w}}=f,T=S?C.get(S):null,R=React.useRef({initial:null,translated:null}),k=React.useMemo((()=>{var e;return null!=S?{id:S,data:null!=(e=null==T?void 0:T.data)?e:defaultData,rect:R}:null}),[S,T]),E=React.useRef(null),[A,D]=React.useState(null),[j,I]=React.useState(null),P=useLatestValue(h,Object.values(h)),M=useUniqueId("DndDescribedBy",a),F=React.useMemo((()=>w.getEnabled()),[w]),O=useMeasuringConfiguration(c),{droppableRects:L,measureDroppableContainers:B,measuringScheduled:N}=useDroppableMeasuring(F,{dragging:v,dependencies:[$.x,$.y],config:O.droppable}),V=useCachedNode(C,S),H=React.useMemo((()=>j?getEventCoordinates(j):null),[j]),z=function(){const e=!1===(null==A?void 0:A.autoScrollEnabled),t="object"==typeof s?!1===s.enabled:!1===s,r=v&&!e&&!t;if("object"==typeof s)return{...s,enabled:r};return{enabled:r}}(),W=useInitialRect(V,O.draggable.measure);useLayoutShiftScrollCompensation({activeNode:S?C.get(S):null,config:z.layoutShiftCompensation,initialRect:W,measure:O.draggable.measure});const G=useRect(V,O.draggable.measure,W),U=useRect(V?V.parentElement:null),q=React.useRef({activatorEvent:null,active:null,activeNode:V,collisionRect:null,collisions:null,droppableRects:L,draggableNodes:C,draggingNode:null,draggingNodeRect:null,droppableContainers:w,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Y=w.getNodeFor(null==(t=q.current.over)?void 0:t.id),Q=useDragOverlayMeasuring({measure:O.dragOverlay.measure}),K=null!=(r=Q.nodeRef.current)?r:V,X=v?null!=(i=Q.rect)?i:G:null,Z=Boolean(Q.nodeRef.current&&Q.rect),J=useRectDelta(Z?null:G),ee=useWindowRect(K?getWindow(K):null),te=useScrollableAncestors(v?null!=Y?Y:V:null),re=useRects(te),ie=applyModifiers(u,{transform:{x:$.x-J.x,y:$.y-J.y,scaleX:1,scaleY:1},activatorEvent:j,active:k,activeNodeRect:G,containerNodeRect:U,draggingNodeRect:X,over:q.current.over,overlayNodeRect:Q.rect,scrollableAncestors:te,scrollableAncestorRects:re,windowRect:ee}),ne=H?add(H,$):null,ae=useScrollOffsets(te),oe=useScrollOffsetsDelta(ae),se=useScrollOffsetsDelta(ae,[G]),le=add(ie,oe),de=X?getAdjustedRect(X,ie):null,pe=k&&de?p({active:k,collisionRect:de,droppableRects:L,droppableContainers:F,pointerCoordinates:ne}):null,ce=getFirstCollision(pe,"id"),[ue,he]=React.useState(null),me=adjustScale(Z?ie:add(ie,se),null!=(n=null==ue?void 0:ue.rect)?n:null,G),fe=React.useCallback(((e,t)=>{let{sensor:r,options:i}=t;if(null==E.current)return;const n=C.get(E.current);if(!n)return;const a=e.nativeEvent,o=new r({active:E.current,activeNode:n,event:a,options:i,context:q,onStart(e){const t=E.current;if(null==t)return;const r=C.get(t);if(!r)return;const{onDragStart:i}=P.current,n={active:{id:t,data:r.data,rect:R}};ReactDOM.unstable_batchedUpdates((()=>{null==i||i(n),b(Status.Initializing),y({type:Action.DragStart,initialCoordinates:e,active:t}),g({type:"onDragStart",event:n})}))},onMove(e){y({type:Action.DragMove,coordinates:e})},onEnd:s(Action.DragEnd),onCancel:s(Action.DragCancel)});function s(e){return async function(){const{active:t,collisions:r,over:i,scrollAdjustedTranslate:n}=q.current;let o=null;if(t&&n){const{cancelDrop:s}=P.current;if(o={activatorEvent:a,active:t,collisions:r,delta:n,over:i},e===Action.DragEnd&&"function"==typeof s){await Promise.resolve(s(o))&&(e=Action.DragCancel)}}E.current=null,ReactDOM.unstable_batchedUpdates((()=>{y({type:e}),b(Status.Uninitialized),he(null),D(null),I(null);const t=e===Action.DragEnd?"onDragEnd":"onDragCancel";if(o){const e=P.current[t];null==e||e(o),g({type:t,event:o})}}))}}ReactDOM.unstable_batchedUpdates((()=>{D(o),I(e.nativeEvent)}))}),[C]),ye=React.useCallback(((e,t)=>(r,i)=>{const n=r.nativeEvent,a=C.get(i);if(null!==E.current||!a||n.dndKit||n.defaultPrevented)return;const o={active:a};!0===e(r,t.options,o)&&(n.dndKit={capturedBy:t.sensor},E.current=i,fe(r,t))}),[C,fe]),ge=useCombineActivators(d,ye);useSensorSetup(d),useIsomorphicLayoutEffect((()=>{G&&_===Status.Initializing&&b(Status.Initialized)}),[G,_]),React.useEffect((()=>{const{onDragMove:e}=P.current,{active:t,activatorEvent:r,collisions:i,over:n}=q.current;if(!t||!r)return;const a={active:t,activatorEvent:r,collisions:i,delta:{x:le.x,y:le.y},over:n};ReactDOM.unstable_batchedUpdates((()=>{null==e||e(a),g({type:"onDragMove",event:a})}))}),[le.x,le.y]),React.useEffect((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:i,scrollAdjustedTranslate:n}=q.current;if(!e||null==E.current||!t||!n)return;const{onDragOver:a}=P.current,o=i.get(ce),s=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,l={active:e,activatorEvent:t,collisions:r,delta:{x:n.x,y:n.y},over:s};ReactDOM.unstable_batchedUpdates((()=>{he(s),null==a||a(l),g({type:"onDragOver",event:l})}))}),[ce]),useIsomorphicLayoutEffect((()=>{q.current={activatorEvent:j,active:k,activeNode:V,collisionRect:de,collisions:pe,droppableRects:L,draggableNodes:C,draggingNode:K,draggingNodeRect:X,droppableContainers:w,over:ue,scrollableAncestors:te,scrollAdjustedTranslate:le},R.current={initial:X,translated:de}}),[k,V,pe,de,C,K,X,L,w,ue,te,le]),useAutoScroller({...z,delta:$,draggingRect:de,pointerCoordinates:ne,scrollableAncestors:te,scrollableAncestorRects:re});const xe=React.useMemo((()=>({active:k,activeNode:V,activeNodeRect:G,activatorEvent:j,collisions:pe,containerNodeRect:U,dragOverlay:Q,draggableNodes:C,droppableContainers:w,droppableRects:L,over:ue,measureDroppableContainers:B,scrollableAncestors:te,scrollableAncestorRects:re,measuringConfiguration:O,measuringScheduled:N,windowRect:ee})),[k,V,G,j,pe,U,Q,C,w,L,ue,B,te,re,O,N,ee]),_e=React.useMemo((()=>({activatorEvent:j,activators:ge,active:k,activeNodeRect:G,ariaDescribedById:{draggable:M},dispatch:y,draggableNodes:C,over:ue,measureDroppableContainers:B})),[j,ge,k,G,y,M,C,ue,B]);return React__default.default.createElement(DndMonitorContext.Provider,{value:x},React__default.default.createElement(InternalContext.Provider,{value:_e},React__default.default.createElement(PublicContext.Provider,{value:xe},React__default.default.createElement(ActiveDraggableContext.Provider,{value:me},l)),React__default.default.createElement(RestoreFocus,{disabled:!1===(null==o?void 0:o.restoreFocus)})),React__default.default.createElement(Accessibility,{...o,hiddenTextDescribedById:M}))})),NullContext=React.createContext(null),defaultRole="button",ID_PREFIX$1="Droppable";function useDraggable(e){let{id:t,data:r,disabled:i=!1,attributes:n}=e;const a=useUniqueId(ID_PREFIX$1),{activators:o,activatorEvent:s,active:l,activeNodeRect:d,ariaDescribedById:p,draggableNodes:c,over:u}=React.useContext(InternalContext),{role:h=defaultRole,roleDescription:m="draggable",tabIndex:f=0}=null!=n?n:{},y=(null==l?void 0:l.id)===t,g=React.useContext(y?ActiveDraggableContext:NullContext),[x,_]=useNodeRef(),[b,v]=useNodeRef(),S=useSyntheticListeners(o,t),C=useLatestValue(r);useIsomorphicLayoutEffect((()=>(c.set(t,{id:t,key:a,node:x,activatorNode:b,data:C}),()=>{const e=c.get(t);e&&e.key===a&&c.delete(t)})),[c,t]);return{active:l,activatorEvent:s,activeNodeRect:d,attributes:React.useMemo((()=>({role:h,tabIndex:f,"aria-disabled":i,"aria-pressed":!(!y||h!==defaultRole)||void 0,"aria-roledescription":m,"aria-describedby":p.draggable})),[i,h,f,y,m,p.draggable]),isDragging:y,listeners:i?void 0:S,node:x,over:u,setNodeRef:_,setActivatorNodeRef:v,transform:g}}function useDndContext(){return React.useContext(PublicContext)}const ID_PREFIX$1$1="Droppable",defaultResizeObserverConfig={timeout:25};function useDroppable(e){let{data:t,disabled:r=!1,id:i,resizeObserverConfig:n}=e;const a=useUniqueId(ID_PREFIX$1$1),{active:o,dispatch:s,over:l,measureDroppableContainers:d}=React.useContext(InternalContext),p=React.useRef({disabled:r}),c=React.useRef(!1),u=React.useRef(null),h=React.useRef(null),{disabled:m,updateMeasurementsFor:f,timeout:y}={...defaultResizeObserverConfig,...n},g=useLatestValue(null!=f?f:i),x=useResizeObserver({callback:React.useCallback((()=>{c.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout((()=>{d(Array.isArray(g.current)?g.current:[g.current]),h.current=null}),y)):c.current=!0}),[y]),disabled:m||!o}),_=React.useCallback(((e,t)=>{x&&(t&&(x.unobserve(t),c.current=!1),e&&x.observe(e))}),[x]),[b,v]=useNodeRef(_),S=useLatestValue(t);return React.useEffect((()=>{x&&b.current&&(x.disconnect(),c.current=!1,x.observe(b.current))}),[b,x]),useIsomorphicLayoutEffect((()=>(s({type:Action.RegisterDroppable,element:{id:i,key:a,disabled:r,node:b,rect:u,data:S}}),()=>s({type:Action.UnregisterDroppable,key:a,id:i}))),[i]),React.useEffect((()=>{r!==p.current.disabled&&(s({type:Action.SetDroppableDisabled,id:i,key:a,disabled:r}),p.current.disabled=r)}),[i,a,r,s]),{active:o,rect:u,isOver:(null==l?void 0:l.id)===i,node:b,over:l,setNodeRef:v}}function arrayMove(e,t,r){const i=e.slice();return i.splice(r<0?i.length+r:r,0,i.splice(t,1)[0]),i}function getSortedRects(e,t){return e.reduce(((e,r,i)=>{const n=t.get(r);return n&&(e[i]=n),e}),Array(e.length))}function isValidIndex(e){return null!==e&&e>=0}function itemsEqual(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function normalizeDisabled(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}const rectSortingStrategy=e=>{let{rects:t,activeIndex:r,overIndex:i,index:n}=e;const a=arrayMove(t,i,r),o=t[n],s=a[n];return s&&o?{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}:null},defaultScale$1={scaleX:1,scaleY:1},verticalListSortingStrategy=e=>{var t;let{activeIndex:r,activeNodeRect:i,index:n,rects:a,overIndex:o}=e;const s=null!=(t=a[r])?t:i;if(!s)return null;if(n===r){const e=a[o];return e?{x:0,y:r<o?e.top+e.height-(s.top+s.height):e.top-s.top,...defaultScale$1}:null}const l=getItemGap$1(a,n,r);return n>r&&n<=o?{x:0,y:-s.height-l,...defaultScale$1}:n<r&&n>=o?{x:0,y:s.height+l,...defaultScale$1}:{x:0,y:0,...defaultScale$1}};function getItemGap$1(e,t,r){const i=e[t],n=e[t-1],a=e[t+1];return i?r<t?n?i.top-(n.top+n.height):a?a.top-(i.top+i.height):0:a?a.top-(i.top+i.height):n?i.top-(n.top+n.height):0:0}const ID_PREFIX="Sortable",Context=React__default.default.createContext({activeIndex:-1,containerId:ID_PREFIX,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:rectSortingStrategy,disabled:{draggable:!1,droppable:!1}});function SortableContext(e){let{children:t,id:r,items:i,strategy:n=rectSortingStrategy,disabled:a=!1}=e;const{active:o,dragOverlay:s,droppableRects:l,over:d,measureDroppableContainers:p}=useDndContext(),c=useUniqueId(ID_PREFIX,r),u=Boolean(null!==s.rect),h=React.useMemo((()=>i.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[i]),m=null!=o,f=o?h.indexOf(o.id):-1,y=d?h.indexOf(d.id):-1,g=React.useRef(h),x=!itemsEqual(h,g.current),_=-1!==y&&-1===f||x,b=normalizeDisabled(a);useIsomorphicLayoutEffect((()=>{x&&m&&p(h)}),[x,h,m,p]),React.useEffect((()=>{g.current=h}),[h]);const v=React.useMemo((()=>({activeIndex:f,containerId:c,disabled:b,disableTransforms:_,items:h,overIndex:y,useDragOverlay:u,sortedRects:getSortedRects(h,l),strategy:n})),[f,c,b.draggable,b.droppable,_,h,y,l,u,n]);return React__default.default.createElement(Context.Provider,{value:v},t)}const defaultNewIndexGetter=e=>{let{id:t,items:r,activeIndex:i,overIndex:n}=e;return arrayMove(r,i,n).indexOf(t)},defaultAnimateLayoutChanges=e=>{let{containerId:t,isSorting:r,wasDragging:i,index:n,items:a,newIndex:o,previousItems:s,previousContainerId:l,transition:d}=e;return!(!d||!i)&&((s===a||n!==o)&&(!!r||o!==n&&t===l))},defaultTransition={duration:200,easing:"ease"},transitionProperty="transform",disabledTransition=CSS.Transition.toString({property:transitionProperty,duration:0,easing:"linear"}),defaultAttributes={roleDescription:"sortable"};function useDerivedTransform(e){let{disabled:t,index:r,node:i,rect:n}=e;const[a,o]=React.useState(null),s=React.useRef(r);return useIsomorphicLayoutEffect((()=>{if(!t&&r!==s.current&&i.current){const e=n.current;if(e){const t=getClientRect(i.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&o(r)}}r!==s.current&&(s.current=r)}),[t,r,i,n]),React.useEffect((()=>{a&&o(null)}),[a]),a}function useSortable(e){let{animateLayoutChanges:t=defaultAnimateLayoutChanges,attributes:r,disabled:i,data:n,getNewIndex:a=defaultNewIndexGetter,id:o,strategy:s,resizeObserverConfig:l,transition:d=defaultTransition}=e;const{items:p,containerId:c,activeIndex:u,disabled:h,disableTransforms:m,sortedRects:f,overIndex:y,useDragOverlay:g,strategy:x}=React.useContext(Context),_=normalizeLocalDisabled(i,h),b=p.indexOf(o),v=React.useMemo((()=>({sortable:{containerId:c,index:b,items:p},...n})),[c,n,b,p]),S=React.useMemo((()=>p.slice(p.indexOf(o))),[p,o]),{rect:C,node:$,isOver:w,setNodeRef:T}=useDroppable({id:o,data:v,disabled:_.droppable,resizeObserverConfig:{updateMeasurementsFor:S,...l}}),{active:R,activatorEvent:k,activeNodeRect:E,attributes:A,setNodeRef:D,listeners:j,isDragging:I,over:P,setActivatorNodeRef:M,transform:F}=useDraggable({id:o,data:v,attributes:{...defaultAttributes,...r},disabled:_.draggable}),O=useCombinedRefs(T,D),L=Boolean(R),B=L&&!m&&isValidIndex(u)&&isValidIndex(y),N=!g&&I,V=N&&B?F:null,H=B?null!=V?V:(null!=s?s:x)({rects:f,activeNodeRect:E,activeIndex:u,overIndex:y,index:b}):null,z=isValidIndex(u)&&isValidIndex(y)?a({id:o,items:p,activeIndex:u,overIndex:y}):b,W=null==R?void 0:R.id,G=React.useRef({activeId:W,items:p,newIndex:z,containerId:c}),U=p!==G.current.items,q=t({active:R,containerId:c,isDragging:I,isSorting:L,id:o,index:b,items:p,newIndex:G.current.newIndex,previousItems:G.current.items,previousContainerId:G.current.containerId,transition:d,wasDragging:null!=G.current.activeId}),Y=useDerivedTransform({disabled:!q,index:b,node:$,rect:C});return React.useEffect((()=>{L&&G.current.newIndex!==z&&(G.current.newIndex=z),c!==G.current.containerId&&(G.current.containerId=c),p!==G.current.items&&(G.current.items=p)}),[L,z,c,p]),React.useEffect((()=>{if(W===G.current.activeId)return;if(W&&!G.current.activeId)return void(G.current.activeId=W);const e=setTimeout((()=>{G.current.activeId=W}),50);return()=>clearTimeout(e)}),[W]),{active:R,activeIndex:u,attributes:A,data:v,rect:C,index:b,newIndex:z,items:p,isOver:w,isSorting:L,isDragging:I,listeners:j,node:$,overIndex:y,over:P,setNodeRef:O,setActivatorNodeRef:M,setDroppableNodeRef:T,setDraggableNodeRef:D,transform:null!=Y?Y:H,transition:function(){if(Y||U&&G.current.newIndex===b)return disabledTransition;if(N&&!isKeyboardEvent(k)||!d)return;if(L||q)return CSS.Transition.toString({...d,property:transitionProperty});return}()}}function normalizeLocalDisabled(e,t){var r,i;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(i=null==e?void 0:e.droppable)?i:t.droppable}}function hasSortableData(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const directions=[KeyboardCode.Down,KeyboardCode.Right,KeyboardCode.Up,KeyboardCode.Left],sortableKeyboardCoordinates=(e,t)=>{let{context:{active:r,collisionRect:i,droppableRects:n,droppableContainers:a,over:o,scrollableAncestors:s}}=t;if(directions.includes(e.code)){if(e.preventDefault(),!r||!i)return;const t=[];a.getEnabled().forEach((r=>{if(!r||null!=r&&r.disabled)return;const a=n.get(r.id);if(a)switch(e.code){case KeyboardCode.Down:i.top<a.top&&t.push(r);break;case KeyboardCode.Up:i.top>a.top&&t.push(r);break;case KeyboardCode.Left:i.left>a.left&&t.push(r);break;case KeyboardCode.Right:i.left<a.left&&t.push(r)}}));const l=closestCorners({active:r,collisionRect:i,droppableRects:n,droppableContainers:t,pointerCoordinates:null});let d=getFirstCollision(l,"id");if(d===(null==o?void 0:o.id)&&l.length>1&&(d=l[1].id),null!=d){const e=a.get(r.id),t=a.get(d),o=t?n.get(t.id):null,l=null==t?void 0:t.node.current;if(l&&o&&e&&t){const r=getScrollableAncestors(l).some(((e,t)=>s[t]!==e)),n=isSameContainer(e,t),a=isAfter(e,t),d=r||!n?{x:0,y:0}:{x:a?i.width-o.width:0,y:a?i.height-o.height:0},p={x:o.left,y:o.top};return d.x&&d.y?p:subtract(p,d)}}}};function isSameContainer(e,t){return!(!hasSortableData(e)||!hasSortableData(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}function isAfter(e,t){return!(!hasSortableData(e)||!hasSortableData(t))&&(!!isSameContainer(e,t)&&e.data.current.sortable.index<t.data.current.sortable.index)}class MouseSensor extends MouseSensor$1{static activators=[{eventName:"onMouseDown",handler:({nativeEvent:e})=>shouldHandleEvent(e.target)}]}function shouldHandleEvent(e){let t=e;for(;t;){if(t.dataset&&t.dataset.noDnd)return!1;t=t.parentElement}return!0}var root$5=_root,now$1=function(){return root$5.Date.now()},now_1=now$1,reWhitespace=/\s/;function trimmedEndIndex$1(e){for(var t=e.length;t--&&reWhitespace.test(e.charAt(t)););return t}var _trimmedEndIndex=trimmedEndIndex$1,trimmedEndIndex=_trimmedEndIndex,reTrimStart=/^\s+/;function baseTrim$1(e){return e?e.slice(0,trimmedEndIndex(e)+1).replace(reTrimStart,""):e}var _baseTrim=baseTrim$1,baseTrim=_baseTrim,isObject$2=isObject_1,isSymbol=isSymbol_1,NAN=NaN,reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;function toNumber$2(e){if("number"==typeof e)return e;if(isSymbol(e))return NAN;if(isObject$2(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=isObject$2(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=baseTrim(e);var r=reIsBinary.test(e);return r||reIsOctal.test(e)?freeParseInt(e.slice(2),r?2:8):reIsBadHex.test(e)?NAN:+e}var toNumber_1=toNumber$2,isObject$1=isObject_1,now=now_1,toNumber$1=toNumber_1,FUNC_ERROR_TEXT="Expected a function",nativeMax$1=Math.max,nativeMin=Math.min;function debounce(e,t,r){var i,n,a,o,s,l,d=0,p=!1,c=!1,u=!0;if("function"!=typeof e)throw new TypeError(FUNC_ERROR_TEXT);function h(t){var r=i,a=n;return i=n=void 0,d=t,o=e.apply(a,r)}function m(e){var r=e-l;return void 0===l||r>=t||r<0||c&&e-d>=a}function f(){var e=now();if(m(e))return y(e);s=setTimeout(f,function(e){var r=t-(e-l);return c?nativeMin(r,a-(e-d)):r}(e))}function y(e){return s=void 0,u&&i?h(e):(i=n=void 0,o)}function g(){var e=now(),r=m(e);if(i=arguments,n=this,l=e,r){if(void 0===s)return function(e){return d=e,s=setTimeout(f,t),p?h(e):o}(l);if(c)return clearTimeout(s),s=setTimeout(f,t),h(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=toNumber$1(t)||0,isObject$1(r)&&(p=!!r.leading,a=(c="maxWait"in r)?nativeMax$1(toNumber$1(r.maxWait)||0,t):a,u="trailing"in r?!!r.trailing:u),g.cancel=function(){void 0!==s&&clearTimeout(s),d=0,i=l=n=s=void 0},g.flush=function(){return void 0===s?o:y(now())},g}var debounce_1=debounce;const visibilityStyle=(e,t)=>e?`\n\t\t\t${t}: 0;\n\t\t\topacity: 1;\n\t\t\ttransition: all 300ms cubic-bezier(0.21, 0.79, 0.53, 1);\n\t\t\ttransition-delay: 200ms;\n\t\t`:`\n\t\t${t}: -3%;\n\t\topacity: 0;\n\t\ttransition: all 300ms cubic-bezier(0.4, 0.34, 0.38, 1);\n\t`,Container$i=styled__default.default.div`
|
|
1533
1533
|
position: relative;
|
|
1534
1534
|
display: flex;
|
|
1535
1535
|
justify-content: center;
|
|
@@ -1641,7 +1641,13 @@ object-assign
|
|
|
1641
1641
|
background: none;
|
|
1642
1642
|
border: none;
|
|
1643
1643
|
padding: 0;
|
|
1644
|
-
`,
|
|
1644
|
+
`,ContentWrapper=styled__default.default.div`
|
|
1645
|
+
overflow-y: scroll;
|
|
1646
|
+
|
|
1647
|
+
::-webkit-scrollbar {
|
|
1648
|
+
display: none; /* Chrome/Safari/Webkit */
|
|
1649
|
+
}
|
|
1650
|
+
`,Popover=({children:e,visible:t,onMobileClose:r,...i})=>{const n=i["data-testid"]||"popover",[a,o]=React.useState("none"),s=React.useRef(null),l=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL}),d=React.useRef(a);React.useEffect((()=>(u(),window.addEventListener("resize",debounce_1(p,300)),()=>{window.removeEventListener("resize",debounce_1(p,300))})),[]);const p=()=>{u()},c=()=>{r&&r()},u=()=>{const e=h();var t;e&&(t=e,d.current=t,o(t))},h=()=>{if(s.current){const e=s.current.getBoundingClientRect(),t=24,r=e.y<t,i=window.innerWidth-t;return e.x<t?r?"top-left":"left":e.x+e.width>i?r?"top-right":"right":("top-left"===d.current||"left"===d.current)&&e.x-e.width/2>t||("top-right"===d.current||"right"===d.current)&&e.x+2*e.width<i?r?"top-center":"none":r?"top-center":void 0}},m=()=>"string"==typeof e?jsxRuntime.jsx(exports.Text.BodySmall,{children:e}):e;return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(BubbleWrap$1,{ref:s,"data-testid":n,$visible:t,$offset:a,...i,children:jsxRuntime.jsx(Card,{children:m()})}),l&&jsxRuntime.jsx(Modal$1,{show:t,onOverlayClick:c,children:jsxRuntime.jsx(MobileModalBox,{onClose:c,children:jsxRuntime.jsx(ContentWrapper,{children:m()})})})]})},withPopover=(e,t)=>r=>{const{onPopoverAppear:i,onPopoverDismiss:n,...a}=r,o=t.trigger||"click",s=a,[l,d]=React.useState(!1),p=React.useRef(),c=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL});React.useEffect((()=>{if(!c)return document.addEventListener("mousedown",u),()=>{document.removeEventListener("mousedown",u)}}),[l]);const u=e=>{p&&!p.current.contains(e.target)&&(l&&d(!1),n&&n())};return jsxRuntime.jsxs(HOCWrapper$1,{id:"popover-hoc-wrapper",ref:p,children:[jsxRuntime.jsx(HOCTrigger,{id:`popover-hoc-trigger${t["data-testid"]&&`-${t["data-testid"]}`}`,type:"button",onClick:e=>{e.preventDefault(),("click"===o||c)&&(d(!l),!l&&i&&i(),l&&n&&n())},onMouseEnter:()=>{"hover"!==o||c||d(!0)},onMouseLeave:()=>{"hover"===o&&l&&!c&&d(!1)},"aria-label":"popover-button",children:jsxRuntime.jsx(e,{...s})}),jsxRuntime.jsx(Popover,{visible:l,id:t.id,"data-testid":t["data-testid"],onMobileClose:()=>{d(!1)},children:t.content})]})},TriggerArea=styled__default.default.button`
|
|
1645
1651
|
padding: 0.25rem 0.5rem 0.25rem 0.25rem;
|
|
1646
1652
|
border: none;
|
|
1647
1653
|
background: none;
|
|
@@ -1724,7 +1730,7 @@ object-assign
|
|
|
1724
1730
|
`,ClearContainer=styled__default.default.button`
|
|
1725
1731
|
position: relative;
|
|
1726
1732
|
height: auto;
|
|
1727
|
-
padding: 0 1rem;
|
|
1733
|
+
padding: 0.75rem 1rem;
|
|
1728
1734
|
|
|
1729
1735
|
margin-right: -1rem; // offset the padding
|
|
1730
1736
|
cursor: pointer;
|
|
@@ -1997,7 +2003,7 @@ object-assign
|
|
|
1997
2003
|
height: 1.375rem;
|
|
1998
2004
|
width: 1.375rem;
|
|
1999
2005
|
color: ${Color.Neutral[3]};
|
|
2000
|
-
`,Component$c=(e,t)=>{const{onClear:r,...i}=e;return jsxRuntime.jsxs(Container$e,{children:[jsxRuntime.jsx(SearchIcon,{}),jsxRuntime.jsx(SearchInput,{ref:t,...i}),i.value&&jsxRuntime.jsx(CancelButton,{"aria-label":"Clear search",focusOutline:"browser",onClick:r,children:jsxRuntime.jsx(CancelIcon,{})})]},"search")},DropdownSearch=React.forwardRef(Component$c),DropdownList=({listItems:e,listExtractor:t,valueExtractor:r,onSelectItem:i,listStyleWidth:n,visible:a,enableSearch:o,searchPlaceholder:s="Search",onSearch:l,searchFunction:d,onDismiss:p,disableItemFocus:c,multiSelect:u,selectedItems:h,onSelectAll:m,onRetry:f,itemsLoadState:y="success",itemTruncationType:g="end",itemMaxLines:x=2,labelDisplayType:_="inline",renderListItem:b,onBlur:v,hideNoResultsDisplay:S,renderCustomCallToAction:C,...$})=>{const[w,T]=React.useState(0),[R,
|
|
2006
|
+
`,Component$c=(e,t)=>{const{onClear:r,...i}=e;return jsxRuntime.jsxs(Container$e,{children:[jsxRuntime.jsx(SearchIcon,{}),jsxRuntime.jsx(SearchInput,{ref:t,...i}),i.value&&jsxRuntime.jsx(CancelButton,{"aria-label":"Clear search",focusOutline:"browser",onClick:r,children:jsxRuntime.jsx(CancelIcon,{})})]},"search")},DropdownSearch=React.forwardRef(Component$c),DropdownList=({listItems:e,listExtractor:t,valueExtractor:r,onSelectItem:i,listStyleWidth:n,visible:a,enableSearch:o,searchPlaceholder:s="Search",onSearch:l,searchFunction:d,onDismiss:p,disableItemFocus:c,multiSelect:u,selectedItems:h,onSelectAll:m,onRetry:f,itemsLoadState:y="success",itemTruncationType:g="end",itemMaxLines:x=2,labelDisplayType:_="inline",renderListItem:b,onBlur:v,hideNoResultsDisplay:S,renderCustomCallToAction:C,...$})=>{const[w,T]=React.useState(0),[R,k]=React.useState(""),[E,A]=React.useState(e),[D,j]=React.useState(0),I=useSpring({height:D}),P=React.useRef(),M=React.useRef(),F=React.useRef([]),O=React.useRef(),L=React.useRef(),B=React.useRef(w),N=React.useRef(E),V=e=>{B.current=e,T(e)},H=e=>{N.current=e,A(e)};React.useEffect((()=>(document.addEventListener("keydown",Y),()=>{document.removeEventListener("keydown",Y)})),[]),React.useEffect((()=>{U(R)}),[R]),React.useEffect((()=>{if(k(""),a){if(setTimeout((()=>{j(q())})),c)return;O&&O.current?(O.current.focus(),V(-1)):F.current[w]&&F.current[w].focus()}else j(0)}),[a]),React.useEffect((()=>{if(a){const e=q();j(e)}}),[E,y]),React.useEffect((()=>{H(e),k(""),V(0)}),[e]);const z=e=>t?t(e):e.toString(),W=e=>{if("inline"!==_)return!1;let t=0;M&&M.current&&(t=M.current.getBoundingClientRect().width-60);return StringHelper.getTextWidth(e,"1.125rem 'Open Sans'")>t*x},G=e=>!!find_1(h,(t=>isEqual_1(t,e))),U=t=>{if(""===t)H(e);else if(d){const e=d(t);H(e)}else{const r=e.filter((e=>{const r=z(e),i="object"==typeof r?r.title.toLowerCase():r.toLowerCase(),n="string"==typeof r?void 0:r.secondaryLabel?.toLowerCase(),a=t.trim().toLowerCase();return i.includes(a)||n&&n.includes(a)}));H(r)}},q=()=>(M&&M.current?M.current.getBoundingClientRect().height:0)+(L.current?L.current.getBoundingClientRect().height:0),Y=e=>{if(P&&P.current.contains(e.target))switch(e.code){case"ArrowDown":if(B.current<N.current.length-1){const e=B.current+1;F.current[e].focus(),V(e)}break;case"ArrowUp":if(B.current>0){const e=B.current-1;F.current[e].focus(),V(B.current-1)}break;case"Escape":p&&p(!0)}},Q=(e,t)=>{e.preventDefault(),i&&i(t,(e=>r?r(e):e)(t))},K=e=>{const t=e.target.value;k(t),l&&l()},X=()=>{k(""),O.current.focus(),l&&l()},Z=()=>{f&&f()},J=()=>{v&&v()},ee=e=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(TruncateFirstLine,{$maxLines:x,"aria-hidden":!0,children:e}),jsxRuntime.jsx(TruncateSecondLine,{$maxLines:x,"aria-hidden":!0,children:e})]}),te=e=>{const t=z(e),r="string"==typeof t?t:t.title,i="string"==typeof t?void 0:t.secondaryLabel,n=W(r),a=i&&W(i),o=n||a?"next-line":_;return jsxRuntime.jsxs(Label$5,{$labelDisplayType:o,children:[jsxRuntime.jsx(PrimaryText,{$truncateType:g,$maxLines:x,"aria-label":r,children:"middle"===g&&n?ee(r):r}),i&&jsxRuntime.jsx(SecondaryText,{$truncateType:g,$maxLines:x,$labelDisplayType:_,"aria-label":i,children:"middle"===g&&a?ee(i):i})]})},re=()=>{if(!f||f&&"success"===y)return E.map(((e,i)=>jsxRuntime.jsx(ListItem,{$checked:G(e)&&!u,children:jsxRuntime.jsxs(ListItemSelector,{$hasNextLineLabel:"next-line"===_&&E.length>0&&t&&"string"!=typeof t(E[0]),onClick:t=>{Q(t,e)},ref:e=>F.current[i]=e,"data-testid":"list-item",type:"button",tabIndex:a?0:-1,$multiSelect:u,onBlur:J,children:[u&&jsxRuntime.jsx(ListCheckbox,{checked:G(e),displaySize:"small"}),b?b(e,{selected:G(e)}):te(e)]})},((e,t)=>`item_${t}__${r?r(e):e}`)(e,i))))},ie=()=>{if(u&&E.length>0&&!R&&"success"===y)return jsxRuntime.jsx(SelectAllContainer,{children:jsxRuntime.jsx(DropdownCommonButton,{onClick:m,type:"button",children:0===h.length?"Select all":"Unselect all"})},"selectAll")},ne=()=>{if(!S&&(R||!o)&&0===E.length&&"success"===y)return jsxRuntime.jsxs(ResultStateContainer,{"data-testid":"list-no-results",children:[jsxRuntime.jsx(LabelIcon,{"data-testid":"no-result-icon"}),jsxRuntime.jsx(ResultStateText,{children:"No results found."})]},"noResults")},ae=()=>{if(f&&"loading"===y)return jsxRuntime.jsxs(ResultStateContainer,{"data-testid":"list-loading",children:[jsxRuntime.jsx(Spinner,{$buttonStyle:"secondary",size:24}),jsxRuntime.jsx(ResultStateText,{children:"Loading..."})]},"loading")},oe=()=>{if(f&&"fail"===y)return jsxRuntime.jsxs(ResultStateContainer,{"data-testid":"list-fail",children:[jsxRuntime.jsx(LabelIcon,{"data-testid":"load-error-icon"}),jsxRuntime.jsx(ResultStateText,{children:"Failed to load."}),jsxRuntime.jsx(DropdownCommonButton,{onClick:Z,type:"button",children:"Try again."})]},"noResults")};return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(Container$f,{style:I,"data-testid":a?"dropdown-container":"dropdown-container-hidden",ref:P,children:[(()=>{if(a)return jsxRuntime.jsxs(List,{ref:M,"data-testid":"dropdown-list",width:n,role:"list",...$,children:[(o||d)&&"success"===y?jsxRuntime.jsx(DropdownSearch,{ref:O,onChange:K,value:R,placeholder:s,"data-testid":"search-input","aria-label":"search-input",tabIndex:a?0:-1,onClear:X}):null,ie(),ne(),ae(),oe(),re()]})})(),(()=>{if(a&&C)return jsxRuntime.jsx("div",{ref:L,"data-testid":"custom-cta",children:C(p,E)})})()]})})},useEventListener=(e,t,r="window",i)=>{const n=React.useRef();React.useEffect((()=>{n.current=t}),[t]),React.useEffect((()=>{let t;switch(r){case"window":t=window;break;case"document":t=document;break;default:t=r}if(!(t&&t.addEventListener))return;const a=e=>n.current(e);return t.addEventListener(e,a,i),()=>{t.removeEventListener(e,a,i)}}),[e,r])},BORDER_RADIUS$1="4px",Wrapper$j=styled__default.default.div`
|
|
2001
2007
|
position: relative;
|
|
2002
2008
|
min-height: 3rem;
|
|
2003
2009
|
height: 3rem; // Need this to persist the height when expanding or collapsing list
|
|
@@ -2182,7 +2188,19 @@ object-assign
|
|
|
2182
2188
|
`:styled.css`
|
|
2183
2189
|
margin: 0 0.75rem 0 0;
|
|
2184
2190
|
`}
|
|
2185
|
-
`,Component$b=({addon:e,error:t,onChange:r,readOnly:i,className:n,onBlur:a,...o},s)=>{const{placeholder:l,options:d,enableSearch:p,searchFunction:c,searchPlaceholder:u,valueExtractor:h,listExtractor:m,displayValueExtractor:f,selectedOption:y,onSelectOption:g,onHideOptions:x,onShowOptions:_,"data-selector-testid":b}=e.attributes,{position:v}=e,[S,C]=React.useState(y),[$,w]=React.useState(!1),T=React.useRef();React.useEffect((()=>{C(y)}),[y]);const R=()=>f?f(S):h?h(S):S.toString(),E=e=>{!e&&x&&x(),e&&_&&_()},k=e=>{e.preventDefault(),o.disabled||(w(!$),E(!$))},A=(e,t)=>{C(e),w(!1),E(!1),T&&T.current.focus(),g&&g(e,t)},D=e=>{r&&r(e)},j=()=>{a&&a()},I=()=>{w(!1),E(!1),T&&T.current.focus()};return jsxRuntime.jsxs(DropdownWrapper,{className:n,show:$,error:t&&!$,disabled:o.disabled,readOnly:i,onBlur:()=>{w(!1),E(!1),j()},children:[jsxRuntime.jsxs(DisplayContainer,{$expanded:$,$readOnly:i,$position:v,children:[i?S?jsxRuntime.jsx(SelectorReadOnly,{children:jsxRuntime.jsx(ValueLabel,{"data-testid":"selector-label",children:R()})}):null:jsxRuntime.jsx(Selector,{ref:T,type:"button",disabled:o.disabled,"data-testid":b||"addon-selector",onClick:k,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(LabelContainer$1,{children:[l&&!S&&jsxRuntime.jsx(PlaceholderLabel,{children:l}),S&&jsxRuntime.jsx(ValueLabel,{"data-testid":"selector-label",children:R()})]}),jsxRuntime.jsx(IconContainer$1,{$expanded:$,children:jsxRuntime.jsx(StyledChevronIcon,{})})]})}),jsxRuntime.jsx(Divider$2,{$readOnly:i,$position:v}),jsxRuntime.jsx(MainInput,{ref:s,...o,readOnly:i,error:t,onChange:D,"data-testid":o["data-testid"]||"input",onBlur:j})]}),d&&d.length>0?jsxRuntime.jsx(DropdownList,{listItems:d,selectedItems:y?[y]:[],onSelectItem:A,valueExtractor:h,listExtractor:m,visible:$,enableSearch:p,searchFunction:c,searchPlaceholder:u,"data-testid":"dropdown-list",onBlur:j,onDismiss:I}):null]})},InputGroupListAddon=React__default.default.forwardRef(Component$b),Component$a=({addon:e,error:t,className:r,...i},n)=>{const a=()=>jsxRuntime.jsx(Container$g,{disabled:i.disabled,$error:t,$readOnly:i.readOnly,"data-testid":i["data-testid"],className:r,children:jsxRuntime.jsx(MainInput,{ref:n,...i,"data-testid":"input"})});if(!e)return a();{const{type:o="label",position:s="left"}=e,{allowClear:l}=i;switch(o){case"list":{const o=e.attributes;return o.options&&o.options.length>0?jsxRuntime.jsx(InputGroupListAddon,{ref:n,addon:e,error:t,className:r,...i}):a()}case"custom":{const o=e.attributes;return o.children?jsxRuntime.jsxs(InputWrapper,{$error:t,$disabled:i.disabled,$readOnly:i.readOnly,"data-testid":i["data-testid"],$position:s,className:r,children:[jsxRuntime.jsx(AddOnContainer,{"data-testid":"addon",disabled:i.disabled,$readOnly:i.readOnly,$position:s,children:o.children}),jsxRuntime.jsx(MainInput,{ref:n,...i,allowClear:l&&"right"!==s,error:t,"data-testid":"input"})]}):a()}default:{const o=e.attributes;return o.value?jsxRuntime.jsxs(InputWrapper,{$disabled:i.disabled,$error:t,$readOnly:i.readOnly,"data-testid":i["data-testid"],$position:s,className:r,children:[jsxRuntime.jsx(AddOnContainer,{"data-testid":"addon",disabled:i.disabled,$readOnly:i.readOnly,$position:s,children:o.value}),jsxRuntime.jsx(MainInput,{ref:n,...i,allowClear:l&&"right"!==s,error:t,"data-testid":"input"})]}):a()}}}},InputGroup=React__default.default.forwardRef(Component$a),Component$9=(e,t)=>{const{label:r,errorMessage:i,id:n="form-field-group","data-error-testid":a,"data-testid":o,...s}=e;return jsxRuntime.jsx(FormWrapper,{id:n,label:r,errorMessage:i,disabled:s.disabled,"data-error-testid":a,children:jsxRuntime.jsx(InputGroup,{ref:t,id:`${n}-base`,"data-testid":o||n,error:!!i,...s})})},FormInputGroup=React__default.default.forwardRef(Component$9),InputMultiSelect=({selectedOptions:e,placeholder:t="Select",options:r,className:i,disabled:n,error:a,"data-testid":o,enableSearch:s=!1,searchFunction:l,searchPlaceholder:d,valueExtractor:p,listExtractor:c,onSelectOptions:u,listStyleWidth:h,onShowOptions:m,onHideOptions:f,onRetry:y,optionsLoadState:g="success",optionTruncationType:x="end",..._})=>{const[b,v]=React.useState(e||[]),[S,C]=React.useState(!1),$=React.useRef();React.useEffect((()=>{v(e||[])}),[e]);const w=(e,t)=>{const r=[...b],i=findIndex_1(b,(e=>(p?p(e):e)===t));i>-1?r.splice(i,1):r.push(e),v(r),E(!1),$&&$.current.focus(),k(r)},T=()=>{S&&(C(!1),E(!1)),$&&$.current.focus()},R=()=>{b&&b.length>0?(v([]),k([])):(v(r),k(r))},E=e=>{!e&&f&&f(),e&&m&&m()},k=e=>{u&&u(e)};return jsxRuntime.jsxs(DropdownWrapper,{show:S,error:a&&!S,disabled:n,testId:o,className:i,onBlur:()=>{C(!1),E(!1)},children:[jsxRuntime.jsx(Selector$1,{ref:$,type:"button","data-testid":"selector",onClick:e=>{e.preventDefault(),n||(C(!S),E(!S))},..._,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(LabelContainer$2,{children:b&&0!==b.length?jsxRuntime.jsx(ValueLabel$1,{children:b&&0!=b.length?`${b.length} selected`:t}):jsxRuntime.jsx(PlaceholderLabel$1,{truncateType:x,children:t})}),jsxRuntime.jsx(IconContainer$2,{expanded:S,children:jsxRuntime.jsx(StyledChevronIcon$1,{})})]})}),S&&jsxRuntime.jsx(Divider$3,{}),r&&r.length>0||y?jsxRuntime.jsx(DropdownList,{listItems:r,onSelectItem:w,onDismiss:T,valueExtractor:p,listExtractor:c,listStyleWidth:h,visible:S,enableSearch:s,searchFunction:l,searchPlaceholder:d,"data-testid":"dropdown-list",multiSelect:!0,selectedItems:b,onSelectAll:R,onRetry:y,itemsLoadState:g,itemTruncationType:x}):null]})},FormMultiSelect=({label:e,errorMessage:t,id:r="form-multi-select","data-error-testid":i,"data-testid":n,enableSearch:a=!1,...o})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:o.disabled,children:jsxRuntime.jsx(InputMultiSelect,{id:`${r}-base`,"data-testid":n||r,error:!!t,enableSearch:a,...o})});function arrayReduce$2(e,t,r,i){var n=-1,a=null==e?0:e.length;for(i&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r}var _arrayReduce=arrayReduce$2;function createBaseFor$1(e){return function(t,r,i){for(var n=-1,a=Object(t),o=i(t),s=o.length;s--;){var l=o[e?s:++n];if(!1===r(a[l],l,a))break}return t}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$1=createBaseFor(),_baseFor=baseFor$1,baseFor=_baseFor,keys=keys_1;function baseForOwn$1(e,t){return e&&baseFor(e,t,keys)}var _baseForOwn=baseForOwn$1,isArrayLike=isArrayLike_1;function createBaseEach$1(e,t){return function(r,i){if(null==r)return r;if(!isArrayLike(r))return e(r,i);for(var n=r.length,a=t?n:-1,o=Object(r);(t?a--:++a<n)&&!1!==i(o[a],a,o););return r}}var _createBaseEach=createBaseEach$1,baseForOwn=_baseForOwn,createBaseEach=_createBaseEach,baseEach$1=createBaseEach(baseForOwn),_baseEach=baseEach$1;function baseReduce$1(e,t,r,i,n){return n(e,(function(e,n,a){r=i?(i=!1,e):t(r,e,n,a)})),r}var _baseReduce=baseReduce$1,arrayReduce$1=_arrayReduce,baseEach=_baseEach,baseIteratee=_baseIteratee,baseReduce=_baseReduce,isArray=isArray_1;function reduce(e,t,r){var i=isArray(e)?arrayReduce$1:baseReduce,n=arguments.length<3;return i(e,baseIteratee(t),r,n,baseEach)}var reduce_1=reduce;const CountryData=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........"],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ...."],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ... ...."],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599",""],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86",".. ........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506",".... ...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599",""],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1",""],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503",".... ...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502",".... ...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509",".... ...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91","..... ....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... ......."],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ... .. .."],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60",".. .... ...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ...."],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) .. .. .."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","... ... ...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","... ......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","... ... ..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1",""],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ... .. .."],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65",".... ...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ... ..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ... ...."],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ...."],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],defaultMask="... ... ... ... ..",prefix="+",getMask=(e,t,r,i)=>r?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+i;var PhoneNumberInputHelper;!function(e){e.getCountries=()=>[].concat(...CountryData.map((e=>({name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],format:getMask(prefix,e[3],e[4],defaultMask)})))),e.formatNumber=(e="",t)=>{if(!t)return e;const r=e.replace(/[\s()]+/g,""),{format:i}=t,n=i.split(" ");n.shift();const a=n.join(" ");return reduce_1(a,((e,t)=>{if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};const[r,...i]=e.remainingText;return{formattedText:e.formattedText+r,remainingText:i}}),{formattedText:"",remainingText:r}).formattedText}}(PhoneNumberInputHelper||(PhoneNumberInputHelper={}));const PhoneNumberInput=({onChange:e,value:t,allowClear:r,onClear:i,onBlur:n,error:a,fixedCountry:o=!1,optionPlaceholder:s="Select",optionSearchPlaceholder:l,enableSearch:d,onHideOptions:p,onShowOptions:c,placeholder:u,...h})=>{const[m]=React.useState(PhoneNumberInputHelper.getCountries()),[f,y]=React.useState(void 0),[g,x]=React.useState(""),_=React.useRef(),b=useNextInputState({ref:_,formatter:e=>PhoneNumberInputHelper.formatNumber(e.replace(/[^0-9]/g,""),f)});React.useEffect((()=>{const e=m.filter((e=>e.countryCode===normaliseCountryCode(t?.countryCode)))[0];y(e),x(PhoneNumberInputHelper.formatNumber(t?.number,e))}),[t]);const v=t=>{C(g,t),e&&S(g,t)},S=(t,r)=>{const i=PhoneNumberInputHelper.formatNumber(t,r);e({number:i.replace(/[\s()]+/g,""),countryCode:r&&addPlusPrefix(r.countryCode)})},C=(e,t)=>{x(PhoneNumberInputHelper.formatNumber(e,t)),y(t)};return jsxRuntime.jsx(InputGroup,{ref:_,value:g,onChange:()=>{const{nextValue:t,updateCaretPosition:r}=b();r(),C(t,f),e&&S(t,f)},allowClear:r&&!!g,onClear:()=>{i?i():x("")},onBlur:n,error:a,placeholder:u,addon:o?{type:"label",attributes:{value:addPlusPrefix(f?.countryCode)}}:{type:"list",attributes:{placeholder:s,options:m,selectedOption:f,enableSearch:d,searchPlaceholder:l,valueExtractor:e=>`+${e.countryCode}`,listExtractor:e=>({title:e.name,secondaryLabel:addPlusPrefix(e.countryCode)}),onSelectOption:v,onHideOptions:p,onShowOptions:c}},inputMode:"numeric",...h})},normaliseCountryCode=e=>e?e.replace("+",""):"",addPlusPrefix=e=>e?e.includes("+")?e:`+${e}`:"",FormPhoneNumberInput=({label:e,errorMessage:t,id:r="form-phone-number-input","data-error-testid":i,"data-testid":n,...a})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:a.disabled,children:jsxRuntime.jsx(PhoneNumberInput,{id:`${r}-base`,"data-testid":n||r,error:!!t,...a})}),PredictiveTextInput=({className:e,"data-testid":t,selectedOption:r,minimumCharacters:i=3,fetchOptions:n,placeholder:a="Enter here...",readOnly:o=!1,disabled:s=!1,error:l,valueExtractor:d,listExtractor:p,displayValueExtractor:c=(e=>e.toString()),onSelectOption:u})=>{const h=r&&c(r),[m,f]=React.useState(h||""),[y,g]=React.useState(h||""),[x,_]=React.useState([]),[b,v]=React.useState(!0),[S,C]=React.useState(!1),[$,w]=React.useState(!!r),[T,R]=React.useState(r),E=React.useRef(n),k=async e=>{C(!1),v(!0);try{const t=await E.current(e);g(e),_(t),v(!1)}catch{C(!0)}},A=React.useCallback(debounce_1((e=>k(e)),500,{leading:!1,trailing:!0}),[]);React.useEffect((()=>{E.current=n}),[n]),React.useEffect((()=>{m&&m.length>=i&&m!==y?A(m):A.cancel(),""===m&&T&&(u&&u(void 0,void 0),I(),R(void 0)),r&&m!==c(r)&&w(!1)}),[m,r]),React.useEffect((()=>{r&&(f(c(r)),I(r),R(r))}),[r]);const D=e=>{f(e.target.value)},j=(e,t)=>{u&&u(e,t)},I=e=>{g(e?c(e):""),w(!!e),_([]),v(!0)},P=()=>{f(""),u&&u(void 0,void 0),I()},M=()=>m&&m.length>=i&&!$,F=e=>d?d(e):e,O=()=>jsxRuntime.jsx(Input$3,{type:"text",value:m,onChange:D,placeholder:a,readOnly:o,disabled:s,allowClear:!0,onClear:P,styleType:"no-border"});return jsxRuntime.jsxs(DropdownWrapper,{className:e,show:M(),error:l&&!M(),disabled:s,readOnly:o,testId:t,onBlur:()=>{$||T?(I(T),f(c(T)),u&&u(T,F(T)),R(T)):P()},children:[o?jsxRuntime.jsx(jsxRuntime.Fragment,{children:O()}):jsxRuntime.jsx(SelectorDiv,{children:O()}),!o&&M()&&jsxRuntime.jsx(Divider$3,{}),jsxRuntime.jsx(DropdownList,{listItems:x,onSelectItem:j,valueExtractor:d,listExtractor:p,itemsLoadState:S?"fail":b?"loading":"success",visible:M(),disableItemFocus:!0,onRetry:()=>k(m),itemTruncationType:"end",itemMaxLines:1,labelDisplayType:"next-line"})]})},FormPredictiveTextInput=({label:e,errorMessage:t,id:r="form-predictive-text","data-error-testid":i,"data-testid":n,...a})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:a.disabled,children:jsxRuntime.jsx(PredictiveTextInput,{id:`${r}-base`,"data-testid":n||r,error:!!t,...a})}),InputRangeSelect=({selectedOptions:e,placeholders:t={from:"Select",to:"Select"},options:r,disabled:i,className:n,readOnly:a,error:o,"data-testid":s,id:l,enableSearch:d=!1,searchFunction:p,searchPlaceholder:c,valueExtractor:u,valueToStringFunction:h,listExtractor:m,displayValueExtractor:f,onSelectOption:y,listStyleWidth:g,onShowOptions:x,onHideOptions:_,onRetry:b,optionsLoadState:v={from:"success",to:"success"},optionTruncationType:S="middle",renderCustomSelectedOption:C,renderListItem:$,renderCustomCallToAction:w,...T})=>{const[R,E]=React.useState(),[k,A]=React.useState(),D=React.useRef(),j={from:React.useRef(),to:React.useRef()},[I,P]=React.useState("none");React.useEffect((()=>{E(e?.from),A(e?.to)}),[e]);const M=e=>t=>{t.stopPropagation(),t.preventDefault(),i||a||P("from"===e?"from":"to"===e&&R?"to":"from")},F=e=>{const t="from"===e?R:k;return f?f(t):u?u(t):t?.toString()},O=(e,t)=>{if("middle"===S){let r=0;return j[e]&&j[e].current&&(r=j[e].current.getBoundingClientRect().width),StringHelper.truncateOneLine((e=>"string"==typeof e?e:h(e)||e.toString())(t),r,120,8)}return t},L=e=>{!e&&_&&_(),e&&x&&x()},B=e=>{const r="from"===e?R:k;return r?C?C(r):jsxRuntime.jsx(ValueLabel$1,{truncateType:S,children:O(e,F(e))}):jsxRuntime.jsx(PlaceholderLabel$1,{truncateType:S,children:O(e,t[e])})},N=e=>jsxRuntime.jsx(LabelContainer$2,{onClick:M(e),ref:j[e],children:B(e)});return jsxRuntime.jsxs(DropdownWrapper,{show:"none"!==I,"data-testid":T["data-testid"],error:o&&!("none"!==I),disabled:i,readOnly:a,testId:s,onBlur:()=>{L(!1),P("none"),R&&k||(A(void 0),E(void 0))},className:n,children:[jsxRuntime.jsx(Selector$1,{type:"button","data-testid":l||"selector",disabled:i,ref:D,onClick:M(),...T,children:jsxRuntime.jsxs(RangeInputInnerContainer,{currentActive:(()=>{switch(I){case"from":return"start";case"to":return"end";case"none":return I}})(),children:[N("from"),N("to")]})}),"none"!==I&&jsxRuntime.jsx(Divider$3,{}),(()=>{if("none"===I)return null;const e=r[I];if(e&&e.length>0){const t="from"===I?R:k;return jsxRuntime.jsx(DropdownList,{listItems:e,onSelectItem:(e,t)=>{return r=e,i=t,"from"===(n=I)?E(r):A(r),L(!1),D&&D.current.focus(),y&&y({[n]:r},i),void("from"===n?(A(void 0),P("to"),L(!0)):P("none"));var r,i,n},onDismiss:()=>(P("none"),L(!1),D&&D.current.focus(),void(R&&k||(A(void 0),E(void 0)))),valueExtractor:u,listExtractor:m,listStyleWidth:g,visible:!0,enableSearch:d,searchPlaceholder:c,searchFunction:p,"data-testid":`${I}-dropdown-list`,selectedItems:t?[t]:[],onRetry:b,itemsLoadState:v[I],itemTruncationType:S,renderListItem:$,renderCustomCallToAction:w})}return null})()]})},FormRangeSelect=({label:e,errorMessage:t,id:r="form-select","data-error-testid":i,"data-testid":n,enableSearch:a=!1,...o})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:o.disabled,children:jsxRuntime.jsx(InputRangeSelect,{id:`${r}-base`,"data-testid":n||r,error:!!t,enableSearch:a,...o})}),InputSelect=({selectedOption:e,placeholder:t="Select",options:r,disabled:i,error:n,className:a,"data-testid":o,id:s,enableSearch:l=!1,searchFunction:d,searchPlaceholder:p,valueExtractor:c,valueToStringFunction:u,listExtractor:h,displayValueExtractor:m,onSelectOption:f,listStyleWidth:y,onShowOptions:g,onHideOptions:x,onRetry:_,optionsLoadState:b="success",optionTruncationType:v="end",renderCustomSelectedOption:S,renderListItem:C,hideNoResultsDisplay:$,renderCustomCallToAction:w,...T})=>{const[R,E]=React.useState(e),[k,A]=React.useState(!1),D=React.useRef(),j=React.useRef();React.useEffect((()=>{E(e)}),[e]);const I=(e,t)=>{E(e),A(!1),F(!1),D&&D.current.focus(),f&&f(e,t)},P=e=>{k&&(A(!1),F(!1)),e&&D&&D.current.focus()},M=e=>{if("middle"===v){let t=0;return j&&j.current&&(t=j.current.getBoundingClientRect().width),StringHelper.truncateOneLine((e=>"string"==typeof e?e:u(e)||e.toString())(e),t,120,8)}return e},F=e=>{!e&&x&&x(),e&&g&&g()};return jsxRuntime.jsxs(DropdownWrapper,{className:a,show:k,error:n&&!k,disabled:i,readOnly:T.readOnly,testId:o,onBlur:()=>{A(!1),F(!1)},children:[jsxRuntime.jsx(Selector$1,{ref:D,type:"button","data-testid":s||"selector",disabled:i,onClick:e=>{e.preventDefault(),i||T.readOnly||(A(!k),F(!k))},...T,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(LabelContainer$2,{ref:j,children:R?S?S(R):jsxRuntime.jsx(ValueLabel$1,{truncateType:v,children:M(m?m(R):c?c(R):R.toString())}):jsxRuntime.jsx(PlaceholderLabel$1,{truncateType:v,children:t})}),!T.readOnly&&jsxRuntime.jsx(IconContainer$2,{expanded:k,children:jsxRuntime.jsx(StyledChevronIcon$1,{})})]})}),k&&jsxRuntime.jsx(Divider$3,{}),r&&r.length>0?jsxRuntime.jsx(DropdownList,{listItems:r,onSelectItem:I,onDismiss:P,valueExtractor:c,listExtractor:h,listStyleWidth:y,visible:k,enableSearch:l,searchPlaceholder:p,searchFunction:d,"data-testid":"dropdown-list",selectedItems:R?[R]:[],onRetry:_,itemsLoadState:b,itemTruncationType:v,renderListItem:C,hideNoResultsDisplay:$,renderCustomCallToAction:w}):null]})},FormSelect=({label:e,errorMessage:t,id:r="form-select","data-error-testid":i,"data-testid":n,enableSearch:a=!1,...o})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:o.disabled,children:jsxRuntime.jsx(InputSelect,{id:`${r}-base`,"data-testid":n||r,error:!!t,enableSearch:a,...o})}),CounterLabel=styled__default.default(exports.Text.H6)`
|
|
2191
|
+
`,Component$b=({addon:e,error:t,onChange:r,readOnly:i,className:n,onBlur:a,...o},s)=>{const{placeholder:l,options:d,enableSearch:p,searchFunction:c,searchPlaceholder:u,valueExtractor:h,listExtractor:m,displayValueExtractor:f,selectedOption:y,onSelectOption:g,onHideOptions:x,onShowOptions:_,"data-selector-testid":b}=e.attributes,{position:v}=e,[S,C]=React.useState(y),[$,w]=React.useState(!1),T=React.useRef();React.useEffect((()=>{C(y)}),[y]);const R=()=>f?f(S):h?h(S):S.toString(),k=e=>{!e&&x&&x(),e&&_&&_()},E=e=>{e.preventDefault(),o.disabled||(w(!$),k(!$))},A=(e,t)=>{C(e),w(!1),k(!1),T&&T.current.focus(),g&&g(e,t)},D=e=>{r&&r(e)},j=()=>{a&&a()},I=()=>{w(!1),k(!1),T&&T.current.focus()};return jsxRuntime.jsxs(DropdownWrapper,{className:n,show:$,error:t&&!$,disabled:o.disabled,readOnly:i,onBlur:()=>{w(!1),k(!1),j()},children:[jsxRuntime.jsxs(DisplayContainer,{$expanded:$,$readOnly:i,$position:v,children:[i?S?jsxRuntime.jsx(SelectorReadOnly,{children:jsxRuntime.jsx(ValueLabel,{"data-testid":"selector-label",children:R()})}):null:jsxRuntime.jsx(Selector,{ref:T,type:"button",disabled:o.disabled,"data-testid":b||"addon-selector",onClick:E,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(LabelContainer$1,{children:[l&&!S&&jsxRuntime.jsx(PlaceholderLabel,{children:l}),S&&jsxRuntime.jsx(ValueLabel,{"data-testid":"selector-label",children:R()})]}),jsxRuntime.jsx(IconContainer$1,{$expanded:$,children:jsxRuntime.jsx(StyledChevronIcon,{})})]})}),jsxRuntime.jsx(Divider$2,{$readOnly:i,$position:v}),jsxRuntime.jsx(MainInput,{ref:s,...o,readOnly:i,error:t,onChange:D,"data-testid":o["data-testid"]||"input",onBlur:j})]}),d&&d.length>0?jsxRuntime.jsx(DropdownList,{listItems:d,selectedItems:y?[y]:[],onSelectItem:A,valueExtractor:h,listExtractor:m,visible:$,enableSearch:p,searchFunction:c,searchPlaceholder:u,"data-testid":"dropdown-list",onBlur:j,onDismiss:I}):null]})},InputGroupListAddon=React__default.default.forwardRef(Component$b),Component$a=({addon:e,error:t,className:r,...i},n)=>{const a=()=>jsxRuntime.jsx(Container$g,{disabled:i.disabled,$error:t,$readOnly:i.readOnly,"data-testid":i["data-testid"],className:r,children:jsxRuntime.jsx(MainInput,{ref:n,...i,"data-testid":"input"})});if(!e)return a();{const{type:o="label",position:s="left"}=e,{allowClear:l}=i;switch(o){case"list":{const o=e.attributes;return o.options&&o.options.length>0?jsxRuntime.jsx(InputGroupListAddon,{ref:n,addon:e,error:t,className:r,...i}):a()}case"custom":{const o=e.attributes;return o.children?jsxRuntime.jsxs(InputWrapper,{$error:t,$disabled:i.disabled,$readOnly:i.readOnly,"data-testid":i["data-testid"],$position:s,className:r,children:[jsxRuntime.jsx(AddOnContainer,{"data-testid":"addon",disabled:i.disabled,$readOnly:i.readOnly,$position:s,children:o.children}),jsxRuntime.jsx(MainInput,{ref:n,...i,allowClear:l&&"right"!==s,error:t,"data-testid":"input"})]}):a()}default:{const o=e.attributes;return o.value?jsxRuntime.jsxs(InputWrapper,{$disabled:i.disabled,$error:t,$readOnly:i.readOnly,"data-testid":i["data-testid"],$position:s,className:r,children:[jsxRuntime.jsx(AddOnContainer,{"data-testid":"addon",disabled:i.disabled,$readOnly:i.readOnly,$position:s,children:o.value}),jsxRuntime.jsx(MainInput,{ref:n,...i,allowClear:l&&"right"!==s,error:t,"data-testid":"input"})]}):a()}}}},InputGroup=React__default.default.forwardRef(Component$a),Component$9=(e,t)=>{const{label:r,errorMessage:i,id:n="form-field-group","data-error-testid":a,"data-testid":o,...s}=e;return jsxRuntime.jsx(FormWrapper,{id:n,label:r,errorMessage:i,disabled:s.disabled,"data-error-testid":a,children:jsxRuntime.jsx(InputGroup,{ref:t,id:`${n}-base`,"data-testid":o||n,error:!!i,...s})})},FormInputGroup=React__default.default.forwardRef(Component$9),InputMultiSelect=({selectedOptions:e,placeholder:t="Select",options:r,className:i,disabled:n,error:a,"data-testid":o,enableSearch:s=!1,searchFunction:l,searchPlaceholder:d,valueExtractor:p,listExtractor:c,onSelectOptions:u,listStyleWidth:h,onShowOptions:m,onHideOptions:f,onRetry:y,optionsLoadState:g="success",optionTruncationType:x="end",..._})=>{const[b,v]=React.useState(e||[]),[S,C]=React.useState(!1),$=React.useRef();React.useEffect((()=>{v(e||[])}),[e]);const w=(e,t)=>{const r=[...b],i=findIndex_1(b,(e=>(p?p(e):e)===t));i>-1?r.splice(i,1):r.push(e),v(r),k(!1),$&&$.current.focus(),E(r)},T=()=>{S&&(C(!1),k(!1)),$&&$.current.focus()},R=()=>{b&&b.length>0?(v([]),E([])):(v(r),E(r))},k=e=>{!e&&f&&f(),e&&m&&m()},E=e=>{u&&u(e)};return jsxRuntime.jsxs(DropdownWrapper,{show:S,error:a&&!S,disabled:n,testId:o,className:i,onBlur:()=>{C(!1),k(!1)},children:[jsxRuntime.jsx(Selector$1,{ref:$,type:"button","data-testid":"selector",onClick:e=>{e.preventDefault(),n||(C(!S),k(!S))},..._,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(LabelContainer$2,{children:b&&0!==b.length?jsxRuntime.jsx(ValueLabel$1,{children:b&&0!=b.length?r&&b.length===r.length?"All selected":`${b.length} selected`:t}):jsxRuntime.jsx(PlaceholderLabel$1,{truncateType:x,children:t})}),jsxRuntime.jsx(IconContainer$2,{expanded:S,children:jsxRuntime.jsx(StyledChevronIcon$1,{})})]})}),S&&jsxRuntime.jsx(Divider$3,{}),r&&r.length>0||y?jsxRuntime.jsx(DropdownList,{listItems:r,onSelectItem:w,onDismiss:T,valueExtractor:p,listExtractor:c,listStyleWidth:h,visible:S,enableSearch:s,searchFunction:l,searchPlaceholder:d,"data-testid":"dropdown-list",multiSelect:!0,selectedItems:b,onSelectAll:R,onRetry:y,itemsLoadState:g,itemTruncationType:x}):null]})},FormMultiSelect=({label:e,errorMessage:t,id:r="form-multi-select","data-error-testid":i,"data-testid":n,enableSearch:a=!1,...o})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:o.disabled,children:jsxRuntime.jsx(InputMultiSelect,{id:`${r}-base`,"data-testid":n||r,error:!!t,enableSearch:a,...o})});function arrayReduce$2(e,t,r,i){var n=-1,a=null==e?0:e.length;for(i&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r}var _arrayReduce=arrayReduce$2;function createBaseFor$1(e){return function(t,r,i){for(var n=-1,a=Object(t),o=i(t),s=o.length;s--;){var l=o[e?s:++n];if(!1===r(a[l],l,a))break}return t}}var _createBaseFor=createBaseFor$1,createBaseFor=_createBaseFor,baseFor$1=createBaseFor(),_baseFor=baseFor$1,baseFor=_baseFor,keys=keys_1;function baseForOwn$1(e,t){return e&&baseFor(e,t,keys)}var _baseForOwn=baseForOwn$1,isArrayLike=isArrayLike_1;function createBaseEach$1(e,t){return function(r,i){if(null==r)return r;if(!isArrayLike(r))return e(r,i);for(var n=r.length,a=t?n:-1,o=Object(r);(t?a--:++a<n)&&!1!==i(o[a],a,o););return r}}var _createBaseEach=createBaseEach$1,baseForOwn=_baseForOwn,createBaseEach=_createBaseEach,baseEach$1=createBaseEach(baseForOwn),_baseEach=baseEach$1;function baseReduce$1(e,t,r,i,n){return n(e,(function(e,n,a){r=i?(i=!1,e):t(r,e,n,a)})),r}var _baseReduce=baseReduce$1,arrayReduce$1=_arrayReduce,baseEach=_baseEach,baseIteratee=_baseIteratee,baseReduce=_baseReduce,isArray=isArray_1;function reduce(e,t,r){var i=isArray(e)?arrayReduce$1:baseReduce,n=arguments.length<3;return i(e,baseIteratee(t),r,n,baseEach)}var reduce_1=reduce;const CountryData=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........"],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ...."],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ... ...."],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599",""],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86",".. ........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506",".... ...."],["Côte d’Ivoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Curaçao",["america","carribean"],"cw","599",""],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1",""],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503",".... ...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502",".... ...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509",".... ...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91","..... ....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... ......."],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ... .. .."],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60",".. .... ...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ...."],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) .. .. .."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","... ... ...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","... ......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","... ... ..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1",""],["Qatar",["middle-east"],"qa","974"],["Réunion",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ... .. .."],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["São Tomé and Príncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65",".... ...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["Somalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ... ..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ... ...."],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ...."],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],defaultMask="... ... ... ... ..",prefix="+",getMask=(e,t,r,i)=>r?e+"".padEnd(t.length,".")+" "+r:e+"".padEnd(t.length,".")+" "+i;var PhoneNumberInputHelper;!function(e){e.getCountries=()=>[].concat(...CountryData.map((e=>({name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],format:getMask(prefix,e[3],e[4],defaultMask)})))),e.formatNumber=(e="",t)=>{if(!t)return e;const r=e.replace(/[\s()]+/g,""),{format:i}=t,n=i.split(" ");n.shift();const a=n.join(" ");return reduce_1(a,((e,t)=>{if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};const[r,...i]=e.remainingText;return{formattedText:e.formattedText+r,remainingText:i}}),{formattedText:"",remainingText:r}).formattedText}}(PhoneNumberInputHelper||(PhoneNumberInputHelper={}));const PhoneNumberInput=({onChange:e,value:t,allowClear:r,onClear:i,onBlur:n,error:a,fixedCountry:o=!1,optionPlaceholder:s="Select",optionSearchPlaceholder:l,enableSearch:d,onHideOptions:p,onShowOptions:c,placeholder:u,...h})=>{const[m]=React.useState(PhoneNumberInputHelper.getCountries()),[f,y]=React.useState(void 0),[g,x]=React.useState(""),_=React.useRef(),b=useNextInputState({ref:_,formatter:e=>PhoneNumberInputHelper.formatNumber(e.replace(/[^0-9]/g,""),f)});React.useEffect((()=>{const e=m.filter((e=>e.countryCode===normaliseCountryCode(t?.countryCode)))[0];y(e),x(PhoneNumberInputHelper.formatNumber(t?.number,e))}),[t]);const v=t=>{C(g,t),e&&S(g,t)},S=(t,r)=>{const i=PhoneNumberInputHelper.formatNumber(t,r);e({number:i.replace(/[\s()]+/g,""),countryCode:r&&addPlusPrefix(r.countryCode)})},C=(e,t)=>{x(PhoneNumberInputHelper.formatNumber(e,t)),y(t)};return jsxRuntime.jsx(InputGroup,{ref:_,value:g,onChange:()=>{const{nextValue:t,updateCaretPosition:r}=b();r(),C(t,f),e&&S(t,f)},allowClear:r&&!!g,onClear:()=>{i?i():x("")},onBlur:n,error:a,placeholder:u,addon:o?{type:"label",attributes:{value:addPlusPrefix(f?.countryCode)}}:{type:"list",attributes:{placeholder:s,options:m,selectedOption:f,enableSearch:d,searchPlaceholder:l,valueExtractor:e=>`+${e.countryCode}`,listExtractor:e=>({title:e.name,secondaryLabel:addPlusPrefix(e.countryCode)}),onSelectOption:v,onHideOptions:p,onShowOptions:c}},inputMode:"numeric",...h})},normaliseCountryCode=e=>e?e.replace("+",""):"",addPlusPrefix=e=>e?e.includes("+")?e:`+${e}`:"",FormPhoneNumberInput=({label:e,errorMessage:t,id:r="form-phone-number-input","data-error-testid":i,"data-testid":n,...a})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:a.disabled,children:jsxRuntime.jsx(PhoneNumberInput,{id:`${r}-base`,"data-testid":n||r,error:!!t,...a})}),PredictiveTextInput=({className:e,"data-testid":t,selectedOption:r,minimumCharacters:i=3,fetchOptions:n,placeholder:a="Enter here...",readOnly:o=!1,disabled:s=!1,error:l,valueExtractor:d,listExtractor:p,displayValueExtractor:c=(e=>e.toString()),onSelectOption:u})=>{const h=r&&c(r),[m,f]=React.useState(h||""),[y,g]=React.useState(h||""),[x,_]=React.useState([]),[b,v]=React.useState(!0),[S,C]=React.useState(!1),[$,w]=React.useState(!!r),[T,R]=React.useState(r),k=React.useRef(n),E=async e=>{C(!1),v(!0);try{const t=await k.current(e);g(e),_(t),v(!1)}catch{C(!0)}},A=React.useCallback(debounce_1((e=>E(e)),500,{leading:!1,trailing:!0}),[]);React.useEffect((()=>{k.current=n}),[n]),React.useEffect((()=>{m&&m.length>=i&&m!==y?A(m):A.cancel(),""===m&&T&&(u&&u(void 0,void 0),I(),R(void 0)),r&&m!==c(r)&&w(!1)}),[m,r]),React.useEffect((()=>{f(r?c(r):""),I(r),R(r)}),[r]);const D=e=>{f(e.target.value)},j=(e,t)=>{u&&u(e,t)},I=e=>{g(e?c(e):""),w(!!e),_([]),v(!0)},P=()=>{f(""),u&&u(void 0,void 0),I()},M=()=>{$||T?(I(T),f(c(T)),u&&u(T,O(T)),R(T)):P()},F=()=>m&&m.length>=i&&!$,O=e=>d?d(e):e,L=()=>jsxRuntime.jsx(Input$3,{type:"text",value:m,onChange:D,placeholder:a,readOnly:o,disabled:s,allowClear:!0,onClear:P,styleType:"no-border",onBlur:m.length<i?M:void 0});return jsxRuntime.jsxs(DropdownWrapper,{className:e,show:F(),error:l&&!F(),disabled:s,readOnly:o,testId:t,onBlur:M,children:[o?jsxRuntime.jsx(jsxRuntime.Fragment,{children:L()}):jsxRuntime.jsx(SelectorDiv,{children:L()}),!o&&F()&&jsxRuntime.jsx(Divider$3,{}),jsxRuntime.jsx(DropdownList,{listItems:x,onSelectItem:j,valueExtractor:d,listExtractor:p,itemsLoadState:S?"fail":b?"loading":"success",visible:F(),disableItemFocus:!0,onRetry:()=>E(m),itemTruncationType:"end",itemMaxLines:1,labelDisplayType:"next-line"})]})},FormPredictiveTextInput=({label:e,errorMessage:t,id:r="form-predictive-text","data-error-testid":i,"data-testid":n,...a})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:a.disabled,children:jsxRuntime.jsx(PredictiveTextInput,{id:`${r}-base`,"data-testid":n||r,error:!!t,...a})}),InputSelectorWrapper=styled__default.default.div`
|
|
2192
|
+
display: flex;
|
|
2193
|
+
position: relative;
|
|
2194
|
+
align-items: center;
|
|
2195
|
+
justify-content: space-between;
|
|
2196
|
+
`,ClearIconContainer=styled__default.default(ClearContainer)`
|
|
2197
|
+
position: absolute;
|
|
2198
|
+
right: 0;
|
|
2199
|
+
padding-left: 0.5rem;
|
|
2200
|
+
margin-right: 0;
|
|
2201
|
+
`,SelectorDropdown=styled__default.default(Selector$1)`
|
|
2202
|
+
padding-right: 2.75rem;
|
|
2203
|
+
`,InputRangeSelect=({selectedOptions:e,placeholders:t={from:"Select",to:"Select"},options:r,disabled:i,className:n,readOnly:a,error:o,"data-testid":s,id:l,enableSearch:d=!1,searchFunction:p,searchPlaceholder:c,valueExtractor:u,valueToStringFunction:h,listExtractor:m,displayValueExtractor:f,onSelectOption:y,listStyleWidth:g,onShowOptions:x,onHideOptions:_,onRetry:b,optionsLoadState:v={from:"success",to:"success"},optionTruncationType:S="middle",renderCustomSelectedOption:C,renderListItem:$,renderCustomCallToAction:w,...T})=>{const[R,k]=React.useState(),[E,A]=React.useState(),D=React.useRef(),j={from:React.useRef(),to:React.useRef()},[I,P]=React.useState("none");React.useEffect((()=>{k(e?.from),A(e?.to)}),[e]);const M=e=>t=>{t.stopPropagation(),t.preventDefault(),i||a||P("from"===e?"from":"to"===e&&R?"to":"from")},F=e=>{const t="from"===e?R:E;return f?f(t):u?u(t):t?.toString()},O=(e,t)=>{if("middle"===S){let r=0;return j[e]&&j[e].current&&(r=j[e].current.getBoundingClientRect().width),StringHelper.truncateOneLine((e=>"string"==typeof e?e:h(e)||e.toString())(t),r,120,8)}return t},L=e=>{!e&&_&&_(),e&&x&&x()},B=e=>{const r="from"===e?R:E;return r?C?C(r):jsxRuntime.jsx(ValueLabel$1,{truncateType:S,children:O(e,F(e))}):jsxRuntime.jsx(PlaceholderLabel$1,{truncateType:S,children:O(e,t[e])})},N=e=>jsxRuntime.jsx(LabelContainer$2,{onClick:M(e),ref:j[e],children:B(e)});return jsxRuntime.jsxs(DropdownWrapper,{show:"none"!==I,"data-testid":T["data-testid"],error:o&&!("none"!==I),disabled:i,readOnly:a,testId:s,onBlur:()=>{L(!1),P("none"),R&&E||(A(void 0),k(void 0))},className:n,children:[jsxRuntime.jsxs(InputSelectorWrapper,{children:[jsxRuntime.jsx(SelectorDropdown,{type:"button","data-testid":l||"selector",disabled:i,ref:D,onClick:M(),...T,children:jsxRuntime.jsxs(RangeInputInnerContainer,{currentActive:(()=>{switch(I){case"from":return"start";case"to":return"end";case"none":return I}})(),children:[N("from"),N("to")]})}),"none"===I&&R&&E&&!a&&!i&&jsxRuntime.jsx(ClearIconContainer,{onClick:e=>{e.stopPropagation(),k(void 0),A(void 0),y&&y({from:void 0,to:void 0},void 0)},type:"button","aria-label":"Clear",children:jsxRuntime.jsx(ClearIcon,{"aria-hidden":!0})})]}),"none"!==I&&jsxRuntime.jsx(Divider$3,{}),(()=>{if("none"===I)return null;const e=r[I];if(e&&e.length>0){const t="from"===I?R:E;return jsxRuntime.jsx(DropdownList,{listItems:e,onSelectItem:(e,t)=>{return r=e,i=t,"from"===(n=I)?k(r):A(r),L(!1),D&&D.current.focus(),y&&y({[n]:r},i),void("from"===n?(A(void 0),P("to"),L(!0)):P("none"));var r,i,n},onDismiss:()=>(P("none"),L(!1),D&&D.current.focus(),void(R&&E||(A(void 0),k(void 0)))),valueExtractor:u,listExtractor:m,listStyleWidth:g,visible:!0,enableSearch:d,searchPlaceholder:c,searchFunction:p,"data-testid":`${I}-dropdown-list`,selectedItems:t?[t]:[],onRetry:b,itemsLoadState:v[I],itemTruncationType:S,renderListItem:$,renderCustomCallToAction:w})}return null})()]})},FormRangeSelect=({label:e,errorMessage:t,id:r="form-select","data-error-testid":i,"data-testid":n,enableSearch:a=!1,...o})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:o.disabled,children:jsxRuntime.jsx(InputRangeSelect,{id:`${r}-base`,"data-testid":n||r,error:!!t,enableSearch:a,...o})}),InputSelect=({selectedOption:e,placeholder:t="Select",options:r,disabled:i,error:n,className:a,"data-testid":o,id:s,enableSearch:l=!1,searchFunction:d,searchPlaceholder:p,valueExtractor:c,valueToStringFunction:u,listExtractor:h,displayValueExtractor:m,onSelectOption:f,listStyleWidth:y,onShowOptions:g,onHideOptions:x,onRetry:_,optionsLoadState:b="success",optionTruncationType:v="end",renderCustomSelectedOption:S,renderListItem:C,hideNoResultsDisplay:$,renderCustomCallToAction:w,...T})=>{const[R,k]=React.useState(e),[E,A]=React.useState(!1),D=React.useRef(),j=React.useRef();React.useEffect((()=>{k(e)}),[e]);const I=(e,t)=>{k(e),A(!1),F(!1),D&&D.current.focus(),f&&f(e,t)},P=e=>{E&&(A(!1),F(!1)),e&&D&&D.current.focus()},M=e=>{if("middle"===v){let t=0;return j&&j.current&&(t=j.current.getBoundingClientRect().width),StringHelper.truncateOneLine((e=>"string"==typeof e?e:u(e)||e.toString())(e),t,120,8)}return e},F=e=>{!e&&x&&x(),e&&g&&g()};return jsxRuntime.jsxs(DropdownWrapper,{className:a,show:E,error:n&&!E,disabled:i,readOnly:T.readOnly,testId:o,onBlur:()=>{A(!1),F(!1)},children:[jsxRuntime.jsx(Selector$1,{ref:D,type:"button","data-testid":s||"selector",disabled:i,onClick:e=>{e.preventDefault(),i||T.readOnly||(A(!E),F(!E))},...T,children:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(LabelContainer$2,{ref:j,children:R?S?S(R):jsxRuntime.jsx(ValueLabel$1,{truncateType:v,children:M(m?m(R):c?c(R):R.toString())}):jsxRuntime.jsx(PlaceholderLabel$1,{truncateType:v,children:t})}),!T.readOnly&&jsxRuntime.jsx(IconContainer$2,{expanded:E,children:jsxRuntime.jsx(StyledChevronIcon$1,{})})]})}),E&&jsxRuntime.jsx(Divider$3,{}),r&&r.length>0?jsxRuntime.jsx(DropdownList,{listItems:r,onSelectItem:I,onDismiss:P,valueExtractor:c,listExtractor:h,listStyleWidth:y,visible:E,enableSearch:l,searchPlaceholder:p,searchFunction:d,"data-testid":"dropdown-list",selectedItems:R?[R]:[],onRetry:_,itemsLoadState:b,itemTruncationType:v,renderListItem:C,hideNoResultsDisplay:$,renderCustomCallToAction:w}):null]})},FormSelect=({label:e,errorMessage:t,id:r="form-select","data-error-testid":i,"data-testid":n,enableSearch:a=!1,...o})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:o.disabled,children:jsxRuntime.jsx(InputSelect,{id:`${r}-base`,"data-testid":n||r,error:!!t,enableSearch:a,...o})}),CounterLabel=styled__default.default(exports.Text.H6)`
|
|
2186
2204
|
text-align: right;
|
|
2187
2205
|
|
|
2188
2206
|
${e=>{if(e.disabled)return styled.css`
|
|
@@ -2563,7 +2581,7 @@ object-assign
|
|
|
2563
2581
|
${e=>{if(e.$inactive)return styled.css`
|
|
2564
2582
|
color: ${Color.Neutral[3]};
|
|
2565
2583
|
`}}
|
|
2566
|
-
`,UnitNumberInput=({disabled:e,error:t,value:r,onChange:i,onBlur:n,onChangeRaw:a,onBlurRaw:o,readOnly:s,placeholder:l="00-8888",...d})=>{const[p,c]=React.useState(""),[u,h]=React.useState(""),[m,f]=React.useState("none"),y=React.useRef(null),g=React.useRef(null),x=React.useRef(null),_=React.useRef(p),b=React.useRef(u),v=React.useRef(m),S=e=>e.toLocaleUpperCase().replace(/[^0-9A-Za-z]/g,""),C=useNextInputState({ref:g,formatter:S}),$=useNextInputState({ref:x,formatter:S}),w=e=>{_.current=e,c(e)},T=e=>{b.current=e,h(e)},R=e=>{v.current=e,f(e)};React.useEffect((()=>
|
|
2584
|
+
`,UnitNumberInput=({disabled:e,error:t,value:r,onChange:i,onBlur:n,onChangeRaw:a,onBlurRaw:o,readOnly:s,placeholder:l="00-8888",...d})=>{const[p,c]=React.useState(""),[u,h]=React.useState(""),[m,f]=React.useState("none"),y=React.useRef(null),g=React.useRef(null),x=React.useRef(null),_=React.useRef(p),b=React.useRef(u),v=React.useRef(m),S=e=>e.toLocaleUpperCase().replace(/[^0-9A-Za-z]/g,""),C=useNextInputState({ref:g,formatter:S}),$=useNextInputState({ref:x,formatter:S}),w=e=>{_.current=e,c(e)},T=e=>{b.current=e,h(e)},R=e=>{v.current=e,f(e)};React.useEffect((()=>{"floor"===m&&3===p.length&&x.current&&x.current.focus()}),[p]),React.useEffect((()=>{I(r)}),[r]);const k=e=>{R(e.target.name),e.target.select()},E=e=>{const t=e.target.name,r=e.target.value,i=j(r);"floor"===t?(w(i),i!==p&&P(i,t)):(T(i),i!==u&&P(i,t))},A=e=>{const t=e.target.name;if("floor"===t){const{nextValue:e,updateCaretPosition:r}=C();r(),w(e),P(e,t)}else{const{nextValue:e,updateCaretPosition:r}=$();r(),T(e),P(e,t)}},D=e=>{"Backspace"!==e.code&&"Backspace"!==e.key||"unit"===m&&0===u.length&&g.current.focus()},j=e=>/^[0-9]$/.test(e)?StringHelper.padValue(e,!0):e.toLocaleUpperCase(),I=e=>{if(e!==INVALID_VALUE)if(void 0===e||0===e.length)w(""),T("");else{const t=e.split("-");if(2===t.length){const e=t[0],r=t[1];w("floor"===m?e:j(e)),T("unit"===m?r:j(r))}}},P=(e,t)=>{if(!i&&!a)return;const r={floor:_.current,unit:b.current};if(r[t]=e,i){const e=F(r);i(e)}a&&a([r.floor,r.unit])},M=()=>{if(!n&&!o)return;const e={floor:j(_.current),unit:j(b.current)};if(n){const t=F(e);n(t)}o&&o([e.floor,e.unit])},F=e=>{const t=[e.floor,e.unit];return e.floor.length>0&&e.unit.length>0?t.join("-"):t.every((e=>""===e))?"":INVALID_VALUE},O=e=>e.split("-");return jsxRuntime.jsxs(InputWrapper,{ref:y,onClick:()=>{"none"===m&&g.current&&g.current.focus()},$disabled:e,$error:t,$readOnly:s,"data-testid":d["data-testid"],tabIndex:-1,onBlur:e=>{y.current&&y.current.contains(e.relatedTarget)||"none"!==v.current&&(R("none"),M())},children:[jsxRuntime.jsx(HashContainer,{"data-testid":"addon",disabled:e,$readOnly:s,children:"#"}),s&&r?(()=>{const e=r.split("-");return jsxRuntime.jsxs(ReadOnlyContainer,{children:[jsxRuntime.jsx(ReadOnlyLabel,{children:e[0]}),jsxRuntime.jsx(UnitNumberDivider,{children:"-"}),jsxRuntime.jsx(ReadOnlyLabel,{children:e[1]})]})})():jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(FloorInput,{name:"floor",maxLength:3,value:p,ref:g,onFocus:k,onBlur:E,onChange:A,disabled:e,readOnly:s,type:"text",pattern:"[0-9A-Z]{2,3}","data-testid":"floor-input","aria-label":"floor-input",placeholder:"floor"!==m||s?O(l)[0]:""}),jsxRuntime.jsx(UnitNumberDivider,{$inactive:0===p.length,children:"-"}),jsxRuntime.jsx(UnitInput,{name:"unit",maxLength:5,value:u,ref:x,onFocus:k,onBlur:E,onChange:A,onKeyDown:D,disabled:e,readOnly:s,type:"text",pattern:"[0-9A-Z]{2,5}","data-testid":"unit-input","aria-label":"unit-input",placeholder:"unit"!==m||s?O(l)[1]:""})]})]})},INVALID_VALUE="Invalid unit number",FormUnitNumberInput=({label:e,errorMessage:t,id:r="form-unit-number-input","data-error-testid":i,"data-testid":n,...a})=>jsxRuntime.jsx(FormWrapper,{id:r,label:e,errorMessage:t,"data-error-testid":i,disabled:a.disabled,children:jsxRuntime.jsx(UnitNumberInput,{id:`${r}-base`,"data-testid":n||r,error:!!t,...a})}),Form={DateInput:FormDateInput,DateRangeInput:FormDateRangeInput,Input:FormInput,InputGroup:FormInputGroup,Label:FormLabel,MultiSelect:FormMultiSelect,Select:FormSelect,RangeSelect:FormRangeSelect,Textarea:FormTextarea,Timepicker:FormTimepicker,TimeRangePicker:FormTimeRangePicker,CustomField:FormCustomField,UnitNumberInput:FormUnitNumberInput,PhoneNumberInput:FormPhoneNumberInput,PredictiveTextInput:FormPredictiveTextInput},Item$3=styled__default.default.li`
|
|
2567
2585
|
display: flex;
|
|
2568
2586
|
flex-direction: column;
|
|
2569
2587
|
padding: 2rem 0;
|
|
@@ -2918,7 +2936,7 @@ object-assign
|
|
|
2918
2936
|
width: 1.5rem;
|
|
2919
2937
|
color: ${Color.Neutral[3]};
|
|
2920
2938
|
}
|
|
2921
|
-
`,Component$7=({fileItem:e,editable:t,sortable:r,wrapperWidth:i,disabled:n,readOnly:a,onDelete:o,onEditClick:s})=>{const{id:l,name:d,size:p,description:c,progress:u=1,errorMessage:h,thumbnailImageDataUrl:m,truncateText:f=!0}=e,[y,g]=React.useState(),{activeId:x}=React.useContext(FileUploadContext),{attributes:_,listeners:b,setNodeRef:v,transform:S,transition:C}=useSortable({id:l}),$=React.useRef(),w={style:{transform:CSS.Translate.toString(S),transition:C},..._,...b},T=u<1,R=FileUploadHelper.formatFileSizeDisplay(p),
|
|
2939
|
+
`,Component$7=({fileItem:e,editable:t,sortable:r,wrapperWidth:i,disabled:n,readOnly:a,onDelete:o,onEditClick:s})=>{const{id:l,name:d,size:p,description:c,progress:u=1,errorMessage:h,thumbnailImageDataUrl:m,truncateText:f=!0}=e,[y,g]=React.useState(),{activeId:x}=React.useContext(FileUploadContext),{attributes:_,listeners:b,setNodeRef:v,transform:S,transition:C}=useSortable({id:l}),$=React.useRef(),w={style:{transform:CSS.Translate.toString(S),transition:C},..._,...b},T=u<1,R=FileUploadHelper.formatFileSizeDisplay(p),k=x?x===l?"self":"others":"none";React.useEffect((()=>{g(j(d))}),[i]);const E=()=>{o()},A=()=>{s&&s()},D=e=>{r&&e.stopPropagation()},j=e=>{if(!f)return e;const t=$&&$.current?$.current.getBoundingClientRect().width:0;return StringHelper.truncateOneLine(e,t,t/2,t/2/8,16)},I=()=>n||!!x,P=()=>r&&!a,M=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(ItemText,{weight:c?"semibold":"regular",children:y}),c&&jsxRuntime.jsx(ItemDescriptionText,{children:c})]});return jsxRuntime.jsxs(Item$2,{id:l,ref:v,$sortable:P(),$disabled:I(),$focusType:k,...P()?w:{},children:[P()&&jsxRuntime.jsx(DragHandleIcon,{"data-testid":`${l}-drag-handle`,$disabled:I()}),jsxRuntime.jsxs(Box,{$focused:"self"===k,$error:!!h,$loading:T,$disabled:I(),$editable:t,children:[(()=>{let e;return e=h?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(NameSection,{ref:$,children:[M(),h&&jsxRuntime.jsx(DesktopErrorMessage,{weight:"semibold",children:h})]}),jsxRuntime.jsx(FileSizeSection,{children:jsxRuntime.jsx(ItemText,{children:R})}),h&&jsxRuntime.jsx(MobileErrorMessage,{weight:"semibold",children:h})]}):m?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(FileListItemThumbnail,{thumbnailImageDataUrl:m,"data-testid":`${l}-thumbnail`}),jsxRuntime.jsxs(ExtendedNameSection,{children:[jsxRuntime.jsx(NameSection,{ref:$,children:M()}),jsxRuntime.jsx(FileSizeSection,{children:jsxRuntime.jsx(ItemText,{children:R})})]})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(NameSection,{ref:$,children:M()}),jsxRuntime.jsx(FileSizeSection,{$hideInMobile:T,children:jsxRuntime.jsx(ItemText,{children:R})})]}),jsxRuntime.jsx(ContentSection,{$hasThumbnail:!!m,children:e})})(),!a&&(()=>{let e;return e=h?jsxRuntime.jsx(ErrorIconButton,{onClick:E,"data-testid":`${l}-error-delete-button`,"aria-label":`delete-${d}`,children:jsxRuntime.jsx(cross.CrossIcon,{"aria-hidden":!0})}):T?jsxRuntime.jsx(ProgressBar,{progress:u,"data-testid":`${l}-progress-bar`}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t&&jsxRuntime.jsx(IconButton,{"data-testid":`${l}-edit-button`,"data-no-dnd":"true",type:"button",styleType:"light",sizeType:"small","aria-label":`edit ${d}`,disabled:I(),onClick:A,onKeyDown:D,children:jsxRuntime.jsx(pencil.PencilIcon,{"aria-hidden":!0})},"edit"),jsxRuntime.jsx(IconButton,{"data-testid":`${l}-delete-button`,"data-no-dnd":"true",type:"button",styleType:"light",sizeType:"small","aria-label":`delete ${d}`,disabled:I(),onClick:E,onKeyDown:D,children:jsxRuntime.jsx(bin.BinIcon,{"aria-hidden":!0})},"delete")]}),jsxRuntime.jsx(ActionContainer,{$editable:t,$error:!!h,$loading:T,children:e})})()]})]})},FileListItem=React.memo(Component$7),ListWrapper=styled__default.default.ul`
|
|
2922
2940
|
list-style-type: none;
|
|
2923
2941
|
margin-bottom: ${e=>e.$readOnly?"0":"2rem"};
|
|
2924
2942
|
`,EditableItemsContainer=styled__default.default.li`
|
|
@@ -2936,7 +2954,7 @@ object-assign
|
|
|
2936
2954
|
ul {
|
|
2937
2955
|
list-style-type: none;
|
|
2938
2956
|
}
|
|
2939
|
-
`,FileList=({fileItems:e,editableFileItems:t,fileDescriptionMaxLength:r,sortable:i,disabled:n,readOnly:a,onItemUpdate:o,onItemDelete:s,onSort:l})=>{const[d,p]=React.useState({}),{setActiveId:c}=React.useContext(FileUploadContext),{width:u,ref:h}=useResizeDetector(),m=React.useRef({}),f=useSensors(useSensor(MouseSensor,{activationConstraint:{distance:8}}),useSensor(TouchSensor,{activationConstraint:{delay:150,tolerance:5}}),useSensor(KeyboardSensor,{coordinateGetter:sortableKeyboardCoordinates})),y=e=>{delete m.current[e]};React.useEffect((()=>{p(T(e))}),[e]);const g=e=>t=>{R(e.id,"display"),y(e.id);const r={...e,description:t};o(r)},x=e=>t=>{m.current[e.id]=t},_=e=>()=>{e.description&&0!==e.description.length?R(e.id,"display"):s(e),y(e.id)},b=e=>()=>{R(e.id,"edit")},v=e=>()=>{s(e)},S=t=>{if(l){const{active:r,over:i}=t;if(i&&r.id!==i.id){const t=e.findIndex((e=>e.id===r.id)),n=e.findIndex((e=>e.id===i.id)),a=arrayMove(e,t,n);l(a)}}c(void 0)},C=e=>{const{active:t}=e;c(t.id)},$=e=>t&&FileUploadHelper.isSupportedImageType(e.type),w=e=>!e.errorMessage&&!a&&!("number"==typeof e.progress&&e.progress<1)&&$(e)&&!e.description,T=e=>{if(!e||0===e.length)return{};const t={};for(const r of e)r.errorMessage?t[r.id]="error":d[r.id]?t[r.id]=d[r.id]:t[r.id]=w(r)?"edit":"display";return t},R=(e,t)=>{p((r=>({...r,[e]:t})))},
|
|
2957
|
+
`,FileList=({fileItems:e,editableFileItems:t,fileDescriptionMaxLength:r,sortable:i,disabled:n,readOnly:a,onItemUpdate:o,onItemDelete:s,onSort:l})=>{const[d,p]=React.useState({}),{setActiveId:c}=React.useContext(FileUploadContext),{width:u,ref:h}=useResizeDetector(),m=React.useRef({}),f=useSensors(useSensor(MouseSensor,{activationConstraint:{distance:8}}),useSensor(TouchSensor,{activationConstraint:{delay:150,tolerance:5}}),useSensor(KeyboardSensor,{coordinateGetter:sortableKeyboardCoordinates})),y=e=>{delete m.current[e]};React.useEffect((()=>{p(T(e))}),[e]);const g=e=>t=>{R(e.id,"display"),y(e.id);const r={...e,description:t};o(r)},x=e=>t=>{m.current[e.id]=t},_=e=>()=>{e.description&&0!==e.description.length?R(e.id,"display"):s(e),y(e.id)},b=e=>()=>{R(e.id,"edit")},v=e=>()=>{s(e)},S=t=>{if(l){const{active:r,over:i}=t;if(i&&r.id!==i.id){const t=e.findIndex((e=>e.id===r.id)),n=e.findIndex((e=>e.id===i.id)),a=arrayMove(e,t,n);l(a)}}c(void 0)},C=e=>{const{active:t}=e;c(t.id)},$=e=>t&&FileUploadHelper.isSupportedImageType(e.type),w=e=>!e.errorMessage&&!a&&!("number"==typeof e.progress&&e.progress<1)&&$(e)&&!e.description,T=e=>{if(!e||0===e.length)return{};const t={};for(const r of e)r.errorMessage?t[r.id]="error":d[r.id]?t[r.id]=d[r.id]:t[r.id]=w(r)?"edit":"display";return t},R=(e,t)=>{p((r=>({...r,[e]:t})))},k=()=>e&&e.length>1&&i&&Object.values(d).every((e=>"display"===e)),E=()=>{const t=((e,t)=>{if(!e||0===e.length)return[];const r=[];for(const i of e)if("edit"===t[i.id]){const e=r[r.length-1];Array.isArray(e)?e.push(i):r.push([i])}else r.push(i);return r})(e,d);return 0===t.length?null:t.map(((e,t)=>Array.isArray(e)?((e,t)=>{const i=e.map((e=>{const t={...e};return void 0!==m.current[e.id]&&(t.description=m.current[e.id]),jsxRuntime.jsx(FileItemEdit,{fileItem:t,wrapperWidth:u,fileDescriptionMaxLength:r,onSave:g(e),onCancel:_(e),onBlur:x(e)},e.id)}));return jsxRuntime.jsx(EditableItemsContainer,{children:jsxRuntime.jsx("ul",{children:i})},`editable-${t}`)})(e,t):jsxRuntime.jsx(FileListItem,{fileItem:e,editable:$(e),wrapperWidth:u,sortable:k(),disabled:n,readOnly:a,onDelete:v(e),onEditClick:b(e)},e.id)))};return e&&0!==e.length?n||a||!k()?jsxRuntime.jsx(ListWrapper,{$readOnly:a,ref:h,children:E()}):jsxRuntime.jsx(DndContext,{sensors:f,onDragEnd:S,onDragStart:C,children:jsxRuntime.jsx(SortableContext,{items:e,strategy:verticalListSortingStrategy,children:jsxRuntime.jsx(ListWrapper,{$readOnly:a,ref:h,children:E()})})}):null},TitleContainer=styled__default.default.div`
|
|
2940
2958
|
display: flex;
|
|
2941
2959
|
flex-direction: column;
|
|
2942
2960
|
margin-bottom: 2rem;
|
|
@@ -4012,7 +4030,7 @@ object-assign
|
|
|
4012
4030
|
:hover {
|
|
4013
4031
|
color: ${Color.Neutral[1]};
|
|
4014
4032
|
}
|
|
4015
|
-
`,NavbarItems=({items:e,selectedId:t,mobile:r=!1,onItemClick:i})=>{const[n,a]=React.useState(-1),[o,s]=React.useState(!1),l=React.useRef(null);React.useEffect((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d()};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[]);const d=()=>{s(!1)},p=(e,t)=>r=>{r.stopPropagation(),a(t),s(!0),i(r,e)},c=(e,t)=>{e.stopPropagation(),i(e,t),s(!1)},u=()=>e.map(((e,i)=>{const a=(e=>{if(e.id===t)return!0;if(e?.subMenu&&e.subMenu.length>=1)return!!e.subMenu.find((e=>e.id===t));return!1})(e),{children:s,options:l,...d}=e,u=a?r?"bold":"semibold":"regular",h=r?`link__mobile-${i+1}`:`link__${i+1}`,m=n>=0&&n===i&&o;return jsxRuntime.jsxs(LinkItem,{children:[jsxRuntime.jsxs(Link,{"data-testid":h,weight:u,$selected:a,...d,onClick:p(e,i),...l,children:[jsxRuntime.jsx(LinkLabel,{children:s}),a&&jsxRuntime.jsx(LinkIndicator,{}),r&&e.subMenu&&jsxRuntime.jsx(LinkIconContainer,{children:jsxRuntime.jsx(ExpandCollapseButton,{"data-testid":`${h}-expand-collapse-button`,$selected:m,focusHighlight:!1,focusOutline:"browser","aria-label":m?"Collapse":"Expand",children:jsxRuntime.jsx(ChevronIcon$1,{})})})]}),m&&jsxRuntime.jsx(Menu,{items:e.subMenu,mobile:r,onItemClick:c})]},i)}));if(e&&e.length>0){const e=r?MobileWrapper:Wrapper$9;return jsxRuntime.jsx(e,{ref:l,children:u()})}return jsxRuntime.jsx(jsxRuntime.Fragment,{})},Component$1=({items:e,id:t,selectedId:r,compress:i=!1,fixed:n=!0,resources:a=DEFAULT_RESOURCES,hideNavElements:o=!1,drawerDismissalExclusions:s=[],actionButtons:l,onItemClick:d,onActionButtonClick:p,onBrandClick:c,masthead:u=!0,layout:h="default",...m},f)=>{const[y,g]=React.useState(!1),[x,_]=React.useState(!1),b="stretch"===h,{primary:v=DEFAULT_RESOURCES.primary,secondary:S}=a;React.useEffect((()=>(w(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)})),[]);const C=()=>{g(!1),setTimeout((()=>{_(!1)}),550)},$=e=>y&&-1===s.indexOf(e),w=()=>{window.innerWidth<=MediaWidths$1.tablet&&y&&C()},T=(e,t)=>{c&&(e.preventDefault(),c(t)),$("brand-click")&&C()},R=(e,t)=>{t.onClick?t.onClick(e):d&&(e.preventDefault(),d(t)),!t?.subMenu&&$("item-click")&&C()},
|
|
4033
|
+
`,NavbarItems=({items:e,selectedId:t,mobile:r=!1,onItemClick:i})=>{const[n,a]=React.useState(-1),[o,s]=React.useState(!1),l=React.useRef(null);React.useEffect((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d()};return document.addEventListener("click",e,!0),()=>{document.removeEventListener("click",e,!0)}}),[]);const d=()=>{s(!1)},p=(e,t)=>r=>{r.stopPropagation(),a(t),s(!0),i(r,e)},c=(e,t)=>{e.stopPropagation(),i(e,t),s(!1)},u=()=>e.map(((e,i)=>{const a=(e=>{if(e.id===t)return!0;if(e?.subMenu&&e.subMenu.length>=1)return!!e.subMenu.find((e=>e.id===t));return!1})(e),{children:s,options:l,...d}=e,u=a?r?"bold":"semibold":"regular",h=r?`link__mobile-${i+1}`:`link__${i+1}`,m=n>=0&&n===i&&o;return jsxRuntime.jsxs(LinkItem,{children:[jsxRuntime.jsxs(Link,{"data-testid":h,weight:u,$selected:a,...d,onClick:p(e,i),...l,children:[jsxRuntime.jsx(LinkLabel,{children:s}),a&&jsxRuntime.jsx(LinkIndicator,{}),r&&e.subMenu&&jsxRuntime.jsx(LinkIconContainer,{children:jsxRuntime.jsx(ExpandCollapseButton,{"data-testid":`${h}-expand-collapse-button`,$selected:m,focusHighlight:!1,focusOutline:"browser","aria-label":m?"Collapse":"Expand",children:jsxRuntime.jsx(ChevronIcon$1,{})})})]}),m&&jsxRuntime.jsx(Menu,{items:e.subMenu,mobile:r,onItemClick:c})]},i)}));if(e&&e.length>0){const e=r?MobileWrapper:Wrapper$9;return jsxRuntime.jsx(e,{ref:l,children:u()})}return jsxRuntime.jsx(jsxRuntime.Fragment,{})},Component$1=({items:e,id:t,selectedId:r,compress:i=!1,fixed:n=!0,resources:a=DEFAULT_RESOURCES,hideNavElements:o=!1,drawerDismissalExclusions:s=[],actionButtons:l,onItemClick:d,onActionButtonClick:p,onBrandClick:c,masthead:u=!0,layout:h="default",...m},f)=>{const[y,g]=React.useState(!1),[x,_]=React.useState(!1),b="stretch"===h,{primary:v=DEFAULT_RESOURCES.primary,secondary:S}=a;React.useEffect((()=>(w(),window.addEventListener("resize",w),()=>{window.removeEventListener("resize",w)})),[]);const C=()=>{g(!1),setTimeout((()=>{_(!1)}),550)},$=e=>y&&-1===s.indexOf(e),w=()=>{window.innerWidth<=MediaWidths$1.tablet&&y&&C()},T=(e,t)=>{c&&(e.preventDefault(),c(t)),$("brand-click")&&C()},R=(e,t)=>{t.onClick?t.onClick(e):d&&(e.preventDefault(),d(t)),!t?.subMenu&&$("item-click")&&C()},k=(e,t)=>{t.args&&t.args.onClick?t.args.onClick(e):p&&(e.preventDefault(),p(t)),$("item-click")&&C()},E=()=>{g(!0),_(!0)},A=()=>{$("close-button-click")&&C()};return jsxRuntime.jsxs(Wrapper$d,{ref:f,$fixed:n,id:t||"navbar-wrapper","data-testid":m["data-testid"]||"navbar-wrapper",children:[u&&jsxRuntime.jsx(Masthead,{}),jsxRuntime.jsxs(Layout.Content,{stretch:b,children:[jsxRuntime.jsxs(Nav,{$compress:i,children:[jsxRuntime.jsxs(NavBrandContainer,{children:[jsxRuntime.jsx(Brand,{resources:v,compress:i,onClick:T,"data-testid":"main__brand",type:"primary"}),S&&jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(NavSeparator,{$compress:i}),jsxRuntime.jsx(Brand,{resources:S,compress:i,onClick:T,"data-testid":"main__brand-secondary",type:"secondary"})]})]}),!o&&jsxRuntime.jsxs(NavElementsContainer,{children:[jsxRuntime.jsx(NavbarItems,{items:e.desktop,onItemClick:R,selectedId:r}),jsxRuntime.jsx(NavbarActionButtons,{actionButtons:l&&l.desktop,onActionButtonClick:k}),jsxRuntime.jsx(MobileMenuButton,{"aria-label":"Open nav menu","data-testid":"button__mobile-menu",onClick:E,focusHighlight:!1,children:jsxRuntime.jsx(MobileMenuIcon,{})})]})]}),!o&&jsxRuntime.jsx(Overlay,{show:x,enableOverlayClick:!0,onOverlayClick:A,children:jsxRuntime.jsxs(Drawer,{show:y,resources:{primary:v,secondary:S},onClose:A,onBrandClick:T,actionButtons:l,children:[jsxRuntime.jsx(NavbarItems,{items:e.mobile||e.desktop,onItemClick:R,selectedId:r,mobile:!0}),jsxRuntime.jsx(NavbarActionButtons,{actionButtons:l&&(l?.mobile||l.desktop),onActionButtonClick:k,mobile:!0})]})})]})]})},Navbar=React__default.default.forwardRef(Component$1),DEFAULT_RESOURCES={primary:{brandName:"LifeSG",logoSrc:"https://assets.life.gov.sg/lifesg/logo-lifesg.svg"}},NavbarHeight=NAVBAR_HEIGHT,NavbarMobileHeight=NAVBAR_MOBILE_HEIGHT,commonLinkStyle=styled.css`
|
|
4016
4034
|
color: ${Color.Validation.Orange.Icon};
|
|
4017
4035
|
|
|
4018
4036
|
svg {
|
|
@@ -4076,7 +4094,7 @@ object-assign
|
|
|
4076
4094
|
color: ${Color.Neutral[8]};
|
|
4077
4095
|
`,NBComponent=({children:e,visible:t=!0,dismissible:r=!0,sticky:i=!0,onDismiss:n,id:a,forwardedRef:o,...s})=>{const l=s["data-testid"],[d,p]=React.useState(t);React.useEffect((()=>{p(t)}),[t]);return d?jsxRuntime.jsx(Wrapper$8,{ref:o,$sticky:i,...s,children:jsxRuntime.jsxs(Container$7,{id:formatId("container",a),children:[jsxRuntime.jsx(TextContainer$2,{children:jsxRuntime.jsx(Content$1,{"data-testid":formatId("text-content",l),children:e})}),r&&jsxRuntime.jsx(StyledIconButton,{onClick:()=>{p(!1),r&&n&&n()},id:formatId("dismiss-button",a),"data-testid":formatId("dismiss-button",l),focusHighlight:!1,children:jsxRuntime.jsx(StyledIcon,{})})]})}):null},NBWithRef=(e,t)=>jsxRuntime.jsx(NBComponent,{...e,forwardedRef:t}),formatId=(e,t="wrapper")=>`${t}-${e}`,Base=React__default.default.forwardRef(NBWithRef),NotificationBanner=Object.assign(Base,{Link:ContentLink});
|
|
4078
4096
|
/*! @license DOMPurify 2.4.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.5/LICENSE */
|
|
4079
|
-
function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(e,t,r){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,r){var i=[null];i.push.apply(i,t);var n=new(Function.bind.apply(e,i));return r&&_setPrototypeOf(n,r.prototype),n},_construct.apply(null,arguments)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var hasOwnProperty=Object.hasOwnProperty,setPrototypeOf=Object.setPrototypeOf,isFrozen=Object.isFrozen,getPrototypeOf=Object.getPrototypeOf,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,freeze=Object.freeze,seal=Object.seal,create=Object.create,_ref="undefined"!=typeof Reflect&&Reflect,apply=_ref.apply,construct=_ref.construct;apply||(apply=function(e,t,r){return e.apply(t,r)}),freeze||(freeze=function(e){return e}),seal||(seal=function(e){return e}),construct||(construct=function(e,t){return _construct(e,_toConsumableArray(t))});var arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return apply(e,t,i)}}function unconstruct(e){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return construct(e,r)}}function addToSet(e,t,r){r=r||stringToLowerCase,setPrototypeOf&&setPrototypeOf(e,null);for(var i=t.length;i--;){var n=t[i];if("string"==typeof n){var a=r(n);a!==n&&(isFrozen(t)||(t[i]=a),n=a)}e[n]=!0}return e}function clone(e){var t,r=create(null);for(t in e)!0===apply(hasOwnProperty,e,[t])&&(r[t]=e[t]);return r}function lookupGetter(e,t){for(;null!==e;){var r=getOwnPropertyDescriptor(e,t);if(r){if(r.get)return unapply(r.get);if("function"==typeof r.value)return unapply(r.value)}e=getPrototypeOf(e)}return function(e){return console.warn("fallback value for",e),null}}var html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),getGlobal=function(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy=function(e,t){if("object"!==_typeof(e)||"function"!=typeof e.createPolicy)return null;var r=null,i="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(i)&&(r=t.currentScript.getAttribute(i));var n="dompurify"+(r?"#"+r:"");try{return e.createPolicy(n,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};function createDOMPurify(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal(),t=function(e){return createDOMPurify(e)};if(t.version="2.4.5",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var r=e.document,i=e.document,n=e.DocumentFragment,a=e.HTMLTemplateElement,o=e.Node,s=e.Element,l=e.NodeFilter,d=e.NamedNodeMap,p=void 0===d?e.NamedNodeMap||e.MozNamedAttrMap:d,c=e.HTMLFormElement,u=e.DOMParser,h=e.trustedTypes,m=s.prototype,f=lookupGetter(m,"cloneNode"),y=lookupGetter(m,"nextSibling"),g=lookupGetter(m,"childNodes"),x=lookupGetter(m,"parentNode");if("function"==typeof a){var _=i.createElement("template");_.content&&_.content.ownerDocument&&(i=_.content.ownerDocument)}var b=_createTrustedTypesPolicy(h,r),v=b?b.createHTML(""):"",S=i,C=S.implementation,$=S.createNodeIterator,w=S.createDocumentFragment,T=S.getElementsByTagName,R=r.importNode,E={};try{E=clone(i).documentMode?i.documentMode:{}}catch(e){}var k={};t.isSupported="function"==typeof x&&C&&void 0!==C.createHTMLDocument&&9!==E;var A,D,j=MUSTACHE_EXPR,I=ERB_EXPR,P=TMPLIT_EXPR,M=DATA_ATTR,F=ARIA_ATTR,O=IS_SCRIPT_OR_DATA,L=ATTR_WHITESPACE,B=IS_ALLOWED_URI,N=null,V=addToSet({},[].concat(_toConsumableArray(html$1),_toConsumableArray(svg$1),_toConsumableArray(svgFilters),_toConsumableArray(mathMl$1),_toConsumableArray(text))),H=null,z=addToSet({},[].concat(_toConsumableArray(html),_toConsumableArray(svg),_toConsumableArray(mathMl),_toConsumableArray(xml))),W=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),G=null,U=null,q=!0,Y=!0,Q=!1,K=!0,X=!1,Z=!1,J=!1,ee=!1,te=!1,re=!1,ie=!1,ne=!0,ae=!1,oe=!0,se=!1,le={},de=null,pe=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ce=null,ue=addToSet({},["audio","video","img","source","image","track"]),he=null,me=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml",xe=ge,_e=!1,be=null,ve=addToSet({},[fe,ye,ge],stringToString),Se=["application/xhtml+xml","text/html"],Ce=null,$e=i.createElement("form"),we=function(e){return e instanceof RegExp||e instanceof Function},Te=function(e){Ce&&Ce===e||(e&&"object"===_typeof(e)||(e={}),e=clone(e),A=A=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,D="application/xhtml+xml"===A?stringToString:stringToLowerCase,N="ALLOWED_TAGS"in e?addToSet({},e.ALLOWED_TAGS,D):V,H="ALLOWED_ATTR"in e?addToSet({},e.ALLOWED_ATTR,D):z,be="ALLOWED_NAMESPACES"in e?addToSet({},e.ALLOWED_NAMESPACES,stringToString):ve,he="ADD_URI_SAFE_ATTR"in e?addToSet(clone(me),e.ADD_URI_SAFE_ATTR,D):me,ce="ADD_DATA_URI_TAGS"in e?addToSet(clone(ue),e.ADD_DATA_URI_TAGS,D):ue,de="FORBID_CONTENTS"in e?addToSet({},e.FORBID_CONTENTS,D):pe,G="FORBID_TAGS"in e?addToSet({},e.FORBID_TAGS,D):{},U="FORBID_ATTR"in e?addToSet({},e.FORBID_ATTR,D):{},le="USE_PROFILES"in e&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,Y=!1!==e.ALLOW_DATA_ATTR,Q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,B=e.ALLOWED_URI_REGEXP||B,xe=e.NAMESPACE||ge,W=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&we(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&we(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(Y=!1),re&&(te=!0),le&&(N=addToSet({},_toConsumableArray(text)),H=[],!0===le.html&&(addToSet(N,html$1),addToSet(H,html)),!0===le.svg&&(addToSet(N,svg$1),addToSet(H,svg),addToSet(H,xml)),!0===le.svgFilters&&(addToSet(N,svgFilters),addToSet(H,svg),addToSet(H,xml)),!0===le.mathMl&&(addToSet(N,mathMl$1),addToSet(H,mathMl),addToSet(H,xml))),e.ADD_TAGS&&(N===V&&(N=clone(N)),addToSet(N,e.ADD_TAGS,D)),e.ADD_ATTR&&(H===z&&(H=clone(H)),addToSet(H,e.ADD_ATTR,D)),e.ADD_URI_SAFE_ATTR&&addToSet(he,e.ADD_URI_SAFE_ATTR,D),e.FORBID_CONTENTS&&(de===pe&&(de=clone(de)),addToSet(de,e.FORBID_CONTENTS,D)),oe&&(N["#text"]=!0),Z&&addToSet(N,["html","head","body"]),N.table&&(addToSet(N,["tbody"]),delete G.tbody),freeze&&freeze(e),Ce=e)},Re=addToSet({},["mi","mo","mn","ms","mtext"]),Ee=addToSet({},["foreignobject","desc","title","annotation-xml"]),ke=addToSet({},["title","style","font","a","script"]),Ae=addToSet({},svg$1);addToSet(Ae,svgFilters),addToSet(Ae,svgDisallowed);var De=addToSet({},mathMl$1);addToSet(De,mathMlDisallowed);var je=function(e){arrayPush(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=v}catch(t){e.remove()}}},Ie=function(e,r){try{arrayPush(t.removed,{attribute:r.getAttributeNode(e),from:r})}catch(e){arrayPush(t.removed,{attribute:null,from:r})}if(r.removeAttribute(e),"is"===e&&!H[e])if(te||re)try{je(r)}catch(e){}else try{r.setAttribute(e,"")}catch(e){}},Pe=function(e){var t,r;if(ee)e="<remove></remove>"+e;else{var n=stringMatch(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===A&&xe===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var a=b?b.createHTML(e):e;if(xe===ge)try{t=(new u).parseFromString(a,A)}catch(e){}if(!t||!t.documentElement){t=C.createDocument(xe,"template",null);try{t.documentElement.innerHTML=_e?v:a}catch(e){}}var o=t.body||t.documentElement;return e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),xe===ge?T.call(t,Z?"html":"body")[0]:Z?t.documentElement:o},Me=function(e){return $.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Fe=function(e){return"object"===_typeof(o)?e instanceof o:e&&"object"===_typeof(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Oe=function(e,r,i){k[e]&&arrayForEach(k[e],(function(e){e.call(t,r,i,Ce)}))},Le=function(e){var r,i;if(Oe("beforeSanitizeElements",e,null),(i=e)instanceof c&&("string"!=typeof i.nodeName||"string"!=typeof i.textContent||"function"!=typeof i.removeChild||!(i.attributes instanceof p)||"function"!=typeof i.removeAttribute||"function"!=typeof i.setAttribute||"string"!=typeof i.namespaceURI||"function"!=typeof i.insertBefore||"function"!=typeof i.hasChildNodes))return je(e),!0;if(regExpTest(/[\u0080-\uFFFF]/,e.nodeName))return je(e),!0;var n=D(e.nodeName);if(Oe("uponSanitizeElement",e,{tagName:n,allowedTags:N}),e.hasChildNodes()&&!Fe(e.firstElementChild)&&(!Fe(e.content)||!Fe(e.content.firstElementChild))&®ExpTest(/<[/\w]/g,e.innerHTML)&®ExpTest(/<[/\w]/g,e.textContent))return je(e),!0;if("select"===n&®ExpTest(/<template/i,e.innerHTML))return je(e),!0;if(!N[n]||G[n]){if(!G[n]&&Ne(n)){if(W.tagNameCheck instanceof RegExp&®ExpTest(W.tagNameCheck,n))return!1;if(W.tagNameCheck instanceof Function&&W.tagNameCheck(n))return!1}if(oe&&!de[n]){var a=x(e)||e.parentNode,o=g(e)||e.childNodes;if(o&&a)for(var l=o.length-1;l>=0;--l)a.insertBefore(f(o[l],!0),y(e))}return je(e),!0}return e instanceof s&&!function(e){var t=x(e);t&&t.tagName||(t={namespaceURI:xe,tagName:"template"});var r=stringToLowerCase(e.tagName),i=stringToLowerCase(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===ye?t.namespaceURI===ge?"svg"===r:t.namespaceURI===fe?"svg"===r&&("annotation-xml"===i||Re[i]):Boolean(Ae[r]):e.namespaceURI===fe?t.namespaceURI===ge?"math"===r:t.namespaceURI===ye?"math"===r&&Ee[i]:Boolean(De[r]):e.namespaceURI===ge?!(t.namespaceURI===ye&&!Ee[i])&&!(t.namespaceURI===fe&&!Re[i])&&!De[r]&&(ke[r]||!Ae[r]):!("application/xhtml+xml"!==A||!be[e.namespaceURI]))}(e)?(je(e),!0):"noscript"!==n&&"noembed"!==n||!regExpTest(/<\/no(script|embed)/i,e.innerHTML)?(X&&3===e.nodeType&&(r=e.textContent,r=stringReplace(r,j," "),r=stringReplace(r,I," "),r=stringReplace(r,P," "),e.textContent!==r&&(arrayPush(t.removed,{element:e.cloneNode()}),e.textContent=r)),Oe("afterSanitizeElements",e,null),!1):(je(e),!0)},Be=function(e,t,r){if(ne&&("id"===t||"name"===t)&&(r in i||r in $e))return!1;if(Y&&!U[t]&®ExpTest(M,t));else if(q&®ExpTest(F,t));else if(!H[t]||U[t]){if(!(Ne(e)&&(W.tagNameCheck instanceof RegExp&®ExpTest(W.tagNameCheck,e)||W.tagNameCheck instanceof Function&&W.tagNameCheck(e))&&(W.attributeNameCheck instanceof RegExp&®ExpTest(W.attributeNameCheck,t)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(t))||"is"===t&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&®ExpTest(W.tagNameCheck,r)||W.tagNameCheck instanceof Function&&W.tagNameCheck(r))))return!1}else if(he[t]);else if(regExpTest(B,stringReplace(r,L,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf(r,"data:")||!ce[e]){if(Q&&!regExpTest(O,stringReplace(r,L,"")));else if(r)return!1}else;return!0},Ne=function(e){return e.indexOf("-")>0},Ve=function(e){var r,i,n,a;Oe("beforeSanitizeAttributes",e,null);var o=e.attributes;if(o){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(a=o.length;a--;){var l=r=o[a],d=l.name,p=l.namespaceURI;if(i="value"===d?r.value:stringTrim(r.value),n=D(d),s.attrName=n,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,Oe("uponSanitizeAttribute",e,s),i=s.attrValue,!s.forceKeepAttr&&(Ie(d,e),s.keepAttr))if(K||!regExpTest(/\/>/i,i)){X&&(i=stringReplace(i,j," "),i=stringReplace(i,I," "),i=stringReplace(i,P," "));var c=D(e.nodeName);if(Be(c,n,i)){if(!ae||"id"!==n&&"name"!==n||(Ie(d,e),i="user-content-"+i),b&&"object"===_typeof(h)&&"function"==typeof h.getAttributeType)if(p);else switch(h.getAttributeType(c,n)){case"TrustedHTML":i=b.createHTML(i);break;case"TrustedScriptURL":i=b.createScriptURL(i)}try{p?e.setAttributeNS(p,d,i):e.setAttribute(d,i),arrayPop(t.removed)}catch(e){}}}else Ie(d,e)}Oe("afterSanitizeAttributes",e,null)}},He=function e(t){var r,i=Me(t);for(Oe("beforeSanitizeShadowDOM",t,null);r=i.nextNode();)Oe("uponSanitizeShadowNode",r,null),Le(r)||(r.content instanceof n&&e(r.content),Ve(r));Oe("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(i){var a,s,l,d,p,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((_e=!i)&&(i="\x3c!--\x3e"),"string"!=typeof i&&!Fe(i)){if("function"!=typeof i.toString)throw typeErrorCreate("toString is not a function");if("string"!=typeof(i=i.toString()))throw typeErrorCreate("dirty is not a string, aborting")}if(!t.isSupported){if("object"===_typeof(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof i)return e.toStaticHTML(i);if(Fe(i))return e.toStaticHTML(i.outerHTML)}return i}if(J||Te(c),t.removed=[],"string"==typeof i&&(se=!1),se){if(i.nodeName){var u=D(i.nodeName);if(!N[u]||G[u])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof o)1===(s=(a=Pe("\x3c!----\x3e")).ownerDocument.importNode(i,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!te&&!X&&!Z&&-1===i.indexOf("<"))return b&&ie?b.createHTML(i):i;if(!(a=Pe(i)))return te?null:ie?v:""}a&&ee&&je(a.firstChild);for(var h=Me(se?i:a);l=h.nextNode();)3===l.nodeType&&l===d||Le(l)||(l.content instanceof n&&He(l.content),Ve(l),d=l);if(d=null,se)return i;if(te){if(re)for(p=w.call(a.ownerDocument);a.firstChild;)p.appendChild(a.firstChild);else p=a;return(H.shadowroot||H.shadowrootmod)&&(p=R.call(r,p,!0)),p}var m=Z?a.outerHTML:a.innerHTML;return Z&&N["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,a.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+m),X&&(m=stringReplace(m,j," "),m=stringReplace(m,I," "),m=stringReplace(m,P," ")),b&&ie?b.createHTML(m):m},t.setConfig=function(e){Te(e),J=!0},t.clearConfig=function(){Ce=null,J=!1},t.isValidAttribute=function(e,t,r){Ce||Te({});var i=D(e),n=D(t);return Be(i,n,r)},t.addHook=function(e,t){"function"==typeof t&&(k[e]=k[e]||[],arrayPush(k[e],t))},t.removeHook=function(e){if(k[e])return arrayPop(k[e])},t.removeHooks=function(e){k[e]&&(k[e]=[])},t.removeAllHooks=function(){k={}},t}var purify=createDOMPurify();const withNotificationBanner=e=>React__default.default.forwardRef(((t,r)=>jsxRuntime.jsx(NBComponent,{forwardedRef:r,...t,children:e.length>0?e.map(((e,t)=>{if("text"===e.type){const r=e.otherAttributes,i=purify.sanitize(e.content);return jsxRuntime.jsx("p",{...r,dangerouslySetInnerHTML:{__html:i}},t)}{const r=e.otherAttributes;return jsxRuntime.jsx(NotificationBanner.Link,{...r,children:e.content},t)}})):(console.error("[NotificationBannerHOC] Empty data passed"),null)}))),Wrapper$7=styled__default.default.div`
|
|
4097
|
+
function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _setPrototypeOf(e,t){return _setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_setPrototypeOf(e,t)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _construct(e,t,r){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,r){var i=[null];i.push.apply(i,t);var n=new(Function.bind.apply(e,i));return r&&_setPrototypeOf(n,r.prototype),n},_construct.apply(null,arguments)}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var hasOwnProperty=Object.hasOwnProperty,setPrototypeOf=Object.setPrototypeOf,isFrozen=Object.isFrozen,getPrototypeOf=Object.getPrototypeOf,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,freeze=Object.freeze,seal=Object.seal,create=Object.create,_ref="undefined"!=typeof Reflect&&Reflect,apply=_ref.apply,construct=_ref.construct;apply||(apply=function(e,t,r){return e.apply(t,r)}),freeze||(freeze=function(e){return e}),seal||(seal=function(e){return e}),construct||(construct=function(e,t){return _construct(e,_toConsumableArray(t))});var arrayForEach=unapply(Array.prototype.forEach),arrayPop=unapply(Array.prototype.pop),arrayPush=unapply(Array.prototype.push),stringToLowerCase=unapply(String.prototype.toLowerCase),stringToString=unapply(String.prototype.toString),stringMatch=unapply(String.prototype.match),stringReplace=unapply(String.prototype.replace),stringIndexOf=unapply(String.prototype.indexOf),stringTrim=unapply(String.prototype.trim),regExpTest=unapply(RegExp.prototype.test),typeErrorCreate=unconstruct(TypeError);function unapply(e){return function(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return apply(e,t,i)}}function unconstruct(e){return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return construct(e,r)}}function addToSet(e,t,r){r=r||stringToLowerCase,setPrototypeOf&&setPrototypeOf(e,null);for(var i=t.length;i--;){var n=t[i];if("string"==typeof n){var a=r(n);a!==n&&(isFrozen(t)||(t[i]=a),n=a)}e[n]=!0}return e}function clone(e){var t,r=create(null);for(t in e)!0===apply(hasOwnProperty,e,[t])&&(r[t]=e[t]);return r}function lookupGetter(e,t){for(;null!==e;){var r=getOwnPropertyDescriptor(e,t);if(r){if(r.get)return unapply(r.get);if("function"==typeof r.value)return unapply(r.value)}e=getPrototypeOf(e)}return function(e){return console.warn("fallback value for",e),null}}var html$1=freeze(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),svg$1=freeze(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),svgFilters=freeze(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),svgDisallowed=freeze(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mathMl$1=freeze(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),mathMlDisallowed=freeze(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),text=freeze(["#text"]),html=freeze(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),svg=freeze(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),mathMl=freeze(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xml=freeze(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),MUSTACHE_EXPR=seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ERB_EXPR=seal(/<%[\w\W]*|[\w\W]*%>/gm),TMPLIT_EXPR=seal(/\${[\w\W]*}/gm),DATA_ATTR=seal(/^data-[\-\w.\u00B7-\uFFFF]/),ARIA_ATTR=seal(/^aria-[\-\w]+$/),IS_ALLOWED_URI=seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),IS_SCRIPT_OR_DATA=seal(/^(?:\w+script|data):/i),ATTR_WHITESPACE=seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),DOCTYPE_NAME=seal(/^html$/i),getGlobal=function(){return"undefined"==typeof window?null:window},_createTrustedTypesPolicy=function(e,t){if("object"!==_typeof(e)||"function"!=typeof e.createPolicy)return null;var r=null,i="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(i)&&(r=t.currentScript.getAttribute(i));var n="dompurify"+(r?"#"+r:"");try{return e.createPolicy(n,{createHTML:function(e){return e},createScriptURL:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};function createDOMPurify(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:getGlobal(),t=function(e){return createDOMPurify(e)};if(t.version="2.4.5",t.removed=[],!e||!e.document||9!==e.document.nodeType)return t.isSupported=!1,t;var r=e.document,i=e.document,n=e.DocumentFragment,a=e.HTMLTemplateElement,o=e.Node,s=e.Element,l=e.NodeFilter,d=e.NamedNodeMap,p=void 0===d?e.NamedNodeMap||e.MozNamedAttrMap:d,c=e.HTMLFormElement,u=e.DOMParser,h=e.trustedTypes,m=s.prototype,f=lookupGetter(m,"cloneNode"),y=lookupGetter(m,"nextSibling"),g=lookupGetter(m,"childNodes"),x=lookupGetter(m,"parentNode");if("function"==typeof a){var _=i.createElement("template");_.content&&_.content.ownerDocument&&(i=_.content.ownerDocument)}var b=_createTrustedTypesPolicy(h,r),v=b?b.createHTML(""):"",S=i,C=S.implementation,$=S.createNodeIterator,w=S.createDocumentFragment,T=S.getElementsByTagName,R=r.importNode,k={};try{k=clone(i).documentMode?i.documentMode:{}}catch(e){}var E={};t.isSupported="function"==typeof x&&C&&void 0!==C.createHTMLDocument&&9!==k;var A,D,j=MUSTACHE_EXPR,I=ERB_EXPR,P=TMPLIT_EXPR,M=DATA_ATTR,F=ARIA_ATTR,O=IS_SCRIPT_OR_DATA,L=ATTR_WHITESPACE,B=IS_ALLOWED_URI,N=null,V=addToSet({},[].concat(_toConsumableArray(html$1),_toConsumableArray(svg$1),_toConsumableArray(svgFilters),_toConsumableArray(mathMl$1),_toConsumableArray(text))),H=null,z=addToSet({},[].concat(_toConsumableArray(html),_toConsumableArray(svg),_toConsumableArray(mathMl),_toConsumableArray(xml))),W=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),G=null,U=null,q=!0,Y=!0,Q=!1,K=!0,X=!1,Z=!1,J=!1,ee=!1,te=!1,re=!1,ie=!1,ne=!0,ae=!1,oe=!0,se=!1,le={},de=null,pe=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ce=null,ue=addToSet({},["audio","video","img","source","image","track"]),he=null,me=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml",xe=ge,_e=!1,be=null,ve=addToSet({},[fe,ye,ge],stringToString),Se=["application/xhtml+xml","text/html"],Ce=null,$e=i.createElement("form"),we=function(e){return e instanceof RegExp||e instanceof Function},Te=function(e){Ce&&Ce===e||(e&&"object"===_typeof(e)||(e={}),e=clone(e),A=A=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,D="application/xhtml+xml"===A?stringToString:stringToLowerCase,N="ALLOWED_TAGS"in e?addToSet({},e.ALLOWED_TAGS,D):V,H="ALLOWED_ATTR"in e?addToSet({},e.ALLOWED_ATTR,D):z,be="ALLOWED_NAMESPACES"in e?addToSet({},e.ALLOWED_NAMESPACES,stringToString):ve,he="ADD_URI_SAFE_ATTR"in e?addToSet(clone(me),e.ADD_URI_SAFE_ATTR,D):me,ce="ADD_DATA_URI_TAGS"in e?addToSet(clone(ue),e.ADD_DATA_URI_TAGS,D):ue,de="FORBID_CONTENTS"in e?addToSet({},e.FORBID_CONTENTS,D):pe,G="FORBID_TAGS"in e?addToSet({},e.FORBID_TAGS,D):{},U="FORBID_ATTR"in e?addToSet({},e.FORBID_ATTR,D):{},le="USE_PROFILES"in e&&e.USE_PROFILES,q=!1!==e.ALLOW_ARIA_ATTR,Y=!1!==e.ALLOW_DATA_ATTR,Q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Z=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,B=e.ALLOWED_URI_REGEXP||B,xe=e.NAMESPACE||ge,W=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&we(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&we(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(Y=!1),re&&(te=!0),le&&(N=addToSet({},_toConsumableArray(text)),H=[],!0===le.html&&(addToSet(N,html$1),addToSet(H,html)),!0===le.svg&&(addToSet(N,svg$1),addToSet(H,svg),addToSet(H,xml)),!0===le.svgFilters&&(addToSet(N,svgFilters),addToSet(H,svg),addToSet(H,xml)),!0===le.mathMl&&(addToSet(N,mathMl$1),addToSet(H,mathMl),addToSet(H,xml))),e.ADD_TAGS&&(N===V&&(N=clone(N)),addToSet(N,e.ADD_TAGS,D)),e.ADD_ATTR&&(H===z&&(H=clone(H)),addToSet(H,e.ADD_ATTR,D)),e.ADD_URI_SAFE_ATTR&&addToSet(he,e.ADD_URI_SAFE_ATTR,D),e.FORBID_CONTENTS&&(de===pe&&(de=clone(de)),addToSet(de,e.FORBID_CONTENTS,D)),oe&&(N["#text"]=!0),Z&&addToSet(N,["html","head","body"]),N.table&&(addToSet(N,["tbody"]),delete G.tbody),freeze&&freeze(e),Ce=e)},Re=addToSet({},["mi","mo","mn","ms","mtext"]),ke=addToSet({},["foreignobject","desc","title","annotation-xml"]),Ee=addToSet({},["title","style","font","a","script"]),Ae=addToSet({},svg$1);addToSet(Ae,svgFilters),addToSet(Ae,svgDisallowed);var De=addToSet({},mathMl$1);addToSet(De,mathMlDisallowed);var je=function(e){arrayPush(t.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=v}catch(t){e.remove()}}},Ie=function(e,r){try{arrayPush(t.removed,{attribute:r.getAttributeNode(e),from:r})}catch(e){arrayPush(t.removed,{attribute:null,from:r})}if(r.removeAttribute(e),"is"===e&&!H[e])if(te||re)try{je(r)}catch(e){}else try{r.setAttribute(e,"")}catch(e){}},Pe=function(e){var t,r;if(ee)e="<remove></remove>"+e;else{var n=stringMatch(e,/^[\r\n\t ]+/);r=n&&n[0]}"application/xhtml+xml"===A&&xe===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var a=b?b.createHTML(e):e;if(xe===ge)try{t=(new u).parseFromString(a,A)}catch(e){}if(!t||!t.documentElement){t=C.createDocument(xe,"template",null);try{t.documentElement.innerHTML=_e?v:a}catch(e){}}var o=t.body||t.documentElement;return e&&r&&o.insertBefore(i.createTextNode(r),o.childNodes[0]||null),xe===ge?T.call(t,Z?"html":"body")[0]:Z?t.documentElement:o},Me=function(e){return $.call(e.ownerDocument||e,e,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Fe=function(e){return"object"===_typeof(o)?e instanceof o:e&&"object"===_typeof(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Oe=function(e,r,i){E[e]&&arrayForEach(E[e],(function(e){e.call(t,r,i,Ce)}))},Le=function(e){var r,i;if(Oe("beforeSanitizeElements",e,null),(i=e)instanceof c&&("string"!=typeof i.nodeName||"string"!=typeof i.textContent||"function"!=typeof i.removeChild||!(i.attributes instanceof p)||"function"!=typeof i.removeAttribute||"function"!=typeof i.setAttribute||"string"!=typeof i.namespaceURI||"function"!=typeof i.insertBefore||"function"!=typeof i.hasChildNodes))return je(e),!0;if(regExpTest(/[\u0080-\uFFFF]/,e.nodeName))return je(e),!0;var n=D(e.nodeName);if(Oe("uponSanitizeElement",e,{tagName:n,allowedTags:N}),e.hasChildNodes()&&!Fe(e.firstElementChild)&&(!Fe(e.content)||!Fe(e.content.firstElementChild))&®ExpTest(/<[/\w]/g,e.innerHTML)&®ExpTest(/<[/\w]/g,e.textContent))return je(e),!0;if("select"===n&®ExpTest(/<template/i,e.innerHTML))return je(e),!0;if(!N[n]||G[n]){if(!G[n]&&Ne(n)){if(W.tagNameCheck instanceof RegExp&®ExpTest(W.tagNameCheck,n))return!1;if(W.tagNameCheck instanceof Function&&W.tagNameCheck(n))return!1}if(oe&&!de[n]){var a=x(e)||e.parentNode,o=g(e)||e.childNodes;if(o&&a)for(var l=o.length-1;l>=0;--l)a.insertBefore(f(o[l],!0),y(e))}return je(e),!0}return e instanceof s&&!function(e){var t=x(e);t&&t.tagName||(t={namespaceURI:xe,tagName:"template"});var r=stringToLowerCase(e.tagName),i=stringToLowerCase(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===ye?t.namespaceURI===ge?"svg"===r:t.namespaceURI===fe?"svg"===r&&("annotation-xml"===i||Re[i]):Boolean(Ae[r]):e.namespaceURI===fe?t.namespaceURI===ge?"math"===r:t.namespaceURI===ye?"math"===r&&ke[i]:Boolean(De[r]):e.namespaceURI===ge?!(t.namespaceURI===ye&&!ke[i])&&!(t.namespaceURI===fe&&!Re[i])&&!De[r]&&(Ee[r]||!Ae[r]):!("application/xhtml+xml"!==A||!be[e.namespaceURI]))}(e)?(je(e),!0):"noscript"!==n&&"noembed"!==n||!regExpTest(/<\/no(script|embed)/i,e.innerHTML)?(X&&3===e.nodeType&&(r=e.textContent,r=stringReplace(r,j," "),r=stringReplace(r,I," "),r=stringReplace(r,P," "),e.textContent!==r&&(arrayPush(t.removed,{element:e.cloneNode()}),e.textContent=r)),Oe("afterSanitizeElements",e,null),!1):(je(e),!0)},Be=function(e,t,r){if(ne&&("id"===t||"name"===t)&&(r in i||r in $e))return!1;if(Y&&!U[t]&®ExpTest(M,t));else if(q&®ExpTest(F,t));else if(!H[t]||U[t]){if(!(Ne(e)&&(W.tagNameCheck instanceof RegExp&®ExpTest(W.tagNameCheck,e)||W.tagNameCheck instanceof Function&&W.tagNameCheck(e))&&(W.attributeNameCheck instanceof RegExp&®ExpTest(W.attributeNameCheck,t)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(t))||"is"===t&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&®ExpTest(W.tagNameCheck,r)||W.tagNameCheck instanceof Function&&W.tagNameCheck(r))))return!1}else if(he[t]);else if(regExpTest(B,stringReplace(r,L,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==stringIndexOf(r,"data:")||!ce[e]){if(Q&&!regExpTest(O,stringReplace(r,L,"")));else if(r)return!1}else;return!0},Ne=function(e){return e.indexOf("-")>0},Ve=function(e){var r,i,n,a;Oe("beforeSanitizeAttributes",e,null);var o=e.attributes;if(o){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(a=o.length;a--;){var l=r=o[a],d=l.name,p=l.namespaceURI;if(i="value"===d?r.value:stringTrim(r.value),n=D(d),s.attrName=n,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,Oe("uponSanitizeAttribute",e,s),i=s.attrValue,!s.forceKeepAttr&&(Ie(d,e),s.keepAttr))if(K||!regExpTest(/\/>/i,i)){X&&(i=stringReplace(i,j," "),i=stringReplace(i,I," "),i=stringReplace(i,P," "));var c=D(e.nodeName);if(Be(c,n,i)){if(!ae||"id"!==n&&"name"!==n||(Ie(d,e),i="user-content-"+i),b&&"object"===_typeof(h)&&"function"==typeof h.getAttributeType)if(p);else switch(h.getAttributeType(c,n)){case"TrustedHTML":i=b.createHTML(i);break;case"TrustedScriptURL":i=b.createScriptURL(i)}try{p?e.setAttributeNS(p,d,i):e.setAttribute(d,i),arrayPop(t.removed)}catch(e){}}}else Ie(d,e)}Oe("afterSanitizeAttributes",e,null)}},He=function e(t){var r,i=Me(t);for(Oe("beforeSanitizeShadowDOM",t,null);r=i.nextNode();)Oe("uponSanitizeShadowNode",r,null),Le(r)||(r.content instanceof n&&e(r.content),Ve(r));Oe("afterSanitizeShadowDOM",t,null)};return t.sanitize=function(i){var a,s,l,d,p,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((_e=!i)&&(i="\x3c!--\x3e"),"string"!=typeof i&&!Fe(i)){if("function"!=typeof i.toString)throw typeErrorCreate("toString is not a function");if("string"!=typeof(i=i.toString()))throw typeErrorCreate("dirty is not a string, aborting")}if(!t.isSupported){if("object"===_typeof(e.toStaticHTML)||"function"==typeof e.toStaticHTML){if("string"==typeof i)return e.toStaticHTML(i);if(Fe(i))return e.toStaticHTML(i.outerHTML)}return i}if(J||Te(c),t.removed=[],"string"==typeof i&&(se=!1),se){if(i.nodeName){var u=D(i.nodeName);if(!N[u]||G[u])throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof o)1===(s=(a=Pe("\x3c!----\x3e")).ownerDocument.importNode(i,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else{if(!te&&!X&&!Z&&-1===i.indexOf("<"))return b&&ie?b.createHTML(i):i;if(!(a=Pe(i)))return te?null:ie?v:""}a&&ee&&je(a.firstChild);for(var h=Me(se?i:a);l=h.nextNode();)3===l.nodeType&&l===d||Le(l)||(l.content instanceof n&&He(l.content),Ve(l),d=l);if(d=null,se)return i;if(te){if(re)for(p=w.call(a.ownerDocument);a.firstChild;)p.appendChild(a.firstChild);else p=a;return(H.shadowroot||H.shadowrootmod)&&(p=R.call(r,p,!0)),p}var m=Z?a.outerHTML:a.innerHTML;return Z&&N["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&®ExpTest(DOCTYPE_NAME,a.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+m),X&&(m=stringReplace(m,j," "),m=stringReplace(m,I," "),m=stringReplace(m,P," ")),b&&ie?b.createHTML(m):m},t.setConfig=function(e){Te(e),J=!0},t.clearConfig=function(){Ce=null,J=!1},t.isValidAttribute=function(e,t,r){Ce||Te({});var i=D(e),n=D(t);return Be(i,n,r)},t.addHook=function(e,t){"function"==typeof t&&(E[e]=E[e]||[],arrayPush(E[e],t))},t.removeHook=function(e){if(E[e])return arrayPop(E[e])},t.removeHooks=function(e){E[e]&&(E[e]=[])},t.removeAllHooks=function(){E={}},t}var purify=createDOMPurify();const withNotificationBanner=e=>React__default.default.forwardRef(((t,r)=>jsxRuntime.jsx(NBComponent,{forwardedRef:r,...t,children:e.length>0?e.map(((e,t)=>{if("text"===e.type){const r=e.otherAttributes,i=purify.sanitize(e.content);return jsxRuntime.jsx("p",{...r,dangerouslySetInnerHTML:{__html:i}},t)}{const r=e.otherAttributes;return jsxRuntime.jsx(NotificationBanner.Link,{...r,children:e.content},t)}})):(console.error("[NotificationBannerHOC] Empty data passed"),null)}))),Wrapper$7=styled__default.default.div`
|
|
4080
4098
|
display: flex;
|
|
4081
4099
|
flex-direction: column;
|
|
4082
4100
|
`,InputContainer=styled__default.default.div`
|
|
@@ -4105,7 +4123,7 @@ function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof S
|
|
|
4105
4123
|
}
|
|
4106
4124
|
`,CTAButton=styled__default.default(Button.Small)`
|
|
4107
4125
|
margin: 2rem 0rem;
|
|
4108
|
-
`,OtpInput=({id:e,value:t=[],"data-testid":r,className:i,cooldownDuration:n,actionButtonProps:a,errorMessage:o,numOfInput:s,onChange:l,onCooldownStart:d,onCooldownEnd:p,...c})=>{const{disabled:u,onClick:h,styleType:m="secondary",...f}=a??{},y=React.useRef([]),g=React.useRef(l),[x,_]=React.useState(new Array(s).fill("")),[b,v]=React.useState(n),[S,C]=React.useState(new Date);React.useEffect((()=>(y?.current[0]?.focus(),document.addEventListener("paste",T),()=>document.removeEventListener("paste",T))),[]),React.useEffect((()=>{if(0!==n){d&&d();const e=
|
|
4126
|
+
`,OtpInput=({id:e,value:t=[],"data-testid":r,className:i,cooldownDuration:n,actionButtonProps:a,errorMessage:o,numOfInput:s,onChange:l,onCooldownStart:d,onCooldownEnd:p,...c})=>{const{disabled:u,onClick:h,styleType:m="secondary",...f}=a??{},y=React.useRef([]),g=React.useRef(l),[x,_]=React.useState(new Array(s).fill("")),[b,v]=React.useState(n),[S,C]=React.useState(new Date);React.useEffect((()=>(y?.current[0]?.focus(),document.addEventListener("paste",T),()=>document.removeEventListener("paste",T))),[]),React.useEffect((()=>{if(0!==n){d&&d();const e=E();return()=>e()}}),[S]),React.useEffect((()=>{g.current=l}),[l]),React.useEffect((()=>{t.length===s&&_(t)}),[t]);const $=e=>t=>{const r=t.target.value.replace(/[^0-9]/g,"");if(R(r)){const t=[...x];t[e]=r.substring(r.length-1),y.current[e+1]?.focus(),_(t),l&&l(t)}},w=e=>t=>{const{key:r,code:i}=t;if("Backspace"===r||"Backspace"===i){const t=[...x];""!==t[e]?t[e]="":0!==e&&(t[e-1]="",y.current[e-1]?.focus()),_(t),l&&l(t)}},T=e=>{const t=e.clipboardData.getData("text"),r=t.split("");t&&R(t,s)?(_(r),g.current&&g.current(r)):e.preventDefault()},R=(e,t=1)=>!!e&&RegExp(`^[0-9]{${t}}$`).test(e),k=()=>{const e=Date.now(),t=1e3*n;return e<S.valueOf()+t},E=()=>{const e=setInterval((()=>{const t=Date.now(),r=1e3*n,i=Math.ceil((S.valueOf()+r-t)/1e3);v(i),i<=0&&(p&&p(),clearInterval(e))}),1e3);return()=>{clearInterval(e)}},A=(e,t,r)=>r?`${r}-${t}-${e+1}`:`${t}-${e+1}`;return jsxRuntime.jsxs(Wrapper$7,{id:e,"data-testid":r,className:i,children:[jsxRuntime.jsx(InputContainer,{children:x.map(((t,i)=>jsxRuntime.jsx(InputField,{id:A(i,"otp-input",e),"data-testid":A(i,"otp-input",r),ref:e=>y.current[i]=e,type:"text",inputMode:"numeric",value:t,error:!!o,onChange:$(i),onKeyDown:w(i),...c},i)))}),o&&jsxRuntime.jsx(FormErrorMessage,{children:o}),jsxRuntime.jsx(CTAButton,{styleType:m,type:"button",...f,onClick:e=>{_(new Array(s).fill("")),k()||(C(new Date),v(n)),h&&h(e)},disabled:u||k(),children:f.children?f.children:"Resend OTP"+(b?` in ${b} second${b>1?"s":""}`:"")})]})},PaginationWrapper=styled__default.default.nav`
|
|
4109
4127
|
display: flex;
|
|
4110
4128
|
`,PaginationList=styled__default.default.div`
|
|
4111
4129
|
display: flex;
|
|
@@ -4309,7 +4327,7 @@ function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof S
|
|
|
4309
4327
|
`,InputSelectWrapper=styled__default.default.div`
|
|
4310
4328
|
width: 9.2rem;
|
|
4311
4329
|
margin-left: 0.5rem;
|
|
4312
|
-
`,Component=({id:e,"data-testid":t,className:r,pageSize:i=10,totalItems:n,activePage:a,pageSizeOptions:o=DEFAULT_OPTIONS,showFirstAndLastNav:s,showPageSizeChanger:l=!1,onPageChange:d,onPageSizeChange:p},c)=>{const u=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL}),h=o,[m,f]=React.useState(!1),[y,g]=React.useState(!1),[x,_]=React.useState(""),[b,v]=React.useState(h&&h.length>=1?h[0]:null),[S,C]=React.useState(!u&&l&&b?b.value:i),$=Math.ceil(n/S),w=1===a,T=a===$,R=a>1?()=>M(1):void 0,
|
|
4330
|
+
`,Component=({id:e,"data-testid":t,className:r,pageSize:i=10,totalItems:n,activePage:a,pageSizeOptions:o=DEFAULT_OPTIONS,showFirstAndLastNav:s,showPageSizeChanger:l=!1,onPageChange:d,onPageSizeChange:p},c)=>{const u=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL}),h=o,[m,f]=React.useState(!1),[y,g]=React.useState(!1),[x,_]=React.useState(""),[b,v]=React.useState(h&&h.length>=1?h[0]:null),[S,C]=React.useState(!u&&l&&b?b.value:i),$=Math.ceil(n/S),w=1===a,T=a===$,R=a>1?()=>M(1):void 0,k=a<$?()=>M($):void 0,E=a>1?()=>M(a-1):void 0,A=a<$?()=>M(parseInt(a.toString())+1):void 0,D=e=>e?()=>H():()=>N(),j=e=>e?()=>z():()=>V();React.useEffect((()=>{a&&I(a)}),[a]);const I=e=>{_(e.toString())},P=()=>{f(!1),g(!1)},M=e=>{d&&(d(e),I(e))},F=()=>{const e=Math.min($,a+5);M(e),I(e),f(!0),g(!1)},O=()=>{const e=Math.max(1,a-5);M(e),I(e),f(!1),g(!0)},L=e=>{const t=e.target.value;if(void 0===t||0===t.length)_("");else if(/^[0-9]+$/.test(t)){const e=parseInt(t.replace(/[^0-9]/g,""));I(Math.max(1,Math.min($,e)))}else _(t.replace(/[^0-9]/g,""))},B=e=>{e.preventDefault(),x&&d(parseInt(x))},N=()=>{f(!0)},V=()=>{f(!1)},H=()=>{g(!0)},z=()=>{g(!1)},W=(e,t,r)=>jsxRuntime.jsxs(EllipsisContainer,{children:[jsxRuntime.jsx(NavigationItem,{focusHighlight:!1,focusOutline:"browser","aria-label":e?"Previous 5 pages":"Next 5 pages",onMouseOver:D(e),onMouseOut:j(e),onFocus:D(e),onBlur:j(e),onClick:e?O:F,children:e&&y?jsxRuntime.jsx(chevron2Left.Chevron2LeftIcon,{"aria-hidden":!0}):t&&m?jsxRuntime.jsx(chevron2Right.Chevron2RightIcon,{"aria-hidden":!0}):jsxRuntime.jsx(ellipsisHorizontal.EllipsisHorizontalIcon,{"aria-hidden":!0})}),e&&y&&jsxRuntime.jsx(Hover,{children:"Previous 5 pages"}),t&&m&&jsxRuntime.jsx(Hover,{children:"Next 5 pages"})]},r);return jsxRuntime.jsxs(PaginationWrapper,{className:r,ref:c,id:e||"pagination-wrapper","data-testid":t||"pagination","aria-label":"Pagination",children:[jsxRuntime.jsx(PaginationList,{children:jsxRuntime.jsxs(PaginationMenu,{children:[s&&jsxRuntime.jsx(NavigationButton,{onClick:R,disabled:w,focusHighlight:!1,$position:"left","aria-label":"First page",focusOutline:"browser",children:jsxRuntime.jsx(chevronLineLeft.ChevronLineLeftIcon,{"aria-hidden":!0})}),jsxRuntime.jsx(NavigationButton,{onClick:E,disabled:w,focusHighlight:!1,$position:"left","aria-label":"Previous page",focusOutline:"browser",children:jsxRuntime.jsx(chevronLeft.ChevronLeftIcon,{"aria-hidden":!0})}),u?jsxRuntime.jsxs(PaginationMobileInput,{children:[jsxRuntime.jsx("form",{onSubmit:B,children:jsxRuntime.jsx(InputView,{value:x,onChange:L,autoComplete:"off",type:"numeric",id:(e||"pagination")+"-input","data-testid":(t||"pagination")+"-input"})}),jsxRuntime.jsx(LabelDivider,{children:"/"}),jsxRuntime.jsx(Label$2,{children:$})]}):[...Array($)].map(((e,t)=>{const r=t+1,i=$-5,n=a===r;if($<=7)return jsxRuntime.jsx(PageItem,{onClick:()=>M(r),$selected:n,"aria-label":"Page "+r,"aria-current":!!n&&"page",onMouseOver:P,onFocus:P,children:r},r);const o=a+1>5&&2===r,s=a-1<=i&&r===$-1-1;return o||s?W(o,s,r):r<=5&&a+1<=5||r<=1||r===a||r<=a+1&&r>=a-1-1||r>i&&a-1>i||r>$-1?jsxRuntime.jsx(PageItem,{onClick:()=>M(r),$selected:n,"aria-label":"Page "+r,"aria-current":!!n&&"page",onMouseOver:P,onFocus:P,children:r},r):null})),jsxRuntime.jsx(NavigationButton,{onClick:A,disabled:T,focusHighlight:!1,$position:"right","aria-label":"Next page",focusOutline:"browser",children:jsxRuntime.jsx(chevronRight.ChevronRightIcon,{"aria-hidden":!0})}),s&&jsxRuntime.jsx(NavigationButton,{onClick:k,disabled:T,focusHighlight:!1,$position:"right","aria-label":"Last page",focusOutline:"browser",children:jsxRuntime.jsx(chevronLineRight.ChevronLineRightIcon,{"aria-hidden":!0})})]})}),l&&!u&&jsxRuntime.jsx(InputSelectWrapper,{children:jsxRuntime.jsx(InputSelect,{options:h,valueExtractor:e=>e.value,listExtractor:e=>e.label,displayValueExtractor:e=>e.label,selectedOption:b,onSelectOption:e=>{v(e);const t=e.value,r=Math.ceil(n/t);C(t);p&&p(a>=r?r:a,t)}})})]})},Pagination=React__default.default.forwardRef(Component),DEFAULT_OPTIONS=[{value:10,label:"10 / page"},{value:20,label:"20 / page"},{value:30,label:"30 / page"}],Wrapper$6=styled__default.default.div`
|
|
4313
4331
|
border-radius: 1rem;
|
|
4314
4332
|
padding: 0.125rem 0.5rem;
|
|
4315
4333
|
width: fit-content;
|
|
@@ -5074,7 +5092,7 @@ function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof S
|
|
|
5074
5092
|
background: transparent;
|
|
5075
5093
|
}
|
|
5076
5094
|
`};
|
|
5077
|
-
`,Toast=({type:e="success",title:t,label:r,autoDismiss:i,onDismiss:
|
|
5095
|
+
`,DEFAULT_AUTO_DISMISS_TIME=4e3,Toast=({type:e="success",title:t,label:r,autoDismiss:i,autoDismissTime:n=DEFAULT_AUTO_DISMISS_TIME,onDismiss:a,...o})=>{const[s,l]=React.useState(!1),d=reactResponsive.exports.useMediaQuery({maxWidth:MediaWidths$1.mobileL});React.useEffect((()=>{l(!0)}),[]),React.useEffect((()=>{if(!i)return;const e=setTimeout((()=>{l(!1)}),n);return()=>clearTimeout(e)}),[i]);const p=useSpring({opacity:s?1:0,transform:s?d?"translateY(0%)":"translateX(0%)":d?"translateY(-1500%)":"translateX(150%)",config:{easing:easings.easeInOutQuart,duration:1e3},onRest:()=>{s||a?.()}});return jsxRuntime.jsxs(Wrapper,{style:p,$type:e,...o,children:[(()=>{switch(e){case"success":return jsxRuntime.jsx(reactIcons.TickCircleFillIcon,{});case"warning":return jsxRuntime.jsx(reactIcons.ExclamationTriangleFillIcon,{});case"error":return jsxRuntime.jsx(reactIcons.ExclamationCircleFillIcon,{});case"info":return jsxRuntime.jsx(reactIcons.ICircleFillIcon,{});default:return null}})(),jsxRuntime.jsxs(TextContainer,{children:[t&&jsxRuntime.jsx(Title,{$type:e,weight:"semibold",children:t}),r&&jsxRuntime.jsx(Description,{$type:e,children:t?jsxRuntime.jsx(exports.Text.BodySmall,{children:r}):jsxRuntime.jsx(exports.Text.Body,{children:r})})]}),jsxRuntime.jsx(DismissButton,{$type:e,onClick:()=>{l(!1)},children:jsxRuntime.jsx(CloseIcon,{})})]})},getVisibilityStyle=e=>e?styled.css`
|
|
5078
5096
|
visibility: "visible";
|
|
5079
5097
|
opacity: 1;
|
|
5080
5098
|
transition: ${Transition.Base};
|
|
@@ -5264,5 +5282,5 @@ function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof S
|
|
|
5264
5282
|
`}}}
|
|
5265
5283
|
`,HOCWrapper=styled__default.default.div`
|
|
5266
5284
|
position: relative;
|
|
5267
|
-
`,Tooltip=({visible:e,position:t="top",children:r,...i})=>{const n=i["data-testid"]||"tooltip",[a,o]=React.useState(t),s=React.useRef(null);React.useEffect((()=>(d(),window.addEventListener("resize",debounce_1(l,300)),()=>{window.removeEventListener("resize",debounce_1(l,300))})),[]);const l=()=>{d()},d=()=>{if(s.current){const e=s.current.getBoundingClientRect();if(e.x<0)switch(t){case"left":case"top":case"bottom":o("right");break;case"right":o("top")}else if(e.x+e.width>window.outerWidth)switch(t){case"right":case"top":case"bottom":o("left");break;case"left":o("top")}else o(t)}};return jsxRuntime.jsxs(BubbleWrap,{position:a,"data-testid":n,visible:e,ref:s,...i,children:[jsxRuntime.jsx(Bubble,{children:"string"==typeof r?jsxRuntime.jsx(exports.Text.BodySmall,{children:r}):r}),jsxRuntime.jsx(Arrow,{position:a})]})},withTooltip=(e,t)=>r=>{const{tooltipVisible:i,position:n,...a}=r,o=a;return jsxRuntime.jsxs(HOCWrapper,{children:[jsxRuntime.jsx(e,{...o}),jsxRuntime.jsx(Tooltip,{visible:i,position:n,children:t.content})]})};exports.Accordion=Accordion,exports.Alert=Alert,exports.BaseTheme=BaseTheme,exports.BookingSGTheme=BookingSGTheme,exports.BoxContainer=BoxContainer,exports.Breadcrumb=Breadcrumb,exports.Button=Button,exports.Calendar=Calendar,exports.Card=Card,exports.Checkbox=Checkbox,exports.Color=Color,exports.DateInput=DateInput,exports.DateRangeInput=DateRangeInput,exports.Drawer=Drawer$1,exports.ErrorDisplay=ErrorDisplay,exports.FeedbackRating=FeedbackRating,exports.FileUpload=FileUpload,exports.Filter=Filter,exports.Footer=Footer,exports.Form=Form,exports.IconButton=IconButton$1,exports.ImageButton=ImageButton,exports.Input=Input$3,exports.InputGroup=InputGroup,exports.InputSelect=InputSelect,exports.Layout=Layout,exports.LinkList=LinkList,exports.LoadingDots=LoadingDots,exports.LoadingDotsSpinner=LoadingDotsSpinner,exports.LoadingSpinner=LoadingSpinner,exports.Masonry=Masonry,exports.Masthead=Masthead,exports.MediaQuery=MediaQuery,exports.MediaWidths=MediaWidths,exports.Modal=Modal,exports.NBComponent=NBComponent,exports.Navbar=Navbar,exports.NavbarHeight=NavbarHeight,exports.NavbarMobileHeight=NavbarMobileHeight,exports.NotificationBanner=NotificationBanner,exports.OtpInput=OtpInput,exports.Overlay=Overlay,exports.Pagination=Pagination,exports.PhoneNumberInput=PhoneNumberInput,exports.Pill=Pill,exports.Popover=Popover,exports.PredictiveTextInput=PredictiveTextInput,exports.ProgressIndicator=ProgressIndicator,exports.RBSTheme=RBSTheme,exports.RadioButton=RadioButton,exports.Sidenav=Sidenav,exports.SmartAppBanner=SmartAppBanner,exports.Tag=Tag,exports.TextList=TextList,exports.TextStyle=TextStyle,exports.TextStyleHelper=TextStyleHelper,exports.Textarea=Textarea,exports.TimeRangePicker=TimeRangePicker,exports.TimeSlotBar=TimeSlotBar,exports.TimeSlotWeekView=TimeSlotWeekView,exports.Timeline=Timeline,exports.Timepicker=Timepicker,exports.Toast=Toast,exports.Toggle=Toggle,exports.Tooltip=Tooltip,exports.Transition=Transition,exports.withNotificationBanner=withNotificationBanner,exports.withPopover=withPopover,exports.withTooltip=withTooltip;
|
|
5285
|
+
`,Tooltip=({visible:e,position:t="top",children:r,...i})=>{const n=i["data-testid"]||"tooltip",[a,o]=React.useState(t),s=React.useRef(null);React.useEffect((()=>(d(),window.addEventListener("resize",debounce_1(l,300)),()=>{window.removeEventListener("resize",debounce_1(l,300))})),[]);const l=()=>{d()},d=()=>{if(s.current){const e=s.current.getBoundingClientRect();if(e.x<0)switch(t){case"left":case"top":case"bottom":o("right");break;case"right":o("top")}else if(e.x+e.width>window.outerWidth)switch(t){case"right":case"top":case"bottom":o("left");break;case"left":o("top")}else o(t)}};return jsxRuntime.jsxs(BubbleWrap,{position:a,"data-testid":n,visible:e,ref:s,...i,children:[jsxRuntime.jsx(Bubble,{children:"string"==typeof r?jsxRuntime.jsx(exports.Text.BodySmall,{children:r}):r}),jsxRuntime.jsx(Arrow,{position:a})]})},withTooltip=(e,t)=>r=>{const{tooltipVisible:i,position:n,...a}=r,o=a;return jsxRuntime.jsxs(HOCWrapper,{children:[jsxRuntime.jsx(e,{...o}),jsxRuntime.jsx(Tooltip,{visible:i,position:n,children:t.content})]})};exports.Accordion=Accordion,exports.Alert=Alert,exports.BaseTheme=BaseTheme,exports.BookingSGTheme=BookingSGTheme,exports.BoxContainer=BoxContainer,exports.Breadcrumb=Breadcrumb,exports.Button=Button,exports.Calendar=Calendar,exports.Card=Card,exports.Checkbox=Checkbox,exports.Color=Color,exports.DateInput=DateInput,exports.DateRangeInput=DateRangeInput,exports.DesignToken=DesignToken,exports.Drawer=Drawer$1,exports.ErrorDisplay=ErrorDisplay,exports.FeedbackRating=FeedbackRating,exports.FileUpload=FileUpload,exports.Filter=Filter,exports.Footer=Footer,exports.Form=Form,exports.IconButton=IconButton$1,exports.ImageButton=ImageButton,exports.Input=Input$3,exports.InputGroup=InputGroup,exports.InputSelect=InputSelect,exports.Layout=Layout,exports.LinkList=LinkList,exports.LoadingDots=LoadingDots,exports.LoadingDotsSpinner=LoadingDotsSpinner,exports.LoadingSpinner=LoadingSpinner,exports.Masonry=Masonry,exports.Masthead=Masthead,exports.MediaQuery=MediaQuery,exports.MediaWidths=MediaWidths,exports.Modal=Modal,exports.NBComponent=NBComponent,exports.Navbar=Navbar,exports.NavbarHeight=NavbarHeight,exports.NavbarMobileHeight=NavbarMobileHeight,exports.NotificationBanner=NotificationBanner,exports.OtpInput=OtpInput,exports.Overlay=Overlay,exports.Pagination=Pagination,exports.PhoneNumberInput=PhoneNumberInput,exports.Pill=Pill,exports.Popover=Popover,exports.PredictiveTextInput=PredictiveTextInput,exports.ProgressIndicator=ProgressIndicator,exports.RBSTheme=RBSTheme,exports.RadioButton=RadioButton,exports.Sidenav=Sidenav,exports.SmartAppBanner=SmartAppBanner,exports.Tag=Tag,exports.TextList=TextList,exports.TextStyle=TextStyle,exports.TextStyleHelper=TextStyleHelper,exports.Textarea=Textarea,exports.TimeRangePicker=TimeRangePicker,exports.TimeSlotBar=TimeSlotBar,exports.TimeSlotWeekView=TimeSlotWeekView,exports.Timeline=Timeline,exports.Timepicker=Timepicker,exports.Toast=Toast,exports.Toggle=Toggle,exports.Tooltip=Tooltip,exports.Transition=Transition,exports.withNotificationBanner=withNotificationBanner,exports.withPopover=withPopover,exports.withTooltip=withTooltip;
|
|
5268
5286
|
//# sourceMappingURL=index.js.map
|