var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");

/*!
 * Webflow: Front-end site library
 * @license MIT
 * Inline scripts may access the api using an async handler:
 *   var Webflow = Webflow || [];
 *   Webflow.push(readyFunction);
 */

(()=>{var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Hi=_(()=>{"use strict";window.tram=function(e){function t(A,B){var G=new R.Bare;return G.init(A,B)}function r(A){return A.replace(/[A-Z]/g,function(B){return"-"+B.toLowerCase()})}function n(A){var B=parseInt(A.slice(1),16),G=B>>16&255,H=B>>8&255,U=255&B;return[G,H,U]}function i(A,B,G){return"#"+(1<<24|A<<16|B<<8|G).toString(16).slice(1)}function a(){}function s(A,B){p("Type warning: Expected: ["+A+"] Got: ["+typeof B+"] "+B)}function o(A,B,G){p("Units do not match ["+A+"]: "+B+", "+G)}function l(A,B,G){if(B!==void 0&&(G=B),A===void 0)return G;var H=G;return Se.test(A)||!xe.test(A)?H=parseInt(A,10):xe.test(A)&&(H=1e3*parseFloat(A)),0>H&&(H=0),H===H?H:G}function p(A){ne.debug&&window&&window.console.warn(A)}function c(A){for(var B=-1,G=A?A.length:0,H=[];++B<G;){var U=A[B];U&&H.push(U)}return H}var h=function(A,B,G){function H(te){return typeof te=="object"}function U(te){return typeof te=="function"}function W(){}function Q(te,le){function $(){var Ce=new ie;return U(Ce.init)&&Ce.init.apply(Ce,arguments),Ce}function ie(){}le===G&&(le=te,te=Object),$.Bare=ie;var ae,ve=W[A]=te[A],$e=ie[A]=$[A]=new W;return $e.constructor=$,$.mixin=function(Ce){return ie[A]=$[A]=Q($,Ce)[A],$},$.open=function(Ce){if(ae={},U(Ce)?ae=Ce.call($,$e,ve,$,te):H(Ce)&&(ae=Ce),H(ae))for(var Sr in ae)B.call(ae,Sr)&&($e[Sr]=ae[Sr]);return U($e.init)||($e.init=te),$},$.open(le)}return Q}("prototype",{}.hasOwnProperty),g={ease:["ease",function(A,B,G,H){var U=(A/=H)*A,W=U*A;return B+G*(-2.75*W*U+11*U*U+-15.5*W+8*U+.25*A)}],"ease-in":["ease-in",function(A,B,G,H){var U=(A/=H)*A,W=U*A;return B+G*(-1*W*U+3*U*U+-3*W+2*U)}],"ease-out":["ease-out",function(A,B,G,H){var U=(A/=H)*A,W=U*A;return B+G*(.3*W*U+-1.6*U*U+2.2*W+-1.8*U+1.9*A)}],"ease-in-out":["ease-in-out",function(A,B,G,H){var U=(A/=H)*A,W=U*A;return B+G*(2*W*U+-5*U*U+2*W+2*U)}],linear:["linear",function(A,B,G,H){return G*A/H+B}],"ease-in-quad":["cubic-bezier(0.550, 0.085, 0.680, 0.530)",function(A,B,G,H){return G*(A/=H)*A+B}],"ease-out-quad":["cubic-bezier(0.250, 0.460, 0.450, 0.940)",function(A,B,G,H){return-G*(A/=H)*(A-2)+B}],"ease-in-out-quad":["cubic-bezier(0.455, 0.030, 0.515, 0.955)",function(A,B,G,H){return(A/=H/2)<1?G/2*A*A+B:-G/2*(--A*(A-2)-1)+B}],"ease-in-cubic":["cubic-bezier(0.550, 0.055, 0.675, 0.190)",function(A,B,G,H){return G*(A/=H)*A*A+B}],"ease-out-cubic":["cubic-bezier(0.215, 0.610, 0.355, 1)",function(A,B,G,H){return G*((A=A/H-1)*A*A+1)+B}],"ease-in-out-cubic":["cubic-bezier(0.645, 0.045, 0.355, 1)",function(A,B,G,H){return(A/=H/2)<1?G/2*A*A*A+B:G/2*((A-=2)*A*A+2)+B}],"ease-in-quart":["cubic-bezier(0.895, 0.030, 0.685, 0.220)",function(A,B,G,H){return G*(A/=H)*A*A*A+B}],"ease-out-quart":["cubic-bezier(0.165, 0.840, 0.440, 1)",function(A,B,G,H){return-G*((A=A/H-1)*A*A*A-1)+B}],"ease-in-out-quart":["cubic-bezier(0.770, 0, 0.175, 1)",function(A,B,G,H){return(A/=H/2)<1?G/2*A*A*A*A+B:-G/2*((A-=2)*A*A*A-2)+B}],"ease-in-quint":["cubic-bezier(0.755, 0.050, 0.855, 0.060)",function(A,B,G,H){return G*(A/=H)*A*A*A*A+B}],"ease-out-quint":["cubic-bezier(0.230, 1, 0.320, 1)",function(A,B,G,H){return G*((A=A/H-1)*A*A*A*A+1)+B}],"ease-in-out-quint":["cubic-bezier(0.860, 0, 0.070, 1)",function(A,B,G,H){return(A/=H/2)<1?G/2*A*A*A*A*A+B:G/2*((A-=2)*A*A*A*A+2)+B}],"ease-in-sine":["cubic-bezier(0.470, 0, 0.745, 0.715)",function(A,B,G,H){return-G*Math.cos(A/H*(Math.PI/2))+G+B}],"ease-out-sine":["cubic-bezier(0.390, 0.575, 0.565, 1)",function(A,B,G,H){return G*Math.sin(A/H*(Math.PI/2))+B}],"ease-in-out-sine":["cubic-bezier(0.445, 0.050, 0.550, 0.950)",function(A,B,G,H){return-G/2*(Math.cos(Math.PI*A/H)-1)+B}],"ease-in-expo":["cubic-bezier(0.950, 0.050, 0.795, 0.035)",function(A,B,G,H){return A===0?B:G*Math.pow(2,10*(A/H-1))+B}],"ease-out-expo":["cubic-bezier(0.190, 1, 0.220, 1)",function(A,B,G,H){return A===H?B+G:G*(-Math.pow(2,-10*A/H)+1)+B}],"ease-in-out-expo":["cubic-bezier(1, 0, 0, 1)",function(A,B,G,H){return A===0?B:A===H?B+G:(A/=H/2)<1?G/2*Math.pow(2,10*(A-1))+B:G/2*(-Math.pow(2,-10*--A)+2)+B}],"ease-in-circ":["cubic-bezier(0.600, 0.040, 0.980, 0.335)",function(A,B,G,H){return-G*(Math.sqrt(1-(A/=H)*A)-1)+B}],"ease-out-circ":["cubic-bezier(0.075, 0.820, 0.165, 1)",function(A,B,G,H){return G*Math.sqrt(1-(A=A/H-1)*A)+B}],"ease-in-out-circ":["cubic-bezier(0.785, 0.135, 0.150, 0.860)",function(A,B,G,H){return(A/=H/2)<1?-G/2*(Math.sqrt(1-A*A)-1)+B:G/2*(Math.sqrt(1-(A-=2)*A)+1)+B}],"ease-in-back":["cubic-bezier(0.600, -0.280, 0.735, 0.045)",function(A,B,G,H,U){return U===void 0&&(U=1.70158),G*(A/=H)*A*((U+1)*A-U)+B}],"ease-out-back":["cubic-bezier(0.175, 0.885, 0.320, 1.275)",function(A,B,G,H,U){return U===void 0&&(U=1.70158),G*((A=A/H-1)*A*((U+1)*A+U)+1)+B}],"ease-in-out-back":["cubic-bezier(0.680, -0.550, 0.265, 1.550)",function(A,B,G,H,U){return U===void 0&&(U=1.70158),(A/=H/2)<1?G/2*A*A*(((U*=1.525)+1)*A-U)+B:G/2*((A-=2)*A*(((U*=1.525)+1)*A+U)+2)+B}]},d={"ease-in-back":"cubic-bezier(0.600, 0, 0.735, 0.045)","ease-out-back":"cubic-bezier(0.175, 0.885, 0.320, 1)","ease-in-out-back":"cubic-bezier(0.680, 0, 0.265, 1)"},f=document,m=window,u="bkwld-tram",y=/[\-\.0-9]/g,v=/[A-Z]/,E="number",b=/^(rgb|#)/,S=/(em|cm|mm|in|pt|pc|px)$/,T=/(em|cm|mm|in|pt|pc|px|%)$/,I=/(deg|rad|turn)$/,x="unitless",D=/(all|none) 0s ease 0s/,w=/^(width|height)$/,C=" ",k=f.createElement("a"),O=["Webkit","Moz","O","ms"],M=["-webkit-","-moz-","-o-","-ms-"],q=function(A){if(A in k.style)return{dom:A,css:A};var B,G,H="",U=A.split("-");for(B=0;B<U.length;B++)H+=U[B].charAt(0).toUpperCase()+U[B].slice(1);for(B=0;B<O.length;B++)if(G=O[B]+H,G in k.style)return{dom:G,css:M[B]+A}},z=t.support={bind:Function.prototype.bind,transform:q("transform"),transition:q("transition"),backface:q("backface-visibility"),timing:q("transition-timing-function")};if(z.transition){var X=z.timing.dom;if(k.style[X]=g["ease-in-back"][0],!k.style[X])for(var P in d)g[P][0]=d[P]}var V=t.frame=function(){var A=m.requestAnimationFrame||m.webkitRequestAnimationFrame||m.mozRequestAnimationFrame||m.oRequestAnimationFrame||m.msRequestAnimationFrame;return A&&z.bind?A.bind(m):function(B){m.setTimeout(B,16)}}(),j=t.now=function(){var A=m.performance,B=A&&(A.now||A.webkitNow||A.msNow||A.mozNow);return B&&z.bind?B.bind(A):Date.now||function(){return+new Date}}(),F=h(function(A){function B(re,ue){var Ee=c((""+re).split(C)),pe=Ee[0];ue=ue||{};var we=ee[pe];if(!we)return p("Unsupported property: "+pe);if(!ue.weak||!this.props[pe]){var He=we[0],Re=this.props[pe];return Re||(Re=this.props[pe]=new He.Bare),Re.init(this.$el,Ee,we,ue),Re}}function G(re,ue,Ee){if(re){var pe=typeof re;if(ue||(this.timer&&this.timer.destroy(),this.queue=[],this.active=!1),pe=="number"&&ue)return this.timer=new Y({duration:re,context:this,complete:W}),void(this.active=!0);if(pe=="string"&&ue){switch(re){case"hide":$.call(this);break;case"stop":Q.call(this);break;case"redraw":ie.call(this);break;default:B.call(this,re,Ee&&Ee[1])}return W.call(this)}if(pe=="function")return void re.call(this,this);if(pe=="object"){var we=0;$e.call(this,re,function(Ie,a_){Ie.span>we&&(we=Ie.span),Ie.stop(),Ie.animate(a_)},function(Ie){"wait"in Ie&&(we=l(Ie.wait,0))}),ve.call(this),we>0&&(this.timer=new Y({duration:we,context:this}),this.active=!0,ue&&(this.timer.complete=W));var He=this,Re=!1,on={};V(function(){$e.call(He,re,function(Ie){Ie.active&&(Re=!0,on[Ie.name]=Ie.nextStyle)}),Re&&He.$el.css(on)})}}}function H(re){re=l(re,0),this.active?this.queue.push({options:re}):(this.timer=new Y({duration:re,context:this,complete:W}),this.active=!0)}function U(re){return this.active?(this.queue.push({options:re,args:arguments}),void(this.timer.complete=W)):p("No active transition timer. Use start() or wait() before then().")}function W(){if(this.timer&&this.timer.destroy(),this.active=!1,this.queue.length){var re=this.queue.shift();G.call(this,re.options,!0,re.args)}}function Q(re){this.timer&&this.timer.destroy(),this.queue=[],this.active=!1;var ue;typeof re=="string"?(ue={},ue[re]=1):ue=typeof re=="object"&&re!=null?re:this.props,$e.call(this,ue,Ce),ve.call(this)}function te(re){Q.call(this,re),$e.call(this,re,Sr,n_)}function le(re){typeof re!="string"&&(re="block"),this.el.style.display=re}function $(){Q.call(this),this.el.style.display="none"}function ie(){this.el.offsetHeight}function ae(){Q.call(this),e.removeData(this.el,u),this.$el=this.el=null}function ve(){var re,ue,Ee=[];this.upstream&&Ee.push(this.upstream);for(re in this.props)ue=this.props[re],ue.active&&Ee.push(ue.string);Ee=Ee.join(","),this.style!==Ee&&(this.style=Ee,this.el.style[z.transition.dom]=Ee)}function $e(re,ue,Ee){var pe,we,He,Re,on=ue!==Ce,Ie={};for(pe in re)He=re[pe],pe in ye?(Ie.transform||(Ie.transform={}),Ie.transform[pe]=He):(v.test(pe)&&(pe=r(pe)),pe in ee?Ie[pe]=He:(Re||(Re={}),Re[pe]=He));for(pe in Ie){if(He=Ie[pe],we=this.props[pe],!we){if(!on)continue;we=B.call(this,pe)}ue.call(this,we,He)}Ee&&Re&&Ee.call(this,Re)}function Ce(re){re.stop()}function Sr(re,ue){re.set(ue)}function n_(re){this.$el.css(re)}function ze(re,ue){A[re]=function(){return this.children?i_.call(this,ue,arguments):(this.el&&ue.apply(this,arguments),this)}}function i_(re,ue){var Ee,pe=this.children.length;for(Ee=0;pe>Ee;Ee++)re.apply(this.children[Ee],ue);return this}A.init=function(re){if(this.$el=e(re),this.el=this.$el[0],this.props={},this.queue=[],this.style="",this.active=!1,ne.keepInherited&&!ne.fallback){var ue=fe(this.el,"transition");ue&&!D.test(ue)&&(this.upstream=ue)}z.backface&&ne.hideBackface&&se(this.el,z.backface.css,"hidden")},ze("add",B),ze("start",G),ze("wait",H),ze("then",U),ze("next",W),ze("stop",Q),ze("set",te),ze("show",le),ze("hide",$),ze("redraw",ie),ze("destroy",ae)}),R=h(F,function(A){function B(G,H){var U=e.data(G,u)||e.data(G,u,new F.Bare);return U.el||U.init(G),H?U.start(H):U}A.init=function(G,H){var U=e(G);if(!U.length)return this;if(U.length===1)return B(U[0],H);var W=[];return U.each(function(Q,te){W.push(B(te,H))}),this.children=W,this}}),L=h(function(A){function B(){var W=this.get();this.update("auto");var Q=this.get();return this.update(W),Q}function G(W,Q,te){return Q!==void 0&&(te=Q),W in g?W:te}function H(W){var Q=/rgba?\((\d+),\s*(\d+),\s*(\d+)/.exec(W);return(Q?i(Q[1],Q[2],Q[3]):W).replace(/#(\w)(\w)(\w)$/,"#$1$1$2$2$3$3")}var U={duration:500,ease:"ease",delay:0};A.init=function(W,Q,te,le){this.$el=W,this.el=W[0];var $=Q[0];te[2]&&($=te[2]),he[$]&&($=he[$]),this.name=$,this.type=te[1],this.duration=l(Q[1],this.duration,U.duration),this.ease=G(Q[2],this.ease,U.ease),this.delay=l(Q[3],this.delay,U.delay),this.span=this.duration+this.delay,this.active=!1,this.nextStyle=null,this.auto=w.test(this.name),this.unit=le.unit||this.unit||ne.defaultUnit,this.angle=le.angle||this.angle||ne.defaultAngle,ne.fallback||le.fallback?this.animate=this.fallback:(this.animate=this.transition,this.string=this.name+C+this.duration+"ms"+(this.ease!="ease"?C+g[this.ease][0]:"")+(this.delay?C+this.delay+"ms":""))},A.set=function(W){W=this.convert(W,this.type),this.update(W),this.redraw()},A.transition=function(W){this.active=!0,W=this.convert(W,this.type),this.auto&&(this.el.style[this.name]=="auto"&&(this.update(this.get()),this.redraw()),W=="auto"&&(W=B.call(this))),this.nextStyle=W},A.fallback=function(W){var Q=this.el.style[this.name]||this.convert(this.get(),this.type);W=this.convert(W,this.type),this.auto&&(Q=="auto"&&(Q=this.convert(this.get(),this.type)),W=="auto"&&(W=B.call(this))),this.tween=new Z({from:Q,to:W,duration:this.duration,delay:this.delay,ease:this.ease,update:this.update,context:this})},A.get=function(){return fe(this.el,this.name)},A.update=function(W){se(this.el,this.name,W)},A.stop=function(){(this.active||this.nextStyle)&&(this.active=!1,this.nextStyle=null,se(this.el,this.name,this.get()));var W=this.tween;W&&W.context&&W.destroy()},A.convert=function(W,Q){if(W=="auto"&&this.auto)return W;var te,le=typeof W=="number",$=typeof W=="string";switch(Q){case E:if(le)return W;if($&&W.replace(y,"")==="")return+W;te="number(unitless)";break;case b:if($){if(W===""&&this.original)return this.original;if(Q.test(W))return W.charAt(0)=="#"&&W.length==7?W:H(W)}te="hex or rgb string";break;case S:if(le)return W+this.unit;if($&&Q.test(W))return W;te="number(px) or string(unit)";break;case T:if(le)return W+this.unit;if($&&Q.test(W))return W;te="number(px) or string(unit or %)";break;case I:if(le)return W+this.angle;if($&&Q.test(W))return W;te="number(deg) or string(angle)";break;case x:if(le||$&&T.test(W))return W;te="number(unitless) or string(unit or %)"}return s(te,W),W},A.redraw=function(){this.el.offsetHeight}}),N=h(L,function(A,B){A.init=function(){B.init.apply(this,arguments),this.original||(this.original=this.convert(this.get(),b))}}),K=h(L,function(A,B){A.init=function(){B.init.apply(this,arguments),this.animate=this.fallback},A.get=function(){return this.$el[this.name]()},A.update=function(G){this.$el[this.name](G)}}),J=h(L,function(A,B){function G(H,U){var W,Q,te,le,$;for(W in H)le=ye[W],te=le[0],Q=le[1]||W,$=this.convert(H[W],te),U.call(this,Q,$,te)}A.init=function(){B.init.apply(this,arguments),this.current||(this.current={},ye.perspective&&ne.perspective&&(this.current.perspective=ne.perspective,se(this.el,this.name,this.style(this.current)),this.redraw()))},A.set=function(H){G.call(this,H,function(U,W){this.current[U]=W}),se(this.el,this.name,this.style(this.current)),this.redraw()},A.transition=function(H){var U=this.values(H);this.tween=new oe({current:this.current,values:U,duration:this.duration,delay:this.delay,ease:this.ease});var W,Q={};for(W in this.current)Q[W]=W in U?U[W]:this.current[W];this.active=!0,this.nextStyle=this.style(Q)},A.fallback=function(H){var U=this.values(H);this.tween=new oe({current:this.current,values:U,duration:this.duration,delay:this.delay,ease:this.ease,update:this.update,context:this})},A.update=function(){se(this.el,this.name,this.style(this.current))},A.style=function(H){var U,W="";for(U in H)W+=U+"("+H[U]+") ";return W},A.values=function(H){var U,W={};return G.call(this,H,function(Q,te,le){W[Q]=te,this.current[Q]===void 0&&(U=0,~Q.indexOf("scale")&&(U=1),this.current[Q]=this.convert(U,le))}),W}}),Z=h(function(A){function B($){te.push($)===1&&V(G)}function G(){var $,ie,ae,ve=te.length;if(ve)for(V(G),ie=j(),$=ve;$--;)ae=te[$],ae&&ae.render(ie)}function H($){var ie,ae=e.inArray($,te);ae>=0&&(ie=te.slice(ae+1),te.length=ae,ie.length&&(te=te.concat(ie)))}function U($){return Math.round($*le)/le}function W($,ie,ae){return i($[0]+ae*(ie[0]-$[0]),$[1]+ae*(ie[1]-$[1]),$[2]+ae*(ie[2]-$[2]))}var Q={ease:g.ease[1],from:0,to:1};A.init=function($){this.duration=$.duration||0,this.delay=$.delay||0;var ie=$.ease||Q.ease;g[ie]&&(ie=g[ie][1]),typeof ie!="function"&&(ie=Q.ease),this.ease=ie,this.update=$.update||a,this.complete=$.complete||a,this.context=$.context||this,this.name=$.name;var ae=$.from,ve=$.to;ae===void 0&&(ae=Q.from),ve===void 0&&(ve=Q.to),this.unit=$.unit||"",typeof ae=="number"&&typeof ve=="number"?(this.begin=ae,this.change=ve-ae):this.format(ve,ae),this.value=this.begin+this.unit,this.start=j(),$.autoplay!==!1&&this.play()},A.play=function(){this.active||(this.start||(this.start=j()),this.active=!0,B(this))},A.stop=function(){this.active&&(this.active=!1,H(this))},A.render=function($){var ie,ae=$-this.start;if(this.delay){if(ae<=this.delay)return;ae-=this.delay}if(ae<this.duration){var ve=this.ease(ae,0,1,this.duration);return ie=this.startRGB?W(this.startRGB,this.endRGB,ve):U(this.begin+ve*this.change),this.value=ie+this.unit,void this.update.call(this.context,this.value)}ie=this.endHex||this.begin+this.change,this.value=ie+this.unit,this.update.call(this.context,this.value),this.complete.call(this.context),this.destroy()},A.format=function($,ie){if(ie+="",$+="",$.charAt(0)=="#")return this.startRGB=n(ie),this.endRGB=n($),this.endHex=$,this.begin=0,void(this.change=1);if(!this.unit){var ae=ie.replace(y,""),ve=$.replace(y,"");ae!==ve&&o("tween",ie,$),this.unit=ae}ie=parseFloat(ie),$=parseFloat($),this.begin=this.value=ie,this.change=$-ie},A.destroy=function(){this.stop(),this.context=null,this.ease=this.update=this.complete=a};var te=[],le=1e3}),Y=h(Z,function(A){A.init=function(B){this.duration=B.duration||0,this.complete=B.complete||a,this.context=B.context,this.play()},A.render=function(B){var G=B-this.start;G<this.duration||(this.complete.call(this.context),this.destroy())}}),oe=h(Z,function(A,B){A.init=function(G){this.context=G.context,this.update=G.update,this.tweens=[],this.current=G.current;var H,U;for(H in G.values)U=G.values[H],this.current[H]!==U&&this.tweens.push(new Z({name:H,from:this.current[H],to:U,duration:G.duration,delay:G.delay,ease:G.ease,autoplay:!1}));this.play()},A.render=function(G){var H,U,W=this.tweens.length,Q=!1;for(H=W;H--;)U=this.tweens[H],U.context&&(U.render(G),this.current[U.name]=U.value,Q=!0);return Q?void(this.update&&this.update.call(this.context)):this.destroy()},A.destroy=function(){if(B.destroy.call(this),this.tweens){var G,H=this.tweens.length;for(G=H;G--;)this.tweens[G].destroy();this.tweens=null,this.current=null}}}),ne=t.config={debug:!1,defaultUnit:"px",defaultAngle:"deg",keepInherited:!1,hideBackface:!1,perspective:"",fallback:!z.transition,agentTests:[]};t.fallback=function(A){if(!z.transition)return ne.fallback=!0;ne.agentTests.push("("+A+")");var B=new RegExp(ne.agentTests.join("|"),"i");ne.fallback=B.test(navigator.userAgent)},t.fallback("6.0.[2-5] Safari"),t.tween=function(A){return new Z(A)},t.delay=function(A,B,G){return new Y({complete:B,duration:A,context:G})},e.fn.tram=function(A){return t.call(null,this,A)};var se=e.style,fe=e.css,he={transform:z.transform&&z.transform.css},ee={color:[N,b],background:[N,b,"background-color"],"outline-color":[N,b],"border-color":[N,b],"border-top-color":[N,b],"border-right-color":[N,b],"border-bottom-color":[N,b],"border-left-color":[N,b],"border-width":[L,S],"border-top-width":[L,S],"border-right-width":[L,S],"border-bottom-width":[L,S],"border-left-width":[L,S],"border-spacing":[L,S],"letter-spacing":[L,S],margin:[L,S],"margin-top":[L,S],"margin-right":[L,S],"margin-bottom":[L,S],"margin-left":[L,S],padding:[L,S],"padding-top":[L,S],"padding-right":[L,S],"padding-bottom":[L,S],"padding-left":[L,S],"outline-width":[L,S],opacity:[L,E],top:[L,T],right:[L,T],bottom:[L,T],left:[L,T],"font-size":[L,T],"text-indent":[L,T],"word-spacing":[L,T],width:[L,T],"min-width":[L,T],"max-width":[L,T],height:[L,T],"min-height":[L,T],"max-height":[L,T],"line-height":[L,x],"scroll-top":[K,E,"scrollTop"],"scroll-left":[K,E,"scrollLeft"]},ye={};z.transform&&(ee.transform=[J],ye={x:[T,"translateX"],y:[T,"translateY"],rotate:[I],rotateX:[I],rotateY:[I],scale:[E],scaleX:[E],scaleY:[E],skew:[I],skewX:[I],skewY:[I]}),z.transform&&z.backface&&(ye.z=[T,"translateZ"],ye.rotateZ=[I],ye.scaleZ=[E],ye.perspective=[S]);var Se=/ms/,xe=/s|\./;return e.tram=t}(window.jQuery)});var Rl=_((X9,Dl)=>{"use strict";var s_=window.$,o_=Hi()&&s_.tram;Dl.exports=function(){var e={};e.VERSION="1.6.0-Webflow";var t={},r=Array.prototype,n=Object.prototype,i=Function.prototype,a=r.push,s=r.slice,o=r.concat,l=n.toString,p=n.hasOwnProperty,c=r.forEach,h=r.map,g=r.reduce,d=r.reduceRight,f=r.filter,m=r.every,u=r.some,y=r.indexOf,v=r.lastIndexOf,E=Array.isArray,b=Object.keys,S=i.bind,T=e.each=e.forEach=function(O,M,q){if(O==null)return O;if(c&&O.forEach===c)O.forEach(M,q);else if(O.length===+O.length){for(var z=0,X=O.length;z<X;z++)if(M.call(q,O[z],z,O)===t)return}else for(var P=e.keys(O),z=0,X=P.length;z<X;z++)if(M.call(q,O[P[z]],P[z],O)===t)return;return O};e.map=e.collect=function(O,M,q){var z=[];return O==null?z:h&&O.map===h?O.map(M,q):(T(O,function(X,P,V){z.push(M.call(q,X,P,V))}),z)},e.find=e.detect=function(O,M,q){var z;return I(O,function(X,P,V){if(M.call(q,X,P,V))return z=X,!0}),z},e.filter=e.select=function(O,M,q){var z=[];return O==null?z:f&&O.filter===f?O.filter(M,q):(T(O,function(X,P,V){M.call(q,X,P,V)&&z.push(X)}),z)};var I=e.some=e.any=function(O,M,q){M||(M=e.identity);var z=!1;return O==null?z:u&&O.some===u?O.some(M,q):(T(O,function(X,P,V){if(z||(z=M.call(q,X,P,V)))return t}),!!z)};e.contains=e.include=function(O,M){return O==null?!1:y&&O.indexOf===y?O.indexOf(M)!=-1:I(O,function(q){return q===M})},e.delay=function(O,M){var q=s.call(arguments,2);return setTimeout(function(){return O.apply(null,q)},M)},e.defer=function(O){return e.delay.apply(e,[O,1].concat(s.call(arguments,1)))},e.throttle=function(O){var M,q,z;return function(){M||(M=!0,q=arguments,z=this,o_.frame(function(){M=!1,O.apply(z,q)}))}},e.debounce=function(O,M,q){var z,X,P,V,j,F=function(){var R=e.now()-V;R<M?z=setTimeout(F,M-R):(z=null,q||(j=O.apply(P,X),P=X=null))};return function(){P=this,X=arguments,V=e.now();var R=q&&!z;return z||(z=setTimeout(F,M)),R&&(j=O.apply(P,X),P=X=null),j}},e.defaults=function(O){if(!e.isObject(O))return O;for(var M=1,q=arguments.length;M<q;M++){var z=arguments[M];for(var X in z)O[X]===void 0&&(O[X]=z[X])}return O},e.keys=function(O){if(!e.isObject(O))return[];if(b)return b(O);var M=[];for(var q in O)e.has(O,q)&&M.push(q);return M},e.has=function(O,M){return p.call(O,M)},e.isObject=function(O){return O===Object(O)},e.now=Date.now||function(){return new Date().getTime()},e.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var x=/(.)^/,D={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},w=/\\|'|\r|\n|\u2028|\u2029/g,C=function(O){return"\\"+D[O]},k=/^\s*(\w|\$)+\s*$/;return e.template=function(O,M,q){!M&&q&&(M=q),M=e.defaults({},M,e.templateSettings);var z=RegExp([(M.escape||x).source,(M.interpolate||x).source,(M.evaluate||x).source].join("|")+"|$","g"),X=0,P="__p+='";O.replace(z,function(R,L,N,K,J){return P+=O.slice(X,J).replace(w,C),X=J+R.length,L?P+=`'+
((__t=(`+L+`))==null?'':_.escape(__t))+
'`:N?P+=`'+
((__t=(`+N+`))==null?'':__t)+
'`:K&&(P+=`';
`+K+`
__p+='`),R}),P+=`';
`;var V=M.variable;if(V){if(!k.test(V))throw new Error("variable is not a bare identifier: "+V)}else P=`with(obj||{}){
`+P+`}
`,V="obj";P=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
`+P+`return __p;
`;var j;try{j=new Function(M.variable||"obj","_",P)}catch(R){throw R.source=P,R}var F=function(R){return j.call(this,R,e)};return F.source="function("+V+`){
`+P+"}",F},e}()});var qe=_((K9,zl)=>{"use strict";var de={},Kt={},$t=[],Ui=window.Webflow||[],gt=window.jQuery,Ue=gt(window),l_=gt(document),Ye=gt.isFunction,We=de._=Rl(),kl=de.tram=Hi()&&gt.tram,un=!1,ji=!1;kl.config.hideBackface=!1;kl.config.keepInherited=!0;de.define=function(e,t,r){Kt[e]&&ql(Kt[e]);var n=Kt[e]=t(gt,We,r)||{};return Nl(n),n};de.require=function(e){return Kt[e]};function Nl(e){de.env()&&(Ye(e.design)&&Ue.on("__wf_design",e.design),Ye(e.preview)&&Ue.on("__wf_preview",e.preview)),Ye(e.destroy)&&Ue.on("__wf_destroy",e.destroy),e.ready&&Ye(e.ready)&&u_(e)}function u_(e){if(un){e.ready();return}We.contains($t,e.ready)||$t.push(e.ready)}function ql(e){Ye(e.design)&&Ue.off("__wf_design",e.design),Ye(e.preview)&&Ue.off("__wf_preview",e.preview),Ye(e.destroy)&&Ue.off("__wf_destroy",e.destroy),e.ready&&Ye(e.ready)&&c_(e)}function c_(e){$t=We.filter($t,function(t){return t!==e.ready})}de.push=function(e){if(un){Ye(e)&&e();return}Ui.push(e)};de.env=function(e){var t=window.__wf_design,r=typeof t<"u";if(!e)return r;if(e==="design")return r&&t;if(e==="preview")return r&&!t;if(e==="slug")return r&&window.__wf_slug;if(e==="editor")return window.WebflowEditor;if(e==="test")return window.__wf_test;if(e==="frame")return window!==window.top};var ln=navigator.userAgent.toLowerCase(),Bl=de.env.touch="ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,h_=de.env.chrome=/chrome/.test(ln)&&/Google/.test(navigator.vendor)&&parseInt(ln.match(/chrome\/(\d+)\./)[1],10),f_=de.env.ios=/(ipod|iphone|ipad)/.test(ln);de.env.safari=/safari/.test(ln)&&!h_&&!f_;var Wi;Bl&&l_.on("touchstart mousedown",function(e){Wi=e.target});de.validClick=Bl?function(e){return e===Wi||gt.contains(e,Wi)}:function(){return!0};var Vl="resize.webflow orientationchange.webflow load.webflow",p_="scroll.webflow "+Vl;de.resize=Xi(Ue,Vl);de.scroll=Xi(Ue,p_);de.redraw=Xi();function Xi(e,t){var r=[],n={};return n.up=We.throttle(function(i){We.each(r,function(a){a(i)})}),e&&t&&e.on(t,n.up),n.on=function(i){typeof i=="function"&&(We.contains(r,i)||r.push(i))},n.off=function(i){if(!arguments.length){r=[];return}r=We.filter(r,function(a){return a!==i})},n}de.location=function(e){window.location=e};de.env()&&(de.location=function(){});de.ready=function(){un=!0,ji?d_():We.each($t,Ll),We.each(Ui,Ll),de.resize.up()};function Ll(e){Ye(e)&&e()}function d_(){ji=!1,We.each(Kt,Nl)}var wt;de.load=function(e){wt.then(e)};function Gl(){wt&&(wt.reject(),Ue.off("load",wt.resolve)),wt=new gt.Deferred,Ue.on("load",wt.resolve)}de.destroy=function(e){e=e||{},ji=!0,Ue.triggerHandler("__wf_destroy"),e.domready!=null&&(un=e.domready),We.each(Kt,ql),de.resize.off(),de.scroll.off(),de.redraw.off(),$t=[],Ui=[],wt.state()==="pending"&&Gl()};gt(de.ready);Gl();zl.exports=window.Webflow=de});var Ul=_(($9,Wl)=>{"use strict";var Hl=qe();Hl.define("brand",Wl.exports=function(e){var t={},r=document,n=e("html"),i=e("body"),a=".w-webflow-badge",s=window.location,o=/PhantomJS/i.test(navigator.userAgent),l="fullscreenchange webkitfullscreenchange mozfullscreenchange msfullscreenchange",p;t.ready=function(){var d=n.attr("data-wf-status"),f=n.attr("data-wf-domain")||"";/\.webflow\.io$/i.test(f)&&s.hostname!==f&&(d=!0),d&&!o&&(p=p||h(),g(),setTimeout(g,500),e(r).off(l,c).on(l,c))};function c(){var d=r.fullScreen||r.mozFullScreen||r.webkitIsFullScreen||r.msFullscreenElement||!!r.webkitFullscreenElement;e(p).attr("style",d?"display: none !important;":"")}function h(){var d=e('<a class="w-webflow-badge"></a>').attr("href","https://web.archive.org/web/20250329005410/https://webflow.com?utm_campaign=brandjs"),f=e("<img>").attr("src","https://web.archive.org/web/20250329005410/https://d3e54v103j8qbb.cloudfront.net/img/webflow-badge-icon-d2.89e12c322e.svg").attr("alt","").css({marginRight:"4px",width:"26px"}),m=e("<img>").attr("src","https://web.archive.org/web/20250329005410/https://d3e54v103j8qbb.cloudfront.net/img/webflow-badge-text-d2.c82cec3b78.svg").attr("alt","Made in Webflow");return d.append(f,m),d[0]}function g(){var d=i.children(a),f=d.length&&d.get(0)===p,m=Hl.env("editor");if(f){m&&d.remove();return}d.length&&d.remove(),m||i.append(p)}return t})});var Xl=_((Y9,jl)=>{"use strict";var Yt=qe();Yt.define("links",jl.exports=function(e,t){var r={},n=e(window),i,a=Yt.env(),s=window.location,o=document.createElement("a"),l="w--current",p=/index\.(html|php)$/,c=/\/$/,h,g;r.ready=r.design=r.preview=d;function d(){i=a&&Yt.env("design"),g=Yt.env("slug")||s.pathname||"",Yt.scroll.off(m),h=[];for(var y=document.links,v=0;v<y.length;++v)f(y[v]);h.length&&(Yt.scroll.on(m),m())}function f(y){if(!y.getAttribute("hreflang")){var v=i&&y.getAttribute("href-disabled")||y.getAttribute("href");if(o.href=v,!(v.indexOf(":")>=0)){var E=e(y);if(o.hash.length>1&&o.host+o.pathname===s.host+s.pathname){if(!/^#[a-zA-Z0-9\-\_]+$/.test(o.hash))return;var b=e(o.hash);b.length&&h.push({link:E,sec:b,active:!1});return}if(!(v==="#"||v==="")){var S=o.href===s.href||v===g||p.test(v)&&c.test(g);u(E,l,S)}}}}function m(){var y=n.scrollTop(),v=n.height();t.each(h,function(E){if(!E.link.attr("hreflang")){var b=E.link,S=E.sec,T=S.offset().top,I=S.outerHeight(),x=v*.5,D=S.is(":visible")&&T+I-x>=y&&T+x<=y+v;E.active!==D&&(E.active=D,u(b,l,D))}})}function u(y,v,E){var b=y.hasClass(v);E&&b||!E&&!b||(E?y.addClass(v):y.removeClass(v))}return r})});var $l=_((Q9,Kl)=>{"use strict";var cn=qe();cn.define("scroll",Kl.exports=function(e){var t={WF_CLICK_EMPTY:"click.wf-empty-link",WF_CLICK_SCROLL:"click.wf-scroll"},r=window.location,n=f()?null:window.history,i=e(window),a=e(document),s=e(document.body),o=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(k){window.setTimeout(k,15)},l=cn.env("editor")?".w-editor-body":"body",p="header, "+l+" > .header, "+l+" > .w-nav:not([data-no-scroll])",c='a[href="#"]',h='a[href*="#"]:not(.w-tab-link):not('+c+")",g='.wf-force-outline-none[tabindex="-1"]:focus{outline:none;}',d=document.createElement("style");d.appendChild(document.createTextNode(g));function f(){try{return!!window.frameElement}catch{return!0}}var m=/^#[a-zA-Z0-9][\w:.-]*$/;function u(k){return m.test(k.hash)&&k.host+k.pathname===r.host+r.pathname}let y=typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)");function v(){return document.body.getAttribute("data-wf-scroll-motion")==="none"||y.matches}function E(k,O){var M;switch(O){case"add":M=k.attr("tabindex"),M?k.attr("data-wf-tabindex-swap",M):k.attr("tabindex","-1");break;case"remove":M=k.attr("data-wf-tabindex-swap"),M?(k.attr("tabindex",M),k.removeAttr("data-wf-tabindex-swap")):k.removeAttr("tabindex");break}k.toggleClass("wf-force-outline-none",O==="add")}function b(k){var O=k.currentTarget;if(!(cn.env("design")||window.$.mobile&&/(?:^|\s)ui-link(?:$|\s)/.test(O.className))){var M=u(O)?O.hash:"";if(M!==""){var q=e(M);q.length&&(k&&(k.preventDefault(),k.stopPropagation()),S(M,k),window.setTimeout(function(){T(q,function(){E(q,"add"),q.get(0).focus({preventScroll:!0}),E(q,"remove")})},k?0:300))}}}function S(k){if(r.hash!==k&&n&&n.pushState&&!(cn.env.chrome&&r.protocol==="file:")){var O=n.state&&n.state.hash;O!==k&&n.pushState({hash:k},"",k)}}function T(k,O){var M=i.scrollTop(),q=I(k);if(M!==q){var z=x(k,M,q),X=Date.now(),P=function(){var V=Date.now()-X;window.scroll(0,D(M,q,V,z)),V<=z?o(P):typeof O=="function"&&O()};o(P)}}function I(k){var O=e(p),M=O.css("position")==="fixed"?O.outerHeight():0,q=k.offset().top-M;if(k.data("scroll")==="mid"){var z=i.height()-M,X=k.outerHeight();X<z&&(q-=Math.round((z-X)/2))}return q}function x(k,O,M){if(v())return 0;var q=1;return s.add(k).each(function(z,X){var P=parseFloat(X.getAttribute("data-scroll-time"));!isNaN(P)&&P>=0&&(q=P)}),(472.143*Math.log(Math.abs(O-M)+125)-2e3)*q}function D(k,O,M,q){return M>q?O:k+(O-k)*w(M/q)}function w(k){return k<.5?4*k*k*k:(k-1)*(2*k-2)*(2*k-2)+1}function C(){var{WF_CLICK_EMPTY:k,WF_CLICK_SCROLL:O}=t;a.on(O,h,b),a.on(k,c,function(M){M.preventDefault()}),document.head.insertBefore(d,document.head.firstChild)}return{ready:C}})});var Zl=_((Z9,Ql)=>{"use strict";var Yl=qe();Yl.define("focus",Ql.exports=function(){var e=[],t=!1;function r(s){t&&(s.preventDefault(),s.stopPropagation(),s.stopImmediatePropagation(),e.unshift(s))}function n(s){var o=s.target,l=o.tagName;return/^a$/i.test(l)&&o.href!=null||/^(button|textarea)$/i.test(l)&&o.disabled!==!0||/^input$/i.test(l)&&/^(button|reset|submit|radio|checkbox)$/i.test(o.type)&&!o.disabled||!/^(button|input|textarea|select|a)$/i.test(l)&&!Number.isNaN(Number.parseFloat(o.tabIndex))||/^audio$/i.test(l)||/^video$/i.test(l)&&o.controls===!0}function i(s){n(s)&&(t=!0,setTimeout(()=>{for(t=!1,s.target.focus();e.length>0;){var o=e.pop();o.target.dispatchEvent(new MouseEvent(o.type,o))}},0))}function a(){typeof document<"u"&&document.body.hasAttribute("data-wf-focus-within")&&Yl.env.safari&&(document.addEventListener("mousedown",i,!0),document.addEventListener("mouseup",r,!0),document.addEventListener("click",r,!0))}return{ready:a}})});var eu=_((J9,Jl)=>{"use strict";var m_=qe();m_.define("focus-visible",Jl.exports=function(){function e(r){var n=!0,i=!1,a=null,s={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function o(E){return!!(E&&E!==document&&E.nodeName!=="HTML"&&E.nodeName!=="BODY"&&"classList"in E&&"contains"in E.classList)}function l(E){var b=E.type,S=E.tagName;return!!(S==="INPUT"&&s[b]&&!E.readOnly||S==="TEXTAREA"&&!E.readOnly||E.isContentEditable)}function p(E){E.getAttribute("data-wf-focus-visible")||E.setAttribute("data-wf-focus-visible","true")}function c(E){E.getAttribute("data-wf-focus-visible")&&E.removeAttribute("data-wf-focus-visible")}function h(E){E.metaKey||E.altKey||E.ctrlKey||(o(r.activeElement)&&p(r.activeElement),n=!0)}function g(){n=!1}function d(E){o(E.target)&&(n||l(E.target))&&p(E.target)}function f(E){o(E.target)&&E.target.hasAttribute("data-wf-focus-visible")&&(i=!0,window.clearTimeout(a),a=window.setTimeout(function(){i=!1},100),c(E.target))}function m(){document.visibilityState==="hidden"&&(i&&(n=!0),u())}function u(){document.addEventListener("mousemove",v),document.addEventListener("mousedown",v),document.addEventListener("mouseup",v),document.addEventListener("pointermove",v),document.addEventListener("pointerdown",v),document.addEventListener("pointerup",v),document.addEventListener("touchmove",v),document.addEventListener("touchstart",v),document.addEventListener("touchend",v)}function y(){document.removeEventListener("mousemove",v),document.removeEventListener("mousedown",v),document.removeEventListener("mouseup",v),document.removeEventListener("pointermove",v),document.removeEventListener("pointerdown",v),document.removeEventListener("pointerup",v),document.removeEventListener("touchmove",v),document.removeEventListener("touchstart",v),document.removeEventListener("touchend",v)}function v(E){E.target.nodeName&&E.target.nodeName.toLowerCase()==="html"||(n=!1,y())}document.addEventListener("keydown",h,!0),document.addEventListener("mousedown",g,!0),document.addEventListener("pointerdown",g,!0),document.addEventListener("touchstart",g,!0),document.addEventListener("visibilitychange",m,!0),u(),r.addEventListener("focus",d,!0),r.addEventListener("blur",f,!0)}function t(){if(typeof document<"u")try{document.querySelector(":focus-visible")}catch{e(document)}}return{ready:t}})});var ru=_((e7,tu)=>{"use strict";var g_=qe();g_.define("touch",tu.exports=function(e){var t={},r=window.getSelection;e.event.special.tap={bindType:"click",delegateType:"click"},t.init=function(a){return a=typeof a=="string"?e(a).get(0):a,a?new n(a):null};function n(a){var s=!1,o=!1,l=Math.min(Math.round(window.innerWidth*.04),40),p,c;a.addEventListener("touchstart",h,!1),a.addEventListener("touchmove",g,!1),a.addEventListener("touchend",d,!1),a.addEventListener("touchcancel",f,!1),a.addEventListener("mousedown",h,!1),a.addEventListener("mousemove",g,!1),a.addEventListener("mouseup",d,!1),a.addEventListener("mouseout",f,!1);function h(u){var y=u.touches;y&&y.length>1||(s=!0,y?(o=!0,p=y[0].clientX):p=u.clientX,c=p)}function g(u){if(s){if(o&&u.type==="mousemove"){u.preventDefault(),u.stopPropagation();return}var y=u.touches,v=y?y[0].clientX:u.clientX,E=v-c;c=v,Math.abs(E)>l&&r&&String(r())===""&&(i("swipe",u,{direction:E>0?"right":"left"}),f())}}function d(u){if(s&&(s=!1,o&&u.type==="mouseup")){u.preventDefault(),u.stopPropagation(),o=!1;return}}function f(){s=!1}function m(){a.removeEventListener("touchstart",h,!1),a.removeEventListener("touchmove",g,!1),a.removeEventListener("touchend",d,!1),a.removeEventListener("touchcancel",f,!1),a.removeEventListener("mousedown",h,!1),a.removeEventListener("mousemove",g,!1),a.removeEventListener("mouseup",d,!1),a.removeEventListener("mouseout",f,!1),a=null}this.destroy=m}function i(a,s,o){var l=e.Event(a,{originalEvent:s});e(s.target).trigger(l,o)}return t.instance=t.init(document),t})});var iu=_((t7,nu)=>{"use strict";var Ki=qe();Ki.define("edit",nu.exports=function(e,t,r){if(r=r||{},(Ki.env("test")||Ki.env("frame"))&&!r.fixture&&!y_())return{exit:1};var n={},i=e(window),a=e(document.documentElement),s=document.location,o="hashchange",l,p=r.load||g,c=!1;try{c=localStorage&&localStorage.getItem&&localStorage.getItem("WebflowEditor")}catch{}c?p():s.search?(/[?&](edit)(?:[=&?]|$)/.test(s.search)||/\?edit$/.test(s.href))&&p():i.on(o,h).triggerHandler(o);function h(){l||/\?edit/.test(s.hash)&&p()}function g(){l=!0,window.WebflowEditor=!0,i.off(o,h),v(function(b){e.ajax({url:y("https://web.archive.org/web/20250329005410/https://editor-api.webflow.com/api/editor/view"),data:{siteId:a.attr("data-wf-site")},xhrFields:{withCredentials:!0},dataType:"json",crossDomain:!0,success:d(b)})})}function d(b){return function(S){if(!S){console.error("Could not load editor data");return}S.thirdPartyCookiesSupported=b,f(u(S.scriptPath),function(){window.WebflowEditor(S)})}}function f(b,S){e.ajax({type:"GET",url:b,dataType:"script",cache:!0}).then(S,m)}function m(b,S,T){throw console.error("Could not load editor script: "+S),T}function u(b){return b.indexOf("//")>=0?b:y("https://web.archive.org/web/20250329005410/https://editor-api.webflow.com"+b)}function y(b){return b.replace(/([^:])\/\//g,"$1/")}function v(b){var S=window.document.createElement("iframe");S.src="https://web.archive.org/web/20250329005410/https://webflow.com/site/third-party-cookie-check.html",S.style.display="none",S.sandbox="allow-scripts allow-same-origin";var T=function(I){I.data==="WF_third_party_cookies_unsupported"?(E(S,T),b(!1)):I.data==="WF_third_party_cookies_supported"&&(E(S,T),b(!0))};S.onerror=function(){E(S,T),b(!1)},window.addEventListener("message",T,!1),window.document.body.appendChild(S)}function E(b,S){window.removeEventListener("message",S,!1),b.remove()}return n});function y_(){try{return window.top.__Cypress__}catch{return!1}}});var $i=_((r7,au)=>{var v_=typeof global=="object"&&global&&global.Object===Object&&global;au.exports=v_});var je=_((n7,su)=>{var E_=$i(),b_=typeof self=="object"&&self&&self.Object===Object&&self,__=E_||b_||Function("return this")();su.exports=__});var Qt=_((i7,ou)=>{var S_=je(),I_=S_.Symbol;ou.exports=I_});var hu=_((a7,cu)=>{var lu=Qt(),uu=Object.prototype,T_=uu.hasOwnProperty,x_=uu.toString,Ir=lu?lu.toStringTag:void 0;function A_(e){var t=T_.call(e,Ir),r=e[Ir];try{e[Ir]=void 0;var n=!0}catch{}var i=x_.call(e);return n&&(t?e[Ir]=r:delete e[Ir]),i}cu.exports=A_});var pu=_((s7,fu)=>{var P_=Object.prototype,C_=P_.toString;function w_(e){return C_.call(e)}fu.exports=w_});var yt=_((o7,gu)=>{var du=Qt(),M_=hu(),O_=pu(),F_="[object Null]",D_="[object Undefined]",mu=du?du.toStringTag:void 0;function R_(e){return e==null?e===void 0?D_:F_:mu&&mu in Object(e)?M_(e):O_(e)}gu.exports=R_});var Yi=_((l7,yu)=>{function L_(e,t){return function(r){return e(t(r))}}yu.exports=L_});var Qi=_((u7,vu)=>{var k_=Yi(),N_=k_(Object.getPrototypeOf,Object);vu.exports=N_});var lt=_((c7,Eu)=>{function q_(e){return e!=null&&typeof e=="object"}Eu.exports=q_});var Zi=_((h7,_u)=>{var B_=yt(),V_=Qi(),G_=lt(),z_="[object Object]",H_=Function.prototype,W_=Object.prototype,bu=H_.toString,U_=W_.hasOwnProperty,j_=bu.call(Object);function X_(e){if(!G_(e)||B_(e)!=z_)return!1;var t=V_(e);if(t===null)return!0;var r=U_.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&bu.call(r)==j_}_u.exports=X_});var Su=_(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.default=K_;function K_(e){var t,r=e.Symbol;return typeof r=="function"?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}});var Iu=_((ta,ea)=>{"use strict";Object.defineProperty(ta,"__esModule",{value:!0});var $_=Su(),Y_=Q_($_);function Q_(e){return e&&e.__esModule?e:{default:e}}var Zt;typeof self<"u"?Zt=self:typeof window<"u"?Zt=window:typeof global<"u"?Zt=global:typeof ea<"u"?Zt=ea:Zt=Function("return this")();var Z_=(0,Y_.default)(Zt);ta.default=Z_});var ra=_(Tr=>{"use strict";Tr.__esModule=!0;Tr.ActionTypes=void 0;Tr.default=Pu;var J_=Zi(),eS=Au(J_),tS=Iu(),Tu=Au(tS);function Au(e){return e&&e.__esModule?e:{default:e}}var xu=Tr.ActionTypes={INIT:"@@redux/INIT"};function Pu(e,t,r){var n;if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error("Expected the enhancer to be a function.");return r(Pu)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,a=t,s=[],o=s,l=!1;function p(){o===s&&(o=s.slice())}function c(){return a}function h(m){if(typeof m!="function")throw new Error("Expected listener to be a function.");var u=!0;return p(),o.push(m),function(){if(u){u=!1,p();var v=o.indexOf(m);o.splice(v,1)}}}function g(m){if(!(0,eS.default)(m))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof m.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(l)throw new Error("Reducers may not dispatch actions.");try{l=!0,a=i(a,m)}finally{l=!1}for(var u=s=o,y=0;y<u.length;y++)u[y]();return m}function d(m){if(typeof m!="function")throw new Error("Expected the nextReducer to be a function.");i=m,g({type:xu.INIT})}function f(){var m,u=h;return m={subscribe:function(v){if(typeof v!="object")throw new TypeError("Expected the observer to be an object.");function E(){v.next&&v.next(c())}E();var b=u(E);return{unsubscribe:b}}},m[Tu.default]=function(){return this},m}return g({type:xu.INIT}),n={dispatch:g,subscribe:h,getState:c,replaceReducer:d},n[Tu.default]=f,n}});var ia=_(na=>{"use strict";na.__esModule=!0;na.default=rS;function rS(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}});var Mu=_(aa=>{"use strict";aa.__esModule=!0;aa.default=oS;var Cu=ra(),nS=Zi(),m7=wu(nS),iS=ia(),g7=wu(iS);function wu(e){return e&&e.__esModule?e:{default:e}}function aS(e,t){var r=t&&t.type,n=r&&'"'+r.toString()+'"'||"an action";return"Given action "+n+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function sS(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Cu.ActionTypes.INIT});if(typeof n>"u")throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var i="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if(typeof r(void 0,{type:i})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+Cu.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function oS(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r);if(!1)var s;var o;try{sS(r)}catch(l){o=l}return function(){var p=arguments.length<=0||arguments[0]===void 0?{}:arguments[0],c=arguments[1];if(o)throw o;if(!1)var h;for(var g=!1,d={},f=0;f<a.length;f++){var m=a[f],u=r[m],y=p[m],v=u(y,c);if(typeof v>"u"){var E=aS(m,c);throw new Error(E)}d[m]=v,g=g||v!==y}return g?d:p}}});var Fu=_(sa=>{"use strict";sa.__esModule=!0;sa.default=lS;function Ou(e,t){return function(){return t(e.apply(void 0,arguments))}}function lS(e,t){if(typeof e=="function")return Ou(e,t);if(typeof e!="object"||e===null)throw new Error("bindActionCreators expected an object or a function, instead received "+(e===null?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),n={},i=0;i<r.length;i++){var a=r[i],s=e[a];typeof s=="function"&&(n[a]=Ou(s,t))}return n}});var la=_(oa=>{"use strict";oa.__esModule=!0;oa.default=uS;function uS(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length===0)return function(a){return a};if(t.length===1)return t[0];var n=t[t.length-1],i=t.slice(0,-1);return function(){return i.reduceRight(function(a,s){return s(a)},n.apply(void 0,arguments))}}});var Du=_(ua=>{"use strict";ua.__esModule=!0;var cS=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};ua.default=dS;var hS=la(),fS=pS(hS);function pS(e){return e&&e.__esModule?e:{default:e}}function dS(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(i,a,s){var o=n(i,a,s),l=o.dispatch,p=[],c={getState:o.getState,dispatch:function(g){return l(g)}};return p=t.map(function(h){return h(c)}),l=fS.default.apply(void 0,p)(o.dispatch),cS({},o,{dispatch:l})}}}});var ca=_(Be=>{"use strict";Be.__esModule=!0;Be.compose=Be.applyMiddleware=Be.bindActionCreators=Be.combineReducers=Be.createStore=void 0;var mS=ra(),gS=Jt(mS),yS=Mu(),vS=Jt(yS),ES=Fu(),bS=Jt(ES),_S=Du(),SS=Jt(_S),IS=la(),TS=Jt(IS),xS=ia(),_7=Jt(xS);function Jt(e){return e&&e.__esModule?e:{default:e}}Be.createStore=gS.default;Be.combineReducers=vS.default;Be.bindActionCreators=bS.default;Be.applyMiddleware=SS.default;Be.compose=TS.default});var Ru=_(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});function AS(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}AS(ha,{EventAppliesTo:function(){return CS},EventBasedOn:function(){return wS},EventContinuousMouseAxes:function(){return MS},EventLimitAffectedElements:function(){return OS},EventTypeConsts:function(){return PS},QuickEffectDirectionConsts:function(){return DS},QuickEffectIds:function(){return FS}});var PS={NAVBAR_OPEN:"NAVBAR_OPEN",NAVBAR_CLOSE:"NAVBAR_CLOSE",TAB_ACTIVE:"TAB_ACTIVE",TAB_INACTIVE:"TAB_INACTIVE",SLIDER_ACTIVE:"SLIDER_ACTIVE",SLIDER_INACTIVE:"SLIDER_INACTIVE",DROPDOWN_OPEN:"DROPDOWN_OPEN",DROPDOWN_CLOSE:"DROPDOWN_CLOSE",MOUSE_CLICK:"MOUSE_CLICK",MOUSE_SECOND_CLICK:"MOUSE_SECOND_CLICK",MOUSE_DOWN:"MOUSE_DOWN",MOUSE_UP:"MOUSE_UP",MOUSE_OVER:"MOUSE_OVER",MOUSE_OUT:"MOUSE_OUT",MOUSE_MOVE:"MOUSE_MOVE",MOUSE_MOVE_IN_VIEWPORT:"MOUSE_MOVE_IN_VIEWPORT",SCROLL_INTO_VIEW:"SCROLL_INTO_VIEW",SCROLL_OUT_OF_VIEW:"SCROLL_OUT_OF_VIEW",SCROLLING_IN_VIEW:"SCROLLING_IN_VIEW",ECOMMERCE_CART_OPEN:"ECOMMERCE_CART_OPEN",ECOMMERCE_CART_CLOSE:"ECOMMERCE_CART_CLOSE",PAGE_START:"PAGE_START",PAGE_FINISH:"PAGE_FINISH",PAGE_SCROLL_UP:"PAGE_SCROLL_UP",PAGE_SCROLL_DOWN:"PAGE_SCROLL_DOWN",PAGE_SCROLL:"PAGE_SCROLL"},CS={ELEMENT:"ELEMENT",CLASS:"CLASS",PAGE:"PAGE"},wS={ELEMENT:"ELEMENT",VIEWPORT:"VIEWPORT"},MS={X_AXIS:"X_AXIS",Y_AXIS:"Y_AXIS"},OS={CHILDREN:"CHILDREN",SIBLINGS:"SIBLINGS",IMMEDIATE_CHILDREN:"IMMEDIATE_CHILDREN"},FS={FADE_EFFECT:"FADE_EFFECT",SLIDE_EFFECT:"SLIDE_EFFECT",GROW_EFFECT:"GROW_EFFECT",SHRINK_EFFECT:"SHRINK_EFFECT",SPIN_EFFECT:"SPIN_EFFECT",FLY_EFFECT:"FLY_EFFECT",POP_EFFECT:"POP_EFFECT",FLIP_EFFECT:"FLIP_EFFECT",JIGGLE_EFFECT:"JIGGLE_EFFECT",PULSE_EFFECT:"PULSE_EFFECT",DROP_EFFECT:"DROP_EFFECT",BLINK_EFFECT:"BLINK_EFFECT",BOUNCE_EFFECT:"BOUNCE_EFFECT",FLIP_LEFT_TO_RIGHT_EFFECT:"FLIP_LEFT_TO_RIGHT_EFFECT",FLIP_RIGHT_TO_LEFT_EFFECT:"FLIP_RIGHT_TO_LEFT_EFFECT",RUBBER_BAND_EFFECT:"RUBBER_BAND_EFFECT",JELLO_EFFECT:"JELLO_EFFECT",GROW_BIG_EFFECT:"GROW_BIG_EFFECT",SHRINK_BIG_EFFECT:"SHRINK_BIG_EFFECT",PLUGIN_LOTTIE_EFFECT:"PLUGIN_LOTTIE_EFFECT"},DS={LEFT:"LEFT",RIGHT:"RIGHT",BOTTOM:"BOTTOM",TOP:"TOP",BOTTOM_LEFT:"BOTTOM_LEFT",BOTTOM_RIGHT:"BOTTOM_RIGHT",TOP_RIGHT:"TOP_RIGHT",TOP_LEFT:"TOP_LEFT",CLOCKWISE:"CLOCKWISE",COUNTER_CLOCKWISE:"COUNTER_CLOCKWISE"}});var pa=_(fa=>{"use strict";Object.defineProperty(fa,"__esModule",{value:!0});function RS(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}RS(fa,{ActionAppliesTo:function(){return kS},ActionTypeConsts:function(){return LS}});var LS={TRANSFORM_MOVE:"TRANSFORM_MOVE",TRANSFORM_SCALE:"TRANSFORM_SCALE",TRANSFORM_ROTATE:"TRANSFORM_ROTATE",TRANSFORM_SKEW:"TRANSFORM_SKEW",STYLE_OPACITY:"STYLE_OPACITY",STYLE_SIZE:"STYLE_SIZE",STYLE_FILTER:"STYLE_FILTER",STYLE_FONT_VARIATION:"STYLE_FONT_VARIATION",STYLE_BACKGROUND_COLOR:"STYLE_BACKGROUND_COLOR",STYLE_BORDER:"STYLE_BORDER",STYLE_TEXT_COLOR:"STYLE_TEXT_COLOR",OBJECT_VALUE:"OBJECT_VALUE",PLUGIN_LOTTIE:"PLUGIN_LOTTIE",PLUGIN_SPLINE:"PLUGIN_SPLINE",PLUGIN_RIVE:"PLUGIN_RIVE",PLUGIN_VARIABLE:"PLUGIN_VARIABLE",GENERAL_DISPLAY:"GENERAL_DISPLAY",GENERAL_START_ACTION:"GENERAL_START_ACTION",GENERAL_CONTINUOUS_ACTION:"GENERAL_CONTINUOUS_ACTION",GENERAL_COMBO_CLASS:"GENERAL_COMBO_CLASS",GENERAL_STOP_ACTION:"GENERAL_STOP_ACTION",GENERAL_LOOP:"GENERAL_LOOP",STYLE_BOX_SHADOW:"STYLE_BOX_SHADOW"},kS={ELEMENT:"ELEMENT",ELEMENT_CLASS:"ELEMENT_CLASS",TRIGGER_ELEMENT:"TRIGGER_ELEMENT"}});var Lu=_(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});Object.defineProperty(da,"InteractionTypeConsts",{enumerable:!0,get:function(){return NS}});var NS={MOUSE_CLICK_INTERACTION:"MOUSE_CLICK_INTERACTION",MOUSE_HOVER_INTERACTION:"MOUSE_HOVER_INTERACTION",MOUSE_MOVE_INTERACTION:"MOUSE_MOVE_INTERACTION",SCROLL_INTO_VIEW_INTERACTION:"SCROLL_INTO_VIEW_INTERACTION",SCROLLING_IN_VIEW_INTERACTION:"SCROLLING_IN_VIEW_INTERACTION",MOUSE_MOVE_IN_VIEWPORT_INTERACTION:"MOUSE_MOVE_IN_VIEWPORT_INTERACTION",PAGE_IS_SCROLLING_INTERACTION:"PAGE_IS_SCROLLING_INTERACTION",PAGE_LOAD_INTERACTION:"PAGE_LOAD_INTERACTION",PAGE_SCROLLED_INTERACTION:"PAGE_SCROLLED_INTERACTION",NAVBAR_INTERACTION:"NAVBAR_INTERACTION",DROPDOWN_INTERACTION:"DROPDOWN_INTERACTION",ECOMMERCE_CART_INTERACTION:"ECOMMERCE_CART_INTERACTION",TAB_INTERACTION:"TAB_INTERACTION",SLIDER_INTERACTION:"SLIDER_INTERACTION"}});var ku=_(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});Object.defineProperty(ma,"ReducedMotionTypes",{enumerable:!0,get:function(){return jS}});var qS=pa(),{TRANSFORM_MOVE:BS,TRANSFORM_SCALE:VS,TRANSFORM_ROTATE:GS,TRANSFORM_SKEW:zS,STYLE_SIZE:HS,STYLE_FILTER:WS,STYLE_FONT_VARIATION:US}=qS.ActionTypeConsts,jS={[BS]:!0,[VS]:!0,[GS]:!0,[zS]:!0,[HS]:!0,[WS]:!0,[US]:!0}});var Nu=_(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});function XS(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}XS(ga,{IX2_ACTION_LIST_PLAYBACK_CHANGED:function(){return cI},IX2_ANIMATION_FRAME_CHANGED:function(){return iI},IX2_CLEAR_REQUESTED:function(){return tI},IX2_ELEMENT_STATE_CHANGED:function(){return uI},IX2_EVENT_LISTENER_ADDED:function(){return rI},IX2_EVENT_STATE_CHANGED:function(){return nI},IX2_INSTANCE_ADDED:function(){return sI},IX2_INSTANCE_REMOVED:function(){return lI},IX2_INSTANCE_STARTED:function(){return oI},IX2_MEDIA_QUERIES_DEFINED:function(){return fI},IX2_PARAMETER_CHANGED:function(){return aI},IX2_PLAYBACK_REQUESTED:function(){return JS},IX2_PREVIEW_REQUESTED:function(){return ZS},IX2_RAW_DATA_IMPORTED:function(){return KS},IX2_SESSION_INITIALIZED:function(){return $S},IX2_SESSION_STARTED:function(){return YS},IX2_SESSION_STOPPED:function(){return QS},IX2_STOP_REQUESTED:function(){return eI},IX2_TEST_FRAME_RENDERED:function(){return pI},IX2_VIEWPORT_WIDTH_CHANGED:function(){return hI}});var KS="IX2_RAW_DATA_IMPORTED",$S="IX2_SESSION_INITIALIZED",YS="IX2_SESSION_STARTED",QS="IX2_SESSION_STOPPED",ZS="IX2_PREVIEW_REQUESTED",JS="IX2_PLAYBACK_REQUESTED",eI="IX2_STOP_REQUESTED",tI="IX2_CLEAR_REQUESTED",rI="IX2_EVENT_LISTENER_ADDED",nI="IX2_EVENT_STATE_CHANGED",iI="IX2_ANIMATION_FRAME_CHANGED",aI="IX2_PARAMETER_CHANGED",sI="IX2_INSTANCE_ADDED",oI="IX2_INSTANCE_STARTED",lI="IX2_INSTANCE_REMOVED",uI="IX2_ELEMENT_STATE_CHANGED",cI="IX2_ACTION_LIST_PLAYBACK_CHANGED",hI="IX2_VIEWPORT_WIDTH_CHANGED",fI="IX2_MEDIA_QUERIES_DEFINED",pI="IX2_TEST_FRAME_RENDERED"});var qu=_(ya=>{"use strict";Object.defineProperty(ya,"__esModule",{value:!0});function dI(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}dI(ya,{ABSTRACT_NODE:function(){return fT},AUTO:function(){return tT},BACKGROUND:function(){return $I},BACKGROUND_COLOR:function(){return KI},BAR_DELIMITER:function(){return iT},BORDER_COLOR:function(){return YI},BOUNDARY_SELECTOR:function(){return EI},CHILDREN:function(){return aT},COLON_DELIMITER:function(){return nT},COLOR:function(){return QI},COMMA_DELIMITER:function(){return rT},CONFIG_UNIT:function(){return PI},CONFIG_VALUE:function(){return II},CONFIG_X_UNIT:function(){return TI},CONFIG_X_VALUE:function(){return bI},CONFIG_Y_UNIT:function(){return xI},CONFIG_Y_VALUE:function(){return _I},CONFIG_Z_UNIT:function(){return AI},CONFIG_Z_VALUE:function(){return SI},DISPLAY:function(){return ZI},FILTER:function(){return WI},FLEX:function(){return JI},FONT_VARIATION_SETTINGS:function(){return UI},HEIGHT:function(){return XI},HTML_ELEMENT:function(){return cT},IMMEDIATE_CHILDREN:function(){return sT},IX2_ID_DELIMITER:function(){return mI},OPACITY:function(){return HI},PARENT:function(){return lT},PLAIN_OBJECT:function(){return hT},PRESERVE_3D:function(){return uT},RENDER_GENERAL:function(){return dT},RENDER_PLUGIN:function(){return gT},RENDER_STYLE:function(){return mT},RENDER_TRANSFORM:function(){return pT},ROTATE_X:function(){return NI},ROTATE_Y:function(){return qI},ROTATE_Z:function(){return BI},SCALE_3D:function(){return kI},SCALE_X:function(){return DI},SCALE_Y:function(){return RI},SCALE_Z:function(){return LI},SIBLINGS:function(){return oT},SKEW:function(){return VI},SKEW_X:function(){return GI},SKEW_Y:function(){return zI},TRANSFORM:function(){return CI},TRANSLATE_3D:function(){return FI},TRANSLATE_X:function(){return wI},TRANSLATE_Y:function(){return MI},TRANSLATE_Z:function(){return OI},WF_PAGE:function(){return gI},WIDTH:function(){return jI},WILL_CHANGE:function(){return eT},W_MOD_IX:function(){return vI},W_MOD_JS:function(){return yI}});var mI="|",gI="data-wf-page",yI="w-mod-js",vI="w-mod-ix",EI=".w-dyn-item",bI="xValue",_I="yValue",SI="zValue",II="value",TI="xUnit",xI="yUnit",AI="zUnit",PI="unit",CI="transform",wI="translateX",MI="translateY",OI="translateZ",FI="translate3d",DI="scaleX",RI="scaleY",LI="scaleZ",kI="scale3d",NI="rotateX",qI="rotateY",BI="rotateZ",VI="skew",GI="skewX",zI="skewY",HI="opacity",WI="filter",UI="font-variation-settings",jI="width",XI="height",KI="backgroundColor",$I="background",YI="borderColor",QI="color",ZI="display",JI="flex",eT="willChange",tT="AUTO",rT=",",nT=":",iT="|",aT="CHILDREN",sT="IMMEDIATE_CHILDREN",oT="SIBLINGS",lT="PARENT",uT="preserve-3d",cT="HTML_ELEMENT",hT="PLAIN_OBJECT",fT="ABSTRACT_NODE",pT="RENDER_TRANSFORM",dT="RENDER_GENERAL",mT="RENDER_STYLE",gT="RENDER_PLUGIN"});var Le=_(Mt=>{"use strict";Object.defineProperty(Mt,"__esModule",{value:!0});function yT(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}yT(Mt,{ActionTypeConsts:function(){return ET.ActionTypeConsts},IX2EngineActionTypes:function(){return bT},IX2EngineConstants:function(){return _T},QuickEffectIds:function(){return vT.QuickEffectIds}});var vT=hn(Ru(),Mt),ET=hn(pa(),Mt);hn(Lu(),Mt);hn(ku(),Mt);var bT=Vu(Nu()),_T=Vu(qu());function hn(e,t){return Object.keys(e).forEach(function(r){r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})}),e}function Bu(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Bu=function(n){return n?r:t})(e)}function Vu(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Bu(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}});var Gu=_(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});Object.defineProperty(va,"ixData",{enumerable:!0,get:function(){return TT}});var ST=Le(),{IX2_RAW_DATA_IMPORTED:IT}=ST.IX2EngineActionTypes,TT=(e=Object.freeze({}),t)=>{switch(t.type){case IT:return t.payload.ixData||Object.freeze({});default:return e}}});var er=_(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});var xT=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};be.clone=pn;be.addLast=Wu;be.addFirst=Uu;be.removeLast=ju;be.removeFirst=Xu;be.insert=Ku;be.removeAt=$u;be.replaceAt=Yu;be.getIn=dn;be.set=mn;be.setIn=gn;be.update=Zu;be.updateIn=Ju;be.merge=ec;be.mergeDeep=tc;be.mergeIn=rc;be.omit=nc;be.addDefaults=ic;var zu="INVALID_ARGS";function Hu(e){throw new Error(e)}function Ea(e){var t=Object.keys(e);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(e)):t}var AT={}.hasOwnProperty;function pn(e){if(Array.isArray(e))return e.slice();for(var t=Ea(e),r={},n=0;n<t.length;n++){var i=t[n];r[i]=e[i]}return r}function ke(e,t,r){var n=r;n==null&&Hu(zu);for(var i=!1,a=arguments.length,s=Array(a>3?a-3:0),o=3;o<a;o++)s[o-3]=arguments[o];for(var l=0;l<s.length;l++){var p=s[l];if(p!=null){var c=Ea(p);if(c.length)for(var h=0;h<=c.length;h++){var g=c[h];if(!(e&&n[g]!==void 0)){var d=p[g];t&&fn(n[g])&&fn(d)&&(d=ke(e,t,n[g],d)),!(d===void 0||d===n[g])&&(i||(i=!0,n=pn(n)),n[g]=d)}}}}return n}function fn(e){var t=typeof e>"u"?"undefined":xT(e);return e!=null&&(t==="object"||t==="function")}function Wu(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])}function Uu(e,t){return Array.isArray(t)?t.concat(e):[t].concat(e)}function ju(e){return e.length?e.slice(0,e.length-1):e}function Xu(e){return e.length?e.slice(1):e}function Ku(e,t,r){return e.slice(0,t).concat(Array.isArray(r)?r:[r]).concat(e.slice(t))}function $u(e,t){return t>=e.length||t<0?e:e.slice(0,t).concat(e.slice(t+1))}function Yu(e,t,r){if(e[t]===r)return e;for(var n=e.length,i=Array(n),a=0;a<n;a++)i[a]=e[a];return i[t]=r,i}function dn(e,t){if(!Array.isArray(t)&&Hu(zu),e!=null){for(var r=e,n=0;n<t.length;n++){var i=t[n];if(r=r?.[i],r===void 0)return r}return r}}function mn(e,t,r){var n=typeof t=="number"?[]:{},i=e??n;if(i[t]===r)return i;var a=pn(i);return a[t]=r,a}function Qu(e,t,r,n){var i=void 0,a=t[n];if(n===t.length-1)i=r;else{var s=fn(e)&&fn(e[a])?e[a]:typeof t[n+1]=="number"?[]:{};i=Qu(s,t,r,n+1)}return mn(e,a,i)}function gn(e,t,r){return t.length?Qu(e,t,r,0):r}function Zu(e,t,r){var n=e?.[t],i=r(n);return mn(e,t,i)}function Ju(e,t,r){var n=dn(e,t),i=r(n);return gn(e,t,i)}function ec(e,t,r,n,i,a){for(var s=arguments.length,o=Array(s>6?s-6:0),l=6;l<s;l++)o[l-6]=arguments[l];return o.length?ke.call.apply(ke,[null,!1,!1,e,t,r,n,i,a].concat(o)):ke(!1,!1,e,t,r,n,i,a)}function tc(e,t,r,n,i,a){for(var s=arguments.length,o=Array(s>6?s-6:0),l=6;l<s;l++)o[l-6]=arguments[l];return o.length?ke.call.apply(ke,[null,!1,!0,e,t,r,n,i,a].concat(o)):ke(!1,!0,e,t,r,n,i,a)}function rc(e,t,r,n,i,a,s){var o=dn(e,t);o==null&&(o={});for(var l=void 0,p=arguments.length,c=Array(p>7?p-7:0),h=7;h<p;h++)c[h-7]=arguments[h];return c.length?l=ke.call.apply(ke,[null,!1,!1,o,r,n,i,a,s].concat(c)):l=ke(!1,!1,o,r,n,i,a,s),gn(e,t,l)}function nc(e,t){for(var r=Array.isArray(t)?t:[t],n=!1,i=0;i<r.length;i++)if(AT.call(e,r[i])){n=!0;break}if(!n)return e;for(var a={},s=Ea(e),o=0;o<s.length;o++){var l=s[o];r.indexOf(l)>=0||(a[l]=e[l])}return a}function ic(e,t,r,n,i,a){for(var s=arguments.length,o=Array(s>6?s-6:0),l=6;l<s;l++)o[l-6]=arguments[l];return o.length?ke.call.apply(ke,[null,!0,!1,e,t,r,n,i,a].concat(o)):ke(!0,!1,e,t,r,n,i,a)}var PT={clone:pn,addLast:Wu,addFirst:Uu,removeLast:ju,removeFirst:Xu,insert:Ku,removeAt:$u,replaceAt:Yu,getIn:dn,set:mn,setIn:gn,update:Zu,updateIn:Ju,merge:ec,mergeDeep:tc,mergeIn:rc,omit:nc,addDefaults:ic};be.default=PT});var sc=_(ba=>{"use strict";Object.defineProperty(ba,"__esModule",{value:!0});Object.defineProperty(ba,"ixRequest",{enumerable:!0,get:function(){return LT}});var CT=Le(),wT=er(),{IX2_PREVIEW_REQUESTED:MT,IX2_PLAYBACK_REQUESTED:OT,IX2_STOP_REQUESTED:FT,IX2_CLEAR_REQUESTED:DT}=CT.IX2EngineActionTypes,RT={preview:{},playback:{},stop:{},clear:{}},ac=Object.create(null,{[MT]:{value:"preview"},[OT]:{value:"playback"},[FT]:{value:"stop"},[DT]:{value:"clear"}}),LT=(e=RT,t)=>{if(t.type in ac){let r=[ac[t.type]];return(0,wT.setIn)(e,[r],{...t.payload})}return e}});var lc=_(_a=>{"use strict";Object.defineProperty(_a,"__esModule",{value:!0});Object.defineProperty(_a,"ixSession",{enumerable:!0,get:function(){return KT}});var kT=Le(),Qe=er(),{IX2_SESSION_INITIALIZED:NT,IX2_SESSION_STARTED:qT,IX2_TEST_FRAME_RENDERED:BT,IX2_SESSION_STOPPED:VT,IX2_EVENT_LISTENER_ADDED:GT,IX2_EVENT_STATE_CHANGED:zT,IX2_ANIMATION_FRAME_CHANGED:HT,IX2_ACTION_LIST_PLAYBACK_CHANGED:WT,IX2_VIEWPORT_WIDTH_CHANGED:UT,IX2_MEDIA_QUERIES_DEFINED:jT}=kT.IX2EngineActionTypes,oc={active:!1,tick:0,eventListeners:[],eventState:{},playbackState:{},viewportWidth:0,mediaQueryKey:null,hasBoundaryNodes:!1,hasDefinedMediaQueries:!1,reducedMotion:!1},XT=20,KT=(e=oc,t)=>{switch(t.type){case NT:{let{hasBoundaryNodes:r,reducedMotion:n}=t.payload;return(0,Qe.merge)(e,{hasBoundaryNodes:r,reducedMotion:n})}case qT:return(0,Qe.set)(e,"active",!0);case BT:{let{payload:{step:r=XT}}=t;return(0,Qe.set)(e,"tick",e.tick+r)}case VT:return oc;case HT:{let{payload:{now:r}}=t;return(0,Qe.set)(e,"tick",r)}case GT:{let r=(0,Qe.addLast)(e.eventListeners,t.payload);return(0,Qe.set)(e,"eventListeners",r)}case zT:{let{stateKey:r,newState:n}=t.payload;return(0,Qe.setIn)(e,["eventState",r],n)}case WT:{let{actionListId:r,isPlaying:n}=t.payload;return(0,Qe.setIn)(e,["playbackState",r],n)}case UT:{let{width:r,mediaQueries:n}=t.payload,i=n.length,a=null;for(let s=0;s<i;s++){let{key:o,min:l,max:p}=n[s];if(r>=l&&r<=p){a=o;break}}return(0,Qe.merge)(e,{viewportWidth:r,mediaQueryKey:a})}case jT:return(0,Qe.set)(e,"hasDefinedMediaQueries",!0);default:return e}}});var cc=_((R7,uc)=>{function $T(){this.__data__=[],this.size=0}uc.exports=$T});var yn=_((L7,hc)=>{function YT(e,t){return e===t||e!==e&&t!==t}hc.exports=YT});var xr=_((k7,fc)=>{var QT=yn();function ZT(e,t){for(var r=e.length;r--;)if(QT(e[r][0],t))return r;return-1}fc.exports=ZT});var dc=_((N7,pc)=>{var JT=xr(),ex=Array.prototype,tx=ex.splice;function rx(e){var t=this.__data__,r=JT(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():tx.call(t,r,1),--this.size,!0}pc.exports=rx});var gc=_((q7,mc)=>{var nx=xr();function ix(e){var t=this.__data__,r=nx(t,e);return r<0?void 0:t[r][1]}mc.exports=ix});var vc=_((B7,yc)=>{var ax=xr();function sx(e){return ax(this.__data__,e)>-1}yc.exports=sx});var bc=_((V7,Ec)=>{var ox=xr();function lx(e,t){var r=this.__data__,n=ox(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}Ec.exports=lx});var Ar=_((G7,_c)=>{var ux=cc(),cx=dc(),hx=gc(),fx=vc(),px=bc();function tr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}tr.prototype.clear=ux;tr.prototype.delete=cx;tr.prototype.get=hx;tr.prototype.has=fx;tr.prototype.set=px;_c.exports=tr});var Ic=_((z7,Sc)=>{var dx=Ar();function mx(){this.__data__=new dx,this.size=0}Sc.exports=mx});var xc=_((H7,Tc)=>{function gx(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}Tc.exports=gx});var Pc=_((W7,Ac)=>{function yx(e){return this.__data__.get(e)}Ac.exports=yx});var wc=_((U7,Cc)=>{function vx(e){return this.__data__.has(e)}Cc.exports=vx});var Ze=_((j7,Mc)=>{function Ex(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}Mc.exports=Ex});var Sa=_((X7,Oc)=>{var bx=yt(),_x=Ze(),Sx="[object AsyncFunction]",Ix="[object Function]",Tx="[object GeneratorFunction]",xx="[object Proxy]";function Ax(e){if(!_x(e))return!1;var t=bx(e);return t==Ix||t==Tx||t==Sx||t==xx}Oc.exports=Ax});var Dc=_((K7,Fc)=>{var Px=je(),Cx=Px["__core-js_shared__"];Fc.exports=Cx});var kc=_(($7,Lc)=>{var Ia=Dc(),Rc=function(){var e=/[^.]+$/.exec(Ia&&Ia.keys&&Ia.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function wx(e){return!!Rc&&Rc in e}Lc.exports=wx});var Ta=_((Y7,Nc)=>{var Mx=Function.prototype,Ox=Mx.toString;function Fx(e){if(e!=null){try{return Ox.call(e)}catch{}try{return e+""}catch{}}return""}Nc.exports=Fx});var Bc=_((Q7,qc)=>{var Dx=Sa(),Rx=kc(),Lx=Ze(),kx=Ta(),Nx=/[\\^$.*+?()[\]{}|]/g,qx=/^\[object .+?Constructor\]$/,Bx=Function.prototype,Vx=Object.prototype,Gx=Bx.toString,zx=Vx.hasOwnProperty,Hx=RegExp("^"+Gx.call(zx).replace(Nx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Wx(e){if(!Lx(e)||Rx(e))return!1;var t=Dx(e)?Hx:qx;return t.test(kx(e))}qc.exports=Wx});var Gc=_((Z7,Vc)=>{function Ux(e,t){return e?.[t]}Vc.exports=Ux});var vt=_((J7,zc)=>{var jx=Bc(),Xx=Gc();function Kx(e,t){var r=Xx(e,t);return jx(r)?r:void 0}zc.exports=Kx});var vn=_((eH,Hc)=>{var $x=vt(),Yx=je(),Qx=$x(Yx,"Map");Hc.exports=Qx});var Pr=_((tH,Wc)=>{var Zx=vt(),Jx=Zx(Object,"create");Wc.exports=Jx});var Xc=_((rH,jc)=>{var Uc=Pr();function eA(){this.__data__=Uc?Uc(null):{},this.size=0}jc.exports=eA});var $c=_((nH,Kc)=>{function tA(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}Kc.exports=tA});var Qc=_((iH,Yc)=>{var rA=Pr(),nA="__lodash_hash_undefined__",iA=Object.prototype,aA=iA.hasOwnProperty;function sA(e){var t=this.__data__;if(rA){var r=t[e];return r===nA?void 0:r}return aA.call(t,e)?t[e]:void 0}Yc.exports=sA});var Jc=_((aH,Zc)=>{var oA=Pr(),lA=Object.prototype,uA=lA.hasOwnProperty;function cA(e){var t=this.__data__;return oA?t[e]!==void 0:uA.call(t,e)}Zc.exports=cA});var th=_((sH,eh)=>{var hA=Pr(),fA="__lodash_hash_undefined__";function pA(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=hA&&t===void 0?fA:t,this}eh.exports=pA});var nh=_((oH,rh)=>{var dA=Xc(),mA=$c(),gA=Qc(),yA=Jc(),vA=th();function rr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}rr.prototype.clear=dA;rr.prototype.delete=mA;rr.prototype.get=gA;rr.prototype.has=yA;rr.prototype.set=vA;rh.exports=rr});var sh=_((lH,ah)=>{var ih=nh(),EA=Ar(),bA=vn();function _A(){this.size=0,this.__data__={hash:new ih,map:new(bA||EA),string:new ih}}ah.exports=_A});var lh=_((uH,oh)=>{function SA(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}oh.exports=SA});var Cr=_((cH,uh)=>{var IA=lh();function TA(e,t){var r=e.__data__;return IA(t)?r[typeof t=="string"?"string":"hash"]:r.map}uh.exports=TA});var hh=_((hH,ch)=>{var xA=Cr();function AA(e){var t=xA(this,e).delete(e);return this.size-=t?1:0,t}ch.exports=AA});var ph=_((fH,fh)=>{var PA=Cr();function CA(e){return PA(this,e).get(e)}fh.exports=CA});var mh=_((pH,dh)=>{var wA=Cr();function MA(e){return wA(this,e).has(e)}dh.exports=MA});var yh=_((dH,gh)=>{var OA=Cr();function FA(e,t){var r=OA(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}gh.exports=FA});var En=_((mH,vh)=>{var DA=sh(),RA=hh(),LA=ph(),kA=mh(),NA=yh();function nr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}nr.prototype.clear=DA;nr.prototype.delete=RA;nr.prototype.get=LA;nr.prototype.has=kA;nr.prototype.set=NA;vh.exports=nr});var bh=_((gH,Eh)=>{var qA=Ar(),BA=vn(),VA=En(),GA=200;function zA(e,t){var r=this.__data__;if(r instanceof qA){var n=r.__data__;if(!BA||n.length<GA-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new VA(n)}return r.set(e,t),this.size=r.size,this}Eh.exports=zA});var xa=_((yH,_h)=>{var HA=Ar(),WA=Ic(),UA=xc(),jA=Pc(),XA=wc(),KA=bh();function ir(e){var t=this.__data__=new HA(e);this.size=t.size}ir.prototype.clear=WA;ir.prototype.delete=UA;ir.prototype.get=jA;ir.prototype.has=XA;ir.prototype.set=KA;_h.exports=ir});var Ih=_((vH,Sh)=>{var $A="__lodash_hash_undefined__";function YA(e){return this.__data__.set(e,$A),this}Sh.exports=YA});var xh=_((EH,Th)=>{function QA(e){return this.__data__.has(e)}Th.exports=QA});var Ph=_((bH,Ah)=>{var ZA=En(),JA=Ih(),eP=xh();function bn(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new ZA;++t<r;)this.add(e[t])}bn.prototype.add=bn.prototype.push=JA;bn.prototype.has=eP;Ah.exports=bn});var wh=_((_H,Ch)=>{function tP(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}Ch.exports=tP});var Oh=_((SH,Mh)=>{function rP(e,t){return e.has(t)}Mh.exports=rP});var Aa=_((IH,Fh)=>{var nP=Ph(),iP=wh(),aP=Oh(),sP=1,oP=2;function lP(e,t,r,n,i,a){var s=r&sP,o=e.length,l=t.length;if(o!=l&&!(s&&l>o))return!1;var p=a.get(e),c=a.get(t);if(p&&c)return p==t&&c==e;var h=-1,g=!0,d=r&oP?new nP:void 0;for(a.set(e,t),a.set(t,e);++h<o;){var f=e[h],m=t[h];if(n)var u=s?n(m,f,h,t,e,a):n(f,m,h,e,t,a);if(u!==void 0){if(u)continue;g=!1;break}if(d){if(!iP(t,function(y,v){if(!aP(d,v)&&(f===y||i(f,y,r,n,a)))return d.push(v)})){g=!1;break}}else if(!(f===m||i(f,m,r,n,a))){g=!1;break}}return a.delete(e),a.delete(t),g}Fh.exports=lP});var Rh=_((TH,Dh)=>{var uP=je(),cP=uP.Uint8Array;Dh.exports=cP});var kh=_((xH,Lh)=>{function hP(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}Lh.exports=hP});var qh=_((AH,Nh)=>{function fP(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}Nh.exports=fP});var Hh=_((PH,zh)=>{var Bh=Qt(),Vh=Rh(),pP=yn(),dP=Aa(),mP=kh(),gP=qh(),yP=1,vP=2,EP="[object Boolean]",bP="[object Date]",_P="[object Error]",SP="[object Map]",IP="[object Number]",TP="[object RegExp]",xP="[object Set]",AP="[object String]",PP="[object Symbol]",CP="[object ArrayBuffer]",wP="[object DataView]",Gh=Bh?Bh.prototype:void 0,Pa=Gh?Gh.valueOf:void 0;function MP(e,t,r,n,i,a,s){switch(r){case wP:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case CP:return!(e.byteLength!=t.byteLength||!a(new Vh(e),new Vh(t)));case EP:case bP:case IP:return pP(+e,+t);case _P:return e.name==t.name&&e.message==t.message;case TP:case AP:return e==t+"";case SP:var o=mP;case xP:var l=n&yP;if(o||(o=gP),e.size!=t.size&&!l)return!1;var p=s.get(e);if(p)return p==t;n|=vP,s.set(e,t);var c=dP(o(e),o(t),n,i,a,s);return s.delete(e),c;case PP:if(Pa)return Pa.call(e)==Pa.call(t)}return!1}zh.exports=MP});var _n=_((CH,Wh)=>{function OP(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}Wh.exports=OP});var Ae=_((wH,Uh)=>{var FP=Array.isArray;Uh.exports=FP});var Ca=_((MH,jh)=>{var DP=_n(),RP=Ae();function LP(e,t,r){var n=t(e);return RP(e)?n:DP(n,r(e))}jh.exports=LP});var Kh=_((OH,Xh)=>{function kP(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var s=e[r];t(s,r,e)&&(a[i++]=s)}return a}Xh.exports=kP});var wa=_((FH,$h)=>{function NP(){return[]}$h.exports=NP});var Ma=_((DH,Qh)=>{var qP=Kh(),BP=wa(),VP=Object.prototype,GP=VP.propertyIsEnumerable,Yh=Object.getOwnPropertySymbols,zP=Yh?function(e){return e==null?[]:(e=Object(e),qP(Yh(e),function(t){return GP.call(e,t)}))}:BP;Qh.exports=zP});var Jh=_((RH,Zh)=>{function HP(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}Zh.exports=HP});var tf=_((LH,ef)=>{var WP=yt(),UP=lt(),jP="[object Arguments]";function XP(e){return UP(e)&&WP(e)==jP}ef.exports=XP});var wr=_((kH,af)=>{var rf=tf(),KP=lt(),nf=Object.prototype,$P=nf.hasOwnProperty,YP=nf.propertyIsEnumerable,QP=rf(function(){return arguments}())?rf:function(e){return KP(e)&&$P.call(e,"callee")&&!YP.call(e,"callee")};af.exports=QP});var of=_((NH,sf)=>{function ZP(){return!1}sf.exports=ZP});var Sn=_((Mr,ar)=>{var JP=je(),eC=of(),cf=typeof Mr=="object"&&Mr&&!Mr.nodeType&&Mr,lf=cf&&typeof ar=="object"&&ar&&!ar.nodeType&&ar,tC=lf&&lf.exports===cf,uf=tC?JP.Buffer:void 0,rC=uf?uf.isBuffer:void 0,nC=rC||eC;ar.exports=nC});var In=_((qH,hf)=>{var iC=9007199254740991,aC=/^(?:0|[1-9]\d*)$/;function sC(e,t){var r=typeof e;return t=t??iC,!!t&&(r=="number"||r!="symbol"&&aC.test(e))&&e>-1&&e%1==0&&e<t}hf.exports=sC});var Tn=_((BH,ff)=>{var oC=9007199254740991;function lC(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=oC}ff.exports=lC});var df=_((VH,pf)=>{var uC=yt(),cC=Tn(),hC=lt(),fC="[object Arguments]",pC="[object Array]",dC="[object Boolean]",mC="[object Date]",gC="[object Error]",yC="[object Function]",vC="[object Map]",EC="[object Number]",bC="[object Object]",_C="[object RegExp]",SC="[object Set]",IC="[object String]",TC="[object WeakMap]",xC="[object ArrayBuffer]",AC="[object DataView]",PC="[object Float32Array]",CC="[object Float64Array]",wC="[object Int8Array]",MC="[object Int16Array]",OC="[object Int32Array]",FC="[object Uint8Array]",DC="[object Uint8ClampedArray]",RC="[object Uint16Array]",LC="[object Uint32Array]",ge={};ge[PC]=ge[CC]=ge[wC]=ge[MC]=ge[OC]=ge[FC]=ge[DC]=ge[RC]=ge[LC]=!0;ge[fC]=ge[pC]=ge[xC]=ge[dC]=ge[AC]=ge[mC]=ge[gC]=ge[yC]=ge[vC]=ge[EC]=ge[bC]=ge[_C]=ge[SC]=ge[IC]=ge[TC]=!1;function kC(e){return hC(e)&&cC(e.length)&&!!ge[uC(e)]}pf.exports=kC});var gf=_((GH,mf)=>{function NC(e){return function(t){return e(t)}}mf.exports=NC});var vf=_((Or,sr)=>{var qC=$i(),yf=typeof Or=="object"&&Or&&!Or.nodeType&&Or,Fr=yf&&typeof sr=="object"&&sr&&!sr.nodeType&&sr,BC=Fr&&Fr.exports===yf,Oa=BC&&qC.process,VC=function(){try{var e=Fr&&Fr.require&&Fr.require("util").types;return e||Oa&&Oa.binding&&Oa.binding("util")}catch{}}();sr.exports=VC});var xn=_((zH,_f)=>{var GC=df(),zC=gf(),Ef=vf(),bf=Ef&&Ef.isTypedArray,HC=bf?zC(bf):GC;_f.exports=HC});var Fa=_((HH,Sf)=>{var WC=Jh(),UC=wr(),jC=Ae(),XC=Sn(),KC=In(),$C=xn(),YC=Object.prototype,QC=YC.hasOwnProperty;function ZC(e,t){var r=jC(e),n=!r&&UC(e),i=!r&&!n&&XC(e),a=!r&&!n&&!i&&$C(e),s=r||n||i||a,o=s?WC(e.length,String):[],l=o.length;for(var p in e)(t||QC.call(e,p))&&!(s&&(p=="length"||i&&(p=="offset"||p=="parent")||a&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||KC(p,l)))&&o.push(p);return o}Sf.exports=ZC});var An=_((WH,If)=>{var JC=Object.prototype;function ew(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||JC;return e===r}If.exports=ew});var xf=_((UH,Tf)=>{var tw=Yi(),rw=tw(Object.keys,Object);Tf.exports=rw});var Pn=_((jH,Af)=>{var nw=An(),iw=xf(),aw=Object.prototype,sw=aw.hasOwnProperty;function ow(e){if(!nw(e))return iw(e);var t=[];for(var r in Object(e))sw.call(e,r)&&r!="constructor"&&t.push(r);return t}Af.exports=ow});var Ot=_((XH,Pf)=>{var lw=Sa(),uw=Tn();function cw(e){return e!=null&&uw(e.length)&&!lw(e)}Pf.exports=cw});var Dr=_((KH,Cf)=>{var hw=Fa(),fw=Pn(),pw=Ot();function dw(e){return pw(e)?hw(e):fw(e)}Cf.exports=dw});var Mf=_(($H,wf)=>{var mw=Ca(),gw=Ma(),yw=Dr();function vw(e){return mw(e,yw,gw)}wf.exports=vw});var Df=_((YH,Ff)=>{var Of=Mf(),Ew=1,bw=Object.prototype,_w=bw.hasOwnProperty;function Sw(e,t,r,n,i,a){var s=r&Ew,o=Of(e),l=o.length,p=Of(t),c=p.length;if(l!=c&&!s)return!1;for(var h=l;h--;){var g=o[h];if(!(s?g in t:_w.call(t,g)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var m=!0;a.set(e,t),a.set(t,e);for(var u=s;++h<l;){g=o[h];var y=e[g],v=t[g];if(n)var E=s?n(v,y,g,t,e,a):n(y,v,g,e,t,a);if(!(E===void 0?y===v||i(y,v,r,n,a):E)){m=!1;break}u||(u=g=="constructor")}if(m&&!u){var b=e.constructor,S=t.constructor;b!=S&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof S=="function"&&S instanceof S)&&(m=!1)}return a.delete(e),a.delete(t),m}Ff.exports=Sw});var Lf=_((QH,Rf)=>{var Iw=vt(),Tw=je(),xw=Iw(Tw,"DataView");Rf.exports=xw});var Nf=_((ZH,kf)=>{var Aw=vt(),Pw=je(),Cw=Aw(Pw,"Promise");kf.exports=Cw});var Bf=_((JH,qf)=>{var ww=vt(),Mw=je(),Ow=ww(Mw,"Set");qf.exports=Ow});var Da=_((eW,Vf)=>{var Fw=vt(),Dw=je(),Rw=Fw(Dw,"WeakMap");Vf.exports=Rw});var Cn=_((tW,Xf)=>{var Ra=Lf(),La=vn(),ka=Nf(),Na=Bf(),qa=Da(),jf=yt(),or=Ta(),Gf="[object Map]",Lw="[object Object]",zf="[object Promise]",Hf="[object Set]",Wf="[object WeakMap]",Uf="[object DataView]",kw=or(Ra),Nw=or(La),qw=or(ka),Bw=or(Na),Vw=or(qa),Ft=jf;(Ra&&Ft(new Ra(new ArrayBuffer(1)))!=Uf||La&&Ft(new La)!=Gf||ka&&Ft(ka.resolve())!=zf||Na&&Ft(new Na)!=Hf||qa&&Ft(new qa)!=Wf)&&(Ft=function(e){var t=jf(e),r=t==Lw?e.constructor:void 0,n=r?or(r):"";if(n)switch(n){case kw:return Uf;case Nw:return Gf;case qw:return zf;case Bw:return Hf;case Vw:return Wf}return t});Xf.exports=Ft});var tp=_((rW,ep)=>{var Ba=xa(),Gw=Aa(),zw=Hh(),Hw=Df(),Kf=Cn(),$f=Ae(),Yf=Sn(),Ww=xn(),Uw=1,Qf="[object Arguments]",Zf="[object Array]",wn="[object Object]",jw=Object.prototype,Jf=jw.hasOwnProperty;function Xw(e,t,r,n,i,a){var s=$f(e),o=$f(t),l=s?Zf:Kf(e),p=o?Zf:Kf(t);l=l==Qf?wn:l,p=p==Qf?wn:p;var c=l==wn,h=p==wn,g=l==p;if(g&&Yf(e)){if(!Yf(t))return!1;s=!0,c=!1}if(g&&!c)return a||(a=new Ba),s||Ww(e)?Gw(e,t,r,n,i,a):zw(e,t,l,r,n,i,a);if(!(r&Uw)){var d=c&&Jf.call(e,"__wrapped__"),f=h&&Jf.call(t,"__wrapped__");if(d||f){var m=d?e.value():e,u=f?t.value():t;return a||(a=new Ba),i(m,u,r,n,a)}}return g?(a||(a=new Ba),Hw(e,t,r,n,i,a)):!1}ep.exports=Xw});var Va=_((nW,ip)=>{var Kw=tp(),rp=lt();function np(e,t,r,n,i){return e===t?!0:e==null||t==null||!rp(e)&&!rp(t)?e!==e&&t!==t:Kw(e,t,r,n,np,i)}ip.exports=np});var sp=_((iW,ap)=>{var $w=xa(),Yw=Va(),Qw=1,Zw=2;function Jw(e,t,r,n){var i=r.length,a=i,s=!n;if(e==null)return!a;for(e=Object(e);i--;){var o=r[i];if(s&&o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){o=r[i];var l=o[0],p=e[l],c=o[1];if(s&&o[2]){if(p===void 0&&!(l in e))return!1}else{var h=new $w;if(n)var g=n(p,c,l,e,t,h);if(!(g===void 0?Yw(c,p,Qw|Zw,n,h):g))return!1}}return!0}ap.exports=Jw});var Ga=_((aW,op)=>{var eM=Ze();function tM(e){return e===e&&!eM(e)}op.exports=tM});var up=_((sW,lp)=>{var rM=Ga(),nM=Dr();function iM(e){for(var t=nM(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,rM(i)]}return t}lp.exports=iM});var za=_((oW,cp)=>{function aM(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}cp.exports=aM});var fp=_((lW,hp)=>{var sM=sp(),oM=up(),lM=za();function uM(e){var t=oM(e);return t.length==1&&t[0][2]?lM(t[0][0],t[0][1]):function(r){return r===e||sM(r,e,t)}}hp.exports=uM});var Rr=_((uW,pp)=>{var cM=yt(),hM=lt(),fM="[object Symbol]";function pM(e){return typeof e=="symbol"||hM(e)&&cM(e)==fM}pp.exports=pM});var Mn=_((cW,dp)=>{var dM=Ae(),mM=Rr(),gM=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,yM=/^\w*$/;function vM(e,t){if(dM(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||mM(e)?!0:yM.test(e)||!gM.test(e)||t!=null&&e in Object(t)}dp.exports=vM});var yp=_((hW,gp)=>{var mp=En(),EM="Expected a function";function Ha(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(EM);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=e.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(Ha.Cache||mp),r}Ha.Cache=mp;gp.exports=Ha});var Ep=_((fW,vp)=>{var bM=yp(),_M=500;function SM(e){var t=bM(e,function(n){return r.size===_M&&r.clear(),n}),r=t.cache;return t}vp.exports=SM});var _p=_((pW,bp)=>{var IM=Ep(),TM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xM=/\\(\\)?/g,AM=IM(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(TM,function(r,n,i,a){t.push(i?a.replace(xM,"$1"):n||r)}),t});bp.exports=AM});var Wa=_((dW,Sp)=>{function PM(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}Sp.exports=PM});var Cp=_((mW,Pp)=>{var Ip=Qt(),CM=Wa(),wM=Ae(),MM=Rr(),OM=1/0,Tp=Ip?Ip.prototype:void 0,xp=Tp?Tp.toString:void 0;function Ap(e){if(typeof e=="string")return e;if(wM(e))return CM(e,Ap)+"";if(MM(e))return xp?xp.call(e):"";var t=e+"";return t=="0"&&1/e==-OM?"-0":t}Pp.exports=Ap});var Mp=_((gW,wp)=>{var FM=Cp();function DM(e){return e==null?"":FM(e)}wp.exports=DM});var Lr=_((yW,Op)=>{var RM=Ae(),LM=Mn(),kM=_p(),NM=Mp();function qM(e,t){return RM(e)?e:LM(e,t)?[e]:kM(NM(e))}Op.exports=qM});var lr=_((vW,Fp)=>{var BM=Rr(),VM=1/0;function GM(e){if(typeof e=="string"||BM(e))return e;var t=e+"";return t=="0"&&1/e==-VM?"-0":t}Fp.exports=GM});var On=_((EW,Dp)=>{var zM=Lr(),HM=lr();function WM(e,t){t=zM(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[HM(t[r++])];return r&&r==n?e:void 0}Dp.exports=WM});var Fn=_((bW,Rp)=>{var UM=On();function jM(e,t,r){var n=e==null?void 0:UM(e,t);return n===void 0?r:n}Rp.exports=jM});var kp=_((_W,Lp)=>{function XM(e,t){return e!=null&&t in Object(e)}Lp.exports=XM});var qp=_((SW,Np)=>{var KM=Lr(),$M=wr(),YM=Ae(),QM=In(),ZM=Tn(),JM=lr();function eO(e,t,r){t=KM(t,e);for(var n=-1,i=t.length,a=!1;++n<i;){var s=JM(t[n]);if(!(a=e!=null&&r(e,s)))break;e=e[s]}return a||++n!=i?a:(i=e==null?0:e.length,!!i&&ZM(i)&&QM(s,i)&&(YM(e)||$M(e)))}Np.exports=eO});var Vp=_((IW,Bp)=>{var tO=kp(),rO=qp();function nO(e,t){return e!=null&&rO(e,t,tO)}Bp.exports=nO});var zp=_((TW,Gp)=>{var iO=Va(),aO=Fn(),sO=Vp(),oO=Mn(),lO=Ga(),uO=za(),cO=lr(),hO=1,fO=2;function pO(e,t){return oO(e)&&lO(t)?uO(cO(e),t):function(r){var n=aO(r,e);return n===void 0&&n===t?sO(r,e):iO(t,n,hO|fO)}}Gp.exports=pO});var Dn=_((xW,Hp)=>{function dO(e){return e}Hp.exports=dO});var Ua=_((AW,Wp)=>{function mO(e){return function(t){return t?.[e]}}Wp.exports=mO});var jp=_((PW,Up)=>{var gO=On();function yO(e){return function(t){return gO(t,e)}}Up.exports=yO});var Kp=_((CW,Xp)=>{var vO=Ua(),EO=jp(),bO=Mn(),_O=lr();function SO(e){return bO(e)?vO(_O(e)):EO(e)}Xp.exports=SO});var Et=_((wW,$p)=>{var IO=fp(),TO=zp(),xO=Dn(),AO=Ae(),PO=Kp();function CO(e){return typeof e=="function"?e:e==null?xO:typeof e=="object"?AO(e)?TO(e[0],e[1]):IO(e):PO(e)}$p.exports=CO});var ja=_((MW,Yp)=>{var wO=Et(),MO=Ot(),OO=Dr();function FO(e){return function(t,r,n){var i=Object(t);if(!MO(t)){var a=wO(r,3);t=OO(t),r=function(o){return a(i[o],o,i)}}var s=e(t,r,n);return s>-1?i[a?t[s]:s]:void 0}}Yp.exports=FO});var Xa=_((OW,Qp)=>{function DO(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}Qp.exports=DO});var Jp=_((FW,Zp)=>{var RO=/\s/;function LO(e){for(var t=e.length;t--&&RO.test(e.charAt(t)););return t}Zp.exports=LO});var td=_((DW,ed)=>{var kO=Jp(),NO=/^\s+/;function qO(e){return e&&e.slice(0,kO(e)+1).replace(NO,"")}ed.exports=qO});var Rn=_((RW,id)=>{var BO=td(),rd=Ze(),VO=Rr(),nd=0/0,GO=/^[-+]0x[0-9a-f]+$/i,zO=/^0b[01]+$/i,HO=/^0o[0-7]+$/i,WO=parseInt;function UO(e){if(typeof e=="number")return e;if(VO(e))return nd;if(rd(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=rd(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=BO(e);var r=zO.test(e);return r||HO.test(e)?WO(e.slice(2),r?2:8):GO.test(e)?nd:+e}id.exports=UO});var od=_((LW,sd)=>{var jO=Rn(),ad=1/0,XO=17976931348623157e292;function KO(e){if(!e)return e===0?e:0;if(e=jO(e),e===ad||e===-ad){var t=e<0?-1:1;return t*XO}return e===e?e:0}sd.exports=KO});var Ka=_((kW,ld)=>{var $O=od();function YO(e){var t=$O(e),r=t%1;return t===t?r?t-r:t:0}ld.exports=YO});var $a=_((NW,ud)=>{var QO=Xa(),ZO=Et(),JO=Ka(),e2=Math.max;function t2(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var i=r==null?0:JO(r);return i<0&&(i=e2(n+i,0)),QO(e,ZO(t,3),i)}ud.exports=t2});var Ya=_((qW,cd)=>{var r2=ja(),n2=$a(),i2=r2(n2);cd.exports=i2});var kn=_(Qa=>{"use strict";Object.defineProperty(Qa,"__esModule",{value:!0});function a2(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}a2(Qa,{ELEMENT_MATCHES:function(){return l2},FLEX_PREFIXED:function(){return u2},IS_BROWSER_ENV:function(){return fd},TRANSFORM_PREFIXED:function(){return pd},TRANSFORM_STYLE_PREFIXED:function(){return c2},withBrowser:function(){return Ln}});var s2=o2(Ya());function o2(e){return e&&e.__esModule?e:{default:e}}var fd=typeof window<"u",Ln=(e,t)=>fd?e():t,l2=Ln(()=>(0,s2.default)(["matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector"],e=>e in Element.prototype)),u2=Ln(()=>{let e=document.createElement("i"),t=["flex","-webkit-flex","-ms-flexbox","-moz-box","-webkit-box"],r="";try{let{length:n}=t;for(let i=0;i<n;i++){let a=t[i];if(e.style.display=a,e.style.display===a)return a}return r}catch{return r}},"flex"),pd=Ln(()=>{let e=document.createElement("i");if(e.style.transform==null){let t=["Webkit","Moz","ms"],r="Transform",{length:n}=t;for(let i=0;i<n;i++){let a=t[i]+r;if(e.style[a]!==void 0)return a}}return"transform"},"transform"),hd=pd.split("transform")[0],c2=hd?hd+"TransformStyle":"transformStyle"});var Za=_((VW,vd)=>{var h2=4,f2=.001,p2=1e-7,d2=10,kr=11,Nn=1/(kr-1),m2=typeof Float32Array=="function";function dd(e,t){return 1-3*t+3*e}function md(e,t){return 3*t-6*e}function gd(e){return 3*e}function qn(e,t,r){return((dd(t,r)*e+md(t,r))*e+gd(t))*e}function yd(e,t,r){return 3*dd(t,r)*e*e+2*md(t,r)*e+gd(t)}function g2(e,t,r,n,i){var a,s,o=0;do s=t+(r-t)/2,a=qn(s,n,i)-e,a>0?r=s:t=s;while(Math.abs(a)>p2&&++o<d2);return s}function y2(e,t,r,n){for(var i=0;i<h2;++i){var a=yd(t,r,n);if(a===0)return t;var s=qn(t,r,n)-e;t-=s/a}return t}vd.exports=function(t,r,n,i){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");var a=m2?new Float32Array(kr):new Array(kr);if(t!==r||n!==i)for(var s=0;s<kr;++s)a[s]=qn(s*Nn,t,n);function o(l){for(var p=0,c=1,h=kr-1;c!==h&&a[c]<=l;++c)p+=Nn;--c;var g=(l-a[c])/(a[c+1]-a[c]),d=p+g*Nn,f=yd(d,t,n);return f>=f2?y2(l,d,t,n):f===0?d:g2(l,p,p+Nn,t,n)}return function(p){return t===r&&n===i?p:p===0?0:p===1?1:qn(o(p),r,i)}}});var es=_(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});function v2(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}v2(Ja,{bounce:function(){return tF},bouncePast:function(){return rF},ease:function(){return b2},easeIn:function(){return _2},easeInOut:function(){return I2},easeOut:function(){return S2},inBack:function(){return j2},inCirc:function(){return z2},inCubic:function(){return P2},inElastic:function(){return $2},inExpo:function(){return B2},inOutBack:function(){return K2},inOutCirc:function(){return W2},inOutCubic:function(){return w2},inOutElastic:function(){return Q2},inOutExpo:function(){return G2},inOutQuad:function(){return A2},inOutQuart:function(){return F2},inOutQuint:function(){return L2},inOutSine:function(){return q2},inQuad:function(){return T2},inQuart:function(){return M2},inQuint:function(){return D2},inSine:function(){return k2},outBack:function(){return X2},outBounce:function(){return U2},outCirc:function(){return H2},outCubic:function(){return C2},outElastic:function(){return Y2},outExpo:function(){return V2},outQuad:function(){return x2},outQuart:function(){return O2},outQuint:function(){return R2},outSine:function(){return N2},swingFrom:function(){return J2},swingFromTo:function(){return Z2},swingTo:function(){return eF}});var Bn=E2(Za());function E2(e){return e&&e.__esModule?e:{default:e}}var ut=1.70158,b2=(0,Bn.default)(.25,.1,.25,1),_2=(0,Bn.default)(.42,0,1,1),S2=(0,Bn.default)(0,0,.58,1),I2=(0,Bn.default)(.42,0,.58,1);function T2(e){return Math.pow(e,2)}function x2(e){return-(Math.pow(e-1,2)-1)}function A2(e){return(e/=.5)<1?.5*Math.pow(e,2):-.5*((e-=2)*e-2)}function P2(e){return Math.pow(e,3)}function C2(e){return Math.pow(e-1,3)+1}function w2(e){return(e/=.5)<1?.5*Math.pow(e,3):.5*(Math.pow(e-2,3)+2)}function M2(e){return Math.pow(e,4)}function O2(e){return-(Math.pow(e-1,4)-1)}function F2(e){return(e/=.5)<1?.5*Math.pow(e,4):-.5*((e-=2)*Math.pow(e,3)-2)}function D2(e){return Math.pow(e,5)}function R2(e){return Math.pow(e-1,5)+1}function L2(e){return(e/=.5)<1?.5*Math.pow(e,5):.5*(Math.pow(e-2,5)+2)}function k2(e){return-Math.cos(e*(Math.PI/2))+1}function N2(e){return Math.sin(e*(Math.PI/2))}function q2(e){return-.5*(Math.cos(Math.PI*e)-1)}function B2(e){return e===0?0:Math.pow(2,10*(e-1))}function V2(e){return e===1?1:-Math.pow(2,-10*e)+1}function G2(e){return e===0?0:e===1?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(-Math.pow(2,-10*--e)+2)}function z2(e){return-(Math.sqrt(1-e*e)-1)}function H2(e){return Math.sqrt(1-Math.pow(e-1,2))}function W2(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}function U2(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function j2(e){let t=ut;return e*e*((t+1)*e-t)}function X2(e){let t=ut;return(e-=1)*e*((t+1)*e+t)+1}function K2(e){let t=ut;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)}function $2(e){let t=ut,r=0,n=1;return e===0?0:e===1?1:(r||(r=.3),n<1?(n=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/n),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))}function Y2(e){let t=ut,r=0,n=1;return e===0?0:e===1?1:(r||(r=.3),n<1?(n=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/n),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)}function Q2(e){let t=ut,r=0,n=1;return e===0?0:(e/=1/2)===2?1:(r||(r=.3*1.5),n<1?(n=1,t=r/4):t=r/(2*Math.PI)*Math.asin(1/n),e<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)}function Z2(e){let t=ut;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)}function J2(e){let t=ut;return e*e*((t+1)*e-t)}function eF(e){let t=ut;return(e-=1)*e*((t+1)*e+t)+1}function tF(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function rF(e){return e<1/2.75?7.5625*e*e:e<2/2.75?2-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?2-(7.5625*(e-=2.25/2.75)*e+.9375):2-(7.5625*(e-=2.625/2.75)*e+.984375)}});var ns=_(rs=>{"use strict";Object.defineProperty(rs,"__esModule",{value:!0});function nF(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}nF(rs,{applyEasing:function(){return lF},createBezierEasing:function(){return oF},optimizeFloat:function(){return ts}});var Ed=sF(es()),iF=aF(Za());function aF(e){return e&&e.__esModule?e:{default:e}}function bd(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(bd=function(n){return n?r:t})(e)}function sF(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=bd(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}function ts(e,t=5,r=10){let n=Math.pow(r,t),i=Number(Math.round(e*n)/n);return Math.abs(i)>1e-4?i:0}function oF(e){return(0,iF.default)(...e)}function lF(e,t,r){return t===0?0:t===1?1:ts(r?t>0?r(t):t:t>0&&e&&Ed[e]?Ed[e](t):t)}});var Td=_(as=>{"use strict";Object.defineProperty(as,"__esModule",{value:!0});function uF(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}uF(as,{createElementState:function(){return Id},ixElements:function(){return IF},mergeActionState:function(){return is}});var Vn=er(),Sd=Le(),{HTML_ELEMENT:HW,PLAIN_OBJECT:cF,ABSTRACT_NODE:WW,CONFIG_X_VALUE:hF,CONFIG_Y_VALUE:fF,CONFIG_Z_VALUE:pF,CONFIG_VALUE:dF,CONFIG_X_UNIT:mF,CONFIG_Y_UNIT:gF,CONFIG_Z_UNIT:yF,CONFIG_UNIT:vF}=Sd.IX2EngineConstants,{IX2_SESSION_STOPPED:EF,IX2_INSTANCE_ADDED:bF,IX2_ELEMENT_STATE_CHANGED:_F}=Sd.IX2EngineActionTypes,_d={},SF="refState",IF=(e=_d,t={})=>{switch(t.type){case EF:return _d;case bF:{let{elementId:r,element:n,origin:i,actionItem:a,refType:s}=t.payload,{actionTypeId:o}=a,l=e;return(0,Vn.getIn)(l,[r,n])!==n&&(l=Id(l,n,s,r,a)),is(l,r,o,i,a)}case _F:{let{elementId:r,actionTypeId:n,current:i,actionItem:a}=t.payload;return is(e,r,n,i,a)}default:return e}};function Id(e,t,r,n,i){let a=r===cF?(0,Vn.getIn)(i,["config","target","objectId"]):null;return(0,Vn.mergeIn)(e,[n],{id:n,ref:t,refId:a,refType:r})}function is(e,t,r,n,i){let a=xF(i),s=[t,SF,r];return(0,Vn.mergeIn)(e,s,n,a)}var TF=[[hF,mF],[fF,gF],[pF,yF],[dF,vF]];function xF(e){let{config:t}=e;return TF.reduce((r,n)=>{let i=n[0],a=n[1],s=t[i],o=t[a];return s!=null&&o!=null&&(r[a]=o),r},{})}});var xd=_(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});function AF(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}AF(ss,{clearPlugin:function(){return DF},createPluginInstance:function(){return OF},getPluginConfig:function(){return PF},getPluginDestination:function(){return MF},getPluginDuration:function(){return CF},getPluginOrigin:function(){return wF},renderPlugin:function(){return FF}});var PF=e=>e.value,CF=(e,t)=>{if(t.config.duration!=="auto")return null;let r=parseFloat(e.getAttribute("data-duration"));return r>0?r*1e3:parseFloat(e.getAttribute("data-default-duration"))*1e3},wF=e=>e||{value:0},MF=e=>({value:e.value}),OF=e=>{let t=window.Webflow.require("lottie").createInstance(e);return t.stop(),t.setSubframe(!0),t},FF=(e,t,r)=>{if(!e)return;let n=t[r.actionTypeId].value/100;e.goToFrame(e.frames*n)},DF=e=>{window.Webflow.require("lottie").createInstance(e).stop()}});var Pd=_(os=>{"use strict";Object.defineProperty(os,"__esModule",{value:!0});function RF(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}RF(os,{clearPlugin:function(){return WF},createPluginInstance:function(){return zF},getPluginConfig:function(){return qF},getPluginDestination:function(){return GF},getPluginDuration:function(){return BF},getPluginOrigin:function(){return VF},renderPlugin:function(){return HF}});var LF=e=>document.querySelector(`[data-w-id="${e}"]`),kF=()=>window.Webflow.require("spline"),NF=(e,t)=>e.filter(r=>!t.includes(r)),qF=(e,t)=>e.value[t],BF=()=>null,Ad=Object.freeze({positionX:0,positionY:0,positionZ:0,rotationX:0,rotationY:0,rotationZ:0,scaleX:1,scaleY:1,scaleZ:1}),VF=(e,t)=>{let r=t.config.value,n=Object.keys(r);if(e){let a=Object.keys(e),s=NF(n,a);return s.length?s.reduce((l,p)=>(l[p]=Ad[p],l),e):e}return n.reduce((a,s)=>(a[s]=Ad[s],a),{})},GF=e=>e.value,zF=(e,t)=>{let r=t?.config?.target?.pluginElement;return r?LF(r):null},HF=(e,t,r)=>{let n=kF(),i=n.getInstance(e),a=r.config.target.objectId,s=o=>{if(!o)throw new Error("Invalid spline app passed to renderSpline");let l=a&&o.findObjectById(a);if(!l)return;let{PLUGIN_SPLINE:p}=t;p.positionX!=null&&(l.position.x=p.positionX),p.positionY!=null&&(l.position.y=p.positionY),p.positionZ!=null&&(l.position.z=p.positionZ),p.rotationX!=null&&(l.rotation.x=p.rotationX),p.rotationY!=null&&(l.rotation.y=p.rotationY),p.rotationZ!=null&&(l.rotation.z=p.rotationZ),p.scaleX!=null&&(l.scale.x=p.scaleX),p.scaleY!=null&&(l.scale.y=p.scaleY),p.scaleZ!=null&&(l.scale.z=p.scaleZ)};i?s(i.spline):n.setLoadHandler(e,s)},WF=()=>null});var Cd=_(cs=>{"use strict";Object.defineProperty(cs,"__esModule",{value:!0});function UF(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}UF(cs,{clearPlugin:function(){return eD},createPluginInstance:function(){return ZF},getPluginConfig:function(){return KF},getPluginDestination:function(){return QF},getPluginDuration:function(){return $F},getPluginOrigin:function(){return YF},renderPlugin:function(){return JF}});var ls="--wf-rive-fit",us="--wf-rive-alignment",jF=e=>document.querySelector(`[data-w-id="${e}"]`),XF=()=>window.Webflow.require("rive"),KF=(e,t)=>e.value.inputs[t],$F=()=>null,YF=(e,t)=>{if(e)return e;let r={},{inputs:n={}}=t.config.value;for(let i in n)n[i]==null&&(r[i]=0);return r},QF=e=>e.value.inputs??{},ZF=(e,t)=>{if((t.config?.target?.selectorGuids||[]).length>0)return e;let n=t?.config?.target?.pluginElement;return n?jF(n):null},JF=(e,{PLUGIN_RIVE:t},r)=>{let n=XF(),i=n.getInstance(e),a=n.rive.StateMachineInputType,{name:s,inputs:o={}}=r.config.value||{};function l(p){if(p.loaded)c();else{let h=()=>{c(),p?.off("load",h)};p?.on("load",h)}function c(){let h=p.stateMachineInputs(s);if(h!=null){if(p.isPlaying||p.play(s,!1),ls in o||us in o){let g=p.layout,d=o[ls]??g.fit,f=o[us]??g.alignment;(d!==g.fit||f!==g.alignment)&&(p.layout=g.copyWith({fit:d,alignment:f}))}for(let g in o){if(g===ls||g===us)continue;let d=h.find(f=>f.name===g);if(d!=null)switch(d.type){case a.Boolean:{if(o[g]!=null){let f=!!o[g];d.value=f}break}case a.Number:{let f=t[g];f!=null&&(d.value=f);break}case a.Trigger:{o[g]&&d.fire();break}}}}}}i?.rive?l(i.rive):n.setLoadHandler(e,l)},eD=(e,t)=>null});var fs=_(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});Object.defineProperty(hs,"normalizeColor",{enumerable:!0,get:function(){return tD}});var wd={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgreen:"#006400",darkgrey:"#A9A9A9",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",green:"#008000",greenyellow:"#ADFF2F",grey:"#808080",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgreen:"#90EE90",lightgrey:"#D3D3D3",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function tD(e){let t,r,n,i=1,a=e.replace(/\s/g,"").toLowerCase(),o=(typeof wd[a]=="string"?wd[a].toLowerCase():null)||a;if(o.startsWith("#")){let l=o.substring(1);l.length===3||l.length===4?(t=parseInt(l[0]+l[0],16),r=parseInt(l[1]+l[1],16),n=parseInt(l[2]+l[2],16),l.length===4&&(i=parseInt(l[3]+l[3],16)/255)):(l.length===6||l.length===8)&&(t=parseInt(l.substring(0,2),16),r=parseInt(l.substring(2,4),16),n=parseInt(l.substring(4,6),16),l.length===8&&(i=parseInt(l.substring(6,8),16)/255))}else if(o.startsWith("rgba")){let l=o.match(/rgba\(([^)]+)\)/)[1].split(",");t=parseInt(l[0],10),r=parseInt(l[1],10),n=parseInt(l[2],10),i=parseFloat(l[3])}else if(o.startsWith("rgb")){let l=o.match(/rgb\(([^)]+)\)/)[1].split(",");t=parseInt(l[0],10),r=parseInt(l[1],10),n=parseInt(l[2],10)}else if(o.startsWith("hsla")){let l=o.match(/hsla\(([^)]+)\)/)[1].split(","),p=parseFloat(l[0]),c=parseFloat(l[1].replace("%",""))/100,h=parseFloat(l[2].replace("%",""))/100;i=parseFloat(l[3]);let g=(1-Math.abs(2*h-1))*c,d=g*(1-Math.abs(p/60%2-1)),f=h-g/2,m,u,y;p>=0&&p<60?(m=g,u=d,y=0):p>=60&&p<120?(m=d,u=g,y=0):p>=120&&p<180?(m=0,u=g,y=d):p>=180&&p<240?(m=0,u=d,y=g):p>=240&&p<300?(m=d,u=0,y=g):(m=g,u=0,y=d),t=Math.round((m+f)*255),r=Math.round((u+f)*255),n=Math.round((y+f)*255)}else if(o.startsWith("hsl")){let l=o.match(/hsl\(([^)]+)\)/)[1].split(","),p=parseFloat(l[0]),c=parseFloat(l[1].replace("%",""))/100,h=parseFloat(l[2].replace("%",""))/100,g=(1-Math.abs(2*h-1))*c,d=g*(1-Math.abs(p/60%2-1)),f=h-g/2,m,u,y;p>=0&&p<60?(m=g,u=d,y=0):p>=60&&p<120?(m=d,u=g,y=0):p>=120&&p<180?(m=0,u=g,y=d):p>=180&&p<240?(m=0,u=d,y=g):p>=240&&p<300?(m=d,u=0,y=g):(m=g,u=0,y=d),t=Math.round((m+f)*255),r=Math.round((u+f)*255),n=Math.round((y+f)*255)}if(Number.isNaN(t)||Number.isNaN(r)||Number.isNaN(n))throw new Error(`Invalid color in [ix2/shared/utils/normalizeColor.js] '${e}'`);return{red:t,green:r,blue:n,alpha:i}}});var Md=_(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});function rD(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}rD(ps,{clearPlugin:function(){return hD},createPluginInstance:function(){return lD},getPluginConfig:function(){return iD},getPluginDestination:function(){return oD},getPluginDuration:function(){return aD},getPluginOrigin:function(){return sD},renderPlugin:function(){return cD}});var nD=fs(),iD=(e,t)=>e.value[t],aD=()=>null,sD=(e,t)=>{if(e)return e;let r=t.config.value,n=t.config.target.objectId,i=getComputedStyle(document.documentElement).getPropertyValue(n);if(r.size!=null)return{size:parseInt(i,10)};if(r.unit==="%"||r.unit==="-")return{size:parseFloat(i)};if(r.red!=null&&r.green!=null&&r.blue!=null)return(0,nD.normalizeColor)(i)},oD=e=>e.value,lD=()=>null,uD={color:{match:({red:e,green:t,blue:r,alpha:n})=>[e,t,r,n].every(i=>i!=null),getValue:({red:e,green:t,blue:r,alpha:n})=>`rgba(${e}, ${t}, ${r}, ${n})`},size:{match:({size:e})=>e!=null,getValue:({size:e},t)=>{switch(t){case"-":return e;default:return`${e}${t}`}}}},cD=(e,t,r)=>{let{target:{objectId:n},value:{unit:i}}=r.config,a=t.PLUGIN_VARIABLE,s=Object.values(uD).find(o=>o.match(a,i));s&&document.documentElement.style.setProperty(n,s.getValue(a,i))},hD=(e,t)=>{let r=t.config.target.objectId;document.documentElement.style.removeProperty(r)}});var Fd=_(ds=>{"use strict";Object.defineProperty(ds,"__esModule",{value:!0});Object.defineProperty(ds,"pluginMethodMap",{enumerable:!0,get:function(){return gD}});var Gn=Le(),fD=zn(xd()),pD=zn(Pd()),dD=zn(Cd()),mD=zn(Md());function Od(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Od=function(n){return n?r:t})(e)}function zn(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Od(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var gD=new Map([[Gn.ActionTypeConsts.PLUGIN_LOTTIE,{...fD}],[Gn.ActionTypeConsts.PLUGIN_SPLINE,{...pD}],[Gn.ActionTypeConsts.PLUGIN_RIVE,{...dD}],[Gn.ActionTypeConsts.PLUGIN_VARIABLE,{...mD}]])});var gs=_(ms=>{"use strict";Object.defineProperty(ms,"__esModule",{value:!0});function yD(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}yD(ms,{clearPlugin:function(){return AD},createPluginInstance:function(){return TD},getPluginConfig:function(){return bD},getPluginDestination:function(){return ID},getPluginDuration:function(){return SD},getPluginOrigin:function(){return _D},isPluginType:function(){return ED},renderPlugin:function(){return xD}});var vD=kn(),Dd=Fd();function ED(e){return Dd.pluginMethodMap.has(e)}var Dt=e=>t=>{if(!vD.IS_BROWSER_ENV)return()=>null;let r=Dd.pluginMethodMap.get(t);if(!r)throw new Error(`IX2 no plugin configured for: ${t}`);let n=r[e];if(!n)throw new Error(`IX2 invalid plugin method: ${e}`);return n},bD=Dt("getPluginConfig"),_D=Dt("getPluginOrigin"),SD=Dt("getPluginDuration"),ID=Dt("getPluginDestination"),TD=Dt("createPluginInstance"),xD=Dt("renderPlugin"),AD=Dt("clearPlugin")});var Ld=_((JW,Rd)=>{function PD(e,t){return e==null||e!==e?t:e}Rd.exports=PD});var Nd=_((eU,kd)=>{function CD(e,t,r,n){var i=-1,a=e==null?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}kd.exports=CD});var Bd=_((tU,qd)=>{function wD(e){return function(t,r,n){for(var i=-1,a=Object(t),s=n(t),o=s.length;o--;){var l=s[e?o:++i];if(r(a[l],l,a)===!1)break}return t}}qd.exports=wD});var Gd=_((rU,Vd)=>{var MD=Bd(),OD=MD();Vd.exports=OD});var ys=_((nU,zd)=>{var FD=Gd(),DD=Dr();function RD(e,t){return e&&FD(e,t,DD)}zd.exports=RD});var Wd=_((iU,Hd)=>{var LD=Ot();function kD(e,t){return function(r,n){if(r==null)return r;if(!LD(r))return e(r,n);for(var i=r.length,a=t?i:-1,s=Object(r);(t?a--:++a<i)&&n(s[a],a,s)!==!1;);return r}}Hd.exports=kD});var vs=_((aU,Ud)=>{var ND=ys(),qD=Wd(),BD=qD(ND);Ud.exports=BD});var Xd=_((sU,jd)=>{function VD(e,t,r,n,i){return i(e,function(a,s,o){r=n?(n=!1,a):t(r,a,s,o)}),r}jd.exports=VD});var $d=_((oU,Kd)=>{var GD=Nd(),zD=vs(),HD=Et(),WD=Xd(),UD=Ae();function jD(e,t,r){var n=UD(e)?GD:WD,i=arguments.length<3;return n(e,HD(t,4),r,i,zD)}Kd.exports=jD});var Qd=_((lU,Yd)=>{var XD=Xa(),KD=Et(),$D=Ka(),YD=Math.max,QD=Math.min;function ZD(e,t,r){var n=e==null?0:e.length;if(!n)return-1;var i=n-1;return r!==void 0&&(i=$D(r),i=r<0?YD(n+i,0):QD(i,n-1)),XD(e,KD(t,3),i,!0)}Yd.exports=ZD});var Jd=_((uU,Zd)=>{var JD=ja(),eR=Qd(),tR=JD(eR);Zd.exports=tR});var tm=_(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Object.defineProperty(Es,"default",{enumerable:!0,get:function(){return nR}});function em(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function rR(e,t){if(em(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;i<r.length;i++)if(!Object.hasOwn(t,r[i])||!em(e[r[i]],t[r[i]]))return!1;return!0}var nR=rR});var bm=_(Cs=>{"use strict";Object.defineProperty(Cs,"__esModule",{value:!0});function iR(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}iR(Cs,{cleanupHTMLElement:function(){return nL},clearAllStyles:function(){return rL},clearObjectCache:function(){return IR},getActionListProgress:function(){return aL},getAffectedElements:function(){return As},getComputedStyle:function(){return OR},getDestinationValues:function(){return qR},getElementId:function(){return PR},getInstanceId:function(){return xR},getInstanceOrigin:function(){return RR},getItemConfigByKey:function(){return NR},getMaxDurationItemIndex:function(){return Em},getNamespacedParameterId:function(){return lL},getRenderType:function(){return gm},getStyleProp:function(){return BR},mediaQueriesEqual:function(){return cL},observeStore:function(){return MR},reduceListToGroup:function(){return sL},reifyState:function(){return CR},renderHTMLElement:function(){return VR},shallowEqual:function(){return um.default},shouldAllowMediaQuery:function(){return uL},shouldNamespaceEventParameter:function(){return oL},stringifyTarget:function(){return hL}});var bt=jn(Ld()),Ss=jn($d()),_s=jn(Jd()),rm=er(),Rt=Le(),um=jn(tm()),aR=ns(),sR=fs(),tt=gs(),Me=kn();function jn(e){return e&&e.__esModule?e:{default:e}}var{BACKGROUND:oR,TRANSFORM:lR,TRANSLATE_3D:uR,SCALE_3D:cR,ROTATE_X:hR,ROTATE_Y:fR,ROTATE_Z:pR,SKEW:dR,PRESERVE_3D:mR,FLEX:gR,OPACITY:Wn,FILTER:Nr,FONT_VARIATION_SETTINGS:qr,WIDTH:Je,HEIGHT:et,BACKGROUND_COLOR:cm,BORDER_COLOR:yR,COLOR:vR,CHILDREN:nm,IMMEDIATE_CHILDREN:ER,SIBLINGS:im,PARENT:bR,DISPLAY:Un,WILL_CHANGE:ur,AUTO:_t,COMMA_DELIMITER:Br,COLON_DELIMITER:_R,BAR_DELIMITER:bs,RENDER_TRANSFORM:hm,RENDER_GENERAL:Is,RENDER_STYLE:Ts,RENDER_PLUGIN:fm}=Rt.IX2EngineConstants,{TRANSFORM_MOVE:cr,TRANSFORM_SCALE:hr,TRANSFORM_ROTATE:fr,TRANSFORM_SKEW:Vr,STYLE_OPACITY:pm,STYLE_FILTER:Gr,STYLE_FONT_VARIATION:zr,STYLE_SIZE:pr,STYLE_BACKGROUND_COLOR:dr,STYLE_BORDER:mr,STYLE_TEXT_COLOR:gr,GENERAL_DISPLAY:Xn,OBJECT_VALUE:SR}=Rt.ActionTypeConsts,dm=e=>e.trim(),xs=Object.freeze({[dr]:cm,[mr]:yR,[gr]:vR}),mm=Object.freeze({[Me.TRANSFORM_PREFIXED]:lR,[cm]:oR,[Wn]:Wn,[Nr]:Nr,[Je]:Je,[et]:et,[qr]:qr}),Hn=new Map;function IR(){Hn.clear()}var TR=1;function xR(){return"i"+TR++}var AR=1;function PR(e,t){for(let r in e){let n=e[r];if(n&&n.ref===t)return n.id}return"e"+AR++}function CR({events:e,actionLists:t,site:r}={}){let n=(0,Ss.default)(e,(s,o)=>{let{eventTypeId:l}=o;return s[l]||(s[l]={}),s[l][o.id]=o,s},{}),i=r&&r.mediaQueries,a=[];return i?a=i.map(s=>s.key):(i=[],console.warn("IX2 missing mediaQueries in site data")),{ixData:{events:e,actionLists:t,eventTypeMap:n,mediaQueries:i,mediaQueryKeys:a}}}var wR=(e,t)=>e===t;function MR({store:e,select:t,onChange:r,comparator:n=wR}){let{getState:i,subscribe:a}=e,s=a(l),o=t(i());function l(){let p=t(i());if(p==null){s();return}n(p,o)||(o=p,r(o,e))}return s}function am(e){let t=typeof e;if(t==="string")return{id:e};if(e!=null&&t==="object"){let{id:r,objectId:n,selector:i,selectorGuids:a,appliesTo:s,useEventTarget:o}=e;return{id:r,objectId:n,selector:i,selectorGuids:a,appliesTo:s,useEventTarget:o}}return{}}function As({config:e,event:t,eventTarget:r,elementRoot:n,elementApi:i}){if(!i)throw new Error("IX2 missing elementApi");let{targets:a}=e;if(Array.isArray(a)&&a.length>0)return a.reduce((k,O)=>k.concat(As({config:{target:O},event:t,eventTarget:r,elementRoot:n,elementApi:i})),[]);let{getValidDocument:s,getQuerySelector:o,queryDocument:l,getChildElements:p,getSiblingElements:c,matchSelector:h,elementContains:g,isSiblingNode:d}=i,{target:f}=e;if(!f)return[];let{id:m,objectId:u,selector:y,selectorGuids:v,appliesTo:E,useEventTarget:b}=am(f);if(u)return[Hn.has(u)?Hn.get(u):Hn.set(u,{}).get(u)];if(E===Rt.EventAppliesTo.PAGE){let k=s(m);return k?[k]:[]}let T=(t?.action?.config?.affectedElements??{})[m||y]||{},I=!!(T.id||T.selector),x,D,w,C=t&&o(am(t.target));if(I?(x=T.limitAffectedElements,D=C,w=o(T)):D=w=o({id:m,selector:y,selectorGuids:v}),t&&b){let k=r&&(w||b===!0)?[r]:l(C);if(w){if(b===bR)return l(w).filter(O=>k.some(M=>g(O,M)));if(b===nm)return l(w).filter(O=>k.some(M=>g(M,O)));if(b===im)return l(w).filter(O=>k.some(M=>d(M,O)))}return k}return D==null||w==null?[]:Me.IS_BROWSER_ENV&&n?l(w).filter(k=>n.contains(k)):x===nm?l(D,w):x===ER?p(l(D)).filter(h(w)):x===im?c(l(D)).filter(h(w)):l(w)}function OR({element:e,actionItem:t}){if(!Me.IS_BROWSER_ENV)return{};let{actionTypeId:r}=t;switch(r){case pr:case dr:case mr:case gr:case Xn:return window.getComputedStyle(e);default:return{}}}var sm=/px/,FR=(e,t)=>t.reduce((r,n)=>(r[n.type]==null&&(r[n.type]=GR[n.type]),r),e||{}),DR=(e,t)=>t.reduce((r,n)=>(r[n.type]==null&&(r[n.type]=zR[n.type]||n.defaultValue||0),r),e||{});function RR(e,t={},r={},n,i){let{getStyle:a}=i,{actionTypeId:s}=n;if((0,tt.isPluginType)(s))return(0,tt.getPluginOrigin)(s)(t[s],n);switch(n.actionTypeId){case cr:case hr:case fr:case Vr:return t[n.actionTypeId]||Ps[n.actionTypeId];case Gr:return FR(t[n.actionTypeId],n.config.filters);case zr:return DR(t[n.actionTypeId],n.config.fontVariations);case pm:return{value:(0,bt.default)(parseFloat(a(e,Wn)),1)};case pr:{let o=a(e,Je),l=a(e,et),p,c;return n.config.widthUnit===_t?p=sm.test(o)?parseFloat(o):parseFloat(r.width):p=(0,bt.default)(parseFloat(o),parseFloat(r.width)),n.config.heightUnit===_t?c=sm.test(l)?parseFloat(l):parseFloat(r.height):c=(0,bt.default)(parseFloat(l),parseFloat(r.height)),{widthValue:p,heightValue:c}}case dr:case mr:case gr:return JR({element:e,actionTypeId:n.actionTypeId,computedStyle:r,getStyle:a});case Xn:return{value:(0,bt.default)(a(e,Un),r.display)};case SR:return t[n.actionTypeId]||{value:0};default:return}}var LR=(e,t)=>(t&&(e[t.type]=t.value||0),e),kR=(e,t)=>(t&&(e[t.type]=t.value||0),e),NR=(e,t,r)=>{if((0,tt.isPluginType)(e))return(0,tt.getPluginConfig)(e)(r,t);switch(e){case Gr:{let n=(0,_s.default)(r.filters,({type:i})=>i===t);return n?n.value:0}case zr:{let n=(0,_s.default)(r.fontVariations,({type:i})=>i===t);return n?n.value:0}default:return r[t]}};function qR({element:e,actionItem:t,elementApi:r}){if((0,tt.isPluginType)(t.actionTypeId))return(0,tt.getPluginDestination)(t.actionTypeId)(t.config);switch(t.actionTypeId){case cr:case hr:case fr:case Vr:{let{xValue:n,yValue:i,zValue:a}=t.config;return{xValue:n,yValue:i,zValue:a}}case pr:{let{getStyle:n,setStyle:i,getProperty:a}=r,{widthUnit:s,heightUnit:o}=t.config,{widthValue:l,heightValue:p}=t.config;if(!Me.IS_BROWSER_ENV)return{widthValue:l,heightValue:p};if(s===_t){let c=n(e,Je);i(e,Je,""),l=a(e,"offsetWidth"),i(e,Je,c)}if(o===_t){let c=n(e,et);i(e,et,""),p=a(e,"offsetHeight"),i(e,et,c)}return{widthValue:l,heightValue:p}}case dr:case mr:case gr:{let{rValue:n,gValue:i,bValue:a,aValue:s,globalSwatchId:o}=t.config;if(o&&o.startsWith("--")){let{getStyle:l}=r,p=l(e,o),c=(0,sR.normalizeColor)(p);return{rValue:c.red,gValue:c.green,bValue:c.blue,aValue:c.alpha}}return{rValue:n,gValue:i,bValue:a,aValue:s}}case Gr:return t.config.filters.reduce(LR,{});case zr:return t.config.fontVariations.reduce(kR,{});default:{let{value:n}=t.config;return{value:n}}}}function gm(e){if(/^TRANSFORM_/.test(e))return hm;if(/^STYLE_/.test(e))return Ts;if(/^GENERAL_/.test(e))return Is;if(/^PLUGIN_/.test(e))return fm}function BR(e,t){return e===Ts?t.replace("STYLE_","").toLowerCase():null}function VR(e,t,r,n,i,a,s,o,l){switch(o){case hm:return UR(e,t,r,i,s);case Ts:return eL(e,t,r,i,a,s);case Is:return tL(e,i,s);case fm:{let{actionTypeId:p}=i;if((0,tt.isPluginType)(p))return(0,tt.renderPlugin)(p)(l,t,i)}}}var Ps={[cr]:Object.freeze({xValue:0,yValue:0,zValue:0}),[hr]:Object.freeze({xValue:1,yValue:1,zValue:1}),[fr]:Object.freeze({xValue:0,yValue:0,zValue:0}),[Vr]:Object.freeze({xValue:0,yValue:0})},GR=Object.freeze({blur:0,"hue-rotate":0,invert:0,grayscale:0,saturate:100,sepia:0,contrast:100,brightness:100}),zR=Object.freeze({wght:0,opsz:0,wdth:0,slnt:0}),HR=(e,t)=>{let r=(0,_s.default)(t.filters,({type:n})=>n===e);if(r&&r.unit)return r.unit;switch(e){case"blur":return"px";case"hue-rotate":return"deg";default:return"%"}},WR=Object.keys(Ps);function UR(e,t,r,n,i){let a=WR.map(o=>{let l=Ps[o],{xValue:p=l.xValue,yValue:c=l.yValue,zValue:h=l.zValue,xUnit:g="",yUnit:d="",zUnit:f=""}=t[o]||{};switch(o){case cr:return`${uR}(${p}${g}, ${c}${d}, ${h}${f})`;case hr:return`${cR}(${p}${g}, ${c}${d}, ${h}${f})`;case fr:return`${hR}(${p}${g}) ${fR}(${c}${d}) ${pR}(${h}${f})`;case Vr:return`${dR}(${p}${g}, ${c}${d})`;default:return""}}).join(" "),{setStyle:s}=i;Lt(e,Me.TRANSFORM_PREFIXED,i),s(e,Me.TRANSFORM_PREFIXED,a),KR(n,r)&&s(e,Me.TRANSFORM_STYLE_PREFIXED,mR)}function jR(e,t,r,n){let i=(0,Ss.default)(t,(s,o,l)=>`${s} ${l}(${o}${HR(l,r)})`,""),{setStyle:a}=n;Lt(e,Nr,n),a(e,Nr,i)}function XR(e,t,r,n){let i=(0,Ss.default)(t,(s,o,l)=>(s.push(`"${l}" ${o}`),s),[]).join(", "),{setStyle:a}=n;Lt(e,qr,n),a(e,qr,i)}function KR({actionTypeId:e},{xValue:t,yValue:r,zValue:n}){return e===cr&&n!==void 0||e===hr&&n!==void 0||e===fr&&(t!==void 0||r!==void 0)}var $R="\\(([^)]+)\\)",YR=/^rgb/,QR=RegExp(`rgba?${$R}`);function ZR(e,t){let r=e.exec(t);return r?r[1]:""}function JR({element:e,actionTypeId:t,computedStyle:r,getStyle:n}){let i=xs[t],a=n(e,i),s=YR.test(a)?a:r[i],o=ZR(QR,s).split(Br);return{rValue:(0,bt.default)(parseInt(o[0],10),255),gValue:(0,bt.default)(parseInt(o[1],10),255),bValue:(0,bt.default)(parseInt(o[2],10),255),aValue:(0,bt.default)(parseFloat(o[3]),1)}}function eL(e,t,r,n,i,a){let{setStyle:s}=a;switch(n.actionTypeId){case pr:{let{widthUnit:o="",heightUnit:l=""}=n.config,{widthValue:p,heightValue:c}=r;p!==void 0&&(o===_t&&(o="px"),Lt(e,Je,a),s(e,Je,p+o)),c!==void 0&&(l===_t&&(l="px"),Lt(e,et,a),s(e,et,c+l));break}case Gr:{jR(e,r,n.config,a);break}case zr:{XR(e,r,n.config,a);break}case dr:case mr:case gr:{let o=xs[n.actionTypeId],l=Math.round(r.rValue),p=Math.round(r.gValue),c=Math.round(r.bValue),h=r.aValue;Lt(e,o,a),s(e,o,h>=1?`rgb(${l},${p},${c})`:`rgba(${l},${p},${c},${h})`);break}default:{let{unit:o=""}=n.config;Lt(e,i,a),s(e,i,r.value+o);break}}}function tL(e,t,r){let{setStyle:n}=r;switch(t.actionTypeId){case Xn:{let{value:i}=t.config;i===gR&&Me.IS_BROWSER_ENV?n(e,Un,Me.FLEX_PREFIXED):n(e,Un,i);return}}}function Lt(e,t,r){if(!Me.IS_BROWSER_ENV)return;let n=mm[t];if(!n)return;let{getStyle:i,setStyle:a}=r,s=i(e,ur);if(!s){a(e,ur,n);return}let o=s.split(Br).map(dm);o.indexOf(n)===-1&&a(e,ur,o.concat(n).join(Br))}function ym(e,t,r){if(!Me.IS_BROWSER_ENV)return;let n=mm[t];if(!n)return;let{getStyle:i,setStyle:a}=r,s=i(e,ur);!s||s.indexOf(n)===-1||a(e,ur,s.split(Br).map(dm).filter(o=>o!==n).join(Br))}function rL({store:e,elementApi:t}){let{ixData:r}=e.getState(),{events:n={},actionLists:i={}}=r;Object.keys(n).forEach(a=>{let s=n[a],{config:o}=s.action,{actionListId:l}=o,p=i[l];p&&om({actionList:p,event:s,elementApi:t})}),Object.keys(i).forEach(a=>{om({actionList:i[a],elementApi:t})})}function om({actionList:e={},event:t,elementApi:r}){let{actionItemGroups:n,continuousParameterGroups:i}=e;n&&n.forEach(a=>{lm({actionGroup:a,event:t,elementApi:r})}),i&&i.forEach(a=>{let{continuousActionGroups:s}=a;s.forEach(o=>{lm({actionGroup:o,event:t,elementApi:r})})})}function lm({actionGroup:e,event:t,elementApi:r}){let{actionItems:n}=e;n.forEach(i=>{let{actionTypeId:a,config:s}=i,o;(0,tt.isPluginType)(a)?o=l=>(0,tt.clearPlugin)(a)(l,i):o=vm({effect:iL,actionTypeId:a,elementApi:r}),As({config:s,event:t,elementApi:r}).forEach(o)})}function nL(e,t,r){let{setStyle:n,getStyle:i}=r,{actionTypeId:a}=t;if(a===pr){let{config:s}=t;s.widthUnit===_t&&n(e,Je,""),s.heightUnit===_t&&n(e,et,"")}i(e,ur)&&vm({effect:ym,actionTypeId:a,elementApi:r})(e)}var vm=({effect:e,actionTypeId:t,elementApi:r})=>n=>{switch(t){case cr:case hr:case fr:case Vr:e(n,Me.TRANSFORM_PREFIXED,r);break;case Gr:e(n,Nr,r);break;case zr:e(n,qr,r);break;case pm:e(n,Wn,r);break;case pr:e(n,Je,r),e(n,et,r);break;case dr:case mr:case gr:e(n,xs[t],r);break;case Xn:e(n,Un,r);break}};function iL(e,t,r){let{setStyle:n}=r;ym(e,t,r),n(e,t,""),t===Me.TRANSFORM_PREFIXED&&n(e,Me.TRANSFORM_STYLE_PREFIXED,"")}function Em(e){let t=0,r=0;return e.forEach((n,i)=>{let{config:a}=n,s=a.delay+a.duration;s>=t&&(t=s,r=i)}),r}function aL(e,t){let{actionItemGroups:r,useFirstGroupAsInitialState:n}=e,{actionItem:i,verboseTimeElapsed:a=0}=t,s=0,o=0;return r.forEach((l,p)=>{if(n&&p===0)return;let{actionItems:c}=l,h=c[Em(c)],{config:g,actionTypeId:d}=h;i.id===h.id&&(o=s+a);let f=gm(d)===Is?0:g.duration;s+=g.delay+f}),s>0?(0,aR.optimizeFloat)(o/s):0}function sL({actionList:e,actionItemId:t,rawData:r}){let{actionItemGroups:n,continuousParameterGroups:i}=e,a=[],s=o=>(a.push((0,rm.mergeIn)(o,["config"],{delay:0,duration:0})),o.id===t);return n&&n.some(({actionItems:o})=>o.some(s)),i&&i.some(o=>{let{continuousActionGroups:l}=o;return l.some(({actionItems:p})=>p.some(s))}),(0,rm.setIn)(r,["actionLists"],{[e.id]:{id:e.id,actionItemGroups:[{actionItems:a}]}})}function oL(e,{basedOn:t}){return e===Rt.EventTypeConsts.SCROLLING_IN_VIEW&&(t===Rt.EventBasedOn.ELEMENT||t==null)||e===Rt.EventTypeConsts.MOUSE_MOVE&&t===Rt.EventBasedOn.ELEMENT}function lL(e,t){return e+_R+t}function uL(e,t){return t==null?!0:e.indexOf(t)!==-1}function cL(e,t){return(0,um.default)(e&&e.sort(),t&&t.sort())}function hL(e){if(typeof e=="string")return e;if(e.pluginElement&&e.objectId)return e.pluginElement+bs+e.objectId;if(e.objectId)return e.objectId;let{id:t="",selector:r="",useEventTarget:n=""}=e;return t+bs+r+bs+n}});var kt=_(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});function fL(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}fL(ws,{IX2BrowserSupport:function(){return pL},IX2EasingUtils:function(){return mL},IX2Easings:function(){return dL},IX2ElementsReducer:function(){return gL},IX2VanillaPlugins:function(){return yL},IX2VanillaUtils:function(){return vL}});var pL=yr(kn()),dL=yr(es()),mL=yr(ns()),gL=yr(Td()),yL=yr(gs()),vL=yr(bm());function _m(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(_m=function(n){return n?r:t})(e)}function yr(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=_m(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}});var xm=_(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Object.defineProperty(Os,"ixInstances",{enumerable:!0,get:function(){return OL}});var Sm=Le(),Im=kt(),vr=er(),{IX2_RAW_DATA_IMPORTED:EL,IX2_SESSION_STOPPED:bL,IX2_INSTANCE_ADDED:_L,IX2_INSTANCE_STARTED:SL,IX2_INSTANCE_REMOVED:IL,IX2_ANIMATION_FRAME_CHANGED:TL}=Sm.IX2EngineActionTypes,{optimizeFloat:Kn,applyEasing:Tm,createBezierEasing:xL}=Im.IX2EasingUtils,{RENDER_GENERAL:AL}=Sm.IX2EngineConstants,{getItemConfigByKey:Ms,getRenderType:PL,getStyleProp:CL}=Im.IX2VanillaUtils,wL=(e,t)=>{let{position:r,parameterId:n,actionGroups:i,destinationKeys:a,smoothing:s,restingValue:o,actionTypeId:l,customEasingFn:p,skipMotion:c,skipToValue:h}=e,{parameters:g}=t.payload,d=Math.max(1-s,.01),f=g[n];f==null&&(d=1,f=o);let m=Math.max(f,0)||0,u=Kn(m-r),y=c?h:Kn(r+u*d),v=y*100;if(y===r&&e.current)return e;let E,b,S,T;for(let x=0,{length:D}=i;x<D;x++){let{keyframe:w,actionItems:C}=i[x];if(x===0&&(E=C[0]),v>=w){E=C[0];let k=i[x+1],O=k&&v!==w;b=O?k.actionItems[0]:null,O&&(S=w/100,T=(k.keyframe-w)/100)}}let I={};if(E&&!b)for(let x=0,{length:D}=a;x<D;x++){let w=a[x];I[w]=Ms(l,w,E.config)}else if(E&&b&&S!==void 0&&T!==void 0){let x=(y-S)/T,D=E.config.easing,w=Tm(D,x,p);for(let C=0,{length:k}=a;C<k;C++){let O=a[C],M=Ms(l,O,E.config),X=(Ms(l,O,b.config)-M)*w+M;I[O]=X}}return(0,vr.merge)(e,{position:y,current:I})},ML=(e,t)=>{let{active:r,origin:n,start:i,immediate:a,renderType:s,verbose:o,actionItem:l,destination:p,destinationKeys:c,pluginDuration:h,instanceDelay:g,customEasingFn:d,skipMotion:f}=e,m=l.config.easing,{duration:u,delay:y}=l.config;h!=null&&(u=h),y=g??y,s===AL?u=0:(a||f)&&(u=y=0);let{now:v}=t.payload;if(r&&n){let E=v-(i+y);if(o){let x=v-i,D=u+y,w=Kn(Math.min(Math.max(0,x/D),1));e=(0,vr.set)(e,"verboseTimeElapsed",D*w)}if(E<0)return e;let b=Kn(Math.min(Math.max(0,E/u),1)),S=Tm(m,b,d),T={},I=null;return c.length&&(I=c.reduce((x,D)=>{let w=p[D],C=parseFloat(n[D])||0,O=(parseFloat(w)-C)*S+C;return x[D]=O,x},{})),T.current=I,T.position=b,b===1&&(T.active=!1,T.complete=!0),(0,vr.merge)(e,T)}return e},OL=(e=Object.freeze({}),t)=>{switch(t.type){case EL:return t.payload.ixInstances||Object.freeze({});case bL:return Object.freeze({});case _L:{let{instanceId:r,elementId:n,actionItem:i,eventId:a,eventTarget:s,eventStateKey:o,actionListId:l,groupIndex:p,isCarrier:c,origin:h,destination:g,immediate:d,verbose:f,continuous:m,parameterId:u,actionGroups:y,smoothing:v,restingValue:E,pluginInstance:b,pluginDuration:S,instanceDelay:T,skipMotion:I,skipToValue:x}=t.payload,{actionTypeId:D}=i,w=PL(D),C=CL(w,D),k=Object.keys(g).filter(M=>g[M]!=null&&typeof g[M]!="string"),{easing:O}=i.config;return(0,vr.set)(e,r,{id:r,elementId:n,active:!1,position:0,start:0,origin:h,destination:g,destinationKeys:k,immediate:d,verbose:f,current:null,actionItem:i,actionTypeId:D,eventId:a,eventTarget:s,eventStateKey:o,actionListId:l,groupIndex:p,renderType:w,isCarrier:c,styleProp:C,continuous:m,parameterId:u,actionGroups:y,smoothing:v,restingValue:E,pluginInstance:b,pluginDuration:S,instanceDelay:T,skipMotion:I,skipToValue:x,customEasingFn:Array.isArray(O)&&O.length===4?xL(O):void 0})}case SL:{let{instanceId:r,time:n}=t.payload;return(0,vr.mergeIn)(e,[r],{active:!0,complete:!1,start:n})}case IL:{let{instanceId:r}=t.payload;if(!e[r])return e;let n={},i=Object.keys(e),{length:a}=i;for(let s=0;s<a;s++){let o=i[s];o!==r&&(n[o]=e[o])}return n}case TL:{let r=e,n=Object.keys(e),{length:i}=n;for(let a=0;a<i;a++){let s=n[a],o=e[s],l=o.continuous?wL:ML;r=(0,vr.set)(r,s,l(o,t))}return r}default:return e}}});var Am=_(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Object.defineProperty(Fs,"ixParameters",{enumerable:!0,get:function(){return kL}});var FL=Le(),{IX2_RAW_DATA_IMPORTED:DL,IX2_SESSION_STOPPED:RL,IX2_PARAMETER_CHANGED:LL}=FL.IX2EngineActionTypes,kL=(e={},t)=>{switch(t.type){case DL:return t.payload.ixParameters||{};case RL:return{};case LL:{let{key:r,value:n}=t.payload;return e[r]=n,e}default:return e}}});var Pm=_(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Object.defineProperty(Ds,"default",{enumerable:!0,get:function(){return UL}});var NL=ca(),qL=Gu(),BL=sc(),VL=lc(),GL=kt(),zL=xm(),HL=Am(),{ixElements:WL}=GL.IX2ElementsReducer,UL=(0,NL.combineReducers)({ixData:qL.ixData,ixRequest:BL.ixRequest,ixSession:VL.ixSession,ixElements:WL,ixInstances:zL.ixInstances,ixParameters:HL.ixParameters})});var wm=_((gU,Cm)=>{var jL=yt(),XL=Ae(),KL=lt(),$L="[object String]";function YL(e){return typeof e=="string"||!XL(e)&&KL(e)&&jL(e)==$L}Cm.exports=YL});var Om=_((yU,Mm)=>{var QL=Ua(),ZL=QL("length");Mm.exports=ZL});var Dm=_((vU,Fm)=>{var JL="\\ud800-\\udfff",ek="\\u0300-\\u036f",tk="\\ufe20-\\ufe2f",rk="\\u20d0-\\u20ff",nk=ek+tk+rk,ik="\\ufe0e\\ufe0f",ak="\\u200d",sk=RegExp("["+ak+JL+nk+ik+"]");function ok(e){return sk.test(e)}Fm.exports=ok});var zm=_((EU,Gm)=>{var Lm="\\ud800-\\udfff",lk="\\u0300-\\u036f",uk="\\ufe20-\\ufe2f",ck="\\u20d0-\\u20ff",hk=lk+uk+ck,fk="\\ufe0e\\ufe0f",pk="["+Lm+"]",Rs="["+hk+"]",Ls="\\ud83c[\\udffb-\\udfff]",dk="(?:"+Rs+"|"+Ls+")",km="[^"+Lm+"]",Nm="(?:\\ud83c[\\udde6-\\uddff]){2}",qm="[\\ud800-\\udbff][\\udc00-\\udfff]",mk="\\u200d",Bm=dk+"?",Vm="["+fk+"]?",gk="(?:"+mk+"(?:"+[km,Nm,qm].join("|")+")"+Vm+Bm+")*",yk=Vm+Bm+gk,vk="(?:"+[km+Rs+"?",Rs,Nm,qm,pk].join("|")+")",Rm=RegExp(Ls+"(?="+Ls+")|"+vk+yk,"g");function Ek(e){for(var t=Rm.lastIndex=0;Rm.test(e);)++t;return t}Gm.exports=Ek});var Wm=_((bU,Hm)=>{var bk=Om(),_k=Dm(),Sk=zm();function Ik(e){return _k(e)?Sk(e):bk(e)}Hm.exports=Ik});var jm=_((_U,Um)=>{var Tk=Pn(),xk=Cn(),Ak=Ot(),Pk=wm(),Ck=Wm(),wk="[object Map]",Mk="[object Set]";function Ok(e){if(e==null)return 0;if(Ak(e))return Pk(e)?Ck(e):e.length;var t=xk(e);return t==wk||t==Mk?e.size:Tk(e).length}Um.exports=Ok});var Km=_((SU,Xm)=>{var Fk="Expected a function";function Dk(e){if(typeof e!="function")throw new TypeError(Fk);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Xm.exports=Dk});var ks=_((IU,$m)=>{var Rk=vt(),Lk=function(){try{var e=Rk(Object,"defineProperty");return e({},"",{}),e}catch{}}();$m.exports=Lk});var Ns=_((TU,Qm)=>{var Ym=ks();function kk(e,t,r){t=="__proto__"&&Ym?Ym(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}Qm.exports=kk});var Jm=_((xU,Zm)=>{var Nk=Ns(),qk=yn(),Bk=Object.prototype,Vk=Bk.hasOwnProperty;function Gk(e,t,r){var n=e[t];(!(Vk.call(e,t)&&qk(n,r))||r===void 0&&!(t in e))&&Nk(e,t,r)}Zm.exports=Gk});var rg=_((AU,tg)=>{var zk=Jm(),Hk=Lr(),Wk=In(),eg=Ze(),Uk=lr();function jk(e,t,r,n){if(!eg(e))return e;t=Hk(t,e);for(var i=-1,a=t.length,s=a-1,o=e;o!=null&&++i<a;){var l=Uk(t[i]),p=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=s){var c=o[l];p=n?n(c,l,o):void 0,p===void 0&&(p=eg(c)?c:Wk(t[i+1])?[]:{})}zk(o,l,p),o=o[l]}return e}tg.exports=jk});var ig=_((PU,ng)=>{var Xk=On(),Kk=rg(),$k=Lr();function Yk(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var s=t[n],o=Xk(e,s);r(o,s)&&Kk(a,$k(s,e),o)}return a}ng.exports=Yk});var sg=_((CU,ag)=>{var Qk=_n(),Zk=Qi(),Jk=Ma(),eN=wa(),tN=Object.getOwnPropertySymbols,rN=tN?function(e){for(var t=[];e;)Qk(t,Jk(e)),e=Zk(e);return t}:eN;ag.exports=rN});var lg=_((wU,og)=>{function nN(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}og.exports=nN});var cg=_((MU,ug)=>{var iN=Ze(),aN=An(),sN=lg(),oN=Object.prototype,lN=oN.hasOwnProperty;function uN(e){if(!iN(e))return sN(e);var t=aN(e),r=[];for(var n in e)n=="constructor"&&(t||!lN.call(e,n))||r.push(n);return r}ug.exports=uN});var fg=_((OU,hg)=>{var cN=Fa(),hN=cg(),fN=Ot();function pN(e){return fN(e)?cN(e,!0):hN(e)}hg.exports=pN});var dg=_((FU,pg)=>{var dN=Ca(),mN=sg(),gN=fg();function yN(e){return dN(e,gN,mN)}pg.exports=yN});var gg=_((DU,mg)=>{var vN=Wa(),EN=Et(),bN=ig(),_N=dg();function SN(e,t){if(e==null)return{};var r=vN(_N(e),function(n){return[n]});return t=EN(t),bN(e,r,function(n,i){return t(n,i[0])})}mg.exports=SN});var vg=_((RU,yg)=>{var IN=Et(),TN=Km(),xN=gg();function AN(e,t){return xN(e,TN(IN(t)))}yg.exports=AN});var bg=_((LU,Eg)=>{var PN=Pn(),CN=Cn(),wN=wr(),MN=Ae(),ON=Ot(),FN=Sn(),DN=An(),RN=xn(),LN="[object Map]",kN="[object Set]",NN=Object.prototype,qN=NN.hasOwnProperty;function BN(e){if(e==null)return!0;if(ON(e)&&(MN(e)||typeof e=="string"||typeof e.splice=="function"||FN(e)||RN(e)||wN(e)))return!e.length;var t=CN(e);if(t==LN||t==kN)return!e.size;if(DN(e))return!PN(e).length;for(var r in e)if(qN.call(e,r))return!1;return!0}Eg.exports=BN});var Sg=_((kU,_g)=>{var VN=Ns(),GN=ys(),zN=Et();function HN(e,t){var r={};return t=zN(t,3),GN(e,function(n,i,a){VN(r,i,t(n,i,a))}),r}_g.exports=HN});var Tg=_((NU,Ig)=>{function WN(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}Ig.exports=WN});var Ag=_((qU,xg)=>{var UN=Dn();function jN(e){return typeof e=="function"?e:UN}xg.exports=jN});var Cg=_((BU,Pg)=>{var XN=Tg(),KN=vs(),$N=Ag(),YN=Ae();function QN(e,t){var r=YN(e)?XN:KN;return r(e,$N(t))}Pg.exports=QN});var Mg=_((VU,wg)=>{var ZN=je(),JN=function(){return ZN.Date.now()};wg.exports=JN});var Dg=_((GU,Fg)=>{var eq=Ze(),qs=Mg(),Og=Rn(),tq="Expected a function",rq=Math.max,nq=Math.min;function iq(e,t,r){var n,i,a,s,o,l,p=0,c=!1,h=!1,g=!0;if(typeof e!="function")throw new TypeError(tq);t=Og(t)||0,eq(r)&&(c=!!r.leading,h="maxWait"in r,a=h?rq(Og(r.maxWait)||0,t):a,g="trailing"in r?!!r.trailing:g);function d(T){var I=n,x=i;return n=i=void 0,p=T,s=e.apply(x,I),s}function f(T){return p=T,o=setTimeout(y,t),c?d(T):s}function m(T){var I=T-l,x=T-p,D=t-I;return h?nq(D,a-x):D}function u(T){var I=T-l,x=T-p;return l===void 0||I>=t||I<0||h&&x>=a}function y(){var T=qs();if(u(T))return v(T);o=setTimeout(y,m(T))}function v(T){return o=void 0,g&&n?d(T):(n=i=void 0,s)}function E(){o!==void 0&&clearTimeout(o),p=0,n=l=i=o=void 0}function b(){return o===void 0?s:v(qs())}function S(){var T=qs(),I=u(T);if(n=arguments,i=this,l=T,I){if(o===void 0)return f(l);if(h)return clearTimeout(o),o=setTimeout(y,t),d(l)}return o===void 0&&(o=setTimeout(y,t)),s}return S.cancel=E,S.flush=b,S}Fg.exports=iq});var Lg=_((zU,Rg)=>{var aq=Dg(),sq=Ze(),oq="Expected a function";function lq(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(oq);return sq(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),aq(e,t,{leading:n,maxWait:t,trailing:i})}Rg.exports=lq});var $n=_(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});function uq(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}uq(Bs,{actionListPlaybackChanged:function(){return $q},animationFrameChanged:function(){return Hq},clearRequested:function(){return Bq},elementStateChanged:function(){return Kq},eventListenerAdded:function(){return Vq},eventStateChanged:function(){return zq},instanceAdded:function(){return Uq},instanceRemoved:function(){return Xq},instanceStarted:function(){return jq},mediaQueriesDefined:function(){return Qq},parameterChanged:function(){return Wq},playbackRequested:function(){return Nq},previewRequested:function(){return kq},rawDataImported:function(){return Fq},sessionInitialized:function(){return Dq},sessionStarted:function(){return Rq},sessionStopped:function(){return Lq},stopRequested:function(){return qq},testFrameRendered:function(){return Gq},viewportWidthChanged:function(){return Yq}});var kg=Le(),cq=kt(),{IX2_RAW_DATA_IMPORTED:hq,IX2_SESSION_INITIALIZED:fq,IX2_SESSION_STARTED:pq,IX2_SESSION_STOPPED:dq,IX2_PREVIEW_REQUESTED:mq,IX2_PLAYBACK_REQUESTED:gq,IX2_STOP_REQUESTED:yq,IX2_CLEAR_REQUESTED:vq,IX2_EVENT_LISTENER_ADDED:Eq,IX2_TEST_FRAME_RENDERED:bq,IX2_EVENT_STATE_CHANGED:_q,IX2_ANIMATION_FRAME_CHANGED:Sq,IX2_PARAMETER_CHANGED:Iq,IX2_INSTANCE_ADDED:Tq,IX2_INSTANCE_STARTED:xq,IX2_INSTANCE_REMOVED:Aq,IX2_ELEMENT_STATE_CHANGED:Pq,IX2_ACTION_LIST_PLAYBACK_CHANGED:Cq,IX2_VIEWPORT_WIDTH_CHANGED:wq,IX2_MEDIA_QUERIES_DEFINED:Mq}=kg.IX2EngineActionTypes,{reifyState:Oq}=cq.IX2VanillaUtils,Fq=e=>({type:hq,payload:{...Oq(e)}}),Dq=({hasBoundaryNodes:e,reducedMotion:t})=>({type:fq,payload:{hasBoundaryNodes:e,reducedMotion:t}}),Rq=()=>({type:pq}),Lq=()=>({type:dq}),kq=({rawData:e,defer:t})=>({type:mq,payload:{defer:t,rawData:e}}),Nq=({actionTypeId:e=kg.ActionTypeConsts.GENERAL_START_ACTION,actionListId:t,actionItemId:r,eventId:n,allowEvents:i,immediate:a,testManual:s,verbose:o,rawData:l})=>({type:gq,payload:{actionTypeId:e,actionListId:t,actionItemId:r,testManual:s,eventId:n,allowEvents:i,immediate:a,verbose:o,rawData:l}}),qq=e=>({type:yq,payload:{actionListId:e}}),Bq=()=>({type:vq}),Vq=(e,t)=>({type:Eq,payload:{target:e,listenerParams:t}}),Gq=(e=1)=>({type:bq,payload:{step:e}}),zq=(e,t)=>({type:_q,payload:{stateKey:e,newState:t}}),Hq=(e,t)=>({type:Sq,payload:{now:e,parameters:t}}),Wq=(e,t)=>({type:Iq,payload:{key:e,value:t}}),Uq=e=>({type:Tq,payload:{...e}}),jq=(e,t)=>({type:xq,payload:{instanceId:e,time:t}}),Xq=e=>({type:Aq,payload:{instanceId:e}}),Kq=(e,t,r,n)=>({type:Pq,payload:{elementId:e,actionTypeId:t,current:r,actionItem:n}}),$q=({actionListId:e,isPlaying:t})=>({type:Cq,payload:{actionListId:e,isPlaying:t}}),Yq=({width:e,mediaQueries:t})=>({type:wq,payload:{width:e,mediaQueries:t}}),Qq=()=>({type:Mq})});var Bg=_(Gs=>{"use strict";Object.defineProperty(Gs,"__esModule",{value:!0});function Zq(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}Zq(Gs,{elementContains:function(){return c3},getChildElements:function(){return f3},getClosestElement:function(){return d3},getProperty:function(){return a3},getQuerySelector:function(){return o3},getRefType:function(){return m3},getSiblingElements:function(){return p3},getStyle:function(){return i3},getValidDocument:function(){return l3},isSiblingNode:function(){return h3},matchSelector:function(){return s3},queryDocument:function(){return u3},setStyle:function(){return n3}});var Jq=kt(),e3=Le(),{ELEMENT_MATCHES:Vs}=Jq.IX2BrowserSupport,{IX2_ID_DELIMITER:Ng,HTML_ELEMENT:t3,PLAIN_OBJECT:r3,WF_PAGE:qg}=e3.IX2EngineConstants;function n3(e,t,r){e.style[t]=r}function i3(e,t){if(t.startsWith("--"))return window.getComputedStyle(document.documentElement).getPropertyValue(t);if(e.style instanceof CSSStyleDeclaration)return e.style[t]}function a3(e,t){return e[t]}function s3(e){return t=>t[Vs](e)}function o3({id:e,selector:t}){if(e){let r=e;if(e.indexOf(Ng)!==-1){let n=e.split(Ng),i=n[0];if(r=n[1],i!==document.documentElement.getAttribute(qg))return null}return`[data-w-id="${r}"], [data-w-id^="${r}_instance"]`}return t}function l3(e){return e==null||e===document.documentElement.getAttribute(qg)?document:null}function u3(e,t){return Array.prototype.slice.call(document.querySelectorAll(t?e+" "+t:e))}function c3(e,t){return e.contains(t)}function h3(e,t){return e!==t&&e.parentNode===t.parentNode}function f3(e){let t=[];for(let r=0,{length:n}=e||[];r<n;r++){let{children:i}=e[r],{length:a}=i;if(a)for(let s=0;s<a;s++)t.push(i[s])}return t}function p3(e=[]){let t=[],r=[];for(let n=0,{length:i}=e;n<i;n++){let{parentNode:a}=e[n];if(!a||!a.children||!a.children.length||r.indexOf(a)!==-1)continue;r.push(a);let s=a.firstElementChild;for(;s!=null;)e.indexOf(s)===-1&&t.push(s),s=s.nextElementSibling}return t}var d3=Element.prototype.closest?(e,t)=>document.documentElement.contains(e)?e.closest(t):null:(e,t)=>{if(!document.documentElement.contains(e))return null;let r=e;do{if(r[Vs]&&r[Vs](t))return r;r=r.parentNode}while(r!=null);return null};function m3(e){return e!=null&&typeof e=="object"?e instanceof Element?t3:r3:null}});var zs=_((UU,Gg)=>{var g3=Ze(),Vg=Object.create,y3=function(){function e(){}return function(t){if(!g3(t))return{};if(Vg)return Vg(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();Gg.exports=y3});var Yn=_((jU,zg)=>{function v3(){}zg.exports=v3});var Zn=_((XU,Hg)=>{var E3=zs(),b3=Yn();function Qn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}Qn.prototype=E3(b3.prototype);Qn.prototype.constructor=Qn;Hg.exports=Qn});var Xg=_((KU,jg)=>{var Wg=Qt(),_3=wr(),S3=Ae(),Ug=Wg?Wg.isConcatSpreadable:void 0;function I3(e){return S3(e)||_3(e)||!!(Ug&&e&&e[Ug])}jg.exports=I3});var Yg=_(($U,$g)=>{var T3=_n(),x3=Xg();function Kg(e,t,r,n,i){var a=-1,s=e.length;for(r||(r=x3),i||(i=[]);++a<s;){var o=e[a];t>0&&r(o)?t>1?Kg(o,t-1,r,n,i):T3(i,o):n||(i[i.length]=o)}return i}$g.exports=Kg});var Zg=_((YU,Qg)=>{var A3=Yg();function P3(e){var t=e==null?0:e.length;return t?A3(e,1):[]}Qg.exports=P3});var ey=_((QU,Jg)=>{function C3(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}Jg.exports=C3});var ny=_((ZU,ry)=>{var w3=ey(),ty=Math.max;function M3(e,t,r){return t=ty(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=ty(n.length-t,0),s=Array(a);++i<a;)s[i]=n[t+i];i=-1;for(var o=Array(t+1);++i<t;)o[i]=n[i];return o[t]=r(s),w3(e,this,o)}}ry.exports=M3});var ay=_((JU,iy)=>{function O3(e){return function(){return e}}iy.exports=O3});var ly=_((ej,oy)=>{var F3=ay(),sy=ks(),D3=Dn(),R3=sy?function(e,t){return sy(e,"toString",{configurable:!0,enumerable:!1,value:F3(t),writable:!0})}:D3;oy.exports=R3});var cy=_((tj,uy)=>{var L3=800,k3=16,N3=Date.now;function q3(e){var t=0,r=0;return function(){var n=N3(),i=k3-(n-r);if(r=n,i>0){if(++t>=L3)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}uy.exports=q3});var fy=_((rj,hy)=>{var B3=ly(),V3=cy(),G3=V3(B3);hy.exports=G3});var dy=_((nj,py)=>{var z3=Zg(),H3=ny(),W3=fy();function U3(e){return W3(H3(e,void 0,z3),e+"")}py.exports=U3});var yy=_((ij,gy)=>{var my=Da(),j3=my&&new my;gy.exports=j3});var Ey=_((aj,vy)=>{function X3(){}vy.exports=X3});var Hs=_((sj,_y)=>{var by=yy(),K3=Ey(),$3=by?function(e){return by.get(e)}:K3;_y.exports=$3});var Iy=_((oj,Sy)=>{var Y3={};Sy.exports=Y3});var Ws=_((lj,xy)=>{var Ty=Iy(),Q3=Object.prototype,Z3=Q3.hasOwnProperty;function J3(e){for(var t=e.name+"",r=Ty[t],n=Z3.call(Ty,t)?r.length:0;n--;){var i=r[n],a=i.func;if(a==null||a==e)return i.name}return t}xy.exports=J3});var ei=_((uj,Ay)=>{var eB=zs(),tB=Yn(),rB=4294967295;function Jn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=rB,this.__views__=[]}Jn.prototype=eB(tB.prototype);Jn.prototype.constructor=Jn;Ay.exports=Jn});var Cy=_((cj,Py)=>{function nB(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}Py.exports=nB});var My=_((hj,wy)=>{var iB=ei(),aB=Zn(),sB=Cy();function oB(e){if(e instanceof iB)return e.clone();var t=new aB(e.__wrapped__,e.__chain__);return t.__actions__=sB(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}wy.exports=oB});var Dy=_((fj,Fy)=>{var lB=ei(),Oy=Zn(),uB=Yn(),cB=Ae(),hB=lt(),fB=My(),pB=Object.prototype,dB=pB.hasOwnProperty;function ti(e){if(hB(e)&&!cB(e)&&!(e instanceof lB)){if(e instanceof Oy)return e;if(dB.call(e,"__wrapped__"))return fB(e)}return new Oy(e)}ti.prototype=uB.prototype;ti.prototype.constructor=ti;Fy.exports=ti});var Ly=_((pj,Ry)=>{var mB=ei(),gB=Hs(),yB=Ws(),vB=Dy();function EB(e){var t=yB(e),r=vB[t];if(typeof r!="function"||!(t in mB.prototype))return!1;if(e===r)return!0;var n=gB(r);return!!n&&e===n[0]}Ry.exports=EB});var By=_((dj,qy)=>{var ky=Zn(),bB=dy(),_B=Hs(),Us=Ws(),SB=Ae(),Ny=Ly(),IB="Expected a function",TB=8,xB=32,AB=128,PB=256;function CB(e){return bB(function(t){var r=t.length,n=r,i=ky.prototype.thru;for(e&&t.reverse();n--;){var a=t[n];if(typeof a!="function")throw new TypeError(IB);if(i&&!s&&Us(a)=="wrapper")var s=new ky([],!0)}for(n=s?n:r;++n<r;){a=t[n];var o=Us(a),l=o=="wrapper"?_B(a):void 0;l&&Ny(l[0])&&l[1]==(AB|TB|xB|PB)&&!l[4].length&&l[9]==1?s=s[Us(l[0])].apply(s,l[3]):s=a.length==1&&Ny(a)?s[o]():s.thru(a)}return function(){var p=arguments,c=p[0];if(s&&p.length==1&&SB(c))return s.plant(c).value();for(var h=0,g=r?t[h].apply(this,p):c;++h<r;)g=t[h].call(this,g);return g}})}qy.exports=CB});var Gy=_((mj,Vy)=>{var wB=By(),MB=wB();Vy.exports=MB});var Hy=_((gj,zy)=>{function OB(e,t,r){return e===e&&(r!==void 0&&(e=e<=r?e:r),t!==void 0&&(e=e>=t?e:t)),e}zy.exports=OB});var Uy=_((yj,Wy)=>{var FB=Hy(),js=Rn();function DB(e,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=js(r),r=r===r?r:0),t!==void 0&&(t=js(t),t=t===t?t:0),FB(js(e),t,r)}Wy.exports=DB});var uv=_(Zs=>{"use strict";Object.defineProperty(Zs,"__esModule",{value:!0});Object.defineProperty(Zs,"default",{enumerable:!0,get:function(){return mV}});var RB=Qs(Gy()),LB=Qs(Fn()),kB=Qs(Uy()),Nt=Le(),Xs=Js(),ri=$n(),NB=kt();function Qs(e){return e&&e.__esModule?e:{default:e}}var{MOUSE_CLICK:qB,MOUSE_SECOND_CLICK:BB,MOUSE_DOWN:VB,MOUSE_UP:GB,MOUSE_OVER:zB,MOUSE_OUT:HB,DROPDOWN_CLOSE:WB,DROPDOWN_OPEN:UB,SLIDER_ACTIVE:jB,SLIDER_INACTIVE:XB,TAB_ACTIVE:KB,TAB_INACTIVE:$B,NAVBAR_CLOSE:YB,NAVBAR_OPEN:QB,MOUSE_MOVE:ZB,PAGE_SCROLL_DOWN:ev,SCROLL_INTO_VIEW:tv,SCROLL_OUT_OF_VIEW:JB,PAGE_SCROLL_UP:eV,SCROLLING_IN_VIEW:tV,PAGE_FINISH:rv,ECOMMERCE_CART_CLOSE:rV,ECOMMERCE_CART_OPEN:nV,PAGE_START:nv,PAGE_SCROLL:iV}=Nt.EventTypeConsts,Ks="COMPONENT_ACTIVE",iv="COMPONENT_INACTIVE",{COLON_DELIMITER:jy}=Nt.IX2EngineConstants,{getNamespacedParameterId:Xy}=NB.IX2VanillaUtils,av=e=>t=>typeof t=="object"&&e(t)?!0:t,Wr=av(({element:e,nativeEvent:t})=>e===t.target),aV=av(({element:e,nativeEvent:t})=>e.contains(t.target)),rt=(0,RB.default)([Wr,aV]),sv=(e,t)=>{if(t){let{ixData:r}=e.getState(),{events:n}=r,i=n[t];if(i&&!oV[i.eventTypeId])return i}return null},sV=({store:e,event:t})=>{let{action:r}=t,{autoStopEventId:n}=r.config;return!!sv(e,n)},Ne=({store:e,event:t,element:r,eventStateKey:n},i)=>{let{action:a,id:s}=t,{actionListId:o,autoStopEventId:l}=a.config,p=sv(e,l);return p&&(0,Xs.stopActionGroup)({store:e,eventId:l,eventTarget:r,eventStateKey:l+jy+n.split(jy)[1],actionListId:(0,LB.default)(p,"action.config.actionListId")}),(0,Xs.stopActionGroup)({store:e,eventId:s,eventTarget:r,eventStateKey:n,actionListId:o}),(0,Xs.startActionGroup)({store:e,eventId:s,eventTarget:r,eventStateKey:n,actionListId:o}),i},Xe=(e,t)=>(r,n)=>e(r,n)===!0?t(r,n):n,Ur={handler:Xe(rt,Ne)},ov={...Ur,types:[Ks,iv].join(" ")},$s=[{target:window,types:"resize orientationchange",throttle:!0},{target:document,types:"scroll wheel readystatechange IX2_PAGE_UPDATE",throttle:!0}],Ky="mouseover mouseout",Ys={types:$s},oV={PAGE_START:nv,PAGE_FINISH:rv},Hr=(()=>{let e=window.pageXOffset!==void 0,r=document.compatMode==="CSS1Compat"?document.documentElement:document.body;return()=>({scrollLeft:e?window.pageXOffset:r.scrollLeft,scrollTop:e?window.pageYOffset:r.scrollTop,stiffScrollTop:(0,kB.default)(e?window.pageYOffset:r.scrollTop,0,r.scrollHeight-window.innerHeight),scrollWidth:r.scrollWidth,scrollHeight:r.scrollHeight,clientWidth:r.clientWidth,clientHeight:r.clientHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight})})(),lV=(e,t)=>!(e.left>t.right||e.right<t.left||e.top>t.bottom||e.bottom<t.top),uV=({element:e,nativeEvent:t})=>{let{type:r,target:n,relatedTarget:i}=t,a=e.contains(n);if(r==="mouseover"&&a)return!0;let s=e.contains(i);return!!(r==="mouseout"&&a&&s)},cV=e=>{let{element:t,event:{config:r}}=e,{clientWidth:n,clientHeight:i}=Hr(),a=r.scrollOffsetValue,l=r.scrollOffsetUnit==="PX"?a:i*(a||0)/100;return lV(t.getBoundingClientRect(),{left:0,top:l,right:n,bottom:i-l})},lv=e=>(t,r)=>{let{type:n}=t.nativeEvent,i=[Ks,iv].indexOf(n)!==-1?n===Ks:r.isActive,a={...r,isActive:i};return(!r||a.isActive!==r.isActive)&&e(t,a)||a},$y=e=>(t,r)=>{let n={elementHovered:uV(t)};return(r?n.elementHovered!==r.elementHovered:n.elementHovered)&&e(t,n)||n},hV=e=>(t,r)=>{let n={...r,elementVisible:cV(t)};return(r?n.elementVisible!==r.elementVisible:n.elementVisible)&&e(t,n)||n},Yy=e=>(t,r={})=>{let{stiffScrollTop:n,scrollHeight:i,innerHeight:a}=Hr(),{event:{config:s,eventTypeId:o}}=t,{scrollOffsetValue:l,scrollOffsetUnit:p}=s,c=p==="PX",h=i-a,g=Number((n/h).toFixed(2));if(r&&r.percentTop===g)return r;let d=(c?l:a*(l||0)/100)/h,f,m,u=0;r&&(f=g>r.percentTop,m=r.scrollingDown!==f,u=m?g:r.anchorTop);let y=o===ev?g>=u+d:g<=u-d,v={...r,percentTop:g,inBounds:y,anchorTop:u,scrollingDown:f};return r&&y&&(m||v.inBounds!==r.inBounds)&&e(t,v)||v},fV=(e,t)=>e.left>t.left&&e.left<t.right&&e.top>t.top&&e.top<t.bottom,pV=e=>(t,r)=>{let n={finished:document.readyState==="complete"};return n.finished&&!(r&&r.finshed)&&e(t),n},dV=e=>(t,r)=>{let n={started:!0};return r||e(t),n},Qy=e=>(t,r={clickCount:0})=>{let n={clickCount:r.clickCount%2+1};return n.clickCount!==r.clickCount&&e(t,n)||n},ni=(e=!0)=>({...ov,handler:Xe(e?rt:Wr,lv((t,r)=>r.isActive?Ur.handler(t,r):r))}),ii=(e=!0)=>({...ov,handler:Xe(e?rt:Wr,lv((t,r)=>r.isActive?r:Ur.handler(t,r)))}),Zy={...Ys,handler:hV((e,t)=>{let{elementVisible:r}=t,{event:n,store:i}=e,{ixData:a}=i.getState(),{events:s}=a;return!s[n.action.config.autoStopEventId]&&t.triggered?t:n.eventTypeId===tv===r?(Ne(e),{...t,triggered:!0}):t})},Jy=.05,mV={[jB]:ni(),[XB]:ii(),[UB]:ni(),[WB]:ii(),[QB]:ni(!1),[YB]:ii(!1),[KB]:ni(),[$B]:ii(),[nV]:{types:"ecommerce-cart-open",handler:Xe(rt,Ne)},[rV]:{types:"ecommerce-cart-close",handler:Xe(rt,Ne)},[qB]:{types:"click",handler:Xe(rt,Qy((e,{clickCount:t})=>{sV(e)?t===1&&Ne(e):Ne(e)}))},[BB]:{types:"click",handler:Xe(rt,Qy((e,{clickCount:t})=>{t===2&&Ne(e)}))},[VB]:{...Ur,types:"mousedown"},[GB]:{...Ur,types:"mouseup"},[zB]:{types:Ky,handler:Xe(rt,$y((e,t)=>{t.elementHovered&&Ne(e)}))},[HB]:{types:Ky,handler:Xe(rt,$y((e,t)=>{t.elementHovered||Ne(e)}))},[ZB]:{types:"mousemove mouseout scroll",handler:({store:e,element:t,eventConfig:r,nativeEvent:n,eventStateKey:i},a={clientX:0,clientY:0,pageX:0,pageY:0})=>{let{basedOn:s,selectedAxis:o,continuousParameterGroupId:l,reverse:p,restingState:c=0}=r,{clientX:h=a.clientX,clientY:g=a.clientY,pageX:d=a.pageX,pageY:f=a.pageY}=n,m=o==="X_AXIS",u=n.type==="mouseout",y=c/100,v=l,E=!1;switch(s){case Nt.EventBasedOn.VIEWPORT:{y=m?Math.min(h,window.innerWidth)/window.innerWidth:Math.min(g,window.innerHeight)/window.innerHeight;break}case Nt.EventBasedOn.PAGE:{let{scrollLeft:b,scrollTop:S,scrollWidth:T,scrollHeight:I}=Hr();y=m?Math.min(b+d,T)/T:Math.min(S+f,I)/I;break}case Nt.EventBasedOn.ELEMENT:default:{v=Xy(i,l);let b=n.type.indexOf("mouse")===0;if(b&&rt({element:t,nativeEvent:n})!==!0)break;let S=t.getBoundingClientRect(),{left:T,top:I,width:x,height:D}=S;if(!b&&!fV({left:h,top:g},S))break;E=!0,y=m?(h-T)/x:(g-I)/D;break}}return u&&(y>1-Jy||y<Jy)&&(y=Math.round(y)),(s!==Nt.EventBasedOn.ELEMENT||E||E!==a.elementHovered)&&(y=p?1-y:y,e.dispatch((0,ri.parameterChanged)(v,y))),{elementHovered:E,clientX:h,clientY:g,pageX:d,pageY:f}}},[iV]:{types:$s,handler:({store:e,eventConfig:t})=>{let{continuousParameterGroupId:r,reverse:n}=t,{scrollTop:i,scrollHeight:a,clientHeight:s}=Hr(),o=i/(a-s);o=n?1-o:o,e.dispatch((0,ri.parameterChanged)(r,o))}},[tV]:{types:$s,handler:({element:e,store:t,eventConfig:r,eventStateKey:n},i={scrollPercent:0})=>{let{scrollLeft:a,scrollTop:s,scrollWidth:o,scrollHeight:l,clientHeight:p}=Hr(),{basedOn:c,selectedAxis:h,continuousParameterGroupId:g,startsEntering:d,startsExiting:f,addEndOffset:m,addStartOffset:u,addOffsetValue:y=0,endOffsetValue:v=0}=r,E=h==="X_AXIS";if(c===Nt.EventBasedOn.VIEWPORT){let b=E?a/o:s/l;return b!==i.scrollPercent&&t.dispatch((0,ri.parameterChanged)(g,b)),{scrollPercent:b}}else{let b=Xy(n,g),S=e.getBoundingClientRect(),T=(u?y:0)/100,I=(m?v:0)/100;T=d?T:1-T,I=f?I:1-I;let x=S.top+Math.min(S.height*T,p),w=S.top+S.height*I-x,C=Math.min(p+w,l),O=Math.min(Math.max(0,p-x),C)/C;return O!==i.scrollPercent&&t.dispatch((0,ri.parameterChanged)(b,O)),{scrollPercent:O}}}},[tv]:Zy,[JB]:Zy,[ev]:{...Ys,handler:Yy((e,t)=>{t.scrollingDown&&Ne(e)})},[eV]:{...Ys,handler:Yy((e,t)=>{t.scrollingDown||Ne(e)})},[rv]:{types:"readystatechange IX2_PAGE_UPDATE",handler:Xe(Wr,pV(Ne))},[nv]:{types:"readystatechange IX2_PAGE_UPDATE",handler:Xe(Wr,dV(Ne))}}});var Js=_(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});function gV(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}gV(lo,{observeRequests:function(){return WV},startActionGroup:function(){return ao},startEngine:function(){return ui},stopActionGroup:function(){return io},stopAllActionGroups:function(){return Ev},stopEngine:function(){return ci}});var yV=ct(Ya()),St=ct(Fn()),vV=ct(jm()),EV=ct(vg()),bV=ct(bg()),_V=ct(Sg()),jr=ct(Cg()),SV=ct(Lg()),Ve=Le(),fv=kt(),_e=$n(),Te=TV(Bg()),IV=ct(uv());function ct(e){return e&&e.__esModule?e:{default:e}}function pv(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(pv=function(n){return n?r:t})(e)}function TV(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=pv(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var xV=Object.keys(Ve.QuickEffectIds),eo=e=>xV.includes(e),{COLON_DELIMITER:to,BOUNDARY_SELECTOR:ai,HTML_ELEMENT:dv,RENDER_GENERAL:AV,W_MOD_IX:cv}=Ve.IX2EngineConstants,{getAffectedElements:si,getElementId:PV,getDestinationValues:ro,observeStore:qt,getInstanceId:CV,renderHTMLElement:wV,clearAllStyles:mv,getMaxDurationItemIndex:MV,getComputedStyle:OV,getInstanceOrigin:FV,reduceListToGroup:DV,shouldNamespaceEventParameter:RV,getNamespacedParameterId:LV,shouldAllowMediaQuery:oi,cleanupHTMLElement:kV,clearObjectCache:NV,stringifyTarget:qV,mediaQueriesEqual:BV,shallowEqual:VV}=fv.IX2VanillaUtils,{isPluginType:li,createPluginInstance:no,getPluginDuration:GV}=fv.IX2VanillaPlugins,hv=navigator.userAgent,zV=hv.match(/iPad/i)||hv.match(/iPhone/),HV=12;function WV(e){qt({store:e,select:({ixRequest:t})=>t.preview,onChange:XV}),qt({store:e,select:({ixRequest:t})=>t.playback,onChange:KV}),qt({store:e,select:({ixRequest:t})=>t.stop,onChange:$V}),qt({store:e,select:({ixRequest:t})=>t.clear,onChange:YV})}function UV(e){qt({store:e,select:({ixSession:t})=>t.mediaQueryKey,onChange:()=>{ci(e),mv({store:e,elementApi:Te}),ui({store:e,allowEvents:!0}),gv()}})}function jV(e,t){let r=qt({store:e,select:({ixSession:n})=>n.tick,onChange:n=>{t(n),r()}})}function XV({rawData:e,defer:t},r){let n=()=>{ui({store:r,rawData:e,allowEvents:!0}),gv()};t?setTimeout(n,0):n()}function gv(){document.dispatchEvent(new CustomEvent("IX2_PAGE_UPDATE"))}function KV(e,t){let{actionTypeId:r,actionListId:n,actionItemId:i,eventId:a,allowEvents:s,immediate:o,testManual:l,verbose:p=!0}=e,{rawData:c}=e;if(n&&i&&c&&o){let h=c.actionLists[n];h&&(c=DV({actionList:h,actionItemId:i,rawData:c}))}if(ui({store:t,rawData:c,allowEvents:s,testManual:l}),n&&r===Ve.ActionTypeConsts.GENERAL_START_ACTION||eo(r)){io({store:t,actionListId:n}),vv({store:t,actionListId:n,eventId:a});let h=ao({store:t,eventId:a,actionListId:n,immediate:o,verbose:p});p&&h&&t.dispatch((0,_e.actionListPlaybackChanged)({actionListId:n,isPlaying:!o}))}}function $V({actionListId:e},t){e?io({store:t,actionListId:e}):Ev({store:t}),ci(t)}function YV(e,t){ci(t),mv({store:t,elementApi:Te})}function ui({store:e,rawData:t,allowEvents:r,testManual:n}){let{ixSession:i}=e.getState();t&&e.dispatch((0,_e.rawDataImported)(t)),i.active||(e.dispatch((0,_e.sessionInitialized)({hasBoundaryNodes:!!document.querySelector(ai),reducedMotion:document.body.hasAttribute("data-wf-ix-vacation")&&window.matchMedia("(prefers-reduced-motion)").matches})),r&&(r5(e),QV(),e.getState().ixSession.hasDefinedMediaQueries&&UV(e)),e.dispatch((0,_e.sessionStarted)()),ZV(e,n))}function QV(){let{documentElement:e}=document;e.className.indexOf(cv)===-1&&(e.className+=` ${cv}`)}function ZV(e,t){let r=n=>{let{ixSession:i,ixParameters:a}=e.getState();i.active&&(e.dispatch((0,_e.animationFrameChanged)(n,a)),t?jV(e,r):requestAnimationFrame(r))};r(window.performance.now())}function ci(e){let{ixSession:t}=e.getState();if(t.active){let{eventListeners:r}=t;r.forEach(JV),NV(),e.dispatch((0,_e.sessionStopped)())}}function JV({target:e,listenerParams:t}){e.removeEventListener.apply(e,t)}function e5({store:e,eventStateKey:t,eventTarget:r,eventId:n,eventConfig:i,actionListId:a,parameterGroup:s,smoothing:o,restingValue:l}){let{ixData:p,ixSession:c}=e.getState(),{events:h}=p,g=h[n],{eventTypeId:d}=g,f={},m={},u=[],{continuousActionGroups:y}=s,{id:v}=s;RV(d,i)&&(v=LV(t,v));let E=c.hasBoundaryNodes&&r?Te.getClosestElement(r,ai):null;y.forEach(b=>{let{keyframe:S,actionItems:T}=b;T.forEach(I=>{let{actionTypeId:x}=I,{target:D}=I.config;if(!D)return;let w=D.boundaryMode?E:null,C=qV(D)+to+x;if(m[C]=t5(m[C],S,I),!f[C]){f[C]=!0;let{config:k}=I;si({config:k,event:g,eventTarget:r,elementRoot:w,elementApi:Te}).forEach(O=>{u.push({element:O,key:C})})}})}),u.forEach(({element:b,key:S})=>{let T=m[S],I=(0,St.default)(T,"[0].actionItems[0]",{}),{actionTypeId:x}=I,w=(x===Ve.ActionTypeConsts.PLUGIN_RIVE?(I.config?.target?.selectorGuids||[]).length===0:li(x))?no(x)(b,I):null,C=ro({element:b,actionItem:I,elementApi:Te},w);so({store:e,element:b,eventId:n,actionListId:a,actionItem:I,destination:C,continuous:!0,parameterId:v,actionGroups:T,smoothing:o,restingValue:l,pluginInstance:w})})}function t5(e=[],t,r){let n=[...e],i;return n.some((a,s)=>a.keyframe===t?(i=s,!0):!1),i==null&&(i=n.length,n.push({keyframe:t,actionItems:[]})),n[i].actionItems.push(r),n}function r5(e){let{ixData:t}=e.getState(),{eventTypeMap:r}=t;yv(e),(0,jr.default)(r,(i,a)=>{let s=IV.default[a];if(!s){console.warn(`IX2 event type not configured: ${a}`);return}l5({logic:s,store:e,events:i})});let{ixSession:n}=e.getState();n.eventListeners.length&&i5(e)}var n5=["resize","orientationchange"];function i5(e){let t=()=>{yv(e)};n5.forEach(r=>{window.addEventListener(r,t),e.dispatch((0,_e.eventListenerAdded)(window,[r,t]))}),t()}function yv(e){let{ixSession:t,ixData:r}=e.getState(),n=window.innerWidth;if(n!==t.viewportWidth){let{mediaQueries:i}=r;e.dispatch((0,_e.viewportWidthChanged)({width:n,mediaQueries:i}))}}var a5=(e,t)=>(0,EV.default)((0,_V.default)(e,t),bV.default),s5=(e,t)=>{(0,jr.default)(e,(r,n)=>{r.forEach((i,a)=>{let s=n+to+a;t(i,n,s)})})},o5=e=>{let t={target:e.target,targets:e.targets};return si({config:t,elementApi:Te})};function l5({logic:e,store:t,events:r}){u5(r);let{types:n,handler:i}=e,{ixData:a}=t.getState(),{actionLists:s}=a,o=a5(r,o5);if(!(0,vV.default)(o))return;(0,jr.default)(o,(h,g)=>{let d=r[g],{action:f,id:m,mediaQueries:u=a.mediaQueryKeys}=d,{actionListId:y}=f.config;BV(u,a.mediaQueryKeys)||t.dispatch((0,_e.mediaQueriesDefined)()),f.actionTypeId===Ve.ActionTypeConsts.GENERAL_CONTINUOUS_ACTION&&(Array.isArray(d.config)?d.config:[d.config]).forEach(E=>{let{continuousParameterGroupId:b}=E,S=(0,St.default)(s,`${y}.continuousParameterGroups`,[]),T=(0,yV.default)(S,({id:D})=>D===b),I=(E.smoothing||0)/100,x=(E.restingState||0)/100;T&&h.forEach((D,w)=>{let C=m+to+w;e5({store:t,eventStateKey:C,eventTarget:D,eventId:m,eventConfig:E,actionListId:y,parameterGroup:T,smoothing:I,restingValue:x})})}),(f.actionTypeId===Ve.ActionTypeConsts.GENERAL_START_ACTION||eo(f.actionTypeId))&&vv({store:t,actionListId:y,eventId:m})});let l=h=>{let{ixSession:g}=t.getState();s5(o,(d,f,m)=>{let u=r[f],y=g.eventState[m],{action:v,mediaQueries:E=a.mediaQueryKeys}=u;if(!oi(E,g.mediaQueryKey))return;let b=(S={})=>{let T=i({store:t,element:d,event:u,eventConfig:S,nativeEvent:h,eventStateKey:m},y);VV(T,y)||t.dispatch((0,_e.eventStateChanged)(m,T))};v.actionTypeId===Ve.ActionTypeConsts.GENERAL_CONTINUOUS_ACTION?(Array.isArray(u.config)?u.config:[u.config]).forEach(b):b()})},p=(0,SV.default)(l,HV),c=({target:h=document,types:g,throttle:d})=>{g.split(" ").filter(Boolean).forEach(f=>{let m=d?p:l;h.addEventListener(f,m),t.dispatch((0,_e.eventListenerAdded)(h,[f,m]))})};Array.isArray(n)?n.forEach(c):typeof n=="string"&&c(e)}function u5(e){if(!zV)return;let t={},r="";for(let n in e){let{eventTypeId:i,target:a}=e[n],s=Te.getQuerySelector(a);t[s]||(i===Ve.EventTypeConsts.MOUSE_CLICK||i===Ve.EventTypeConsts.MOUSE_SECOND_CLICK)&&(t[s]=!0,r+=s+"{cursor: pointer;touch-action: manipulation;}")}if(r){let n=document.createElement("style");n.textContent=r,document.body.appendChild(n)}}function vv({store:e,actionListId:t,eventId:r}){let{ixData:n,ixSession:i}=e.getState(),{actionLists:a,events:s}=n,o=s[r],l=a[t];if(l&&l.useFirstGroupAsInitialState){let p=(0,St.default)(l,"actionItemGroups[0].actionItems",[]),c=(0,St.default)(o,"mediaQueries",n.mediaQueryKeys);if(!oi(c,i.mediaQueryKey))return;p.forEach(h=>{let{config:g,actionTypeId:d}=h,f=g?.target?.useEventTarget===!0&&g?.target?.objectId==null?{target:o.target,targets:o.targets}:g,m=si({config:f,event:o,elementApi:Te}),u=li(d);m.forEach(y=>{let v=u?no(d)(y,h):null;so({destination:ro({element:y,actionItem:h,elementApi:Te},v),immediate:!0,store:e,element:y,eventId:r,actionItem:h,actionListId:t,pluginInstance:v})})})}}function Ev({store:e}){let{ixInstances:t}=e.getState();(0,jr.default)(t,r=>{if(!r.continuous){let{actionListId:n,verbose:i}=r;oo(r,e),i&&e.dispatch((0,_e.actionListPlaybackChanged)({actionListId:n,isPlaying:!1}))}})}function io({store:e,eventId:t,eventTarget:r,eventStateKey:n,actionListId:i}){let{ixInstances:a,ixSession:s}=e.getState(),o=s.hasBoundaryNodes&&r?Te.getClosestElement(r,ai):null;(0,jr.default)(a,l=>{let p=(0,St.default)(l,"actionItem.config.target.boundaryMode"),c=n?l.eventStateKey===n:!0;if(l.actionListId===i&&l.eventId===t&&c){if(o&&p&&!Te.elementContains(o,l.element))return;oo(l,e),l.verbose&&e.dispatch((0,_e.actionListPlaybackChanged)({actionListId:i,isPlaying:!1}))}})}function ao({store:e,eventId:t,eventTarget:r,eventStateKey:n,actionListId:i,groupIndex:a=0,immediate:s,verbose:o}){let{ixData:l,ixSession:p}=e.getState(),{events:c}=l,h=c[t]||{},{mediaQueries:g=l.mediaQueryKeys}=h,d=(0,St.default)(l,`actionLists.${i}`,{}),{actionItemGroups:f,useFirstGroupAsInitialState:m}=d;if(!f||!f.length)return!1;a>=f.length&&(0,St.default)(h,"config.loop")&&(a=0),a===0&&m&&a++;let y=(a===0||a===1&&m)&&eo(h.action?.actionTypeId)?h.config.delay:void 0,v=(0,St.default)(f,[a,"actionItems"],[]);if(!v.length||!oi(g,p.mediaQueryKey))return!1;let E=p.hasBoundaryNodes&&r?Te.getClosestElement(r,ai):null,b=MV(v),S=!1;return v.forEach((T,I)=>{let{config:x,actionTypeId:D}=T,w=li(D),{target:C}=x;if(!C)return;let k=C.boundaryMode?E:null;si({config:x,event:h,eventTarget:r,elementRoot:k,elementApi:Te}).forEach((M,q)=>{let z=w?no(D)(M,T):null,X=w?GV(D)(M,T):null;S=!0;let P=b===I&&q===0,V=OV({element:M,actionItem:T}),j=ro({element:M,actionItem:T,elementApi:Te},z);so({store:e,element:M,actionItem:T,eventId:t,eventTarget:r,eventStateKey:n,actionListId:i,groupIndex:a,isCarrier:P,computedStyle:V,destination:j,immediate:s,verbose:o,pluginInstance:z,pluginDuration:X,instanceDelay:y})})}),S}function so(e){let{store:t,computedStyle:r,...n}=e,{element:i,actionItem:a,immediate:s,pluginInstance:o,continuous:l,restingValue:p,eventId:c}=n,h=!l,g=CV(),{ixElements:d,ixSession:f,ixData:m}=t.getState(),u=PV(d,i),{refState:y}=d[u]||{},v=Te.getRefType(i),E=f.reducedMotion&&Ve.ReducedMotionTypes[a.actionTypeId],b;if(E&&l)switch(m.events[c]?.eventTypeId){case Ve.EventTypeConsts.MOUSE_MOVE:case Ve.EventTypeConsts.MOUSE_MOVE_IN_VIEWPORT:b=p;break;default:b=.5;break}let S=FV(i,y,r,a,Te,o);if(t.dispatch((0,_e.instanceAdded)({instanceId:g,elementId:u,origin:S,refType:v,skipMotion:E,skipToValue:b,...n})),bv(document.body,"ix2-animation-started",g),s){c5(t,g);return}qt({store:t,select:({ixInstances:T})=>T[g],onChange:_v}),h&&t.dispatch((0,_e.instanceStarted)(g,f.tick))}function oo(e,t){bv(document.body,"ix2-animation-stopping",{instanceId:e.id,state:t.getState()});let{elementId:r,actionItem:n}=e,{ixElements:i}=t.getState(),{ref:a,refType:s}=i[r]||{};s===dv&&kV(a,n,Te),t.dispatch((0,_e.instanceRemoved)(e.id))}function bv(e,t,r){let n=document.createEvent("CustomEvent");n.initCustomEvent(t,!0,!0,r),e.dispatchEvent(n)}function c5(e,t){let{ixParameters:r}=e.getState();e.dispatch((0,_e.instanceStarted)(t,0)),e.dispatch((0,_e.animationFrameChanged)(performance.now(),r));let{ixInstances:n}=e.getState();_v(n[t],e)}function _v(e,t){let{active:r,continuous:n,complete:i,elementId:a,actionItem:s,actionTypeId:o,renderType:l,current:p,groupIndex:c,eventId:h,eventTarget:g,eventStateKey:d,actionListId:f,isCarrier:m,styleProp:u,verbose:y,pluginInstance:v}=e,{ixData:E,ixSession:b}=t.getState(),{events:S}=E,T=S&&S[h]?S[h]:{},{mediaQueries:I=E.mediaQueryKeys}=T;if(oi(I,b.mediaQueryKey)&&(n||r||i)){if(p||l===AV&&i){t.dispatch((0,_e.elementStateChanged)(a,o,p,s));let{ixElements:x}=t.getState(),{ref:D,refType:w,refState:C}=x[a]||{},k=C&&C[o];(w===dv||li(o))&&wV(D,C,k,h,s,u,Te,l,v)}if(i){if(m){let x=ao({store:t,eventId:h,eventTarget:g,eventStateKey:d,actionListId:f,groupIndex:c+1,verbose:y});y&&!x&&t.dispatch((0,_e.actionListPlaybackChanged)({actionListId:f,isPlaying:!1}))}oo(e,t)}}}});var Tv=_(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});function h5(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}h5(co,{actions:function(){return d5},destroy:function(){return Iv},init:function(){return v5},setEnv:function(){return y5},store:function(){return hi}});var f5=ca(),p5=m5(Pm()),uo=Js(),d5=g5($n());function m5(e){return e&&e.__esModule?e:{default:e}}function Sv(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(Sv=function(n){return n?r:t})(e)}function g5(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=Sv(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var hi=(0,f5.createStore)(p5.default);function y5(e){e()&&(0,uo.observeRequests)(hi)}function v5(e){Iv(),(0,uo.startEngine)({store:hi,rawData:e,allowEvents:!0})}function Iv(){(0,uo.stopEngine)(hi)}});var Cv=_((_j,Pv)=>{"use strict";var xv=qe(),Av=Tv();Av.setEnv(xv.env);xv.define("ix2",Pv.exports=function(){return Av})});var Ov=_((Sj,Mv)=>{"use strict";var ho=window.jQuery,nt={},fi=[],wv=".w-ix",pi={reset:function(e,t){t.__wf_intro=null},intro:function(e,t){t.__wf_intro||(t.__wf_intro=!0,ho(t).triggerHandler(nt.types.INTRO))},outro:function(e,t){t.__wf_intro&&(t.__wf_intro=null,ho(t).triggerHandler(nt.types.OUTRO))}};nt.triggers={};nt.types={INTRO:"w-ix-intro"+wv,OUTRO:"w-ix-outro"+wv};nt.init=function(){for(var e=fi.length,t=0;t<e;t++){var r=fi[t];r[0](0,r[1])}fi=[],ho.extend(nt.triggers,pi)};nt.async=function(){for(var e in pi){var t=pi[e];pi.hasOwnProperty(e)&&(nt.triggers[e]=function(r,n){fi.push([t,n])})}};nt.async();Mv.exports=nt});var po=_((Ij,Rv)=>{"use strict";var fo=Ov();function Fv(e,t){var r=document.createEvent("CustomEvent");r.initCustomEvent(t,!0,!0,null),e.dispatchEvent(r)}var E5=window.jQuery,di={},Dv=".w-ix",b5={reset:function(e,t){fo.triggers.reset(e,t)},intro:function(e,t){fo.triggers.intro(e,t),Fv(t,"COMPONENT_ACTIVE")},outro:function(e,t){fo.triggers.outro(e,t),Fv(t,"COMPONENT_INACTIVE")}};di.triggers={};di.types={INTRO:"w-ix-intro"+Dv,OUTRO:"w-ix-outro"+Dv};E5.extend(di.triggers,b5);Rv.exports=di});var ce=_((Tj,Lv)=>{var mi=function(e){return e&&e.Math==Math&&e};Lv.exports=mi(typeof globalThis=="object"&&globalThis)||mi(typeof window=="object"&&window)||mi(typeof self=="object"&&self)||mi(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var It=_((xj,kv)=>{kv.exports=function(e){try{return!!e()}catch{return!0}}});var ht=_((Aj,Nv)=>{var _5=It();Nv.exports=!_5(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var Bt=_((Pj,qv)=>{var Xr=Function.prototype.call;qv.exports=Xr.bind?Xr.bind(Xr):function(){return Xr.apply(Xr,arguments)}});var zv=_(Gv=>{"use strict";var Bv={}.propertyIsEnumerable,Vv=Object.getOwnPropertyDescriptor,S5=Vv&&!Bv.call({1:2},1);Gv.f=S5?function(t){var r=Vv(this,t);return!!r&&r.enumerable}:Bv});var mo=_((wj,Hv)=>{Hv.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}});var Pe=_((Mj,Uv)=>{var Wv=Function.prototype,go=Wv.bind,yo=Wv.call,I5=go&&go.bind(yo);Uv.exports=go?function(e){return e&&I5(yo,e)}:function(e){return e&&function(){return yo.apply(e,arguments)}}});var gi=_((Oj,Xv)=>{var jv=Pe(),T5=jv({}.toString),x5=jv("".slice);Xv.exports=function(e){return x5(T5(e),8,-1)}});var yi=_((Fj,Kv)=>{var A5=ce(),P5=Pe(),C5=It(),w5=gi(),vo=A5.Object,M5=P5("".split);Kv.exports=C5(function(){return!vo("z").propertyIsEnumerable(0)})?function(e){return w5(e)=="String"?M5(e,""):vo(e)}:vo});var Eo=_((Dj,$v)=>{var O5=ce(),F5=O5.TypeError;$v.exports=function(e){if(e==null)throw F5("Can't call method on "+e);return e}});var Kr=_((Rj,Yv)=>{var D5=yi(),R5=Eo();Yv.exports=function(e){return D5(R5(e))}});var Oe=_((Lj,Qv)=>{Qv.exports=function(e){return typeof e=="function"}});var Vt=_((kj,Zv)=>{var L5=Oe();Zv.exports=function(e){return typeof e=="object"?e!==null:L5(e)}});var it=_((Nj,Jv)=>{var bo=ce(),k5=Oe(),N5=function(e){return k5(e)?e:void 0};Jv.exports=function(e,t){return arguments.length<2?N5(bo[e]):bo[e]&&bo[e][t]}});var t0=_((qj,e0)=>{var q5=Pe();e0.exports=q5({}.isPrototypeOf)});var n0=_((Bj,r0)=>{var B5=it();r0.exports=B5("navigator","userAgent")||""});var c0=_((Vj,u0)=>{var l0=ce(),_o=n0(),i0=l0.process,a0=l0.Deno,s0=i0&&i0.versions||a0&&a0.version,o0=s0&&s0.v8,Ke,vi;o0&&(Ke=o0.split("."),vi=Ke[0]>0&&Ke[0]<4?1:+(Ke[0]+Ke[1]));!vi&&_o&&(Ke=_o.match(/Edge\/(\d+)/),(!Ke||Ke[1]>=74)&&(Ke=_o.match(/Chrome\/(\d+)/),Ke&&(vi=+Ke[1])));u0.exports=vi});var So=_((Gj,f0)=>{var h0=c0(),V5=It();f0.exports=!!Object.getOwnPropertySymbols&&!V5(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&h0&&h0<41})});var Io=_((zj,p0)=>{var G5=So();p0.exports=G5&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var To=_((Hj,d0)=>{var z5=ce(),H5=it(),W5=Oe(),U5=t0(),j5=Io(),X5=z5.Object;d0.exports=j5?function(e){return typeof e=="symbol"}:function(e){var t=H5("Symbol");return W5(t)&&U5(t.prototype,X5(e))}});var xo=_((Wj,m0)=>{var K5=ce(),$5=K5.String;m0.exports=function(e){try{return $5(e)}catch{return"Object"}}});var Er=_((Uj,g0)=>{var Y5=ce(),Q5=Oe(),Z5=xo(),J5=Y5.TypeError;g0.exports=function(e){if(Q5(e))return e;throw J5(Z5(e)+" is not a function")}});var Gt=_((jj,y0)=>{var eG=Er();y0.exports=function(e,t){var r=e[t];return r==null?void 0:eG(r)}});var E0=_((Xj,v0)=>{var tG=ce(),Ao=Bt(),Po=Oe(),Co=Vt(),rG=tG.TypeError;v0.exports=function(e,t){var r,n;if(t==="string"&&Po(r=e.toString)&&!Co(n=Ao(r,e))||Po(r=e.valueOf)&&!Co(n=Ao(r,e))||t!=="string"&&Po(r=e.toString)&&!Co(n=Ao(r,e)))return n;throw rG("Can't convert object to primitive value")}});var wo=_((Kj,b0)=>{b0.exports=!1});var Ei=_(($j,S0)=>{var _0=ce(),nG=Object.defineProperty;S0.exports=function(e,t){try{nG(_0,e,{value:t,configurable:!0,writable:!0})}catch{_0[e]=t}return t}});var $r=_((Yj,T0)=>{var iG=ce(),aG=Ei(),I0="__core-js_shared__",sG=iG[I0]||aG(I0,{});T0.exports=sG});var Mo=_((Qj,A0)=>{var oG=wo(),x0=$r();(A0.exports=function(e,t){return x0[e]||(x0[e]=t!==void 0?t:{})})("versions",[]).push({version:"3.19.0",mode:oG?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})});var ft=_((Zj,P0)=>{var lG=ce(),uG=Eo(),cG=lG.Object;P0.exports=function(e){return cG(uG(e))}});var pt=_((Jj,C0)=>{var hG=Pe(),fG=ft(),pG=hG({}.hasOwnProperty);C0.exports=Object.hasOwn||function(t,r){return pG(fG(t),r)}});var Oo=_((eX,w0)=>{var dG=Pe(),mG=0,gG=Math.random(),yG=dG(1 .toString);w0.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+yG(++mG+gG,36)}});var at=_((tX,R0)=>{var vG=ce(),EG=Mo(),M0=pt(),bG=Oo(),O0=So(),D0=Io(),br=EG("wks"),zt=vG.Symbol,F0=zt&&zt.for,_G=D0?zt:zt&&zt.withoutSetter||bG;R0.exports=function(e){if(!M0(br,e)||!(O0||typeof br[e]=="string")){var t="Symbol."+e;O0&&M0(zt,e)?br[e]=zt[e]:D0&&F0?br[e]=F0(t):br[e]=_G(t)}return br[e]}});var q0=_((rX,N0)=>{var SG=ce(),IG=Bt(),L0=Vt(),k0=To(),TG=Gt(),xG=E0(),AG=at(),PG=SG.TypeError,CG=AG("toPrimitive");N0.exports=function(e,t){if(!L0(e)||k0(e))return e;var r=TG(e,CG),n;if(r){if(t===void 0&&(t="default"),n=IG(r,e,t),!L0(n)||k0(n))return n;throw PG("Can't convert object to primitive value")}return t===void 0&&(t="number"),xG(e,t)}});var bi=_((nX,B0)=>{var wG=q0(),MG=To();B0.exports=function(e){var t=wG(e,"string");return MG(t)?t:t+""}});var Do=_((iX,G0)=>{var OG=ce(),V0=Vt(),Fo=OG.document,FG=V0(Fo)&&V0(Fo.createElement);G0.exports=function(e){return FG?Fo.createElement(e):{}}});var Ro=_((aX,z0)=>{var DG=ht(),RG=It(),LG=Do();z0.exports=!DG&&!RG(function(){return Object.defineProperty(LG("div"),"a",{get:function(){return 7}}).a!=7})});var Lo=_(W0=>{var kG=ht(),NG=Bt(),qG=zv(),BG=mo(),VG=Kr(),GG=bi(),zG=pt(),HG=Ro(),H0=Object.getOwnPropertyDescriptor;W0.f=kG?H0:function(t,r){if(t=VG(t),r=GG(r),HG)try{return H0(t,r)}catch{}if(zG(t,r))return BG(!NG(qG.f,t,r),t[r])}});var dt=_((oX,j0)=>{var U0=ce(),WG=Vt(),UG=U0.String,jG=U0.TypeError;j0.exports=function(e){if(WG(e))return e;throw jG(UG(e)+" is not an object")}});var Ht=_($0=>{var XG=ce(),KG=ht(),$G=Ro(),X0=dt(),YG=bi(),QG=XG.TypeError,K0=Object.defineProperty;$0.f=KG?K0:function(t,r,n){if(X0(t),r=YG(r),X0(n),$G)try{return K0(t,r,n)}catch{}if("get"in n||"set"in n)throw QG("Accessors not supported");return"value"in n&&(t[r]=n.value),t}});var _i=_((uX,Y0)=>{var ZG=ht(),JG=Ht(),e6=mo();Y0.exports=ZG?function(e,t,r){return JG.f(e,t,e6(1,r))}:function(e,t,r){return e[t]=r,e}});var Si=_((cX,Q0)=>{var t6=Pe(),r6=Oe(),ko=$r(),n6=t6(Function.toString);r6(ko.inspectSource)||(ko.inspectSource=function(e){return n6(e)});Q0.exports=ko.inspectSource});var e1=_((hX,J0)=>{var i6=ce(),a6=Oe(),s6=Si(),Z0=i6.WeakMap;J0.exports=a6(Z0)&&/native code/.test(s6(Z0))});var Ii=_((fX,r1)=>{var o6=Mo(),l6=Oo(),t1=o6("keys");r1.exports=function(e){return t1[e]||(t1[e]=l6(e))}});var Ti=_((pX,n1)=>{n1.exports={}});var zo=_((dX,l1)=>{var u6=e1(),o1=ce(),No=Pe(),c6=Vt(),h6=_i(),qo=pt(),Bo=$r(),f6=Ii(),p6=Ti(),i1="Object already initialized",Go=o1.TypeError,d6=o1.WeakMap,xi,Yr,Ai,m6=function(e){return Ai(e)?Yr(e):xi(e,{})},g6=function(e){return function(t){var r;if(!c6(t)||(r=Yr(t)).type!==e)throw Go("Incompatible receiver, "+e+" required");return r}};u6||Bo.state?(Tt=Bo.state||(Bo.state=new d6),a1=No(Tt.get),Vo=No(Tt.has),s1=No(Tt.set),xi=function(e,t){if(Vo(Tt,e))throw new Go(i1);return t.facade=e,s1(Tt,e,t),t},Yr=function(e){return a1(Tt,e)||{}},Ai=function(e){return Vo(Tt,e)}):(Wt=f6("state"),p6[Wt]=!0,xi=function(e,t){if(qo(e,Wt))throw new Go(i1);return t.facade=e,h6(e,Wt,t),t},Yr=function(e){return qo(e,Wt)?e[Wt]:{}},Ai=function(e){return qo(e,Wt)});var Tt,a1,Vo,s1,Wt;l1.exports={set:xi,get:Yr,has:Ai,enforce:m6,getterFor:g6}});var h1=_((mX,c1)=>{var Ho=ht(),y6=pt(),u1=Function.prototype,v6=Ho&&Object.getOwnPropertyDescriptor,Wo=y6(u1,"name"),E6=Wo&&function(){}.name==="something",b6=Wo&&(!Ho||Ho&&v6(u1,"name").configurable);c1.exports={EXISTS:Wo,PROPER:E6,CONFIGURABLE:b6}});var Pi=_((gX,m1)=>{var _6=ce(),f1=Oe(),S6=pt(),p1=_i(),I6=Ei(),T6=Si(),d1=zo(),x6=h1().CONFIGURABLE,A6=d1.get,P6=d1.enforce,C6=String(String).split("String");(m1.exports=function(e,t,r,n){var i=n?!!n.unsafe:!1,a=n?!!n.enumerable:!1,s=n?!!n.noTargetGet:!1,o=n&&n.name!==void 0?n.name:t,l;if(f1(r)&&(String(o).slice(0,7)==="Symbol("&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!S6(r,"name")||x6&&r.name!==o)&&p1(r,"name",o),l=P6(r),l.source||(l.source=C6.join(typeof o=="string"?o:""))),e===_6){a?e[t]=r:I6(t,r);return}else i?!s&&e[t]&&(a=!0):delete e[t];a?e[t]=r:p1(e,t,r)})(Function.prototype,"toString",function(){return f1(this)&&A6(this).source||T6(this)})});var Uo=_((yX,g1)=>{var w6=Math.ceil,M6=Math.floor;g1.exports=function(e){var t=+e;return t!==t||t===0?0:(t>0?M6:w6)(t)}});var v1=_((vX,y1)=>{var O6=Uo(),F6=Math.max,D6=Math.min;y1.exports=function(e,t){var r=O6(e);return r<0?F6(r+t,0):D6(r,t)}});var b1=_((EX,E1)=>{var R6=Uo(),L6=Math.min;E1.exports=function(e){return e>0?L6(R6(e),9007199254740991):0}});var Ut=_((bX,_1)=>{var k6=b1();_1.exports=function(e){return k6(e.length)}});var T1=_((_X,I1)=>{var N6=Kr(),q6=v1(),B6=Ut(),S1=function(e){return function(t,r,n){var i=N6(t),a=B6(i),s=q6(n,a),o;if(e&&r!=r){for(;a>s;)if(o=i[s++],o!=o)return!0}else for(;a>s;s++)if((e||s in i)&&i[s]===r)return e||s||0;return!e&&-1}};I1.exports={includes:S1(!0),indexOf:S1(!1)}});var Xo=_((SX,A1)=>{var V6=Pe(),jo=pt(),G6=Kr(),z6=T1().indexOf,H6=Ti(),x1=V6([].push);A1.exports=function(e,t){var r=G6(e),n=0,i=[],a;for(a in r)!jo(H6,a)&&jo(r,a)&&x1(i,a);for(;t.length>n;)jo(r,a=t[n++])&&(~z6(i,a)||x1(i,a));return i}});var Ci=_((IX,P1)=>{P1.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var w1=_(C1=>{var W6=Xo(),U6=Ci(),j6=U6.concat("length","prototype");C1.f=Object.getOwnPropertyNames||function(t){return W6(t,j6)}});var O1=_(M1=>{M1.f=Object.getOwnPropertySymbols});var D1=_((AX,F1)=>{var X6=it(),K6=Pe(),$6=w1(),Y6=O1(),Q6=dt(),Z6=K6([].concat);F1.exports=X6("Reflect","ownKeys")||function(t){var r=$6.f(Q6(t)),n=Y6.f;return n?Z6(r,n(t)):r}});var L1=_((PX,R1)=>{var J6=pt(),e4=D1(),t4=Lo(),r4=Ht();R1.exports=function(e,t){for(var r=e4(t),n=r4.f,i=t4.f,a=0;a<r.length;a++){var s=r[a];J6(e,s)||n(e,s,i(t,s))}}});var N1=_((CX,k1)=>{var n4=It(),i4=Oe(),a4=/#|\.prototype\./,Qr=function(e,t){var r=o4[s4(e)];return r==u4?!0:r==l4?!1:i4(t)?n4(t):!!t},s4=Qr.normalize=function(e){return String(e).replace(a4,".").toLowerCase()},o4=Qr.data={},l4=Qr.NATIVE="N",u4=Qr.POLYFILL="P";k1.exports=Qr});var jt=_((wX,q1)=>{var Ko=ce(),c4=Lo().f,h4=_i(),f4=Pi(),p4=Ei(),d4=L1(),m4=N1();q1.exports=function(e,t){var r=e.target,n=e.global,i=e.stat,a,s,o,l,p,c;if(n?s=Ko:i?s=Ko[r]||p4(r,{}):s=(Ko[r]||{}).prototype,s)for(o in t){if(p=t[o],e.noTargetGet?(c=c4(s,o),l=c&&c.value):l=s[o],a=m4(n?o:r+(i?".":"#")+o,e.forced),!a&&l!==void 0){if(typeof p==typeof l)continue;d4(p,l)}(e.sham||l&&l.sham)&&h4(p,"sham",!0),f4(s,o,p,e)}}});var wi=_((MX,G1)=>{var B1=Pe(),g4=Er(),V1=B1(B1.bind);G1.exports=function(e,t){return g4(e),t===void 0?e:V1?V1(e,t):function(){return e.apply(t,arguments)}}});var W1=_((OX,H1)=>{var y4=at(),v4=y4("toStringTag"),z1={};z1[v4]="z";H1.exports=String(z1)==="[object z]"});var $o=_((FX,U1)=>{var E4=ce(),b4=W1(),_4=Oe(),Mi=gi(),S4=at(),I4=S4("toStringTag"),T4=E4.Object,x4=Mi(function(){return arguments}())=="Arguments",A4=function(e,t){try{return e[t]}catch{}};U1.exports=b4?Mi:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=A4(t=T4(e),I4))=="string"?r:x4?Mi(t):(n=Mi(t))=="Object"&&_4(t.callee)?"Arguments":n}});var Qo=_((DX,$1)=>{var P4=Pe(),C4=It(),j1=Oe(),w4=$o(),M4=it(),O4=Si(),X1=function(){},F4=[],K1=M4("Reflect","construct"),Yo=/^\s*(?:class|function)\b/,D4=P4(Yo.exec),R4=!Yo.exec(X1),Zr=function(e){if(!j1(e))return!1;try{return K1(X1,F4,e),!0}catch{return!1}},L4=function(e){if(!j1(e))return!1;switch(w4(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return R4||!!D4(Yo,O4(e))};$1.exports=!K1||C4(function(){var e;return Zr(Zr.call)||!Zr(Object)||!Zr(function(){e=!0})||e})?L4:Zr});var J1=_((RX,Z1)=>{var Zo=Function.prototype,Y1=Zo.apply,k4=Zo.bind,Q1=Zo.call;Z1.exports=typeof Reflect=="object"&&Reflect.apply||(k4?Q1.bind(Y1):function(){return Q1.apply(Y1,arguments)})});var tE=_((LX,eE)=>{var N4=Xo(),q4=Ci();eE.exports=Object.keys||function(t){return N4(t,q4)}});var nE=_((kX,rE)=>{var B4=ht(),V4=Ht(),G4=dt(),z4=Kr(),H4=tE();rE.exports=B4?Object.defineProperties:function(t,r){G4(t);for(var n=z4(r),i=H4(r),a=i.length,s=0,o;a>s;)V4.f(t,o=i[s++],n[o]);return t}});var aE=_((NX,iE)=>{var W4=it();iE.exports=W4("document","documentElement")});var Jr=_((qX,fE)=>{var U4=dt(),j4=nE(),sE=Ci(),X4=Ti(),K4=aE(),$4=Do(),Y4=Ii(),oE=">",lE="<",el="prototype",tl="script",cE=Y4("IE_PROTO"),Jo=function(){},hE=function(e){return lE+tl+oE+e+lE+"/"+tl+oE},uE=function(e){e.write(hE("")),e.close();var t=e.parentWindow.Object;return e=null,t},Q4=function(){var e=$4("iframe"),t="java"+tl+":",r;return e.style.display="none",K4.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(hE("document.F=Object")),r.close(),r.F},Oi,Fi=function(){try{Oi=new ActiveXObject("htmlfile")}catch{}Fi=typeof document<"u"?document.domain&&Oi?uE(Oi):Q4():uE(Oi);for(var e=sE.length;e--;)delete Fi[el][sE[e]];return Fi()};X4[cE]=!0;fE.exports=Object.create||function(t,r){var n;return t!==null?(Jo[el]=U4(t),n=new Jo,Jo[el]=null,n[cE]=t):n=Fi(),r===void 0?n:j4(n,r)}});var dE=_((BX,pE)=>{var Z4=Pi();pE.exports=function(e,t,r){for(var n in t)Z4(e,n,t[n],r);return e}});var gE=_((VX,mE)=>{var J4=It();mE.exports=!J4(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})});var EE=_((GX,vE)=>{var ez=ce(),tz=pt(),rz=Oe(),nz=ft(),iz=Ii(),az=gE(),yE=iz("IE_PROTO"),rl=ez.Object,sz=rl.prototype;vE.exports=az?rl.getPrototypeOf:function(e){var t=nz(e);if(tz(t,yE))return t[yE];var r=t.constructor;return rz(r)&&t instanceof r?r.prototype:t instanceof rl?sz:null}});var CE=_((zX,PE)=>{var TE=ce(),xE=$r(),AE=Oe(),oz=Jr(),Di=EE(),lz=Pi(),uz=at(),cz=wo(),bE="USE_FUNCTION_CONSTRUCTOR",_E=uz("asyncIterator"),SE=TE.AsyncIterator,IE=xE.AsyncIteratorPrototype,st,nl;if(IE)st=IE;else if(AE(SE))st=SE.prototype;else if(xE[bE]||TE[bE])try{nl=Di(Di(Di(Function("return async function*(){}()")()))),Di(nl)===Object.prototype&&(st=nl)}catch{}st?cz&&(st=oz(st)):st={};AE(st[_E])||lz(st,_E,function(){return this});PE.exports=st});var ol=_((HX,FE)=>{"use strict";var il=J1(),Ri=dt(),hz=Jr(),wE=Gt(),fz=dE(),ME=zo(),pz=it(),dz=CE(),Li=pz("Promise"),mz=ME.set,al=ME.get,sl=function(e,t,r){var n=e.done;Li.resolve(e.value).then(function(i){t({done:n,value:i})},r)},OE=function(t){mz(this,{iterator:Ri(t),next:t.next})};OE.prototype=fz(hz(dz),{next:function(t){var r=al(this),n=!!arguments.length;return new Li(function(i,a){var s=Ri(il(r.next,r.iterator,n?[t]:[]));sl(s,i,a)})},return:function(e){var t=al(this).iterator,r=!!arguments.length;return new Li(function(n,i){var a=wE(t,"return");if(a===void 0)return n({done:!0,value:e});var s=Ri(il(a,t,r?[e]:[]));sl(s,n,i)})},throw:function(e){var t=al(this).iterator,r=!!arguments.length;return new Li(function(n,i){var a=wE(t,"throw");if(a===void 0)return i(e);var s=Ri(il(a,t,r?[e]:[]));sl(s,n,i)})}});FE.exports=OE});var RE=_((WX,DE)=>{DE.exports={}});var ll=_((UX,kE)=>{var gz=$o(),LE=Gt(),yz=RE(),vz=at(),Ez=vz("iterator");kE.exports=function(e){if(e!=null)return LE(e,Ez)||LE(e,"@@iterator")||yz[gz(e)]}});var ul=_((jX,NE)=>{var bz=ce(),_z=Bt(),Sz=Er(),Iz=dt(),Tz=xo(),xz=ll(),Az=bz.TypeError;NE.exports=function(e,t){var r=arguments.length<2?xz(e):t;if(Sz(r))return Iz(_z(r,e));throw Az(Tz(e)+" is not iterable")}});var BE=_((XX,qE)=>{var Pz=Bt(),Cz=ol(),wz=dt(),Mz=ul(),Oz=Gt(),Fz=at(),Dz=Fz("asyncIterator");qE.exports=function(e,t){var r=arguments.length<2?Oz(e,Dz):t;return r?wz(Pz(r,e)):new Cz(Mz(e))}});var GE=_((KX,VE)=>{var Rz=ce();VE.exports=function(e){return Rz[e].prototype}});var UE=_(($X,WE)=>{"use strict";var Lz=ce(),zE=Bt(),HE=Er(),cl=dt(),kz=it(),Nz=Gt(),qz=9007199254740991,Bz=Lz.TypeError,en=function(e){var t=e==0,r=e==1,n=e==2,i=e==3;return function(a,s,o){cl(a);var l=kz("Promise"),p=HE(a.next),c=0,h=s!==void 0;return(h||!t)&&HE(s),new l(function(g,d){var f=function(y,v){try{var E=Nz(a,"return");if(E)return l.resolve(zE(E,a)).then(function(){y(v)},function(b){d(b)})}catch(b){return d(b)}y(v)},m=function(y){f(d,y)},u=function(){try{if(t&&c>qz&&h)throw Bz("The allowed number of iterations has been exceeded");l.resolve(cl(zE(p,a))).then(function(y){try{if(cl(y).done)t?(o.length=c,g(o)):g(i?!1:n||void 0);else{var v=y.value;h?l.resolve(t?s(v,c):s(v)).then(function(E){r?u():n?E?u():f(g,!1):t?(o[c++]=E,u()):E?f(g,i||v):u()},m):(o[c++]=v,u())}}catch(E){m(E)}},m)}catch(y){m(y)}};u()})}};WE.exports={toArray:en(0),forEach:en(1),every:en(2),some:en(3),find:en(4)}});var XE=_((YX,jE)=>{"use strict";var Vz=wi(),Gz=ft(),zz=Qo(),Hz=BE(),Wz=ul(),Uz=ll(),jz=Gt(),Xz=GE(),Kz=it(),$z=at(),Yz=ol(),Qz=UE().toArray,Zz=$z("asyncIterator"),Jz=Xz("Array").values;jE.exports=function(t){var r=this,n=arguments.length,i=n>1?arguments[1]:void 0,a=n>2?arguments[2]:void 0;return new(Kz("Promise"))(function(s){var o=Gz(t);i!==void 0&&(i=Vz(i,a));var l=jz(o,Zz),p=l?void 0:Uz(o)||Jz,c=zz(r)?new r:[],h=l?Hz(o,l):new Yz(Wz(o,p));s(Qz(h,i,c))})}});var KE=_(()=>{var e8=jt(),t8=XE();e8({target:"Array",stat:!0},{fromAsync:t8})});var hl=_((JX,$E)=>{var r8=gi();$E.exports=Array.isArray||function(t){return r8(t)=="Array"}});var fl=_((eK,ZE)=>{var n8=ce(),YE=hl(),i8=Qo(),a8=Vt(),s8=at(),o8=s8("species"),QE=n8.Array;ZE.exports=function(e){var t;return YE(e)&&(t=e.constructor,i8(t)&&(t===QE||YE(t.prototype))?t=void 0:a8(t)&&(t=t[o8],t===null&&(t=void 0))),t===void 0?QE:t}});var pl=_((tK,JE)=>{var l8=fl();JE.exports=function(e,t){return new(l8(e))(t===0?0:t)}});var dl=_((rK,tb)=>{var u8=wi(),c8=Pe(),h8=yi(),f8=ft(),p8=Ut(),d8=pl(),eb=c8([].push),xt=function(e){var t=e==1,r=e==2,n=e==3,i=e==4,a=e==6,s=e==7,o=e==5||a;return function(l,p,c,h){for(var g=f8(l),d=h8(g),f=u8(p,c),m=p8(d),u=0,y=h||d8,v=t?y(l,m):r||s?y(l,0):void 0,E,b;m>u;u++)if((o||u in d)&&(E=d[u],b=f(E,u,g),e))if(t)v[u]=b;else if(b)switch(e){case 3:return!0;case 5:return E;case 6:return u;case 2:eb(v,E)}else switch(e){case 4:return!1;case 7:eb(v,E)}return a?-1:n||i?i:v}};tb.exports={forEach:xt(0),map:xt(1),filter:xt(2),some:xt(3),every:xt(4),find:xt(5),findIndex:xt(6),filterReject:xt(7)}});var Xt=_((nK,rb)=>{var m8=at(),g8=Jr(),y8=Ht(),ml=m8("unscopables"),gl=Array.prototype;gl[ml]==null&&y8.f(gl,ml,{configurable:!0,value:g8(null)});rb.exports=function(e){gl[ml][e]=!0}});var nb=_(()=>{"use strict";var v8=jt(),E8=dl().filterReject,b8=Xt();v8({target:"Array",proto:!0},{filterOut:function(t){return E8(this,t,arguments.length>1?arguments[1]:void 0)}});b8("filterOut")});var ib=_(()=>{"use strict";var _8=jt(),S8=dl().filterReject,I8=Xt();_8({target:"Array",proto:!0},{filterReject:function(t){return S8(this,t,arguments.length>1?arguments[1]:void 0)}});I8("filterReject")});var sb=_((lK,ab)=>{ab.exports=function(e,t){for(var r=0,n=t.length,i=new e(n);n>r;)i[r]=t[r++];return i}});var ub=_((uK,lb)=>{var T8=ce(),x8=wi(),A8=Pe(),P8=yi(),C8=ft(),w8=bi(),M8=Ut(),O8=Jr(),F8=sb(),D8=T8.Array,R8=A8([].push);lb.exports=function(e,t,r,n){for(var i=C8(e),a=P8(i),s=x8(t,r),o=O8(null),l=M8(a),p=0,c,h,g;l>p;p++)g=a[p],h=w8(s(g,p,i)),h in o?R8(o[h],g):o[h]=[g];if(n&&(c=n(i),c!==D8))for(h in o)o[h]=F8(c,o[h]);return o}});var cb=_(()=>{"use strict";var L8=jt(),k8=ub(),N8=fl(),q8=Xt();L8({target:"Array",proto:!0},{groupBy:function(t){var r=arguments.length>1?arguments[1]:void 0;return k8(this,t,r,N8)}});q8("groupBy")});var pb=_(()=>{var B8=jt(),V8=hl(),hb=Object.isFrozen,fb=function(e,t){if(!hb||!V8(e)||!hb(e))return!1;for(var r=0,n=e.length,i;r<n;)if(i=e[r++],!(typeof i=="string"||t&&typeof i>"u"))return!1;return n!==0};B8({target:"Array",stat:!0},{isTemplateObject:function(t){if(!fb(t,!0))return!1;var r=t.raw;return!(r.length!==t.length||!fb(r,!1))}})});var db=_(()=>{"use strict";var G8=ht(),z8=Xt(),H8=ft(),W8=Ut(),U8=Ht().f;G8&&!("lastIndex"in[])&&(U8(Array.prototype,"lastIndex",{configurable:!0,get:function(){var t=H8(this),r=W8(t);return r==0?0:r-1}}),z8("lastIndex"))});var yb=_(()=>{"use strict";var j8=ht(),X8=Xt(),mb=ft(),gb=Ut(),K8=Ht().f;j8&&!("lastItem"in[])&&(K8(Array.prototype,"lastItem",{configurable:!0,get:function(){var t=mb(this),r=gb(t);return r==0?void 0:t[r-1]},set:function(t){var r=mb(this),n=gb(r);return r[n==0?0:n-1]=t}}),X8("lastItem"))});var bb=_((vK,Eb)=>{"use strict";var $8=it(),ki=Pe(),Y8=Er(),Q8=Ut(),Z8=ft(),J8=pl(),vb=$8("Map"),yl=vb.prototype,e9=ki(yl.forEach),t9=ki(yl.has),r9=ki(yl.set),n9=ki([].push);Eb.exports=function(t){var r=Z8(this),n=Q8(r),i=J8(r,0),a=new vb,s=t!=null?Y8(t):function(c){return c},o,l,p;for(o=0;o<n;o++)l=r[o],p=s(l),t9(a,p)||r9(a,p,l);return e9(a,function(c){n9(i,c)}),i}});var _b=_(()=>{"use strict";var i9=jt(),a9=Xt(),s9=bb();i9({target:"Array",proto:!0},{uniqueBy:s9});a9("uniqueBy")});var Bb=_(Il=>{"use strict";Object.defineProperty(Il,"__esModule",{value:!0});function o9(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}o9(Il,{strFromU8:function(){return qb},unzip:function(){return b9}});var Sb={},l9=function(e,t,r,n,i){let a=new Worker(Sb[t]||(Sb[t]=URL.createObjectURL(new Blob([e+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return a.onmessage=function(s){let o=s.data,l=o.$e$;if(l){let p=new Error(l[0]);p.code=l[1],p.stack=l[2],i(p,null)}else i(null,o)},a.postMessage(r,n),a},De=Uint8Array,Pt=Uint16Array,vl=Uint32Array,El=new De([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),bl=new De([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ab=new De([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Pb=function(e,t){let r=new Pt(31);for(var n=0;n<31;++n)r[n]=t+=1<<e[n-1];let i=new vl(r[30]);for(n=1;n<30;++n)for(let a=r[n];a<r[n+1];++a)i[a]=a-r[n]<<5|n;return[r,i]},Cb=Pb(El,2),_l=Cb[0],u9=Cb[1];_l[28]=258,u9[258]=28;var c9=Pb(bl,0),wb=c9[0],Vi=new Pt(32768);for(me=0;me<32768;++me){let e=(43690&me)>>>1|(21845&me)<<1;e=(52428&e)>>>2|(13107&e)<<2,e=(61680&e)>>>4|(3855&e)<<4,Vi[me]=((65280&e)>>>8|(255&e)<<8)>>>1}var me,_r=function(e,t,r){let n=e.length,i=0,a=new Pt(t);for(;i<n;++i)e[i]&&++a[e[i]-1];let s=new Pt(t);for(i=0;i<t;++i)s[i]=s[i-1]+a[i-1]<<1;let o;if(r){o=new Pt(1<<t);let l=15-t;for(i=0;i<n;++i)if(e[i]){let p=i<<4|e[i],c=t-e[i],h=s[e[i]-1]++<<c;for(let g=h|(1<<c)-1;h<=g;++h)o[Vi[h]>>>l]=p}}else for(o=new Pt(n),i=0;i<n;++i)e[i]&&(o[i]=Vi[s[e[i]-1]++]>>>15-e[i]);return o},tn=new De(288);for(me=0;me<144;++me)tn[me]=8;for(me=144;me<256;++me)tn[me]=9;for(me=256;me<280;++me)tn[me]=7;for(me=280;me<288;++me)tn[me]=8;var Mb=new De(32);for(me=0;me<32;++me)Mb[me]=5;var Ob=_r(tn,9,1),Fb=_r(Mb,5,1),qi=function(e){let t=e[0];for(let r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},Ge=function(e,t,r){let n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},Bi=function(e,t){let r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},Db=function(e){return(e+7)/8|0},Gi=function(e,t,r){(t==null||t<0)&&(t=0),(r==null||r>e.length)&&(r=e.length);let n=new(e.BYTES_PER_ELEMENT===2?Pt:e.BYTES_PER_ELEMENT===4?vl:De)(r-t);return n.set(e.subarray(t,r)),n},Rb=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Fe=function(e,t,r){let n=new Error(t||Rb[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,Fe),!r)throw n;return n},Lb=function(e,t,r){let n=e.length;if(!n||r&&r.f&&!r.l)return t||new De(0);let i=!t||r,a=!r||r.i;r||(r={}),t||(t=new De(3*n));let s=function(b){let S=t.length;if(b>S){let T=new De(Math.max(2*S,b));T.set(t),t=T}},o=r.f||0,l=r.p||0,p=r.b||0,c=r.l,h=r.d,g=r.m,d=r.n,f=8*n;do{if(!c){o=Ge(e,l,1);let I=Ge(e,l+1,3);if(l+=3,!I){let x=e[(u=Db(l)+4)-4]|e[u-3]<<8,D=u+x;if(D>n){a&&Fe(0);break}i&&s(p+x),t.set(e.subarray(u,D),p),r.b=p+=x,r.p=l=8*D,r.f=o;continue}if(I===1)c=Ob,h=Fb,g=9,d=5;else if(I===2){let x=Ge(e,l,31)+257,D=Ge(e,l+10,15)+4,w=x+Ge(e,l+5,31)+1;l+=14;let C=new De(w),k=new De(19);for(var m=0;m<D;++m)k[Ab[m]]=Ge(e,l+3*m,7);l+=3*D;let O=qi(k),M=(1<<O)-1,q=_r(k,O,1);for(m=0;m<w;){let X=q[Ge(e,l,M)];var u;if(l+=15&X,(u=X>>>4)<16)C[m++]=u;else{var y=0;let P=0;for(u===16?(P=3+Ge(e,l,3),l+=2,y=C[m-1]):u===17?(P=3+Ge(e,l,7),l+=3):u===18&&(P=11+Ge(e,l,127),l+=7);P--;)C[m++]=y}}let z=C.subarray(0,x);var v=C.subarray(x);g=qi(z),d=qi(v),c=_r(z,g,1),h=_r(v,d,1)}else Fe(1);if(l>f){a&&Fe(0);break}}i&&s(p+131072);let b=(1<<g)-1,S=(1<<d)-1,T=l;for(;;T=l){let I=(y=c[Bi(e,l)&b])>>>4;if(l+=15&y,l>f){a&&Fe(0);break}if(y||Fe(2),I<256)t[p++]=I;else{if(I===256){T=l,c=null;break}{let x=I-254;if(I>264){var E=El[m=I-257];x=Ge(e,l,(1<<E)-1)+_l[m],l+=E}let D=h[Bi(e,l)&S],w=D>>>4;if(D||Fe(3),l+=15&D,v=wb[w],w>3&&(E=bl[w],v+=Bi(e,l)&(1<<E)-1,l+=E),l>f){a&&Fe(0);break}i&&s(p+131072);let C=p+x;for(;p<C;p+=4)t[p]=t[p-v],t[p+1]=t[p+1-v],t[p+2]=t[p+2-v],t[p+3]=t[p+3-v];p=C}}}r.l=c,r.p=T,r.b=p,r.f=o,c&&(o=1,r.m=g,r.d=h,r.n=d)}while(!o);return p===t.length?t:Gi(t,0,p)},h9=function(e,t){let r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},Ib=function(e,t,r){let n=e(),i=e.toString(),a=i.slice(i.indexOf("[")+1,i.lastIndexOf("]")).replace(/\s+/g,"").split(",");for(let s=0;s<n.length;++s){let o=n[s],l=a[s];if(typeof o=="function"){t+=";"+l+"=";let p=o.toString();if(o.prototype)if(p.indexOf("[native code]")!==-1){let c=p.indexOf(" ",8)+1;t+=p.slice(c,p.indexOf("(",c))}else{t+=p;for(let c in o.prototype)t+=";"+l+".prototype."+c+"="+o.prototype[c].toString()}else t+=p}else r[l]=o}return[t,r]},Ni=[],f9=function(e){let t=[];for(let r in e)e[r].buffer&&t.push((e[r]=new e[r].constructor(e[r])).buffer);return t},p9=function(e,t,r,n){let i;if(!Ni[r]){let s="",o={},l=e.length-1;for(let p=0;p<l;++p)i=Ib(e[p],s,o),s=i[0],o=i[1];Ni[r]=Ib(e[l],s,o)}let a=h9({},Ni[r][1]);return l9(Ni[r][0]+";onmessage=function(e){for(var kz in e.data)self[kz]=e.data[kz];onmessage="+t.toString()+"}",r,a,f9(a),n)},d9=function(){return[De,Pt,vl,El,bl,Ab,_l,wb,Ob,Fb,Vi,Rb,_r,qi,Ge,Bi,Db,Gi,Fe,Lb,Sl,kb,Nb]},kb=function(e){return postMessage(e,[e.buffer])},Nb=function(e){return e&&e.size&&new De(e.size)},m9=function(e,t,r,n,i,a){var s=p9(r,n,i,function(o,l){s.terminate(),a(o,l)});return s.postMessage([e,t],t.consume?[e.buffer]:[]),function(){s.terminate()}},At=function(e,t){return e[t]|e[t+1]<<8},mt=function(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0};function g9(e,t,r){return r||(r=t,t={}),typeof r!="function"&&Fe(7),m9(e,t,[d9],function(n){return kb(Sl(n.data[0],Nb(n.data[1])))},1,r)}function Sl(e,t){return Lb(e,t)}var Tb=typeof TextDecoder<"u"&&new TextDecoder,y9=function(e){for(let t="",r=0;;){let n=e[r++],i=(n>127)+(n>223)+(n>239);if(r+i>e.length)return[t,Gi(e,r-1)];i?i===3?(n=((15&n)<<18|(63&e[r++])<<12|(63&e[r++])<<6|63&e[r++])-65536,t+=String.fromCharCode(55296|n>>10,56320|1023&n)):t+=1&i?String.fromCharCode((31&n)<<6|63&e[r++]):String.fromCharCode((15&n)<<12|(63&e[r++])<<6|63&e[r++]):t+=String.fromCharCode(n)}};function qb(e,t){if(t){let r="";for(let n=0;n<e.length;n+=16384)r+=String.fromCharCode.apply(null,e.subarray(n,n+16384));return r}if(Tb)return Tb.decode(e);{let r=y9(e),n=r[0];return r[1].length&&Fe(8),n}}var v9=function(e,t){return t+30+At(e,t+26)+At(e,t+28)},E9=function(e,t,r){let n=At(e,t+28),i=qb(e.subarray(t+46,t+46+n),!(2048&At(e,t+8))),a=t+46+n,s=mt(e,t+20),o=r&&s===4294967295?z64e(e,a):[s,mt(e,t+24),mt(e,t+42)],l=o[0],p=o[1],c=o[2];return[At(e,t+10),l,p,i,a+At(e,t+30)+At(e,t+32),c]},xb=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(e){e()};function b9(e,t,r){r||(r=t,t={}),typeof r!="function"&&Fe(7);let n=[],i=function(){for(let p=0;p<n.length;++p)n[p]()},a={},s=function(p,c){xb(function(){r(p,c)})};xb(function(){s=r});let o=e.length-22;for(;mt(e,o)!==101010256;--o)if(!o||e.length-o>65558)return s(Fe(13,0,1),null),i;let l=At(e,o+8);if(l){let p=l,c=mt(e,o+16),h=c===4294967295||p===65535;if(h){let f=mt(e,o-12);h=mt(e,f)===101075792,h&&(p=l=mt(e,f+32),c=mt(e,f+48))}let g=t&&t.filter,d=function(){let f=E9(e,c,h),m=f[0],u=f[1],y=f[2],v=f[3],E=f[4],b=f[5],S=v9(e,b);c=E;let T=function(I,x){I?(i(),s(I,null)):(x&&(a[v]=x),--l||s(null,a))};if(!g||g({name:v,size:u,originalSize:y,compression:m}))if(m)if(m===8){let I=e.subarray(S,S+u);if(u<32e4)try{T(null,Sl(I,new De(y)))}catch(x){T(x,null)}else n.push(g9(I,{size:y},T))}else T(Fe(14,"unknown compression type "+m,1),null);else T(null,Gi(e,S,S+u));else T(null,null)};for(let f=0;f<p;++f)d(f)}else s(null,{});return i}});var zb=_(Tl=>{"use strict";Object.defineProperty(Tl,"__esModule",{value:!0});function _9(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}_9(Tl,{fetchLottie:function(){return C9},unZipDotLottie:function(){return Gb}});var Vb=Bb();function S9(e){let t=JSON.parse(e);if(!("animations"in t))throw new Error("Manifest not found");if(t.animations.length===0)throw new Error("No animations listed in the manifest");return t}function I9(e){let t=new Uint8Array(e,0,32);return t[0]===80&&t[1]===75&&t[2]===3&&t[3]===4}async function T9(e){return await fetch(new URL(e,window?.location?.href).href).then(t=>t.arrayBuffer())}async function x9(e){return(await new Promise(r=>{let n=new FileReader;n.readAsDataURL(new Blob([e])),n.onload=()=>r(n.result)})).split(",",2)[1]}async function A9(e){let t=new Uint8Array(e),r=await new Promise((n,i)=>{(0,Vb.unzip)(t,(a,s)=>a?i(a):n(s))});return{read:n=>(0,Vb.strFromU8)(r[n]),readB64:async n=>await x9(r[n])}}async function P9(e,t){if(!("assets"in e))return e;async function r(i){let{p:a}=i;if(a==null||t.read(`images/${a}`)==null)return i;let s=a.split(".").pop(),o=await t.readB64(`images/${a}`);if(s?.startsWith("data:"))return i.p=s,i.e=1,i;switch(s){case"svg":case"svg+xml":i.p=`data:image/svg+xml;base64,${o}`;break;case"png":case"jpg":case"jpeg":case"gif":case"webp":i.p=`data:image/${s};base64,${o}`;break;default:i.p=`data:;base64,${o}`}return i.e=1,i}return(await Promise.all(e.assets.map(r))).map((i,a)=>{e.assets[a]=i}),e}async function Gb(e){let t=await A9(e),r=S9(t.read("manifest.json"));return(await Promise.all(r.animations.map(i=>{let a=JSON.parse(t.read(`animations/${i.id}.json`));return P9(a,t)})))[0]}async function C9(e){let t=await T9(e);return I9(t)?await Gb(t):JSON.parse(new TextDecoder().decode(t))}});var Xb=_(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});function w9(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}w9(wl,{cleanupElement:function(){return Cl},createInstance:function(){return Ub},destroy:function(){return R9},init:function(){return jb},ready:function(){return L9}});KE();nb();ib();cb();pb();db();yb();_b();var xl=O9($a()),M9=zb();function O9(e){return e&&e.__esModule?e:{default:e}}var F9=e=>e.Webflow.require("lottie").lottie,D9=e=>!!(e.Webflow.env("design")||e.Webflow.env("preview")),rn={Playing:"playing",Stopped:"stopped"},Al=class{_cache=[];set(t,r){let n=(0,xl.default)(this._cache,({wrapper:i})=>i===t);n!==-1&&this._cache.splice(n,1),this._cache.push({wrapper:t,instance:r})}delete(t){let r=(0,xl.default)(this._cache,({wrapper:n})=>n===t);r!==-1&&this._cache.splice(r,1)}get(t){let r=(0,xl.default)(this._cache,({wrapper:n})=>n===t);return r!==-1?this._cache[r].instance:null}},zi=new Al,Hb={},Pl=class{config=null;currentState=rn.Stopped;animationItem;handlers={enterFrame:[],complete:[],loop:[],dataReady:[],destroy:[],error:[]};load(t){let n=(t.dataset||Hb).src||"";n.endsWith(".lottie")?(0,M9.fetchLottie)(n).then(i=>{this._loadAnimation(t,i)}):this._loadAnimation(t,void 0),zi.set(t,this),this.container=t}_loadAnimation(t,r){let n=t.dataset||Hb,i=n.src||"",a=n.preserveAspectRatio||"xMidYMid meet",s=n.renderer||"svg",o=parseFloat(n.loop)===1,l=parseFloat(n.direction)||1,p=parseFloat(n.autoplay)===1,c=parseFloat(n.duration)||0,h=parseFloat(n.isIx2Target)===1,g=parseFloat(n.ix2InitialState);isNaN(g)&&(g=null);let d={src:i,loop:o,autoplay:p,renderer:s,direction:l,duration:c,hasIx2:h,ix2InitialValue:g,preserveAspectRatio:a};if(this.animationItem&&this.config&&this.config.src===i&&s===this.config.renderer&&a===this.config.preserveAspectRatio){if(o!==this.config.loop&&this.setLooping(o),h||(l!==this.config.direction&&this.setDirection(l),c!==this.config.duration&&(c>0&&c!==this.duration?this.setSpeed(this.duration/c):this.setSpeed(1))),p&&this.play(),g&&g!==this.config.ix2InitialValue){let u=g/100;this.goToFrame(this.frames*u)}this.config=d;return}let f={container:t,loop:o,autoplay:p,renderer:s,rendererSettings:{preserveAspectRatio:a,progressiveLoad:!0,hideOnTransparent:!0}},m=t.ownerDocument.defaultView;try{this.animationItem&&this.destroy(),this.animationItem=F9(m).loadAnimation({...f,...r?{animationData:r}:{path:i}})}catch(u){this.handlers.error.forEach(y=>y(u));return}this.animationItem&&(D9(m)&&(this.animationItem.addEventListener("enterFrame",()=>{if(!this.isPlaying)return;let{currentFrame:u,totalFrames:y,playDirection:v}=this.animationItem,E=u/y*100,b=Math.round(v===1?E:100-E);this.handlers.enterFrame.forEach(S=>S(b,u))}),this.animationItem.addEventListener("complete",()=>{if(this.currentState!==rn.Playing){this.handlers.complete.forEach(u=>u());return}if(!this.animationItem.loop){this.handlers.complete.forEach(u=>u());return}this.currentState=rn.Stopped}),this.animationItem.addEventListener("loopComplete",u=>{this.handlers.loop.forEach(y=>y(u))}),this.animationItem.addEventListener("data_failed",u=>{this.handlers.error.forEach(y=>y(u))}),this.animationItem.addEventListener("error",u=>{this.handlers.error.forEach(y=>y(u))})),this.isLoaded?(this.handlers.dataReady.forEach(u=>u()),p&&this.play()):this.animationItem.addEventListener("data_ready",()=>{if(this.handlers.dataReady.forEach(u=>u()),h||(this.setDirection(l),c>0&&c!==this.duration&&this.setSpeed(this.duration/c),p&&this.play()),g){let u=g/100;this.goToFrame(this.frames*u)}}),this.config=d)}onFrameChange(t){this.handlers.enterFrame.indexOf(t)===-1&&this.handlers.enterFrame.push(t)}onPlaybackComplete(t){this.handlers.complete.indexOf(t)===-1&&this.handlers.complete.push(t)}onLoopComplete(t){this.handlers.loop.indexOf(t)===-1&&this.handlers.loop.push(t)}onDestroy(t){this.handlers.destroy.indexOf(t)===-1&&this.handlers.destroy.push(t)}onDataReady(t){this.handlers.dataReady.indexOf(t)===-1&&this.handlers.dataReady.push(t)}onError(t){this.handlers.error.indexOf(t)===-1&&this.handlers.error.push(t)}play(){if(!this.animationItem)return;let t=this.animationItem.playDirection===1?0:this.frames;this.animationItem.goToAndPlay(t,!0),this.currentState=rn.Playing}stop(){if(this.animationItem){if(this.isPlaying){let{playDirection:t}=this.animationItem,r=t===1?0:this.frames;this.animationItem.goToAndStop(r,!0)}this.currentState=rn.Stopped}}destroy(){this.animationItem&&(this.isPlaying&&this.stop(),this.handlers.destroy.forEach(t=>t()),this.container&&zi.delete(this.container),this.animationItem.destroy(),Object.keys(this.handlers).forEach(t=>this.handlers[t].length=0),this.animationItem=null,this.container=null,this.config=null)}get isPlaying(){return this.animationItem?!this.animationItem.isPaused:!1}get isPaused(){return this.animationItem?this.animationItem.isPaused:!1}get duration(){return this.animationItem?this.animationItem.getDuration():0}get frames(){return this.animationItem?this.animationItem.totalFrames:0}get direction(){return this.animationItem?this.animationItem.playDirection:1}get isLoaded(){return this.animationItem,this.animationItem.isLoaded}get ix2InitialValue(){return this.config?this.config.ix2InitialValue:null}goToFrame(t){this.animationItem&&this.animationItem.setCurrentRawFrameValue(t)}setSubframe(t){this.animationItem&&this.animationItem.setSubframe(t)}setSpeed(t=1){this.animationItem&&(this.isPlaying&&this.stop(),this.animationItem.setSpeed(t))}setLooping(t){this.animationItem&&(this.isPlaying&&this.stop(),this.animationItem.loop=t)}setDirection(t){this.animationItem&&(this.isPlaying&&this.stop(),this.animationItem.setDirection(t),this.goToFrame(t===1?0:this.frames))}},Wb=()=>Array.from(document.querySelectorAll('[data-animation-type="lottie"]')),Ub=e=>{let t=zi.get(e);return t==null&&(t=new Pl),t.load(e),t},Cl=e=>{let t=zi.get(e);t&&t.destroy()},jb=()=>{Wb().forEach(e=>{parseFloat(e.getAttribute("data-is-ix2-target"))===1||Cl(e),Ub(e)})},R9=()=>{Wb().forEach(Cl)},L9=jb});var Kb=_((exports,module)=>{typeof navigator<"u"&&function(e,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis<"u"?globalThis:e||self).lottie=t()}(exports,function(){"use strict";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,n,i=e.length;for(r=0;r<i;r+=1)for(var a in n=e[r].prototype)Object.prototype.hasOwnProperty.call(n,a)&&(t.prototype[a]=n[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(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].pause()},resume:function(){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].resume()},setRate:function(t){var r,n=this.audios.length;for(r=0;r<n;r+=1)this.audios[r].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(t,r){var n,i=0,a=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1}for(i=0;i<r;i+=1)a.push(n);return a}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?function(t,r){return t==="float32"?new Float32Array(r):t==="int16"?new Int16Array(r):t==="uint8c"?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}function _typeof$6(e){return _typeof$6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$6(e)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}(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(_typeof$6(e)==="object"&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}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,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<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}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(e,t,r){var n,i,a,s,o,l,p,c;switch(l=r*(1-t),p=r*(1-(o=6*e-(s=Math.floor(6*e)))*t),c=r*(1-(1-o)*t),s%6){case 0:n=r,i=c,a=l;break;case 1:n=p,i=r,a=l;break;case 2:n=l,i=r,a=c;break;case 3:n=l,i=p,a=r;break;case 4:n=c,i=l,a=r;break;case 5:n=r,i=l,a=p}return[n,i,a]}function RGBtoHSV(e,t,r){var n,i=Math.max(e,t,r),a=Math.min(e,t,r),s=i-a,o=i===0?0:s/i,l=i/255;switch(i){case a:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+2*s,n/=6*s;break;case r:n=e-t+4*s,n/=6*s}return[n,o,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]=t.length===1?"0"+t:t;return function(n,i,a){return n<0&&(n=0),i<0&&(i=0),a<0&&(a=0),"#"+r[n]+r[i]+r[a]}}(),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},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],i={onmessage:function(){},postMessage:function(l){e({data:l})}},a={postMessage:function(l){i.onmessage({data:l})}};function s(){t||(t=function(l){if(window.Worker&&window.Blob&&getWebWorker()){var p=new Blob(["var _workerSelf = self; self.onmessage = ",l.toString()],{type:"text/javascript"}),c=URL.createObjectURL(p);return new Worker(c)}return e=l,i}(function(l){if(a.dataManager||(a.dataManager=function(){function c(I,x){var D,w,C,k,O,M,q=I.length;for(w=0;w<q;w+=1)if("ks"in(D=I[w])&&!D.completed){if(D.completed=!0,D.hasMask){var z=D.masksProperties;for(k=z.length,C=0;C<k;C+=1)if(z[C].pt.k.i)d(z[C].pt.k);else for(M=z[C].pt.k.length,O=0;O<M;O+=1)z[C].pt.k[O].s&&d(z[C].pt.k[O].s[0]),z[C].pt.k[O].e&&d(z[C].pt.k[O].e[0])}D.ty===0?(D.layers=h(D.refId,x),c(D.layers,x)):D.ty===4?g(D.shapes):D.ty===5&&S(D)}}function h(I,x){var D=function(w,C){for(var k=0,O=C.length;k<O;){if(C[k].id===w)return C[k];k+=1}return null}(I,x);return D?D.layers.__used?JSON.parse(JSON.stringify(D.layers)):(D.layers.__used=!0,D.layers):null}function g(I){var x,D,w;for(x=I.length-1;x>=0;x-=1)if(I[x].ty==="sh")if(I[x].ks.k.i)d(I[x].ks.k);else for(w=I[x].ks.k.length,D=0;D<w;D+=1)I[x].ks.k[D].s&&d(I[x].ks.k[D].s[0]),I[x].ks.k[D].e&&d(I[x].ks.k[D].e[0]);else I[x].ty==="gr"&&g(I[x].it)}function d(I){var x,D=I.i.length;for(x=0;x<D;x+=1)I.i[x][0]+=I.v[x][0],I.i[x][1]+=I.v[x][1],I.o[x][0]+=I.v[x][0],I.o[x][1]+=I.v[x][1]}function f(I,x){var D=x?x.split("."):[100,100,100];return I[0]>D[0]||!(D[0]>I[0])&&(I[1]>D[1]||!(D[1]>I[1])&&(I[2]>D[2]||!(D[2]>I[2])&&null))}var m,u=function(){var I=[4,4,14];function x(D){var w,C,k,O=D.length;for(w=0;w<O;w+=1)D[w].ty===5&&(k=void 0,k=(C=D[w]).t.d,C.t.d={k:[{s:k,t:0}]})}return function(D){if(f(I,D.v)&&(x(D.layers),D.assets)){var w,C=D.assets.length;for(w=0;w<C;w+=1)D.assets[w].layers&&x(D.assets[w].layers)}}}(),y=(m=[4,7,99],function(I){if(I.chars&&!f(m,I.v)){var x,D=I.chars.length;for(x=0;x<D;x+=1){var w=I.chars[x];w.data&&w.data.shapes&&(g(w.data.shapes),w.data.ip=0,w.data.op=99999,w.data.st=0,w.data.sr=1,w.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}},I.chars[x].t||(w.data.shapes.push({ty:"no"}),w.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"})))}}}),v=function(){var I=[5,7,15];function x(D){var w,C,k=D.length;for(w=0;w<k;w+=1)D[w].ty===5&&(C=void 0,typeof(C=D[w].t.p).a=="number"&&(C.a={a:0,k:C.a}),typeof C.p=="number"&&(C.p={a:0,k:C.p}),typeof C.r=="number"&&(C.r={a:0,k:C.r}))}return function(D){if(f(I,D.v)&&(x(D.layers),D.assets)){var w,C=D.assets.length;for(w=0;w<C;w+=1)D.assets[w].layers&&x(D.assets[w].layers)}}}(),E=function(){var I=[4,1,9];function x(w){var C,k,O,M=w.length;for(C=0;C<M;C+=1)if(w[C].ty==="gr")x(w[C].it);else if(w[C].ty==="fl"||w[C].ty==="st")if(w[C].c.k&&w[C].c.k[0].i)for(O=w[C].c.k.length,k=0;k<O;k+=1)w[C].c.k[k].s&&(w[C].c.k[k].s[0]/=255,w[C].c.k[k].s[1]/=255,w[C].c.k[k].s[2]/=255,w[C].c.k[k].s[3]/=255),w[C].c.k[k].e&&(w[C].c.k[k].e[0]/=255,w[C].c.k[k].e[1]/=255,w[C].c.k[k].e[2]/=255,w[C].c.k[k].e[3]/=255);else w[C].c.k[0]/=255,w[C].c.k[1]/=255,w[C].c.k[2]/=255,w[C].c.k[3]/=255}function D(w){var C,k=w.length;for(C=0;C<k;C+=1)w[C].ty===4&&x(w[C].shapes)}return function(w){if(f(I,w.v)&&(D(w.layers),w.assets)){var C,k=w.assets.length;for(C=0;C<k;C+=1)w.assets[C].layers&&D(w.assets[C].layers)}}}(),b=function(){var I=[4,4,18];function x(w){var C,k,O;for(C=w.length-1;C>=0;C-=1)if(w[C].ty==="sh")if(w[C].ks.k.i)w[C].ks.k.c=w[C].closed;else for(O=w[C].ks.k.length,k=0;k<O;k+=1)w[C].ks.k[k].s&&(w[C].ks.k[k].s[0].c=w[C].closed),w[C].ks.k[k].e&&(w[C].ks.k[k].e[0].c=w[C].closed);else w[C].ty==="gr"&&x(w[C].it)}function D(w){var C,k,O,M,q,z,X=w.length;for(k=0;k<X;k+=1){if((C=w[k]).hasMask){var P=C.masksProperties;for(M=P.length,O=0;O<M;O+=1)if(P[O].pt.k.i)P[O].pt.k.c=P[O].cl;else for(z=P[O].pt.k.length,q=0;q<z;q+=1)P[O].pt.k[q].s&&(P[O].pt.k[q].s[0].c=P[O].cl),P[O].pt.k[q].e&&(P[O].pt.k[q].e[0].c=P[O].cl)}C.ty===4&&x(C.shapes)}}return function(w){if(f(I,w.v)&&(D(w.layers),w.assets)){var C,k=w.assets.length;for(C=0;C<k;C+=1)w.assets[C].layers&&D(w.assets[C].layers)}}}();function S(I){I.t.a.length===0&&I.t.p}var T={completeData:function(I){I.__complete||(E(I),u(I),y(I),v(I),b(I),c(I.layers,I.assets),function(x,D){if(x){var w=0,C=x.length;for(w=0;w<C;w+=1)x[w].t===1&&(x[w].data.layers=h(x[w].data.refId,D),c(x[w].data.layers,D))}}(I.chars,I.assets),I.__complete=!0)}};return T.checkColors=E,T.checkChars=y,T.checkPathProperties=v,T.checkShapes=b,T.completeLayers=c,T}()),a.assetLoader||(a.assetLoader=function(){function c(h){var g=h.getResponseHeader("content-type");return g&&h.responseType==="json"&&g.indexOf("json")!==-1||h.response&&_typeof$5(h.response)==="object"?h.response:h.response&&typeof h.response=="string"?JSON.parse(h.response):h.responseText?JSON.parse(h.responseText):null}return{load:function(h,g,d,f){var m,u=new XMLHttpRequest;try{u.responseType="json"}catch{}u.onreadystatechange=function(){if(u.readyState===4)if(u.status===200)m=c(u),d(m);else try{m=c(u),d(m)}catch(y){f&&f(y)}};try{u.open(["G","E","T"].join(""),h,!0)}catch{u.open(["G","E","T"].join(""),g+"/"+h,!0)}u.send()}}}()),l.data.type==="loadAnimation")a.assetLoader.load(l.data.path,l.data.fullPath,function(c){a.dataManager.completeData(c),a.postMessage({id:l.data.id,payload:c,status:"success"})},function(){a.postMessage({id:l.data.id,status:"error"})});else if(l.data.type==="complete"){var p=l.data.animation;a.dataManager.completeData(p),a.postMessage({id:l.data.id,payload:p,status:"success"})}else l.data.type==="loadData"&&a.assetLoader.load(l.data.path,l.data.fullPath,function(c){a.postMessage({id:l.data.id,payload:c,status:"success"})},function(){a.postMessage({id:l.data.id,status:"error"})})}),t.onmessage=function(l){var p=l.data,c=p.id,h=n[c];n[c]=null,p.status==="success"?h.onComplete(p.payload):h.onError&&h.onError()})}function o(l,p){var c="processId_"+(r+=1);return n[c]={onComplete:l,onError:p},c}return{loadAnimation:function(l,p,c){s();var h=o(p,c);t.postMessage({type:"loadAnimation",path:l,fullPath:window.location.origin+window.location.pathname,id:h})},loadData:function(l,p,c){s();var h=o(p,c);t.postMessage({type:"loadData",path:l,fullPath:window.location.origin+window.location.pathname,id:h})},completeAnimation:function(l,p,c){s();var h=o(p,c);t.postMessage({type:"complete",animation:l,id:h})}}}(),ImagePreloader=function(){var e=function(){var o=createTag("canvas");o.width=1,o.height=1;var l=o.getContext("2d");return l.fillStyle="rgba(0,0,0,0)",l.fillRect(0,0,1,1),o}();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 n(o,l,p){var c="";if(o.e)c=o.p;else if(l){var h=o.p;h.indexOf("images/")!==-1&&(h=h.split("/")[1]),c=l+h}else c=p,c+=o.u?o.u:"",c+=o.p;return c}function i(o){var l=0,p=setInterval(function(){(o.getBBox().width||l>500)&&(this._imageLoaded(),clearInterval(p)),l+=1}.bind(this),50)}function a(o){var l={assetData:o},p=n(o,this.assetsPath,this.path);return dataManager.loadData(p,function(c){l.img=c,this._footageLoaded()}.bind(this),function(){l.img={},this._footageLoaded()}.bind(this)),l}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.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 s.prototype={loadAssets:function(o,l){var p;this.imagesLoadedCb=l;var c=o.length;for(p=0;p<c;p+=1)o[p].layers||(o[p].t&&o[p].t!=="seq"?o[p].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(o[p]))):(this.totalImages+=1,this.images.push(this._createImageData(o[p]))))},setAssetsPath:function(o){this.assetsPath=o||""},setPath:function(o){this.path=o||""},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(o){for(var l=0,p=this.images.length;l<p;){if(this.images[l].assetData===o)return this.images[l].img;l+=1}return null},createImgData:function(o){var l=n(o,this.assetsPath,this.path),p=createTag("img");p.crossOrigin="anonymous",p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",function(){c.img=e,this._imageLoaded()}.bind(this),!1),p.src=l;var c={img:p,assetData:o};return c},createImageData:function(o){var l=n(o,this.assetsPath,this.path),p=createNS("image");isSafari?this.testImageLoaded(p):p.addEventListener("load",this._imageLoaded,!1),p.addEventListener("error",function(){c.img=e,this._imageLoaded()}.bind(this),!1),p.setAttributeNS("http://www.w3.org/1999/xlink","href",l),this._elementHelper.append?this._elementHelper.append(p):this._elementHelper.appendChild(p);var c={img:p,assetData:o};return c},imageLoaded:t,footageLoaded:r,setCacheType:function(o,l){o==="svg"?(this._elementHelper=l,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],n=0;n<r.length;n+=1)r[n](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,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var markerParser=function(){function e(t){for(var r,n=t.split(`\r
`),i={},a=0,s=0;s<n.length;s+=1)(r=n[s].split(":")).length===2&&(i[r[0]]=r[1].trim(),a+=1);if(a===0)throw new Error;return i}return function(t){for(var r=[],n=0;n<t.length;n+=1){var i=t[n],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(t[n].cm)}catch{try{a.payload=e(t[n].cm)}catch{a.payload={name:t[n].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(r){for(var n=0,i=this.compositions.length;n<i;){if(this.compositions[n].data&&this.compositions[n].data.nm===r)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=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=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_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),this.expressionsPlugin=getExpressionsPlugin()};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===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?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&&(e.path.lastIndexOf("\\")!==-1?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&&_typeof$4(t)!=="object"&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";i==="false"?r.loop=!1:i==="true"?r.loop=!0:i!==""&&(r.loop=parseInt(i,10));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay=a!=="false",r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"",(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")==="false"&&(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,n=this.animationData.layers,i=n.length,a=e.layers,s=a.length;for(r=0;r<s;r+=1)for(t=0;t<i;){if(n[t].id===a[r].id){n[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(i=e.assets.length,t=0;t<i;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||e.length===0||!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(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var 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=typeof e=="number"?e:void 0,n=typeof t=="number"?t:void 0;this.renderer.updateContainerSize(r,n)},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(this.isLoaded!==!1&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?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 n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.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 n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(this.isPaused!==!0&&this.isLoaded!==!1){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&&this.loop!==!0?(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,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,n=e.length;for(r=0;r<n;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.expressionsPlugin=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;r.indexOf("images/")!==-1&&(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{}},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)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),e==="destroy"&&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,n=0,i=0,a=!0,s=!1;function o(m){for(var u=0,y=m.target;u<n;)t[u].animation===y&&(t.splice(u,1),u-=1,n-=1,y.isPaused||c()),u+=1}function l(m,u){if(!m)return null;for(var y=0;y<n;){if(t[y].elem===m&&t[y].elem!==null)return t[y].animation;y+=1}var v=new AnimationItem;return h(v,m),v.setData(m,u),v}function p(){i+=1,f()}function c(){i-=1}function h(m,u){m.addEventListener("destroy",o),m.addEventListener("_active",p),m.addEventListener("_idle",c),t.push({elem:u,animation:m}),n+=1}function g(m){var u,y=m-r;for(u=0;u<n;u+=1)t[u].animation.advanceTime(y);r=m,i&&!s?window.requestAnimationFrame(g):a=!0}function d(m){r=m,window.requestAnimationFrame(g)}function f(){!s&&i&&a&&(window.requestAnimationFrame(d),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(m){var u=new AnimationItem;return h(u,null),u.setParams(m),u},e.setSpeed=function(m,u){var y;for(y=0;y<n;y+=1)t[y].animation.setSpeed(m,u)},e.setDirection=function(m,u){var y;for(y=0;y<n;y+=1)t[y].animation.setDirection(m,u)},e.play=function(m){var u;for(u=0;u<n;u+=1)t[u].animation.play(m)},e.pause=function(m){var u;for(u=0;u<n;u+=1)t[u].animation.pause(m)},e.stop=function(m){var u;for(u=0;u<n;u+=1)t[u].animation.stop(m)},e.togglePause=function(m){var u;for(u=0;u<n;u+=1)t[u].animation.togglePause(m)},e.searchAnimations=function(m,u,y){var v,E=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),b=E.length;for(v=0;v<b;v+=1)y&&E[v].setAttribute("data-bm-type",y),l(E[v],m);if(u&&b===0){y||(y="svg");var S=document.getElementsByTagName("body")[0];S.innerText="";var T=createTag("div");T.style.width="100%",T.style.height="100%",T.setAttribute("data-bm-type",y),S.appendChild(T),l(T,m)}},e.resize=function(){var m;for(m=0;m<n;m+=1)t[m].animation.resize()},e.goToAndStop=function(m,u,y){var v;for(v=0;v<n;v+=1)t[v].animation.goToAndStop(m,u,y)},e.destroy=function(m){var u;for(u=n-1;u>=0;u-=1)t[u].animation.destroy(m)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,f()},e.setVolume=function(m,u){var y;for(y=0;y<n;y+=1)t[y].animation.setVolume(m,u)},e.mute=function(m){var u;for(u=0;u<n;u+=1)t[u].animation.mute(m)},e.unmute=function(m){var u;for(u=0;u<n;u+=1)t[u].animation.unmute(m)},e.getRegisteredAnimations=function(){var m,u=t.length,y=[];for(m=0;m<u;m+=1)y.push(t[m].animation);return y},e}(),BezierFactory=function(){var e={getBezierEasing:function(c,h,g,d,f){var m=f||("bez_"+c+"_"+h+"_"+g+"_"+d).replace(/\./g,"p");if(t[m])return t[m];var u=new p([c,h,g,d]);return t[m]=u,u}},t={},r=.1,n=typeof Float32Array=="function";function i(c,h){return 1-3*h+3*c}function a(c,h){return 3*h-6*c}function s(c){return 3*c}function o(c,h,g){return((i(h,g)*c+a(h,g))*c+s(h))*c}function l(c,h,g){return 3*i(h,g)*c*c+2*a(h,g)*c+s(h)}function p(c){this._p=c,this._mSampleValues=n?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return p.prototype={get:function(c){var h=this._p[0],g=this._p[1],d=this._p[2],f=this._p[3];return this._precomputed||this._precompute(),h===g&&d===f?c:c===0?0:c===1?1:o(this._getTForX(c),g,f)},_precompute:function(){var c=this._p[0],h=this._p[1],g=this._p[2],d=this._p[3];this._precomputed=!0,c===h&&g===d||this._calcSampleValues()},_calcSampleValues:function(){for(var c=this._p[0],h=this._p[2],g=0;g<11;++g)this._mSampleValues[g]=o(g*r,c,h)},_getTForX:function(c){for(var h=this._p[0],g=this._p[2],d=this._mSampleValues,f=0,m=1;m!==10&&d[m]<=c;++m)f+=r;var u=f+(c-d[--m])/(d[m+1]-d[m])*r,y=l(u,h,g);return y>=.001?function(v,E,b,S){for(var T=0;T<4;++T){var I=l(E,b,S);if(I===0)return E;E-=(o(E,b,S)-v)/I}return E}(c,u,h,g):y===0?u:function(v,E,b,S,T){var I,x,D=0;do(I=o(x=E+(b-E)/2,S,T)-v)>0?b=x:E=x;while(Math.abs(I)>1e-7&&++D<10);return x}(c,f,f+r,h,g)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,i=e,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:t()},release:function(s){n===i&&(a=pooling.double(a),i*=2),r&&r(s),a[n]=s,n+=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(p,c,h,g,d,f){var m=p*g+c*d+h*f-d*g-f*p-h*c;return m>-.001&&m<.001}var r=function(p,c,h,g){var d,f,m,u,y,v,E=getDefaultCurveSegments(),b=0,S=[],T=[],I=bezierLengthPool.newElement();for(m=h.length,d=0;d<E;d+=1){for(y=d/(E-1),v=0,f=0;f<m;f+=1)u=bmPow(1-y,3)*p[f]+3*bmPow(1-y,2)*y*h[f]+3*(1-y)*bmPow(y,2)*g[f]+bmPow(y,3)*c[f],S[f]=u,T[f]!==null&&(v+=bmPow(S[f]-T[f],2)),T[f]=S[f];v&&(b+=v=bmSqrt(v)),I.percents[d]=y,I.lengths[d]=b}return I.addedLength=b,I};function n(p){this.segmentLength=0,this.points=new Array(p)}function i(p,c){this.partialLength=p,this.point=c}var a,s=(a={},function(p,c,h,g){var d=(p[0]+"_"+p[1]+"_"+c[0]+"_"+c[1]+"_"+h[0]+"_"+h[1]+"_"+g[0]+"_"+g[1]).replace(/\./g,"p");if(!a[d]){var f,m,u,y,v,E,b,S=getDefaultCurveSegments(),T=0,I=null;p.length===2&&(p[0]!==c[0]||p[1]!==c[1])&&t(p[0],p[1],c[0],c[1],p[0]+h[0],p[1]+h[1])&&t(p[0],p[1],c[0],c[1],c[0]+g[0],c[1]+g[1])&&(S=2);var x=new n(S);for(u=h.length,f=0;f<S;f+=1){for(b=createSizedArray(u),v=f/(S-1),E=0,m=0;m<u;m+=1)y=bmPow(1-v,3)*p[m]+3*bmPow(1-v,2)*v*(p[m]+h[m])+3*(1-v)*bmPow(v,2)*(c[m]+g[m])+bmPow(v,3)*c[m],b[m]=y,I!==null&&(E+=bmPow(b[m]-I[m],2));T+=E=bmSqrt(E),x.points[f]=new i(E,b),I=b}x.segmentLength=T,a[d]=x}return a[d]});function o(p,c){var h=c.percents,g=c.lengths,d=h.length,f=bmFloor((d-1)*p),m=p*c.addedLength,u=0;if(f===d-1||f===0||m===g[f])return h[f];for(var y=g[f]>m?-1:1,v=!0;v;)if(g[f]<=m&&g[f+1]>m?(u=(m-g[f])/(g[f+1]-g[f]),v=!1):f+=y,f<0||f>=d-1){if(f===d-1)return h[f];v=!1}return h[f]+(h[f+1]-h[f])*u}var l=createTypedArray("float32",8);return{getSegmentsLength:function(p){var c,h=segmentsLengthPool.newElement(),g=p.c,d=p.v,f=p.o,m=p.i,u=p._length,y=h.lengths,v=0;for(c=0;c<u-1;c+=1)y[c]=r(d[c],d[c+1],f[c],m[c+1]),v+=y[c].addedLength;return g&&u&&(y[c]=r(d[c],d[0],f[c],m[0]),v+=y[c].addedLength),h.totalLength=v,h},getNewSegment:function(p,c,h,g,d,f,m){d<0?d=0:d>1&&(d=1);var u,y=o(d,m),v=o(f=f>1?1:f,m),E=p.length,b=1-y,S=1-v,T=b*b*b,I=y*b*b*3,x=y*y*b*3,D=y*y*y,w=b*b*S,C=y*b*S+b*y*S+b*b*v,k=y*y*S+b*y*v+y*b*v,O=y*y*v,M=b*S*S,q=y*S*S+b*v*S+b*S*v,z=y*v*S+b*v*v+y*S*v,X=y*v*v,P=S*S*S,V=v*S*S+S*v*S+S*S*v,j=v*v*S+S*v*v+v*S*v,F=v*v*v;for(u=0;u<E;u+=1)l[4*u]=e.round(1e3*(T*p[u]+I*h[u]+x*g[u]+D*c[u]))/1e3,l[4*u+1]=e.round(1e3*(w*p[u]+C*h[u]+k*g[u]+O*c[u]))/1e3,l[4*u+2]=e.round(1e3*(M*p[u]+q*h[u]+z*g[u]+X*c[u]))/1e3,l[4*u+3]=e.round(1e3*(P*p[u]+V*h[u]+j*g[u]+F*c[u]))/1e3;return l},getPointInSegment:function(p,c,h,g,d,f){var m=o(d,f),u=1-m;return[e.round(1e3*(u*u*u*p[0]+(m*u*u+u*m*u+u*u*m)*h[0]+(m*m*u+u*m*m+m*u*m)*g[0]+m*m*m*c[0]))/1e3,e.round(1e3*(u*u*u*p[1]+(m*u*u+u*m*u+u*u*m)*h[1]+(m*m*u+u*m*m+m*u*m)*g[1]+m*m*m*c[1]))/1e3]},buildBezierData:s,pointOnLine2D:t,pointOnLine3D:function(p,c,h,g,d,f,m,u,y){if(h===0&&f===0&&y===0)return t(p,c,g,d,m,u);var v,E=e.sqrt(e.pow(g-p,2)+e.pow(d-c,2)+e.pow(f-h,2)),b=e.sqrt(e.pow(m-p,2)+e.pow(u-c,2)+e.pow(y-h,2)),S=e.sqrt(e.pow(m-g,2)+e.pow(u-d,2)+e.pow(y-f,2));return(v=E>b?E>S?E-b-S:S-b-E:S>b?S-b-E:b-E-S)>-1e-4&&v<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var r,n=this.offsetTime;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var i,a,s,o,l,p,c,h,g,d=t.lastIndex,f=d,m=this.keyframes.length-1,u=!0;u;){if(i=this.keyframes[f],a=this.keyframes[f+1],f===m-1&&e>=a.t-n){i.h&&(i=a),d=0;break}if(a.t-n>e){d=f;break}f<m-1?f+=1:(d=0,u=!1)}s=this.keyframesMetadata[f]||{};var y,v=a.t-n,E=i.t-n;if(i.to){s.bezierData||(s.bezierData=bez.buildBezierData(i.s,a.s||i.e,i.to,i.ti));var b=s.bezierData;if(e>=v||e<E){var S=e>=v?b.points.length-1:0;for(l=b.points[S].point.length,o=0;o<l;o+=1)r[o]=b.points[S].point[o]}else{s.__fnct?g=s.__fnct:(g=BezierFactory.getBezierEasing(i.o.x,i.o.y,i.i.x,i.i.y,i.n).get,s.__fnct=g),p=g((e-E)/(v-E));var T,I=b.segmentLength*p,x=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastPoint:0,u=!0,c=b.points.length;u;){if(x+=b.points[h].partialLength,I===0||p===0||h===b.points.length-1){for(l=b.points[h].point.length,o=0;o<l;o+=1)r[o]=b.points[h].point[o];break}if(I>=x&&I<x+b.points[h+1].partialLength){for(T=(I-x)/b.points[h+1].partialLength,l=b.points[h].point.length,o=0;o<l;o+=1)r[o]=b.points[h].point[o]+(b.points[h+1].point[o]-b.points[h].point[o])*T;break}h<c-1?h+=1:u=!1}t._lastPoint=h,t._lastAddedLength=x-b.points[h].partialLength,t._lastKeyframeIndex=f}}else{var D,w,C,k,O;if(m=i.s.length,y=a.s||i.e,this.sh&&i.h!==1)e>=v?(r[0]=y[0],r[1]=y[1],r[2]=y[2]):e<=E?(r[0]=i.s[0],r[1]=i.s[1],r[2]=i.s[2]):quaternionToEuler(r,slerp(createQuaternion(i.s),createQuaternion(y),(e-E)/(v-E)));else for(f=0;f<m;f+=1)i.h!==1&&(e>=v?p=1:e<E?p=0:(i.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[f]?g=s.__fnct[f]:(D=i.o.x[f]===void 0?i.o.x[0]:i.o.x[f],w=i.o.y[f]===void 0?i.o.y[0]:i.o.y[f],C=i.i.x[f]===void 0?i.i.x[0]:i.i.x[f],k=i.i.y[f]===void 0?i.i.y[0]:i.i.y[f],g=BezierFactory.getBezierEasing(D,w,C,k).get,s.__fnct[f]=g)):s.__fnct?g=s.__fnct:(D=i.o.x,w=i.o.y,C=i.i.x,k=i.i.y,g=BezierFactory.getBezierEasing(D,w,C,k).get,i.keyframeMetadata=g),p=g((e-E)/(v-E)))),y=a.s||i.e,O=i.h===1?i.s[f]:i.s[f]+(y[f]-i.s[f])*p,this.propType==="multidimensional"?r[f]=O:r=O}return t.lastIndex=d,r}function slerp(e,t,r){var n,i,a,s,o,l=[],p=e[0],c=e[1],h=e[2],g=e[3],d=t[0],f=t[1],m=t[2],u=t[3];return(i=p*d+c*f+h*m+g*u)<0&&(i=-i,d=-d,f=-f,m=-m,u=-u),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),s=Math.sin((1-r)*n)/a,o=Math.sin(r*n)/a):(s=1-r,o=r),l[0]=s*p+o*d,l[1]=s*c+o*f,l[2]=s*h+o*m,l[3]=s*g+o*u,l}function quaternionToEuler(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],s=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),o=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);e[0]=s/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,i=Math.cos(t/2),a=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(t/2),l=Math.sin(r/2),p=Math.sin(n/2);return[o*l*s+i*a*p,o*a*s+i*l*p,i*l*s-o*a*p,i*a*s-o*l*p]}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 n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r<n;)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,n){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=n,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,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,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),i=0;i<a;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(e,t,r,n){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=n,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,n){var i;this.propType="multidimensional";var a,s,o,l,p=t.k.length;for(i=0;i<p-1;i+=1)t.k[i].to&&t.k[i].s&&t.k[i+1]&&t.k[i+1].s&&(a=t.k[i].s,s=t.k[i+1].s,o=t.k[i].to,l=t.k[i].ti,(a.length===2&&(a[0]!==s[0]||a[1]!==s[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],a[0]+o[0],a[1]+o[1])&&bez.pointOnLine2D(a[0],a[1],s[0],s[1],s[0]+l[0],s[1]+l[1])||a.length===3&&(a[0]!==s[0]||a[1]!==s[1]||a[2]!==s[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],a[0]+o[0],a[1]+o[1],a[2]+o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],s[0],s[1],s[2],s[0]+l[0],s[1]+l[1],s[2]+l[2]))&&(t.k[i].to=null,t.k[i].ti=null),a[0]===s[0]&&a[1]===s[1]&&o[0]===0&&o[1]===0&&l[0]===0&&l[1]===0&&(a.length===2||a[2]===s[2]&&o[2]===0&&l[2]===0)&&(t.k[i].to=null,t.k[i].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=n,this.comp=e.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var c=t.k[0].s.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),i=0;i<c;i+=1)this.v[i]=initFrame,this.pv[i]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",c)},this.addEffect=addEffect}var PropertyFactory={getProp:function(e,t,r,n,i){var a;if(t.sid&&(t=e.globalData.slotManager.getProp(t)),t.k.length)if(typeof t.k[0]=="number")a=new MultiDimensionalProperty(e,t,n,i);else switch(r){case 0:a=new KeyframedValueProperty(e,t,n,i);break;case 1:a=new KeyframedMultidimensionalProperty(e,t,n,i)}else a=new ValueProperty(e,t,n,i);return a.effectsSequence.length&&i.addDynamicProperty(a),a}};function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(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,n,i){var a;switch(this._length=Math.max(this._length,n+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[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,a,s,o){this.setXYAt(e,t,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a<o;a+=1)e.setTripleAt(t[s][0],t[s][1],n[s][0],n[s][1],r[s][0],r[s][1],a,!1),s-=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(),n=e._length===void 0?e.v.length:e._length;for(r.setLength(n),r.c=e.c,t=0;t<n;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=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,r=e._length;for(t=0;t<r;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var e=-999999;function t(d,f,m){var u,y,v,E,b,S,T,I,x,D=m.lastIndex,w=this.keyframes;if(d<w[0].t-this.offsetTime)u=w[0].s[0],v=!0,D=0;else if(d>=w[w.length-1].t-this.offsetTime)u=w[w.length-1].s?w[w.length-1].s[0]:w[w.length-2].e[0],v=!0;else{for(var C,k,O,M=D,q=w.length-1,z=!0;z&&(C=w[M],!((k=w[M+1]).t-this.offsetTime>d));)M<q-1?M+=1:z=!1;if(O=this.keyframesMetadata[M]||{},D=M,!(v=C.h===1)){if(d>=k.t-this.offsetTime)I=1;else if(d<C.t-this.offsetTime)I=0;else{var X;O.__fnct?X=O.__fnct:(X=BezierFactory.getBezierEasing(C.o.x,C.o.y,C.i.x,C.i.y).get,O.__fnct=X),I=X((d-(C.t-this.offsetTime))/(k.t-this.offsetTime-(C.t-this.offsetTime)))}y=k.s?k.s[0]:C.e[0]}u=C.s[0]}for(S=f._length,T=u.i[0].length,m.lastIndex=D,E=0;E<S;E+=1)for(b=0;b<T;b+=1)x=v?u.i[E][b]:u.i[E][b]+(y.i[E][b]-u.i[E][b])*I,f.i[E][b]=x,x=v?u.o[E][b]:u.o[E][b]+(y.o[E][b]-u.o[E][b])*I,f.o[E][b]=x,x=v?u.v[E][b]:u.v[E][b]+(y.v[E][b]-u.v[E][b])*I,f.v[E][b]=x}function r(){var d=this.comp.renderedFrame-this.offsetTime,f=this.keyframes[0].t-this.offsetTime,m=this.keyframes[this.keyframes.length-1].t-this.offsetTime,u=this._caching.lastFrame;return u!==e&&(u<f&&d<f||u>m&&d>m)||(this._caching.lastIndex=u<d?this._caching.lastIndex:0,this.interpolateShape(d,this.pv,this._caching)),this._caching.lastFrame=d,this.pv}function n(){this.paths=this.localShapeCollection}function i(d){(function(f,m){if(f._length!==m._length||f.c!==m.c)return!1;var u,y=f._length;for(u=0;u<y;u+=1)if(f.v[u][0]!==m.v[u][0]||f.v[u][1]!==m.v[u][1]||f.o[u][0]!==m.o[u][0]||f.o[u][1]!==m.o[u][1]||f.i[u][0]!==m.i[u][0]||f.i[u][1]!==m.i[u][1])return!1;return!0})(this.v,d)||(this.v=shapePool.clone(d),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 d,f;this.lock=!0,this._mdf=!1,d=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var m=this.effectsSequence.length;for(f=0;f<m;f+=1)d=this.effectsSequence[f](d);this.setVValue(d),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(d,f,m){this.propType="shape",this.comp=d.comp,this.container=d,this.elem=d,this.data=f,this.k=!1,this.kf=!1,this._mdf=!1;var u=m===3?f.pt.k:f.ks.k;this.v=shapePool.clone(u),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function o(d){this.effectsSequence.push(d),this.container.addDynamicProperty(this)}function l(d,f,m){this.propType="shape",this.comp=d.comp,this.elem=d,this.container=d,this.offsetTime=d.data.st,this.keyframes=m===3?f.pt.k:f.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var u=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,u),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=a,s.prototype.setVValue=i,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=o;var p=function(){var d=roundCorner;function f(m,u){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=u.d,this.elem=m,this.comp=m.comp,this.frameId=-1,this.initDynamicPropertyContainer(m),this.p=PropertyFactory.getProp(m,u.p,1,0,this),this.s=PropertyFactory.getProp(m,u.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return f.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var m=this.p.v[0],u=this.p.v[1],y=this.s.v[0]/2,v=this.s.v[1]/2,E=this.d!==3,b=this.v;b.v[0][0]=m,b.v[0][1]=u-v,b.v[1][0]=E?m+y:m-y,b.v[1][1]=u,b.v[2][0]=m,b.v[2][1]=u+v,b.v[3][0]=E?m-y:m+y,b.v[3][1]=u,b.i[0][0]=E?m-y*d:m+y*d,b.i[0][1]=u-v,b.i[1][0]=E?m+y:m-y,b.i[1][1]=u-v*d,b.i[2][0]=E?m+y*d:m-y*d,b.i[2][1]=u+v,b.i[3][0]=E?m-y:m+y,b.i[3][1]=u+v*d,b.o[0][0]=E?m+y*d:m-y*d,b.o[0][1]=u-v,b.o[1][0]=E?m+y:m-y,b.o[1][1]=u+v*d,b.o[2][0]=E?m-y*d:m+y*d,b.o[2][1]=u+v,b.o[3][0]=E?m-y:m+y,b.o[3][1]=u-v*d}},extendPrototype([DynamicPropertyContainer],f),f}(),c=function(){function d(f,m){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=f,this.comp=f.comp,this.data=m,this.frameId=-1,this.d=m.d,this.initDynamicPropertyContainer(f),m.sy===1?(this.ir=PropertyFactory.getProp(f,m.ir,0,0,this),this.is=PropertyFactory.getProp(f,m.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(f,m.pt,0,0,this),this.p=PropertyFactory.getProp(f,m.p,1,0,this),this.r=PropertyFactory.getProp(f,m.r,0,degToRads,this),this.or=PropertyFactory.getProp(f,m.or,0,0,this),this.os=PropertyFactory.getProp(f,m.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 d.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var f,m,u,y,v=2*Math.floor(this.pt.v),E=2*Math.PI/v,b=!0,S=this.or.v,T=this.ir.v,I=this.os.v,x=this.is.v,D=2*Math.PI*S/(2*v),w=2*Math.PI*T/(2*v),C=-Math.PI/2;C+=this.r.v;var k=this.data.d===3?-1:1;for(this.v._length=0,f=0;f<v;f+=1){u=b?I:x,y=b?D:w;var O=(m=b?S:T)*Math.cos(C),M=m*Math.sin(C),q=O===0&&M===0?0:M/Math.sqrt(O*O+M*M),z=O===0&&M===0?0:-O/Math.sqrt(O*O+M*M);O+=+this.p.v[0],M+=+this.p.v[1],this.v.setTripleAt(O,M,O-q*y*u*k,M-z*y*u*k,O+q*y*u*k,M+z*y*u*k,f,!0),b=!b,C+=E*k}},convertPolygonToPath:function(){var f,m=Math.floor(this.pt.v),u=2*Math.PI/m,y=this.or.v,v=this.os.v,E=2*Math.PI*y/(4*m),b=.5*-Math.PI,S=this.data.d===3?-1:1;for(b+=this.r.v,this.v._length=0,f=0;f<m;f+=1){var T=y*Math.cos(b),I=y*Math.sin(b),x=T===0&&I===0?0:I/Math.sqrt(T*T+I*I),D=T===0&&I===0?0:-T/Math.sqrt(T*T+I*I);T+=+this.p.v[0],I+=+this.p.v[1],this.v.setTripleAt(T,I,T-x*E*v*S,I-D*E*v*S,T+x*E*v*S,I+D*E*v*S,f,!0),b+=u*S}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],d),d}(),h=function(){function d(f,m){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=f,this.comp=f.comp,this.frameId=-1,this.d=m.d,this.initDynamicPropertyContainer(f),this.p=PropertyFactory.getProp(f,m.p,1,0,this),this.s=PropertyFactory.getProp(f,m.s,1,0,this),this.r=PropertyFactory.getProp(f,m.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return d.prototype={convertRectToPath:function(){var f=this.p.v[0],m=this.p.v[1],u=this.s.v[0]/2,y=this.s.v[1]/2,v=bmMin(u,y,this.r.v),E=v*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(f+u,m-y+v,f+u,m-y+v,f+u,m-y+E,0,!0),this.v.setTripleAt(f+u,m+y-v,f+u,m+y-E,f+u,m+y-v,1,!0),v!==0?(this.v.setTripleAt(f+u-v,m+y,f+u-v,m+y,f+u-E,m+y,2,!0),this.v.setTripleAt(f-u+v,m+y,f-u+E,m+y,f-u+v,m+y,3,!0),this.v.setTripleAt(f-u,m+y-v,f-u,m+y-v,f-u,m+y-E,4,!0),this.v.setTripleAt(f-u,m-y+v,f-u,m-y+E,f-u,m-y+v,5,!0),this.v.setTripleAt(f-u+v,m-y,f-u+v,m-y,f-u+E,m-y,6,!0),this.v.setTripleAt(f+u-v,m-y,f+u-E,m-y,f+u-v,m-y,7,!0)):(this.v.setTripleAt(f-u,m+y,f-u+E,m+y,f-u,m+y,2),this.v.setTripleAt(f-u,m-y,f-u,m-y+E,f-u,m-y,3))):(this.v.setTripleAt(f+u,m-y+v,f+u,m-y+E,f+u,m-y+v,0,!0),v!==0?(this.v.setTripleAt(f+u-v,m-y,f+u-v,m-y,f+u-E,m-y,1,!0),this.v.setTripleAt(f-u+v,m-y,f-u+E,m-y,f-u+v,m-y,2,!0),this.v.setTripleAt(f-u,m-y+v,f-u,m-y+v,f-u,m-y+E,3,!0),this.v.setTripleAt(f-u,m+y-v,f-u,m+y-E,f-u,m+y-v,4,!0),this.v.setTripleAt(f-u+v,m+y,f-u+v,m+y,f-u+E,m+y,5,!0),this.v.setTripleAt(f+u-v,m+y,f+u-E,m+y,f+u-v,m+y,6,!0),this.v.setTripleAt(f+u,m+y-v,f+u,m+y-v,f+u,m+y-E,7,!0)):(this.v.setTripleAt(f-u,m-y,f-u+E,m-y,f-u,m-y,1,!0),this.v.setTripleAt(f-u,m+y,f-u,m+y-E,f-u,m+y,2,!0),this.v.setTripleAt(f+u,m+y,f+u-E,m+y,f+u,m+y,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],d),d}(),g={getShapeProp:function(d,f,m){var u;return m===3||m===4?u=(m===3?f.pt:f.ks).k.length?new l(d,f,m):new s(d,f,m):m===5?u=new h(d,f):m===6?u=new p(d,f):m===7&&(u=new c(d,f)),u.k&&d.addDynamicProperty(u),u},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return g}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(P){if(P===0)return this;var V=e(P),j=t(P);return this._t(V,-j,0,0,j,V,0,0,0,0,1,0,0,0,0,1)}function s(P){if(P===0)return this;var V=e(P),j=t(P);return this._t(1,0,0,0,0,V,-j,0,0,j,V,0,0,0,0,1)}function o(P){if(P===0)return this;var V=e(P),j=t(P);return this._t(V,0,j,0,0,1,0,0,-j,0,V,0,0,0,0,1)}function l(P){if(P===0)return this;var V=e(P),j=t(P);return this._t(V,-j,0,0,j,V,0,0,0,0,1,0,0,0,0,1)}function p(P,V){return this._t(1,V,P,1,0,0)}function c(P,V){return this.shear(r(P),r(V))}function h(P,V){var j=e(V),F=t(V);return this._t(j,F,0,0,-F,j,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(P),1,0,0,0,0,1,0,0,0,0,1)._t(j,-F,0,0,F,j,0,0,0,0,1,0,0,0,0,1)}function g(P,V,j){return j||j===0||(j=1),P===1&&V===1&&j===1?this:this._t(P,0,0,0,0,V,0,0,0,0,j,0,0,0,0,1)}function d(P,V,j,F,R,L,N,K,J,Z,Y,oe,ne,se,fe,he){return this.props[0]=P,this.props[1]=V,this.props[2]=j,this.props[3]=F,this.props[4]=R,this.props[5]=L,this.props[6]=N,this.props[7]=K,this.props[8]=J,this.props[9]=Z,this.props[10]=Y,this.props[11]=oe,this.props[12]=ne,this.props[13]=se,this.props[14]=fe,this.props[15]=he,this}function f(P,V,j){return j=j||0,P!==0||V!==0||j!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,P,V,j,1):this}function m(P,V,j,F,R,L,N,K,J,Z,Y,oe,ne,se,fe,he){var ee=this.props;if(P===1&&V===0&&j===0&&F===0&&R===0&&L===1&&N===0&&K===0&&J===0&&Z===0&&Y===1&&oe===0)return ee[12]=ee[12]*P+ee[15]*ne,ee[13]=ee[13]*L+ee[15]*se,ee[14]=ee[14]*Y+ee[15]*fe,ee[15]*=he,this._identityCalculated=!1,this;var ye=ee[0],Se=ee[1],xe=ee[2],A=ee[3],B=ee[4],G=ee[5],H=ee[6],U=ee[7],W=ee[8],Q=ee[9],te=ee[10],le=ee[11],$=ee[12],ie=ee[13],ae=ee[14],ve=ee[15];return ee[0]=ye*P+Se*R+xe*J+A*ne,ee[1]=ye*V+Se*L+xe*Z+A*se,ee[2]=ye*j+Se*N+xe*Y+A*fe,ee[3]=ye*F+Se*K+xe*oe+A*he,ee[4]=B*P+G*R+H*J+U*ne,ee[5]=B*V+G*L+H*Z+U*se,ee[6]=B*j+G*N+H*Y+U*fe,ee[7]=B*F+G*K+H*oe+U*he,ee[8]=W*P+Q*R+te*J+le*ne,ee[9]=W*V+Q*L+te*Z+le*se,ee[10]=W*j+Q*N+te*Y+le*fe,ee[11]=W*F+Q*K+te*oe+le*he,ee[12]=$*P+ie*R+ae*J+ve*ne,ee[13]=$*V+ie*L+ae*Z+ve*se,ee[14]=$*j+ie*N+ae*Y+ve*fe,ee[15]=$*F+ie*K+ae*oe+ve*he,this._identityCalculated=!1,this}function u(P){var V=P.props;return this.transform(V[0],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10],V[11],V[12],V[13],V[14],V[15])}function y(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function v(P){for(var V=0;V<16;){if(P.props[V]!==this.props[V])return!1;V+=1}return!0}function E(P){var V;for(V=0;V<16;V+=1)P.props[V]=this.props[V];return P}function b(P){var V;for(V=0;V<16;V+=1)this.props[V]=P[V]}function S(P,V,j){return{x:P*this.props[0]+V*this.props[4]+j*this.props[8]+this.props[12],y:P*this.props[1]+V*this.props[5]+j*this.props[9]+this.props[13],z:P*this.props[2]+V*this.props[6]+j*this.props[10]+this.props[14]}}function T(P,V,j){return P*this.props[0]+V*this.props[4]+j*this.props[8]+this.props[12]}function I(P,V,j){return P*this.props[1]+V*this.props[5]+j*this.props[9]+this.props[13]}function x(P,V,j){return P*this.props[2]+V*this.props[6]+j*this.props[10]+this.props[14]}function D(){var P=this.props[0]*this.props[5]-this.props[1]*this.props[4],V=this.props[5]/P,j=-this.props[1]/P,F=-this.props[4]/P,R=this.props[0]/P,L=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/P,N=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/P,K=new Matrix;return K.props[0]=V,K.props[1]=j,K.props[4]=F,K.props[5]=R,K.props[12]=L,K.props[13]=N,K}function w(P){return this.getInverseMatrix().applyToPointArray(P[0],P[1],P[2]||0)}function C(P){var V,j=P.length,F=[];for(V=0;V<j;V+=1)F[V]=w(P[V]);return F}function k(P,V,j){var F=createTypedArray("float32",6);if(this.isIdentity())F[0]=P[0],F[1]=P[1],F[2]=V[0],F[3]=V[1],F[4]=j[0],F[5]=j[1];else{var R=this.props[0],L=this.props[1],N=this.props[4],K=this.props[5],J=this.props[12],Z=this.props[13];F[0]=P[0]*R+P[1]*N+J,F[1]=P[0]*L+P[1]*K+Z,F[2]=V[0]*R+V[1]*N+J,F[3]=V[0]*L+V[1]*K+Z,F[4]=j[0]*R+j[1]*N+J,F[5]=j[0]*L+j[1]*K+Z}return F}function O(P,V,j){return this.isIdentity()?[P,V,j]:[P*this.props[0]+V*this.props[4]+j*this.props[8]+this.props[12],P*this.props[1]+V*this.props[5]+j*this.props[9]+this.props[13],P*this.props[2]+V*this.props[6]+j*this.props[10]+this.props[14]]}function M(P,V){if(this.isIdentity())return P+","+V;var j=this.props;return Math.round(100*(P*j[0]+V*j[4]+j[12]))/100+","+Math.round(100*(P*j[1]+V*j[5]+j[13]))/100}function q(){for(var P=0,V=this.props,j="matrix3d(";P<16;)j+=n(1e4*V[P])/1e4,j+=P===15?")":",",P+=1;return j}function z(P){return P<1e-6&&P>0||P>-1e-6&&P<0?n(1e4*P)/1e4:P}function X(){var P=this.props;return"matrix("+z(P[0])+","+z(P[1])+","+z(P[4])+","+z(P[5])+","+z(P[12])+","+z(P[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=h,this.shear=p,this.scale=g,this.setTransform=d,this.translate=f,this.transform=m,this.multiply=u,this.applyToPoint=S,this.applyToX=T,this.applyToY=I,this.applyToZ=x,this.applyToPointArray=O,this.applyToTriplePoints=k,this.applyToPointStringified=M,this.toCSS=q,this.to2dCSS=X,this.clone=E,this.cloneFromProps=b,this.equals=v,this.inversePoints=C,this.inversePoint=w,this.getInverseMatrix=D,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=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return standalone===!0&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator<"u"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[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.12.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{(typeof exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u"||typeof define=="function"&&define.amd||(window.bodymovin=lottie)}catch(e){}var ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(r,n){t[r]||(t[r]=n)},e.getModifier=function(r,n,i){return new t[r](n,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,n,i){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 s,o,l=[],p=a.length;for(s=0;s<p;s+=1){var c,h;(o=a[s]).e*i<n||o.s*i>n+r||(c=o.s*i<=n?0:(o.s*i-n)/r,h=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([c,h]))}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,n,i;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 s=t;t=r,r=s}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 o,l,p,c,h,g=this.shapes.length,d=0;if(r===t)for(i=0;i<g;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(r===1&&t===0||r===0&&t===1){if(this._mdf)for(i=0;i<g;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var f,m,u=[];for(i=0;i<g;i+=1)if((f=this.shapes[i]).shape._mdf||this._mdf||e||this.m===2){if(l=(n=f.shape.paths)._length,h=0,!f.shape._mdf&&f.pathsData.length)h=f.totalShapeLength;else{for(p=this.releasePathsData(f.pathsData),o=0;o<l;o+=1)c=bez.getSegmentsLength(n.shapes[o]),p.push(c),h+=c.totalLength;f.totalShapeLength=h,f.pathsData=p}d+=h,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,v=t,E=r,b=0;for(i=g-1;i>=0;i-=1)if((f=this.shapes[i]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),this.m===2&&g>1?(y=this.calculateShapeEdges(t,r,f.totalShapeLength,b,d),b+=f.totalShapeLength):y=[[v,E]],l=y.length,o=0;o<l;o+=1){v=y[o][0],E=y[o][1],u.length=0,E<=1?u.push({s:f.totalShapeLength*v,e:f.totalShapeLength*E}):v>=1?u.push({s:f.totalShapeLength*(v-1),e:f.totalShapeLength*(E-1)}):(u.push({s:f.totalShapeLength*v,e:f.totalShapeLength}),u.push({s:0,e:f.totalShapeLength*(E-1)}));var S=this.addShapes(f,u[0]);if(u[0].s!==u[0].e){if(u.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var T=S.pop();this.addPaths(S,m),S=this.addShapes(f,u[1],T)}else this.addPaths(S,m),S=this.addShapes(f,u[1]);this.addPaths(S,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,i,a,s){i.setXYAt(t[0],t[1],"o",a),i.setXYAt(r[0],r[1],"i",a+1),s&&i.setXYAt(e[0],e[1],"v",a),i.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&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 n,i,a,s,o,l,p,c,h=e.pathsData,g=e.shape.paths.shapes,d=e.shape.paths._length,f=0,m=[],u=!0;for(r?(o=r._length,c=r._length):(r=shapePool.newElement(),o=0,c=0),m.push(r),n=0;n<d;n+=1){for(l=h[n].lengths,r.c=g[n].c,a=g[n].c?l.length:l.length+1,i=1;i<a;i+=1)if(f+(s=l[i-1]).addedLength<t.s)f+=s.addedLength,r.c=!1;else{if(f>t.e){r.c=!1;break}t.s<=f&&t.e>=f+s.addedLength?(this.addSegment(g[n].v[i-1],g[n].o[i-1],g[n].i[i],g[n].v[i],r,o,u),u=!1):(p=bez.getNewSegment(g[n].v[i-1],g[n].v[i],g[n].o[i-1],g[n].i[i],(t.s-f)/s.addedLength,(t.e-f)/s.addedLength,l[i-1]),this.addSegmentFromArray(p,r,o,u),u=!1,r.c=!1),f+=s.addedLength,o+=1}if(g[n].c&&l.length){if(s=l[i-1],f<=t.e){var y=l[i-1].addedLength;t.s<=f&&t.e>=f+y?(this.addSegment(g[n].v[i-1],g[n].o[i-1],g[n].i[0],g[n].v[0],r,o,u),u=!1):(p=bez.getNewSegment(g[n].v[i-1],g[n].v[0],g[n].o[i-1],g[n].i[0],(t.s-f)/y,(t.e-f)/y,l[i-1]),this.addSegmentFromArray(p,r,o,u),u=!1,r.c=!1)}else r.c=!1;f+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>t.e)break;n<d-1&&(r=shapePool.newElement(),u=!0,m.push(r),o=0)}return m},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,n=[0,0],i=e._length,a=0;for(a=0;a<i;a+=1)n[0]+=e.v[a][0],n[1]+=e.v[a][1];n[0]/=i,n[1]/=i;var s,o,l,p,c,h,g=shapePool.newElement();for(g.c=e.c,a=0;a<i;a+=1)s=e.v[a][0]+(n[0]-e.v[a][0])*r,o=e.v[a][1]+(n[1]-e.v[a][1])*r,l=e.o[a][0]+(n[0]-e.o[a][0])*-r,p=e.o[a][1]+(n[1]-e.o[a][1])*-r,c=e.i[a][0]+(n[0]-e.i[a][0])*-r,h=e.i[a][1]+(n[1]-e.i[a][1])*-r,g.setTripleAt(s,o,l,p,c,h,a);return g},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amount.v;if(l!==0)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var e=[0,0];function t(r,n,i){if(this.elem=r,this.frameId=-1,this.propType="transform",this.data=n,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(i||r),n.p&&n.p.s?(this.px=PropertyFactory.getProp(r,n.p.x,0,0,this),this.py=PropertyFactory.getProp(r,n.p.y,0,0,this),n.p.z&&(this.pz=PropertyFactory.getProp(r,n.p.z,0,0,this))):this.p=PropertyFactory.getProp(r,n.p||{k:[0,0,0]},1,0,this),n.rx){if(this.rx=PropertyFactory.getProp(r,n.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(r,n.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(r,n.rz,0,degToRads,this),n.or.k[0].ti){var a,s=n.or.k.length;for(a=0;a<s;a+=1)n.or.k[a].to=null,n.or.k[a].ti=null}this.or=PropertyFactory.getProp(r,n.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(r,n.r||{k:0},0,degToRads,this);n.sk&&(this.sk=PropertyFactory.getProp(r,n.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(r,n.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(r,n.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(r,n.s||{k:[100,100,100]},1,.01,this),n.o?this.o=PropertyFactory.getProp(r,n.o,0,.01,r):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(r){var n=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||n,this.a&&r.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&r.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&r.skewFromAxis(-this.sk.v,this.sa.v),this.r?r.rotate(-this.r.v):r.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?r.translate(this.px.v,this.py.v,-this.pz.v):r.translate(this.px.v,this.py.v,0):r.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(r){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||r){var n;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,a;if(n=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)/n,0),a=this.p.getValueAtTime(this.p.keyframes[0].t/n,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/n,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(i=this.p.pv,a=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],a=[];var s=this.px,o=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(i[0]=s.getValueAtTime((s.keyframes[0].t+.01)/n,0),i[1]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),a[0]=s.getValueAtTime(s.keyframes[0].t/n,0),a[1]=o.getValueAtTime(o.keyframes[0].t/n,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(i[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/n,0),i[1]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),a[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/n,0),a[1]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0)):(i=[s.pv,o.pv],a[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/n,s.offsetTime),a[1]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime))}else i=a=e;this.v.rotate(-Math.atan2(i[1]-a[1],i[0]-a[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length&&(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(r){this._addDynamicProperty(r),this.elem.addDynamicProperty(r),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(r,n,i){return new t(r,n,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(e===0)return[];var n=t*t-4*e*r;if(n<0)return[];var i=-t/(2*e);if(n===0)return[i];var a=Math.sqrt(n)/(2*e);return[i-a,i+a]}function polynomialCoefficients(e,t,r,n){return[3*t-e-3*r+n,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,n,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,n,1/3)),i&&pointEqual(r,n)&&(r=lerpPoint(e,n,2/3));var a=polynomialCoefficients(e[0],t[0],r[0],n[0]),s=polynomialCoefficients(e[1],t[1],r[1],n[1]);this.a=[a[0],s[0]],this.b=[a[1],s[1]],this.c=[a[2],s[2]],this.d=[a[3],s[3]],this.points=[e,t,r,n]}function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var i=n;n=r,r=i}for(var a=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=e.point(a[s])[t];o<r?r=o:o>n&&(n=o)}return{min:r,max:n}}function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.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,n,i,a){if(boxIntersect(e,t))if(r>=a||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n)i.push([e.t,t.t]);else{var s=splitData(e),o=splitData(t);intersectsImpl(s[0],o[0],r+1,n,i,a),intersectsImpl(s[0],o[1],r+1,n,i,a),intersectsImpl(s[1],o[0],r+1,n,i,a),intersectsImpl(s[1],o[1],r+1,n,i,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,n){var i=[e[0],e[1],1],a=[t[0],t[1],1],s=[r[0],r[1],1],o=[n[0],n[1],1],l=crossProduct(crossProduct(i,a),crossProduct(s,o));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,n,i,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,p=t[0]+Math.cos(r)*n*i,c=t[1]-Math.sin(r)*n*i;e.setTripleAt(p,c,p+Math.cos(o)*a,c-Math.sin(o)*a,p+Math.cos(l)*s,c-Math.sin(l)*s,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,n=(t+1)%e.length(),i=getPerpendicularVector(e.v[r],e.v[n]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,r,n,i,a,s){var o=getProjectingAngle(t,r),l=t.v[r%t._length],p=t.v[r===0?t._length-1:r-1],c=t.v[(r+1)%t._length],h=a===2?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0,g=a===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0;setPoint(e,t.v[r%t._length],o,s,n,g/(2*(i+1)),h/(2*(i+1)),a)}function zigZagSegment(e,t,r,n,i,a){for(var s=0;s<n;s+=1){var o=(s+1)/(n+1),l=i===2?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,p=t.normalAngle(o);setPoint(e,t.point(o),p,a,r,l/(2*(n+1)),l/(2*(n+1)),i),a=-a}return a}function linearOffset(e,t,r){var n=Math.atan2(t[0]-e[0],t[1]-e[1]);return[polarOffset(e,n,r),polarOffset(t,n,r)]}function offsetSegment(e,t){var r,n,i,a,s,o,l;r=(l=linearOffset(e.points[0],e.points[1],t))[0],n=l[1],i=(l=linearOffset(e.points[1],e.points[2],t))[0],a=l[1],s=(l=linearOffset(e.points[2],e.points[3],t))[0],o=l[1];var p=lineIntersection(r,n,i,a);p===null&&(p=n);var c=lineIntersection(s,o,i,a);return c===null&&(c=s),new PolynomialBezier(r,p,c,o)}function joinLines(e,t,r,n,i){var a=t.points[3],s=r.points[0];if(n===3||pointEqual(a,s))return a;if(n===2){var o=-t.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,p=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),c=p?pointDistance(p,a):pointDistance(a,s)/2,h=polarOffset(a,o,2*c*roundCorner);return e.setXYAt(h[0],h[1],"o",e.length()-1),h=polarOffset(s,l,2*c*roundCorner),e.setTripleAt(s[0],s[1],s[0],s[1],h[0],h[1],e.length()),s}var g=lineIntersection(pointEqual(a,t.points[2])?t.points[0]:t.points[2],a,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return g&&pointDistance(g,a)<i?(e.setTripleAt(g[0],g[1],g[0],g[1],g[0],g[1],e.length()),g):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(),n=t.slice(),i=getIntersection(e[e.length-1],t[0]);return i&&(r[e.length-1]=e[e.length-1].split(i[0])[0],n[0]=t[0].split(i[1])[1]),e.length>1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[r,n]}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,n,i,a,s=e.inflectionPoints();if(s.length===0)return[offsetSegment(e,t)];if(s.length===1||floatEqual(s[1],1))return r=(i=e.split(s[0]))[0],n=i[1],[offsetSegment(r,t),offsetSegment(n,t)];r=(i=e.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(i=i[1].split(o))[0],n=i[1],[offsetSegment(r,t),offsetSegment(a,t),offsetSegment(n,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",i=t.length,a=0;a<i;a+=1)switch(t[a].toLowerCase()){case"italic":n="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:n,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,n,i,a){var s=a?-1:1,o=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);e.translate(n.p.v[0]*s*i,n.p.v[1]*s*i,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*s*i),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,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,e[t].ty==="gr"&&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,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,e[r].ty==="gr"&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,i,a,s=!1;if(this._mdf||e){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var p={it:this.cloneElements(this._elements),ty:"gr"};p.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,p),this._groups.splice(0,0,p),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,n=0;n<=this._groups.length-1;n+=1){if(o=a<l,this._groups[n]._render=o,this.changeGroupRender(this._groups[n].it,o),!o){var c=this.elemsData[n].it,h=c[c.length-1];h.transform.op.v!==0?(h.transform.op._mdf=!0,h.transform.op.v=0):h.transform.op._mdf=!1}a+=1}this._currentCopies=l;var g=this.o.v,d=g%1,f=g>0?Math.floor(g):Math.ceil(g),m=this.pMatrix.props,u=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,E,b=0;if(g>0){for(;b<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),b+=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,d,!1),b+=d)}else if(g<0){for(;b>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),b-=1;d&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-d,!0),b-=d)}for(n=this.data.m===1?0:this._currentCopies-1,i=this.data.m===1?1:-1,a=this._currentCopies;a;){if(E=(r=(t=this.elemsData[n].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=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),b!==0){for((n!==0&&i===1||n!==this._currentCopies-1&&i===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v<E;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<E;v+=1)r[v]=this.matrix.props[v];b+=1,a-=1,n+=i}}else for(a=this._currentCopies,n=0,i=1;a;)r=(t=this.elemsData[n].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,n+=i;return s},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,n=shapePool.newElement();n.c=e.c;var i,a,s,o,l,p,c,h,g,d,f,m,u=e._length,y=0;for(r=0;r<u;r+=1)i=e.v[r],s=e.o[r],a=e.i[r],i[0]===s[0]&&i[1]===s[1]&&i[0]===a[0]&&i[1]===a[1]?r!==0&&r!==u-1||e.c?(o=r===0?e.v[u-1]:e.v[r-1],p=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,c=f=i[0]+(o[0]-i[0])*p,h=m=i[1]-(i[1]-o[1])*p,g=c-(c-i[0])*roundCorner,d=h-(h-i[1])*roundCorner,n.setTripleAt(c,h,g,d,f,m,y),y+=1,o=r===u-1?e.v[0]:e.v[r+1],p=(l=Math.sqrt(Math.pow(i[0]-o[0],2)+Math.pow(i[1]-o[1],2)))?Math.min(l/2,t)/l:0,c=g=i[0]+(o[0]-i[0])*p,h=d=i[1]+(o[1]-i[1])*p,f=c-(c-i[0])*roundCorner,m=h-(h-i[1])*roundCorner,n.setTripleAt(c,h,g,d,f,m,y),y+=1):(n.setTripleAt(i[0],i[1],s[0],s[1],a[0],a[1],y),y+=1):(n.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],y),y+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.rd.v;if(l!==0)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],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 n=Math.sqrt(r);return floatZero(n)?n>0&&n<1?[t]:[]:[t-n,t+n].filter(function(i){return i>0&&i<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),n=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,r,e),a=lerpPoint(r,n,e),s=lerpPoint(i,a,e);return[new PolynomialBezier(this.points[0],t,i,s,!0),new PolynomialBezier(s,a,n,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){t===void 0&&(t=2),r===void 0&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},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=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0},ZigZagModifier.prototype.processPath=function(e,t,r,n){var i=e._length,a=shapePool.newElement();if(a.c=e.c,e.c||(i-=1),i===0)return a;var s=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(a,e,0,t,r,n,s);for(var l=0;l<i;l+=1)s=zigZagSegment(a,o,t,r,n,-s),o=l!==i-1||e.c?PolynomialBezier.shapeSegment(e,(l+1)%i):null,zigZagCorner(a,e,l+1,t,r,n,s);return a},ZigZagModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amplitude.v,p=Math.max(0,Math.round(this.frequency.v)),c=this.pointsType.v;if(l!==0)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l,p,c));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=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var i=shapePool.newElement();i.c=e.c;var a,s,o,l=e.length();e.c||(l-=1);var p=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(e,a),p.push(offsetSegmentSplit(o,t));if(!e.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(e,a),p.push(offsetSegmentSplit(o,t));p=pruneIntersections(p);var c=null,h=null;for(a=0;a<p.length;a+=1){var g=p[a];for(h&&(c=joinLines(i,h,g[0],r,n)),h=g[g.length-1],s=0;s<g.length;s+=1)o=g[s],c&&pointEqual(o.points[0],c)?i.setXYAt(o.points[1][0],o.points[1][1],"o",i.length()-1):i.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],i.length()),i.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],i.length()),c=o.points[3]}return p.length&&joinLines(i,h,p[0][0],r,n),i},OffsetPathModifier.prototype.processShapes=function(e){var t,r,n,i,a,s,o=this.shapes.length,l=this.amount.v,p=this.miterLimit.v,c=this.lineJoin;if(l!==0)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||e)for(s.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,i=a.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l,c,p));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=127988,n=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function i(c,h){var g=createTag("span");g.setAttribute("aria-hidden",!0),g.style.fontFamily=h;var d=createTag("span");d.innerText="giItT1WQy@!-/#",g.style.position="absolute",g.style.left="-10000px",g.style.top="-10000px",g.style.fontSize="300px",g.style.fontVariant="normal",g.style.fontStyle="normal",g.style.fontWeight="normal",g.style.letterSpacing="0",g.appendChild(d),document.body.appendChild(g);var f=d.offsetWidth;return d.style.fontFamily=function(m){var u,y=m.split(","),v=y.length,E=[];for(u=0;u<v;u+=1)y[u]!=="sans-serif"&&y[u]!=="monospace"&&E.push(y[u]);return E.join(",")}(c)+", "+h,{node:d,w:f,parent:g}}function a(c,h){var g,d=document.body&&h?"svg":"canvas",f=getFontProperties(c);if(d==="svg"){var m=createNS("text");m.style.fontSize="100px",m.setAttribute("font-family",c.fFamily),m.setAttribute("font-style",f.style),m.setAttribute("font-weight",f.weight),m.textContent="1",c.fClass?(m.style.fontFamily="inherit",m.setAttribute("class",c.fClass)):m.style.fontFamily=c.fFamily,h.appendChild(m),g=m}else{var u=new OffscreenCanvas(500,500).getContext("2d");u.font=f.style+" "+f.weight+" 100px "+c.fFamily,g=u}return{measureText:function(y){return d==="svg"?(g.textContent=y,g.getComputedTextLength()):g.measureText(y).width}}}function s(c){var h=0,g=c.charCodeAt(0);if(g>=55296&&g<=56319){var d=c.charCodeAt(1);d>=56320&&d<=57343&&(h=1024*(g-55296)+d-56320+65536)}return h}function o(c){var h=s(c);return h>=127462&&h<=127487}var l=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)};l.isModifier=function(c,h){var g=c.toString(16)+h.toString(16);return n.indexOf(g)!==-1},l.isZeroWidthJoiner=function(c){return c===8205},l.isFlagEmoji=function(c){return o(c.substr(0,2))&&o(c.substr(2,2))},l.isRegionalCode=o,l.isCombinedCharacter=function(c){return t.indexOf(c)!==-1},l.isRegionalFlag=function(c,h){var g=s(c.substr(h,2));if(g!==r)return!1;var d=0;for(h+=2;d<5;){if((g=s(c.substr(h,2)))<917601||g>917626)return!1;d+=1,h+=2}return s(c.substr(h,2))===917631},l.isVariationSelector=function(c){return c===65039},l.BLACK_FLAG_CODE_POINT=r;var p={addChars:function(c){if(c){var h;this.chars||(this.chars=[]);var g,d,f=c.length,m=this.chars.length;for(h=0;h<f;h+=1){for(g=0,d=!1;g<m;)this.chars[g].style===c[h].style&&this.chars[g].fFamily===c[h].fFamily&&this.chars[g].ch===c[h].ch&&(d=!0),g+=1;d||(this.chars.push(c[h]),m+=1)}}},addFonts:function(c,h){if(c){if(this.chars)return this.isLoaded=!0,void(this.fonts=c.list);if(!document.body)return this.isLoaded=!0,c.list.forEach(function(T){T.helper=a(T),T.cache={}}),void(this.fonts=c.list);var g,d=c.list,f=d.length,m=f;for(g=0;g<f;g+=1){var u,y,v=!0;if(d[g].loaded=!1,d[g].monoCase=i(d[g].fFamily,"monospace"),d[g].sansCase=i(d[g].fFamily,"sans-serif"),d[g].fPath){if(d[g].fOrigin==="p"||d[g].origin===3){if((u=document.querySelectorAll('style[f-forigin="p"][f-family="'+d[g].fFamily+'"], style[f-origin="3"][f-family="'+d[g].fFamily+'"]')).length>0&&(v=!1),v){var E=createTag("style");E.setAttribute("f-forigin",d[g].fOrigin),E.setAttribute("f-origin",d[g].origin),E.setAttribute("f-family",d[g].fFamily),E.type="text/css",E.innerText="@font-face {font-family: "+d[g].fFamily+"; font-style: normal; src: url('"+d[g].fPath+"');}",h.appendChild(E)}}else if(d[g].fOrigin==="g"||d[g].origin===1){for(u=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),y=0;y<u.length;y+=1)u[y].href.indexOf(d[g].fPath)!==-1&&(v=!1);if(v){var b=createTag("link");b.setAttribute("f-forigin",d[g].fOrigin),b.setAttribute("f-origin",d[g].origin),b.type="text/css",b.rel="stylesheet",b.href=d[g].fPath,document.body.appendChild(b)}}else if(d[g].fOrigin==="t"||d[g].origin===2){for(u=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),y=0;y<u.length;y+=1)d[g].fPath===u[y].src&&(v=!1);if(v){var S=createTag("link");S.setAttribute("f-forigin",d[g].fOrigin),S.setAttribute("f-origin",d[g].origin),S.setAttribute("rel","stylesheet"),S.setAttribute("href",d[g].fPath),h.appendChild(S)}}}else d[g].loaded=!0,m-=1;d[g].helper=a(d[g],h),d[g].cache={},this.fonts.push(d[g])}m===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(c,h,g){for(var d=0,f=this.chars.length;d<f;){if(this.chars[d].ch===c&&this.chars[d].style===h&&this.chars[d].fFamily===g)return this.chars[d];d+=1}return(typeof c=="string"&&c.charCodeAt(0)!==13||!c)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",c,h,g)),e},getFontByName:function(c){for(var h=0,g=this.fonts.length;h<g;){if(this.fonts[h].fName===c)return this.fonts[h];h+=1}return this.fonts[0]},measureText:function(c,h,g){var d=this.getFontByName(h),f=c;if(!d.cache[f]){var m=d.helper;if(c===" "){var u=m.measureText("|"+c+"|"),y=m.measureText("||");d.cache[f]=(u-y)/100}else d.cache[f]=m.measureText(c)/100}return d.cache[f]*g},checkLoadedFonts:function(){var c,h,g,d=this.fonts.length,f=d;for(c=0;c<d;c+=1)this.fonts[c].loaded?f-=1:this.fonts[c].fOrigin==="n"||this.fonts[c].origin===0?this.fonts[c].loaded=!0:(h=this.fonts[c].monoCase.node,g=this.fonts[c].monoCase.w,h.offsetWidth!==g?(f-=1,this.fonts[c].loaded=!0):(h=this.fonts[c].sansCase.node,g=this.fonts[c].sansCase.w,h.offsetWidth!==g&&(f-=1,this.fonts[c].loaded=!0)),this.fonts[c].loaded&&(this.fonts[c].sansCase.parent.parentNode.removeChild(this.fonts[c].sansCase.parent),this.fonts[c].monoCase.parent.parentNode.removeChild(this.fonts[c].monoCase.parent)));f!==0&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return l.prototype=p,l}();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){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&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?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var 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 this.data.ty===5?{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,n=e.ef||[];this.effectElements=[];var i,a=n.length;for(r=0;r<a;r+=1)i=new GroupEffect(n[r],t),this.effectElements.push(i)}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 n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),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(){}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 n,i=this.data.ef.length,a=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,a[r].ty){case 0:n=new SliderEffect(a[r],t,this);break;case 1:n=new AngleEffect(a[r],t,this);break;case 2:n=new ColorEffect(a[r],t,this);break;case 3:n=new PointEffect(a[r],t,this);break;case 4:case 7:n=new CheckboxEffect(a[r],t,this);break;case 10:n=new LayerIndexEffect(a[r],t,this);break;case 11:n=new MaskIndexEffect(a[r],t,this);break;case 5:n=new EffectsManager(a[r],t,this);break;default:n=new NoValueEffect(a[r],t,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if(this.data.masksProperties[e].mode!=="n"&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var t=e("layer"),r=e("effects"),n=e("shape"),i=e("text"),a=e("comp");this.layerInterface=t(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),this.data.ty===0||this.data.xt?this.compInterface=a(this):this.data.ty===4?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=i(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,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&this.dynamicProperties[r].propType==="transform")&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&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,n=this.layers.length;for(this.completeLayers=!0,t=n-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,n=e.length,i=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<i;){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 n=this.elements,i=this.layers,a=0,s=i.length;a<s;)i[a].ind==t&&(n[a]&&n[a]!==!0?(r.push(n[a]),n[a].setAsParent(),i[a].parent!==void 0?this.buildElementParenting(e,i[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 n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},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(typeof r=="number")t=this.elements[r];else{var n,i=this.elements.length;for(n=0;n<i;n+=1)if(this.elements[n].data.nm===r){t=this.elements[n];break}}return e.length===0?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}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};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 n,i,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,p,c,h,g,d=this.masksProperties,f=0,m=[],u=createElementID(),y="clipPath",v="clip-path";for(n=0;n<s;n+=1)if((d[n].mode!=="a"&&d[n].mode!=="n"||d[n].inv||d[n].o.k!==100||d[n].o.x)&&(y="mask",v="mask"),d[n].mode!=="s"&&d[n].mode!=="i"||f!==0?p=null:((p=createNS("rect")).setAttribute("fill","#ffffff"),p.setAttribute("width",this.element.comp.data.w||0),p.setAttribute("height",this.element.comp.data.h||0),m.push(p)),i=createNS("path"),d[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),elem:i,lastPath:""},a.appendChild(i);else{var E;if(f+=1,i.setAttribute("fill",d[n].mode==="s"?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),d[n].x.k!==0?(y="mask",v="mask",g=PropertyFactory.getProp(this.element,d[n].x,0,null,this.element),E=createElementID(),(c=createNS("filter")).setAttribute("id",E),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),c.appendChild(h),a.appendChild(c),i.setAttribute("stroke",d[n].mode==="s"?"#000000":"#ffffff")):(h=null,g=null),this.storedData[n]={elem:i,x:g,expan:h,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},d[n].mode==="i"){l=m.length;var b=createNS("g");for(o=0;o<l;o+=1)b.appendChild(m[o]);var S=createNS("mask");S.setAttribute("mask-type","alpha"),S.setAttribute("id",u+"_"+f),S.appendChild(i),a.appendChild(S),b.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+f+")"),m.length=0,m.push(b)}else m.push(i);d[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),invRect:p},this.viewData[n].prop.k||this.drawPath(d[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(y),s=m.length,n=0;n<s;n+=1)this.maskElement.appendChild(m[n]);f>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+u+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){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<n;r+=1)t.multiply(this.hierarchy[r].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,t=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<t;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var r=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(r),e=1;e<t;e+=1){var n=this.localTransforms[e].matrix;r.multiply(n)}r.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var i=this.finalTransform.localOpacity;for(e=0;e<t;e+=1)i*=.01*this.localTransforms[e].opacity;this.finalTransform.localOpacity=i}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var t=0,r=e.length;for(t=0;t<r;t+=1)this.localTransforms.push(e[t])}}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,n=!0,i=this.comp;n;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):n=!1;var a,s=t.length;for(r=0;r<s;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,n=this.masksProperties.length;for(t=0;t<n;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),this.masksProperties[t].mode!=="n"&&(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 i=this.storedData[t].expan;this.storedData[t].x.v<0?(this.storedData[t].lastOperator!=="erode"&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):(this.storedData[t].lastOperator!=="dilate"&&(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 n,i,a=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,n=1;n<i;n+=1)a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&i>1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),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={};return e.createFilter=function(t,r){var n=createNS("filter");return n.setAttribute("id",t),r!==!0&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},e.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t},e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],t=0;t<i;t+=1){r=null;var l=e.data.ef[t].ty;registeredEffects$1[l]&&(r=new registeredEffects$1[l].effect(s,e.effectsManager.effectElements[t],e,idPrefix+o,n),n=idPrefix+o,registeredEffects$1[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect$1(e,t,r){registeredEffects$1[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)},SVGEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},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),this.data.ty===0&&!this.data.hd){var r=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var i=createElementID();if(r.setAttribute("id",i),r.appendChild(n),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var t,r,n,i,a=this.layerId+"_"+e;if(e===1||e===3){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",e===3?"luminance":"alpha"),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(n),this.globalData.defs.appendChild(s),featureSupport.maskType||e!==1||(s.setAttribute("mask-type","luminance"),t=createElementID(),r=filtersFactory.createFilter(t),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(i=createNS("g")).appendChild(n),s.appendChild(i),i.setAttribute("filter","url("+getLocationHref()+"#"+t+")"))}else if(e===2){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),t=createElementID(),r=filtersFactory.createFilter(t);var p=createNS("feComponentTransfer");p.setAttribute("in","SourceGraphic"),r.appendChild(p);var c=createNS("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),p.appendChild(c),this.globalData.defs.appendChild(r);var h=createNS("rect");h.setAttribute("width",this.comp.data.w),h.setAttribute("height",this.comp.data.h),h.setAttribute("x","0"),h.setAttribute("y","0"),h.setAttribute("fill","#ffffff"),h.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+t+")"),l.appendChild(h),(n=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(n),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),i=createNS("g"),l.appendChild(h),i.appendChild(this.layerElement),l.appendChild(i)),this.globalData.defs.appendChild(o)}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(){this.data.parent!==void 0&&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.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],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,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].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 n=0,i=e.length;n<i;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=e.hd===!0,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,n){var i;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(n);var a,s=t.length||0;for(i=0;i<s;i+=1)a=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=a.k||this.k,this.dataProps[i]={n:t[i].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 n=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",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,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(this.renderer==="svg"&&(this.dashStr=""),t=0;t<r;t+=1)this.dataProps[t].n!=="o"?this.renderer==="svg"?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,n=this.o.length/2;r<n;){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,n,i=4*this.data.p;for(t=0;t<i;t+=1)r=t%4==0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)r=t%2==0?100:1,n=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,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(),n=createNS(t.t===1?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,a,s,o=[];for(s=4*t.g.p,a=0;a<s;a+=4)i=createNS("stop"),n.appendChild(i),o.push(i);e.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var p=createNS(e.t===1?"linearGradient":"radialGradient");p.setAttribute("id",o),p.setAttribute("spreadMethod","pad"),p.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var c=this.stops;for(n=4*e.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),p.appendChild(r),c.push(r);s.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),e.ty==="gs"&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),e.lj===1&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=p,this.ms=a,this.ost=c,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(e,t,r,n){if(t===0)return"";var i,a=e.o,s=e.i,o=e.v,l=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(i=1;i<t;i+=1)l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[i][0],s[i][1])+" "+n.applyToPointStringified(o[i][0],o[i][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(a[i-1][0],a[i-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(p,c,h){(h||c.transform.op._mdf)&&c.transform.container.setAttribute("opacity",c.transform.op.v),(h||c.transform.mProps._mdf)&&c.transform.container.setAttribute("transform",c.transform.mProps.v.to2dCSS())}function n(){}function i(p,c,h){var g,d,f,m,u,y,v,E,b,S,T=c.styles.length,I=c.lvl;for(y=0;y<T;y+=1){if(m=c.sh._mdf||h,c.styles[y].lvl<I){for(E=t.reset(),b=I-c.styles[y].lvl,S=c.transformers.length-1;!m&&b>0;)m=c.transformers[S].mProps._mdf||m,b-=1,S-=1;if(m)for(b=I-c.styles[y].lvl,S=c.transformers.length-1;b>0;)E.multiply(c.transformers[S].mProps.v),b-=1,S-=1}else E=e;if(d=(v=c.sh.paths)._length,m){for(f="",g=0;g<d;g+=1)(u=v.shapes[g])&&u._length&&(f+=buildShapeString(u,u._length,u.c,E));c.caches[y]=f}else f=c.caches[y];c.styles[y].d+=p.hd===!0?"":f,c.styles[y]._mdf=m||c.styles[y]._mdf}}function a(p,c,h){var g=c.style;(c.c._mdf||h)&&g.pElem.setAttribute("fill","rgb("+bmFloor(c.c.v[0])+","+bmFloor(c.c.v[1])+","+bmFloor(c.c.v[2])+")"),(c.o._mdf||h)&&g.pElem.setAttribute("fill-opacity",c.o.v)}function s(p,c,h){o(p,c,h),l(p,c,h)}function o(p,c,h){var g,d,f,m,u,y=c.gf,v=c.g._hasOpacity,E=c.s.v,b=c.e.v;if(c.o._mdf||h){var S=p.ty==="gf"?"fill-opacity":"stroke-opacity";c.style.pElem.setAttribute(S,c.o.v)}if(c.s._mdf||h){var T=p.t===1?"x1":"cx",I=T==="x1"?"y1":"cy";y.setAttribute(T,E[0]),y.setAttribute(I,E[1]),v&&!c.g._collapsable&&(c.of.setAttribute(T,E[0]),c.of.setAttribute(I,E[1]))}if(c.g._cmdf||h){g=c.cst;var x=c.g.c;for(f=g.length,d=0;d<f;d+=1)(m=g[d]).setAttribute("offset",x[4*d]+"%"),m.setAttribute("stop-color","rgb("+x[4*d+1]+","+x[4*d+2]+","+x[4*d+3]+")")}if(v&&(c.g._omdf||h)){var D=c.g.o;for(f=(g=c.g._collapsable?c.cst:c.ost).length,d=0;d<f;d+=1)m=g[d],c.g._collapsable||m.setAttribute("offset",D[2*d]+"%"),m.setAttribute("stop-opacity",D[2*d+1])}if(p.t===1)(c.e._mdf||h)&&(y.setAttribute("x2",b[0]),y.setAttribute("y2",b[1]),v&&!c.g._collapsable&&(c.of.setAttribute("x2",b[0]),c.of.setAttribute("y2",b[1])));else if((c.s._mdf||c.e._mdf||h)&&(u=Math.sqrt(Math.pow(E[0]-b[0],2)+Math.pow(E[1]-b[1],2)),y.setAttribute("r",u),v&&!c.g._collapsable&&c.of.setAttribute("r",u)),c.e._mdf||c.h._mdf||c.a._mdf||h){u||(u=Math.sqrt(Math.pow(E[0]-b[0],2)+Math.pow(E[1]-b[1],2)));var w=Math.atan2(b[1]-E[1],b[0]-E[0]),C=c.h.v;C>=1?C=.99:C<=-1&&(C=-.99);var k=u*C,O=Math.cos(w+c.a.v)*k+E[0],M=Math.sin(w+c.a.v)*k+E[1];y.setAttribute("fx",O),y.setAttribute("fy",M),v&&!c.g._collapsable&&(c.of.setAttribute("fx",O),c.of.setAttribute("fy",M))}}function l(p,c,h){var g=c.style,d=c.d;d&&(d._mdf||h)&&d.dashStr&&(g.pElem.setAttribute("stroke-dasharray",d.dashStr),g.pElem.setAttribute("stroke-dashoffset",d.dashoffset[0])),c.c&&(c.c._mdf||h)&&g.pElem.setAttribute("stroke","rgb("+bmFloor(c.c.v[0])+","+bmFloor(c.c.v[1])+","+bmFloor(c.c.v[2])+")"),(c.o._mdf||h)&&g.pElem.setAttribute("stroke-opacity",c.o.v),(c.w._mdf||h)&&(g.pElem.setAttribute("stroke-width",c.w.v),g.msElem&&g.msElem.setAttribute("stroke-width",c.w.v))}return{createRenderFunction:function(p){switch(p.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;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,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,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,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],o=!1,s.length=0,e=0;e<i;e+=1)(t=this.shapes[e]).styles.indexOf(n)!==-1&&(s.push(t),o=t._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},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,n=new SVGStyleData(e,t),i=n.pElem;return e.ty==="st"?r=new SVGStrokeStyleData(this,e,n):e.ty==="fl"?r=new SVGFillStyleData(this,e,n):e.ty==="gf"||e.ty==="gs"?(r=new(e.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):e.ty==="no"&&(r=new SVGNoStyleData(this,e,n)),e.ty!=="st"&&e.ty!=="gs"||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),e.lj===1&&i.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),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),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var i=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){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,n=this.stylesList.length;for(t=0;t<n;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,n,i,a,s){var o,l,p,c,h,g,d=[].concat(a),f=e.length-1,m=[],u=[];for(o=f;o>=0;o-=1){if((g=this.searchProcessedElement(e[o]))?t[o]=r[g-1]:e[o]._render=s,e[o].ty==="fl"||e[o].ty==="st"||e[o].ty==="gf"||e[o].ty==="gs"||e[o].ty==="no")g?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&t[o].style.pElem.parentNode!==n&&n.appendChild(t[o].style.pElem),m.push(t[o].style);else if(e[o].ty==="gr"){if(g)for(p=t[o].it.length,l=0;l<p;l+=1)t[o].prevViewData[l]=t[o].it[l];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,t[o].gr,i+1,d,s),e[o]._render&&t[o].gr.parentNode!==n&&n.appendChild(t[o].gr)}else e[o].ty==="tr"?(g||(t[o]=this.createTransformElement(e[o],n)),c=t[o].transform,d.push(c)):e[o].ty==="sh"||e[o].ty==="rc"||e[o].ty==="el"||e[o].ty==="sr"?(g||(t[o]=this.createShapeElement(e[o],d,i)),this.setElementStyles(t[o])):e[o].ty==="tm"||e[o].ty==="rd"||e[o].ty==="ms"||e[o].ty==="pb"||e[o].ty==="zz"||e[o].ty==="op"?(g?(h=t[o]).closed=!1:((h=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=h,this.shapeModifiers.push(h)),u.push(h)):e[o].ty==="rp"&&(g?(h=t[o]).closed=!0:(h=ShapeModifiers.getModifier(e[o].ty),t[o]=h,h.init(this,e,o,t),this.shapeModifiers.push(h),s=!1),u.push(h));this.addProcessedElement(e[o],o+1)}for(f=m.length,o=0;o<f;o+=1)m[o].closed=!0;for(f=u.length,o=0;o<f;o+=1)u[o].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)&&t.data!==!0&&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,n,i,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 s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!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,s=!0),s},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 n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](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,n=e.length;r<=n-1&&!(r===n-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,n=[],i=0,a=e.length,s=!1,o=!1,l="";i<a;)s=o,o=!1,t=e.charCodeAt(i),l=e.charAt(i),FontManager.isCombinedCharacter(t)?s=!0:t>=55296&&t<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(r=e.charCodeAt(i+1))>=56320&&r<=57343&&(FontManager.isModifier(t,r)?(l=e.substr(i,2),s=!0):l=FontManager.isFlagEmoji(e.substr(i,4))?e.substr(i,4):e.substr(i,2)):t>56319?(r=e.charCodeAt(i+1),FontManager.isVariationSelector(t)&&(s=!0)):FontManager.isZeroWidthJoiner(t)&&(s=!0,o=!0),s?(n[n.length-1]+=l,s=!1):n.push(l),i+=l.length;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,a,s,o,l=this.elem.globalData.fontManager,p=this.data,c=[],h=0,g=p.m.g,d=0,f=0,m=0,u=[],y=0,v=0,E=l.getFontByName(e.f),b=0,S=getFontProperties(E);e.fWeight=S.weight,e.fStyle=S.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var T,I=e.tr/1e3*e.finalSize;if(e.sz)for(var x,D,w=!0,C=e.sz[0],k=e.sz[1];w;){x=0,y=0,r=(D=this.buildFinalText(e.t)).length,I=e.tr/1e3*e.finalSize;var O=-1;for(t=0;t<r;t+=1)T=D[t].charCodeAt(0),n=!1,D[t]===" "?O=t:T!==13&&T!==3||(y=0,n=!0,x+=e.finalLineHeight||1.2*e.finalSize),l.chars?(o=l.getCharData(D[t],E.fStyle,E.fFamily),b=n?0:o.w*e.finalSize/100):b=l.measureText(D[t],e.f,e.finalSize),y+b>C&&D[t]!==" "?(O===-1?r+=1:t=O,x+=e.finalLineHeight||1.2*e.finalSize,D.splice(t,O===t?1:0,"\r"),O=-1,y=0):(y+=b,y+=I);x+=E.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&k<x?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=D,r=e.finalText.length,w=!1)}y=-I,b=0;var M,q=0;for(t=0;t<r;t+=1)if(n=!1,(T=(M=e.finalText[t]).charCodeAt(0))===13||T===3?(q=0,u.push(y),v=y>v?y:v,y=-2*I,i="",n=!0,m+=1):i=M,l.chars?(o=l.getCharData(M,E.fStyle,l.getFontByName(e.f).fFamily),b=n?0:o.w*e.finalSize/100):b=l.measureText(i,e.f,e.finalSize),M===" "?q+=b+I:(y+=b+I+q,q=0),c.push({l:b,an:b,add:d,n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),g==2){if(d+=b,i===""||i===" "||t===r-1){for(i!==""&&i!==" "||(d-=b);f<=t;)c[f].an=d,c[f].ind=h,c[f].extra=b,f+=1;h+=1,d=0}}else if(g==3){if(d+=b,i===""||t===r-1){for(i===""&&(d-=b);f<=t;)c[f].an=d,c[f].ind=h,c[f].extra=b,f+=1;d=0,h+=1}}else c[h].ind=h,c[h].extra=0,h+=1;if(e.l=c,v=y>v?y:v,u.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=u;var z,X,P,V,j=p.a;s=j.length;var F=[];for(a=0;a<s;a+=1){for((z=j[a]).a.sc&&(e.strokeColorAnim=!0),z.a.sw&&(e.strokeWidthAnim=!0),(z.a.fc||z.a.fh||z.a.fs||z.a.fb)&&(e.fillColorAnim=!0),V=0,P=z.s.b,t=0;t<r;t+=1)(X=c[t]).anIndexes[a]=V,(P==1&&X.val!==""||P==2&&X.val!==""&&X.val!==" "||P==3&&(X.n||X.val==" "||t==r-1)||P==4&&(X.n||t==r-1))&&(z.s.rn===1&&F.push(V),V+=1);p.a[a].s.totalChars=V;var R,L=-1;if(z.s.rn===1)for(t=0;t<r;t+=1)L!=(X=c[t]).anIndexes[a]&&(L=X.anIndexes[a],R=F.splice(Math.floor(Math.random()*F.length),1)[0]),X.anIndexes[a]=R}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=E.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=t===void 0?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 n(i,a){this._currentTextLength=-1,this.k=!1,this.data=a,this.elem=i,this.comp=i.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(i),this.s=PropertyFactory.getProp(i,a.s||{k:0},0,0,this),this.e="e"in a?PropertyFactory.getProp(i,a.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(i,a.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(i,a.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(i,a.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(i,a.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(i,a.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var a=0,s=0,o=1,l=1;this.ne.v>0?a=this.ne.v/100:s=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:l=1+this.xe.v/100;var p=BezierFactory.getBezierEasing(a,s,o,l).get,c=0,h=this.finalS,g=this.finalE,d=this.data.sh;if(d===2)c=p(c=g===h?i>=g?1:0:e(0,t(.5/(g-h)+(i-h)/(g-h),1)));else if(d===3)c=p(c=g===h?i>=g?0:1:1-e(0,t(.5/(g-h)+(i-h)/(g-h),1)));else if(d===4)g===h?c=0:(c=e(0,t(.5/(g-h)+(i-h)/(g-h),1)))<.5?c*=2:c=1-2*(c-.5),c=p(c);else if(d===5){if(g===h)c=0;else{var f=g-h,m=-f/2+(i=t(e(0,i+.5-h),g-h)),u=f/2;c=Math.sqrt(1-m*m/(u*u))}c=p(c)}else d===6?(g===h?c=0:(i=t(e(0,i+.5-h),g-h),c=(1+Math.cos(Math.PI+2*Math.PI*i/(g-h)))/2),c=p(c)):(i>=r(h)&&(c=e(0,t(i-h<0?t(g,1)-(h-i):g-i,1))),c=p(c));if(this.sm.v!==100){var y=.01*this.sm.v;y===0&&(y=1e-8);var v=.5-.5*y;c<v?c=0:(c=(c-v)/y)>1&&(c=1)}return c*this.a.v},getValue:function(i){this.iterateDynamicProperties(),this._mdf=i||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,i&&this.data.r===2&&(this.e.v=this._currentTextLength);var a=this.data.r===2?1:100/this.data.totalChars,s=this.o.v/a,o=this.s.v/a+s,l=this.e.v/a+s;if(o>l){var p=o;o=l,l=p}this.finalS=o,this.finalE=l}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(i,a,s){return new n(i,a,s)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,r):n,rx:a.rx?i(e,a.rx,0,degToRads,r):n,ry:a.ry?i(e,a.ry,0,degToRads,r):n,sk:a.sk?i(e,a.sk,0,degToRads,r):n,sa:a.sa?i(e,a.sa,0,degToRads,r):n,s:a.s?i(e,a.s,1,.01,r):n,a:a.a?i(e,a.a,1,0,r):n,o:a.o?i(e,a.o,0,.01,r):n,p:a.p?i(e,a.p,1,0,r):n,sw:a.sw?i(e,a.sw,0,0,r):n,sc:a.sc?i(e,a.sc,1,0,r):n,fc:a.fc?i(e,a.fc,1,0,r):n,fh:a.fh?i(e,a.fh,0,0,r):n,fs:a.fs?i(e,a.fs,0,.01,r):n,fb:a.fb?i(e,a.fb,0,.01,r):n,t:a.t?i(e,a.t,0,0,r):n},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,n=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:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(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=n(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,n,i,a,s,o,l,p,c,h,g,d,f,m,u,y,v,E,b,S=this._moreOptions.alignment.v,T=this._animatorsData,I=this._textData,x=this.mHelper,D=this._renderType,w=this.renderedLetters.length,C=e.l;if(this._hasMaskedPath){if(b=this._pathData.m,!this._pathData.n||this._pathData._mdf){var k,O=b.v;for(this._pathData.r.v&&(O=O.reverse()),s={tLength:0,segments:[]},a=O._length-1,y=0,i=0;i<a;i+=1)k=bez.buildBezierData(O.v[i],O.v[i+1],[O.o[i][0]-O.v[i][0],O.o[i][1]-O.v[i][1]],[O.i[i+1][0]-O.v[i+1][0],O.i[i+1][1]-O.v[i+1][1]]),s.tLength+=k.segmentLength,s.segments.push(k),y+=k.segmentLength;i=a,b.v.c&&(k=bez.buildBezierData(O.v[i],O.v[0],[O.o[i][0]-O.v[i][0],O.o[i][1]-O.v[i][1]],[O.i[0][0]-O.v[0][0],O.i[0][1]-O.v[0][1]]),s.tLength+=k.segmentLength,s.segments.push(k),y+=k.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,g=0,h=1,p=0,c=!0,m=s.segments,o<0&&b.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),h=(f=m[g=m.length-1].points).length-1;o<0;)o+=f[h].partialLength,(h-=1)<0&&(h=(f=m[g-=1].points).length-1);d=(f=m[g].points)[h-1],u=(l=f[h]).partialLength}a=C.length,r=0,n=0;var M,q,z,X,P,V=1.2*e.finalSize*.714,j=!0;z=T.length;var F,R,L,N,K,J,Z,Y,oe,ne,se,fe,he=-1,ee=o,ye=g,Se=h,xe=-1,A="",B=this.defaultPropsArray;if(e.j===2||e.j===1){var G=0,H=0,U=e.j===2?-.5:-1,W=0,Q=!0;for(i=0;i<a;i+=1)if(C[i].n){for(G&&(G+=H);W<i;)C[W].animatorJustifyOffset=G,W+=1;G=0,Q=!0}else{for(q=0;q<z;q+=1)(M=T[q].a).t.propType&&(Q&&e.j===2&&(H+=M.t.v*U),(P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars)).length?G+=M.t.v*P[0]*U:G+=M.t.v*P*U);Q=!1}for(G&&(G+=H);W<i;)C[W].animatorJustifyOffset=G,W+=1}for(i=0;i<a;i+=1){if(x.reset(),N=1,C[i].n)r=0,n+=e.yOffset,n+=j?1:0,o=ee,j=!1,this._hasMaskedPath&&(h=Se,d=(f=m[g=ye].points)[h-1],u=(l=f[h]).partialLength,p=0),A="",se="",oe="",fe="",B=this.defaultPropsArray;else{if(this._hasMaskedPath){if(xe!==C[i].line){switch(e.j){case 1:o+=y-e.lineWidths[C[i].line];break;case 2:o+=(y-e.lineWidths[C[i].line])/2}xe=C[i].line}he!==C[i].ind&&(C[he]&&(o+=C[he].extra),o+=C[i].an/2,he=C[i].ind),o+=S[0]*C[i].an*.005;var te=0;for(q=0;q<z;q+=1)(M=T[q].a).p.propType&&((P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars)).length?te+=M.p.v[0]*P[0]:te+=M.p.v[0]*P),M.a.propType&&((P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars)).length?te+=M.a.v[0]*P[0]:te+=M.a.v[0]*P);for(c=!0,this._pathData.a.v&&(o=.5*C[0].an+(y-this._pathData.f.v-.5*C[0].an-.5*C[C.length-1].an)*he/(a-1),o+=this._pathData.f.v);c;)p+u>=o+te||!f?(v=(o+te-p)/l.partialLength,R=d.point[0]+(l.point[0]-d.point[0])*v,L=d.point[1]+(l.point[1]-d.point[1])*v,x.translate(-S[0]*C[i].an*.005,-S[1]*V*.01),c=!1):f&&(p+=l.partialLength,(h+=1)>=f.length&&(h=0,m[g+=1]?f=m[g].points:b.v.c?(h=0,f=m[g=0].points):(p-=l.partialLength,f=null)),f&&(d=l,u=(l=f[h]).partialLength));F=C[i].an/2-C[i].add,x.translate(-F,0,0)}else F=C[i].an/2-C[i].add,x.translate(-F,0,0),x.translate(-S[0]*C[i].an*.005,-S[1]*V*.01,0);for(q=0;q<z;q+=1)(M=T[q].a).t.propType&&(P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars),r===0&&e.j===0||(this._hasMaskedPath?P.length?o+=M.t.v*P[0]:o+=M.t.v*P:P.length?r+=M.t.v*P[0]:r+=M.t.v*P));for(e.strokeWidthAnim&&(J=e.sw||0),e.strokeColorAnim&&(K=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]]),q=0;q<z;q+=1)(M=T[q].a).a.propType&&((P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars)).length?x.translate(-M.a.v[0]*P[0],-M.a.v[1]*P[1],M.a.v[2]*P[2]):x.translate(-M.a.v[0]*P,-M.a.v[1]*P,M.a.v[2]*P));for(q=0;q<z;q+=1)(M=T[q].a).s.propType&&((P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars)).length?x.scale(1+(M.s.v[0]-1)*P[0],1+(M.s.v[1]-1)*P[1],1):x.scale(1+(M.s.v[0]-1)*P,1+(M.s.v[1]-1)*P,1));for(q=0;q<z;q+=1){if(M=T[q].a,P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars),M.sk.propType&&(P.length?x.skewFromAxis(-M.sk.v*P[0],M.sa.v*P[1]):x.skewFromAxis(-M.sk.v*P,M.sa.v*P)),M.r.propType&&(P.length?x.rotateZ(-M.r.v*P[2]):x.rotateZ(-M.r.v*P)),M.ry.propType&&(P.length?x.rotateY(M.ry.v*P[1]):x.rotateY(M.ry.v*P)),M.rx.propType&&(P.length?x.rotateX(M.rx.v*P[0]):x.rotateX(M.rx.v*P)),M.o.propType&&(P.length?N+=(M.o.v*P[0]-N)*P[0]:N+=(M.o.v*P-N)*P),e.strokeWidthAnim&&M.sw.propType&&(P.length?J+=M.sw.v*P[0]:J+=M.sw.v*P),e.strokeColorAnim&&M.sc.propType)for(Y=0;Y<3;Y+=1)P.length?K[Y]+=(M.sc.v[Y]-K[Y])*P[0]:K[Y]+=(M.sc.v[Y]-K[Y])*P;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for(Y=0;Y<3;Y+=1)P.length?Z[Y]+=(M.fc.v[Y]-Z[Y])*P[0]:Z[Y]+=(M.fc.v[Y]-Z[Y])*P;M.fh.propType&&(Z=P.length?addHueToRGB(Z,M.fh.v*P[0]):addHueToRGB(Z,M.fh.v*P)),M.fs.propType&&(Z=P.length?addSaturationToRGB(Z,M.fs.v*P[0]):addSaturationToRGB(Z,M.fs.v*P)),M.fb.propType&&(Z=P.length?addBrightnessToRGB(Z,M.fb.v*P[0]):addBrightnessToRGB(Z,M.fb.v*P))}}for(q=0;q<z;q+=1)(M=T[q].a).p.propType&&(P=T[q].s.getMult(C[i].anIndexes[q],I.a[q].s.totalChars),this._hasMaskedPath?P.length?x.translate(0,M.p.v[1]*P[0],-M.p.v[2]*P[1]):x.translate(0,M.p.v[1]*P,-M.p.v[2]*P):P.length?x.translate(M.p.v[0]*P[0],M.p.v[1]*P[1],-M.p.v[2]*P[2]):x.translate(M.p.v[0]*P,M.p.v[1]*P,-M.p.v[2]*P));if(e.strokeWidthAnim&&(oe=J<0?0:J),e.strokeColorAnim&&(ne="rgb("+Math.round(255*K[0])+","+Math.round(255*K[1])+","+Math.round(255*K[2])+")"),e.fillColorAnim&&e.fc&&(se="rgb("+Math.round(255*Z[0])+","+Math.round(255*Z[1])+","+Math.round(255*Z[2])+")"),this._hasMaskedPath){if(x.translate(0,-e.ls),x.translate(0,S[1]*V*.01+n,0),this._pathData.p.v){E=(l.point[1]-d.point[1])/(l.point[0]-d.point[0]);var le=180*Math.atan(E)/Math.PI;l.point[0]<d.point[0]&&(le+=180),x.rotate(-le*Math.PI/180)}x.translate(R,L,0),o-=S[0]*C[i].an*.005,C[i+1]&&he!==C[i+1].ind&&(o+=C[i].an/2,o+=.001*e.tr*e.finalSize)}else{switch(x.translate(r,n,0),e.ps&&x.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:x.translate(C[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[i].line]),0,0);break;case 2:x.translate(C[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[i].line])/2,0,0)}x.translate(0,-e.ls),x.translate(F,0,0),x.translate(S[0]*C[i].an*.005,S[1]*V*.01,0),r+=C[i].l+.001*e.tr*e.finalSize}D==="html"?A=x.toCSS():D==="svg"?A=x.to2dCSS():B=[x.props[0],x.props[1],x.props[2],x.props[3],x.props[4],x.props[5],x.props[6],x.props[7],x.props[8],x.props[9],x.props[10],x.props[11],x.props[12],x.props[13],x.props[14],x.props[15]],fe=N}w<=i?(X=new LetterProps(fe,oe,ne,se,A,B),this.renderedLetters.push(X),w+=1,this.lettersChangedFlag=!0):(X=this.renderedLetters[i],this.lettersChangedFlag=X.update(fe,oe,ne,se,A,B)||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)},ITextElement.prototype.createPathShape=function(e,t){var r,n,i=t.length,a="";for(r=0;r<i;r+=1)t[r].ty==="sh"&&(n=t[r].ks.k,a+=buildShapeString(n,n.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,n,i){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(n,i,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(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(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 n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=t.title,this.svgElement.appendChild(n),r+=i}if(t&&t.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);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&&t.hideOnTransparent===!1),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||t.runExpressions===void 0||t.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}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,n=[],i="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(i),i=""):i+=e[t],t+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=t,n.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 n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;t=o.length;var p=this.mHelper,c=this.data.singleShape,h=0,g=0,d=!0,f=.001*r.tr*r.finalSize;if(!c||l||r.sz){var m,u=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!c||e===0){if(s=u>e?this.textSpans[e].span:createNS(l?"g":"text"),u<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var y=createNS("g");s.appendChild(y),this.textSpans[e].childSpan=y}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(p.reset(),c&&(o[e].n&&(h=-f,g+=r.yOffset,g+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(r,p,o[e].line,h,g),h+=o[e].l||0,h+=f),l){var v;if((m=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t===1)v=new SVGCompElement(m.data,this.globalData,this);else{var E=emptyShapeData;m.data&&m.data.shapes&&(E=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(E,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=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),m.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else c&&s.setAttribute("transform","translate("+p.props[12]+","+p.props[13]+")"),s.textContent=o[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&s&&s.setAttribute("d","")}else{var S=this.textContainer,T="start";switch(r.j){case 1:T="end";break;case 2:T="middle";break;default:T="start"}S.setAttribute("text-anchor",T),S.setAttribute("letter-spacing",f);var I=this.buildTextContents(r.finalText);for(t=I.length,g=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e].span||createNS("tspan")).textContent=I[e],s.setAttribute("x",0),s.setAttribute("y",g),s.style.display="inherit",S.appendChild(s),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=s,g+=r.finalLineHeight;this.layerElement.appendChild(S)}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.validateText(),(!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,n,i,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n||(r=a[e],n=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.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),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),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]&&this.layers[e].ty!==99){t[e]=!0;var r=this.createItem(this.layers[e]);if(t[e]=r,getExpressionsPlugin()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(this.elements[n]&&this.elements[n]!==!0){var i=t[n].getMatte(this.layers[e].tt);r.setMatte(i)}else this.buildItem(n),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 n="tp"in e.data?this.findIndexByInd(e.data.tp):t-1,i=this.elements[n].getMatte(this.layers[t].tt);e.setMatte(i);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;e===null?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 n,i=0;i<t;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):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,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-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)},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var r=0,n=e.transforms.length,i=t;r<n&&!t;){if(e.transforms[r].transform.mProps._mdf){i=!0;break}r+=1}if(i)for(e.finalTransform.reset(),r=n-1;r>=0;r-=1)e.finalTransform.multiply(e.transforms[r].transform.mProps.v);e._mdf=i},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,n=null;function i(){var a,s,o;t||(a=createNS("svg"),s=createNS("filter"),o=createNS("feColorMatrix"),s.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"),s.appendChild(o),a.appendChild(s),a.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(a.style.display="none"),n=a,document.body.appendChild(n),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:i,get:function(a){return t||i(),t.width=a.width,t.height=a.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},registeredEffects={};function CVEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0;for(this.filters=[],t=0;t<n;t+=1){r=null;var i=e.data.ef[t].ty;registeredEffects[i]&&(r=new registeredEffects[i].effect(e.effectsManager.effectElements[t],e)),r&&this.filters.push(r)}this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t){registeredEffects[e]={effect:t}}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)this.masksProperties[r].mode!=="n"&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVEffects.prototype.getEffects=function(e){var t,r=this.filters.length,n=[];for(t=0;t<r;t+=1)this.filters[t].type===e&&n.push(this.filters[t]);return n},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,i=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),e=0;e<s;e+=1)if(this.masksProperties[e].mode!=="n"){var o;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)),n=this.viewData[e].v,t=i.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(t[0],t[1]);var l=n._length;for(o=1;o<l;o+=1)r=i.applyToTriplePoints(n.o[o-1],n.i[o],n.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[o-1],n.i[0],n.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,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var s,o=r.length;for(i=0;i<o;i+=1)r[i].closed||(s={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(s),r[i].elements.push(s))}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(){}function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){var e;for(this.stack=[],this.cArrPos=0,this.cTr=new Matrix,e=0;e<15;e+=1){var t=new CanvasContext;this.stack[e]=t}this._length=15,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}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||t.clearCanvas===void 0||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||t.runExpressions===void 0||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",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}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 n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var i,a=e.ks.or.k.length;for(i=0;i<a;i+=1)e.ks.or.k[i].to=null,e.ks.or.k[i].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(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&&t.hideOnTransparent===!1),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&&t.hideOnTransparent===!1),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||t.runExpressions===void 0||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(this),this.searchEffectTransforms()},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),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(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&&(this.data.td!==1||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:e.hd===!0},n={};if(e.ty==="fl"||e.ty==="st"?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):e.ty!=="gf"&&e.ty!=="gs"||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),e.ty==="st"||e.ty==="gs"){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],e.lj==1&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=e.r===2?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},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,n,i){var a,s,o,l,p,c,h=e.length-1,g=[],d=[],f=[].concat(i);for(a=h;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,e[a].ty==="fl"||e[a].ty==="st"||e[a].ty==="gf"||e[a].ty==="gs")l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],f),g.push(t[a].style);else if(e[a].ty==="gr"){if(l)for(o=t[a].it.length,s=0;s<o;s+=1)t[a].prevViewData[s]=t[a].it[s];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,f)}else e[a].ty==="tr"?(l||(c=this.createTransformElement(e[a]),t[a]=c),f.push(t[a]),this.addTransformToStyleList(t[a])):e[a].ty==="sh"||e[a].ty==="rc"||e[a].ty==="el"||e[a].ty==="sr"?l||(t[a]=this.createShapeElement(e[a])):e[a].ty==="tm"||e[a].ty==="rd"||e[a].ty==="pb"||e[a].ty==="zz"||e[a].ty==="op"?(l?(p=t[a]).closed=!1:((p=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=p,this.shapeModifiers.push(p)),d.push(p)):e[a].ty==="rp"&&(l?(p=t[a]).closed=!0:(p=ShapeModifiers.getModifier(e[a].ty),t[a]=p,p.init(this,e,a,t),this.shapeModifiers.push(p),n=!1),d.push(p));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(g),h=d.length,a=0;a<h;a+=1)d[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,n,i,a,s,o,l,p=this.stylesList.length,c=this.globalData.renderer,h=this.globalData.canvasContext;for(e=0;e<p;e+=1)if(((o=(l=this.stylesList[e]).type)!=="st"&&o!=="gs"||l.wi!==0)&&l.data._shouldRender&&l.coOp!==0&&this.globalData.currentGlobalAlpha!==0){for(c.save(),a=l.elements,o==="st"||o==="gs"?(c.ctxStrokeStyle(o==="st"?l.co:l.grd),c.ctxLineWidth(l.wi),c.ctxLineCap(l.lc),c.ctxLineJoin(l.lj),c.ctxMiterLimit(l.ml||0)):c.ctxFillStyle(o==="fl"?l.co:l.grd),c.ctxOpacity(l.coOp),o!=="st"&&o!=="gs"&&h.beginPath(),c.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for(o!=="st"&&o!=="gs"||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),i=(s=a[t].trNodes).length,n=0;n<i;n+=1)s[n].t==="m"?h.moveTo(s[n].p[0],s[n].p[1]):s[n].t==="c"?h.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):h.closePath();o!=="st"&&o!=="gs"||(c.ctxStroke(),l.da&&h.setLineDash(this.dashResetter))}o!=="st"&&o!=="gs"&&this.globalData.renderer.ctxFill(l.r),c.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var i,a;for(a=e,i=t.length-1;i>=0;i-=1)t[i].ty==="tr"?(a=r[i].transform,this.renderShapeTransform(e,a)):t[i].ty==="sh"||t[i].ty==="el"||t[i].ty==="rc"||t[i].ty==="sr"?this.renderPath(t[i],r[i]):t[i].ty==="fl"?this.renderFill(t[i],r[i],a):t[i].ty==="st"?this.renderStroke(t[i],r[i],a):t[i].ty==="gf"||t[i].ty==="gs"?this.renderGradientFill(t[i],r[i],a):t[i].ty==="gr"?this.renderShape(a,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,a=e.trNodes,s=t.paths,o=s._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i<o;i+=1){var p=s.shapes[i];if(p&&p.v){for(n=p._length,r=1;r<n;r+=1)r===1&&a.push({t:"m",p:l.applyToPointArray(p.v[0][0],p.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(p.o[r-1],p.i[r],p.v[r])});n===1&&a.push({t:"m",p:l.applyToPointArray(p.v[0][0],p.v[0][1],0)}),p.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(p.o[r-1],p.i[0],p.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(e.hd!==!0&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||e.t!==1&&(t.h._mdf||t.a._mdf)){var a,s=this.globalData.canvasContext,o=t.s.v,l=t.e.v;if(e.t===1)n=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var p=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),c=Math.atan2(l[1]-o[1],l[0]-o[0]),h=t.h.v;h>=1?h=.99:h<=-1&&(h=-.99);var g=p*h,d=Math.cos(c+t.a.v)*g+o[0],f=Math.sin(c+t.a.v)*g+o[1];n=s.createRadialGradient(d,f,0,o[0],o[1],p)}var m=e.g.p,u=t.g.c,y=1;for(a=0;a<m;a+=1)t.g._hasOpacity&&t.g._collapsable&&(y=t.g.o[2*a+1]),n.addColorStop(u[4*a]/100,"rgba("+u[4*a+1]+","+u[4*a+2]+","+u[4*a+3]+","+y+")");i.grd=n}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.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 n,i,a,s,o,l,p,c,h,g,d,f,m=this.globalData.fontManager.getFontByName(e.f),u=e.l,y=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var v=this.data.singleShape,E=.001*e.tr*e.finalSize,b=0,S=0,T=!0,I=0;for(n=0;n<i;n+=1){s=(a=this.globalData.fontManager.getCharData(e.finalText[n],m.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&a.data||{},y.reset(),v&&u[n].n&&(b=-E,S+=e.yOffset,S+=T?1:0,T=!1),h=(p=s.shapes?s.shapes[0].it:[]).length,y.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,y,u[n].line,b,S),d=createSizedArray(h-1);var x=0;for(c=0;c<h;c+=1)if(p[c].ty==="sh"){for(l=p[c].ks.k.i.length,g=p[c].ks.k,f=[],o=1;o<l;o+=1)o===1&&f.push(y.applyToX(g.v[0][0],g.v[0][1],0),y.applyToY(g.v[0][0],g.v[0][1],0)),f.push(y.applyToX(g.o[o-1][0],g.o[o-1][1],0),y.applyToY(g.o[o-1][0],g.o[o-1][1],0),y.applyToX(g.i[o][0],g.i[o][1],0),y.applyToY(g.i[o][0],g.i[o][1],0),y.applyToX(g.v[o][0],g.v[o][1],0),y.applyToY(g.v[o][0],g.v[o][1],0));f.push(y.applyToX(g.o[o-1][0],g.o[o-1][1],0),y.applyToY(g.o[o-1][0],g.o[o-1][1],0),y.applyToX(g.i[0][0],g.i[0][1],0),y.applyToY(g.i[0][0],g.i[0][1],0),y.applyToX(g.v[0][0],g.v[0][1],0),y.applyToY(g.v[0][0],g.v[0][1],0)),d[x]=f,x+=1}v&&(b+=u[n].l,b+=E),this.textSpans[I]?this.textSpans[I].elem=d:this.textSpans[I]={elem:d},I+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,i,a;this.validateText(),this.canvasContext.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;t=l.length;var p,c,h=null,g=null,d=null,f=this.globalData.renderer;for(e=0;e<t;e+=1)if(!l[e].n){if((s=o[e])&&(f.save(),f.ctxTransform(s.p),f.ctxOpacity(s.o)),this.fill){for(s&&s.fc?h!==s.fc&&(f.ctxFillStyle(s.fc),h=s.fc):h!==this.values.fill&&(h=this.values.fill,f.ctxFillStyle(this.values.fill)),n=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(c[i],c[i+1],c[i+2],c[i+3],c[i+4],c[i+5]);this.globalData.canvasContext.closePath(),f.ctxFill()}if(this.stroke){for(s&&s.sw?d!==s.sw&&(d=s.sw,f.ctxLineWidth(s.sw)):d!==this.values.sWidth&&(d=this.values.sWidth,f.ctxLineWidth(this.values.sWidth)),s&&s.sc?g!==s.sc&&(g=s.sc,f.ctxStrokeStyle(s.sc)):g!==this.values.stroke&&(g=this.values.stroke,f.ctxStrokeStyle(this.values.stroke)),n=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(c=p[r]).length,this.globalData.canvasContext.moveTo(c[0],c[1]),i=2;i<a;i+=6)this.globalData.canvasContext.bezierCurveTo(c[i],c[i+1],c[i+2],c[i+3],c[i+4],c[i+5]);this.globalData.canvasContext.closePath(),f.ctxStroke()}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,n=e.getContext("2d"),i=this.img.width,a=this.img.height,s=i/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&l==="xMidYMid slice"||s<o&&l!=="xMidYMid slice"?t=(r=a)*o:r=(t=i)/o,n.drawImage(this.img,(i-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(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(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){e[0]===1&&e[1]===0&&e[4]===0&&e[5]===1&&e[12]===0&&e[13]===0||this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){this.canvasContext.globalAlpha*=e<0?0:e},CanvasRendererBase.prototype.ctxFillStyle=function(e){this.canvasContext.fillStyle=e},CanvasRendererBase.prototype.ctxStrokeStyle=function(e){this.canvasContext.strokeStyle=e},CanvasRendererBase.prototype.ctxLineWidth=function(e){this.canvasContext.lineWidth=e},CanvasRendererBase.prototype.ctxLineCap=function(e){this.canvasContext.lineCap=e},CanvasRendererBase.prototype.ctxLineJoin=function(e){this.canvasContext.lineJoin=e},CanvasRendererBase.prototype.ctxMiterLimit=function(e){this.canvasContext.miterLimit=e},CanvasRendererBase.prototype.ctxFill=function(e){this.canvasContext.fill(e)},CanvasRendererBase.prototype.ctxFillRect=function(e,t,r,n){this.canvasContext.fillRect(e,t,r,n)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){this.renderConfig.clearCanvas?(e&&(this.globalData.blendMode="source-over"),this.contextData.restore(e)):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.contextData.setContext(this.canvasContext),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,n,i,a;if(this.reset(),e?(r=e,n=t,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=n):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,n=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,n=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=n*this.renderConfig.dpr),this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",p=l.substr(0,4),c=l.substr(4);i=r/n,(a=this.transformCanvas.w/this.transformCanvas.h)>i&&o==="meet"||a<i&&o==="slice"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=n/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=n/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx=p==="xMid"&&(a<i&&o==="meet"||a>i&&o==="slice")?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:p==="xMax"&&(a<i&&o==="meet"||a>i&&o==="slice")?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty=c==="YMid"&&(a>i&&o==="meet"||a<i&&o==="slice")?(n-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:c==="YMax"&&(a>i&&o==="meet"||a<i&&o==="slice")?(n-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=n/(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||this.renderConfig.clearCanvas!==!0||t)&&!this.destroyed&&e!==-1){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 n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&this.layers[e].ty!==99){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"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t<e;t+=1)this.stack[t]=new CanvasContext;this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(e){this.cArrPos-=1;var t,r=this.stack[this.cArrPos],n=r.transform,i=this.cTr.props;for(t=0;t<16;t+=1)i[t]=n[t];if(e){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.miterLimit}this.nativeContext.setTransform(n[0],n[1],n[4],n[5],n[12],n[13]),(e||r.opacity!==-1&&this.currentOpacity!==r.opacity)&&(this.nativeContext.globalAlpha=r.opacity,this.currentOpacity=r.opacity),this.currentFillStyle=r.fillStyle,this.currentStrokeStyle=r.strokeStyle,this.currentLineWidth=r.lineWidth,this.currentLineCap=r.lineCap,this.currentLineJoin=r.lineJoin,this.currentMiterLimit=r.miterLimit},CVContextData.prototype.save=function(e){e&&this.nativeContext.save();var t=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r,n=this.stack[this.cArrPos];for(r=0;r<16;r+=1)n.transform[r]=t[r];this.cArrPos+=1;var i=this.stack[this.cArrPos];i.opacity=n.opacity,i.fillStyle=n.fillStyle,i.strokeStyle=n.strokeStyle,i.lineWidth=n.lineWidth,i.lineCap=n.lineCap,i.lineJoin=n.lineJoin,i.miterLimit=n.miterLimit},CVContextData.prototype.setOpacity=function(e){this.stack[this.cArrPos].opacity=e},CVContextData.prototype.setContext=function(e){this.nativeContext=e},CVContextData.prototype.fillStyle=function(e){this.stack[this.cArrPos].fillStyle!==e&&(this.currentFillStyle=e,this.stack[this.cArrPos].fillStyle=e)},CVContextData.prototype.strokeStyle=function(e){this.stack[this.cArrPos].strokeStyle!==e&&(this.currentStrokeStyle=e,this.stack[this.cArrPos].strokeStyle=e)},CVContextData.prototype.lineWidth=function(e){this.stack[this.cArrPos].lineWidth!==e&&(this.currentLineWidth=e,this.stack[this.cArrPos].lineWidth=e)},CVContextData.prototype.lineCap=function(e){this.stack[this.cArrPos].lineCap!==e&&(this.currentLineCap=e,this.stack[this.cArrPos].lineCap=e)},CVContextData.prototype.lineJoin=function(e){this.stack[this.cArrPos].lineJoin!==e&&(this.currentLineJoin=e,this.stack[this.cArrPos].lineJoin=e)},CVContextData.prototype.miterLimit=function(e){this.stack[this.cArrPos].miterLimit!==e&&(this.currentMiterLimit=e,this.stack[this.cArrPos].miterLimit=e)},CVContextData.prototype.transform=function(e){this.transformMat.cloneFromProps(e);var t=this.cTr;this.transformMat.multiply(t),t.cloneFromProps(this.transformMat.props);var r=t.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(e){var t=this.stack[this.cArrPos].opacity;t*=e<0?0:e,this.stack[this.cArrPos].opacity!==t&&(this.currentOpacity!==e&&(this.nativeContext.globalAlpha=e,this.currentOpacity=e),this.stack[this.cArrPos].opacity=t)},CVContextData.prototype.fill=function(e){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(e)},CVContextData.prototype.fillRect=function(e,t,r,n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(e,t,r,n)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()},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),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var 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,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,i,a,s,o=e.sh.v,l=e.transformers,p=o._length;if(!(p<=1)){for(r=0;r<p-1;r+=1)n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(n,i,a,s,t);o.c&&(n=this.getTransformedPoint(l,o.v[r]),i=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(n,i,a,s,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,i){this.getBoundsOfCurve(e,t,r,n);var a=this.shapeBoundingBox;i.x=bmMin(a.left,i.x),i.xMax=bmMax(a.right,i.xMax),i.y=bmMin(a.top,i.y),i.yMax=bmMax(a.bottom,i.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,n){for(var i,a,s,o,l,p,c,h=[[e[0],n[0]],[e[1],n[1]]],g=0;g<2;++g)a=6*e[g]-12*t[g]+6*r[g],i=-3*e[g]+9*t[g]-9*r[g]+3*n[g],s=3*t[g]-3*e[g],a|=0,s|=0,(i|=0)===0&&a===0||(i===0?(o=-s/a)>0&&o<1&&h[g].push(this.calculateF(o,e,t,r,n,g)):(l=a*a-4*s*i)>=0&&((p=(-a+bmSqrt(l))/(2*i))>0&&p<1&&h[g].push(this.calculateF(p,e,t,r,n,g)),(c=(-a-bmSqrt(l))/(2*i))>0&&c<1&&h[g].push(this.calculateF(c,e,t,r,n,g))));this.shapeBoundingBox.left=bmMin.apply(null,h[0]),this.shapeBoundingBox.top=bmMin.apply(null,h[1]),this.shapeBoundingBox.right=bmMax.apply(null,h[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,h[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;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 n=0;n<e.keyframes.length;n+=1){var i=e.keyframes[n].s;i>r&&(r=i)}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 n=this.shapeCont.style,i="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";n.transform=i,n.webkitTransform=i}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var 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 n,i,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 s=e.fWeight,o=e.fStyle;t.fontStyle=o,t.fontWeight=s}var l,p,c,h=e.l;i=h.length;var g,d=this.mHelper,f="",m=0;for(n=0;n<i;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?c=(p=this.textSpans[m]).children[0]:((p=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(l),styleDiv(p)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(p=this.textSpans[m],l=this.textPaths[m]):(styleDiv(p=createTag("span")),styleDiv(l=createTag("span")),p.appendChild(l)),this.globalData.fontManager.chars){var u,y=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(u=y?y.data:null,d.reset(),u&&u.shapes&&u.shapes.length&&(g=u.shapes[0].it,d.scale(e.finalSize/100,e.finalSize/100),f=this.createPathShape(d,g),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(p),u&&u.shapes){document.body.appendChild(c);var v=c.getBBox();c.setAttribute("width",v.width+2),c.setAttribute("height",v.height+2),c.setAttribute("viewBox",v.x-1+" "+(v.y-1)+" "+(v.width+2)+" "+(v.height+2));var E=c.style,b="translate("+(v.x-1)+"px,"+(v.y-1)+"px)";E.transform=b,E.webkitTransform=b,h[n].yOffset=v.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);p.appendChild(c)}}else if(l.textContent=h[n].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(p);var S=l.style,T="translate3d(0,"+-e.finalSize/1.2+"px,0)";S.transform=T,S.webkitTransform=T}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=p,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var e;if(this.validateText(),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,n,i,a,s,o=0,l=this.textAnimator.renderedLetters,p=this.textProperty.currentData.l;for(n=p.length,r=0;r<n;r+=1)p[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],i=l[o],o+=1,i._mdf.m&&(this.isMasked?a.setAttribute("transform",i.m):(a.style.webkitTransform=i.m,a.style.transform=i.m)),a.style.opacity=i.o,i.sw&&i._mdf.sw&&s.setAttribute("stroke-width",i.sw),i.sc&&i._mdf.sc&&s.setAttribute("stroke",i.sc),i.fc&&i._mdf.fc&&(s.setAttribute("fill",i.fc),s.style.color=i.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();if(this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height)),this.currentBBox.w!==c.width+2||this.currentBBox.h!==c.height+2||this.currentBBox.x!==c.x-1||this.currentBBox.y!==c.y-1){this.currentBBox.w=c.width+2,this.currentBBox.h=c.height+2,this.currentBBox.x=c.x-1,this.currentBBox.y=c.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),e=this.svgElement.style;var h="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";e.transform=h,e.webkitTransform=h}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r,n,i=this.comp.threeDElements.length;for(e=0;e<i;e+=1)if((t=this.comp.threeDElements[e]).type==="3d"){r=t.perspectiveElem.style,n=t.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,n.transformOrigin=s,n.mozTransformOrigin=s,n.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},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 n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 i;i=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(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),p=Math.atan2(s[0],-s[2]);this.mat.rotateY(p).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 c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var h,g,d;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)if((h=this.comp.threeDElements[e]).type==="3d"){if(c){var f=this.mat.toCSS();(d=h.container.style).transform=f,d.webkitTransform=f}this.pe._mdf&&((g=h.perspectiveElem.style).perspective=this.pe.v+"px",g.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 n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var i,a,s=0;s<t;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(a=this.elements[s],i=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||i),s+=1;i?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,i):n.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,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),t==="3d"){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=o,n.webkitTransform=o}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&this.layers[e].ty!==3?(n!=="3d"&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):(n!=="2d"&&(n="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,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var i,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(i=this.elements[a].getBaseElement()),a+=1;i?this.threeDElements[r].container.insertBefore(e,i):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper,n=t.style;n.width=e.w+"px",n.height=e.h+"px",this.resizerElem=t,styleDiv(t),n.transformStyle="flat",n.mozTransformStyle="flat",n.webkitTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),n.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var a=createNS("defs");i.appendChild(a),this.data=e,this.setupGlobalData(e,i),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,n,i=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=i/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)",o.transform=o.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,n=this.threeDElements.length;for(e=0;e<n;e+=1){var i=this.threeDElements[e].perspectiveElem.style;i.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px",i.perspective=i.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var i=this.createComp(e[t],n,this.globalData.comp,null);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},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,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=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(r){for(var n=0,i=e.layers.length;n<i;){if(e.layers[n].nm===r||e.layers[n].ind===r)return e.elements[n].layerInterface;n+=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};function _typeof$2(e){return _typeof$2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$2(e)}function seedRandom(e,t){var r,n=this,i=256,a=t.pow(i,6),s=t.pow(2,52),o=2*s,l=255;function p(f){var m,u=f.length,y=this,v=0,E=y.i=y.j=0,b=y.S=[];for(u||(f=[u++]);v<i;)b[v]=v++;for(v=0;v<i;v++)b[v]=b[E=l&E+f[v%u]+(m=b[v])],b[E]=m;y.g=function(S){for(var T,I=0,x=y.i,D=y.j,w=y.S;S--;)T=w[x=l&x+1],I=I*i+w[l&(w[x]=w[D=l&D+T])+(w[D]=T)];return y.i=x,y.j=D,I}}function c(f,m){return m.i=f.i,m.j=f.j,m.S=f.S.slice(),m}function h(f,m){var u,y=[],v=_typeof$2(f);if(m&&v=="object")for(u in f)try{y.push(h(f[u],m-1))}catch{}return y.length?y:v=="string"?f:f+"\0"}function g(f,m){for(var u,y=f+"",v=0;v<y.length;)m[l&v]=l&(u^=19*m[l&v])+y.charCodeAt(v++);return d(m)}function d(f){return String.fromCharCode.apply(0,f)}t.seedrandom=function(f,m,u){var y=[],v=g(h((m=m===!0?{entropy:!0}:m||{}).entropy?[f,d(e)]:f===null?function(){try{var S=new Uint8Array(i);return(n.crypto||n.msCrypto).getRandomValues(S),d(S)}catch{var T=n.navigator,I=T&&T.plugins;return[+new Date,n,I,n.screen,d(e)]}}():f,3),y),E=new p(y),b=function(){for(var S=E.g(6),T=a,I=0;S<s;)S=(S+I)*i,T*=i,I=E.g(1);for(;S>=o;)S/=2,T/=2,I>>>=1;return(S+I)/T};return b.int32=function(){return 0|E.g(4)},b.quick=function(){return E.g(4)/4294967296},b.double=b,g(d(E.S),e),(m.pass||u||function(S,T,I,x){return x&&(x.S&&c(x,E),S.state=function(){return c(E,{})}),I?(t.random=S,T):S})(b,v,"global"in m?m.global:this==t,m.state)},g(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return e==="number"||t instanceof Number||e==="boolean"||e==="string"}function $bm_neg(e){var t=_typeof$1(e);if(t==="number"||e instanceof Number||t==="boolean")return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;r<n;r+=1)i[r]=-e[r];return i}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$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t)||r==="string"||n==="string")return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,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 i=0,a=e.length,s=t.length,o=[];i<a||i<s;)(typeof e[i]=="number"||e[i]instanceof Number)&&(typeof t[i]=="number"||t[i]instanceof Number)?o[i]=e[i]+t[i]:o[i]=t[i]===void 0?e[i]:e[i]||t[i],i+=1;return o}return 0}var add=sum;function sub(e,t){var r=_typeof$1(e),n=_typeof$1(t);if(isNumerable(r,e)&&isNumerable(n,t))return r==="string"&&(e=parseInt(e,10)),n==="string"&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,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 i=0,a=e.length,s=t.length,o=[];i<a||i<s;)(typeof e[i]=="number"||e[i]instanceof Number)&&(typeof t[i]=="number"||t[i]instanceof Number)?o[i]=e[i]-t[i]:o[i]=t[i]===void 0?e[i]:e[i]||t[i],i+=1;return o}return 0}function mul(e,t){var r,n,i,a=_typeof$1(e),s=_typeof$1(t);if(isNumerable(a,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,i,a=_typeof$1(e),s=_typeof$1(t);if(isNumerable(a,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return typeof e=="string"&&(e=parseInt(e,10)),typeof t=="string"&&(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 n=r;r=t,t=n}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(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(t[r]-e[r],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],i=e[1],a=e[2],s=Math.max(n,i,a),o=Math.min(n,i,a),l=(s+o)/2;if(s===o)t=0,r=0;else{var p=s-o;switch(r=l>.5?p/(2-s-o):p/(s+o),s){case n:t=(i-a)/p+(i<a?6:0);break;case i:t=(a-n)/p+2;break;case a:t=(n-i)/p+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,n,i=e[0],a=e[1],s=e[2];if(a===0)t=s,n=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;t=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(n!==void 0&&i!==void 0||(n=t,i=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return n;if(e>=r)return i;var s,o=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*o;var l=n.length,p=createTypedArray("float32",l);for(s=0;s<l;s+=1)p[s]=n[s]+(i[s]-n[s])*o;return p}function random(e,t){if(t===void 0&&(e===void 0?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var i=createTypedArray("float32",n),a=BMMath.random();for(r=0;r<n;r+=1)i[r]=e[r]+a*(t[r]-e[r]);return i}return e===void 0&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var i,a=e.length,s=shapePool.newElement();s.setPathData(!!n,a);var o,l,p=[0,0];for(i=0;i<a;i+=1)o=t&&t[i]?t[i]:p,l=r&&r[i]?r[i]:p,s.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],o[0]+e[i][0],o[1]+e[i][1],i,!0);return s}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=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function(e,t){var r,n,i=this.pv.length?this.pv.length:1,a=createTypedArray("float32",i),s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<i;n+=1)a[n]+=-t+2*t*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),p=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)p[n]=this.pv[n]+a[n]+(-t+2*t*BMMath.random())*l;return p}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]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,i){return applyEase(easeOutBez,e,t,r,n,i)}function easeIn(e,t,r,n,i){return applyEase(easeInBez,e,t,r,n,i)}function ease(e,t,r,n,i){return applyEase(easeInOutBez,e,t,r,n,i)}function applyEase(e,t,r,n,i,a){i===void 0?(i=r,a=n):t=(t-r)/(n-r),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(i)){var o,l=i.length,p=createTypedArray("float32",l);for(o=0;o<l;o+=1)p[o]=(a[o]-i[o])*s+i[o];return p}return(a-i)*s+i}function nearestKey(e){var t,r,n,i=data.k.length;if(data.k.length&&typeof data.k[0]!="number")if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){r=t+1,n=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,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}r===-1&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;if(!data.k.length||typeof data.k[0]=="number")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 i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;r<n;r+=1)t[r]=i[r],t.value[r]=i[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||e===0||(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 typeof value=="string"?t===void 0?value.substring(e):value.substring(e,t):""}function substr(e,t){return typeof value=="string"?t===void 0?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=e===0?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&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType!==4||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!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,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var e={};return e.initExpressions=function(t){var r=0,n=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){r+=1},t.renderer.globalData.popExpression=function(){(r-=1)==0&&function(){var i,a=n.length;for(i=0;i<a;i+=1)n[i].release();n.length=0}()},t.renderer.globalData.registerExpressionProperty=function(i){n.indexOf(i)===-1&&n.push(i)}},e.resetFrame=ExpressionManager.resetFrame,e}(),MaskManagerInterface=function(){function e(t,r){this._mask=t,this._data=r}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,n=createSizedArray(t.viewData.length),i=t.viewData.length;for(r=0;r<i;r+=1)n[r]=new e(t.viewData[r],t.masksProperties[r]);return function(a){for(r=0;r<i;){if(t.masksProperties[r].nm===a)return n[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(i,a,s){Object.defineProperty(i,"velocity",{get:function(){return a.getVelocityAtTime(a.comp.currentFrame)}}),i.numKeys=a.keyframes?a.keyframes.length:0,i.key=function(o){if(!i.numKeys)return 0;var l="";l="s"in a.keyframes[o-1]?a.keyframes[o-1].s:"e"in a.keyframes[o-2]?a.keyframes[o-2].e:a.keyframes[o-2].s;var p=s==="unidimensional"?new Number(l):Object.assign({},l);return p.time=a.keyframes[o-1].t/a.elem.comp.globalData.frameRate,p.value=s==="unidimensional"?l[0]:l,p},i.valueAtTime=a.getValueAtTime,i.speedAtTime=a.getSpeedAtTime,i.velocityAtTime=a.getVelocityAtTime,i.propertyGroup=a.propertyGroup}function n(){return e}return function(i){return i?i.propType==="unidimensional"?function(a){a&&"pv"in a||(a=e);var s=1/a.mult,o=a.pv*s,l=new Number(o);return l.value=o,r(l,a,"unidimensional"),function(){return a.k&&a.getValue(),o=a.v*s,l.value!==o&&((l=new Number(o)).value=o,r(l,a,"unidimensional")),l}}(i):function(a){a&&"pv"in a||(a=t);var s=1/a.mult,o=a.data&&a.data.l||a.pv.length,l=createTypedArray("float32",o),p=createTypedArray("float32",o);return l.value=p,r(l,a,"multidimensional"),function(){a.k&&a.getValue();for(var c=0;c<o;c+=1)p[c]=a.v[c]*s,l[c]=p[c];return l}}(i):n}}(),TransformExpressionInterface=function(e){function t(s){switch(s){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,n,i,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),n=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?a():[r(),n(),i?i():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(p){var c=new Matrix;return p!==void 0?this._elem.finalTransform.mProp.getValueAtTime(p).clone(c):this._elem.finalTransform.mProp.applyToMatrix(c),c}function t(p,c){var h=this.getMatrix(c);return h.props[12]=0,h.props[13]=0,h.props[14]=0,this.applyPoint(h,p)}function r(p,c){var h=this.getMatrix(c);return this.applyPoint(h,p)}function n(p,c){var h=this.getMatrix(c);return h.props[12]=0,h.props[13]=0,h.props[14]=0,this.invertPoint(h,p)}function i(p,c){var h=this.getMatrix(c);return this.invertPoint(h,p)}function a(p,c){if(this._elem.hierarchy&&this._elem.hierarchy.length){var h,g=this._elem.hierarchy.length;for(h=0;h<g;h+=1)this._elem.hierarchy[h].finalTransform.mProp.applyToMatrix(p)}return p.applyToPointArray(c[0],c[1],c[2]||0)}function s(p,c){if(this._elem.hierarchy&&this._elem.hierarchy.length){var h,g=this._elem.hierarchy.length;for(h=0;h<g;h+=1)this._elem.hierarchy[h].finalTransform.mProp.applyToMatrix(p)}return p.inversePoint(c)}function o(p){var c=new Matrix;if(c.reset(),this._elem.finalTransform.mProp.applyToMatrix(c),this._elem.hierarchy&&this._elem.hierarchy.length){var h,g=this._elem.hierarchy.length;for(h=0;h<g;h+=1)this._elem.hierarchy[h].finalTransform.mProp.applyToMatrix(c);return c.inversePoint(p)}return c.inversePoint(p)}function l(){return[1,1,1,1]}return function(p){var c;function h(d){switch(d){case"ADBE Root Vectors Group":case"Contents":case 2:return h.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return c;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return h.effect;case"ADBE Text Properties":return h.textInterface;default:return null}}h.getMatrix=e,h.invertPoint=s,h.applyPoint=a,h.toWorld=r,h.toWorldVec=t,h.fromWorld=i,h.fromWorldVec=n,h.toComp=r,h.fromComp=o,h.sampleImage=l,h.sourceRectAtTime=p.sourceRectAtTime.bind(p),h._elem=p;var g=getDescriptor(c=TransformExpressionInterface(p.finalTransform.mProp),"anchorPoint");return Object.defineProperties(h,{hasParent:{get:function(){return p.hierarchy.length}},parent:{get:function(){return p.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:g,anchor_point:g,transform:{get:function(){return c}},active:{get:function(){return p.isInRange}}}),h.startTime=p.data.st,h.index=p.data.ind,h.source=p.data.refId,h.height=p.data.ty===0?p.data.h:100,h.width=p.data.ty===0?p.data.w:100,h.inPoint=p.data.ip/p.comp.globalData.frameRate,h.outPoint=p.data.op/p.comp.globalData.frameRate,h._name=p.data.nm,h.registerMaskInterface=function(d){h.mask=new MaskManagerInterface(d,p)},h.registerEffectsInterface=function(d){h.effect=d},h}}(),propertyGroupFactory=function(e,t){return function(r){return(r=r===void 0?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(n){return(n=n===void 0?1:n)<=0?r:t(n-1)}},EffectsExpressionInterface=function(){function e(r,n,i,a){function s(h){for(var g=r.ef,d=0,f=g.length;d<f;){if(h===g[d].nm||h===g[d].mn||h===g[d].ix)return g[d].ty===5?p[d]:p[d]();d+=1}throw new Error}var o,l=propertyGroupFactory(s,i),p=[],c=r.ef.length;for(o=0;o<c;o+=1)r.ef[o].ty===5?p.push(e(r.ef[o],n.effectElements[o],n.effectElements[o].propertyGroup,a)):p.push(t(n.effectElements[o],r.ef[o].ty,a,l));return r.mn==="ADBE Color Control"&&Object.defineProperty(s,"color",{get:function(){return p[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=r.en!==0,s.active=s.enabled,s}function t(r,n,i,a){var s=ExpressionPropertyInterface(r.p);return r.p.setGroupProperty&&r.p.setGroupProperty(PropertyInterface("",a)),function(){return n===10?i.comp.compInterface(r.p.v):s()}}return{createEffectsInterface:function(r,n){if(r.effectsManager){var i,a=[],s=r.data.ef,o=r.effectsManager.effectElements.length;for(i=0;i<o;i+=1)a.push(e(s[i],r.effectsManager.effectElements[i],n,r));var l=r.data.ef||[],p=function(c){for(i=0,o=l.length;i<o;){if(c===l[i].nm||c===l[i].mn||c===l[i].ix)return a[i];i+=1}return null};return Object.defineProperty(p,"numProperties",{get:function(){return l.length}}),p}return null}}}(),ShapePathInterface=function(e,t,r){var n=t.sh;function i(s){return s==="Shape"||s==="shape"||s==="Path"||s==="path"||s==="ADBE Vector Shape"||s===2?i.path:null}var a=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),i},ShapeExpressionInterface=function(){function e(d,f,m){var u,y=[],v=d?d.length:0;for(u=0;u<v;u+=1)d[u].ty==="gr"?y.push(t(d[u],f[u],m)):d[u].ty==="fl"?y.push(r(d[u],f[u],m)):d[u].ty==="st"?y.push(a(d[u],f[u],m)):d[u].ty==="tm"?y.push(s(d[u],f[u],m)):d[u].ty==="tr"||(d[u].ty==="el"?y.push(l(d[u],f[u],m)):d[u].ty==="sr"?y.push(p(d[u],f[u],m)):d[u].ty==="sh"?y.push(ShapePathInterface(d[u],f[u],m)):d[u].ty==="rc"?y.push(c(d[u],f[u],m)):d[u].ty==="rd"?y.push(h(d[u],f[u],m)):d[u].ty==="rp"?y.push(g(d[u],f[u],m)):d[u].ty==="gf"?y.push(n(d[u],f[u],m)):y.push(i(d[u],f[u])));return y}function t(d,f,m){var u=function(E){switch(E){case"ADBE Vectors Group":case"Contents":case 2:return u.content;default:return u.transform}};u.propertyGroup=propertyGroupFactory(u,m);var y=function(E,b,S){var T,I=function(D){for(var w=0,C=T.length;w<C;){if(T[w]._name===D||T[w].mn===D||T[w].propertyIndex===D||T[w].ix===D||T[w].ind===D)return T[w];w+=1}return typeof D=="number"?T[D-1]:null};I.propertyGroup=propertyGroupFactory(I,S),T=e(E.it,b.it,I.propertyGroup),I.numProperties=T.length;var x=o(E.it[E.it.length-1],b.it[b.it.length-1],I.propertyGroup);return I.transform=x,I.propertyIndex=E.cix,I._name=E.nm,I}(d,f,u.propertyGroup),v=o(d.it[d.it.length-1],f.it[f.it.length-1],u.propertyGroup);return u.content=y,u.transform=v,Object.defineProperty(u,"_name",{get:function(){return d.nm}}),u.numProperties=d.np,u.propertyIndex=d.ix,u.nm=d.nm,u.mn=d.mn,u}function r(d,f,m){function u(y){return y==="Color"||y==="color"?u.color:y==="Opacity"||y==="opacity"?u.opacity:null}return Object.defineProperties(u,{color:{get:ExpressionPropertyInterface(f.c)},opacity:{get:ExpressionPropertyInterface(f.o)},_name:{value:d.nm},mn:{value:d.mn}}),f.c.setGroupProperty(PropertyInterface("Color",m)),f.o.setGroupProperty(PropertyInterface("Opacity",m)),u}function n(d,f,m){function u(y){return y==="Start Point"||y==="start point"?u.startPoint:y==="End Point"||y==="end point"?u.endPoint:y==="Opacity"||y==="opacity"?u.opacity:null}return Object.defineProperties(u,{startPoint:{get:ExpressionPropertyInterface(f.s)},endPoint:{get:ExpressionPropertyInterface(f.e)},opacity:{get:ExpressionPropertyInterface(f.o)},type:{get:function(){return"a"}},_name:{value:d.nm},mn:{value:d.mn}}),f.s.setGroupProperty(PropertyInterface("Start Point",m)),f.e.setGroupProperty(PropertyInterface("End Point",m)),f.o.setGroupProperty(PropertyInterface("Opacity",m)),u}function i(){return function(){return null}}function a(d,f,m){var u,y=propertyGroupFactory(T,m),v=propertyGroupFactory(S,y);function E(I){Object.defineProperty(S,d.d[I].nm,{get:ExpressionPropertyInterface(f.d.dataProps[I].p)})}var b=d.d?d.d.length:0,S={};for(u=0;u<b;u+=1)E(u),f.d.dataProps[u].p.setGroupProperty(v);function T(I){return I==="Color"||I==="color"?T.color:I==="Opacity"||I==="opacity"?T.opacity:I==="Stroke Width"||I==="stroke width"?T.strokeWidth:null}return Object.defineProperties(T,{color:{get:ExpressionPropertyInterface(f.c)},opacity:{get:ExpressionPropertyInterface(f.o)},strokeWidth:{get:ExpressionPropertyInterface(f.w)},dash:{get:function(){return S}},_name:{value:d.nm},mn:{value:d.mn}}),f.c.setGroupProperty(PropertyInterface("Color",y)),f.o.setGroupProperty(PropertyInterface("Opacity",y)),f.w.setGroupProperty(PropertyInterface("Stroke Width",y)),T}function s(d,f,m){function u(v){return v===d.e.ix||v==="End"||v==="end"?u.end:v===d.s.ix?u.start:v===d.o.ix?u.offset:null}var y=propertyGroupFactory(u,m);return u.propertyIndex=d.ix,f.s.setGroupProperty(PropertyInterface("Start",y)),f.e.setGroupProperty(PropertyInterface("End",y)),f.o.setGroupProperty(PropertyInterface("Offset",y)),u.propertyIndex=d.ix,u.propertyGroup=m,Object.defineProperties(u,{start:{get:ExpressionPropertyInterface(f.s)},end:{get:ExpressionPropertyInterface(f.e)},offset:{get:ExpressionPropertyInterface(f.o)},_name:{value:d.nm}}),u.mn=d.mn,u}function o(d,f,m){function u(v){return d.a.ix===v||v==="Anchor Point"?u.anchorPoint:d.o.ix===v||v==="Opacity"?u.opacity:d.p.ix===v||v==="Position"?u.position:d.r.ix===v||v==="Rotation"||v==="ADBE Vector Rotation"?u.rotation:d.s.ix===v||v==="Scale"?u.scale:d.sk&&d.sk.ix===v||v==="Skew"?u.skew:d.sa&&d.sa.ix===v||v==="Skew Axis"?u.skewAxis:null}var y=propertyGroupFactory(u,m);return f.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",y)),f.transform.mProps.p.setGroupProperty(PropertyInterface("Position",y)),f.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",y)),f.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",y)),f.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",y)),f.transform.mProps.sk&&(f.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",y)),f.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",y))),f.transform.op.setGroupProperty(PropertyInterface("Opacity",y)),Object.defineProperties(u,{opacity:{get:ExpressionPropertyInterface(f.transform.mProps.o)},position:{get:ExpressionPropertyInterface(f.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(f.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(f.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(f.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(f.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(f.transform.mProps.sa)},_name:{value:d.nm}}),u.ty="tr",u.mn=d.mn,u.propertyGroup=m,u}function l(d,f,m){function u(E){return d.p.ix===E?u.position:d.s.ix===E?u.size:null}var y=propertyGroupFactory(u,m);u.propertyIndex=d.ix;var v=f.sh.ty==="tm"?f.sh.prop:f.sh;return v.s.setGroupProperty(PropertyInterface("Size",y)),v.p.setGroupProperty(PropertyInterface("Position",y)),Object.defineProperties(u,{size:{get:ExpressionPropertyInterface(v.s)},position:{get:ExpressionPropertyInterface(v.p)},_name:{value:d.nm}}),u.mn=d.mn,u}function p(d,f,m){function u(E){return d.p.ix===E?u.position:d.r.ix===E?u.rotation:d.pt.ix===E?u.points:d.or.ix===E||E==="ADBE Vector Star Outer Radius"?u.outerRadius:d.os.ix===E?u.outerRoundness:!d.ir||d.ir.ix!==E&&E!=="ADBE Vector Star Inner Radius"?d.is&&d.is.ix===E?u.innerRoundness:null:u.innerRadius}var y=propertyGroupFactory(u,m),v=f.sh.ty==="tm"?f.sh.prop:f.sh;return u.propertyIndex=d.ix,v.or.setGroupProperty(PropertyInterface("Outer Radius",y)),v.os.setGroupProperty(PropertyInterface("Outer Roundness",y)),v.pt.setGroupProperty(PropertyInterface("Points",y)),v.p.setGroupProperty(PropertyInterface("Position",y)),v.r.setGroupProperty(PropertyInterface("Rotation",y)),d.ir&&(v.ir.setGroupProperty(PropertyInterface("Inner Radius",y)),v.is.setGroupProperty(PropertyInterface("Inner Roundness",y))),Object.defineProperties(u,{position:{get:ExpressionPropertyInterface(v.p)},rotation:{get:ExpressionPropertyInterface(v.r)},points:{get:ExpressionPropertyInterface(v.pt)},outerRadius:{get:ExpressionPropertyInterface(v.or)},outerRoundness:{get:ExpressionPropertyInterface(v.os)},innerRadius:{get:ExpressionPropertyInterface(v.ir)},innerRoundness:{get:ExpressionPropertyInterface(v.is)},_name:{value:d.nm}}),u.mn=d.mn,u}function c(d,f,m){function u(E){return d.p.ix===E?u.position:d.r.ix===E?u.roundness:d.s.ix===E||E==="Size"||E==="ADBE Vector Rect Size"?u.size:null}var y=propertyGroupFactory(u,m),v=f.sh.ty==="tm"?f.sh.prop:f.sh;return u.propertyIndex=d.ix,v.p.setGroupProperty(PropertyInterface("Position",y)),v.s.setGroupProperty(PropertyInterface("Size",y)),v.r.setGroupProperty(PropertyInterface("Rotation",y)),Object.defineProperties(u,{position:{get:ExpressionPropertyInterface(v.p)},roundness:{get:ExpressionPropertyInterface(v.r)},size:{get:ExpressionPropertyInterface(v.s)},_name:{value:d.nm}}),u.mn=d.mn,u}function h(d,f,m){function u(E){return d.r.ix===E||E==="Round Corners 1"?u.radius:null}var y=propertyGroupFactory(u,m),v=f;return u.propertyIndex=d.ix,v.rd.setGroupProperty(PropertyInterface("Radius",y)),Object.defineProperties(u,{radius:{get:ExpressionPropertyInterface(v.rd)},_name:{value:d.nm}}),u.mn=d.mn,u}function g(d,f,m){function u(E){return d.c.ix===E||E==="Copies"?u.copies:d.o.ix===E||E==="Offset"?u.offset:null}var y=propertyGroupFactory(u,m),v=f;return u.propertyIndex=d.ix,v.c.setGroupProperty(PropertyInterface("Copies",y)),v.o.setGroupProperty(PropertyInterface("Offset",y)),Object.defineProperties(u,{copies:{get:ExpressionPropertyInterface(v.c)},offset:{get:ExpressionPropertyInterface(v.o)},_name:{value:d.nm}}),u.mn=d.mn,u}return function(d,f,m){var u;function y(v){if(typeof v=="number")return(v=v===void 0?1:v)===0?m:u[v-1];for(var E=0,b=u.length;E<b;){if(u[E]._name===v)return u[E];E+=1}return null}return y.propertyGroup=propertyGroupFactory(y,function(){return m}),u=e(d,f,y.propertyGroup),y.numProperties=u.length,y._name="Contents",y}}(),TextExpressionInterface=function(e){var t;function r(n){return n==="ADBE Text Document"?r.sourceText:null}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return t&&n===t.value||((t=new String(n)).value=n||new String(n),Object.defineProperty(t,"style",{get:function(){return{fillColor:e.textProperty.currentData.fc}}})),t}}),r};function _typeof(e){return _typeof=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(e)}var FootageInterface=(dataInterfaceFactory=function(e){function t(r){return r==="Outline"?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(r){var n="",i=r.getFootageData();function a(s){if(i[s])return n=s,_typeof(i=i[s])==="object"?a:i;var o=s.indexOf(n);if(o!==-1){var l=parseInt(s.substr(o+n.length),10);return _typeof(i=i[l])==="object"?a:i}return""}return function(){return n="",i=r.getFootageData(),a}}(e),t},function(e){function t(r){return r==="Data"?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}var 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),n=0;if(t.length){var i;for(i=0;i<t.length;i+=1)n+=Math.pow(r[i]-t[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(this.vel!==void 0)return this.vel;var t,r,n=-.001,i=this.getValueAtTime(e),a=this.getValueAtTime(e+n);if(i.length)for(t=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)t[r]=(a[r]-i[r])/n;else t=(a-i)/n;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(h,g,d){if(!this.k||!this.keyframes)return this.pv;h=h?h.toLowerCase():"";var f,m,u,y,v,E=this.comp.renderedFrame,b=this.keyframes,S=b[b.length-1].t;if(E<=S)return this.pv;if(d?m=S-(f=g?Math.abs(S-this.elem.comp.globalData.frameRate*g):Math.max(0,S-this.elem.data.ip)):((!g||g>b.length-1)&&(g=b.length-1),f=S-(m=b[b.length-1-g].t)),h==="pingpong"){if(Math.floor((E-m)/f)%2!=0)return this.getValueAtTime((f-(E-m)%f+m)/this.comp.globalData.frameRate,0)}else{if(h==="offset"){var T=this.getValueAtTime(m/this.comp.globalData.frameRate,0),I=this.getValueAtTime(S/this.comp.globalData.frameRate,0),x=this.getValueAtTime(((E-m)%f+m)/this.comp.globalData.frameRate,0),D=Math.floor((E-m)/f);if(this.pv.length){for(y=(v=new Array(T.length)).length,u=0;u<y;u+=1)v[u]=(I[u]-T[u])*D+x[u];return v}return(I-T)*D+x}if(h==="continue"){var w=this.getValueAtTime(S/this.comp.globalData.frameRate,0),C=this.getValueAtTime((S-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(y=(v=new Array(w.length)).length,u=0;u<y;u+=1)v[u]=w[u]+(w[u]-C[u])*((E-S)/this.comp.globalData.frameRate)/5e-4;return v}return w+(E-S)/.001*(w-C)}}return this.getValueAtTime(((E-m)%f+m)/this.comp.globalData.frameRate,0)}function t(h,g,d){if(!this.k)return this.pv;h=h?h.toLowerCase():"";var f,m,u,y,v,E=this.comp.renderedFrame,b=this.keyframes,S=b[0].t;if(E>=S)return this.pv;if(d?m=S+(f=g?Math.abs(this.elem.comp.globalData.frameRate*g):Math.max(0,this.elem.data.op-S)):((!g||g>b.length-1)&&(g=b.length-1),f=(m=b[g].t)-S),h==="pingpong"){if(Math.floor((S-E)/f)%2==0)return this.getValueAtTime(((S-E)%f+S)/this.comp.globalData.frameRate,0)}else{if(h==="offset"){var T=this.getValueAtTime(S/this.comp.globalData.frameRate,0),I=this.getValueAtTime(m/this.comp.globalData.frameRate,0),x=this.getValueAtTime((f-(S-E)%f+S)/this.comp.globalData.frameRate,0),D=Math.floor((S-E)/f)+1;if(this.pv.length){for(y=(v=new Array(T.length)).length,u=0;u<y;u+=1)v[u]=x[u]-(I[u]-T[u])*D;return v}return x-(I-T)*D}if(h==="continue"){var w=this.getValueAtTime(S/this.comp.globalData.frameRate,0),C=this.getValueAtTime((S+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(y=(v=new Array(w.length)).length,u=0;u<y;u+=1)v[u]=w[u]+(w[u]-C[u])*(S-E)/.001;return v}return w+(w-C)*(S-E)/.001}}return this.getValueAtTime((f-((S-E)%f+S))/this.comp.globalData.frameRate,0)}function r(h,g){if(!this.k)return this.pv;if(h=.5*(h||.4),(g=Math.floor(g||5))<=1)return this.pv;var d,f,m=this.comp.renderedFrame/this.comp.globalData.frameRate,u=m-h,y=g>1?(m+h-u)/(g-1):1,v=0,E=0;for(d=this.pv.length?createTypedArray("float32",this.pv.length):0;v<g;){if(f=this.getValueAtTime(u+v*y),this.pv.length)for(E=0;E<this.pv.length;E+=1)d[E]+=f[E];else d+=f;v+=1}if(this.pv.length)for(E=0;E<this.pv.length;E+=1)d[E]/=g;else d/=g;return d}function n(h){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var g=this._transformCachingAtTime.v;if(g.cloneFromProps(this.pre.props),this.appliedTransformations<1){var d=this.a.getValueAtTime(h);g.translate(-d[0]*this.a.mult,-d[1]*this.a.mult,d[2]*this.a.mult)}if(this.appliedTransformations<2){var f=this.s.getValueAtTime(h);g.scale(f[0]*this.s.mult,f[1]*this.s.mult,f[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var m=this.sk.getValueAtTime(h),u=this.sa.getValueAtTime(h);g.skewFromAxis(-m*this.sk.mult,u*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var y=this.r.getValueAtTime(h);g.rotate(-y*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var v=this.rz.getValueAtTime(h),E=this.ry.getValueAtTime(h),b=this.rx.getValueAtTime(h),S=this.or.getValueAtTime(h);g.rotateZ(-v*this.rz.mult).rotateY(E*this.ry.mult).rotateX(b*this.rx.mult).rotateZ(-S[2]*this.or.mult).rotateY(S[1]*this.or.mult).rotateX(S[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var T=this.px.getValueAtTime(h),I=this.py.getValueAtTime(h);if(this.data.p.z){var x=this.pz.getValueAtTime(h);g.translate(T*this.px.mult,I*this.py.mult,-x*this.pz.mult)}else g.translate(T*this.px.mult,I*this.py.mult,0)}else{var D=this.p.getValueAtTime(h);g.translate(D[0]*this.p.mult,D[1]*this.p.mult,-D[2]*this.p.mult)}return g}function i(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(h,g,d){var f=a(h,g,d);return f.dynamicProperties.length?f.getValueAtTime=n.bind(f):f.getValueAtTime=i.bind(f),f.setGroupProperty=expressionHelpers.setGroupProperty,f};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(h,g,d,f,m){var u=s(h,g,d,f,m);u.kf?u.getValueAtTime=expressionHelpers.getValueAtTime.bind(u):u.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(u),u.setGroupProperty=expressionHelpers.setGroupProperty,u.loopOut=e,u.loopIn=t,u.smooth=r,u.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(u),u.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(u),u.numKeys=g.a===1?g.k.length:0,u.propertyIndex=g.ix;var y=0;return d!==0&&(y=createTypedArray("float32",g.a===1?g.k[0].s.length:g.k.length)),u._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:y},expressionHelpers.searchExpressions(h,g,u),u.k&&m.addDynamicProperty(u),u};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function p(){}p.prototype={vertices:function(h,g){this.k&&this.getValue();var d,f=this.v;g!==void 0&&(f=this.getValueAtTime(g,0));var m=f._length,u=f[h],y=f.v,v=createSizedArray(m);for(d=0;d<m;d+=1)v[d]=h==="i"||h==="o"?[u[d][0]-y[d][0],u[d][1]-y[d][1]]:[u[d][0],u[d][1]];return v},points:function(h){return this.vertices("v",h)},inTangents:function(h){return this.vertices("i",h)},outTangents:function(h){return this.vertices("o",h)},isClosed:function(){return this.v.c},pointOnPath:function(h,g){var d=this.v;g!==void 0&&(d=this.getValueAtTime(g,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(d));for(var f,m=this._segmentsLength,u=m.lengths,y=m.totalLength*h,v=0,E=u.length,b=0;v<E;){if(b+u[v].addedLength>y){var S=v,T=d.c&&v===E-1?0:v+1,I=(y-b)/u[v].addedLength;f=bez.getPointInSegment(d.v[S],d.v[T],d.o[S],d.i[T],I,u[v]);break}b+=u[v].addedLength,v+=1}return f||(f=d.c?[d.v[0][0],d.v[0][1]]:[d.v[d._length-1][0],d.v[d._length-1][1]]),f},vectorOnPath:function(h,g,d){h==1?h=this.v.c:h==0&&(h=.999);var f=this.pointOnPath(h,g),m=this.pointOnPath(h+.001,g),u=m[0]-f[0],y=m[1]-f[1],v=Math.sqrt(Math.pow(u,2)+Math.pow(y,2));return v===0?[0,0]:d==="tangent"?[u/v,y/v]:[-y/v,u/v]},tangentOnPath:function(h,g){return this.vectorOnPath(h,g,"tangent")},normalOnPath:function(h,g){return this.vectorOnPath(h,g,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([p],o),extendPrototype([p],l),l.prototype.getValueAtTime=function(h){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),h*=this.elem.globalData.frameRate,(h-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<h?this._caching.lastIndex:0,this._cachingAtTime.lastTime=h,this.interpolateShape(h,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var c=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(h,g,d,f,m){var u=c(h,g,d,f,m);return u.propertyIndex=g.ix,u.lock=!1,d===3?expressionHelpers.searchExpressions(h,g.pt,u):d===4&&expressionHelpers.searchExpressions(h,g.ks,u),u.k&&h.addDynamicProperty(u),u}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}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,n,i=createNS("feMerge");for(i.setAttribute("result",e),n=0;n<t.length;n+=1)(r=createNS("feMergeNode")).setAttribute("in",t[n]),i.appendChild(r),i.appendChild(r);return i}};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,n,i){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",n+"_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",n+"_tint_2"),e.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(n,[i,n+"_tint_1",n+"_tint_2"]);e.appendChild(s)}function SVGFillFilter(e,t,r,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),i.setAttribute("result",n),e.appendChild(i),this.matrixFilter=i}function SVGStrokeEffect(e,t,r){this.initialized=!1,this.filterManager=t,this.elem=r,this.paths=[]}function SVGTritoneFilter(e,t,r,n){this.filterManager=t;var i=createNS("feColorMatrix");i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","linearRGB"),i.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(i);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,e.appendChild(a)}function SVGProLevelsFilter(e,t,r,n){this.filterManager=t;var i=this.filterManager.effectElements,a=createNS("feComponentTransfer");(i[10].p.k||i[10].p.v!==0||i[11].p.k||i[11].p.v!==1||i[12].p.k||i[12].p.v!==1||i[13].p.k||i[13].p.v!==0||i[14].p.k||i[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(i[17].p.k||i[17].p.v!==0||i[18].p.k||i[18].p.v!==1||i[19].p.k||i[19].p.v!==1||i[20].p.k||i[20].p.v!==0||i[21].p.k||i[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(i[24].p.k||i[24].p.v!==0||i[25].p.k||i[25].p.v!==1||i[26].p.k||i[26].p.v!==1||i[27].p.k||i[27].p.v!==0||i[28].p.k||i[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(i[31].p.k||i[31].p.v!==0||i[32].p.k||i[32].p.v!==1||i[33].p.k||i[33].p.v!==1||i[34].p.k||i[34].p.v!==0||i[35].p.k||i[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(a)),(i[3].p.k||i[3].p.v!==0||i[4].p.k||i[4].p.v!==1||i[5].p.k||i[5].p.v!==1||i[6].p.k||i[6].p.v!==0||i[7].p.k||i[7].p.v!==1)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",n),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,n,i){var a=t.container.globalData.renderConfig.filterSize,s=t.data.fs||a;e.setAttribute("x",s.x||a.x),e.setAttribute("y",s.y||a.y),e.setAttribute("width",s.width||a.width),e.setAttribute("height",s.height||a.height),this.filterManager=t;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",n+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,e.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",n+"_drop_shadow_1"),l.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=l,e.appendChild(l);var p=createNS("feFlood");p.setAttribute("flood-color","#00ff00"),p.setAttribute("flood-opacity","1"),p.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=p,e.appendChild(p);var c=createNS("feComposite");c.setAttribute("in",n+"_drop_shadow_3"),c.setAttribute("in2",n+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(c);var h=this.createMergeNode(n,[n+"_drop_shadow_4",i]);e.appendChild(h)}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,n=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+n+" 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,n,i=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,r=0):n=(r=this.filterManager.effectElements[0].p.v-1)+1,(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");i[0];)o.appendChild(i[0]);this.elem.layerElement.appendChild(o),this.masker=a,t.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[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,n,i=this.paths.length;for(t=0;t<i;t+=1)if(this.paths[t].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.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(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=n.getTotalLength();a="0 0 0 "+l*s+" ";var p,c=l*(o-s),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,g=Math.floor(c/h);for(p=0;p<g;p+=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;n.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),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(e||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*d[0])+","+bmFloor(255*d[1])+","+bmFloor(255*d[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,n=this.filterManager.effectElements[2].p.v,i=n[0]+" "+r[0]+" "+t[0],a=n[1]+" "+r[1]+" "+t[1],s=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",i),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},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,n,i){for(var a,s,o=0,l=Math.min(e,t),p=Math.max(e,t),c=Array.call(null,{length:256}),h=0,g=i-n,d=t-e;o<=256;)s=(a=o/256)<=l?d<0?i:n:a>=p?d<0?n:i:n+g*Math.pow((a-e)/d,1/r),c[h]=s,h+=1,o+=256/255;return c.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,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),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,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",n),e.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}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 n,i=r.children,a=0,s=i.length;a<s&&i[a]!==e.layerElement;)a+=1;a<=s-2&&(n=i[a+1]);var o=createNS("use");o.setAttribute("href","#"+t),n?r.insertBefore(o,n):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var i=e.globalData.defs;i.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),i.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),n.appendChild(s),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,n=t.length;r<n;)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,n=r==3?0:t,i=r==2?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+i);var a=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},TransformEffect.prototype.init=function(e){this.effectsManager=e,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(e){if(this._opMdf=!1,this._mdf=!1,e||this.effectsManager._mdf){var t=this.effectsManager.effectElements,r=t[0].p.v,n=t[1].p.v,i=t[2].p.v===1,a=t[3].p.v,s=i?a:t[4].p.v,o=t[5].p.v,l=t[6].p.v,p=t[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(.01*s,.01*a,1),this.matrix.rotate(-p*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(n[0],n[1],0),this._mdf=!0,this.opacity!==t[8].p.v&&(this.opacity=t[8].p.v,this._opMdf=!0)}},extendPrototype([TransformEffect],SVGTransformEffect),extendPrototype([TransformEffect],CVTransformEffect),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$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})});var Yb=_((TK,$b)=>{"use strict";var k9=qe(),nn=Xb(),N9=Kb();k9.define("lottie",$b.exports=function(){return{lottie:N9,createInstance:nn.createInstance,cleanupElement:nn.cleanupElement,init:nn.init,destroy:nn.destroy,ready:nn.ready}})});var Jb=_((xK,Zb)=>{"use strict";var Ct=qe(),q9=po(),ot={ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,SPACE:32,ENTER:13,HOME:36,END:35},Qb='a[href], area[href], [role="button"], input, select, textarea, button, iframe, object, embed, *[tabindex], *[contenteditable]';Ct.define("slider",Zb.exports=function(e,t){var r={},n=e.tram,i=e(document),a,s,o=Ct.env(),l=".w-slider",p='<div class="w-slider-dot" data-wf-ignore />',c='<div aria-live="off" aria-atomic="true" class="w-slider-aria-label" data-wf-ignore />',h="w-slider-force-show",g=q9.triggers,d,f=!1;r.ready=function(){s=Ct.env("design"),m()},r.design=function(){s=!0,setTimeout(m,1e3)},r.preview=function(){s=!1,m()},r.redraw=function(){f=!0,m(),f=!1},r.destroy=u;function m(){a=i.find(l),a.length&&(a.each(E),!d&&(u(),y()))}function u(){Ct.resize.off(v),Ct.redraw.off(r.redraw)}function y(){Ct.resize.on(v),Ct.redraw.on(r.redraw)}function v(){a.filter(":visible").each(z)}function E(F,R){var L=e(R),N=e.data(R,l);N||(N=e.data(R,l,{index:0,depth:1,hasFocus:{keyboard:!1,mouse:!1},el:L,config:{}})),N.mask=L.children(".w-slider-mask"),N.left=L.children(".w-slider-arrow-left"),N.right=L.children(".w-slider-arrow-right"),N.nav=L.children(".w-slider-nav"),N.slides=N.mask.children(".w-slide"),N.slides.each(g.reset),f&&(N.maskWidth=0),L.attr("role")===void 0&&L.attr("role","region"),L.attr("aria-label")===void 0&&L.attr("aria-label","carousel");var K=N.mask.attr("id");if(K||(K="w-slider-mask-"+F,N.mask.attr("id",K)),!s&&!N.ariaLiveLabel&&(N.ariaLiveLabel=e(c).appendTo(N.mask)),N.left.attr("role","button"),N.left.attr("tabindex","0"),N.left.attr("aria-controls",K),N.left.attr("aria-label")===void 0&&N.left.attr("aria-label","previous slide"),N.right.attr("role","button"),N.right.attr("tabindex","0"),N.right.attr("aria-controls",K),N.right.attr("aria-label")===void 0&&N.right.attr("aria-label","next slide"),!n.support.transform){N.left.hide(),N.right.hide(),N.nav.hide(),d=!0;return}N.el.off(l),N.left.off(l),N.right.off(l),N.nav.off(l),b(N),s?(N.el.on("setting"+l,O(N)),k(N),N.hasTimer=!1):(N.el.on("swipe"+l,O(N)),N.left.on("click"+l,x(N)),N.right.on("click"+l,D(N)),N.left.on("keydown"+l,I(N,x)),N.right.on("keydown"+l,I(N,D)),N.nav.on("keydown"+l,"> div",O(N)),N.config.autoplay&&!N.hasTimer&&(N.hasTimer=!0,N.timerCount=1,C(N)),N.el.on("mouseenter"+l,T(N,!0,"mouse")),N.el.on("focusin"+l,T(N,!0,"keyboard")),N.el.on("mouseleave"+l,T(N,!1,"mouse")),N.el.on("focusout"+l,T(N,!1,"keyboard"))),N.nav.on("click"+l,"> div",O(N)),o||N.mask.contents().filter(function(){return this.nodeType===3}).remove();var J=L.filter(":hidden");J.addClass(h);var Z=L.parents(":hidden");Z.addClass(h),f||z(F,R),J.removeClass(h),Z.removeClass(h)}function b(F){var R={};R.crossOver=0,R.animation=F.el.attr("data-animation")||"slide",R.animation==="outin"&&(R.animation="cross",R.crossOver=.5),R.easing=F.el.attr("data-easing")||"ease";var L=F.el.attr("data-duration");if(R.duration=L!=null?parseInt(L,10):500,S(F.el.attr("data-infinite"))&&(R.infinite=!0),S(F.el.attr("data-disable-swipe"))&&(R.disableSwipe=!0),S(F.el.attr("data-hide-arrows"))?R.hideArrows=!0:F.config.hideArrows&&(F.left.show(),F.right.show()),S(F.el.attr("data-autoplay"))){R.autoplay=!0,R.delay=parseInt(F.el.attr("data-delay"),10)||2e3,R.timerMax=parseInt(F.el.attr("data-autoplay-limit"),10);var N="mousedown"+l+" touchstart"+l;s||F.el.off(N).one(N,function(){k(F)})}var K=F.right.width();R.edge=K?K+40:100,F.config=R}function S(F){return F==="1"||F==="true"}function T(F,R,L){return function(N){if(R)F.hasFocus[L]=R;else if(e.contains(F.el.get(0),N.relatedTarget)||(F.hasFocus[L]=R,F.hasFocus.mouse&&L==="keyboard"||F.hasFocus.keyboard&&L==="mouse"))return;R?(F.ariaLiveLabel.attr("aria-live","polite"),F.hasTimer&&k(F)):(F.ariaLiveLabel.attr("aria-live","off"),F.hasTimer&&C(F))}}function I(F,R){return function(L){switch(L.keyCode){case ot.SPACE:case ot.ENTER:return R(F)(),L.preventDefault(),L.stopPropagation()}}}function x(F){return function(){q(F,{index:F.index-1,vector:-1})}}function D(F){return function(){q(F,{index:F.index+1,vector:1})}}function w(F,R){var L=null;R===F.slides.length&&(m(),X(F)),t.each(F.anchors,function(N,K){e(N.els).each(function(J,Z){e(Z).index()===R&&(L=K)})}),L!=null&&q(F,{index:L,immediate:!0})}function C(F){k(F);var R=F.config,L=R.timerMax;L&&F.timerCount++>L||(F.timerId=window.setTimeout(function(){F.timerId==null||s||(D(F)(),C(F))},R.delay))}function k(F){window.clearTimeout(F.timerId),F.timerId=null}function O(F){return function(R,L){L=L||{};var N=F.config;if(s&&R.type==="setting"){if(L.select==="prev")return x(F)();if(L.select==="next")return D(F)();if(b(F),X(F),L.select==null)return;w(F,L.select);return}if(R.type==="swipe")return N.disableSwipe||Ct.env("editor")?void 0:L.direction==="left"?D(F)():L.direction==="right"?x(F)():void 0;if(F.nav.has(R.target).length){var K=e(R.target).index();if(R.type==="click"&&q(F,{index:K}),R.type==="keydown")switch(R.keyCode){case ot.ENTER:case ot.SPACE:{q(F,{index:K}),R.preventDefault();break}case ot.ARROW_LEFT:case ot.ARROW_UP:{M(F.nav,Math.max(K-1,0)),R.preventDefault();break}case ot.ARROW_RIGHT:case ot.ARROW_DOWN:{M(F.nav,Math.min(K+1,F.pages)),R.preventDefault();break}case ot.HOME:{M(F.nav,0),R.preventDefault();break}case ot.END:{M(F.nav,F.pages),R.preventDefault();break}default:return}}}}function M(F,R){var L=F.children().eq(R).focus();F.children().not(L)}function q(F,R){R=R||{};var L=F.config,N=F.anchors;F.previous=F.index;var K=R.index,J={};K<0?(K=N.length-1,L.infinite&&(J.x=-F.endX,J.from=0,J.to=N[0].width)):K>=N.length&&(K=0,L.infinite&&(J.x=N[N.length-1].width,J.from=-N[N.length-1].x,J.to=J.from-J.x)),F.index=K;var Z=F.nav.children().eq(K).addClass("w-active").attr("aria-pressed","true").attr("tabindex","0");F.nav.children().not(Z).removeClass("w-active").attr("aria-pressed","false").attr("tabindex","-1"),L.hideArrows&&(F.index===N.length-1?F.right.hide():F.right.show(),F.index===0?F.left.hide():F.left.show());var Y=F.offsetX||0,oe=F.offsetX=-N[F.index].x,ne={x:oe,opacity:1,visibility:""},se=e(N[F.index].els),fe=e(N[F.previous]&&N[F.previous].els),he=F.slides.not(se),ee=L.animation,ye=L.easing,Se=Math.round(L.duration),xe=R.vector||(F.index>F.previous?1:-1),A="opacity "+Se+"ms "+ye,B="transform "+Se+"ms "+ye;if(se.find(Qb).removeAttr("tabindex"),se.removeAttr("aria-hidden"),se.find("*").removeAttr("aria-hidden"),he.find(Qb).attr("tabindex","-1"),he.attr("aria-hidden","true"),he.find("*").attr("aria-hidden","true"),s||(se.each(g.intro),he.each(g.outro)),R.immediate&&!f){n(se).set(ne),U();return}if(F.index===F.previous)return;if(s||F.ariaLiveLabel.text(`Slide ${K+1} of ${N.length}.`),ee==="cross"){var G=Math.round(Se-Se*L.crossOver),H=Math.round(Se-G);A="opacity "+G+"ms "+ye,n(fe).set({visibility:""}).add(A).start({opacity:0}),n(se).set({visibility:"",x:oe,opacity:0,zIndex:F.depth++}).add(A).wait(H).then({opacity:1}).then(U);return}if(ee==="fade"){n(fe).set({visibility:""}).stop(),n(se).set({visibility:"",x:oe,opacity:0,zIndex:F.depth++}).add(A).start({opacity:1}).then(U);return}if(ee==="over"){ne={x:F.endX},n(fe).set({visibility:""}).stop(),n(se).set({visibility:"",zIndex:F.depth++,x:oe+N[F.index].width*xe}).add(B).start({x:oe}).then(U);return}L.infinite&&J.x?(n(F.slides.not(fe)).set({visibility:"",x:J.x}).add(B).start({x:oe}),n(fe).set({visibility:"",x:J.from}).add(B).start({x:J.to}),F.shifted=fe):(L.infinite&&F.shifted&&(n(F.shifted).set({visibility:"",x:Y}),F.shifted=null),n(F.slides).set({visibility:""}).add(B).start({x:oe}));function U(){se=e(N[F.index].els),he=F.slides.not(se),ee!=="slide"&&(ne.visibility="hidden"),n(he).set(ne)}}function z(F,R){var L=e.data(R,l);if(L){if(V(L))return X(L);s&&j(L)&&X(L)}}function X(F){var R=1,L=0,N=0,K=0,J=F.maskWidth,Z=J-F.config.edge;Z<0&&(Z=0),F.anchors=[{els:[],x:0,width:0}],F.slides.each(function(oe,ne){N-L>Z&&(R++,L+=J,F.anchors[R-1]={els:[],x:N,width:0}),K=e(ne).outerWidth(!0),N+=K,F.anchors[R-1].width+=K,F.anchors[R-1].els.push(ne);var se=oe+1+" of "+F.slides.length;e(ne).attr("aria-label",se),e(ne).attr("role","group")}),F.endX=N,s&&(F.pages=null),F.nav.length&&F.pages!==R&&(F.pages=R,P(F));var Y=F.index;Y>=R&&(Y=R-1),q(F,{immediate:!0,index:Y})}function P(F){var R=[],L,N=F.el.attr("data-nav-spacing");N&&(N=parseFloat(N)+"px");for(var K=0,J=F.pages;K<J;K++)L=e(p),L.attr("aria-label","Show slide "+(K+1)+" of "+J).attr("aria-pressed","false").attr("role","button").attr("tabindex","-1"),F.nav.hasClass("w-num")&&L.text(K+1),N!=null&&L.css({"margin-left":N,"margin-right":N}),R.push(L);F.nav.empty().append(R)}function V(F){var R=F.mask.width();return F.maskWidth!==R?(F.maskWidth=R,!0):!1}function j(F){var R=0;return F.slides.each(function(L,N){R+=e(N).outerWidth(!0)}),F.slidesWidth!==R?(F.slidesWidth=R,!0):!1}return r})});var r_=_((AK,t_)=>{"use strict";var Ml=qe(),e_="w-condition-invisible",B9="."+e_;function V9(e){return e.filter(function(t){return!sn(t)})}function sn(e){return!!(e.$el&&e.$el.closest(B9).length)}function Ol(e,t){for(var r=e;r>=0;r--)if(!sn(t[r]))return r;return-1}function Fl(e,t){for(var r=e;r<=t.length-1;r++)if(!sn(t[r]))return r;return-1}function G9(e,t){return Ol(e-1,t)===-1}function z9(e,t){return Fl(e+1,t)===-1}function an(e,t){e.attr("aria-label")||e.attr("aria-label",t)}function H9(e,t,r,n){var i=r.tram,a=Array.isArray,s="w-lightbox",o=s+"-",l=/(^|\s+)/g,p=[],c,h,g,d=[];function f(R,L){return p=a(R)?R:[R],h||f.build(),V9(p).length>1&&(h.items=h.empty,p.forEach(function(N,K){var J=j("thumbnail"),Z=j("item").prop("tabIndex",0).attr("aria-controls","w-lightbox-view").attr("role","tab").append(J);an(Z,`show item ${K+1} of ${p.length}`),sn(N)&&Z.addClass(e_),h.items=h.items.add(Z),w(N.thumbnailUrl||N.url,function(Y){Y.prop("width")>Y.prop("height")?z(Y,"wide"):z(Y,"tall"),J.append(z(Y,"thumbnail-image"))})}),h.strip.empty().append(h.items),z(h.content,"group")),i(X(h.lightbox,"hide").trigger("focus")).add("opacity .3s").start({opacity:1}),z(h.html,"noscroll"),f.show(L||0)}f.build=function(){return f.destroy(),h={html:r(t.documentElement),empty:r()},h.arrowLeft=j("control left inactive").attr("role","button").attr("aria-hidden",!0).attr("aria-controls","w-lightbox-view"),h.arrowRight=j("control right inactive").attr("role","button").attr("aria-hidden",!0).attr("aria-controls","w-lightbox-view"),h.close=j("control close").attr("role","button"),an(h.arrowLeft,"previous image"),an(h.arrowRight,"next image"),an(h.close,"close lightbox"),h.spinner=j("spinner").attr("role","progressbar").attr("aria-live","polite").attr("aria-hidden",!1).attr("aria-busy",!0).attr("aria-valuemin",0).attr("aria-valuemax",100).attr("aria-valuenow",0).attr("aria-valuetext","Loading image"),h.strip=j("strip").attr("role","tablist"),g=new O(h.spinner,M("hide")),h.content=j("content").append(h.spinner,h.arrowLeft,h.arrowRight,h.close),h.container=j("container").append(h.content,h.strip),h.lightbox=j("backdrop hide").append(h.container),h.strip.on("click",q("item"),E),h.content.on("swipe",b).on("click",q("left"),u).on("click",q("right"),y).on("click",q("close"),v).on("click",q("image, caption"),y),h.container.on("click",q("view"),v).on("dragstart",q("img"),T),h.lightbox.on("keydown",I).on("focusin",S),r(n).append(h.lightbox),f},f.destroy=function(){h&&(X(h.html,"noscroll"),h.lightbox.remove(),h=void 0)},f.show=function(R){if(R!==c){var L=p[R];if(!L)return f.hide();if(sn(L)){if(R<c){var N=Ol(R-1,p);R=N>-1?N:R}else{var K=Fl(R+1,p);R=K>-1?K:R}L=p[R]}var J=c;c=R,h.spinner.attr("aria-hidden",!1).attr("aria-busy",!0).attr("aria-valuenow",0).attr("aria-valuetext","Loading image"),g.show();var Z=L.html&&F(L.width,L.height)||L.url;return w(Z,function(Y){if(R!==c)return;var oe=j("figure","figure").append(z(Y,"image")),ne=j("frame").append(oe),se=j("view").prop("tabIndex",0).attr("id","w-lightbox-view").append(ne),fe,he;L.html&&(fe=r(L.html),he=fe.is("iframe"),he&&fe.on("load",ee),oe.append(z(fe,"embed"))),L.caption&&oe.append(j("caption","figcaption").text(L.caption)),h.spinner.before(se),he||ee();function ee(){if(h.spinner.attr("aria-hidden",!0).attr("aria-busy",!1).attr("aria-valuenow",100).attr("aria-valuetext","Loaded image"),g.hide(),R!==c){se.remove();return}let ye=G9(R,p);P(h.arrowLeft,"inactive",ye),V(h.arrowLeft,ye),ye&&h.arrowLeft.is(":focus")&&h.arrowRight.focus();let Se=z9(R,p);if(P(h.arrowRight,"inactive",Se),V(h.arrowRight,Se),Se&&h.arrowRight.is(":focus")&&h.arrowLeft.focus(),h.view?(i(h.view).add("opacity .3s").start({opacity:0}).then(C(h.view)),i(se).add("opacity .3s").add("transform .3s").set({x:R>J?"80px":"-80px"}).start({opacity:1,x:0})):se.css("opacity",1),h.view=se,h.view.prop("tabIndex",0),h.items){X(h.items,"active"),h.items.removeAttr("aria-selected");var xe=h.items.eq(R);z(xe,"active"),xe.attr("aria-selected",!0),k(xe)}}}),h.close.prop("tabIndex",0),r(":focus").addClass("active-lightbox"),d.length===0&&(r("body").children().each(function(){r(this).hasClass("w-lightbox-backdrop")||r(this).is("script")||(d.push({node:r(this),hidden:r(this).attr("aria-hidden"),tabIndex:r(this).attr("tabIndex")}),r(this).attr("aria-hidden",!0).attr("tabIndex",-1))}),h.close.focus()),f}},f.hide=function(){return i(h.lightbox).add("opacity .3s").start({opacity:0}).then(D),f},f.prev=function(){var R=Ol(c-1,p);R>-1&&f.show(R)},f.next=function(){var R=Fl(c+1,p);R>-1&&f.show(R)};function m(R){return function(L){this===L.target&&(L.stopPropagation(),L.preventDefault(),R())}}var u=m(f.prev),y=m(f.next),v=m(f.hide),E=function(R){var L=r(this).index();R.preventDefault(),f.show(L)},b=function(R,L){R.preventDefault(),L.direction==="left"?f.next():L.direction==="right"&&f.prev()},S=function(){this.focus()};function T(R){R.preventDefault()}function I(R){var L=R.keyCode;L===27||x(L,"close")?f.hide():L===37||x(L,"left")?f.prev():L===39||x(L,"right")?f.next():x(L,"item")&&r(":focus").click()}function x(R,L){if(R!==13&&R!==32)return!1;var N=r(":focus").attr("class"),K=M(L).trim();return N.includes(K)}function D(){h&&(h.strip.scrollLeft(0).empty(),X(h.html,"noscroll"),z(h.lightbox,"hide"),h.view&&h.view.remove(),X(h.content,"group"),z(h.arrowLeft,"inactive"),z(h.arrowRight,"inactive"),c=h.view=void 0,d.forEach(function(R){var L=R.node;L&&(R.hidden?L.attr("aria-hidden",R.hidden):L.removeAttr("aria-hidden"),R.tabIndex?L.attr("tabIndex",R.tabIndex):L.removeAttr("tabIndex"))}),d=[],r(".active-lightbox").removeClass("active-lightbox").focus())}function w(R,L){var N=j("img","img");return N.one("load",function(){L(N)}),N.attr("src",R),N}function C(R){return function(){R.remove()}}function k(R){var L=R.get(0),N=h.strip.get(0),K=L.offsetLeft,J=L.clientWidth,Z=N.scrollLeft,Y=N.clientWidth,oe=N.scrollWidth-Y,ne;K<Z?ne=Math.max(0,K+J-Y):K+J>Y+Z&&(ne=Math.min(K,oe)),ne!=null&&i(h.strip).add("scroll-left 500ms").start({"scroll-left":ne})}function O(R,L,N){this.$element=R,this.className=L,this.delay=N||200,this.hide()}O.prototype.show=function(){var R=this;R.timeoutId||(R.timeoutId=setTimeout(function(){R.$element.removeClass(R.className),delete R.timeoutId},R.delay))},O.prototype.hide=function(){var R=this;if(R.timeoutId){clearTimeout(R.timeoutId),delete R.timeoutId;return}R.$element.addClass(R.className)};function M(R,L){return R.replace(l,(L?" .":" ")+o)}function q(R){return M(R,!0)}function z(R,L){return R.addClass(M(L))}function X(R,L){return R.removeClass(M(L))}function P(R,L,N){return R.toggleClass(M(L),N)}function V(R,L){return R.attr("aria-hidden",L).attr("tabIndex",L?-1:0)}function j(R,L){return z(r(t.createElement(L||"div")),R)}function F(R,L){var N='<svg xmlns="http://www.w3.org/2000/svg" width="'+R+'" height="'+L+'"/>';return"data:image/svg+xml;charset=utf-8,"+encodeURI(N)}return function(){var R=e.navigator.userAgent,L=/(iPhone|iPad|iPod);[^OS]*OS (\d)/,N=R.match(L),K=R.indexOf("Android ")>-1&&R.indexOf("Chrome")===-1;if(!K&&(!N||N[2]>7))return;var J=t.createElement("style");t.head.appendChild(J),e.addEventListener("resize",Z,!0);function Z(){var Y=e.innerHeight,oe=e.innerWidth,ne=".w-lightbox-content, .w-lightbox-view, .w-lightbox-view:before {height:"+Y+"px}.w-lightbox-view {width:"+oe+"px}.w-lightbox-group, .w-lightbox-group .w-lightbox-view, .w-lightbox-group .w-lightbox-view:before {height:"+.86*Y+"px}.w-lightbox-image {max-width:"+oe+"px;max-height:"+Y+"px}.w-lightbox-group .w-lightbox-image {max-height:"+.86*Y+"px}.w-lightbox-strip {padding: 0 "+.01*Y+"px}.w-lightbox-item {width:"+.1*Y+"px;padding:"+.02*Y+"px "+.01*Y+"px}.w-lightbox-thumbnail {height:"+.1*Y+"px}@media (min-width: 768px) {.w-lightbox-content, .w-lightbox-view, .w-lightbox-view:before {height:"+.96*Y+"px}.w-lightbox-content {margin-top:"+.02*Y+"px}.w-lightbox-group, .w-lightbox-group .w-lightbox-view, .w-lightbox-group .w-lightbox-view:before {height:"+.84*Y+"px}.w-lightbox-image {max-width:"+.96*oe+"px;max-height:"+.96*Y+"px}.w-lightbox-group .w-lightbox-image {max-width:"+.823*oe+"px;max-height:"+.84*Y+"px}}";J.textContent=ne}Z()}(),f}Ml.define("lightbox",t_.exports=function(e){var t={},r=Ml.env(),n=H9(window,document,e,r?"#lightbox-mountpoint":"body"),i=e(document),a,s,o=".w-lightbox",l;t.ready=t.design=t.preview=p;function p(){s=r&&Ml.env("design"),n.destroy(),l={},a=i.find(o),a.webflowLightBox(),a.each(function(){an(e(this),"open lightbox"),e(this).attr("aria-haspopup","dialog")})}jQuery.fn.extend({webflowLightBox:function(){var d=this;e.each(d,function(f,m){var u=e.data(m,o);u||(u=e.data(m,o,{el:e(m),mode:"images",images:[],embed:""})),u.el.off(o),c(u),s?u.el.on("setting"+o,c.bind(null,u)):u.el.on("click"+o,h(u)).on("click"+o,function(y){y.preventDefault()})})}});function c(d){var f=d.el.children(".w-json").html(),m,u;if(!f){d.items=[];return}try{f=JSON.parse(f)}catch(y){console.error("Malformed lightbox JSON configuration.",y)}g(f),f.items.forEach(function(y){y.$el=d.el}),m=f.group,m?(u=l[m],u||(u=l[m]=[]),d.items=u,f.items.length&&(d.index=u.length,u.push.apply(u,f.items))):(d.items=f.items,d.index=0)}function h(d){return function(){d.items.length&&n(d.items,d.index||0)}}function g(d){d.images&&(d.images.forEach(function(f){f.type="image"}),d.items=d.images),d.embed&&(d.embed.type="video",d.items=[d.embed]),d.groupId&&(d.group=d.groupId)}return t})});Ul();Xl();$l();Zl();eu();ru();iu();Cv();po();Yb();Jb();r_();Webflow.require("ix2").init({events:{e:{id:"e",name:"",animationType:"custom",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a",affectedElements:{},playInReverse:!1,autoStopEventId:"e-2"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66282448f67ac6980e086d54|b1a2008f-3cc9-22ad-cbde-94685eb100a4",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66282448f67ac6980e086d54|b1a2008f-3cc9-22ad-cbde-94685eb100a4",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1714075949435},"e-3":{id:"e-3",name:"",animationType:"custom",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-2",affectedElements:{},playInReverse:!1,autoStopEventId:"e-4"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66282448f67ac6980e086d54|fdcdd520-d138-7dc0-f990-166b9adc50e1",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66282448f67ac6980e086d54|fdcdd520-d138-7dc0-f990-166b9adc50e1",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1714076356654},"e-5":{id:"e-5",name:"",animationType:"custom",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-3",affectedElements:{},playInReverse:!1,autoStopEventId:"e-6"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66282448f67ac6980e086d54|af4a857d-18be-b40d-c88c-db93ba2c7de8",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66282448f67ac6980e086d54|af4a857d-18be-b40d-c88c-db93ba2c7de8",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1714076476228},"e-13":{id:"e-13",name:"",animationType:"custom",eventTypeId:"SCROLL_INTO_VIEW",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-4",affectedElements:{},playInReverse:!1,autoStopEventId:"e-14"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66282448f67ac6980e086d54|7bf9dd99-15f9-03ec-9674-77c41d085a63",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66282448f67ac6980e086d54|7bf9dd99-15f9-03ec-9674-77c41d085a63",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:0,scrollOffsetUnit:"%",delay:null,direction:null,effectIn:null},createdOn:1715779848315},"e-15":{id:"e-15",name:"",animationType:"preset",eventTypeId:"SCROLL_INTO_VIEW",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-4",affectedElements:{},playInReverse:!1,autoStopEventId:"e-16"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66282448f67ac6980e086d54|99badfce-24e9-6f25-c920-362ab1794737",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66282448f67ac6980e086d54|99badfce-24e9-6f25-c920-362ab1794737",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:0,scrollOffsetUnit:"%",delay:null,direction:null,effectIn:null},createdOn:1715797339311},"e-17":{id:"e-17",name:"",animationType:"preset",eventTypeId:"SCROLL_INTO_VIEW",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-4",affectedElements:{},playInReverse:!1,autoStopEventId:"e-18"}},mediaQueries:["main","medium","small","tiny"],target:{id:"663e7b84517337f891989f40|b20ccd67-251c-18e6-2d41-66514fcf498f",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"663e7b84517337f891989f40|b20ccd67-251c-18e6-2d41-66514fcf498f",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:0,scrollOffsetUnit:"%",delay:null,direction:null,effectIn:null},createdOn:1715797454001},"e-19":{id:"e-19",name:"",animationType:"preset",eventTypeId:"SCROLL_INTO_VIEW",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-4",affectedElements:{},playInReverse:!1,autoStopEventId:"e-20"}},mediaQueries:["main","medium","small","tiny"],target:{id:"663e7b84517337f891989f40|03a0a626-116d-22eb-02d6-63352562491d",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"663e7b84517337f891989f40|03a0a626-116d-22eb-02d6-63352562491d",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:0,scrollOffsetUnit:"%",delay:null,direction:null,effectIn:null},createdOn:1715887330056},"e-27":{id:"e-27",name:"",animationType:"preset",eventTypeId:"SCROLL_INTO_VIEW",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-4",affectedElements:{},playInReverse:!1,autoStopEventId:"e-28"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66475652515af09bef5d28d9|7bf9dd99-15f9-03ec-9674-77c41d085a63",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66475652515af09bef5d28d9|7bf9dd99-15f9-03ec-9674-77c41d085a63",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:0,scrollOffsetUnit:"%",delay:null,direction:null,effectIn:null},createdOn:1715951187613},"e-29":{id:"e-29",name:"",animationType:"preset",eventTypeId:"SCROLL_INTO_VIEW",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-4",affectedElements:{},playInReverse:!1,autoStopEventId:"e-30"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66475652515af09bef5d28d9|99badfce-24e9-6f25-c920-362ab1794737",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66475652515af09bef5d28d9|99badfce-24e9-6f25-c920-362ab1794737",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:0,scrollOffsetUnit:"%",delay:null,direction:null,effectIn:null},createdOn:1715951187613},"e-31":{id:"e-31",name:"",animationType:"preset",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-3",affectedElements:{},playInReverse:!1,autoStopEventId:"e-32"}},mediaQueries:["main","medium","small","tiny"],target:{id:"663e7b84517337f891989f40|ffa6b0f5-0697-e535-2283-af9ba66f899d",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"663e7b84517337f891989f40|ffa6b0f5-0697-e535-2283-af9ba66f899d",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1718025942764},"e-33":{id:"e-33",name:"",animationType:"preset",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a",affectedElements:{},playInReverse:!1,autoStopEventId:"e-34"}},mediaQueries:["main","medium","small","tiny"],target:{id:"663e7b84517337f891989f40|ffa6b0f5-0697-e535-2283-af9ba66f89a0",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"663e7b84517337f891989f40|ffa6b0f5-0697-e535-2283-af9ba66f89a0",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1718025942764},"e-35":{id:"e-35",name:"",animationType:"preset",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-2",affectedElements:{},playInReverse:!1,autoStopEventId:"e-36"}},mediaQueries:["main","medium","small","tiny"],target:{id:"663e7b84517337f891989f40|ffa6b0f5-0697-e535-2283-af9ba66f89a3",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"663e7b84517337f891989f40|ffa6b0f5-0697-e535-2283-af9ba66f89a3",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1718025942764},"e-37":{id:"e-37",name:"",animationType:"preset",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-3",affectedElements:{},playInReverse:!1,autoStopEventId:"e-38"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66475652515af09bef5d28d9|adac5b7b-1921-e31e-eb92-710abc96596d",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66475652515af09bef5d28d9|adac5b7b-1921-e31e-eb92-710abc96596d",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1718026154117},"e-39":{id:"e-39",name:"",animationType:"preset",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a",affectedElements:{},playInReverse:!1,autoStopEventId:"e-40"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66475652515af09bef5d28d9|adac5b7b-1921-e31e-eb92-710abc965970",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66475652515af09bef5d28d9|adac5b7b-1921-e31e-eb92-710abc965970",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1718026154117},"e-41":{id:"e-41",name:"",animationType:"preset",eventTypeId:"MOUSE_CLICK",action:{id:"",actionTypeId:"GENERAL_START_ACTION",config:{delay:0,easing:"",duration:0,actionListId:"a-2",affectedElements:{},playInReverse:!1,autoStopEventId:"e-42"}},mediaQueries:["main","medium","small","tiny"],target:{id:"66475652515af09bef5d28d9|adac5b7b-1921-e31e-eb92-710abc965973",appliesTo:"ELEMENT",styleBlockIds:[]},targets:[{id:"66475652515af09bef5d28d9|adac5b7b-1921-e31e-eb92-710abc965973",appliesTo:"ELEMENT",styleBlockIds:[]}],config:{loop:!1,playInReverse:!1,scrollOffsetValue:null,scrollOffsetUnit:null,delay:null,direction:null,effectIn:null},createdOn:1718026154117}},actionLists:{a:{id:"a",title:"Data 2",actionItemGroups:[{actionItems:[{id:"a-n-2",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._1",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","d623694c-cd11-160d-9f44-46362688b149"]},value:"none"}},{id:"a-n",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._2",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","9589e9c5-eeda-eb49-8239-5e59a0309f6a"]},value:"flex"}},{id:"a-n-3",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._3",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","99010ca8-d61d-cae9-8cdd-e0daa8e66d23"]},value:"none"}}]},{actionItems:[{id:"a-n-5",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:"SIBLINGS",selector:".data.default",selectorGuids:["0ff4de72-6a31-70b5-6f75-7383f62686ef","d167bdd8-75d2-c6aa-de7e-f473b43c9b8e"]},globalSwatchId:"--roxo",rValue:102,bValue:127,gValue:36,aValue:1}}]},{actionItems:[{id:"a-n-4",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:!0,id:"66282448f67ac6980e086d54|b1a2008f-3cc9-22ad-cbde-94685eb100a4"},globalSwatchId:"--blue",rValue:0,bValue:198,gValue:162,aValue:1}}]},{actionItems:[{id:"a-n-6",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:"SIBLINGS",selector:".data",selectorGuids:["0ff4de72-6a31-70b5-6f75-7383f62686ef"]},globalSwatchId:"--roxo",rValue:102,bValue:127,gValue:36,aValue:1}}]}],useFirstGroupAsInitialState:!1,createdOn:1714075976835},"a-2":{id:"a-2",title:"Data 3",actionItemGroups:[{actionItems:[{id:"a-2-n",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._1",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","d623694c-cd11-160d-9f44-46362688b149"]},value:"none"}},{id:"a-2-n-2",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._2",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","9589e9c5-eeda-eb49-8239-5e59a0309f6a"]},value:"none"}},{id:"a-2-n-3",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._3",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","99010ca8-d61d-cae9-8cdd-e0daa8e66d23"]},value:"flex"}}]},{actionItems:[{id:"a-2-n-4",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:"SIBLINGS",selector:".data.default",selectorGuids:["0ff4de72-6a31-70b5-6f75-7383f62686ef","d167bdd8-75d2-c6aa-de7e-f473b43c9b8e"]},globalSwatchId:"--roxo",rValue:102,bValue:127,gValue:36,aValue:1}}]},{actionItems:[{id:"a-2-n-5",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:!0,id:"66282448f67ac6980e086d54|b1a2008f-3cc9-22ad-cbde-94685eb100a4"},globalSwatchId:"--blue",rValue:0,bValue:198,gValue:162,aValue:1}}]},{actionItems:[{id:"a-2-n-6",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:"SIBLINGS",selector:".data",selectorGuids:["0ff4de72-6a31-70b5-6f75-7383f62686ef"]},globalSwatchId:"--roxo",rValue:102,bValue:127,gValue:36,aValue:1}}]}],useFirstGroupAsInitialState:!1,createdOn:1714075976835},"a-3":{id:"a-3",title:"Data 1",actionItemGroups:[{actionItems:[{id:"a-3-n",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._1",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","d623694c-cd11-160d-9f44-46362688b149"]},value:"flex"}},{id:"a-3-n-2",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._2",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","9589e9c5-eeda-eb49-8239-5e59a0309f6a"]},value:"none"}},{id:"a-3-n-3",actionTypeId:"GENERAL_DISPLAY",config:{delay:0,easing:"",duration:0,target:{selector:".ocas-geral-wrapper._3",selectorGuids:["5e4a70f4-c3f4-69bd-f2d3-68a83d6b2875","99010ca8-d61d-cae9-8cdd-e0daa8e66d23"]},value:"none"}}]},{actionItems:[{id:"a-3-n-4",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:"SIBLINGS",selector:".data",selectorGuids:["0ff4de72-6a31-70b5-6f75-7383f62686ef"]},globalSwatchId:"--roxo",rValue:102,bValue:127,gValue:36,aValue:1}}]},{actionItems:[{id:"a-3-n-5",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:!0,id:"66282448f67ac6980e086d54|b1a2008f-3cc9-22ad-cbde-94685eb100a4"},globalSwatchId:"--blue",rValue:0,bValue:198,gValue:162,aValue:1}}]},{actionItems:[{id:"a-3-n-6",actionTypeId:"STYLE_BACKGROUND_COLOR",config:{delay:0,easing:"",duration:300,target:{useEventTarget:"SIBLINGS",selector:".data",selectorGuids:["0ff4de72-6a31-70b5-6f75-7383f62686ef"]},globalSwatchId:"--roxo",rValue:102,bValue:127,gValue:36,aValue:1}}]}],useFirstGroupAsInitialState:!1,createdOn:1714075976835},"a-4":{id:"a-4",title:"lottie-atividades",actionItemGroups:[{actionItems:[{id:"a-4-n",actionTypeId:"PLUGIN_LOTTIE",config:{delay:0,easing:"",duration:500,target:{selector:".img-atividades",selectorGuids:["eb47e4f9-6f37-c4b8-7d4a-f227afd42ed4"]},value:0}}]},{actionItems:[{id:"a-4-n-2",actionTypeId:"PLUGIN_LOTTIE",config:{delay:0,easing:"",duration:3e3,target:{selector:".img-atividades",selectorGuids:["eb47e4f9-6f37-c4b8-7d4a-f227afd42ed4"]},value:95}}]}],useFirstGroupAsInitialState:!1,createdOn:1715779732444}},site:{mediaQueries:[{key:"main",min:992,max:1e4},{key:"medium",min:768,max:991},{key:"small",min:480,max:767},{key:"tiny",min:0,max:479}]}});})();
/*!
* tram.js v0.8.2-global
* Cross-browser CSS3 transitions in JavaScript
* https://github.com/bkwld/tram
* MIT License
*/
/*!
 * Webflow._ (aka) Underscore.js 1.6.0 (custom build)
 *
 * http://underscorejs.org
 * (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 * Underscore may be freely distributed under the MIT license.
 * @license MIT
 */
/*! Bundled license information:

timm/lib/timm.js:
  (*!
   * Timm
   *
   * Immutability helpers with fast reads and acceptable writes.
   *
   * @copyright Guillermo Grau Panea 2016
   * @license MIT
   *)
*/

}

/*
     FILE ARCHIVED ON 00:54:10 Mar 29, 2025 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 17:54:51 Apr 12, 2026.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  capture_cache.get: 12.905
  load_resource: 600.64
  PetaboxLoader3.resolve: 406.392
  PetaboxLoader3.datanode: 156.542
*/