@squadx_dev/brix-client-library 1.51.0 → 1.51.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -308,4 +308,4 @@ Please look forward to the announcement of the winners!`}}},ko:{translation:{cha
308
308
  Contributions by leeoniya.
309
309
  License: MIT, header required.
310
310
  */var yt=function(){var p=Math.cos,S=Math.sin,b=Math.tan,A=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 D(U){if(U===0)return this;var H=p(U),Me=S(U);return this._t(H,-Me,0,0,Me,H,0,0,0,0,1,0,0,0,0,1)}function B(U){if(U===0)return this;var H=p(U),Me=S(U);return this._t(1,0,0,0,0,H,-Me,0,0,Me,H,0,0,0,0,1)}function J(U){if(U===0)return this;var H=p(U),Me=S(U);return this._t(H,0,Me,0,0,1,0,0,-Me,0,H,0,0,0,0,1)}function $(U){if(U===0)return this;var H=p(U),Me=S(U);return this._t(H,-Me,0,0,Me,H,0,0,0,0,1,0,0,0,0,1)}function ae(U,H){return this._t(1,H,U,1,0,0)}function fe(U,H){return this.shear(b(U),b(H))}function ke(U,H){var Me=p(H),Te=S(H);return this._t(Me,Te,0,0,-Te,Me,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,b(U),1,0,0,0,0,1,0,0,0,0,1)._t(Me,-Te,0,0,Te,Me,0,0,0,0,1,0,0,0,0,1)}function q(U,H,Me){return!Me&&Me!==0&&(Me=1),U===1&&H===1&&Me===1?this:this._t(U,0,0,0,0,H,0,0,0,0,Me,0,0,0,0,1)}function he(U,H,Me,Te,_t,Gt,Zt,An,In,mr,zr,Ss,hi,pi,ss,Hn){return this.props[0]=U,this.props[1]=H,this.props[2]=Me,this.props[3]=Te,this.props[4]=_t,this.props[5]=Gt,this.props[6]=Zt,this.props[7]=An,this.props[8]=In,this.props[9]=mr,this.props[10]=zr,this.props[11]=Ss,this.props[12]=hi,this.props[13]=pi,this.props[14]=ss,this.props[15]=Hn,this}function ve(U,H,Me){return Me=Me||0,U!==0||H!==0||Me!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,U,H,Me,1):this}function pe(U,H,Me,Te,_t,Gt,Zt,An,In,mr,zr,Ss,hi,pi,ss,Hn){var St=this.props;if(U===1&&H===0&&Me===0&&Te===0&&_t===0&&Gt===1&&Zt===0&&An===0&&In===0&&mr===0&&zr===1&&Ss===0)return St[12]=St[12]*U+St[15]*hi,St[13]=St[13]*Gt+St[15]*pi,St[14]=St[14]*zr+St[15]*ss,St[15]*=Hn,this._identityCalculated=!1,this;var Xs=St[0],Qs=St[1],Js=St[2],mi=St[3],Bs=St[4],ji=St[5],Ri=St[6],Es=St[7],Ha=St[8],as=St[9],Ea=St[10],xs=St[11],mo=St[12],xa=St[13],Qo=St[14],go=St[15];return St[0]=Xs*U+Qs*_t+Js*In+mi*hi,St[1]=Xs*H+Qs*Gt+Js*mr+mi*pi,St[2]=Xs*Me+Qs*Zt+Js*zr+mi*ss,St[3]=Xs*Te+Qs*An+Js*Ss+mi*Hn,St[4]=Bs*U+ji*_t+Ri*In+Es*hi,St[5]=Bs*H+ji*Gt+Ri*mr+Es*pi,St[6]=Bs*Me+ji*Zt+Ri*zr+Es*ss,St[7]=Bs*Te+ji*An+Ri*Ss+Es*Hn,St[8]=Ha*U+as*_t+Ea*In+xs*hi,St[9]=Ha*H+as*Gt+Ea*mr+xs*pi,St[10]=Ha*Me+as*Zt+Ea*zr+xs*ss,St[11]=Ha*Te+as*An+Ea*Ss+xs*Hn,St[12]=mo*U+xa*_t+Qo*In+go*hi,St[13]=mo*H+xa*Gt+Qo*mr+go*pi,St[14]=mo*Me+xa*Zt+Qo*zr+go*ss,St[15]=mo*Te+xa*An+Qo*Ss+go*Hn,this._identityCalculated=!1,this}function Ae(U){var H=U.props;return this.transform(H[0],H[1],H[2],H[3],H[4],H[5],H[6],H[7],H[8],H[9],H[10],H[11],H[12],H[13],H[14],H[15])}function le(){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 te(U){for(var H=0;H<16;){if(U.props[H]!==this.props[H])return!1;H+=1}return!0}function G(U){var H;for(H=0;H<16;H+=1)U.props[H]=this.props[H];return U}function Q(U){var H;for(H=0;H<16;H+=1)this.props[H]=U[H]}function oe(U,H,Me){return{x:U*this.props[0]+H*this.props[4]+Me*this.props[8]+this.props[12],y:U*this.props[1]+H*this.props[5]+Me*this.props[9]+this.props[13],z:U*this.props[2]+H*this.props[6]+Me*this.props[10]+this.props[14]}}function xe(U,H,Me){return U*this.props[0]+H*this.props[4]+Me*this.props[8]+this.props[12]}function Le(U,H,Me){return U*this.props[1]+H*this.props[5]+Me*this.props[9]+this.props[13]}function Ne(U,H,Me){return U*this.props[2]+H*this.props[6]+Me*this.props[10]+this.props[14]}function ut(){var U=this.props[0]*this.props[5]-this.props[1]*this.props[4],H=this.props[5]/U,Me=-this.props[1]/U,Te=-this.props[4]/U,_t=this.props[0]/U,Gt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/U,Zt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/U,An=new yt;return An.props[0]=H,An.props[1]=Me,An.props[4]=Te,An.props[5]=_t,An.props[12]=Gt,An.props[13]=Zt,An}function nn(U){var H=this.getInverseMatrix();return H.applyToPointArray(U[0],U[1],U[2]||0)}function Ht(U){var H,Me=U.length,Te=[];for(H=0;H<Me;H+=1)Te[H]=nn(U[H]);return Te}function pt(U,H,Me){var Te=_("float32",6);if(this.isIdentity())Te[0]=U[0],Te[1]=U[1],Te[2]=H[0],Te[3]=H[1],Te[4]=Me[0],Te[5]=Me[1];else{var _t=this.props[0],Gt=this.props[1],Zt=this.props[4],An=this.props[5],In=this.props[12],mr=this.props[13];Te[0]=U[0]*_t+U[1]*Zt+In,Te[1]=U[0]*Gt+U[1]*An+mr,Te[2]=H[0]*_t+H[1]*Zt+In,Te[3]=H[0]*Gt+H[1]*An+mr,Te[4]=Me[0]*_t+Me[1]*Zt+In,Te[5]=Me[0]*Gt+Me[1]*An+mr}return Te}function sn(U,H,Me){var Te;return this.isIdentity()?Te=[U,H,Me]:Te=[U*this.props[0]+H*this.props[4]+Me*this.props[8]+this.props[12],U*this.props[1]+H*this.props[5]+Me*this.props[9]+this.props[13],U*this.props[2]+H*this.props[6]+Me*this.props[10]+this.props[14]],Te}function At(U,H){if(this.isIdentity())return U+","+H;var Me=this.props;return Math.round((U*Me[0]+H*Me[4]+Me[12])*100)/100+","+Math.round((U*Me[1]+H*Me[5]+Me[13])*100)/100}function ct(){for(var U=0,H=this.props,Me="matrix3d(",Te=1e4;U<16;)Me+=A(H[U]*Te)/Te,Me+=U===15?")":",",U+=1;return Me}function ee(U){var H=1e4;return U<1e-6&&U>0||U>-1e-6&&U<0?A(U*H)/H:U}function me(){var U=this.props,H=ee(U[0]),Me=ee(U[1]),Te=ee(U[4]),_t=ee(U[5]),Gt=ee(U[12]),Zt=ee(U[13]);return"matrix("+H+","+Me+","+Te+","+_t+","+Gt+","+Zt+")"}return function(){this.reset=I,this.rotate=D,this.rotateX=B,this.rotateY=J,this.rotateZ=$,this.skew=fe,this.skewFromAxis=ke,this.shear=ae,this.scale=q,this.setTransform=he,this.translate=ve,this.transform=pe,this.multiply=Ae,this.applyToPoint=oe,this.applyToX=xe,this.applyToY=Le,this.applyToZ=Ne,this.applyToPointArray=sn,this.applyToTriplePoints=pt,this.applyToPointStringified=At,this.toCSS=ct,this.to2dCSS=me,this.clone=G,this.cloneFromProps=Q,this.equals=te,this.inversePoints=Ht,this.inversePoint=nn,this.getInverseMatrix=ut,this._t=this.transform,this.isIdentity=le,this._identity=!0,this._identityCalculated=!1,this.props=_("float32",16),this.reset()}}();function $t(p){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?$t=function(b){return typeof b}:$t=function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},$t(p)}var Nt={};function Xt(p){h(p)}function wn(){nr.searchAnimations()}function yn(p){Et(p)}function rr(p){Fn(p)}function kn(p){return nr.loadAnimation(p)}function lr(p){if(typeof p=="string")switch(p){case"high":bn(200);break;default:case"medium":bn(50);break;case"low":bn(10);break}else!isNaN(p)&&p>1&&bn(p)}function Jr(){return typeof navigator<"u"}function Vi(p,S){p==="expressions"&&Ot(S)}function Ys(p){switch(p){case"propertyFactory":return vt;case"shapePropertyFactory":return lt;case"matrix":return yt;default:return null}}Nt.play=nr.play,Nt.pause=nr.pause,Nt.setLocationHref=Xt,Nt.togglePause=nr.togglePause,Nt.setSpeed=nr.setSpeed,Nt.setDirection=nr.setDirection,Nt.stop=nr.stop,Nt.searchAnimations=wn,Nt.registerAnimation=nr.registerAnimation,Nt.loadAnimation=kn,Nt.setSubframeRendering=yn,Nt.resize=nr.resize,Nt.goToAndStop=nr.goToAndStop,Nt.destroy=nr.destroy,Nt.setQuality=lr,Nt.inBrowser=Jr,Nt.installPlugin=Vi,Nt.freeze=nr.freeze,Nt.unfreeze=nr.unfreeze,Nt.setVolume=nr.setVolume,Nt.mute=nr.mute,Nt.unmute=nr.unmute,Nt.getRegisteredAnimations=nr.getRegisteredAnimations,Nt.useWebWorker=u,Nt.setIDPrefix=rr,Nt.__getFactory=Ys,Nt.version="5.12.2";function bi(){document.readyState==="complete"&&(clearInterval(uo),wn())}function xu(p){for(var S=_l.split("&"),b=0;b<S.length;b+=1){var A=S[b].split("=");if(decodeURIComponent(A[0])==p)return decodeURIComponent(A[1])}return null}var _l="";{var Ll=document.getElementsByTagName("script"),ui=Ll.length-1,Qi=Ll[ui]||{src:""};_l=Qi.src?Qi.src.replace(/^[^\?]+\??/,""):"",xu("renderer")}var uo=setInterval(bi,100);try{$t(e)!=="object"&&(window.bodymovin=Nt)}catch{}var Ji=function(){var p={},S={};p.registerModifier=b,p.getModifier=A;function b(I,D){S[I]||(S[I]=D)}function A(I,D,B){return new S[I](D,B)}return p}();function pr(){}pr.prototype.initModifierProperties=function(){},pr.prototype.addShapeToModifier=function(){},pr.prototype.addShape=function(p){if(!this.closed){p.sh.container.addDynamicProperty(p.sh);var S={shape:p.sh,data:p,localShapeCollection:ge.newShapeCollection()};this.shapes.push(S),this.addShapeToModifier(S),this._isAnimated&&p.setAsAnimated()}},pr.prototype.init=function(p,S){this.shapes=[],this.elem=p,this.initDynamicPropertyContainer(p),this.initModifierProperties(p,S),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},pr.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},E([Nn],pr);function ci(){}E([pr],ci),ci.prototype.initModifierProperties=function(p,S){this.s=vt.getProp(p,S.s,0,.01,this),this.e=vt.getProp(p,S.e,0,.01,this),this.o=vt.getProp(p,S.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=S.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},ci.prototype.addShapeToModifier=function(p){p.pathsData=[]},ci.prototype.calculateShapeEdges=function(p,S,b,A,I){var D=[];S<=1?D.push({s:p,e:S}):p>=1?D.push({s:p-1,e:S-1}):(D.push({s:p,e:1}),D.push({s:0,e:S-1}));var B=[],J,$=D.length,ae;for(J=0;J<$;J+=1)if(ae=D[J],!(ae.e*I<A||ae.s*I>A+b)){var fe,ke;ae.s*I<=A?fe=0:fe=(ae.s*I-A)/b,ae.e*I>=A+b?ke=1:ke=(ae.e*I-A)/b,B.push([fe,ke])}return B.length||B.push([0,0]),B},ci.prototype.releasePathsData=function(p){var S,b=p.length;for(S=0;S<b;S+=1)fa.release(p[S]);return p.length=0,p},ci.prototype.processShapes=function(p){var S,b;if(this._mdf||p){var A=this.o.v%360/360;if(A<0&&(A+=1),this.s.v>1?S=1+A:this.s.v<0?S=0+A:S=this.s.v+A,this.e.v>1?b=1+A:this.e.v<0?b=0+A:b=this.e.v+A,S>b){var I=S;S=b,b=I}S=Math.round(S*1e4)*1e-4,b=Math.round(b*1e4)*1e-4,this.sValue=S,this.eValue=b}else S=this.sValue,b=this.eValue;var D,B,J=this.shapes.length,$,ae,fe,ke,q,he=0;if(b===S)for(B=0;B<J;B+=1)this.shapes[B].localShapeCollection.releaseShapes(),this.shapes[B].shape._mdf=!0,this.shapes[B].shape.paths=this.shapes[B].localShapeCollection,this._mdf&&(this.shapes[B].pathsData.length=0);else if(b===1&&S===0||b===0&&S===1){if(this._mdf)for(B=0;B<J;B+=1)this.shapes[B].pathsData.length=0,this.shapes[B].shape._mdf=!0}else{var ve=[],pe,Ae;for(B=0;B<J;B+=1)if(pe=this.shapes[B],!pe.shape._mdf&&!this._mdf&&!p&&this.m!==2)pe.shape.paths=pe.localShapeCollection;else{if(D=pe.shape.paths,ae=D._length,q=0,!pe.shape._mdf&&pe.pathsData.length)q=pe.totalShapeLength;else{for(fe=this.releasePathsData(pe.pathsData),$=0;$<ae;$+=1)ke=Mr.getSegmentsLength(D.shapes[$]),fe.push(ke),q+=ke.totalLength;pe.totalShapeLength=q,pe.pathsData=fe}he+=q,pe.shape._mdf=!0}var le=S,te=b,G=0,Q;for(B=J-1;B>=0;B-=1)if(pe=this.shapes[B],pe.shape._mdf){for(Ae=pe.localShapeCollection,Ae.releaseShapes(),this.m===2&&J>1?(Q=this.calculateShapeEdges(S,b,pe.totalShapeLength,G,he),G+=pe.totalShapeLength):Q=[[le,te]],ae=Q.length,$=0;$<ae;$+=1){le=Q[$][0],te=Q[$][1],ve.length=0,te<=1?ve.push({s:pe.totalShapeLength*le,e:pe.totalShapeLength*te}):le>=1?ve.push({s:pe.totalShapeLength*(le-1),e:pe.totalShapeLength*(te-1)}):(ve.push({s:pe.totalShapeLength*le,e:pe.totalShapeLength}),ve.push({s:0,e:pe.totalShapeLength*(te-1)}));var oe=this.addShapes(pe,ve[0]);if(ve[0].s!==ve[0].e){if(ve.length>1){var xe=pe.shape.paths.shapes[pe.shape.paths._length-1];if(xe.c){var Le=oe.pop();this.addPaths(oe,Ae),oe=this.addShapes(pe,ve[1],Le)}else this.addPaths(oe,Ae),oe=this.addShapes(pe,ve[1])}this.addPaths(oe,Ae)}}pe.shape.paths=Ae}}},ci.prototype.addPaths=function(p,S){var b,A=p.length;for(b=0;b<A;b+=1)S.addShape(p[b])},ci.prototype.addSegment=function(p,S,b,A,I,D,B){I.setXYAt(S[0],S[1],"o",D),I.setXYAt(b[0],b[1],"i",D+1),B&&I.setXYAt(p[0],p[1],"v",D),I.setXYAt(A[0],A[1],"v",D+1)},ci.prototype.addSegmentFromArray=function(p,S,b,A){S.setXYAt(p[1],p[5],"o",b),S.setXYAt(p[2],p[6],"i",b+1),A&&S.setXYAt(p[0],p[4],"v",b),S.setXYAt(p[3],p[7],"v",b+1)},ci.prototype.addShapes=function(p,S,b){var A=p.pathsData,I=p.shape.paths.shapes,D,B=p.shape.paths._length,J,$,ae=0,fe,ke,q,he,ve=[],pe,Ae=!0;for(b?(ke=b._length,pe=b._length):(b=Rn.newElement(),ke=0,pe=0),ve.push(b),D=0;D<B;D+=1){for(q=A[D].lengths,b.c=I[D].c,$=I[D].c?q.length:q.length+1,J=1;J<$;J+=1)if(fe=q[J-1],ae+fe.addedLength<S.s)ae+=fe.addedLength,b.c=!1;else if(ae>S.e){b.c=!1;break}else S.s<=ae&&S.e>=ae+fe.addedLength?(this.addSegment(I[D].v[J-1],I[D].o[J-1],I[D].i[J],I[D].v[J],b,ke,Ae),Ae=!1):(he=Mr.getNewSegment(I[D].v[J-1],I[D].v[J],I[D].o[J-1],I[D].i[J],(S.s-ae)/fe.addedLength,(S.e-ae)/fe.addedLength,q[J-1]),this.addSegmentFromArray(he,b,ke,Ae),Ae=!1,b.c=!1),ae+=fe.addedLength,ke+=1;if(I[D].c&&q.length){if(fe=q[J-1],ae<=S.e){var le=q[J-1].addedLength;S.s<=ae&&S.e>=ae+le?(this.addSegment(I[D].v[J-1],I[D].o[J-1],I[D].i[0],I[D].v[0],b,ke,Ae),Ae=!1):(he=Mr.getNewSegment(I[D].v[J-1],I[D].v[0],I[D].o[J-1],I[D].i[0],(S.s-ae)/le,(S.e-ae)/le,q[J-1]),this.addSegmentFromArray(he,b,ke,Ae),Ae=!1,b.c=!1)}else b.c=!1;ae+=fe.addedLength,ke+=1}if(b._length&&(b.setXYAt(b.v[pe][0],b.v[pe][1],"i",pe),b.setXYAt(b.v[b._length-1][0],b.v[b._length-1][1],"o",b._length-1)),ae>S.e)break;D<B-1&&(b=Rn.newElement(),Ae=!0,ve.push(b),ke=0)}return ve};function Zi(){}E([pr],Zi),Zi.prototype.initModifierProperties=function(p,S){this.getValue=this.processKeys,this.amount=vt.getProp(p,S.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Zi.prototype.processPath=function(p,S){var b=S/100,A=[0,0],I=p._length,D=0;for(D=0;D<I;D+=1)A[0]+=p.v[D][0],A[1]+=p.v[D][1];A[0]/=I,A[1]/=I;var B=Rn.newElement();B.c=p.c;var J,$,ae,fe,ke,q;for(D=0;D<I;D+=1)J=p.v[D][0]+(A[0]-p.v[D][0])*b,$=p.v[D][1]+(A[1]-p.v[D][1])*b,ae=p.o[D][0]+(A[0]-p.o[D][0])*-b,fe=p.o[D][1]+(A[1]-p.o[D][1])*-b,ke=p.i[D][0]+(A[0]-p.i[D][0])*-b,q=p.i[D][1]+(A[1]-p.i[D][1])*-b,B.setTripleAt(J,$,ae,fe,ke,q,D);return B},Zi.prototype.processShapes=function(p){var S,b,A=this.shapes.length,I,D,B=this.amount.v;if(B!==0){var J,$;for(b=0;b<A;b+=1){if(J=this.shapes[b],$=J.localShapeCollection,!(!J.shape._mdf&&!this._mdf&&!p))for($.releaseShapes(),J.shape._mdf=!0,S=J.shape.paths.shapes,D=J.shape.paths._length,I=0;I<D;I+=1)$.addShape(this.processPath(S[I],B));J.shape.paths=J.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var $o=function(){var p=[0,0];function S($){var ae=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||ae,this.a&&$.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&$.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&$.skewFromAxis(-this.sk.v,this.sa.v),this.r?$.rotate(-this.r.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.data.p.s?this.data.p.z?$.translate(this.px.v,this.py.v,-this.pz.v):$.translate(this.px.v,this.py.v,0):$.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function b($){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||$){var ae;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 fe,ke;if(ae=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(fe=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/ae,0),ke=this.p.getValueAtTime(this.p.keyframes[0].t/ae,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(fe=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/ae,0),ke=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/ae,0)):(fe=this.p.pv,ke=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/ae,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){fe=[],ke=[];var q=this.px,he=this.py;q._caching.lastFrame+q.offsetTime<=q.keyframes[0].t?(fe[0]=q.getValueAtTime((q.keyframes[0].t+.01)/ae,0),fe[1]=he.getValueAtTime((he.keyframes[0].t+.01)/ae,0),ke[0]=q.getValueAtTime(q.keyframes[0].t/ae,0),ke[1]=he.getValueAtTime(he.keyframes[0].t/ae,0)):q._caching.lastFrame+q.offsetTime>=q.keyframes[q.keyframes.length-1].t?(fe[0]=q.getValueAtTime(q.keyframes[q.keyframes.length-1].t/ae,0),fe[1]=he.getValueAtTime(he.keyframes[he.keyframes.length-1].t/ae,0),ke[0]=q.getValueAtTime((q.keyframes[q.keyframes.length-1].t-.01)/ae,0),ke[1]=he.getValueAtTime((he.keyframes[he.keyframes.length-1].t-.01)/ae,0)):(fe=[q.pv,he.pv],ke[0]=q.getValueAtTime((q._caching.lastFrame+q.offsetTime-.01)/ae,q.offsetTime),ke[1]=he.getValueAtTime((he._caching.lastFrame+he.offsetTime-.01)/ae,he.offsetTime))}else ke=p,fe=ke;this.v.rotate(-Math.atan2(fe[1]-ke[1],fe[0]-ke[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function A(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function I(){}function D($){this._addDynamicProperty($),this.elem.addDynamicProperty($),this._isDirty=!0}function B($,ae,fe){if(this.elem=$,this.frameId=-1,this.propType="transform",this.data=ae,this.v=new yt,this.pre=new yt,this.appliedTransformations=0,this.initDynamicPropertyContainer(fe||$),ae.p&&ae.p.s?(this.px=vt.getProp($,ae.p.x,0,0,this),this.py=vt.getProp($,ae.p.y,0,0,this),ae.p.z&&(this.pz=vt.getProp($,ae.p.z,0,0,this))):this.p=vt.getProp($,ae.p||{k:[0,0,0]},1,0,this),ae.rx){if(this.rx=vt.getProp($,ae.rx,0,de,this),this.ry=vt.getProp($,ae.ry,0,de,this),this.rz=vt.getProp($,ae.rz,0,de,this),ae.or.k[0].ti){var ke,q=ae.or.k.length;for(ke=0;ke<q;ke+=1)ae.or.k[ke].to=null,ae.or.k[ke].ti=null}this.or=vt.getProp($,ae.or,1,de,this),this.or.sh=!0}else this.r=vt.getProp($,ae.r||{k:0},0,de,this);ae.sk&&(this.sk=vt.getProp($,ae.sk,0,de,this),this.sa=vt.getProp($,ae.sa,0,de,this)),this.a=vt.getProp($,ae.a||{k:[0,0,0]},1,0,this),this.s=vt.getProp($,ae.s||{k:[100,100,100]},1,.01,this),ae.o?this.o=vt.getProp($,ae.o,0,.01,$):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}B.prototype={applyToMatrix:S,getValue:b,precalculateMatrix:A,autoOrient:I},E([Nn],B),B.prototype.addDynamicProperty=D,B.prototype._addDynamicProperty=Nn.prototype.addDynamicProperty;function J($,ae,fe){return new B($,ae,fe)}return{getTransformProperty:J}}();function Mi(){}E([pr],Mi),Mi.prototype.initModifierProperties=function(p,S){this.getValue=this.processKeys,this.c=vt.getProp(p,S.c,0,null,this),this.o=vt.getProp(p,S.o,0,null,this),this.tr=$o.getTransformProperty(p,S.tr,this),this.so=vt.getProp(p,S.tr.so,0,.01,this),this.eo=vt.getProp(p,S.tr.eo,0,.01,this),this.data=S,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new yt,this.rMatrix=new yt,this.sMatrix=new yt,this.tMatrix=new yt,this.matrix=new yt},Mi.prototype.applyTransforms=function(p,S,b,A,I,D){var B=D?-1:1,J=A.s.v[0]+(1-A.s.v[0])*(1-I),$=A.s.v[1]+(1-A.s.v[1])*(1-I);p.translate(A.p.v[0]*B*I,A.p.v[1]*B*I,A.p.v[2]),S.translate(-A.a.v[0],-A.a.v[1],A.a.v[2]),S.rotate(-A.r.v*B*I),S.translate(A.a.v[0],A.a.v[1],A.a.v[2]),b.translate(-A.a.v[0],-A.a.v[1],A.a.v[2]),b.scale(D?1/J:J,D?1/$:$),b.translate(A.a.v[0],A.a.v[1],A.a.v[2])},Mi.prototype.init=function(p,S,b,A){for(this.elem=p,this.arr=S,this.pos=b,this.elemsData=A,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(p),this.initModifierProperties(p,S[b]);b>0;)b-=1,this._elements.unshift(S[b]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Mi.prototype.resetElements=function(p){var S,b=p.length;for(S=0;S<b;S+=1)p[S]._processed=!1,p[S].ty==="gr"&&this.resetElements(p[S].it)},Mi.prototype.cloneElements=function(p){var S=JSON.parse(JSON.stringify(p));return this.resetElements(S),S},Mi.prototype.changeGroupRender=function(p,S){var b,A=p.length;for(b=0;b<A;b+=1)p[b]._render=S,p[b].ty==="gr"&&this.changeGroupRender(p[b].it,S)},Mi.prototype.processShapes=function(p){var S,b,A,I,D,B=!1;if(this._mdf||p){var J=Math.ceil(this.c.v);if(this._groups.length<J){for(;this._groups.length<J;){var $={it:this.cloneElements(this._elements),ty:"gr"};$.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,$),this._groups.splice(0,0,$),this._currentCopies+=1}this.elem.reloadShapes(),B=!0}D=0;var ae;for(A=0;A<=this._groups.length-1;A+=1){if(ae=D<J,this._groups[A]._render=ae,this.changeGroupRender(this._groups[A].it,ae),!ae){var fe=this.elemsData[A].it,ke=fe[fe.length-1];ke.transform.op.v!==0?(ke.transform.op._mdf=!0,ke.transform.op.v=0):ke.transform.op._mdf=!1}D+=1}this._currentCopies=J;var q=this.o.v,he=q%1,ve=q>0?Math.floor(q):Math.ceil(q),pe=this.pMatrix.props,Ae=this.rMatrix.props,le=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var te=0;if(q>0){for(;te<ve;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),te+=1;he&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,he,!1),te+=he)}else if(q<0){for(;te>ve;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),te-=1;he&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-he,!0),te-=he)}A=this.data.m===1?0:this._currentCopies-1,I=this.data.m===1?1:-1,D=this._currentCopies;for(var G,Q;D;){if(S=this.elemsData[A].it,b=S[S.length-1].transform.mProps.v.props,Q=b.length,S[S.length-1].transform.mProps._mdf=!0,S[S.length-1].transform.op._mdf=!0,S[S.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(A/(this._currentCopies-1)),te!==0){for((A!==0&&I===1||A!==this._currentCopies-1&&I===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Ae[0],Ae[1],Ae[2],Ae[3],Ae[4],Ae[5],Ae[6],Ae[7],Ae[8],Ae[9],Ae[10],Ae[11],Ae[12],Ae[13],Ae[14],Ae[15]),this.matrix.transform(le[0],le[1],le[2],le[3],le[4],le[5],le[6],le[7],le[8],le[9],le[10],le[11],le[12],le[13],le[14],le[15]),this.matrix.transform(pe[0],pe[1],pe[2],pe[3],pe[4],pe[5],pe[6],pe[7],pe[8],pe[9],pe[10],pe[11],pe[12],pe[13],pe[14],pe[15]),G=0;G<Q;G+=1)b[G]=this.matrix.props[G];this.matrix.reset()}else for(this.matrix.reset(),G=0;G<Q;G+=1)b[G]=this.matrix.props[G];te+=1,D-=1,A+=I}}else for(D=this._currentCopies,A=0,I=1;D;)S=this.elemsData[A].it,b=S[S.length-1].transform.mProps.v.props,S[S.length-1].transform.mProps._mdf=!1,S[S.length-1].transform.op._mdf=!1,D-=1,A+=I;return B},Mi.prototype.addShape=function(){};function Ua(){}E([pr],Ua),Ua.prototype.initModifierProperties=function(p,S){this.getValue=this.processKeys,this.rd=vt.getProp(p,S.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Ua.prototype.processPath=function(p,S){var b=Rn.newElement();b.c=p.c;var A,I=p._length,D,B,J,$,ae,fe,ke=0,q,he,ve,pe,Ae,le;for(A=0;A<I;A+=1)D=p.v[A],J=p.o[A],B=p.i[A],D[0]===J[0]&&D[1]===J[1]&&D[0]===B[0]&&D[1]===B[1]?(A===0||A===I-1)&&!p.c?(b.setTripleAt(D[0],D[1],J[0],J[1],B[0],B[1],ke),ke+=1):(A===0?$=p.v[I-1]:$=p.v[A-1],ae=Math.sqrt(Math.pow(D[0]-$[0],2)+Math.pow(D[1]-$[1],2)),fe=ae?Math.min(ae/2,S)/ae:0,Ae=D[0]+($[0]-D[0])*fe,q=Ae,le=D[1]-(D[1]-$[1])*fe,he=le,ve=q-(q-D[0])*Re,pe=he-(he-D[1])*Re,b.setTripleAt(q,he,ve,pe,Ae,le,ke),ke+=1,A===I-1?$=p.v[0]:$=p.v[A+1],ae=Math.sqrt(Math.pow(D[0]-$[0],2)+Math.pow(D[1]-$[1],2)),fe=ae?Math.min(ae/2,S)/ae:0,ve=D[0]+($[0]-D[0])*fe,q=ve,pe=D[1]+($[1]-D[1])*fe,he=pe,Ae=q-(q-D[0])*Re,le=he-(he-D[1])*Re,b.setTripleAt(q,he,ve,pe,Ae,le,ke),ke+=1):(b.setTripleAt(p.v[A][0],p.v[A][1],p.o[A][0],p.o[A][1],p.i[A][0],p.i[A][1],ke),ke+=1);return b},Ua.prototype.processShapes=function(p){var S,b,A=this.shapes.length,I,D,B=this.rd.v;if(B!==0){var J,$;for(b=0;b<A;b+=1){if(J=this.shapes[b],$=J.localShapeCollection,!(!J.shape._mdf&&!this._mdf&&!p))for($.releaseShapes(),J.shape._mdf=!0,S=J.shape.paths.shapes,D=J.shape.paths._length,I=0;I<D;I+=1)$.addShape(this.processPath(S[I],B));J.shape.paths=J.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ks(p,S){return Math.abs(p-S)*1e5<=Math.min(Math.abs(p),Math.abs(S))}function Ti(p){return Math.abs(p)<=1e-5}function es(p,S,b){return p*(1-b)+S*b}function fi(p,S,b){return[es(p[0],S[0],b),es(p[1],S[1],b)]}function ts(p,S,b){if(p===0)return[];var A=S*S-4*p*b;if(A<0)return[];var I=-S/(2*p);if(A===0)return[I];var D=Math.sqrt(A)/(2*p);return[I-D,I+D]}function co(p,S,b,A){return[-p+3*S-3*b+A,3*p-6*S+3*b,-3*p+3*S,p]}function ns(p){return new dt(p,p,p,p,!1)}function dt(p,S,b,A,I){I&&Er(p,S)&&(S=fi(p,A,1/3)),I&&Er(b,A)&&(b=fi(p,A,2/3));var D=co(p[0],S[0],b[0],A[0]),B=co(p[1],S[1],b[1],A[1]);this.a=[D[0],B[0]],this.b=[D[1],B[1]],this.c=[D[2],B[2]],this.d=[D[3],B[3]],this.points=[p,S,b,A]}dt.prototype.point=function(p){return[((this.a[0]*p+this.b[0])*p+this.c[0])*p+this.d[0],((this.a[1]*p+this.b[1])*p+this.c[1])*p+this.d[1]]},dt.prototype.derivative=function(p){return[(3*p*this.a[0]+2*this.b[0])*p+this.c[0],(3*p*this.a[1]+2*this.b[1])*p+this.c[1]]},dt.prototype.tangentAngle=function(p){var S=this.derivative(p);return Math.atan2(S[1],S[0])},dt.prototype.normalAngle=function(p){var S=this.derivative(p);return Math.atan2(S[0],S[1])},dt.prototype.inflectionPoints=function(){var p=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Ti(p))return[];var S=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/p,b=S*S-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/p;if(b<0)return[];var A=Math.sqrt(b);return Ti(A)?A>0&&A<1?[S]:[]:[S-A,S+A].filter(function(I){return I>0&&I<1})},dt.prototype.split=function(p){if(p<=0)return[ns(this.points[0]),this];if(p>=1)return[this,ns(this.points[this.points.length-1])];var S=fi(this.points[0],this.points[1],p),b=fi(this.points[1],this.points[2],p),A=fi(this.points[2],this.points[3],p),I=fi(S,b,p),D=fi(b,A,p),B=fi(I,D,p);return[new dt(this.points[0],S,I,B,!0),new dt(B,D,A,this.points[3],!0)]};function Vo(p,S){var b=p.points[0][S],A=p.points[p.points.length-1][S];if(b>A){var I=A;A=b,b=I}for(var D=ts(3*p.a[S],2*p.b[S],p.c[S]),B=0;B<D.length;B+=1)if(D[B]>0&&D[B]<1){var J=p.point(D[B])[S];J<b?b=J:J>A&&(A=J)}return{min:b,max:A}}dt.prototype.bounds=function(){return{x:Vo(this,0),y:Vo(this,1)}},dt.prototype.boundingBox=function(){var p=this.bounds();return{left:p.x.min,right:p.x.max,top:p.y.min,bottom:p.y.max,width:p.x.max-p.x.min,height:p.y.max-p.y.min,cx:(p.x.max+p.x.min)/2,cy:(p.y.max+p.y.min)/2}};function Or(p,S,b){var A=p.boundingBox();return{cx:A.cx,cy:A.cy,width:A.width,height:A.height,bez:p,t:(S+b)/2,t1:S,t2:b}}function ma(p){var S=p.bez.split(.5);return[Or(S[0],p.t1,p.t),Or(S[1],p.t,p.t2)]}function Ds(p,S){return Math.abs(p.cx-S.cx)*2<p.width+S.width&&Math.abs(p.cy-S.cy)*2<p.height+S.height}function zo(p,S,b,A,I,D){if(Ds(p,S)){if(b>=D||p.width<=A&&p.height<=A&&S.width<=A&&S.height<=A){I.push([p.t,S.t]);return}var B=ma(p),J=ma(S);zo(B[0],J[0],b+1,A,I,D),zo(B[0],J[1],b+1,A,I,D),zo(B[1],J[0],b+1,A,I,D),zo(B[1],J[1],b+1,A,I,D)}}dt.prototype.intersections=function(p,S,b){S===void 0&&(S=2),b===void 0&&(b=7);var A=[];return zo(Or(this,0,1),Or(p,0,1),0,S,A,b),A},dt.shapeSegment=function(p,S){var b=(S+1)%p.length();return new dt(p.v[S],p.o[S],p.i[b],p.v[b],!0)},dt.shapeSegmentInverted=function(p,S){var b=(S+1)%p.length();return new dt(p.v[b],p.i[b],p.o[S],p.v[S],!0)};function Zr(p,S){return[p[1]*S[2]-p[2]*S[1],p[2]*S[0]-p[0]*S[2],p[0]*S[1]-p[1]*S[0]]}function ir(p,S,b,A){var I=[p[0],p[1],1],D=[S[0],S[1],1],B=[b[0],b[1],1],J=[A[0],A[1],1],$=Zr(Zr(I,D),Zr(B,J));return Ti($[2])?null:[$[0]/$[2],$[1]/$[2]]}function ei(p,S,b){return[p[0]+Math.cos(S)*b,p[1]-Math.sin(S)*b]}function bu(p,S){return Math.hypot(p[0]-S[0],p[1]-S[1])}function Er(p,S){return ks(p[0],S[0])&&ks(p[1],S[1])}function Oi(){}E([pr],Oi),Oi.prototype.initModifierProperties=function(p,S){this.getValue=this.processKeys,this.amplitude=vt.getProp(p,S.s,0,null,this),this.frequency=vt.getProp(p,S.r,0,null,this),this.pointsType=vt.getProp(p,S.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function jo(p,S,b,A,I,D,B){var J=b-Math.PI/2,$=b+Math.PI/2,ae=S[0]+Math.cos(b)*A*I,fe=S[1]-Math.sin(b)*A*I;p.setTripleAt(ae,fe,ae+Math.cos(J)*D,fe-Math.sin(J)*D,ae+Math.cos($)*B,fe-Math.sin($)*B,p.length())}function ga(p,S){var b=[S[0]-p[0],S[1]-p[1]],A=-Math.PI*.5,I=[Math.cos(A)*b[0]-Math.sin(A)*b[1],Math.sin(A)*b[0]+Math.cos(A)*b[1]];return I}function Ho(p,S){var b=S===0?p.length()-1:S-1,A=(S+1)%p.length(),I=p.v[b],D=p.v[A],B=ga(I,D);return Math.atan2(0,1)-Math.atan2(B[1],B[0])}function kl(p,S,b,A,I,D,B){var J=Ho(S,b),$=S.v[b%S._length],ae=S.v[b===0?S._length-1:b-1],fe=S.v[(b+1)%S._length],ke=D===2?Math.sqrt(Math.pow($[0]-ae[0],2)+Math.pow($[1]-ae[1],2)):0,q=D===2?Math.sqrt(Math.pow($[0]-fe[0],2)+Math.pow($[1]-fe[1],2)):0;jo(p,S.v[b%S._length],J,B,A,q/((I+1)*2),ke/((I+1)*2))}function Dl(p,S,b,A,I,D){for(var B=0;B<A;B+=1){var J=(B+1)/(A+1),$=I===2?Math.sqrt(Math.pow(S.points[3][0]-S.points[0][0],2)+Math.pow(S.points[3][1]-S.points[0][1],2)):0,ae=S.normalAngle(J),fe=S.point(J);jo(p,fe,ae,D,b,$/((A+1)*2),$/((A+1)*2)),D=-D}return D}Oi.prototype.processPath=function(p,S,b,A){var I=p._length,D=Rn.newElement();if(D.c=p.c,p.c||(I-=1),I===0)return D;var B=-1,J=dt.shapeSegment(p,0);kl(D,p,0,S,b,A,B);for(var $=0;$<I;$+=1)B=Dl(D,J,S,b,A,-B),$===I-1&&!p.c?J=null:J=dt.shapeSegment(p,($+1)%I),kl(D,p,$+1,S,b,A,B);return D},Oi.prototype.processShapes=function(p){var S,b,A=this.shapes.length,I,D,B=this.amplitude.v,J=Math.max(0,Math.round(this.frequency.v)),$=this.pointsType.v;if(B!==0){var ae,fe;for(b=0;b<A;b+=1){if(ae=this.shapes[b],fe=ae.localShapeCollection,!(!ae.shape._mdf&&!this._mdf&&!p))for(fe.releaseShapes(),ae.shape._mdf=!0,S=ae.shape.paths.shapes,D=ae.shape.paths._length,I=0;I<D;I+=1)fe.addShape(this.processPath(S[I],B,J,$));ae.shape.paths=ae.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Il(p,S,b){var A=Math.atan2(S[0]-p[0],S[1]-p[1]);return[ei(p,A,b),ei(S,A,b)]}function Ba(p,S){var b,A,I,D,B,J,$;$=Il(p.points[0],p.points[1],S),b=$[0],A=$[1],$=Il(p.points[1],p.points[2],S),I=$[0],D=$[1],$=Il(p.points[2],p.points[3],S),B=$[0],J=$[1];var ae=ir(b,A,I,D);ae===null&&(ae=A);var fe=ir(B,J,I,D);return fe===null&&(fe=B),new dt(b,ae,fe,J)}function j(p,S,b,A,I){var D=S.points[3],B=b.points[0];if(A===3||Er(D,B))return D;if(A===2){var J=-S.tangentAngle(1),$=-b.tangentAngle(0)+Math.PI,ae=ir(D,ei(D,J+Math.PI/2,100),B,ei(B,J+Math.PI/2,100)),fe=ae?bu(ae,D):bu(D,B)/2,ke=ei(D,J,2*fe*Re);return p.setXYAt(ke[0],ke[1],"o",p.length()-1),ke=ei(B,$,2*fe*Re),p.setTripleAt(B[0],B[1],B[0],B[1],ke[0],ke[1],p.length()),B}var q=Er(D,S.points[2])?S.points[0]:S.points[2],he=Er(B,b.points[1])?b.points[3]:b.points[1],ve=ir(q,D,B,he);return ve&&bu(ve,D)<I?(p.setTripleAt(ve[0],ve[1],ve[0],ve[1],ve[0],ve[1],p.length()),ve):D}function be(p,S){var b=p.intersections(S);return b.length&&ks(b[0][0],1)&&b.shift(),b.length?b[0]:null}function We(p,S){var b=p.slice(),A=S.slice(),I=be(p[p.length-1],S[0]);return I&&(b[p.length-1]=p[p.length-1].split(I[0])[0],A[0]=S[0].split(I[1])[1]),p.length>1&&S.length>1&&(I=be(p[0],S[S.length-1]),I)?[[p[0].split(I[0])[0]],[S[S.length-1].split(I[1])[1]]]:[b,A]}function tt(p){for(var S,b=1;b<p.length;b+=1)S=We(p[b-1],p[b]),p[b-1]=S[0],p[b]=S[1];return p.length>1&&(S=We(p[p.length-1],p[0]),p[p.length-1]=S[0],p[0]=S[1]),p}function Rt(p,S){var b=p.inflectionPoints(),A,I,D,B;if(b.length===0)return[Ba(p,S)];if(b.length===1||ks(b[1],1))return D=p.split(b[0]),A=D[0],I=D[1],[Ba(A,S),Ba(I,S)];D=p.split(b[0]),A=D[0];var J=(b[1]-b[0])/(1-b[0]);return D=D[1].split(J),B=D[0],I=D[1],[Ba(A,S),Ba(B,S),Ba(I,S)]}function Kt(){}E([pr],Kt),Kt.prototype.initModifierProperties=function(p,S){this.getValue=this.processKeys,this.amount=vt.getProp(p,S.a,0,null,this),this.miterLimit=vt.getProp(p,S.ml,0,null,this),this.lineJoin=S.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Kt.prototype.processPath=function(p,S,b,A){var I=Rn.newElement();I.c=p.c;var D=p.length();p.c||(D-=1);var B,J,$,ae=[];for(B=0;B<D;B+=1)$=dt.shapeSegment(p,B),ae.push(Rt($,S));if(!p.c)for(B=D-1;B>=0;B-=1)$=dt.shapeSegmentInverted(p,B),ae.push(Rt($,S));ae=tt(ae);var fe=null,ke=null;for(B=0;B<ae.length;B+=1){var q=ae[B];for(ke&&(fe=j(I,ke,q[0],b,A)),ke=q[q.length-1],J=0;J<q.length;J+=1)$=q[J],fe&&Er($.points[0],fe)?I.setXYAt($.points[1][0],$.points[1][1],"o",I.length()-1):I.setTripleAt($.points[0][0],$.points[0][1],$.points[1][0],$.points[1][1],$.points[0][0],$.points[0][1],I.length()),I.setTripleAt($.points[3][0],$.points[3][1],$.points[3][0],$.points[3][1],$.points[2][0],$.points[2][1],I.length()),fe=$.points[3]}return ae.length&&j(I,ke,ae[0][0],b,A),I},Kt.prototype.processShapes=function(p){var S,b,A=this.shapes.length,I,D,B=this.amount.v,J=this.miterLimit.v,$=this.lineJoin;if(B!==0){var ae,fe;for(b=0;b<A;b+=1){if(ae=this.shapes[b],fe=ae.localShapeCollection,!(!ae.shape._mdf&&!this._mdf&&!p))for(fe.releaseShapes(),ae.shape._mdf=!0,S=ae.shape.paths.shapes,D=ae.shape.paths._length,I=0;I<D;I+=1)fe.addShape(this.processPath(S[I],B,$,J));ae.shape.paths=ae.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Qt(p){for(var S=p.fStyle?p.fStyle.split(" "):[],b="normal",A="normal",I=S.length,D,B=0;B<I;B+=1)switch(D=S[B].toLowerCase(),D){case"italic":A="italic";break;case"bold":b="700";break;case"black":b="900";break;case"medium":b="500";break;case"regular":case"normal":b="400";break;case"light":case"thin":b="200";break}return{style:A,weight:p.fWeight||b}}var bt=function(){var p=5e3,S={w:0,size:0,shapes:[],data:{shapes:[]}},b=[];b=b.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 A=127988,I=917631,D=917601,B=917626,J=65039,$=8205,ae=127462,fe=127487,ke=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function q(ee){var me=ee.split(","),U,H=me.length,Me=[];for(U=0;U<H;U+=1)me[U]!=="sans-serif"&&me[U]!=="monospace"&&Me.push(me[U]);return Me.join(",")}function he(ee,me){var U=y("span");U.setAttribute("aria-hidden",!0),U.style.fontFamily=me;var H=y("span");H.innerText="giItT1WQy@!-/#",U.style.position="absolute",U.style.left="-10000px",U.style.top="-10000px",U.style.fontSize="300px",U.style.fontVariant="normal",U.style.fontStyle="normal",U.style.fontWeight="normal",U.style.letterSpacing="0",U.appendChild(H),document.body.appendChild(U);var Me=H.offsetWidth;return H.style.fontFamily=q(ee)+", "+me,{node:H,w:Me,parent:U}}function ve(){var ee,me=this.fonts.length,U,H,Me=me;for(ee=0;ee<me;ee+=1)this.fonts[ee].loaded?Me-=1:this.fonts[ee].fOrigin==="n"||this.fonts[ee].origin===0?this.fonts[ee].loaded=!0:(U=this.fonts[ee].monoCase.node,H=this.fonts[ee].monoCase.w,U.offsetWidth!==H?(Me-=1,this.fonts[ee].loaded=!0):(U=this.fonts[ee].sansCase.node,H=this.fonts[ee].sansCase.w,U.offsetWidth!==H&&(Me-=1,this.fonts[ee].loaded=!0)),this.fonts[ee].loaded&&(this.fonts[ee].sansCase.parent.parentNode.removeChild(this.fonts[ee].sansCase.parent),this.fonts[ee].monoCase.parent.parentNode.removeChild(this.fonts[ee].monoCase.parent)));Me!==0&&Date.now()-this.initTime<p?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function pe(ee,me){var U=document.body&&me?"svg":"canvas",H,Me=Qt(ee);if(U==="svg"){var Te=wt("text");Te.style.fontSize="100px",Te.setAttribute("font-family",ee.fFamily),Te.setAttribute("font-style",Me.style),Te.setAttribute("font-weight",Me.weight),Te.textContent="1",ee.fClass?(Te.style.fontFamily="inherit",Te.setAttribute("class",ee.fClass)):Te.style.fontFamily=ee.fFamily,me.appendChild(Te),H=Te}else{var _t=new OffscreenCanvas(500,500).getContext("2d");_t.font=Me.style+" "+Me.weight+" 100px "+ee.fFamily,H=_t}function Gt(Zt){return U==="svg"?(H.textContent=Zt,H.getComputedTextLength()):H.measureText(Zt).width}return{measureText:Gt}}function Ae(ee,me){if(!ee){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=ee.list;return}if(!document.body){this.isLoaded=!0,ee.list.forEach(function(zr){zr.helper=pe(zr),zr.cache={}}),this.fonts=ee.list;return}var U=ee.list,H,Me=U.length,Te=Me;for(H=0;H<Me;H+=1){var _t=!0,Gt,Zt;if(U[H].loaded=!1,U[H].monoCase=he(U[H].fFamily,"monospace"),U[H].sansCase=he(U[H].fFamily,"sans-serif"),!U[H].fPath)U[H].loaded=!0,Te-=1;else if(U[H].fOrigin==="p"||U[H].origin===3){if(Gt=document.querySelectorAll('style[f-forigin="p"][f-family="'+U[H].fFamily+'"], style[f-origin="3"][f-family="'+U[H].fFamily+'"]'),Gt.length>0&&(_t=!1),_t){var An=y("style");An.setAttribute("f-forigin",U[H].fOrigin),An.setAttribute("f-origin",U[H].origin),An.setAttribute("f-family",U[H].fFamily),An.type="text/css",An.innerText="@font-face {font-family: "+U[H].fFamily+"; font-style: normal; src: url('"+U[H].fPath+"');}",me.appendChild(An)}}else if(U[H].fOrigin==="g"||U[H].origin===1){for(Gt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Zt=0;Zt<Gt.length;Zt+=1)Gt[Zt].href.indexOf(U[H].fPath)!==-1&&(_t=!1);if(_t){var In=y("link");In.setAttribute("f-forigin",U[H].fOrigin),In.setAttribute("f-origin",U[H].origin),In.type="text/css",In.rel="stylesheet",In.href=U[H].fPath,document.body.appendChild(In)}}else if(U[H].fOrigin==="t"||U[H].origin===2){for(Gt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Zt=0;Zt<Gt.length;Zt+=1)U[H].fPath===Gt[Zt].src&&(_t=!1);if(_t){var mr=y("link");mr.setAttribute("f-forigin",U[H].fOrigin),mr.setAttribute("f-origin",U[H].origin),mr.setAttribute("rel","stylesheet"),mr.setAttribute("href",U[H].fPath),me.appendChild(mr)}}U[H].helper=pe(U[H],me),U[H].cache={},this.fonts.push(U[H])}Te===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function le(ee){if(ee){this.chars||(this.chars=[]);var me,U=ee.length,H,Me=this.chars.length,Te;for(me=0;me<U;me+=1){for(H=0,Te=!1;H<Me;)this.chars[H].style===ee[me].style&&this.chars[H].fFamily===ee[me].fFamily&&this.chars[H].ch===ee[me].ch&&(Te=!0),H+=1;Te||(this.chars.push(ee[me]),Me+=1)}}}function te(ee,me,U){for(var H=0,Me=this.chars.length;H<Me;){if(this.chars[H].ch===ee&&this.chars[H].style===me&&this.chars[H].fFamily===U)return this.chars[H];H+=1}return(typeof ee=="string"&&ee.charCodeAt(0)!==13||!ee)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",ee,me,U)),S}function G(ee,me,U){var H=this.getFontByName(me),Me=ee;if(!H.cache[Me]){var Te=H.helper;if(ee===" "){var _t=Te.measureText("|"+ee+"|"),Gt=Te.measureText("||");H.cache[Me]=(_t-Gt)/100}else H.cache[Me]=Te.measureText(ee)/100}return H.cache[Me]*U}function Q(ee){for(var me=0,U=this.fonts.length;me<U;){if(this.fonts[me].fName===ee)return this.fonts[me];me+=1}return this.fonts[0]}function oe(ee){var me=0,U=ee.charCodeAt(0);if(U>=55296&&U<=56319){var H=ee.charCodeAt(1);H>=56320&&H<=57343&&(me=(U-55296)*1024+H-56320+65536)}return me}function xe(ee,me){var U=ee.toString(16)+me.toString(16);return ke.indexOf(U)!==-1}function Le(ee){return ee===$}function Ne(ee){return ee===J}function ut(ee){var me=oe(ee);return me>=ae&&me<=fe}function nn(ee){return ut(ee.substr(0,2))&&ut(ee.substr(2,2))}function Ht(ee){return b.indexOf(ee)!==-1}function pt(ee,me){var U=oe(ee.substr(me,2));if(U!==A)return!1;var H=0;for(me+=2;H<5;){if(U=oe(ee.substr(me,2)),U<D||U>B)return!1;H+=1,me+=2}return oe(ee.substr(me,2))===I}function sn(){this.isLoaded=!0}var At=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)};At.isModifier=xe,At.isZeroWidthJoiner=Le,At.isFlagEmoji=nn,At.isRegionalCode=ut,At.isCombinedCharacter=Ht,At.isRegionalFlag=pt,At.isVariationSelector=Ne,At.BLACK_FLAG_CODE_POINT=A;var ct={addChars:le,addFonts:Ae,getCharData:te,getFontByName:Q,measureText:G,checkLoadedFonts:ve,setIsLoaded:sn};return At.prototype=ct,At}();function Dn(p){this.animationData=p}Dn.prototype.getProp=function(p){return this.animationData.slots&&this.animationData.slots[p.sid]?Object.assign(p,this.animationData.slots[p.sid].p):p};function sr(p){return new Dn(p)}function Zn(){}Zn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(S){this.renderableComponents.indexOf(S)===-1&&this.renderableComponents.push(S)},removeRenderableComponent:function(S){this.renderableComponents.indexOf(S)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(S),1)},prepareRenderableFrame:function(S){this.checkLayerLimits(S)},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(S){this.data.ip-this.data.st<=S&&this.data.op-this.data.st>S?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 S,b=this.renderableComponents.length;for(S=0;S<b;S+=1)this.renderableComponents[S].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 Xn=function(){var p={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(S){return p[S]||""}}();function wi(p,S,b){this.p=vt.getProp(S,p.v,0,0,b)}function ti(p,S,b){this.p=vt.getProp(S,p.v,0,0,b)}function ni(p,S,b){this.p=vt.getProp(S,p.v,1,0,b)}function va(p,S,b){this.p=vt.getProp(S,p.v,1,0,b)}function $a(p,S,b){this.p=vt.getProp(S,p.v,0,0,b)}function Is(p,S,b){this.p=vt.getProp(S,p.v,0,0,b)}function hf(p,S,b){this.p=vt.getProp(S,p.v,0,0,b)}function Tu(){this.p={}}function Ec(p,S){var b=p.ef||[];this.effectElements=[];var A,I=b.length,D;for(A=0;A<I;A+=1)D=new ya(b[A],S),this.effectElements.push(D)}function ya(p,S){this.init(p,S)}E([Nn],ya),ya.prototype.getValue=ya.prototype.iterateDynamicProperties,ya.prototype.init=function(p,S){this.data=p,this.effectElements=[],this.initDynamicPropertyContainer(S);var b,A=this.data.ef.length,I,D=this.data.ef;for(b=0;b<A;b+=1){switch(I=null,D[b].ty){case 0:I=new wi(D[b],S,this);break;case 1:I=new ti(D[b],S,this);break;case 2:I=new ni(D[b],S,this);break;case 3:I=new va(D[b],S,this);break;case 4:case 7:I=new hf(D[b],S,this);break;case 10:I=new $a(D[b],S,this);break;case 11:I=new Is(D[b],S,this);break;case 5:I=new Ec(D[b],S);break;default:I=new Tu(D[b]);break}I&&this.effectElements.push(I)}};function Ps(){}Ps.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var S=0,b=this.data.masksProperties.length;S<b;){if(this.data.masksProperties[S].mode!=="n"&&this.data.masksProperties[S].cl!==!1)return!0;S+=1}return!1},initExpressions:function(){},setBlendMode:function(){var S=Xn(this.data.bm),b=this.baseElement||this.layerElement;b.style["mix-blend-mode"]=S},initBaseData:function(S,b,A){this.globalData=b,this.comp=A,this.data=S,this.layerId=_e(),this.data.sr||(this.data.sr=1),this.effectsManager=new Ec(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ms(){}Ms.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(S,b){var A,I=this.dynamicProperties.length;for(A=0;A<I;A+=1)(b||this._isParent&&this.dynamicProperties[A].propType==="transform")&&(this.dynamicProperties[A].getValue(),this.dynamicProperties[A]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(S){this.dynamicProperties.indexOf(S)===-1&&this.dynamicProperties.push(S)}};function Va(p,S,b){this.initFrame(),this.initRenderable(),this.assetData=S.getAssetData(p.refId),this.footageData=S.imageLoader.getAsset(this.assetData),this.initBaseData(p,S,b)}Va.prototype.prepareFrame=function(){},E([Zn,Ps,Ms],Va),Va.prototype.getBaseElement=function(){return null},Va.prototype.renderFrame=function(){},Va.prototype.destroy=function(){},Va.prototype.initExpressions=function(){},Va.prototype.getFootageData=function(){return this.footageData};function rs(p,S,b){this.initFrame(),this.initRenderable(),this.assetData=S.getAssetData(p.refId),this.initBaseData(p,S,b),this._isPlaying=!1,this._canPlay=!1;var A=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(A),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=p.tm?vt.getProp(this,p.tm,0,S.frameRate,this):{_placeholder:!0},this.lv=vt.getProp(this,p.au&&p.au.lv?p.au.lv:{k:[100]},1,.01,this)}rs.prototype.prepareFrame=function(p){if(this.prepareRenderableFrame(p,!0),this.prepareProperties(p,!0),this.tm._placeholder)this._currentTime=p/this.data.sr;else{var S=this.tm.v;this._currentTime=S}this._volume=this.lv.v[0];var b=this._volume*this._volumeMultiplier;this._previousVolume!==b&&(this._previousVolume=b,this.audio.volume(b))},E([Zn,Ps,Ms],rs),rs.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))},rs.prototype.show=function(){},rs.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},rs.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},rs.prototype.resume=function(){this._canPlay=!0},rs.prototype.setRate=function(p){this.audio.rate(p)},rs.prototype.volume=function(p){this._volumeMultiplier=p,this._previousVolume=p*this._volume,this.audio.volume(this._previousVolume)},rs.prototype.getBaseElement=function(){return null},rs.prototype.destroy=function(){},rs.prototype.sourceRectAtTime=function(){},rs.prototype.initExpressions=function(){};function Lr(){}Lr.prototype.checkLayers=function(p){var S,b=this.layers.length,A;for(this.completeLayers=!0,S=b-1;S>=0;S-=1)this.elements[S]||(A=this.layers[S],A.ip-A.st<=p-this.layers[S].st&&A.op-A.st>p-this.layers[S].st&&this.buildItem(S)),this.completeLayers=this.elements[S]?this.completeLayers:!1;this.checkPendingElements()},Lr.prototype.createItem=function(p){switch(p.ty){case 2:return this.createImage(p);case 0:return this.createComp(p);case 1:return this.createSolid(p);case 3:return this.createNull(p);case 4:return this.createShape(p);case 5:return this.createText(p);case 6:return this.createAudio(p);case 13:return this.createCamera(p);case 15:return this.createFootage(p);default:return this.createNull(p)}},Lr.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Lr.prototype.createAudio=function(p){return new rs(p,this.globalData,this)},Lr.prototype.createFootage=function(p){return new Va(p,this.globalData,this)},Lr.prototype.buildAllItems=function(){var p,S=this.layers.length;for(p=0;p<S;p+=1)this.buildItem(p);this.checkPendingElements()},Lr.prototype.includeLayers=function(p){this.completeLayers=!1;var S,b=p.length,A,I=this.layers.length;for(S=0;S<b;S+=1)for(A=0;A<I;){if(this.layers[A].id===p[S].id){this.layers[A]=p[S];break}A+=1}},Lr.prototype.setProjectInterface=function(p){this.globalData.projectInterface=p},Lr.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},Lr.prototype.buildElementParenting=function(p,S,b){for(var A=this.elements,I=this.layers,D=0,B=I.length;D<B;)I[D].ind==S&&(!A[D]||A[D]===!0?(this.buildItem(D),this.addPendingElement(p)):(b.push(A[D]),A[D].setAsParent(),I[D].parent!==void 0?this.buildElementParenting(p,I[D].parent,b):p.setHierarchy(b))),D+=1},Lr.prototype.addPendingElement=function(p){this.pendingElements.push(p)},Lr.prototype.searchExtraCompositions=function(p){var S,b=p.length;for(S=0;S<b;S+=1)if(p[S].xt){var A=this.createComp(p[S]);A.initExpressions(),this.globalData.projectInterface.registerComposition(A)}},Lr.prototype.getElementById=function(p){var S,b=this.elements.length;for(S=0;S<b;S+=1)if(this.elements[S].data.ind===p)return this.elements[S];return null},Lr.prototype.getElementByPath=function(p){var S=p.shift(),b;if(typeof S=="number")b=this.elements[S];else{var A,I=this.elements.length;for(A=0;A<I;A+=1)if(this.elements[A].data.nm===S){b=this.elements[A];break}}return p.length===0?b:b.getElementByPath(p)},Lr.prototype.setupGlobalData=function(p,S){this.globalData.fontManager=new bt,this.globalData.slotManager=sr(p),this.globalData.fontManager.addChars(p.chars),this.globalData.fontManager.addFonts(p.fonts,S),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=p.fr,this.globalData.nm=p.nm,this.globalData.compSize={w:p.w,h:p.h}};var wu={TRANSFORM_EFFECT:"transformEFfect"};function is(){}is.prototype={initTransform:function(){var S=new yt;this.finalTransform={mProp:this.data.ks?$o.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:S,localMat:S,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 S,b=this.finalTransform.mat,A=0,I=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;A<I;){if(this.hierarchy[A].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}A+=1}if(this.finalTransform._matMdf)for(S=this.finalTransform.mProp.v.props,b.cloneFromProps(S),A=0;A<I;A+=1)b.multiply(this.hierarchy[A].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 S=0,b=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;S<b;)this.localTransforms[S]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[S]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),S+=1;if(this.finalTransform._localMatMdf){var A=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(A),S=1;S<b;S+=1){var I=this.localTransforms[S].matrix;A.multiply(I)}A.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var D=this.finalTransform.localOpacity;for(S=0;S<b;S+=1)D*=this.localTransforms[S].opacity*.01;this.finalTransform.localOpacity=D}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var S=this.renderableEffectsManager.getEffects(wu.TRANSFORM_EFFECT);if(S.length){this.localTransforms=[],this.finalTransform.localMat=new yt;var b=0,A=S.length;for(b=0;b<A;b+=1)this.localTransforms.push(S[b])}}},globalToLocal:function(S){var b=[];b.push(this.finalTransform);for(var A=!0,I=this.comp;A;)I.finalTransform?(I.data.hasMask&&b.splice(0,0,I.finalTransform),I=I.comp):A=!1;var D,B=b.length,J;for(D=0;D<B;D+=1)J=b[D].mat.applyToPointArray(0,0,0),S=[S[0]-J[0],S[1]-J[1],0];return S},mHelper:new yt};function za(p,S,b){this.data=p,this.element=S,this.globalData=b,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var A=this.globalData.defs,I,D=this.masksProperties?this.masksProperties.length:0;this.viewData=L(D),this.solidPath="";var B,J=this.masksProperties,$=0,ae=[],fe,ke,q=_e(),he,ve,pe,Ae,le="clipPath",te="clip-path";for(I=0;I<D;I+=1)if((J[I].mode!=="a"&&J[I].mode!=="n"||J[I].inv||J[I].o.k!==100||J[I].o.x)&&(le="mask",te="mask"),(J[I].mode==="s"||J[I].mode==="i")&&$===0?(he=wt("rect"),he.setAttribute("fill","#ffffff"),he.setAttribute("width",this.element.comp.data.w||0),he.setAttribute("height",this.element.comp.data.h||0),ae.push(he)):he=null,B=wt("path"),J[I].mode==="n")this.viewData[I]={op:vt.getProp(this.element,J[I].o,0,.01,this.element),prop:lt.getShapeProp(this.element,J[I],3),elem:B,lastPath:""},A.appendChild(B);else{$+=1,B.setAttribute("fill",J[I].mode==="s"?"#000000":"#ffffff"),B.setAttribute("clip-rule","nonzero");var G;if(J[I].x.k!==0?(le="mask",te="mask",Ae=vt.getProp(this.element,J[I].x,0,null,this.element),G=_e(),ve=wt("filter"),ve.setAttribute("id",G),pe=wt("feMorphology"),pe.setAttribute("operator","erode"),pe.setAttribute("in","SourceGraphic"),pe.setAttribute("radius","0"),ve.appendChild(pe),A.appendChild(ve),B.setAttribute("stroke",J[I].mode==="s"?"#000000":"#ffffff")):(pe=null,Ae=null),this.storedData[I]={elem:B,x:Ae,expan:pe,lastPath:"",lastOperator:"",filterId:G,lastRadius:0},J[I].mode==="i"){ke=ae.length;var Q=wt("g");for(fe=0;fe<ke;fe+=1)Q.appendChild(ae[fe]);var oe=wt("mask");oe.setAttribute("mask-type","alpha"),oe.setAttribute("id",q+"_"+$),oe.appendChild(B),A.appendChild(oe),Q.setAttribute("mask","url("+m()+"#"+q+"_"+$+")"),ae.length=0,ae.push(Q)}else ae.push(B);J[I].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[I]={elem:B,lastPath:"",op:vt.getProp(this.element,J[I].o,0,.01,this.element),prop:lt.getShapeProp(this.element,J[I],3),invRect:he},this.viewData[I].prop.k||this.drawPath(J[I],this.viewData[I].prop.v,this.viewData[I])}for(this.maskElement=wt(le),D=ae.length,I=0;I<D;I+=1)this.maskElement.appendChild(ae[I]);$>0&&(this.maskElement.setAttribute("id",q),this.element.maskedElement.setAttribute(te,"url("+m()+"#"+q+")"),A.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}za.prototype.getMaskProperty=function(p){return this.viewData[p].prop},za.prototype.renderFrame=function(p){var S=this.element.finalTransform.mat,b,A=this.masksProperties.length;for(b=0;b<A;b+=1)if((this.viewData[b].prop._mdf||p)&&this.drawPath(this.masksProperties[b],this.viewData[b].prop.v,this.viewData[b]),(this.viewData[b].op._mdf||p)&&this.viewData[b].elem.setAttribute("fill-opacity",this.viewData[b].op.v),this.masksProperties[b].mode!=="n"&&(this.viewData[b].invRect&&(this.element.finalTransform.mProp._mdf||p)&&this.viewData[b].invRect.setAttribute("transform",S.getInverseMatrix().to2dCSS()),this.storedData[b].x&&(this.storedData[b].x._mdf||p))){var I=this.storedData[b].expan;this.storedData[b].x.v<0?(this.storedData[b].lastOperator!=="erode"&&(this.storedData[b].lastOperator="erode",this.storedData[b].elem.setAttribute("filter","url("+m()+"#"+this.storedData[b].filterId+")")),I.setAttribute("radius",-this.storedData[b].x.v)):(this.storedData[b].lastOperator!=="dilate"&&(this.storedData[b].lastOperator="dilate",this.storedData[b].elem.setAttribute("filter",null)),this.storedData[b].elem.setAttribute("stroke-width",this.storedData[b].x.v*2))}},za.prototype.getMaskelement=function(){return this.maskElement},za.prototype.createLayerSolidPath=function(){var p="M0,0 ";return p+=" h"+this.globalData.compSize.w,p+=" v"+this.globalData.compSize.h,p+=" h-"+this.globalData.compSize.w,p+=" v-"+this.globalData.compSize.h+" ",p},za.prototype.drawPath=function(p,S,b){var A=" M"+S.v[0][0]+","+S.v[0][1],I,D;for(D=S._length,I=1;I<D;I+=1)A+=" C"+S.o[I-1][0]+","+S.o[I-1][1]+" "+S.i[I][0]+","+S.i[I][1]+" "+S.v[I][0]+","+S.v[I][1];if(S.c&&D>1&&(A+=" C"+S.o[I-1][0]+","+S.o[I-1][1]+" "+S.i[0][0]+","+S.i[0][1]+" "+S.v[0][0]+","+S.v[0][1]),b.lastPath!==A){var B="";b.elem&&(S.c&&(B=p.inv?this.solidPath+A:A),b.elem.setAttribute("d",B)),b.lastPath=A}},za.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var fo=function(){var p={};p.createFilter=S,p.createAlphaToLuminanceFilter=b;function S(A,I){var D=wt("filter");return D.setAttribute("id",A),I!==!0&&(D.setAttribute("filterUnits","objectBoundingBox"),D.setAttribute("x","0%"),D.setAttribute("y","0%"),D.setAttribute("width","100%"),D.setAttribute("height","100%")),D}function b(){var A=wt("feColorMatrix");return A.setAttribute("type","matrix"),A.setAttribute("color-interpolation-filters","sRGB"),A.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),A}return p}(),pf=function(){var p={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))&&(p.maskType=!1),/firefox/i.test(navigator.userAgent)&&(p.svgLumaHidden=!1),p}(),Go={},Wo="filter_result_";function Cu(p){var S,b="SourceGraphic",A=p.data.ef?p.data.ef.length:0,I=_e(),D=fo.createFilter(I,!0),B=0;this.filters=[];var J;for(S=0;S<A;S+=1){J=null;var $=p.data.ef[S].ty;if(Go[$]){var ae=Go[$].effect;J=new ae(D,p.effectsManager.effectElements[S],p,Wo+B,b),b=Wo+B,Go[$].countsAsEffect&&(B+=1)}J&&this.filters.push(J)}B&&(p.globalData.defs.appendChild(D),p.layerElement.setAttribute("filter","url("+m()+"#"+I+")")),this.filters.length&&p.addRenderableComponent(this)}Cu.prototype.renderFrame=function(p){var S,b=this.filters.length;for(S=0;S<b;S+=1)this.filters[S].renderFrame(p)},Cu.prototype.getEffects=function(p){var S,b=this.filters.length,A=[];for(S=0;S<b;S+=1)this.filters[S].type===p&&A.push(this.filters[S]);return A};function di(){}di.prototype={initRendererElement:function(){this.layerElement=wt("g")},createContainerElements:function(){this.matteElement=wt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var S=null;if(this.data.td){this.matteMasks={};var b=wt("g");b.setAttribute("id",this.layerId),b.appendChild(this.layerElement),S=b,this.globalData.defs.appendChild(b)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),S=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 A=wt("clipPath"),I=wt("path");I.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var D=_e();if(A.setAttribute("id",D),A.appendChild(I),this.globalData.defs.appendChild(A),this.checkMasks()){var B=wt("g");B.setAttribute("clip-path","url("+m()+"#"+D+")"),B.appendChild(this.layerElement),this.transformedElement=B,S?S.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+m()+"#"+D+")")}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 za(this.data,this,this.globalData),this.renderableEffectsManager=new Cu(this),this.searchEffectTransforms()},getMatte:function(S){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[S]){var b=this.layerId+"_"+S,A,I,D,B;if(S===1||S===3){var J=wt("mask");J.setAttribute("id",b),J.setAttribute("mask-type",S===3?"luminance":"alpha"),D=wt("use"),D.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),J.appendChild(D),this.globalData.defs.appendChild(J),!pf.maskType&&S===1&&(J.setAttribute("mask-type","luminance"),A=_e(),I=fo.createFilter(A),this.globalData.defs.appendChild(I),I.appendChild(fo.createAlphaToLuminanceFilter()),B=wt("g"),B.appendChild(D),J.appendChild(B),B.setAttribute("filter","url("+m()+"#"+A+")"))}else if(S===2){var $=wt("mask");$.setAttribute("id",b),$.setAttribute("mask-type","alpha");var ae=wt("g");$.appendChild(ae),A=_e(),I=fo.createFilter(A);var fe=wt("feComponentTransfer");fe.setAttribute("in","SourceGraphic"),I.appendChild(fe);var ke=wt("feFuncA");ke.setAttribute("type","table"),ke.setAttribute("tableValues","1.0 0.0"),fe.appendChild(ke),this.globalData.defs.appendChild(I);var q=wt("rect");q.setAttribute("width",this.comp.data.w),q.setAttribute("height",this.comp.data.h),q.setAttribute("x","0"),q.setAttribute("y","0"),q.setAttribute("fill","#ffffff"),q.setAttribute("opacity","0"),ae.setAttribute("filter","url("+m()+"#"+A+")"),ae.appendChild(q),D=wt("use"),D.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ae.appendChild(D),pf.maskType||($.setAttribute("mask-type","luminance"),I.appendChild(fo.createAlphaToLuminanceFilter()),B=wt("g"),ae.appendChild(q),B.appendChild(this.layerElement),ae.appendChild(B)),this.globalData.defs.appendChild($)}this.matteMasks[S]=b}return this.matteMasks[S]},setMatte:function(S){this.matteElement&&this.matteElement.setAttribute("mask","url("+m()+"#"+S+")")}};function Os(){}Os.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(S){this.hierarchy=S},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function Ko(){}(function(){var p={initElement:function(b,A,I){this.initFrame(),this.initBaseData(b,A,I),this.initTransform(b,A,I),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var b=this.baseElement||this.layerElement;b.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var b=this.baseElement||this.layerElement;b.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(b){this._mdf=!1,this.prepareRenderableFrame(b),this.prepareProperties(b,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};E([Zn,T(p)],Ko)})();function Fs(p,S,b){this.assetData=S.getAssetData(p.refId),this.assetData&&this.assetData.sid&&(this.assetData=S.slotManager.getProp(this.assetData)),this.initElement(p,S,b),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}E([Ps,is,di,Os,Ms,Ko],Fs),Fs.prototype.createContent=function(){var p=this.globalData.getAssetsPath(this.assetData);this.innerElem=wt("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",p),this.layerElement.appendChild(this.innerElem)},Fs.prototype.sourceRectAtTime=function(){return this.sourceRect};function Hd(p,S){this.elem=p,this.pos=S}function Pl(){}Pl.prototype={addShapeToModifiers:function(S){var b,A=this.shapeModifiers.length;for(b=0;b<A;b+=1)this.shapeModifiers[b].addShape(S)},isShapeInAnimatedModifiers:function(S){for(var b=0,A=this.shapeModifiers.length;b<A;)if(this.shapeModifiers[b].isAnimatedWithShape(S))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var S,b=this.shapes.length;for(S=0;S<b;S+=1)this.shapes[S].sh.reset();b=this.shapeModifiers.length;var A;for(S=b-1;S>=0&&(A=this.shapeModifiers[S].processShapes(this._isFirstFrame),!A);S-=1);}},searchProcessedElement:function(S){for(var b=this.processedElements,A=0,I=b.length;A<I;){if(b[A].elem===S)return b[A].pos;A+=1}return 0},addProcessedElement:function(S,b){for(var A=this.processedElements,I=A.length;I;)if(I-=1,A[I].elem===S){A[I].pos=b;return}A.push(new Hd(S,b))},prepareFrame:function(S){this.prepareRenderableFrame(S),this.prepareProperties(S,this.isInRange)}};var Ru={1:"butt",2:"round",3:"square"},ho={1:"miter",2:"round",3:"bevel"};function qo(p,S,b){this.caches=[],this.styles=[],this.transformers=p,this.lStr="",this.sh=b,this.lvl=S,this._isAnimated=!!b.k;for(var A=0,I=p.length;A<I;){if(p[A].mProps.dynamicProperties.length){this._isAnimated=!0;break}A+=1}}qo.prototype.setAsAnimated=function(){this._isAnimated=!0};function mf(p,S){this.data=p,this.type=p.ty,this.d="",this.lvl=S,this._mdf=!1,this.closed=p.hd===!0,this.pElem=wt("path"),this.msElem=null}mf.prototype.reset=function(){this.d="",this._mdf=!1};function Yo(p,S,b,A){this.elem=p,this.frameId=-1,this.dataProps=L(S.length),this.renderer=b,this.k=!1,this.dashStr="",this.dashArray=_("float32",S.length?S.length-1:0),this.dashoffset=_("float32",1),this.initDynamicPropertyContainer(A);var I,D=S.length||0,B;for(I=0;I<D;I+=1)B=vt.getProp(p,S[I].v,0,0,this),this.k=B.k||this.k,this.dataProps[I]={n:S[I].n,p:B};this.k||this.getValue(!0),this._isAnimated=this.k}Yo.prototype.getValue=function(p){if(!(this.elem.globalData.frameId===this.frameId&&!p)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||p,this._mdf)){var S=0,b=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),S=0;S<b;S+=1)this.dataProps[S].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[S].p.v:this.dashArray[S]=this.dataProps[S].p.v:this.dashoffset[0]=this.dataProps[S].p.v}},E([Nn],Yo);function gf(p,S,b){this.initDynamicPropertyContainer(p),this.getValue=this.iterateDynamicProperties,this.o=vt.getProp(p,S.o,0,.01,this),this.w=vt.getProp(p,S.w,0,null,this),this.d=new Yo(p,S.d||{},"svg",this),this.c=vt.getProp(p,S.c,1,255,this),this.style=b,this._isAnimated=!!this._isAnimated}E([Nn],gf);function gs(p,S,b){this.initDynamicPropertyContainer(p),this.getValue=this.iterateDynamicProperties,this.o=vt.getProp(p,S.o,0,.01,this),this.c=vt.getProp(p,S.c,1,255,this),this.style=b}E([Nn],gs);function Ns(p,S,b){this.initDynamicPropertyContainer(p),this.getValue=this.iterateDynamicProperties,this.style=b}E([Nn],Ns);function Ci(p,S,b){this.data=S,this.c=_("uint8c",S.p*4);var A=S.k.k[0].s?S.k.k[0].s.length-S.p*4:S.k.k.length-S.p*4;this.o=_("float32",A),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=A,this.initDynamicPropertyContainer(b),this.prop=vt.getProp(p,S.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Ci.prototype.comparePoints=function(p,S){for(var b=0,A=this.o.length/2,I;b<A;){if(I=Math.abs(p[b*4]-p[S*4+b*2]),I>.01)return!1;b+=1}return!0},Ci.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var p=0,S=this.data.k.k.length;p<S;){if(!this.comparePoints(this.data.k.k[p].s,this.data.p))return!1;p+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Ci.prototype.getValue=function(p){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||p){var S,b=this.data.p*4,A,I;for(S=0;S<b;S+=1)A=S%4===0?100:255,I=Math.round(this.prop.v[S]*A),this.c[S]!==I&&(this.c[S]=I,this._cmdf=!p);if(this.o.length)for(b=this.prop.v.length,S=this.data.p*4;S<b;S+=1)A=S%2===0?100:1,I=S%2===0?Math.round(this.prop.v[S]*100):this.prop.v[S],this.o[S-this.data.p*4]!==I&&(this.o[S-this.data.p*4]=I,this._omdf=!p);this._mdf=!p}},E([Nn],Ci);function vs(p,S,b){this.initDynamicPropertyContainer(p),this.getValue=this.iterateDynamicProperties,this.initGradientData(p,S,b)}vs.prototype.initGradientData=function(p,S,b){this.o=vt.getProp(p,S.o,0,.01,this),this.s=vt.getProp(p,S.s,1,null,this),this.e=vt.getProp(p,S.e,1,null,this),this.h=vt.getProp(p,S.h||{k:0},0,.01,this),this.a=vt.getProp(p,S.a||{k:0},0,de,this),this.g=new Ci(p,S.g,this),this.style=b,this.stops=[],this.setGradientData(b.pElem,S),this.setGradientOpacity(S,b),this._isAnimated=!!this._isAnimated},vs.prototype.setGradientData=function(p,S){var b=_e(),A=wt(S.t===1?"linearGradient":"radialGradient");A.setAttribute("id",b),A.setAttribute("spreadMethod","pad"),A.setAttribute("gradientUnits","userSpaceOnUse");var I=[],D,B,J;for(J=S.g.p*4,B=0;B<J;B+=4)D=wt("stop"),A.appendChild(D),I.push(D);p.setAttribute(S.ty==="gf"?"fill":"stroke","url("+m()+"#"+b+")"),this.gf=A,this.cst=I},vs.prototype.setGradientOpacity=function(p,S){if(this.g._hasOpacity&&!this.g._collapsable){var b,A,I,D=wt("mask"),B=wt("path");D.appendChild(B);var J=_e(),$=_e();D.setAttribute("id",$);var ae=wt(p.t===1?"linearGradient":"radialGradient");ae.setAttribute("id",J),ae.setAttribute("spreadMethod","pad"),ae.setAttribute("gradientUnits","userSpaceOnUse"),I=p.g.k.k[0].s?p.g.k.k[0].s.length:p.g.k.k.length;var fe=this.stops;for(A=p.g.p*4;A<I;A+=2)b=wt("stop"),b.setAttribute("stop-color","rgb(255,255,255)"),ae.appendChild(b),fe.push(b);B.setAttribute(p.ty==="gf"?"fill":"stroke","url("+m()+"#"+J+")"),p.ty==="gs"&&(B.setAttribute("stroke-linecap",Ru[p.lc||2]),B.setAttribute("stroke-linejoin",ho[p.lj||2]),p.lj===1&&B.setAttribute("stroke-miterlimit",p.ml)),this.of=ae,this.ms=D,this.ost=fe,this.maskId=$,S.msElem=B}},E([Nn],vs);function vf(p,S,b){this.initDynamicPropertyContainer(p),this.getValue=this.iterateDynamicProperties,this.w=vt.getProp(p,S.w,0,null,this),this.d=new Yo(p,S.d||{},"svg",this),this.initGradientData(p,S,b),this._isAnimated=!!this._isAnimated}E([vs,Nn],vf);function xc(){this.it=[],this.prevViewData=[],this.gr=wt("g")}function yp(p,S,b){this.transform={mProps:p,op:S,container:b},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Xo=function(S,b,A,I){if(b===0)return"";var D=S.o,B=S.i,J=S.v,$,ae=" M"+I.applyToPointStringified(J[0][0],J[0][1]);for($=1;$<b;$+=1)ae+=" C"+I.applyToPointStringified(D[$-1][0],D[$-1][1])+" "+I.applyToPointStringified(B[$][0],B[$][1])+" "+I.applyToPointStringified(J[$][0],J[$][1]);return A&&b&&(ae+=" C"+I.applyToPointStringified(D[$-1][0],D[$-1][1])+" "+I.applyToPointStringified(B[0][0],B[0][1])+" "+I.applyToPointStringified(J[0][0],J[0][1]),ae+="z"),ae},Sp=function(){var p=new yt,S=new yt,b={createRenderFunction:A};function A(ke){switch(ke.ty){case"fl":return J;case"gf":return ae;case"gs":return $;case"st":return fe;case"sh":case"el":case"rc":case"sr":return B;case"tr":return I;case"no":return D;default:return null}}function I(ke,q,he){(he||q.transform.op._mdf)&&q.transform.container.setAttribute("opacity",q.transform.op.v),(he||q.transform.mProps._mdf)&&q.transform.container.setAttribute("transform",q.transform.mProps.v.to2dCSS())}function D(){}function B(ke,q,he){var ve,pe,Ae,le,te,G,Q=q.styles.length,oe=q.lvl,xe,Le,Ne,ut;for(G=0;G<Q;G+=1){if(le=q.sh._mdf||he,q.styles[G].lvl<oe){for(Le=S.reset(),Ne=oe-q.styles[G].lvl,ut=q.transformers.length-1;!le&&Ne>0;)le=q.transformers[ut].mProps._mdf||le,Ne-=1,ut-=1;if(le)for(Ne=oe-q.styles[G].lvl,ut=q.transformers.length-1;Ne>0;)Le.multiply(q.transformers[ut].mProps.v),Ne-=1,ut-=1}else Le=p;if(xe=q.sh.paths,pe=xe._length,le){for(Ae="",ve=0;ve<pe;ve+=1)te=xe.shapes[ve],te&&te._length&&(Ae+=Xo(te,te._length,te.c,Le));q.caches[G]=Ae}else Ae=q.caches[G];q.styles[G].d+=ke.hd===!0?"":Ae,q.styles[G]._mdf=le||q.styles[G]._mdf}}function J(ke,q,he){var ve=q.style;(q.c._mdf||he)&&ve.pElem.setAttribute("fill","rgb("+ue(q.c.v[0])+","+ue(q.c.v[1])+","+ue(q.c.v[2])+")"),(q.o._mdf||he)&&ve.pElem.setAttribute("fill-opacity",q.o.v)}function $(ke,q,he){ae(ke,q,he),fe(ke,q,he)}function ae(ke,q,he){var ve=q.gf,pe=q.g._hasOpacity,Ae=q.s.v,le=q.e.v;if(q.o._mdf||he){var te=ke.ty==="gf"?"fill-opacity":"stroke-opacity";q.style.pElem.setAttribute(te,q.o.v)}if(q.s._mdf||he){var G=ke.t===1?"x1":"cx",Q=G==="x1"?"y1":"cy";ve.setAttribute(G,Ae[0]),ve.setAttribute(Q,Ae[1]),pe&&!q.g._collapsable&&(q.of.setAttribute(G,Ae[0]),q.of.setAttribute(Q,Ae[1]))}var oe,xe,Le,Ne;if(q.g._cmdf||he){oe=q.cst;var ut=q.g.c;for(Le=oe.length,xe=0;xe<Le;xe+=1)Ne=oe[xe],Ne.setAttribute("offset",ut[xe*4]+"%"),Ne.setAttribute("stop-color","rgb("+ut[xe*4+1]+","+ut[xe*4+2]+","+ut[xe*4+3]+")")}if(pe&&(q.g._omdf||he)){var nn=q.g.o;for(q.g._collapsable?oe=q.cst:oe=q.ost,Le=oe.length,xe=0;xe<Le;xe+=1)Ne=oe[xe],q.g._collapsable||Ne.setAttribute("offset",nn[xe*2]+"%"),Ne.setAttribute("stop-opacity",nn[xe*2+1])}if(ke.t===1)(q.e._mdf||he)&&(ve.setAttribute("x2",le[0]),ve.setAttribute("y2",le[1]),pe&&!q.g._collapsable&&(q.of.setAttribute("x2",le[0]),q.of.setAttribute("y2",le[1])));else{var Ht;if((q.s._mdf||q.e._mdf||he)&&(Ht=Math.sqrt(Math.pow(Ae[0]-le[0],2)+Math.pow(Ae[1]-le[1],2)),ve.setAttribute("r",Ht),pe&&!q.g._collapsable&&q.of.setAttribute("r",Ht)),q.e._mdf||q.h._mdf||q.a._mdf||he){Ht||(Ht=Math.sqrt(Math.pow(Ae[0]-le[0],2)+Math.pow(Ae[1]-le[1],2)));var pt=Math.atan2(le[1]-Ae[1],le[0]-Ae[0]),sn=q.h.v;sn>=1?sn=.99:sn<=-1&&(sn=-.99);var At=Ht*sn,ct=Math.cos(pt+q.a.v)*At+Ae[0],ee=Math.sin(pt+q.a.v)*At+Ae[1];ve.setAttribute("fx",ct),ve.setAttribute("fy",ee),pe&&!q.g._collapsable&&(q.of.setAttribute("fx",ct),q.of.setAttribute("fy",ee))}}}function fe(ke,q,he){var ve=q.style,pe=q.d;pe&&(pe._mdf||he)&&pe.dashStr&&(ve.pElem.setAttribute("stroke-dasharray",pe.dashStr),ve.pElem.setAttribute("stroke-dashoffset",pe.dashoffset[0])),q.c&&(q.c._mdf||he)&&ve.pElem.setAttribute("stroke","rgb("+ue(q.c.v[0])+","+ue(q.c.v[1])+","+ue(q.c.v[2])+")"),(q.o._mdf||he)&&ve.pElem.setAttribute("stroke-opacity",q.o.v),(q.w._mdf||he)&&(ve.pElem.setAttribute("stroke-width",q.w.v),ve.msElem&&ve.msElem.setAttribute("stroke-width",q.w.v))}return b}();function $r(p,S,b){this.shapes=[],this.shapesData=p.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(p,S,b),this.prevViewData=[]}E([Ps,is,di,Pl,Os,Ms,Ko],$r),$r.prototype.initSecondaryElement=function(){},$r.prototype.identityMatrix=new yt,$r.prototype.buildExpressionInterface=function(){},$r.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},$r.prototype.filterUniqueShapes=function(){var p,S=this.shapes.length,b,A,I=this.stylesList.length,D,B=[],J=!1;for(A=0;A<I;A+=1){for(D=this.stylesList[A],J=!1,B.length=0,p=0;p<S;p+=1)b=this.shapes[p],b.styles.indexOf(D)!==-1&&(B.push(b),J=b._isAnimated||J);B.length>1&&J&&this.setShapesAsAnimated(B)}},$r.prototype.setShapesAsAnimated=function(p){var S,b=p.length;for(S=0;S<b;S+=1)p[S].setAsAnimated()},$r.prototype.createStyleElement=function(p,S){var b,A=new mf(p,S),I=A.pElem;if(p.ty==="st")b=new gf(this,p,A);else if(p.ty==="fl")b=new gs(this,p,A);else if(p.ty==="gf"||p.ty==="gs"){var D=p.ty==="gf"?vs:vf;b=new D(this,p,A),this.globalData.defs.appendChild(b.gf),b.maskId&&(this.globalData.defs.appendChild(b.ms),this.globalData.defs.appendChild(b.of),I.setAttribute("mask","url("+m()+"#"+b.maskId+")"))}else p.ty==="no"&&(b=new Ns(this,p,A));return(p.ty==="st"||p.ty==="gs")&&(I.setAttribute("stroke-linecap",Ru[p.lc||2]),I.setAttribute("stroke-linejoin",ho[p.lj||2]),I.setAttribute("fill-opacity","0"),p.lj===1&&I.setAttribute("stroke-miterlimit",p.ml)),p.r===2&&I.setAttribute("fill-rule","evenodd"),p.ln&&I.setAttribute("id",p.ln),p.cl&&I.setAttribute("class",p.cl),p.bm&&(I.style["mix-blend-mode"]=Xn(p.bm)),this.stylesList.push(A),this.addToAnimatedContents(p,b),b},$r.prototype.createGroupElement=function(p){var S=new xc;return p.ln&&S.gr.setAttribute("id",p.ln),p.cl&&S.gr.setAttribute("class",p.cl),p.bm&&(S.gr.style["mix-blend-mode"]=Xn(p.bm)),S},$r.prototype.createTransformElement=function(p,S){var b=$o.getTransformProperty(this,p,this),A=new yp(b,b.o,S);return this.addToAnimatedContents(p,A),A},$r.prototype.createShapeElement=function(p,S,b){var A=4;p.ty==="rc"?A=5:p.ty==="el"?A=6:p.ty==="sr"&&(A=7);var I=lt.getShapeProp(this,p,A,this),D=new qo(S,b,I);return this.shapes.push(D),this.addShapeToModifiers(D),this.addToAnimatedContents(p,D),D},$r.prototype.addToAnimatedContents=function(p,S){for(var b=0,A=this.animatedContents.length;b<A;){if(this.animatedContents[b].element===S)return;b+=1}this.animatedContents.push({fn:Sp.createRenderFunction(p),element:S,data:p})},$r.prototype.setElementStyles=function(p){var S=p.styles,b,A=this.stylesList.length;for(b=0;b<A;b+=1)this.stylesList[b].closed||S.push(this.stylesList[b])},$r.prototype.reloadShapes=function(){this._isFirstFrame=!0;var p,S=this.itemsData.length;for(p=0;p<S;p+=1)this.prevViewData[p]=this.itemsData[p];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),S=this.dynamicProperties.length,p=0;p<S;p+=1)this.dynamicProperties[p].getValue();this.renderModifiers()},$r.prototype.searchShapes=function(p,S,b,A,I,D,B){var J=[].concat(D),$,ae=p.length-1,fe,ke,q=[],he=[],ve,pe,Ae;for($=ae;$>=0;$-=1){if(Ae=this.searchProcessedElement(p[$]),Ae?S[$]=b[Ae-1]:p[$]._render=B,p[$].ty==="fl"||p[$].ty==="st"||p[$].ty==="gf"||p[$].ty==="gs"||p[$].ty==="no")Ae?S[$].style.closed=!1:S[$]=this.createStyleElement(p[$],I),p[$]._render&&S[$].style.pElem.parentNode!==A&&A.appendChild(S[$].style.pElem),q.push(S[$].style);else if(p[$].ty==="gr"){if(!Ae)S[$]=this.createGroupElement(p[$]);else for(ke=S[$].it.length,fe=0;fe<ke;fe+=1)S[$].prevViewData[fe]=S[$].it[fe];this.searchShapes(p[$].it,S[$].it,S[$].prevViewData,S[$].gr,I+1,J,B),p[$]._render&&S[$].gr.parentNode!==A&&A.appendChild(S[$].gr)}else p[$].ty==="tr"?(Ae||(S[$]=this.createTransformElement(p[$],A)),ve=S[$].transform,J.push(ve)):p[$].ty==="sh"||p[$].ty==="rc"||p[$].ty==="el"||p[$].ty==="sr"?(Ae||(S[$]=this.createShapeElement(p[$],J,I)),this.setElementStyles(S[$])):p[$].ty==="tm"||p[$].ty==="rd"||p[$].ty==="ms"||p[$].ty==="pb"||p[$].ty==="zz"||p[$].ty==="op"?(Ae?(pe=S[$],pe.closed=!1):(pe=Ji.getModifier(p[$].ty),pe.init(this,p[$]),S[$]=pe,this.shapeModifiers.push(pe)),he.push(pe)):p[$].ty==="rp"&&(Ae?(pe=S[$],pe.closed=!0):(pe=Ji.getModifier(p[$].ty),S[$]=pe,pe.init(this,p,$,S),this.shapeModifiers.push(pe),B=!1),he.push(pe));this.addProcessedElement(p[$],$+1)}for(ae=q.length,$=0;$<ae;$+=1)q[$].closed=!0;for(ae=he.length,$=0;$<ae;$+=1)he[$].closed=!0},$r.prototype.renderInnerContent=function(){this.renderModifiers();var p,S=this.stylesList.length;for(p=0;p<S;p+=1)this.stylesList[p].reset();for(this.renderShape(),p=0;p<S;p+=1)(this.stylesList[p]._mdf||this._isFirstFrame)&&(this.stylesList[p].msElem&&(this.stylesList[p].msElem.setAttribute("d",this.stylesList[p].d),this.stylesList[p].d="M0 0"+this.stylesList[p].d),this.stylesList[p].pElem.setAttribute("d",this.stylesList[p].d||"M0 0"))},$r.prototype.renderShape=function(){var p,S=this.animatedContents.length,b;for(p=0;p<S;p+=1)b=this.animatedContents[p],(this._isFirstFrame||b.element._isAnimated)&&b.data!==!0&&b.fn(b.data,b.element,this._isFirstFrame)},$r.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Au(p,S,b,A,I,D){this.o=p,this.sw=S,this.sc=b,this.fc=A,this.m=I,this.p=D,this._mdf={o:!0,sw:!!S,sc:!!b,fc:!!A,m:!0,p:!0}}Au.prototype.update=function(p,S,b,A,I,D){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 B=!1;return this.o!==p&&(this.o=p,this._mdf.o=!0,B=!0),this.sw!==S&&(this.sw=S,this._mdf.sw=!0,B=!0),this.sc!==b&&(this.sc=b,this._mdf.sc=!0,B=!0),this.fc!==A&&(this.fc=A,this._mdf.fc=!0,B=!0),this.m!==I&&(this.m=I,this._mdf.m=!0,B=!0),D.length&&(this.p[0]!==D[0]||this.p[1]!==D[1]||this.p[4]!==D[4]||this.p[5]!==D[5]||this.p[12]!==D[12]||this.p[13]!==D[13])&&(this.p=D,this._mdf.p=!0,B=!0),B};function zi(p,S){this._frameId=o,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,S.d&&S.d.sid&&(S.d=p.globalData.slotManager.getProp(S.d)),this.data=S,this.elem=p,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)}zi.prototype.defaultBoxWidth=[0,0],zi.prototype.copyData=function(p,S){for(var b in S)Object.prototype.hasOwnProperty.call(S,b)&&(p[b]=S[b]);return p},zi.prototype.setCurrentData=function(p){p.__complete||this.completeTextData(p),this.currentData=p,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},zi.prototype.searchProperty=function(){return this.searchKeyframes()},zi.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},zi.prototype.addEffect=function(p){this.effectsSequence.push(p),this.elem.addDynamicProperty(this)},zi.prototype.getValue=function(p){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!p)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var S=this.currentData,b=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var A,I=this.effectsSequence.length,D=p||this.data.d.k[this.keysIndex].s;for(A=0;A<I;A+=1)b!==this.keysIndex?D=this.effectsSequence[A](D,D.t):D=this.effectsSequence[A](this.currentData,D.t);S!==D&&this.setCurrentData(D),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},zi.prototype.getKeyframeValue=function(){for(var p=this.data.d.k,S=this.elem.comp.renderedFrame,b=0,A=p.length;b<=A-1&&!(b===A-1||p[b+1].t>S);)b+=1;return this.keysIndex!==b&&(this.keysIndex=b),this.data.d.k[this.keysIndex].s},zi.prototype.buildFinalText=function(p){for(var S=[],b=0,A=p.length,I,D,B=!1,J=!1,$="";b<A;)B=J,J=!1,I=p.charCodeAt(b),$=p.charAt(b),bt.isCombinedCharacter(I)?B=!0:I>=55296&&I<=56319?bt.isRegionalFlag(p,b)?$=p.substr(b,14):(D=p.charCodeAt(b+1),D>=56320&&D<=57343&&(bt.isModifier(I,D)?($=p.substr(b,2),B=!0):bt.isFlagEmoji(p.substr(b,4))?$=p.substr(b,4):$=p.substr(b,2))):I>56319?(D=p.charCodeAt(b+1),bt.isVariationSelector(I)&&(B=!0)):bt.isZeroWidthJoiner(I)&&(B=!0,J=!0),B?(S[S.length-1]+=$,B=!1):S.push($),b+=$.length;return S},zi.prototype.completeTextData=function(p){p.__complete=!0;var S=this.elem.globalData.fontManager,b=this.data,A=[],I,D,B,J=0,$,ae=b.m.g,fe=0,ke=0,q=0,he=[],ve=0,pe=0,Ae,le,te=S.getFontByName(p.f),G,Q=0,oe=Qt(te);p.fWeight=oe.weight,p.fStyle=oe.style,p.finalSize=p.s,p.finalText=this.buildFinalText(p.t),D=p.finalText.length,p.finalLineHeight=p.lh;var xe=p.tr/1e3*p.finalSize,Le;if(p.sz)for(var Ne=!0,ut=p.sz[0],nn=p.sz[1],Ht,pt;Ne;){pt=this.buildFinalText(p.t),Ht=0,ve=0,D=pt.length,xe=p.tr/1e3*p.finalSize;var sn=-1;for(I=0;I<D;I+=1)Le=pt[I].charCodeAt(0),B=!1,pt[I]===" "?sn=I:(Le===13||Le===3)&&(ve=0,B=!0,Ht+=p.finalLineHeight||p.finalSize*1.2),S.chars?(G=S.getCharData(pt[I],te.fStyle,te.fFamily),Q=B?0:G.w*p.finalSize/100):Q=S.measureText(pt[I],p.f,p.finalSize),ve+Q>ut&&pt[I]!==" "?(sn===-1?D+=1:I=sn,Ht+=p.finalLineHeight||p.finalSize*1.2,pt.splice(I,sn===I?1:0,"\r"),sn=-1,ve=0):(ve+=Q,ve+=xe);Ht+=te.ascent*p.finalSize/100,this.canResize&&p.finalSize>this.minimumFontSize&&nn<Ht?(p.finalSize-=1,p.finalLineHeight=p.finalSize*p.lh/p.s):(p.finalText=pt,D=p.finalText.length,Ne=!1)}ve=-xe,Q=0;var At=0,ct;for(I=0;I<D;I+=1)if(B=!1,ct=p.finalText[I],Le=ct.charCodeAt(0),Le===13||Le===3?(At=0,he.push(ve),pe=ve>pe?ve:pe,ve=-2*xe,$="",B=!0,q+=1):$=ct,S.chars?(G=S.getCharData(ct,te.fStyle,S.getFontByName(p.f).fFamily),Q=B?0:G.w*p.finalSize/100):Q=S.measureText($,p.f,p.finalSize),ct===" "?At+=Q+xe:(ve+=Q+xe+At,At=0),A.push({l:Q,an:Q,add:fe,n:B,anIndexes:[],val:$,line:q,animatorJustifyOffset:0}),ae==2){if(fe+=Q,$===""||$===" "||I===D-1){for(($===""||$===" ")&&(fe-=Q);ke<=I;)A[ke].an=fe,A[ke].ind=J,A[ke].extra=Q,ke+=1;J+=1,fe=0}}else if(ae==3){if(fe+=Q,$===""||I===D-1){for($===""&&(fe-=Q);ke<=I;)A[ke].an=fe,A[ke].ind=J,A[ke].extra=Q,ke+=1;fe=0,J+=1}}else A[J].ind=J,A[J].extra=0,J+=1;if(p.l=A,pe=ve>pe?ve:pe,he.push(ve),p.sz)p.boxWidth=p.sz[0],p.justifyOffset=0;else switch(p.boxWidth=pe,p.j){case 1:p.justifyOffset=-p.boxWidth;break;case 2:p.justifyOffset=-p.boxWidth/2;break;default:p.justifyOffset=0}p.lineWidths=he;var ee=b.a,me,U;le=ee.length;var H,Me,Te=[];for(Ae=0;Ae<le;Ae+=1){for(me=ee[Ae],me.a.sc&&(p.strokeColorAnim=!0),me.a.sw&&(p.strokeWidthAnim=!0),(me.a.fc||me.a.fh||me.a.fs||me.a.fb)&&(p.fillColorAnim=!0),Me=0,H=me.s.b,I=0;I<D;I+=1)U=A[I],U.anIndexes[Ae]=Me,(H==1&&U.val!==""||H==2&&U.val!==""&&U.val!==" "||H==3&&(U.n||U.val==" "||I==D-1)||H==4&&(U.n||I==D-1))&&(me.s.rn===1&&Te.push(Me),Me+=1);b.a[Ae].s.totalChars=Me;var _t=-1,Gt;if(me.s.rn===1)for(I=0;I<D;I+=1)U=A[I],_t!=U.anIndexes[Ae]&&(_t=U.anIndexes[Ae],Gt=Te.splice(Math.floor(Math.random()*Te.length),1)[0]),U.anIndexes[Ae]=Gt}p.yOffset=p.finalLineHeight||p.finalSize*1.2,p.ls=p.ls||0,p.ascent=te.ascent*p.finalSize/100},zi.prototype.updateDocumentData=function(p,S){S=S===void 0?this.keysIndex:S;var b=this.copyData({},this.data.d.k[S].s);b=this.copyData(b,p),this.data.d.k[S].s=b,this.recalculate(S),this.setCurrentData(b),this.elem.addDynamicProperty(this)},zi.prototype.recalculate=function(p){var S=this.data.d.k[p].s;S.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(S)},zi.prototype.canResizeFont=function(p){this.canResize=p,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},zi.prototype.setMinimumFontSize=function(p){this.minimumFontSize=Math.floor(p)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var yf=function(){var p=Math.max,S=Math.min,b=Math.floor;function A(D,B){this._currentTextLength=-1,this.k=!1,this.data=B,this.elem=D,this.comp=D.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(D),this.s=vt.getProp(D,B.s||{k:0},0,0,this),"e"in B?this.e=vt.getProp(D,B.e,0,0,this):this.e={v:100},this.o=vt.getProp(D,B.o||{k:0},0,0,this),this.xe=vt.getProp(D,B.xe||{k:0},0,0,this),this.ne=vt.getProp(D,B.ne||{k:0},0,0,this),this.sm=vt.getProp(D,B.sm||{k:100},0,0,this),this.a=vt.getProp(D,B.a,0,.01,this),this.dynamicProperties.length||this.getValue()}A.prototype={getMult:function(B){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var J=0,$=0,ae=1,fe=1;this.ne.v>0?J=this.ne.v/100:$=-this.ne.v/100,this.xe.v>0?ae=1-this.xe.v/100:fe=1+this.xe.v/100;var ke=_r.getBezierEasing(J,$,ae,fe).get,q=0,he=this.finalS,ve=this.finalE,pe=this.data.sh;if(pe===2)ve===he?q=B>=ve?1:0:q=p(0,S(.5/(ve-he)+(B-he)/(ve-he),1)),q=ke(q);else if(pe===3)ve===he?q=B>=ve?0:1:q=1-p(0,S(.5/(ve-he)+(B-he)/(ve-he),1)),q=ke(q);else if(pe===4)ve===he?q=0:(q=p(0,S(.5/(ve-he)+(B-he)/(ve-he),1)),q<.5?q*=2:q=1-2*(q-.5)),q=ke(q);else if(pe===5){if(ve===he)q=0;else{var Ae=ve-he;B=S(p(0,B+.5-he),ve-he);var le=-Ae/2+B,te=Ae/2;q=Math.sqrt(1-le*le/(te*te))}q=ke(q)}else pe===6?(ve===he?q=0:(B=S(p(0,B+.5-he),ve-he),q=(1+Math.cos(Math.PI+Math.PI*2*B/(ve-he)))/2),q=ke(q)):(B>=b(he)&&(B-he<0?q=p(0,S(S(ve,1)-(he-B),1)):q=p(0,S(ve-B,1))),q=ke(q));if(this.sm.v!==100){var G=this.sm.v*.01;G===0&&(G=1e-8);var Q=.5-G*.5;q<Q?q=0:(q=(q-Q)/G,q>1&&(q=1))}return q*this.a.v},getValue:function(B){this.iterateDynamicProperties(),this._mdf=B||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,B&&this.data.r===2&&(this.e.v=this._currentTextLength);var J=this.data.r===2?1:100/this.data.totalChars,$=this.o.v/J,ae=this.s.v/J+$,fe=this.e.v/J+$;if(ae>fe){var ke=ae;ae=fe,fe=ke}this.finalS=ae,this.finalE=fe}},E([Nn],A);function I(D,B,J){return new A(D,B)}return{getTextSelectorProp:I}}();function Ep(p,S,b){var A={propType:!1},I=vt.getProp,D=S.a;this.a={r:D.r?I(p,D.r,0,de,b):A,rx:D.rx?I(p,D.rx,0,de,b):A,ry:D.ry?I(p,D.ry,0,de,b):A,sk:D.sk?I(p,D.sk,0,de,b):A,sa:D.sa?I(p,D.sa,0,de,b):A,s:D.s?I(p,D.s,1,.01,b):A,a:D.a?I(p,D.a,1,0,b):A,o:D.o?I(p,D.o,0,.01,b):A,p:D.p?I(p,D.p,1,0,b):A,sw:D.sw?I(p,D.sw,0,0,b):A,sc:D.sc?I(p,D.sc,1,0,b):A,fc:D.fc?I(p,D.fc,1,0,b):A,fh:D.fh?I(p,D.fh,0,0,b):A,fs:D.fs?I(p,D.fs,0,.01,b):A,fb:D.fb?I(p,D.fb,0,.01,b):A,t:D.t?I(p,D.t,0,0,b):A},this.s=yf.getTextSelectorProp(p,S.s,b),this.s.t=S.s.t}function po(p,S,b){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=p,this._renderType=S,this._elem=b,this._animatorsData=L(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(b)}po.prototype.searchProperties=function(){var p,S=this._textData.a.length,b,A=vt.getProp;for(p=0;p<S;p+=1)b=this._textData.a[p],this._animatorsData[p]=new Ep(this._elem,b,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:A(this._elem,this._textData.p.a,0,0,this),f:A(this._elem,this._textData.p.f,0,0,this),l:A(this._elem,this._textData.p.l,0,0,this),r:A(this._elem,this._textData.p.r,0,0,this),p:A(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=A(this._elem,this._textData.m.a,1,0,this)},po.prototype.getMeasures=function(p,S){if(this.lettersChangedFlag=S,!(!this._mdf&&!this._isFirstFrame&&!S&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var b=this._moreOptions.alignment.v,A=this._animatorsData,I=this._textData,D=this.mHelper,B=this._renderType,J=this.renderedLetters.length,$,ae,fe,ke,q=p.l,he,ve,pe,Ae,le,te,G,Q,oe,xe,Le,Ne,ut,nn,Ht;if(this._hasMaskedPath){if(Ht=this._pathData.m,!this._pathData.n||this._pathData._mdf){var pt=Ht.v;this._pathData.r.v&&(pt=pt.reverse()),he={tLength:0,segments:[]},ke=pt._length-1;var sn;for(Ne=0,fe=0;fe<ke;fe+=1)sn=Mr.buildBezierData(pt.v[fe],pt.v[fe+1],[pt.o[fe][0]-pt.v[fe][0],pt.o[fe][1]-pt.v[fe][1]],[pt.i[fe+1][0]-pt.v[fe+1][0],pt.i[fe+1][1]-pt.v[fe+1][1]]),he.tLength+=sn.segmentLength,he.segments.push(sn),Ne+=sn.segmentLength;fe=ke,Ht.v.c&&(sn=Mr.buildBezierData(pt.v[fe],pt.v[0],[pt.o[fe][0]-pt.v[fe][0],pt.o[fe][1]-pt.v[fe][1]],[pt.i[0][0]-pt.v[0][0],pt.i[0][1]-pt.v[0][1]]),he.tLength+=sn.segmentLength,he.segments.push(sn),Ne+=sn.segmentLength),this._pathData.pi=he}if(he=this._pathData.pi,ve=this._pathData.f.v,G=0,te=1,Ae=0,le=!0,xe=he.segments,ve<0&&Ht.v.c)for(he.tLength<Math.abs(ve)&&(ve=-Math.abs(ve)%he.tLength),G=xe.length-1,oe=xe[G].points,te=oe.length-1;ve<0;)ve+=oe[te].partialLength,te-=1,te<0&&(G-=1,oe=xe[G].points,te=oe.length-1);oe=xe[G].points,Q=oe[te-1],pe=oe[te],Le=pe.partialLength}ke=q.length,$=0,ae=0;var At=p.finalSize*1.2*.714,ct=!0,ee,me,U,H,Me;H=A.length;var Te,_t=-1,Gt,Zt,An,In=ve,mr=G,zr=te,Ss=-1,hi,pi,ss,Hn,St,Xs,Qs,Js,mi="",Bs=this.defaultPropsArray,ji;if(p.j===2||p.j===1){var Ri=0,Es=0,Ha=p.j===2?-.5:-1,as=0,Ea=!0;for(fe=0;fe<ke;fe+=1)if(q[fe].n){for(Ri&&(Ri+=Es);as<fe;)q[as].animatorJustifyOffset=Ri,as+=1;Ri=0,Ea=!0}else{for(U=0;U<H;U+=1)ee=A[U].a,ee.t.propType&&(Ea&&p.j===2&&(Es+=ee.t.v*Ha),me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),Te.length?Ri+=ee.t.v*Te[0]*Ha:Ri+=ee.t.v*Te*Ha);Ea=!1}for(Ri&&(Ri+=Es);as<fe;)q[as].animatorJustifyOffset=Ri,as+=1}for(fe=0;fe<ke;fe+=1){if(D.reset(),hi=1,q[fe].n)$=0,ae+=p.yOffset,ae+=ct?1:0,ve=In,ct=!1,this._hasMaskedPath&&(G=mr,te=zr,oe=xe[G].points,Q=oe[te-1],pe=oe[te],Le=pe.partialLength,Ae=0),mi="",Js="",Xs="",ji="",Bs=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ss!==q[fe].line){switch(p.j){case 1:ve+=Ne-p.lineWidths[q[fe].line];break;case 2:ve+=(Ne-p.lineWidths[q[fe].line])/2;break}Ss=q[fe].line}_t!==q[fe].ind&&(q[_t]&&(ve+=q[_t].extra),ve+=q[fe].an/2,_t=q[fe].ind),ve+=b[0]*q[fe].an*.005;var xs=0;for(U=0;U<H;U+=1)ee=A[U].a,ee.p.propType&&(me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),Te.length?xs+=ee.p.v[0]*Te[0]:xs+=ee.p.v[0]*Te),ee.a.propType&&(me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),Te.length?xs+=ee.a.v[0]*Te[0]:xs+=ee.a.v[0]*Te);for(le=!0,this._pathData.a.v&&(ve=q[0].an*.5+(Ne-this._pathData.f.v-q[0].an*.5-q[q.length-1].an*.5)*_t/(ke-1),ve+=this._pathData.f.v);le;)Ae+Le>=ve+xs||!oe?(ut=(ve+xs-Ae)/pe.partialLength,Zt=Q.point[0]+(pe.point[0]-Q.point[0])*ut,An=Q.point[1]+(pe.point[1]-Q.point[1])*ut,D.translate(-b[0]*q[fe].an*.005,-(b[1]*At)*.01),le=!1):oe&&(Ae+=pe.partialLength,te+=1,te>=oe.length&&(te=0,G+=1,xe[G]?oe=xe[G].points:Ht.v.c?(te=0,G=0,oe=xe[G].points):(Ae-=pe.partialLength,oe=null)),oe&&(Q=pe,pe=oe[te],Le=pe.partialLength));Gt=q[fe].an/2-q[fe].add,D.translate(-Gt,0,0)}else Gt=q[fe].an/2-q[fe].add,D.translate(-Gt,0,0),D.translate(-b[0]*q[fe].an*.005,-b[1]*At*.01,0);for(U=0;U<H;U+=1)ee=A[U].a,ee.t.propType&&(me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),($!==0||p.j!==0)&&(this._hasMaskedPath?Te.length?ve+=ee.t.v*Te[0]:ve+=ee.t.v*Te:Te.length?$+=ee.t.v*Te[0]:$+=ee.t.v*Te));for(p.strokeWidthAnim&&(ss=p.sw||0),p.strokeColorAnim&&(p.sc?pi=[p.sc[0],p.sc[1],p.sc[2]]:pi=[0,0,0]),p.fillColorAnim&&p.fc&&(Hn=[p.fc[0],p.fc[1],p.fc[2]]),U=0;U<H;U+=1)ee=A[U].a,ee.a.propType&&(me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),Te.length?D.translate(-ee.a.v[0]*Te[0],-ee.a.v[1]*Te[1],ee.a.v[2]*Te[2]):D.translate(-ee.a.v[0]*Te,-ee.a.v[1]*Te,ee.a.v[2]*Te));for(U=0;U<H;U+=1)ee=A[U].a,ee.s.propType&&(me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),Te.length?D.scale(1+(ee.s.v[0]-1)*Te[0],1+(ee.s.v[1]-1)*Te[1],1):D.scale(1+(ee.s.v[0]-1)*Te,1+(ee.s.v[1]-1)*Te,1));for(U=0;U<H;U+=1){if(ee=A[U].a,me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),ee.sk.propType&&(Te.length?D.skewFromAxis(-ee.sk.v*Te[0],ee.sa.v*Te[1]):D.skewFromAxis(-ee.sk.v*Te,ee.sa.v*Te)),ee.r.propType&&(Te.length?D.rotateZ(-ee.r.v*Te[2]):D.rotateZ(-ee.r.v*Te)),ee.ry.propType&&(Te.length?D.rotateY(ee.ry.v*Te[1]):D.rotateY(ee.ry.v*Te)),ee.rx.propType&&(Te.length?D.rotateX(ee.rx.v*Te[0]):D.rotateX(ee.rx.v*Te)),ee.o.propType&&(Te.length?hi+=(ee.o.v*Te[0]-hi)*Te[0]:hi+=(ee.o.v*Te-hi)*Te),p.strokeWidthAnim&&ee.sw.propType&&(Te.length?ss+=ee.sw.v*Te[0]:ss+=ee.sw.v*Te),p.strokeColorAnim&&ee.sc.propType)for(St=0;St<3;St+=1)Te.length?pi[St]+=(ee.sc.v[St]-pi[St])*Te[0]:pi[St]+=(ee.sc.v[St]-pi[St])*Te;if(p.fillColorAnim&&p.fc){if(ee.fc.propType)for(St=0;St<3;St+=1)Te.length?Hn[St]+=(ee.fc.v[St]-Hn[St])*Te[0]:Hn[St]+=(ee.fc.v[St]-Hn[St])*Te;ee.fh.propType&&(Te.length?Hn=Xe(Hn,ee.fh.v*Te[0]):Hn=Xe(Hn,ee.fh.v*Te)),ee.fs.propType&&(Te.length?Hn=Be(Hn,ee.fs.v*Te[0]):Hn=Be(Hn,ee.fs.v*Te)),ee.fb.propType&&(Te.length?Hn=Je(Hn,ee.fb.v*Te[0]):Hn=Je(Hn,ee.fb.v*Te))}}for(U=0;U<H;U+=1)ee=A[U].a,ee.p.propType&&(me=A[U].s,Te=me.getMult(q[fe].anIndexes[U],I.a[U].s.totalChars),this._hasMaskedPath?Te.length?D.translate(0,ee.p.v[1]*Te[0],-ee.p.v[2]*Te[1]):D.translate(0,ee.p.v[1]*Te,-ee.p.v[2]*Te):Te.length?D.translate(ee.p.v[0]*Te[0],ee.p.v[1]*Te[1],-ee.p.v[2]*Te[2]):D.translate(ee.p.v[0]*Te,ee.p.v[1]*Te,-ee.p.v[2]*Te));if(p.strokeWidthAnim&&(Xs=ss<0?0:ss),p.strokeColorAnim&&(Qs="rgb("+Math.round(pi[0]*255)+","+Math.round(pi[1]*255)+","+Math.round(pi[2]*255)+")"),p.fillColorAnim&&p.fc&&(Js="rgb("+Math.round(Hn[0]*255)+","+Math.round(Hn[1]*255)+","+Math.round(Hn[2]*255)+")"),this._hasMaskedPath){if(D.translate(0,-p.ls),D.translate(0,b[1]*At*.01+ae,0),this._pathData.p.v){nn=(pe.point[1]-Q.point[1])/(pe.point[0]-Q.point[0]);var mo=Math.atan(nn)*180/Math.PI;pe.point[0]<Q.point[0]&&(mo+=180),D.rotate(-mo*Math.PI/180)}D.translate(Zt,An,0),ve-=b[0]*q[fe].an*.005,q[fe+1]&&_t!==q[fe+1].ind&&(ve+=q[fe].an/2,ve+=p.tr*.001*p.finalSize)}else{switch(D.translate($,ae,0),p.ps&&D.translate(p.ps[0],p.ps[1]+p.ascent,0),p.j){case 1:D.translate(q[fe].animatorJustifyOffset+p.justifyOffset+(p.boxWidth-p.lineWidths[q[fe].line]),0,0);break;case 2:D.translate(q[fe].animatorJustifyOffset+p.justifyOffset+(p.boxWidth-p.lineWidths[q[fe].line])/2,0,0);break}D.translate(0,-p.ls),D.translate(Gt,0,0),D.translate(b[0]*q[fe].an*.005,b[1]*At*.01,0),$+=q[fe].l+p.tr*.001*p.finalSize}B==="html"?mi=D.toCSS():B==="svg"?mi=D.to2dCSS():Bs=[D.props[0],D.props[1],D.props[2],D.props[3],D.props[4],D.props[5],D.props[6],D.props[7],D.props[8],D.props[9],D.props[10],D.props[11],D.props[12],D.props[13],D.props[14],D.props[15]],ji=hi}J<=fe?(Me=new Au(ji,Xs,Qs,Js,mi,Bs),this.renderedLetters.push(Me),J+=1,this.lettersChangedFlag=!0):(Me=this.renderedLetters[fe],this.lettersChangedFlag=Me.update(ji,Xs,Qs,Js,mi,Bs)||this.lettersChangedFlag)}}},po.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},po.prototype.mHelper=new yt,po.prototype.defaultPropsArray=[],E([Nn],po);function Us(){}Us.prototype.initElement=function(p,S,b){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(p,S,b),this.textProperty=new zi(this,p.t,this.dynamicProperties),this.textAnimator=new po(p.t,this.renderType,this),this.initTransform(p,S,b),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Us.prototype.prepareFrame=function(p){this._mdf=!1,this.prepareRenderableFrame(p),this.prepareProperties(p,this.isInRange)},Us.prototype.createPathShape=function(p,S){var b,A=S.length,I,D="";for(b=0;b<A;b+=1)S[b].ty==="sh"&&(I=S[b].ks.k,D+=Xo(I,I.i.length,!0,p));return D},Us.prototype.updateDocumentData=function(p,S){this.textProperty.updateDocumentData(p,S)},Us.prototype.canResizeFont=function(p){this.textProperty.canResizeFont(p)},Us.prototype.setMinimumFontSize=function(p){this.textProperty.setMinimumFontSize(p)},Us.prototype.applyTextPropertiesToMatrix=function(p,S,b,A,I){switch(p.ps&&S.translate(p.ps[0],p.ps[1]+p.ascent,0),S.translate(0,-p.ls,0),p.j){case 1:S.translate(p.justifyOffset+(p.boxWidth-p.lineWidths[b]),0,0);break;case 2:S.translate(p.justifyOffset+(p.boxWidth-p.lineWidths[b])/2,0,0);break}S.translate(A,I,0)},Us.prototype.buildColor=function(p){return"rgb("+Math.round(p[0]*255)+","+Math.round(p[1]*255)+","+Math.round(p[2]*255)+")"},Us.prototype.emptyProp=new Au,Us.prototype.destroy=function(){},Us.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Gd={shapes:[]};function ja(p,S,b){this.textSpans=[],this.renderType="svg",this.initElement(p,S,b)}E([Ps,is,di,Os,Ms,Ko,Us],ja),ja.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=wt("text"))},ja.prototype.buildTextContents=function(p){for(var S=0,b=p.length,A=[],I="";S<b;)p[S]==="\r"||p[S]===""?(A.push(I),I=""):I+=p[S],S+=1;return A.push(I),A},ja.prototype.buildShapeData=function(p,S){if(p.shapes&&p.shapes.length){var b=p.shapes[0];if(b.it){var A=b.it[b.it.length-1];A.s&&(A.s.k[0]=S,A.s.k[1]=S)}}return p},ja.prototype.buildNewText=function(){this.addDynamicProperty(this);var p,S,b=this.textProperty.currentData;this.renderedLetters=L(b?b.l.length:0),b.fc?this.layerElement.setAttribute("fill",this.buildColor(b.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),b.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(b.sc)),this.layerElement.setAttribute("stroke-width",b.sw)),this.layerElement.setAttribute("font-size",b.finalSize);var A=this.globalData.fontManager.getFontByName(b.f);if(A.fClass)this.layerElement.setAttribute("class",A.fClass);else{this.layerElement.setAttribute("font-family",A.fFamily);var I=b.fWeight,D=b.fStyle;this.layerElement.setAttribute("font-style",D),this.layerElement.setAttribute("font-weight",I)}this.layerElement.setAttribute("aria-label",b.t);var B=b.l||[],J=!!this.globalData.fontManager.chars;S=B.length;var $,ae=this.mHelper,fe="",ke=this.data.singleShape,q=0,he=0,ve=!0,pe=b.tr*.001*b.finalSize;if(ke&&!J&&!b.sz){var Ae=this.textContainer,le="start";switch(b.j){case 1:le="end";break;case 2:le="middle";break;default:le="start";break}Ae.setAttribute("text-anchor",le),Ae.setAttribute("letter-spacing",pe);var te=this.buildTextContents(b.finalText);for(S=te.length,he=b.ps?b.ps[1]+b.ascent:0,p=0;p<S;p+=1)$=this.textSpans[p].span||wt("tspan"),$.textContent=te[p],$.setAttribute("x",0),$.setAttribute("y",he),$.style.display="inherit",Ae.appendChild($),this.textSpans[p]||(this.textSpans[p]={span:null,glyph:null}),this.textSpans[p].span=$,he+=b.finalLineHeight;this.layerElement.appendChild(Ae)}else{var G=this.textSpans.length,Q;for(p=0;p<S;p+=1){if(this.textSpans[p]||(this.textSpans[p]={span:null,childSpan:null,glyph:null}),!J||!ke||p===0){if($=G>p?this.textSpans[p].span:wt(J?"g":"text"),G<=p){if($.setAttribute("stroke-linecap","butt"),$.setAttribute("stroke-linejoin","round"),$.setAttribute("stroke-miterlimit","4"),this.textSpans[p].span=$,J){var oe=wt("g");$.appendChild(oe),this.textSpans[p].childSpan=oe}this.textSpans[p].span=$,this.layerElement.appendChild($)}$.style.display="inherit"}if(ae.reset(),ke&&(B[p].n&&(q=-pe,he+=b.yOffset,he+=ve?1:0,ve=!1),this.applyTextPropertiesToMatrix(b,ae,B[p].line,q,he),q+=B[p].l||0,q+=pe),J){Q=this.globalData.fontManager.getCharData(b.finalText[p],A.fStyle,this.globalData.fontManager.getFontByName(b.f).fFamily);var xe;if(Q.t===1)xe=new Ml(Q.data,this.globalData,this);else{var Le=Gd;Q.data&&Q.data.shapes&&(Le=this.buildShapeData(Q.data,b.finalSize)),xe=new $r(Le,this.globalData,this)}if(this.textSpans[p].glyph){var Ne=this.textSpans[p].glyph;this.textSpans[p].childSpan.removeChild(Ne.layerElement),Ne.destroy()}this.textSpans[p].glyph=xe,xe._debug=!0,xe.prepareFrame(0),xe.renderFrame(),this.textSpans[p].childSpan.appendChild(xe.layerElement),Q.t===1&&this.textSpans[p].childSpan.setAttribute("transform","scale("+b.finalSize/100+","+b.finalSize/100+")")}else ke&&$.setAttribute("transform","translate("+ae.props[12]+","+ae.props[13]+")"),$.textContent=B[p].val,$.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}ke&&$&&$.setAttribute("d",fe)}for(;p<this.textSpans.length;)this.textSpans[p].span.style.display="none",p+=1;this._sizeChanged=!0},ja.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var p=this.layerElement.getBBox();this.bbox={top:p.y,left:p.x,width:p.width,height:p.height}}return this.bbox},ja.prototype.getValue=function(){var p,S=this.textSpans.length,b;for(this.renderedFrame=this.comp.renderedFrame,p=0;p<S;p+=1)b=this.textSpans[p].glyph,b&&(b.prepareFrame(this.comp.renderedFrame-this.data.st),b._mdf&&(this._mdf=!0))},ja.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var p,S,b=this.textAnimator.renderedLetters,A=this.textProperty.currentData.l;S=A.length;var I,D,B;for(p=0;p<S;p+=1)A[p].n||(I=b[p],D=this.textSpans[p].span,B=this.textSpans[p].glyph,B&&B.renderFrame(),I._mdf.m&&D.setAttribute("transform",I.m),I._mdf.o&&D.setAttribute("opacity",I.o),I._mdf.sw&&D.setAttribute("stroke-width",I.sw),I._mdf.sc&&D.setAttribute("stroke",I.sc),I._mdf.fc&&D.setAttribute("fill",I.fc))}};function bc(p,S,b){this.initElement(p,S,b)}E([Fs],bc),bc.prototype.createContent=function(){var p=wt("rect");p.setAttribute("width",this.data.sw),p.setAttribute("height",this.data.sh),p.setAttribute("fill",this.data.sc),this.layerElement.appendChild(p)};function ys(p,S,b){this.initFrame(),this.initBaseData(p,S,b),this.initFrame(),this.initTransform(p,S,b),this.initHierarchy()}ys.prototype.prepareFrame=function(p){this.prepareProperties(p,!0)},ys.prototype.renderFrame=function(){},ys.prototype.getBaseElement=function(){return null},ys.prototype.destroy=function(){},ys.prototype.sourceRectAtTime=function(){},ys.prototype.hide=function(){},E([Ps,is,Os,Ms],ys);function Vr(){}E([Lr],Vr),Vr.prototype.createNull=function(p){return new ys(p,this.globalData,this)},Vr.prototype.createShape=function(p){return new $r(p,this.globalData,this)},Vr.prototype.createText=function(p){return new ja(p,this.globalData,this)},Vr.prototype.createImage=function(p){return new Fs(p,this.globalData,this)},Vr.prototype.createSolid=function(p){return new bc(p,this.globalData,this)},Vr.prototype.configAnimation=function(p){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 "+p.w+" "+p.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",p.w),this.svgElement.setAttribute("height",p.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 S=this.globalData.defs;this.setupGlobalData(p,S),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=p;var b=wt("clipPath"),A=wt("rect");A.setAttribute("width",p.w),A.setAttribute("height",p.h),A.setAttribute("x",0),A.setAttribute("y",0);var I=_e();b.setAttribute("id",I),b.appendChild(A),this.layerElement.setAttribute("clip-path","url("+m()+"#"+I+")"),S.appendChild(b),this.layers=p.layers,this.elements=L(p.layers.length)},Vr.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var p,S=this.layers?this.layers.length:0;for(p=0;p<S;p+=1)this.elements[p]&&this.elements[p].destroy&&this.elements[p].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Vr.prototype.updateContainerSize=function(){},Vr.prototype.findIndexByInd=function(p){var S=0,b=this.layers.length;for(S=0;S<b;S+=1)if(this.layers[S].ind===p)return S;return-1},Vr.prototype.buildItem=function(p){var S=this.elements;if(!(S[p]||this.layers[p].ty===99)){S[p]=!0;var b=this.createItem(this.layers[p]);if(S[p]=b,Dt()&&(this.layers[p].ty===0&&this.globalData.projectInterface.registerComposition(b),b.initExpressions()),this.appendElementInPos(b,p),this.layers[p].tt){var A="tp"in this.layers[p]?this.findIndexByInd(this.layers[p].tp):p-1;if(A===-1)return;if(!this.elements[A]||this.elements[A]===!0)this.buildItem(A),this.addPendingElement(b);else{var I=S[A],D=I.getMatte(this.layers[p].tt);b.setMatte(D)}}}},Vr.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var p=this.pendingElements.pop();if(p.checkParenting(),p.data.tt)for(var S=0,b=this.elements.length;S<b;){if(this.elements[S]===p){var A="tp"in p.data?this.findIndexByInd(p.data.tp):S-1,I=this.elements[A],D=I.getMatte(this.layers[S].tt);p.setMatte(D);break}S+=1}}},Vr.prototype.renderFrame=function(p){if(!(this.renderedFrame===p||this.destroyed)){p===null?p=this.renderedFrame:this.renderedFrame=p,this.globalData.frameNum=p,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=p,this.globalData._mdf=!1;var S,b=this.layers.length;for(this.completeLayers||this.checkLayers(p),S=b-1;S>=0;S-=1)(this.completeLayers||this.elements[S])&&this.elements[S].prepareFrame(p-this.layers[S].st);if(this.globalData._mdf)for(S=0;S<b;S+=1)(this.completeLayers||this.elements[S])&&this.elements[S].renderFrame()}},Vr.prototype.appendElementInPos=function(p,S){var b=p.getBaseElement();if(b){for(var A=0,I;A<S;)this.elements[A]&&this.elements[A]!==!0&&this.elements[A].getBaseElement()&&(I=this.elements[A].getBaseElement()),A+=1;I?this.layerElement.insertBefore(b,I):this.layerElement.appendChild(b)}},Vr.prototype.hide=function(){this.layerElement.style.display="none"},Vr.prototype.show=function(){this.layerElement.style.display="block"};function Sa(){}E([Ps,is,Os,Ms,Ko],Sa),Sa.prototype.initElement=function(p,S,b){this.initFrame(),this.initBaseData(p,S,b),this.initTransform(p,S,b),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!S.progressiveLoad)&&this.buildAllItems(),this.hide()},Sa.prototype.prepareFrame=function(p){if(this._mdf=!1,this.prepareRenderableFrame(p),this.prepareProperties(p,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=p/this.data.sr;else{var S=this.tm.v;S===this.data.op&&(S=this.data.op-1),this.renderedFrame=S}var b,A=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),b=A-1;b>=0;b-=1)(this.completeLayers||this.elements[b])&&(this.elements[b].prepareFrame(this.renderedFrame-this.layers[b].st),this.elements[b]._mdf&&(this._mdf=!0))}},Sa.prototype.renderInnerContent=function(){var p,S=this.layers.length;for(p=0;p<S;p+=1)(this.completeLayers||this.elements[p])&&this.elements[p].renderFrame()},Sa.prototype.setElements=function(p){this.elements=p},Sa.prototype.getElements=function(){return this.elements},Sa.prototype.destroyElements=function(){var p,S=this.layers.length;for(p=0;p<S;p+=1)this.elements[p]&&this.elements[p].destroy()},Sa.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Ml(p,S,b){this.layers=p.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?L(this.layers.length):[],this.initElement(p,S,b),this.tm=p.tm?vt.getProp(this,p.tm,0,S.frameRate,this):{_placeholder:!0}}E([Vr,Sa,di],Ml),Ml.prototype.createComp=function(p){return new Ml(p,this.globalData,this)};function Sf(p,S){this.animationItem=p,this.layers=null,this.renderedFrame=-1,this.svgElement=wt("svg");var b="";if(S&&S.title){var A=wt("title"),I=_e();A.setAttribute("id",I),A.textContent=S.title,this.svgElement.appendChild(A),b+=I}if(S&&S.description){var D=wt("desc"),B=_e();D.setAttribute("id",B),D.textContent=S.description,this.svgElement.appendChild(D),b+=" "+B}b&&this.svgElement.setAttribute("aria-labelledby",b);var J=wt("defs");this.svgElement.appendChild(J);var $=wt("g");this.svgElement.appendChild($),this.layerElement=$,this.renderConfig={preserveAspectRatio:S&&S.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:S&&S.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:S&&S.contentVisibility||"visible",progressiveLoad:S&&S.progressiveLoad||!1,hideOnTransparent:!(S&&S.hideOnTransparent===!1),viewBoxOnly:S&&S.viewBoxOnly||!1,viewBoxSize:S&&S.viewBoxSize||!1,className:S&&S.className||"",id:S&&S.id||"",focusable:S&&S.focusable,filterSize:{width:S&&S.filterSize&&S.filterSize.width||"100%",height:S&&S.filterSize&&S.filterSize.height||"100%",x:S&&S.filterSize&&S.filterSize.x||"0%",y:S&&S.filterSize&&S.filterSize.y||"0%"},width:S&&S.width,height:S&&S.height,runExpressions:!S||S.runExpressions===void 0||S.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:J,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return E([Vr],Sf),Sf.prototype.createComp=function(p){return new Ml(p,this.globalData,this)},xi("svg",Sf),Ji.registerModifier("tm",ci),Ji.registerModifier("pb",Zi),Ji.registerModifier("rp",Mi),Ji.registerModifier("rd",Ua),Ji.registerModifier("zz",Oi),Ji.registerModifier("op",Kt),Nt})})(K1,K1.exports);var Y6=K1.exports;const X6=Cy(Y6);function Q6({loop:r=!1,path:e,animationData:t,className:n,onComplete:s}){const o=Tt.useRef(null);return Tt.useEffect(()=>{if(!o.current)return;const u=X6.loadAnimation({container:o.current,renderer:"svg",autoplay:!0,loop:r,path:e,animationData:t});return s&&u.addEventListener("complete",s),()=>{s&&u.removeEventListener("complete",s),u.destroy()}},[r,e,t]),Yt.jsx("div",{ref:o,className:n})}const J6={v:"5.5.7",fr:30,ip:0,op:31,w:360,h:360,nm:"forward right",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Layer 2",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:0,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10,s:[100]},{t:20,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[161.086,180,0],ix:2},a:{a:0,k:[-18.914,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,.923],[0,0],[-.777,-.499],[0,0],[.714,-.459],[0,0]],o:[[0,0],[0,-.923],[0,0],[.714,.459],[0,0],[-.777,.499]],v:[[-26.586,8.363],[-26.586,-8.363],[-24.788,-9.344],[-11.779,-.981],[-11.779,.981],[-24.788,9.344]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Layer 1",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:5,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:15,s:[100]},{t:25,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[179.914,180,0],ix:2},a:{a:0,k:[-.086,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,.923],[0,0],[-.777,-.499],[0,0],[.714,-.459],[0,0]],o:[[0,0],[0,-.923],[0,0],[.714,.459],[0,0],[-.777,.499]],v:[[-7.757,8.363],[-7.757,-8.363],[-5.959,-9.344],[7.05,-.981],[7.05,.981],[-5.959,9.344]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Layer 3",sr:1,ks:{o:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:10,s:[0]},{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:20,s:[100]},{t:30,s:[0]}],ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[198.914,180,0],ix:2},a:{a:0,k:[18.914,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,.923],[0,0],[-.777,-.499],[0,0],[.714,-.459],[0,0]],o:[[0,0],[0,-.923],[0,0],[.714,.459],[0,0],[-.777,.499]],v:[[11.243,8.363],[11.243,-8.363],[13.041,-9.344],[26.05,-.981],[26.05,.981],[13.041,9.344]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[1,1,1,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:300,st:0,bm:0}],markers:[]},hv={root:"_root_1v1it_1",chapter_img:"_chapter_img_1v1it_20",name:"_name_1v1it_26",time:"_time_1v1it_37"};function Z6({width:r,height:e,src:t,alt:n,draggable:s=!1,className:o}){return Yt.jsxs("picture",{children:[Yt.jsx("source",{type:"image/webp",srcSet:`${P_({f:"webp",h:e?e*2:void 0,w:r?r*2:void 0},t)}`,height:e}),Yt.jsx("img",{src:`${P_({h:e?e*2:void 0,w:r?r*2:void 0},t)}`,alt:n,draggable:s,width:r,height:e,className:o})]})}function e2({name:r,time:e,imageUrl:t,className:n,onClick:s}){return Yt.jsxs("div",{className:`${hv.root} ${n||""}`,onClick:s,children:[Yt.jsx(Z6,{className:hv.chapter_img,src:t,width:90,height:130,alt:"챕터 이미지"}),Yt.jsx("div",{className:hv.name,children:r}),Yt.jsx("div",{className:hv.time,children:e})]})}const t2=Tt.forwardRef(({src:r,ratio:e=!1,shadow:t=!0,controls:n=!0,posterSrc:s,initialTime:o,timeOffsetStart:u,timeOffsetEnd:c,quality:h,chapter:m,debug:y,loop:E,live:T,renderControls:R,onClick:_,onInit:L,onDestroy:M,onSync:F,className:Z},K)=>{const[Y,X]=GC(!1),[ue,ie]=GC(!1),[ye,de]=bU("",650),{ref:Re,live:Ce,time:Ve,play:ze,playbackRate:Qe,handleSeektime:et,handleBackward:Pe,handleForward:ne,handlePlayToggle:_e,handlePlaybackRate:Ue}=G6({src:r,timeUpdateEvent:Y,initialTime:o,timeOffsetStart:u,timeOffsetEnd:c,quality:h,debug:y,onSync:F,onInit:L,onDestroy:M}),He=xU({onClick:X,onDoubleClick:gt=>{if(T||Ce)return;const Ot=gt.target.getBoundingClientRect(),Dt=Ot.left+Ot.width/2;gt.clientX<Dt?(Pe(),de("left")):(ne(),de("right"))}}),Be=(gt,Ot)=>{if(gt.stopPropagation(),!Re.current)return;const Dt=Ot*((c??Re.current.duration)-(u??0))/100;et(Dt)},Je=()=>{ie()},Xe=gt=>Ot=>{Ot.stopPropagation(),gt()};Tt.useEffect(()=>{_==null||_(Y)},[Y,_]);const Et=!(T||Ce);return Yt.jsxs("div",{ref:K,className:`${ri.root} ${Z||""}`,children:[Yt.jsx("video",{className:`${ri.video} ${e?ri.origin_ratio:""}`,ref:Re,muted:!0,playsInline:!0,loop:E}),s&&Yt.jsx("div",{className:`${ri.poster} ${e?ri.origin_ratio:""}`,style:{backgroundImage:`url("${s}?h=1600&f=webp")`}}),Yt.jsxs("div",{className:`${ri.layer} ${t?ri.shadow:""}`,onClick:He,children:[ye&&Yt.jsx("div",{className:`${ri.indicator} ${ri[`indicator_${ye}`]}`,children:Yt.jsx(Q6,{animationData:J6,loop:!0})}),n&&Y&&Yt.jsxs(Yt.Fragment,{children:[Et&&Yt.jsx(D_,{handle:!0,className:ri.progress,progress:Ve.progress,onChangeProgress:Be}),Et&&Yt.jsx(q6,{className:ri.time,currentTime:Ve.currentTime,durationTime:Ve.durationTime}),Et&&Yt.jsxs("button",{className:`${ri.button} ${ri.playbackrate}`,onClick:Xe(Ue),"aria-label":"비디오 배속",children:[Qe,"x"]}),Yt.jsx("button",{className:`${ri.button} ${ri.play_toggle}`,onClick:Xe(_e),"aria-label":"비디오 재생",children:Yt.jsx(WS,{name:ze?"pause":"play"})}),Et&&Yt.jsx("button",{className:`${ri.button} ${ri.backward}`,onClick:Xe(Pe),"aria-label":"비디오 10초 뒤로",children:Yt.jsx(WS,{name:"backward"})}),Et&&Yt.jsx("button",{className:`${ri.button} ${ri.forward}`,onClick:Xe(ne),"aria-label":"비디오 10초 앞으로",children:Yt.jsx(WS,{name:"forward"})}),!!m&&Et&&Yt.jsx("button",{className:`${ri.button} ${ri.chapter_toggle}`,"aria-label":"비디오 챕터",onClick:Xe(Je),children:hs.t("chapter")}),!!m&&ue&&Yt.jsx("div",{className:ri.chapter_wrap,children:m==null?void 0:m.map(gt=>Yt.jsx(e2,{...gt,onClick:Xe(()=>et(K6(gt.time)))},gt.id))})]}),Y&&(R==null?void 0:R({time:Ve,play:ze,handlePlayToggle:_e,handleChangeProgress:Be}))]})]})});function M_(r){return r!==null&&typeof r=="object"&&"constructor"in r&&r.constructor===Object}function q1(r,e){r===void 0&&(r={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof r[t]>"u"?r[t]=e[t]:M_(e[t])&&M_(r[t])&&Object.keys(e[t]).length>0&&q1(r[t],e[t])})}const O_={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function cf(){const r=typeof document<"u"?document:{};return q1(r,O_),r}const n2={document:O_,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(r){return typeof setTimeout>"u"?(r(),null):setTimeout(r,0)},cancelAnimationFrame(r){typeof setTimeout>"u"||clearTimeout(r)}};function Fa(){const r=typeof window<"u"?window:{};return q1(r,n2),r}function r2(r){const e=r;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function Y1(r,e){return e===void 0&&(e=0),setTimeout(r,e)}function pv(){return Date.now()}function i2(r){const e=Fa();let t;return e.getComputedStyle&&(t=e.getComputedStyle(r,null)),!t&&r.currentStyle&&(t=r.currentStyle),t||(t=r.style),t}function s2(r,e){e===void 0&&(e="x");const t=Fa();let n,s,o;const u=i2(r);return t.WebKitCSSMatrix?(s=u.transform||u.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(c=>c.replace(",",".")).join(", ")),o=new t.WebKitCSSMatrix(s==="none"?"":s)):(o=u.MozTransform||u.OTransform||u.MsTransform||u.msTransform||u.transform||u.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=o.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?s=o.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),e==="y"&&(t.WebKitCSSMatrix?s=o.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function mv(r){return typeof r=="object"&&r!==null&&r.constructor&&Object.prototype.toString.call(r).slice(8,-1)==="Object"}function a2(r){return typeof window<"u"&&typeof window.HTMLElement<"u"?r instanceof HTMLElement:r&&(r.nodeType===1||r.nodeType===11)}function Na(){const r=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;t<arguments.length;t+=1){const n=t<0||arguments.length<=t?void 0:arguments[t];if(n!=null&&!a2(n)){const s=Object.keys(Object(n)).filter(o=>e.indexOf(o)<0);for(let o=0,u=s.length;o<u;o+=1){const c=s[o],h=Object.getOwnPropertyDescriptor(n,c);h!==void 0&&h.enumerable&&(mv(r[c])&&mv(n[c])?n[c].__swiper__?r[c]=n[c]:Na(r[c],n[c]):!mv(r[c])&&mv(n[c])?(r[c]={},n[c].__swiper__?r[c]=n[c]:Na(r[c],n[c])):r[c]=n[c])}}}return r}function gv(r,e,t){r.style.setProperty(e,t)}function F_(r){let{swiper:e,targetPosition:t,side:n}=r;const s=Fa(),o=-e.translate;let u=null,c;const h=e.params.speed;e.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(e.cssModeFrameID);const m=t>o?"next":"prev",y=(T,R)=>m==="next"&&T>=R||m==="prev"&&T<=R,E=()=>{c=new Date().getTime(),u===null&&(u=c);const T=Math.max(Math.min((c-u)/h,1),0),R=.5-Math.cos(T*Math.PI)/2;let _=o+R*(t-o);if(y(_,t)&&(_=t),e.wrapperEl.scrollTo({[n]:_}),y(_,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:_})}),s.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=s.requestAnimationFrame(E)};E()}function Eu(r,e){return e===void 0&&(e=""),[...r.children].filter(t=>t.matches(e))}function o2(r,e){e===void 0&&(e=[]);const t=document.createElement(r);return t.classList.add(...Array.isArray(e)?e:[e]),t}function l2(r,e){const t=[];for(;r.previousElementSibling;){const n=r.previousElementSibling;e?n.matches(e)&&t.push(n):t.push(n),r=n}return t}function u2(r,e){const t=[];for(;r.nextElementSibling;){const n=r.nextElementSibling;e?n.matches(e)&&t.push(n):t.push(n),r=n}return t}function Sc(r,e){return Fa().getComputedStyle(r,null).getPropertyValue(e)}function N_(r){let e=r,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function c2(r,e){const t=[];let n=r.parentElement;for(;n;)t.push(n),n=n.parentElement;return t}function U_(r,e,t){const n=Fa();return r[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(r,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(r,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}let X1;function f2(){const r=Fa(),e=cf();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in r||r.DocumentTouch&&e instanceof r.DocumentTouch)}}function B_(){return X1||(X1=f2()),X1}let Q1;function d2(r){let{userAgent:e}=r===void 0?{}:r;const t=B_(),n=Fa(),s=n.navigator.platform,o=e||n.navigator.userAgent,u={ios:!1,android:!1},c=n.screen.width,h=n.screen.height,m=o.match(/(Android);?[\s\/]+([\d.]+)?/);let y=o.match(/(iPad).*OS\s([\d_]+)/);const E=o.match(/(iPod)(.*OS\s([\d_]+))?/),T=!y&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),R=s==="Win32";let _=s==="MacIntel";const L=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!y&&_&&t.touch&&L.indexOf(`${c}x${h}`)>=0&&(y=o.match(/(Version)\/([\d.]+)/),y||(y=[0,1,"13_0_0"]),_=!1),m&&!R&&(u.os="android",u.android=!0),(y||T||E)&&(u.os="ios",u.ios=!0),u}function h2(r){return r===void 0&&(r={}),Q1||(Q1=d2(r)),Q1}let J1;function p2(){const r=Fa();let e=!1;function t(){const n=r.navigator.userAgent.toLowerCase();return n.indexOf("safari")>=0&&n.indexOf("chrome")<0&&n.indexOf("android")<0}if(t()){const n=String(r.navigator.userAgent);if(n.includes("Version/")){const[s,o]=n.split("Version/")[1].split(" ")[0].split(".").map(u=>Number(u));e=s<16||s===16&&o<2}}return{isSafari:e||t(),needPerspectiveFix:e,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(r.navigator.userAgent)}}function m2(){return J1||(J1=p2()),J1}function g2(r){let{swiper:e,on:t,emit:n}=r;const s=Fa();let o=null,u=null;const c=()=>{!e||e.destroyed||!e.initialized||(n("beforeResize"),n("resize"))},h=()=>{!e||e.destroyed||!e.initialized||(o=new ResizeObserver(E=>{u=s.requestAnimationFrame(()=>{const{width:T,height:R}=e;let _=T,L=R;E.forEach(M=>{let{contentBoxSize:F,contentRect:Z,target:K}=M;K&&K!==e.el||(_=Z?Z.width:(F[0]||F).inlineSize,L=Z?Z.height:(F[0]||F).blockSize)}),(_!==T||L!==R)&&c()})}),o.observe(e.el))},m=()=>{u&&s.cancelAnimationFrame(u),o&&o.unobserve&&e.el&&(o.unobserve(e.el),o=null)},y=()=>{!e||e.destroyed||!e.initialized||n("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof s.ResizeObserver<"u"){h();return}s.addEventListener("resize",c),s.addEventListener("orientationchange",y)}),t("destroy",()=>{m(),s.removeEventListener("resize",c),s.removeEventListener("orientationchange",y)})}function v2(r){let{swiper:e,extendParams:t,on:n,emit:s}=r;const o=[],u=Fa(),c=function(y,E){E===void 0&&(E={});const T=u.MutationObserver||u.WebkitMutationObserver,R=new T(_=>{if(e.__preventObserver__)return;if(_.length===1){s("observerUpdate",_[0]);return}const L=function(){s("observerUpdate",_[0])};u.requestAnimationFrame?u.requestAnimationFrame(L):u.setTimeout(L,0)});R.observe(y,{attributes:typeof E.attributes>"u"?!0:E.attributes,childList:typeof E.childList>"u"?!0:E.childList,characterData:typeof E.characterData>"u"?!0:E.characterData}),o.push(R)},h=()=>{if(e.params.observer){if(e.params.observeParents){const y=c2(e.hostEl);for(let E=0;E<y.length;E+=1)c(y[E])}c(e.hostEl,{childList:e.params.observeSlideChildren}),c(e.wrapperEl,{attributes:!1})}},m=()=>{o.forEach(y=>{y.disconnect()}),o.splice(0,o.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",h),n("destroy",m)}var y2={on(r,e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;const s=t?"unshift":"push";return r.split(" ").forEach(o=>{n.eventsListeners[o]||(n.eventsListeners[o]=[]),n.eventsListeners[o][s](e)}),n},once(r,e,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof e!="function")return n;function s(){n.off(r,s),s.__emitterProxy&&delete s.__emitterProxy;for(var o=arguments.length,u=new Array(o),c=0;c<o;c++)u[c]=arguments[c];e.apply(n,u)}return s.__emitterProxy=e,n.on(r,s,t)},onAny(r,e){const t=this;if(!t.eventsListeners||t.destroyed||typeof r!="function")return t;const n=e?"unshift":"push";return t.eventsAnyListeners.indexOf(r)<0&&t.eventsAnyListeners[n](r),t},offAny(r){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const t=e.eventsAnyListeners.indexOf(r);return t>=0&&e.eventsAnyListeners.splice(t,1),e},off(r,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||r.split(" ").forEach(n=>{typeof e>"u"?t.eventsListeners[n]=[]:t.eventsListeners[n]&&t.eventsListeners[n].forEach((s,o)=>{(s===e||s.__emitterProxy&&s.__emitterProxy===e)&&t.eventsListeners[n].splice(o,1)})}),t},emit(){const r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;let e,t,n;for(var s=arguments.length,o=new Array(s),u=0;u<s;u++)o[u]=arguments[u];return typeof o[0]=="string"||Array.isArray(o[0])?(e=o[0],t=o.slice(1,o.length),n=r):(e=o[0].events,t=o[0].data,n=o[0].context||r),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(h=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(m=>{m.apply(n,[h,...t])}),r.eventsListeners&&r.eventsListeners[h]&&r.eventsListeners[h].forEach(m=>{m.apply(n,t)})}),r}};function S2(){const r=this;let e,t;const n=r.el;typeof r.params.width<"u"&&r.params.width!==null?e=r.params.width:e=n.clientWidth,typeof r.params.height<"u"&&r.params.height!==null?t=r.params.height:t=n.clientHeight,!(e===0&&r.isHorizontal()||t===0&&r.isVertical())&&(e=e-parseInt(Sc(n,"padding-left")||0,10)-parseInt(Sc(n,"padding-right")||0,10),t=t-parseInt(Sc(n,"padding-top")||0,10)-parseInt(Sc(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(r,{width:e,height:t,size:r.isHorizontal()?e:t}))}function E2(){const r=this;function e(Ce){return r.isHorizontal()?Ce:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[Ce]}function t(Ce,Ve){return parseFloat(Ce.getPropertyValue(e(Ve))||0)}const n=r.params,{wrapperEl:s,slidesEl:o,size:u,rtlTranslate:c,wrongRTL:h}=r,m=r.virtual&&n.virtual.enabled,y=m?r.virtual.slides.length:r.slides.length,E=Eu(o,`.${r.params.slideClass}, swiper-slide`),T=m?r.virtual.slides.length:E.length;let R=[];const _=[],L=[];let M=n.slidesOffsetBefore;typeof M=="function"&&(M=n.slidesOffsetBefore.call(r));let F=n.slidesOffsetAfter;typeof F=="function"&&(F=n.slidesOffsetAfter.call(r));const Z=r.snapGrid.length,K=r.slidesGrid.length;let Y=n.spaceBetween,X=-M,ue=0,ie=0;if(typeof u>"u")return;typeof Y=="string"&&Y.indexOf("%")>=0?Y=parseFloat(Y.replace("%",""))/100*u:typeof Y=="string"&&(Y=parseFloat(Y)),r.virtualSize=-Y,E.forEach(Ce=>{c?Ce.style.marginLeft="":Ce.style.marginRight="",Ce.style.marginBottom="",Ce.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(gv(s,"--swiper-centered-offset-before",""),gv(s,"--swiper-centered-offset-after",""));const ye=n.grid&&n.grid.rows>1&&r.grid;ye&&r.grid.initSlides(T);let de;const Re=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(Ce=>typeof n.breakpoints[Ce].slidesPerView<"u").length>0;for(let Ce=0;Ce<T;Ce+=1){de=0;let Ve;if(E[Ce]&&(Ve=E[Ce]),ye&&r.grid.updateSlide(Ce,Ve,T,e),!(E[Ce]&&Sc(Ve,"display")==="none")){if(n.slidesPerView==="auto"){Re&&(E[Ce].style[e("width")]="");const ze=getComputedStyle(Ve),Qe=Ve.style.transform,et=Ve.style.webkitTransform;if(Qe&&(Ve.style.transform="none"),et&&(Ve.style.webkitTransform="none"),n.roundLengths)de=r.isHorizontal()?U_(Ve,"width"):U_(Ve,"height");else{const Pe=t(ze,"width"),ne=t(ze,"padding-left"),_e=t(ze,"padding-right"),Ue=t(ze,"margin-left"),He=t(ze,"margin-right"),Be=ze.getPropertyValue("box-sizing");if(Be&&Be==="border-box")de=Pe+Ue+He;else{const{clientWidth:Je,offsetWidth:Xe}=Ve;de=Pe+ne+_e+Ue+He+(Xe-Je)}}Qe&&(Ve.style.transform=Qe),et&&(Ve.style.webkitTransform=et),n.roundLengths&&(de=Math.floor(de))}else de=(u-(n.slidesPerView-1)*Y)/n.slidesPerView,n.roundLengths&&(de=Math.floor(de)),E[Ce]&&(E[Ce].style[e("width")]=`${de}px`);E[Ce]&&(E[Ce].swiperSlideSize=de),L.push(de),n.centeredSlides?(X=X+de/2+ue/2+Y,ue===0&&Ce!==0&&(X=X-u/2-Y),Ce===0&&(X=X-u/2-Y),Math.abs(X)<1/1e3&&(X=0),n.roundLengths&&(X=Math.floor(X)),ie%n.slidesPerGroup===0&&R.push(X),_.push(X)):(n.roundLengths&&(X=Math.floor(X)),(ie-Math.min(r.params.slidesPerGroupSkip,ie))%r.params.slidesPerGroup===0&&R.push(X),_.push(X),X=X+de+Y),r.virtualSize+=de+Y,ue=de,ie+=1}}if(r.virtualSize=Math.max(r.virtualSize,u)+F,c&&h&&(n.effect==="slide"||n.effect==="coverflow")&&(s.style.width=`${r.virtualSize+Y}px`),n.setWrapperSize&&(s.style[e("width")]=`${r.virtualSize+Y}px`),ye&&r.grid.updateWrapperSize(de,R,e),!n.centeredSlides){const Ce=[];for(let Ve=0;Ve<R.length;Ve+=1){let ze=R[Ve];n.roundLengths&&(ze=Math.floor(ze)),R[Ve]<=r.virtualSize-u&&Ce.push(ze)}R=Ce,Math.floor(r.virtualSize-u)-Math.floor(R[R.length-1])>1&&R.push(r.virtualSize-u)}if(m&&n.loop){const Ce=L[0]+Y;if(n.slidesPerGroup>1){const Ve=Math.ceil((r.virtual.slidesBefore+r.virtual.slidesAfter)/n.slidesPerGroup),ze=Ce*n.slidesPerGroup;for(let Qe=0;Qe<Ve;Qe+=1)R.push(R[R.length-1]+ze)}for(let Ve=0;Ve<r.virtual.slidesBefore+r.virtual.slidesAfter;Ve+=1)n.slidesPerGroup===1&&R.push(R[R.length-1]+Ce),_.push(_[_.length-1]+Ce),r.virtualSize+=Ce}if(R.length===0&&(R=[0]),Y!==0){const Ce=r.isHorizontal()&&c?"marginLeft":e("marginRight");E.filter((Ve,ze)=>!n.cssMode||n.loop?!0:ze!==E.length-1).forEach(Ve=>{Ve.style[Ce]=`${Y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let Ce=0;L.forEach(ze=>{Ce+=ze+(Y||0)}),Ce-=Y;const Ve=Ce-u;R=R.map(ze=>ze<=0?-M:ze>Ve?Ve+F:ze)}if(n.centerInsufficientSlides){let Ce=0;if(L.forEach(Ve=>{Ce+=Ve+(Y||0)}),Ce-=Y,Ce<u){const Ve=(u-Ce)/2;R.forEach((ze,Qe)=>{R[Qe]=ze-Ve}),_.forEach((ze,Qe)=>{_[Qe]=ze+Ve})}}if(Object.assign(r,{slides:E,snapGrid:R,slidesGrid:_,slidesSizesGrid:L}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){gv(s,"--swiper-centered-offset-before",`${-R[0]}px`),gv(s,"--swiper-centered-offset-after",`${r.size/2-L[L.length-1]/2}px`);const Ce=-r.snapGrid[0],Ve=-r.slidesGrid[0];r.snapGrid=r.snapGrid.map(ze=>ze+Ce),r.slidesGrid=r.slidesGrid.map(ze=>ze+Ve)}if(T!==y&&r.emit("slidesLengthChange"),R.length!==Z&&(r.params.watchOverflow&&r.checkOverflow(),r.emit("snapGridLengthChange")),_.length!==K&&r.emit("slidesGridLengthChange"),n.watchSlidesProgress&&r.updateSlidesOffset(),!m&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const Ce=`${n.containerModifierClass}backface-hidden`,Ve=r.el.classList.contains(Ce);T<=n.maxBackfaceHiddenSlides?Ve||r.el.classList.add(Ce):Ve&&r.el.classList.remove(Ce)}}function x2(r){const e=this,t=[],n=e.virtual&&e.params.virtual.enabled;let s=0,o;typeof r=="number"?e.setTransition(r):r===!0&&e.setTransition(e.params.speed);const u=c=>n?e.slides[e.getSlideIndexByData(c)]:e.slides[c];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(c=>{t.push(c)});else for(o=0;o<Math.ceil(e.params.slidesPerView);o+=1){const c=e.activeIndex+o;if(c>e.slides.length&&!n)break;t.push(u(c))}else t.push(u(e.activeIndex));for(o=0;o<t.length;o+=1)if(typeof t[o]<"u"){const c=t[o].offsetHeight;s=c>s?c:s}(s||s===0)&&(e.wrapperEl.style.height=`${s}px`)}function b2(){const r=this,e=r.slides,t=r.isElement?r.isHorizontal()?r.wrapperEl.offsetLeft:r.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(r.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-r.cssOverflowAdjustment()}function T2(r){r===void 0&&(r=this&&this.translate||0);const e=this,t=e.params,{slides:n,rtlTranslate:s,snapGrid:o}=e;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let u=-r;s&&(u=r),n.forEach(h=>{h.classList.remove(t.slideVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let c=t.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*e.size:typeof c=="string"&&(c=parseFloat(c));for(let h=0;h<n.length;h+=1){const m=n[h];let y=m.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(y-=n[0].swiperSlideOffset);const E=(u+(t.centeredSlides?e.minTranslate():0)-y)/(m.swiperSlideSize+c),T=(u-o[0]+(t.centeredSlides?e.minTranslate():0)-y)/(m.swiperSlideSize+c),R=-(u-y),_=R+e.slidesSizesGrid[h];(R>=0&&R<e.size-1||_>1&&_<=e.size||R<=0&&_>=e.size)&&(e.visibleSlides.push(m),e.visibleSlidesIndexes.push(h),n[h].classList.add(t.slideVisibleClass)),m.progress=s?-E:E,m.originalProgress=s?-T:T}}function w2(r){const e=this;if(typeof r>"u"){const y=e.rtlTranslate?-1:1;r=e&&e.translate&&e.translate*y||0}const t=e.params,n=e.maxTranslate()-e.minTranslate();let{progress:s,isBeginning:o,isEnd:u,progressLoop:c}=e;const h=o,m=u;if(n===0)s=0,o=!0,u=!0;else{s=(r-e.minTranslate())/n;const y=Math.abs(r-e.minTranslate())<1,E=Math.abs(r-e.maxTranslate())<1;o=y||s<=0,u=E||s>=1,y&&(s=0),E&&(s=1)}if(t.loop){const y=e.getSlideIndexByData(0),E=e.getSlideIndexByData(e.slides.length-1),T=e.slidesGrid[y],R=e.slidesGrid[E],_=e.slidesGrid[e.slidesGrid.length-1],L=Math.abs(r);L>=T?c=(L-T)/_:c=(L+_-R)/_,c>1&&(c-=1)}Object.assign(e,{progress:s,progressLoop:c,isBeginning:o,isEnd:u}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(r),o&&!h&&e.emit("reachBeginning toEdge"),u&&!m&&e.emit("reachEnd toEdge"),(h&&!o||m&&!u)&&e.emit("fromEdge"),e.emit("progress",s)}function C2(){const r=this,{slides:e,params:t,slidesEl:n,activeIndex:s}=r,o=r.virtual&&t.virtual.enabled,u=h=>Eu(n,`.${t.slideClass}${h}, swiper-slide${h}`)[0];e.forEach(h=>{h.classList.remove(t.slideActiveClass,t.slideNextClass,t.slidePrevClass)});let c;if(o)if(t.loop){let h=s-r.virtual.slidesBefore;h<0&&(h=r.virtual.slides.length+h),h>=r.virtual.slides.length&&(h-=r.virtual.slides.length),c=u(`[data-swiper-slide-index="${h}"]`)}else c=u(`[data-swiper-slide-index="${s}"]`);else c=e[s];if(c){c.classList.add(t.slideActiveClass);let h=u2(c,`.${t.slideClass}, swiper-slide`)[0];t.loop&&!h&&(h=e[0]),h&&h.classList.add(t.slideNextClass);let m=l2(c,`.${t.slideClass}, swiper-slide`)[0];t.loop&&!m===0&&(m=e[e.length-1]),m&&m.classList.add(t.slidePrevClass)}r.emitSlidesClasses()}const vv=(r,e)=>{if(!r||r.destroyed||!r.params)return;const t=()=>r.isElement?"swiper-slide":`.${r.params.slideClass}`,n=e.closest(t());if(n){let s=n.querySelector(`.${r.params.lazyPreloaderClass}`);!s&&r.isElement&&(n.shadowRoot?s=n.shadowRoot.querySelector(`.${r.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(s=n.shadowRoot.querySelector(`.${r.params.lazyPreloaderClass}`),s&&s.remove())})),s&&s.remove()}},Z1=(r,e)=>{if(!r.slides[e])return;const t=r.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},eE=r=>{if(!r||r.destroyed||!r.params)return;let e=r.params.lazyPreloadPrevNext;const t=r.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const n=r.params.slidesPerView==="auto"?r.slidesPerViewDynamic():Math.ceil(r.params.slidesPerView),s=r.activeIndex;if(r.params.grid&&r.params.grid.rows>1){const u=s,c=[u-e];c.push(...Array.from({length:e}).map((h,m)=>u+n+m)),r.slides.forEach((h,m)=>{c.includes(h.column)&&Z1(r,m)});return}const o=s+n-1;if(r.params.rewind||r.params.loop)for(let u=s-e;u<=o+e;u+=1){const c=(u%t+t)%t;(c<s||c>o)&&Z1(r,c)}else for(let u=Math.max(s-e,0);u<=Math.min(o+e,t-1);u+=1)u!==s&&(u>o||u<s)&&Z1(r,u)};function R2(r){const{slidesGrid:e,params:t}=r,n=r.rtlTranslate?r.translate:-r.translate;let s;for(let o=0;o<e.length;o+=1)typeof e[o+1]<"u"?n>=e[o]&&n<e[o+1]-(e[o+1]-e[o])/2?s=o:n>=e[o]&&n<e[o+1]&&(s=o+1):n>=e[o]&&(s=o);return t.normalizeSlideIndex&&(s<0||typeof s>"u")&&(s=0),s}function A2(r){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:n,params:s,activeIndex:o,realIndex:u,snapIndex:c}=e;let h=r,m;const y=T=>{let R=T-e.virtual.slidesBefore;return R<0&&(R=e.virtual.slides.length+R),R>=e.virtual.slides.length&&(R-=e.virtual.slides.length),R};if(typeof h>"u"&&(h=R2(e)),n.indexOf(t)>=0)m=n.indexOf(t);else{const T=Math.min(s.slidesPerGroupSkip,h);m=T+Math.floor((h-T)/s.slidesPerGroup)}if(m>=n.length&&(m=n.length-1),h===o){m!==c&&(e.snapIndex=m,e.emit("snapIndexChange")),e.params.loop&&e.virtual&&e.params.virtual.enabled&&(e.realIndex=y(h));return}let E;e.virtual&&s.virtual.enabled&&s.loop?E=y(h):e.slides[h]?E=parseInt(e.slides[h].getAttribute("data-swiper-slide-index")||h,10):E=h,Object.assign(e,{previousSnapIndex:c,snapIndex:m,previousRealIndex:u,realIndex:E,previousIndex:o,activeIndex:h}),e.initialized&&eE(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(u!==E&&e.emit("realIndexChange"),e.emit("slideChange"))}function _2(r,e){const t=this,n=t.params;let s=r.closest(`.${n.slideClass}, swiper-slide`);!s&&t.isElement&&e&&e.length>1&&e.includes(r)&&[...e.slice(e.indexOf(r)+1,e.length)].forEach(c=>{!s&&c.matches&&c.matches(`.${n.slideClass}, swiper-slide`)&&(s=c)});let o=!1,u;if(s){for(let c=0;c<t.slides.length;c+=1)if(t.slides[c]===s){o=!0,u=c;break}}if(s&&o)t.clickedSlide=s,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(s.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=u;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}n.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var L2={updateSize:S2,updateSlides:E2,updateAutoHeight:x2,updateSlidesOffset:b2,updateSlidesProgress:T2,updateProgress:w2,updateSlidesClasses:C2,updateActiveIndex:A2,updateClickedSlide:_2};function k2(r){r===void 0&&(r=this.isHorizontal()?"x":"y");const e=this,{params:t,rtlTranslate:n,translate:s,wrapperEl:o}=e;if(t.virtualTranslate)return n?-s:s;if(t.cssMode)return s;let u=s2(o,r);return u+=e.cssOverflowAdjustment(),n&&(u=-u),u||0}function D2(r,e){const t=this,{rtlTranslate:n,params:s,wrapperEl:o,progress:u}=t;let c=0,h=0;const m=0;t.isHorizontal()?c=n?-r:r:h=r,s.roundLengths&&(c=Math.floor(c),h=Math.floor(h)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?c:h,s.cssMode?o[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-c:-h:s.virtualTranslate||(t.isHorizontal()?c-=t.cssOverflowAdjustment():h-=t.cssOverflowAdjustment(),o.style.transform=`translate3d(${c}px, ${h}px, ${m}px)`);let y;const E=t.maxTranslate()-t.minTranslate();E===0?y=0:y=(r-t.minTranslate())/E,y!==u&&t.updateProgress(r),t.emit("setTranslate",t.translate,e)}function I2(){return-this.snapGrid[0]}function P2(){return-this.snapGrid[this.snapGrid.length-1]}function M2(r,e,t,n,s){r===void 0&&(r=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),n===void 0&&(n=!0);const o=this,{params:u,wrapperEl:c}=o;if(o.animating&&u.preventInteractionOnTransition)return!1;const h=o.minTranslate(),m=o.maxTranslate();let y;if(n&&r>h?y=h:n&&r<m?y=m:y=r,o.updateProgress(y),u.cssMode){const E=o.isHorizontal();if(e===0)c[E?"scrollLeft":"scrollTop"]=-y;else{if(!o.support.smoothScroll)return F_({swiper:o,targetPosition:-y,side:E?"left":"top"}),!0;c.scrollTo({[E?"left":"top"]:-y,behavior:"smooth"})}return!0}return e===0?(o.setTransition(0),o.setTranslate(y),t&&(o.emit("beforeTransitionStart",e,s),o.emit("transitionEnd"))):(o.setTransition(e),o.setTranslate(y),t&&(o.emit("beforeTransitionStart",e,s),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(T){!o||o.destroyed||T.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,t&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}var O2={getTranslate:k2,setTranslate:D2,minTranslate:I2,maxTranslate:P2,translateTo:M2};function F2(r,e){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${r}ms`,t.wrapperEl.style.transitionDelay=r===0?"0ms":""),t.emit("setTransition",r,e)}function $_(r){let{swiper:e,runCallbacks:t,direction:n,step:s}=r;const{activeIndex:o,previousIndex:u}=e;let c=n;if(c||(o>u?c="next":o<u?c="prev":c="reset"),e.emit(`transition${s}`),t&&o!==u){if(c==="reset"){e.emit(`slideResetTransition${s}`);return}e.emit(`slideChangeTransition${s}`),c==="next"?e.emit(`slideNextTransition${s}`):e.emit(`slidePrevTransition${s}`)}}function N2(r,e){r===void 0&&(r=!0);const t=this,{params:n}=t;n.cssMode||(n.autoHeight&&t.updateAutoHeight(),$_({swiper:t,runCallbacks:r,direction:e,step:"Start"}))}function U2(r,e){r===void 0&&(r=!0);const t=this,{params:n}=t;t.animating=!1,!n.cssMode&&(t.setTransition(0),$_({swiper:t,runCallbacks:r,direction:e,step:"End"}))}var B2={setTransition:F2,transitionStart:N2,transitionEnd:U2};function $2(r,e,t,n,s){r===void 0&&(r=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),typeof r=="string"&&(r=parseInt(r,10));const o=this;let u=r;u<0&&(u=0);const{params:c,snapGrid:h,slidesGrid:m,previousIndex:y,activeIndex:E,rtlTranslate:T,wrapperEl:R,enabled:_}=o;if(o.animating&&c.preventInteractionOnTransition||!_&&!n&&!s)return!1;const L=Math.min(o.params.slidesPerGroupSkip,u);let M=L+Math.floor((u-L)/o.params.slidesPerGroup);M>=h.length&&(M=h.length-1);const F=-h[M];if(c.normalizeSlideIndex)for(let K=0;K<m.length;K+=1){const Y=-Math.floor(F*100),X=Math.floor(m[K]*100),ue=Math.floor(m[K+1]*100);typeof m[K+1]<"u"?Y>=X&&Y<ue-(ue-X)/2?u=K:Y>=X&&Y<ue&&(u=K+1):Y>=X&&(u=K)}if(o.initialized&&u!==E&&(!o.allowSlideNext&&(T?F>o.translate&&F>o.minTranslate():F<o.translate&&F<o.minTranslate())||!o.allowSlidePrev&&F>o.translate&&F>o.maxTranslate()&&(E||0)!==u))return!1;u!==(y||0)&&t&&o.emit("beforeSlideChangeStart"),o.updateProgress(F);let Z;if(u>E?Z="next":u<E?Z="prev":Z="reset",T&&-F===o.translate||!T&&F===o.translate)return o.updateActiveIndex(u),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),c.effect!=="slide"&&o.setTranslate(F),Z!=="reset"&&(o.transitionStart(t,Z),o.transitionEnd(t,Z)),!1;if(c.cssMode){const K=o.isHorizontal(),Y=T?F:-F;if(e===0){const X=o.virtual&&o.params.virtual.enabled;X&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),X&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{R[K?"scrollLeft":"scrollTop"]=Y})):R[K?"scrollLeft":"scrollTop"]=Y,X&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return F_({swiper:o,targetPosition:Y,side:K?"left":"top"}),!0;R.scrollTo({[K?"left":"top"]:Y,behavior:"smooth"})}return!0}return o.setTransition(e),o.setTranslate(F),o.updateActiveIndex(u),o.updateSlidesClasses(),o.emit("beforeTransitionStart",e,n),o.transitionStart(t,Z),e===0?o.transitionEnd(t,Z):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(Y){!o||o.destroyed||Y.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(t,Z))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0}function V2(r,e,t,n){r===void 0&&(r=0),e===void 0&&(e=this.params.speed),t===void 0&&(t=!0),typeof r=="string"&&(r=parseInt(r,10));const s=this;let o=r;return s.params.loop&&(s.virtual&&s.params.virtual.enabled?o=o+s.virtual.slidesBefore:o=s.getSlideIndexByData(o)),s.slideTo(o,e,t,n)}function z2(r,e,t){r===void 0&&(r=this.params.speed),e===void 0&&(e=!0);const n=this,{enabled:s,params:o,animating:u}=n;if(!s)return n;let c=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(c=Math.max(n.slidesPerViewDynamic("current",!0),1));const h=n.activeIndex<o.slidesPerGroupSkip?1:c,m=n.virtual&&o.virtual.enabled;if(o.loop){if(u&&!m&&o.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&o.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+h,r,e,t)}),!0}return o.rewind&&n.isEnd?n.slideTo(0,r,e,t):n.slideTo(n.activeIndex+h,r,e,t)}function j2(r,e,t){r===void 0&&(r=this.params.speed),e===void 0&&(e=!0);const n=this,{params:s,snapGrid:o,slidesGrid:u,rtlTranslate:c,enabled:h,animating:m}=n;if(!h)return n;const y=n.virtual&&s.virtual.enabled;if(s.loop){if(m&&!y&&s.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}const E=c?n.translate:-n.translate;function T(F){return F<0?-Math.floor(Math.abs(F)):Math.floor(F)}const R=T(E),_=o.map(F=>T(F));let L=o[_.indexOf(R)-1];if(typeof L>"u"&&s.cssMode){let F;o.forEach((Z,K)=>{R>=Z&&(F=K)}),typeof F<"u"&&(L=o[F>0?F-1:F])}let M=0;if(typeof L<"u"&&(M=u.indexOf(L),M<0&&(M=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(M=M-n.slidesPerViewDynamic("previous",!0)+1,M=Math.max(M,0))),s.rewind&&n.isBeginning){const F=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(F,r,e,t)}else if(s.loop&&n.activeIndex===0&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(M,r,e,t)}),!0;return n.slideTo(M,r,e,t)}function H2(r,e,t){r===void 0&&(r=this.params.speed),e===void 0&&(e=!0);const n=this;return n.slideTo(n.activeIndex,r,e,t)}function G2(r,e,t,n){r===void 0&&(r=this.params.speed),e===void 0&&(e=!0),n===void 0&&(n=.5);const s=this;let o=s.activeIndex;const u=Math.min(s.params.slidesPerGroupSkip,o),c=u+Math.floor((o-u)/s.params.slidesPerGroup),h=s.rtlTranslate?s.translate:-s.translate;if(h>=s.snapGrid[c]){const m=s.snapGrid[c],y=s.snapGrid[c+1];h-m>(y-m)*n&&(o+=s.params.slidesPerGroup)}else{const m=s.snapGrid[c-1],y=s.snapGrid[c];h-m<=(y-m)*n&&(o-=s.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,s.slidesGrid.length-1),s.slideTo(o,r,e,t)}function W2(){const r=this,{params:e,slidesEl:t}=r,n=e.slidesPerView==="auto"?r.slidesPerViewDynamic():e.slidesPerView;let s=r.clickedIndex,o;const u=r.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(r.animating)return;o=parseInt(r.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?s<r.loopedSlides-n/2||s>r.slides.length-r.loopedSlides+n/2?(r.loopFix(),s=r.getSlideIndex(Eu(t,`${u}[data-swiper-slide-index="${o}"]`)[0]),Y1(()=>{r.slideTo(s)})):r.slideTo(s):s>r.slides.length-n?(r.loopFix(),s=r.getSlideIndex(Eu(t,`${u}[data-swiper-slide-index="${o}"]`)[0]),Y1(()=>{r.slideTo(s)})):r.slideTo(s)}else r.slideTo(s)}var K2={slideTo:$2,slideToLoop:V2,slideNext:z2,slidePrev:j2,slideReset:H2,slideToClosest:G2,slideToClickedSlide:W2};function q2(r){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;Eu(n,`.${t.slideClass}, swiper-slide`).forEach((o,u)=>{o.setAttribute("data-swiper-slide-index",u)}),e.loopFix({slideRealIndex:r,direction:t.centeredSlides?void 0:"next"})}function Y2(r){let{slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:s,activeSlideIndex:o,byController:u,byMousewheel:c}=r===void 0?{}:r;const h=this;if(!h.params.loop)return;h.emit("beforeLoopFix");const{slides:m,allowSlidePrev:y,allowSlideNext:E,slidesEl:T,params:R}=h;if(h.allowSlidePrev=!0,h.allowSlideNext=!0,h.virtual&&R.virtual.enabled){t&&(!R.centeredSlides&&h.snapIndex===0?h.slideTo(h.virtual.slides.length,0,!1,!0):R.centeredSlides&&h.snapIndex<R.slidesPerView?h.slideTo(h.virtual.slides.length+h.snapIndex,0,!1,!0):h.snapIndex===h.snapGrid.length-1&&h.slideTo(h.virtual.slidesBefore,0,!1,!0)),h.allowSlidePrev=y,h.allowSlideNext=E,h.emit("loopFix");return}const _=R.slidesPerView==="auto"?h.slidesPerViewDynamic():Math.ceil(parseFloat(R.slidesPerView,10));let L=R.loopedSlides||_;L%R.slidesPerGroup!==0&&(L+=R.slidesPerGroup-L%R.slidesPerGroup),h.loopedSlides=L;const M=[],F=[];let Z=h.activeIndex;typeof o>"u"?o=h.getSlideIndex(h.slides.filter(ie=>ie.classList.contains(R.slideActiveClass))[0]):Z=o;const K=n==="next"||!n,Y=n==="prev"||!n;let X=0,ue=0;if(o<L){X=Math.max(L-o,R.slidesPerGroup);for(let ie=0;ie<L-o;ie+=1){const ye=ie-Math.floor(ie/m.length)*m.length;M.push(m.length-ye-1)}}else if(o>h.slides.length-L*2){ue=Math.max(o-(h.slides.length-L*2),R.slidesPerGroup);for(let ie=0;ie<ue;ie+=1){const ye=ie-Math.floor(ie/m.length)*m.length;F.push(ye)}}if(Y&&M.forEach(ie=>{h.slides[ie].swiperLoopMoveDOM=!0,T.prepend(h.slides[ie]),h.slides[ie].swiperLoopMoveDOM=!1}),K&&F.forEach(ie=>{h.slides[ie].swiperLoopMoveDOM=!0,T.append(h.slides[ie]),h.slides[ie].swiperLoopMoveDOM=!1}),h.recalcSlides(),R.slidesPerView==="auto"&&h.updateSlides(),R.watchSlidesProgress&&h.updateSlidesOffset(),t){if(M.length>0&&Y)if(typeof e>"u"){const ie=h.slidesGrid[Z],de=h.slidesGrid[Z+X]-ie;c?h.setTranslate(h.translate-de):(h.slideTo(Z+X,0,!1,!0),s&&(h.touches[h.isHorizontal()?"startX":"startY"]+=de,h.touchEventsData.currentTranslate=h.translate))}else s&&(h.slideToLoop(e,0,!1,!0),h.touchEventsData.currentTranslate=h.translate);else if(F.length>0&&K)if(typeof e>"u"){const ie=h.slidesGrid[Z],de=h.slidesGrid[Z-ue]-ie;c?h.setTranslate(h.translate-de):(h.slideTo(Z-ue,0,!1,!0),s&&(h.touches[h.isHorizontal()?"startX":"startY"]+=de,h.touchEventsData.currentTranslate=h.translate))}else h.slideToLoop(e,0,!1,!0)}if(h.allowSlidePrev=y,h.allowSlideNext=E,h.controller&&h.controller.control&&!u){const ie={slideRealIndex:e,direction:n,setTranslate:s,activeSlideIndex:o,byController:!0};Array.isArray(h.controller.control)?h.controller.control.forEach(ye=>{!ye.destroyed&&ye.params.loop&&ye.loopFix({...ie,slideTo:ye.params.slidesPerView===R.slidesPerView?t:!1})}):h.controller.control instanceof h.constructor&&h.controller.control.params.loop&&h.controller.control.loopFix({...ie,slideTo:h.controller.control.params.slidesPerView===R.slidesPerView?t:!1})}h.emit("loopFix")}function X2(){const r=this,{params:e,slidesEl:t}=r;if(!e.loop||r.virtual&&r.params.virtual.enabled)return;r.recalcSlides();const n=[];r.slides.forEach(s=>{const o=typeof s.swiperSlideIndex>"u"?s.getAttribute("data-swiper-slide-index")*1:s.swiperSlideIndex;n[o]=s}),r.slides.forEach(s=>{s.removeAttribute("data-swiper-slide-index")}),n.forEach(s=>{t.append(s)}),r.recalcSlides(),r.slideTo(r.realIndex,0)}var Q2={loopCreate:q2,loopFix:Y2,loopDestroy:X2};function J2(r){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=r?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Z2(){const r=this;r.params.watchOverflow&&r.isLocked||r.params.cssMode||(r.isElement&&(r.__preventObserver__=!0),r[r.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",r.isElement&&requestAnimationFrame(()=>{r.__preventObserver__=!1}))}var e8={setGrabCursor:J2,unsetGrabCursor:Z2};function t8(r,e){e===void 0&&(e=this);function t(n){if(!n||n===cf()||n===Fa())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(r);return!s&&!n.getRootNode?null:s||t(n.getRootNode().host)}return t(e)}function n8(r){const e=this,t=cf(),n=Fa(),s=e.touchEventsData;s.evCache.push(r);const{params:o,touches:u,enabled:c}=e;if(!c||!o.simulateTouch&&r.pointerType==="mouse"||e.animating&&o.preventInteractionOnTransition)return;!e.animating&&o.cssMode&&o.loop&&e.loopFix();let h=r;h.originalEvent&&(h=h.originalEvent);let m=h.target;if(o.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(m)||"which"in h&&h.which===3||"button"in h&&h.button>0||s.isTouched&&s.isMoved)return;const y=!!o.noSwipingClass&&o.noSwipingClass!=="",E=r.composedPath?r.composedPath():r.path;y&&h.target&&h.target.shadowRoot&&E&&(m=E[0]);const T=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,R=!!(h.target&&h.target.shadowRoot);if(o.noSwiping&&(R?t8(T,m):m.closest(T))){e.allowClick=!0;return}if(o.swipeHandler&&!m.closest(o.swipeHandler))return;u.currentX=h.pageX,u.currentY=h.pageY;const _=u.currentX,L=u.currentY,M=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,F=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(M&&(_<=F||_>=n.innerWidth-F))if(M==="prevent")r.preventDefault();else return;Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),u.startX=_,u.startY=L,s.touchStartTime=pv(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,o.threshold>0&&(s.allowThresholdMove=!1);let Z=!0;m.matches(s.focusableElements)&&(Z=!1,m.nodeName==="SELECT"&&(s.isTouched=!1)),t.activeElement&&t.activeElement.matches(s.focusableElements)&&t.activeElement!==m&&t.activeElement.blur();const K=Z&&e.allowTouchMove&&o.touchStartPreventDefault;(o.touchStartForcePreventDefault||K)&&!m.isContentEditable&&h.preventDefault(),o.freeMode&&o.freeMode.enabled&&e.freeMode&&e.animating&&!o.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",h)}function r8(r){const e=cf(),t=this,n=t.touchEventsData,{params:s,touches:o,rtlTranslate:u,enabled:c}=t;if(!c||!s.simulateTouch&&r.pointerType==="mouse")return;let h=r;if(h.originalEvent&&(h=h.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",h);return}const m=n.evCache.findIndex(ie=>ie.pointerId===h.pointerId);m>=0&&(n.evCache[m]=h);const y=n.evCache.length>1?n.evCache[0]:h,E=y.pageX,T=y.pageY;if(h.preventedByNestedSwiper){o.startX=E,o.startY=T;return}if(!t.allowTouchMove){h.target.matches(n.focusableElements)||(t.allowClick=!1),n.isTouched&&(Object.assign(o,{startX:E,startY:T,prevX:t.touches.currentX,prevY:t.touches.currentY,currentX:E,currentY:T}),n.touchStartTime=pv());return}if(s.touchReleaseOnEdges&&!s.loop){if(t.isVertical()){if(T<o.startY&&t.translate<=t.maxTranslate()||T>o.startY&&t.translate>=t.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(E<o.startX&&t.translate<=t.maxTranslate()||E>o.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&h.target===e.activeElement&&h.target.matches(n.focusableElements)){n.isMoved=!0,t.allowClick=!1;return}if(n.allowTouchCallbacks&&t.emit("touchMove",h),h.targetTouches&&h.targetTouches.length>1)return;o.currentX=E,o.currentY=T;const R=o.currentX-o.startX,_=o.currentY-o.startY;if(t.params.threshold&&Math.sqrt(R**2+_**2)<t.params.threshold)return;if(typeof n.isScrolling>"u"){let ie;t.isHorizontal()&&o.currentY===o.startY||t.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:R*R+_*_>=25&&(ie=Math.atan2(Math.abs(_),Math.abs(R))*180/Math.PI,n.isScrolling=t.isHorizontal()?ie>s.touchAngle:90-ie>s.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",h),typeof n.startMoving>"u"&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(n.startMoving=!0),n.isScrolling||t.zoom&&t.params.zoom&&t.params.zoom.enabled&&n.evCache.length>1){n.isTouched=!1;return}if(!n.startMoving)return;t.allowClick=!1,!s.cssMode&&h.cancelable&&h.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&h.stopPropagation();let L=t.isHorizontal()?R:_,M=t.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;s.oneWayMovement&&(L=Math.abs(L)*(u?1:-1),M=Math.abs(M)*(u?1:-1)),o.diff=L,L*=s.touchRatio,u&&(L=-L,M=-M);const F=t.touchesDirection;t.swipeDirection=L>0?"prev":"next",t.touchesDirection=M>0?"prev":"next";const Z=t.params.loop&&!s.cssMode,K=t.swipeDirection==="next"&&t.allowSlideNext||t.swipeDirection==="prev"&&t.allowSlidePrev;if(!n.isMoved){if(Z&&K&&t.loopFix({direction:t.swipeDirection}),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const ie=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(ie)}n.allowMomentumBounce=!1,s.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",h)}let Y;n.isMoved&&F!==t.touchesDirection&&Z&&K&&Math.abs(L)>=1&&(t.loopFix({direction:t.swipeDirection,setTranslate:!0}),Y=!0),t.emit("sliderMove",h),n.isMoved=!0,n.currentTranslate=L+n.startTranslate;let X=!0,ue=s.resistanceRatio;if(s.touchReleaseOnEdges&&(ue=0),L>0?(Z&&K&&!Y&&n.currentTranslate>(s.centeredSlides?t.minTranslate()-t.size/2:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>t.minTranslate()&&(X=!1,s.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+L)**ue))):L<0&&(Z&&K&&!Y&&n.currentTranslate<(s.centeredSlides?t.maxTranslate()+t.size/2:t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(s.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),n.currentTranslate<t.maxTranslate()&&(X=!1,s.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-L)**ue))),X&&(h.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(L)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,o.diff=t.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&t.freeMode||s.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function i8(r){const e=this,t=e.touchEventsData,n=t.evCache.findIndex(K=>K.pointerId===r.pointerId);if(n>=0&&t.evCache.splice(n,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;const{params:s,touches:o,rtlTranslate:u,slidesGrid:c,enabled:h}=e;if(!h||!s.simulateTouch&&r.pointerType==="mouse")return;let m=r;if(m.originalEvent&&(m=m.originalEvent),t.allowTouchCallbacks&&e.emit("touchEnd",m),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&s.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}s.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const y=pv(),E=y-t.touchStartTime;if(e.allowClick){const K=m.path||m.composedPath&&m.composedPath();e.updateClickedSlide(K&&K[0]||m.target,K),e.emit("tap click",m),E<300&&y-t.lastClickTime<300&&e.emit("doubleTap doubleClick",m)}if(t.lastClickTime=pv(),Y1(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0||t.currentTranslate===t.startTranslate){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let T;if(s.followFinger?T=u?e.translate:-e.translate:T=-t.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:T});return}let R=0,_=e.slidesSizesGrid[0];for(let K=0;K<c.length;K+=K<s.slidesPerGroupSkip?1:s.slidesPerGroup){const Y=K<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof c[K+Y]<"u"?T>=c[K]&&T<c[K+Y]&&(R=K,_=c[K+Y]-c[K]):T>=c[K]&&(R=K,_=c[c.length-1]-c[c.length-2])}let L=null,M=null;s.rewind&&(e.isBeginning?M=s.virtual&&s.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(L=0));const F=(T-c[R])/_,Z=R<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(E>s.longSwipesMs){if(!s.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(F>=s.longSwipesRatio?e.slideTo(s.rewind&&e.isEnd?L:R+Z):e.slideTo(R)),e.swipeDirection==="prev"&&(F>1-s.longSwipesRatio?e.slideTo(R+Z):M!==null&&F<0&&Math.abs(F)>s.longSwipesRatio?e.slideTo(M):e.slideTo(R))}else{if(!s.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(m.target===e.navigation.nextEl||m.target===e.navigation.prevEl)?m.target===e.navigation.nextEl?e.slideTo(R+Z):e.slideTo(R):(e.swipeDirection==="next"&&e.slideTo(L!==null?L:R+Z),e.swipeDirection==="prev"&&e.slideTo(M!==null?M:R))}}function V_(){const r=this,{params:e,el:t}=r;if(t&&t.offsetWidth===0)return;e.breakpoints&&r.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:o}=r,u=r.virtual&&r.params.virtual.enabled;r.allowSlideNext=!0,r.allowSlidePrev=!0,r.updateSize(),r.updateSlides(),r.updateSlidesClasses();const c=u&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&r.isEnd&&!r.isBeginning&&!r.params.centeredSlides&&!c?r.slideTo(r.slides.length-1,0,!1,!0):r.params.loop&&!u?r.slideToLoop(r.realIndex,0,!1,!0):r.slideTo(r.activeIndex,0,!1,!0),r.autoplay&&r.autoplay.running&&r.autoplay.paused&&(clearTimeout(r.autoplay.resizeTimeout),r.autoplay.resizeTimeout=setTimeout(()=>{r.autoplay&&r.autoplay.running&&r.autoplay.paused&&r.autoplay.resume()},500)),r.allowSlidePrev=s,r.allowSlideNext=n,r.params.watchOverflow&&o!==r.snapGrid&&r.checkOverflow()}function s8(r){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&r.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(r.stopPropagation(),r.stopImmediatePropagation())))}function a8(){const r=this,{wrapperEl:e,rtlTranslate:t,enabled:n}=r;if(!n)return;r.previousTranslate=r.translate,r.isHorizontal()?r.translate=-e.scrollLeft:r.translate=-e.scrollTop,r.translate===0&&(r.translate=0),r.updateActiveIndex(),r.updateSlidesClasses();let s;const o=r.maxTranslate()-r.minTranslate();o===0?s=0:s=(r.translate-r.minTranslate())/o,s!==r.progress&&r.updateProgress(t?-r.translate:r.translate),r.emit("setTranslate",r.translate,!1)}function o8(r){const e=this;vv(e,r.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}let z_=!1;function l8(){}const j_=(r,e)=>{const t=cf(),{params:n,el:s,wrapperEl:o,device:u}=r,c=!!n.nested,h=e==="on"?"addEventListener":"removeEventListener",m=e;s[h]("pointerdown",r.onTouchStart,{passive:!1}),t[h]("pointermove",r.onTouchMove,{passive:!1,capture:c}),t[h]("pointerup",r.onTouchEnd,{passive:!0}),t[h]("pointercancel",r.onTouchEnd,{passive:!0}),t[h]("pointerout",r.onTouchEnd,{passive:!0}),t[h]("pointerleave",r.onTouchEnd,{passive:!0}),t[h]("contextmenu",r.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[h]("click",r.onClick,!0),n.cssMode&&o[h]("scroll",r.onScroll),n.updateOnWindowResize?r[m](u.ios||u.android?"resize orientationchange observerUpdate":"resize observerUpdate",V_,!0):r[m]("observerUpdate",V_,!0),s[h]("load",r.onLoad,{capture:!0})};function u8(){const r=this,e=cf(),{params:t}=r;r.onTouchStart=n8.bind(r),r.onTouchMove=r8.bind(r),r.onTouchEnd=i8.bind(r),t.cssMode&&(r.onScroll=a8.bind(r)),r.onClick=s8.bind(r),r.onLoad=o8.bind(r),z_||(e.addEventListener("touchstart",l8),z_=!0),j_(r,"on")}function c8(){j_(this,"off")}var f8={attachEvents:u8,detachEvents:c8};const H_=(r,e)=>r.grid&&e.grid&&e.grid.rows>1;function d8(){const r=this,{realIndex:e,initialized:t,params:n,el:s}=r,o=n.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const u=r.getBreakpoint(o,r.params.breakpointsBase,r.el);if(!u||r.currentBreakpoint===u)return;const h=(u in o?o[u]:void 0)||r.originalParams,m=H_(r,n),y=H_(r,h),E=n.enabled;m&&!y?(s.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),r.emitContainerClasses()):!m&&y&&(s.classList.add(`${n.containerModifierClass}grid`),(h.grid.fill&&h.grid.fill==="column"||!h.grid.fill&&n.grid.fill==="column")&&s.classList.add(`${n.containerModifierClass}grid-column`),r.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(F=>{if(typeof h[F]>"u")return;const Z=n[F]&&n[F].enabled,K=h[F]&&h[F].enabled;Z&&!K&&r[F].disable(),!Z&&K&&r[F].enable()});const T=h.direction&&h.direction!==n.direction,R=n.loop&&(h.slidesPerView!==n.slidesPerView||T),_=n.loop;T&&t&&r.changeDirection(),Na(r.params,h);const L=r.params.enabled,M=r.params.loop;Object.assign(r,{allowTouchMove:r.params.allowTouchMove,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev}),E&&!L?r.disable():!E&&L&&r.enable(),r.currentBreakpoint=u,r.emit("_beforeBreakpoint",h),t&&(R?(r.loopDestroy(),r.loopCreate(e),r.updateSlides()):!_&&M?(r.loopCreate(e),r.updateSlides()):_&&!M&&r.loopDestroy()),r.emit("breakpoint",h)}function h8(r,e,t){if(e===void 0&&(e="window"),!r||e==="container"&&!t)return;let n=!1;const s=Fa(),o=e==="window"?s.innerHeight:t.clientHeight,u=Object.keys(r).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const h=parseFloat(c.substr(1));return{value:o*h,point:c}}return{value:c,point:c}});u.sort((c,h)=>parseInt(c.value,10)-parseInt(h.value,10));for(let c=0;c<u.length;c+=1){const{point:h,value:m}=u[c];e==="window"?s.matchMedia(`(min-width: ${m}px)`).matches&&(n=h):m<=t.clientWidth&&(n=h)}return n||"max"}var p8={setBreakpoint:d8,getBreakpoint:h8};function m8(r,e){const t=[];return r.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&t.push(e+s)}):typeof n=="string"&&t.push(e+n)}),t}function g8(){const r=this,{classNames:e,params:t,rtl:n,el:s,device:o}=r,u=m8(["initialized",t.direction,{"free-mode":r.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:o.android},{ios:o.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...u),s.classList.add(...e),r.emitContainerClasses()}function v8(){const r=this,{el:e,classNames:t}=r;e.classList.remove(...t),r.emitContainerClasses()}var y8={addClasses:g8,removeClasses:v8};function S8(){const r=this,{isLocked:e,params:t}=r,{slidesOffsetBefore:n}=t;if(n){const s=r.slides.length-1,o=r.slidesGrid[s]+r.slidesSizesGrid[s]+n*2;r.isLocked=r.size>o}else r.isLocked=r.snapGrid.length===1;t.allowSlideNext===!0&&(r.allowSlideNext=!r.isLocked),t.allowSlidePrev===!0&&(r.allowSlidePrev=!r.isLocked),e&&e!==r.isLocked&&(r.isEnd=!1),e!==r.isLocked&&r.emit(r.isLocked?"lock":"unlock")}var E8={checkOverflow:S8},tE={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function x8(r,e){return function(n){n===void 0&&(n={});const s=Object.keys(n)[0],o=n[s];if(typeof o!="object"||o===null){Na(e,n);return}if(r[s]===!0&&(r[s]={enabled:!0}),s==="navigation"&&r[s]&&r[s].enabled&&!r[s].prevEl&&!r[s].nextEl&&(r[s].auto=!0),["pagination","scrollbar"].indexOf(s)>=0&&r[s]&&r[s].enabled&&!r[s].el&&(r[s].auto=!0),!(s in r&&"enabled"in o)){Na(e,n);return}typeof r[s]=="object"&&!("enabled"in r[s])&&(r[s].enabled=!0),r[s]||(r[s]={enabled:!1}),Na(e,n)}}const nE={eventsEmitter:y2,update:L2,translate:O2,transition:B2,slide:K2,loop:Q2,grabCursor:e8,events:f8,breakpoints:p8,checkOverflow:E8,classes:y8},rE={};let iE=class uc{constructor(){let e,t;for(var n=arguments.length,s=new Array(n),o=0;o<n;o++)s[o]=arguments[o];s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?t=s[0]:[e,t]=s,t||(t={}),t=Na({},t),e&&!t.el&&(t.el=e);const u=cf();if(t.el&&typeof t.el=="string"&&u.querySelectorAll(t.el).length>1){const y=[];return u.querySelectorAll(t.el).forEach(E=>{const T=Na({},t,{el:E});y.push(new uc(T))}),y}const c=this;c.__swiper__=!0,c.support=B_(),c.device=h2({userAgent:t.userAgent}),c.browser=m2(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=[...c.__modules__],t.modules&&Array.isArray(t.modules)&&c.modules.push(...t.modules);const h={};c.modules.forEach(y=>{y({params:t,swiper:c,extendParams:x8(t,h),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});const m=Na({},tE,h);return c.params=Na({},m,rE,t),c.originalParams=Na({},c.params),c.passedParams=Na({},t),c.params&&c.params.on&&Object.keys(c.params.on).forEach(y=>{c.on(y,c.params.on[y])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return c.params.direction==="horizontal"},isVertical(){return c.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}getSlideIndex(e){const{slidesEl:t,params:n}=this,s=Eu(t,`.${n.slideClass}, swiper-slide`),o=N_(s[0]);return N_(e)-o}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>t.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:n}=e;e.slides=Eu(t,`.${n.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const s=n.minTranslate(),u=(n.maxTranslate()-s)*e+s;n.translateTo(u,typeof t>"u"?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const s=e.getSlideClasses(n);t.push({slideEl:n,classNames:s}),e.emit("_slideClass",n,s)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const n=this,{params:s,slides:o,slidesGrid:u,slidesSizesGrid:c,size:h,activeIndex:m}=n;let y=1;if(typeof s.slidesPerView=="number")return s.slidesPerView;if(s.centeredSlides){let E=o[m]?o[m].swiperSlideSize:0,T;for(let R=m+1;R<o.length;R+=1)o[R]&&!T&&(E+=o[R].swiperSlideSize,y+=1,E>h&&(T=!0));for(let R=m-1;R>=0;R-=1)o[R]&&!T&&(E+=o[R].swiperSlideSize,y+=1,E>h&&(T=!0))}else if(e==="current")for(let E=m+1;E<o.length;E+=1)(t?u[E]+c[E]-u[m]<h:u[E]-u[m]<h)&&(y+=1);else for(let E=m-1;E>=0;E-=1)u[m]-u[E]<h&&(y+=1);return y}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(u=>{u.complete&&vv(e,u)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const u=e.rtlTranslate?e.translate*-1:e.translate,c=Math.min(Math.max(u,e.maxTranslate()),e.minTranslate());e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}let o;if(n.freeMode&&n.freeMode.enabled&&!n.cssMode)s(),n.autoHeight&&e.updateAutoHeight();else{if((n.slidesPerView==="auto"||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const u=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;o=e.slideTo(u.length-1,0,!1,!0)}else o=e.slideTo(e.activeIndex,0,!1,!0);o||s()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const n=this,s=n.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"||(n.el.classList.remove(`${n.params.containerModifierClass}${s}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(o=>{e==="vertical"?o.style.width="":o.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if(typeof n=="string"&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName==="SWIPER-CONTAINER"&&(t.isElement=!0);const s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let u=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(s()):Eu(n,s())[0];return!u&&t.params.createElements&&(u=o2("div",t.params.wrapperClass),n.append(u),Eu(n,`.${t.params.slideClass}`).forEach(c=>{u.append(c)})),Object.assign(t,{el:n,wrapperEl:u,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:u,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:n.dir.toLowerCase()==="rtl"||Sc(n,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(n.dir.toLowerCase()==="rtl"||Sc(n,"direction")==="rtl"),wrongRTL:Sc(u,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(o=>{o.complete?vv(t,o):o.addEventListener("load",u=>{vv(t,u.target)})}),eE(t),t.initialized=!0,eE(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const n=this,{params:s,el:o,wrapperEl:u,slides:c}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),t&&(n.removeClasses(),o.removeAttribute("style"),u.removeAttribute("style"),c&&c.length&&c.forEach(h=>{h.classList.remove(s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass),h.removeAttribute("style"),h.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(h=>{n.off(h)}),e!==!1&&(n.el.swiper=null,r2(n)),n.destroyed=!0),null}static extendDefaults(e){Na(rE,e)}static get extendedDefaults(){return rE}static get defaults(){return tE}static installModule(e){uc.prototype.__modules__||(uc.prototype.__modules__=[]);const t=uc.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>uc.installModule(t)),uc):(uc.installModule(e),uc)}};Object.keys(nE).forEach(r=>{Object.keys(nE[r]).forEach(e=>{iE.prototype[e]=nE[r][e]})}),iE.use([g2,v2]);const G_=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function ff(r){return typeof r=="object"&&r!==null&&r.constructor&&Object.prototype.toString.call(r).slice(8,-1)==="Object"&&!r.__swiper__}function df(r,e){const t=["__proto__","constructor","prototype"];Object.keys(e).filter(n=>t.indexOf(n)<0).forEach(n=>{typeof r[n]>"u"?r[n]=e[n]:ff(e[n])&&ff(r[n])&&Object.keys(e[n]).length>0?e[n].__swiper__?r[n]=e[n]:df(r[n],e[n]):r[n]=e[n]})}function W_(r){return r===void 0&&(r={}),r.navigation&&typeof r.navigation.nextEl>"u"&&typeof r.navigation.prevEl>"u"}function K_(r){return r===void 0&&(r={}),r.pagination&&typeof r.pagination.el>"u"}function q_(r){return r===void 0&&(r={}),r.scrollbar&&typeof r.scrollbar.el>"u"}function Y_(r){r===void 0&&(r="");const e=r.split(" ").map(n=>n.trim()).filter(n=>!!n),t=[];return e.forEach(n=>{t.indexOf(n)<0&&t.push(n)}),t.join(" ")}function b8(r){return r===void 0&&(r=""),r?r.includes("swiper-wrapper")?r:`swiper-wrapper ${r}`:"swiper-wrapper"}function T8(r){let{swiper:e,slides:t,passedParams:n,changedParams:s,nextEl:o,prevEl:u,scrollbarEl:c,paginationEl:h}=r;const m=s.filter(de=>de!=="children"&&de!=="direction"&&de!=="wrapperClass"),{params:y,pagination:E,navigation:T,scrollbar:R,virtual:_,thumbs:L}=e;let M,F,Z,K,Y,X,ue,ie;s.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&y.thumbs&&!y.thumbs.swiper&&(M=!0),s.includes("controller")&&n.controller&&n.controller.control&&y.controller&&!y.controller.control&&(F=!0),s.includes("pagination")&&n.pagination&&(n.pagination.el||h)&&(y.pagination||y.pagination===!1)&&E&&!E.el&&(Z=!0),s.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||c)&&(y.scrollbar||y.scrollbar===!1)&&R&&!R.el&&(K=!0),s.includes("navigation")&&n.navigation&&(n.navigation.prevEl||u)&&(n.navigation.nextEl||o)&&(y.navigation||y.navigation===!1)&&T&&!T.prevEl&&!T.nextEl&&(Y=!0);const ye=de=>{e[de]&&(e[de].destroy(),de==="navigation"?(e.isElement&&(e[de].prevEl.remove(),e[de].nextEl.remove()),y[de].prevEl=void 0,y[de].nextEl=void 0,e[de].prevEl=void 0,e[de].nextEl=void 0):(e.isElement&&e[de].el.remove(),y[de].el=void 0,e[de].el=void 0))};s.includes("loop")&&e.isElement&&(y.loop&&!n.loop?X=!0:!y.loop&&n.loop?ue=!0:ie=!0),m.forEach(de=>{if(ff(y[de])&&ff(n[de]))df(y[de],n[de]),(de==="navigation"||de==="pagination"||de==="scrollbar")&&"enabled"in n[de]&&!n[de].enabled&&ye(de);else{const Re=n[de];(Re===!0||Re===!1)&&(de==="navigation"||de==="pagination"||de==="scrollbar")?Re===!1&&ye(de):y[de]=n[de]}}),m.includes("controller")&&!F&&e.controller&&e.controller.control&&y.controller&&y.controller.control&&(e.controller.control=y.controller.control),s.includes("children")&&t&&_&&y.virtual.enabled&&(_.slides=t,_.update(!0)),s.includes("children")&&t&&y.loop&&(ie=!0),M&&L.init()&&L.update(!0),F&&(e.controller.control=y.controller.control),Z&&(e.isElement&&(!h||typeof h=="string")&&(h=document.createElement("div"),h.classList.add("swiper-pagination"),h.part.add("pagination"),e.el.appendChild(h)),h&&(y.pagination.el=h),E.init(),E.render(),E.update()),K&&(e.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-scrollbar"),c.part.add("scrollbar"),e.el.appendChild(c)),c&&(y.scrollbar.el=c),R.init(),R.updateSize(),R.setTranslate()),Y&&(e.isElement&&((!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-button-next"),o.innerHTML=e.hostEl.constructor.nextButtonSvg,o.part.add("button-next"),e.el.appendChild(o)),(!u||typeof u=="string")&&(u=document.createElement("div"),u.classList.add("swiper-button-prev"),u.innerHTML=e.hostEl.constructor.prevButtonSvg,u.part.add("button-prev"),e.el.appendChild(u))),o&&(y.navigation.nextEl=o),u&&(y.navigation.prevEl=u),T.init(),T.update()),s.includes("allowSlideNext")&&(e.allowSlideNext=n.allowSlideNext),s.includes("allowSlidePrev")&&(e.allowSlidePrev=n.allowSlidePrev),s.includes("direction")&&e.changeDirection(n.direction,!1),(X||ie)&&e.loopDestroy(),(ue||ie)&&e.loopCreate(),e.update()}function w8(r,e){r===void 0&&(r={}),e===void 0&&(e=!0);const t={on:{}},n={},s={};df(t,tE),t._emitClasses=!0,t.init=!1;const o={},u=G_.map(h=>h.replace(/_/,"")),c=Object.assign({},r);return Object.keys(c).forEach(h=>{typeof r[h]>"u"||(u.indexOf(h)>=0?ff(r[h])?(t[h]={},s[h]={},df(t[h],r[h]),df(s[h],r[h])):(t[h]=r[h],s[h]=r[h]):h.search(/on[A-Z]/)===0&&typeof r[h]=="function"?e?n[`${h[2].toLowerCase()}${h.substr(3)}`]=r[h]:t.on[`${h[2].toLowerCase()}${h.substr(3)}`]=r[h]:o[h]=r[h])}),["navigation","pagination","scrollbar"].forEach(h=>{t[h]===!0&&(t[h]={}),t[h]===!1&&delete t[h]}),{params:t,passedParams:s,rest:o,events:n}}function C8(r,e){let{el:t,nextEl:n,prevEl:s,paginationEl:o,scrollbarEl:u,swiper:c}=r;W_(e)&&n&&s&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=s,c.originalParams.navigation.prevEl=s),K_(e)&&o&&(c.params.pagination.el=o,c.originalParams.pagination.el=o),q_(e)&&u&&(c.params.scrollbar.el=u,c.originalParams.scrollbar.el=u),c.init(t)}function R8(r,e,t,n,s){const o=[];if(!e)return o;const u=h=>{o.indexOf(h)<0&&o.push(h)};if(t&&n){const h=n.map(s),m=t.map(s);h.join("")!==m.join("")&&u("children"),n.length!==t.length&&u("children")}return G_.filter(h=>h[0]==="_").map(h=>h.replace(/_/,"")).forEach(h=>{if(h in r&&h in e)if(ff(r[h])&&ff(e[h])){const m=Object.keys(r[h]),y=Object.keys(e[h]);m.length!==y.length?u(h):(m.forEach(E=>{r[h][E]!==e[h][E]&&u(h)}),y.forEach(E=>{r[h][E]!==e[h][E]&&u(h)}))}else r[h]!==e[h]&&u(h)}),o}const A8=r=>{!r||r.destroyed||!r.params.virtual||r.params.virtual&&!r.params.virtual.enabled||(r.updateSlides(),r.updateProgress(),r.updateSlidesClasses(),r.parallax&&r.params.parallax&&r.params.parallax.enabled&&r.parallax.setTranslate())};function yv(){return yv=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r},yv.apply(this,arguments)}function X_(r){return r.type&&r.type.displayName&&r.type.displayName.includes("SwiperSlide")}function Q_(r){const e=[];return gr.Children.toArray(r).forEach(t=>{X_(t)?e.push(t):t.props&&t.props.children&&Q_(t.props.children).forEach(n=>e.push(n))}),e}function _8(r){const e=[],t={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return gr.Children.toArray(r).forEach(n=>{if(X_(n))e.push(n);else if(n.props&&n.props.slot&&t[n.props.slot])t[n.props.slot].push(n);else if(n.props&&n.props.children){const s=Q_(n.props.children);s.length>0?s.forEach(o=>e.push(o)):t["container-end"].push(n)}else t["container-end"].push(n)}),{slides:e,slots:t}}function L8(r,e,t){if(!t)return null;const n=y=>{let E=y;return y<0?E=e.length+y:E>=e.length&&(E=E-e.length),E},s=r.isHorizontal()?{[r.rtlTranslate?"right":"left"]:`${t.offset}px`}:{top:`${t.offset}px`},{from:o,to:u}=t,c=r.params.loop?-e.length:0,h=r.params.loop?e.length*2:e.length,m=[];for(let y=c;y<h;y+=1)y>=o&&y<=u&&m.push(e[n(y)]);return m.map((y,E)=>gr.cloneElement(y,{swiper:r,style:s,key:`slide-${E}`}))}function vp(r,e){return typeof window>"u"?Tt.useEffect(r,e):Tt.useLayoutEffect(r,e)}const J_=Tt.createContext(null),k8=Tt.createContext(null),D8=Tt.forwardRef(function(r,e){let{className:t,tag:n="div",wrapperTag:s="div",children:o,onSwiper:u,...c}=r===void 0?{}:r,h=!1;const[m,y]=Tt.useState("swiper"),[E,T]=Tt.useState(null),[R,_]=Tt.useState(!1),L=Tt.useRef(!1),M=Tt.useRef(null),F=Tt.useRef(null),Z=Tt.useRef(null),K=Tt.useRef(null),Y=Tt.useRef(null),X=Tt.useRef(null),ue=Tt.useRef(null),ie=Tt.useRef(null),{params:ye,passedParams:de,rest:Re,events:Ce}=w8(c),{slides:Ve,slots:ze}=_8(o),Qe=()=>{_(!R)};Object.assign(ye.on,{_containerClasses(Ue,He){y(He)}});const et=()=>{Object.assign(ye.on,Ce),h=!0;const Ue={...ye};if(delete Ue.wrapperClass,F.current=new iE(Ue),F.current.virtual&&F.current.params.virtual.enabled){F.current.virtual.slides=Ve;const He={cache:!1,slides:Ve,renderExternal:T,renderExternalUpdate:!1};df(F.current.params.virtual,He),df(F.current.originalParams.virtual,He)}};M.current||et(),F.current&&F.current.on("_beforeBreakpoint",Qe);const Pe=()=>{h||!Ce||!F.current||Object.keys(Ce).forEach(Ue=>{F.current.on(Ue,Ce[Ue])})},ne=()=>{!Ce||!F.current||Object.keys(Ce).forEach(Ue=>{F.current.off(Ue,Ce[Ue])})};Tt.useEffect(()=>()=>{F.current&&F.current.off("_beforeBreakpoint",Qe)}),Tt.useEffect(()=>{!L.current&&F.current&&(F.current.emitSlidesClasses(),L.current=!0)}),vp(()=>{if(e&&(e.current=M.current),!!M.current)return F.current.destroyed&&et(),C8({el:M.current,nextEl:Y.current,prevEl:X.current,paginationEl:ue.current,scrollbarEl:ie.current,swiper:F.current},ye),u&&u(F.current),()=>{F.current&&!F.current.destroyed&&F.current.destroy(!0,!1)}},[]),vp(()=>{Pe();const Ue=R8(de,Z.current,Ve,K.current,He=>He.key);return Z.current=de,K.current=Ve,Ue.length&&F.current&&!F.current.destroyed&&T8({swiper:F.current,slides:Ve,passedParams:de,changedParams:Ue,nextEl:Y.current,prevEl:X.current,scrollbarEl:ie.current,paginationEl:ue.current}),()=>{ne()}}),vp(()=>{A8(F.current)},[E]);function _e(){return ye.virtual?L8(F.current,Ve,E):Ve.map((Ue,He)=>gr.cloneElement(Ue,{swiper:F.current,swiperSlideIndex:He}))}return gr.createElement(n,yv({ref:M,className:Y_(`${m}${t?` ${t}`:""}`)},Re),gr.createElement(k8.Provider,{value:F.current},ze["container-start"],gr.createElement(s,{className:b8(ye.wrapperClass)},ze["wrapper-start"],_e(),ze["wrapper-end"]),W_(ye)&&gr.createElement(gr.Fragment,null,gr.createElement("div",{ref:X,className:"swiper-button-prev"}),gr.createElement("div",{ref:Y,className:"swiper-button-next"})),q_(ye)&&gr.createElement("div",{ref:ie,className:"swiper-scrollbar"}),K_(ye)&&gr.createElement("div",{ref:ue,className:"swiper-pagination"}),ze["container-end"]))});D8.displayName="Swiper";const I8=Tt.forwardRef(function(r,e){let{tag:t="div",children:n,className:s="",swiper:o,zoom:u,lazy:c,virtualIndex:h,swiperSlideIndex:m,...y}=r===void 0?{}:r;const E=Tt.useRef(null),[T,R]=Tt.useState("swiper-slide"),[_,L]=Tt.useState(!1);function M(Y,X,ue){X===E.current&&R(ue)}vp(()=>{if(typeof m<"u"&&(E.current.swiperSlideIndex=m),e&&(e.current=E.current),!(!E.current||!o)){if(o.destroyed){T!=="swiper-slide"&&R("swiper-slide");return}return o.on("_slideClass",M),()=>{o&&o.off("_slideClass",M)}}}),vp(()=>{o&&E.current&&!o.destroyed&&R(o.getSlideClasses(E.current))},[o]);const F={isActive:T.indexOf("swiper-slide-active")>=0,isVisible:T.indexOf("swiper-slide-visible")>=0,isPrev:T.indexOf("swiper-slide-prev")>=0,isNext:T.indexOf("swiper-slide-next")>=0},Z=()=>typeof n=="function"?n(F):n,K=()=>{L(!0)};return gr.createElement(t,yv({ref:E,className:Y_(`${T}${s?` ${s}`:""}`),"data-swiper-slide-index":h,onLoad:K},y),u&&gr.createElement(J_.Provider,{value:F},gr.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof u=="number"?u:void 0},Z(),c&&!_&&gr.createElement("div",{className:"swiper-lazy-preloader"}))),!u&&gr.createElement(J_.Provider,{value:F},Z(),c&&!_&&gr.createElement("div",{className:"swiper-lazy-preloader"})))});I8.displayName="SwiperSlide",[{key:"entryTime",title:"진입 시간",value:"",accumulate:!1},{key:"lastUpdated",title:"데이터 업데이트 시간",value:"",accumulate:!1},{key:"clientId",title:"클라이언트 ID",value:"",accumulate:!1},{key:"id",title:"ID",value:"",accumulate:!1},{key:"likeCount",title:"좋아요수",value:[0,0],accumulate:!0},{key:"commentCount",title:"댓글수",value:0,accumulate:!0},{key:"viewCount",title:"조회수",value:[0,0],accumulate:!0},{key:"watchingTime",title:"누적 WT(초)",value:0,accumulate:!1},{key:"shareCount",title:"공유수",value:0,accumulate:!0},{key:"chattingCount",title:"채팅수",value:0,accumulate:!0},{key:"productCount",title:"상품 클릭수",value:0,accumulate:!0},{key:"bannerCount",title:"배너 클릭수",value:0,type:!0},{key:"userId",title:"유저 ID",value:"",accumulate:!1},{key:"authType",title:"회원 타입",value:"",accumulate:!1},{key:"expireTime",title:"회원 만료 시간",value:"",accumulate:!1},{key:"info",title:"OS / 브라우저 정보",value:"",accumulate:!1},{key:"version",title:"플레이어 버전",value:"",accumulate:!1}].findIndex(r=>r.key==="lastUpdated");for(var ms=[],sE=0;sE<256;++sE)ms.push((sE+256).toString(16).slice(1));function P8(r,e=0){return(ms[r[e+0]]+ms[r[e+1]]+ms[r[e+2]]+ms[r[e+3]]+"-"+ms[r[e+4]]+ms[r[e+5]]+"-"+ms[r[e+6]]+ms[r[e+7]]+"-"+ms[r[e+8]]+ms[r[e+9]]+"-"+ms[r[e+10]]+ms[r[e+11]]+ms[r[e+12]]+ms[r[e+13]]+ms[r[e+14]]+ms[r[e+15]]).toLowerCase()}var Sv,M8=new Uint8Array(16);function O8(){if(!Sv&&(Sv=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Sv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Sv(M8)}var F8=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Z_={randomUUID:F8};function N8(r,e,t){if(Z_.randomUUID&&!e&&!r)return Z_.randomUUID();r=r||{};var n=r.random||(r.rng||O8)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,P8(n)}const Al={root:"_root_1a1im_2",checkbox:"_checkbox_1a1im_23",checkbox_input:"_checkbox_input_1a1im_32",checkbox_label:"_checkbox_label_1a1im_36",toggle:"_toggle_1a1im_58",toggle_input:"_toggle_input_1a1im_67",toggle_label:"_toggle_label_1a1im_72"};Tt.forwardRef(({id:r,type:e="text",autoComplete:t="off",className:n,...s},o)=>{const c=Tt.useRef(r||N8()).current;return e==="toggle"?Yt.jsxs("div",{className:`${Al.root} ${Al.toggle} ${n||""}`,children:[Yt.jsx("input",{ref:o,className:Al.toggle_input,type:"checkbox",id:c,...s}),Yt.jsx("label",{className:Al.toggle_label,htmlFor:c,children:Yt.jsx("span",{className:Al.cursor})})]}):e==="checkbox"?Yt.jsxs("div",{className:`${Al.root} ${Al.checkbox} ${n||""}`,children:[Yt.jsx("input",{ref:o,className:Al.checkbox_input,type:"checkbox",id:c,...s}),Yt.jsx("label",{className:Al.checkbox_label,htmlFor:c})]}):Yt.jsx("input",{ref:o,id:c,type:e,autoComplete:t,className:`${Al.root} ${n||""}`,...s})});function aE(r){this.message=r}aE.prototype=new Error,aE.prototype.name="InvalidCharacterError";var eL=typeof window<"u"&&window.atob&&window.atob.bind(window)||function(r){var e=String(r).replace(/=+$/,"");if(e.length%4==1)throw new aE("'atob' failed: The string to be decoded is not correctly encoded.");for(var t,n,s=0,o=0,u="";n=e.charAt(o++);~n&&(t=s%4?64*t+n:n,s++%4)?u+=String.fromCharCode(255&t>>(-2*s&6)):0)n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(n);return u};function U8(r){var e=r.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw"Illegal base64url string!"}try{return function(t){return decodeURIComponent(eL(t).replace(/(.)/g,function(n,s){var o=s.charCodeAt(0).toString(16).toUpperCase();return o.length<2&&(o="0"+o),"%"+o}))}(e)}catch{return eL(e)}}function Ev(r){this.message=r}function tL(r,e){if(typeof r!="string")throw new Ev("Invalid token specified");var t=(e=e||{}).header===!0?0:1;try{return JSON.parse(U8(r.split(".")[t]))}catch(n){throw new Ev("Invalid token specified: "+n.message)}}Ev.prototype=new Error,Ev.prototype.name="InvalidTokenError";const nL={dev:"https://dev.api.brixcloud.io/v1",stage:"https://stage.api.brixcloud.io/v1",prod:"https://api.brixcloud.io/v1"},B8={dev:"https://dev.auth.brixcloud.io/v1",stage:"https://stage.auth.brixcloud.io/v1",prod:"https://auth.brixcloud.io/v1"},$8=async({id:r,env:e})=>{const t=await fetch(nL[e]+`/public/ugc/${r}`),n=await t.json();if(!t.ok)throw n;return n},V8=async({id:r,env:e})=>{function t(o){return{statusCode:o.statusCode,success:o.success,timestamp:o.timestamp,userId:o.shortform.clientId,nickName:void 0,title:o.shortform.title,content:void 0,images:o.shortform.images,tags:o.shortform.tags,enableComment:o.shortform.enableComment,metaData:void 0,id:o.shortform.id,client:{id:o.shortform.clientId,name:void 0},products:void 0,counter:o.shortform.counter,playUrl:o.shortform.playUrl}}const n=await fetch(nL[e]+`/public/shortform/${r}?onlyOne=true`),s=await n.json();if(!n.ok)throw s;return t(s)},z8=async({clientId:r,token:e,env:t})=>{const n=`__brix_session_token_${r}`,s="__brix_session_api_status";let o=e??localStorage.getItem(n);if(o)try{tL(o).exp*1e3-Date.now()<0&&(o=null)}catch{o=null}if(!o)if(sessionStorage.getItem(s)==="pending")for(;sessionStorage.getItem(s)==="pending";)await new Promise(c=>setTimeout(c,100)),o=localStorage.getItem(n);else try{sessionStorage.setItem(n,"pending"),o=(await(await fetch(B8[t]+"/auth/token/guest",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({partner:r})})).json()).accessToken}finally{sessionStorage.setItem(n,"success")}return localStorage.setItem(n,o),tL(o)},rL=(r,e=!1)=>{const[t,n]=Tt.useState(null),[s,o]=Tt.useState(null);return Tt.useEffect(()=>{if(e)return;(async()=>{try{const c=await r();n(c),o(null)}catch(c){n(null),o(c.message)}})()},[r,e]),{data:t,error:s}};function j8({id:r,type:e="ugc",env:t,shadow:n,token:s,style:o,ratio:u,loop:c,autoplay:h,restartFromBeginning:m,className:y}){var et,Pe;const[E,T]=Tt.useState(),[R,_]=Tt.useState(0),[L,M]=Tt.useState(!0),[F,Z]=Tt.useState(!1),{data:K}=rL(Tt.useCallback(()=>e==="ugc"?$8({id:r,env:t}):V8({id:r,env:t}),[r,t]),!r),Y=Tt.useRef(),{data:X}=rL(Tt.useCallback(()=>{var ne;return z8({clientId:(ne=K==null?void 0:K.client)==null?void 0:ne.id,env:t,token:s})},[(et=K==null?void 0:K.client)==null?void 0:et.id,t,s]),!((Pe=K==null?void 0:K.client)!=null&&Pe.id)),ue=Tt.useRef(null),ie=TU({ref:ue,threshold:.1}),ye=Tt.useCallback(ne=>{T(ne),ne.loop=!!c},[]),de=Tt.useCallback(()=>{T(void 0)},[]),Re=()=>{E&&E.play()},Ce=()=>{E&&E.pause()},Ve=(ne,_e)=>{if(ne.stopPropagation(),!E)return;const Ue=_e*E.duration/100;E.currentTime=Ue},ze=ne=>{ne.stopPropagation(),E&&(E.muted=!E.muted,M(E.muted))},Qe=Tt.useMemo(()=>{var ne,_e;return t?new vU({identityPoolId:(ne=HC[t])==null?void 0:ne.identityPoolId,streamName:(_e=HC[t])==null?void 0:_e.streamName}):void 0},[t]);return Tt.useEffect(()=>{if(!E||!Qe)return;const ne=Be=>{const Je=Be.target;_(Je.currentTime/Je.duration*100)},_e=()=>{Z(!0),m&&(E.currentTime=0),Qe.start()},Ue=()=>{Z(!1),Qe.stop()},He=()=>{h?E.play():E.pause()};return E.addEventListener("loadedmetadata",He),E.addEventListener("timeupdate",ne),E.addEventListener("play",_e),E.addEventListener("pause",Ue),()=>{E.removeEventListener("loadedmetadata",He),E.removeEventListener("timeupdate",ne),E.removeEventListener("play",_e),E.removeEventListener("pause",Ue)}},[E,Qe]),Tt.useEffect(()=>{E&&(Y.current&&clearTimeout(Y.current),ie&&h&&(Y.current=setTimeout(()=>{E.play()},300)),ie||(Y.current=setTimeout(()=>{E.pause()},700)))},[ie,E]),Tt.useEffect(()=>{!t||!X||!r||!Qe||(Qe.setType(e),Qe.setId(r),Qe.setUser(X.userId,X.role),Qe.stop())},[Qe]),(K==null?void 0:K.status)==="standby"||(K==null?void 0:K.status)==="converting"?Yt.jsx("div",{className:dl.root,children:Yt.jsx("div",{className:dl.error,children:`업로드된 영상이 처리중 입니다.
311
- 잠시 후 확인해 주세요.`})}):Yt.jsx(SU,{kinesis:Qe,children:Yt.jsxs("div",{ref:ue,className:[dl.root,y??""].join(" "),style:o,children:[Yt.jsx(t2,{ratio:u,className:dl.player,controls:!1,shadow:n,src:K==null?void 0:K.playUrl,onInit:ye,onDestroy:de}),!F&&Yt.jsx("div",{className:dl.play_button,onClick:Re}),F&&Yt.jsx("div",{className:dl.pause_button,onClick:Ce}),Yt.jsx("div",{className:[dl.mute_button,L?dl.sound_off_icon:dl.sound_on_icon].join(" "),onClick:ze}),Yt.jsx(D_,{className:dl.progress,progress:R,onChangeProgress:Ve})]})})}const H8=aP(j8,{props:{id:"string",token:"string",env:"string",shadow:"boolean",ratio:"boolean",autoplay:"boolean",loop:"boolean",restartFromBeginning:"boolean",className:"string"}});customElements.define("brix-player-user",H8);const iL=Object.freeze(Object.defineProperty({__proto__:null,CognitoIdentityClient:$C,GetCredentialsForIdentityCommand:mU,GetIdCommand:gU},Symbol.toStringTag,{value:"Module"}))});
311
+ 잠시 후 확인해 주세요.`})}):Yt.jsx(SU,{kinesis:Qe,children:Yt.jsxs("div",{ref:ue,className:[dl.root,y??""].join(" "),style:o,children:[Yt.jsx(t2,{ratio:u,className:dl.player,controls:!1,shadow:n,src:K==null?void 0:K.playUrl,onInit:ye,onDestroy:de}),!F&&Yt.jsx("div",{className:dl.play_button,onClick:Re}),F&&Yt.jsx("div",{className:dl.pause_button,onClick:Ce}),Yt.jsx("div",{className:[dl.mute_button,L?dl.sound_off_icon:dl.sound_on_icon].join(" "),onClick:ze}),Yt.jsx(D_,{className:dl.progress,progress:R,onChangeProgress:Ve})]})})}const H8=aP(j8,{props:{id:"string",token:"string",env:"string",shadow:"boolean",ratio:"boolean",autoplay:"boolean",loop:"boolean",restartFromBeginning:"boolean",className:"string",type:"string"}});customElements.define("brix-player-user",H8);const iL=Object.freeze(Object.defineProperty({__proto__:null,CognitoIdentityClient:$C,GetCredentialsForIdentityCommand:mU,GetIdCommand:gU},Symbol.toStringTag,{value:"Module"}))});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@squadx_dev/brix-client-library",
3
3
  "private": false,
4
- "version": "1.51.0",
4
+ "version": "1.51.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",