@momentum-design/components 0.96.3 → 0.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +294 -253
- package/dist/browser/index.js.map +4 -4
- package/dist/components/stepper/index.d.ts +7 -0
- package/dist/components/stepper/index.js +4 -0
- package/dist/components/stepper/stepper.component.d.ts +46 -0
- package/dist/components/stepper/stepper.component.js +85 -0
- package/dist/components/stepper/stepper.constants.d.ts +6 -0
- package/dist/components/stepper/stepper.constants.js +9 -0
- package/dist/components/stepper/stepper.context.d.ts +11 -0
- package/dist/components/stepper/stepper.context.js +10 -0
- package/dist/components/stepper/stepper.styles.d.ts +2 -0
- package/dist/components/stepper/stepper.styles.js +41 -0
- package/dist/components/stepperconnector/stepperconnector.component.d.ts +4 -0
- package/dist/components/stepperconnector/stepperconnector.component.js +11 -0
- package/dist/components/stepperitem/stepperitem.component.d.ts +5 -0
- package/dist/components/stepperitem/stepperitem.component.js +14 -0
- package/dist/components/stepperitem/stepperitem.styles.js +5 -1
- package/dist/custom-elements.json +97 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/react/index.d.ts +1 -0
- package/dist/react/index.js +1 -0
- package/dist/react/stepper/index.d.ts +12 -0
- package/dist/react/stepper/index.js +21 -0
- package/package.json +1 -1
package/dist/browser/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";(()=>{var Vv=Object.create;var Il=Object.defineProperty;var Ah=Object.getOwnPropertyDescriptor;var Bv=Object.getOwnPropertyNames;var Uv=Object.getPrototypeOf,Gv=Object.prototype.hasOwnProperty;var Hv=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var jv=(l,i,e,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of Bv(i))!Gv.call(l,n)&&n!==e&&Il(l,n,{get:()=>i[n],enumerable:!(s=Ah(i,n))||s.enumerable});return l};var Yv=(l,i,e)=>(e=l!=null?Vv(Uv(l)):{},jv(i||!l||!l.__esModule?Il(e,"default",{value:l,enumerable:!0}):e,l));var f=(l,i,e,s)=>{for(var n=s>1?void 0:s?Ah(i,e):i,h=l.length-1,m;h>=0;h--)(m=l[h])&&(n=(s?m(i,e,n):m(n))||n);return s&&n&&Il(i,e,n),n};var up=Hv((Vs,pn)=>{typeof navigator<"u"&&function(l,i){typeof Vs=="object"&&typeof pn<"u"?pn.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(Vs,function(){"use strict";var l="http://www.w3.org/2000/svg",i="",e=!1,s=-999999,n=function(r){e=!!r},h=function(){return e},m=function(r){i=r},x=function(){return i};function R(t){return document.createElement(t)}function $(t,r){var o,a=t.length,d;for(o=0;o<a;o+=1){d=t[o].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function Y(t,r){return Object.getOwnPropertyDescriptor(t,r)}function K(t){function r(){}return r.prototype=t,r}var at=function(){function t(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(o){this.audios.push(o)},pause:function(){var o,a=this.audios.length;for(o=0;o<a;o+=1)this.audios[o].pause()},resume:function(){var o,a=this.audios.length;for(o=0;o<a;o+=1)this.audios[o].resume()},setRate:function(o){var a,d=this.audios.length;for(a=0;a<d;a+=1)this.audios[a].setRate(o)},createAudio:function(o){return this.audioFactory?this.audioFactory(o):window.Howl?new window.Howl({src:[o]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(o){this.audioFactory=o},setVolume:function(o){this._volume=o,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var o,a=this.audios.length;for(o=0;o<a;o+=1)this.audios[o].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),J=function(){function t(o,a){var d=0,c=[],u;switch(o){case"int16":case"uint8c":u=1;break;default:u=1.1;break}for(d=0;d<a;d+=1)c.push(u);return c}function r(o,a){return o==="float32"?new Float32Array(a):o==="int16"?new Int16Array(a):o==="uint8c"?new Uint8ClampedArray(a):t(o,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:t}();function et(t){return Array.apply(null,{length:t})}function ht(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(o){return typeof o}:ht=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ht(t)}var Tt=!0,yt=null,xt=null,kt="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ot=!1,Dt=Math.pow,Ee=Math.sqrt,re=Math.floor,Qe=Math.max,Ne=Math.min,Fe={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,o=t.length;for(r=0;r<o;r+=1)Fe[t[r]]=Math[t[r]]})();function tr(){return{}}Fe.random=Math.random,Fe.abs=function(t){var r=ht(t);if(r==="object"&&t.length){var o=et(t.length),a,d=t.length;for(a=0;a<d;a+=1)o[a]=Math.abs(t[a]);return o}return Math.abs(t)};var er=150,_t=Math.PI/180,pe=.5519;function $e(t){Ot=!!t}function rr(t){return Ot?Math.round(t):t}function _r(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function ze(t,r,o,a){this.type=t,this.currentTime=r,this.totalTime=o,this.direction=a<0?-1:1}function xa(t,r){this.type=t,this.direction=r<0?-1:1}function Ld(t,r,o,a){this.type=t,this.currentLoop=o,this.totalLoops=r,this.direction=a<0?-1:1}function Nd(t,r,o){this.type=t,this.firstFrame=r,this.totalFrames=o}function Rd(t,r){this.type=t,this.target=r}function Vf(t,r){this.type="renderFrameError",this.nativeError=t,this.currentTime=r}function Bf(t){this.type="configError",this.nativeError=t}function wE(t,r){this.type=t,this.nativeError=r}var Te=function(){var t=0;return function(){return t+=1,kt+"__lottie_element_"+t}}();function ml(t,r,o){var a,d,c,u,T,v,I,w;switch(u=Math.floor(t*6),T=t*6-u,v=o*(1-r),I=o*(1-T*r),w=o*(1-(1-T)*r),u%6){case 0:a=o,d=w,c=v;break;case 1:a=I,d=o,c=v;break;case 2:a=v,d=o,c=w;break;case 3:a=v,d=I,c=o;break;case 4:a=w,d=v,c=o;break;case 5:a=o,d=v,c=I;break;default:break}return[a,d,c]}function ul(t,r,o){var a=Math.max(t,r,o),d=Math.min(t,r,o),c=a-d,u,T=a===0?0:c/a,v=a/255;switch(a){case d:u=0;break;case t:u=r-o+c*(r<o?6:0),u/=6*c;break;case r:u=o-t+c*2,u/=6*c;break;case o:u=t-r+c*4,u/=6*c;break;default:break}return[u,T,v]}function Md(t,r){var o=ul(t[0]*255,t[1]*255,t[2]*255);return o[1]+=r,o[1]>1?o[1]=1:o[1]<=0&&(o[1]=0),ml(o[0],o[1],o[2])}function Od(t,r){var o=ul(t[0]*255,t[1]*255,t[2]*255);return o[2]+=r,o[2]>1?o[2]=1:o[2]<0&&(o[2]=0),ml(o[0],o[1],o[2])}function Pd(t,r){var o=ul(t[0]*255,t[1]*255,t[2]*255);return o[0]+=r/360,o[0]>1?o[0]-=1:o[0]<0&&(o[0]+=1),ml(o[0],o[1],o[2])}var LE=function(){var t=[],r,o;for(r=0;r<256;r+=1)o=r.toString(16),t[r]=o.length===1?"0"+o:o;return function(a,d,c){return a<0&&(a=0),d<0&&(d=0),c<0&&(c=0),"#"+t[a]+t[d]+t[c]}}(),Uf=function(r){Tt=!!r},Gf=function(){return Tt},Hf=function(r){yt=r},Aa=function(){return yt},NE=function(r){xt=r},Dd=function(){return xt},_a=function(r){er=r},ds=function(){return er},jf=function(r){kt=r},RE=function(){return kt};function gt(t){return document.createElementNS(l,t)}function Sa(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Sa=function(o){return typeof o}:Sa=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Sa(t)}var hs=function(){var t=1,r=[],o,a,d={onmessage:function(){},postMessage:function(N){o({data:N})}},c={postMessage:function(N){d.onmessage({data:N})}};function u(E){if(window.Worker&&window.Blob&&h()){var N=new Blob(["var _workerSelf = self; self.onmessage = ",E.toString()],{type:"text/javascript"}),P=URL.createObjectURL(N);return new Worker(P)}return o=E,d}function T(){a||(a=u(function(N){function P(){function z(X,_){var O,p,b=X.length,U,F,st,mt;for(p=0;p<b;p+=1)if(O=X[p],"ks"in O&&!O.completed){if(O.completed=!0,O.hasMask){var ft=O.masksProperties;for(F=ft.length,U=0;U<F;U+=1)if(ft[U].pt.k.i)k(ft[U].pt.k);else for(mt=ft[U].pt.k.length,st=0;st<mt;st+=1)ft[U].pt.k[st].s&&k(ft[U].pt.k[st].s[0]),ft[U].pt.k[st].e&&k(ft[U].pt.k[st].e[0])}O.ty===0?(O.layers=y(O.refId,_),z(O.layers,_)):O.ty===4?A(O.shapes):O.ty===5&&bt(O)}}function C(X,_){if(X){var O=0,p=X.length;for(O=0;O<p;O+=1)X[O].t===1&&(X[O].data.layers=y(X[O].data.refId,_),z(X[O].data.layers,_))}}function S(X,_){for(var O=0,p=_.length;O<p;){if(_[O].id===X)return _[O];O+=1}return null}function y(X,_){var O=S(X,_);return O?O.layers.__used?JSON.parse(JSON.stringify(O.layers)):(O.layers.__used=!0,O.layers):null}function A(X){var _,O=X.length,p,b;for(_=O-1;_>=0;_-=1)if(X[_].ty==="sh")if(X[_].ks.k.i)k(X[_].ks.k);else for(b=X[_].ks.k.length,p=0;p<b;p+=1)X[_].ks.k[p].s&&k(X[_].ks.k[p].s[0]),X[_].ks.k[p].e&&k(X[_].ks.k[p].e[0]);else X[_].ty==="gr"&&A(X[_].it)}function k(X){var _,O=X.i.length;for(_=0;_<O;_+=1)X.i[_][0]+=X.v[_][0],X.i[_][1]+=X.v[_][1],X.o[_][0]+=X.v[_][0],X.o[_][1]+=X.v[_][1]}function D(X,_){var O=_?_.split("."):[100,100,100];return X[0]>O[0]?!0:O[0]>X[0]?!1:X[1]>O[1]?!0:O[1]>X[1]?!1:X[2]>O[2]?!0:O[2]>X[2]?!1:null}var V=function(){var X=[4,4,14];function _(p){var b=p.t.d;p.t.d={k:[{s:b,t:0}]}}function O(p){var b,U=p.length;for(b=0;b<U;b+=1)p[b].ty===5&&_(p[b])}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}(),G=function(){var X=[4,7,99];return function(_){if(_.chars&&!D(X,_.v)){var O,p=_.chars.length;for(O=0;O<p;O+=1){var b=_.chars[O];b.data&&b.data.shapes&&(A(b.data.shapes),b.data.ip=0,b.data.op=99999,b.data.st=0,b.data.sr=1,b.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},_.chars[O].t||(b.data.shapes.push({ty:"no"}),b.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),Z=function(){var X=[5,7,15];function _(p){var b=p.t.p;typeof b.a=="number"&&(b.a={a:0,k:b.a}),typeof b.p=="number"&&(b.p={a:0,k:b.p}),typeof b.r=="number"&&(b.r={a:0,k:b.r})}function O(p){var b,U=p.length;for(b=0;b<U;b+=1)p[b].ty===5&&_(p[b])}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}(),ut=function(){var X=[4,1,9];function _(p){var b,U=p.length,F,st;for(b=0;b<U;b+=1)if(p[b].ty==="gr")_(p[b].it);else if(p[b].ty==="fl"||p[b].ty==="st")if(p[b].c.k&&p[b].c.k[0].i)for(st=p[b].c.k.length,F=0;F<st;F+=1)p[b].c.k[F].s&&(p[b].c.k[F].s[0]/=255,p[b].c.k[F].s[1]/=255,p[b].c.k[F].s[2]/=255,p[b].c.k[F].s[3]/=255),p[b].c.k[F].e&&(p[b].c.k[F].e[0]/=255,p[b].c.k[F].e[1]/=255,p[b].c.k[F].e[2]/=255,p[b].c.k[F].e[3]/=255);else p[b].c.k[0]/=255,p[b].c.k[1]/=255,p[b].c.k[2]/=255,p[b].c.k[3]/=255}function O(p){var b,U=p.length;for(b=0;b<U;b+=1)p[b].ty===4&&_(p[b].shapes)}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}(),dt=function(){var X=[4,4,18];function _(p){var b,U=p.length,F,st;for(b=U-1;b>=0;b-=1)if(p[b].ty==="sh")if(p[b].ks.k.i)p[b].ks.k.c=p[b].closed;else for(st=p[b].ks.k.length,F=0;F<st;F+=1)p[b].ks.k[F].s&&(p[b].ks.k[F].s[0].c=p[b].closed),p[b].ks.k[F].e&&(p[b].ks.k[F].e[0].c=p[b].closed);else p[b].ty==="gr"&&_(p[b].it)}function O(p){var b,U,F=p.length,st,mt,ft,Ct;for(U=0;U<F;U+=1){if(b=p[U],b.hasMask){var wt=b.masksProperties;for(mt=wt.length,st=0;st<mt;st+=1)if(wt[st].pt.k.i)wt[st].pt.k.c=wt[st].cl;else for(Ct=wt[st].pt.k.length,ft=0;ft<Ct;ft+=1)wt[st].pt.k[ft].s&&(wt[st].pt.k[ft].s[0].c=wt[st].cl),wt[st].pt.k[ft].e&&(wt[st].pt.k[ft].e[0].c=wt[st].cl)}b.ty===4&&_(b.shapes)}}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}();function tt(X){X.__complete||(ut(X),V(X),G(X),Z(X),dt(X),z(X.layers,X.assets),C(X.chars,X.assets),X.__complete=!0)}function bt(X){X.t.a.length===0&&"m"in X.t.p}var lt={};return lt.completeData=tt,lt.checkColors=ut,lt.checkChars=G,lt.checkPathProperties=Z,lt.checkShapes=dt,lt.completeLayers=z,lt}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(S){var y=S.getResponseHeader("content-type");return y&&S.responseType==="json"&&y.indexOf("json")!==-1||S.response&&Sa(S.response)==="object"?S.response:S.response&&typeof S.response=="string"?JSON.parse(S.response):S.responseText?JSON.parse(S.responseText):null}function C(S,y,A,k){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(G){k&&k(G)}};try{V.open(["G","E","T"].join(""),S,!0)}catch{V.open(["G","E","T"].join(""),y+"/"+S,!0)}V.send()}return{load:C}}()),N.data.type==="loadAnimation")c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})});else if(N.data.type==="complete"){var M=N.data.animation;c.dataManager.completeData(M),c.postMessage({id:N.data.id,payload:M,status:"success"})}else N.data.type==="loadData"&&c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})})}),a.onmessage=function(E){var N=E.data,P=N.id,M=r[P];r[P]=null,N.status==="success"?M.onComplete(N.payload):M.onError&&M.onError()})}function v(E,N){t+=1;var P="processId_"+t;return r[P]={onComplete:E,onError:N},P}function I(E,N,P){T();var M=v(N,P);a.postMessage({type:"loadAnimation",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function w(E,N,P){T();var M=v(N,P);a.postMessage({type:"loadData",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function B(E,N,P){T();var M=v(N,P);a.postMessage({type:"complete",animation:E,id:M})}return{loadAnimation:I,loadData:w,completeAnimation:B}}(),Yf=function(){var t=function(){var C=R("canvas");C.width=1,C.height=1;var S=C.getContext("2d");return S.fillStyle="rgba(0,0,0,0)",S.fillRect(0,0,1,1),C}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function o(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(C,S,y){var A="";if(C.e)A=C.p;else if(S){var k=C.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=S+k}else A=y,A+=C.u?C.u:"",A+=C.p;return A}function d(C){var S=0,y=setInterval((function(){var A=C.getBBox();(A.width||S>500)&&(this._imageLoaded(),clearInterval(y)),S+=1}).bind(this),50)}function c(C){var S=a(C,this.assetsPath,this.path),y=gt("image");Gt?this.testImageLoaded(y):y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=t,this._imageLoaded()}).bind(this),!1),y.setAttributeNS("http://www.w3.org/1999/xlink","href",S),this._elementHelper.append?this._elementHelper.append(y):this._elementHelper.appendChild(y);var A={img:y,assetData:C};return A}function u(C){var S=a(C,this.assetsPath,this.path),y=R("img");y.crossOrigin="anonymous",y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=t,this._imageLoaded()}).bind(this),!1),y.src=S;var A={img:y,assetData:C};return A}function T(C){var S={assetData:C},y=a(C,this.assetsPath,this.path);return hs.loadData(y,(function(A){S.img=A,this._footageLoaded()}).bind(this),(function(){S.img={},this._footageLoaded()}).bind(this)),S}function v(C,S){this.imagesLoadedCb=S;var y,A=C.length;for(y=0;y<A;y+=1)C[y].layers||(!C[y].t||C[y].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(C[y]))):C[y].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(C[y]))))}function I(C){this.path=C||""}function w(C){this.assetsPath=C||""}function B(C){for(var S=0,y=this.images.length;S<y;){if(this.images[S].assetData===C)return this.images[S].img;S+=1}return null}function E(){this.imagesLoadedCb=null,this.images.length=0}function N(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(C,S){C==="svg"?(this._elementHelper=S,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=o.bind(this),this.testImageLoaded=d.bind(this),this.createFootageData=T.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:v,setAssetsPath:w,setPath:I,loadedImages:N,loadedFootages:P,destroy:E,getAsset:B,createImgData:u,createImageData:c,imageLoaded:r,footageLoaded:o,setCacheType:M},z}();function Fd(){}Fd.prototype={triggerEvent:function(r,o){if(this._cbs[r])for(var a=this._cbs[r],d=0;d<a.length;d+=1)a[d](o)},addEventListener:function(r,o){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(o),(function(){this.removeEventListener(r,o)}).bind(this)},removeEventListener:function(r,o){if(!o)this._cbs[r]=null;else if(this._cbs[r]){for(var a=0,d=this._cbs[r].length;a<d;)this._cbs[r][a]===o&&(this._cbs[r].splice(a,1),a-=1,d-=1),a+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Wf=function(){function t(r){for(var o=r.split(`\r
|
2
|
-
`),a={},d,c=0,u=0;u<o.length;u+=1)d=o[u].split(":"),d.length===2&&(a[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(r){for(var o=[],a=0;a<r.length;a+=1){var d=r[a],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[a].cm)}catch{try{c.payload=t(r[a].cm)}catch{c.payload={name:r[a].cm}}}o.push(c)}return o}}(),qf=function(){function t(r){this.compositions.push(r)}return function(){function r(o){for(var a=0,d=this.compositions.length;a<d;){if(this.compositions[a].data&&this.compositions[a].data.nm===o)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=t,r}}(),ps={},Kf=function(r,o){ps[r]=o};function Xf(t){return ps[t]}function Zf(){if(ps.canvas)return"canvas";for(var t in ps)if(ps[t])return t;return""}function ms(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ms=function(o){return typeof o}:ms=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ms(t)}var pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Te(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Gf(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=qf(),this.imagePreloader=new Yf,this.audioController=at(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ze("drawnFrame",0,0,0),this.expressionsPlugin=Aa()};$([Fd],pt),pt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var r="svg";t.animType?r=t.animType:t.renderer&&(r=t.renderer);var o=Xf(r);this.renderer=new o(this,t.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),hs.loadAnimation(t.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(t){hs.completeAnimation(t,this.configAnimation)},pt.prototype.setData=function(t,r){r&&ms(r)!=="object"&&(r=JSON.parse(r));var o={wrapper:t,animationData:r},a=t.attributes;o.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",o.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:Zf()||"canvas";var d=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";d==="false"?o.loop=!1:d==="true"?o.loop=!0:d!==""&&(o.loop=parseInt(d,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;o.autoplay=c!=="false",o.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var u=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";u==="false"&&(o.prerender=!1),o.path?this.setParams(o):this.trigger("destroy")},pt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var r=this.animationData.layers,o,a=r.length,d=t.layers,c,u=d.length;for(c=0;c<u;c+=1)for(o=0;o<a;){if(r[o].id===d[c].id){r[o]=d[c];break}o+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(a=t.assets.length,o=0;o<a;o+=1)this.animationData.assets.push(t.assets[o]);this.animationData.__complete=!1,hs.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(t){this.animationData=t;var r=Aa();r&&r.initExpressions(this),this.loadNextSegment()},pt.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=t.shift();this.timeCompleted=r.time*this.frameRate;var o=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,hs.loadData(o,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=Wf(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=Aa();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(t,r){var o=typeof t=="number"?t:void 0,a=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(o,a)},pt.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},pt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},pt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},pt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.prototype.getMarkerData=function(t){for(var r,o=0;o<this.markers.length;o+=1)if(r=this.markers[o],r.payload&&r.payload.name===t)return r;return null},pt.prototype.goToAndStop=function(t,r,o){if(!(o&&this.name!==o)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(t,r,o){if(!(o&&this.name!==o)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(a,r,o);this.play()}},pt.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+t*this.frameModifier,o=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(o=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(o=!0,r=0)):this.setCurrentRawFrameValue(r),o&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},pt.prototype.adjustSegment=function(t,r){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},pt.prototype.setSegment=function(t,r){var o=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?o=t:this.currentRawFrame+this.firstFrame>r&&(o=r-t)),this.firstFrame=t,this.totalFrames=r-t,this.timeCompleted=this.totalFrames,o!==-1&&this.goToAndStop(o,!0)},pt.prototype.playSegments=function(t,r){if(r&&(this.segments.length=0),ms(t[0])==="object"){var o,a=t.length;for(o=0;o<a;o+=1)this.segments.push(t[o])}else this.segments.push(t);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},pt.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},pt.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},pt.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},pt.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},pt.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},pt.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(t){this.loop=t},pt.prototype.setVolume=function(t,r){r&&this.name!==r||this.audioController.setVolume(t)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},pt.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.prototype.getAssetsPath=function(t){var r="";if(t.e)r=t.p;else if(this.assetsPath){var o=t.p;o.indexOf("images/")!==-1&&(o=o.split("/")[1]),r=this.assetsPath+o}else r=this.path,r+=t.u?t.u:"",r+=t.p;return r},pt.prototype.getAssetData=function(t){for(var r=0,o=this.assets.length;r<o;){if(t===this.assets[r].id)return this.assets[r];r+=1}return null},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(t,r,o){try{var a=this.renderer.getElementByPath(t);a.updateDocumentData(r,o)}catch{}},pt.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new ze(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new Ld(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new xa(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new Nd(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new Rd(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ze(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Ld(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new xa(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Nd(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Rd(t,this))},pt.prototype.triggerRenderFrameError=function(t){var r=new Vf(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(t){var r=new Bf(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=function(){var t={},r=[],o=0,a=0,d=0,c=!0,u=!1;function T(_){for(var O=0,p=_.target;O<a;)r[O].animation===p&&(r.splice(O,1),O-=1,a-=1,p.isPaused||B()),O+=1}function v(_,O){if(!_)return null;for(var p=0;p<a;){if(r[p].elem===_&&r[p].elem!==null)return r[p].animation;p+=1}var b=new pt;return E(b,_),b.setData(_,O),b}function I(){var _,O=r.length,p=[];for(_=0;_<O;_+=1)p.push(r[_].animation);return p}function w(){d+=1,ut()}function B(){d-=1}function E(_,O){_.addEventListener("destroy",T),_.addEventListener("_active",w),_.addEventListener("_idle",B),r.push({elem:O,animation:_}),a+=1}function N(_){var O=new pt;return E(O,null),O.setParams(_),O}function P(_,O){var p;for(p=0;p<a;p+=1)r[p].animation.setSpeed(_,O)}function M(_,O){var p;for(p=0;p<a;p+=1)r[p].animation.setDirection(_,O)}function z(_){var O;for(O=0;O<a;O+=1)r[O].animation.play(_)}function C(_){var O=_-o,p;for(p=0;p<a;p+=1)r[p].animation.advanceTime(O);o=_,d&&!u?window.requestAnimationFrame(C):c=!0}function S(_){o=_,window.requestAnimationFrame(C)}function y(_){var O;for(O=0;O<a;O+=1)r[O].animation.pause(_)}function A(_,O,p){var b;for(b=0;b<a;b+=1)r[b].animation.goToAndStop(_,O,p)}function k(_){var O;for(O=0;O<a;O+=1)r[O].animation.stop(_)}function D(_){var O;for(O=0;O<a;O+=1)r[O].animation.togglePause(_)}function V(_){var O;for(O=a-1;O>=0;O-=1)r[O].animation.destroy(_)}function G(_,O,p){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=b.length;for(U=0;U<F;U+=1)p&&b[U].setAttribute("data-bm-type",p),v(b[U],_);if(O&&F===0){p||(p="svg");var st=document.getElementsByTagName("body")[0];st.innerText="";var mt=R("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",p),st.appendChild(mt),v(mt,_)}}function Z(){var _;for(_=0;_<a;_+=1)r[_].animation.resize()}function ut(){!u&&d&&c&&(window.requestAnimationFrame(S),c=!1)}function dt(){u=!0}function tt(){u=!1,ut()}function bt(_,O){var p;for(p=0;p<a;p+=1)r[p].animation.setVolume(_,O)}function lt(_){var O;for(O=0;O<a;O+=1)r[O].animation.mute(_)}function X(_){var O;for(O=0;O<a;O+=1)r[O].animation.unmute(_)}return t.registerAnimation=v,t.loadAnimation=N,t.setSpeed=P,t.setDirection=M,t.play=z,t.pause=y,t.stop=k,t.togglePause=D,t.searchAnimations=G,t.resize=Z,t.goToAndStop=A,t.destroy=V,t.freeze=dt,t.unfreeze=tt,t.setVolume=bt,t.mute=lt,t.unmute=X,t.getRegisteredAnimations=I,t}(),us=function(){var t={};t.getBezierEasing=o;var r={};function o(S,y,A,k,D){var V=D||("bez_"+S+"_"+y+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var G=new C([S,y,A,k]);return r[V]=G,G}var a=4,d=.001,c=1e-7,u=10,T=11,v=1/(T-1),I=typeof Float32Array=="function";function w(S,y){return 1-3*y+3*S}function B(S,y){return 3*y-6*S}function E(S){return 3*S}function N(S,y,A){return((w(y,A)*S+B(y,A))*S+E(y))*S}function P(S,y,A){return 3*w(y,A)*S*S+2*B(y,A)*S+E(y)}function M(S,y,A,k,D){var V,G,Z=0;do G=y+(A-y)/2,V=N(G,k,D)-S,V>0?A=G:y=G;while(Math.abs(V)>c&&++Z<u);return G}function z(S,y,A,k){for(var D=0;D<a;++D){var V=P(y,A,k);if(V===0)return y;var G=N(y,A,k)-S;y-=G/V}return y}function C(S){this._p=S,this._mSampleValues=I?new Float32Array(T):new Array(T),this._precomputed=!1,this.get=this.get.bind(this)}return C.prototype={get:function(y){var A=this._p[0],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?y:y===0?0:y===1?1:N(this._getTForX(y),k,V)},_precompute:function(){var y=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],k=0;k<T;++k)this._mSampleValues[k]=N(k*v,y,A)},_getTForX:function(y){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,G=1,Z=T-1;G!==Z&&D[G]<=y;++G)V+=v;--G;var ut=(y-D[G])/(D[G+1]-D[G]),dt=V+ut*v,tt=P(dt,A,k);return tt>=d?z(y,dt,A,k):tt===0?dt:M(y,V,V+v,A,k)}},t}(),$d=function(){function t(r){return r.concat(et(r.length))}return{double:t}}(),Ia=function(){return function(t,r,o){var a=0,d=t,c=et(d),u={newElement:T,release:v};function T(){var I;return a?(a-=1,I=c[a]):I=r(),I}function v(I){a===d&&(c=$d.double(c),d*=2),o&&o(I),c[a]=I,a+=1}return u}}(),zd=function(){function t(){return{addedLength:0,percents:J("float32",ds()),lengths:J("float32",ds())}}return Ia(8,t)}(),Vd=function(){function t(){return{lengths:[],totalLength:0}}function r(o){var a,d=o.lengths.length;for(a=0;a<d;a+=1)zd.release(o.lengths[a]);o.lengths.length=0}return Ia(8,t,r)}();function Jf(){var t=Math;function r(E,N,P,M,z,C){var S=E*M+N*z+P*C-z*M-C*E-P*N;return S>-.001&&S<.001}function o(E,N,P,M,z,C,S,y,A){if(P===0&&C===0&&A===0)return r(E,N,M,z,S,y);var k=t.sqrt(t.pow(M-E,2)+t.pow(z-N,2)+t.pow(C-P,2)),D=t.sqrt(t.pow(S-E,2)+t.pow(y-N,2)+t.pow(A-P,2)),V=t.sqrt(t.pow(S-M,2)+t.pow(y-z,2)+t.pow(A-C,2)),G;return k>D?k>V?G=k-D-V:G=V-D-k:V>D?G=V-D-k:G=D-k-V,G>-1e-4&&G<1e-4}var a=function(){return function(E,N,P,M){var z=ds(),C,S,y,A,k,D=0,V,G=[],Z=[],ut=zd.newElement();for(y=P.length,C=0;C<z;C+=1){for(k=C/(z-1),V=0,S=0;S<y;S+=1)A=Dt(1-k,3)*E[S]+3*Dt(1-k,2)*k*P[S]+3*(1-k)*Dt(k,2)*M[S]+Dt(k,3)*N[S],G[S]=A,Z[S]!==null&&(V+=Dt(G[S]-Z[S],2)),Z[S]=G[S];V&&(V=Ee(V),D+=V),ut.percents[C]=k,ut.lengths[C]=D}return ut.addedLength=D,ut}}();function d(E){var N=Vd.newElement(),P=E.c,M=E.v,z=E.o,C=E.i,S,y=E._length,A=N.lengths,k=0;for(S=0;S<y-1;S+=1)A[S]=a(M[S],M[S+1],z[S],C[S+1]),k+=A[S].addedLength;return P&&y&&(A[S]=a(M[S],M[0],z[S],C[0]),k+=A[S].addedLength),N.totalLength=k,N}function c(E){this.segmentLength=0,this.points=new Array(E)}function u(E,N){this.partialLength=E,this.point=N}var T=function(){var E={};return function(N,P,M,z){var C=(N[0]+"_"+N[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!E[C]){var S=ds(),y,A,k,D,V,G=0,Z,ut,dt=null;N.length===2&&(N[0]!==P[0]||N[1]!==P[1])&&r(N[0],N[1],P[0],P[1],N[0]+M[0],N[1]+M[1])&&r(N[0],N[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(S=2);var tt=new c(S);for(k=M.length,y=0;y<S;y+=1){for(ut=et(k),V=y/(S-1),Z=0,A=0;A<k;A+=1)D=Dt(1-V,3)*N[A]+3*Dt(1-V,2)*V*(N[A]+M[A])+3*(1-V)*Dt(V,2)*(P[A]+z[A])+Dt(V,3)*P[A],ut[A]=D,dt!==null&&(Z+=Dt(ut[A]-dt[A],2));Z=Ee(Z),G+=Z,tt.points[y]=new u(Z,ut),dt=ut}tt.segmentLength=G,E[C]=tt}return E[C]}}();function v(E,N){var P=N.percents,M=N.lengths,z=P.length,C=re((z-1)*E),S=E*N.addedLength,y=0;if(C===z-1||C===0||S===M[C])return P[C];for(var A=M[C]>S?-1:1,k=!0;k;)if(M[C]<=S&&M[C+1]>S?(y=(S-M[C])/(M[C+1]-M[C]),k=!1):C+=A,C<0||C>=z-1){if(C===z-1)return P[C];k=!1}return P[C]+(P[C+1]-P[C])*y}function I(E,N,P,M,z,C){var S=v(z,C),y=1-S,A=t.round((y*y*y*E[0]+(S*y*y+y*S*y+y*y*S)*P[0]+(S*S*y+y*S*S+S*y*S)*M[0]+S*S*S*N[0])*1e3)/1e3,k=t.round((y*y*y*E[1]+(S*y*y+y*S*y+y*y*S)*P[1]+(S*S*y+y*S*S+S*y*S)*M[1]+S*S*S*N[1])*1e3)/1e3;return[A,k]}var w=J("float32",8);function B(E,N,P,M,z,C,S){z<0?z=0:z>1&&(z=1);var y=v(z,S);C=C>1?1:C;var A=v(C,S),k,D=E.length,V=1-y,G=1-A,Z=V*V*V,ut=y*V*V*3,dt=y*y*V*3,tt=y*y*y,bt=V*V*G,lt=y*V*G+V*y*G+V*V*A,X=y*y*G+V*y*A+y*V*A,_=y*y*A,O=V*G*G,p=y*G*G+V*A*G+V*G*A,b=y*A*G+V*A*A+y*G*A,U=y*A*A,F=G*G*G,st=A*G*G+G*A*G+G*G*A,mt=A*A*G+G*A*A+A*G*A,ft=A*A*A;for(k=0;k<D;k+=1)w[k*4]=t.round((Z*E[k]+ut*P[k]+dt*M[k]+tt*N[k])*1e3)/1e3,w[k*4+1]=t.round((bt*E[k]+lt*P[k]+X*M[k]+_*N[k])*1e3)/1e3,w[k*4+2]=t.round((O*E[k]+p*P[k]+b*M[k]+U*N[k])*1e3)/1e3,w[k*4+3]=t.round((F*E[k]+st*P[k]+mt*M[k]+ft*N[k])*1e3)/1e3;return w}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:I,buildBezierData:T,pointOnLine2D:r,pointOnLine3D:o}}var ur=Jf(),Si=s,Bd=Math.abs;function Ud(t,r){var o=this.offsetTime,a;this.propType==="multidimensional"&&(a=J("float32",this.pv.length));for(var d=r.lastIndex,c=d,u=this.keyframes.length-1,T=!0,v,I,w;T;){if(v=this.keyframes[c],I=this.keyframes[c+1],c===u-1&&t>=I.t-o){v.h&&(v=I),d=0;break}if(I.t-o>t){d=c;break}c<u-1?c+=1:(d=0,T=!1)}w=this.keyframesMetadata[c]||{};var B,E,N,P,M,z,C=I.t-o,S=v.t-o,y;if(v.to){w.bezierData||(w.bezierData=ur.buildBezierData(v.s,I.s||v.e,v.to,v.ti));var A=w.bezierData;if(t>=C||t<S){var k=t>=C?A.points.length-1:0;for(E=A.points[k].point.length,B=0;B<E;B+=1)a[B]=A.points[k].point[B]}else{w.__fnct?z=w.__fnct:(z=us.getBezierEasing(v.o.x,v.o.y,v.i.x,v.i.y,v.n).get,w.__fnct=z),N=z((t-S)/(C-S));var D=A.segmentLength*N,V,G=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastPoint:0,T=!0,P=A.points.length;T;){if(G+=A.points[M].partialLength,D===0||N===0||M===A.points.length-1){for(E=A.points[M].point.length,B=0;B<E;B+=1)a[B]=A.points[M].point[B];break}else if(D>=G&&D<G+A.points[M+1].partialLength){for(V=(D-G)/A.points[M+1].partialLength,E=A.points[M].point.length,B=0;B<E;B+=1)a[B]=A.points[M].point[B]+(A.points[M+1].point[B]-A.points[M].point[B])*V;break}M<P-1?M+=1:T=!1}r._lastPoint=M,r._lastAddedLength=G-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var Z,ut,dt,tt,bt;if(u=v.s.length,y=I.s||v.e,this.sh&&v.h!==1)if(t>=C)a[0]=y[0],a[1]=y[1],a[2]=y[2];else if(t<=S)a[0]=v.s[0],a[1]=v.s[1],a[2]=v.s[2];else{var lt=Gd(v.s),X=Gd(y),_=(t-S)/(C-S);tv(a,Qf(lt,X,_))}else for(c=0;c<u;c+=1)v.h!==1&&(t>=C?N=1:t<S?N=0:(v.o.x.constructor===Array?(w.__fnct||(w.__fnct=[]),w.__fnct[c]?z=w.__fnct[c]:(Z=v.o.x[c]===void 0?v.o.x[0]:v.o.x[c],ut=v.o.y[c]===void 0?v.o.y[0]:v.o.y[c],dt=v.i.x[c]===void 0?v.i.x[0]:v.i.x[c],tt=v.i.y[c]===void 0?v.i.y[0]:v.i.y[c],z=us.getBezierEasing(Z,ut,dt,tt).get,w.__fnct[c]=z)):w.__fnct?z=w.__fnct:(Z=v.o.x,ut=v.o.y,dt=v.i.x,tt=v.i.y,z=us.getBezierEasing(Z,ut,dt,tt).get,v.keyframeMetadata=z),N=z((t-S)/(C-S)))),y=I.s||v.e,bt=v.h===1?v.s[c]:v.s[c]+(y[c]-v.s[c])*N,this.propType==="multidimensional"?a[c]=bt:a=bt}return r.lastIndex=d,a}function Qf(t,r,o){var a=[],d=t[0],c=t[1],u=t[2],T=t[3],v=r[0],I=r[1],w=r[2],B=r[3],E,N,P,M,z;return N=d*v+c*I+u*w+T*B,N<0&&(N=-N,v=-v,I=-I,w=-w,B=-B),1-N>1e-6?(E=Math.acos(N),P=Math.sin(E),M=Math.sin((1-o)*E)/P,z=Math.sin(o*E)/P):(M=1-o,z=o),a[0]=M*d+z*v,a[1]=M*c+z*I,a[2]=M*u+z*w,a[3]=M*T+z*B,a}function tv(t,r){var o=r[0],a=r[1],d=r[2],c=r[3],u=Math.atan2(2*a*c-2*o*d,1-2*a*a-2*d*d),T=Math.asin(2*o*a+2*d*c),v=Math.atan2(2*o*c-2*a*d,1-2*o*o-2*d*d);t[0]=u/_t,t[1]=T/_t,t[2]=v/_t}function Gd(t){var r=t[0]*_t,o=t[1]*_t,a=t[2]*_t,d=Math.cos(r/2),c=Math.cos(o/2),u=Math.cos(a/2),T=Math.sin(r/2),v=Math.sin(o/2),I=Math.sin(a/2),w=d*c*u-T*v*I,B=T*v*u+d*c*I,E=T*c*u+d*v*I,N=d*v*u-T*c*I;return[B,E,N,w]}function Hd(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,o=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==Si&&(this._caching.lastFrame>=o&&t>=o||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function ka(t){var r;if(this.propType==="unidimensional")r=t*this.mult,Bd(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var o=0,a=this.v.length;o<a;)r=t[o]*this.mult,Bd(this.v[o]-r)>1e-5&&(this.v[o]=r,this._mdf=!0),o+=1}function Ca(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,r=this.effectsSequence.length,o=this.kf?this.pv:this.data.k;for(t=0;t<r;t+=1)o=this.effectsSequence[t](o);this.setVValue(o),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function wa(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ev(t,r,o,a){this.propType="unidimensional",this.mult=o||1,this.data=r,this.v=o?r.k*o:r.k,this.pv=r.k,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Ca,this.setVValue=ka,this.addEffect=wa}function rv(t,r,o,a){this.propType="multidimensional",this.mult=o||1,this.data=r,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=J("float32",c),this.pv=J("float32",c),this.vel=J("float32",c),d=0;d<c;d+=1)this.v[d]=r.k[d]*this.mult,this.pv[d]=r.k[d];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Ca,this.setVValue=ka,this.addEffect=wa}function iv(t,r,o,a){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:Si,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=o||1,this.elem=t,this.container=a,this.comp=t.comp,this.v=Si,this.pv=Si,this._isFirstFrame=!0,this.getValue=Ca,this.setVValue=ka,this.interpolateValue=Ud,this.effectsSequence=[Hd.bind(this)],this.addEffect=wa}function ov(t,r,o,a){this.propType="multidimensional";var d,c=r.k.length,u,T,v,I;for(d=0;d<c-1;d+=1)r.k[d].to&&r.k[d].s&&r.k[d+1]&&r.k[d+1].s&&(u=r.k[d].s,T=r.k[d+1].s,v=r.k[d].to,I=r.k[d].ti,(u.length===2&&!(u[0]===T[0]&&u[1]===T[1])&&ur.pointOnLine2D(u[0],u[1],T[0],T[1],u[0]+v[0],u[1]+v[1])&&ur.pointOnLine2D(u[0],u[1],T[0],T[1],T[0]+I[0],T[1]+I[1])||u.length===3&&!(u[0]===T[0]&&u[1]===T[1]&&u[2]===T[2])&&ur.pointOnLine3D(u[0],u[1],u[2],T[0],T[1],T[2],u[0]+v[0],u[1]+v[1],u[2]+v[2])&&ur.pointOnLine3D(u[0],u[1],u[2],T[0],T[1],T[2],T[0]+I[0],T[1]+I[1],T[2]+I[2]))&&(r.k[d].to=null,r.k[d].ti=null),u[0]===T[0]&&u[1]===T[1]&&v[0]===0&&v[1]===0&&I[0]===0&&I[1]===0&&(u.length===2||u[2]===T[2]&&v[2]===0&&I[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Hd.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=o||1,this.elem=t,this.container=a,this.comp=t.comp,this.getValue=Ca,this.setVValue=ka,this.interpolateValue=Ud,this.frameId=-1;var w=r.k[0].s.length;for(this.v=J("float32",w),this.pv=J("float32",w),d=0;d<w;d+=1)this.v[d]=Si,this.pv[d]=Si;this._caching={lastFrame:Si,lastIndex:0,value:J("float32",w)},this.addEffect=wa}var rt=function(){function t(o,a,d,c,u){a.sid&&(a=o.globalData.slotManager.getProp(a));var T;if(!a.k.length)T=new ev(o,a,c,u);else if(typeof a.k[0]=="number")T=new rv(o,a,c,u);else switch(d){case 0:T=new iv(o,a,c,u);break;case 1:T=new ov(o,a,c,u);break;default:break}return T.effectsSequence.length&&u.addDynamicProperty(T),T}var r={getProp:t};return r}();function ie(){}ie.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,o=this.dynamicProperties.length;for(r=0;r<o;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ii=function(){function t(){return J("float32",2)}return Ia(8,t)}();function Sr(){this.c=!1,this._length=0,this._maxLength=8,this.v=et(this._maxLength),this.o=et(this._maxLength),this.i=et(this._maxLength)}Sr.prototype.setPathData=function(t,r){this.c=t,this.setLength(r);for(var o=0;o<r;)this.v[o]=Ii.newElement(),this.o[o]=Ii.newElement(),this.i[o]=Ii.newElement(),o+=1},Sr.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},Sr.prototype.doubleArrayLength=function(){this.v=this.v.concat(et(this._maxLength)),this.i=this.i.concat(et(this._maxLength)),this.o=this.o.concat(et(this._maxLength)),this._maxLength*=2},Sr.prototype.setXYAt=function(t,r,o,a,d){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),o){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!d)&&(c[a]=Ii.newElement()),c[a][0]=t,c[a][1]=r},Sr.prototype.setTripleAt=function(t,r,o,a,d,c,u,T){this.setXYAt(t,r,"v",u,T),this.setXYAt(o,a,"o",u,T),this.setXYAt(d,c,"i",u,T)},Sr.prototype.reverse=function(){var t=new Sr;t.setPathData(this.c,this._length);var r=this.v,o=this.o,a=this.i,d=0;this.c&&(t.setTripleAt(r[0][0],r[0][1],a[0][0],a[0][1],o[0][0],o[0][1],0,!1),d=1);var c=this._length-1,u=this._length,T;for(T=d;T<u;T+=1)t.setTripleAt(r[c][0],r[c][1],a[c][0],a[c][1],o[c][0],o[c][1],T,!1),c-=1;return t},Sr.prototype.length=function(){return this._length};var ne=function(){function t(){return new Sr}function r(d){var c=d._length,u;for(u=0;u<c;u+=1)Ii.release(d.v[u]),Ii.release(d.i[u]),Ii.release(d.o[u]),d.v[u]=null,d.i[u]=null,d.o[u]=null;d._length=0,d.c=!1}function o(d){var c=a.newElement(),u,T=d._length===void 0?d.v.length:d._length;for(c.setLength(T),c.c=d.c,u=0;u<T;u+=1)c.setTripleAt(d.v[u][0],d.v[u][1],d.o[u][0],d.o[u][1],d.i[u][0],d.i[u][1],u);return c}var a=Ia(4,t,r);return a.clone=o,a}();function fl(){this._length=0,this._maxLength=4,this.shapes=et(this._maxLength)}fl.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(et(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},fl.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)ne.release(this.shapes[t]);this._length=0};var go=function(){var t={newShapeCollection:d,release:c},r=0,o=4,a=et(o);function d(){var u;return r?(r-=1,u=a[r]):u=new fl,u}function c(u){var T,v=u._length;for(T=0;T<v;T+=1)ne.release(u.shapes[T]);u._length=0,r===o&&(a=$d.double(a),o*=2),a[r]=u,r+=1}return t}(),La=function(){var t=-999999;function r(C,S,y){var A=y.lastIndex,k,D,V,G,Z,ut,dt,tt,bt,lt=this.keyframes;if(C<lt[0].t-this.offsetTime)k=lt[0].s[0],V=!0,A=0;else if(C>=lt[lt.length-1].t-this.offsetTime)k=lt[lt.length-1].s?lt[lt.length-1].s[0]:lt[lt.length-2].e[0],V=!0;else{for(var X=A,_=lt.length-1,O=!0,p,b,U;O&&(p=lt[X],b=lt[X+1],!(b.t-this.offsetTime>C));)X<_-1?X+=1:O=!1;if(U=this.keyframesMetadata[X]||{},V=p.h===1,A=X,!V){if(C>=b.t-this.offsetTime)tt=1;else if(C<p.t-this.offsetTime)tt=0;else{var F;U.__fnct?F=U.__fnct:(F=us.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,U.__fnct=F),tt=F((C-(p.t-this.offsetTime))/(b.t-this.offsetTime-(p.t-this.offsetTime)))}D=b.s?b.s[0]:p.e[0]}k=p.s[0]}for(ut=S._length,dt=k.i[0].length,y.lastIndex=A,G=0;G<ut;G+=1)for(Z=0;Z<dt;Z+=1)bt=V?k.i[G][Z]:k.i[G][Z]+(D.i[G][Z]-k.i[G][Z])*tt,S.i[G][Z]=bt,bt=V?k.o[G][Z]:k.o[G][Z]+(D.o[G][Z]-k.o[G][Z])*tt,S.o[G][Z]=bt,bt=V?k.v[G][Z]:k.v[G][Z]+(D.v[G][Z]-k.v[G][Z])*tt,S.v[G][Z]=bt}function o(){var C=this.comp.renderedFrame-this.offsetTime,S=this.keyframes[0].t-this.offsetTime,y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==t&&(A<S&&C<S||A>y&&C>y)||(this._caching.lastIndex=A<C?this._caching.lastIndex:0,this.interpolateShape(C,this.pv,this._caching)),this._caching.lastFrame=C,this.pv}function a(){this.paths=this.localShapeCollection}function d(C,S){if(C._length!==S._length||C.c!==S.c)return!1;var y,A=C._length;for(y=0;y<A;y+=1)if(C.v[y][0]!==S.v[y][0]||C.v[y][1]!==S.v[y][1]||C.o[y][0]!==S.o[y][0]||C.o[y][1]!==S.o[y][1]||C.i[y][0]!==S.i[y][0]||C.i[y][1]!==S.i[y][1])return!1;return!0}function c(C){d(this.v,C)||(this.v=ne.clone(C),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function u(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var C;this.kf?C=this.pv:this.data.ks?C=this.data.ks.k:C=this.data.pt.k;var S,y=this.effectsSequence.length;for(S=0;S<y;S+=1)C=this.effectsSequence[S](C);this.setVValue(C),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function T(C,S,y){this.propType="shape",this.comp=C.comp,this.container=C,this.elem=C,this.data=S,this.k=!1,this.kf=!1,this._mdf=!1;var A=y===3?S.pt.k:S.ks.k;this.v=ne.clone(A),this.pv=ne.clone(this.v),this.localShapeCollection=go.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function v(C){this.effectsSequence.push(C),this.container.addDynamicProperty(this)}T.prototype.interpolateShape=r,T.prototype.getValue=u,T.prototype.setVValue=c,T.prototype.addEffect=v;function I(C,S,y){this.propType="shape",this.comp=C.comp,this.elem=C,this.container=C,this.offsetTime=C.data.st,this.keyframes=y===3?S.pt.k:S.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=ne.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ne.clone(this.v),this.localShapeCollection=go.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=a,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[o.bind(this)]}I.prototype.getValue=u,I.prototype.interpolateShape=r,I.prototype.setVValue=c,I.prototype.addEffect=v;var w=function(){var C=pe;function S(y,A){this.v=ne.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=go.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=y,this.comp=y.comp,this.frameId=-1,this.initDynamicPropertyContainer(y),this.p=rt.getProp(y,A.p,1,0,this),this.s=rt.getProp(y,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return S.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,G=this.d!==3,Z=this.v;Z.v[0][0]=A,Z.v[0][1]=k-V,Z.v[1][0]=G?A+D:A-D,Z.v[1][1]=k,Z.v[2][0]=A,Z.v[2][1]=k+V,Z.v[3][0]=G?A-D:A+D,Z.v[3][1]=k,Z.i[0][0]=G?A-D*C:A+D*C,Z.i[0][1]=k-V,Z.i[1][0]=G?A+D:A-D,Z.i[1][1]=k-V*C,Z.i[2][0]=G?A+D*C:A-D*C,Z.i[2][1]=k+V,Z.i[3][0]=G?A-D:A+D,Z.i[3][1]=k+V*C,Z.o[0][0]=G?A+D*C:A-D*C,Z.o[0][1]=k-V,Z.o[1][0]=G?A+D:A-D,Z.o[1][1]=k+V*C,Z.o[2][0]=G?A-D*C:A+D*C,Z.o[2][1]=k+V,Z.o[3][0]=G?A-D:A+D,Z.o[3][1]=k-V*C}},$([ie],S),S}(),B=function(){function C(S,y){this.v=ne.newElement(),this.v.setPathData(!0,0),this.elem=S,this.comp=S.comp,this.data=y,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(S),y.sy===1?(this.ir=rt.getProp(S,y.ir,0,0,this),this.is=rt.getProp(S,y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=rt.getProp(S,y.pt,0,0,this),this.p=rt.getProp(S,y.p,1,0,this),this.r=rt.getProp(S,y.r,0,_t,this),this.or=rt.getProp(S,y.or,0,0,this),this.os=rt.getProp(S,y.os,0,.01,this),this.localShapeCollection=go.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return C.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var y=Math.floor(this.pt.v)*2,A=Math.PI*2/y,k=!0,D=this.or.v,V=this.ir.v,G=this.os.v,Z=this.is.v,ut=2*Math.PI*D/(y*2),dt=2*Math.PI*V/(y*2),tt,bt,lt,X,_=-Math.PI/2;_+=this.r.v;var O=this.data.d===3?-1:1;for(this.v._length=0,tt=0;tt<y;tt+=1){bt=k?D:V,lt=k?G:Z,X=k?ut:dt;var p=bt*Math.cos(_),b=bt*Math.sin(_),U=p===0&&b===0?0:b/Math.sqrt(p*p+b*b),F=p===0&&b===0?0:-p/Math.sqrt(p*p+b*b);p+=+this.p.v[0],b+=+this.p.v[1],this.v.setTripleAt(p,b,p-U*X*lt*O,b-F*X*lt*O,p+U*X*lt*O,b+F*X*lt*O,tt,!0),k=!k,_+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(y*4),G,Z=-Math.PI*.5,ut=this.data.d===3?-1:1;for(Z+=this.r.v,this.v._length=0,G=0;G<y;G+=1){var dt=k*Math.cos(Z),tt=k*Math.sin(Z),bt=dt===0&&tt===0?0:tt/Math.sqrt(dt*dt+tt*tt),lt=dt===0&&tt===0?0:-dt/Math.sqrt(dt*dt+tt*tt);dt+=+this.p.v[0],tt+=+this.p.v[1],this.v.setTripleAt(dt,tt,dt-bt*V*D*ut,tt-lt*V*D*ut,dt+bt*V*D*ut,tt+lt*V*D*ut,G,!0),Z+=A*ut}this.paths.length=0,this.paths[0]=this.v}},$([ie],C),C}(),E=function(){function C(S,y){this.v=ne.newElement(),this.v.c=!0,this.localShapeCollection=go.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=S,this.comp=S.comp,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(S),this.p=rt.getProp(S,y.p,1,0,this),this.s=rt.getProp(S,y.s,1,0,this),this.r=rt.getProp(S,y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return C.prototype={convertRectToPath:function(){var y=this.p.v[0],A=this.p.v[1],k=this.s.v[0]/2,D=this.s.v[1]/2,V=Ne(k,D,this.r.v),G=V*(1-pe);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+V,y+k,A-D+G,0,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-G,y+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+k-V,A+D,y+k-V,A+D,y+k-G,A+D,2,!0),this.v.setTripleAt(y-k+V,A+D,y-k+G,A+D,y-k+V,A+D,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-V,y-k,A+D-G,4,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+G,y-k,A-D+V,5,!0),this.v.setTripleAt(y-k+V,A-D,y-k+V,A-D,y-k+G,A-D,6,!0),this.v.setTripleAt(y+k-V,A-D,y+k-G,A-D,y+k-V,A-D,7,!0)):(this.v.setTripleAt(y-k,A+D,y-k+G,A+D,y-k,A+D,2),this.v.setTripleAt(y-k,A-D,y-k,A-D+G,y-k,A-D,3))):(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+G,y+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+k-V,A-D,y+k-V,A-D,y+k-G,A-D,1,!0),this.v.setTripleAt(y-k+V,A-D,y-k+G,A-D,y-k+V,A-D,2,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+V,y-k,A-D+G,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-G,y-k,A+D-V,4,!0),this.v.setTripleAt(y-k+V,A+D,y-k+V,A+D,y-k+G,A+D,5,!0),this.v.setTripleAt(y+k-V,A+D,y+k-G,A+D,y+k-V,A+D,6,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-V,y+k,A+D-G,7,!0)):(this.v.setTripleAt(y-k,A-D,y-k+G,A-D,y-k,A-D,1,!0),this.v.setTripleAt(y-k,A+D,y-k,A+D-G,y-k,A+D,2,!0),this.v.setTripleAt(y+k,A+D,y+k-G,A+D,y+k,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},$([ie],C),C}();function N(C,S,y){var A;if(y===3||y===4){var k=y===3?S.pt:S.ks,D=k.k;D.length?A=new I(C,S,y):A=new T(C,S,y)}else y===5?A=new E(C,S):y===6?A=new w(C,S):y===7&&(A=new B(C,S));return A.k&&C.addDynamicProperty(A),A}function P(){return T}function M(){return I}var z={};return z.getShapeProp=N,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var le=function(){var t=Math.cos,r=Math.sin,o=Math.tan,a=Math.round;function d(){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 c(p){if(p===0)return this;var b=t(p),U=r(p);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function u(p){if(p===0)return this;var b=t(p),U=r(p);return this._t(1,0,0,0,0,b,-U,0,0,U,b,0,0,0,0,1)}function T(p){if(p===0)return this;var b=t(p),U=r(p);return this._t(b,0,U,0,0,1,0,0,-U,0,b,0,0,0,0,1)}function v(p){if(p===0)return this;var b=t(p),U=r(p);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function I(p,b){return this._t(1,b,p,1,0,0)}function w(p,b){return this.shear(o(p),o(b))}function B(p,b){var U=t(b),F=r(b);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,o(p),1,0,0,0,0,1,0,0,0,0,1)._t(U,-F,0,0,F,U,0,0,0,0,1,0,0,0,0,1)}function E(p,b,U){return!U&&U!==0&&(U=1),p===1&&b===1&&U===1?this:this._t(p,0,0,0,0,b,0,0,0,0,U,0,0,0,0,1)}function N(p,b,U,F,st,mt,ft,Ct,wt,Kt,Ae,vr,_e,oe,Re,Rt){return this.props[0]=p,this.props[1]=b,this.props[2]=U,this.props[3]=F,this.props[4]=st,this.props[5]=mt,this.props[6]=ft,this.props[7]=Ct,this.props[8]=wt,this.props[9]=Kt,this.props[10]=Ae,this.props[11]=vr,this.props[12]=_e,this.props[13]=oe,this.props[14]=Re,this.props[15]=Rt,this}function P(p,b,U){return U=U||0,p!==0||b!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,p,b,U,1):this}function M(p,b,U,F,st,mt,ft,Ct,wt,Kt,Ae,vr,_e,oe,Re,Rt){var ct=this.props;if(p===1&&b===0&&U===0&&F===0&&st===0&&mt===1&&ft===0&&Ct===0&&wt===0&&Kt===0&&Ae===1&&vr===0)return ct[12]=ct[12]*p+ct[15]*_e,ct[13]=ct[13]*mt+ct[15]*oe,ct[14]=ct[14]*Ae+ct[15]*Re,ct[15]*=Rt,this._identityCalculated=!1,this;var Cr=ct[0],ii=ct[1],wr=ct[2],gr=ct[3],Lr=ct[4],Nr=ct[5],Se=ct[6],oi=ct[7],si=ct[8],or=ct[9],ai=ct[10],sr=ct[11],Li=ct[12],za=ct[13],Va=ct[14],Ba=ct[15];return ct[0]=Cr*p+ii*st+wr*wt+gr*_e,ct[1]=Cr*b+ii*mt+wr*Kt+gr*oe,ct[2]=Cr*U+ii*ft+wr*Ae+gr*Re,ct[3]=Cr*F+ii*Ct+wr*vr+gr*Rt,ct[4]=Lr*p+Nr*st+Se*wt+oi*_e,ct[5]=Lr*b+Nr*mt+Se*Kt+oi*oe,ct[6]=Lr*U+Nr*ft+Se*Ae+oi*Re,ct[7]=Lr*F+Nr*Ct+Se*vr+oi*Rt,ct[8]=si*p+or*st+ai*wt+sr*_e,ct[9]=si*b+or*mt+ai*Kt+sr*oe,ct[10]=si*U+or*ft+ai*Ae+sr*Re,ct[11]=si*F+or*Ct+ai*vr+sr*Rt,ct[12]=Li*p+za*st+Va*wt+Ba*_e,ct[13]=Li*b+za*mt+Va*Kt+Ba*oe,ct[14]=Li*U+za*ft+Va*Ae+Ba*Re,ct[15]=Li*F+za*Ct+Va*vr+Ba*Rt,this._identityCalculated=!1,this}function z(p){var b=p.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function C(){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 S(p){for(var b=0;b<16;){if(p.props[b]!==this.props[b])return!1;b+=1}return!0}function y(p){var b;for(b=0;b<16;b+=1)p.props[b]=this.props[b];return p}function A(p){var b;for(b=0;b<16;b+=1)this.props[b]=p[b]}function k(p,b,U){return{x:p*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],y:p*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],z:p*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}}function D(p,b,U){return p*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12]}function V(p,b,U){return p*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13]}function G(p,b,U){return p*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}function Z(){var p=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/p,U=-this.props[1]/p,F=-this.props[4]/p,st=this.props[0]/p,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/p,ft=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/p,Ct=new le;return Ct.props[0]=b,Ct.props[1]=U,Ct.props[4]=F,Ct.props[5]=st,Ct.props[12]=mt,Ct.props[13]=ft,Ct}function ut(p){var b=this.getInverseMatrix();return b.applyToPointArray(p[0],p[1],p[2]||0)}function dt(p){var b,U=p.length,F=[];for(b=0;b<U;b+=1)F[b]=ut(p[b]);return F}function tt(p,b,U){var F=J("float32",6);if(this.isIdentity())F[0]=p[0],F[1]=p[1],F[2]=b[0],F[3]=b[1],F[4]=U[0],F[5]=U[1];else{var st=this.props[0],mt=this.props[1],ft=this.props[4],Ct=this.props[5],wt=this.props[12],Kt=this.props[13];F[0]=p[0]*st+p[1]*ft+wt,F[1]=p[0]*mt+p[1]*Ct+Kt,F[2]=b[0]*st+b[1]*ft+wt,F[3]=b[0]*mt+b[1]*Ct+Kt,F[4]=U[0]*st+U[1]*ft+wt,F[5]=U[0]*mt+U[1]*Ct+Kt}return F}function bt(p,b,U){var F;return this.isIdentity()?F=[p,b,U]:F=[p*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],p*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],p*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]],F}function lt(p,b){if(this.isIdentity())return p+","+b;var U=this.props;return Math.round((p*U[0]+b*U[4]+U[12])*100)/100+","+Math.round((p*U[1]+b*U[5]+U[13])*100)/100}function X(){for(var p=0,b=this.props,U="matrix3d(",F=1e4;p<16;)U+=a(b[p]*F)/F,U+=p===15?")":",",p+=1;return U}function _(p){var b=1e4;return p<1e-6&&p>0||p>-1e-6&&p<0?a(p*b)/b:p}function O(){var p=this.props,b=_(p[0]),U=_(p[1]),F=_(p[4]),st=_(p[5]),mt=_(p[12]),ft=_(p[13]);return"matrix("+b+","+U+","+F+","+st+","+mt+","+ft+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=u,this.rotateY=T,this.rotateZ=v,this.skew=w,this.skewFromAxis=B,this.shear=I,this.scale=E,this.setTransform=N,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=G,this.applyToPointArray=bt,this.applyToTriplePoints=tt,this.applyToPointStringified=lt,this.toCSS=X,this.to2dCSS=O,this.clone=y,this.cloneFromProps=A,this.equals=S,this.inversePoints=dt,this.inversePoint=ut,this.getInverseMatrix=Z,this._t=this.transform,this.isIdentity=C,this._identity=!0,this._identityCalculated=!1,this.props=J("float32",16),this.reset()}}();function Na(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Na=function(o){return typeof o}:Na=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Na(t)}var Lt={},Ra="__[STANDALONE]__",jd="__[ANIMATIONDATA]__",Yd="";function sv(t){m(t)}function Wd(){Ra===!0?qt.searchAnimations(jd,Ra,Yd):qt.searchAnimations()}function av(t){Uf(t)}function nv(t){jf(t)}function lv(t){return Ra===!0&&(t.animationData=JSON.parse(jd)),qt.loadAnimation(t)}function cv(t){if(typeof t=="string")switch(t){case"high":_a(200);break;default:case"medium":_a(50);break;case"low":_a(10);break}else!isNaN(t)&&t>1&&_a(t);ds()>=50?$e(!1):$e(!0)}function dv(){return typeof navigator<"u"}function hv(t,r){t==="expressions"&&Hf(r)}function pv(t){switch(t){case"propertyFactory":return rt;case"shapePropertyFactory":return La;case"matrix":return le;default:return null}}Lt.play=qt.play,Lt.pause=qt.pause,Lt.setLocationHref=sv,Lt.togglePause=qt.togglePause,Lt.setSpeed=qt.setSpeed,Lt.setDirection=qt.setDirection,Lt.stop=qt.stop,Lt.searchAnimations=Wd,Lt.registerAnimation=qt.registerAnimation,Lt.loadAnimation=lv,Lt.setSubframeRendering=av,Lt.resize=qt.resize,Lt.goToAndStop=qt.goToAndStop,Lt.destroy=qt.destroy,Lt.setQuality=cv,Lt.inBrowser=dv,Lt.installPlugin=hv,Lt.freeze=qt.freeze,Lt.unfreeze=qt.unfreeze,Lt.setVolume=qt.setVolume,Lt.mute=qt.mute,Lt.unmute=qt.unmute,Lt.getRegisteredAnimations=qt.getRegisteredAnimations,Lt.useWebWorker=n,Lt.setIDPrefix=nv,Lt.__getFactory=pv,Lt.version="5.12.2";function mv(){document.readyState==="complete"&&(clearInterval(vv),Wd())}function uv(t){for(var r=qd.split("&"),o=0;o<r.length;o+=1){var a=r[o].split("=");if(decodeURIComponent(a[0])==t)return decodeURIComponent(a[1])}return null}var qd="";if(Ra){var Kd=document.getElementsByTagName("script"),fv=Kd.length-1,Xd=Kd[fv]||{src:""};qd=Xd.src?Xd.src.replace(/^[^\?]+\??/,""):"",Yd=uv("renderer")}var vv=setInterval(mv,100);try{!((typeof Vs>"u"?"undefined":Na(Vs))==="object"&&typeof pn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Lt)}catch{}var Zr=function(){var t={},r={};t.registerModifier=o,t.getModifier=a;function o(d,c){r[d]||(r[d]=c)}function a(d,c,u){return new r[d](c,u)}return t}();function Ve(){}Ve.prototype.initModifierProperties=function(){},Ve.prototype.addShapeToModifier=function(){},Ve.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var r={shape:t.sh,data:t,localShapeCollection:go.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&t.setAsAnimated()}},Ve.prototype.init=function(t,r){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r),this.frameId=s,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ve.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([ie],Ve);function ir(){}$([Ve],ir),ir.prototype.initModifierProperties=function(t,r){this.s=rt.getProp(t,r.s,0,.01,this),this.e=rt.getProp(t,r.e,0,.01,this),this.o=rt.getProp(t,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},ir.prototype.addShapeToModifier=function(t){t.pathsData=[]},ir.prototype.calculateShapeEdges=function(t,r,o,a,d){var c=[];r<=1?c.push({s:t,e:r}):t>=1?c.push({s:t-1,e:r-1}):(c.push({s:t,e:1}),c.push({s:0,e:r-1}));var u=[],T,v=c.length,I;for(T=0;T<v;T+=1)if(I=c[T],!(I.e*d<a||I.s*d>a+o)){var w,B;I.s*d<=a?w=0:w=(I.s*d-a)/o,I.e*d>=a+o?B=1:B=(I.e*d-a)/o,u.push([w,B])}return u.length||u.push([0,0]),u},ir.prototype.releasePathsData=function(t){var r,o=t.length;for(r=0;r<o;r+=1)Vd.release(t[r]);return t.length=0,t},ir.prototype.processShapes=function(t){var r,o;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?r=1+a:this.s.v<0?r=0+a:r=this.s.v+a,this.e.v>1?o=1+a:this.e.v<0?o=0+a:o=this.e.v+a,r>o){var d=r;r=o,o=d}r=Math.round(r*1e4)*1e-4,o=Math.round(o*1e4)*1e-4,this.sValue=r,this.eValue=o}else r=this.sValue,o=this.eValue;var c,u,T=this.shapes.length,v,I,w,B,E,N=0;if(o===r)for(u=0;u<T;u+=1)this.shapes[u].localShapeCollection.releaseShapes(),this.shapes[u].shape._mdf=!0,this.shapes[u].shape.paths=this.shapes[u].localShapeCollection,this._mdf&&(this.shapes[u].pathsData.length=0);else if(o===1&&r===0||o===0&&r===1){if(this._mdf)for(u=0;u<T;u+=1)this.shapes[u].pathsData.length=0,this.shapes[u].shape._mdf=!0}else{var P=[],M,z;for(u=0;u<T;u+=1)if(M=this.shapes[u],!M.shape._mdf&&!this._mdf&&!t&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,I=c._length,E=0,!M.shape._mdf&&M.pathsData.length)E=M.totalShapeLength;else{for(w=this.releasePathsData(M.pathsData),v=0;v<I;v+=1)B=ur.getSegmentsLength(c.shapes[v]),w.push(B),E+=B.totalLength;M.totalShapeLength=E,M.pathsData=w}N+=E,M.shape._mdf=!0}var C=r,S=o,y=0,A;for(u=T-1;u>=0;u-=1)if(M=this.shapes[u],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&T>1?(A=this.calculateShapeEdges(r,o,M.totalShapeLength,y,N),y+=M.totalShapeLength):A=[[C,S]],I=A.length,v=0;v<I;v+=1){C=A[v][0],S=A[v][1],P.length=0,S<=1?P.push({s:M.totalShapeLength*C,e:M.totalShapeLength*S}):C>=1?P.push({s:M.totalShapeLength*(C-1),e:M.totalShapeLength*(S-1)}):(P.push({s:M.totalShapeLength*C,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(S-1)}));var k=this.addShapes(M,P[0]);if(P[0].s!==P[0].e){if(P.length>1){var D=M.shape.paths.shapes[M.shape.paths._length-1];if(D.c){var V=k.pop();this.addPaths(k,z),k=this.addShapes(M,P[1],V)}else this.addPaths(k,z),k=this.addShapes(M,P[1])}this.addPaths(k,z)}}M.shape.paths=z}}},ir.prototype.addPaths=function(t,r){var o,a=t.length;for(o=0;o<a;o+=1)r.addShape(t[o])},ir.prototype.addSegment=function(t,r,o,a,d,c,u){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(o[0],o[1],"i",c+1),u&&d.setXYAt(t[0],t[1],"v",c),d.setXYAt(a[0],a[1],"v",c+1)},ir.prototype.addSegmentFromArray=function(t,r,o,a){r.setXYAt(t[1],t[5],"o",o),r.setXYAt(t[2],t[6],"i",o+1),a&&r.setXYAt(t[0],t[4],"v",o),r.setXYAt(t[3],t[7],"v",o+1)},ir.prototype.addShapes=function(t,r,o){var a=t.pathsData,d=t.shape.paths.shapes,c,u=t.shape.paths._length,T,v,I=0,w,B,E,N,P=[],M,z=!0;for(o?(B=o._length,M=o._length):(o=ne.newElement(),B=0,M=0),P.push(o),c=0;c<u;c+=1){for(E=a[c].lengths,o.c=d[c].c,v=d[c].c?E.length:E.length+1,T=1;T<v;T+=1)if(w=E[T-1],I+w.addedLength<r.s)I+=w.addedLength,o.c=!1;else if(I>r.e){o.c=!1;break}else r.s<=I&&r.e>=I+w.addedLength?(this.addSegment(d[c].v[T-1],d[c].o[T-1],d[c].i[T],d[c].v[T],o,B,z),z=!1):(N=ur.getNewSegment(d[c].v[T-1],d[c].v[T],d[c].o[T-1],d[c].i[T],(r.s-I)/w.addedLength,(r.e-I)/w.addedLength,E[T-1]),this.addSegmentFromArray(N,o,B,z),z=!1,o.c=!1),I+=w.addedLength,B+=1;if(d[c].c&&E.length){if(w=E[T-1],I<=r.e){var C=E[T-1].addedLength;r.s<=I&&r.e>=I+C?(this.addSegment(d[c].v[T-1],d[c].o[T-1],d[c].i[0],d[c].v[0],o,B,z),z=!1):(N=ur.getNewSegment(d[c].v[T-1],d[c].v[0],d[c].o[T-1],d[c].i[0],(r.s-I)/C,(r.e-I)/C,E[T-1]),this.addSegmentFromArray(N,o,B,z),z=!1,o.c=!1)}else o.c=!1;I+=w.addedLength,B+=1}if(o._length&&(o.setXYAt(o.v[M][0],o.v[M][1],"i",M),o.setXYAt(o.v[o._length-1][0],o.v[o._length-1][1],"o",o._length-1)),I>r.e)break;c<u-1&&(o=ne.newElement(),z=!0,P.push(o),B=0)}return P};function fs(){}$([Ve],fs),fs.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=rt.getProp(t,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},fs.prototype.processPath=function(t,r){var o=r/100,a=[0,0],d=t._length,c=0;for(c=0;c<d;c+=1)a[0]+=t.v[c][0],a[1]+=t.v[c][1];a[0]/=d,a[1]/=d;var u=ne.newElement();u.c=t.c;var T,v,I,w,B,E;for(c=0;c<d;c+=1)T=t.v[c][0]+(a[0]-t.v[c][0])*o,v=t.v[c][1]+(a[1]-t.v[c][1])*o,I=t.o[c][0]+(a[0]-t.o[c][0])*-o,w=t.o[c][1]+(a[1]-t.o[c][1])*-o,B=t.i[c][0]+(a[0]-t.i[c][0])*-o,E=t.i[c][1]+(a[1]-t.i[c][1])*-o,u.setTripleAt(T,v,I,w,B,E,c);return u},fs.prototype.processShapes=function(t){var r,o,a=this.shapes.length,d,c,u=this.amount.v;if(u!==0){var T,v;for(o=0;o<a;o+=1){if(T=this.shapes[o],v=T.localShapeCollection,!(!T.shape._mdf&&!this._mdf&&!t))for(v.releaseShapes(),T.shape._mdf=!0,r=T.shape.paths.shapes,c=T.shape.paths._length,d=0;d<c;d+=1)v.addShape(this.processPath(r[d],u));T.shape.paths=T.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var vl=function(){var t=[0,0];function r(v){var I=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||I,this.a&&v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&v.skewFromAxis(-this.sk.v,this.sa.v),this.r?v.rotate(-this.r.v):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?v.translate(this.px.v,this.py.v,-this.pz.v):v.translate(this.px.v,this.py.v,0):v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function o(v){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||v){var I;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 w,B;if(I=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(w=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/I,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/I,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(w=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/I,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/I,0)):(w=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/I,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){w=[],B=[];var E=this.px,N=this.py;E._caching.lastFrame+E.offsetTime<=E.keyframes[0].t?(w[0]=E.getValueAtTime((E.keyframes[0].t+.01)/I,0),w[1]=N.getValueAtTime((N.keyframes[0].t+.01)/I,0),B[0]=E.getValueAtTime(E.keyframes[0].t/I,0),B[1]=N.getValueAtTime(N.keyframes[0].t/I,0)):E._caching.lastFrame+E.offsetTime>=E.keyframes[E.keyframes.length-1].t?(w[0]=E.getValueAtTime(E.keyframes[E.keyframes.length-1].t/I,0),w[1]=N.getValueAtTime(N.keyframes[N.keyframes.length-1].t/I,0),B[0]=E.getValueAtTime((E.keyframes[E.keyframes.length-1].t-.01)/I,0),B[1]=N.getValueAtTime((N.keyframes[N.keyframes.length-1].t-.01)/I,0)):(w=[E.pv,N.pv],B[0]=E.getValueAtTime((E._caching.lastFrame+E.offsetTime-.01)/I,E.offsetTime),B[1]=N.getValueAtTime((N._caching.lastFrame+N.offsetTime-.01)/I,N.offsetTime))}else B=t,w=B;this.v.rotate(-Math.atan2(w[1]-B[1],w[0]-B[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 d(){}function c(v){this._addDynamicProperty(v),this.elem.addDynamicProperty(v),this._isDirty=!0}function u(v,I,w){if(this.elem=v,this.frameId=-1,this.propType="transform",this.data=I,this.v=new le,this.pre=new le,this.appliedTransformations=0,this.initDynamicPropertyContainer(w||v),I.p&&I.p.s?(this.px=rt.getProp(v,I.p.x,0,0,this),this.py=rt.getProp(v,I.p.y,0,0,this),I.p.z&&(this.pz=rt.getProp(v,I.p.z,0,0,this))):this.p=rt.getProp(v,I.p||{k:[0,0,0]},1,0,this),I.rx){if(this.rx=rt.getProp(v,I.rx,0,_t,this),this.ry=rt.getProp(v,I.ry,0,_t,this),this.rz=rt.getProp(v,I.rz,0,_t,this),I.or.k[0].ti){var B,E=I.or.k.length;for(B=0;B<E;B+=1)I.or.k[B].to=null,I.or.k[B].ti=null}this.or=rt.getProp(v,I.or,1,_t,this),this.or.sh=!0}else this.r=rt.getProp(v,I.r||{k:0},0,_t,this);I.sk&&(this.sk=rt.getProp(v,I.sk,0,_t,this),this.sa=rt.getProp(v,I.sa,0,_t,this)),this.a=rt.getProp(v,I.a||{k:[0,0,0]},1,0,this),this.s=rt.getProp(v,I.s||{k:[100,100,100]},1,.01,this),I.o?this.o=rt.getProp(v,I.o,0,.01,v):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}u.prototype={applyToMatrix:r,getValue:o,precalculateMatrix:a,autoOrient:d},$([ie],u),u.prototype.addDynamicProperty=c,u.prototype._addDynamicProperty=ie.prototype.addDynamicProperty;function T(v,I,w){return new u(v,I,w)}return{getTransformProperty:T}}();function fr(){}$([Ve],fr),fr.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.c=rt.getProp(t,r.c,0,null,this),this.o=rt.getProp(t,r.o,0,null,this),this.tr=vl.getTransformProperty(t,r.tr,this),this.so=rt.getProp(t,r.tr.so,0,.01,this),this.eo=rt.getProp(t,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new le,this.rMatrix=new le,this.sMatrix=new le,this.tMatrix=new le,this.matrix=new le},fr.prototype.applyTransforms=function(t,r,o,a,d,c){var u=c?-1:1,T=a.s.v[0]+(1-a.s.v[0])*(1-d),v=a.s.v[1]+(1-a.s.v[1])*(1-d);t.translate(a.p.v[0]*u*d,a.p.v[1]*u*d,a.p.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.rotate(-a.r.v*u*d),r.translate(a.a.v[0],a.a.v[1],a.a.v[2]),o.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),o.scale(c?1/T:T,c?1/v:v),o.translate(a.a.v[0],a.a.v[1],a.a.v[2])},fr.prototype.init=function(t,r,o,a){for(this.elem=t,this.arr=r,this.pos=o,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r[o]);o>0;)o-=1,this._elements.unshift(r[o]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},fr.prototype.resetElements=function(t){var r,o=t.length;for(r=0;r<o;r+=1)t[r]._processed=!1,t[r].ty==="gr"&&this.resetElements(t[r].it)},fr.prototype.cloneElements=function(t){var r=JSON.parse(JSON.stringify(t));return this.resetElements(r),r},fr.prototype.changeGroupRender=function(t,r){var o,a=t.length;for(o=0;o<a;o+=1)t[o]._render=r,t[o].ty==="gr"&&this.changeGroupRender(t[o].it,r)},fr.prototype.processShapes=function(t){var r,o,a,d,c,u=!1;if(this._mdf||t){var T=Math.ceil(this.c.v);if(this._groups.length<T){for(;this._groups.length<T;){var v={it:this.cloneElements(this._elements),ty:"gr"};v.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,v),this._groups.splice(0,0,v),this._currentCopies+=1}this.elem.reloadShapes(),u=!0}c=0;var I;for(a=0;a<=this._groups.length-1;a+=1){if(I=c<T,this._groups[a]._render=I,this.changeGroupRender(this._groups[a].it,I),!I){var w=this.elemsData[a].it,B=w[w.length-1];B.transform.op.v!==0?(B.transform.op._mdf=!0,B.transform.op.v=0):B.transform.op._mdf=!1}c+=1}this._currentCopies=T;var E=this.o.v,N=E%1,P=E>0?Math.floor(E):Math.ceil(E),M=this.pMatrix.props,z=this.rMatrix.props,C=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var S=0;if(E>0){for(;S<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),S+=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,N,!1),S+=N)}else if(E<0){for(;S>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),S-=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-N,!0),S-=N)}a=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var y,A;c;){if(r=this.elemsData[a].it,o=r[r.length-1].transform.mProps.v.props,A=o.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),S!==0){for((a!==0&&d===1||a!==this._currentCopies-1&&d===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),y=0;y<A;y+=1)o[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<A;y+=1)o[y]=this.matrix.props[y];S+=1,c-=1,a+=d}}else for(c=this._currentCopies,a=0,d=1;c;)r=this.elemsData[a].it,o=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,a+=d;return u},fr.prototype.addShape=function(){};function vs(){}$([Ve],vs),vs.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.rd=rt.getProp(t,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},vs.prototype.processPath=function(t,r){var o=ne.newElement();o.c=t.c;var a,d=t._length,c,u,T,v,I,w,B=0,E,N,P,M,z,C;for(a=0;a<d;a+=1)c=t.v[a],T=t.o[a],u=t.i[a],c[0]===T[0]&&c[1]===T[1]&&c[0]===u[0]&&c[1]===u[1]?(a===0||a===d-1)&&!t.c?(o.setTripleAt(c[0],c[1],T[0],T[1],u[0],u[1],B),B+=1):(a===0?v=t.v[d-1]:v=t.v[a-1],I=Math.sqrt(Math.pow(c[0]-v[0],2)+Math.pow(c[1]-v[1],2)),w=I?Math.min(I/2,r)/I:0,z=c[0]+(v[0]-c[0])*w,E=z,C=c[1]-(c[1]-v[1])*w,N=C,P=E-(E-c[0])*pe,M=N-(N-c[1])*pe,o.setTripleAt(E,N,P,M,z,C,B),B+=1,a===d-1?v=t.v[0]:v=t.v[a+1],I=Math.sqrt(Math.pow(c[0]-v[0],2)+Math.pow(c[1]-v[1],2)),w=I?Math.min(I/2,r)/I:0,P=c[0]+(v[0]-c[0])*w,E=P,M=c[1]+(v[1]-c[1])*w,N=M,z=E-(E-c[0])*pe,C=N-(N-c[1])*pe,o.setTripleAt(E,N,P,M,z,C,B),B+=1):(o.setTripleAt(t.v[a][0],t.v[a][1],t.o[a][0],t.o[a][1],t.i[a][0],t.i[a][1],B),B+=1);return o},vs.prototype.processShapes=function(t){var r,o,a=this.shapes.length,d,c,u=this.rd.v;if(u!==0){var T,v;for(o=0;o<a;o+=1){if(T=this.shapes[o],v=T.localShapeCollection,!(!T.shape._mdf&&!this._mdf&&!t))for(v.releaseShapes(),T.shape._mdf=!0,r=T.shape.paths.shapes,c=T.shape.paths._length,d=0;d<c;d+=1)v.addShape(this.processPath(r[d],u));T.shape.paths=T.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Ma(t,r){return Math.abs(t-r)*1e5<=Math.min(Math.abs(t),Math.abs(r))}function gl(t){return Math.abs(t)<=1e-5}function Zd(t,r,o){return t*(1-o)+r*o}function Jr(t,r,o){return[Zd(t[0],r[0],o),Zd(t[1],r[1],o)]}function gv(t,r,o){if(t===0)return[];var a=r*r-4*t*o;if(a<0)return[];var d=-r/(2*t);if(a===0)return[d];var c=Math.sqrt(a)/(2*t);return[d-c,d+c]}function Jd(t,r,o,a){return[-t+3*r-3*o+a,3*t-6*r+3*o,-3*t+3*r,t]}function Qd(t){return new Vt(t,t,t,t,!1)}function Vt(t,r,o,a,d){d&&yo(t,r)&&(r=Jr(t,a,1/3)),d&&yo(o,a)&&(o=Jr(t,a,2/3));var c=Jd(t[0],r[0],o[0],a[0]),u=Jd(t[1],r[1],o[1],a[1]);this.a=[c[0],u[0]],this.b=[c[1],u[1]],this.c=[c[2],u[2]],this.d=[c[3],u[3]],this.points=[t,r,o,a]}Vt.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Vt.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Vt.prototype.tangentAngle=function(t){var r=this.derivative(t);return Math.atan2(r[1],r[0])},Vt.prototype.normalAngle=function(t){var r=this.derivative(t);return Math.atan2(r[0],r[1])},Vt.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(gl(t))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,o=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(o<0)return[];var a=Math.sqrt(o);return gl(a)?a>0&&a<1?[r]:[]:[r-a,r+a].filter(function(d){return d>0&&d<1})},Vt.prototype.split=function(t){if(t<=0)return[Qd(this.points[0]),this];if(t>=1)return[this,Qd(this.points[this.points.length-1])];var r=Jr(this.points[0],this.points[1],t),o=Jr(this.points[1],this.points[2],t),a=Jr(this.points[2],this.points[3],t),d=Jr(r,o,t),c=Jr(o,a,t),u=Jr(d,c,t);return[new Vt(this.points[0],r,d,u,!0),new Vt(u,c,a,this.points[3],!0)]};function th(t,r){var o=t.points[0][r],a=t.points[t.points.length-1][r];if(o>a){var d=a;a=o,o=d}for(var c=gv(3*t.a[r],2*t.b[r],t.c[r]),u=0;u<c.length;u+=1)if(c[u]>0&&c[u]<1){var T=t.point(c[u])[r];T<o?o=T:T>a&&(a=T)}return{min:o,max:a}}Vt.prototype.bounds=function(){return{x:th(this,0),y:th(this,1)}},Vt.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function Oa(t,r,o){var a=t.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:t,t:(r+o)/2,t1:r,t2:o}}function eh(t){var r=t.bez.split(.5);return[Oa(r[0],t.t1,t.t),Oa(r[1],t.t,t.t2)]}function bv(t,r){return Math.abs(t.cx-r.cx)*2<t.width+r.width&&Math.abs(t.cy-r.cy)*2<t.height+r.height}function gs(t,r,o,a,d,c){if(bv(t,r)){if(o>=c||t.width<=a&&t.height<=a&&r.width<=a&&r.height<=a){d.push([t.t,r.t]);return}var u=eh(t),T=eh(r);gs(u[0],T[0],o+1,a,d,c),gs(u[0],T[1],o+1,a,d,c),gs(u[1],T[0],o+1,a,d,c),gs(u[1],T[1],o+1,a,d,c)}}Vt.prototype.intersections=function(t,r,o){r===void 0&&(r=2),o===void 0&&(o=7);var a=[];return gs(Oa(this,0,1),Oa(t,0,1),0,r,a,o),a},Vt.shapeSegment=function(t,r){var o=(r+1)%t.length();return new Vt(t.v[r],t.o[r],t.i[o],t.v[o],!0)},Vt.shapeSegmentInverted=function(t,r){var o=(r+1)%t.length();return new Vt(t.v[o],t.i[o],t.o[r],t.v[r],!0)};function bl(t,r){return[t[1]*r[2]-t[2]*r[1],t[2]*r[0]-t[0]*r[2],t[0]*r[1]-t[1]*r[0]]}function Pa(t,r,o,a){var d=[t[0],t[1],1],c=[r[0],r[1],1],u=[o[0],o[1],1],T=[a[0],a[1],1],v=bl(bl(d,c),bl(u,T));return gl(v[2])?null:[v[0]/v[2],v[1]/v[2]]}function bo(t,r,o){return[t[0]+Math.cos(r)*o,t[1]-Math.sin(r)*o]}function yl(t,r){return Math.hypot(t[0]-r[0],t[1]-r[1])}function yo(t,r){return Ma(t[0],r[0])&&Ma(t[1],r[1])}function bs(){}$([Ve],bs),bs.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amplitude=rt.getProp(t,r.s,0,null,this),this.frequency=rt.getProp(t,r.r,0,null,this),this.pointsType=rt.getProp(t,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function rh(t,r,o,a,d,c,u){var T=o-Math.PI/2,v=o+Math.PI/2,I=r[0]+Math.cos(o)*a*d,w=r[1]-Math.sin(o)*a*d;t.setTripleAt(I,w,I+Math.cos(T)*c,w-Math.sin(T)*c,I+Math.cos(v)*u,w-Math.sin(v)*u,t.length())}function yv(t,r){var o=[r[0]-t[0],r[1]-t[1]],a=-Math.PI*.5,d=[Math.cos(a)*o[0]-Math.sin(a)*o[1],Math.sin(a)*o[0]+Math.cos(a)*o[1]];return d}function Ev(t,r){var o=r===0?t.length()-1:r-1,a=(r+1)%t.length(),d=t.v[o],c=t.v[a],u=yv(d,c);return Math.atan2(0,1)-Math.atan2(u[1],u[0])}function ih(t,r,o,a,d,c,u){var T=Ev(r,o),v=r.v[o%r._length],I=r.v[o===0?r._length-1:o-1],w=r.v[(o+1)%r._length],B=c===2?Math.sqrt(Math.pow(v[0]-I[0],2)+Math.pow(v[1]-I[1],2)):0,E=c===2?Math.sqrt(Math.pow(v[0]-w[0],2)+Math.pow(v[1]-w[1],2)):0;rh(t,r.v[o%r._length],T,u,a,E/((d+1)*2),B/((d+1)*2),c)}function Tv(t,r,o,a,d,c){for(var u=0;u<a;u+=1){var T=(u+1)/(a+1),v=d===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,I=r.normalAngle(T),w=r.point(T);rh(t,w,I,c,o,v/((a+1)*2),v/((a+1)*2),d),c=-c}return c}bs.prototype.processPath=function(t,r,o,a){var d=t._length,c=ne.newElement();if(c.c=t.c,t.c||(d-=1),d===0)return c;var u=-1,T=Vt.shapeSegment(t,0);ih(c,t,0,r,o,a,u);for(var v=0;v<d;v+=1)u=Tv(c,T,r,o,a,-u),v===d-1&&!t.c?T=null:T=Vt.shapeSegment(t,(v+1)%d),ih(c,t,v+1,r,o,a,u);return c},bs.prototype.processShapes=function(t){var r,o,a=this.shapes.length,d,c,u=this.amplitude.v,T=Math.max(0,Math.round(this.frequency.v)),v=this.pointsType.v;if(u!==0){var I,w;for(o=0;o<a;o+=1){if(I=this.shapes[o],w=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!t))for(w.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)w.addShape(this.processPath(r[d],u,T,v));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function El(t,r,o){var a=Math.atan2(r[0]-t[0],r[1]-t[1]);return[bo(t,a,o),bo(r,a,o)]}function Eo(t,r){var o,a,d,c,u,T,v;v=El(t.points[0],t.points[1],r),o=v[0],a=v[1],v=El(t.points[1],t.points[2],r),d=v[0],c=v[1],v=El(t.points[2],t.points[3],r),u=v[0],T=v[1];var I=Pa(o,a,d,c);I===null&&(I=a);var w=Pa(u,T,d,c);return w===null&&(w=u),new Vt(o,I,w,T)}function oh(t,r,o,a,d){var c=r.points[3],u=o.points[0];if(a===3||yo(c,u))return c;if(a===2){var T=-r.tangentAngle(1),v=-o.tangentAngle(0)+Math.PI,I=Pa(c,bo(c,T+Math.PI/2,100),u,bo(u,T+Math.PI/2,100)),w=I?yl(I,c):yl(c,u)/2,B=bo(c,T,2*w*pe);return t.setXYAt(B[0],B[1],"o",t.length()-1),B=bo(u,v,2*w*pe),t.setTripleAt(u[0],u[1],u[0],u[1],B[0],B[1],t.length()),u}var E=yo(c,r.points[2])?r.points[0]:r.points[2],N=yo(u,o.points[1])?o.points[3]:o.points[1],P=Pa(E,c,u,N);return P&&yl(P,c)<d?(t.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],t.length()),P):c}function sh(t,r){var o=t.intersections(r);return o.length&&Ma(o[0][0],1)&&o.shift(),o.length?o[0]:null}function ah(t,r){var o=t.slice(),a=r.slice(),d=sh(t[t.length-1],r[0]);return d&&(o[t.length-1]=t[t.length-1].split(d[0])[0],a[0]=r[0].split(d[1])[1]),t.length>1&&r.length>1&&(d=sh(t[0],r[r.length-1]),d)?[[t[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[o,a]}function xv(t){for(var r,o=1;o<t.length;o+=1)r=ah(t[o-1],t[o]),t[o-1]=r[0],t[o]=r[1];return t.length>1&&(r=ah(t[t.length-1],t[0]),t[t.length-1]=r[0],t[0]=r[1]),t}function nh(t,r){var o=t.inflectionPoints(),a,d,c,u;if(o.length===0)return[Eo(t,r)];if(o.length===1||Ma(o[1],1))return c=t.split(o[0]),a=c[0],d=c[1],[Eo(a,r),Eo(d,r)];c=t.split(o[0]),a=c[0];var T=(o[1]-o[0])/(1-o[0]);return c=c[1].split(T),u=c[0],d=c[1],[Eo(a,r),Eo(u,r),Eo(d,r)]}function ys(){}$([Ve],ys),ys.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=rt.getProp(t,r.a,0,null,this),this.miterLimit=rt.getProp(t,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ys.prototype.processPath=function(t,r,o,a){var d=ne.newElement();d.c=t.c;var c=t.length();t.c||(c-=1);var u,T,v,I=[];for(u=0;u<c;u+=1)v=Vt.shapeSegment(t,u),I.push(nh(v,r));if(!t.c)for(u=c-1;u>=0;u-=1)v=Vt.shapeSegmentInverted(t,u),I.push(nh(v,r));I=xv(I);var w=null,B=null;for(u=0;u<I.length;u+=1){var E=I[u];for(B&&(w=oh(d,B,E[0],o,a)),B=E[E.length-1],T=0;T<E.length;T+=1)v=E[T],w&&yo(v.points[0],w)?d.setXYAt(v.points[1][0],v.points[1][1],"o",d.length()-1):d.setTripleAt(v.points[0][0],v.points[0][1],v.points[1][0],v.points[1][1],v.points[0][0],v.points[0][1],d.length()),d.setTripleAt(v.points[3][0],v.points[3][1],v.points[3][0],v.points[3][1],v.points[2][0],v.points[2][1],d.length()),w=v.points[3]}return I.length&&oh(d,B,I[0][0],o,a),d},ys.prototype.processShapes=function(t){var r,o,a=this.shapes.length,d,c,u=this.amount.v,T=this.miterLimit.v,v=this.lineJoin;if(u!==0){var I,w;for(o=0;o<a;o+=1){if(I=this.shapes[o],w=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!t))for(w.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)w.addShape(this.processPath(r[d],u,v,T));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function lh(t){for(var r=t.fStyle?t.fStyle.split(" "):[],o="normal",a="normal",d=r.length,c,u=0;u<d;u+=1)switch(c=r[u].toLowerCase(),c){case"italic":a="italic";break;case"bold":o="700";break;case"black":o="900";break;case"medium":o="500";break;case"regular":case"normal":o="400";break;case"light":case"thin":o="200";break;default:break}return{style:a,weight:t.fWeight||o}}var ki=function(){var t=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},o=[];o=o.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,d=917631,c=917601,u=917626,T=65039,v=8205,I=127462,w=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function E(_){var O=_.split(","),p,b=O.length,U=[];for(p=0;p<b;p+=1)O[p]!=="sans-serif"&&O[p]!=="monospace"&&U.push(O[p]);return U.join(",")}function N(_,O){var p=R("span");p.setAttribute("aria-hidden",!0),p.style.fontFamily=O;var b=R("span");b.innerText="giItT1WQy@!-/#",p.style.position="absolute",p.style.left="-10000px",p.style.top="-10000px",p.style.fontSize="300px",p.style.fontVariant="normal",p.style.fontStyle="normal",p.style.fontWeight="normal",p.style.letterSpacing="0",p.appendChild(b),document.body.appendChild(p);var U=b.offsetWidth;return b.style.fontFamily=E(_)+", "+O,{node:b,w:U,parent:p}}function P(){var _,O=this.fonts.length,p,b,U=O;for(_=0;_<O;_+=1)this.fonts[_].loaded?U-=1:this.fonts[_].fOrigin==="n"||this.fonts[_].origin===0?this.fonts[_].loaded=!0:(p=this.fonts[_].monoCase.node,b=this.fonts[_].monoCase.w,p.offsetWidth!==b?(U-=1,this.fonts[_].loaded=!0):(p=this.fonts[_].sansCase.node,b=this.fonts[_].sansCase.w,p.offsetWidth!==b&&(U-=1,this.fonts[_].loaded=!0)),this.fonts[_].loaded&&(this.fonts[_].sansCase.parent.parentNode.removeChild(this.fonts[_].sansCase.parent),this.fonts[_].monoCase.parent.parentNode.removeChild(this.fonts[_].monoCase.parent)));U!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(_,O){var p=document.body&&O?"svg":"canvas",b,U=lh(_);if(p==="svg"){var F=gt("text");F.style.fontSize="100px",F.setAttribute("font-family",_.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",_.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",_.fClass)):F.style.fontFamily=_.fFamily,O.appendChild(F),b=F}else{var st=new OffscreenCanvas(500,500).getContext("2d");st.font=U.style+" "+U.weight+" 100px "+_.fFamily,b=st}function mt(ft){return p==="svg"?(b.textContent=ft,b.getComputedTextLength()):b.measureText(ft).width}return{measureText:mt}}function z(_,O){if(!_){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=_.list;return}if(!document.body){this.isLoaded=!0,_.list.forEach(function(Ae){Ae.helper=M(Ae),Ae.cache={}}),this.fonts=_.list;return}var p=_.list,b,U=p.length,F=U;for(b=0;b<U;b+=1){var st=!0,mt,ft;if(p[b].loaded=!1,p[b].monoCase=N(p[b].fFamily,"monospace"),p[b].sansCase=N(p[b].fFamily,"sans-serif"),!p[b].fPath)p[b].loaded=!0,F-=1;else if(p[b].fOrigin==="p"||p[b].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+p[b].fFamily+'"], style[f-origin="3"][f-family="'+p[b].fFamily+'"]'),mt.length>0&&(st=!1),st){var Ct=R("style");Ct.setAttribute("f-forigin",p[b].fOrigin),Ct.setAttribute("f-origin",p[b].origin),Ct.setAttribute("f-family",p[b].fFamily),Ct.type="text/css",Ct.innerText="@font-face {font-family: "+p[b].fFamily+"; font-style: normal; src: url('"+p[b].fPath+"');}",O.appendChild(Ct)}}else if(p[b].fOrigin==="g"||p[b].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ft=0;ft<mt.length;ft+=1)mt[ft].href.indexOf(p[b].fPath)!==-1&&(st=!1);if(st){var wt=R("link");wt.setAttribute("f-forigin",p[b].fOrigin),wt.setAttribute("f-origin",p[b].origin),wt.type="text/css",wt.rel="stylesheet",wt.href=p[b].fPath,document.body.appendChild(wt)}}else if(p[b].fOrigin==="t"||p[b].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ft=0;ft<mt.length;ft+=1)p[b].fPath===mt[ft].src&&(st=!1);if(st){var Kt=R("link");Kt.setAttribute("f-forigin",p[b].fOrigin),Kt.setAttribute("f-origin",p[b].origin),Kt.setAttribute("rel","stylesheet"),Kt.setAttribute("href",p[b].fPath),O.appendChild(Kt)}}p[b].helper=M(p[b],O),p[b].cache={},this.fonts.push(p[b])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function C(_){if(_){this.chars||(this.chars=[]);var O,p=_.length,b,U=this.chars.length,F;for(O=0;O<p;O+=1){for(b=0,F=!1;b<U;)this.chars[b].style===_[O].style&&this.chars[b].fFamily===_[O].fFamily&&this.chars[b].ch===_[O].ch&&(F=!0),b+=1;F||(this.chars.push(_[O]),U+=1)}}}function S(_,O,p){for(var b=0,U=this.chars.length;b<U;){if(this.chars[b].ch===_&&this.chars[b].style===O&&this.chars[b].fFamily===p)return this.chars[b];b+=1}return(typeof _=="string"&&_.charCodeAt(0)!==13||!_)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",_,O,p)),r}function y(_,O,p){var b=this.getFontByName(O),U=_;if(!b.cache[U]){var F=b.helper;if(_===" "){var st=F.measureText("|"+_+"|"),mt=F.measureText("||");b.cache[U]=(st-mt)/100}else b.cache[U]=F.measureText(_)/100}return b.cache[U]*p}function A(_){for(var O=0,p=this.fonts.length;O<p;){if(this.fonts[O].fName===_)return this.fonts[O];O+=1}return this.fonts[0]}function k(_){var O=0,p=_.charCodeAt(0);if(p>=55296&&p<=56319){var b=_.charCodeAt(1);b>=56320&&b<=57343&&(O=(p-55296)*1024+b-56320+65536)}return O}function D(_,O){var p=_.toString(16)+O.toString(16);return B.indexOf(p)!==-1}function V(_){return _===v}function G(_){return _===T}function Z(_){var O=k(_);return O>=I&&O<=w}function ut(_){return Z(_.substr(0,2))&&Z(_.substr(2,2))}function dt(_){return o.indexOf(_)!==-1}function tt(_,O){var p=k(_.substr(O,2));if(p!==a)return!1;var b=0;for(O+=2;b<5;){if(p=k(_.substr(O,2)),p<c||p>u)return!1;b+=1,O+=2}return k(_.substr(O,2))===d}function bt(){this.isLoaded=!0}var lt=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)};lt.isModifier=D,lt.isZeroWidthJoiner=V,lt.isFlagEmoji=ut,lt.isRegionalCode=Z,lt.isCombinedCharacter=dt,lt.isRegionalFlag=tt,lt.isVariationSelector=G,lt.BLACK_FLAG_CODE_POINT=a;var X={addChars:C,addFonts:z,getCharData:S,getFontByName:A,measureText:y,checkLoadedFonts:P,setIsLoaded:bt};return lt.prototype=X,lt}();function ch(t){this.animationData=t}ch.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function Av(t){return new ch(t)}function Da(){}Da.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},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(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?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 r,o=this.renderableComponents.length;for(r=0;r<o;r+=1)this.renderableComponents[r].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 Tl=function(){var t={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(r){return t[r]||""}}();function _v(t,r,o){this.p=rt.getProp(r,t.v,0,0,o)}function Sv(t,r,o){this.p=rt.getProp(r,t.v,0,0,o)}function Iv(t,r,o){this.p=rt.getProp(r,t.v,1,0,o)}function kv(t,r,o){this.p=rt.getProp(r,t.v,1,0,o)}function Cv(t,r,o){this.p=rt.getProp(r,t.v,0,0,o)}function wv(t,r,o){this.p=rt.getProp(r,t.v,0,0,o)}function Lv(t,r,o){this.p=rt.getProp(r,t.v,0,0,o)}function Nv(){this.p={}}function dh(t,r){var o=t.ef||[];this.effectElements=[];var a,d=o.length,c;for(a=0;a<d;a+=1)c=new Es(o[a],r),this.effectElements.push(c)}function Es(t,r){this.init(t,r)}$([ie],Es),Es.prototype.getValue=Es.prototype.iterateDynamicProperties,Es.prototype.init=function(t,r){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(r);var o,a=this.data.ef.length,d,c=this.data.ef;for(o=0;o<a;o+=1){switch(d=null,c[o].ty){case 0:d=new _v(c[o],r,this);break;case 1:d=new Sv(c[o],r,this);break;case 2:d=new Iv(c[o],r,this);break;case 3:d=new kv(c[o],r,this);break;case 4:case 7:d=new Lv(c[o],r,this);break;case 10:d=new Cv(c[o],r,this);break;case 11:d=new wv(c[o],r,this);break;case 5:d=new dh(c[o],r,this);break;default:d=new Nv(c[o],r,this);break}d&&this.effectElements.push(d)}};function Qr(){}Qr.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,o=this.data.masksProperties.length;r<o;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=Dd();if(r){var o=r("layer"),a=r("effects"),d=r("shape"),c=r("text"),u=r("comp");this.layerInterface=o(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var T=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(T),this.data.ty===0||this.data.xt?this.compInterface=u(this):this.data.ty===4?(this.layerInterface.shapeInterface=d(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=Tl(this.data.bm),o=this.baseElement||this.layerElement;o.style["mix-blend-mode"]=r},initBaseData:function(r,o,a){this.globalData=o,this.comp=a,this.data=r,this.layerId=Te(),this.data.sr||(this.data.sr=1),this.effectsManager=new dh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function ti(){}ti.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,o){var a,d=this.dynamicProperties.length;for(a=0;a<d;a+=1)(o||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function ei(t,r,o){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(t,r,o)}ei.prototype.prepareFrame=function(){},$([Da,Qr,ti],ei),ei.prototype.getBaseElement=function(){return null},ei.prototype.renderFrame=function(){},ei.prototype.destroy=function(){},ei.prototype.initExpressions=function(){var t=Dd();if(t){var r=t("footage");this.layerInterface=r(this)}},ei.prototype.getFootageData=function(){return this.footageData};function xe(t,r,o){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.initBaseData(t,r,o),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=t.tm?rt.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=rt.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}xe.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var o=this._volume*this._volumeMultiplier;this._previousVolume!==o&&(this._previousVolume=o,this.audio.volume(o))},$([Da,Qr,ti],xe),xe.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))},xe.prototype.show=function(){},xe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},xe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},xe.prototype.resume=function(){this._canPlay=!0},xe.prototype.setRate=function(t){this.audio.rate(t)},xe.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},xe.prototype.getBaseElement=function(){return null},xe.prototype.destroy=function(){},xe.prototype.sourceRectAtTime=function(){},xe.prototype.initExpressions=function(){};function ce(){}ce.prototype.checkLayers=function(t){var r,o=this.layers.length,a;for(this.completeLayers=!0,r=o-1;r>=0;r-=1)this.elements[r]||(a=this.layers[r],a.ip-a.st<=t-this.layers[r].st&&a.op-a.st>t-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},ce.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},ce.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ce.prototype.createAudio=function(t){return new xe(t,this.globalData,this)},ce.prototype.createFootage=function(t){return new ei(t,this.globalData,this)},ce.prototype.buildAllItems=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.buildItem(t);this.checkPendingElements()},ce.prototype.includeLayers=function(t){this.completeLayers=!1;var r,o=t.length,a,d=this.layers.length;for(r=0;r<o;r+=1)for(a=0;a<d;){if(this.layers[a].id===t[r].id){this.layers[a]=t[r];break}a+=1}},ce.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},ce.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ce.prototype.buildElementParenting=function(t,r,o){for(var a=this.elements,d=this.layers,c=0,u=d.length;c<u;)d[c].ind==r&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(t)):(o.push(a[c]),a[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(t,d[c].parent,o):t.setHierarchy(o))),c+=1},ce.prototype.addPendingElement=function(t){this.pendingElements.push(t)},ce.prototype.searchExtraCompositions=function(t){var r,o=t.length;for(r=0;r<o;r+=1)if(t[r].xt){var a=this.createComp(t[r]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},ce.prototype.getElementById=function(t){var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.ind===t)return this.elements[r];return null},ce.prototype.getElementByPath=function(t){var r=t.shift(),o;if(typeof r=="number")o=this.elements[r];else{var a,d=this.elements.length;for(a=0;a<d;a+=1)if(this.elements[a].data.nm===r){o=this.elements[a];break}}return t.length===0?o:o.getElementByPath(t)},ce.prototype.setupGlobalData=function(t,r){this.globalData.fontManager=new ki,this.globalData.slotManager=Av(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var Rv={TRANSFORM_EFFECT:"transformEFfect"};function To(){}To.prototype={initTransform:function(){var r=new le;this.finalTransform={mProp:this.data.ks?vl.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,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 r,o=this.finalTransform.mat,a=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<d;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,o.cloneFromProps(r),a=0;a<d;a+=1)o.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 r=0,o=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<o;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),r=1;r<o;r+=1){var d=this.localTransforms[r].matrix;a.multiply(d)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<o;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(Rv.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new le;var o=0,a=r.length;for(o=0;o<a;o+=1)this.localTransforms.push(r[o])}}},globalToLocal:function(r){var o=[];o.push(this.finalTransform);for(var a=!0,d=this.comp;a;)d.finalTransform?(d.data.hasMask&&o.splice(0,0,d.finalTransform),d=d.comp):a=!1;var c,u=o.length,T;for(c=0;c<u;c+=1)T=o[c].mat.applyToPointArray(0,0,0),r=[r[0]-T[0],r[1]-T[1],0];return r},mHelper:new le};function Ci(t,r,o){this.data=t,this.element=r,this.globalData=o,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=et(c),this.solidPath="";var u,T=this.masksProperties,v=0,I=[],w,B,E=Te(),N,P,M,z,C="clipPath",S="clip-path";for(d=0;d<c;d+=1)if((T[d].mode!=="a"&&T[d].mode!=="n"||T[d].inv||T[d].o.k!==100||T[d].o.x)&&(C="mask",S="mask"),(T[d].mode==="s"||T[d].mode==="i")&&v===0?(N=gt("rect"),N.setAttribute("fill","#ffffff"),N.setAttribute("width",this.element.comp.data.w||0),N.setAttribute("height",this.element.comp.data.h||0),I.push(N)):N=null,u=gt("path"),T[d].mode==="n")this.viewData[d]={op:rt.getProp(this.element,T[d].o,0,.01,this.element),prop:La.getShapeProp(this.element,T[d],3),elem:u,lastPath:""},a.appendChild(u);else{v+=1,u.setAttribute("fill",T[d].mode==="s"?"#000000":"#ffffff"),u.setAttribute("clip-rule","nonzero");var y;if(T[d].x.k!==0?(C="mask",S="mask",z=rt.getProp(this.element,T[d].x,0,null,this.element),y=Te(),P=gt("filter"),P.setAttribute("id",y),M=gt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),a.appendChild(P),u.setAttribute("stroke",T[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:u,x:z,expan:M,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},T[d].mode==="i"){B=I.length;var A=gt("g");for(w=0;w<B;w+=1)A.appendChild(I[w]);var k=gt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",E+"_"+v),k.appendChild(u),a.appendChild(k),A.setAttribute("mask","url("+x()+"#"+E+"_"+v+")"),I.length=0,I.push(A)}else I.push(u);T[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:u,lastPath:"",op:rt.getProp(this.element,T[d].o,0,.01,this.element),prop:La.getShapeProp(this.element,T[d],3),invRect:N},this.viewData[d].prop.k||this.drawPath(T[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=gt(C),c=I.length,d=0;d<c;d+=1)this.maskElement.appendChild(I[d]);v>0&&(this.maskElement.setAttribute("id",E),this.element.maskedElement.setAttribute(S,"url("+x()+"#"+E+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ci.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Ci.prototype.renderFrame=function(t){var r=this.element.finalTransform.mat,o,a=this.masksProperties.length;for(o=0;o<a;o+=1)if((this.viewData[o].prop._mdf||t)&&this.drawPath(this.masksProperties[o],this.viewData[o].prop.v,this.viewData[o]),(this.viewData[o].op._mdf||t)&&this.viewData[o].elem.setAttribute("fill-opacity",this.viewData[o].op.v),this.masksProperties[o].mode!=="n"&&(this.viewData[o].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[o].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[o].x&&(this.storedData[o].x._mdf||t))){var d=this.storedData[o].expan;this.storedData[o].x.v<0?(this.storedData[o].lastOperator!=="erode"&&(this.storedData[o].lastOperator="erode",this.storedData[o].elem.setAttribute("filter","url("+x()+"#"+this.storedData[o].filterId+")")),d.setAttribute("radius",-this.storedData[o].x.v)):(this.storedData[o].lastOperator!=="dilate"&&(this.storedData[o].lastOperator="dilate",this.storedData[o].elem.setAttribute("filter",null)),this.storedData[o].elem.setAttribute("stroke-width",this.storedData[o].x.v*2))}},Ci.prototype.getMaskelement=function(){return this.maskElement},Ci.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},Ci.prototype.drawPath=function(t,r,o){var a=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[d][0]+","+r.i[d][1]+" "+r.v[d][0]+","+r.v[d][1];if(r.c&&c>1&&(a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),o.lastPath!==a){var u="";o.elem&&(r.c&&(u=t.inv?this.solidPath+a:a),o.elem.setAttribute("d",u)),o.lastPath=a}},Ci.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Ts=function(){var t={};t.createFilter=r,t.createAlphaToLuminanceFilter=o;function r(a,d){var c=gt("filter");return c.setAttribute("id",a),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function o(){var a=gt("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 t}(),hh=function(){var t={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))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),Fa={},ph="filter_result_";function xl(t){var r,o="SourceGraphic",a=t.data.ef?t.data.ef.length:0,d=Te(),c=Ts.createFilter(d,!0),u=0;this.filters=[];var T;for(r=0;r<a;r+=1){T=null;var v=t.data.ef[r].ty;if(Fa[v]){var I=Fa[v].effect;T=new I(c,t.effectsManager.effectElements[r],t,ph+u,o),o=ph+u,Fa[v].countsAsEffect&&(u+=1)}T&&this.filters.push(T)}u&&(t.globalData.defs.appendChild(c),t.layerElement.setAttribute("filter","url("+x()+"#"+d+")")),this.filters.length&&t.addRenderableComponent(this)}xl.prototype.renderFrame=function(t){var r,o=this.filters.length;for(r=0;r<o;r+=1)this.filters[r].renderFrame(t)},xl.prototype.getEffects=function(t){var r,o=this.filters.length,a=[];for(r=0;r<o;r+=1)this.filters[r].type===t&&a.push(this.filters[r]);return a};function ME(t,r,o){Fa[t]={effect:r,countsAsEffect:o}}function xs(){}xs.prototype={initRendererElement:function(){this.layerElement=gt("g")},createContainerElements:function(){this.matteElement=gt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var o=gt("g");o.setAttribute("id",this.layerId),o.appendChild(this.layerElement),r=o,this.globalData.defs.appendChild(o)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=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=gt("clipPath"),d=gt("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Te();if(a.setAttribute("id",c),a.appendChild(d),this.globalData.defs.appendChild(a),this.checkMasks()){var u=gt("g");u.setAttribute("clip-path","url("+x()+"#"+c+")"),u.appendChild(this.layerElement),this.transformedElement=u,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+x()+"#"+c+")")}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 Ci(this.data,this,this.globalData),this.renderableEffectsManager=new xl(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var o=this.layerId+"_"+r,a,d,c,u;if(r===1||r===3){var T=gt("mask");T.setAttribute("id",o),T.setAttribute("mask-type",r===3?"luminance":"alpha"),c=gt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),T.appendChild(c),this.globalData.defs.appendChild(T),!hh.maskType&&r===1&&(T.setAttribute("mask-type","luminance"),a=Te(),d=Ts.createFilter(a),this.globalData.defs.appendChild(d),d.appendChild(Ts.createAlphaToLuminanceFilter()),u=gt("g"),u.appendChild(c),T.appendChild(u),u.setAttribute("filter","url("+x()+"#"+a+")"))}else if(r===2){var v=gt("mask");v.setAttribute("id",o),v.setAttribute("mask-type","alpha");var I=gt("g");v.appendChild(I),a=Te(),d=Ts.createFilter(a);var w=gt("feComponentTransfer");w.setAttribute("in","SourceGraphic"),d.appendChild(w);var B=gt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),w.appendChild(B),this.globalData.defs.appendChild(d);var E=gt("rect");E.setAttribute("width",this.comp.data.w),E.setAttribute("height",this.comp.data.h),E.setAttribute("x","0"),E.setAttribute("y","0"),E.setAttribute("fill","#ffffff"),E.setAttribute("opacity","0"),I.setAttribute("filter","url("+x()+"#"+a+")"),I.appendChild(E),c=gt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),I.appendChild(c),hh.maskType||(v.setAttribute("mask-type","luminance"),d.appendChild(Ts.createAlphaToLuminanceFilter()),u=gt("g"),I.appendChild(E),u.appendChild(this.layerElement),I.appendChild(u)),this.globalData.defs.appendChild(v)}this.matteMasks[r]=o}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+x()+"#"+r+")")}};function xo(){}xo.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function As(){}(function(){var t={initElement:function(o,a,d){this.initFrame(),this.initBaseData(o,a,d),this.initTransform(o,a,d),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var o=this.baseElement||this.layerElement;o.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var o=this.baseElement||this.layerElement;o.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(o){this._mdf=!1,this.prepareRenderableFrame(o),this.prepareProperties(o,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};$([Da,K(t)],As)})();function _s(t,r,o){this.assetData=r.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(t,r,o),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}$([Qr,To,xs,xo,ti,As],_s),_s.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=gt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},_s.prototype.sourceRectAtTime=function(){return this.sourceRect};function Mv(t,r){this.elem=t,this.pos=r}function mh(){}mh.prototype={addShapeToModifiers:function(r){var o,a=this.shapeModifiers.length;for(o=0;o<a;o+=1)this.shapeModifiers[o].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var o=0,a=this.shapeModifiers.length;o<a;)if(this.shapeModifiers[o].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,o=this.shapes.length;for(r=0;r<o;r+=1)this.shapes[r].sh.reset();o=this.shapeModifiers.length;var a;for(r=o-1;r>=0&&(a=this.shapeModifiers[r].processShapes(this._isFirstFrame),!a);r-=1);}},searchProcessedElement:function(r){for(var o=this.processedElements,a=0,d=o.length;a<d;){if(o[a].elem===r)return o[a].pos;a+=1}return 0},addProcessedElement:function(r,o){for(var a=this.processedElements,d=a.length;d;)if(d-=1,a[d].elem===r){a[d].pos=o;return}a.push(new Mv(r,o))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var uh={1:"butt",2:"round",3:"square"},fh={1:"miter",2:"round",3:"bevel"};function vh(t,r,o){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=o,this.lvl=r,this._isAnimated=!!o.k;for(var a=0,d=t.length;a<d;){if(t[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}vh.prototype.setAsAnimated=function(){this._isAnimated=!0};function gh(t,r){this.data=t,this.type=t.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=t.hd===!0,this.pElem=gt("path"),this.msElem=null}gh.prototype.reset=function(){this.d="",this._mdf=!1};function $a(t,r,o,a){this.elem=t,this.frameId=-1,this.dataProps=et(r.length),this.renderer=o,this.k=!1,this.dashStr="",this.dashArray=J("float32",r.length?r.length-1:0),this.dashoffset=J("float32",1),this.initDynamicPropertyContainer(a);var d,c=r.length||0,u;for(d=0;d<c;d+=1)u=rt.getProp(t,r[d].v,0,0,this),this.k=u.k||this.k,this.dataProps[d]={n:r[d].n,p:u};this.k||this.getValue(!0),this._isAnimated=this.k}$a.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var r=0,o=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<o;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},$([ie],$a);function bh(t,r,o){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=rt.getProp(t,r.o,0,.01,this),this.w=rt.getProp(t,r.w,0,null,this),this.d=new $a(t,r.d||{},"svg",this),this.c=rt.getProp(t,r.c,1,255,this),this.style=o,this._isAnimated=!!this._isAnimated}$([ie],bh);function yh(t,r,o){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=rt.getProp(t,r.o,0,.01,this),this.c=rt.getProp(t,r.c,1,255,this),this.style=o}$([ie],yh);function Eh(t,r,o){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=o}$([ie],Eh);function Ss(t,r,o){this.data=r,this.c=J("uint8c",r.p*4);var a=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=J("float32",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(o),this.prop=rt.getProp(t,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Ss.prototype.comparePoints=function(t,r){for(var o=0,a=this.o.length/2,d;o<a;){if(d=Math.abs(t[o*4]-t[r*4+o*2]),d>.01)return!1;o+=1}return!0},Ss.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,r=this.data.k.k.length;t<r;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Ss.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var r,o=this.data.p*4,a,d;for(r=0;r<o;r+=1)a=r%4===0?100:255,d=Math.round(this.prop.v[r]*a),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!t);if(this.o.length)for(o=this.prop.v.length,r=this.data.p*4;r<o;r+=1)a=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!t);this._mdf=!t}},$([ie],Ss);function Ao(t,r,o){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,r,o)}Ao.prototype.initGradientData=function(t,r,o){this.o=rt.getProp(t,r.o,0,.01,this),this.s=rt.getProp(t,r.s,1,null,this),this.e=rt.getProp(t,r.e,1,null,this),this.h=rt.getProp(t,r.h||{k:0},0,.01,this),this.a=rt.getProp(t,r.a||{k:0},0,_t,this),this.g=new Ss(t,r.g,this),this.style=o,this.stops=[],this.setGradientData(o.pElem,r),this.setGradientOpacity(r,o),this._isAnimated=!!this._isAnimated},Ao.prototype.setGradientData=function(t,r){var o=Te(),a=gt(r.t===1?"linearGradient":"radialGradient");a.setAttribute("id",o),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,u,T;for(T=r.g.p*4,u=0;u<T;u+=4)c=gt("stop"),a.appendChild(c),d.push(c);t.setAttribute(r.ty==="gf"?"fill":"stroke","url("+x()+"#"+o+")"),this.gf=a,this.cst=d},Ao.prototype.setGradientOpacity=function(t,r){if(this.g._hasOpacity&&!this.g._collapsable){var o,a,d,c=gt("mask"),u=gt("path");c.appendChild(u);var T=Te(),v=Te();c.setAttribute("id",v);var I=gt(t.t===1?"linearGradient":"radialGradient");I.setAttribute("id",T),I.setAttribute("spreadMethod","pad"),I.setAttribute("gradientUnits","userSpaceOnUse"),d=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var w=this.stops;for(a=t.g.p*4;a<d;a+=2)o=gt("stop"),o.setAttribute("stop-color","rgb(255,255,255)"),I.appendChild(o),w.push(o);u.setAttribute(t.ty==="gf"?"fill":"stroke","url("+x()+"#"+T+")"),t.ty==="gs"&&(u.setAttribute("stroke-linecap",uh[t.lc||2]),u.setAttribute("stroke-linejoin",fh[t.lj||2]),t.lj===1&&u.setAttribute("stroke-miterlimit",t.ml)),this.of=I,this.ms=c,this.ost=w,this.maskId=v,r.msElem=u}},$([ie],Ao);function Th(t,r,o){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=rt.getProp(t,r.w,0,null,this),this.d=new $a(t,r.d||{},"svg",this),this.initGradientData(t,r,o),this._isAnimated=!!this._isAnimated}$([Ao,ie],Th);function Ov(){this.it=[],this.prevViewData=[],this.gr=gt("g")}function Pv(t,r,o){this.transform={mProps:t,op:r,container:o},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var xh=function(r,o,a,d){if(o===0)return"";var c=r.o,u=r.i,T=r.v,v,I=" M"+d.applyToPointStringified(T[0][0],T[0][1]);for(v=1;v<o;v+=1)I+=" C"+d.applyToPointStringified(c[v-1][0],c[v-1][1])+" "+d.applyToPointStringified(u[v][0],u[v][1])+" "+d.applyToPointStringified(T[v][0],T[v][1]);return a&&o&&(I+=" C"+d.applyToPointStringified(c[v-1][0],c[v-1][1])+" "+d.applyToPointStringified(u[0][0],u[0][1])+" "+d.applyToPointStringified(T[0][0],T[0][1]),I+="z"),I},Dv=function(){var t=new le,r=new le,o={createRenderFunction:a};function a(B){switch(B.ty){case"fl":return T;case"gf":return I;case"gs":return v;case"st":return w;case"sh":case"el":case"rc":case"sr":return u;case"tr":return d;case"no":return c;default:return null}}function d(B,E,N){(N||E.transform.op._mdf)&&E.transform.container.setAttribute("opacity",E.transform.op.v),(N||E.transform.mProps._mdf)&&E.transform.container.setAttribute("transform",E.transform.mProps.v.to2dCSS())}function c(){}function u(B,E,N){var P,M,z,C,S,y,A=E.styles.length,k=E.lvl,D,V,G,Z;for(y=0;y<A;y+=1){if(C=E.sh._mdf||N,E.styles[y].lvl<k){for(V=r.reset(),G=k-E.styles[y].lvl,Z=E.transformers.length-1;!C&&G>0;)C=E.transformers[Z].mProps._mdf||C,G-=1,Z-=1;if(C)for(G=k-E.styles[y].lvl,Z=E.transformers.length-1;G>0;)V.multiply(E.transformers[Z].mProps.v),G-=1,Z-=1}else V=t;if(D=E.sh.paths,M=D._length,C){for(z="",P=0;P<M;P+=1)S=D.shapes[P],S&&S._length&&(z+=xh(S,S._length,S.c,V));E.caches[y]=z}else z=E.caches[y];E.styles[y].d+=B.hd===!0?"":z,E.styles[y]._mdf=C||E.styles[y]._mdf}}function T(B,E,N){var P=E.style;(E.c._mdf||N)&&P.pElem.setAttribute("fill","rgb("+re(E.c.v[0])+","+re(E.c.v[1])+","+re(E.c.v[2])+")"),(E.o._mdf||N)&&P.pElem.setAttribute("fill-opacity",E.o.v)}function v(B,E,N){I(B,E,N),w(B,E,N)}function I(B,E,N){var P=E.gf,M=E.g._hasOpacity,z=E.s.v,C=E.e.v;if(E.o._mdf||N){var S=B.ty==="gf"?"fill-opacity":"stroke-opacity";E.style.pElem.setAttribute(S,E.o.v)}if(E.s._mdf||N){var y=B.t===1?"x1":"cx",A=y==="x1"?"y1":"cy";P.setAttribute(y,z[0]),P.setAttribute(A,z[1]),M&&!E.g._collapsable&&(E.of.setAttribute(y,z[0]),E.of.setAttribute(A,z[1]))}var k,D,V,G;if(E.g._cmdf||N){k=E.cst;var Z=E.g.c;for(V=k.length,D=0;D<V;D+=1)G=k[D],G.setAttribute("offset",Z[D*4]+"%"),G.setAttribute("stop-color","rgb("+Z[D*4+1]+","+Z[D*4+2]+","+Z[D*4+3]+")")}if(M&&(E.g._omdf||N)){var ut=E.g.o;for(E.g._collapsable?k=E.cst:k=E.ost,V=k.length,D=0;D<V;D+=1)G=k[D],E.g._collapsable||G.setAttribute("offset",ut[D*2]+"%"),G.setAttribute("stop-opacity",ut[D*2+1])}if(B.t===1)(E.e._mdf||N)&&(P.setAttribute("x2",C[0]),P.setAttribute("y2",C[1]),M&&!E.g._collapsable&&(E.of.setAttribute("x2",C[0]),E.of.setAttribute("y2",C[1])));else{var dt;if((E.s._mdf||E.e._mdf||N)&&(dt=Math.sqrt(Math.pow(z[0]-C[0],2)+Math.pow(z[1]-C[1],2)),P.setAttribute("r",dt),M&&!E.g._collapsable&&E.of.setAttribute("r",dt)),E.e._mdf||E.h._mdf||E.a._mdf||N){dt||(dt=Math.sqrt(Math.pow(z[0]-C[0],2)+Math.pow(z[1]-C[1],2)));var tt=Math.atan2(C[1]-z[1],C[0]-z[0]),bt=E.h.v;bt>=1?bt=.99:bt<=-1&&(bt=-.99);var lt=dt*bt,X=Math.cos(tt+E.a.v)*lt+z[0],_=Math.sin(tt+E.a.v)*lt+z[1];P.setAttribute("fx",X),P.setAttribute("fy",_),M&&!E.g._collapsable&&(E.of.setAttribute("fx",X),E.of.setAttribute("fy",_))}}}function w(B,E,N){var P=E.style,M=E.d;M&&(M._mdf||N)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),E.c&&(E.c._mdf||N)&&P.pElem.setAttribute("stroke","rgb("+re(E.c.v[0])+","+re(E.c.v[1])+","+re(E.c.v[2])+")"),(E.o._mdf||N)&&P.pElem.setAttribute("stroke-opacity",E.o.v),(E.w._mdf||N)&&(P.pElem.setAttribute("stroke-width",E.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",E.w.v))}return o}();function Ht(t,r,o){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,r,o),this.prevViewData=[]}$([Qr,To,xs,mh,xo,ti,As],Ht),Ht.prototype.initSecondaryElement=function(){},Ht.prototype.identityMatrix=new le,Ht.prototype.buildExpressionInterface=function(){},Ht.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Ht.prototype.filterUniqueShapes=function(){var t,r=this.shapes.length,o,a,d=this.stylesList.length,c,u=[],T=!1;for(a=0;a<d;a+=1){for(c=this.stylesList[a],T=!1,u.length=0,t=0;t<r;t+=1)o=this.shapes[t],o.styles.indexOf(c)!==-1&&(u.push(o),T=o._isAnimated||T);u.length>1&&T&&this.setShapesAsAnimated(u)}},Ht.prototype.setShapesAsAnimated=function(t){var r,o=t.length;for(r=0;r<o;r+=1)t[r].setAsAnimated()},Ht.prototype.createStyleElement=function(t,r){var o,a=new gh(t,r),d=a.pElem;if(t.ty==="st")o=new bh(this,t,a);else if(t.ty==="fl")o=new yh(this,t,a);else if(t.ty==="gf"||t.ty==="gs"){var c=t.ty==="gf"?Ao:Th;o=new c(this,t,a),this.globalData.defs.appendChild(o.gf),o.maskId&&(this.globalData.defs.appendChild(o.ms),this.globalData.defs.appendChild(o.of),d.setAttribute("mask","url("+x()+"#"+o.maskId+")"))}else t.ty==="no"&&(o=new Eh(this,t,a));return(t.ty==="st"||t.ty==="gs")&&(d.setAttribute("stroke-linecap",uh[t.lc||2]),d.setAttribute("stroke-linejoin",fh[t.lj||2]),d.setAttribute("fill-opacity","0"),t.lj===1&&d.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&d.setAttribute("fill-rule","evenodd"),t.ln&&d.setAttribute("id",t.ln),t.cl&&d.setAttribute("class",t.cl),t.bm&&(d.style["mix-blend-mode"]=Tl(t.bm)),this.stylesList.push(a),this.addToAnimatedContents(t,o),o},Ht.prototype.createGroupElement=function(t){var r=new Ov;return t.ln&&r.gr.setAttribute("id",t.ln),t.cl&&r.gr.setAttribute("class",t.cl),t.bm&&(r.gr.style["mix-blend-mode"]=Tl(t.bm)),r},Ht.prototype.createTransformElement=function(t,r){var o=vl.getTransformProperty(this,t,this),a=new Pv(o,o.o,r);return this.addToAnimatedContents(t,a),a},Ht.prototype.createShapeElement=function(t,r,o){var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7);var d=La.getShapeProp(this,t,a,this),c=new vh(r,o,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(t,c),c},Ht.prototype.addToAnimatedContents=function(t,r){for(var o=0,a=this.animatedContents.length;o<a;){if(this.animatedContents[o].element===r)return;o+=1}this.animatedContents.push({fn:Dv.createRenderFunction(t),element:r,data:t})},Ht.prototype.setElementStyles=function(t){var r=t.styles,o,a=this.stylesList.length;for(o=0;o<a;o+=1)this.stylesList[o].closed||r.push(this.stylesList[o])},Ht.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,r=this.itemsData.length;for(t=0;t<r;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,t=0;t<r;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},Ht.prototype.searchShapes=function(t,r,o,a,d,c,u){var T=[].concat(c),v,I=t.length-1,w,B,E=[],N=[],P,M,z;for(v=I;v>=0;v-=1){if(z=this.searchProcessedElement(t[v]),z?r[v]=o[z-1]:t[v]._render=u,t[v].ty==="fl"||t[v].ty==="st"||t[v].ty==="gf"||t[v].ty==="gs"||t[v].ty==="no")z?r[v].style.closed=!1:r[v]=this.createStyleElement(t[v],d),t[v]._render&&r[v].style.pElem.parentNode!==a&&a.appendChild(r[v].style.pElem),E.push(r[v].style);else if(t[v].ty==="gr"){if(!z)r[v]=this.createGroupElement(t[v]);else for(B=r[v].it.length,w=0;w<B;w+=1)r[v].prevViewData[w]=r[v].it[w];this.searchShapes(t[v].it,r[v].it,r[v].prevViewData,r[v].gr,d+1,T,u),t[v]._render&&r[v].gr.parentNode!==a&&a.appendChild(r[v].gr)}else t[v].ty==="tr"?(z||(r[v]=this.createTransformElement(t[v],a)),P=r[v].transform,T.push(P)):t[v].ty==="sh"||t[v].ty==="rc"||t[v].ty==="el"||t[v].ty==="sr"?(z||(r[v]=this.createShapeElement(t[v],T,d)),this.setElementStyles(r[v])):t[v].ty==="tm"||t[v].ty==="rd"||t[v].ty==="ms"||t[v].ty==="pb"||t[v].ty==="zz"||t[v].ty==="op"?(z?(M=r[v],M.closed=!1):(M=Zr.getModifier(t[v].ty),M.init(this,t[v]),r[v]=M,this.shapeModifiers.push(M)),N.push(M)):t[v].ty==="rp"&&(z?(M=r[v],M.closed=!0):(M=Zr.getModifier(t[v].ty),r[v]=M,M.init(this,t,v,r),this.shapeModifiers.push(M),u=!1),N.push(M));this.addProcessedElement(t[v],v+1)}for(I=E.length,v=0;v<I;v+=1)E[v].closed=!0;for(I=N.length,v=0;v<I;v+=1)N[v].closed=!0},Ht.prototype.renderInnerContent=function(){this.renderModifiers();var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<r;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},Ht.prototype.renderShape=function(){var t,r=this.animatedContents.length,o;for(t=0;t<r;t+=1)o=this.animatedContents[t],(this._isFirstFrame||o.element._isAnimated)&&o.data!==!0&&o.fn(o.data,o.element,this._isFirstFrame)},Ht.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Al(t,r,o,a,d,c){this.o=t,this.sw=r,this.sc=o,this.fc=a,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!o,fc:!!a,m:!0,p:!0}}Al.prototype.update=function(t,r,o,a,d,c){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 u=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,u=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,u=!0),this.sc!==o&&(this.sc=o,this._mdf.sc=!0,u=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,u=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,u=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,u=!0),u};function me(t,r){this._frameId=s,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=t.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}me.prototype.defaultBoxWidth=[0,0],me.prototype.copyData=function(t,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o]);return t},me.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},me.prototype.searchProperty=function(){return this.searchKeyframes()},me.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},me.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},me.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,o=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,d=this.effectsSequence.length,c=t||this.data.d.k[this.keysIndex].s;for(a=0;a<d;a+=1)o!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},me.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,r=this.elem.comp.renderedFrame,o=0,a=t.length;o<=a-1&&!(o===a-1||t[o+1].t>r);)o+=1;return this.keysIndex!==o&&(this.keysIndex=o),this.data.d.k[this.keysIndex].s},me.prototype.buildFinalText=function(t){for(var r=[],o=0,a=t.length,d,c,u=!1,T=!1,v="";o<a;)u=T,T=!1,d=t.charCodeAt(o),v=t.charAt(o),ki.isCombinedCharacter(d)?u=!0:d>=55296&&d<=56319?ki.isRegionalFlag(t,o)?v=t.substr(o,14):(c=t.charCodeAt(o+1),c>=56320&&c<=57343&&(ki.isModifier(d,c)?(v=t.substr(o,2),u=!0):ki.isFlagEmoji(t.substr(o,4))?v=t.substr(o,4):v=t.substr(o,2))):d>56319?(c=t.charCodeAt(o+1),ki.isVariationSelector(d)&&(u=!0)):ki.isZeroWidthJoiner(d)&&(u=!0,T=!0),u?(r[r.length-1]+=v,u=!1):r.push(v),o+=v.length;return r},me.prototype.completeTextData=function(t){t.__complete=!0;var r=this.elem.globalData.fontManager,o=this.data,a=[],d,c,u,T=0,v,I=o.m.g,w=0,B=0,E=0,N=[],P=0,M=0,z,C,S=r.getFontByName(t.f),y,A=0,k=lh(S);t.fWeight=k.weight,t.fStyle=k.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),c=t.finalText.length,t.finalLineHeight=t.lh;var D=t.tr/1e3*t.finalSize,V;if(t.sz)for(var G=!0,Z=t.sz[0],ut=t.sz[1],dt,tt;G;){tt=this.buildFinalText(t.t),dt=0,P=0,c=tt.length,D=t.tr/1e3*t.finalSize;var bt=-1;for(d=0;d<c;d+=1)V=tt[d].charCodeAt(0),u=!1,tt[d]===" "?bt=d:(V===13||V===3)&&(P=0,u=!0,dt+=t.finalLineHeight||t.finalSize*1.2),r.chars?(y=r.getCharData(tt[d],S.fStyle,S.fFamily),A=u?0:y.w*t.finalSize/100):A=r.measureText(tt[d],t.f,t.finalSize),P+A>Z&&tt[d]!==" "?(bt===-1?c+=1:d=bt,dt+=t.finalLineHeight||t.finalSize*1.2,tt.splice(d,bt===d?1:0,"\r"),bt=-1,P=0):(P+=A,P+=D);dt+=S.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&ut<dt?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=tt,c=t.finalText.length,G=!1)}P=-D,A=0;var lt=0,X;for(d=0;d<c;d+=1)if(u=!1,X=t.finalText[d],V=X.charCodeAt(0),V===13||V===3?(lt=0,N.push(P),M=P>M?P:M,P=-2*D,v="",u=!0,E+=1):v=X,r.chars?(y=r.getCharData(X,S.fStyle,r.getFontByName(t.f).fFamily),A=u?0:y.w*t.finalSize/100):A=r.measureText(v,t.f,t.finalSize),X===" "?lt+=A+D:(P+=A+D+lt,lt=0),a.push({l:A,an:A,add:w,n:u,anIndexes:[],val:v,line:E,animatorJustifyOffset:0}),I==2){if(w+=A,v===""||v===" "||d===c-1){for((v===""||v===" ")&&(w-=A);B<=d;)a[B].an=w,a[B].ind=T,a[B].extra=A,B+=1;T+=1,w=0}}else if(I==3){if(w+=A,v===""||d===c-1){for(v===""&&(w-=A);B<=d;)a[B].an=w,a[B].ind=T,a[B].extra=A,B+=1;w=0,T+=1}}else a[T].ind=T,a[T].extra=0,T+=1;if(t.l=a,M=P>M?P:M,N.push(P),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=M,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=N;var _=o.a,O,p;C=_.length;var b,U,F=[];for(z=0;z<C;z+=1){for(O=_[z],O.a.sc&&(t.strokeColorAnim=!0),O.a.sw&&(t.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(t.fillColorAnim=!0),U=0,b=O.s.b,d=0;d<c;d+=1)p=a[d],p.anIndexes[z]=U,(b==1&&p.val!==""||b==2&&p.val!==""&&p.val!==" "||b==3&&(p.n||p.val==" "||d==c-1)||b==4&&(p.n||d==c-1))&&(O.s.rn===1&&F.push(U),U+=1);o.a[z].s.totalChars=U;var st=-1,mt;if(O.s.rn===1)for(d=0;d<c;d+=1)p=a[d],st!=p.anIndexes[z]&&(st=p.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),p.anIndexes[z]=mt}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=S.ascent*t.finalSize/100},me.prototype.updateDocumentData=function(t,r){r=r===void 0?this.keysIndex:r;var o=this.copyData({},this.data.d.k[r].s);o=this.copyData(o,t),this.data.d.k[r].s=o,this.recalculate(r),this.setCurrentData(o),this.elem.addDynamicProperty(this)},me.prototype.recalculate=function(t){var r=this.data.d.k[t].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},me.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},me.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Fv=function(){var t=Math.max,r=Math.min,o=Math.floor;function a(c,u){this._currentTextLength=-1,this.k=!1,this.data=u,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=rt.getProp(c,u.s||{k:0},0,0,this),"e"in u?this.e=rt.getProp(c,u.e,0,0,this):this.e={v:100},this.o=rt.getProp(c,u.o||{k:0},0,0,this),this.xe=rt.getProp(c,u.xe||{k:0},0,0,this),this.ne=rt.getProp(c,u.ne||{k:0},0,0,this),this.sm=rt.getProp(c,u.sm||{k:100},0,0,this),this.a=rt.getProp(c,u.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(u){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var T=0,v=0,I=1,w=1;this.ne.v>0?T=this.ne.v/100:v=-this.ne.v/100,this.xe.v>0?I=1-this.xe.v/100:w=1+this.xe.v/100;var B=us.getBezierEasing(T,v,I,w).get,E=0,N=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===N?E=u>=P?1:0:E=t(0,r(.5/(P-N)+(u-N)/(P-N),1)),E=B(E);else if(M===3)P===N?E=u>=P?0:1:E=1-t(0,r(.5/(P-N)+(u-N)/(P-N),1)),E=B(E);else if(M===4)P===N?E=0:(E=t(0,r(.5/(P-N)+(u-N)/(P-N),1)),E<.5?E*=2:E=1-2*(E-.5)),E=B(E);else if(M===5){if(P===N)E=0;else{var z=P-N;u=r(t(0,u+.5-N),P-N);var C=-z/2+u,S=z/2;E=Math.sqrt(1-C*C/(S*S))}E=B(E)}else M===6?(P===N?E=0:(u=r(t(0,u+.5-N),P-N),E=(1+Math.cos(Math.PI+Math.PI*2*u/(P-N)))/2),E=B(E)):(u>=o(N)&&(u-N<0?E=t(0,r(r(P,1)-(N-u),1)):E=t(0,r(P-u,1))),E=B(E));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;E<A?E=0:(E=(E-A)/y,E>1&&(E=1))}return E*this.a.v},getValue:function(u){this.iterateDynamicProperties(),this._mdf=u||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,u&&this.data.r===2&&(this.e.v=this._currentTextLength);var T=this.data.r===2?1:100/this.data.totalChars,v=this.o.v/T,I=this.s.v/T+v,w=this.e.v/T+v;if(I>w){var B=I;I=w,w=B}this.finalS=I,this.finalE=w}},$([ie],a);function d(c,u,T){return new a(c,u,T)}return{getTextSelectorProp:d}}();function $v(t,r,o){var a={propType:!1},d=rt.getProp,c=r.a;this.a={r:c.r?d(t,c.r,0,_t,o):a,rx:c.rx?d(t,c.rx,0,_t,o):a,ry:c.ry?d(t,c.ry,0,_t,o):a,sk:c.sk?d(t,c.sk,0,_t,o):a,sa:c.sa?d(t,c.sa,0,_t,o):a,s:c.s?d(t,c.s,1,.01,o):a,a:c.a?d(t,c.a,1,0,o):a,o:c.o?d(t,c.o,0,.01,o):a,p:c.p?d(t,c.p,1,0,o):a,sw:c.sw?d(t,c.sw,0,0,o):a,sc:c.sc?d(t,c.sc,1,0,o):a,fc:c.fc?d(t,c.fc,1,0,o):a,fh:c.fh?d(t,c.fh,0,0,o):a,fs:c.fs?d(t,c.fs,0,.01,o):a,fb:c.fb?d(t,c.fb,0,.01,o):a,t:c.t?d(t,c.t,0,0,o):a},this.s=Fv.getTextSelectorProp(t,r.s,o),this.s.t=r.s.t}function wi(t,r,o){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=r,this._elem=o,this._animatorsData=et(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(o)}wi.prototype.searchProperties=function(){var t,r=this._textData.a.length,o,a=rt.getProp;for(t=0;t<r;t+=1)o=this._textData.a[t],this._animatorsData[t]=new $v(this._elem,o,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)},wi.prototype.getMeasures=function(t,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var o=this._moreOptions.alignment.v,a=this._animatorsData,d=this._textData,c=this.mHelper,u=this._renderType,T=this.renderedLetters.length,v,I,w,B,E=t.l,N,P,M,z,C,S,y,A,k,D,V,G,Z,ut,dt;if(this._hasMaskedPath){if(dt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var tt=dt.v;this._pathData.r.v&&(tt=tt.reverse()),N={tLength:0,segments:[]},B=tt._length-1;var bt;for(G=0,w=0;w<B;w+=1)bt=ur.buildBezierData(tt.v[w],tt.v[w+1],[tt.o[w][0]-tt.v[w][0],tt.o[w][1]-tt.v[w][1]],[tt.i[w+1][0]-tt.v[w+1][0],tt.i[w+1][1]-tt.v[w+1][1]]),N.tLength+=bt.segmentLength,N.segments.push(bt),G+=bt.segmentLength;w=B,dt.v.c&&(bt=ur.buildBezierData(tt.v[w],tt.v[0],[tt.o[w][0]-tt.v[w][0],tt.o[w][1]-tt.v[w][1]],[tt.i[0][0]-tt.v[0][0],tt.i[0][1]-tt.v[0][1]]),N.tLength+=bt.segmentLength,N.segments.push(bt),G+=bt.segmentLength),this._pathData.pi=N}if(N=this._pathData.pi,P=this._pathData.f.v,y=0,S=1,z=0,C=!0,D=N.segments,P<0&&dt.v.c)for(N.tLength<Math.abs(P)&&(P=-Math.abs(P)%N.tLength),y=D.length-1,k=D[y].points,S=k.length-1;P<0;)P+=k[S].partialLength,S-=1,S<0&&(y-=1,k=D[y].points,S=k.length-1);k=D[y].points,A=k[S-1],M=k[S],V=M.partialLength}B=E.length,v=0,I=0;var lt=t.finalSize*1.2*.714,X=!0,_,O,p,b,U;b=a.length;var F,st=-1,mt,ft,Ct,wt=P,Kt=y,Ae=S,vr=-1,_e,oe,Re,Rt,ct,Cr,ii,wr,gr="",Lr=this.defaultPropsArray,Nr;if(t.j===2||t.j===1){var Se=0,oi=0,si=t.j===2?-.5:-1,or=0,ai=!0;for(w=0;w<B;w+=1)if(E[w].n){for(Se&&(Se+=oi);or<w;)E[or].animatorJustifyOffset=Se,or+=1;Se=0,ai=!0}else{for(p=0;p<b;p+=1)_=a[p].a,_.t.propType&&(ai&&t.j===2&&(oi+=_.t.v*si),O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?Se+=_.t.v*F[0]*si:Se+=_.t.v*F*si);ai=!1}for(Se&&(Se+=oi);or<w;)E[or].animatorJustifyOffset=Se,or+=1}for(w=0;w<B;w+=1){if(c.reset(),_e=1,E[w].n)v=0,I+=t.yOffset,I+=X?1:0,P=wt,X=!1,this._hasMaskedPath&&(y=Kt,S=Ae,k=D[y].points,A=k[S-1],M=k[S],V=M.partialLength,z=0),gr="",wr="",Cr="",Nr="",Lr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(vr!==E[w].line){switch(t.j){case 1:P+=G-t.lineWidths[E[w].line];break;case 2:P+=(G-t.lineWidths[E[w].line])/2;break;default:break}vr=E[w].line}st!==E[w].ind&&(E[st]&&(P+=E[st].extra),P+=E[w].an/2,st=E[w].ind),P+=o[0]*E[w].an*.005;var sr=0;for(p=0;p<b;p+=1)_=a[p].a,_.p.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?sr+=_.p.v[0]*F[0]:sr+=_.p.v[0]*F),_.a.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?sr+=_.a.v[0]*F[0]:sr+=_.a.v[0]*F);for(C=!0,this._pathData.a.v&&(P=E[0].an*.5+(G-this._pathData.f.v-E[0].an*.5-E[E.length-1].an*.5)*st/(B-1),P+=this._pathData.f.v);C;)z+V>=P+sr||!k?(Z=(P+sr-z)/M.partialLength,ft=A.point[0]+(M.point[0]-A.point[0])*Z,Ct=A.point[1]+(M.point[1]-A.point[1])*Z,c.translate(-o[0]*E[w].an*.005,-(o[1]*lt)*.01),C=!1):k&&(z+=M.partialLength,S+=1,S>=k.length&&(S=0,y+=1,D[y]?k=D[y].points:dt.v.c?(S=0,y=0,k=D[y].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[S],V=M.partialLength));mt=E[w].an/2-E[w].add,c.translate(-mt,0,0)}else mt=E[w].an/2-E[w].add,c.translate(-mt,0,0),c.translate(-o[0]*E[w].an*.005,-o[1]*lt*.01,0);for(p=0;p<b;p+=1)_=a[p].a,_.t.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),(v!==0||t.j!==0)&&(this._hasMaskedPath?F.length?P+=_.t.v*F[0]:P+=_.t.v*F:F.length?v+=_.t.v*F[0]:v+=_.t.v*F));for(t.strokeWidthAnim&&(Re=t.sw||0),t.strokeColorAnim&&(t.sc?oe=[t.sc[0],t.sc[1],t.sc[2]]:oe=[0,0,0]),t.fillColorAnim&&t.fc&&(Rt=[t.fc[0],t.fc[1],t.fc[2]]),p=0;p<b;p+=1)_=a[p].a,_.a.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?c.translate(-_.a.v[0]*F[0],-_.a.v[1]*F[1],_.a.v[2]*F[2]):c.translate(-_.a.v[0]*F,-_.a.v[1]*F,_.a.v[2]*F));for(p=0;p<b;p+=1)_=a[p].a,_.s.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?c.scale(1+(_.s.v[0]-1)*F[0],1+(_.s.v[1]-1)*F[1],1):c.scale(1+(_.s.v[0]-1)*F,1+(_.s.v[1]-1)*F,1));for(p=0;p<b;p+=1){if(_=a[p].a,O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),_.sk.propType&&(F.length?c.skewFromAxis(-_.sk.v*F[0],_.sa.v*F[1]):c.skewFromAxis(-_.sk.v*F,_.sa.v*F)),_.r.propType&&(F.length?c.rotateZ(-_.r.v*F[2]):c.rotateZ(-_.r.v*F)),_.ry.propType&&(F.length?c.rotateY(_.ry.v*F[1]):c.rotateY(_.ry.v*F)),_.rx.propType&&(F.length?c.rotateX(_.rx.v*F[0]):c.rotateX(_.rx.v*F)),_.o.propType&&(F.length?_e+=(_.o.v*F[0]-_e)*F[0]:_e+=(_.o.v*F-_e)*F),t.strokeWidthAnim&&_.sw.propType&&(F.length?Re+=_.sw.v*F[0]:Re+=_.sw.v*F),t.strokeColorAnim&&_.sc.propType)for(ct=0;ct<3;ct+=1)F.length?oe[ct]+=(_.sc.v[ct]-oe[ct])*F[0]:oe[ct]+=(_.sc.v[ct]-oe[ct])*F;if(t.fillColorAnim&&t.fc){if(_.fc.propType)for(ct=0;ct<3;ct+=1)F.length?Rt[ct]+=(_.fc.v[ct]-Rt[ct])*F[0]:Rt[ct]+=(_.fc.v[ct]-Rt[ct])*F;_.fh.propType&&(F.length?Rt=Pd(Rt,_.fh.v*F[0]):Rt=Pd(Rt,_.fh.v*F)),_.fs.propType&&(F.length?Rt=Md(Rt,_.fs.v*F[0]):Rt=Md(Rt,_.fs.v*F)),_.fb.propType&&(F.length?Rt=Od(Rt,_.fb.v*F[0]):Rt=Od(Rt,_.fb.v*F))}}for(p=0;p<b;p+=1)_=a[p].a,_.p.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,_.p.v[1]*F[0],-_.p.v[2]*F[1]):c.translate(0,_.p.v[1]*F,-_.p.v[2]*F):F.length?c.translate(_.p.v[0]*F[0],_.p.v[1]*F[1],-_.p.v[2]*F[2]):c.translate(_.p.v[0]*F,_.p.v[1]*F,-_.p.v[2]*F));if(t.strokeWidthAnim&&(Cr=Re<0?0:Re),t.strokeColorAnim&&(ii="rgb("+Math.round(oe[0]*255)+","+Math.round(oe[1]*255)+","+Math.round(oe[2]*255)+")"),t.fillColorAnim&&t.fc&&(wr="rgb("+Math.round(Rt[0]*255)+","+Math.round(Rt[1]*255)+","+Math.round(Rt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-t.ls),c.translate(0,o[1]*lt*.01+I,0),this._pathData.p.v){ut=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Li=Math.atan(ut)*180/Math.PI;M.point[0]<A.point[0]&&(Li+=180),c.rotate(-Li*Math.PI/180)}c.translate(ft,Ct,0),P-=o[0]*E[w].an*.005,E[w+1]&&st!==E[w+1].ind&&(P+=E[w].an/2,P+=t.tr*.001*t.finalSize)}else{switch(c.translate(v,I,0),t.ps&&c.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:c.translate(E[w].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[E[w].line]),0,0);break;case 2:c.translate(E[w].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[E[w].line])/2,0,0);break;default:break}c.translate(0,-t.ls),c.translate(mt,0,0),c.translate(o[0]*E[w].an*.005,o[1]*lt*.01,0),v+=E[w].l+t.tr*.001*t.finalSize}u==="html"?gr=c.toCSS():u==="svg"?gr=c.to2dCSS():Lr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Nr=_e}T<=w?(U=new Al(Nr,Cr,ii,wr,gr,Lr),this.renderedLetters.push(U),T+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[w],this.lettersChangedFlag=U.update(Nr,Cr,ii,wr,gr,Lr)||this.lettersChangedFlag)}}},wi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},wi.prototype.mHelper=new le,wi.prototype.defaultPropsArray=[],$([ie],wi);function Be(){}Be.prototype.initElement=function(t,r,o){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,r,o),this.textProperty=new me(this,t.t,this.dynamicProperties),this.textAnimator=new wi(t.t,this.renderType,this),this.initTransform(t,r,o),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Be.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},Be.prototype.createPathShape=function(t,r){var o,a=r.length,d,c="";for(o=0;o<a;o+=1)r[o].ty==="sh"&&(d=r[o].ks.k,c+=xh(d,d.i.length,!0,t));return c},Be.prototype.updateDocumentData=function(t,r){this.textProperty.updateDocumentData(t,r)},Be.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},Be.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},Be.prototype.applyTextPropertiesToMatrix=function(t,r,o,a,d){switch(t.ps&&r.translate(t.ps[0],t.ps[1]+t.ascent,0),r.translate(0,-t.ls,0),t.j){case 1:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[o]),0,0);break;case 2:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[o])/2,0,0);break;default:break}r.translate(a,d,0)},Be.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},Be.prototype.emptyProp=new Al,Be.prototype.destroy=function(){},Be.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var zv={shapes:[]};function Ir(t,r,o){this.textSpans=[],this.renderType="svg",this.initElement(t,r,o)}$([Qr,To,xs,xo,ti,As,Be],Ir),Ir.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=gt("text"))},Ir.prototype.buildTextContents=function(t){for(var r=0,o=t.length,a=[],d="";r<o;)t[r]==="\r"||t[r]===""?(a.push(d),d=""):d+=t[r],r+=1;return a.push(d),a},Ir.prototype.buildShapeData=function(t,r){if(t.shapes&&t.shapes.length){var o=t.shapes[0];if(o.it){var a=o.it[o.it.length-1];a.s&&(a.s.k[0]=r,a.s.k[1]=r)}}return t},Ir.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,r,o=this.textProperty.currentData;this.renderedLetters=et(o?o.l.length:0),o.fc?this.layerElement.setAttribute("fill",this.buildColor(o.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),o.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(o.sc)),this.layerElement.setAttribute("stroke-width",o.sw)),this.layerElement.setAttribute("font-size",o.finalSize);var a=this.globalData.fontManager.getFontByName(o.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var d=o.fWeight,c=o.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",o.t);var u=o.l||[],T=!!this.globalData.fontManager.chars;r=u.length;var v,I=this.mHelper,w="",B=this.data.singleShape,E=0,N=0,P=!0,M=o.tr*.001*o.finalSize;if(B&&!T&&!o.sz){var z=this.textContainer,C="start";switch(o.j){case 1:C="end";break;case 2:C="middle";break;default:C="start";break}z.setAttribute("text-anchor",C),z.setAttribute("letter-spacing",M);var S=this.buildTextContents(o.finalText);for(r=S.length,N=o.ps?o.ps[1]+o.ascent:0,t=0;t<r;t+=1)v=this.textSpans[t].span||gt("tspan"),v.textContent=S[t],v.setAttribute("x",0),v.setAttribute("y",N),v.style.display="inherit",z.appendChild(v),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=v,N+=o.finalLineHeight;this.layerElement.appendChild(z)}else{var y=this.textSpans.length,A;for(t=0;t<r;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!T||!B||t===0){if(v=y>t?this.textSpans[t].span:gt(T?"g":"text"),y<=t){if(v.setAttribute("stroke-linecap","butt"),v.setAttribute("stroke-linejoin","round"),v.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=v,T){var k=gt("g");v.appendChild(k),this.textSpans[t].childSpan=k}this.textSpans[t].span=v,this.layerElement.appendChild(v)}v.style.display="inherit"}if(I.reset(),B&&(u[t].n&&(E=-M,N+=o.yOffset,N+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(o,I,u[t].line,E,N),E+=u[t].l||0,E+=M),T){A=this.globalData.fontManager.getCharData(o.finalText[t],a.fStyle,this.globalData.fontManager.getFontByName(o.f).fFamily);var D;if(A.t===1)D=new Is(A.data,this.globalData,this);else{var V=zv;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,o.finalSize)),D=new Ht(V,this.globalData,this)}if(this.textSpans[t].glyph){var G=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(G.layerElement),G.destroy()}this.textSpans[t].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[t].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+o.finalSize/100+","+o.finalSize/100+")")}else B&&v.setAttribute("transform","translate("+I.props[12]+","+I.props[13]+")"),v.textContent=u[t].val,v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&v&&v.setAttribute("d",w)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},Ir.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},Ir.prototype.getValue=function(){var t,r=this.textSpans.length,o;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)o=this.textSpans[t].glyph,o&&(o.prepareFrame(this.comp.renderedFrame-this.data.st),o._mdf&&(this._mdf=!0))},Ir.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,r,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var d,c,u;for(t=0;t<r;t+=1)a[t].n||(d=o[t],c=this.textSpans[t].span,u=this.textSpans[t].glyph,u&&u.renderFrame(),d._mdf.m&&c.setAttribute("transform",d.m),d._mdf.o&&c.setAttribute("opacity",d.o),d._mdf.sw&&c.setAttribute("stroke-width",d.sw),d._mdf.sc&&c.setAttribute("stroke",d.sc),d._mdf.fc&&c.setAttribute("fill",d.fc))}};function _l(t,r,o){this.initElement(t,r,o)}$([_s],_l),_l.prototype.createContent=function(){var t=gt("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function ri(t,r,o){this.initFrame(),this.initBaseData(t,r,o),this.initFrame(),this.initTransform(t,r,o),this.initHierarchy()}ri.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},ri.prototype.renderFrame=function(){},ri.prototype.getBaseElement=function(){return null},ri.prototype.destroy=function(){},ri.prototype.sourceRectAtTime=function(){},ri.prototype.hide=function(){},$([Qr,To,xo,ti],ri);function Jt(){}$([ce],Jt),Jt.prototype.createNull=function(t){return new ri(t,this.globalData,this)},Jt.prototype.createShape=function(t){return new Ht(t,this.globalData,this)},Jt.prototype.createText=function(t){return new Ir(t,this.globalData,this)},Jt.prototype.createImage=function(t){return new _s(t,this.globalData,this)},Jt.prototype.createSolid=function(t){return new _l(t,this.globalData,this)},Jt.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),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 r=this.globalData.defs;this.setupGlobalData(t,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var o=gt("clipPath"),a=gt("rect");a.setAttribute("width",t.w),a.setAttribute("height",t.h),a.setAttribute("x",0),a.setAttribute("y",0);var d=Te();o.setAttribute("id",d),o.appendChild(a),this.layerElement.setAttribute("clip-path","url("+x()+"#"+d+")"),r.appendChild(o),this.layers=t.layers,this.elements=et(t.layers.length)},Jt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,r=this.layers?this.layers.length:0;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Jt.prototype.updateContainerSize=function(){},Jt.prototype.findIndexByInd=function(t){var r=0,o=this.layers.length;for(r=0;r<o;r+=1)if(this.layers[r].ind===t)return r;return-1},Jt.prototype.buildItem=function(t){var r=this.elements;if(!(r[t]||this.layers[t].ty===99)){r[t]=!0;var o=this.createItem(this.layers[t]);if(r[t]=o,Aa()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(o),o.initExpressions()),this.appendElementInPos(o,t),this.layers[t].tt){var a="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(o);else{var d=r[a],c=d.getMatte(this.layers[t].tt);o.setMatte(c)}}}},Jt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var r=0,o=this.elements.length;r<o;){if(this.elements[r]===t){var a="tp"in t.data?this.findIndexByInd(t.data.tp):r-1,d=this.elements[a],c=d.getMatte(this.layers[r].tt);t.setMatte(c);break}r+=1}}},Jt.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r,o=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=o-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<o;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Jt.prototype.appendElementInPos=function(t,r){var o=t.getBaseElement();if(o){for(var a=0,d;a<r;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(d=this.elements[a].getBaseElement()),a+=1;d?this.layerElement.insertBefore(o,d):this.layerElement.appendChild(o)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function kr(){}$([Qr,To,xo,ti,As],kr),kr.prototype.initElement=function(t,r,o){this.initFrame(),this.initBaseData(t,r,o),this.initTransform(t,r,o),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},kr.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var o,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),o=a-1;o>=0;o-=1)(this.completeLayers||this.elements[o])&&(this.elements[o].prepareFrame(this.renderedFrame-this.layers[o].st),this.elements[o]._mdf&&(this._mdf=!0))}},kr.prototype.renderInnerContent=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},kr.prototype.setElements=function(t){this.elements=t},kr.prototype.getElements=function(){return this.elements},kr.prototype.destroyElements=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy()},kr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Is(t,r,o){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?et(this.layers.length):[],this.initElement(t,r,o),this.tm=t.tm?rt.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0}}$([Jt,kr,xs],Is),Is.prototype.createComp=function(t){return new Is(t,this.globalData,this)};function Sl(t,r){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=gt("svg");var o="";if(r&&r.title){var a=gt("title"),d=Te();a.setAttribute("id",d),a.textContent=r.title,this.svgElement.appendChild(a),o+=d}if(r&&r.description){var c=gt("desc"),u=Te();c.setAttribute("id",u),c.textContent=r.description,this.svgElement.appendChild(c),o+=" "+u}o&&this.svgElement.setAttribute("aria-labelledby",o);var T=gt("defs");this.svgElement.appendChild(T);var v=gt("g");this.svgElement.appendChild(v),this.layerElement=v,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:T,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return $([Jt],Sl),Sl.prototype.createComp=function(t){return new Is(t,this.globalData,this)},Kf("svg",Sl),Zr.registerModifier("tm",ir),Zr.registerModifier("pb",fs),Zr.registerModifier("rp",fr),Zr.registerModifier("rd",vs),Zr.registerModifier("zz",bs),Zr.registerModifier("op",ys),Lt})});var Ua=globalThis,Ga=Ua.ShadowRoot&&(Ua.ShadyCSS===void 0||Ua.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,kl=Symbol(),_h=new WeakMap,ks=class{constructor(i,e,s){if(this._$cssResult$=!0,s!==kl)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=e}get styleSheet(){let i=this.o,e=this.t;if(Ga&&i===void 0){let s=e!==void 0&&e.length===1;s&&(i=_h.get(e)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),s&&_h.set(e,i))}return i}toString(){return this.cssText}},Sh=l=>new ks(typeof l=="string"?l:l+"",void 0,kl),H=(l,...i)=>{let e=l.length===1?l[0]:i.reduce((s,n,h)=>s+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+l[h+1],l[0]);return new ks(e,l,kl)},Cl=(l,i)=>{if(Ga)l.adoptedStyleSheets=i.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of i){let s=document.createElement("style"),n=Ua.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,l.appendChild(s)}},Ha=Ga?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let e="";for(let s of i.cssRules)e+=s.cssText;return Sh(e)})(l):l;var{is:Wv,defineProperty:qv,getOwnPropertyDescriptor:Kv,getOwnPropertyNames:Xv,getOwnPropertySymbols:Zv,getPrototypeOf:Jv}=Object,ni=globalThis,Ih=ni.trustedTypes,Qv=Ih?Ih.emptyScript:"",wl=ni.reactiveElementPolyfillSupport,Cs=(l,i)=>l,ws={toAttribute(l,i){switch(i){case Boolean:l=l?Qv:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,i){let e=l;switch(i){case Boolean:e=l!==null;break;case Number:e=l===null?null:Number(l);break;case Object:case Array:try{e=JSON.parse(l)}catch{e=null}}return e}},ja=(l,i)=>!Wv(l,i),kh={attribute:!0,type:String,converter:ws,reflect:!1,hasChanged:ja},Ch,wh;(Ch=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(wh=ni.litPropertyMetadata)!=null||(ni.litPropertyMetadata=new WeakMap);var Rr=class extends HTMLElement{static addInitializer(i){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,e=kh){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(i,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(i,s,e);n!==void 0&&qv(this.prototype,i,n)}}static getPropertyDescriptor(i,e,s){var m;let{get:n,set:h}=(m=Kv(this.prototype,i))!=null?m:{get(){return this[e]},set(x){this[e]=x}};return{get(){return n==null?void 0:n.call(this)},set(x){let R=n==null?void 0:n.call(this);h.call(this,x),this.requestUpdate(i,R,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var e;return(e=this.elementProperties.get(i))!=null?e:kh}static _$Ei(){if(this.hasOwnProperty(Cs("elementProperties")))return;let i=Jv(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Cs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Cs("properties"))){let e=this.properties,s=[...Xv(e),...Zv(e)];for(let n of s)this.createProperty(n,e[n])}let i=this[Symbol.metadata];if(i!==null){let e=litPropertyMetadata.get(i);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let e=[];if(Array.isArray(i)){let s=new Set(i.flat(1/0).reverse());for(let n of s)e.unshift(Ha(n))}else i!==void 0&&e.push(Ha(i));return e}static _$Eu(i,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var i;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(i=this.constructor.l)==null||i.forEach(e=>e(this))}addController(i){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(i),this.renderRoot!==void 0&&this.isConnected&&((s=i.hostConnected)==null||s.call(i))}removeController(i){var e;(e=this._$EO)==null||e.delete(i)}_$E_(){let i=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(i.set(s,this[s]),delete this[s]);i.size>0&&(this._$Ep=i)}createRenderRoot(){var e;let i=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Cl(i,this.constructor.elementStyles),i}connectedCallback(){var i,e;(i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostConnected)==null?void 0:n.call(s)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$EO)==null||i.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(i,e,s){this._$AK(i,s)}_$EC(i,e){var h;let s=this.constructor.elementProperties.get(i),n=this.constructor._$Eu(i,s);if(n!==void 0&&s.reflect===!0){let m=(((h=s.converter)==null?void 0:h.toAttribute)!==void 0?s.converter:ws).toAttribute(e,s.type);this._$Em=i,m==null?this.removeAttribute(n):this.setAttribute(n,m),this._$Em=null}}_$AK(i,e){var h;let s=this.constructor,n=s._$Eh.get(i);if(n!==void 0&&this._$Em!==n){let m=s.getPropertyOptions(n),x=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:ws;this._$Em=n,this[n]=x.fromAttribute(e,m.type),this._$Em=null}}requestUpdate(i,e,s){var n;if(i!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(i)),!((n=s.hasChanged)!=null?n:ja)(this[i],e))return;this.P(i,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(i,e,s){var n;this._$AL.has(i)||this._$AL.set(i,e),s.reflect===!0&&this._$Em!==i&&((n=this._$Ej)!=null?n:this._$Ej=new Set).add(i)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,x]of this._$Ep)this[m]=x;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,x]of h)x.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],x)}let i=!1,e=this._$AL;try{i=this.shouldUpdate(e),i?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(e)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(e)}willUpdate(i){}_$AE(i){var e;(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostUpdated)==null?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(i){}firstUpdated(i){}},Lh;Rr.elementStyles=[],Rr.shadowRootOptions={mode:"open"},Rr[Cs("elementProperties")]=new Map,Rr[Cs("finalized")]=new Map,wl==null||wl({ReactiveElement:Rr}),((Lh=ni.reactiveElementVersions)!=null?Lh:ni.reactiveElementVersions=[]).push("2.0.4");var Ns=globalThis,Ya=Ns.trustedTypes,Nh=Ya?Ya.createPolicy("lit-html",{createHTML:l=>l}):void 0,Rl="$lit$",Mr=`lit$${Math.random().toFixed(9).slice(2)}$`,Ml="?"+Mr,tg=`<${Ml}>`,Mi=document,Rs=()=>Mi.createComment(""),Ms=l=>l===null||typeof l!="object"&&typeof l!="function",Ol=Array.isArray,$h=l=>Ol(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",Ll=`[
|
3
|
-
\f\r]`,
|
4
|
-
\f\r"'\`<>=]|("|')|))|$)`,"g"),
|
1
|
+
"use strict";(()=>{var Kv=Object.create;var Ml=Object.defineProperty;var Nh=Object.getOwnPropertyDescriptor;var Xv=Object.getOwnPropertyNames;var Zv=Object.getPrototypeOf,Jv=Object.prototype.hasOwnProperty;var Qv=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var tg=(l,i,t,s)=>{if(i&&typeof i=="object"||typeof i=="function")for(let n of Xv(i))!Jv.call(l,n)&&n!==t&&Ml(l,n,{get:()=>i[n],enumerable:!(s=Nh(i,n))||s.enumerable});return l};var eg=(l,i,t)=>(t=l!=null?Kv(Zv(l)):{},tg(i||!l||!l.__esModule?Ml(t,"default",{value:l,enumerable:!0}):t,l));var f=(l,i,t,s)=>{for(var n=s>1?void 0:s?Nh(i,t):i,h=l.length-1,m;h>=0;h--)(m=l[h])&&(n=(s?m(i,t,n):m(n))||n);return s&&n&&Ml(i,t,n),n};var xp=Qv((Us,vn)=>{typeof navigator<"u"&&function(l,i){typeof Us=="object"&&typeof vn<"u"?vn.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(Us,function(){"use strict";var l="http://www.w3.org/2000/svg",i="",t=!1,s=-999999,n=function(r){t=!!r},h=function(){return t},m=function(r){i=r},x=function(){return i};function R(e){return document.createElement(e)}function $(e,r){var o,a=e.length,d;for(o=0;o<a;o+=1){d=e[o].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function Y(e,r){return Object.getOwnPropertyDescriptor(e,r)}function K(e){function r(){}return r.prototype=e,r}var at=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(o){this.audios.push(o)},pause:function(){var o,a=this.audios.length;for(o=0;o<a;o+=1)this.audios[o].pause()},resume:function(){var o,a=this.audios.length;for(o=0;o<a;o+=1)this.audios[o].resume()},setRate:function(o){var a,d=this.audios.length;for(a=0;a<d;a+=1)this.audios[a].setRate(o)},createAudio:function(o){return this.audioFactory?this.audioFactory(o):window.Howl?new window.Howl({src:[o]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(o){this.audioFactory=o},setVolume:function(o){this._volume=o,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var o,a=this.audios.length;for(o=0;o<a;o+=1)this.audios[o].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),J=function(){function e(o,a){var d=0,c=[],u;switch(o){case"int16":case"uint8c":u=1;break;default:u=1.1;break}for(d=0;d<a;d+=1)c.push(u);return c}function r(o,a){return o==="float32"?new Float32Array(a):o==="int16"?new Int16Array(a):o==="uint8c"?new Uint8ClampedArray(a):e(o,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function rt(e){return Array.apply(null,{length:e})}function ht(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(o){return typeof o}:ht=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ht(e)}var Tt=!0,yt=null,xt=null,kt="",Gt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ot=!1,Dt=Math.pow,Ee=Math.sqrt,re=Math.floor,Qe=Math.max,Ne=Math.min,Fe={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,o=e.length;for(r=0;r<o;r+=1)Fe[e[r]]=Math[e[r]]})();function tr(){return{}}Fe.random=Math.random,Fe.abs=function(e){var r=ht(e);if(r==="object"&&e.length){var o=rt(e.length),a,d=e.length;for(a=0;a<d;a+=1)o[a]=Math.abs(e[a]);return o}return Math.abs(e)};var er=150,_t=Math.PI/180,pe=.5519;function $e(e){Ot=!!e}function rr(e){return Ot?Math.round(e):e}function Ir(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function ze(e,r,o,a){this.type=e,this.currentTime=r,this.totalTime=o,this.direction=a<0?-1:1}function Sa(e,r){this.type=e,this.direction=r<0?-1:1}function $d(e,r,o,a){this.type=e,this.currentLoop=o,this.totalLoops=r,this.direction=a<0?-1:1}function zd(e,r,o){this.type=e,this.firstFrame=r,this.totalFrames=o}function Vd(e,r){this.type=e,this.target=r}function Kf(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function Xf(e){this.type="configError",this.nativeError=e}function $E(e,r){this.type=e,this.nativeError=r}var Te=function(){var e=0;return function(){return e+=1,kt+"__lottie_element_"+e}}();function El(e,r,o){var a,d,c,u,T,v,I,w;switch(u=Math.floor(e*6),T=e*6-u,v=o*(1-r),I=o*(1-T*r),w=o*(1-(1-T)*r),u%6){case 0:a=o,d=w,c=v;break;case 1:a=I,d=o,c=v;break;case 2:a=v,d=o,c=w;break;case 3:a=v,d=I,c=o;break;case 4:a=w,d=v,c=o;break;case 5:a=o,d=v,c=I;break;default:break}return[a,d,c]}function Tl(e,r,o){var a=Math.max(e,r,o),d=Math.min(e,r,o),c=a-d,u,T=a===0?0:c/a,v=a/255;switch(a){case d:u=0;break;case e:u=r-o+c*(r<o?6:0),u/=6*c;break;case r:u=o-e+c*2,u/=6*c;break;case o:u=e-r+c*4,u/=6*c;break;default:break}return[u,T,v]}function Bd(e,r){var o=Tl(e[0]*255,e[1]*255,e[2]*255);return o[1]+=r,o[1]>1?o[1]=1:o[1]<=0&&(o[1]=0),El(o[0],o[1],o[2])}function Ud(e,r){var o=Tl(e[0]*255,e[1]*255,e[2]*255);return o[2]+=r,o[2]>1?o[2]=1:o[2]<0&&(o[2]=0),El(o[0],o[1],o[2])}function Gd(e,r){var o=Tl(e[0]*255,e[1]*255,e[2]*255);return o[0]+=r/360,o[0]>1?o[0]-=1:o[0]<0&&(o[0]+=1),El(o[0],o[1],o[2])}var zE=function(){var e=[],r,o;for(r=0;r<256;r+=1)o=r.toString(16),e[r]=o.length===1?"0"+o:o;return function(a,d,c){return a<0&&(a=0),d<0&&(d=0),c<0&&(c=0),"#"+e[a]+e[d]+e[c]}}(),Zf=function(r){Tt=!!r},Jf=function(){return Tt},Qf=function(r){yt=r},Ia=function(){return yt},VE=function(r){xt=r},Hd=function(){return xt},ka=function(r){er=r},ps=function(){return er},tv=function(r){kt=r},BE=function(){return kt};function gt(e){return document.createElementNS(l,e)}function Ca(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ca=function(o){return typeof o}:Ca=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Ca(e)}var ms=function(){var e=1,r=[],o,a,d={onmessage:function(){},postMessage:function(N){o({data:N})}},c={postMessage:function(N){d.onmessage({data:N})}};function u(E){if(window.Worker&&window.Blob&&h()){var N=new Blob(["var _workerSelf = self; self.onmessage = ",E.toString()],{type:"text/javascript"}),P=URL.createObjectURL(N);return new Worker(P)}return o=E,d}function T(){a||(a=u(function(N){function P(){function z(X,_){var O,p,b=X.length,U,F,st,mt;for(p=0;p<b;p+=1)if(O=X[p],"ks"in O&&!O.completed){if(O.completed=!0,O.hasMask){var ft=O.masksProperties;for(F=ft.length,U=0;U<F;U+=1)if(ft[U].pt.k.i)k(ft[U].pt.k);else for(mt=ft[U].pt.k.length,st=0;st<mt;st+=1)ft[U].pt.k[st].s&&k(ft[U].pt.k[st].s[0]),ft[U].pt.k[st].e&&k(ft[U].pt.k[st].e[0])}O.ty===0?(O.layers=y(O.refId,_),z(O.layers,_)):O.ty===4?A(O.shapes):O.ty===5&&bt(O)}}function C(X,_){if(X){var O=0,p=X.length;for(O=0;O<p;O+=1)X[O].t===1&&(X[O].data.layers=y(X[O].data.refId,_),z(X[O].data.layers,_))}}function S(X,_){for(var O=0,p=_.length;O<p;){if(_[O].id===X)return _[O];O+=1}return null}function y(X,_){var O=S(X,_);return O?O.layers.__used?JSON.parse(JSON.stringify(O.layers)):(O.layers.__used=!0,O.layers):null}function A(X){var _,O=X.length,p,b;for(_=O-1;_>=0;_-=1)if(X[_].ty==="sh")if(X[_].ks.k.i)k(X[_].ks.k);else for(b=X[_].ks.k.length,p=0;p<b;p+=1)X[_].ks.k[p].s&&k(X[_].ks.k[p].s[0]),X[_].ks.k[p].e&&k(X[_].ks.k[p].e[0]);else X[_].ty==="gr"&&A(X[_].it)}function k(X){var _,O=X.i.length;for(_=0;_<O;_+=1)X.i[_][0]+=X.v[_][0],X.i[_][1]+=X.v[_][1],X.o[_][0]+=X.v[_][0],X.o[_][1]+=X.v[_][1]}function D(X,_){var O=_?_.split("."):[100,100,100];return X[0]>O[0]?!0:O[0]>X[0]?!1:X[1]>O[1]?!0:O[1]>X[1]?!1:X[2]>O[2]?!0:O[2]>X[2]?!1:null}var V=function(){var X=[4,4,14];function _(p){var b=p.t.d;p.t.d={k:[{s:b,t:0}]}}function O(p){var b,U=p.length;for(b=0;b<U;b+=1)p[b].ty===5&&_(p[b])}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}(),G=function(){var X=[4,7,99];return function(_){if(_.chars&&!D(X,_.v)){var O,p=_.chars.length;for(O=0;O<p;O+=1){var b=_.chars[O];b.data&&b.data.shapes&&(A(b.data.shapes),b.data.ip=0,b.data.op=99999,b.data.st=0,b.data.sr=1,b.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},_.chars[O].t||(b.data.shapes.push({ty:"no"}),b.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),Z=function(){var X=[5,7,15];function _(p){var b=p.t.p;typeof b.a=="number"&&(b.a={a:0,k:b.a}),typeof b.p=="number"&&(b.p={a:0,k:b.p}),typeof b.r=="number"&&(b.r={a:0,k:b.r})}function O(p){var b,U=p.length;for(b=0;b<U;b+=1)p[b].ty===5&&_(p[b])}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}(),ut=function(){var X=[4,1,9];function _(p){var b,U=p.length,F,st;for(b=0;b<U;b+=1)if(p[b].ty==="gr")_(p[b].it);else if(p[b].ty==="fl"||p[b].ty==="st")if(p[b].c.k&&p[b].c.k[0].i)for(st=p[b].c.k.length,F=0;F<st;F+=1)p[b].c.k[F].s&&(p[b].c.k[F].s[0]/=255,p[b].c.k[F].s[1]/=255,p[b].c.k[F].s[2]/=255,p[b].c.k[F].s[3]/=255),p[b].c.k[F].e&&(p[b].c.k[F].e[0]/=255,p[b].c.k[F].e[1]/=255,p[b].c.k[F].e[2]/=255,p[b].c.k[F].e[3]/=255);else p[b].c.k[0]/=255,p[b].c.k[1]/=255,p[b].c.k[2]/=255,p[b].c.k[3]/=255}function O(p){var b,U=p.length;for(b=0;b<U;b+=1)p[b].ty===4&&_(p[b].shapes)}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}(),dt=function(){var X=[4,4,18];function _(p){var b,U=p.length,F,st;for(b=U-1;b>=0;b-=1)if(p[b].ty==="sh")if(p[b].ks.k.i)p[b].ks.k.c=p[b].closed;else for(st=p[b].ks.k.length,F=0;F<st;F+=1)p[b].ks.k[F].s&&(p[b].ks.k[F].s[0].c=p[b].closed),p[b].ks.k[F].e&&(p[b].ks.k[F].e[0].c=p[b].closed);else p[b].ty==="gr"&&_(p[b].it)}function O(p){var b,U,F=p.length,st,mt,ft,Ct;for(U=0;U<F;U+=1){if(b=p[U],b.hasMask){var wt=b.masksProperties;for(mt=wt.length,st=0;st<mt;st+=1)if(wt[st].pt.k.i)wt[st].pt.k.c=wt[st].cl;else for(Ct=wt[st].pt.k.length,ft=0;ft<Ct;ft+=1)wt[st].pt.k[ft].s&&(wt[st].pt.k[ft].s[0].c=wt[st].cl),wt[st].pt.k[ft].e&&(wt[st].pt.k[ft].e[0].c=wt[st].cl)}b.ty===4&&_(b.shapes)}}return function(p){if(D(X,p.v)&&(O(p.layers),p.assets)){var b,U=p.assets.length;for(b=0;b<U;b+=1)p.assets[b].layers&&O(p.assets[b].layers)}}}();function tt(X){X.__complete||(ut(X),V(X),G(X),Z(X),dt(X),z(X.layers,X.assets),C(X.chars,X.assets),X.__complete=!0)}function bt(X){X.t.a.length===0&&"m"in X.t.p}var lt={};return lt.completeData=tt,lt.checkColors=ut,lt.checkChars=G,lt.checkPathProperties=Z,lt.checkShapes=dt,lt.completeLayers=z,lt}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(S){var y=S.getResponseHeader("content-type");return y&&S.responseType==="json"&&y.indexOf("json")!==-1||S.response&&Ca(S.response)==="object"?S.response:S.response&&typeof S.response=="string"?JSON.parse(S.response):S.responseText?JSON.parse(S.responseText):null}function C(S,y,A,k){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(G){k&&k(G)}};try{V.open(["G","E","T"].join(""),S,!0)}catch{V.open(["G","E","T"].join(""),y+"/"+S,!0)}V.send()}return{load:C}}()),N.data.type==="loadAnimation")c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})});else if(N.data.type==="complete"){var M=N.data.animation;c.dataManager.completeData(M),c.postMessage({id:N.data.id,payload:M,status:"success"})}else N.data.type==="loadData"&&c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})})}),a.onmessage=function(E){var N=E.data,P=N.id,M=r[P];r[P]=null,N.status==="success"?M.onComplete(N.payload):M.onError&&M.onError()})}function v(E,N){e+=1;var P="processId_"+e;return r[P]={onComplete:E,onError:N},P}function I(E,N,P){T();var M=v(N,P);a.postMessage({type:"loadAnimation",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function w(E,N,P){T();var M=v(N,P);a.postMessage({type:"loadData",path:E,fullPath:window.location.origin+window.location.pathname,id:M})}function B(E,N,P){T();var M=v(N,P);a.postMessage({type:"complete",animation:E,id:M})}return{loadAnimation:I,loadData:w,completeAnimation:B}}(),ev=function(){var e=function(){var C=R("canvas");C.width=1,C.height=1;var S=C.getContext("2d");return S.fillStyle="rgba(0,0,0,0)",S.fillRect(0,0,1,1),C}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function o(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(C,S,y){var A="";if(C.e)A=C.p;else if(S){var k=C.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=S+k}else A=y,A+=C.u?C.u:"",A+=C.p;return A}function d(C){var S=0,y=setInterval((function(){var A=C.getBBox();(A.width||S>500)&&(this._imageLoaded(),clearInterval(y)),S+=1}).bind(this),50)}function c(C){var S=a(C,this.assetsPath,this.path),y=gt("image");Gt?this.testImageLoaded(y):y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.setAttributeNS("http://www.w3.org/1999/xlink","href",S),this._elementHelper.append?this._elementHelper.append(y):this._elementHelper.appendChild(y);var A={img:y,assetData:C};return A}function u(C){var S=a(C,this.assetsPath,this.path),y=R("img");y.crossOrigin="anonymous",y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.src=S;var A={img:y,assetData:C};return A}function T(C){var S={assetData:C},y=a(C,this.assetsPath,this.path);return ms.loadData(y,(function(A){S.img=A,this._footageLoaded()}).bind(this),(function(){S.img={},this._footageLoaded()}).bind(this)),S}function v(C,S){this.imagesLoadedCb=S;var y,A=C.length;for(y=0;y<A;y+=1)C[y].layers||(!C[y].t||C[y].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(C[y]))):C[y].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(C[y]))))}function I(C){this.path=C||""}function w(C){this.assetsPath=C||""}function B(C){for(var S=0,y=this.images.length;S<y;){if(this.images[S].assetData===C)return this.images[S].img;S+=1}return null}function E(){this.imagesLoadedCb=null,this.images.length=0}function N(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(C,S){C==="svg"?(this._elementHelper=S,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=o.bind(this),this.testImageLoaded=d.bind(this),this.createFootageData=T.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:v,setAssetsPath:w,setPath:I,loadedImages:N,loadedFootages:P,destroy:E,getAsset:B,createImgData:u,createImageData:c,imageLoaded:r,footageLoaded:o,setCacheType:M},z}();function jd(){}jd.prototype={triggerEvent:function(r,o){if(this._cbs[r])for(var a=this._cbs[r],d=0;d<a.length;d+=1)a[d](o)},addEventListener:function(r,o){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(o),(function(){this.removeEventListener(r,o)}).bind(this)},removeEventListener:function(r,o){if(!o)this._cbs[r]=null;else if(this._cbs[r]){for(var a=0,d=this._cbs[r].length;a<d;)this._cbs[r][a]===o&&(this._cbs[r].splice(a,1),a-=1,d-=1),a+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var rv=function(){function e(r){for(var o=r.split(`\r
|
2
|
+
`),a={},d,c=0,u=0;u<o.length;u+=1)d=o[u].split(":"),d.length===2&&(a[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(r){for(var o=[],a=0;a<r.length;a+=1){var d=r[a],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[a].cm)}catch{try{c.payload=e(r[a].cm)}catch{c.payload={name:r[a].cm}}}o.push(c)}return o}}(),iv=function(){function e(r){this.compositions.push(r)}return function(){function r(o){for(var a=0,d=this.compositions.length;a<d;){if(this.compositions[a].data&&this.compositions[a].data.nm===o)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),us={},ov=function(r,o){us[r]=o};function sv(e){return us[e]}function av(){if(us.canvas)return"canvas";for(var e in us)if(us[e])return e;return""}function fs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fs=function(o){return typeof o}:fs=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},fs(e)}var pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Te(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Jf(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=iv(),this.imagePreloader=new ev,this.audioController=at(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ze("drawnFrame",0,0,0),this.expressionsPlugin=Ia()};$([jd],pt),pt.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var o=sv(r);this.renderer=new o(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),ms.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){ms.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&fs(r)!=="object"&&(r=JSON.parse(r));var o={wrapper:e,animationData:r},a=e.attributes;o.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",o.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:av()||"canvas";var d=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";d==="false"?o.loop=!1:d==="true"?o.loop=!0:d!==""&&(o.loop=parseInt(d,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;o.autoplay=c!=="false",o.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var u=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";u==="false"&&(o.prerender=!1),o.path?this.setParams(o):this.trigger("destroy")},pt.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,o,a=r.length,d=e.layers,c,u=d.length;for(c=0;c<u;c+=1)for(o=0;o<a;){if(r[o].id===d[c].id){r[o]=d[c];break}o+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(a=e.assets.length,o=0;o<a;o+=1)this.animationData.assets.push(e.assets[o]);this.animationData.__complete=!1,ms.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ia();r&&r.initExpressions(this),this.loadNextSegment()},pt.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var o=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,ms.loadData(o,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=rv(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=Ia();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(e,r){var o=typeof e=="number"?e:void 0,a=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(o,a)},pt.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},pt.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},pt.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},pt.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.prototype.getMarkerData=function(e){for(var r,o=0;o<this.markers.length;o+=1)if(r=this.markers[o],r.payload&&r.payload.name===e)return r;return null},pt.prototype.goToAndStop=function(e,r,o){if(!(o&&this.name!==o)){var a=Number(e);if(isNaN(a)){var d=this.getMarkerData(e);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(e,r,o){if(!(o&&this.name!==o)){var a=Number(e);if(isNaN(a)){var d=this.getMarkerData(e);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(a,r,o);this.play()}},pt.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,o=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(o=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(o=!0,r=0)):this.setCurrentRawFrameValue(r),o&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},pt.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},pt.prototype.setSegment=function(e,r){var o=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?o=e:this.currentRawFrame+this.firstFrame>r&&(o=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,o!==-1&&this.goToAndStop(o,!0)},pt.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),fs(e[0])==="object"){var o,a=e.length;for(o=0;o<a;o+=1)this.segments.push(e[o])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},pt.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},pt.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},pt.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},pt.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},pt.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},pt.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(e){this.loop=e},pt.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},pt.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var o=e.p;o.indexOf("images/")!==-1&&(o=o.split("/")[1]),r=this.assetsPath+o}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},pt.prototype.getAssetData=function(e){for(var r=0,o=this.assets.length;r<o;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(e,r,o){try{var a=this.renderer.getElementByPath(e);a.updateDocumentData(r,o)}catch{}},pt.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new ze(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new $d(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Sa(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new zd(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new Vd(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ze(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new $d(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Sa(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new zd(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Vd(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Kf(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new Xf(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=function(){var e={},r=[],o=0,a=0,d=0,c=!0,u=!1;function T(_){for(var O=0,p=_.target;O<a;)r[O].animation===p&&(r.splice(O,1),O-=1,a-=1,p.isPaused||B()),O+=1}function v(_,O){if(!_)return null;for(var p=0;p<a;){if(r[p].elem===_&&r[p].elem!==null)return r[p].animation;p+=1}var b=new pt;return E(b,_),b.setData(_,O),b}function I(){var _,O=r.length,p=[];for(_=0;_<O;_+=1)p.push(r[_].animation);return p}function w(){d+=1,ut()}function B(){d-=1}function E(_,O){_.addEventListener("destroy",T),_.addEventListener("_active",w),_.addEventListener("_idle",B),r.push({elem:O,animation:_}),a+=1}function N(_){var O=new pt;return E(O,null),O.setParams(_),O}function P(_,O){var p;for(p=0;p<a;p+=1)r[p].animation.setSpeed(_,O)}function M(_,O){var p;for(p=0;p<a;p+=1)r[p].animation.setDirection(_,O)}function z(_){var O;for(O=0;O<a;O+=1)r[O].animation.play(_)}function C(_){var O=_-o,p;for(p=0;p<a;p+=1)r[p].animation.advanceTime(O);o=_,d&&!u?window.requestAnimationFrame(C):c=!0}function S(_){o=_,window.requestAnimationFrame(C)}function y(_){var O;for(O=0;O<a;O+=1)r[O].animation.pause(_)}function A(_,O,p){var b;for(b=0;b<a;b+=1)r[b].animation.goToAndStop(_,O,p)}function k(_){var O;for(O=0;O<a;O+=1)r[O].animation.stop(_)}function D(_){var O;for(O=0;O<a;O+=1)r[O].animation.togglePause(_)}function V(_){var O;for(O=a-1;O>=0;O-=1)r[O].animation.destroy(_)}function G(_,O,p){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=b.length;for(U=0;U<F;U+=1)p&&b[U].setAttribute("data-bm-type",p),v(b[U],_);if(O&&F===0){p||(p="svg");var st=document.getElementsByTagName("body")[0];st.innerText="";var mt=R("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",p),st.appendChild(mt),v(mt,_)}}function Z(){var _;for(_=0;_<a;_+=1)r[_].animation.resize()}function ut(){!u&&d&&c&&(window.requestAnimationFrame(S),c=!1)}function dt(){u=!0}function tt(){u=!1,ut()}function bt(_,O){var p;for(p=0;p<a;p+=1)r[p].animation.setVolume(_,O)}function lt(_){var O;for(O=0;O<a;O+=1)r[O].animation.mute(_)}function X(_){var O;for(O=0;O<a;O+=1)r[O].animation.unmute(_)}return e.registerAnimation=v,e.loadAnimation=N,e.setSpeed=P,e.setDirection=M,e.play=z,e.pause=y,e.stop=k,e.togglePause=D,e.searchAnimations=G,e.resize=Z,e.goToAndStop=A,e.destroy=V,e.freeze=dt,e.unfreeze=tt,e.setVolume=bt,e.mute=lt,e.unmute=X,e.getRegisteredAnimations=I,e}(),vs=function(){var e={};e.getBezierEasing=o;var r={};function o(S,y,A,k,D){var V=D||("bez_"+S+"_"+y+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var G=new C([S,y,A,k]);return r[V]=G,G}var a=4,d=.001,c=1e-7,u=10,T=11,v=1/(T-1),I=typeof Float32Array=="function";function w(S,y){return 1-3*y+3*S}function B(S,y){return 3*y-6*S}function E(S){return 3*S}function N(S,y,A){return((w(y,A)*S+B(y,A))*S+E(y))*S}function P(S,y,A){return 3*w(y,A)*S*S+2*B(y,A)*S+E(y)}function M(S,y,A,k,D){var V,G,Z=0;do G=y+(A-y)/2,V=N(G,k,D)-S,V>0?A=G:y=G;while(Math.abs(V)>c&&++Z<u);return G}function z(S,y,A,k){for(var D=0;D<a;++D){var V=P(y,A,k);if(V===0)return y;var G=N(y,A,k)-S;y-=G/V}return y}function C(S){this._p=S,this._mSampleValues=I?new Float32Array(T):new Array(T),this._precomputed=!1,this.get=this.get.bind(this)}return C.prototype={get:function(y){var A=this._p[0],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?y:y===0?0:y===1?1:N(this._getTForX(y),k,V)},_precompute:function(){var y=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],k=0;k<T;++k)this._mSampleValues[k]=N(k*v,y,A)},_getTForX:function(y){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,G=1,Z=T-1;G!==Z&&D[G]<=y;++G)V+=v;--G;var ut=(y-D[G])/(D[G+1]-D[G]),dt=V+ut*v,tt=P(dt,A,k);return tt>=d?z(y,dt,A,k):tt===0?dt:M(y,V,V+v,A,k)}},e}(),Yd=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),wa=function(){return function(e,r,o){var a=0,d=e,c=rt(d),u={newElement:T,release:v};function T(){var I;return a?(a-=1,I=c[a]):I=r(),I}function v(I){a===d&&(c=Yd.double(c),d*=2),o&&o(I),c[a]=I,a+=1}return u}}(),Wd=function(){function e(){return{addedLength:0,percents:J("float32",ps()),lengths:J("float32",ps())}}return wa(8,e)}(),qd=function(){function e(){return{lengths:[],totalLength:0}}function r(o){var a,d=o.lengths.length;for(a=0;a<d;a+=1)Wd.release(o.lengths[a]);o.lengths.length=0}return wa(8,e,r)}();function nv(){var e=Math;function r(E,N,P,M,z,C){var S=E*M+N*z+P*C-z*M-C*E-P*N;return S>-.001&&S<.001}function o(E,N,P,M,z,C,S,y,A){if(P===0&&C===0&&A===0)return r(E,N,M,z,S,y);var k=e.sqrt(e.pow(M-E,2)+e.pow(z-N,2)+e.pow(C-P,2)),D=e.sqrt(e.pow(S-E,2)+e.pow(y-N,2)+e.pow(A-P,2)),V=e.sqrt(e.pow(S-M,2)+e.pow(y-z,2)+e.pow(A-C,2)),G;return k>D?k>V?G=k-D-V:G=V-D-k:V>D?G=V-D-k:G=D-k-V,G>-1e-4&&G<1e-4}var a=function(){return function(E,N,P,M){var z=ps(),C,S,y,A,k,D=0,V,G=[],Z=[],ut=Wd.newElement();for(y=P.length,C=0;C<z;C+=1){for(k=C/(z-1),V=0,S=0;S<y;S+=1)A=Dt(1-k,3)*E[S]+3*Dt(1-k,2)*k*P[S]+3*(1-k)*Dt(k,2)*M[S]+Dt(k,3)*N[S],G[S]=A,Z[S]!==null&&(V+=Dt(G[S]-Z[S],2)),Z[S]=G[S];V&&(V=Ee(V),D+=V),ut.percents[C]=k,ut.lengths[C]=D}return ut.addedLength=D,ut}}();function d(E){var N=qd.newElement(),P=E.c,M=E.v,z=E.o,C=E.i,S,y=E._length,A=N.lengths,k=0;for(S=0;S<y-1;S+=1)A[S]=a(M[S],M[S+1],z[S],C[S+1]),k+=A[S].addedLength;return P&&y&&(A[S]=a(M[S],M[0],z[S],C[0]),k+=A[S].addedLength),N.totalLength=k,N}function c(E){this.segmentLength=0,this.points=new Array(E)}function u(E,N){this.partialLength=E,this.point=N}var T=function(){var E={};return function(N,P,M,z){var C=(N[0]+"_"+N[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!E[C]){var S=ps(),y,A,k,D,V,G=0,Z,ut,dt=null;N.length===2&&(N[0]!==P[0]||N[1]!==P[1])&&r(N[0],N[1],P[0],P[1],N[0]+M[0],N[1]+M[1])&&r(N[0],N[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(S=2);var tt=new c(S);for(k=M.length,y=0;y<S;y+=1){for(ut=rt(k),V=y/(S-1),Z=0,A=0;A<k;A+=1)D=Dt(1-V,3)*N[A]+3*Dt(1-V,2)*V*(N[A]+M[A])+3*(1-V)*Dt(V,2)*(P[A]+z[A])+Dt(V,3)*P[A],ut[A]=D,dt!==null&&(Z+=Dt(ut[A]-dt[A],2));Z=Ee(Z),G+=Z,tt.points[y]=new u(Z,ut),dt=ut}tt.segmentLength=G,E[C]=tt}return E[C]}}();function v(E,N){var P=N.percents,M=N.lengths,z=P.length,C=re((z-1)*E),S=E*N.addedLength,y=0;if(C===z-1||C===0||S===M[C])return P[C];for(var A=M[C]>S?-1:1,k=!0;k;)if(M[C]<=S&&M[C+1]>S?(y=(S-M[C])/(M[C+1]-M[C]),k=!1):C+=A,C<0||C>=z-1){if(C===z-1)return P[C];k=!1}return P[C]+(P[C+1]-P[C])*y}function I(E,N,P,M,z,C){var S=v(z,C),y=1-S,A=e.round((y*y*y*E[0]+(S*y*y+y*S*y+y*y*S)*P[0]+(S*S*y+y*S*S+S*y*S)*M[0]+S*S*S*N[0])*1e3)/1e3,k=e.round((y*y*y*E[1]+(S*y*y+y*S*y+y*y*S)*P[1]+(S*S*y+y*S*S+S*y*S)*M[1]+S*S*S*N[1])*1e3)/1e3;return[A,k]}var w=J("float32",8);function B(E,N,P,M,z,C,S){z<0?z=0:z>1&&(z=1);var y=v(z,S);C=C>1?1:C;var A=v(C,S),k,D=E.length,V=1-y,G=1-A,Z=V*V*V,ut=y*V*V*3,dt=y*y*V*3,tt=y*y*y,bt=V*V*G,lt=y*V*G+V*y*G+V*V*A,X=y*y*G+V*y*A+y*V*A,_=y*y*A,O=V*G*G,p=y*G*G+V*A*G+V*G*A,b=y*A*G+V*A*A+y*G*A,U=y*A*A,F=G*G*G,st=A*G*G+G*A*G+G*G*A,mt=A*A*G+G*A*A+A*G*A,ft=A*A*A;for(k=0;k<D;k+=1)w[k*4]=e.round((Z*E[k]+ut*P[k]+dt*M[k]+tt*N[k])*1e3)/1e3,w[k*4+1]=e.round((bt*E[k]+lt*P[k]+X*M[k]+_*N[k])*1e3)/1e3,w[k*4+2]=e.round((O*E[k]+p*P[k]+b*M[k]+U*N[k])*1e3)/1e3,w[k*4+3]=e.round((F*E[k]+st*P[k]+mt*M[k]+ft*N[k])*1e3)/1e3;return w}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:I,buildBezierData:T,pointOnLine2D:r,pointOnLine3D:o}}var ur=nv(),Ii=s,Kd=Math.abs;function Xd(e,r){var o=this.offsetTime,a;this.propType==="multidimensional"&&(a=J("float32",this.pv.length));for(var d=r.lastIndex,c=d,u=this.keyframes.length-1,T=!0,v,I,w;T;){if(v=this.keyframes[c],I=this.keyframes[c+1],c===u-1&&e>=I.t-o){v.h&&(v=I),d=0;break}if(I.t-o>e){d=c;break}c<u-1?c+=1:(d=0,T=!1)}w=this.keyframesMetadata[c]||{};var B,E,N,P,M,z,C=I.t-o,S=v.t-o,y;if(v.to){w.bezierData||(w.bezierData=ur.buildBezierData(v.s,I.s||v.e,v.to,v.ti));var A=w.bezierData;if(e>=C||e<S){var k=e>=C?A.points.length-1:0;for(E=A.points[k].point.length,B=0;B<E;B+=1)a[B]=A.points[k].point[B]}else{w.__fnct?z=w.__fnct:(z=vs.getBezierEasing(v.o.x,v.o.y,v.i.x,v.i.y,v.n).get,w.__fnct=z),N=z((e-S)/(C-S));var D=A.segmentLength*N,V,G=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,T=!0,P=A.points.length;T;){if(G+=A.points[M].partialLength,D===0||N===0||M===A.points.length-1){for(E=A.points[M].point.length,B=0;B<E;B+=1)a[B]=A.points[M].point[B];break}else if(D>=G&&D<G+A.points[M+1].partialLength){for(V=(D-G)/A.points[M+1].partialLength,E=A.points[M].point.length,B=0;B<E;B+=1)a[B]=A.points[M].point[B]+(A.points[M+1].point[B]-A.points[M].point[B])*V;break}M<P-1?M+=1:T=!1}r._lastPoint=M,r._lastAddedLength=G-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var Z,ut,dt,tt,bt;if(u=v.s.length,y=I.s||v.e,this.sh&&v.h!==1)if(e>=C)a[0]=y[0],a[1]=y[1],a[2]=y[2];else if(e<=S)a[0]=v.s[0],a[1]=v.s[1],a[2]=v.s[2];else{var lt=Zd(v.s),X=Zd(y),_=(e-S)/(C-S);cv(a,lv(lt,X,_))}else for(c=0;c<u;c+=1)v.h!==1&&(e>=C?N=1:e<S?N=0:(v.o.x.constructor===Array?(w.__fnct||(w.__fnct=[]),w.__fnct[c]?z=w.__fnct[c]:(Z=v.o.x[c]===void 0?v.o.x[0]:v.o.x[c],ut=v.o.y[c]===void 0?v.o.y[0]:v.o.y[c],dt=v.i.x[c]===void 0?v.i.x[0]:v.i.x[c],tt=v.i.y[c]===void 0?v.i.y[0]:v.i.y[c],z=vs.getBezierEasing(Z,ut,dt,tt).get,w.__fnct[c]=z)):w.__fnct?z=w.__fnct:(Z=v.o.x,ut=v.o.y,dt=v.i.x,tt=v.i.y,z=vs.getBezierEasing(Z,ut,dt,tt).get,v.keyframeMetadata=z),N=z((e-S)/(C-S)))),y=I.s||v.e,bt=v.h===1?v.s[c]:v.s[c]+(y[c]-v.s[c])*N,this.propType==="multidimensional"?a[c]=bt:a=bt}return r.lastIndex=d,a}function lv(e,r,o){var a=[],d=e[0],c=e[1],u=e[2],T=e[3],v=r[0],I=r[1],w=r[2],B=r[3],E,N,P,M,z;return N=d*v+c*I+u*w+T*B,N<0&&(N=-N,v=-v,I=-I,w=-w,B=-B),1-N>1e-6?(E=Math.acos(N),P=Math.sin(E),M=Math.sin((1-o)*E)/P,z=Math.sin(o*E)/P):(M=1-o,z=o),a[0]=M*d+z*v,a[1]=M*c+z*I,a[2]=M*u+z*w,a[3]=M*T+z*B,a}function cv(e,r){var o=r[0],a=r[1],d=r[2],c=r[3],u=Math.atan2(2*a*c-2*o*d,1-2*a*a-2*d*d),T=Math.asin(2*o*a+2*d*c),v=Math.atan2(2*o*c-2*a*d,1-2*o*o-2*d*d);e[0]=u/_t,e[1]=T/_t,e[2]=v/_t}function Zd(e){var r=e[0]*_t,o=e[1]*_t,a=e[2]*_t,d=Math.cos(r/2),c=Math.cos(o/2),u=Math.cos(a/2),T=Math.sin(r/2),v=Math.sin(o/2),I=Math.sin(a/2),w=d*c*u-T*v*I,B=T*v*u+d*c*I,E=T*c*u+d*v*I,N=d*v*u-T*c*I;return[B,E,N,w]}function Jd(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,o=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==Ii&&(this._caching.lastFrame>=o&&e>=o||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(e,this._caching);this.pv=a}return this._caching.lastFrame=e,this.pv}function La(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Kd(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var o=0,a=this.v.length;o<a;)r=e[o]*this.mult,Kd(this.v[o]-r)>1e-5&&(this.v[o]=r,this._mdf=!0),o+=1}function Na(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,o=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)o=this.effectsSequence[e](o);this.setVValue(o),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Ra(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function dv(e,r,o,a){this.propType="unidimensional",this.mult=o||1,this.data=r,this.v=o?r.k*o:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Na,this.setVValue=La,this.addEffect=Ra}function hv(e,r,o,a){this.propType="multidimensional",this.mult=o||1,this.data=r,this._mdf=!1,this.elem=e,this.container=a,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=J("float32",c),this.pv=J("float32",c),this.vel=J("float32",c),d=0;d<c;d+=1)this.v[d]=r.k[d]*this.mult,this.pv[d]=r.k[d];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Na,this.setVValue=La,this.addEffect=Ra}function pv(e,r,o,a){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:Ii,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=o||1,this.elem=e,this.container=a,this.comp=e.comp,this.v=Ii,this.pv=Ii,this._isFirstFrame=!0,this.getValue=Na,this.setVValue=La,this.interpolateValue=Xd,this.effectsSequence=[Jd.bind(this)],this.addEffect=Ra}function mv(e,r,o,a){this.propType="multidimensional";var d,c=r.k.length,u,T,v,I;for(d=0;d<c-1;d+=1)r.k[d].to&&r.k[d].s&&r.k[d+1]&&r.k[d+1].s&&(u=r.k[d].s,T=r.k[d+1].s,v=r.k[d].to,I=r.k[d].ti,(u.length===2&&!(u[0]===T[0]&&u[1]===T[1])&&ur.pointOnLine2D(u[0],u[1],T[0],T[1],u[0]+v[0],u[1]+v[1])&&ur.pointOnLine2D(u[0],u[1],T[0],T[1],T[0]+I[0],T[1]+I[1])||u.length===3&&!(u[0]===T[0]&&u[1]===T[1]&&u[2]===T[2])&&ur.pointOnLine3D(u[0],u[1],u[2],T[0],T[1],T[2],u[0]+v[0],u[1]+v[1],u[2]+v[2])&&ur.pointOnLine3D(u[0],u[1],u[2],T[0],T[1],T[2],T[0]+I[0],T[1]+I[1],T[2]+I[2]))&&(r.k[d].to=null,r.k[d].ti=null),u[0]===T[0]&&u[1]===T[1]&&v[0]===0&&v[1]===0&&I[0]===0&&I[1]===0&&(u.length===2||u[2]===T[2]&&v[2]===0&&I[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Jd.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=o||1,this.elem=e,this.container=a,this.comp=e.comp,this.getValue=Na,this.setVValue=La,this.interpolateValue=Xd,this.frameId=-1;var w=r.k[0].s.length;for(this.v=J("float32",w),this.pv=J("float32",w),d=0;d<w;d+=1)this.v[d]=Ii,this.pv[d]=Ii;this._caching={lastFrame:Ii,lastIndex:0,value:J("float32",w)},this.addEffect=Ra}var it=function(){function e(o,a,d,c,u){a.sid&&(a=o.globalData.slotManager.getProp(a));var T;if(!a.k.length)T=new dv(o,a,c,u);else if(typeof a.k[0]=="number")T=new hv(o,a,c,u);else switch(d){case 0:T=new pv(o,a,c,u);break;case 1:T=new mv(o,a,c,u);break;default:break}return T.effectsSequence.length&&u.addDynamicProperty(T),T}var r={getProp:e};return r}();function ie(){}ie.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,o=this.dynamicProperties.length;for(r=0;r<o;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var ki=function(){function e(){return J("float32",2)}return wa(8,e)}();function kr(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}kr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var o=0;o<r;)this.v[o]=ki.newElement(),this.o[o]=ki.newElement(),this.i[o]=ki.newElement(),o+=1},kr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},kr.prototype.doubleArrayLength=function(){this.v=this.v.concat(rt(this._maxLength)),this.i=this.i.concat(rt(this._maxLength)),this.o=this.o.concat(rt(this._maxLength)),this._maxLength*=2},kr.prototype.setXYAt=function(e,r,o,a,d){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),o){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!d)&&(c[a]=ki.newElement()),c[a][0]=e,c[a][1]=r},kr.prototype.setTripleAt=function(e,r,o,a,d,c,u,T){this.setXYAt(e,r,"v",u,T),this.setXYAt(o,a,"o",u,T),this.setXYAt(d,c,"i",u,T)},kr.prototype.reverse=function(){var e=new kr;e.setPathData(this.c,this._length);var r=this.v,o=this.o,a=this.i,d=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],a[0][0],a[0][1],o[0][0],o[0][1],0,!1),d=1);var c=this._length-1,u=this._length,T;for(T=d;T<u;T+=1)e.setTripleAt(r[c][0],r[c][1],a[c][0],a[c][1],o[c][0],o[c][1],T,!1),c-=1;return e},kr.prototype.length=function(){return this._length};var ne=function(){function e(){return new kr}function r(d){var c=d._length,u;for(u=0;u<c;u+=1)ki.release(d.v[u]),ki.release(d.i[u]),ki.release(d.o[u]),d.v[u]=null,d.i[u]=null,d.o[u]=null;d._length=0,d.c=!1}function o(d){var c=a.newElement(),u,T=d._length===void 0?d.v.length:d._length;for(c.setLength(T),c.c=d.c,u=0;u<T;u+=1)c.setTripleAt(d.v[u][0],d.v[u][1],d.o[u][0],d.o[u][1],d.i[u][0],d.i[u][1],u);return c}var a=wa(4,e,r);return a.clone=o,a}();function xl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}xl.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(rt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},xl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ne.release(this.shapes[e]);this._length=0};var yo=function(){var e={newShapeCollection:d,release:c},r=0,o=4,a=rt(o);function d(){var u;return r?(r-=1,u=a[r]):u=new xl,u}function c(u){var T,v=u._length;for(T=0;T<v;T+=1)ne.release(u.shapes[T]);u._length=0,r===o&&(a=Yd.double(a),o*=2),a[r]=u,r+=1}return e}(),Ma=function(){var e=-999999;function r(C,S,y){var A=y.lastIndex,k,D,V,G,Z,ut,dt,tt,bt,lt=this.keyframes;if(C<lt[0].t-this.offsetTime)k=lt[0].s[0],V=!0,A=0;else if(C>=lt[lt.length-1].t-this.offsetTime)k=lt[lt.length-1].s?lt[lt.length-1].s[0]:lt[lt.length-2].e[0],V=!0;else{for(var X=A,_=lt.length-1,O=!0,p,b,U;O&&(p=lt[X],b=lt[X+1],!(b.t-this.offsetTime>C));)X<_-1?X+=1:O=!1;if(U=this.keyframesMetadata[X]||{},V=p.h===1,A=X,!V){if(C>=b.t-this.offsetTime)tt=1;else if(C<p.t-this.offsetTime)tt=0;else{var F;U.__fnct?F=U.__fnct:(F=vs.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,U.__fnct=F),tt=F((C-(p.t-this.offsetTime))/(b.t-this.offsetTime-(p.t-this.offsetTime)))}D=b.s?b.s[0]:p.e[0]}k=p.s[0]}for(ut=S._length,dt=k.i[0].length,y.lastIndex=A,G=0;G<ut;G+=1)for(Z=0;Z<dt;Z+=1)bt=V?k.i[G][Z]:k.i[G][Z]+(D.i[G][Z]-k.i[G][Z])*tt,S.i[G][Z]=bt,bt=V?k.o[G][Z]:k.o[G][Z]+(D.o[G][Z]-k.o[G][Z])*tt,S.o[G][Z]=bt,bt=V?k.v[G][Z]:k.v[G][Z]+(D.v[G][Z]-k.v[G][Z])*tt,S.v[G][Z]=bt}function o(){var C=this.comp.renderedFrame-this.offsetTime,S=this.keyframes[0].t-this.offsetTime,y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<S&&C<S||A>y&&C>y)||(this._caching.lastIndex=A<C?this._caching.lastIndex:0,this.interpolateShape(C,this.pv,this._caching)),this._caching.lastFrame=C,this.pv}function a(){this.paths=this.localShapeCollection}function d(C,S){if(C._length!==S._length||C.c!==S.c)return!1;var y,A=C._length;for(y=0;y<A;y+=1)if(C.v[y][0]!==S.v[y][0]||C.v[y][1]!==S.v[y][1]||C.o[y][0]!==S.o[y][0]||C.o[y][1]!==S.o[y][1]||C.i[y][0]!==S.i[y][0]||C.i[y][1]!==S.i[y][1])return!1;return!0}function c(C){d(this.v,C)||(this.v=ne.clone(C),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function u(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var C;this.kf?C=this.pv:this.data.ks?C=this.data.ks.k:C=this.data.pt.k;var S,y=this.effectsSequence.length;for(S=0;S<y;S+=1)C=this.effectsSequence[S](C);this.setVValue(C),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function T(C,S,y){this.propType="shape",this.comp=C.comp,this.container=C,this.elem=C,this.data=S,this.k=!1,this.kf=!1,this._mdf=!1;var A=y===3?S.pt.k:S.ks.k;this.v=ne.clone(A),this.pv=ne.clone(this.v),this.localShapeCollection=yo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function v(C){this.effectsSequence.push(C),this.container.addDynamicProperty(this)}T.prototype.interpolateShape=r,T.prototype.getValue=u,T.prototype.setVValue=c,T.prototype.addEffect=v;function I(C,S,y){this.propType="shape",this.comp=C.comp,this.elem=C,this.container=C,this.offsetTime=C.data.st,this.keyframes=y===3?S.pt.k:S.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=ne.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ne.clone(this.v),this.localShapeCollection=yo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=a,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[o.bind(this)]}I.prototype.getValue=u,I.prototype.interpolateShape=r,I.prototype.setVValue=c,I.prototype.addEffect=v;var w=function(){var C=pe;function S(y,A){this.v=ne.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=yo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=y,this.comp=y.comp,this.frameId=-1,this.initDynamicPropertyContainer(y),this.p=it.getProp(y,A.p,1,0,this),this.s=it.getProp(y,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return S.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,G=this.d!==3,Z=this.v;Z.v[0][0]=A,Z.v[0][1]=k-V,Z.v[1][0]=G?A+D:A-D,Z.v[1][1]=k,Z.v[2][0]=A,Z.v[2][1]=k+V,Z.v[3][0]=G?A-D:A+D,Z.v[3][1]=k,Z.i[0][0]=G?A-D*C:A+D*C,Z.i[0][1]=k-V,Z.i[1][0]=G?A+D:A-D,Z.i[1][1]=k-V*C,Z.i[2][0]=G?A+D*C:A-D*C,Z.i[2][1]=k+V,Z.i[3][0]=G?A-D:A+D,Z.i[3][1]=k+V*C,Z.o[0][0]=G?A+D*C:A-D*C,Z.o[0][1]=k-V,Z.o[1][0]=G?A+D:A-D,Z.o[1][1]=k+V*C,Z.o[2][0]=G?A-D*C:A+D*C,Z.o[2][1]=k+V,Z.o[3][0]=G?A-D:A+D,Z.o[3][1]=k-V*C}},$([ie],S),S}(),B=function(){function C(S,y){this.v=ne.newElement(),this.v.setPathData(!0,0),this.elem=S,this.comp=S.comp,this.data=y,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(S),y.sy===1?(this.ir=it.getProp(S,y.ir,0,0,this),this.is=it.getProp(S,y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=it.getProp(S,y.pt,0,0,this),this.p=it.getProp(S,y.p,1,0,this),this.r=it.getProp(S,y.r,0,_t,this),this.or=it.getProp(S,y.or,0,0,this),this.os=it.getProp(S,y.os,0,.01,this),this.localShapeCollection=yo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return C.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var y=Math.floor(this.pt.v)*2,A=Math.PI*2/y,k=!0,D=this.or.v,V=this.ir.v,G=this.os.v,Z=this.is.v,ut=2*Math.PI*D/(y*2),dt=2*Math.PI*V/(y*2),tt,bt,lt,X,_=-Math.PI/2;_+=this.r.v;var O=this.data.d===3?-1:1;for(this.v._length=0,tt=0;tt<y;tt+=1){bt=k?D:V,lt=k?G:Z,X=k?ut:dt;var p=bt*Math.cos(_),b=bt*Math.sin(_),U=p===0&&b===0?0:b/Math.sqrt(p*p+b*b),F=p===0&&b===0?0:-p/Math.sqrt(p*p+b*b);p+=+this.p.v[0],b+=+this.p.v[1],this.v.setTripleAt(p,b,p-U*X*lt*O,b-F*X*lt*O,p+U*X*lt*O,b+F*X*lt*O,tt,!0),k=!k,_+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(y*4),G,Z=-Math.PI*.5,ut=this.data.d===3?-1:1;for(Z+=this.r.v,this.v._length=0,G=0;G<y;G+=1){var dt=k*Math.cos(Z),tt=k*Math.sin(Z),bt=dt===0&&tt===0?0:tt/Math.sqrt(dt*dt+tt*tt),lt=dt===0&&tt===0?0:-dt/Math.sqrt(dt*dt+tt*tt);dt+=+this.p.v[0],tt+=+this.p.v[1],this.v.setTripleAt(dt,tt,dt-bt*V*D*ut,tt-lt*V*D*ut,dt+bt*V*D*ut,tt+lt*V*D*ut,G,!0),Z+=A*ut}this.paths.length=0,this.paths[0]=this.v}},$([ie],C),C}(),E=function(){function C(S,y){this.v=ne.newElement(),this.v.c=!0,this.localShapeCollection=yo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=S,this.comp=S.comp,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(S),this.p=it.getProp(S,y.p,1,0,this),this.s=it.getProp(S,y.s,1,0,this),this.r=it.getProp(S,y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return C.prototype={convertRectToPath:function(){var y=this.p.v[0],A=this.p.v[1],k=this.s.v[0]/2,D=this.s.v[1]/2,V=Ne(k,D,this.r.v),G=V*(1-pe);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+V,y+k,A-D+G,0,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-G,y+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+k-V,A+D,y+k-V,A+D,y+k-G,A+D,2,!0),this.v.setTripleAt(y-k+V,A+D,y-k+G,A+D,y-k+V,A+D,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-V,y-k,A+D-G,4,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+G,y-k,A-D+V,5,!0),this.v.setTripleAt(y-k+V,A-D,y-k+V,A-D,y-k+G,A-D,6,!0),this.v.setTripleAt(y+k-V,A-D,y+k-G,A-D,y+k-V,A-D,7,!0)):(this.v.setTripleAt(y-k,A+D,y-k+G,A+D,y-k,A+D,2),this.v.setTripleAt(y-k,A-D,y-k,A-D+G,y-k,A-D,3))):(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+G,y+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+k-V,A-D,y+k-V,A-D,y+k-G,A-D,1,!0),this.v.setTripleAt(y-k+V,A-D,y-k+G,A-D,y-k+V,A-D,2,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+V,y-k,A-D+G,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-G,y-k,A+D-V,4,!0),this.v.setTripleAt(y-k+V,A+D,y-k+V,A+D,y-k+G,A+D,5,!0),this.v.setTripleAt(y+k-V,A+D,y+k-G,A+D,y+k-V,A+D,6,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-V,y+k,A+D-G,7,!0)):(this.v.setTripleAt(y-k,A-D,y-k+G,A-D,y-k,A-D,1,!0),this.v.setTripleAt(y-k,A+D,y-k,A+D-G,y-k,A+D,2,!0),this.v.setTripleAt(y+k,A+D,y+k-G,A+D,y+k,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},$([ie],C),C}();function N(C,S,y){var A;if(y===3||y===4){var k=y===3?S.pt:S.ks,D=k.k;D.length?A=new I(C,S,y):A=new T(C,S,y)}else y===5?A=new E(C,S):y===6?A=new w(C,S):y===7&&(A=new B(C,S));return A.k&&C.addDynamicProperty(A),A}function P(){return T}function M(){return I}var z={};return z.getShapeProp=N,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var le=function(){var e=Math.cos,r=Math.sin,o=Math.tan,a=Math.round;function d(){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 c(p){if(p===0)return this;var b=e(p),U=r(p);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function u(p){if(p===0)return this;var b=e(p),U=r(p);return this._t(1,0,0,0,0,b,-U,0,0,U,b,0,0,0,0,1)}function T(p){if(p===0)return this;var b=e(p),U=r(p);return this._t(b,0,U,0,0,1,0,0,-U,0,b,0,0,0,0,1)}function v(p){if(p===0)return this;var b=e(p),U=r(p);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function I(p,b){return this._t(1,b,p,1,0,0)}function w(p,b){return this.shear(o(p),o(b))}function B(p,b){var U=e(b),F=r(b);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,o(p),1,0,0,0,0,1,0,0,0,0,1)._t(U,-F,0,0,F,U,0,0,0,0,1,0,0,0,0,1)}function E(p,b,U){return!U&&U!==0&&(U=1),p===1&&b===1&&U===1?this:this._t(p,0,0,0,0,b,0,0,0,0,U,0,0,0,0,1)}function N(p,b,U,F,st,mt,ft,Ct,wt,Kt,Ae,vr,_e,oe,Re,Rt){return this.props[0]=p,this.props[1]=b,this.props[2]=U,this.props[3]=F,this.props[4]=st,this.props[5]=mt,this.props[6]=ft,this.props[7]=Ct,this.props[8]=wt,this.props[9]=Kt,this.props[10]=Ae,this.props[11]=vr,this.props[12]=_e,this.props[13]=oe,this.props[14]=Re,this.props[15]=Rt,this}function P(p,b,U){return U=U||0,p!==0||b!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,p,b,U,1):this}function M(p,b,U,F,st,mt,ft,Ct,wt,Kt,Ae,vr,_e,oe,Re,Rt){var ct=this.props;if(p===1&&b===0&&U===0&&F===0&&st===0&&mt===1&&ft===0&&Ct===0&&wt===0&&Kt===0&&Ae===1&&vr===0)return ct[12]=ct[12]*p+ct[15]*_e,ct[13]=ct[13]*mt+ct[15]*oe,ct[14]=ct[14]*Ae+ct[15]*Re,ct[15]*=Rt,this._identityCalculated=!1,this;var Lr=ct[0],si=ct[1],Nr=ct[2],gr=ct[3],Rr=ct[4],Mr=ct[5],Se=ct[6],ai=ct[7],ni=ct[8],or=ct[9],li=ct[10],sr=ct[11],Ni=ct[12],Ua=ct[13],Ga=ct[14],Ha=ct[15];return ct[0]=Lr*p+si*st+Nr*wt+gr*_e,ct[1]=Lr*b+si*mt+Nr*Kt+gr*oe,ct[2]=Lr*U+si*ft+Nr*Ae+gr*Re,ct[3]=Lr*F+si*Ct+Nr*vr+gr*Rt,ct[4]=Rr*p+Mr*st+Se*wt+ai*_e,ct[5]=Rr*b+Mr*mt+Se*Kt+ai*oe,ct[6]=Rr*U+Mr*ft+Se*Ae+ai*Re,ct[7]=Rr*F+Mr*Ct+Se*vr+ai*Rt,ct[8]=ni*p+or*st+li*wt+sr*_e,ct[9]=ni*b+or*mt+li*Kt+sr*oe,ct[10]=ni*U+or*ft+li*Ae+sr*Re,ct[11]=ni*F+or*Ct+li*vr+sr*Rt,ct[12]=Ni*p+Ua*st+Ga*wt+Ha*_e,ct[13]=Ni*b+Ua*mt+Ga*Kt+Ha*oe,ct[14]=Ni*U+Ua*ft+Ga*Ae+Ha*Re,ct[15]=Ni*F+Ua*Ct+Ga*vr+Ha*Rt,this._identityCalculated=!1,this}function z(p){var b=p.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function C(){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 S(p){for(var b=0;b<16;){if(p.props[b]!==this.props[b])return!1;b+=1}return!0}function y(p){var b;for(b=0;b<16;b+=1)p.props[b]=this.props[b];return p}function A(p){var b;for(b=0;b<16;b+=1)this.props[b]=p[b]}function k(p,b,U){return{x:p*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],y:p*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],z:p*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}}function D(p,b,U){return p*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12]}function V(p,b,U){return p*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13]}function G(p,b,U){return p*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}function Z(){var p=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/p,U=-this.props[1]/p,F=-this.props[4]/p,st=this.props[0]/p,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/p,ft=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/p,Ct=new le;return Ct.props[0]=b,Ct.props[1]=U,Ct.props[4]=F,Ct.props[5]=st,Ct.props[12]=mt,Ct.props[13]=ft,Ct}function ut(p){var b=this.getInverseMatrix();return b.applyToPointArray(p[0],p[1],p[2]||0)}function dt(p){var b,U=p.length,F=[];for(b=0;b<U;b+=1)F[b]=ut(p[b]);return F}function tt(p,b,U){var F=J("float32",6);if(this.isIdentity())F[0]=p[0],F[1]=p[1],F[2]=b[0],F[3]=b[1],F[4]=U[0],F[5]=U[1];else{var st=this.props[0],mt=this.props[1],ft=this.props[4],Ct=this.props[5],wt=this.props[12],Kt=this.props[13];F[0]=p[0]*st+p[1]*ft+wt,F[1]=p[0]*mt+p[1]*Ct+Kt,F[2]=b[0]*st+b[1]*ft+wt,F[3]=b[0]*mt+b[1]*Ct+Kt,F[4]=U[0]*st+U[1]*ft+wt,F[5]=U[0]*mt+U[1]*Ct+Kt}return F}function bt(p,b,U){var F;return this.isIdentity()?F=[p,b,U]:F=[p*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],p*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],p*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]],F}function lt(p,b){if(this.isIdentity())return p+","+b;var U=this.props;return Math.round((p*U[0]+b*U[4]+U[12])*100)/100+","+Math.round((p*U[1]+b*U[5]+U[13])*100)/100}function X(){for(var p=0,b=this.props,U="matrix3d(",F=1e4;p<16;)U+=a(b[p]*F)/F,U+=p===15?")":",",p+=1;return U}function _(p){var b=1e4;return p<1e-6&&p>0||p>-1e-6&&p<0?a(p*b)/b:p}function O(){var p=this.props,b=_(p[0]),U=_(p[1]),F=_(p[4]),st=_(p[5]),mt=_(p[12]),ft=_(p[13]);return"matrix("+b+","+U+","+F+","+st+","+mt+","+ft+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=u,this.rotateY=T,this.rotateZ=v,this.skew=w,this.skewFromAxis=B,this.shear=I,this.scale=E,this.setTransform=N,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=G,this.applyToPointArray=bt,this.applyToTriplePoints=tt,this.applyToPointStringified=lt,this.toCSS=X,this.to2dCSS=O,this.clone=y,this.cloneFromProps=A,this.equals=S,this.inversePoints=dt,this.inversePoint=ut,this.getInverseMatrix=Z,this._t=this.transform,this.isIdentity=C,this._identity=!0,this._identityCalculated=!1,this.props=J("float32",16),this.reset()}}();function Oa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Oa=function(o){return typeof o}:Oa=function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},Oa(e)}var Lt={},Pa="__[STANDALONE]__",Qd="__[ANIMATIONDATA]__",th="";function uv(e){m(e)}function eh(){Pa===!0?qt.searchAnimations(Qd,Pa,th):qt.searchAnimations()}function fv(e){Zf(e)}function vv(e){tv(e)}function gv(e){return Pa===!0&&(e.animationData=JSON.parse(Qd)),qt.loadAnimation(e)}function bv(e){if(typeof e=="string")switch(e){case"high":ka(200);break;default:case"medium":ka(50);break;case"low":ka(10);break}else!isNaN(e)&&e>1&&ka(e);ps()>=50?$e(!1):$e(!0)}function yv(){return typeof navigator<"u"}function Ev(e,r){e==="expressions"&&Qf(r)}function Tv(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return Ma;case"matrix":return le;default:return null}}Lt.play=qt.play,Lt.pause=qt.pause,Lt.setLocationHref=uv,Lt.togglePause=qt.togglePause,Lt.setSpeed=qt.setSpeed,Lt.setDirection=qt.setDirection,Lt.stop=qt.stop,Lt.searchAnimations=eh,Lt.registerAnimation=qt.registerAnimation,Lt.loadAnimation=gv,Lt.setSubframeRendering=fv,Lt.resize=qt.resize,Lt.goToAndStop=qt.goToAndStop,Lt.destroy=qt.destroy,Lt.setQuality=bv,Lt.inBrowser=yv,Lt.installPlugin=Ev,Lt.freeze=qt.freeze,Lt.unfreeze=qt.unfreeze,Lt.setVolume=qt.setVolume,Lt.mute=qt.mute,Lt.unmute=qt.unmute,Lt.getRegisteredAnimations=qt.getRegisteredAnimations,Lt.useWebWorker=n,Lt.setIDPrefix=vv,Lt.__getFactory=Tv,Lt.version="5.12.2";function xv(){document.readyState==="complete"&&(clearInterval(Sv),eh())}function Av(e){for(var r=rh.split("&"),o=0;o<r.length;o+=1){var a=r[o].split("=");if(decodeURIComponent(a[0])==e)return decodeURIComponent(a[1])}return null}var rh="";if(Pa){var ih=document.getElementsByTagName("script"),_v=ih.length-1,oh=ih[_v]||{src:""};rh=oh.src?oh.src.replace(/^[^\?]+\??/,""):"",th=Av("renderer")}var Sv=setInterval(xv,100);try{!((typeof Us>"u"?"undefined":Oa(Us))==="object"&&typeof vn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Lt)}catch{}var Qr=function(){var e={},r={};e.registerModifier=o,e.getModifier=a;function o(d,c){r[d]||(r[d]=c)}function a(d,c,u){return new r[d](c,u)}return e}();function Ve(){}Ve.prototype.initModifierProperties=function(){},Ve.prototype.addShapeToModifier=function(){},Ve.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:yo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Ve.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=s,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ve.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([ie],Ve);function ir(){}$([Ve],ir),ir.prototype.initModifierProperties=function(e,r){this.s=it.getProp(e,r.s,0,.01,this),this.e=it.getProp(e,r.e,0,.01,this),this.o=it.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},ir.prototype.addShapeToModifier=function(e){e.pathsData=[]},ir.prototype.calculateShapeEdges=function(e,r,o,a,d){var c=[];r<=1?c.push({s:e,e:r}):e>=1?c.push({s:e-1,e:r-1}):(c.push({s:e,e:1}),c.push({s:0,e:r-1}));var u=[],T,v=c.length,I;for(T=0;T<v;T+=1)if(I=c[T],!(I.e*d<a||I.s*d>a+o)){var w,B;I.s*d<=a?w=0:w=(I.s*d-a)/o,I.e*d>=a+o?B=1:B=(I.e*d-a)/o,u.push([w,B])}return u.length||u.push([0,0]),u},ir.prototype.releasePathsData=function(e){var r,o=e.length;for(r=0;r<o;r+=1)qd.release(e[r]);return e.length=0,e},ir.prototype.processShapes=function(e){var r,o;if(this._mdf||e){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?r=1+a:this.s.v<0?r=0+a:r=this.s.v+a,this.e.v>1?o=1+a:this.e.v<0?o=0+a:o=this.e.v+a,r>o){var d=r;r=o,o=d}r=Math.round(r*1e4)*1e-4,o=Math.round(o*1e4)*1e-4,this.sValue=r,this.eValue=o}else r=this.sValue,o=this.eValue;var c,u,T=this.shapes.length,v,I,w,B,E,N=0;if(o===r)for(u=0;u<T;u+=1)this.shapes[u].localShapeCollection.releaseShapes(),this.shapes[u].shape._mdf=!0,this.shapes[u].shape.paths=this.shapes[u].localShapeCollection,this._mdf&&(this.shapes[u].pathsData.length=0);else if(o===1&&r===0||o===0&&r===1){if(this._mdf)for(u=0;u<T;u+=1)this.shapes[u].pathsData.length=0,this.shapes[u].shape._mdf=!0}else{var P=[],M,z;for(u=0;u<T;u+=1)if(M=this.shapes[u],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,I=c._length,E=0,!M.shape._mdf&&M.pathsData.length)E=M.totalShapeLength;else{for(w=this.releasePathsData(M.pathsData),v=0;v<I;v+=1)B=ur.getSegmentsLength(c.shapes[v]),w.push(B),E+=B.totalLength;M.totalShapeLength=E,M.pathsData=w}N+=E,M.shape._mdf=!0}var C=r,S=o,y=0,A;for(u=T-1;u>=0;u-=1)if(M=this.shapes[u],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&T>1?(A=this.calculateShapeEdges(r,o,M.totalShapeLength,y,N),y+=M.totalShapeLength):A=[[C,S]],I=A.length,v=0;v<I;v+=1){C=A[v][0],S=A[v][1],P.length=0,S<=1?P.push({s:M.totalShapeLength*C,e:M.totalShapeLength*S}):C>=1?P.push({s:M.totalShapeLength*(C-1),e:M.totalShapeLength*(S-1)}):(P.push({s:M.totalShapeLength*C,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(S-1)}));var k=this.addShapes(M,P[0]);if(P[0].s!==P[0].e){if(P.length>1){var D=M.shape.paths.shapes[M.shape.paths._length-1];if(D.c){var V=k.pop();this.addPaths(k,z),k=this.addShapes(M,P[1],V)}else this.addPaths(k,z),k=this.addShapes(M,P[1])}this.addPaths(k,z)}}M.shape.paths=z}}},ir.prototype.addPaths=function(e,r){var o,a=e.length;for(o=0;o<a;o+=1)r.addShape(e[o])},ir.prototype.addSegment=function(e,r,o,a,d,c,u){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(o[0],o[1],"i",c+1),u&&d.setXYAt(e[0],e[1],"v",c),d.setXYAt(a[0],a[1],"v",c+1)},ir.prototype.addSegmentFromArray=function(e,r,o,a){r.setXYAt(e[1],e[5],"o",o),r.setXYAt(e[2],e[6],"i",o+1),a&&r.setXYAt(e[0],e[4],"v",o),r.setXYAt(e[3],e[7],"v",o+1)},ir.prototype.addShapes=function(e,r,o){var a=e.pathsData,d=e.shape.paths.shapes,c,u=e.shape.paths._length,T,v,I=0,w,B,E,N,P=[],M,z=!0;for(o?(B=o._length,M=o._length):(o=ne.newElement(),B=0,M=0),P.push(o),c=0;c<u;c+=1){for(E=a[c].lengths,o.c=d[c].c,v=d[c].c?E.length:E.length+1,T=1;T<v;T+=1)if(w=E[T-1],I+w.addedLength<r.s)I+=w.addedLength,o.c=!1;else if(I>r.e){o.c=!1;break}else r.s<=I&&r.e>=I+w.addedLength?(this.addSegment(d[c].v[T-1],d[c].o[T-1],d[c].i[T],d[c].v[T],o,B,z),z=!1):(N=ur.getNewSegment(d[c].v[T-1],d[c].v[T],d[c].o[T-1],d[c].i[T],(r.s-I)/w.addedLength,(r.e-I)/w.addedLength,E[T-1]),this.addSegmentFromArray(N,o,B,z),z=!1,o.c=!1),I+=w.addedLength,B+=1;if(d[c].c&&E.length){if(w=E[T-1],I<=r.e){var C=E[T-1].addedLength;r.s<=I&&r.e>=I+C?(this.addSegment(d[c].v[T-1],d[c].o[T-1],d[c].i[0],d[c].v[0],o,B,z),z=!1):(N=ur.getNewSegment(d[c].v[T-1],d[c].v[0],d[c].o[T-1],d[c].i[0],(r.s-I)/C,(r.e-I)/C,E[T-1]),this.addSegmentFromArray(N,o,B,z),z=!1,o.c=!1)}else o.c=!1;I+=w.addedLength,B+=1}if(o._length&&(o.setXYAt(o.v[M][0],o.v[M][1],"i",M),o.setXYAt(o.v[o._length-1][0],o.v[o._length-1][1],"o",o._length-1)),I>r.e)break;c<u-1&&(o=ne.newElement(),z=!0,P.push(o),B=0)}return P};function gs(){}$([Ve],gs),gs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},gs.prototype.processPath=function(e,r){var o=r/100,a=[0,0],d=e._length,c=0;for(c=0;c<d;c+=1)a[0]+=e.v[c][0],a[1]+=e.v[c][1];a[0]/=d,a[1]/=d;var u=ne.newElement();u.c=e.c;var T,v,I,w,B,E;for(c=0;c<d;c+=1)T=e.v[c][0]+(a[0]-e.v[c][0])*o,v=e.v[c][1]+(a[1]-e.v[c][1])*o,I=e.o[c][0]+(a[0]-e.o[c][0])*-o,w=e.o[c][1]+(a[1]-e.o[c][1])*-o,B=e.i[c][0]+(a[0]-e.i[c][0])*-o,E=e.i[c][1]+(a[1]-e.i[c][1])*-o,u.setTripleAt(T,v,I,w,B,E,c);return u},gs.prototype.processShapes=function(e){var r,o,a=this.shapes.length,d,c,u=this.amount.v;if(u!==0){var T,v;for(o=0;o<a;o+=1){if(T=this.shapes[o],v=T.localShapeCollection,!(!T.shape._mdf&&!this._mdf&&!e))for(v.releaseShapes(),T.shape._mdf=!0,r=T.shape.paths.shapes,c=T.shape.paths._length,d=0;d<c;d+=1)v.addShape(this.processPath(r[d],u));T.shape.paths=T.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Al=function(){var e=[0,0];function r(v){var I=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||I,this.a&&v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&v.skewFromAxis(-this.sk.v,this.sa.v),this.r?v.rotate(-this.r.v):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?v.translate(this.px.v,this.py.v,-this.pz.v):v.translate(this.px.v,this.py.v,0):v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function o(v){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||v){var I;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 w,B;if(I=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(w=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/I,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/I,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(w=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/I,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/I,0)):(w=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/I,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){w=[],B=[];var E=this.px,N=this.py;E._caching.lastFrame+E.offsetTime<=E.keyframes[0].t?(w[0]=E.getValueAtTime((E.keyframes[0].t+.01)/I,0),w[1]=N.getValueAtTime((N.keyframes[0].t+.01)/I,0),B[0]=E.getValueAtTime(E.keyframes[0].t/I,0),B[1]=N.getValueAtTime(N.keyframes[0].t/I,0)):E._caching.lastFrame+E.offsetTime>=E.keyframes[E.keyframes.length-1].t?(w[0]=E.getValueAtTime(E.keyframes[E.keyframes.length-1].t/I,0),w[1]=N.getValueAtTime(N.keyframes[N.keyframes.length-1].t/I,0),B[0]=E.getValueAtTime((E.keyframes[E.keyframes.length-1].t-.01)/I,0),B[1]=N.getValueAtTime((N.keyframes[N.keyframes.length-1].t-.01)/I,0)):(w=[E.pv,N.pv],B[0]=E.getValueAtTime((E._caching.lastFrame+E.offsetTime-.01)/I,E.offsetTime),B[1]=N.getValueAtTime((N._caching.lastFrame+N.offsetTime-.01)/I,N.offsetTime))}else B=e,w=B;this.v.rotate(-Math.atan2(w[1]-B[1],w[0]-B[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 d(){}function c(v){this._addDynamicProperty(v),this.elem.addDynamicProperty(v),this._isDirty=!0}function u(v,I,w){if(this.elem=v,this.frameId=-1,this.propType="transform",this.data=I,this.v=new le,this.pre=new le,this.appliedTransformations=0,this.initDynamicPropertyContainer(w||v),I.p&&I.p.s?(this.px=it.getProp(v,I.p.x,0,0,this),this.py=it.getProp(v,I.p.y,0,0,this),I.p.z&&(this.pz=it.getProp(v,I.p.z,0,0,this))):this.p=it.getProp(v,I.p||{k:[0,0,0]},1,0,this),I.rx){if(this.rx=it.getProp(v,I.rx,0,_t,this),this.ry=it.getProp(v,I.ry,0,_t,this),this.rz=it.getProp(v,I.rz,0,_t,this),I.or.k[0].ti){var B,E=I.or.k.length;for(B=0;B<E;B+=1)I.or.k[B].to=null,I.or.k[B].ti=null}this.or=it.getProp(v,I.or,1,_t,this),this.or.sh=!0}else this.r=it.getProp(v,I.r||{k:0},0,_t,this);I.sk&&(this.sk=it.getProp(v,I.sk,0,_t,this),this.sa=it.getProp(v,I.sa,0,_t,this)),this.a=it.getProp(v,I.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(v,I.s||{k:[100,100,100]},1,.01,this),I.o?this.o=it.getProp(v,I.o,0,.01,v):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}u.prototype={applyToMatrix:r,getValue:o,precalculateMatrix:a,autoOrient:d},$([ie],u),u.prototype.addDynamicProperty=c,u.prototype._addDynamicProperty=ie.prototype.addDynamicProperty;function T(v,I,w){return new u(v,I,w)}return{getTransformProperty:T}}();function fr(){}$([Ve],fr),fr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=it.getProp(e,r.c,0,null,this),this.o=it.getProp(e,r.o,0,null,this),this.tr=Al.getTransformProperty(e,r.tr,this),this.so=it.getProp(e,r.tr.so,0,.01,this),this.eo=it.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new le,this.rMatrix=new le,this.sMatrix=new le,this.tMatrix=new le,this.matrix=new le},fr.prototype.applyTransforms=function(e,r,o,a,d,c){var u=c?-1:1,T=a.s.v[0]+(1-a.s.v[0])*(1-d),v=a.s.v[1]+(1-a.s.v[1])*(1-d);e.translate(a.p.v[0]*u*d,a.p.v[1]*u*d,a.p.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.rotate(-a.r.v*u*d),r.translate(a.a.v[0],a.a.v[1],a.a.v[2]),o.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),o.scale(c?1/T:T,c?1/v:v),o.translate(a.a.v[0],a.a.v[1],a.a.v[2])},fr.prototype.init=function(e,r,o,a){for(this.elem=e,this.arr=r,this.pos=o,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[o]);o>0;)o-=1,this._elements.unshift(r[o]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},fr.prototype.resetElements=function(e){var r,o=e.length;for(r=0;r<o;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},fr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},fr.prototype.changeGroupRender=function(e,r){var o,a=e.length;for(o=0;o<a;o+=1)e[o]._render=r,e[o].ty==="gr"&&this.changeGroupRender(e[o].it,r)},fr.prototype.processShapes=function(e){var r,o,a,d,c,u=!1;if(this._mdf||e){var T=Math.ceil(this.c.v);if(this._groups.length<T){for(;this._groups.length<T;){var v={it:this.cloneElements(this._elements),ty:"gr"};v.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,v),this._groups.splice(0,0,v),this._currentCopies+=1}this.elem.reloadShapes(),u=!0}c=0;var I;for(a=0;a<=this._groups.length-1;a+=1){if(I=c<T,this._groups[a]._render=I,this.changeGroupRender(this._groups[a].it,I),!I){var w=this.elemsData[a].it,B=w[w.length-1];B.transform.op.v!==0?(B.transform.op._mdf=!0,B.transform.op.v=0):B.transform.op._mdf=!1}c+=1}this._currentCopies=T;var E=this.o.v,N=E%1,P=E>0?Math.floor(E):Math.ceil(E),M=this.pMatrix.props,z=this.rMatrix.props,C=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var S=0;if(E>0){for(;S<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),S+=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,N,!1),S+=N)}else if(E<0){for(;S>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),S-=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-N,!0),S-=N)}a=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var y,A;c;){if(r=this.elemsData[a].it,o=r[r.length-1].transform.mProps.v.props,A=o.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),S!==0){for((a!==0&&d===1||a!==this._currentCopies-1&&d===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),y=0;y<A;y+=1)o[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<A;y+=1)o[y]=this.matrix.props[y];S+=1,c-=1,a+=d}}else for(c=this._currentCopies,a=0,d=1;c;)r=this.elemsData[a].it,o=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,a+=d;return u},fr.prototype.addShape=function(){};function bs(){}$([Ve],bs),bs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=it.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},bs.prototype.processPath=function(e,r){var o=ne.newElement();o.c=e.c;var a,d=e._length,c,u,T,v,I,w,B=0,E,N,P,M,z,C;for(a=0;a<d;a+=1)c=e.v[a],T=e.o[a],u=e.i[a],c[0]===T[0]&&c[1]===T[1]&&c[0]===u[0]&&c[1]===u[1]?(a===0||a===d-1)&&!e.c?(o.setTripleAt(c[0],c[1],T[0],T[1],u[0],u[1],B),B+=1):(a===0?v=e.v[d-1]:v=e.v[a-1],I=Math.sqrt(Math.pow(c[0]-v[0],2)+Math.pow(c[1]-v[1],2)),w=I?Math.min(I/2,r)/I:0,z=c[0]+(v[0]-c[0])*w,E=z,C=c[1]-(c[1]-v[1])*w,N=C,P=E-(E-c[0])*pe,M=N-(N-c[1])*pe,o.setTripleAt(E,N,P,M,z,C,B),B+=1,a===d-1?v=e.v[0]:v=e.v[a+1],I=Math.sqrt(Math.pow(c[0]-v[0],2)+Math.pow(c[1]-v[1],2)),w=I?Math.min(I/2,r)/I:0,P=c[0]+(v[0]-c[0])*w,E=P,M=c[1]+(v[1]-c[1])*w,N=M,z=E-(E-c[0])*pe,C=N-(N-c[1])*pe,o.setTripleAt(E,N,P,M,z,C,B),B+=1):(o.setTripleAt(e.v[a][0],e.v[a][1],e.o[a][0],e.o[a][1],e.i[a][0],e.i[a][1],B),B+=1);return o},bs.prototype.processShapes=function(e){var r,o,a=this.shapes.length,d,c,u=this.rd.v;if(u!==0){var T,v;for(o=0;o<a;o+=1){if(T=this.shapes[o],v=T.localShapeCollection,!(!T.shape._mdf&&!this._mdf&&!e))for(v.releaseShapes(),T.shape._mdf=!0,r=T.shape.paths.shapes,c=T.shape.paths._length,d=0;d<c;d+=1)v.addShape(this.processPath(r[d],u));T.shape.paths=T.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Da(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function _l(e){return Math.abs(e)<=1e-5}function sh(e,r,o){return e*(1-o)+r*o}function ti(e,r,o){return[sh(e[0],r[0],o),sh(e[1],r[1],o)]}function Iv(e,r,o){if(e===0)return[];var a=r*r-4*e*o;if(a<0)return[];var d=-r/(2*e);if(a===0)return[d];var c=Math.sqrt(a)/(2*e);return[d-c,d+c]}function ah(e,r,o,a){return[-e+3*r-3*o+a,3*e-6*r+3*o,-3*e+3*r,e]}function nh(e){return new Vt(e,e,e,e,!1)}function Vt(e,r,o,a,d){d&&To(e,r)&&(r=ti(e,a,1/3)),d&&To(o,a)&&(o=ti(e,a,2/3));var c=ah(e[0],r[0],o[0],a[0]),u=ah(e[1],r[1],o[1],a[1]);this.a=[c[0],u[0]],this.b=[c[1],u[1]],this.c=[c[2],u[2]],this.d=[c[3],u[3]],this.points=[e,r,o,a]}Vt.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Vt.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Vt.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Vt.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Vt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(_l(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,o=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(o<0)return[];var a=Math.sqrt(o);return _l(a)?a>0&&a<1?[r]:[]:[r-a,r+a].filter(function(d){return d>0&&d<1})},Vt.prototype.split=function(e){if(e<=0)return[nh(this.points[0]),this];if(e>=1)return[this,nh(this.points[this.points.length-1])];var r=ti(this.points[0],this.points[1],e),o=ti(this.points[1],this.points[2],e),a=ti(this.points[2],this.points[3],e),d=ti(r,o,e),c=ti(o,a,e),u=ti(d,c,e);return[new Vt(this.points[0],r,d,u,!0),new Vt(u,c,a,this.points[3],!0)]};function lh(e,r){var o=e.points[0][r],a=e.points[e.points.length-1][r];if(o>a){var d=a;a=o,o=d}for(var c=Iv(3*e.a[r],2*e.b[r],e.c[r]),u=0;u<c.length;u+=1)if(c[u]>0&&c[u]<1){var T=e.point(c[u])[r];T<o?o=T:T>a&&(a=T)}return{min:o,max:a}}Vt.prototype.bounds=function(){return{x:lh(this,0),y:lh(this,1)}},Vt.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function Fa(e,r,o){var a=e.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:e,t:(r+o)/2,t1:r,t2:o}}function ch(e){var r=e.bez.split(.5);return[Fa(r[0],e.t1,e.t),Fa(r[1],e.t,e.t2)]}function kv(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function ys(e,r,o,a,d,c){if(kv(e,r)){if(o>=c||e.width<=a&&e.height<=a&&r.width<=a&&r.height<=a){d.push([e.t,r.t]);return}var u=ch(e),T=ch(r);ys(u[0],T[0],o+1,a,d,c),ys(u[0],T[1],o+1,a,d,c),ys(u[1],T[0],o+1,a,d,c),ys(u[1],T[1],o+1,a,d,c)}}Vt.prototype.intersections=function(e,r,o){r===void 0&&(r=2),o===void 0&&(o=7);var a=[];return ys(Fa(this,0,1),Fa(e,0,1),0,r,a,o),a},Vt.shapeSegment=function(e,r){var o=(r+1)%e.length();return new Vt(e.v[r],e.o[r],e.i[o],e.v[o],!0)},Vt.shapeSegmentInverted=function(e,r){var o=(r+1)%e.length();return new Vt(e.v[o],e.i[o],e.o[r],e.v[r],!0)};function Sl(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function $a(e,r,o,a){var d=[e[0],e[1],1],c=[r[0],r[1],1],u=[o[0],o[1],1],T=[a[0],a[1],1],v=Sl(Sl(d,c),Sl(u,T));return _l(v[2])?null:[v[0]/v[2],v[1]/v[2]]}function Eo(e,r,o){return[e[0]+Math.cos(r)*o,e[1]-Math.sin(r)*o]}function Il(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function To(e,r){return Da(e[0],r[0])&&Da(e[1],r[1])}function Es(){}$([Ve],Es),Es.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=it.getProp(e,r.s,0,null,this),this.frequency=it.getProp(e,r.r,0,null,this),this.pointsType=it.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function dh(e,r,o,a,d,c,u){var T=o-Math.PI/2,v=o+Math.PI/2,I=r[0]+Math.cos(o)*a*d,w=r[1]-Math.sin(o)*a*d;e.setTripleAt(I,w,I+Math.cos(T)*c,w-Math.sin(T)*c,I+Math.cos(v)*u,w-Math.sin(v)*u,e.length())}function Cv(e,r){var o=[r[0]-e[0],r[1]-e[1]],a=-Math.PI*.5,d=[Math.cos(a)*o[0]-Math.sin(a)*o[1],Math.sin(a)*o[0]+Math.cos(a)*o[1]];return d}function wv(e,r){var o=r===0?e.length()-1:r-1,a=(r+1)%e.length(),d=e.v[o],c=e.v[a],u=Cv(d,c);return Math.atan2(0,1)-Math.atan2(u[1],u[0])}function hh(e,r,o,a,d,c,u){var T=wv(r,o),v=r.v[o%r._length],I=r.v[o===0?r._length-1:o-1],w=r.v[(o+1)%r._length],B=c===2?Math.sqrt(Math.pow(v[0]-I[0],2)+Math.pow(v[1]-I[1],2)):0,E=c===2?Math.sqrt(Math.pow(v[0]-w[0],2)+Math.pow(v[1]-w[1],2)):0;dh(e,r.v[o%r._length],T,u,a,E/((d+1)*2),B/((d+1)*2),c)}function Lv(e,r,o,a,d,c){for(var u=0;u<a;u+=1){var T=(u+1)/(a+1),v=d===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,I=r.normalAngle(T),w=r.point(T);dh(e,w,I,c,o,v/((a+1)*2),v/((a+1)*2),d),c=-c}return c}Es.prototype.processPath=function(e,r,o,a){var d=e._length,c=ne.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var u=-1,T=Vt.shapeSegment(e,0);hh(c,e,0,r,o,a,u);for(var v=0;v<d;v+=1)u=Lv(c,T,r,o,a,-u),v===d-1&&!e.c?T=null:T=Vt.shapeSegment(e,(v+1)%d),hh(c,e,v+1,r,o,a,u);return c},Es.prototype.processShapes=function(e){var r,o,a=this.shapes.length,d,c,u=this.amplitude.v,T=Math.max(0,Math.round(this.frequency.v)),v=this.pointsType.v;if(u!==0){var I,w;for(o=0;o<a;o+=1){if(I=this.shapes[o],w=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!e))for(w.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)w.addShape(this.processPath(r[d],u,T,v));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function kl(e,r,o){var a=Math.atan2(r[0]-e[0],r[1]-e[1]);return[Eo(e,a,o),Eo(r,a,o)]}function xo(e,r){var o,a,d,c,u,T,v;v=kl(e.points[0],e.points[1],r),o=v[0],a=v[1],v=kl(e.points[1],e.points[2],r),d=v[0],c=v[1],v=kl(e.points[2],e.points[3],r),u=v[0],T=v[1];var I=$a(o,a,d,c);I===null&&(I=a);var w=$a(u,T,d,c);return w===null&&(w=u),new Vt(o,I,w,T)}function ph(e,r,o,a,d){var c=r.points[3],u=o.points[0];if(a===3||To(c,u))return c;if(a===2){var T=-r.tangentAngle(1),v=-o.tangentAngle(0)+Math.PI,I=$a(c,Eo(c,T+Math.PI/2,100),u,Eo(u,T+Math.PI/2,100)),w=I?Il(I,c):Il(c,u)/2,B=Eo(c,T,2*w*pe);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=Eo(u,v,2*w*pe),e.setTripleAt(u[0],u[1],u[0],u[1],B[0],B[1],e.length()),u}var E=To(c,r.points[2])?r.points[0]:r.points[2],N=To(u,o.points[1])?o.points[3]:o.points[1],P=$a(E,c,u,N);return P&&Il(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function mh(e,r){var o=e.intersections(r);return o.length&&Da(o[0][0],1)&&o.shift(),o.length?o[0]:null}function uh(e,r){var o=e.slice(),a=r.slice(),d=mh(e[e.length-1],r[0]);return d&&(o[e.length-1]=e[e.length-1].split(d[0])[0],a[0]=r[0].split(d[1])[1]),e.length>1&&r.length>1&&(d=mh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[o,a]}function Nv(e){for(var r,o=1;o<e.length;o+=1)r=uh(e[o-1],e[o]),e[o-1]=r[0],e[o]=r[1];return e.length>1&&(r=uh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function fh(e,r){var o=e.inflectionPoints(),a,d,c,u;if(o.length===0)return[xo(e,r)];if(o.length===1||Da(o[1],1))return c=e.split(o[0]),a=c[0],d=c[1],[xo(a,r),xo(d,r)];c=e.split(o[0]),a=c[0];var T=(o[1]-o[0])/(1-o[0]);return c=c[1].split(T),u=c[0],d=c[1],[xo(a,r),xo(u,r),xo(d,r)]}function Ts(){}$([Ve],Ts),Ts.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this.miterLimit=it.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Ts.prototype.processPath=function(e,r,o,a){var d=ne.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var u,T,v,I=[];for(u=0;u<c;u+=1)v=Vt.shapeSegment(e,u),I.push(fh(v,r));if(!e.c)for(u=c-1;u>=0;u-=1)v=Vt.shapeSegmentInverted(e,u),I.push(fh(v,r));I=Nv(I);var w=null,B=null;for(u=0;u<I.length;u+=1){var E=I[u];for(B&&(w=ph(d,B,E[0],o,a)),B=E[E.length-1],T=0;T<E.length;T+=1)v=E[T],w&&To(v.points[0],w)?d.setXYAt(v.points[1][0],v.points[1][1],"o",d.length()-1):d.setTripleAt(v.points[0][0],v.points[0][1],v.points[1][0],v.points[1][1],v.points[0][0],v.points[0][1],d.length()),d.setTripleAt(v.points[3][0],v.points[3][1],v.points[3][0],v.points[3][1],v.points[2][0],v.points[2][1],d.length()),w=v.points[3]}return I.length&&ph(d,B,I[0][0],o,a),d},Ts.prototype.processShapes=function(e){var r,o,a=this.shapes.length,d,c,u=this.amount.v,T=this.miterLimit.v,v=this.lineJoin;if(u!==0){var I,w;for(o=0;o<a;o+=1){if(I=this.shapes[o],w=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!e))for(w.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)w.addShape(this.processPath(r[d],u,v,T));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function vh(e){for(var r=e.fStyle?e.fStyle.split(" "):[],o="normal",a="normal",d=r.length,c,u=0;u<d;u+=1)switch(c=r[u].toLowerCase(),c){case"italic":a="italic";break;case"bold":o="700";break;case"black":o="900";break;case"medium":o="500";break;case"regular":case"normal":o="400";break;case"light":case"thin":o="200";break;default:break}return{style:a,weight:e.fWeight||o}}var Ci=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},o=[];o=o.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,d=917631,c=917601,u=917626,T=65039,v=8205,I=127462,w=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function E(_){var O=_.split(","),p,b=O.length,U=[];for(p=0;p<b;p+=1)O[p]!=="sans-serif"&&O[p]!=="monospace"&&U.push(O[p]);return U.join(",")}function N(_,O){var p=R("span");p.setAttribute("aria-hidden",!0),p.style.fontFamily=O;var b=R("span");b.innerText="giItT1WQy@!-/#",p.style.position="absolute",p.style.left="-10000px",p.style.top="-10000px",p.style.fontSize="300px",p.style.fontVariant="normal",p.style.fontStyle="normal",p.style.fontWeight="normal",p.style.letterSpacing="0",p.appendChild(b),document.body.appendChild(p);var U=b.offsetWidth;return b.style.fontFamily=E(_)+", "+O,{node:b,w:U,parent:p}}function P(){var _,O=this.fonts.length,p,b,U=O;for(_=0;_<O;_+=1)this.fonts[_].loaded?U-=1:this.fonts[_].fOrigin==="n"||this.fonts[_].origin===0?this.fonts[_].loaded=!0:(p=this.fonts[_].monoCase.node,b=this.fonts[_].monoCase.w,p.offsetWidth!==b?(U-=1,this.fonts[_].loaded=!0):(p=this.fonts[_].sansCase.node,b=this.fonts[_].sansCase.w,p.offsetWidth!==b&&(U-=1,this.fonts[_].loaded=!0)),this.fonts[_].loaded&&(this.fonts[_].sansCase.parent.parentNode.removeChild(this.fonts[_].sansCase.parent),this.fonts[_].monoCase.parent.parentNode.removeChild(this.fonts[_].monoCase.parent)));U!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(_,O){var p=document.body&&O?"svg":"canvas",b,U=vh(_);if(p==="svg"){var F=gt("text");F.style.fontSize="100px",F.setAttribute("font-family",_.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",_.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",_.fClass)):F.style.fontFamily=_.fFamily,O.appendChild(F),b=F}else{var st=new OffscreenCanvas(500,500).getContext("2d");st.font=U.style+" "+U.weight+" 100px "+_.fFamily,b=st}function mt(ft){return p==="svg"?(b.textContent=ft,b.getComputedTextLength()):b.measureText(ft).width}return{measureText:mt}}function z(_,O){if(!_){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=_.list;return}if(!document.body){this.isLoaded=!0,_.list.forEach(function(Ae){Ae.helper=M(Ae),Ae.cache={}}),this.fonts=_.list;return}var p=_.list,b,U=p.length,F=U;for(b=0;b<U;b+=1){var st=!0,mt,ft;if(p[b].loaded=!1,p[b].monoCase=N(p[b].fFamily,"monospace"),p[b].sansCase=N(p[b].fFamily,"sans-serif"),!p[b].fPath)p[b].loaded=!0,F-=1;else if(p[b].fOrigin==="p"||p[b].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+p[b].fFamily+'"], style[f-origin="3"][f-family="'+p[b].fFamily+'"]'),mt.length>0&&(st=!1),st){var Ct=R("style");Ct.setAttribute("f-forigin",p[b].fOrigin),Ct.setAttribute("f-origin",p[b].origin),Ct.setAttribute("f-family",p[b].fFamily),Ct.type="text/css",Ct.innerText="@font-face {font-family: "+p[b].fFamily+"; font-style: normal; src: url('"+p[b].fPath+"');}",O.appendChild(Ct)}}else if(p[b].fOrigin==="g"||p[b].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ft=0;ft<mt.length;ft+=1)mt[ft].href.indexOf(p[b].fPath)!==-1&&(st=!1);if(st){var wt=R("link");wt.setAttribute("f-forigin",p[b].fOrigin),wt.setAttribute("f-origin",p[b].origin),wt.type="text/css",wt.rel="stylesheet",wt.href=p[b].fPath,document.body.appendChild(wt)}}else if(p[b].fOrigin==="t"||p[b].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ft=0;ft<mt.length;ft+=1)p[b].fPath===mt[ft].src&&(st=!1);if(st){var Kt=R("link");Kt.setAttribute("f-forigin",p[b].fOrigin),Kt.setAttribute("f-origin",p[b].origin),Kt.setAttribute("rel","stylesheet"),Kt.setAttribute("href",p[b].fPath),O.appendChild(Kt)}}p[b].helper=M(p[b],O),p[b].cache={},this.fonts.push(p[b])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function C(_){if(_){this.chars||(this.chars=[]);var O,p=_.length,b,U=this.chars.length,F;for(O=0;O<p;O+=1){for(b=0,F=!1;b<U;)this.chars[b].style===_[O].style&&this.chars[b].fFamily===_[O].fFamily&&this.chars[b].ch===_[O].ch&&(F=!0),b+=1;F||(this.chars.push(_[O]),U+=1)}}}function S(_,O,p){for(var b=0,U=this.chars.length;b<U;){if(this.chars[b].ch===_&&this.chars[b].style===O&&this.chars[b].fFamily===p)return this.chars[b];b+=1}return(typeof _=="string"&&_.charCodeAt(0)!==13||!_)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",_,O,p)),r}function y(_,O,p){var b=this.getFontByName(O),U=_;if(!b.cache[U]){var F=b.helper;if(_===" "){var st=F.measureText("|"+_+"|"),mt=F.measureText("||");b.cache[U]=(st-mt)/100}else b.cache[U]=F.measureText(_)/100}return b.cache[U]*p}function A(_){for(var O=0,p=this.fonts.length;O<p;){if(this.fonts[O].fName===_)return this.fonts[O];O+=1}return this.fonts[0]}function k(_){var O=0,p=_.charCodeAt(0);if(p>=55296&&p<=56319){var b=_.charCodeAt(1);b>=56320&&b<=57343&&(O=(p-55296)*1024+b-56320+65536)}return O}function D(_,O){var p=_.toString(16)+O.toString(16);return B.indexOf(p)!==-1}function V(_){return _===v}function G(_){return _===T}function Z(_){var O=k(_);return O>=I&&O<=w}function ut(_){return Z(_.substr(0,2))&&Z(_.substr(2,2))}function dt(_){return o.indexOf(_)!==-1}function tt(_,O){var p=k(_.substr(O,2));if(p!==a)return!1;var b=0;for(O+=2;b<5;){if(p=k(_.substr(O,2)),p<c||p>u)return!1;b+=1,O+=2}return k(_.substr(O,2))===d}function bt(){this.isLoaded=!0}var lt=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)};lt.isModifier=D,lt.isZeroWidthJoiner=V,lt.isFlagEmoji=ut,lt.isRegionalCode=Z,lt.isCombinedCharacter=dt,lt.isRegionalFlag=tt,lt.isVariationSelector=G,lt.BLACK_FLAG_CODE_POINT=a;var X={addChars:C,addFonts:z,getCharData:S,getFontByName:A,measureText:y,checkLoadedFonts:P,setIsLoaded:bt};return lt.prototype=X,lt}();function gh(e){this.animationData=e}gh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Rv(e){return new gh(e)}function za(){}za.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},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(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?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 r,o=this.renderableComponents.length;for(r=0;r<o;r+=1)this.renderableComponents[r].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 Cl=function(){var e={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(r){return e[r]||""}}();function Mv(e,r,o){this.p=it.getProp(r,e.v,0,0,o)}function Ov(e,r,o){this.p=it.getProp(r,e.v,0,0,o)}function Pv(e,r,o){this.p=it.getProp(r,e.v,1,0,o)}function Dv(e,r,o){this.p=it.getProp(r,e.v,1,0,o)}function Fv(e,r,o){this.p=it.getProp(r,e.v,0,0,o)}function $v(e,r,o){this.p=it.getProp(r,e.v,0,0,o)}function zv(e,r,o){this.p=it.getProp(r,e.v,0,0,o)}function Vv(){this.p={}}function bh(e,r){var o=e.ef||[];this.effectElements=[];var a,d=o.length,c;for(a=0;a<d;a+=1)c=new xs(o[a],r),this.effectElements.push(c)}function xs(e,r){this.init(e,r)}$([ie],xs),xs.prototype.getValue=xs.prototype.iterateDynamicProperties,xs.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var o,a=this.data.ef.length,d,c=this.data.ef;for(o=0;o<a;o+=1){switch(d=null,c[o].ty){case 0:d=new Mv(c[o],r,this);break;case 1:d=new Ov(c[o],r,this);break;case 2:d=new Pv(c[o],r,this);break;case 3:d=new Dv(c[o],r,this);break;case 4:case 7:d=new zv(c[o],r,this);break;case 10:d=new Fv(c[o],r,this);break;case 11:d=new $v(c[o],r,this);break;case 5:d=new bh(c[o],r,this);break;default:d=new Vv(c[o],r,this);break}d&&this.effectElements.push(d)}};function ei(){}ei.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,o=this.data.masksProperties.length;r<o;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=Hd();if(r){var o=r("layer"),a=r("effects"),d=r("shape"),c=r("text"),u=r("comp");this.layerInterface=o(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var T=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(T),this.data.ty===0||this.data.xt?this.compInterface=u(this):this.data.ty===4?(this.layerInterface.shapeInterface=d(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=Cl(this.data.bm),o=this.baseElement||this.layerElement;o.style["mix-blend-mode"]=r},initBaseData:function(r,o,a){this.globalData=o,this.comp=a,this.data=r,this.layerId=Te(),this.data.sr||(this.data.sr=1),this.effectsManager=new bh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function ri(){}ri.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,o){var a,d=this.dynamicProperties.length;for(a=0;a<d;a+=1)(o||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function ii(e,r,o){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,o)}ii.prototype.prepareFrame=function(){},$([za,ei,ri],ii),ii.prototype.getBaseElement=function(){return null},ii.prototype.renderFrame=function(){},ii.prototype.destroy=function(){},ii.prototype.initExpressions=function(){var e=Hd();if(e){var r=e("footage");this.layerInterface=r(this)}},ii.prototype.getFootageData=function(){return this.footageData};function xe(e,r,o){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,o),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=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=it.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}xe.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var o=this._volume*this._volumeMultiplier;this._previousVolume!==o&&(this._previousVolume=o,this.audio.volume(o))},$([za,ei,ri],xe),xe.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))},xe.prototype.show=function(){},xe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},xe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},xe.prototype.resume=function(){this._canPlay=!0},xe.prototype.setRate=function(e){this.audio.rate(e)},xe.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},xe.prototype.getBaseElement=function(){return null},xe.prototype.destroy=function(){},xe.prototype.sourceRectAtTime=function(){},xe.prototype.initExpressions=function(){};function ce(){}ce.prototype.checkLayers=function(e){var r,o=this.layers.length,a;for(this.completeLayers=!0,r=o-1;r>=0;r-=1)this.elements[r]||(a=this.layers[r],a.ip-a.st<=e-this.layers[r].st&&a.op-a.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},ce.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},ce.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ce.prototype.createAudio=function(e){return new xe(e,this.globalData,this)},ce.prototype.createFootage=function(e){return new ii(e,this.globalData,this)},ce.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},ce.prototype.includeLayers=function(e){this.completeLayers=!1;var r,o=e.length,a,d=this.layers.length;for(r=0;r<o;r+=1)for(a=0;a<d;){if(this.layers[a].id===e[r].id){this.layers[a]=e[r];break}a+=1}},ce.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},ce.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ce.prototype.buildElementParenting=function(e,r,o){for(var a=this.elements,d=this.layers,c=0,u=d.length;c<u;)d[c].ind==r&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(o.push(a[c]),a[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(e,d[c].parent,o):e.setHierarchy(o))),c+=1},ce.prototype.addPendingElement=function(e){this.pendingElements.push(e)},ce.prototype.searchExtraCompositions=function(e){var r,o=e.length;for(r=0;r<o;r+=1)if(e[r].xt){var a=this.createComp(e[r]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},ce.prototype.getElementById=function(e){var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},ce.prototype.getElementByPath=function(e){var r=e.shift(),o;if(typeof r=="number")o=this.elements[r];else{var a,d=this.elements.length;for(a=0;a<d;a+=1)if(this.elements[a].data.nm===r){o=this.elements[a];break}}return e.length===0?o:o.getElementByPath(e)},ce.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Ci,this.globalData.slotManager=Rv(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var Bv={TRANSFORM_EFFECT:"transformEFfect"};function Ao(){}Ao.prototype={initTransform:function(){var r=new le;this.finalTransform={mProp:this.data.ks?Al.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,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 r,o=this.finalTransform.mat,a=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<d;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,o.cloneFromProps(r),a=0;a<d;a+=1)o.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 r=0,o=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<o;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),r=1;r<o;r+=1){var d=this.localTransforms[r].matrix;a.multiply(d)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<o;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(Bv.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new le;var o=0,a=r.length;for(o=0;o<a;o+=1)this.localTransforms.push(r[o])}}},globalToLocal:function(r){var o=[];o.push(this.finalTransform);for(var a=!0,d=this.comp;a;)d.finalTransform?(d.data.hasMask&&o.splice(0,0,d.finalTransform),d=d.comp):a=!1;var c,u=o.length,T;for(c=0;c<u;c+=1)T=o[c].mat.applyToPointArray(0,0,0),r=[r[0]-T[0],r[1]-T[1],0];return r},mHelper:new le};function wi(e,r,o){this.data=e,this.element=r,this.globalData=o,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=rt(c),this.solidPath="";var u,T=this.masksProperties,v=0,I=[],w,B,E=Te(),N,P,M,z,C="clipPath",S="clip-path";for(d=0;d<c;d+=1)if((T[d].mode!=="a"&&T[d].mode!=="n"||T[d].inv||T[d].o.k!==100||T[d].o.x)&&(C="mask",S="mask"),(T[d].mode==="s"||T[d].mode==="i")&&v===0?(N=gt("rect"),N.setAttribute("fill","#ffffff"),N.setAttribute("width",this.element.comp.data.w||0),N.setAttribute("height",this.element.comp.data.h||0),I.push(N)):N=null,u=gt("path"),T[d].mode==="n")this.viewData[d]={op:it.getProp(this.element,T[d].o,0,.01,this.element),prop:Ma.getShapeProp(this.element,T[d],3),elem:u,lastPath:""},a.appendChild(u);else{v+=1,u.setAttribute("fill",T[d].mode==="s"?"#000000":"#ffffff"),u.setAttribute("clip-rule","nonzero");var y;if(T[d].x.k!==0?(C="mask",S="mask",z=it.getProp(this.element,T[d].x,0,null,this.element),y=Te(),P=gt("filter"),P.setAttribute("id",y),M=gt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),a.appendChild(P),u.setAttribute("stroke",T[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:u,x:z,expan:M,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},T[d].mode==="i"){B=I.length;var A=gt("g");for(w=0;w<B;w+=1)A.appendChild(I[w]);var k=gt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",E+"_"+v),k.appendChild(u),a.appendChild(k),A.setAttribute("mask","url("+x()+"#"+E+"_"+v+")"),I.length=0,I.push(A)}else I.push(u);T[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:u,lastPath:"",op:it.getProp(this.element,T[d].o,0,.01,this.element),prop:Ma.getShapeProp(this.element,T[d],3),invRect:N},this.viewData[d].prop.k||this.drawPath(T[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=gt(C),c=I.length,d=0;d<c;d+=1)this.maskElement.appendChild(I[d]);v>0&&(this.maskElement.setAttribute("id",E),this.element.maskedElement.setAttribute(S,"url("+x()+"#"+E+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}wi.prototype.getMaskProperty=function(e){return this.viewData[e].prop},wi.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,o,a=this.masksProperties.length;for(o=0;o<a;o+=1)if((this.viewData[o].prop._mdf||e)&&this.drawPath(this.masksProperties[o],this.viewData[o].prop.v,this.viewData[o]),(this.viewData[o].op._mdf||e)&&this.viewData[o].elem.setAttribute("fill-opacity",this.viewData[o].op.v),this.masksProperties[o].mode!=="n"&&(this.viewData[o].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[o].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[o].x&&(this.storedData[o].x._mdf||e))){var d=this.storedData[o].expan;this.storedData[o].x.v<0?(this.storedData[o].lastOperator!=="erode"&&(this.storedData[o].lastOperator="erode",this.storedData[o].elem.setAttribute("filter","url("+x()+"#"+this.storedData[o].filterId+")")),d.setAttribute("radius",-this.storedData[o].x.v)):(this.storedData[o].lastOperator!=="dilate"&&(this.storedData[o].lastOperator="dilate",this.storedData[o].elem.setAttribute("filter",null)),this.storedData[o].elem.setAttribute("stroke-width",this.storedData[o].x.v*2))}},wi.prototype.getMaskelement=function(){return this.maskElement},wi.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},wi.prototype.drawPath=function(e,r,o){var a=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[d][0]+","+r.i[d][1]+" "+r.v[d][0]+","+r.v[d][1];if(r.c&&c>1&&(a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),o.lastPath!==a){var u="";o.elem&&(r.c&&(u=e.inv?this.solidPath+a:a),o.elem.setAttribute("d",u)),o.lastPath=a}},wi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var As=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=o;function r(a,d){var c=gt("filter");return c.setAttribute("id",a),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function o(){var a=gt("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 e}(),yh=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),Va={},Eh="filter_result_";function wl(e){var r,o="SourceGraphic",a=e.data.ef?e.data.ef.length:0,d=Te(),c=As.createFilter(d,!0),u=0;this.filters=[];var T;for(r=0;r<a;r+=1){T=null;var v=e.data.ef[r].ty;if(Va[v]){var I=Va[v].effect;T=new I(c,e.effectsManager.effectElements[r],e,Eh+u,o),o=Eh+u,Va[v].countsAsEffect&&(u+=1)}T&&this.filters.push(T)}u&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+x()+"#"+d+")")),this.filters.length&&e.addRenderableComponent(this)}wl.prototype.renderFrame=function(e){var r,o=this.filters.length;for(r=0;r<o;r+=1)this.filters[r].renderFrame(e)},wl.prototype.getEffects=function(e){var r,o=this.filters.length,a=[];for(r=0;r<o;r+=1)this.filters[r].type===e&&a.push(this.filters[r]);return a};function UE(e,r,o){Va[e]={effect:r,countsAsEffect:o}}function _s(){}_s.prototype={initRendererElement:function(){this.layerElement=gt("g")},createContainerElements:function(){this.matteElement=gt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var o=gt("g");o.setAttribute("id",this.layerId),o.appendChild(this.layerElement),r=o,this.globalData.defs.appendChild(o)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=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=gt("clipPath"),d=gt("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Te();if(a.setAttribute("id",c),a.appendChild(d),this.globalData.defs.appendChild(a),this.checkMasks()){var u=gt("g");u.setAttribute("clip-path","url("+x()+"#"+c+")"),u.appendChild(this.layerElement),this.transformedElement=u,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+x()+"#"+c+")")}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 wi(this.data,this,this.globalData),this.renderableEffectsManager=new wl(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var o=this.layerId+"_"+r,a,d,c,u;if(r===1||r===3){var T=gt("mask");T.setAttribute("id",o),T.setAttribute("mask-type",r===3?"luminance":"alpha"),c=gt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),T.appendChild(c),this.globalData.defs.appendChild(T),!yh.maskType&&r===1&&(T.setAttribute("mask-type","luminance"),a=Te(),d=As.createFilter(a),this.globalData.defs.appendChild(d),d.appendChild(As.createAlphaToLuminanceFilter()),u=gt("g"),u.appendChild(c),T.appendChild(u),u.setAttribute("filter","url("+x()+"#"+a+")"))}else if(r===2){var v=gt("mask");v.setAttribute("id",o),v.setAttribute("mask-type","alpha");var I=gt("g");v.appendChild(I),a=Te(),d=As.createFilter(a);var w=gt("feComponentTransfer");w.setAttribute("in","SourceGraphic"),d.appendChild(w);var B=gt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),w.appendChild(B),this.globalData.defs.appendChild(d);var E=gt("rect");E.setAttribute("width",this.comp.data.w),E.setAttribute("height",this.comp.data.h),E.setAttribute("x","0"),E.setAttribute("y","0"),E.setAttribute("fill","#ffffff"),E.setAttribute("opacity","0"),I.setAttribute("filter","url("+x()+"#"+a+")"),I.appendChild(E),c=gt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),I.appendChild(c),yh.maskType||(v.setAttribute("mask-type","luminance"),d.appendChild(As.createAlphaToLuminanceFilter()),u=gt("g"),I.appendChild(E),u.appendChild(this.layerElement),I.appendChild(u)),this.globalData.defs.appendChild(v)}this.matteMasks[r]=o}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+x()+"#"+r+")")}};function _o(){}_o.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function Ss(){}(function(){var e={initElement:function(o,a,d){this.initFrame(),this.initBaseData(o,a,d),this.initTransform(o,a,d),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var o=this.baseElement||this.layerElement;o.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var o=this.baseElement||this.layerElement;o.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(o){this._mdf=!1,this.prepareRenderableFrame(o),this.prepareProperties(o,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};$([za,K(e)],Ss)})();function Is(e,r,o){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,o),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}$([ei,Ao,_s,_o,ri,Ss],Is),Is.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=gt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},Is.prototype.sourceRectAtTime=function(){return this.sourceRect};function Uv(e,r){this.elem=e,this.pos=r}function Th(){}Th.prototype={addShapeToModifiers:function(r){var o,a=this.shapeModifiers.length;for(o=0;o<a;o+=1)this.shapeModifiers[o].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var o=0,a=this.shapeModifiers.length;o<a;)if(this.shapeModifiers[o].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,o=this.shapes.length;for(r=0;r<o;r+=1)this.shapes[r].sh.reset();o=this.shapeModifiers.length;var a;for(r=o-1;r>=0&&(a=this.shapeModifiers[r].processShapes(this._isFirstFrame),!a);r-=1);}},searchProcessedElement:function(r){for(var o=this.processedElements,a=0,d=o.length;a<d;){if(o[a].elem===r)return o[a].pos;a+=1}return 0},addProcessedElement:function(r,o){for(var a=this.processedElements,d=a.length;d;)if(d-=1,a[d].elem===r){a[d].pos=o;return}a.push(new Uv(r,o))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var xh={1:"butt",2:"round",3:"square"},Ah={1:"miter",2:"round",3:"bevel"};function _h(e,r,o){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=o,this.lvl=r,this._isAnimated=!!o.k;for(var a=0,d=e.length;a<d;){if(e[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}_h.prototype.setAsAnimated=function(){this._isAnimated=!0};function Sh(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=gt("path"),this.msElem=null}Sh.prototype.reset=function(){this.d="",this._mdf=!1};function Ba(e,r,o,a){this.elem=e,this.frameId=-1,this.dataProps=rt(r.length),this.renderer=o,this.k=!1,this.dashStr="",this.dashArray=J("float32",r.length?r.length-1:0),this.dashoffset=J("float32",1),this.initDynamicPropertyContainer(a);var d,c=r.length||0,u;for(d=0;d<c;d+=1)u=it.getProp(e,r[d].v,0,0,this),this.k=u.k||this.k,this.dataProps[d]={n:r[d].n,p:u};this.k||this.getValue(!0),this._isAnimated=this.k}Ba.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,o=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<o;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},$([ie],Ba);function Ih(e,r,o){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.w=it.getProp(e,r.w,0,null,this),this.d=new Ba(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=o,this._isAnimated=!!this._isAnimated}$([ie],Ih);function kh(e,r,o){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.c=it.getProp(e,r.c,1,255,this),this.style=o}$([ie],kh);function Ch(e,r,o){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=o}$([ie],Ch);function ks(e,r,o){this.data=r,this.c=J("uint8c",r.p*4);var a=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=J("float32",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(o),this.prop=it.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ks.prototype.comparePoints=function(e,r){for(var o=0,a=this.o.length/2,d;o<a;){if(d=Math.abs(e[o*4]-e[r*4+o*2]),d>.01)return!1;o+=1}return!0},ks.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},ks.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,o=this.data.p*4,a,d;for(r=0;r<o;r+=1)a=r%4===0?100:255,d=Math.round(this.prop.v[r]*a),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!e);if(this.o.length)for(o=this.prop.v.length,r=this.data.p*4;r<o;r+=1)a=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!e);this._mdf=!e}},$([ie],ks);function So(e,r,o){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,o)}So.prototype.initGradientData=function(e,r,o){this.o=it.getProp(e,r.o,0,.01,this),this.s=it.getProp(e,r.s,1,null,this),this.e=it.getProp(e,r.e,1,null,this),this.h=it.getProp(e,r.h||{k:0},0,.01,this),this.a=it.getProp(e,r.a||{k:0},0,_t,this),this.g=new ks(e,r.g,this),this.style=o,this.stops=[],this.setGradientData(o.pElem,r),this.setGradientOpacity(r,o),this._isAnimated=!!this._isAnimated},So.prototype.setGradientData=function(e,r){var o=Te(),a=gt(r.t===1?"linearGradient":"radialGradient");a.setAttribute("id",o),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,u,T;for(T=r.g.p*4,u=0;u<T;u+=4)c=gt("stop"),a.appendChild(c),d.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+x()+"#"+o+")"),this.gf=a,this.cst=d},So.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var o,a,d,c=gt("mask"),u=gt("path");c.appendChild(u);var T=Te(),v=Te();c.setAttribute("id",v);var I=gt(e.t===1?"linearGradient":"radialGradient");I.setAttribute("id",T),I.setAttribute("spreadMethod","pad"),I.setAttribute("gradientUnits","userSpaceOnUse"),d=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var w=this.stops;for(a=e.g.p*4;a<d;a+=2)o=gt("stop"),o.setAttribute("stop-color","rgb(255,255,255)"),I.appendChild(o),w.push(o);u.setAttribute(e.ty==="gf"?"fill":"stroke","url("+x()+"#"+T+")"),e.ty==="gs"&&(u.setAttribute("stroke-linecap",xh[e.lc||2]),u.setAttribute("stroke-linejoin",Ah[e.lj||2]),e.lj===1&&u.setAttribute("stroke-miterlimit",e.ml)),this.of=I,this.ms=c,this.ost=w,this.maskId=v,r.msElem=u}},$([ie],So);function wh(e,r,o){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new Ba(e,r.d||{},"svg",this),this.initGradientData(e,r,o),this._isAnimated=!!this._isAnimated}$([So,ie],wh);function Gv(){this.it=[],this.prevViewData=[],this.gr=gt("g")}function Hv(e,r,o){this.transform={mProps:e,op:r,container:o},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var Lh=function(r,o,a,d){if(o===0)return"";var c=r.o,u=r.i,T=r.v,v,I=" M"+d.applyToPointStringified(T[0][0],T[0][1]);for(v=1;v<o;v+=1)I+=" C"+d.applyToPointStringified(c[v-1][0],c[v-1][1])+" "+d.applyToPointStringified(u[v][0],u[v][1])+" "+d.applyToPointStringified(T[v][0],T[v][1]);return a&&o&&(I+=" C"+d.applyToPointStringified(c[v-1][0],c[v-1][1])+" "+d.applyToPointStringified(u[0][0],u[0][1])+" "+d.applyToPointStringified(T[0][0],T[0][1]),I+="z"),I},jv=function(){var e=new le,r=new le,o={createRenderFunction:a};function a(B){switch(B.ty){case"fl":return T;case"gf":return I;case"gs":return v;case"st":return w;case"sh":case"el":case"rc":case"sr":return u;case"tr":return d;case"no":return c;default:return null}}function d(B,E,N){(N||E.transform.op._mdf)&&E.transform.container.setAttribute("opacity",E.transform.op.v),(N||E.transform.mProps._mdf)&&E.transform.container.setAttribute("transform",E.transform.mProps.v.to2dCSS())}function c(){}function u(B,E,N){var P,M,z,C,S,y,A=E.styles.length,k=E.lvl,D,V,G,Z;for(y=0;y<A;y+=1){if(C=E.sh._mdf||N,E.styles[y].lvl<k){for(V=r.reset(),G=k-E.styles[y].lvl,Z=E.transformers.length-1;!C&&G>0;)C=E.transformers[Z].mProps._mdf||C,G-=1,Z-=1;if(C)for(G=k-E.styles[y].lvl,Z=E.transformers.length-1;G>0;)V.multiply(E.transformers[Z].mProps.v),G-=1,Z-=1}else V=e;if(D=E.sh.paths,M=D._length,C){for(z="",P=0;P<M;P+=1)S=D.shapes[P],S&&S._length&&(z+=Lh(S,S._length,S.c,V));E.caches[y]=z}else z=E.caches[y];E.styles[y].d+=B.hd===!0?"":z,E.styles[y]._mdf=C||E.styles[y]._mdf}}function T(B,E,N){var P=E.style;(E.c._mdf||N)&&P.pElem.setAttribute("fill","rgb("+re(E.c.v[0])+","+re(E.c.v[1])+","+re(E.c.v[2])+")"),(E.o._mdf||N)&&P.pElem.setAttribute("fill-opacity",E.o.v)}function v(B,E,N){I(B,E,N),w(B,E,N)}function I(B,E,N){var P=E.gf,M=E.g._hasOpacity,z=E.s.v,C=E.e.v;if(E.o._mdf||N){var S=B.ty==="gf"?"fill-opacity":"stroke-opacity";E.style.pElem.setAttribute(S,E.o.v)}if(E.s._mdf||N){var y=B.t===1?"x1":"cx",A=y==="x1"?"y1":"cy";P.setAttribute(y,z[0]),P.setAttribute(A,z[1]),M&&!E.g._collapsable&&(E.of.setAttribute(y,z[0]),E.of.setAttribute(A,z[1]))}var k,D,V,G;if(E.g._cmdf||N){k=E.cst;var Z=E.g.c;for(V=k.length,D=0;D<V;D+=1)G=k[D],G.setAttribute("offset",Z[D*4]+"%"),G.setAttribute("stop-color","rgb("+Z[D*4+1]+","+Z[D*4+2]+","+Z[D*4+3]+")")}if(M&&(E.g._omdf||N)){var ut=E.g.o;for(E.g._collapsable?k=E.cst:k=E.ost,V=k.length,D=0;D<V;D+=1)G=k[D],E.g._collapsable||G.setAttribute("offset",ut[D*2]+"%"),G.setAttribute("stop-opacity",ut[D*2+1])}if(B.t===1)(E.e._mdf||N)&&(P.setAttribute("x2",C[0]),P.setAttribute("y2",C[1]),M&&!E.g._collapsable&&(E.of.setAttribute("x2",C[0]),E.of.setAttribute("y2",C[1])));else{var dt;if((E.s._mdf||E.e._mdf||N)&&(dt=Math.sqrt(Math.pow(z[0]-C[0],2)+Math.pow(z[1]-C[1],2)),P.setAttribute("r",dt),M&&!E.g._collapsable&&E.of.setAttribute("r",dt)),E.e._mdf||E.h._mdf||E.a._mdf||N){dt||(dt=Math.sqrt(Math.pow(z[0]-C[0],2)+Math.pow(z[1]-C[1],2)));var tt=Math.atan2(C[1]-z[1],C[0]-z[0]),bt=E.h.v;bt>=1?bt=.99:bt<=-1&&(bt=-.99);var lt=dt*bt,X=Math.cos(tt+E.a.v)*lt+z[0],_=Math.sin(tt+E.a.v)*lt+z[1];P.setAttribute("fx",X),P.setAttribute("fy",_),M&&!E.g._collapsable&&(E.of.setAttribute("fx",X),E.of.setAttribute("fy",_))}}}function w(B,E,N){var P=E.style,M=E.d;M&&(M._mdf||N)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),E.c&&(E.c._mdf||N)&&P.pElem.setAttribute("stroke","rgb("+re(E.c.v[0])+","+re(E.c.v[1])+","+re(E.c.v[2])+")"),(E.o._mdf||N)&&P.pElem.setAttribute("stroke-opacity",E.o.v),(E.w._mdf||N)&&(P.pElem.setAttribute("stroke-width",E.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",E.w.v))}return o}();function Ht(e,r,o){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,o),this.prevViewData=[]}$([ei,Ao,_s,Th,_o,ri,Ss],Ht),Ht.prototype.initSecondaryElement=function(){},Ht.prototype.identityMatrix=new le,Ht.prototype.buildExpressionInterface=function(){},Ht.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Ht.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,o,a,d=this.stylesList.length,c,u=[],T=!1;for(a=0;a<d;a+=1){for(c=this.stylesList[a],T=!1,u.length=0,e=0;e<r;e+=1)o=this.shapes[e],o.styles.indexOf(c)!==-1&&(u.push(o),T=o._isAnimated||T);u.length>1&&T&&this.setShapesAsAnimated(u)}},Ht.prototype.setShapesAsAnimated=function(e){var r,o=e.length;for(r=0;r<o;r+=1)e[r].setAsAnimated()},Ht.prototype.createStyleElement=function(e,r){var o,a=new Sh(e,r),d=a.pElem;if(e.ty==="st")o=new Ih(this,e,a);else if(e.ty==="fl")o=new kh(this,e,a);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?So:wh;o=new c(this,e,a),this.globalData.defs.appendChild(o.gf),o.maskId&&(this.globalData.defs.appendChild(o.ms),this.globalData.defs.appendChild(o.of),d.setAttribute("mask","url("+x()+"#"+o.maskId+")"))}else e.ty==="no"&&(o=new Ch(this,e,a));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",xh[e.lc||2]),d.setAttribute("stroke-linejoin",Ah[e.lj||2]),d.setAttribute("fill-opacity","0"),e.lj===1&&d.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&d.setAttribute("fill-rule","evenodd"),e.ln&&d.setAttribute("id",e.ln),e.cl&&d.setAttribute("class",e.cl),e.bm&&(d.style["mix-blend-mode"]=Cl(e.bm)),this.stylesList.push(a),this.addToAnimatedContents(e,o),o},Ht.prototype.createGroupElement=function(e){var r=new Gv;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=Cl(e.bm)),r},Ht.prototype.createTransformElement=function(e,r){var o=Al.getTransformProperty(this,e,this),a=new Hv(o,o.o,r);return this.addToAnimatedContents(e,a),a},Ht.prototype.createShapeElement=function(e,r,o){var a=4;e.ty==="rc"?a=5:e.ty==="el"?a=6:e.ty==="sr"&&(a=7);var d=Ma.getShapeProp(this,e,a,this),c=new _h(r,o,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},Ht.prototype.addToAnimatedContents=function(e,r){for(var o=0,a=this.animatedContents.length;o<a;){if(this.animatedContents[o].element===r)return;o+=1}this.animatedContents.push({fn:jv.createRenderFunction(e),element:r,data:e})},Ht.prototype.setElementStyles=function(e){var r=e.styles,o,a=this.stylesList.length;for(o=0;o<a;o+=1)this.stylesList[o].closed||r.push(this.stylesList[o])},Ht.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},Ht.prototype.searchShapes=function(e,r,o,a,d,c,u){var T=[].concat(c),v,I=e.length-1,w,B,E=[],N=[],P,M,z;for(v=I;v>=0;v-=1){if(z=this.searchProcessedElement(e[v]),z?r[v]=o[z-1]:e[v]._render=u,e[v].ty==="fl"||e[v].ty==="st"||e[v].ty==="gf"||e[v].ty==="gs"||e[v].ty==="no")z?r[v].style.closed=!1:r[v]=this.createStyleElement(e[v],d),e[v]._render&&r[v].style.pElem.parentNode!==a&&a.appendChild(r[v].style.pElem),E.push(r[v].style);else if(e[v].ty==="gr"){if(!z)r[v]=this.createGroupElement(e[v]);else for(B=r[v].it.length,w=0;w<B;w+=1)r[v].prevViewData[w]=r[v].it[w];this.searchShapes(e[v].it,r[v].it,r[v].prevViewData,r[v].gr,d+1,T,u),e[v]._render&&r[v].gr.parentNode!==a&&a.appendChild(r[v].gr)}else e[v].ty==="tr"?(z||(r[v]=this.createTransformElement(e[v],a)),P=r[v].transform,T.push(P)):e[v].ty==="sh"||e[v].ty==="rc"||e[v].ty==="el"||e[v].ty==="sr"?(z||(r[v]=this.createShapeElement(e[v],T,d)),this.setElementStyles(r[v])):e[v].ty==="tm"||e[v].ty==="rd"||e[v].ty==="ms"||e[v].ty==="pb"||e[v].ty==="zz"||e[v].ty==="op"?(z?(M=r[v],M.closed=!1):(M=Qr.getModifier(e[v].ty),M.init(this,e[v]),r[v]=M,this.shapeModifiers.push(M)),N.push(M)):e[v].ty==="rp"&&(z?(M=r[v],M.closed=!0):(M=Qr.getModifier(e[v].ty),r[v]=M,M.init(this,e,v,r),this.shapeModifiers.push(M),u=!1),N.push(M));this.addProcessedElement(e[v],v+1)}for(I=E.length,v=0;v<I;v+=1)E[v].closed=!0;for(I=N.length,v=0;v<I;v+=1)N[v].closed=!0},Ht.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},Ht.prototype.renderShape=function(){var e,r=this.animatedContents.length,o;for(e=0;e<r;e+=1)o=this.animatedContents[e],(this._isFirstFrame||o.element._isAnimated)&&o.data!==!0&&o.fn(o.data,o.element,this._isFirstFrame)},Ht.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Ll(e,r,o,a,d,c){this.o=e,this.sw=r,this.sc=o,this.fc=a,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!o,fc:!!a,m:!0,p:!0}}Ll.prototype.update=function(e,r,o,a,d,c){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 u=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,u=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,u=!0),this.sc!==o&&(this.sc=o,this._mdf.sc=!0,u=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,u=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,u=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,u=!0),u};function me(e,r){this._frameId=s,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}me.prototype.defaultBoxWidth=[0,0],me.prototype.copyData=function(e,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},me.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},me.prototype.searchProperty=function(){return this.searchKeyframes()},me.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},me.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},me.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,o=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,d=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(a=0;a<d;a+=1)o!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},me.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,o=0,a=e.length;o<=a-1&&!(o===a-1||e[o+1].t>r);)o+=1;return this.keysIndex!==o&&(this.keysIndex=o),this.data.d.k[this.keysIndex].s},me.prototype.buildFinalText=function(e){for(var r=[],o=0,a=e.length,d,c,u=!1,T=!1,v="";o<a;)u=T,T=!1,d=e.charCodeAt(o),v=e.charAt(o),Ci.isCombinedCharacter(d)?u=!0:d>=55296&&d<=56319?Ci.isRegionalFlag(e,o)?v=e.substr(o,14):(c=e.charCodeAt(o+1),c>=56320&&c<=57343&&(Ci.isModifier(d,c)?(v=e.substr(o,2),u=!0):Ci.isFlagEmoji(e.substr(o,4))?v=e.substr(o,4):v=e.substr(o,2))):d>56319?(c=e.charCodeAt(o+1),Ci.isVariationSelector(d)&&(u=!0)):Ci.isZeroWidthJoiner(d)&&(u=!0,T=!0),u?(r[r.length-1]+=v,u=!1):r.push(v),o+=v.length;return r},me.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,o=this.data,a=[],d,c,u,T=0,v,I=o.m.g,w=0,B=0,E=0,N=[],P=0,M=0,z,C,S=r.getFontByName(e.f),y,A=0,k=vh(S);e.fWeight=k.weight,e.fStyle=k.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var D=e.tr/1e3*e.finalSize,V;if(e.sz)for(var G=!0,Z=e.sz[0],ut=e.sz[1],dt,tt;G;){tt=this.buildFinalText(e.t),dt=0,P=0,c=tt.length,D=e.tr/1e3*e.finalSize;var bt=-1;for(d=0;d<c;d+=1)V=tt[d].charCodeAt(0),u=!1,tt[d]===" "?bt=d:(V===13||V===3)&&(P=0,u=!0,dt+=e.finalLineHeight||e.finalSize*1.2),r.chars?(y=r.getCharData(tt[d],S.fStyle,S.fFamily),A=u?0:y.w*e.finalSize/100):A=r.measureText(tt[d],e.f,e.finalSize),P+A>Z&&tt[d]!==" "?(bt===-1?c+=1:d=bt,dt+=e.finalLineHeight||e.finalSize*1.2,tt.splice(d,bt===d?1:0,"\r"),bt=-1,P=0):(P+=A,P+=D);dt+=S.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&ut<dt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=tt,c=e.finalText.length,G=!1)}P=-D,A=0;var lt=0,X;for(d=0;d<c;d+=1)if(u=!1,X=e.finalText[d],V=X.charCodeAt(0),V===13||V===3?(lt=0,N.push(P),M=P>M?P:M,P=-2*D,v="",u=!0,E+=1):v=X,r.chars?(y=r.getCharData(X,S.fStyle,r.getFontByName(e.f).fFamily),A=u?0:y.w*e.finalSize/100):A=r.measureText(v,e.f,e.finalSize),X===" "?lt+=A+D:(P+=A+D+lt,lt=0),a.push({l:A,an:A,add:w,n:u,anIndexes:[],val:v,line:E,animatorJustifyOffset:0}),I==2){if(w+=A,v===""||v===" "||d===c-1){for((v===""||v===" ")&&(w-=A);B<=d;)a[B].an=w,a[B].ind=T,a[B].extra=A,B+=1;T+=1,w=0}}else if(I==3){if(w+=A,v===""||d===c-1){for(v===""&&(w-=A);B<=d;)a[B].an=w,a[B].ind=T,a[B].extra=A,B+=1;w=0,T+=1}}else a[T].ind=T,a[T].extra=0,T+=1;if(e.l=a,M=P>M?P:M,N.push(P),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=N;var _=o.a,O,p;C=_.length;var b,U,F=[];for(z=0;z<C;z+=1){for(O=_[z],O.a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),U=0,b=O.s.b,d=0;d<c;d+=1)p=a[d],p.anIndexes[z]=U,(b==1&&p.val!==""||b==2&&p.val!==""&&p.val!==" "||b==3&&(p.n||p.val==" "||d==c-1)||b==4&&(p.n||d==c-1))&&(O.s.rn===1&&F.push(U),U+=1);o.a[z].s.totalChars=U;var st=-1,mt;if(O.s.rn===1)for(d=0;d<c;d+=1)p=a[d],st!=p.anIndexes[z]&&(st=p.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),p.anIndexes[z]=mt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=S.ascent*e.finalSize/100},me.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var o=this.copyData({},this.data.d.k[r].s);o=this.copyData(o,e),this.data.d.k[r].s=o,this.recalculate(r),this.setCurrentData(o),this.elem.addDynamicProperty(this)},me.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},me.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},me.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Yv=function(){var e=Math.max,r=Math.min,o=Math.floor;function a(c,u){this._currentTextLength=-1,this.k=!1,this.data=u,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=it.getProp(c,u.s||{k:0},0,0,this),"e"in u?this.e=it.getProp(c,u.e,0,0,this):this.e={v:100},this.o=it.getProp(c,u.o||{k:0},0,0,this),this.xe=it.getProp(c,u.xe||{k:0},0,0,this),this.ne=it.getProp(c,u.ne||{k:0},0,0,this),this.sm=it.getProp(c,u.sm||{k:100},0,0,this),this.a=it.getProp(c,u.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(u){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var T=0,v=0,I=1,w=1;this.ne.v>0?T=this.ne.v/100:v=-this.ne.v/100,this.xe.v>0?I=1-this.xe.v/100:w=1+this.xe.v/100;var B=vs.getBezierEasing(T,v,I,w).get,E=0,N=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===N?E=u>=P?1:0:E=e(0,r(.5/(P-N)+(u-N)/(P-N),1)),E=B(E);else if(M===3)P===N?E=u>=P?0:1:E=1-e(0,r(.5/(P-N)+(u-N)/(P-N),1)),E=B(E);else if(M===4)P===N?E=0:(E=e(0,r(.5/(P-N)+(u-N)/(P-N),1)),E<.5?E*=2:E=1-2*(E-.5)),E=B(E);else if(M===5){if(P===N)E=0;else{var z=P-N;u=r(e(0,u+.5-N),P-N);var C=-z/2+u,S=z/2;E=Math.sqrt(1-C*C/(S*S))}E=B(E)}else M===6?(P===N?E=0:(u=r(e(0,u+.5-N),P-N),E=(1+Math.cos(Math.PI+Math.PI*2*u/(P-N)))/2),E=B(E)):(u>=o(N)&&(u-N<0?E=e(0,r(r(P,1)-(N-u),1)):E=e(0,r(P-u,1))),E=B(E));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;E<A?E=0:(E=(E-A)/y,E>1&&(E=1))}return E*this.a.v},getValue:function(u){this.iterateDynamicProperties(),this._mdf=u||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,u&&this.data.r===2&&(this.e.v=this._currentTextLength);var T=this.data.r===2?1:100/this.data.totalChars,v=this.o.v/T,I=this.s.v/T+v,w=this.e.v/T+v;if(I>w){var B=I;I=w,w=B}this.finalS=I,this.finalE=w}},$([ie],a);function d(c,u,T){return new a(c,u,T)}return{getTextSelectorProp:d}}();function Wv(e,r,o){var a={propType:!1},d=it.getProp,c=r.a;this.a={r:c.r?d(e,c.r,0,_t,o):a,rx:c.rx?d(e,c.rx,0,_t,o):a,ry:c.ry?d(e,c.ry,0,_t,o):a,sk:c.sk?d(e,c.sk,0,_t,o):a,sa:c.sa?d(e,c.sa,0,_t,o):a,s:c.s?d(e,c.s,1,.01,o):a,a:c.a?d(e,c.a,1,0,o):a,o:c.o?d(e,c.o,0,.01,o):a,p:c.p?d(e,c.p,1,0,o):a,sw:c.sw?d(e,c.sw,0,0,o):a,sc:c.sc?d(e,c.sc,1,0,o):a,fc:c.fc?d(e,c.fc,1,0,o):a,fh:c.fh?d(e,c.fh,0,0,o):a,fs:c.fs?d(e,c.fs,0,.01,o):a,fb:c.fb?d(e,c.fb,0,.01,o):a,t:c.t?d(e,c.t,0,0,o):a},this.s=Yv.getTextSelectorProp(e,r.s,o),this.s.t=r.s.t}function Li(e,r,o){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=o,this._animatorsData=rt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(o)}Li.prototype.searchProperties=function(){var e,r=this._textData.a.length,o,a=it.getProp;for(e=0;e<r;e+=1)o=this._textData.a[e],this._animatorsData[e]=new Wv(this._elem,o,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)},Li.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var o=this._moreOptions.alignment.v,a=this._animatorsData,d=this._textData,c=this.mHelper,u=this._renderType,T=this.renderedLetters.length,v,I,w,B,E=e.l,N,P,M,z,C,S,y,A,k,D,V,G,Z,ut,dt;if(this._hasMaskedPath){if(dt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var tt=dt.v;this._pathData.r.v&&(tt=tt.reverse()),N={tLength:0,segments:[]},B=tt._length-1;var bt;for(G=0,w=0;w<B;w+=1)bt=ur.buildBezierData(tt.v[w],tt.v[w+1],[tt.o[w][0]-tt.v[w][0],tt.o[w][1]-tt.v[w][1]],[tt.i[w+1][0]-tt.v[w+1][0],tt.i[w+1][1]-tt.v[w+1][1]]),N.tLength+=bt.segmentLength,N.segments.push(bt),G+=bt.segmentLength;w=B,dt.v.c&&(bt=ur.buildBezierData(tt.v[w],tt.v[0],[tt.o[w][0]-tt.v[w][0],tt.o[w][1]-tt.v[w][1]],[tt.i[0][0]-tt.v[0][0],tt.i[0][1]-tt.v[0][1]]),N.tLength+=bt.segmentLength,N.segments.push(bt),G+=bt.segmentLength),this._pathData.pi=N}if(N=this._pathData.pi,P=this._pathData.f.v,y=0,S=1,z=0,C=!0,D=N.segments,P<0&&dt.v.c)for(N.tLength<Math.abs(P)&&(P=-Math.abs(P)%N.tLength),y=D.length-1,k=D[y].points,S=k.length-1;P<0;)P+=k[S].partialLength,S-=1,S<0&&(y-=1,k=D[y].points,S=k.length-1);k=D[y].points,A=k[S-1],M=k[S],V=M.partialLength}B=E.length,v=0,I=0;var lt=e.finalSize*1.2*.714,X=!0,_,O,p,b,U;b=a.length;var F,st=-1,mt,ft,Ct,wt=P,Kt=y,Ae=S,vr=-1,_e,oe,Re,Rt,ct,Lr,si,Nr,gr="",Rr=this.defaultPropsArray,Mr;if(e.j===2||e.j===1){var Se=0,ai=0,ni=e.j===2?-.5:-1,or=0,li=!0;for(w=0;w<B;w+=1)if(E[w].n){for(Se&&(Se+=ai);or<w;)E[or].animatorJustifyOffset=Se,or+=1;Se=0,li=!0}else{for(p=0;p<b;p+=1)_=a[p].a,_.t.propType&&(li&&e.j===2&&(ai+=_.t.v*ni),O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?Se+=_.t.v*F[0]*ni:Se+=_.t.v*F*ni);li=!1}for(Se&&(Se+=ai);or<w;)E[or].animatorJustifyOffset=Se,or+=1}for(w=0;w<B;w+=1){if(c.reset(),_e=1,E[w].n)v=0,I+=e.yOffset,I+=X?1:0,P=wt,X=!1,this._hasMaskedPath&&(y=Kt,S=Ae,k=D[y].points,A=k[S-1],M=k[S],V=M.partialLength,z=0),gr="",Nr="",Lr="",Mr="",Rr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(vr!==E[w].line){switch(e.j){case 1:P+=G-e.lineWidths[E[w].line];break;case 2:P+=(G-e.lineWidths[E[w].line])/2;break;default:break}vr=E[w].line}st!==E[w].ind&&(E[st]&&(P+=E[st].extra),P+=E[w].an/2,st=E[w].ind),P+=o[0]*E[w].an*.005;var sr=0;for(p=0;p<b;p+=1)_=a[p].a,_.p.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?sr+=_.p.v[0]*F[0]:sr+=_.p.v[0]*F),_.a.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?sr+=_.a.v[0]*F[0]:sr+=_.a.v[0]*F);for(C=!0,this._pathData.a.v&&(P=E[0].an*.5+(G-this._pathData.f.v-E[0].an*.5-E[E.length-1].an*.5)*st/(B-1),P+=this._pathData.f.v);C;)z+V>=P+sr||!k?(Z=(P+sr-z)/M.partialLength,ft=A.point[0]+(M.point[0]-A.point[0])*Z,Ct=A.point[1]+(M.point[1]-A.point[1])*Z,c.translate(-o[0]*E[w].an*.005,-(o[1]*lt)*.01),C=!1):k&&(z+=M.partialLength,S+=1,S>=k.length&&(S=0,y+=1,D[y]?k=D[y].points:dt.v.c?(S=0,y=0,k=D[y].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[S],V=M.partialLength));mt=E[w].an/2-E[w].add,c.translate(-mt,0,0)}else mt=E[w].an/2-E[w].add,c.translate(-mt,0,0),c.translate(-o[0]*E[w].an*.005,-o[1]*lt*.01,0);for(p=0;p<b;p+=1)_=a[p].a,_.t.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),(v!==0||e.j!==0)&&(this._hasMaskedPath?F.length?P+=_.t.v*F[0]:P+=_.t.v*F:F.length?v+=_.t.v*F[0]:v+=_.t.v*F));for(e.strokeWidthAnim&&(Re=e.sw||0),e.strokeColorAnim&&(e.sc?oe=[e.sc[0],e.sc[1],e.sc[2]]:oe=[0,0,0]),e.fillColorAnim&&e.fc&&(Rt=[e.fc[0],e.fc[1],e.fc[2]]),p=0;p<b;p+=1)_=a[p].a,_.a.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?c.translate(-_.a.v[0]*F[0],-_.a.v[1]*F[1],_.a.v[2]*F[2]):c.translate(-_.a.v[0]*F,-_.a.v[1]*F,_.a.v[2]*F));for(p=0;p<b;p+=1)_=a[p].a,_.s.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),F.length?c.scale(1+(_.s.v[0]-1)*F[0],1+(_.s.v[1]-1)*F[1],1):c.scale(1+(_.s.v[0]-1)*F,1+(_.s.v[1]-1)*F,1));for(p=0;p<b;p+=1){if(_=a[p].a,O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),_.sk.propType&&(F.length?c.skewFromAxis(-_.sk.v*F[0],_.sa.v*F[1]):c.skewFromAxis(-_.sk.v*F,_.sa.v*F)),_.r.propType&&(F.length?c.rotateZ(-_.r.v*F[2]):c.rotateZ(-_.r.v*F)),_.ry.propType&&(F.length?c.rotateY(_.ry.v*F[1]):c.rotateY(_.ry.v*F)),_.rx.propType&&(F.length?c.rotateX(_.rx.v*F[0]):c.rotateX(_.rx.v*F)),_.o.propType&&(F.length?_e+=(_.o.v*F[0]-_e)*F[0]:_e+=(_.o.v*F-_e)*F),e.strokeWidthAnim&&_.sw.propType&&(F.length?Re+=_.sw.v*F[0]:Re+=_.sw.v*F),e.strokeColorAnim&&_.sc.propType)for(ct=0;ct<3;ct+=1)F.length?oe[ct]+=(_.sc.v[ct]-oe[ct])*F[0]:oe[ct]+=(_.sc.v[ct]-oe[ct])*F;if(e.fillColorAnim&&e.fc){if(_.fc.propType)for(ct=0;ct<3;ct+=1)F.length?Rt[ct]+=(_.fc.v[ct]-Rt[ct])*F[0]:Rt[ct]+=(_.fc.v[ct]-Rt[ct])*F;_.fh.propType&&(F.length?Rt=Gd(Rt,_.fh.v*F[0]):Rt=Gd(Rt,_.fh.v*F)),_.fs.propType&&(F.length?Rt=Bd(Rt,_.fs.v*F[0]):Rt=Bd(Rt,_.fs.v*F)),_.fb.propType&&(F.length?Rt=Ud(Rt,_.fb.v*F[0]):Rt=Ud(Rt,_.fb.v*F))}}for(p=0;p<b;p+=1)_=a[p].a,_.p.propType&&(O=a[p].s,F=O.getMult(E[w].anIndexes[p],d.a[p].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,_.p.v[1]*F[0],-_.p.v[2]*F[1]):c.translate(0,_.p.v[1]*F,-_.p.v[2]*F):F.length?c.translate(_.p.v[0]*F[0],_.p.v[1]*F[1],-_.p.v[2]*F[2]):c.translate(_.p.v[0]*F,_.p.v[1]*F,-_.p.v[2]*F));if(e.strokeWidthAnim&&(Lr=Re<0?0:Re),e.strokeColorAnim&&(si="rgb("+Math.round(oe[0]*255)+","+Math.round(oe[1]*255)+","+Math.round(oe[2]*255)+")"),e.fillColorAnim&&e.fc&&(Nr="rgb("+Math.round(Rt[0]*255)+","+Math.round(Rt[1]*255)+","+Math.round(Rt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,o[1]*lt*.01+I,0),this._pathData.p.v){ut=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Ni=Math.atan(ut)*180/Math.PI;M.point[0]<A.point[0]&&(Ni+=180),c.rotate(-Ni*Math.PI/180)}c.translate(ft,Ct,0),P-=o[0]*E[w].an*.005,E[w+1]&&st!==E[w+1].ind&&(P+=E[w].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(v,I,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(E[w].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[w].line]),0,0);break;case 2:c.translate(E[w].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[w].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(o[0]*E[w].an*.005,o[1]*lt*.01,0),v+=E[w].l+e.tr*.001*e.finalSize}u==="html"?gr=c.toCSS():u==="svg"?gr=c.to2dCSS():Rr=[c.props[0],c.props[1],c.props[2],c.props[3],c.props[4],c.props[5],c.props[6],c.props[7],c.props[8],c.props[9],c.props[10],c.props[11],c.props[12],c.props[13],c.props[14],c.props[15]],Mr=_e}T<=w?(U=new Ll(Mr,Lr,si,Nr,gr,Rr),this.renderedLetters.push(U),T+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[w],this.lettersChangedFlag=U.update(Mr,Lr,si,Nr,gr,Rr)||this.lettersChangedFlag)}}},Li.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Li.prototype.mHelper=new le,Li.prototype.defaultPropsArray=[],$([ie],Li);function Be(){}Be.prototype.initElement=function(e,r,o){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,o),this.textProperty=new me(this,e.t,this.dynamicProperties),this.textAnimator=new Li(e.t,this.renderType,this),this.initTransform(e,r,o),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Be.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},Be.prototype.createPathShape=function(e,r){var o,a=r.length,d,c="";for(o=0;o<a;o+=1)r[o].ty==="sh"&&(d=r[o].ks.k,c+=Lh(d,d.i.length,!0,e));return c},Be.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},Be.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},Be.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},Be.prototype.applyTextPropertiesToMatrix=function(e,r,o,a,d){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[o]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[o])/2,0,0);break;default:break}r.translate(a,d,0)},Be.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},Be.prototype.emptyProp=new Ll,Be.prototype.destroy=function(){},Be.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var qv={shapes:[]};function Cr(e,r,o){this.textSpans=[],this.renderType="svg",this.initElement(e,r,o)}$([ei,Ao,_s,_o,ri,Ss,Be],Cr),Cr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=gt("text"))},Cr.prototype.buildTextContents=function(e){for(var r=0,o=e.length,a=[],d="";r<o;)e[r]==="\r"||e[r]===""?(a.push(d),d=""):d+=e[r],r+=1;return a.push(d),a},Cr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var o=e.shapes[0];if(o.it){var a=o.it[o.it.length-1];a.s&&(a.s.k[0]=r,a.s.k[1]=r)}}return e},Cr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,o=this.textProperty.currentData;this.renderedLetters=rt(o?o.l.length:0),o.fc?this.layerElement.setAttribute("fill",this.buildColor(o.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),o.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(o.sc)),this.layerElement.setAttribute("stroke-width",o.sw)),this.layerElement.setAttribute("font-size",o.finalSize);var a=this.globalData.fontManager.getFontByName(o.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var d=o.fWeight,c=o.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",o.t);var u=o.l||[],T=!!this.globalData.fontManager.chars;r=u.length;var v,I=this.mHelper,w="",B=this.data.singleShape,E=0,N=0,P=!0,M=o.tr*.001*o.finalSize;if(B&&!T&&!o.sz){var z=this.textContainer,C="start";switch(o.j){case 1:C="end";break;case 2:C="middle";break;default:C="start";break}z.setAttribute("text-anchor",C),z.setAttribute("letter-spacing",M);var S=this.buildTextContents(o.finalText);for(r=S.length,N=o.ps?o.ps[1]+o.ascent:0,e=0;e<r;e+=1)v=this.textSpans[e].span||gt("tspan"),v.textContent=S[e],v.setAttribute("x",0),v.setAttribute("y",N),v.style.display="inherit",z.appendChild(v),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=v,N+=o.finalLineHeight;this.layerElement.appendChild(z)}else{var y=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!T||!B||e===0){if(v=y>e?this.textSpans[e].span:gt(T?"g":"text"),y<=e){if(v.setAttribute("stroke-linecap","butt"),v.setAttribute("stroke-linejoin","round"),v.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=v,T){var k=gt("g");v.appendChild(k),this.textSpans[e].childSpan=k}this.textSpans[e].span=v,this.layerElement.appendChild(v)}v.style.display="inherit"}if(I.reset(),B&&(u[e].n&&(E=-M,N+=o.yOffset,N+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(o,I,u[e].line,E,N),E+=u[e].l||0,E+=M),T){A=this.globalData.fontManager.getCharData(o.finalText[e],a.fStyle,this.globalData.fontManager.getFontByName(o.f).fFamily);var D;if(A.t===1)D=new Cs(A.data,this.globalData,this);else{var V=qv;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,o.finalSize)),D=new Ht(V,this.globalData,this)}if(this.textSpans[e].glyph){var G=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(G.layerElement),G.destroy()}this.textSpans[e].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[e].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+o.finalSize/100+","+o.finalSize/100+")")}else B&&v.setAttribute("transform","translate("+I.props[12]+","+I.props[13]+")"),v.textContent=u[e].val,v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&v&&v.setAttribute("d",w)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Cr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Cr.prototype.getValue=function(){var e,r=this.textSpans.length,o;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)o=this.textSpans[e].glyph,o&&(o.prepareFrame(this.comp.renderedFrame-this.data.st),o._mdf&&(this._mdf=!0))},Cr.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 e,r,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var d,c,u;for(e=0;e<r;e+=1)a[e].n||(d=o[e],c=this.textSpans[e].span,u=this.textSpans[e].glyph,u&&u.renderFrame(),d._mdf.m&&c.setAttribute("transform",d.m),d._mdf.o&&c.setAttribute("opacity",d.o),d._mdf.sw&&c.setAttribute("stroke-width",d.sw),d._mdf.sc&&c.setAttribute("stroke",d.sc),d._mdf.fc&&c.setAttribute("fill",d.fc))}};function Nl(e,r,o){this.initElement(e,r,o)}$([Is],Nl),Nl.prototype.createContent=function(){var e=gt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function oi(e,r,o){this.initFrame(),this.initBaseData(e,r,o),this.initFrame(),this.initTransform(e,r,o),this.initHierarchy()}oi.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},oi.prototype.renderFrame=function(){},oi.prototype.getBaseElement=function(){return null},oi.prototype.destroy=function(){},oi.prototype.sourceRectAtTime=function(){},oi.prototype.hide=function(){},$([ei,Ao,_o,ri],oi);function Jt(){}$([ce],Jt),Jt.prototype.createNull=function(e){return new oi(e,this.globalData,this)},Jt.prototype.createShape=function(e){return new Ht(e,this.globalData,this)},Jt.prototype.createText=function(e){return new Cr(e,this.globalData,this)},Jt.prototype.createImage=function(e){return new Is(e,this.globalData,this)},Jt.prototype.createSolid=function(e){return new Nl(e,this.globalData,this)},Jt.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var o=gt("clipPath"),a=gt("rect");a.setAttribute("width",e.w),a.setAttribute("height",e.h),a.setAttribute("x",0),a.setAttribute("y",0);var d=Te();o.setAttribute("id",d),o.appendChild(a),this.layerElement.setAttribute("clip-path","url("+x()+"#"+d+")"),r.appendChild(o),this.layers=e.layers,this.elements=rt(e.layers.length)},Jt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Jt.prototype.updateContainerSize=function(){},Jt.prototype.findIndexByInd=function(e){var r=0,o=this.layers.length;for(r=0;r<o;r+=1)if(this.layers[r].ind===e)return r;return-1},Jt.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var o=this.createItem(this.layers[e]);if(r[e]=o,Ia()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(o),o.initExpressions()),this.appendElementInPos(o,e),this.layers[e].tt){var a="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(o);else{var d=r[a],c=d.getMatte(this.layers[e].tt);o.setMatte(c)}}}},Jt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,o=this.elements.length;r<o;){if(this.elements[r]===e){var a="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,d=this.elements[a],c=d.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},Jt.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,o=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=o-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<o;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Jt.prototype.appendElementInPos=function(e,r){var o=e.getBaseElement();if(o){for(var a=0,d;a<r;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(d=this.elements[a].getBaseElement()),a+=1;d?this.layerElement.insertBefore(o,d):this.layerElement.appendChild(o)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function wr(){}$([ei,Ao,_o,ri,Ss],wr),wr.prototype.initElement=function(e,r,o){this.initFrame(),this.initBaseData(e,r,o),this.initTransform(e,r,o),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},wr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var o,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),o=a-1;o>=0;o-=1)(this.completeLayers||this.elements[o])&&(this.elements[o].prepareFrame(this.renderedFrame-this.layers[o].st),this.elements[o]._mdf&&(this._mdf=!0))}},wr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},wr.prototype.setElements=function(e){this.elements=e},wr.prototype.getElements=function(){return this.elements},wr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},wr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Cs(e,r,o){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?rt(this.layers.length):[],this.initElement(e,r,o),this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}$([Jt,wr,_s],Cs),Cs.prototype.createComp=function(e){return new Cs(e,this.globalData,this)};function Rl(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=gt("svg");var o="";if(r&&r.title){var a=gt("title"),d=Te();a.setAttribute("id",d),a.textContent=r.title,this.svgElement.appendChild(a),o+=d}if(r&&r.description){var c=gt("desc"),u=Te();c.setAttribute("id",u),c.textContent=r.description,this.svgElement.appendChild(c),o+=" "+u}o&&this.svgElement.setAttribute("aria-labelledby",o);var T=gt("defs");this.svgElement.appendChild(T);var v=gt("g");this.svgElement.appendChild(v),this.layerElement=v,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:T,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return $([Jt],Rl),Rl.prototype.createComp=function(e){return new Cs(e,this.globalData,this)},ov("svg",Rl),Qr.registerModifier("tm",ir),Qr.registerModifier("pb",gs),Qr.registerModifier("rp",fr),Qr.registerModifier("rd",bs),Qr.registerModifier("zz",Es),Qr.registerModifier("op",Ts),Lt})});var ja=globalThis,Ya=ja.ShadowRoot&&(ja.ShadyCSS===void 0||ja.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Ol=Symbol(),Rh=new WeakMap,ws=class{constructor(i,t,s){if(this._$cssResult$=!0,s!==Ol)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=t}get styleSheet(){let i=this.o,t=this.t;if(Ya&&i===void 0){let s=t!==void 0&&t.length===1;s&&(i=Rh.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),s&&Rh.set(t,i))}return i}toString(){return this.cssText}},Mh=l=>new ws(typeof l=="string"?l:l+"",void 0,Ol),H=(l,...i)=>{let t=l.length===1?l[0]:i.reduce((s,n,h)=>s+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+l[h+1],l[0]);return new ws(t,l,Ol)},Pl=(l,i)=>{if(Ya)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let s=document.createElement("style"),n=ja.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=t.cssText,l.appendChild(s)}},Wa=Ya?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let s of i.cssRules)t+=s.cssText;return Mh(t)})(l):l;var{is:rg,defineProperty:ig,getOwnPropertyDescriptor:og,getOwnPropertyNames:sg,getOwnPropertySymbols:ag,getPrototypeOf:ng}=Object,ci=globalThis,Oh=ci.trustedTypes,lg=Oh?Oh.emptyScript:"",Dl=ci.reactiveElementPolyfillSupport,Ls=(l,i)=>l,Ns={toAttribute(l,i){switch(i){case Boolean:l=l?lg:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,i){let t=l;switch(i){case Boolean:t=l!==null;break;case Number:t=l===null?null:Number(l);break;case Object:case Array:try{t=JSON.parse(l)}catch{t=null}}return t}},qa=(l,i)=>!rg(l,i),Ph={attribute:!0,type:String,converter:Ns,reflect:!1,hasChanged:qa},Dh,Fh;(Dh=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Fh=ci.litPropertyMetadata)!=null||(ci.litPropertyMetadata=new WeakMap);var Or=class extends HTMLElement{static addInitializer(i){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,t=Ph){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(i,t),!t.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(i,s,t);n!==void 0&&ig(this.prototype,i,n)}}static getPropertyDescriptor(i,t,s){var m;let{get:n,set:h}=(m=og(this.prototype,i))!=null?m:{get(){return this[t]},set(x){this[t]=x}};return{get(){return n==null?void 0:n.call(this)},set(x){let R=n==null?void 0:n.call(this);h.call(this,x),this.requestUpdate(i,R,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:Ph}static _$Ei(){if(this.hasOwnProperty(Ls("elementProperties")))return;let i=ng(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Ls("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ls("properties"))){let t=this.properties,s=[...sg(t),...ag(t)];for(let n of s)this.createProperty(n,t[n])}let i=this[Symbol.metadata];if(i!==null){let t=litPropertyMetadata.get(i);if(t!==void 0)for(let[s,n]of t)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[t,s]of this.elementProperties){let n=this._$Eu(t,s);n!==void 0&&this._$Eh.set(n,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let t=[];if(Array.isArray(i)){let s=new Set(i.flat(1/0).reverse());for(let n of s)t.unshift(Wa(n))}else i!==void 0&&t.push(Wa(i));return t}static _$Eu(i,t){let s=t.attribute;return s===!1?void 0:typeof s=="string"?s:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var i;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(i=this.constructor.l)==null||i.forEach(t=>t(this))}addController(i){var t,s;((t=this._$EO)!=null?t:this._$EO=new Set).add(i),this.renderRoot!==void 0&&this.isConnected&&((s=i.hostConnected)==null||s.call(i))}removeController(i){var t;(t=this._$EO)==null||t.delete(i)}_$E_(){let i=new Map,t=this.constructor.elementProperties;for(let s of t.keys())this.hasOwnProperty(s)&&(i.set(s,this[s]),delete this[s]);i.size>0&&(this._$Ep=i)}createRenderRoot(){var t;let i=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Pl(i,this.constructor.elementStyles),i}connectedCallback(){var i,t;(i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(s=>{var n;return(n=s.hostConnected)==null?void 0:n.call(s)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$EO)==null||i.forEach(t=>{var s;return(s=t.hostDisconnected)==null?void 0:s.call(t)})}attributeChangedCallback(i,t,s){this._$AK(i,s)}_$EC(i,t){var h;let s=this.constructor.elementProperties.get(i),n=this.constructor._$Eu(i,s);if(n!==void 0&&s.reflect===!0){let m=(((h=s.converter)==null?void 0:h.toAttribute)!==void 0?s.converter:Ns).toAttribute(t,s.type);this._$Em=i,m==null?this.removeAttribute(n):this.setAttribute(n,m),this._$Em=null}}_$AK(i,t){var h;let s=this.constructor,n=s._$Eh.get(i);if(n!==void 0&&this._$Em!==n){let m=s.getPropertyOptions(n),x=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Ns;this._$Em=n,this[n]=x.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(i,t,s){var n;if(i!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(i)),!((n=s.hasChanged)!=null?n:qa)(this[i],t))return;this.P(i,t,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(i,t,s){var n;this._$AL.has(i)||this._$AL.set(i,t),s.reflect===!0&&this._$Em!==i&&((n=this._$Ej)!=null?n:this._$Ej=new Set).add(i)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,x]of this._$Ep)this[m]=x;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,x]of h)x.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],x)}let i=!1,t=this._$AL;try{i=this.shouldUpdate(t),i?(this.willUpdate(t),(n=this._$EO)==null||n.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(t)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(t)}willUpdate(i){}_$AE(i){var t;(t=this._$EO)==null||t.forEach(s=>{var n;return(n=s.hostUpdated)==null?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(i){}firstUpdated(i){}},$h;Or.elementStyles=[],Or.shadowRootOptions={mode:"open"},Or[Ls("elementProperties")]=new Map,Or[Ls("finalized")]=new Map,Dl==null||Dl({ReactiveElement:Or}),(($h=ci.reactiveElementVersions)!=null?$h:ci.reactiveElementVersions=[]).push("2.0.4");var Ms=globalThis,Ka=Ms.trustedTypes,zh=Ka?Ka.createPolicy("lit-html",{createHTML:l=>l}):void 0,zl="$lit$",Pr=`lit$${Math.random().toFixed(9).slice(2)}$`,Vl="?"+Pr,cg=`<${Vl}>`,Oi=document,Os=()=>Oi.createComment(""),Ps=l=>l===null||typeof l!="object"&&typeof l!="function",Bl=Array.isArray,Yh=l=>Bl(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",Fl=`[
|
3
|
+
\f\r]`,Rs=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vh=/-->/g,Bh=/>/g,Ri=RegExp(`>|${Fl}(?:([^\\s"'>=/]+)(${Fl}*=${Fl}*(?:[^
|
4
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),Uh=/'/g,Gh=/"/g,Wh=/^(?:script|style|textarea|title)$/i,Ul=l=>(i,...t)=>({_$litType$:l,strings:i,values:t}),L=Ul(1),qE=Ul(2),KE=Ul(3),Ie=Symbol.for("lit-noChange"),W=Symbol.for("lit-nothing"),Hh=new WeakMap,Mi=Oi.createTreeWalker(Oi,129);function qh(l,i){if(!Bl(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return zh!==void 0?zh.createHTML(i):i}var Kh=(l,i)=>{let t=l.length-1,s=[],n,h=i===2?"<svg>":i===3?"<math>":"",m=Rs;for(let x=0;x<t;x++){let R=l[x],$,Y,K=-1,at=0;for(;at<R.length&&(m.lastIndex=at,Y=m.exec(R),Y!==null);)at=m.lastIndex,m===Rs?Y[1]==="!--"?m=Vh:Y[1]!==void 0?m=Bh:Y[2]!==void 0?(Wh.test(Y[2])&&(n=RegExp("</"+Y[2],"g")),m=Ri):Y[3]!==void 0&&(m=Ri):m===Ri?Y[0]===">"?(m=n!=null?n:Rs,K=-1):Y[1]===void 0?K=-2:(K=m.lastIndex-Y[2].length,$=Y[1],m=Y[3]===void 0?Ri:Y[3]==='"'?Gh:Uh):m===Gh||m===Uh?m=Ri:m===Vh||m===Bh?m=Rs:(m=Ri,n=void 0);let J=m===Ri&&l[x+1].startsWith("/>")?" ":"";h+=m===Rs?R+cg:K>=0?(s.push($),R.slice(0,K)+zl+R.slice(K)+Pr+J):R+Pr+(K===-2?x:J)}return[qh(l,h+(l[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),s]},Ds=class l{constructor({strings:i,_$litType$:t},s){let n;this.parts=[];let h=0,m=0,x=i.length-1,R=this.parts,[$,Y]=Kh(i,t);if(this.el=l.createElement($,s),Mi.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(n=Mi.nextNode())!==null&&R.length<x;){if(n.nodeType===1){if(n.hasAttributes())for(let K of n.getAttributeNames())if(K.endsWith(zl)){let at=Y[m++],J=n.getAttribute(K).split(Pr),rt=/([.?@])?(.*)/.exec(at);R.push({type:1,index:h,name:rt[2],strings:J,ctor:rt[1]==="."?Za:rt[1]==="?"?Ja:rt[1]==="@"?Qa:Di}),n.removeAttribute(K)}else K.startsWith(Pr)&&(R.push({type:6,index:h}),n.removeAttribute(K));if(Wh.test(n.tagName)){let K=n.textContent.split(Pr),at=K.length-1;if(at>0){n.textContent=Ka?Ka.emptyScript:"";for(let J=0;J<at;J++)n.append(K[J],Os()),Mi.nextNode(),R.push({type:2,index:++h});n.append(K[at],Os())}}}else if(n.nodeType===8)if(n.data===Vl)R.push({type:2,index:h});else{let K=-1;for(;(K=n.data.indexOf(Pr,K+1))!==-1;)R.push({type:7,index:h}),K+=Pr.length-1}h++}}static createElement(i,t){let s=Oi.createElement("template");return s.innerHTML=i,s}};function Pi(l,i,t=l,s){var m,x,R;if(i===Ie)return i;let n=s!==void 0?(m=t.o)==null?void 0:m[s]:t.l,h=Ps(i)?void 0:i._$litDirective$;return(n==null?void 0:n.constructor)!==h&&((x=n==null?void 0:n._$AO)==null||x.call(n,!1),h===void 0?n=void 0:(n=new h(l),n._$AT(l,t,s)),s!==void 0?((R=t.o)!=null?R:t.o=[])[s]=n:t.l=n),n!==void 0&&(i=Pi(l,n._$AS(l,i.values),n,s)),i}var Xa=class{constructor(i,t){this._$AV=[],this._$AN=void 0,this._$AD=i,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(i){var $;let{el:{content:t},parts:s}=this._$AD,n=(($=i==null?void 0:i.creationScope)!=null?$:Oi).importNode(t,!0);Mi.currentNode=n;let h=Mi.nextNode(),m=0,x=0,R=s[0];for(;R!==void 0;){if(m===R.index){let Y;R.type===2?Y=new Io(h,h.nextSibling,this,i):R.type===1?Y=new R.ctor(h,R.name,R.strings,this,i):R.type===6&&(Y=new tn(h,this,i)),this._$AV.push(Y),R=s[++x]}m!==(R==null?void 0:R.index)&&(h=Mi.nextNode(),m++)}return Mi.currentNode=Oi,n}p(i){let t=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(i,s,t),t+=s.strings.length-2):s._$AI(i[t])),t++}},Io=class l{get _$AU(){var i,t;return(t=(i=this._$AM)==null?void 0:i._$AU)!=null?t:this.v}constructor(i,t,s,n){var h;this.type=2,this._$AH=W,this._$AN=void 0,this._$AA=i,this._$AB=t,this._$AM=s,this.options=n,this.v=(h=n==null?void 0:n.isConnected)!=null?h:!0}get parentNode(){let i=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(i==null?void 0:i.nodeType)===11&&(i=t.parentNode),i}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(i,t=this){i=Pi(this,i,t),Ps(i)?i===W||i==null||i===""?(this._$AH!==W&&this._$AR(),this._$AH=W):i!==this._$AH&&i!==Ie&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Yh(i)?this.k(i):this._(i)}O(i){return this._$AA.parentNode.insertBefore(i,this._$AB)}T(i){this._$AH!==i&&(this._$AR(),this._$AH=this.O(i))}_(i){this._$AH!==W&&Ps(this._$AH)?this._$AA.nextSibling.data=i:this.T(Oi.createTextNode(i)),this._$AH=i}$(i){var h;let{values:t,_$litType$:s}=i,n=typeof s=="number"?this._$AC(i):(s.el===void 0&&(s.el=Ds.createElement(qh(s.h,s.h[0]),this.options)),s);if(((h=this._$AH)==null?void 0:h._$AD)===n)this._$AH.p(t);else{let m=new Xa(n,this),x=m.u(this.options);m.p(t),this.T(x),this._$AH=m}}_$AC(i){let t=Hh.get(i.strings);return t===void 0&&Hh.set(i.strings,t=new Ds(i)),t}k(i){Bl(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,s,n=0;for(let h of i)n===t.length?t.push(s=new l(this.O(Os()),this.O(Os()),this,this.options)):s=t[n],s._$AI(h),n++;n<t.length&&(this._$AR(s&&s._$AB.nextSibling,n),t.length=n)}_$AR(i=this._$AA.nextSibling,t){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,t);i&&i!==this._$AB;){let n=i.nextSibling;i.remove(),i=n}}setConnected(i){var t;this._$AM===void 0&&(this.v=i,(t=this._$AP)==null||t.call(this,i))}},Di=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(i,t,s,n,h){this.type=1,this._$AH=W,this._$AN=void 0,this.element=i,this.name=t,this._$AM=n,this.options=h,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=W}_$AI(i,t=this,s,n){let h=this.strings,m=!1;if(h===void 0)i=Pi(this,i,t,0),m=!Ps(i)||i!==this._$AH&&i!==Ie,m&&(this._$AH=i);else{let x=i,R,$;for(i=h[0],R=0;R<h.length-1;R++)$=Pi(this,x[s+R],t,R),$===Ie&&($=this._$AH[R]),m||(m=!Ps($)||$!==this._$AH[R]),$===W?i=W:i!==W&&(i+=($!=null?$:"")+h[R+1]),this._$AH[R]=$}m&&!n&&this.j(i)}j(i){i===W?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,i!=null?i:"")}},Za=class extends Di{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===W?void 0:i}},Ja=class extends Di{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==W)}},Qa=class extends Di{constructor(i,t,s,n,h){super(i,t,s,n,h),this.type=5}_$AI(i,t=this){var m;if((i=(m=Pi(this,i,t,0))!=null?m:W)===Ie)return;let s=this._$AH,n=i===W&&s!==W||i.capture!==s.capture||i.once!==s.once||i.passive!==s.passive,h=i!==W&&(s===W||n);n&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,i),this._$AH=i}handleEvent(i){var t,s;typeof this._$AH=="function"?this._$AH.call((s=(t=this.options)==null?void 0:t.host)!=null?s:this.element,i):this._$AH.handleEvent(i)}},tn=class{constructor(i,t,s){this.element=i,this.type=6,this._$AN=void 0,this._$AM=t,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(i){Pi(this,i)}},Xh={M:zl,P:Pr,A:Vl,C:1,L:Kh,R:Xa,D:Yh,V:Pi,I:Io,H:Di,N:Ja,U:Qa,B:Za,F:tn},$l=Ms.litHtmlPolyfillSupport,jh;$l==null||$l(Ds,Io),((jh=Ms.litHtmlVersions)!=null?jh:Ms.litHtmlVersions=[]).push("3.2.0");var Zh=(l,i,t)=>{var h,m;let s=(h=t==null?void 0:t.renderBefore)!=null?h:i,n=s._$litPart$;if(n===void 0){let x=(m=t==null?void 0:t.renderBefore)!=null?m:null;s._$litPart$=n=new Io(i.insertBefore(Os(),x),x,void 0,t!=null?t:{})}return n._$AI(l),n};var di=class extends Or{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,s;let i=super.createRenderRoot();return(s=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=i.firstChild),i}update(i){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this.o=Zh(t,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this.o)==null||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this.o)==null||i.setConnected(!1)}render(){return Ie}},Jh;di._$litElement$=!0,di.finalized=!0,(Jh=globalThis.litElementHydrateSupport)==null||Jh.call(globalThis,{LitElement:di});var Gl=globalThis.litElementPolyfillSupport;Gl==null||Gl({LitElement:di});var Qh;((Qh=globalThis.litElementVersions)!=null?Qh:globalThis.litElementVersions=[]).push("4.1.0");var dg={attribute:!0,type:String,converter:Ns,reflect:!1,hasChanged:qa},hg=(l=dg,i,t)=>{let{kind:s,metadata:n}=t,h=globalThis.litPropertyMetadata.get(n);if(h===void 0&&globalThis.litPropertyMetadata.set(n,h=new Map),h.set(t.name,l),s==="accessor"){let{name:m}=t;return{set(x){let R=i.get.call(this);i.set.call(this,x),this.requestUpdate(m,R,l)},init(x){return x!==void 0&&this.P(m,void 0,l),x}}}if(s==="setter"){let{name:m}=t;return function(x){let R=this[m];i.call(this,x),this.requestUpdate(m,R,l)}}throw Error("Unsupported decorator location: "+s)};function g(l){return(i,t)=>typeof t=="object"?hg(l,i,t):((s,n,h)=>{let m=n.hasOwnProperty(h);return n.constructor.createProperty(h,m?{...s,wrapped:!0}:s),m?Object.getOwnPropertyDescriptor(n,h):void 0})(l,i,t)}function It(l){return g({...l,state:!0,attribute:!1})}var Dr=(l,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(l,i,t),t);function Fr(l,i){return(t,s,n)=>{let h=m=>{var x,R;return(R=(x=m.renderRoot)==null?void 0:x.querySelector(l))!=null?R:null};if(i){let{get:m,set:x}=typeof s=="object"?t:n!=null?n:(()=>{let R=Symbol();return{get(){return this[R]},set($){this[R]=$}}})();return Dr(t,s,{get(){let R=m.call(this);return R===void 0&&(R=h(this),(R!==null||this.hasUpdated)&&x.call(this,R)),R}})}return Dr(t,s,{get(){return h(this)}})}}function Ft(l){return(i,t)=>{let{slot:s,selector:n}=l!=null?l:{},h="slot"+(s?`[name=${s}]`:":not([name])");return Dr(i,t,{get(){var R,$;let m=(R=this.renderRoot)==null?void 0:R.querySelector(h),x=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return n===void 0?x:x.filter(Y=>Y.matches(n))}})}}function en(l){return(i,t)=>{let{slot:s}=l!=null?l:{},n="slot"+(s?`[name=${s}]`:":not([name])");return Dr(i,t,{get(){var m,x;let h=(m=this.renderRoot)==null?void 0:m.querySelector(n);return(x=h==null?void 0:h.assignedNodes(l))!=null?x:[]}})}}var tp=H`
|
5
5
|
:host {
|
6
6
|
box-sizing: border-box;
|
7
7
|
}
|
@@ -11,11 +11,11 @@
|
|
11
11
|
:host *::after {
|
12
12
|
box-sizing: inherit;
|
13
13
|
}
|
14
|
-
`;var
|
14
|
+
`;var rn=class extends di{static register(i){customElements.get(i)||customElements.define(i,this)}};rn.styles=[tp];var ep=rn;var q=ep;var hi=class extends Event{constructor(i,t,s){super("context-request",{bubbles:!0,composed:!0}),this.context=i,this.callback=t,this.subscribe=s!=null?s:!1}};var ko=class{constructor(i,t,s,n){var h;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,x)=>{this.unsubscribe&&(this.unsubscribe!==x&&(this.provided=!1,this.unsubscribe()),this.subscribe||this.unsubscribe()),this.value=m,this.host.requestUpdate(),this.provided&&!this.subscribe||(this.provided=!0,this.callback&&this.callback(m,x)),this.unsubscribe=x},this.host=i,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(h=m.subscribe)!=null?h:!1}else this.context=t,this.callback=s,this.subscribe=n!=null?n:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new hi(this.context,this.t,this.subscribe))}};var on=class{get value(){return this.o}set value(i){this.setValue(i)}setValue(i,t=!1){let s=t||!Object.is(i,this.o);this.o=i,s&&this.updateObservers()}constructor(i){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:s}]of this.subscriptions)t(this.o,s)},i!==void 0&&(this.value=i)}addCallback(i,t,s){if(!s)return void i(this.value);this.subscriptions.has(i)||this.subscriptions.set(i,{disposer:()=>{this.subscriptions.delete(i)},consumerHost:t});let{disposer:n}=this.subscriptions.get(i);i(this.value,n)}clearCallbacks(){this.subscriptions.clear()}};var Hl=class extends Event{constructor(i){super("context-provider",{bubbles:!0,composed:!0}),this.context=i}},Co=class extends on{constructor(i,t,s){var n,h;super(t.context!==void 0?t.initialValue:s),this.onContextRequest=m=>{let x=m.composedPath()[0];m.context===this.context&&x!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,x,m.subscribe))},this.onProviderRequest=m=>{let x=m.composedPath()[0];if(m.context!==this.context||x===this.host)return;let R=new Set;for(let[$,{consumerHost:Y}]of this.subscriptions)R.has($)||(R.add($),Y.dispatchEvent(new hi(this.context,$,!0)));m.stopPropagation()},this.host=i,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(h=(n=this.host).addController)==null||h.call(n,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Hl(this.context))}};var pg=H`
|
15
15
|
:host {
|
16
16
|
display: contents;
|
17
17
|
}
|
18
|
-
`,
|
18
|
+
`,rp=pg;var an=class extends q{constructor({context:i,initialValue:t}){super(),this.context=new Co(this,{context:i,initialValue:t})}render(){return this.updateContext(),L`<slot></slot>`}};an.styles=[...q.styles,rp];var ip=an;var br=ip;var Q={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SPACE:" ",TAB:"Tab"};var op=l=>{class i extends l{constructor(){super(...arguments);this.autofocus=!1}firstUpdated(n){super.firstUpdated(n),this.autofocus&&this.focus()}}return f([g({type:Boolean,reflect:!0})],i.prototype,"autofocus",2),i};var $t=l=>{class i extends l{}return f([g({reflect:!0,type:Boolean})],i.prototype,"disabled",2),i};var Ue=l=>{class i extends l{constructor(){super(...arguments);this.tabIndex=0}}return f([g({reflect:!0,type:Number})],i.prototype,"tabIndex",2),i};var mg={PREFIX:"mdc",SEPARATOR:"-"},ug={NAMESPACE:mg},jl=ug;var fg=l=>[jl.NAMESPACE.PREFIX,l].join(jl.NAMESPACE.SEPARATOR),j={constructTagName:fg};var et={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var G0=j.constructTagName("buttonsimple"),Fi={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},wo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Fs={SIZE:Fi[32],TYPE:wo.BUTTON,ROLE:et.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Et=H`
|
19
19
|
:host {
|
20
20
|
align-items: center;
|
21
21
|
display: flex;
|
@@ -23,7 +23,7 @@
|
|
23
23
|
justify-content: center;
|
24
24
|
width: fit-content;
|
25
25
|
}
|
26
|
-
`,
|
26
|
+
`,nn=H`
|
27
27
|
:host {
|
28
28
|
--mdc-focus-ring-inner-color: var(--mds-color-theme-focus-default-0);
|
29
29
|
--mdc-focus-ring-middle-color: var(--mds-color-theme-focus-default-1);
|
@@ -39,7 +39,7 @@
|
|
39
39
|
`,At=(l=!1)=>{let i=H`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
|
40
40
|
0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
|
41
41
|
0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color)
|
42
|
-
`;return l?[
|
42
|
+
`;return l?[nn,H`
|
43
43
|
.mdc-focus-ring:focus-visible {
|
44
44
|
outline: none;
|
45
45
|
}
|
@@ -63,7 +63,7 @@
|
|
63
63
|
outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
|
64
64
|
}
|
65
65
|
}
|
66
|
-
`]:[
|
66
|
+
`]:[nn,H`
|
67
67
|
:host([disabled]:focus) {
|
68
68
|
box-shadow: none;
|
69
69
|
}
|
@@ -78,7 +78,7 @@
|
|
78
78
|
outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
|
79
79
|
}
|
80
80
|
}
|
81
|
-
`]};var
|
81
|
+
`]};var vg=[Et,H`
|
82
82
|
:host {
|
83
83
|
border: 0.0625rem solid transparent;
|
84
84
|
cursor: pointer;
|
@@ -136,7 +136,7 @@
|
|
136
136
|
:host([size='20']) {
|
137
137
|
height: var(--mdc-button-height-size-20);
|
138
138
|
}
|
139
|
-
`,...At()],
|
139
|
+
`,...At()],sp=vg;var ar=class extends op(Ue($t(q))){constructor(){super();this.size=Fs.SIZE;this.role=Fs.ROLE;this.type=Fs.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this,this.disabled),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||Fs.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===wo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===wo.RESET&&this.form&&this.form.reset()}setActive(t,s){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{s===!0?t.setAttribute(h.trim(),"true"):s===!1?t.setAttribute(h.trim(),"false"):t.removeAttribute(h.trim())})}setSoftDisabled(t,s){s?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,s){s?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Q.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Q.SPACE&&this.triggerClickEvent())}render(){return L` <slot></slot> `}};ar.formAssociated=!0,ar.styles=[...q.styles,...sp],f([g({type:Boolean,reflect:!0})],ar.prototype,"active",2),f([g({type:Boolean,attribute:"soft-disabled",reflect:!0})],ar.prototype,"softDisabled",2),f([g({type:Number,reflect:!0})],ar.prototype,"size",2),f([g({type:String,reflect:!0})],ar.prototype,"role",2),f([g({type:String,reflect:!0})],ar.prototype,"ariaStateKey",2),f([g({reflect:!0})],ar.prototype,"type",2);var de=ar;var gg=H`
|
140
140
|
:host {
|
141
141
|
height: 1.5rem;
|
142
142
|
gap: 0.25rem;
|
@@ -238,12 +238,12 @@
|
|
238
238
|
:host([variant='informational']:active) {
|
239
239
|
--mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
|
240
240
|
}
|
241
|
-
`,
|
242
|
-
<mdc-icon part="icon" name="${
|
243
|
-
${this.label?L`<mdc-text part="label" type="${
|
241
|
+
`,ap=[Et,gg,...At()];var $s=j.constructTagName("text"),ot={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},vt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},Me={TYPE:ot.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:vt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var np=j.constructTagName("alertchip"),$i={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},Lo={VARIANT:$i.NEUTRAL,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:vt.SPAN,SIZE:Fi[24],ROLE:"button"};var lp=l=>({[$i.ERROR]:"error-legacy-badge-filled",[$i.WARNING]:"warning-badge-filled",[$i.SUCCESS]:"check-circle-badge-filled",[$i.INFORMATIONAL]:"info-badge-filled",[$i.NEUTRAL]:"dnd-presence-badge-filled"})[l];var No=class extends de{constructor(){super(...arguments);this.variant=Lo.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=Lo.SIZE,this.role=Lo.ROLE}render(){return L`
|
242
|
+
<mdc-icon part="icon" name="${lp(this.variant)}" length-unit="rem" size="1"></mdc-icon>
|
243
|
+
${this.label?L`<mdc-text part="label" type="${Lo.TEXT_TYPE}" tagname="${Lo.TAG_NAME}"
|
244
244
|
>${this.label}</mdc-text
|
245
245
|
>`:W}
|
246
|
-
`}};
|
246
|
+
`}};No.styles=[...q.styles,...ap],f([g({type:String})],No.prototype,"variant",2),f([g({type:String})],No.prototype,"label",2);var Yl=No;var cp=H`
|
247
247
|
:host::part(text) {
|
248
248
|
font-size: unset;
|
249
249
|
font-weight: unset;
|
@@ -486,14 +486,14 @@
|
|
486
486
|
text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
|
487
487
|
text-transform: var(--mds-font-apps-body-small-regular-text-case);
|
488
488
|
}
|
489
|
-
`;var
|
489
|
+
`;var bg=[H`
|
490
490
|
:host {
|
491
491
|
--mdc-text-font-family: var(--mdc-themeprovider-font-family);
|
492
492
|
|
493
493
|
display: block;
|
494
494
|
font-family: var(--mdc-text-font-family);
|
495
495
|
}
|
496
|
-
`,
|
496
|
+
`,cp],dp=bg;var Ro=class extends q{constructor(){super(...arguments);this.type=Me.TYPE;this.tagname=Me.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case vt.H1:return L`<h1 part=${Me.CSS_PART_TEXT}><slot></slot></h1>`;case vt.H2:return L`<h2 part=${Me.CSS_PART_TEXT}><slot></slot></h2>`;case vt.H3:return L`<h3 part=${Me.CSS_PART_TEXT}><slot></slot></h3>`;case vt.H4:return L`<h4 part=${Me.CSS_PART_TEXT}><slot></slot></h4>`;case vt.H5:return L`<h5 part=${Me.CSS_PART_TEXT}><slot></slot></h5>`;case vt.H6:return L`<h6 part=${Me.CSS_PART_TEXT}><slot></slot></h6>`;case vt.DIV:return L`<div part=${Me.CSS_PART_TEXT}><slot></slot></div>`;case vt.SPAN:return L`<span part=${Me.CSS_PART_TEXT}><slot></slot></span>`;case vt.SMALL:return L`<small part=${Me.CSS_PART_TEXT}><slot></slot></small>`;case vt.P:default:return L`<p part=${Me.CSS_PART_TEXT}><slot></slot></p>`}}};Ro.styles=[...q.styles,...dp],f([g({attribute:"type",reflect:!0,type:String})],Ro.prototype,"type",2),f([g({attribute:"tagname",reflect:!0,type:String})],Ro.prototype,"tagname",2);var Wl=Ro;Wl.register($s);var yg=Wl;var Eg=l=>{let{host:i,context:t,subscribe:s}=l;return new ko(i,{context:t,subscribe:s!=null?s:!0})},Tg={consume:Eg},yr=Tg;var ln=j.constructTagName("iconprovider"),hp=["svg"],pp=["em","rem","px","%"],xg={px:16,em:1,rem:1,"%":100},$r={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:xg.em,SHOULD_CACHE:!1,ICON_SET:"momentum-icons"};var cn=class{};cn.context=ln;var dn=cn;var Er=class extends br{constructor(){super({context:dn.context,initialValue:new dn});this.iconSet=$r.ICON_SET;this.fileExtension=$r.FILE_EXTENSION;this.lengthUnit=$r.LENGTH_UNIT;this.size=$r.SIZE}static get Context(){return dn.context}updateValuesInContext(){this.fileExtension&&hp.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=$r.FILE_EXTENSION,this.context.value.fileExtension=$r.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&pp.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=$r.LENGTH_UNIT,this.context.value.lengthUnit=$r.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};f([g({type:String,attribute:"icon-set",reflect:!0})],Er.prototype,"iconSet",2),f([g({type:String})],Er.prototype,"url",2),f([g({type:String,attribute:"file-extension",reflect:!0})],Er.prototype,"fileExtension",2),f([g({type:String,attribute:"length-unit",reflect:!0})],Er.prototype,"lengthUnit",2),f([g({type:Number,reflect:!0})],Er.prototype,"size",2),f([g({type:String,attribute:"cache-strategy"})],Er.prototype,"cacheStrategy",2),f([g({type:String,attribute:"cache-name"})],Er.prototype,"cacheName",2);var zs=Er;var Ag=[Et,H`
|
497
497
|
:host {
|
498
498
|
--mdc-icon-fill-color: currentColor;
|
499
499
|
--mdc-icon-size: var(--computed-icon-size);
|
@@ -508,11 +508,11 @@
|
|
508
508
|
width: 100%;
|
509
509
|
fill: var(--mdc-icon-fill-color);
|
510
510
|
}
|
511
|
-
`,...At()],sp=ug;var $s={},ap=async l=>($s[l]===void 0&&($s[l]=new Map),{async set(i,e){$s[l].set(i.url,await e.text())},async get(i){return $s[l].get(i.url)},async delete(i){$s[l].delete(i.url)}}),np=async l=>{let i=await caches.open(l);return{set:async(e,s)=>{await i.put(e,s)},get:async e=>{let s=await i.match(e);return s==null?void 0:s.text()},delete:async e=>{await i.delete(e)}}},lp=async(l,i)=>i==="in-memory-cache"?ap(l):np(l);var cp=async l=>fetch(l).then(i=>{if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i}),dp=async({url:l,name:i,fileExtension:e,cacheStrategy:s,cacheName:n,renewSignal:h})=>{let m=h(),x=new Request(`${l}/${i}.${e}`,{signal:m});return!n||!s||!["in-memory-cache","web-cache-api"].includes(s)?cp(x).then(R=>R.text()):lp(n,s).then(R=>R.get(x).then($=>$||cp(x.clone()).then(Y=>{var K;return Y.status<400&&Y.headers.has("content-type")?(K=R.set)==null?void 0:K.call(R,x,Y.clone()).then(()=>Y.text()):Y.text()})).catch($=>{throw new Error(`Error in caching the Icon ${i}, ${$}`)}))};var hp=j.constructTagName("icon"),Ul={NAME:void 0,SIZE:1};var Oe=class extends q{constructor(){super();this.name=Ul.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=No.consume({host:this,context:Fs.Context});this.abortController=new AbortController}prepareIconElement(e){let s=new DOMParser().parseFromString(e,"text/html").body.children[0];return this.name&&s.setAttribute("data-name",this.name),s.setAttribute("part","icon"),s.setAttribute("aria-hidden","true"),s}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:s,url:n,cacheName:h,iconSet:m,cacheStrategy:x}=this.iconProviderContext.value;if(m==="custom-icons"&&n&&s&&this.name){let R=()=>(this.abortController.abort(),this.abortController=new AbortController,this.abortController.signal);return dp({url:n,name:this.name,fileExtension:s,cacheName:h,cacheStrategy:x,renewSignal:R}).then($=>{let Y=this.prepareIconElement($);this.handleIconLoadedSuccess(Y)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(R=>{this.handleIconLoadedSuccess(R.default())}).catch(R=>{this.handleIconLoadedFailure(R)})}let e=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(e),Promise.reject(e)}handleIconLoadedSuccess(e){this.iconData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleIconLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",s)}}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:Ul.SIZE}updated(e){var s,n,h,m;super.updated(e),e.has("name")&&this.getIconData().catch(x=>{x.name!=="AbortError"&&this.onerror&&this.onerror(x)}),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(n=this.iconProviderContext.value)==null?void 0:n.lengthUnit,this.updateSize()),this.sizeFromContext!==((h=this.iconProviderContext.value)==null?void 0:h.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}render(){return L` ${this.iconData} `}};Oe.styles=[...q.styles,...sp],f([It()],Oe.prototype,"iconData",2),f([It()],Oe.prototype,"lengthUnitFromContext",2),f([It()],Oe.prototype,"sizeFromContext",2),f([g({type:String,reflect:!0})],Oe.prototype,"name",2),f([g({type:Number})],Oe.prototype,"size",2),f([g({type:String,attribute:"length-unit"})],Oe.prototype,"lengthUnit",2),f([g({type:String,attribute:"aria-label"})],Oe.prototype,"ariaLabel",2),f([g({type:String,attribute:"aria-labelledby"})],Oe.prototype,"ariaLabelledBy",2),f([It()],Oe.prototype,"abortController",2);var Gl=Oe;Gl.register(hp);var fg=Gl;Vl.register(Qh);var vg=Vl;var{I:_A}=Uh;var nn=l=>l.strings===void 0;var gg={},pp=(l,i=gg)=>l._$AH=i;var nr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$i=l=>(...i)=>({_$litDirective$:l,values:i}),hi=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,e,s){this.t=i,this._$AM=e,this.i=s}_$AS(i,e){return this.update(i,e)}update(i,e){return this.render(...e)}};var zs=(l,i)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let n of e)(s=n._$AO)==null||s.call(n,i,!1),zs(n,i);return!0},ln=l=>{let i,e;do{if((i=l._$AM)===void 0)break;e=i._$AN,e.delete(l),l=i}while((e==null?void 0:e.size)===0)},mp=l=>{for(let i;i=l._$AM;l=i){let e=i._$AN;if(e===void 0)i._$AN=e=new Set;else if(e.has(l))break;e.add(l),Eg(i)}};function bg(l){this._$AN!==void 0?(ln(this),this._$AM=l,mp(this)):this._$AM=l}function yg(l,i=!1,e=0){let s=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(i)if(Array.isArray(s))for(let h=e;h<s.length;h++)zs(s[h],!1),ln(s[h]);else s!=null&&(zs(s,!1),ln(s));else zs(this,l)}var Eg=l=>{var i,e;l.type==nr.CHILD&&((i=l._$AP)!=null||(l._$AP=yg),(e=l._$AQ)!=null||(l._$AQ=bg))},cn=class extends hi{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,e,s){super._$AT(i,e,s),mp(this),this.isConnected=i._$AU}_$AO(i,e=!0){var s,n;i!==this.isConnected&&(this.isConnected=i,i?(s=this.reconnected)==null||s.call(this):(n=this.disconnected)==null||n.call(this)),e&&(zs(this,i),ln(this))}setValue(i){if(nn(this.t))this.t._$AI(i,this);else{let e=[...this.t._$AH];e[this.i]=i,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var dn=()=>new jl,jl=class{},Hl=new WeakMap,hn=$i(class extends cn{render(l){return W}update(l,[i]){var s;let e=i!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=i,this.ht=(s=l.options)==null?void 0:s.host,this.rt(this.ct=l.element)),W}rt(l){var i;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let e=(i=this.ht)!=null?i:globalThis,s=Hl.get(e);s===void 0&&(s=new WeakMap,Hl.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,i,e;return typeof this.Y=="function"?(i=Hl.get((l=this.ht)!=null?l:globalThis))==null?void 0:i.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var gp=Yv(up());var Yl={audio_video:"./lottie/audio_video.json",calling:"./lottie/calling.json",alert_32px_loop:"./lottie/cisco-ai-assistant/alert_32px_loop.json",hello_32px:"./lottie/cisco-ai-assistant/hello_32px.json",processing_32px_end:"./lottie/cisco-ai-assistant/processing_32px_end.json",processing_32px_loop:"./lottie/cisco-ai-assistant/processing_32px_loop.json",processing_32px_start:"./lottie/cisco-ai-assistant/processing_32px_start.json",responding_32px_end:"./lottie/cisco-ai-assistant/responding_32px_end.json",responding_32px_loop:"./lottie/cisco-ai-assistant/responding_32px_loop.json",responding_32px_start:"./lottie/cisco-ai-assistant/responding_32px_start.json",contacts:"./lottie/contacts.json",discoverability_badge:"./lottie/discoverability_badge.json",heart_opacity_test:"./lottie/heart_opacity_test.json",meeting:"./lottie/meeting.json",personal_insight:"./lottie/personal_insight.json",celebrate:"./lottie/reactions/celebrate.json",clap_dark:"./lottie/reactions/clap_dark.json",clap_light:"./lottie/reactions/clap_light.json",clap_medium_dark:"./lottie/reactions/clap_medium_dark.json",clap_medium_light:"./lottie/reactions/clap_medium_light.json",clap_medium:"./lottie/reactions/clap_medium.json",clap_yellow:"./lottie/reactions/clap_yellow.json",fire:"./lottie/reactions/fire.json",haha:"./lottie/reactions/haha.json",heart:"./lottie/reactions/heart.json",on_video_celebrate:"./lottie/reactions/on_video/on_video_celebrate.json",on_video_clap_dark:"./lottie/reactions/on_video/on_video_clap_dark.json",on_video_clap_light:"./lottie/reactions/on_video/on_video_clap_light.json",on_video_clap_medium_dark:"./lottie/reactions/on_video/on_video_clap_medium_dark.json",on_video_clap_medium_light:"./lottie/reactions/on_video/on_video_clap_medium_light.json",on_video_clap_medium:"./lottie/reactions/on_video/on_video_clap_medium.json",on_video_clap_yellow:"./lottie/reactions/on_video/on_video_clap_yellow.json",on_video_fire:"./lottie/reactions/on_video/on_video_fire.json",on_video_haha:"./lottie/reactions/on_video/on_video_haha.json",on_video_heart:"./lottie/reactions/on_video/on_video_heart.json",on_video_prayer_dark:"./lottie/reactions/on_video/on_video_prayer_dark.json",on_video_prayer_light:"./lottie/reactions/on_video/on_video_prayer_light.json",on_video_prayer_medium_dark:"./lottie/reactions/on_video/on_video_prayer_medium_dark.json",on_video_prayer_medium_light:"./lottie/reactions/on_video/on_video_prayer_medium_light.json",on_video_prayer_medium:"./lottie/reactions/on_video/on_video_prayer_medium.json",on_video_prayer_yellow:"./lottie/reactions/on_video/on_video_prayer_yellow.json",on_video_raise_hand_dark:"./lottie/reactions/on_video/on_video_raise_hand_dark.json",on_video_raise_hand_light:"./lottie/reactions/on_video/on_video_raise_hand_light.json",on_video_raise_hand_medium_dark:"./lottie/reactions/on_video/on_video_raise_hand_medium_dark.json",on_video_raise_hand_medium_light:"./lottie/reactions/on_video/on_video_raise_hand_medium_light.json",on_video_raise_hand_medium:"./lottie/reactions/on_video/on_video_raise_hand_medium.json",on_video_raise_hand_yellow:"./lottie/reactions/on_video/on_video_raise_hand_yellow.json",on_video_sad:"./lottie/reactions/on_video/on_video_sad.json",on_video_slow_down:"./lottie/reactions/on_video/on_video_slow_down.json",on_video_smile:"./lottie/reactions/on_video/on_video_smile.json",on_video_speed_up:"./lottie/reactions/on_video/on_video_speed_up.json",on_video_thumb_down_dark:"./lottie/reactions/on_video/on_video_thumb_down_dark.json",on_video_thumb_down_light:"./lottie/reactions/on_video/on_video_thumb_down_light.json",on_video_thumb_down_medium_dark:"./lottie/reactions/on_video/on_video_thumb_down_medium_dark.json",on_video_thumb_down_medium_light:"./lottie/reactions/on_video/on_video_thumb_down_medium_light.json",on_video_thumb_down_medium:"./lottie/reactions/on_video/on_video_thumb_down_medium.json",on_video_thumb_down_yellow:"./lottie/reactions/on_video/on_video_thumb_down_yellow.json",on_video_thumb_up_dark:"./lottie/reactions/on_video/on_video_thumb_up_dark.json",on_video_thumb_up_light:"./lottie/reactions/on_video/on_video_thumb_up_light.json",on_video_thumb_up_medium_dark:"./lottie/reactions/on_video/on_video_thumb_up_medium_dark.json",on_video_thumb_up_medium_light:"./lottie/reactions/on_video/on_video_thumb_up_medium_light.json",on_video_thumb_up_medium:"./lottie/reactions/on_video/on_video_thumb_up_medium.json",on_video_thumb_up_yellow:"./lottie/reactions/on_video/on_video_thumb_up_yellow.json",on_video_wow:"./lottie/reactions/on_video/on_video_wow.json",prayer_dark:"./lottie/reactions/prayer_dark.json",prayer_light:"./lottie/reactions/prayer_light.json",prayer_medium_dark:"./lottie/reactions/prayer_medium_dark.json",prayer_medium_light:"./lottie/reactions/prayer_medium_light.json",prayer_medium:"./lottie/reactions/prayer_medium.json",prayer_yellow:"./lottie/reactions/prayer_yellow.json",raise_hand_dark:"./lottie/reactions/raise_hand_dark.json",raise_hand_light:"./lottie/reactions/raise_hand_light.json",raise_hand_medium_dark:"./lottie/reactions/raise_hand_medium_dark.json",raise_hand_medium_light:"./lottie/reactions/raise_hand_medium_light.json",raise_hand_medium:"./lottie/reactions/raise_hand_medium.json",raise_hand_yellow:"./lottie/reactions/raise_hand_yellow.json",sad:"./lottie/reactions/sad.json",slow_down:"./lottie/reactions/slow_down.json",smile:"./lottie/reactions/smile.json",speed_up:"./lottie/reactions/speed_up.json",thumb_down_dark:"./lottie/reactions/thumb_down_dark.json",thumb_down_light:"./lottie/reactions/thumb_down_light.json",thumb_down_medium_dark:"./lottie/reactions/thumb_down_medium_dark.json",thumb_down_medium_light:"./lottie/reactions/thumb_down_medium_light.json",thumb_down_medium:"./lottie/reactions/thumb_down_medium.json",thumb_down_yellow:"./lottie/reactions/thumb_down_yellow.json",thumb_up_dark:"./lottie/reactions/thumb_up_dark.json",thumb_up_light:"./lottie/reactions/thumb_up_light.json",thumb_up_medium_dark:"./lottie/reactions/thumb_up_medium_dark.json",thumb_up_medium_light:"./lottie/reactions/thumb_up_medium_light.json",thumb_up_medium:"./lottie/reactions/thumb_up_medium.json",thumb_up_yellow:"./lottie/reactions/thumb_up_yellow.json",wow:"./lottie/reactions/wow.json",space:"./lottie/space.json",success:"./lottie/success.json",teams:"./lottie/teams.json",webex_logo_loop:"./lottie/webex_logo_loop.json",welcome:"./lottie/welcome.json"};var Tg=[Et,H`
|
511
|
+
`,...At()],mp=Ag;var Vs={},up=async l=>(Vs[l]===void 0&&(Vs[l]=new Map),{async set(i,t){Vs[l].set(i.url,await t.text())},async get(i){return Vs[l].get(i.url)},async delete(i){Vs[l].delete(i.url)}}),fp=async l=>{let i=await caches.open(l);return{set:async(t,s)=>{await i.put(t,s)},get:async t=>{let s=await i.match(t);return s==null?void 0:s.text()},delete:async t=>{await i.delete(t)}}},vp=async(l,i)=>i==="in-memory-cache"?up(l):fp(l);var gp=async l=>fetch(l).then(i=>{if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i}),bp=async({url:l,name:i,fileExtension:t,cacheStrategy:s,cacheName:n,renewSignal:h})=>{let m=h(),x=new Request(`${l}/${i}.${t}`,{signal:m});return!n||!s||!["in-memory-cache","web-cache-api"].includes(s)?gp(x).then(R=>R.text()):vp(n,s).then(R=>R.get(x).then($=>$||gp(x.clone()).then(Y=>{var K;return Y.status<400&&Y.headers.has("content-type")?(K=R.set)==null?void 0:K.call(R,x,Y.clone()).then(()=>Y.text()):Y.text()})).catch($=>{throw new Error(`Error in caching the Icon ${i}, ${$}`)}))};var yp=j.constructTagName("icon"),ql={NAME:void 0,SIZE:1};var Oe=class extends q{constructor(){super();this.name=ql.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=yr.consume({host:this,context:zs.Context});this.abortController=new AbortController}prepareIconElement(t){let s=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&s.setAttribute("data-name",this.name),s.setAttribute("part","icon"),s.setAttribute("aria-hidden","true"),s}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:s,url:n,cacheName:h,iconSet:m,cacheStrategy:x}=this.iconProviderContext.value;if(m==="custom-icons"&&n&&s&&this.name){let R=()=>(this.abortController.abort(),this.abortController=new AbortController,this.abortController.signal);return bp({url:n,name:this.name,fileExtension:s,cacheName:h,cacheStrategy:x,renewSignal:R}).then($=>{let Y=this.prepareIconElement($);this.handleIconLoadedSuccess(Y)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(R=>{this.handleIconLoadedSuccess(R.default())}).catch(R=>{this.handleIconLoadedFailure(R)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleIconLoadedFailure(t){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(s)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",s)}}get computedIconSize(){var t,s;return(s=(t=this.size)!=null?t:this.sizeFromContext)!=null?s:ql.SIZE}updated(t){var s,n,h,m;super.updated(t),t.has("name")&&this.getIconData().catch(x=>{x.name!=="AbortError"&&this.onerror&&this.onerror(x)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(n=this.iconProviderContext.value)==null?void 0:n.lengthUnit,this.updateSize()),this.sizeFromContext!==((h=this.iconProviderContext.value)==null?void 0:h.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}render(){return L` ${this.iconData} `}};Oe.styles=[...q.styles,...mp],f([It()],Oe.prototype,"iconData",2),f([It()],Oe.prototype,"lengthUnitFromContext",2),f([It()],Oe.prototype,"sizeFromContext",2),f([g({type:String,reflect:!0})],Oe.prototype,"name",2),f([g({type:Number})],Oe.prototype,"size",2),f([g({type:String,attribute:"length-unit"})],Oe.prototype,"lengthUnit",2),f([g({type:String,attribute:"aria-label"})],Oe.prototype,"ariaLabel",2),f([g({type:String,attribute:"aria-labelledby"})],Oe.prototype,"ariaLabelledBy",2),f([It()],Oe.prototype,"abortController",2);var Kl=Oe;Kl.register(yp);var _g=Kl;Yl.register(np);var Sg=Yl;var{I:MA}=Xh;var hn=l=>l.strings===void 0;var Ig={},Ep=(l,i=Ig)=>l._$AH=i;var nr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},zi=l=>(...i)=>({_$litDirective$:l,values:i}),pi=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,t,s){this.t=i,this._$AM=t,this.i=s}_$AS(i,t){return this.update(i,t)}update(i,t){return this.render(...t)}};var Bs=(l,i)=>{var s;let t=l._$AN;if(t===void 0)return!1;for(let n of t)(s=n._$AO)==null||s.call(n,i,!1),Bs(n,i);return!0},pn=l=>{let i,t;do{if((i=l._$AM)===void 0)break;t=i._$AN,t.delete(l),l=i}while((t==null?void 0:t.size)===0)},Tp=l=>{for(let i;i=l._$AM;l=i){let t=i._$AN;if(t===void 0)i._$AN=t=new Set;else if(t.has(l))break;t.add(l),wg(i)}};function kg(l){this._$AN!==void 0?(pn(this),this._$AM=l,Tp(this)):this._$AM=l}function Cg(l,i=!1,t=0){let s=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(i)if(Array.isArray(s))for(let h=t;h<s.length;h++)Bs(s[h],!1),pn(s[h]);else s!=null&&(Bs(s,!1),pn(s));else Bs(this,l)}var wg=l=>{var i,t;l.type==nr.CHILD&&((i=l._$AP)!=null||(l._$AP=Cg),(t=l._$AQ)!=null||(l._$AQ=kg))},mn=class extends pi{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,s){super._$AT(i,t,s),Tp(this),this.isConnected=i._$AU}_$AO(i,t=!0){var s,n;i!==this.isConnected&&(this.isConnected=i,i?(s=this.reconnected)==null||s.call(this):(n=this.disconnected)==null||n.call(this)),t&&(Bs(this,i),pn(this))}setValue(i){if(hn(this.t))this.t._$AI(i,this);else{let t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var un=()=>new Zl,Zl=class{},Xl=new WeakMap,fn=zi(class extends mn{render(l){return W}update(l,[i]){var s;let t=i!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=i,this.ht=(s=l.options)==null?void 0:s.host,this.rt(this.ct=l.element)),W}rt(l){var i;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let t=(i=this.ht)!=null?i:globalThis,s=Xl.get(t);s===void 0&&(s=new WeakMap,Xl.set(t,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,i,t;return typeof this.Y=="function"?(i=Xl.get((l=this.ht)!=null?l:globalThis))==null?void 0:i.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Sp=eg(xp());var Jl={audio_video:"./lottie/audio_video.json",calling:"./lottie/calling.json",alert_32px_loop:"./lottie/cisco-ai-assistant/alert_32px_loop.json",hello_32px:"./lottie/cisco-ai-assistant/hello_32px.json",processing_32px_end:"./lottie/cisco-ai-assistant/processing_32px_end.json",processing_32px_loop:"./lottie/cisco-ai-assistant/processing_32px_loop.json",processing_32px_start:"./lottie/cisco-ai-assistant/processing_32px_start.json",responding_32px_end:"./lottie/cisco-ai-assistant/responding_32px_end.json",responding_32px_loop:"./lottie/cisco-ai-assistant/responding_32px_loop.json",responding_32px_start:"./lottie/cisco-ai-assistant/responding_32px_start.json",contacts:"./lottie/contacts.json",discoverability_badge:"./lottie/discoverability_badge.json",heart_opacity_test:"./lottie/heart_opacity_test.json",meeting:"./lottie/meeting.json",personal_insight:"./lottie/personal_insight.json",celebrate:"./lottie/reactions/celebrate.json",clap_dark:"./lottie/reactions/clap_dark.json",clap_light:"./lottie/reactions/clap_light.json",clap_medium_dark:"./lottie/reactions/clap_medium_dark.json",clap_medium_light:"./lottie/reactions/clap_medium_light.json",clap_medium:"./lottie/reactions/clap_medium.json",clap_yellow:"./lottie/reactions/clap_yellow.json",fire:"./lottie/reactions/fire.json",haha:"./lottie/reactions/haha.json",heart:"./lottie/reactions/heart.json",on_video_celebrate:"./lottie/reactions/on_video/on_video_celebrate.json",on_video_clap_dark:"./lottie/reactions/on_video/on_video_clap_dark.json",on_video_clap_light:"./lottie/reactions/on_video/on_video_clap_light.json",on_video_clap_medium_dark:"./lottie/reactions/on_video/on_video_clap_medium_dark.json",on_video_clap_medium_light:"./lottie/reactions/on_video/on_video_clap_medium_light.json",on_video_clap_medium:"./lottie/reactions/on_video/on_video_clap_medium.json",on_video_clap_yellow:"./lottie/reactions/on_video/on_video_clap_yellow.json",on_video_fire:"./lottie/reactions/on_video/on_video_fire.json",on_video_haha:"./lottie/reactions/on_video/on_video_haha.json",on_video_heart:"./lottie/reactions/on_video/on_video_heart.json",on_video_prayer_dark:"./lottie/reactions/on_video/on_video_prayer_dark.json",on_video_prayer_light:"./lottie/reactions/on_video/on_video_prayer_light.json",on_video_prayer_medium_dark:"./lottie/reactions/on_video/on_video_prayer_medium_dark.json",on_video_prayer_medium_light:"./lottie/reactions/on_video/on_video_prayer_medium_light.json",on_video_prayer_medium:"./lottie/reactions/on_video/on_video_prayer_medium.json",on_video_prayer_yellow:"./lottie/reactions/on_video/on_video_prayer_yellow.json",on_video_raise_hand_dark:"./lottie/reactions/on_video/on_video_raise_hand_dark.json",on_video_raise_hand_light:"./lottie/reactions/on_video/on_video_raise_hand_light.json",on_video_raise_hand_medium_dark:"./lottie/reactions/on_video/on_video_raise_hand_medium_dark.json",on_video_raise_hand_medium_light:"./lottie/reactions/on_video/on_video_raise_hand_medium_light.json",on_video_raise_hand_medium:"./lottie/reactions/on_video/on_video_raise_hand_medium.json",on_video_raise_hand_yellow:"./lottie/reactions/on_video/on_video_raise_hand_yellow.json",on_video_sad:"./lottie/reactions/on_video/on_video_sad.json",on_video_slow_down:"./lottie/reactions/on_video/on_video_slow_down.json",on_video_smile:"./lottie/reactions/on_video/on_video_smile.json",on_video_speed_up:"./lottie/reactions/on_video/on_video_speed_up.json",on_video_thumb_down_dark:"./lottie/reactions/on_video/on_video_thumb_down_dark.json",on_video_thumb_down_light:"./lottie/reactions/on_video/on_video_thumb_down_light.json",on_video_thumb_down_medium_dark:"./lottie/reactions/on_video/on_video_thumb_down_medium_dark.json",on_video_thumb_down_medium_light:"./lottie/reactions/on_video/on_video_thumb_down_medium_light.json",on_video_thumb_down_medium:"./lottie/reactions/on_video/on_video_thumb_down_medium.json",on_video_thumb_down_yellow:"./lottie/reactions/on_video/on_video_thumb_down_yellow.json",on_video_thumb_up_dark:"./lottie/reactions/on_video/on_video_thumb_up_dark.json",on_video_thumb_up_light:"./lottie/reactions/on_video/on_video_thumb_up_light.json",on_video_thumb_up_medium_dark:"./lottie/reactions/on_video/on_video_thumb_up_medium_dark.json",on_video_thumb_up_medium_light:"./lottie/reactions/on_video/on_video_thumb_up_medium_light.json",on_video_thumb_up_medium:"./lottie/reactions/on_video/on_video_thumb_up_medium.json",on_video_thumb_up_yellow:"./lottie/reactions/on_video/on_video_thumb_up_yellow.json",on_video_wow:"./lottie/reactions/on_video/on_video_wow.json",prayer_dark:"./lottie/reactions/prayer_dark.json",prayer_light:"./lottie/reactions/prayer_light.json",prayer_medium_dark:"./lottie/reactions/prayer_medium_dark.json",prayer_medium_light:"./lottie/reactions/prayer_medium_light.json",prayer_medium:"./lottie/reactions/prayer_medium.json",prayer_yellow:"./lottie/reactions/prayer_yellow.json",raise_hand_dark:"./lottie/reactions/raise_hand_dark.json",raise_hand_light:"./lottie/reactions/raise_hand_light.json",raise_hand_medium_dark:"./lottie/reactions/raise_hand_medium_dark.json",raise_hand_medium_light:"./lottie/reactions/raise_hand_medium_light.json",raise_hand_medium:"./lottie/reactions/raise_hand_medium.json",raise_hand_yellow:"./lottie/reactions/raise_hand_yellow.json",sad:"./lottie/reactions/sad.json",slow_down:"./lottie/reactions/slow_down.json",smile:"./lottie/reactions/smile.json",speed_up:"./lottie/reactions/speed_up.json",thumb_down_dark:"./lottie/reactions/thumb_down_dark.json",thumb_down_light:"./lottie/reactions/thumb_down_light.json",thumb_down_medium_dark:"./lottie/reactions/thumb_down_medium_dark.json",thumb_down_medium_light:"./lottie/reactions/thumb_down_medium_light.json",thumb_down_medium:"./lottie/reactions/thumb_down_medium.json",thumb_down_yellow:"./lottie/reactions/thumb_down_yellow.json",thumb_up_dark:"./lottie/reactions/thumb_up_dark.json",thumb_up_light:"./lottie/reactions/thumb_up_light.json",thumb_up_medium_dark:"./lottie/reactions/thumb_up_medium_dark.json",thumb_up_medium_light:"./lottie/reactions/thumb_up_medium_light.json",thumb_up_medium:"./lottie/reactions/thumb_up_medium.json",thumb_up_yellow:"./lottie/reactions/thumb_up_yellow.json",wow:"./lottie/reactions/wow.json",space:"./lottie/space.json",success:"./lottie/success.json",teams:"./lottie/teams.json",webex_logo_loop:"./lottie/webex_logo_loop.json",welcome:"./lottie/welcome.json"};var Lg=[Et,H`
|
512
512
|
:host svg {
|
513
513
|
display: block;
|
514
514
|
}
|
515
|
-
`],
|
515
|
+
`],Ap=Lg;var _p=j.constructTagName("animation"),gn={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var zr=class extends q{constructor(){super(...arguments);this.name=gn.NAME;this.loop=gn.LOOP;this.autoplay=gn.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=un();this.onCompleteHandler=()=>{let t=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(t)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(t){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=Sp.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(s)}getAnimationData(){this.name&&Jl[this.name]?import(`@momentum-design/animations/dist/lottie${Jl[this.name].replace(/^\.\/lottie/,"")}`).then(s=>this.onLoadSuccessHandler(s.default)).catch(s=>this.onLoadFailHandler(s)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}render(){return L`<div aria-hidden="true" ${fn(this.containerRef)}></div>`}};zr.styles=[...q.styles,...Ap],f([g({type:String,reflect:!0})],zr.prototype,"name",2),f([g({type:String,reflect:!0})],zr.prototype,"loop",2),f([g({type:Boolean,reflect:!0})],zr.prototype,"autoplay",2),f([g({type:String,attribute:"aria-label"})],zr.prototype,"ariaLabel",2),f([g({type:String,attribute:"aria-labelledby"})],zr.prototype,"ariaLabelledBy",2);var Ql=zr;Ql.register(_p);var Ng=Ql;var Rg=H`
|
516
516
|
:host {
|
517
517
|
--mdc-appheader-height: 4rem;
|
518
518
|
}
|
@@ -545,7 +545,7 @@
|
|
545
545
|
:host::part(trailing-section) {
|
546
546
|
justify-content: flex-end;
|
547
547
|
}
|
548
|
-
`,
|
548
|
+
`,Ip=[Rg];var bn=class extends q{render(){return L` <header part="container">
|
549
549
|
<div part="leading-section">
|
550
550
|
<slot name="leading"></slot>
|
551
551
|
</div>
|
@@ -555,7 +555,7 @@
|
|
555
555
|
<div part="trailing-section">
|
556
556
|
<slot name="trailing"></slot>
|
557
557
|
</div>
|
558
|
-
</header>`}};
|
558
|
+
</header>`}};bn.styles=[...q.styles,...Ip];var tc=bn;var kp=j.constructTagName("appheader");tc.register(kp);var Mg=tc;var nt=l=>l!=null?l:W;var Cp=j.constructTagName("avatar"),ue={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},ec=99,Og="user-regular",Pt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Mo={TYPE:ue.PHOTO,SIZE:Pt[32],ICON_NAME:Og};var yn=l=>{class i extends l{constructor(){super(...arguments);this.size=Mo.SIZE;this.isTyping=!1}}return f([g({type:String})],i.prototype,"src",2),f([g({type:String})],i.prototype,"initials",2),f([g({type:String})],i.prototype,"presence",2),f([g({type:Number,reflect:!0,attribute:"size"})],i.prototype,"size",2),f([g({type:Number})],i.prototype,"counter",2),f([g({type:Boolean,attribute:"is-typing"})],i.prototype,"isTyping",2),i};var Qt=l=>{class i extends l{}return f([g({type:String,attribute:"icon-name"})],i.prototype,"iconName",2),i};var Pg=[Et,H`
|
559
559
|
:host {
|
560
560
|
--mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
|
561
561
|
--mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
|
@@ -682,8 +682,8 @@
|
|
682
682
|
outline: 0.125rem solid;
|
683
683
|
}
|
684
684
|
}
|
685
|
-
`],
|
686
|
-
<mdc-presence part="presence" type="${this.presence}" size="${
|
685
|
+
`],wp=Pg;var Lp=j.constructTagName("presence"),he={ACTIVE:"active",AWAY:"away",AWAY_CALLING:"away-calling",BUSY:"busy",DND:"dnd",MEETING:"meeting",ON_CALL:"on-call",ON_DEVICE:"on-device",ON_MOBILE:"on-mobile",PAUSE:"pause",PTO:"pto",PRESENTING:"presenting",QUIET:"quiet",SCHEDULED:"scheduled"},te={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},Oo={TYPE:he.ACTIVE,SIZE:te.SMALL};var Np=l=>({[Pt[124]]:te.XX_LARGE,[Pt[88]]:te.X_LARGE,[Pt[72]]:te.LARGE,[Pt[64]]:te.MIDSIZE,[Pt[48]]:te.SMALL,[Pt[32]]:te.X_SMALL,[Pt[24]]:te.XX_SMALL})[l]||te.X_SMALL,Rp=l=>({[Pt[124]]:4.75,[Pt[88]]:3,[Pt[72]]:2.5,[Pt[64]]:2.25,[Pt[48]]:1.75,[Pt[32]]:1.25,[Pt[24]]:1})[l]||1.25,Mp=l=>({[Pt[124]]:ot.HEADING_XLARGE_MEDIUM,[Pt[88]]:ot.HEADING_LARGE_MEDIUM,[Pt[72]]:ot.HEADING_MIDSIZE_MEDIUM,[Pt[64]]:ot.HEADING_SMALL_MEDIUM,[Pt[48]]:ot.HEADING_SMALL_MEDIUM,[Pt[32]]:ot.BODY_MIDSIZE_MEDIUM,[Pt[24]]:ot.BODY_SMALL_MEDIUM})[l]||ot.BODY_MIDSIZE_MEDIUM;var Gs=class extends yn(Qt(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===ue.COUNTER&&(this.counter||this.counter===0)||this.isTyping?W:this.presence?L`
|
686
|
+
<mdc-presence part="presence" type="${this.presence}" size="${Np(this.size)}"></mdc-presence>
|
687
687
|
`:W}handleOnLoad(){this.isPhotoLoaded=!0}handleOnError(){this.isPhotoLoaded=!1,this.onerror&&this.onerror("There was a problem while fetching the <img/>. Please check the src attribute and try again.")}photoTemplate(){return L`
|
688
688
|
<img
|
689
689
|
part="photo"
|
@@ -693,14 +693,14 @@
|
|
693
693
|
@load="${this.handleOnLoad}"
|
694
694
|
@error="${this.handleOnError}"
|
695
695
|
/>
|
696
|
-
`}iconTemplate(){let
|
697
|
-
<mdc-icon name="${nt(
|
698
|
-
`}textTemplate(
|
696
|
+
`}iconTemplate(){let t=this.iconName||Mo.ICON_NAME;return L`
|
697
|
+
<mdc-icon name="${nt(t)}" length-unit="rem" size="${Rp(this.size)}"></mdc-icon>
|
698
|
+
`}textTemplate(t){return L` <mdc-text type="${Mp(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>ec?`${ec}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let s="";return t===ue.TEXT&&this.initials&&(s=this.generateInitialsText(this.initials)),t===ue.COUNTER&&(this.counter||this.counter===0)&&(s=this.generateCounterText(this.counter)),this.textTemplate(s)}getTypeBasedOnInputs(){return this.src?ue.PHOTO:this.iconName?ue.ICON:this.initials?ue.TEXT:this.counter||this.counter===0?ue.COUNTER:ue.ICON}getTemplateBasedOnType(t){switch(t){case ue.PHOTO:return this.photoTemplate();case ue.TEXT:case ue.COUNTER:return this.generateTextContent(t);case ue.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?L`<div part="loading-wrapper"><div part="loader"></div></div>`:W}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?W:t===ue.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():W}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return L`
|
699
699
|
<div part="content" aria-hidden="true">
|
700
|
-
${this.getPhotoPlaceHolderContent(
|
701
|
-
${this.getPresenceTemplateBasedOnType(
|
700
|
+
${this.getPhotoPlaceHolderContent(t)} ${this.getTemplateBasedOnType(t)} ${this.getLoadingContent()}
|
701
|
+
${this.getPresenceTemplateBasedOnType(t)}
|
702
702
|
</div>
|
703
|
-
`}};
|
703
|
+
`}};Gs.styles=[...q.styles,...wp],f([It()],Gs.prototype,"isPhotoLoaded",2);var rc=Gs;var Dg=[Et,H`
|
704
704
|
:host {
|
705
705
|
--mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
|
706
706
|
--mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
|
@@ -794,7 +794,7 @@
|
|
794
794
|
.mdc-presence-icon__scheduled {
|
795
795
|
color: var(--mdc-presence-scheduled-background-color);
|
796
796
|
}
|
797
|
-
`],
|
797
|
+
`],Op=Dg;var Pp=l=>{switch(l){case he.AWAY:return"recents-presence-badge-filled";case he.AWAY_CALLING:return"away-calling-presence-filled";case he.BUSY:return"busy-presence-bold";case he.DND:return"dnd-presence-badge-filled";case he.MEETING:return"camera-filled";case he.ON_CALL:return"handset-filled";case he.ON_DEVICE:return"generic-device-video-badge-filled";case he.ON_MOBILE:return"phone-badge-filled";case he.PAUSE:return"pause-badge-filled";case he.PTO:return"pto-presence-filled";case he.PRESENTING:return"share-screen-badge-filled";case he.QUIET:return"quiet-hours-presence-filled";case he.SCHEDULED:return"meetings-presence-badge-filled";case he.ACTIVE:default:return"active-presence-small-filled"}};var Vi=class extends q{constructor(){super(...arguments);this.type=Oo.TYPE;this.size=Oo.SIZE;this.currentIconType=Oo.TYPE}get iconSize(){switch(this.size){case te.MIDSIZE:return 1.16125;case te.LARGE:return 1.30625;case te.X_LARGE:return 1.596875;case te.XX_LARGE:return 2.25;case te.XX_SMALL:case te.X_SMALL:case te.SMALL:default:return this.size=Oo.SIZE,.875}}get icon(){let t=Pp(this.type);return t==="active-presence-small-filled"&&(this.type=Oo.TYPE),t}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return L`
|
798
798
|
<div class="mdc-presence mdc-presence__${this.size}">
|
799
799
|
<mdc-icon
|
800
800
|
class="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
|
@@ -804,7 +804,7 @@
|
|
804
804
|
@error="${this.handleOnError}"
|
805
805
|
></mdc-icon>
|
806
806
|
</div>
|
807
|
-
`}};
|
807
|
+
`}};Vi.styles=[...q.styles,...Op],f([g({type:String,reflect:!0})],Vi.prototype,"type",2),f([g({type:String,reflect:!0})],Vi.prototype,"size",2),f([It()],Vi.prototype,"currentIconType",2);var ic=Vi;ic.register(Lp);var Fg=ic;rc.register(Cp);var $g=rc;var Bi=j.constructTagName("button"),Bt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Hs={40:40,32:32,28:28,24:24},mi={64:64,52:52,20:20,...Hs},Ui={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Po={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},ke={VARIANT:Bt.PRIMARY,SIZE:Hs[32],COLOR:Ui.DEFAULT,TYPE_INTERNAL:Po.ICON,TYPE:wo.BUTTON,INVERTED:!1};var zg=[Et,H`
|
808
808
|
:host {
|
809
809
|
--mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
|
810
810
|
--mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
|
@@ -833,7 +833,7 @@
|
|
833
833
|
:host::part(presence) {
|
834
834
|
z-index: 2;
|
835
835
|
}
|
836
|
-
`,...At()],
|
836
|
+
`,...At()],Dp=zg;var js=class extends yn(Qt(de)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=et.BUTTON,this.type=ke.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Pt).includes(t)?`${t}`:Mo.SIZE.toString())}render(){return L`
|
837
837
|
<div part="overlay" aria-hidden="true"></div>
|
838
838
|
<mdc-avatar
|
839
839
|
exportparts="content, photo, presence, loading-wrapper, loader"
|
@@ -845,7 +845,7 @@
|
|
845
845
|
size="${nt(this.size)}"
|
846
846
|
src="${nt(this.src)}"
|
847
847
|
></mdc-avatar>
|
848
|
-
`}};
|
848
|
+
`}};js.styles=[...Dp],f([g({type:String,attribute:"aria-label"})],js.prototype,"ariaLabel",2);var oc=js;var Fp=j.constructTagName("avatarbutton");oc.register(Fp);var Vg=oc;var Tr=zi(class extends pi{constructor(l){var i;if(super(l),l.type!==nr.ATTRIBUTE||l.name!=="class"||((i=l.strings)==null?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(l){return" "+Object.keys(l).filter(i=>l[i]).join(" ")+" "}update(l,[i]){var s,n;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in i)i[h]&&!((s=this.nt)!=null&&s.has(h))&&this.st.add(h);return this.render(i)}let t=l.element.classList;for(let h of this.st)h in i||(t.remove(h),this.st.delete(h));for(let h in i){let m=!!i[h];m===this.st.has(h)||(n=this.nt)!=null&&n.has(h)||(m?(t.add(h),this.st.add(h)):(t.remove(h),this.st.delete(h)))}return Ie}});var $p=j.constructTagName("badge"),Ge={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},En={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Tn={PRIMARY:"primary",SECONDARY:"secondary"},Ys={SUCCESS:"success",WARNING:"warning",ERROR:"error"},sI={...Tn,...Ys},ui={TYPE:Ge.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Tn.PRIMARY,ICON_SIZE:1};var Bg=[Et,H`
|
849
849
|
:host {
|
850
850
|
--mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
|
851
851
|
--mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
|
@@ -921,21 +921,21 @@
|
|
921
921
|
outline: none;
|
922
922
|
}
|
923
923
|
}
|
924
|
-
`],
|
924
|
+
`],zp=Bg;var xr=class extends Qt(q){constructor(){super(...arguments);this.variant=ui.VARIANT;this.maxCounter=ui.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,s){return s===void 0||typeof s!="number"||t===0?"":s>t?`${t}+`:t>ui.MAX_COUNTER_LIMIT||s>ui.MAX_COUNTER_LIMIT?`${ui.MAX_COUNTER_LIMIT}+`:s.toString()}getBadgeIcon(t,s){return L`
|
925
925
|
<mdc-icon
|
926
|
-
class="mdc-badge-icon ${
|
927
|
-
name="${nt(
|
928
|
-
size="${
|
926
|
+
class="mdc-badge-icon ${Tr({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${s}`]:!0})}"
|
927
|
+
name="${nt(t)}"
|
928
|
+
size="${ui.ICON_SIZE}"
|
929
929
|
></mdc-icon>
|
930
|
-
`}getBadgeDot(){return L`<div class="mdc-badge-dot ${
|
930
|
+
`}getBadgeDot(){return L`<div class="mdc-badge-dot ${Tr({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return L`
|
931
931
|
<mdc-text
|
932
932
|
type="${ot.BODY_SMALL_MEDIUM}"
|
933
933
|
tagname="${vt.DIV}"
|
934
|
-
class="mdc-badge-text ${
|
934
|
+
class="mdc-badge-text ${Tr({"mdc-badge-overlay":this.overlay})}"
|
935
935
|
>
|
936
936
|
${this.getCounterText(this.maxCounter,this.counter)}
|
937
937
|
</mdc-text>
|
938
|
-
`}setRoleByAriaLabel(){this.ariaLabel?this.role=
|
938
|
+
`}setRoleByAriaLabel(){this.ariaLabel?this.role=et.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Tn).includes(this.variant)&&(this.variant=ui.VARIANT);let{iconName:t,type:s,variant:n}=this;switch(s){case Ge.ICON:return this.getBadgeIcon(t||"",n);case Ge.COUNTER:return this.getBadgeCounterText();case Ge.SUCCESS:return this.getBadgeIcon(En.SUCCESS_ICON_NAME,Ys.SUCCESS);case Ge.WARNING:return this.getBadgeIcon(En.WARNING_ICON_NAME,Ys.WARNING);case Ge.ERROR:return this.getBadgeIcon(En.ERROR_ICON_NAME,Ys.ERROR);case Ge.DOT:default:return this.type=Ge.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};xr.styles=[...q.styles,...zp],f([g({type:String,reflect:!0})],xr.prototype,"type",2),f([g({type:String,reflect:!0})],xr.prototype,"variant",2),f([g({type:Number})],xr.prototype,"counter",2),f([g({type:Number,attribute:"max-counter",reflect:!0})],xr.prototype,"maxCounter",2),f([g({type:Boolean})],xr.prototype,"overlay",2),f([g({type:String,attribute:"aria-label"})],xr.prototype,"ariaLabel",2);var sc=xr;sc.register($p);var Ug=sc;var Gg=H`
|
939
939
|
:host {
|
940
940
|
display: block;
|
941
941
|
height: 100%;
|
@@ -944,7 +944,7 @@
|
|
944
944
|
height: 100%;
|
945
945
|
width: 100%;
|
946
946
|
}
|
947
|
-
`,
|
947
|
+
`,Vp=[Gg];var Bp=j.constructTagName("brandvisual"),Up={NAME:void 0};var Do=class extends q{constructor(){super(...arguments);this.name=Up.NAME}async getBrandVisualData(){return this.name?import(`@momentum-design/brand-visuals/dist/logos/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)}):(this.handleBrandVisualLoadedFailure(new Error("No brandvisual name provided.")),Promise.reject(new Error("No brandvisual name provided.")))}updated(t){super.updated(t),t.has("name")&&this.getBrandVisualData().catch(s=>{this.onerror&&this.onerror(s)})}handleBrandVisualLoadedSuccess(t){this.brandVisualData=t;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleBrandVisualLoadedFailure(t){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(s)}render(){return L` ${this.brandVisualData} `}};Do.styles=[...q.styles,...Vp],f([It()],Do.prototype,"brandVisualData",2),f([g({type:String,reflect:!0})],Do.prototype,"name",2);var ac=Do;ac.register(Bp);var Hg=ac;var jg=H`
|
948
948
|
:host {
|
949
949
|
--mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
|
950
950
|
--mdc-bullet-size-small: 0.25rem;
|
@@ -965,7 +965,7 @@
|
|
965
965
|
:host([size='large']) {
|
966
966
|
height: var(--mdc-bullet-size-large);
|
967
967
|
}
|
968
|
-
`,
|
968
|
+
`,Gp=[jg];var Hp=j.constructTagName("bullet"),jp={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var Ws=class extends q{constructor(){super(...arguments);this.size=jp.SMALL}};Ws.styles=[...q.styles,...Gp],f([g({type:String,reflect:!0})],Ws.prototype,"size",2);var nc=Ws;nc.register(Hp);var Yg=nc;var xn=l=>{class i extends l{constructor(){super(...arguments);this.variant=ke.VARIANT;this.color=ke.COLOR;this.typeInternal=ke.TYPE_INTERNAL}setVariant(n){this.setAttribute("variant",Object.values(Bt).includes(n)?n:ke.VARIANT)}setColor(n){!Object.values(Ui).includes(n)||this.variant===Bt.TERTIARY?this.setAttribute("color",`${ke.COLOR}`):this.setAttribute("color",n)}setSize(n){let m=this.typeInternal===Po.ICON?Object.values(mi).includes(n)&&!(n===mi[20]&&this.variant!==Bt.TERTIARY):Object.values(Hs).includes(n);this.setAttribute("size",m?`${n}`:`${ke.SIZE}`)}inferButtonType(){var h,m;let n=(m=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"))==null?void 0:m.assignedNodes().filter(x=>{var R;return x.nodeType!==Node.TEXT_NODE||((R=x.textContent)==null?void 0:R.trim())}).length;n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Po.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Po.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Po.PILL,this.setAttribute("data-btn-type","pill"))}}return f([g({type:String,attribute:"prefix-icon",reflect:!0})],i.prototype,"prefixIcon",2),f([g({type:String,attribute:"postfix-icon",reflect:!0})],i.prototype,"postfixIcon",2),f([g({type:String})],i.prototype,"variant",2),f([g({type:String})],i.prototype,"color",2),f([It()],i.prototype,"typeInternal",2),i};var Wg=H`
|
969
969
|
:host {
|
970
970
|
background-color: transparent;
|
971
971
|
border-radius: 1.25rem;
|
@@ -1213,7 +1213,7 @@
|
|
1213
1213
|
:host::part(postfix-icon) {
|
1214
1214
|
flex-shrink: 0;
|
1215
1215
|
}
|
1216
|
-
|
1216
|
+
`,Yp=[Wg];var Gi=l=>{let i=l.split("-"),t=["bold","filled","regular","light"];return i.filter(s=>!t.includes(s)).join("-")};var Vr=class extends xn(de){constructor(){super(...arguments);this.size=ke.SIZE;this.inverted=ke.INVERTED;this.role=et.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${Gi(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${Gi(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return L`
|
1217
1217
|
${this.prefixFilledIconName?L` <mdc-icon
|
1218
1218
|
name="${this.prefixFilledIconName}"
|
1219
1219
|
part="prefix-icon"
|
@@ -1225,7 +1225,7 @@
|
|
1225
1225
|
part="postfix-icon"
|
1226
1226
|
length-unit="rem"
|
1227
1227
|
></mdc-icon>`:""}
|
1228
|
-
`}}
|
1228
|
+
`}};Vr.styles=[...de.styles,...Yp],f([g({type:Number})],Vr.prototype,"size",2),f([g({type:Boolean,reflect:!0})],Vr.prototype,"inverted",2),f([g({type:String,reflect:!0})],Vr.prototype,"role",2),f([It()],Vr.prototype,"prefixFilledIconName",2),f([It()],Vr.prototype,"postfixFilledIconName",2);var Hi=Vr;Hi.register(Bi);var qg=Hi;var Wp=j.constructTagName("buttongroup"),Kg={40:40,32:32,28:28,24:24},Xg={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Zg={PRIMARY:"primary",SECONDARY:"secondary"},An={SIZE:Kg[28],VARIANT:Zg.PRIMARY,ORIENTATION:Xg.HORIZONTAL};var Jg=H`
|
1229
1229
|
:host {
|
1230
1230
|
--mdc-buttongroup-border-radius: 1.25rem;
|
1231
1231
|
--mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
|
@@ -1302,7 +1302,7 @@
|
|
1302
1302
|
:host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
|
1303
1303
|
width: 2.5rem;
|
1304
1304
|
}
|
1305
|
-
`,
|
1305
|
+
`,qp=[Et,Jg];var Br=class extends q{constructor(){super(...arguments);this.orientation=An.ORIENTATION;this.variant=An.VARIANT;this.size=An.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(t=>{t.setAttribute("size",this.size.toString()),t.setAttribute("variant",this.variant)})}updated(t){super.updated(t),(t.has("size")||t.has("variant"))&&this.handleSlotChange()}render(){return L`<slot @slotchange=${this.handleSlotChange}></slot>`}};Br.styles=[...q.styles,...qp],f([g({type:String,reflect:!0})],Br.prototype,"orientation",2),f([g({type:String,reflect:!0})],Br.prototype,"variant",2),f([g({type:Number,reflect:!0})],Br.prototype,"size",2),f([g({type:Boolean,reflect:!0})],Br.prototype,"compact",2),f([Ft({selector:"mdc-button"})],Br.prototype,"buttons",2);var lc=Br;lc.register(Wp);var Qg=lc;var Kp=j.constructTagName("linksimple"),Fo={INLINE:!1,INVERTED:!1};var tb=[Et,H`
|
1306
1306
|
:host {
|
1307
1307
|
--mdc-link-border-radius: 0.25rem;
|
1308
1308
|
--mdc-link-color-active: var(--mds-color-theme-text-accent-active);
|
@@ -1368,11 +1368,11 @@
|
|
1368
1368
|
text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
|
1369
1369
|
text-transform: var(--mds-font-apps-body-large-regular-underline-text-case);
|
1370
1370
|
}
|
1371
|
-
`,...At()],
|
1371
|
+
`,...At()],Xp=tb;var Ur=class extends $t(Ue(q)){constructor(){super(...arguments);this.inline=Fo.INLINE;this.inverted=Fo.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0;this.handleNavigation=t=>{if((t.type==="click"||t instanceof KeyboardEvent&&t.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation),this.addEventListener("keydown",this.handleNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation),this.removeEventListener("keydown",this.handleNavigation)}setDisabled(t){t?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this.disabled)}render(){return L` <slot></slot> `}};Ur.styles=[...q.styles,...Xp],f([g({type:Boolean,reflect:!0})],Ur.prototype,"inline",2),f([g({type:Boolean,reflect:!0})],Ur.prototype,"inverted",2),f([g({type:String,reflect:!0})],Ur.prototype,"href",2),f([g({type:String,reflect:!0})],Ur.prototype,"target",2),f([g({type:String,reflect:!0})],Ur.prototype,"rel",2);var fi=Ur;var $o=class extends xn(fi){constructor(){super(...arguments);this.size=ke.SIZE}setSoftDisabled(t,s){s?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}render(){return L`
|
1372
1372
|
${this.prefixIcon?L` <mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
|
1373
1373
|
<slot @slotchange=${this.inferButtonType}></slot>
|
1374
1374
|
${this.postfixIcon?L` <mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
|
1375
|
-
`}}
|
1375
|
+
`}};$o.styles=[...Hi.styles],f([g({type:Number,reflect:!0})],$o.prototype,"size",2),f([g({type:Boolean,attribute:"soft-disabled",reflect:!0})],$o.prototype,"softDisabled",2);var cc=$o;var Zp=j.constructTagName("buttonlink");cc.register(Zp);var eb=cc;var _n=j.constructTagName("link"),Sn={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},In={LARGE:1,MIDSIZE:.875,SMALL:.75},Jp={LINK_SIZE:Sn.LARGE};var Qp=j.constructTagName("card"),dc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},rb={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ee={VARIANT:dc.BORDER,ORIENTATION:rb.VERTICAL,TITLE_TYPE:ot.HEADING_SMALL_BOLD,SUBTITLE_TYPE:ot.BODY_MIDSIZE_MEDIUM,TAGNAME:vt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:_n,BUTTON:Bi};var kn=l=>{class i extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ee.VARIANT;this.orientation=ee.ORIENTATION;this.titleTagName=ee.TAGNAME;this.subtitleTagName=ee.TAGNAME}renderImage(){return this.imageSrc?L`<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />`:W}renderIcon(){return this.iconName?L`<mdc-icon
|
1376
1376
|
part="icon"
|
1377
1377
|
size="${ee.ICON_SIZE}"
|
1378
1378
|
length-unit="${ee.ICON_LENGTH_UNIT}"
|
@@ -1382,7 +1382,7 @@
|
|
1382
1382
|
${this.subtitle?L`<mdc-text part="subtitle" type="${ee.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
|
1383
1383
|
>${this.subtitle}</mdc-text
|
1384
1384
|
>`:W}
|
1385
|
-
</div>`}}return f([g({type:String,attribute:"card-title",reflect:!0})],i.prototype,"cardTitle",2),f([g({type:String,reflect:!0})],i.prototype,"subtitle",2),f([g({type:String,attribute:"image-src",reflect:!0})],i.prototype,"imageSrc",2),f([g({type:String,attribute:"image-alt",reflect:!0})],i.prototype,"imageAlt",2),f([g({type:String,reflect:!0})],i.prototype,"variant",2),f([g({type:String,reflect:!0})],i.prototype,"orientation",2),f([g({type:String,attribute:"title-tag-name",reflect:!0})],i.prototype,"titleTagName",2),f([g({type:String,attribute:"subtitle-tag-name",reflect:!0})],i.prototype,"subtitleTagName",2),f([g({type:String,attribute:"icon-name",reflect:!0})],i.prototype,"iconName",2),i};var
|
1385
|
+
</div>`}}return f([g({type:String,attribute:"card-title",reflect:!0})],i.prototype,"cardTitle",2),f([g({type:String,reflect:!0})],i.prototype,"subtitle",2),f([g({type:String,attribute:"image-src",reflect:!0})],i.prototype,"imageSrc",2),f([g({type:String,attribute:"image-alt",reflect:!0})],i.prototype,"imageAlt",2),f([g({type:String,reflect:!0})],i.prototype,"variant",2),f([g({type:String,reflect:!0})],i.prototype,"orientation",2),f([g({type:String,attribute:"title-tag-name",reflect:!0})],i.prototype,"titleTagName",2),f([g({type:String,attribute:"subtitle-tag-name",reflect:!0})],i.prototype,"subtitleTagName",2),f([g({type:String,attribute:"icon-name",reflect:!0})],i.prototype,"iconName",2),i};var Cn=l=>{class i extends l{updateFooterButtonColors(s){let n=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];n==null||n.forEach(h=>{s===dc.PROMOTIONAL?h.setAttribute("color",Ui.PROMOTIONAL):h.setAttribute("color",Ui.DEFAULT)})}handleFooterSlot(s,n){var m,x,R;let h=[];s===ee.LINK&&((m=this.footerLink)!=null&&m.length)?h=this.footerLink:s===ee.BUTTON&&n===Bt.PRIMARY&&((x=this.footerButtonPrimary)!=null&&x.length)?h=this.footerButtonPrimary:s===ee.BUTTON&&n===Bt.SECONDARY&&((R=this.footerButtonSecondary)!=null&&R.length)&&(h=this.footerButtonSecondary);for(let $=1;$<h.length;$+=1)h[$].remove();h.forEach($=>{$.matches(s)||$.remove(),n&&$.setAttribute("variant",n)})}renderFooter(){return L` <slot name="footer">
|
1386
1386
|
<div part="footer">
|
1387
1387
|
<slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(ee.LINK)}></slot>
|
1388
1388
|
<slot
|
@@ -1394,7 +1394,7 @@
|
|
1394
1394
|
@slotchange=${()=>this.handleFooterSlot(ee.BUTTON,Bt.PRIMARY)}
|
1395
1395
|
></slot>
|
1396
1396
|
</div>
|
1397
|
-
</slot>`}}return f([Ft({slot:"footer-link"})],i.prototype,"footerLink",2),f([Ft({slot:"footer-button-primary"})],i.prototype,"footerButtonPrimary",2),f([Ft({slot:"footer-button-secondary"})],i.prototype,"footerButtonSecondary",2),i};var
|
1397
|
+
</slot>`}}return f([Ft({slot:"footer-link"})],i.prototype,"footerLink",2),f([Ft({slot:"footer-button-primary"})],i.prototype,"footerButtonPrimary",2),f([Ft({slot:"footer-button-secondary"})],i.prototype,"footerButtonSecondary",2),i};var ib=H`
|
1398
1398
|
:host {
|
1399
1399
|
align-items: flex-start;
|
1400
1400
|
border-radius: 0.5rem;
|
@@ -1484,7 +1484,7 @@
|
|
1484
1484
|
:host::part(text) {
|
1485
1485
|
margin: unset;
|
1486
1486
|
}
|
1487
|
-
`,
|
1487
|
+
`,tm=[Et,ib];var qs=class extends kn(Cn(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;if((t=this.iconButtons)==null||t.forEach(s=>{!s.matches(ee.BUTTON)&&s.getAttribute("data-btn-type")!=="icon"?s.remove():(s.setAttribute("variant",Bt.TERTIARY),s.setAttribute("size","32"))}),this.iconButtons&&this.iconButtons.length>3)for(let s=3;s<this.iconButtons.length;s+=1)this.iconButtons[s].remove()}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?L`<div part="header">
|
1488
1488
|
${this.renderIcon()} ${this.renderTitle()}
|
1489
1489
|
<div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
|
1490
1490
|
</div>`:W}render(){return L`
|
@@ -1496,7 +1496,7 @@
|
|
1496
1496
|
<slot name="after-body"></slot>
|
1497
1497
|
${this.renderFooter()}
|
1498
1498
|
</div>
|
1499
|
-
`}};
|
1499
|
+
`}};qs.styles=[...q.styles,...tm],f([Ft({slot:"icon-button"})],qs.prototype,"iconButtons",2);var lr=qs;lr.register(Qp);var ob=lr;var sb=H`
|
1500
1500
|
:host {
|
1501
1501
|
cursor: pointer;
|
1502
1502
|
user-select: none;
|
@@ -1518,7 +1518,7 @@
|
|
1518
1518
|
:host([disabled])::part(image) {
|
1519
1519
|
opacity: 0.5;
|
1520
1520
|
}
|
1521
|
-
`,
|
1521
|
+
`,em=[sb,...At()];var wn=class extends kn(de){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?L`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:W}render(){return L`
|
1522
1522
|
${this.renderImage()}
|
1523
1523
|
<div part="body">
|
1524
1524
|
${this.renderHeader()}
|
@@ -1526,7 +1526,7 @@
|
|
1526
1526
|
<slot name="body"></slot>
|
1527
1527
|
<slot name="after-body"></slot>
|
1528
1528
|
</div>
|
1529
|
-
`}};
|
1529
|
+
`}};wn.styles=[...lr.styles,...em];var hc=wn;var rm=j.constructTagName("cardbutton");hc.register(rm);var ab=hc;var im=j.constructTagName("cardcheckbox"),pc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Ln={CHECK:"check",CHECKBOX:"checkbox"},Nn={SELECTION_TYPE:Ln.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var nb=H`
|
1530
1530
|
:host {
|
1531
1531
|
cursor: pointer;
|
1532
1532
|
user-select: none;
|
@@ -1583,12 +1583,12 @@
|
|
1583
1583
|
:host([disabled])::part(check-icon) {
|
1584
1584
|
color: var(--mds-color-theme-text-primary-disabled);
|
1585
1585
|
}
|
1586
|
-
`,
|
1586
|
+
`,om=[nb,...At()];var zo=class extends $t(Ue(lr)){constructor(){super();this.checked=!1;this.selectionType=Nn.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=et.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked)}toggleOnEnter(t){t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?pc.CHECKED:pc.DEFAULT;switch(this.selectionType){case Ln.CHECK:return L`<mdc-icon
|
1587
1587
|
part="check check-icon"
|
1588
|
-
size="${
|
1589
|
-
length-unit="${
|
1590
|
-
name="${
|
1591
|
-
></mdc-icon>`;case
|
1588
|
+
size="${Nn.ICON_SIZE}"
|
1589
|
+
length-unit="${Nn.ICON_LENGTH_UNIT}"
|
1590
|
+
name="${t}"
|
1591
|
+
></mdc-icon>`;case Ln.CHECKBOX:return L`<mdc-staticcheckbox
|
1592
1592
|
part="check"
|
1593
1593
|
?checked="${this.checked}"
|
1594
1594
|
?disabled="${this.disabled}"
|
@@ -1600,7 +1600,7 @@
|
|
1600
1600
|
<slot name="body"></slot>
|
1601
1601
|
<slot name="after-body"></slot>
|
1602
1602
|
</div>
|
1603
|
-
`}}
|
1603
|
+
`}};zo.styles=[...lr.styles,...om],f([g({type:Boolean,reflect:!0})],zo.prototype,"checked",2),f([g({type:String,attribute:"selection-type",reflect:!0})],zo.prototype,"selectionType",2);var mc=zo;var lb=[H`
|
1604
1604
|
:host {
|
1605
1605
|
margin: 0.125rem 0;
|
1606
1606
|
border-radius: 0.125rem;
|
@@ -1656,15 +1656,15 @@
|
|
1656
1656
|
border: 0.0625rem solid var(--mdc-staticcheckbox-border-color);
|
1657
1657
|
}
|
1658
1658
|
}
|
1659
|
-
`],
|
1659
|
+
`],sm=lb;var am=j.constructTagName("checkbox"),Rn={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var nm=j.constructTagName("staticcheckbox");var Vo=class extends $t(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?L`
|
1660
1660
|
<mdc-icon
|
1661
1661
|
class="icon"
|
1662
|
-
name="${this.indeterminate?
|
1662
|
+
name="${this.indeterminate?Rn.INDETERMINATE:Rn.CHECKED}"
|
1663
1663
|
size="1"
|
1664
1664
|
length-unit="rem"
|
1665
1665
|
></mdc-icon>
|
1666
1666
|
`:W;return L`<slot></slot>
|
1667
|
-
<div part="icon-container">${
|
1667
|
+
<div part="icon-container">${t}</div>`}};Vo.styles=[...q.styles,...sm],f([g({type:Boolean,reflect:!0})],Vo.prototype,"checked",2),f([g({type:Boolean,reflect:!0})],Vo.prototype,"indeterminate",2);var uc=Vo;uc.register(nm);var cb=uc;mc.register(im);var db=mc;var hb=H`
|
1668
1668
|
:host {
|
1669
1669
|
cursor: pointer;
|
1670
1670
|
user-select: none;
|
@@ -1717,7 +1717,7 @@
|
|
1717
1717
|
:host([disabled])::part(image) {
|
1718
1718
|
opacity: 0.5;
|
1719
1719
|
}
|
1720
|
-
`,
|
1720
|
+
`,lm=[hb,...At()];var Bo=class extends $t(Ue(lr)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=et.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled)return;this.getAllCardsWithinSameGroup().forEach(s=>{s.checked=!1}),this.checked=!0}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,s){t[s].focus(),t[s].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let n=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(h+1)%n.length;this.updateCardRadio(n,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(h-1+n.length)%n.length;this.updateCardRadio(n,m)}t.key===Q.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Q.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?L`<div part="header">
|
1721
1721
|
${this.renderIcon()} ${this.renderTitle()}
|
1722
1722
|
<mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
|
1723
1723
|
</div>`:W}render(){return L`
|
@@ -1728,7 +1728,7 @@
|
|
1728
1728
|
<slot name="body"></slot>
|
1729
1729
|
<slot name="after-body"></slot>
|
1730
1730
|
</div>
|
1731
|
-
`}};
|
1731
|
+
`}};Bo.styles=[...lr.styles,...lm],f([g({type:Boolean,reflect:!0})],Bo.prototype,"checked",2),f([g({type:String})],Bo.prototype,"name",2);var fc=Bo;var Mn=j.constructTagName("cardradio");var pb=[H`
|
1732
1732
|
:host {
|
1733
1733
|
display: block;
|
1734
1734
|
position: relative;
|
@@ -1811,8 +1811,8 @@
|
|
1811
1811
|
:host([readonly][checked]) .icon:after {
|
1812
1812
|
background-color: var(--mdc-staticradio-text-disabled-color);
|
1813
1813
|
}
|
1814
|
-
`],
|
1815
|
-
<span part="radio-icon" class="icon"></span>`}};Bo.styles=[...q.styles,...em],f([g({type:Boolean,reflect:!0})],Bo.prototype,"checked",2),f([g({type:Boolean,reflect:!0})],Bo.prototype,"readonly",2);var dc=Bo;var rm=j.constructTagName("staticradio");dc.register(rm);var ob=dc;cc.register(wn);var sb=cc;var Tr=Math.min,fe=Math.max,qs=Math.round,Ks=Math.floor,cr=l=>({x:l,y:l}),ab={left:"right",right:"left",bottom:"top",top:"bottom"},nb={start:"end",end:"start"};function Nn(l,i,e){return fe(l,Tr(i,e))}function Hi(l,i){return typeof l=="function"?l(i):l}function Br(l){return l.split("-")[0]}function ji(l){return l.split("-")[1]}function hc(l){return l==="x"?"y":"x"}function Rn(l){return l==="y"?"height":"width"}function fi(l){return["top","bottom"].includes(Br(l))?"y":"x"}function Mn(l){return hc(fi(l))}function im(l,i,e){e===void 0&&(e=!1);let s=ji(l),n=Mn(l),h=Rn(n),m=n==="x"?s===(e?"end":"start")?"right":"left":s==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=Ws(m)),[m,Ws(m)]}function om(l){let i=Ws(l);return[Ln(l),i,Ln(i)]}function Ln(l){return l.replace(/start|end/g,i=>nb[i])}function lb(l,i,e){let s=["left","right"],n=["right","left"],h=["top","bottom"],m=["bottom","top"];switch(l){case"top":case"bottom":return e?i?n:s:i?s:n;case"left":case"right":return i?h:m;default:return[]}}function sm(l,i,e,s){let n=ji(l),h=lb(Br(l),e==="start",s);return n&&(h=h.map(m=>m+"-"+n),i&&(h=h.concat(h.map(Ln)))),h}function Ws(l){return l.replace(/left|right|bottom|top/g,i=>ab[i])}function cb(l){return{top:0,right:0,bottom:0,left:0,...l}}function pc(l){return typeof l!="number"?cb(l):{top:l,right:l,bottom:l,left:l}}function Yi(l){let{x:i,y:e,width:s,height:n}=l;return{width:s,height:n,top:e,left:i,right:i+s,bottom:e+n,x:i,y:e}}function am(l,i,e){let{reference:s,floating:n}=l,h=fi(i),m=Mn(i),x=Rn(m),R=Br(i),$=h==="y",Y=s.x+s.width/2-n.width/2,K=s.y+s.height/2-n.height/2,at=s[x]/2-n[x]/2,J;switch(R){case"top":J={x:Y,y:s.y-n.height};break;case"bottom":J={x:Y,y:s.y+s.height};break;case"right":J={x:s.x+s.width,y:K};break;case"left":J={x:s.x-n.width,y:K};break;default:J={x:s.x,y:s.y}}switch(ji(i)){case"start":J[m]-=at*(e&&$?-1:1);break;case"end":J[m]+=at*(e&&$?-1:1);break}return J}var nm=async(l,i,e)=>{let{placement:s="bottom",strategy:n="absolute",middleware:h=[],platform:m}=e,x=h.filter(Boolean),R=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:n}),{x:Y,y:K}=am($,s,R),at=s,J={},et=0;for(let ht=0;ht<x.length;ht++){let{name:Tt,fn:yt}=x[ht],{x:xt,y:kt,data:Gt,reset:Ot}=await yt({x:Y,y:K,initialPlacement:s,placement:at,strategy:n,middlewareData:J,rects:$,platform:m,elements:{reference:l,floating:i}});Y=xt!=null?xt:Y,K=kt!=null?kt:K,J={...J,[Tt]:{...J[Tt],...Gt}},Ot&&et<=50&&(et++,typeof Ot=="object"&&(Ot.placement&&(at=Ot.placement),Ot.rects&&($=Ot.rects===!0?await m.getElementRects({reference:l,floating:i,strategy:n}):Ot.rects),{x:Y,y:K}=am($,at,R)),ht=-1)}return{x:Y,y:K,placement:at,strategy:n,middlewareData:J}};async function On(l,i){var e;i===void 0&&(i={});let{x:s,y:n,platform:h,rects:m,elements:x,strategy:R}=l,{boundary:$="clippingAncestors",rootBoundary:Y="viewport",elementContext:K="floating",altBoundary:at=!1,padding:J=0}=Hi(i,l),et=pc(J),Tt=x[at?K==="floating"?"reference":"floating":K],yt=Yi(await h.getClippingRect({element:(e=await(h.isElement==null?void 0:h.isElement(Tt)))==null||e?Tt:Tt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(x.floating)),boundary:$,rootBoundary:Y,strategy:R})),xt=K==="floating"?{x:s,y:n,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(x.floating)),Gt=await(h.isElement==null?void 0:h.isElement(kt))?await(h.getScale==null?void 0:h.getScale(kt))||{x:1,y:1}:{x:1,y:1},Ot=Yi(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:x,rect:xt,offsetParent:kt,strategy:R}):xt);return{top:(yt.top-Ot.top+et.top)/Gt.y,bottom:(Ot.bottom-yt.bottom+et.bottom)/Gt.y,left:(yt.left-Ot.left+et.left)/Gt.x,right:(Ot.right-yt.right+et.right)/Gt.x}}var lm=l=>({name:"arrow",options:l,async fn(i){let{x:e,y:s,placement:n,rects:h,platform:m,elements:x,middlewareData:R}=i,{element:$,padding:Y=0}=Hi(l,i)||{};if($==null)return{};let K=pc(Y),at={x:e,y:s},J=Mn(n),et=Rn(J),ht=await m.getDimensions($),Tt=J==="y",yt=Tt?"top":"left",xt=Tt?"bottom":"right",kt=Tt?"clientHeight":"clientWidth",Gt=h.reference[et]+h.reference[J]-at[J]-h.floating[et],Ot=at[J]-h.reference[J],Dt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),Ee=Dt?Dt[kt]:0;(!Ee||!await(m.isElement==null?void 0:m.isElement(Dt)))&&(Ee=x.floating[kt]||h.floating[et]);let re=Gt/2-Ot/2,Qe=Ee/2-ht[et]/2-1,Ne=Tr(K[yt],Qe),Fe=Tr(K[xt],Qe),tr=Ne,er=Ee-ht[et]-Fe,_t=Ee/2-ht[et]/2+re,pe=Nn(tr,_t,er),$e=!R.arrow&&ji(n)!=null&&_t!==pe&&h.reference[et]/2-(_t<tr?Ne:Fe)-ht[et]/2<0,rr=$e?_t<tr?_t-tr:_t-er:0;return{[J]:at[J]+rr,data:{[J]:pe,centerOffset:_t-pe-rr,...$e&&{alignmentOffset:rr}},reset:$e}}});var cm=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(i){var e,s;let{placement:n,middlewareData:h,rects:m,initialPlacement:x,platform:R,elements:$}=i,{mainAxis:Y=!0,crossAxis:K=!0,fallbackPlacements:at,fallbackStrategy:J="bestFit",fallbackAxisSideDirection:et="none",flipAlignment:ht=!0,...Tt}=Hi(l,i);if((e=h.arrow)!=null&&e.alignmentOffset)return{};let yt=Br(n),xt=fi(x),kt=Br(x)===x,Gt=await(R.isRTL==null?void 0:R.isRTL($.floating)),Ot=at||(kt||!ht?[Ws(x)]:om(x)),Dt=et!=="none";!at&&Dt&&Ot.push(...sm(x,ht,et,Gt));let Ee=[x,...Ot],re=await On(i,Tt),Qe=[],Ne=((s=h.flip)==null?void 0:s.overflows)||[];if(Y&&Qe.push(re[yt]),K){let _t=im(n,m,Gt);Qe.push(re[_t[0]],re[_t[1]])}if(Ne=[...Ne,{placement:n,overflows:Qe}],!Qe.every(_t=>_t<=0)){var Fe,tr;let _t=(((Fe=h.flip)==null?void 0:Fe.index)||0)+1,pe=Ee[_t];if(pe)return{data:{index:_t,overflows:Ne},reset:{placement:pe}};let $e=(tr=Ne.filter(rr=>rr.overflows[0]<=0).sort((rr,_r)=>rr.overflows[1]-_r.overflows[1])[0])==null?void 0:tr.placement;if(!$e)switch(J){case"bestFit":{var er;let rr=(er=Ne.filter(_r=>{if(Dt){let ze=fi(_r.placement);return ze===xt||ze==="y"}return!0}).map(_r=>[_r.placement,_r.overflows.filter(ze=>ze>0).reduce((ze,xa)=>ze+xa,0)]).sort((_r,ze)=>_r[1]-ze[1])[0])==null?void 0:er[0];rr&&($e=rr);break}case"initialPlacement":$e=x;break}if(n!==$e)return{reset:{placement:$e}}}return{}}}};async function db(l,i){let{placement:e,platform:s,elements:n}=l,h=await(s.isRTL==null?void 0:s.isRTL(n.floating)),m=Br(e),x=ji(e),R=fi(e)==="y",$=["left","top"].includes(m)?-1:1,Y=h&&R?-1:1,K=Hi(i,l),{mainAxis:at,crossAxis:J,alignmentAxis:et}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return x&&typeof et=="number"&&(J=x==="end"?et*-1:et),R?{x:J*Y,y:at*$}:{x:at*$,y:J*Y}}var dm=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(i){var e,s;let{x:n,y:h,placement:m,middlewareData:x}=i,R=await db(i,l);return m===((e=x.offset)==null?void 0:e.placement)&&(s=x.arrow)!=null&&s.alignmentOffset?{}:{x:n+R.x,y:h+R.y,data:{...R,placement:m}}}}},hm=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(i){let{x:e,y:s,placement:n}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:x={fn:Tt=>{let{x:yt,y:xt}=Tt;return{x:yt,y:xt}}},...R}=Hi(l,i),$={x:e,y:s},Y=await On(i,R),K=fi(Br(n)),at=hc(K),J=$[at],et=$[K];if(h){let Tt=at==="y"?"top":"left",yt=at==="y"?"bottom":"right",xt=J+Y[Tt],kt=J-Y[yt];J=Nn(xt,J,kt)}if(m){let Tt=K==="y"?"top":"left",yt=K==="y"?"bottom":"right",xt=et+Y[Tt],kt=et-Y[yt];et=Nn(xt,et,kt)}let ht=x.fn({...i,[at]:J,[K]:et});return{...ht,data:{x:ht.x-e,y:ht.y-s,enabled:{[at]:h,[K]:m}}}}}};var pm=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(i){var e,s;let{placement:n,rects:h,platform:m,elements:x}=i,{apply:R=()=>{},...$}=Hi(l,i),Y=await On(i,$),K=Br(n),at=ji(n),J=fi(n)==="y",{width:et,height:ht}=h.floating,Tt,yt;K==="top"||K==="bottom"?(Tt=K,yt=at===(await(m.isRTL==null?void 0:m.isRTL(x.floating))?"start":"end")?"left":"right"):(yt=K,Tt=at==="end"?"top":"bottom");let xt=ht-Y.top-Y.bottom,kt=et-Y.left-Y.right,Gt=Tr(ht-Y[Tt],xt),Ot=Tr(et-Y[yt],kt),Dt=!i.middlewareData.shift,Ee=Gt,re=Ot;if((e=i.middlewareData.shift)!=null&&e.enabled.x&&(re=kt),(s=i.middlewareData.shift)!=null&&s.enabled.y&&(Ee=xt),Dt&&!at){let Ne=fe(Y.left,0),Fe=fe(Y.right,0),tr=fe(Y.top,0),er=fe(Y.bottom,0);J?re=et-2*(Ne!==0||Fe!==0?Ne+Fe:fe(Y.left,Y.right)):Ee=ht-2*(tr!==0||er!==0?tr+er:fe(Y.top,Y.bottom))}await R({...i,availableWidth:re,availableHeight:Ee});let Qe=await m.getDimensions(x.floating);return et!==Qe.width||ht!==Qe.height?{reset:{rects:!0}}:{}}}};function Pn(){return typeof window<"u"}function Wi(l){return um(l)?(l.nodeName||"").toLowerCase():"#document"}function Ce(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function dr(l){var i;return(i=(um(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function um(l){return Pn()?l instanceof Node||l instanceof Ce(l).Node:!1}function He(l){return Pn()?l instanceof Element||l instanceof Ce(l).Element:!1}function hr(l){return Pn()?l instanceof HTMLElement||l instanceof Ce(l).HTMLElement:!1}function mm(l){return!Pn()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Ce(l).ShadowRoot}function Go(l){let{overflow:i,overflowX:e,overflowY:s,display:n}=je(l);return/auto|scroll|overlay|hidden|clip/.test(i+s+e)&&!["inline","contents"].includes(n)}function fm(l){return["table","td","th"].includes(Wi(l))}function Xs(l){return[":popover-open",":modal"].some(i=>{try{return l.matches(i)}catch{return!1}})}function Dn(l){let i=Fn(),e=He(l)?je(l):l;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!i&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!i&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(e.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(e.contain||"").includes(s))}function vm(l){let i=Ur(l);for(;hr(i)&&!qi(i);){if(Dn(i))return i;if(Xs(i))return null;i=Ur(i)}return null}function Fn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function qi(l){return["html","body","#document"].includes(Wi(l))}function je(l){return Ce(l).getComputedStyle(l)}function Zs(l){return He(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Ur(l){if(Wi(l)==="html")return l;let i=l.assignedSlot||l.parentNode||mm(l)&&l.host||dr(l);return mm(i)?i.host:i}function gm(l){let i=Ur(l);return qi(i)?l.ownerDocument?l.ownerDocument.body:l.body:hr(i)&&Go(i)?i:gm(i)}function Uo(l,i,e){var s;i===void 0&&(i=[]),e===void 0&&(e=!0);let n=gm(l),h=n===((s=l.ownerDocument)==null?void 0:s.body),m=Ce(n);if(h){let x=$n(m);return i.concat(m,m.visualViewport||[],Go(n)?n:[],x&&e?Uo(x):[])}return i.concat(n,Uo(n,[],e))}function $n(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function Em(l){let i=je(l),e=parseFloat(i.width)||0,s=parseFloat(i.height)||0,n=hr(l),h=n?l.offsetWidth:e,m=n?l.offsetHeight:s,x=qs(e)!==h||qs(s)!==m;return x&&(e=h,s=m),{width:e,height:s,$:x}}function uc(l){return He(l)?l:l.contextElement}function Ho(l){let i=uc(l);if(!hr(i))return cr(1);let e=i.getBoundingClientRect(),{width:s,height:n,$:h}=Em(i),m=(h?qs(e.width):e.width)/s,x=(h?qs(e.height):e.height)/n;return(!m||!Number.isFinite(m))&&(m=1),(!x||!Number.isFinite(x))&&(x=1),{x:m,y:x}}var hb=cr(0);function Tm(l){let i=Ce(l);return!Fn()||!i.visualViewport?hb:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function pb(l,i,e){return i===void 0&&(i=!1),!e||i&&e!==Ce(l)?!1:i}function Ki(l,i,e,s){i===void 0&&(i=!1),e===void 0&&(e=!1);let n=l.getBoundingClientRect(),h=uc(l),m=cr(1);i&&(s?He(s)&&(m=Ho(s)):m=Ho(l));let x=pb(h,e,s)?Tm(h):cr(0),R=(n.left+x.x)/m.x,$=(n.top+x.y)/m.y,Y=n.width/m.x,K=n.height/m.y;if(h){let at=Ce(h),J=s&&He(s)?Ce(s):s,et=at,ht=$n(et);for(;ht&&s&&J!==et;){let Tt=Ho(ht),yt=ht.getBoundingClientRect(),xt=je(ht),kt=yt.left+(ht.clientLeft+parseFloat(xt.paddingLeft))*Tt.x,Gt=yt.top+(ht.clientTop+parseFloat(xt.paddingTop))*Tt.y;R*=Tt.x,$*=Tt.y,Y*=Tt.x,K*=Tt.y,R+=kt,$+=Gt,et=Ce(ht),ht=$n(et)}}return Yi({width:Y,height:K,x:R,y:$})}function fc(l,i){let e=Zs(l).scrollLeft;return i?i.left+e:Ki(dr(l)).left+e}function xm(l,i,e){e===void 0&&(e=!1);let s=l.getBoundingClientRect(),n=s.left+i.scrollLeft-(e?0:fc(l,s)),h=s.top+i.scrollTop;return{x:n,y:h}}function mb(l){let{elements:i,rect:e,offsetParent:s,strategy:n}=l,h=n==="fixed",m=dr(s),x=i?Xs(i.floating):!1;if(s===m||x&&h)return e;let R={scrollLeft:0,scrollTop:0},$=cr(1),Y=cr(0),K=hr(s);if((K||!K&&!h)&&((Wi(s)!=="body"||Go(m))&&(R=Zs(s)),hr(s))){let J=Ki(s);$=Ho(s),Y.x=J.x+s.clientLeft,Y.y=J.y+s.clientTop}let at=m&&!K&&!h?xm(m,R,!0):cr(0);return{width:e.width*$.x,height:e.height*$.y,x:e.x*$.x-R.scrollLeft*$.x+Y.x+at.x,y:e.y*$.y-R.scrollTop*$.y+Y.y+at.y}}function ub(l){return Array.from(l.getClientRects())}function fb(l){let i=dr(l),e=Zs(l),s=l.ownerDocument.body,n=fe(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),h=fe(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight),m=-e.scrollLeft+fc(l),x=-e.scrollTop;return je(s).direction==="rtl"&&(m+=fe(i.clientWidth,s.clientWidth)-n),{width:n,height:h,x:m,y:x}}function vb(l,i){let e=Ce(l),s=dr(l),n=e.visualViewport,h=s.clientWidth,m=s.clientHeight,x=0,R=0;if(n){h=n.width,m=n.height;let $=Fn();(!$||$&&i==="fixed")&&(x=n.offsetLeft,R=n.offsetTop)}return{width:h,height:m,x,y:R}}function gb(l,i){let e=Ki(l,!0,i==="fixed"),s=e.top+l.clientTop,n=e.left+l.clientLeft,h=hr(l)?Ho(l):cr(1),m=l.clientWidth*h.x,x=l.clientHeight*h.y,R=n*h.x,$=s*h.y;return{width:m,height:x,x:R,y:$}}function bm(l,i,e){let s;if(i==="viewport")s=vb(l,e);else if(i==="document")s=fb(dr(l));else if(He(i))s=gb(i,e);else{let n=Tm(l);s={x:i.x-n.x,y:i.y-n.y,width:i.width,height:i.height}}return Yi(s)}function Am(l,i){let e=Ur(l);return e===i||!He(e)||qi(e)?!1:je(e).position==="fixed"||Am(e,i)}function bb(l,i){let e=i.get(l);if(e)return e;let s=Uo(l,[],!1).filter(x=>He(x)&&Wi(x)!=="body"),n=null,h=je(l).position==="fixed",m=h?Ur(l):l;for(;He(m)&&!qi(m);){let x=je(m),R=Dn(m);!R&&x.position==="fixed"&&(n=null),(h?!R&&!n:!R&&x.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Go(m)&&!R&&Am(l,m))?s=s.filter(Y=>Y!==m):n=x,m=Ur(m)}return i.set(l,s),s}function yb(l){let{element:i,boundary:e,rootBoundary:s,strategy:n}=l,m=[...e==="clippingAncestors"?Xs(i)?[]:bb(i,this._c):[].concat(e),s],x=m[0],R=m.reduce(($,Y)=>{let K=bm(i,Y,n);return $.top=fe(K.top,$.top),$.right=Tr(K.right,$.right),$.bottom=Tr(K.bottom,$.bottom),$.left=fe(K.left,$.left),$},bm(i,x,n));return{width:R.right-R.left,height:R.bottom-R.top,x:R.left,y:R.top}}function Eb(l){let{width:i,height:e}=Em(l);return{width:i,height:e}}function Tb(l,i,e){let s=hr(i),n=dr(i),h=e==="fixed",m=Ki(l,!0,h,i),x={scrollLeft:0,scrollTop:0},R=cr(0);if(s||!s&&!h)if((Wi(i)!=="body"||Go(n))&&(x=Zs(i)),s){let at=Ki(i,!0,h,i);R.x=at.x+i.clientLeft,R.y=at.y+i.clientTop}else n&&(R.x=fc(n));let $=n&&!s&&!h?xm(n,x):cr(0),Y=m.left+x.scrollLeft-R.x-$.x,K=m.top+x.scrollTop-R.y-$.y;return{x:Y,y:K,width:m.width,height:m.height}}function mc(l){return je(l).position==="static"}function ym(l,i){if(!hr(l)||je(l).position==="fixed")return null;if(i)return i(l);let e=l.offsetParent;return dr(l)===e&&(e=e.ownerDocument.body),e}function _m(l,i){let e=Ce(l);if(Xs(l))return e;if(!hr(l)){let n=Ur(l);for(;n&&!qi(n);){if(He(n)&&!mc(n))return n;n=Ur(n)}return e}let s=ym(l,i);for(;s&&fm(s)&&mc(s);)s=ym(s,i);return s&&qi(s)&&mc(s)&&!Dn(s)?e:s||vm(l)||e}var xb=async function(l){let i=this.getOffsetParent||_m,e=this.getDimensions,s=await e(l.floating);return{reference:Tb(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Ab(l){return je(l).direction==="rtl"}var _b={convertOffsetParentRelativeRectToViewportRelativeRect:mb,getDocumentElement:dr,getClippingRect:yb,getOffsetParent:_m,getElementRects:xb,getClientRects:ub,getDimensions:Eb,getScale:Ho,isElement:He,isRTL:Ab};function Sb(l,i){let e=null,s,n=dr(l);function h(){var x;clearTimeout(s),(x=e)==null||x.disconnect(),e=null}function m(x,R){x===void 0&&(x=!1),R===void 0&&(R=1),h();let{left:$,top:Y,width:K,height:at}=l.getBoundingClientRect();if(x||i(),!K||!at)return;let J=Ks(Y),et=Ks(n.clientWidth-($+K)),ht=Ks(n.clientHeight-(Y+at)),Tt=Ks($),xt={rootMargin:-J+"px "+-et+"px "+-ht+"px "+-Tt+"px",threshold:fe(0,Tr(1,R))||1},kt=!0;function Gt(Ot){let Dt=Ot[0].intersectionRatio;if(Dt!==R){if(!kt)return m();Dt?m(!1,Dt):s=setTimeout(()=>{m(!1,1e-7)},1e3)}kt=!1}try{e=new IntersectionObserver(Gt,{...xt,root:n.ownerDocument})}catch{e=new IntersectionObserver(Gt,xt)}e.observe(l)}return m(!0),h}function Sm(l,i,e,s){s===void 0&&(s={});let{ancestorScroll:n=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:x=typeof IntersectionObserver=="function",animationFrame:R=!1}=s,$=uc(l),Y=n||h?[...$?Uo($):[],...Uo(i)]:[];Y.forEach(yt=>{n&&yt.addEventListener("scroll",e,{passive:!0}),h&&yt.addEventListener("resize",e)});let K=$&&x?Sb($,e):null,at=-1,J=null;m&&(J=new ResizeObserver(yt=>{let[xt]=yt;xt&&xt.target===$&&J&&(J.unobserve(i),cancelAnimationFrame(at),at=requestAnimationFrame(()=>{var kt;(kt=J)==null||kt.observe(i)})),e()}),$&&!R&&J.observe($),J.observe(i));let et,ht=R?Ki(l):null;R&&Tt();function Tt(){let yt=Ki(l);ht&&(yt.x!==ht.x||yt.y!==ht.y||yt.width!==ht.width||yt.height!==ht.height)&&e(),ht=yt,et=requestAnimationFrame(Tt)}return e(),()=>{var yt;Y.forEach(xt=>{n&&xt.removeEventListener("scroll",e),h&&xt.removeEventListener("resize",e)}),K==null||K(),(yt=J)==null||yt.disconnect(),J=null,R&&cancelAnimationFrame(et)}}var Im=dm;var km=hm,Cm=cm,wm=pm;var Lm=lm;var Nm=(l,i,e)=>{let s=new Map,n={platform:_b,...e},h={...n.platform,_c:s};return nm(l,i,{...n,platform:h})};var jo=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(i){this.currentKeydownListener=i,document.addEventListener("keydown",i)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(i){this.stackArray.forEach(e=>{e!==i&&e.setIsFocusTrapActivated(!1)}),this.stack.add(i),this.removeKeydownListener(),this.addKeydownListener(i.handleTabKeydown.bind(i))}static deactivate(i){if(this.stack.has(i)&&(this.stack.delete(i),this.removeKeydownListener(),this.stack.size>0)){let e=this.stackArray.pop();e&&(e.setIsFocusTrapActivated(!0),this.addKeydownListener(e.handleTabKeydown.bind(e)))}}};jo.stack=new Set,jo.currentKeydownListener=null;var zn=l=>{class i extends l{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(n){this.isFocusTrapActivated=n}activateFocusTrap(){this.setIsFocusTrapActivated(!0),jo.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),jo.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(n){return n.getClientRects().length===0}hasZeroDimensions(n){let{width:h,height:m}=n.getBoundingClientRect(),{offsetWidth:x,offsetHeight:R}=n;return x+R+m+h===0}isNotVisible(n){return this.hasZeroDimensions(n)||this.hasNoClientRects(n)}hasHiddenStyle(n){let{display:h,opacity:m,visibility:x}=n.style;return h==="none"||m==="0"||x==="hidden"||x==="collapse"}hasComputedHidden(n){let h=getComputedStyle(n);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(n){return n.hasAttribute("hidden")||n.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(n)||this.isNotVisible(n)||this.hasComputedHidden(n)}isDisabled(n){return n.disabled}isNotTabbable(n){return n.getAttribute("tabindex")==="-1"}isInteractiveElement(n){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(n.tagName)||n instanceof HTMLAnchorElement&&n.hasAttribute("href")||n instanceof HTMLInputElement&&n.type!=="hidden"||(n instanceof HTMLAudioElement||n instanceof HTMLVideoElement)&&n.hasAttribute("controls")||(n instanceof HTMLImageElement||n instanceof HTMLObjectElement)&&n.hasAttribute("usemap")||n.hasAttribute("tabindex")&&n.tabIndex>-1)}isFocusable(n){return this.isHidden(n)||this.isNotTabbable(n)||this.isDisabled(n)?!1:this.isInteractiveElement(n)}findFocusable(n,h=new Set){return n instanceof HTMLElement&&this.isFocusable(n)&&h.add(n),Array.from(n.children).forEach(x=>{let R=x;this.isFocusable(R)&&h.add(R),R.shadowRoot?this.findFocusable(R.shadowRoot,h):R.tagName==="SLOT"?R.assignedElements({flatten:!0}).forEach(Y=>{Y instanceof HTMLElement&&this.findFocusable(Y,h)}):this.findFocusable(R,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(n=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[n]&&(this.focusTrapIndex=n,this.focusableElements[n].focus({preventScroll:!0}))}calculateNextIndex(n,h){let{length:m}=this.focusableElements;if(n===-1)return h>0?0:m-1;let x=n+h;return this.shouldFocusTrapWrap?(x<0&&(x=m-1),x>=m&&(x=0)):(x<0&&(x=0),x>=m&&(x=m-1)),x}getDeepActiveElement(){var h;let n=document.activeElement||document.body;for(;n instanceof HTMLElement&&((h=n.shadowRoot)!=null&&h.activeElement);)n=n.shadowRoot.activeElement;return n||document.body}findElement(n){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(n,h))}isEqualFocusNode(n,h){return n.nodeType>=0?h.isEqualNode(n)&&h===n:!1}trapFocus(n){if(this.setFocusableElements(),this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),m=this.findElement(h);n.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let R=this.focusableElements[this.focusTrapIndex];R.tagName!=="IFRAME"&&R&&(n.preventDefault(),R.focus())}handleTabKeydown(n){this.isFocusTrapActivated&&n.key==="Tab"&&this.trapFocus(n)}}return f([g({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],i.prototype,"shouldFocusTrapWrap",2),i};var Vn=l=>{class i extends l{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return i};var Rm=j.constructTagName("popover"),Ut={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},Xi={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Zi={TONAL:"tonal",CONTRAST:"contrast"},Nt={PLACEMENT:Ut.BOTTOM,TRIGGER:Xi.CLICK,COLOR:Zi.TONAL,OFFSET:4,BOUNDARY:"clippingAncestors",BOUNDARY_ROOT:"viewport",BOUNDARY_PADDING:0,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,DISABLE_ARIA_HAS_POPUP:!1,PROPAGATE_EVENT_ON_ESCAPE:!1};var Gr=class{static dispatchPopoverEvent(i,e){e.dispatchEvent(new CustomEvent(i,{detail:{show:e.visible},composed:!0,bubbles:!0}))}static onShowPopover(i){this.dispatchPopoverEvent("shown",i)}static onHidePopover(i){this.dispatchPopoverEvent("hidden",i)}static onCreatedPopover(i){this.dispatchPopoverEvent("created",i)}static onDestroyedPopover(i){this.dispatchPopoverEvent("destroyed",i)}static onEscapeKeyPressed(i){this.dispatchPopoverEvent("closebyescape",i)}static onClickOutside(i){this.dispatchPopoverEvent("closebyoutsideclick",i)}};var vc=class{constructor(){this.stack=[]}push(i){this.stack.push(i)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(i){this.stack=this.stack.filter(e=>e!==i)}has(i){return this.stack.includes(i)}clear(){this.stack=[]}},ve=new vc;var Ib=H`
|
1814
|
+
`],cm=pb;var Uo=class extends $t(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return L` <slot></slot>
|
1815
|
+
<span part="radio-icon" class="icon"></span>`}};Uo.styles=[...q.styles,...cm],f([g({type:Boolean,reflect:!0})],Uo.prototype,"checked",2),f([g({type:Boolean,reflect:!0})],Uo.prototype,"readonly",2);var vc=Uo;var dm=j.constructTagName("staticradio");vc.register(dm);var mb=vc;fc.register(Mn);var ub=fc;var Ar=Math.min,fe=Math.max,Xs=Math.round,Zs=Math.floor,cr=l=>({x:l,y:l}),fb={left:"right",right:"left",bottom:"top",top:"bottom"},vb={start:"end",end:"start"};function Pn(l,i,t){return fe(l,Ar(i,t))}function ji(l,i){return typeof l=="function"?l(i):l}function Gr(l){return l.split("-")[0]}function Yi(l){return l.split("-")[1]}function gc(l){return l==="x"?"y":"x"}function Dn(l){return l==="y"?"height":"width"}function vi(l){return["top","bottom"].includes(Gr(l))?"y":"x"}function Fn(l){return gc(vi(l))}function hm(l,i,t){t===void 0&&(t=!1);let s=Yi(l),n=Fn(l),h=Dn(n),m=n==="x"?s===(t?"end":"start")?"right":"left":s==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=Ks(m)),[m,Ks(m)]}function pm(l){let i=Ks(l);return[On(l),i,On(i)]}function On(l){return l.replace(/start|end/g,i=>vb[i])}function gb(l,i,t){let s=["left","right"],n=["right","left"],h=["top","bottom"],m=["bottom","top"];switch(l){case"top":case"bottom":return t?i?n:s:i?s:n;case"left":case"right":return i?h:m;default:return[]}}function mm(l,i,t,s){let n=Yi(l),h=gb(Gr(l),t==="start",s);return n&&(h=h.map(m=>m+"-"+n),i&&(h=h.concat(h.map(On)))),h}function Ks(l){return l.replace(/left|right|bottom|top/g,i=>fb[i])}function bb(l){return{top:0,right:0,bottom:0,left:0,...l}}function bc(l){return typeof l!="number"?bb(l):{top:l,right:l,bottom:l,left:l}}function Wi(l){let{x:i,y:t,width:s,height:n}=l;return{width:s,height:n,top:t,left:i,right:i+s,bottom:t+n,x:i,y:t}}function um(l,i,t){let{reference:s,floating:n}=l,h=vi(i),m=Fn(i),x=Dn(m),R=Gr(i),$=h==="y",Y=s.x+s.width/2-n.width/2,K=s.y+s.height/2-n.height/2,at=s[x]/2-n[x]/2,J;switch(R){case"top":J={x:Y,y:s.y-n.height};break;case"bottom":J={x:Y,y:s.y+s.height};break;case"right":J={x:s.x+s.width,y:K};break;case"left":J={x:s.x-n.width,y:K};break;default:J={x:s.x,y:s.y}}switch(Yi(i)){case"start":J[m]-=at*(t&&$?-1:1);break;case"end":J[m]+=at*(t&&$?-1:1);break}return J}var fm=async(l,i,t)=>{let{placement:s="bottom",strategy:n="absolute",middleware:h=[],platform:m}=t,x=h.filter(Boolean),R=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:n}),{x:Y,y:K}=um($,s,R),at=s,J={},rt=0;for(let ht=0;ht<x.length;ht++){let{name:Tt,fn:yt}=x[ht],{x:xt,y:kt,data:Gt,reset:Ot}=await yt({x:Y,y:K,initialPlacement:s,placement:at,strategy:n,middlewareData:J,rects:$,platform:m,elements:{reference:l,floating:i}});Y=xt!=null?xt:Y,K=kt!=null?kt:K,J={...J,[Tt]:{...J[Tt],...Gt}},Ot&&rt<=50&&(rt++,typeof Ot=="object"&&(Ot.placement&&(at=Ot.placement),Ot.rects&&($=Ot.rects===!0?await m.getElementRects({reference:l,floating:i,strategy:n}):Ot.rects),{x:Y,y:K}=um($,at,R)),ht=-1)}return{x:Y,y:K,placement:at,strategy:n,middlewareData:J}};async function $n(l,i){var t;i===void 0&&(i={});let{x:s,y:n,platform:h,rects:m,elements:x,strategy:R}=l,{boundary:$="clippingAncestors",rootBoundary:Y="viewport",elementContext:K="floating",altBoundary:at=!1,padding:J=0}=ji(i,l),rt=bc(J),Tt=x[at?K==="floating"?"reference":"floating":K],yt=Wi(await h.getClippingRect({element:(t=await(h.isElement==null?void 0:h.isElement(Tt)))==null||t?Tt:Tt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(x.floating)),boundary:$,rootBoundary:Y,strategy:R})),xt=K==="floating"?{x:s,y:n,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(x.floating)),Gt=await(h.isElement==null?void 0:h.isElement(kt))?await(h.getScale==null?void 0:h.getScale(kt))||{x:1,y:1}:{x:1,y:1},Ot=Wi(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:x,rect:xt,offsetParent:kt,strategy:R}):xt);return{top:(yt.top-Ot.top+rt.top)/Gt.y,bottom:(Ot.bottom-yt.bottom+rt.bottom)/Gt.y,left:(yt.left-Ot.left+rt.left)/Gt.x,right:(Ot.right-yt.right+rt.right)/Gt.x}}var vm=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:s,placement:n,rects:h,platform:m,elements:x,middlewareData:R}=i,{element:$,padding:Y=0}=ji(l,i)||{};if($==null)return{};let K=bc(Y),at={x:t,y:s},J=Fn(n),rt=Dn(J),ht=await m.getDimensions($),Tt=J==="y",yt=Tt?"top":"left",xt=Tt?"bottom":"right",kt=Tt?"clientHeight":"clientWidth",Gt=h.reference[rt]+h.reference[J]-at[J]-h.floating[rt],Ot=at[J]-h.reference[J],Dt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),Ee=Dt?Dt[kt]:0;(!Ee||!await(m.isElement==null?void 0:m.isElement(Dt)))&&(Ee=x.floating[kt]||h.floating[rt]);let re=Gt/2-Ot/2,Qe=Ee/2-ht[rt]/2-1,Ne=Ar(K[yt],Qe),Fe=Ar(K[xt],Qe),tr=Ne,er=Ee-ht[rt]-Fe,_t=Ee/2-ht[rt]/2+re,pe=Pn(tr,_t,er),$e=!R.arrow&&Yi(n)!=null&&_t!==pe&&h.reference[rt]/2-(_t<tr?Ne:Fe)-ht[rt]/2<0,rr=$e?_t<tr?_t-tr:_t-er:0;return{[J]:at[J]+rr,data:{[J]:pe,centerOffset:_t-pe-rr,...$e&&{alignmentOffset:rr}},reset:$e}}});var gm=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(i){var t,s;let{placement:n,middlewareData:h,rects:m,initialPlacement:x,platform:R,elements:$}=i,{mainAxis:Y=!0,crossAxis:K=!0,fallbackPlacements:at,fallbackStrategy:J="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:ht=!0,...Tt}=ji(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let yt=Gr(n),xt=vi(x),kt=Gr(x)===x,Gt=await(R.isRTL==null?void 0:R.isRTL($.floating)),Ot=at||(kt||!ht?[Ks(x)]:pm(x)),Dt=rt!=="none";!at&&Dt&&Ot.push(...mm(x,ht,rt,Gt));let Ee=[x,...Ot],re=await $n(i,Tt),Qe=[],Ne=((s=h.flip)==null?void 0:s.overflows)||[];if(Y&&Qe.push(re[yt]),K){let _t=hm(n,m,Gt);Qe.push(re[_t[0]],re[_t[1]])}if(Ne=[...Ne,{placement:n,overflows:Qe}],!Qe.every(_t=>_t<=0)){var Fe,tr;let _t=(((Fe=h.flip)==null?void 0:Fe.index)||0)+1,pe=Ee[_t];if(pe)return{data:{index:_t,overflows:Ne},reset:{placement:pe}};let $e=(tr=Ne.filter(rr=>rr.overflows[0]<=0).sort((rr,Ir)=>rr.overflows[1]-Ir.overflows[1])[0])==null?void 0:tr.placement;if(!$e)switch(J){case"bestFit":{var er;let rr=(er=Ne.filter(Ir=>{if(Dt){let ze=vi(Ir.placement);return ze===xt||ze==="y"}return!0}).map(Ir=>[Ir.placement,Ir.overflows.filter(ze=>ze>0).reduce((ze,Sa)=>ze+Sa,0)]).sort((Ir,ze)=>Ir[1]-ze[1])[0])==null?void 0:er[0];rr&&($e=rr);break}case"initialPlacement":$e=x;break}if(n!==$e)return{reset:{placement:$e}}}return{}}}};async function yb(l,i){let{placement:t,platform:s,elements:n}=l,h=await(s.isRTL==null?void 0:s.isRTL(n.floating)),m=Gr(t),x=Yi(t),R=vi(t)==="y",$=["left","top"].includes(m)?-1:1,Y=h&&R?-1:1,K=ji(i,l),{mainAxis:at,crossAxis:J,alignmentAxis:rt}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return x&&typeof rt=="number"&&(J=x==="end"?rt*-1:rt),R?{x:J*Y,y:at*$}:{x:at*$,y:J*Y}}var bm=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(i){var t,s;let{x:n,y:h,placement:m,middlewareData:x}=i,R=await yb(i,l);return m===((t=x.offset)==null?void 0:t.placement)&&(s=x.arrow)!=null&&s.alignmentOffset?{}:{x:n+R.x,y:h+R.y,data:{...R,placement:m}}}}},ym=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(i){let{x:t,y:s,placement:n}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:x={fn:Tt=>{let{x:yt,y:xt}=Tt;return{x:yt,y:xt}}},...R}=ji(l,i),$={x:t,y:s},Y=await $n(i,R),K=vi(Gr(n)),at=gc(K),J=$[at],rt=$[K];if(h){let Tt=at==="y"?"top":"left",yt=at==="y"?"bottom":"right",xt=J+Y[Tt],kt=J-Y[yt];J=Pn(xt,J,kt)}if(m){let Tt=K==="y"?"top":"left",yt=K==="y"?"bottom":"right",xt=rt+Y[Tt],kt=rt-Y[yt];rt=Pn(xt,rt,kt)}let ht=x.fn({...i,[at]:J,[K]:rt});return{...ht,data:{x:ht.x-t,y:ht.y-s,enabled:{[at]:h,[K]:m}}}}}};var Em=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(i){var t,s;let{placement:n,rects:h,platform:m,elements:x}=i,{apply:R=()=>{},...$}=ji(l,i),Y=await $n(i,$),K=Gr(n),at=Yi(n),J=vi(n)==="y",{width:rt,height:ht}=h.floating,Tt,yt;K==="top"||K==="bottom"?(Tt=K,yt=at===(await(m.isRTL==null?void 0:m.isRTL(x.floating))?"start":"end")?"left":"right"):(yt=K,Tt=at==="end"?"top":"bottom");let xt=ht-Y.top-Y.bottom,kt=rt-Y.left-Y.right,Gt=Ar(ht-Y[Tt],xt),Ot=Ar(rt-Y[yt],kt),Dt=!i.middlewareData.shift,Ee=Gt,re=Ot;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(re=kt),(s=i.middlewareData.shift)!=null&&s.enabled.y&&(Ee=xt),Dt&&!at){let Ne=fe(Y.left,0),Fe=fe(Y.right,0),tr=fe(Y.top,0),er=fe(Y.bottom,0);J?re=rt-2*(Ne!==0||Fe!==0?Ne+Fe:fe(Y.left,Y.right)):Ee=ht-2*(tr!==0||er!==0?tr+er:fe(Y.top,Y.bottom))}await R({...i,availableWidth:re,availableHeight:Ee});let Qe=await m.getDimensions(x.floating);return rt!==Qe.width||ht!==Qe.height?{reset:{rects:!0}}:{}}}};function zn(){return typeof window<"u"}function qi(l){return xm(l)?(l.nodeName||"").toLowerCase():"#document"}function Ce(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function dr(l){var i;return(i=(xm(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function xm(l){return zn()?l instanceof Node||l instanceof Ce(l).Node:!1}function He(l){return zn()?l instanceof Element||l instanceof Ce(l).Element:!1}function hr(l){return zn()?l instanceof HTMLElement||l instanceof Ce(l).HTMLElement:!1}function Tm(l){return!zn()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Ce(l).ShadowRoot}function Ho(l){let{overflow:i,overflowX:t,overflowY:s,display:n}=je(l);return/auto|scroll|overlay|hidden|clip/.test(i+s+t)&&!["inline","contents"].includes(n)}function Am(l){return["table","td","th"].includes(qi(l))}function Js(l){return[":popover-open",":modal"].some(i=>{try{return l.matches(i)}catch{return!1}})}function Vn(l){let i=Bn(),t=He(l)?je(l):l;return t.transform!=="none"||t.perspective!=="none"||(t.containerType?t.containerType!=="normal":!1)||!i&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!i&&(t.filter?t.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(t.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(t.contain||"").includes(s))}function _m(l){let i=Hr(l);for(;hr(i)&&!Ki(i);){if(Vn(i))return i;if(Js(i))return null;i=Hr(i)}return null}function Bn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ki(l){return["html","body","#document"].includes(qi(l))}function je(l){return Ce(l).getComputedStyle(l)}function Qs(l){return He(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Hr(l){if(qi(l)==="html")return l;let i=l.assignedSlot||l.parentNode||Tm(l)&&l.host||dr(l);return Tm(i)?i.host:i}function Sm(l){let i=Hr(l);return Ki(i)?l.ownerDocument?l.ownerDocument.body:l.body:hr(i)&&Ho(i)?i:Sm(i)}function Go(l,i,t){var s;i===void 0&&(i=[]),t===void 0&&(t=!0);let n=Sm(l),h=n===((s=l.ownerDocument)==null?void 0:s.body),m=Ce(n);if(h){let x=Un(m);return i.concat(m,m.visualViewport||[],Ho(n)?n:[],x&&t?Go(x):[])}return i.concat(n,Go(n,[],t))}function Un(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function Cm(l){let i=je(l),t=parseFloat(i.width)||0,s=parseFloat(i.height)||0,n=hr(l),h=n?l.offsetWidth:t,m=n?l.offsetHeight:s,x=Xs(t)!==h||Xs(s)!==m;return x&&(t=h,s=m),{width:t,height:s,$:x}}function Ec(l){return He(l)?l:l.contextElement}function jo(l){let i=Ec(l);if(!hr(i))return cr(1);let t=i.getBoundingClientRect(),{width:s,height:n,$:h}=Cm(i),m=(h?Xs(t.width):t.width)/s,x=(h?Xs(t.height):t.height)/n;return(!m||!Number.isFinite(m))&&(m=1),(!x||!Number.isFinite(x))&&(x=1),{x:m,y:x}}var Eb=cr(0);function wm(l){let i=Ce(l);return!Bn()||!i.visualViewport?Eb:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Tb(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Ce(l)?!1:i}function Xi(l,i,t,s){i===void 0&&(i=!1),t===void 0&&(t=!1);let n=l.getBoundingClientRect(),h=Ec(l),m=cr(1);i&&(s?He(s)&&(m=jo(s)):m=jo(l));let x=Tb(h,t,s)?wm(h):cr(0),R=(n.left+x.x)/m.x,$=(n.top+x.y)/m.y,Y=n.width/m.x,K=n.height/m.y;if(h){let at=Ce(h),J=s&&He(s)?Ce(s):s,rt=at,ht=Un(rt);for(;ht&&s&&J!==rt;){let Tt=jo(ht),yt=ht.getBoundingClientRect(),xt=je(ht),kt=yt.left+(ht.clientLeft+parseFloat(xt.paddingLeft))*Tt.x,Gt=yt.top+(ht.clientTop+parseFloat(xt.paddingTop))*Tt.y;R*=Tt.x,$*=Tt.y,Y*=Tt.x,K*=Tt.y,R+=kt,$+=Gt,rt=Ce(ht),ht=Un(rt)}}return Wi({width:Y,height:K,x:R,y:$})}function Tc(l,i){let t=Qs(l).scrollLeft;return i?i.left+t:Xi(dr(l)).left+t}function Lm(l,i,t){t===void 0&&(t=!1);let s=l.getBoundingClientRect(),n=s.left+i.scrollLeft-(t?0:Tc(l,s)),h=s.top+i.scrollTop;return{x:n,y:h}}function xb(l){let{elements:i,rect:t,offsetParent:s,strategy:n}=l,h=n==="fixed",m=dr(s),x=i?Js(i.floating):!1;if(s===m||x&&h)return t;let R={scrollLeft:0,scrollTop:0},$=cr(1),Y=cr(0),K=hr(s);if((K||!K&&!h)&&((qi(s)!=="body"||Ho(m))&&(R=Qs(s)),hr(s))){let J=Xi(s);$=jo(s),Y.x=J.x+s.clientLeft,Y.y=J.y+s.clientTop}let at=m&&!K&&!h?Lm(m,R,!0):cr(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-R.scrollLeft*$.x+Y.x+at.x,y:t.y*$.y-R.scrollTop*$.y+Y.y+at.y}}function Ab(l){return Array.from(l.getClientRects())}function _b(l){let i=dr(l),t=Qs(l),s=l.ownerDocument.body,n=fe(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),h=fe(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight),m=-t.scrollLeft+Tc(l),x=-t.scrollTop;return je(s).direction==="rtl"&&(m+=fe(i.clientWidth,s.clientWidth)-n),{width:n,height:h,x:m,y:x}}function Sb(l,i){let t=Ce(l),s=dr(l),n=t.visualViewport,h=s.clientWidth,m=s.clientHeight,x=0,R=0;if(n){h=n.width,m=n.height;let $=Bn();(!$||$&&i==="fixed")&&(x=n.offsetLeft,R=n.offsetTop)}return{width:h,height:m,x,y:R}}function Ib(l,i){let t=Xi(l,!0,i==="fixed"),s=t.top+l.clientTop,n=t.left+l.clientLeft,h=hr(l)?jo(l):cr(1),m=l.clientWidth*h.x,x=l.clientHeight*h.y,R=n*h.x,$=s*h.y;return{width:m,height:x,x:R,y:$}}function Im(l,i,t){let s;if(i==="viewport")s=Sb(l,t);else if(i==="document")s=_b(dr(l));else if(He(i))s=Ib(i,t);else{let n=wm(l);s={x:i.x-n.x,y:i.y-n.y,width:i.width,height:i.height}}return Wi(s)}function Nm(l,i){let t=Hr(l);return t===i||!He(t)||Ki(t)?!1:je(t).position==="fixed"||Nm(t,i)}function kb(l,i){let t=i.get(l);if(t)return t;let s=Go(l,[],!1).filter(x=>He(x)&&qi(x)!=="body"),n=null,h=je(l).position==="fixed",m=h?Hr(l):l;for(;He(m)&&!Ki(m);){let x=je(m),R=Vn(m);!R&&x.position==="fixed"&&(n=null),(h?!R&&!n:!R&&x.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Ho(m)&&!R&&Nm(l,m))?s=s.filter(Y=>Y!==m):n=x,m=Hr(m)}return i.set(l,s),s}function Cb(l){let{element:i,boundary:t,rootBoundary:s,strategy:n}=l,m=[...t==="clippingAncestors"?Js(i)?[]:kb(i,this._c):[].concat(t),s],x=m[0],R=m.reduce(($,Y)=>{let K=Im(i,Y,n);return $.top=fe(K.top,$.top),$.right=Ar(K.right,$.right),$.bottom=Ar(K.bottom,$.bottom),$.left=fe(K.left,$.left),$},Im(i,x,n));return{width:R.right-R.left,height:R.bottom-R.top,x:R.left,y:R.top}}function wb(l){let{width:i,height:t}=Cm(l);return{width:i,height:t}}function Lb(l,i,t){let s=hr(i),n=dr(i),h=t==="fixed",m=Xi(l,!0,h,i),x={scrollLeft:0,scrollTop:0},R=cr(0);if(s||!s&&!h)if((qi(i)!=="body"||Ho(n))&&(x=Qs(i)),s){let at=Xi(i,!0,h,i);R.x=at.x+i.clientLeft,R.y=at.y+i.clientTop}else n&&(R.x=Tc(n));let $=n&&!s&&!h?Lm(n,x):cr(0),Y=m.left+x.scrollLeft-R.x-$.x,K=m.top+x.scrollTop-R.y-$.y;return{x:Y,y:K,width:m.width,height:m.height}}function yc(l){return je(l).position==="static"}function km(l,i){if(!hr(l)||je(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return dr(l)===t&&(t=t.ownerDocument.body),t}function Rm(l,i){let t=Ce(l);if(Js(l))return t;if(!hr(l)){let n=Hr(l);for(;n&&!Ki(n);){if(He(n)&&!yc(n))return n;n=Hr(n)}return t}let s=km(l,i);for(;s&&Am(s)&&yc(s);)s=km(s,i);return s&&Ki(s)&&yc(s)&&!Vn(s)?t:s||_m(l)||t}var Nb=async function(l){let i=this.getOffsetParent||Rm,t=this.getDimensions,s=await t(l.floating);return{reference:Lb(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Rb(l){return je(l).direction==="rtl"}var Mb={convertOffsetParentRelativeRectToViewportRelativeRect:xb,getDocumentElement:dr,getClippingRect:Cb,getOffsetParent:Rm,getElementRects:Nb,getClientRects:Ab,getDimensions:wb,getScale:jo,isElement:He,isRTL:Rb};function Ob(l,i){let t=null,s,n=dr(l);function h(){var x;clearTimeout(s),(x=t)==null||x.disconnect(),t=null}function m(x,R){x===void 0&&(x=!1),R===void 0&&(R=1),h();let{left:$,top:Y,width:K,height:at}=l.getBoundingClientRect();if(x||i(),!K||!at)return;let J=Zs(Y),rt=Zs(n.clientWidth-($+K)),ht=Zs(n.clientHeight-(Y+at)),Tt=Zs($),xt={rootMargin:-J+"px "+-rt+"px "+-ht+"px "+-Tt+"px",threshold:fe(0,Ar(1,R))||1},kt=!0;function Gt(Ot){let Dt=Ot[0].intersectionRatio;if(Dt!==R){if(!kt)return m();Dt?m(!1,Dt):s=setTimeout(()=>{m(!1,1e-7)},1e3)}kt=!1}try{t=new IntersectionObserver(Gt,{...xt,root:n.ownerDocument})}catch{t=new IntersectionObserver(Gt,xt)}t.observe(l)}return m(!0),h}function Mm(l,i,t,s){s===void 0&&(s={});let{ancestorScroll:n=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:x=typeof IntersectionObserver=="function",animationFrame:R=!1}=s,$=Ec(l),Y=n||h?[...$?Go($):[],...Go(i)]:[];Y.forEach(yt=>{n&&yt.addEventListener("scroll",t,{passive:!0}),h&&yt.addEventListener("resize",t)});let K=$&&x?Ob($,t):null,at=-1,J=null;m&&(J=new ResizeObserver(yt=>{let[xt]=yt;xt&&xt.target===$&&J&&(J.unobserve(i),cancelAnimationFrame(at),at=requestAnimationFrame(()=>{var kt;(kt=J)==null||kt.observe(i)})),t()}),$&&!R&&J.observe($),J.observe(i));let rt,ht=R?Xi(l):null;R&&Tt();function Tt(){let yt=Xi(l);ht&&(yt.x!==ht.x||yt.y!==ht.y||yt.width!==ht.width||yt.height!==ht.height)&&t(),ht=yt,rt=requestAnimationFrame(Tt)}return t(),()=>{var yt;Y.forEach(xt=>{n&&xt.removeEventListener("scroll",t),h&&xt.removeEventListener("resize",t)}),K==null||K(),(yt=J)==null||yt.disconnect(),J=null,R&&cancelAnimationFrame(rt)}}var Om=bm;var Pm=ym,Dm=gm,Fm=Em;var $m=vm;var zm=(l,i,t)=>{let s=new Map,n={platform:Mb,...t},h={...n.platform,_c:s};return fm(l,i,{...n,platform:h})};var Yo=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(i){this.currentKeydownListener=i,document.addEventListener("keydown",i)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(i){this.stackArray.forEach(t=>{t!==i&&t.setIsFocusTrapActivated(!1)}),this.stack.add(i),this.removeKeydownListener(),this.addKeydownListener(i.handleTabKeydown.bind(i))}static deactivate(i){if(this.stack.has(i)&&(this.stack.delete(i),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};Yo.stack=new Set,Yo.currentKeydownListener=null;var Gn=l=>{class i extends l{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(n){this.isFocusTrapActivated=n}activateFocusTrap(){this.setIsFocusTrapActivated(!0),Yo.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),Yo.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(n){return n.getClientRects().length===0}hasZeroDimensions(n){let{width:h,height:m}=n.getBoundingClientRect(),{offsetWidth:x,offsetHeight:R}=n;return x+R+m+h===0}isNotVisible(n){return this.hasZeroDimensions(n)||this.hasNoClientRects(n)}hasHiddenStyle(n){let{display:h,opacity:m,visibility:x}=n.style;return h==="none"||m==="0"||x==="hidden"||x==="collapse"}hasComputedHidden(n){let h=getComputedStyle(n);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(n){return n.hasAttribute("hidden")||n.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(n)||this.isNotVisible(n)||this.hasComputedHidden(n)}isDisabled(n){return n.disabled}isNotTabbable(n){return n.getAttribute("tabindex")==="-1"}isInteractiveElement(n){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(n.tagName)||n instanceof HTMLAnchorElement&&n.hasAttribute("href")||n instanceof HTMLInputElement&&n.type!=="hidden"||(n instanceof HTMLAudioElement||n instanceof HTMLVideoElement)&&n.hasAttribute("controls")||(n instanceof HTMLImageElement||n instanceof HTMLObjectElement)&&n.hasAttribute("usemap")||n.hasAttribute("tabindex")&&n.tabIndex>-1)}isFocusable(n){return this.isHidden(n)||this.isNotTabbable(n)||this.isDisabled(n)?!1:this.isInteractiveElement(n)}findFocusable(n,h=new Set){return n instanceof HTMLElement&&this.isFocusable(n)&&h.add(n),Array.from(n.children).forEach(x=>{let R=x;this.isFocusable(R)&&h.add(R),R.shadowRoot?this.findFocusable(R.shadowRoot,h):R.tagName==="SLOT"?R.assignedElements({flatten:!0}).forEach(Y=>{Y instanceof HTMLElement&&this.findFocusable(Y,h)}):this.findFocusable(R,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(n=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[n]&&(this.focusTrapIndex=n,this.focusableElements[n].focus({preventScroll:!0}))}calculateNextIndex(n,h){let{length:m}=this.focusableElements;if(n===-1)return h>0?0:m-1;let x=n+h;return this.shouldFocusTrapWrap?(x<0&&(x=m-1),x>=m&&(x=0)):(x<0&&(x=0),x>=m&&(x=m-1)),x}getDeepActiveElement(){var h;let n=document.activeElement||document.body;for(;n instanceof HTMLElement&&((h=n.shadowRoot)!=null&&h.activeElement);)n=n.shadowRoot.activeElement;return n||document.body}findElement(n){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(n,h))}isEqualFocusNode(n,h){return n.nodeType>=0?h.isEqualNode(n)&&h===n:!1}trapFocus(n){if(this.setFocusableElements(),this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),m=this.findElement(h);n.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let R=this.focusableElements[this.focusTrapIndex];R.tagName!=="IFRAME"&&R&&(n.preventDefault(),R.focus())}handleTabKeydown(n){this.isFocusTrapActivated&&n.key==="Tab"&&this.trapFocus(n)}}return f([g({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],i.prototype,"shouldFocusTrapWrap",2),i};var Hn=l=>{class i extends l{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return i};var Vm=j.constructTagName("popover"),Ut={LEFT_START:"left-start",LEFT:"left",LEFT_END:"left-end",RIGHT_START:"right-start",RIGHT:"right",RIGHT_END:"right-end",TOP_START:"top-start",TOP:"top",TOP_END:"top-end",BOTTOM_START:"bottom-start",BOTTOM:"bottom",BOTTOM_END:"bottom-end"},Zi={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Ji={TONAL:"tonal",CONTRAST:"contrast"},Nt={PLACEMENT:Ut.BOTTOM,TRIGGER:Zi.CLICK,COLOR:Ji.TONAL,OFFSET:4,BOUNDARY:"clippingAncestors",BOUNDARY_ROOT:"viewport",BOUNDARY_PADDING:0,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,DISABLE_ARIA_HAS_POPUP:!1,PROPAGATE_EVENT_ON_ESCAPE:!1};var jr=class{static dispatchPopoverEvent(i,t){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(i){this.dispatchPopoverEvent("shown",i)}static onHidePopover(i){this.dispatchPopoverEvent("hidden",i)}static onCreatedPopover(i){this.dispatchPopoverEvent("created",i)}static onDestroyedPopover(i){this.dispatchPopoverEvent("destroyed",i)}static onEscapeKeyPressed(i){this.dispatchPopoverEvent("closebyescape",i)}static onClickOutside(i){this.dispatchPopoverEvent("closebyoutsideclick",i)}};var xc=class{constructor(){this.stack=[]}push(i){this.stack.push(i)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(i){this.stack=this.stack.filter(t=>t!==i)}has(i){return this.stack.includes(i)}clear(){this.stack=[]}},ve=new xc;var Pb=H`
|
1816
1816
|
:host {
|
1817
1817
|
--mdc-popover-arrow-border-radius: 0.1875rem;
|
1818
1818
|
--mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
|
@@ -1926,7 +1926,7 @@
|
|
1926
1926
|
border-top-right-radius: var(--mdc-popover-arrow-border-radius);
|
1927
1927
|
border-bottom-left-radius: 100%;
|
1928
1928
|
}
|
1929
|
-
`,
|
1929
|
+
`,Bm=[Pb];var jn=class{constructor(i){this.arrowPixelChange=!1;this.popover=i}setupDelay(){try{let[i,t]=this.popover.delay.split(",").map(s=>{let n=parseInt(s,10);if(Number.isNaN(n)||n<0)throw new Error(`Invalid delay value: ${s}`);return n});return[i,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(i){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let s=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,n=this.popover.offsetHeight||0,h=this.popover.offsetWidth||0;if(t)switch(i.split("-")[0]){case"top":t.style.height=s,t.style.bottom=`calc(-1 * (${s}))`,t.style.left="50%",t.style.width=`${h}px`;break;case"left":t.style.height=`${n}px`,t.style.width=s,t.style.right=`calc(-1.5 * (${s}))`;break;case"right":t.style.height=`${n}px`,t.style.width=s,t.style.left=`calc(-0.5 * (${s}))`;break;case"bottom":default:t.style.height=s,t.style.top=`calc(-1 * (${s}))`,t.style.left="50%",t.style.width=`${h}px`;break}}setupAppendTo(){if(this.popover.appendTo){let i=document.getElementById(this.popover.appendTo);i&&i.appendChild(this.popover)}}setupAccessibility(){var i,t,s;this.popover.role===et.DIALOG||this.popover.role===et.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal"),this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((i=this.popover.triggerElement)==null?void 0:i.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((s=this.popover.triggerElement)==null?void 0:s.id)||""))}updateAriaHasPopupAttribute(){var i,t,s;this.popover.interactive&&!this.popover.disableAriaHasPopup?(t=this.popover.triggerElement)==null||t.setAttribute("aria-haspopup",((i=this.popover.triggerElement)==null?void 0:i.getAttribute("aria-haspopup"))||"dialog"):(s=this.popover.triggerElement)==null||s.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var i,t;this.popover.disableAriaExpanded?(i=this.popover.triggerElement)==null||i.removeAttribute("aria-expanded"):(t=this.popover.triggerElement)==null||t.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(i,t){var Y;if(!this.popover.arrowElement)return;let s=t.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[s],{x:h,y:m}=i,x=this.popover.arrowElement.getBoundingClientRect(),R=(Y=this.popover.arrowElement.offsetParent)==null?void 0:Y.getBoundingClientRect();if(!this.arrowPixelChange){let K=R!=null&&R[n]?12-Math.abs(x[n]-R[n]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let $=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",s),Object.assign(this.popover.arrowElement.style,{left:h!=null?`${h}px`:"",top:m!=null?`${m}px`:"",[n]:`${-this.popover.arrowElement.offsetHeight/2-$}px`})}updatePopoverStyle(i,t){Object.assign(this.popover.style,{left:`${i}px`,top:`${t}px`})}createBackdrop(){var i;if(!this.popover.backdropElement){let t=document.createElement("div");t.classList.add("popover-backdrop");let s=document.createElement("style");s.textContent=`
|
1930
1930
|
.popover-backdrop {
|
1931
1931
|
position: fixed;
|
1932
1932
|
top: 0;
|
@@ -1936,7 +1936,7 @@
|
|
1936
1936
|
background: transparent;
|
1937
1937
|
z-index: ${this.popover.zIndex-1};
|
1938
1938
|
}
|
1939
|
-
`,
|
1939
|
+
`,t.appendChild(s),(i=this.popover.parentElement)==null||i.appendChild(t),this.popover.backdropElement=t}}};var St=class St extends Hn(Gn(q)){constructor(){super();this.id="";this.triggerID="";this.trigger=Nt.TRIGGER;this.placement=Nt.PLACEMENT;this.color=Nt.COLOR;this.visible=Nt.VISIBLE;this.offset=Nt.OFFSET;this.boundary=Nt.BOUNDARY;this.boundaryRoot=Nt.BOUNDARY_ROOT;this.focusTrap=Nt.FOCUS_TRAP;this.preventScroll=Nt.PREVENT_SCROLL;this.showArrow=Nt.ARROW;this.closeButton=Nt.CLOSE_BUTTON;this.interactive=Nt.INTERACTIVE;this.delay=Nt.DELAY;this.hideOnEscape=Nt.HIDE_ON_ESCAPE;this.propagateEventOnEscape=Nt.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=Nt.HIDE_ON_BLUR;this.hideOnOutsideClick=Nt.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=Nt.FOCUS_BACK;this.backdrop=Nt.BACKDROP;this.flip=Nt.FLIP;this.size=Nt.SIZE;this.zIndex=Nt.Z_INDEX;this.closeButtonAriaLabel=null;this.role=Nt.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=Nt.DISABLE_ARIA_EXPANDED;this.disableAriaHasPopup=Nt.DISABLE_ARIA_HAS_POPUP;this.arrowElement=null;this.triggerElement=null;this.triggerElementOriginalStyle={zIndex:"",position:""};this.hoverTimer=null;this.isHovered=!1;this.isTriggerClicked=!1;this.openDelay=0;this.closeDelay=0;this.backdropElement=null;this.onOutsidePopoverClick=t=>{if(ve.peek()!==this)return;let s=!1,n=t.composedPath();s=this.contains(t.target)||n.includes(this.triggerElement)||n.includes(this);let h=this.backdropElement?n.includes(this.backdropElement):!1;(!s||h)&&(this.hidePopover(),jr.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hidePopover(),jr.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hidePopover()};this.handleMouseEnter=()=>{this.isHovered=!0,this.showPopover()};this.handleMouseLeave=()=>{this.isHovered=!1,this.startCloseDelay()};this.handleFocusOut=()=>{this.isHovered||this.hidePopover()};this.startCloseDelay=()=>{if(!this.interactive)this.hidePopover();else{if(this.isTriggerClicked)return;this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay)}};this.cancelCloseDelay=()=>{this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.showPopover=()=>{this.cancelCloseDelay(),setTimeout(()=>{this.visible=!0},this.openDelay)};this.hidePopover=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1},this.closeDelay):(this.visible=!1,this.isTriggerClicked=!1)};this.togglePopoverVisible=()=>{this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0)};this.utils=new jn(this)}async firstUpdated(t){var s,n;super.firstUpdated(t),this.utils.setupAppendTo(),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.setupTriggerListener(),this.utils.setupAccessibility(),this.style.zIndex=`${this.zIndex}`,jr.onCreatedPopover(this),this.visible&&(this.positionPopover(),this.activatePreventScroll(),this.interactive&&this.focusTrap&&(await this.updateComplete,(s=this.activateFocusTrap)==null||s.call(this),(n=this.setInitialFocus)==null||n.call(this)))}async disconnectedCallback(){var t;super.disconnectedCallback(),this.removeEventListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),jr.onDestroyedPopover(this),ve.remove(this)}setupTriggerListener(){if(this.triggerID&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerID}"]`),!!this.triggerElement)){if(this.trigger==="mouseenter"&&(this.interactive?this.trigger="mouseenter click":this.trigger="mouseenter focusin"),this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.togglePopoverVisible),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.addEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay),t==null||t.addEventListener("mouseenter",this.showPopover)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.showPopover),this.interactive||this.triggerElement.addEventListener("focusout",this.handleFocusOut)),this.addEventListener("focus-trap-exit",this.hidePopover)}}removeEventListeners(){if(!this.triggerElement)return;let t=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.removeEventListener("click",this.togglePopoverVisible),this.triggerElement.removeEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),this.triggerElement.removeEventListener("focusin",this.showPopover),this.triggerElement.removeEventListener("focusout",this.handleFocusOut),t==null||t.removeEventListener("mouseenter",this.showPopover),this.removeEventListener("focus-trap-exit",this.hidePopover)}async updated(t){if(super.updated(t),t.has("role")&&this.role===""&&(this.role=null),t.has("visible")){let s=t.get("visible")||!1;await this.isOpenUpdated(s,this.visible),this.utils.updateAriaExpandedAttribute()}if(t.has("placement")&&this.setAttribute("placement",Object.values(Ut).includes(this.placement)?this.placement:Nt.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("trigger")){let n=this.trigger.split(" ").filter(h=>Object.values(Zi).includes(h));this.setAttribute("trigger",n.length>0?this.trigger:Nt.TRIGGER),this.removeEventListeners(),this.setupTriggerListener()}t.has("color")&&this.setAttribute("color",Object.values(Ji).includes(this.color)?this.color:Nt.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("append-to")&&this.utils.setupAppendTo(),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.setupAccessibility(),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),(t.has("interactive")||t.has("disableAriaHasPopup"))&&this.utils.updateAriaHasPopupAttribute(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),t.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(t,s){var n,h,m,x,R,$,Y;t===s||!this.triggerElement||(s?(ve.peek()!==this&&ve.push(this),this.backdrop&&(this.utils.createBackdrop(),this.triggerElementOriginalStyle={position:this.triggerElement.style.position,zIndex:this.triggerElement.style.zIndex},this.triggerElement.style.position="relative",this.triggerElement.style.zIndex=`${this.zIndex}`),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="none")),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),(n=this.triggerElement)==null||n.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.interactive&&this.focusTrap&&(await this.updateComplete,(h=this.activateFocusTrap)==null||h.call(this),(m=this.setInitialFocus)==null||m.call(this)),jr.onShowPopover(this)):(ve.peek()===this&&ve.pop(),this.backdrop&&(this.triggerElement.style.position=this.triggerElementOriginalStyle.position,this.triggerElement.style.zIndex=this.triggerElementOriginalStyle.zIndex),this.backdropElement&&((x=this.backdropElement)==null||x.remove(),this.backdropElement=null),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),(R=this.triggerElement)==null||R.removeEventListener("keydown",this.onEscapeKeydown)),this.disableAriaExpanded&&this.triggerElement.removeAttribute("aria-expanded"),this.interactive||this.triggerElement.removeAttribute("aria-haspopup"),this.deactivatePreventScroll(),($=this.deactivateFocusTrap)==null||$.call(this),this.focusBackToTrigger&&((Y=this.triggerElement)==null||Y.focus()),jr.onHidePopover(this)))}positionPopover(){if(!this.triggerElement)return;let t=[Pm({boundary:!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),rootBoundary:this.boundaryRoot,padding:this.boundaryPadding})],s=this.offset;if(this.flip&&t.push(Dm()),this.size){let n=m=>{this.style.setProperty("--mdc-popover-internal-available-height",`${m}px`)},h=this.renderRoot.querySelector('[part="popover-content"]');t.push(Fm({apply({availableHeight:m}){h&&(Object.assign(h.style,{maxHeight:`${m}px`,overflowY:"auto"}),n(m))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let n=this.arrowElement.offsetHeight,h=Math.sqrt(2*n**2)/2;s+=h,t.push($m({element:this.arrowElement,padding:12}))}t.push(Om(s)),Mm(this.triggerElement,this,async()=>{if(!this.triggerElement)return;let{x:n,y:h,middlewareData:m,placement:x}=await zm(this.triggerElement,this,{placement:this.placement,middleware:t});this.utils.updatePopoverStyle(n,h),m.arrow&&this.arrowElement&&this.utils.updateArrowStyle(m.arrow,x),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(x)})}findClosestPopover(t){let s=t;for(;s&&!(s instanceof St);)s=s.parentElement;return s}render(){return L`
|
1940
1940
|
<div class="popover-hover-bridge"></div>
|
1941
1941
|
${this.closeButton?L` <mdc-button
|
1942
1942
|
class="popover-close"
|
@@ -1950,7 +1950,7 @@
|
|
1950
1950
|
<div part="popover-content">
|
1951
1951
|
<slot></slot>
|
1952
1952
|
</div>
|
1953
|
-
`}};St.styles=[...q.styles,...
|
1953
|
+
`}};St.styles=[...q.styles,...Bm],f([g({type:String,reflect:!0})],St.prototype,"id",2),f([g({type:String,reflect:!0})],St.prototype,"triggerID",2),f([g({type:String,reflect:!0})],St.prototype,"trigger",2),f([g({type:String,reflect:!0})],St.prototype,"placement",2),f([g({type:String,reflect:!0})],St.prototype,"color",2),f([g({type:Boolean,reflect:!0})],St.prototype,"visible",2),f([g({type:Number,reflect:!0})],St.prototype,"offset",2),f([g({type:String,reflect:!0,attribute:"boundary"})],St.prototype,"boundary",2),f([g({type:String,reflect:!0,attribute:"boundary-root"})],St.prototype,"boundaryRoot",2),f([g({type:Number,reflect:!0,attribute:"boundary-padding"})],St.prototype,"boundaryPadding",2),f([g({type:Boolean,reflect:!0,attribute:"focus-trap"})],St.prototype,"focusTrap",2),f([g({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],St.prototype,"preventScroll",2),f([g({type:Boolean,reflect:!0,attribute:"show-arrow"})],St.prototype,"showArrow",2),f([g({type:Boolean,reflect:!0,attribute:"close-button"})],St.prototype,"closeButton",2),f([g({type:Boolean,reflect:!0})],St.prototype,"interactive",2),f([g({type:String,reflect:!0})],St.prototype,"delay",2),f([g({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],St.prototype,"hideOnEscape",2),f([g({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],St.prototype,"propagateEventOnEscape",2),f([g({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],St.prototype,"hideOnBlur",2),f([g({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],St.prototype,"hideOnOutsideClick",2),f([g({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],St.prototype,"focusBackToTrigger",2),f([g({type:Boolean,reflect:!0})],St.prototype,"backdrop",2),f([g({type:Boolean,reflect:!0})],St.prototype,"flip",2),f([g({type:Boolean,reflect:!0})],St.prototype,"size",2),f([g({type:Number,reflect:!0,attribute:"z-index"})],St.prototype,"zIndex",2),f([g({type:String,reflect:!0,attribute:"append-to"})],St.prototype,"appendTo",2),f([g({type:String,attribute:"close-button-aria-label",reflect:!0})],St.prototype,"closeButtonAriaLabel",2),f([g({type:String,reflect:!0})],St.prototype,"role",2),f([g({type:String,reflect:!0,attribute:"aria-labelledby"})],St.prototype,"ariaLabelledby",2),f([g({type:String,reflect:!0,attribute:"aria-describedby"})],St.prototype,"ariaDescribedby",2),f([g({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],St.prototype,"disableAriaExpanded",2),f([g({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],St.prototype,"disableAriaHasPopup",2);var Ac=St,we=Ac;var Um=j.constructTagName("toggletip"),Qi={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Ut.TOP,CLICK:Zi.CLICK,SHOW_ARROW:!0};var Db=H`
|
1954
1954
|
:host {
|
1955
1955
|
--mdc-toggletip-max-width: 400px;
|
1956
1956
|
--mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
|
@@ -1980,7 +1980,7 @@
|
|
1980
1980
|
:host([close-button]:dir(rtl))::part(popover-content) {
|
1981
1981
|
margin-left: 2rem;
|
1982
1982
|
}
|
1983
|
-
`,
|
1983
|
+
`,Gm=[Db];var gi=class extends we{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=Qi.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:Qi.CLOSE_BUTTON,this.closeButtonAriaLabel=Qi.CLOSE_BUTTON_ARIA_LABEL,this.trigger=Qi.CLICK,this.showArrow=Qi.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,s;return((s=(t=this.defaultSlotNodes)==null?void 0:t.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}onPlacementUpdated(){Object.values(Ut).includes(this.placement)||(this.placement=Qi.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return L`
|
1984
1984
|
${super.render()}
|
1985
1985
|
<mdc-screenreaderannouncer
|
1986
1986
|
identity="${nt(this.screenreaderAnnouncerIdentity)}"
|
@@ -1988,12 +1988,12 @@
|
|
1988
1988
|
delay="300"
|
1989
1989
|
>
|
1990
1990
|
</mdc-screenreaderannouncer>
|
1991
|
-
`}};
|
1991
|
+
`}};gi.styles=[...we.styles,...Gm],f([en()],gi.prototype,"defaultSlotNodes",2),f([It()],gi.prototype,"currentAnnouncement",2),f([g({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],gi.prototype,"screenreaderAnnouncerIdentity",2),f([g({type:String,reflect:!0})],gi.prototype,"placement",2);var _c=gi;var se=[];for(let l=0;l<256;++l)se.push((l+256).toString(16).slice(1));function Hm(l,i=0){return(se[l[i+0]]+se[l[i+1]]+se[l[i+2]]+se[l[i+3]]+"-"+se[l[i+4]]+se[l[i+5]]+"-"+se[l[i+6]]+se[l[i+7]]+"-"+se[l[i+8]]+se[l[i+9]]+"-"+se[l[i+10]]+se[l[i+11]]+se[l[i+12]]+se[l[i+13]]+se[l[i+14]]+se[l[i+15]]).toLowerCase()}var Sc,Fb=new Uint8Array(16);function Ic(){if(!Sc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Sc=crypto.getRandomValues.bind(crypto)}return Sc(Fb)}var $b=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),kc={randomUUID:$b};function zb(l,i,t){var n,h,m;if(kc.randomUUID&&!i&&!l)return kc.randomUUID();l=l||{};let s=(m=(h=l.random)!=null?h:(n=l.rng)==null?void 0:n.call(l))!=null?m:Ic();if(s.length<16)throw new Error("Random bytes length must be >= 16");if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,i){if(t=t||0,t<0||t+16>i.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let x=0;x<16;++x)i[t+x]=s[x];return i}return Hm(s)}var Ye=zb;var jm=j.constructTagName("screenreaderannouncer"),Vb={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},Wo={ARIA_LIVE:Vb.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var Bb=[H`
|
1992
1992
|
:host {
|
1993
1993
|
display: none;
|
1994
1994
|
visibility: hidden;
|
1995
1995
|
}
|
1996
|
-
`]
|
1996
|
+
`],Ym=Bb;var Yr=class extends q{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=Wo.ARIA_LIVE;this.delay=Wo.DELAY;this.timeout=Wo.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,s,n,h){var m;if(t.length>0){let x=`mdc-screenreaderannouncer-announcement-${Ye()}`,R=document.createElement("div");R.id=x,R.ariaLive=h,(m=document.getElementById(this.identity))==null||m.appendChild(R);let $=window.setTimeout(()=>{let Y=document.createElement("p");Y.textContent=t,R.appendChild(Y),this.ariaLiveAnnouncementIds.push(x);let K=window.setTimeout(()=>{var at;(at=document.getElementById(x))==null||at.remove()},n);this.timeOutIds.push(K)},s);this.timeOutIds.push($)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var s;(s=document.getElementById(t))==null||s.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let s=document.createElement("style");s.textContent=`
|
1997
1997
|
.mdc-screenreaderannouncer__visually-hidden {
|
1998
1998
|
clip: rect(0 0 0 0);
|
1999
1999
|
clip-path: inset(50%);
|
@@ -2003,7 +2003,7 @@
|
|
2003
2003
|
white-space: nowrap;
|
2004
2004
|
width: 1px;
|
2005
2005
|
}
|
2006
|
-
`,
|
2006
|
+
`,t.appendChild(s),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=Wo.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=Wo.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};Yr.styles=[...q.styles,...Ym],f([g({type:String,reflect:!0})],Yr.prototype,"announcement",2),f([g({type:String,reflect:!0})],Yr.prototype,"identity",2),f([g({type:String,reflect:!0,attribute:"data-aria-live"})],Yr.prototype,"dataAriaLive",2),f([g({type:Number,reflect:!0})],Yr.prototype,"delay",2),f([g({type:Number,reflect:!0})],Yr.prototype,"timeout",2);var Cc=Yr;Cc.register(jm);var Ub=Cc;_c.register(Um);var Gb=_c;var jt=l=>{class i extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return f([g({type:String,reflect:!0,attribute:"data-aria-label"})],i.prototype,"dataAriaLabel",2),i};var Le=l=>{class i extends l{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}connectedCallback(){super.connectedCallback(),this.id=`mdc-el-${Ye()}`}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return i.formAssociated=!0,f([g({reflect:!0,type:String})],i.prototype,"name",2),f([g({reflect:!0,type:String})],i.prototype,"value",2),f([g({reflect:!0,type:String,attribute:"validation-message"})],i.prototype,"validationMessage",2),f([Fr("input")],i.prototype,"inputElement",2),i};var Wm=j.constructTagName("formfieldwrapper"),Yt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Mt={VALIDATION:Yt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},ta={TAGNAME:vt.SPAN,TYPE:ot.BODY_MIDSIZE_REGULAR,HEADER_TYPE:ot.BODY_MIDSIZE_BOLD};var Hb=[Et,H`
|
2007
2007
|
:host {
|
2008
2008
|
flex-direction: column;
|
2009
2009
|
align-items: flex-start;
|
@@ -2061,18 +2061,18 @@
|
|
2061
2061
|
:host([help-text-type='priority']) .mdc-help-text {
|
2062
2062
|
color: var(--mds-color-theme-text-accent-normal);
|
2063
2063
|
}
|
2064
|
-
`],
|
2064
|
+
`],qm=Hb;var Km=l=>({[Yt.ERROR]:"error-legacy-badge-filled",[Yt.WARNING]:"warning-badge-filled",[Yt.SUCCESS]:"check-circle-badge-filled",[Yt.PRIORITY]:"priority-badge-filled",[Yt.DEFAULT]:""})[l]||"";var We=class extends $t(q){constructor(){super(...arguments);this.required=!1;this.id="";this.helpTextType=Mt.VALIDATION;this.toggletipPlacement=Mt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?L`<label for="${this.id}" id="${Mt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:L` <mdc-text
|
2065
2065
|
id="${Mt.HEADING_ID}"
|
2066
|
-
tagname="${
|
2067
|
-
type="${
|
2066
|
+
tagname="${ta.TAGNAME}"
|
2067
|
+
type="${ta.HEADER_TYPE}"
|
2068
2068
|
part="label"
|
2069
2069
|
>${this.label}</mdc-text
|
2070
|
-
>`:W}renderHelpTextIcon(){if(!this.helpText)return W;let
|
2070
|
+
>`:W}renderHelpTextIcon(){if(!this.helpText)return W;let t=Km(this.helpTextType||Mt.VALIDATION);return t&&!this.disabled?L`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:W}renderHelpText(){return this.helpText?L`
|
2071
2071
|
<mdc-text
|
2072
2072
|
id="${Mt.HELPER_TEXT_ID}"
|
2073
2073
|
part="help-text"
|
2074
|
-
tagname=${
|
2075
|
-
type=${
|
2074
|
+
tagname=${ta.TAGNAME}
|
2075
|
+
type=${ta.TYPE}
|
2076
2076
|
>
|
2077
2077
|
${this.helpText}
|
2078
2078
|
</mdc-text>
|
@@ -2098,7 +2098,7 @@
|
|
2098
2098
|
</div>`:W}renderHelperText(){return this.helpText?L`<div class="mdc-help-text" part="help-text">
|
2099
2099
|
<slot name="help-icon">${this.renderHelpTextIcon()}</slot>
|
2100
2100
|
<slot name="help-text">${this.renderHelpText()}</slot>
|
2101
|
-
</div>`:W}};We.styles=[...q.styles,...
|
2101
|
+
</div>`:W}};We.styles=[...q.styles,...qm],f([g({reflect:!0,type:String})],We.prototype,"label",2),f([g({type:Boolean,reflect:!0,attribute:"required"})],We.prototype,"required",2),f([g({type:String})],We.prototype,"id",2),f([g({reflect:!0,attribute:"help-text-type"})],We.prototype,"helpTextType",2),f([g({type:String,reflect:!0,attribute:"help-text"})],We.prototype,"helpText",2),f([g({type:String,reflect:!0,attribute:"toggletip-text"})],We.prototype,"toggletipText",2),f([g({type:String,reflect:!0,attribute:"toggletip-placement"})],We.prototype,"toggletipPlacement",2),f([g({type:String,reflect:!0,attribute:"info-icon-aria-label"})],We.prototype,"infoIconAriaLabel",2);var ge=We;var jb=[H`
|
2102
2102
|
:host {
|
2103
2103
|
--mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
|
2104
2104
|
--mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
|
@@ -2170,7 +2170,7 @@
|
|
2170
2170
|
flex-direction: column;
|
2171
2171
|
gap: 0.25rem;
|
2172
2172
|
}
|
2173
|
-
`,...At(!0)],
|
2173
|
+
`,...At(!0)],Xm=jb;var to=class extends Le(jt(ge)){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?L`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:W}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var s;t.key===Q.ENTER&&((s=this.form)==null||s.requestSubmit())}handleChange(t){this.toggleState();let s=t.constructor;this.dispatchEvent(new s(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return L`
|
2174
2174
|
<mdc-staticcheckbox
|
2175
2175
|
class="mdc-focus-ring"
|
2176
2176
|
?checked="${this.checked}"
|
@@ -2189,7 +2189,7 @@
|
|
2189
2189
|
aria-checked="${this.indeterminate?"mixed":this.checked}"
|
2190
2190
|
.indeterminate="${this.indeterminate}"
|
2191
2191
|
.disabled="${this.disabled}"
|
2192
|
-
aria-label="${(
|
2192
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
2193
2193
|
tabindex="${this.disabled?-1:0}"
|
2194
2194
|
aria-describedby="${nt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
|
2195
2195
|
@change=${this.handleChange}
|
@@ -2197,7 +2197,7 @@
|
|
2197
2197
|
/>
|
2198
2198
|
</mdc-staticcheckbox>
|
2199
2199
|
${this.renderLabelAndHelperText()}
|
2200
|
-
`}};
|
2200
|
+
`}};to.styles=[...ge.styles,...Xm],f([g({type:Boolean,reflect:!0})],to.prototype,"checked",2),f([g({type:Boolean,reflect:!0})],to.prototype,"indeterminate",2),f([g({type:Boolean,reflect:!0})],to.prototype,"autofocus",2);var wc=to;wc.register(am);var Yb=wc;var Zm=j.constructTagName("chip"),Wb={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},qo={COLOR:Wb.DEFAULT,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:vt.SPAN,SIZE:Fi[24],ROLE:et.BUTTON};var qb=H`
|
2201
2201
|
:host {
|
2202
2202
|
height: 1.5rem;
|
2203
2203
|
gap: 0.25rem;
|
@@ -2349,12 +2349,12 @@
|
|
2349
2349
|
--mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
|
2350
2350
|
cursor: auto;
|
2351
2351
|
}
|
2352
|
-
`,
|
2352
|
+
`,Jm=[Et,qb,...At()];var Ko=class extends Qt(de){constructor(){super(...arguments);this.color=qo.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=qo.ROLE,this.size=qo.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?L` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:W}render(){return L`
|
2353
2353
|
${this.renderIcon()}
|
2354
|
-
${this.label?L`<mdc-text part="label" type="${
|
2354
|
+
${this.label?L`<mdc-text part="label" type="${qo.TEXT_TYPE}" tagname="${qo.TAG_NAME}"
|
2355
2355
|
>${this.label}</mdc-text
|
2356
2356
|
>`:W}
|
2357
|
-
`}};
|
2357
|
+
`}};Ko.styles=[...q.styles,...Jm],f([g({type:String,reflect:!0})],Ko.prototype,"color",2),f([g({type:String})],Ko.prototype,"label",2);var Xo=Ko;Xo.register(Zm);var Kb=Xo;var Qm=j.constructTagName("coachmark"),eo={COLOR:Ji.CONTRAST,TRIGGER:Zi.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var ro=class extends we{constructor(){super(...arguments);this.trigger=eo.TRIGGER;this.showArrow=eo.ARROW;this.closeButton=eo.CLOSE_BUTTON;this.disableAriaExpanded=eo.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=eo.COLOR,this.showArrow=eo.ARROW}};f([g({type:String,reflect:!0})],ro.prototype,"trigger",2),f([g({type:Boolean,attribute:"show-arrow"})],ro.prototype,"showArrow",2),f([g({type:Boolean,reflect:!0,attribute:"close-button"})],ro.prototype,"closeButton",2),f([g({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],ro.prototype,"disableAriaExpanded",2);var Lc=ro;Lc.register(Qm);var Xb=Lc;var tu=j.constructTagName("dialog"),Zb={DEFAULT:"default",PROMOTIONAL:"promotional"},qe={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:Zb.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var bi=class{static dispatchDialogEvent(i,t,s=!0){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:s}))}static onShowDialog(i){this.dispatchDialogEvent("shown",i)}static onHideDialog(i){this.dispatchDialogEvent("hidden",i)}static onCloseDialog(i,t=!0){this.dispatchDialogEvent("close",i,t)}static onCreatedDialog(i){this.dispatchDialogEvent("created",i)}static onDestroyedDialog(i){this.dispatchDialogEvent("destroyed",i)}};var Jb=H`
|
2358
2358
|
:host {
|
2359
2359
|
--mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
|
2360
2360
|
--mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
|
@@ -2476,7 +2476,7 @@
|
|
2476
2476
|
mdc-text::part(text) {
|
2477
2477
|
margin: 0;
|
2478
2478
|
}
|
2479
|
-
`,
|
2479
|
+
`,eu=[Jb];var zt=class extends Hn(Gn(Cn(q))){constructor(){super(...arguments);this.id="";this.visible=qe.VISIBLE;this.zIndex=qe.Z_INDEX;this.size=qe.SIZE;this.variant=qe.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=qe.HEADER_TAG_NAME;this.descriptionTagName=qe.DESCRIPTION_TAG_NAME;this.role=qe.ROLE;this.disableAriaHasPopup=qe.DISABLE_ARIA_HAS_POPUP;this.focusTrap=qe.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.backdropElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,s,n;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),(t=this.backdropElement)==null||t.remove(),this.backdropElement=null,(s=this.triggerElement)==null||s.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(n=this.deactivateFocusTrap)==null||n.call(this),this.focusBackToTrigger(),bi.onDestroyedDialog(this)}applyZIndex(){var t;this.style.setProperty("z-index",`${this.zIndex}`),(t=this.backdropElement)==null||t.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),bi.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let s=t.get("visible");await this.isOpenUpdated(s,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=qe.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,s;this.disableAriaHasPopup||(s=this.triggerElement)==null||s.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}createBackdrop(){var n;let t=document.createElement("div");t.classList.add("dialog-backdrop");let s=document.createElement("style");s.textContent=`
|
2480
2480
|
.dialog-backdrop {
|
2481
2481
|
position: fixed;
|
2482
2482
|
top: 0;
|
@@ -2486,7 +2486,7 @@
|
|
2486
2486
|
background: var(--mds-color-theme-common-overlays-secondary-normal);
|
2487
2487
|
z-index: ${this.zIndex-1};
|
2488
2488
|
}
|
2489
|
-
`,
|
2489
|
+
`,t.appendChild(s),(n=this.parentElement)==null||n.appendChild(t),this.backdropElement=t}closeDialog(){bi.onCloseDialog(this,!1)}async isOpenUpdated(t,s){var n,h,m,x,R,$;t!==s&&(s&&!t?(this.lastActiveElement=document.activeElement,this.createBackdrop(),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((n=this.activateFocusTrap)==null||n.call(this)),(h=this.setInitialFocus)==null||h.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),bi.onShowDialog(this)):!s&&t&&((x=this.backdropElement)==null||x.remove(),this.backdropElement=null,(R=this.triggerElement)==null||R.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),($=this.deactivateFocusTrap)==null||$.call(this),this.focusBackToTrigger(),bi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return L`
|
2490
2490
|
${this.headerText?L` <div part="header-section">
|
2491
2491
|
<div part="header">
|
2492
2492
|
<slot name="header-prefix"></slot>
|
@@ -2510,7 +2510,7 @@
|
|
2510
2510
|
part="dialog-close-btn"
|
2511
2511
|
prefix-icon="${qe.CANCEL_ICON}"
|
2512
2512
|
variant="${Bt.TERTIARY}"
|
2513
|
-
size="${
|
2513
|
+
size="${mi[20]}"
|
2514
2514
|
aria-label="${nt(this.closeButtonAriaLabel)||""}"
|
2515
2515
|
@click="${this.closeDialog}"
|
2516
2516
|
></mdc-button>
|
@@ -2518,7 +2518,7 @@
|
|
2518
2518
|
<slot name="dialog-body"></slot>
|
2519
2519
|
</div>
|
2520
2520
|
${this.renderFooter()}
|
2521
|
-
`}};zt.styles=[...q.styles,...
|
2521
|
+
`}};zt.styles=[...q.styles,...eu],f([g({type:String,reflect:!0})],zt.prototype,"id",2),f([g({type:String,reflect:!0})],zt.prototype,"triggerId",2),f([g({type:Boolean,reflect:!0})],zt.prototype,"visible",2),f([g({type:Number,reflect:!0,attribute:"z-index"})],zt.prototype,"zIndex",2),f([g({type:String,reflect:!0})],zt.prototype,"size",2),f([g({type:String,reflect:!0})],zt.prototype,"variant",2),f([g({type:String,attribute:"close-button-aria-label"})],zt.prototype,"closeButtonAriaLabel",2),f([g({type:String,reflect:!0,attribute:"aria-label"})],zt.prototype,"ariaLabel",2),f([g({type:String,reflect:!0,attribute:"aria-labelledby"})],zt.prototype,"ariaLabelledby",2),f([g({type:String,reflect:!0,attribute:"aria-describedby"})],zt.prototype,"ariaDescribedBy",2),f([g({type:String,reflect:!0,attribute:"aria-description"})],zt.prototype,"ariaDescription",2),f([g({type:String,reflect:!0,attribute:"header-text"})],zt.prototype,"headerText",2),f([g({type:String,reflect:!0,attribute:"description-text"})],zt.prototype,"descriptionText",2),f([g({type:String,reflect:!0,attribute:"header-tag-name"})],zt.prototype,"headerTagName",2),f([g({type:String,reflect:!0,attribute:"description-tag-name"})],zt.prototype,"descriptionTagName",2),f([g({type:String,reflect:!0})],zt.prototype,"role",2),f([g({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],zt.prototype,"disableAriaHasPopup",2),f([g({type:Boolean,reflect:!0,attribute:"focus-trap"})],zt.prototype,"focusTrap",2);var Nc=zt;Nc.register(tu);var Qb=Nc;var ru=j.constructTagName("divider"),io={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ea={SOLID:"solid",GRADIENT:"gradient"},be={POSITIVE:"positive",NEGATIVE:"negative"},ra={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},oo={ORIENTATION:io.HORIZONTAL,VARIANT:ea.SOLID,ARROW_DIRECTION:be.NEGATIVE,BUTTON_DIRECTION:be.NEGATIVE};var ty=[Et,H`
|
2522
2522
|
:host {
|
2523
2523
|
--mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
|
2524
2524
|
--mdc-divider-width: 0.0625rem;
|
@@ -2715,11 +2715,11 @@
|
|
2715
2715
|
line-height: var(--mdc-divider-text-line-height);
|
2716
2716
|
flex-shrink: 0;
|
2717
2717
|
}
|
2718
|
-
`],
|
2718
|
+
`],iu=ty;var yi=class extends q{constructor(){super(...arguments);this.orientation=oo.ORIENTATION;this.variant=oo.VARIANT;this.arrowDirection=oo.ARROW_DIRECTION;this.buttonPosition=oo.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(ea).includes(t)?t:oo.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(io).includes(t)?t:oo.ORIENTATION)}ensureValidDirections(){let t=this.orientation===io.HORIZONTAL?be.NEGATIVE:be.POSITIVE;Object.values(be).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(be).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let s=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",s)}}getArrowIcon(){let t=this.orientation===io.HORIZONTAL,s=this.arrowDirection===be.POSITIVE;return t?s?ra.UP:ra.DOWN:s?ra.RIGHT:ra.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),s=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(s.length>1)return;let n=s.some(x=>x.tagName===$s.toUpperCase()),h=s.some(x=>x.tagName===Bi.toUpperCase());n&&!h?this.setAttribute("data-type","mdc-text-divider"):!n&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return L`
|
2719
2719
|
<div></div>
|
2720
2720
|
<slot @slotchange=${this.inferDividerType}></slot>
|
2721
2721
|
<div></div>
|
2722
|
-
`}};
|
2722
|
+
`}};yi.styles=[...q.styles,...iu],f([g({type:String,reflect:!0})],yi.prototype,"orientation",2),f([g({type:String,reflect:!0})],yi.prototype,"variant",2),f([g({type:String,attribute:"arrow-direction",reflect:!0})],yi.prototype,"arrowDirection",2),f([g({type:String,attribute:"button-position",reflect:!0})],yi.prototype,"buttonPosition",2);var Rc=yi;Rc.register(ru);var ey=Rc;var ry=H`
|
2723
2723
|
:host([selected]) {
|
2724
2724
|
border: 2px solid;
|
2725
2725
|
--mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
|
@@ -2741,7 +2741,7 @@
|
|
2741
2741
|
--mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
|
2742
2742
|
cursor: auto;
|
2743
2743
|
}
|
2744
|
-
`,
|
2744
|
+
`,ou=[ry];var su=j.constructTagName("filterchip"),Mc={ICON_NAME:"check-bold",COLOR:"default"};var ia=class extends Xo{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Mc.COLOR}setSelected(t){t?(this.iconName=Mc.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(t){super.update(t),t.has("selected")&&this.setSelected(this.selected)}};ia.styles=[...Xo.styles,...ou],f([g({type:Boolean,reflect:!0})],ia.prototype,"selected",2);var Oc=ia;Oc.register(su);var iy=Oc;var oy=H`
|
2745
2745
|
:host::part(container) {
|
2746
2746
|
display: flex;
|
2747
2747
|
flex-direction: column;
|
@@ -2757,18 +2757,18 @@
|
|
2757
2757
|
:host::part(label-text) {
|
2758
2758
|
font-weight: bold;
|
2759
2759
|
}
|
2760
|
-
`,
|
2760
|
+
`,au=[oy];var Yn=class extends jt(ge){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.id="",this.disabled=void 0}render(){var t;return L`
|
2761
2761
|
<div
|
2762
2762
|
part="container"
|
2763
|
-
role="${this.isRadio?
|
2763
|
+
role="${this.isRadio?et.RADIOGROUP:et.GROUP}"
|
2764
2764
|
aria-labelledby="${Mt.HEADING_ID}"
|
2765
2765
|
aria-describedby="${nt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
|
2766
|
-
aria-label="${(
|
2766
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
2767
2767
|
>
|
2768
2768
|
<div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
|
2769
2769
|
<slot></slot>
|
2770
2770
|
</div>
|
2771
|
-
`}};
|
2771
|
+
`}};Yn.styles=[...ge.styles,...au];var Pc=Yn;var nu=j.constructTagName("formfieldgroup");Pc.register(nu);var Wn=Pc;zs.register(ln);var sy=zs;var lu=zi(class extends pi{constructor(l){if(super(l),l.type!==nr.PROPERTY&&l.type!==nr.ATTRIBUTE&&l.type!==nr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!hn(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Ie||i===W)return i;let t=l.element,s=l.name;if(l.type===nr.PROPERTY){if(i===t[s])return Ie}else if(l.type===nr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(s))return Ie}else if(l.type===nr.ATTRIBUTE&&t.getAttribute(s)===i+"")return Ie;return Ep(l),i}});ge.register(Wm);var Ke=ge;var cu=j.constructTagName("input"),qn={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Dc={OFF:"off",ON:"on"},Zo={PASSWORD:"password",TEXT:"text",SEARCH:"search"},du={MAX_LENGTH:10,VALIDATION:Yt.ERROR},Wr={VALIDATION:Yt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Bt.TERTIARY,CLEAR_BUTTON_SIZE:mi[20],PREFIX_TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:vt.SPAN,AUTO_COMPLETE:Dc.OFF,INPUT_TYPE:Zo.TEXT};var ay=[H`
|
2772
2772
|
:host {
|
2773
2773
|
--mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
|
2774
2774
|
--mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
|
@@ -2892,46 +2892,46 @@
|
|
2892
2892
|
opacity: 0;
|
2893
2893
|
pointer-events: none;
|
2894
2894
|
}
|
2895
|
-
`,...At(!0)],
|
2895
|
+
`,...At(!0)],hu=ay;var Xt=class extends Le(jt(Ke)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=qn.OFF;this.autocomplete=Dc.OFF;this.autofocus=!1;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,s,n){super.attributeChangedCallback(t,s,n),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let s=t.constructor;this.dispatchEvent(new s(t.type,t))}handleKeyDown(t){var s;t.key===Q.ENTER&&((s=this.form)==null||s.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?L`
|
2896
2896
|
<mdc-icon
|
2897
2897
|
class="leading-icon"
|
2898
2898
|
part="leading-icon"
|
2899
2899
|
name=${this.leadingIcon}
|
2900
|
-
size="${
|
2901
|
-
length-unit="${
|
2900
|
+
size="${Wr.ICON_SIZE_VALUE}"
|
2901
|
+
length-unit="${Wr.ICON_SIZE_UNIT}"
|
2902
2902
|
>
|
2903
2903
|
</mdc-icon>
|
2904
2904
|
`:W}renderPrefixText(){return this.prefixText?L`
|
2905
2905
|
<mdc-text
|
2906
2906
|
class="prefix-text"
|
2907
|
-
tagname="${
|
2908
|
-
type="${
|
2907
|
+
tagname="${Wr.PREFIX_TEXT_TAG}"
|
2908
|
+
type="${Wr.PREFIX_TEXT_TYPE}"
|
2909
2909
|
aria-hidden="true"
|
2910
2910
|
>
|
2911
|
-
${this.prefixText.slice(0,
|
2911
|
+
${this.prefixText.slice(0,du.MAX_LENGTH)}
|
2912
2912
|
</mdc-text>
|
2913
|
-
`:W}clearInputText(){var
|
2913
|
+
`:W}clearInputText(){var t;this.value="",(t=this.inputElement)==null||t.focus()}renderTrailingButton(t=!1){let s=t||this.value&&this.trailingButton;return s?L`
|
2914
2914
|
<mdc-button
|
2915
2915
|
part="trailing-button"
|
2916
2916
|
class="own-focus-ring ${s?"":"hidden"}"
|
2917
|
-
prefix-icon="${
|
2918
|
-
variant="${
|
2919
|
-
size="${
|
2917
|
+
prefix-icon="${Wr.CLEAR_BUTTON_ICON}"
|
2918
|
+
variant="${Wr.CLEAR_BUTTON_VARIANT}"
|
2919
|
+
size="${Wr.CLEAR_BUTTON_SIZE}"
|
2920
2920
|
aria-label="${this.clearAriaLabel}"
|
2921
2921
|
@click=${this.clearInputText}
|
2922
2922
|
?disabled=${this.disabled||this.readonly||!s}
|
2923
2923
|
></mdc-button>
|
2924
|
-
`:W}renderInputElement(
|
2924
|
+
`:W}renderInputElement(t,s=!1){var h;let n=s?"":this.placeholder;return L`<input
|
2925
2925
|
aria-label="${(h=this.dataAriaLabel)!=null?h:""}"
|
2926
2926
|
class="input"
|
2927
2927
|
part="mdc-input"
|
2928
2928
|
id="${this.id}"
|
2929
2929
|
name="${this.name}"
|
2930
|
-
.value="${
|
2930
|
+
.value="${lu(this.value)}"
|
2931
2931
|
?disabled="${this.disabled}"
|
2932
2932
|
?readonly="${this.readonly}"
|
2933
2933
|
?required="${this.required}"
|
2934
|
-
type="${
|
2934
|
+
type="${t}"
|
2935
2935
|
aria-describedby="${nt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
|
2936
2936
|
aria-invalid="${this.helpTextType==="error"?"true":"false"}"
|
2937
2937
|
placeholder=${nt(n)}
|
@@ -2953,12 +2953,12 @@
|
|
2953
2953
|
<slot name="input-leading-icon">${this.renderLeadingIcon()}</slot>
|
2954
2954
|
<div class="input-section" part="input-section">
|
2955
2955
|
<slot name="input-prefix-text">${this.renderPrefixText()}</slot>
|
2956
|
-
<slot name="input">${this.renderInputElement(
|
2956
|
+
<slot name="input">${this.renderInputElement(Wr.INPUT_TYPE)}</slot>
|
2957
2957
|
</div>
|
2958
2958
|
<slot name="trailing-button">${this.renderTrailingButton()}</slot>
|
2959
2959
|
</div>
|
2960
2960
|
${this.helpText?this.renderHelperText():W}
|
2961
|
-
`}};Xt.styles=[...Ke.styles,...
|
2961
|
+
`}};Xt.styles=[...Ke.styles,...hu],f([g({type:String})],Xt.prototype,"placeholder",2),f([g({type:Boolean})],Xt.prototype,"readonly",2),f([g({type:String,attribute:"prefix-text"})],Xt.prototype,"prefixText",2),f([g({type:String,attribute:"leading-icon"})],Xt.prototype,"leadingIcon",2),f([g({type:Boolean,attribute:"trailing-button"})],Xt.prototype,"trailingButton",2),f([g({type:Number})],Xt.prototype,"maxlength",2),f([g({type:Number})],Xt.prototype,"minlength",2),f([g({type:String})],Xt.prototype,"autocapitalize",2),f([g({type:String})],Xt.prototype,"autocomplete",2),f([g({type:Boolean})],Xt.prototype,"autofocus",2),f([g({type:String})],Xt.prototype,"dirname",2),f([g({type:String})],Xt.prototype,"pattern",2),f([g({type:String})],Xt.prototype,"list",2),f([g({type:Number})],Xt.prototype,"size",2),f([g({type:String,attribute:"clear-aria-label"})],Xt.prototype,"clearAriaLabel",2);var qr=Xt;qr.register(cu);var ny=qr;var ly=H`
|
2962
2962
|
:host {
|
2963
2963
|
height: 1.5rem;
|
2964
2964
|
gap: 0.25rem;
|
@@ -2989,9 +2989,9 @@
|
|
2989
2989
|
--mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
|
2990
2990
|
cursor: auto;
|
2991
2991
|
}
|
2992
|
-
`,
|
2992
|
+
`,pu=[Et,ly];var Kn=j.constructTagName("inputchip"),Xn={TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:vt.SPAN,CLOSE_ICON:"cancel-bold"};var so=class extends Qt($t(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?L` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:W}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return L`
|
2993
2993
|
${this.renderIcon()}
|
2994
|
-
${this.label?L`<mdc-text part="label" type="${
|
2994
|
+
${this.label?L`<mdc-text part="label" type="${Xn.TEXT_TYPE}" tagname="${Xn.TAG_NAME}"
|
2995
2995
|
>${this.label}</mdc-text
|
2996
2996
|
>`:W}
|
2997
2997
|
<mdc-button
|
@@ -2999,11 +2999,11 @@
|
|
2999
2999
|
variant="tertiary"
|
3000
3000
|
part="close-icon"
|
3001
3001
|
aria-label="${this.clearAriaLabel}"
|
3002
|
-
prefix-icon="${
|
3002
|
+
prefix-icon="${Xn.CLOSE_ICON}"
|
3003
3003
|
size="20"
|
3004
3004
|
@click="${this.handleClose}"
|
3005
3005
|
></mdc-button>
|
3006
|
-
`}};
|
3006
|
+
`}};so.styles=[...q.styles,...pu],f([g({type:String})],so.prototype,"label",2),f([g({type:Boolean})],so.prototype,"error",2),f([g({type:String,attribute:"clear-aria-label"})],so.prototype,"clearAriaLabel",2);var Fc=so;Fc.register(Kn);var cy=Fc;var dy=H`
|
3007
3007
|
:host {
|
3008
3008
|
gap: 0.25rem;
|
3009
3009
|
}
|
@@ -3061,10 +3061,10 @@
|
|
3061
3061
|
text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
|
3062
3062
|
text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
|
3063
3063
|
}
|
3064
|
-
`,
|
3064
|
+
`,mu=[dy];var oa=class extends Qt(fi){constructor(){super(...arguments);this.size=Jp.LINK_SIZE}getIconSize(){switch(this.size){case Sn.SMALL:return In.SMALL;case Sn.MIDSIZE:return In.MIDSIZE;default:return In.LARGE}}render(){return L`
|
3065
3065
|
<slot></slot>
|
3066
3066
|
${this.iconName?L` <mdc-icon name=${this.iconName} size=${this.getIconSize()} length-unit="rem"></mdc-icon> `:W}
|
3067
|
-
`}};
|
3067
|
+
`}};oa.styles=[...fi.styles,...mu],f([g({type:String,reflect:!0})],oa.prototype,"size",2);var sa=oa;sa.register(_n);var hy=sa;var uu=j.constructTagName("linkbutton"),Jo={12:12,14:14,16:16},Qo={SIZE:Jo[16],ROLE:et.BUTTON,INLINE:Fo.INLINE,INVERTED:Fo.INVERTED};var fu=l=>{switch(l){case Jo[12]:return .75;case Jo[14]:return .875;default:return 1}};var py=H`
|
3068
3068
|
:host {
|
3069
3069
|
--mdc-link-color-disabled: var(--mds-color-theme-text-primary-disabled);
|
3070
3070
|
gap: 0.25rem;
|
@@ -3127,16 +3127,16 @@
|
|
3127
3127
|
:host([soft-disabled]) {
|
3128
3128
|
color: var(--mdc-link-color-disabled);
|
3129
3129
|
}
|
3130
|
-
`,
|
3130
|
+
`,vu=[py];var ao=class extends Qt(de){constructor(){super(...arguments);this.size=Qo.SIZE;this.inline=Qo.INLINE;this.inverted=Qo.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Qo.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Jo).includes(t)?`${t}`:Qo.SIZE.toString())}render(){return L`
|
3131
3131
|
<slot></slot>
|
3132
|
-
${this.iconName?L` <mdc-icon name=${this.iconName} size=${
|
3133
|
-
`}};
|
3132
|
+
${this.iconName?L` <mdc-icon name=${this.iconName} size=${fu(this.size)} length-unit="rem"></mdc-icon> `:W}
|
3133
|
+
`}};ao.styles=[...sa.styles,...vu],f([g({type:Number,reflect:!0})],ao.prototype,"size",2),f([g({type:Boolean,reflect:!0})],ao.prototype,"inline",2),f([g({type:Boolean,reflect:!0})],ao.prototype,"inverted",2);var $c=ao;$c.register(uu);var my=$c;fi.register(Kp);var uy=fi;var Zn=j.constructTagName("listitem"),aa={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},zc={VARIANT:aa.FULL_WIDTH,TOOLTIP_PLACEMENT:Ut.TOP};var gu=j.constructTagName("list"),Vc="header-id";var fy=H`
|
3134
3134
|
:host::part(header-text) {
|
3135
3135
|
padding: 0.5rem 0.75rem;
|
3136
3136
|
}
|
3137
|
-
`,
|
3137
|
+
`,bu=[fy];var ts=class extends jt(q){constructor(){super();this.dataRole=et.LIST;this.addEventListener("keydown",this.handleKeyDown)}handleKeyDown(t){var h;let s=this.getCurrentIndex(t.target),n=this.getNewIndexBasedOnKey(t.key,s,this.listItems.length);n!==void 0&&((h=this.listItems[n])==null||h.focus(),this.resetTabIndexAndSetActiveTabIndex(n))}getCurrentIndex(t){return this.listItems.findIndex(s=>s===t||s===t.parentElement)}getNewIndexBasedOnKey(t,s,n){switch(t){case Q.ARROW_DOWN:return(s+1)%n;case Q.ARROW_UP:return(s-1+n)%n;case Q.HOME:return 0;case Q.END:return n-1;default:return}}handleMouseClick(t){let s=this.getCurrentIndex(t.target);this.resetTabIndexAndSetActiveTabIndex(s)}resetTabIndexAndSetActiveTabIndex(t){this.listItems.forEach((s,n)=>{let h=t===n?"0":"-1";s==null||s.setAttribute("tabindex",h)})}firstUpdated(){this.resetTabIndexAndSetActiveTabIndex(0)}render(){var s;let t=this.headerText?L`
|
3138
3138
|
<mdc-text
|
3139
|
-
id="${
|
3139
|
+
id="${Vc}"
|
3140
3140
|
part="header-text"
|
3141
3141
|
type="${ot.BODY_MIDSIZE_BOLD}"
|
3142
3142
|
tagname="${vt.SPAN}"
|
@@ -3145,13 +3145,13 @@
|
|
3145
3145
|
`:W;return L`
|
3146
3146
|
<div
|
3147
3147
|
role="${this.dataRole}"
|
3148
|
-
aria-labelledby="${this.headerText?
|
3148
|
+
aria-labelledby="${this.headerText?Vc:""}"
|
3149
3149
|
aria-label="${(s=this.dataAriaLabel)!=null?s:""}"
|
3150
3150
|
>
|
3151
|
-
${
|
3151
|
+
${t}
|
3152
3152
|
<slot role="presentation" @click="${this.handleMouseClick}"></slot>
|
3153
3153
|
</div>
|
3154
|
-
`}};
|
3154
|
+
`}};ts.styles=[...q.styles,...bu],f([Ft({selector:`${Zn}:not([disabled])`})],ts.prototype,"listItems",2),f([g({type:String,attribute:"header-text",reflect:!0})],ts.prototype,"headerText",2);var Bc=ts;Bc.register(gu);var vy=Bc;var na=j.constructTagName("tooltip"),Pe={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Ei={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Ut.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Pe.DESCRIPTION};var gy=H`
|
3155
3155
|
:host {
|
3156
3156
|
--mdc-tooltip-max-width: 400px;
|
3157
3157
|
--mdc-tooltip-padding: 0.75rem;
|
@@ -3175,7 +3175,7 @@
|
|
3175
3175
|
:host([color='contrast'])::part(popover-content) {
|
3176
3176
|
color: var(--mdc-tooltip-text-color-contrast);
|
3177
3177
|
}
|
3178
|
-
`,
|
3178
|
+
`,yu=[gy];var es=class extends we{constructor(){super(...arguments);this.tooltipType=Ei.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Ei.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Ei.OFFSET,this.placement=this.placement||Ei.PLACEMENT,this.role=et.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,s;return((s=(t=this.defaultSlotNodes)==null?void 0:t.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Pe).includes(t)?t:Ei.TOOLTIP_TYPE)}onIdUpdated(){this.id.length===0&&(this.id=`mdc-tooltip-${Ye()}`);let t=document.getElementById(this.triggerID);if(t)switch(this.tooltipType){case Pe.DESCRIPTION:t.setAttribute("aria-describedby",this.id);break;case Pe.LABEL:t.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Ut).includes(this.placement)||(this.placement=Ei.PLACEMENT)}onTooltipTypeUpdated(t){let s=t.get("tooltipType");Object.values(Pe).includes(this.tooltipType)||this.setTooltipType(Ei.TOOLTIP_TYPE);let n=document.getElementById(this.triggerID);if(n){let h=this.getTooltipText();switch(this.tooltipType){case Pe.DESCRIPTION:s===Pe.LABEL&&n.removeAttribute("aria-labelledby"),n.setAttribute("aria-describedby",this.id);break;case Pe.LABEL:s===Pe.DESCRIPTION&&n.removeAttribute("aria-describedby"),n.setAttribute("aria-labelledby",this.id);break;default:s===Pe.DESCRIPTION?n.removeAttribute("aria-describedby"):s===Pe.LABEL&&n.removeAttribute("aria-labelledby");break}h.length>0&&this.tooltipType!==Pe.NONE&&!this.ariaLabel&&(this.ariaLabel=h)}}update(t){super.update(t),t.has("id")&&this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};es.styles=[...we.styles,...yu],f([g({type:String,attribute:"tooltip-type",reflect:!0})],es.prototype,"tooltipType",2),f([en()],es.prototype,"defaultSlotNodes",2);var Uc=es;Uc.register(na);var by=Uc;var yy=H`
|
3179
3179
|
:host {
|
3180
3180
|
--mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
|
3181
3181
|
--mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
|
@@ -3270,11 +3270,11 @@
|
|
3270
3270
|
display: flex;
|
3271
3271
|
flex-direction: row;
|
3272
3272
|
}
|
3273
|
-
`,
|
3274
|
-
<slot name="${
|
3275
|
-
${n?L`<mdc-text part="${
|
3273
|
+
`,Eu=[yy,...At()];var Tu=()=>`listitem-tooltip-popover-${Ye()}`,xu=()=>`listitem-tooltip-triggerid-${Ye()}`;var no=class{static dispatchListItemEvent(i,t){t.dispatchEvent(new Event(i,{composed:!0,bubbles:!0}))}static onDisableListItem(i){this.dispatchListItemEvent("disabled",i)}static onEnableListItem(i){this.dispatchListItemEvent("enabled",i)}static onCreatedListItem(i){setTimeout(()=>this.dispatchListItemEvent("created",i),0)}static onDestroyedListItem(i){this.dispatchListItemEvent("destroyed",i)}};var ye=class extends $t(Ue(q)){constructor(){super();this.variant=zc.VARIANT;this.tooltipPlacement=zc.TOOLTIP_PLACEMENT;this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("focusin",this.displayTooltipForLongText),this.addEventListener("mouseenter",this.displayTooltipForLongText),this.addEventListener("focusout",this.hideTooltipOnLeave),this.addEventListener("mouseout",this.hideTooltipOnLeave),this.addEventListener("click",this.handleClick)}connectedCallback(){super.connectedCallback(),this.role=this.role||et.LISTITEM,this.id=this.id||xu(),no.onCreatedListItem(this)}disconnectedCallback(){super.disconnectedCallback(),no.onDestroyedListItem(this)}handleKeyDown(t){(t.key===Q.ENTER||t.key===Q.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleClick(){this.hideTooltipOnLeave()}displayTooltipForLongText(){var s,n;if(!this.tooltipText)return;this.hideTooltipOnLeave();let t=document.createElement(na);t.id=Tu(),t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("placement",this.tooltipPlacement),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),(s=this.parentElement)!=null&&s.hasAttribute("slot")&&t.setAttribute("slot",this.parentElement.getAttribute("slot")||""),(n=this.parentElement)==null||n.after(t)}hideTooltipOnLeave(){let t=document.querySelector(`${na}[triggerid="${this.id}"]`);t&&t.remove()}getText(t,s,n){return L`
|
3274
|
+
<slot name="${t}">
|
3275
|
+
${n?L`<mdc-text part="${t}" type="${s}" tagname="${vt.SPAN}">${n}</mdc-text>`:W}
|
3276
3276
|
</slot>
|
3277
|
-
`}disableSlottedChildren(
|
3277
|
+
`}disableSlottedChildren(t=!1){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(s=>{t?(s.setAttribute("disabled",""),no.onDisableListItem(this)):(s.removeAttribute("disabled"),no.onEnableListItem(this))}),this.setAttribute("aria-disabled",`${t}`)}update(t){super.update(t),t.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled)),t.has("softDisabled")&&this.disableSlottedChildren(this.softDisabled)}renderTrailingControls(){return L`<slot
|
3278
3278
|
name="trailing-controls"
|
3279
3279
|
@click=${this.stopEventPropagation}
|
3280
3280
|
@keyup=${this.stopEventPropagation}
|
@@ -3284,7 +3284,7 @@
|
|
3284
3284
|
@click=${this.stopEventPropagation}
|
3285
3285
|
@keyup=${this.stopEventPropagation}
|
3286
3286
|
@keydown=${this.stopEventPropagation}
|
3287
|
-
></slot>`}stopEventPropagation(
|
3287
|
+
></slot>`}stopEventPropagation(t){(t instanceof KeyboardEvent&&(t.key===Q.ENTER||t.key===Q.SPACE)||t instanceof MouseEvent)&&t.stopPropagation()}render(){return L`
|
3288
3288
|
<div part="leading">
|
3289
3289
|
${this.renderLeadingControls()}
|
3290
3290
|
<div part="leading-text">
|
@@ -3300,7 +3300,7 @@
|
|
3300
3300
|
</div>
|
3301
3301
|
${this.renderTrailingControls()}
|
3302
3302
|
</div>
|
3303
|
-
`}};ye.styles=[...q.styles,...
|
3303
|
+
`}};ye.styles=[...q.styles,...Eu],f([Ft({slot:"leading-controls"})],ye.prototype,"leadingControlsSlot",2),f([Ft({slot:"trailing-controls"})],ye.prototype,"trailingControlsSlot",2),f([g({type:String,reflect:!0})],ye.prototype,"variant",2),f([g({type:String,reflect:!0})],ye.prototype,"label",2),f([g({type:String,reflect:!0,attribute:"secondary-label"})],ye.prototype,"secondaryLabel",2),f([g({type:String,reflect:!0,attribute:"tertiary-label"})],ye.prototype,"tertiaryLabel",2),f([g({type:String,reflect:!0,attribute:"side-header-text"})],ye.prototype,"sideHeaderText",2),f([g({type:String,reflect:!0,attribute:"subline-text"})],ye.prototype,"sublineText",2),f([g({type:Boolean,reflect:!0,attribute:"soft-disabled"})],ye.prototype,"softDisabled",2),f([g({type:String,reflect:!0,attribute:"tooltip-text"})],ye.prototype,"tooltipText",2),f([g({type:String,reflect:!0,attribute:"tooltip-placement"})],ye.prototype,"tooltipPlacement",2);var Kr=ye;Kr.register(Zn);var Ey=Kr;var Ty=H`
|
3304
3304
|
:host {
|
3305
3305
|
--mdc-marker-width: 0.25rem;
|
3306
3306
|
--mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
|
@@ -3325,7 +3325,7 @@
|
|
3325
3325
|
var(--mdc-marker-striped-background-color) 0.375rem
|
3326
3326
|
);
|
3327
3327
|
}
|
3328
|
-
`,
|
3328
|
+
`,Au=[Ty];var _u=j.constructTagName("marker"),Su={SOLID:"solid",STRIPED:"striped"};var la=class extends q{constructor(){super(...arguments);this.variant=Su.SOLID}};la.styles=[...q.styles,...Au],f([g({type:String,reflect:!0})],la.prototype,"variant",2);var Gc=la;Gc.register(_u);var xy=Gc;var Wt=j.constructTagName("menupopover"),Hc={PLACEMENT:Ut.BOTTOM_START,ORIENTATION:"vertical"};var Xr=j.constructTagName("menusection"),Iu={DIVIDER_VARIANT:"solid"};var Ti=j.constructTagName("sidenavigation"),_r={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},ca={VARIANT:_r.FLEXIBLE};var da=j.constructTagName("menubar"),ku={ORIENTATION:"vertical"};var Ay=H`
|
3329
3329
|
:host {
|
3330
3330
|
display: flex;
|
3331
3331
|
}
|
@@ -3337,7 +3337,7 @@
|
|
3337
3337
|
:host([aria-orientation='vertical']) {
|
3338
3338
|
flex-direction: column;
|
3339
3339
|
}
|
3340
|
-
`,
|
3340
|
+
`,Cu=[Ay];var ha=class extends q{constructor(){super(),this.addEventListener("keydown",this.handleKeyDown)}async connectedCallback(){var i;super.connectedCallback(),this.role=et.MENUBAR,this.ariaOrientation=ku.ORIENTATION,await this.updateComplete,(i=this.menusections)==null||i.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var h,m;let i=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"),t=(m=i==null?void 0:i.assignedElements({flatten:!0}))!=null?m:[],s=[],n=x=>{x.role===et.MENUITEM&&!x.hasAttribute("disabled")?s.push(x):x.tagName.toLowerCase()===Xr&&Array.from(x.children).forEach(n)};return t.forEach(n),s}getAllPopovers(){var n,h;if(!this.menuItems.length)return[];let i=(h=(n=this.menuItems[0])==null?void 0:n.closest(Ti))!=null?h:this;if(!i)return[];let t=[],s=m=>{m.querySelectorAll(`${Wt}`).forEach(x=>{t.push(x)}),m.querySelectorAll("slot").forEach(x=>{x.assignedElements({flatten:!0}).forEach(s)})};return s(i),t}update(i){super.update(i)}firstUpdated(i){super.firstUpdated(i),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}resetTabIndexAndSetActiveTabIndex(i){i.forEach((t,s)=>{let n=s===0?"0":"-1";t==null||t.setAttribute("tabindex",n)})}getCurrentIndex(i){return this.menuItems.findIndex(t=>t===i||t===i.parentElement)}getSubmenu(i){if(i)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===i)}showSubmenu(i){if(!i||!this.menuItems.find(n=>n.getAttribute("id")===i))return;let s=this.getSubmenu(i);s&&s.showPopover()}updatePopoverPlacement(){let i=Ut.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",i)})}updateTabIndexAndFocus(i,t,s){var n,h,m;s<0||t<0||(t!==s&&((n=i[t])==null||n.setAttribute("tabindex","-1"),(h=i[s])==null||h.setAttribute("tabindex","0")),(m=i[s])==null||m.focus())}navigateToMenuItem(i,t,s=!1){var m;let{length:n}=this.menuItems;if(n===0)return;let h=i;if(h=t==="prev"?(i-1+n)%n:(i+1)%n,this.updateTabIndexAndFocus(this.menuItems,i,h),s){let x=(m=this.menuItems[h])==null?void 0:m.getAttribute("id");this.getSubmenu(x)&&!this.menuItems[h].hasAttribute("soft-disabled")&&this.showSubmenu(x)}}getKeyWithDirectionFix(i){return window.getComputedStyle(this).direction==="rtl"?i===Q.ARROW_LEFT?Q.ARROW_RIGHT:i===Q.ARROW_RIGHT?Q.ARROW_LEFT:i:i}isTopLevelMenuItem(i){var h;let t=i.parentElement;if(!t||i.role!==et.MENUITEM)return!1;let s=t.tagName.toLowerCase(),n=(h=t.parentElement)==null?void 0:h.tagName.toLowerCase();return s===da||s===Ti||s===Xr&&(n===da||n===Ti)}isNestedMenuItem(i){return!!i.closest(Wt)&&i.role===et.MENUITEM}async closeAllMenuPopovers(){let i=[];for(;ve.peek();){let t=ve.pop();t&&(t.hidePopover(),i.push(t))}await Promise.all(i.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(i){if(i.role===et.MENUITEM){let s=i.closest(Wt),n=s==null?void 0:s.getAttribute("triggerid"),h=this.menuItems.find(m=>m.getAttribute("id")===n);if(h){this.isTopLevelMenuItem(h)&&(s==null||s.hidePopover()),await(s==null?void 0:s.updateComplete);let m=this.getCurrentIndex(h);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(i){if(this.isTopLevelMenuItem(i)&&this.getSubmenu(i.id)&&!i.hasAttribute("soft-disabled"))this.showSubmenu(i.id);else if(this.isNestedMenuItem(i)&&!this.getSubmenu(i.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(i);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(i){let t=i.parentElement;for(;t;){if(t.tagName.toLowerCase()===Wt){let s=t.getAttribute("triggerid"),n=this.menuItems.find(h=>h.getAttribute("id")===s);if(n)return this.isTopLevelMenuItem(n)?this.menuItems.findIndex(h=>h===n):this.getParentMenuItemIndex(n)}t=t.parentElement}return-1}async handleKeyDown(i){let t=this.getCurrentIndex(i.target);switch(this.getKeyWithDirectionFix(i.key)){case Q.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case Q.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case Q.ARROW_LEFT:{let n=t>=0?this.menuItems[t]:i.target;await this.crossMenubarNavigationOnLeft(n);break}case Q.ARROW_RIGHT:{let n=t>=0?this.menuItems[t]:i.target;await this.crossMenubarNavigationOnRight(n);break}case Q.ARROW_UP:{this.navigateToMenuItem(t,"prev"),i.preventDefault();break}case Q.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),i.preventDefault();break}default:break}}render(){return L`<slot role="${et.GROUP}"></slot>`}};ha.styles=[...q.styles,...Cu],f([Ft({selector:"mdc-menusection",flatten:!0})],ha.prototype,"menusections",2);var jc=ha;jc.register(da);var _y=jc;var pa=j.constructTagName("menuitem"),ma={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},Yc={POSITIVE:"positive",NEGATIVE:"negative"},Wc={LEADING:"leading",TRAILING:"trailing"};var Sy=H`
|
3341
3341
|
:host(:dir(rtl))::part(trailing-arrow),
|
3342
3342
|
:host(:dir(rtl))::part(leading-arrow) {
|
3343
3343
|
transform: rotate(180deg);
|
@@ -3346,23 +3346,23 @@
|
|
3346
3346
|
:host::part(leading-arrow) {
|
3347
3347
|
--mdc-icon-size: 1.25rem;
|
3348
3348
|
}
|
3349
|
-
`,
|
3349
|
+
`,wu=[Sy];var xi=class extends Kr{constructor(){super();this.name=void 0;this.value=void 0;this.addEventListener("keyup",this.handleKeyUp)}handleKeyDown(t){t.key===Q.ENTER&&(this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){t.key===Q.SPACE&&(this.triggerClickEvent(),t.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEM,this.variant=aa.INSET_RECTANGLE}renderTrailingControls(){let t=this.arrowDirection===Yc.NEGATIVE?ma.LEFT:ma.RIGHT;return L`
|
3350
3350
|
<slot
|
3351
3351
|
name="trailing-controls"
|
3352
3352
|
@click=${this.stopEventPropagation}
|
3353
3353
|
@keyup=${this.stopEventPropagation}
|
3354
3354
|
@keydown=${this.stopEventPropagation}
|
3355
3355
|
></slot>
|
3356
|
-
${this.arrowPosition===
|
3357
|
-
`}renderLeadingControls(){let
|
3356
|
+
${this.arrowPosition===Wc.TRAILING?L`<mdc-icon name="${t}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:W}
|
3357
|
+
`}renderLeadingControls(){let t=this.arrowDirection===Yc.POSITIVE?ma.RIGHT:ma.LEFT;return L`
|
3358
3358
|
<slot
|
3359
3359
|
name="leading-controls"
|
3360
3360
|
@click=${this.stopEventPropagation}
|
3361
3361
|
@keyup=${this.stopEventPropagation}
|
3362
3362
|
@keydown=${this.stopEventPropagation}
|
3363
3363
|
></slot>
|
3364
|
-
${this.arrowPosition===
|
3365
|
-
`}};
|
3364
|
+
${this.arrowPosition===Wc.LEADING?L`<mdc-icon name="${t}" length-unit="rem" part="leading-arrow"></mdc-icon>`:W}
|
3365
|
+
`}};xi.styles=[...Kr.styles,...wu],f([g({type:String,reflect:!0,attribute:"arrow-position"})],xi.prototype,"arrowPosition",2),f([g({type:String,reflect:!0,attribute:"arrow-direction"})],xi.prototype,"arrowDirection",2),f([g({type:String,reflect:!0})],xi.prototype,"name",2),f([g({type:String,reflect:!0})],xi.prototype,"value",2);var Xe=xi;Xe.register(pa);var Iy=Xe;var Lu=j.constructTagName("statictoggle"),ky={DEFAULT:"default",COMPACT:"compact"},qc={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},Nu={compact:.75,default:1.25},Ru={SIZE:ky.DEFAULT};var Cy=[H`
|
3366
3366
|
:host {
|
3367
3367
|
--mdc-statictoggle-width: 3rem;
|
3368
3368
|
--mdc-statictoggle-height: 1.5rem;
|
@@ -3442,42 +3442,42 @@
|
|
3442
3442
|
border: var(--mdc-statictoggle-border);
|
3443
3443
|
}
|
3444
3444
|
}
|
3445
|
-
`],
|
3445
|
+
`],Mu=Cy;var rs=class extends $t(q){constructor(){super(...arguments);this.checked=!1;this.size=Ru.SIZE}render(){return L`
|
3446
3446
|
<slot></slot>
|
3447
3447
|
<div part="slider">
|
3448
3448
|
<mdc-icon
|
3449
|
-
name="${this.checked?
|
3449
|
+
name="${this.checked?qc.CHECKED:qc.UNCHECKED}"
|
3450
3450
|
class="icon"
|
3451
3451
|
length-unit="rem"
|
3452
|
-
size="${
|
3452
|
+
size="${Nu[this.size]}"
|
3453
3453
|
></mdc-icon>
|
3454
3454
|
</div>
|
3455
|
-
`}};
|
3455
|
+
`}};rs.styles=[...q.styles,...Mu],f([g({type:Boolean,reflect:!0})],rs.prototype,"checked",2),f([g({type:String,reflect:!0})],rs.prototype,"size",2);var Kc=rs;Kc.register(Lu);var wy=Kc;var Ou=j.constructTagName("toggle"),ua={DEFAULT:"default",COMPACT:"compact"};var Xc={SIZE:ua.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var Jn=j.constructTagName("menuitemcheckbox"),fa={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},Pu={INDICATOR:fa.CHECKBOX};var Ly=H`
|
3456
3456
|
:host::part(checkmark-icon) {
|
3457
3457
|
--mdc-icon-fill-color: currentColor;
|
3458
3458
|
}
|
3459
3459
|
:host .hidden-checkmark {
|
3460
3460
|
visibility: hidden;
|
3461
3461
|
}
|
3462
|
-
`,
|
3462
|
+
`,Du=[Ly];var is=class extends Xe{constructor(){super();this.checked=!1;this.indicator=Pu.INDICATOR;this.handleMouseClick=()=>{this.disabled||(this.checked=!this.checked,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))};this.addEventListener("click",this.handleMouseClick)}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMCHECKBOX}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===fa.CHECKBOX?L`
|
3463
3463
|
<mdc-staticcheckbox
|
3464
3464
|
slot="leading-controls"
|
3465
3465
|
?checked="${this.checked}"
|
3466
3466
|
?disabled="${this.disabled}"
|
3467
3467
|
></mdc-staticcheckbox>
|
3468
|
-
`:W}staticToggle(){return this.indicator===
|
3468
|
+
`:W}staticToggle(){return this.indicator===fa.TOGGLE?L`
|
3469
3469
|
<mdc-statictoggle
|
3470
3470
|
slot="trailing-controls"
|
3471
3471
|
?checked="${this.checked}"
|
3472
3472
|
?disabled="${this.disabled}"
|
3473
|
-
size="${
|
3473
|
+
size="${ua.COMPACT}"
|
3474
3474
|
></mdc-statictoggle>
|
3475
|
-
`:W}getCheckmarkIcon(){return this.indicator===
|
3475
|
+
`:W}getCheckmarkIcon(){return this.indicator===fa.CHECKMARK?L`
|
3476
3476
|
<mdc-icon
|
3477
3477
|
slot="trailing-controls"
|
3478
3478
|
name="check-bold"
|
3479
3479
|
part="checkmark-icon"
|
3480
|
-
class=${
|
3480
|
+
class=${Tr({"hidden-checkmark":!this.checked})}
|
3481
3481
|
></mdc-icon>
|
3482
3482
|
`:W}render(){return L`
|
3483
3483
|
<div part="leading">
|
@@ -3497,25 +3497,25 @@
|
|
3497
3497
|
<slot name="trailing-controls"></slot>
|
3498
3498
|
${this.staticToggle()} ${this.getCheckmarkIcon()}
|
3499
3499
|
</div>
|
3500
|
-
`}};
|
3500
|
+
`}};is.styles=[...Xe.styles,...Du],f([g({type:Boolean,reflect:!0})],is.prototype,"checked",2),f([g({type:String,reflect:!0})],is.prototype,"indicator",2);var Zc=is;Zc.register(Jn);var Ny=Zc;var Qn=j.constructTagName("menuitemradio"),tl={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Fu={INDICATOR:tl.RADIO};var Ry=H`
|
3501
3501
|
:host::part(checkmark-icon) {
|
3502
3502
|
--mdc-icon-fill-color: currentColor;
|
3503
3503
|
}
|
3504
3504
|
:host .hidden-checkmark {
|
3505
3505
|
visibility: hidden;
|
3506
3506
|
}
|
3507
|
-
|
3507
|
+
`,$u=[Ry];var os=class extends Xe{constructor(){super();this.checked=!1;this.indicator=Fu.INDICATOR;this.handleMouseClick=()=>{this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))};this.addEventListener("click",this.handleMouseClick)}connectedCallback(){super.connectedCallback(),this.role=et.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${Xr}, ${Wt}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(s=>{s!==this&&s.removeAttribute("checked")})}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===tl.RADIO?L`
|
3508
3508
|
<mdc-staticradio
|
3509
3509
|
slot="leading-controls"
|
3510
3510
|
?checked="${this.checked}"
|
3511
3511
|
?disabled="${this.disabled}"
|
3512
3512
|
></mdc-staticradio>
|
3513
|
-
`:W}renderCheckmarkIcon(){return this.indicator===
|
3513
|
+
`:W}renderCheckmarkIcon(){return this.indicator===tl.CHECKMARK?L`
|
3514
3514
|
<mdc-icon
|
3515
3515
|
slot="trailing-controls"
|
3516
3516
|
name="check-bold"
|
3517
3517
|
part="checkmark-icon"
|
3518
|
-
class=${
|
3518
|
+
class=${Tr({"hidden-checkmark":!this.checked})}
|
3519
3519
|
></mdc-icon>
|
3520
3520
|
`:W}render(){return L`
|
3521
3521
|
<div part="leading">
|
@@ -3535,7 +3535,7 @@
|
|
3535
3535
|
<slot name="trailing-controls"></slot>
|
3536
3536
|
${this.renderCheckmarkIcon()}
|
3537
3537
|
</div>
|
3538
|
-
`}};
|
3538
|
+
`}};os.styles=[...Xe.styles,...$u],f([g({type:Boolean,reflect:!0})],os.prototype,"checked",2),f([g({type:String,reflect:!0})],os.prototype,"indicator",2);var Jc=os;Jc.register(Qn);var My=Jc;var Oy=H`
|
3539
3539
|
:host::part(popover-content) {
|
3540
3540
|
padding: 0.75rem 0.5rem;
|
3541
3541
|
}
|
@@ -3543,7 +3543,7 @@
|
|
3543
3543
|
::slotted(mdc-divider) {
|
3544
3544
|
margin-block: 0.25rem;
|
3545
3545
|
}
|
3546
|
-
`,
|
3546
|
+
`,zu=[Oy];var va=l=>{var t;if(!l)return!1;let i=(t=l.getAttribute("role"))==null?void 0:t.toLowerCase();return i===et.MENUITEM||i===et.MENUITEMCHECKBOX||i===et.MENUITEMRADIO},Vu=l=>{var i;return((i=l==null?void 0:l.tagName)==null?void 0:i.toLowerCase())===Wt};var ga=class extends we{constructor(){super();this.placement=Hc.PLACEMENT;this.menuItems=[];this.onOutsidePopoverClick=t=>{if(ve.peek()!==this)return;let s=this.findClosestPopover(t.target);if(s&&ve.has(s)){this.closeAllMenuPopovers(s);return}let n=t.composedPath(),h=this.contains(t.target)||n.includes(this.triggerElement),m=this.backdropElement?n.includes(this.backdropElement):!1;(!h||m)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=()=>{var t;(t=this.triggerElement)!=null&&t.hasAttribute("soft-disabled")||(this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(s=>s.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}collectMenuItems(){var n;let t=(n=this.shadowRoot)==null?void 0:n.querySelector("slot"),s=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=s.map(h=>h.tagName.toLowerCase()===Xr?Array.from(h.children).filter(m=>va(m)):va(h)?h:[]).flat().filter(h=>!!h&&!h.hasAttribute("disabled"))}connectedCallback(){super.connectedCallback(),this.role=et.MENU,this.ariaOrientation=Hc.ORIENTATION,this.backdrop=!1,this.color=Ji.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,s){return t===s||!this.triggerElement?Promise.resolve():(s&&(this.backdrop=this.triggerElement.tagName.toLowerCase()!==pa),this.resetMenuNavigation(),super.isOpenUpdated(t,s))}async firstUpdated(t){var s;await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0),(s=this.triggerElement)==null||s.setAttribute("aria-haspopup",et.MENU)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(s=>s.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(s=>s===t)}resetTabIndexAndSetFocus(t,s){t!==s&&(this.menuItems[s].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;ve.peek()!==t;){let s=ve.pop();if(s)s.hidePopover();else break}}hasSubmenuWithTriggerId(t){var s,n;return!!t&&((n=(s=this.parentElement)==null?void 0:s.querySelector)==null?void 0:n.call(s,`${Wt}[triggerid="${t}"]`))!==null}closeMenu(t){let s=t.getAttribute("id");va(t)&&!this.hasSubmenuWithTriggerId(s)&&this===t.closest(Wt)&&(this.closeAllMenuPopovers(),t.matches(pa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0})))}handleMouseClick(t){let s=t.target;t.isTrusted&&this.closeMenu(s)}handleItemCreation(t){let s=t.target;va(s)&&(t.stopImmediatePropagation(),s.addEventListener("destroyed",this.handleItemChangeEvent),s.addEventListener("disabled",this.handleItemChangeEvent))}resolveDirectionKey(t,s){if(!s)return t;switch(t){case Q.ARROW_LEFT:return Q.ARROW_RIGHT;case Q.ARROW_RIGHT:return Q.ARROW_LEFT;default:return t}}handleKeyDown(t){var R,$;let s=!1;this.collectMenuItems();let n=t.target,h=this.getCurrentIndex(n);if(h===-1)return;this.resetTabIndexes(h);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Q.HOME:{this.resetTabIndexAndSetFocus(0,h),s=!0;break}case Q.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,h),s=!0;break}case Q.ARROW_DOWN:{let Y=h+1===this.menuItems.length?0:h+1;this.resetTabIndexAndSetFocus(Y,h),s=!0;break}case Q.ARROW_UP:{let Y=h-1===-1?this.menuItems.length-1:h-1;this.resetTabIndexAndSetFocus(Y,h),s=!0;break}case Q.ARROW_RIGHT:{let Y=(R=this.menuItems[h])==null?void 0:R.getAttribute("id");if(this.hasSubmenuWithTriggerId(Y)){let K=($=this.parentElement)==null?void 0:$.querySelector(`${Wt}[triggerid="${Y}"]`);K&&(K.showPopover(),s=!0)}break}case Q.ARROW_LEFT:{Vu(this.parentElement)&&(this.hidePopover(),this.resetTabIndexAndSetFocus(0,h),s=!0);break}case Q.ESCAPE:{this.resetTabIndexAndSetFocus(0,h),s=!0;break}case Q.ENTER:{this.closeMenu(n),s=!0;break}case Q.SPACE:{s=!0;break}default:break}s&&(t.stopPropagation(),t.preventDefault())}handleKeyUp(t){let s=!1,n=t.target;switch(t.key){case Q.SPACE:{n.matches(`${Qn}, ${Jn}`)||(this.closeMenu(n),s=!0);break}default:break}s&&(t.stopPropagation(),t.preventDefault())}};ga.styles=[...we.styles,...zu],f([g({type:String,reflect:!0})],ga.prototype,"placement",2);var Qc=ga;Qc.register(Wt);var Py=Qc;var ss=j.constructTagName("navmenuitem"),Bu={DOT:Ge.DOT,COUNTER:Ge.COUNTER},Uu={RIGHT_ARROW:"arrow-right-bold"},Gu={MAX_COUNTER:99,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:vt.SPAN,SIZE:Fi[24],VARIANT:_r.FLEXIBLE};var el=class{constructor(i,t,s){this.variant=i,this.expanded=t,this.parentNavTooltipText=s}hasSiblingWithTriggerId(i){var n,h;let t=i==null?void 0:i.getAttribute("id");return t?Array.from((h=(n=i==null?void 0:i.parentElement)==null?void 0:n.children)!=null?h:[]).some(m=>m!==i&&m.tagName.toLowerCase()===Wt&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(i){if(!i)return[];let t=[],s=i;for(;s;){let n=s==null?void 0:s.closest(Wt);if(!n)break;let h=n.getAttribute("triggerid");if(!h)break;let m=document.getElementById(h);if(m&&m.tagName.toLowerCase()===ss)t.push(m),s=m;else break}return t}setCurrentActiveNavMenuItem(i){var h;let t=((h=this.currentActiveNavMenuItem)==null?void 0:h.navId)===(i==null?void 0:i.navId),s=(i==null?void 0:i.disableAriaCurrent)||this.hasSiblingWithTriggerId(i)||(i==null?void 0:i.softDisabled);if(t||s||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(x=>{x.removeAttribute("tooltip-text"),x.removeAttribute("tooltip-placement"),x.removeAttribute("active")})),!i))return;this.currentActiveNavMenuItem=i,i.setAttribute("aria-current","page"),i.setAttribute("active",""),this.getParentNavMenuItems(i).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Ut.BOTTOM),m.setAttribute("active","")})}};el.context=Ti;var rl=el;var Dy=H`
|
3547
3547
|
:host {
|
3548
3548
|
--mdc-sidenavigation-expanded-width: 15rem;
|
3549
3549
|
--mdc-sidenavigation-collapsed-width: 4.5rem;
|
@@ -3608,7 +3608,7 @@
|
|
3608
3608
|
:host::part(separator) {
|
3609
3609
|
margin-bottom: 0.75rem;
|
3610
3610
|
}
|
3611
|
-
`,
|
3611
|
+
`,Hu=[Dy];var pr=class extends br{constructor(){super({context:rl.context,initialValue:new rl(ca.VARIANT,!0)});this.variant=ca.VARIANT;this.footerText="";this.flexibleExpanded=this.variant===ca.VARIANT;this.arrowDirection=this.flexibleExpanded?be.NEGATIVE:be.POSITIVE;this.handleNestedNavMenuItemActiveChange=t=>{var s;if((s=this.context)!=null&&s.value){let n=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(n)}};this.findNav=(t,s)=>t.find(n=>n.navId===s);this.updateExpansionState=()=>{switch(this.variant){case _r.FLEXIBLE:this.expanded=this.flexibleExpanded;break;case _r.FIXED_EXPANDED:this.expanded=!0;break;case _r.FIXED_COLLAPSED:this.expanded=!1;break;default:}};this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange)}connectedCallback(){super.connectedCallback(),this.role=et.NAVIGATION}static get Context(){return rl.context}updated(t){super.updated(t),t.has("variant")&&(this.setVariant(this.variant),this.updateExpansionState()),(t.has("variant")||t.has("expanded"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${ss}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(_r).includes(t)?t:ca.VARIANT)}toggleSideNavigation(){this.flexibleExpanded=!this.flexibleExpanded,this.arrowDirection=this.arrowDirection===be.NEGATIVE?be.POSITIVE:be.NEGATIVE,this.updateExpansionState()}preventScrollOnSpace(t){t.key===Q.SPACE&&t.preventDefault()}render(){var t;return this.variant===_r.HIDDEN?L``:L`
|
3612
3612
|
<div part="side-navigation-container" id="side-nav-container">
|
3613
3613
|
<div part="scrollable-section" tabindex="-1" @keydown=${this.preventScrollOnSpace}>
|
3614
3614
|
<slot name="scrollable-section">
|
@@ -3632,21 +3632,21 @@
|
|
3632
3632
|
</div>
|
3633
3633
|
</div>
|
3634
3634
|
</div>
|
3635
|
-
${this.variant===
|
3636
|
-
orientation=${
|
3637
|
-
variant=${
|
3635
|
+
${this.variant===_r.FLEXIBLE?L`<mdc-divider
|
3636
|
+
orientation=${io.VERTICAL}
|
3637
|
+
variant=${ea.GRADIENT}
|
3638
3638
|
arrow-direction=${this.arrowDirection}
|
3639
3639
|
button-position=${be.POSITIVE}
|
3640
3640
|
>
|
3641
3641
|
<mdc-button
|
3642
|
-
aria-label=${(
|
3642
|
+
aria-label=${(t=this.grabberBtnAriaLabel)!=null?t:""}
|
3643
3643
|
@click=${this.toggleSideNavigation}
|
3644
3644
|
aria-expanded="${!!this.expanded}"
|
3645
3645
|
aria-controls="side-nav-container"
|
3646
3646
|
part="grabber-btn"
|
3647
3647
|
></mdc-button>
|
3648
3648
|
</mdc-divider>`:W}
|
3649
|
-
`}};pr.styles=[...q.styles,...
|
3649
|
+
`}};pr.styles=[...q.styles,...Hu],f([g({type:String,reflect:!0})],pr.prototype,"variant",2),f([g({type:String,reflect:!0,attribute:"footer-text"})],pr.prototype,"footerText",2),f([g({type:Boolean,reflect:!0})],pr.prototype,"expanded",2),f([g({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],pr.prototype,"grabberBtnAriaLabel",2),f([g({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],pr.prototype,"parentNavTooltipText",2),f([It()],pr.prototype,"flexibleExpanded",2),f([It()],pr.prototype,"arrowDirection",2);var lo=pr;var Fy=H`
|
3650
3650
|
:host {
|
3651
3651
|
display: flex;
|
3652
3652
|
flex-direction: column;
|
@@ -3664,8 +3664,8 @@
|
|
3664
3664
|
:host(:dir(rtl))::part(align-header) {
|
3665
3665
|
padding-right: 1.75rem;
|
3666
3666
|
}
|
3667
|
-
`,
|
3668
|
-
part="header ${(s=(
|
3667
|
+
`,ju=[Fy];var Sr=class extends q{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=Iu.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=yr.consume({host:this,context:lo.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",et.GROUP)}update(t){var h;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let s=(h=this.sideNavigationContext)==null?void 0:h.value;if(!s)return;let{expanded:n}=s;this.hideHeaderText=!n}renderHeader(){var t,s;return this.headerText?L` <mdc-listheader
|
3668
|
+
part="header ${(s=(t=this.sideNavigationContext)==null?void 0:t.value)!=null&&s.expanded?"align-header":""}"
|
3669
3669
|
header-text="${this.headerText}"
|
3670
3670
|
prefix-icon="${nt(this.prefixIcon)}"
|
3671
3671
|
>
|
@@ -3673,7 +3673,7 @@
|
|
3673
3673
|
${this.hideHeaderText?null:this.renderHeader()}
|
3674
3674
|
<slot></slot>
|
3675
3675
|
${this.showDivider?L`<mdc-divider variant="${this.dividerVariant}" part="divider"></mdc-divider>`:null}
|
3676
|
-
`}};
|
3676
|
+
`}};Sr.styles=[...q.styles,...ju],f([g({type:String,reflect:!0,attribute:"aria-label"})],Sr.prototype,"ariaLabel",2),f([g({type:String,reflect:!0,attribute:"header-text"})],Sr.prototype,"headerText",2),f([g({type:String,attribute:"prefix-icon"})],Sr.prototype,"prefixIcon",2),f([g({type:Boolean,reflect:!0,attribute:"show-divider"})],Sr.prototype,"showDivider",2),f([g({type:String,reflect:!0,attribute:"divider-variant"})],Sr.prototype,"dividerVariant",2),f([g({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Sr.prototype,"hideHeaderText",2);var td=Sr;var $y=H`
|
3677
3677
|
:host {
|
3678
3678
|
--mdc-listheader-padding: 0.5rem 0.75rem;
|
3679
3679
|
--mdc-listheader-gap: 0.5rem;
|
@@ -3700,7 +3700,7 @@
|
|
3700
3700
|
:host::part(postfix-icon) {
|
3701
3701
|
flex-shrink: 0;
|
3702
3702
|
}
|
3703
|
-
|
3703
|
+
`,Yu=[$y];var Ai=class extends q{constructor(){super(...arguments);this.disabled=!1}render(){return L`
|
3704
3704
|
${this.prefixIcon?L`<mdc-icon
|
3705
3705
|
part="prefix-icon"
|
3706
3706
|
name="${this.prefixIcon}"
|
@@ -3719,7 +3719,7 @@
|
|
3719
3719
|
size="1"
|
3720
3720
|
length-unit="rem"
|
3721
3721
|
></mdc-icon>`:W}
|
3722
|
-
`}};
|
3722
|
+
`}};Ai.styles=[...q.styles,...Yu],f([g({type:String,attribute:"prefix-icon"})],Ai.prototype,"prefixIcon",2),f([g({type:String,attribute:"postfix-icon"})],Ai.prototype,"postfixIcon",2),f([g({type:String,attribute:"header-text"})],Ai.prototype,"headerText",2),f([g({type:Boolean,reflect:!0})],Ai.prototype,"disabled",2);var ed=Ai;var Wu=j.constructTagName("listheader");ed.register(Wu);var zy=ed;td.register(Xr);var Vy=td;var By=[Et,H`
|
3723
3723
|
:host {
|
3724
3724
|
--mdc-navmenuitem-color: var(--mds-color-theme-text-primary-normal);
|
3725
3725
|
--mdc-navmenuitem-disabled-color: var(--mds-color-theme-text-primary-disabled);
|
@@ -3865,17 +3865,17 @@
|
|
3865
3865
|
left: -0.75rem;
|
3866
3866
|
top: 0.875rem;
|
3867
3867
|
}
|
3868
|
-
`,...At()],
|
3868
|
+
`,...At()],qu=By;var Ze=class extends Qt(Xe){constructor(){super();this.maxCounter=Gu.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=yr.consume({host:this,context:lo.Context});this.emitNavMenuItemActiveChange=t=>{let s=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(s)};this.addEventListener("click",this.handleClickEvent)}connectedCallback(){super.connectedCallback(),this.variant=void 0,this.tooltipPlacement=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}updated(){var s,n;let t=(s=this.sideNavigationContext)==null?void 0:s.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(n=this.label)!=null?n:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===Wt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let s=this.iconName.endsWith("-filled"),n=Gi(this.iconName);t?s||(this.prevIconName=this.iconName,this.iconName=`${n}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return L`
|
3869
3869
|
<mdc-text
|
3870
3870
|
type=${this.active?ot.BODY_MIDSIZE_BOLD:ot.BODY_MIDSIZE_MEDIUM}
|
3871
3871
|
tagname=${vt.SPAN}
|
3872
3872
|
part="text-container"
|
3873
3873
|
>
|
3874
|
-
${
|
3874
|
+
${t}
|
3875
3875
|
</mdc-text>
|
3876
|
-
`}renderArrowIcon(
|
3877
|
-
<mdc-icon name=${
|
3878
|
-
`}renderBadge(
|
3876
|
+
`}renderArrowIcon(t){let s=t?"":"arrow";return L`
|
3877
|
+
<mdc-icon name=${Uu.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${s}"> </mdc-icon>
|
3878
|
+
`}renderBadge(t){let s=t?"":"badge";return Object.values(Bu).includes(this.badgeType)?L`
|
3879
3879
|
<mdc-badge
|
3880
3880
|
class="${s}"
|
3881
3881
|
type="${nt(this.badgeType)}"
|
@@ -3883,14 +3883,14 @@
|
|
3883
3883
|
max-counter="${this.maxCounter}"
|
3884
3884
|
>
|
3885
3885
|
</mdc-badge>
|
3886
|
-
`:W}render(){var s;let
|
3886
|
+
`:W}render(){var s;let t=(s=this.sideNavigationContext)==null?void 0:s.value;return L`
|
3887
3887
|
<div part="icon-container">
|
3888
3888
|
<mdc-icon name="${this.iconName}" size="1.5" length-unit="rem" part="icon"></mdc-icon>
|
3889
3889
|
${this.showLabel?W:this.renderBadge(this.showLabel)}
|
3890
3890
|
</div>
|
3891
3891
|
${this.showLabel?L`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:W}
|
3892
|
-
${
|
3893
|
-
`}};Ze.styles=[...Xe.styles,...
|
3892
|
+
${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):W}
|
3893
|
+
`}};Ze.styles=[...Xe.styles,...qu],f([g({type:Boolean,reflect:!0})],Ze.prototype,"active",2),f([g({type:String,reflect:!0,attribute:"badge-type"})],Ze.prototype,"badgeType",2),f([g({type:Number,reflect:!0})],Ze.prototype,"counter",2),f([g({type:Number,attribute:"max-counter",reflect:!0})],Ze.prototype,"maxCounter",2),f([g({type:String,reflect:!0,attribute:"nav-id"})],Ze.prototype,"navId",2),f([g({type:Boolean,reflect:!0,attribute:"show-label"})],Ze.prototype,"showLabel",2),f([g({type:String,attribute:"aria-label"})],Ze.prototype,"ariaLabel",2),f([g({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Ze.prototype,"disableAriaCurrent",2);var rd=Ze;rd.register(ss);var Uy=rd;var Ku=j.constructTagName("optgroup"),id="header-id";var Gy=H`
|
3894
3894
|
:host {
|
3895
3895
|
--mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
|
3896
3896
|
}
|
@@ -3903,9 +3903,9 @@
|
|
3903
3903
|
color: var(--mdc-optgroup-disabled-color);
|
3904
3904
|
cursor: default;
|
3905
3905
|
}
|
3906
|
-
`,
|
3906
|
+
`,Xu=[Gy];var as=class extends jt($t(q)){setDisabledForAllOptions(){this.options.forEach(i=>{this.disabled?i.setAttribute("disabled",""):i.removeAttribute("disabled")})}updated(i){super.updated(i),i.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let i=this.label?L`
|
3907
3907
|
<mdc-text
|
3908
|
-
id="${
|
3908
|
+
id="${id}"
|
3909
3909
|
part="header-text"
|
3910
3910
|
type="${ot.BODY_MIDSIZE_BOLD}"
|
3911
3911
|
tagname="${vt.SPAN}"
|
@@ -3913,14 +3913,14 @@
|
|
3913
3913
|
>
|
3914
3914
|
`:W;return L`
|
3915
3915
|
<div
|
3916
|
-
role="${
|
3917
|
-
aria-labelledby="${this.label?
|
3918
|
-
aria-label="${(
|
3916
|
+
role="${et.GROUP}"
|
3917
|
+
aria-labelledby="${this.label?id:""}"
|
3918
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
3919
3919
|
>
|
3920
3920
|
${i}
|
3921
|
-
<slot role="${
|
3921
|
+
<slot role="${et.PRESENTATION}"></slot>
|
3922
3922
|
</div>
|
3923
|
-
`}};
|
3923
|
+
`}};as.styles=[...q.styles,...Xu],f([g({type:String,reflect:!0})],as.prototype,"label",2),f([Ft({selector:"mdc-option"})],as.prototype,"options",2);var od=as;od.register(Ku);var Hy=od;var Zu="check-bold",ns=j.constructTagName("option");var jy=H`
|
3924
3924
|
:host {
|
3925
3925
|
--mdc-option-icon-width: 1rem;
|
3926
3926
|
|
@@ -3946,18 +3946,18 @@
|
|
3946
3946
|
/** 2x of leading and trailing icon width + 2x of column gap on both sides of the label text */
|
3947
3947
|
width: calc(100% - (2 * var(--mdc-option-icon-width)) - (2 * var(--mdc-listitem-column-gap)));
|
3948
3948
|
}
|
3949
|
-
`,
|
3949
|
+
`,Ju=[jy];var co=class extends Le(Kr){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=aa.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&this.setAttribute("aria-selected",`${this.selected}`)}render(){let t=this.prefixIcon?L`
|
3950
3950
|
<div part="leading-icon">
|
3951
3951
|
<mdc-icon length-unit="rem" slot="leading-controls" name="${nt(this.prefixIcon)}"></mdc-icon>
|
3952
3952
|
</div>
|
3953
|
-
`:W,s=this.selected?L` <mdc-icon length-unit="rem" slot="trailing-controls" name="${
|
3954
|
-
${
|
3953
|
+
`:W,s=this.selected?L` <mdc-icon length-unit="rem" slot="trailing-controls" name="${Zu}"></mdc-icon> `:W;return L`
|
3954
|
+
${t}
|
3955
3955
|
<div part="leading-text">
|
3956
3956
|
${this.getText("leading-text-primary-label",ot.BODY_MIDSIZE_REGULAR,this.label)}
|
3957
3957
|
${this.getText("leading-text-secondary-label",ot.BODY_SMALL_REGULAR,this.secondaryLabel)}
|
3958
3958
|
</div>
|
3959
3959
|
<div part="trailing">${s}</div>
|
3960
|
-
`}};
|
3960
|
+
`}};co.styles=[...Kr.styles,...Ju],f([g({type:Boolean,reflect:!0})],co.prototype,"selected",2),f([g({type:String,reflect:!0,attribute:"prefix-icon"})],co.prototype,"prefixIcon",2),f([g({type:String,reflect:!0,attribute:"aria-label"})],co.prototype,"ariaLabel",2);var sd=co;sd.register(ns);var Yy=sd;var ad={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Qu=j.constructTagName("password");var ho=class extends qr{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Mt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let s=t||this.value;return s?L`
|
3961
3961
|
<mdc-button
|
3962
3962
|
part="trailing-button"
|
3963
3963
|
class="own-focus-ring ${s?"":"hidden"}"
|
@@ -3966,9 +3966,9 @@
|
|
3966
3966
|
size="${Mt.ICON_SIZE}"
|
3967
3967
|
@click=${this.toggleShowPassword}
|
3968
3968
|
aria-label=${this.showHideButtonAriaLabel}
|
3969
|
-
prefix-icon=${this.showPassword?
|
3969
|
+
prefix-icon=${this.showPassword?ad.HIDE_BOLD:ad.SHOW_BOLD}
|
3970
3970
|
></mdc-button>
|
3971
|
-
`:W}renderInputElement(
|
3971
|
+
`:W}renderInputElement(t,s){let n=this.showPassword?Zo.TEXT:Zo.PASSWORD;return super.renderInputElement(n,s)}};ho.styles=[...qr.styles],f([g({type:String,attribute:"show-hide-button-aria-label"})],ho.prototype,"showHideButtonAriaLabel",2),f([g({type:String,attribute:"help-text-type"})],ho.prototype,"helpTextType",2),f([It()],ho.prototype,"showPassword",2);var nd=ho;nd.register(Qu);var Wy=nd;we.register(Vm);var qy=we;var tf=j.constructTagName("progressbar"),il={DEFAULT:"default",INLINE:"inline"},ef={VARIANT:il.DEFAULT,VALIDATION:Yt.DEFAULT};var Ky=[Et,H`
|
3972
3972
|
:host {
|
3973
3973
|
--mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
|
3974
3974
|
--mdc-progressbar-active-background-color: var(--mds-color-theme-control-active-normal);
|
@@ -4055,27 +4055,27 @@
|
|
4055
4055
|
border: var(--mdc-progressbar-border);
|
4056
4056
|
}
|
4057
4057
|
}
|
4058
|
-
`],
|
4058
|
+
`],rf=Ky;var po=class extends jt(Ke){constructor(){super(...arguments);this.variant=ef.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let t=this.getValidationVariant(),s=this.clampedValue>0&&this.clampedValue<100,n=this.error?"100":`${this.clampedValue}`;return L`
|
4059
4059
|
<div
|
4060
4060
|
part="progress-container ${s?"gap":""}"
|
4061
|
-
role="${
|
4061
|
+
role="${et.PROGRESSBAR}"
|
4062
4062
|
aria-valuenow="${this.clampedValue}"
|
4063
4063
|
aria-valuemin="0"
|
4064
4064
|
aria-valuemax="100"
|
4065
4065
|
aria-label="${(h=this.dataAriaLabel)!=null?h:""}"
|
4066
4066
|
>
|
4067
|
-
<div part="progress-bar ${
|
4067
|
+
<div part="progress-bar ${t}" style="width: ${n}%"></div>
|
4068
4068
|
<div part="remaining"></div>
|
4069
4069
|
</div>
|
4070
|
-
`}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${Ye()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let
|
4071
|
-
${
|
4070
|
+
`}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${Ye()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=Yt.ERROR:this.clampedValue===100?this.helpTextType=Yt.SUCCESS:this.helpTextType=Yt.DEFAULT,this.helpTextType}render(){let t=this.variant===il.INLINE;return L`
|
4071
|
+
${t?L`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:L`
|
4072
4072
|
<div part="label-container">
|
4073
4073
|
${this.renderLabelElement()}
|
4074
|
-
${this.variant===
|
4074
|
+
${this.variant===il.DEFAULT&&this.label?L`<span part="percentage">${this.clampedValue}%</span>`:""}
|
4075
4075
|
</div>
|
4076
4076
|
${this.renderProgressbar()} ${this.renderHelperText()}
|
4077
4077
|
`}
|
4078
|
-
`}};
|
4078
|
+
`}};po.styles=[...Ke.styles,...rf],f([g({type:String,reflect:!0})],po.prototype,"variant",2),f([g({type:String,reflect:!0})],po.prototype,"value",2),f([g({type:Boolean,attribute:"error"})],po.prototype,"error",2);var ba=po;ba.register(tf);var Xy=ba;var of=j.constructTagName("progressspinner"),Zt={RADIUS:20,CIRCUMFERENCE:2*Math.PI*20,STROKE_WIDTH:4,GAP_SIZE:7.5,ERROR_ICON_SIZE:2,SUCCESS_ICON_SIZE:3,ICON_LENGTH_UNIT:"em"},ld={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var cd=l=>{if(l===0)return 0;let i=l/100*Zt.CIRCUMFERENCE-Zt.GAP_SIZE;return Math.max(i,.1*l)},sf=l=>{let i=Zt.CIRCUMFERENCE-cd(l)-2*Zt.GAP_SIZE;return l===0?Zt.CIRCUMFERENCE:i<0?0:i},af=l=>l===0?0:Zt.GAP_SIZE*.5,nf=(l,i)=>{let t=i+Zt.GAP_SIZE*1.5;return l===0?0:t};var Zy=H`
|
4079
4079
|
:host {
|
4080
4080
|
--mdc-spinner-size: 3rem;
|
4081
4081
|
--mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
|
@@ -4119,10 +4119,10 @@
|
|
4119
4119
|
color: var(--mdc-progress-error-color);
|
4120
4120
|
margin: 0.5rem;
|
4121
4121
|
}
|
4122
|
-
`,
|
4122
|
+
`,lf=[Zy];var ol=class extends ba{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var h;let i=cd(this.clampedValue),t=sf(this.clampedValue),s=af(this.clampedValue),n=nf(this.clampedValue,i);return L`
|
4123
4123
|
<div
|
4124
4124
|
part="spinner-container ${this.variant}"
|
4125
|
-
role="${
|
4125
|
+
role="${et.PROGRESSBAR}"
|
4126
4126
|
aria-valuenow="${this.clampedValue}"
|
4127
4127
|
aria-valuemin="0"
|
4128
4128
|
aria-valuemax="100"
|
@@ -4134,8 +4134,8 @@
|
|
4134
4134
|
cx="24"
|
4135
4135
|
cy="24"
|
4136
4136
|
r="${Zt.RADIUS}"
|
4137
|
-
stroke-width="${
|
4138
|
-
stroke-dasharray="${
|
4137
|
+
stroke-width="${t===0?0:Zt.STROKE_WIDTH}"
|
4138
|
+
stroke-dasharray="${t} ${Zt.CIRCUMFERENCE}"
|
4139
4139
|
stroke-dashoffset="-${n}"
|
4140
4140
|
/>
|
4141
4141
|
<circle
|
@@ -4153,7 +4153,7 @@
|
|
4153
4153
|
<mdc-icon
|
4154
4154
|
part="error-icon"
|
4155
4155
|
aria-label="${(i=this.dataAriaLabel)!=null?i:""}"
|
4156
|
-
name="${
|
4156
|
+
name="${ld.ERROR_LEGACY_FILLED}"
|
4157
4157
|
size="${Zt.ERROR_ICON_SIZE}"
|
4158
4158
|
length-unit="${Zt.ICON_LENGTH_UNIT}"
|
4159
4159
|
></mdc-icon>
|
@@ -4161,11 +4161,11 @@
|
|
4161
4161
|
<mdc-icon
|
4162
4162
|
part="success-icon"
|
4163
4163
|
aria-label="${(i=this.dataAriaLabel)!=null?i:""}"
|
4164
|
-
name="${
|
4164
|
+
name="${ld.CHECK_CIRCLE_BOLD}"
|
4165
4165
|
size="${Zt.SUCCESS_ICON_SIZE}"
|
4166
4166
|
length-unit="${Zt.ICON_LENGTH_UNIT}"
|
4167
4167
|
></mdc-icon>
|
4168
|
-
`}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():L` ${this.renderProgressSpinner()}`}};
|
4168
|
+
`}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():L` ${this.renderProgressSpinner()}`}};ol.styles=[...q.styles,...lf];var dd=ol;dd.register(of);var Jy=dd;var Qy=[Et,H`
|
4169
4169
|
:host {
|
4170
4170
|
display: flex;
|
4171
4171
|
flex-direction: row;
|
@@ -4250,7 +4250,7 @@
|
|
4250
4250
|
:host::part(required-indicator) {
|
4251
4251
|
display: none;
|
4252
4252
|
}
|
4253
|
-
`,...At(!0)],
|
4253
|
+
`,...At(!0)],cf=Qy;var mo=class extends Le(jt(ge)){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?L`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:W}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(){this.updateTabIndex()}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}dispatchChangeEvent(t){let s=t.constructor;this.dispatchEvent(new s(t.type,t))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(s=>{s.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(s=>{this.onerror&&this.onerror(s)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,s){this.updateComplete.then(()=>{t.forEach(n=>{n.setComponentValidity(s)})}).catch(n=>{this.onerror&&this.onerror(n)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let s=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(s,!0);else{let n=s.some(x=>x.required),h=!!s.find(x=>x.checked),m=n&&!h;this.setGroupValidity(s,!m)}this.internals.setFormValue(t)}handleChange(t){var h;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(m=>{var R;let x=(R=m.shadowRoot)==null?void 0:R.querySelector("input");x&&(m.checked=!1,x.checked=!1)}),this.checked=!0;let n=(h=this.shadowRoot)==null?void 0:h.querySelector("input");n&&(n.checked=!0),this.dispatchChangeEvent(t)}updateRadio(t,s,n){var h,m;(m=(h=t[s].shadowRoot)==null?void 0:h.querySelector("input"))==null||m.focus(),t[s].handleChange(n)}handleKeyDown(t){var m;if(this.disabled)return;let n=this.getAllRadiosWithinSameGroup().filter(x=>!x.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let x=(h+1)%n.length;this.updateRadio(n,x,t)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let x=(h-1+n.length)%n.length;this.updateRadio(n,x,t)}else t.key===Q.SPACE&&this.updateRadio(n,h,t);this.updateTabIndex(),t.key===Q.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),s=t.find(h=>h.checked),n=t.find(h=>!h.disabled);t.forEach(h=>{var x;let m=(x=h.shadowRoot)==null?void 0:x.querySelector("input");m&&(m.tabIndex=-1,(h===s||!s&&h===n)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return L`
|
4254
4254
|
<mdc-staticradio
|
4255
4255
|
class="mdc-focus-ring"
|
4256
4256
|
?checked="${this.checked}"
|
@@ -4260,7 +4260,7 @@
|
|
4260
4260
|
<input
|
4261
4261
|
id="${this.id}"
|
4262
4262
|
type="radio"
|
4263
|
-
role="${
|
4263
|
+
role="${et.RADIO}"
|
4264
4264
|
?autofocus="${this.autofocus}"
|
4265
4265
|
name="${nt(this.name)}"
|
4266
4266
|
value="${nt(this.value)}"
|
@@ -4273,11 +4273,11 @@
|
|
4273
4273
|
class="mdc-radio__input"
|
4274
4274
|
aria-checked="${this.checked}"
|
4275
4275
|
aria-describedby="${nt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
|
4276
|
-
aria-label="${(
|
4276
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
4277
4277
|
/>
|
4278
4278
|
</mdc-staticradio>
|
4279
4279
|
${this.renderLabelAndHelperText()}
|
4280
|
-
`}};
|
4280
|
+
`}};mo.styles=[...ge.styles,...cf],f([g({type:Boolean,reflect:!0})],mo.prototype,"checked",2),f([g({type:Boolean,reflect:!0})],mo.prototype,"readonly",2),f([g({type:Boolean,reflect:!0})],mo.prototype,"autofocus",2);var hd=mo;var sl=j.constructTagName("radio");hd.register(sl);var tE=hd;var ya=class extends Wn{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,s,n,h,m;(m=(h=(n=(s=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:s.flatMap(x=>x.assignedElements({flatten:!0})))==null?void 0:n.filter(x=>x.tagName.toLowerCase()===sl||x.tagName.toLowerCase()===Mn))==null?void 0:h.filter(x=>!x.hasAttribute("name")))==null||m.forEach(x=>{x.setAttribute("name",this.name),this.required&&x.setAttribute("required",this.required.toString())})}};ya.styles=[...Wn.styles],f([g({type:String})],ya.prototype,"name",2);var pd=ya;var df=j.constructTagName("radiogroup");pd.register(df);var eE=pd;var rE=H`
|
4281
4281
|
:host::part(filters-container) {
|
4282
4282
|
display: flex;
|
4283
4283
|
gap: 0.25rem;
|
@@ -4302,10 +4302,10 @@
|
|
4302
4302
|
position: relative;
|
4303
4303
|
scrollbar-width: none;
|
4304
4304
|
}
|
4305
|
-
`,
|
4305
|
+
`,hf=[rE];var pf=j.constructTagName("searchfield"),Ea={TYPE:Zo.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Kn};var uo=class extends qr{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key==="Escape"&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=Ea.ICON,this.trailingButton=Ea.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(s=>{s.matches(Ea.INPUT_CHIP_TAG)||s.remove()})}firstUpdated(){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1}}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(s=>{s.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return L`
|
4306
4306
|
${this.renderLabelElement()}
|
4307
4307
|
<div
|
4308
|
-
class="${
|
4308
|
+
class="${Tr({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
|
4309
4309
|
part="input-container"
|
4310
4310
|
>
|
4311
4311
|
${this.renderLeadingIcon()}
|
@@ -4313,16 +4313,16 @@
|
|
4313
4313
|
<div
|
4314
4314
|
part="filters-container"
|
4315
4315
|
@click=${()=>this.inputElement.focus()}
|
4316
|
-
@keydown=${
|
4317
|
-
@keyup=${
|
4316
|
+
@keydown=${t=>t.key===Q.ENTER?this.inputElement.focus():null}
|
4317
|
+
@keyup=${t=>t.key===Q.SPACE?this.inputElement.focus():null}
|
4318
4318
|
>
|
4319
4319
|
<slot name="filters" @slotchange=${this.renderInputChips}></slot>
|
4320
4320
|
</div>
|
4321
|
-
${this.renderInputElement(
|
4321
|
+
${this.renderInputElement(Ea.TYPE,this.hasInputChips)}
|
4322
4322
|
</div>
|
4323
4323
|
${this.renderTrailingButton(this.hasInputChips)}
|
4324
4324
|
</div>
|
4325
|
-
`}};
|
4325
|
+
`}};uo.styles=[...qr.styles,...hf],f([Ft({slot:"filters"})],uo.prototype,"inputChips",2),f([It()],uo.prototype,"isInputFocused",2),f([It()],uo.prototype,"hasInputChips",2);var md=uo;md.register(pf);var iE=md;var mf=j.constructTagName("select"),ud={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Ta="select-base-triggerid",fd="select-listbox";var oE=H`
|
4326
4326
|
:host {
|
4327
4327
|
--mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
|
4328
4328
|
--mdc-select-icon-border-color: var(--mds-color-theme-outline-input-normal);
|
@@ -4441,22 +4441,22 @@
|
|
4441
4441
|
:host([readonly])::part(icon-container) {
|
4442
4442
|
color: var(--mdc-select-disabled-text-color);
|
4443
4443
|
}
|
4444
|
-
`,
|
4444
|
+
`,uf=[oE,...At(!0)];var De=class extends Le(jt(ge)){constructor(){super(...arguments);this.readonly=!1;this.height="auto";this.placement=Ut.BOTTOM_START;this.displayPopover=!1;this.initialSelectedOption=null}getAllValidOptions(){var t;return Array.from(((t=this.slottedListboxes[0])==null?void 0:t.querySelectorAll(ns))||[])}getFirstValidOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(ns)}getLastValidOption(){let t=this.getAllValidOptions();return t.length>0?t[t.length-1]:null}getFirstSelectedOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${ns}[selected]`)}async firstUpdated(){await this.updateComplete,this.modifyListBoxWrapper();let t=this.getFirstSelectedOption();if(t)this.initialSelectedOption=t,this.setSelectedOption(t);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let s=this.getFirstValidOption();this.setSelectedOption(s),this.fireEvents()}}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1),t.has("dataAriaLabel")&&this.modifyListBoxWrapper()}modifyListBoxWrapper(){let t=this.slottedListboxes[0];t&&(t.setAttribute("id",fd),t.setAttribute("aria-label",this.dataAriaLabel||""),t.setAttribute("aria-labelledby",Ta))}handleOptionsClick(t){this.setSelectedOption(t.target),this.displayPopover=!1,this.fireEvents()}setSelectedOption(t){var s,n;this.updateSelectedInChildOptions(t),this.updateTabIndexForAllOptions(t),this.selectedOption=t,this.value=(n=(s=this.selectedOption)==null?void 0:s.value)!=null?n:"",this.internals.setFormValue(this.value),this.inputElement.setAttribute("value",this.value),this.setInputValidity()}updateTabIndexForAllOptions(t){let s=this.getAllValidOptions(),n=t||s[0];s.forEach(h=>{h.setAttribute("tabindex",h===n?"0":"-1")})}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.getAllValidOptions().forEach(n=>{n!==t&&n.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){!this.selectedOption&&this.required&&this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()}formResetCallback(){var s;let t=this.initialSelectedOption||null;((s=this.selectedOption)==null?void 0:s.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var n;let s=this.getAllValidOptions().find(h=>h.value===t||h.label===t);((n=this.selectedOption)==null?void 0:n.value)!==(s==null?void 0:s.value)&&(this.setSelectedOption(s||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Q.ARROW_DOWN:case Q.ARROW_UP:this.displayPopover=!0,t.preventDefault();break;case Q.ENTER:case Q.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Q.HOME:{this.displayPopover=!0;let s=this.getFirstValidOption();s&&(s==null||s.focus(),this.updateTabIndexForAllOptions(s)),t.preventDefault();break}case Q.END:{this.displayPopover=!0;let s=this.getLastValidOption();s&&(s.focus(),this.updateTabIndexForAllOptions(s)),t.preventDefault();break}default:break}}handlePopoverKeydown(t){switch(t.key){case Q.HOME:{let s=this.getFirstValidOption();this.focusAndUpdateTabIndexes(s),t.preventDefault();break}case Q.END:{let s=this.getLastValidOption();this.focusAndUpdateTabIndexes(s),t.preventDefault();break}case Q.ARROW_DOWN:{let s=this.getAllValidOptions(),n=s.findIndex(m=>m===t.target),h=Math.min(n+1,s.length-1);this.focusAndUpdateTabIndexes(s[h]),t.preventDefault();break}case Q.ARROW_UP:{let s=this.getAllValidOptions(),n=s.findIndex(m=>m===t.target),h=Math.max(n-1,0);this.focusAndUpdateTabIndexes(s[h]),t.preventDefault();break}case Q.PAGE_DOWN:{let s=this.getAllValidOptions(),n=s.findIndex(m=>m===t.target),h=Math.min(n+10,s.length-1);this.focusAndUpdateTabIndexes(s[h]),t.preventDefault();break}case Q.PAGE_UP:{let s=this.getAllValidOptions(),n=s.findIndex(m=>m===t.target),h=Math.max(n-10,0);this.focusAndUpdateTabIndexes(s[h]),t.preventDefault();break}default:break}}focusAndUpdateTabIndexes(t){t&&(t.focus(),this.updateTabIndexForAllOptions(t))}handleNativeInputFocus(){this.visualCombobox.focus()}updateState(){var s;let t=this.getFirstSelectedOption();t?((s=this.selectedOption)==null?void 0:s.value)!==t.value&&this.setSelectedOption(t):this.setSelectedOption(this.placeholder?null:this.getFirstValidOption())}render(){var t,s,n,h,m,x;return L`
|
4445
4445
|
${this.renderLabel()}
|
4446
4446
|
<div part="container">
|
4447
4447
|
<div
|
4448
|
-
id="${
|
4448
|
+
id="${Ta}"
|
4449
4449
|
part="base-container"
|
4450
4450
|
@click="${this.handleClickCombobox}"
|
4451
4451
|
@keydown="${this.handleKeydownCombobox}"
|
4452
4452
|
tabindex="${this.disabled?"-1":"0"}"
|
4453
4453
|
class="${this.disabled?"":"mdc-focus-ring"}"
|
4454
|
-
role="${
|
4455
|
-
aria-controls="${
|
4456
|
-
aria-label="${(
|
4454
|
+
role="${et.COMBOBOX}"
|
4455
|
+
aria-controls="${fd}"
|
4456
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
4457
4457
|
aria-labelledby="${this.label?Mt.HEADING_ID:""}"
|
4458
4458
|
aria-expanded="${this.displayPopover?"true":"false"}"
|
4459
|
-
aria-haspopup="${
|
4459
|
+
aria-haspopup="${et.LISTBOX}"
|
4460
4460
|
aria-required="${this.required?"true":"false"}"
|
4461
4461
|
aria-invalid="${this.helpTextType===Yt.ERROR?"true":"false"}"
|
4462
4462
|
aria-disabled="${nt(this.disabled||this.softDisabled)}"
|
@@ -4479,7 +4479,7 @@
|
|
4479
4479
|
<mdc-icon
|
4480
4480
|
size="1"
|
4481
4481
|
length-unit="rem"
|
4482
|
-
name="${this.displayPopover?
|
4482
|
+
name="${this.displayPopover?ud.ARROW_UP:ud.ARROW_DOWN}"
|
4483
4483
|
></mdc-icon>
|
4484
4484
|
</div>
|
4485
4485
|
</div>
|
@@ -4500,7 +4500,7 @@
|
|
4500
4500
|
/>
|
4501
4501
|
<mdc-popover
|
4502
4502
|
trigger="manual"
|
4503
|
-
triggerid="${
|
4503
|
+
triggerid="${Ta}"
|
4504
4504
|
@keydown="${this.handlePopoverKeydown}"
|
4505
4505
|
interactive
|
4506
4506
|
?visible="${this.displayPopover}"
|
@@ -4519,7 +4519,7 @@
|
|
4519
4519
|
</mdc-popover>
|
4520
4520
|
</div>
|
4521
4521
|
${this.renderHelperText()}
|
4522
|
-
`}};De.styles=[...ge.styles,...
|
4522
|
+
`}};De.styles=[...ge.styles,...uf],f([g({type:String})],De.prototype,"placeholder",2),f([g({type:Boolean})],De.prototype,"readonly",2),f([g({type:String})],De.prototype,"height",2),f([g({type:String,reflect:!0})],De.prototype,"placement",2),f([g({type:Boolean,attribute:"soft-disabled"})],De.prototype,"softDisabled",2),f([Ft({selector:"mdc-selectlistbox"})],De.prototype,"slottedListboxes",2),f([Fr(`[id="${Ta}"]`)],De.prototype,"visualCombobox",2),f([It()],De.prototype,"selectedOption",2),f([It()],De.prototype,"displayPopover",2);var vd=De;vd.register(mf);var sE=vd;lo.register(Ti);var aE=lo;var ff=j.constructTagName("skeleton"),vf={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},gf={VARIANT:vf.RECTANGULAR};var nE=H`
|
4523
4523
|
:host {
|
4524
4524
|
--mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
|
4525
4525
|
--mdc-skeleton-height: 100%;
|
@@ -4556,7 +4556,7 @@
|
|
4556
4556
|
::slotted(*) {
|
4557
4557
|
visibility: hidden;
|
4558
4558
|
}
|
4559
|
-
`,
|
4559
|
+
`,bf=nE;var xa=class extends q{constructor(){super(...arguments);this.variant=gf.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var s;let t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return L`<slot @slotchange=${this.checkSlotContent}></slot>`}};xa.styles=[...q.styles,bf],f([g({type:String,reflect:!0})],xa.prototype,"variant",2);var gd=xa;gd.register(ff);var lE=gd;var cE=[Et,H`
|
4560
4560
|
:host {
|
4561
4561
|
--mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
|
4562
4562
|
--mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
|
@@ -4620,11 +4620,11 @@
|
|
4620
4620
|
stroke-dashoffset: -292;
|
4621
4621
|
}
|
4622
4622
|
}
|
4623
|
-
`],
|
4623
|
+
`],yf=cE;var Ef=j.constructTagName("spinner"),dE={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},hE={STANDALONE:"standalone",BUTTON:"button"},al={VARIANT:hE.STANDALONE,SIZE:dE.MIDSIZE,INVERTED:!1};var _i=class extends q{constructor(){super(...arguments);this.inverted=al.INVERTED;this.size=al.SIZE;this.ariaLabel=null;this.variant=al.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?et.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return L`
|
4624
4624
|
<svg part="container" viewBox="0 0 100 100">
|
4625
4625
|
<circle part="circle" cx="50" cy="50" r="46"></circle>
|
4626
4626
|
</svg>
|
4627
|
-
`}};
|
4627
|
+
`}};_i.styles=[...q.styles,...yf],f([g({type:Boolean,reflect:!0})],_i.prototype,"inverted",2),f([g({type:String,reflect:!0})],_i.prototype,"size",2),f([g({type:String,attribute:"aria-label"})],_i.prototype,"ariaLabel",2),f([g({type:String,reflect:!0})],_i.prototype,"variant",2);var bd=_i;bd.register(Ef);var pE=bd;var Tf=j.constructTagName("tab"),yd={GLASS:"glass",LINE:"line",PILL:"pill"},nl={VARIANT:yd.PILL,ACTIVE:!1};var mE=[Et,H`
|
4628
4628
|
:host {
|
4629
4629
|
--mdc-tab-content-gap: 0.5rem;
|
4630
4630
|
--mdc-tab-height: 2rem;
|
@@ -4866,7 +4866,7 @@
|
|
4866
4866
|
background-color: var(--mdc-tab-pill-active-background-color-disabled);
|
4867
4867
|
color: var(--mdc-tab-pill-active-color-disabled);
|
4868
4868
|
}
|
4869
|
-
`,...At()],
|
4869
|
+
`,...At()],xf=mE;var Si=class extends Qt(de){constructor(){super(...arguments);this.active=nl.ACTIVE;this.variant=nl.VARIANT;this.handleTabActiveChange=t=>{let s=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(s)}}connectedCallback(){super.connectedCallback(),this.role=et.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${Gi(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(yd).includes(t)?t:nl.VARIANT)}setActive(t,s){super.setActive(t,s),this.modifyIconName(s)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return L`
|
4870
4870
|
<div part="container">
|
4871
4871
|
${this.iconName?L` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:W}
|
4872
4872
|
${this.text?L` <mdc-text
|
@@ -4880,7 +4880,7 @@
|
|
4880
4880
|
<slot name="chip"></slot>
|
4881
4881
|
</div>
|
4882
4882
|
<div part="indicator"></div>
|
4883
|
-
`}};
|
4883
|
+
`}};Si.styles=[...de.styles,...xf],f([g({type:Boolean,reflect:!0})],Si.prototype,"active",2),f([g({type:String,reflect:!0})],Si.prototype,"text",2),f([g({type:String,reflect:!0})],Si.prototype,"variant",2),f([g({type:String,reflect:!0,attribute:"tab-id"})],Si.prototype,"tabId",2);var Je=Si;Je.register(Tf);var uE=Je;var fE=[nn,H`
|
4884
4884
|
:host {
|
4885
4885
|
--mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
|
4886
4886
|
--mdc-tablist-gap: 0.5rem;
|
@@ -4910,16 +4910,16 @@
|
|
4910
4910
|
:host mdc-button[prefix-icon='arrow-right-regular'] {
|
4911
4911
|
margin-left: var(--mdc-tablist-arrow-button-margin);
|
4912
4912
|
}
|
4913
|
-
`],
|
4913
|
+
`],Af=[...fE];var _f=j.constructTagName("tablist"),Aa={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},ls={FORWARD:"forward",BACKWARD:"backward"};var ll=l=>l[0],Ed=l=>l[l.length-1],Sf=(l,i)=>{let t=l.findIndex(s=>i===s)-1;return l[(t+l.length)%l.length]},If=(l,i)=>{let t=l.findIndex(s=>i===s)+1;return l[t%l.length]},kf=(l,i)=>l.find(t=>t.tabId===i),Td=l=>l.find(i=>i.active);var mr=class extends q{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.isRtl=()=>{var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"};this.fireTabChangeEvent=t=>{let s=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(s)};this.handleFocus=async t=>{if(t.relatedTarget instanceof Je||!(t.target instanceof Je))return;let s=Td(this.tabs||[]);s instanceof Je&&await this.focusTab(s)};this.handleMousedown=t=>{t.target instanceof Je&&t.preventDefault()};this.handleNestedTabActiveChange=async t=>{t.stopPropagation();let s=t.target;s instanceof Je&&(this.setActiveTab(s),await this.focusTab(s),this.activeTabId=s.tabId)};this.resetTabIndexAndSetNewTabIndex=t=>{var s;(s=this.tabs)==null||s.forEach(n=>{n.setAttribute("tabindex",n===t?"0":"-1")})};this.setActiveTab=t=>{var s;(s=this.tabs)==null||s.forEach(n=>{n===t?n.setAttribute("active",""):n.removeAttribute("active")})};this.focusTab=async t=>{t instanceof Je&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())};this.handleKeydown=async t=>{let s=t.target;if(!(s instanceof Je)||!this.tabs)return;let n=Sf(this.tabs,s),h=If(this.tabs,s),m=ll(this.tabs),x=Ed(this.tabs);switch(t.code){case Aa.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?h:n);break;case Aa.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?n:h);break;case Aa.HOME:await this.focusTab(m);break;case Aa.END:await this.focusTab(x);break;default:}};this.shouldShowArrowButton=t=>t===ls.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton;this.switchFocus=async()=>{var t,s;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=Td(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((s=this.notFocusedArrowButton)==null||s.focus())};this.handleArrowButtonVisibility=async()=>{var K,at,J;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof Hi&&(t=!0);let s=ll(this.tabs),n=Ed(this.tabs),h=s.getBoundingClientRect().left,m=(at=this.tabsContainer)==null?void 0:at.getBoundingClientRect().left,x=n.getBoundingClientRect().right,R=(J=this.tabsContainer)==null?void 0:J.getBoundingClientRect().right,$=s.getBoundingClientRect().right,Y=n.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,x>R?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}$>R?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,Y<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()};this.scrollTabs=async t=>{var h;let s=this.isRtl()?-1:1,n=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(t===ls.FORWARD?s:n),behavior:"instant"}),await this.handleArrowButtonVisibility()};this.addEventListener("keydown",this.handleKeydown),this.addEventListener("activechange",this.handleNestedTabActiveChange)}async firstUpdated(){var n,h,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(x=>x.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(n=ll(this.tabs))==null?void 0:n.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let s=kf(this.tabs,this.activeTabId);if(!(s instanceof Je))return;this.setActiveTab(s),t.get("activeTabId")?(this.fireTabChangeEvent(s),await this.focusTab(s)):this.resetTabIndexAndSetNewTabIndex(s)}}render(){let t=this.isRtl()?"left":"right",s=this.isRtl()?"right":"left",n=h=>L` ${this.shouldShowArrowButton(h)?L`<mdc-button
|
4914
4914
|
variant="tertiary"
|
4915
|
-
prefix-icon="arrow-${h===
|
4916
|
-
aria-label="Scroll tabs ${h===
|
4915
|
+
prefix-icon="arrow-${h===ls.FORWARD?t:s}-regular"
|
4916
|
+
aria-label="Scroll tabs ${h===ls.FORWARD?t:s}"
|
4917
4917
|
@click="${()=>this.scrollTabs(h)}"
|
4918
4918
|
></mdc-button>`:W}`;return L` ${n("backward")}
|
4919
|
-
<div class="container" role="${
|
4919
|
+
<div class="container" role="${et.TABLIST}" tabindex="-1" aria-label="${nt(this.dataAriaLabel)}">
|
4920
4920
|
<slot></slot>
|
4921
4921
|
</div>
|
4922
|
-
${n(
|
4922
|
+
${n(ls.FORWARD)}`}};mr.styles=[...q.styles,...Af],f([g({type:String,attribute:"active-tab-id",reflect:!0})],mr.prototype,"activeTabId",2),f([g({type:String,attribute:"data-aria-label"})],mr.prototype,"dataAriaLabel",2),f([Fr(".container")],mr.prototype,"tabsContainer",2),f([Fr("mdc-button:not(:focus-visible)")],mr.prototype,"notFocusedArrowButton",2),f([Ft({selector:"mdc-tab"})],mr.prototype,"tabs",2),f([It()],mr.prototype,"showForwardArrowButton",2),f([It()],mr.prototype,"showBackwardArrowButton",2);var xd=mr;xd.register(_f);var vE=xd;var Cf=j.constructTagName("textarea"),Ad={HARD:"hard",SOFT:"soft"},wf={OFF:"off",ON:"on"},cl={CHARACTER_COUNTER_TYPE:ot.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:Ad.SOFT};var gE=[H`
|
4923
4923
|
:host {
|
4924
4924
|
--mdc-textarea-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
|
4925
4925
|
--mdc-textarea-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
|
@@ -5038,15 +5038,15 @@
|
|
5038
5038
|
opacity: 0;
|
5039
5039
|
pointer-events: none;
|
5040
5040
|
}
|
5041
|
-
`,...At(!0)],
|
5042
|
-
<mdc-text part="character-counter" tagname="span" type=${
|
5041
|
+
`,...At(!0)],Lf=gE;var ae=class extends Le(jt(Ke)){constructor(){super(...arguments);this.readonly=!1;this.rows=cl.ROWS;this.cols=cl.COLS;this.wrap=Ad.SOFT;this.autocapitalize=qn.OFF;this.autocomplete=wf.OFF;this.autofocus=!1;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(s=>{this.onerror&&this.onerror(s)})}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Yt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,s,n){super.attributeChangedCallback(t,s,n),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let s=t.constructor;this.dispatchEvent(new s(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?L`
|
5042
|
+
<mdc-text part="character-counter" tagname="span" type=${cl.CHARACTER_COUNTER_TYPE}>
|
5043
5043
|
${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
|
5044
5044
|
</mdc-text>
|
5045
|
-
`:W}renderTextareaFooter(){return!this.helpText&&!this.maxCharacterLimit?W:L` <div part="textarea-footer">${this.renderHelperText()} ${this.renderCharacterCounter()}</div> `}render(){var
|
5045
|
+
`:W}renderTextareaFooter(){return!this.helpText&&!this.maxCharacterLimit?W:L` <div part="textarea-footer">${this.renderHelperText()} ${this.renderCharacterCounter()}</div> `}render(){var t;return L`
|
5046
5046
|
${this.renderLabel()}
|
5047
5047
|
<div class="textarea-container mdc-focus-ring" part="textarea-container">
|
5048
5048
|
<textarea
|
5049
|
-
aria-label="${(
|
5049
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
5050
5050
|
part="textarea"
|
5051
5051
|
id="${this.id}"
|
5052
5052
|
name="${this.name}"
|
@@ -5071,7 +5071,7 @@
|
|
5071
5071
|
></textarea>
|
5072
5072
|
</div>
|
5073
5073
|
${this.renderTextareaFooter()}
|
5074
|
-
`}};ae.styles=[...Ke.styles,...
|
5074
|
+
`}};ae.styles=[...Ke.styles,...Lf],f([g({type:String})],ae.prototype,"placeholder",2),f([g({type:Boolean})],ae.prototype,"readonly",2),f([g({type:Number})],ae.prototype,"rows",2),f([g({type:Number})],ae.prototype,"cols",2),f([g({type:String})],ae.prototype,"wrap",2),f([g({type:String})],ae.prototype,"autocapitalize",2),f([g({type:String})],ae.prototype,"autocomplete",2),f([g({type:Boolean})],ae.prototype,"autofocus",2),f([g({type:String})],ae.prototype,"dirname",2),f([g({type:Number})],ae.prototype,"maxlength",2),f([g({type:Number})],ae.prototype,"minlength",2),f([g({type:Number,attribute:"max-character-limit"})],ae.prototype,"maxCharacterLimit",2),f([Fr("textarea")],ae.prototype,"inputElement",2);var _d=ae;_d.register(Cf);var bE=_d;var dl=j.constructTagName("themeprovider"),Sd={THEMECLASS:"mds-theme-stable-darkWebex"};var hl=class{constructor(i){this.themeclass=i}};hl.context=dl;var pl=hl;var yE=H`
|
5075
5075
|
:host {
|
5076
5076
|
--mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
|
5077
5077
|
--mdc-themeprovider-font-family: var(--mds-font-family-primary);
|
@@ -5098,7 +5098,7 @@
|
|
5098
5098
|
* {
|
5099
5099
|
scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
|
5100
5100
|
}
|
5101
|
-
`,
|
5101
|
+
`,Nf=[yE];var cs=class extends br{constructor(){super({context:pl.context,initialValue:new pl(Sd.THEMECLASS)});this.themeclass=Sd.THEMECLASS}static get Context(){return pl.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};cs.styles=[...br.styles,...Nf],f([It()],cs.prototype,"currentThemeClass",2),f([g({type:String})],cs.prototype,"themeclass",2);var Id=cs;Id.register(dl);var EE=Id;var TE=[Et,H`
|
5102
5102
|
:host {
|
5103
5103
|
--mdc-toggle-width: 3rem;
|
5104
5104
|
--mdc-toggle-height: 1.5rem;
|
@@ -5184,7 +5184,7 @@
|
|
5184
5184
|
:host([disabled]) .mdc-help-text {
|
5185
5185
|
color: var(--mdc-toggle-label-color-disabled);
|
5186
5186
|
}
|
5187
|
-
`,...At(!0)],
|
5187
|
+
`,...At(!0)],Rf=TE;var fo=class extends Le(jt(Ke)){constructor(){super(...arguments);this.checked=!1;this.size=Xc.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var s;t.key===Q.ENTER&&((s=this.form)==null||s.requestSubmit())}handleChange(t){this.toggleState();let s=t.constructor;this.dispatchEvent(new s(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(ua).includes(t)?t:Xc.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return L`
|
5188
5188
|
<mdc-statictoggle
|
5189
5189
|
?checked="${this.checked}"
|
5190
5190
|
?disabled="${this.disabled}"
|
@@ -5196,7 +5196,7 @@
|
|
5196
5196
|
id="${this.id}"
|
5197
5197
|
type="checkbox"
|
5198
5198
|
part="toggle-input"
|
5199
|
-
role="${
|
5199
|
+
role="${et.CHECKBOX}"
|
5200
5200
|
?autofocus="${this.autofocus}"
|
5201
5201
|
?required="${this.required}"
|
5202
5202
|
name="${nt(this.name)}"
|
@@ -5205,17 +5205,17 @@
|
|
5205
5205
|
aria-checked="${this.checked}"
|
5206
5206
|
.disabled="${this.disabled}"
|
5207
5207
|
aria-describedby="${nt(this.helpText?Mt.HELPER_TEXT_ID:"")}"
|
5208
|
-
aria-label="${(
|
5208
|
+
aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
|
5209
5209
|
tabindex="${this.disabled?-1:0}"
|
5210
5210
|
@change="${this.handleChange}"
|
5211
5211
|
@keydown="${this.handleKeyDown}"
|
5212
5212
|
/>
|
5213
5213
|
</mdc-statictoggle>
|
5214
5214
|
${this.renderLabel()} ${this.renderHelperText()}
|
5215
|
-
`}};
|
5215
|
+
`}};fo.styles=[...Ke.styles,...Rf],f([g({type:Boolean,reflect:!0})],fo.prototype,"checked",2),f([g({type:String,reflect:!0})],fo.prototype,"size",2),f([g({type:Boolean,reflect:!0})],fo.prototype,"autofocus",2);var kd=fo;kd.register(Ou);var xE=kd;function vo(l,i,t){var h;let s=(h=t.initialDeps)!=null?h:[],n;return()=>{var m,x,R,$;let Y;t.key&&((m=t.debug)!=null&&m.call(t))&&(Y=Date.now());let K=l();if(!(K.length!==s.length||K.some((rt,ht)=>s[ht]!==rt)))return n;s=K;let J;if(t.key&&((x=t.debug)!=null&&x.call(t))&&(J=Date.now()),n=i(...K),t.key&&((R=t.debug)!=null&&R.call(t))){let rt=Math.round((Date.now()-Y)*100)/100,ht=Math.round((Date.now()-J)*100)/100,Tt=ht/16,yt=(xt,kt)=>{for(xt=String(xt);xt.length<kt;)xt=" "+xt;return xt};console.info(`%c\u23F1 ${yt(ht,5)} /${yt(rt,5)} ms`,`
|
5216
5216
|
font-size: .6rem;
|
5217
5217
|
font-weight: bold;
|
5218
|
-
color: hsl(${Math.max(0,Math.min(120-120*Tt,120))}deg 100% 31%);`,e==null?void 0:e.key)}return($=e==null?void 0:e.onChange)==null||$.call(e,n),n}}function cl(l,i){if(l===void 0)throw new Error(`Unexpected undefined${i?`: ${i}`:""}`);return l}var Sf=(l,i)=>Math.abs(l-i)<1,If=(l,i,e)=>{let s;return function(...n){l.clearTimeout(s),s=l.setTimeout(()=>i.apply(this,n),e)}};var uE=l=>l,fE=l=>{let i=Math.max(l.startIndex-l.overscan,0),e=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let n=i;n<=e;n++)s.push(n);return s},Cf=(l,i)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=m=>{let{width:x,height:R}=m;i({width:Math.round(x),height:Math.round(R)})};if(n(e.getBoundingClientRect()),!s.ResizeObserver)return()=>{};let h=new s.ResizeObserver(m=>{let x=m[0];if(x!=null&&x.borderBoxSize){let R=x.borderBoxSize[0];if(R){n({width:R.inlineSize,height:R.blockSize});return}}n(e.getBoundingClientRect())});return h.observe(e,{box:"border-box"}),()=>{h.unobserve(e)}},kf={passive:!0};var vE=typeof window>"u"?!0:"onscrollend"in window,wf=(l,i)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=0,h=l.options.useScrollendEvent&&vE?()=>{}:If(s,()=>{i(n,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:Y,isRtl:K}=l.options;n=Y?e.scrollLeft*(K&&-1||1):e.scrollTop,h(),i(n,$)},x=m(!0),R=m(!1);return R(),e.addEventListener("scroll",x,kf),e.addEventListener("scrollend",R,kf),()=>{e.removeEventListener("scroll",x),e.removeEventListener("scrollend",R)}};var gE=(l,i,e)=>{if(i!=null&&i.borderBoxSize){let s=i.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var Lf=(l,{adjustments:i=0,behavior:e},s)=>{var n,h;let m=l+i;(h=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||h.call(n,{[s.options.horizontal?"left":"top"]:m,behavior:e})},dl=class{constructor(i){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(n=>{n.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),e=null},observe:n=>{var h;return(h=s())==null?void 0:h.observe(n,{box:"border-box"})},unobserve:n=>{var h;return(h=s())==null?void 0:h.unobserve(n)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,n])=>{typeof n>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:uE,rangeExtractor:fE,onChange:()=>{},measureElement:gE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,e)},this.maybeNotify=fo(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;var e;let s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(n=(e=this.scrollElement)==null?void 0:e.window)!=null?n:null,this.elementsCache.forEach(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,s)=>{let n=new Map,h=new Map;for(let m=s-1;m>=0;m--){let x=e[m];if(n.has(x.lane))continue;let R=h.get(x.lane);if(R==null||x.end>R.end?h.set(x.lane,x):x.end<R.end&&n.set(x.lane,!0),n.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,x)=>m.end===x.end?m.index-x.index:m.end-x.end)[0]:void 0},this.getMeasurementOptions=fo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,s,n,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=fo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m},x)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(Y=>{this.itemSizeCache.set(Y.key,Y.size)}));let R=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,R);for(let Y=R;Y<e;Y++){let K=h(Y),at=this.options.lanes===1?$[Y-1]:this.getFurthestMeasurement($,Y),J=at?at.end+this.options.gap:s+n,et=x.get(K),ht=typeof et=="number"?et:this.options.estimateSize(Y),Tt=J+ht,yt=at?at.lane:Y%this.options.lanes;$[Y]={index:Y,start:J,size:ht,end:Tt,key:K,lane:yt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=fo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,s,n)=>this.range=e.length>0&&s>0?bE({measurements:e,outerSize:s,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=fo(()=>{let e=null,s=null,n=this.calculateRange();return n&&(e=n.startIndex,s=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,s]},(e,s,n,h,m)=>h===null||m===null?[]:e({startIndex:h,endIndex:m,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let s=this.options.indexAttribute,n=e.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(e,s)=>{let n=this.indexFromElement(e),h=this.measurementsCache[n];if(!h)return;let m=h.key,x=this.elementsCache.get(m);x!==e&&(x&&this.observer.unobserve(x),this.observer.observe(e),this.elementsCache.set(m,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,s,this))},this.resizeItem=(e,s)=>{var x;let n=this.measurementsCache[e];if(!n)return;let h=(x=this.itemSizeCache.get(n.key))!=null?x:n.size,m=s-h;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,m,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,s)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((s,n)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(n))});return}this._measureElement(e,void 0)},this.getVirtualItems=fo(()=>[this.getIndexes(),this.getMeasurements()],(e,s)=>{let n=[];for(let h=0,m=e.length;h<m;h++){let x=e[h],R=s[x];n.push(R)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let s=this.getMeasurements();if(s.length!==0)return cl(s[Nf(0,s.length-1,n=>cl(s[n]).start,e)])},this.getOffsetForAlignment=(e,s)=>{let n=this.getSize(),h=this.getScrollOffset();s==="auto"&&e>=h+n&&(s="end"),s==="end"&&(e-=n);let m=this.options.horizontal?"scrollWidth":"scrollHeight",R=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-n;return Math.max(Math.min(R,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let h=this.getSize(),m=this.getScrollOffset();if(s==="auto")if(n.end>=m+h-this.options.scrollPaddingEnd)s="end";else if(n.start<=m+this.options.scrollPaddingStart)s="start";else return[m,s];let x=n.start-this.options.scrollPaddingStart+(n.size-h)/2;switch(s){case"center":return[this.getOffsetForAlignment(x,s),s];case"end":return[this.getOffsetForAlignment(n.end+this.options.scrollPaddingEnd,s),s];default:return[this.getOffsetForAlignment(n.start-this.options.scrollPaddingStart,s),s]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:s="start",behavior:n}={})=>{this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,s),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:s="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(e,s);if(!h)return;let[m,x]=h;this._scrollToOffset(m,{adjustments:void 0,behavior:n}),n!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[$]=cl(this.getOffsetForIndex(e,x));Sf($,this.getScrollOffset())||this.scrollToIndex(e,{align:x,behavior:n})}else this.scrollToIndex(e,{align:x,behavior:n})}))},this.scrollBy=(e,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var h;var e;let s=this.getMeasurements(),n;return s.length===0?n=this.options.paddingStart:n=this.options.lanes===1?(h=(e=s[s.length-1])==null?void 0:e.end)!=null?h:0:Math.max(...s.slice(-this.options.lanes).map(m=>m.end)),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:s,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(i)}},Nf=(l,i,e,s)=>{for(;l<=i;){let n=(l+i)/2|0,h=e(n);if(h<s)l=n+1;else if(h>s)i=n-1;else return n}return l>0?l-1:0};function bE({measurements:l,outerSize:i,scrollOffset:e}){let s=l.length-1,h=Nf(0,s,x=>l[x].start,e),m=h;for(;m<s&&l[m].end<e+i;)m++;return{startIndex:h,endIndex:m}}var xd=class{constructor(i,e){this.cleanup=()=>{},(this.host=i).addController(this);let s={...e,onChange:(n,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=e.onChange)==null||m.call(e,n,h)}};this.virtualizer=new dl(s)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},hl=class extends xd{constructor(i,e){super(i,{observeElementRect:Cf,observeElementOffset:wf,scrollToFn:Lf,...e})}};var yE=[H`
|
5218
|
+
color: hsl(${Math.max(0,Math.min(120-120*Tt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return($=t==null?void 0:t.onChange)==null||$.call(t,n),n}}function ml(l,i){if(l===void 0)throw new Error(`Unexpected undefined${i?`: ${i}`:""}`);return l}var Mf=(l,i)=>Math.abs(l-i)<1,Of=(l,i,t)=>{let s;return function(...n){l.clearTimeout(s),s=l.setTimeout(()=>i.apply(this,n),t)}};var AE=l=>l,_E=l=>{let i=Math.max(l.startIndex-l.overscan,0),t=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let n=i;n<=t;n++)s.push(n);return s},Df=(l,i)=>{let t=l.scrollElement;if(!t)return;let s=l.targetWindow;if(!s)return;let n=m=>{let{width:x,height:R}=m;i({width:Math.round(x),height:Math.round(R)})};if(n(t.getBoundingClientRect()),!s.ResizeObserver)return()=>{};let h=new s.ResizeObserver(m=>{let x=m[0];if(x!=null&&x.borderBoxSize){let R=x.borderBoxSize[0];if(R){n({width:R.inlineSize,height:R.blockSize});return}}n(t.getBoundingClientRect())});return h.observe(t,{box:"border-box"}),()=>{h.unobserve(t)}},Pf={passive:!0};var SE=typeof window>"u"?!0:"onscrollend"in window,Ff=(l,i)=>{let t=l.scrollElement;if(!t)return;let s=l.targetWindow;if(!s)return;let n=0,h=l.options.useScrollendEvent&&SE?()=>{}:Of(s,()=>{i(n,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:Y,isRtl:K}=l.options;n=Y?t.scrollLeft*(K&&-1||1):t.scrollTop,h(),i(n,$)},x=m(!0),R=m(!1);return R(),t.addEventListener("scroll",x,Pf),t.addEventListener("scrollend",R,Pf),()=>{t.removeEventListener("scroll",x),t.removeEventListener("scrollend",R)}};var IE=(l,i,t)=>{if(i!=null&&i.borderBoxSize){let s=i.borderBoxSize[0];if(s)return Math.round(s[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var $f=(l,{adjustments:i=0,behavior:t},s)=>{var n,h;let m=l+i;(h=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||h.call(n,{[s.options.horizontal?"left":"top"]:m,behavior:t})},ul=class{constructor(i){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,s=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(n=>{n.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),t=null},observe:n=>{var h;return(h=s())==null?void 0:h.observe(n,{box:"border-box"})},unobserve:n=>{var h;return(h=s())==null?void 0:h.unobserve(n)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([s,n])=>{typeof n>"u"&&delete t[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:AE,rangeExtractor:_E,onChange:()=>{},measureElement:IE,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,t)},this.maybeNotify=vo(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;var t;let s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(n=(t=this.scrollElement)==null?void 0:t.window)!=null?n:null,this.elementsCache.forEach(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,s)=>{let n=new Map,h=new Map;for(let m=s-1;m>=0;m--){let x=t[m];if(n.has(x.lane))continue;let R=h.get(x.lane);if(R==null||x.end>R.end?h.set(x.lane,x):x.end<R.end&&n.set(x.lane,!0),n.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,x)=>m.end===x.end?m.index-x.index:m.end-x.end)[0]:void 0},this.getMeasurementOptions=vo(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,s,n,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=vo(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m},x)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(Y=>{this.itemSizeCache.set(Y.key,Y.size)}));let R=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,R);for(let Y=R;Y<t;Y++){let K=h(Y),at=this.options.lanes===1?$[Y-1]:this.getFurthestMeasurement($,Y),J=at?at.end+this.options.gap:s+n,rt=x.get(K),ht=typeof rt=="number"?rt:this.options.estimateSize(Y),Tt=J+ht,yt=at?at.lane:Y%this.options.lanes;$[Y]={index:Y,start:J,size:ht,end:Tt,key:K,lane:yt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=vo(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,s,n)=>this.range=t.length>0&&s>0?kE({measurements:t,outerSize:s,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=vo(()=>{let t=null,s=null,n=this.calculateRange();return n&&(t=n.startIndex,s=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,s]},(t,s,n,h,m)=>h===null||m===null?[]:t({startIndex:h,endIndex:m,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let s=this.options.indexAttribute,n=t.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(t,s)=>{let n=this.indexFromElement(t),h=this.measurementsCache[n];if(!h)return;let m=h.key,x=this.elementsCache.get(m);x!==t&&(x&&this.observer.unobserve(x),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(n,this.options.measureElement(t,s,this))},this.resizeItem=(t,s)=>{var x;let n=this.measurementsCache[t];if(!n)return;let h=(x=this.itemSizeCache.get(n.key))!=null?x:n.size,m=s-h;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,m,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,s)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((s,n)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(n))});return}this._measureElement(t,void 0)},this.getVirtualItems=vo(()=>[this.getIndexes(),this.getMeasurements()],(t,s)=>{let n=[];for(let h=0,m=t.length;h<m;h++){let x=t[h],R=s[x];n.push(R)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let s=this.getMeasurements();if(s.length!==0)return ml(s[zf(0,s.length-1,n=>ml(s[n]).start,t)])},this.getOffsetForAlignment=(t,s)=>{let n=this.getSize(),h=this.getScrollOffset();s==="auto"&&t>=h+n&&(s="end"),s==="end"&&(t-=n);let m=this.options.horizontal?"scrollWidth":"scrollHeight",R=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-n;return Math.max(Math.min(R,t),0)},this.getOffsetForIndex=(t,s="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let n=this.measurementsCache[t];if(!n)return;let h=this.getSize(),m=this.getScrollOffset();if(s==="auto")if(n.end>=m+h-this.options.scrollPaddingEnd)s="end";else if(n.start<=m+this.options.scrollPaddingStart)s="start";else return[m,s];let x=n.start-this.options.scrollPaddingStart+(n.size-h)/2;switch(s){case"center":return[this.getOffsetForAlignment(x,s),s];case"end":return[this.getOffsetForAlignment(n.end+this.options.scrollPaddingEnd,s),s];default:return[this.getOffsetForAlignment(n.start-this.options.scrollPaddingStart,s),s]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:s="start",behavior:n}={})=>{this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,s),{adjustments:void 0,behavior:n})},this.scrollToIndex=(t,{align:s="auto",behavior:n}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(t,s);if(!h)return;let[m,x]=h;this._scrollToOffset(m,{adjustments:void 0,behavior:n}),n!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[$]=ml(this.getOffsetForIndex(t,x));Mf($,this.getScrollOffset())||this.scrollToIndex(t,{align:x,behavior:n})}else this.scrollToIndex(t,{align:x,behavior:n})}))},this.scrollBy=(t,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var h;var t;let s=this.getMeasurements(),n;return s.length===0?n=this.options.paddingStart:n=this.options.lanes===1?(h=(t=s[s.length-1])==null?void 0:t.end)!=null?h:0:Math.max(...s.slice(-this.options.lanes).map(m=>m.end)),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:s,behavior:n})=>{this.options.scrollToFn(t,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(i)}},zf=(l,i,t,s)=>{for(;l<=i;){let n=(l+i)/2|0,h=t(n);if(h<s)l=n+1;else if(h>s)i=n-1;else return n}return l>0?l-1:0};function kE({measurements:l,outerSize:i,scrollOffset:t}){let s=l.length-1,h=zf(0,s,x=>l[x].start,t),m=h;for(;m<s&&l[m].end<t+i;)m++;return{startIndex:h,endIndex:m}}var Cd=class{constructor(i,t){this.cleanup=()=>{},(this.host=i).addController(this);let s={...t,onChange:(n,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,n,h)}};this.virtualizer=new ul(s)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},fl=class extends Cd{constructor(i,t){super(i,{observeElementRect:Df,observeElementOffset:Ff,scrollToFn:$f,...t})}};var CE=[H`
|
5219
5219
|
:host::part(scroll) {
|
5220
5220
|
height: 100%;
|
5221
5221
|
width: 100%;
|
@@ -5225,11 +5225,48 @@
|
|
5225
5225
|
position: relative;
|
5226
5226
|
width: 100%;
|
5227
5227
|
}
|
5228
|
-
`],
|
5228
|
+
`],Vf=CE;var Bf=j.constructTagName("virtualizedlist"),oY=j.constructTagName("virtualizedwrapper"),Uf={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var go=class extends q{constructor(){super();this.virtualizerProps=Uf.VIRTUALIZER_PROPS;this.scrollElementRef=un();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new fl(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var x,R;this.virtualizer=t.getVirtualizer();let{getTotalSize:s,getVirtualItems:n,measureElement:h}=this.virtualizer,m=n();if(m!==this.virtualItems){this.virtualItems=m;let $=n(),Y={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(R=(x=$[0])==null?void 0:x.start)!=null?R:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:$,measureElement:h,listStyle:Y})}return L`<div part="container" style="height: ${s()}px;">
|
5229
5229
|
<slot></slot>
|
5230
|
-
</div>`}render(){return L`<div ${
|
5230
|
+
</div>`}render(){return L`<div ${fn(this.scrollElementRef)} part="scroll" @scroll=${this.onscroll&&this.onscroll}>
|
5231
5231
|
${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):L``}
|
5232
|
-
</div> `}};
|
5232
|
+
</div> `}};go.styles=[...q.styles,...Vf],f([g({type:Function,attribute:"onscroll"})],go.prototype,"onscroll",2),f([g({type:Object,attribute:"virtualizerprops"})],go.prototype,"virtualizerProps",2),f([g({type:Function,attribute:"setlistdata"})],go.prototype,"setlistdata",2);var wd=go;wd.register(Bf);var wE=wd;var Ld=class extends q{constructor(){super(...arguments);this.role=et.LISTBOX}createRenderRoot(){return this}},Nd=Ld;var Gf=j.constructTagName("selectlistbox");Nd.register(Gf);var LE=Nd;var NE={COMPLETE:"complete",INCOMPLETE:"incomplete"},Rd={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Md={STATUS:NE.INCOMPLETE,ORIENTATION:Rd.HORIZONTAL},Hf=j.constructTagName("stepperconnector");var jf=j.constructTagName("stepperitem"),Od={INLINE:"inline",STACKED:"stacked"},Zr={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},vl={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Pd={VARIANT:Od.INLINE,STATUS:Zr.NOT_STARTED};var gl=j.constructTagName("stepper"),_a={ORIENTATION:Rd.HORIZONTAL,VARIANT:Od.INLINE};var bl=class{constructor(i,t){this.orientation=i,this.variant=t}};bl.context=gl;var yl=bl;var RE=H`
|
5233
|
+
:host {
|
5234
|
+
gap: 0.5rem;
|
5235
|
+
}
|
5236
|
+
|
5237
|
+
::slotted(mdc-stepperitem) {
|
5238
|
+
flex-shrink: 0;
|
5239
|
+
}
|
5240
|
+
|
5241
|
+
:host([orientation='horizontal']) {
|
5242
|
+
width: 100%;
|
5243
|
+
}
|
5244
|
+
|
5245
|
+
:host([orientation='vertical']) {
|
5246
|
+
flex-direction: column;
|
5247
|
+
height: 100%;
|
5248
|
+
}
|
5249
|
+
|
5250
|
+
:host([orientation='vertical'][variant='inline']),
|
5251
|
+
:host([orientation='horizontal'][variant='stacked']) {
|
5252
|
+
align-items: flex-start;
|
5253
|
+
}
|
5254
|
+
|
5255
|
+
:host([orientation='vertical'][variant='stacked']) ::slotted(mdc-stepperconnector) {
|
5256
|
+
display: flex;
|
5257
|
+
justify-content: center;
|
5258
|
+
}
|
5259
|
+
|
5260
|
+
:host([orientation='vertical'][variant='inline']) ::slotted(mdc-stepperconnector) {
|
5261
|
+
display: flex;
|
5262
|
+
padding-left: 0.875rem;
|
5263
|
+
}
|
5264
|
+
|
5265
|
+
:host([orientation='horizontal'][variant='stacked']) ::slotted(mdc-stepperconnector) {
|
5266
|
+
padding-top: 0.9375rem;
|
5267
|
+
margin: 0 -3rem;
|
5268
|
+
}
|
5269
|
+
`,Yf=[Et,RE];var ds=class extends br{constructor(){super({context:yl.context,initialValue:new yl(_a.ORIENTATION,_a.VARIANT)});this.orientation=_a.ORIENTATION;this.variant=_a.VARIANT}connectedCallback(){super.connectedCallback(),this.role=et.LIST}static get Context(){return yl.context}updated(t){(t.has("orientation")||t.has("variant"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.orientation!==this.orientation)&&(this.context.value.variant=this.variant,this.context.value.orientation=this.orientation,this.context.updateObservers())}render(){return L` <slot></slot> `}};ds.styles=[...q.styles,...Yf],f([g({type:String,reflect:!0})],ds.prototype,"orientation",2),f([g({type:String,reflect:!0})],ds.prototype,"variant",2);var bo=ds;var ME=H`
|
5233
5270
|
:host {
|
5234
5271
|
gap: 0.5rem;
|
5235
5272
|
border-radius: 0.25rem;
|
@@ -5276,8 +5313,10 @@
|
|
5276
5313
|
}
|
5277
5314
|
|
5278
5315
|
:host([variant='stacked'])::part(label-container) {
|
5279
|
-
|
5316
|
+
width: 8.75rem;
|
5317
|
+
padding: 0.25rem 0;
|
5280
5318
|
}
|
5319
|
+
|
5281
5320
|
:host([variant='stacked'])::part(label),
|
5282
5321
|
:host([variant='stacked'])::part(help-text) {
|
5283
5322
|
overflow: hidden;
|
@@ -5295,6 +5334,7 @@
|
|
5295
5334
|
:host([status='error-incomplete'])::part(help-text-container) {
|
5296
5335
|
display: flex;
|
5297
5336
|
align-items: center;
|
5337
|
+
justify-content: center;
|
5298
5338
|
gap: 0.25rem;
|
5299
5339
|
}
|
5300
5340
|
|
@@ -5320,6 +5360,7 @@
|
|
5320
5360
|
:host([status='error-current'])::part(help-icon),
|
5321
5361
|
:host([status='error-incomplete'])::part(help-icon) {
|
5322
5362
|
--mdc-icon-fill-color: var(--mds-color-theme-text-error-normal);
|
5363
|
+
flex-shrink: 0;
|
5323
5364
|
}
|
5324
5365
|
|
5325
5366
|
:host(:hover) {
|
@@ -5382,23 +5423,23 @@
|
|
5382
5423
|
:host([status='error-incomplete']:active) {
|
5383
5424
|
--mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
|
5384
5425
|
}
|
5385
|
-
`,
|
5426
|
+
`,Wf=[Et,ME,...At()];var Jr=class extends Ue(q){constructor(){super();this.variant=Pd.VARIANT;this.status=Pd.STATUS;this.label="";this.stepperContext=yr.consume({host:this,context:bo.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var n;super.updated(t);let s=(n=this.stepperContext)==null?void 0:n.value;!s||!s.variant||(this.variant=s.variant)}connectedCallback(){super.connectedCallback(),this.role=et.LISTITEM}handleKeyDown(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Q.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Q.ENTER,Q.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Q.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===Zr.COMPLETED?L`<mdc-icon part="status-icon" name=${vl.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===Zr.ERROR_CURRENT||this.status===Zr.CURRENT?L`<mdc-icon part="status-icon" name=${vl.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===Zr.NOT_STARTED||this.status===Zr.ERROR_INCOMPLETE)?L`<mdc-text part="step-number" tagname=${vt.SPAN} type=${ot.BODY_MIDSIZE_REGULAR}
|
5386
5427
|
>${this.stepNumber}</mdc-text
|
5387
|
-
>`:W}renderHelpText(){if(!this.helpText)return W;let
|
5428
|
+
>`:W}renderHelpText(){if(!this.helpText)return W;let t=L`<mdc-text
|
5388
5429
|
part="help-text"
|
5389
5430
|
tagname=${vt.SPAN}
|
5390
5431
|
type=${ot.BODY_MIDSIZE_REGULAR}
|
5391
5432
|
>${this.helpText}</mdc-text
|
5392
|
-
>`;return this.status===
|
5393
|
-
<mdc-icon part="help-icon" name=${
|
5394
|
-
${
|
5395
|
-
</div>`:
|
5433
|
+
>`;return this.status===Zr.ERROR_INCOMPLETE||this.status===Zr.ERROR_CURRENT?L`<div part="help-text-container">
|
5434
|
+
<mdc-icon part="help-icon" name=${vl.ERROR} length-unit="rem" size="1"></mdc-icon>
|
5435
|
+
${t}
|
5436
|
+
</div>`:t}render(){return L` <div part="status-container">${this.renderStatusIcon()}</div>
|
5396
5437
|
<div part="label-container">
|
5397
5438
|
${this.label?L`<mdc-text part="label" tagname=${vt.SPAN} type=${ot.BODY_MIDSIZE_REGULAR}
|
5398
5439
|
>${this.label}</mdc-text
|
5399
5440
|
>`:W}
|
5400
5441
|
${this.renderHelpText()}
|
5401
|
-
</div>`}};
|
5442
|
+
</div>`}};Jr.styles=[...q.styles,...Wf],f([g({type:String,reflect:!0})],Jr.prototype,"variant",2),f([g({type:String,reflect:!0})],Jr.prototype,"status",2),f([g({type:String,reflect:!0})],Jr.prototype,"label",2),f([g({type:String,reflect:!0,attribute:"help-text"})],Jr.prototype,"helpText",2),f([g({type:Number,reflect:!0,attribute:"step-number"})],Jr.prototype,"stepNumber",2);var Dd=Jr;Dd.register(jf);var OE=Dd;var PE=H`
|
5402
5443
|
:host {
|
5403
5444
|
--mdc-stepperconnector-complete-background: var(--mds-color-theme-outline-theme-normal);
|
5404
5445
|
--mdc-stepperconnector-incomplete-background: var(--mds-color-theme-outline-primary-normal);
|
@@ -5433,7 +5474,7 @@
|
|
5433
5474
|
border-left: 1px solid var(--mdc-stepperconnector-complete-background);
|
5434
5475
|
}
|
5435
5476
|
}
|
5436
|
-
`,
|
5477
|
+
`,qf=[PE];var hs=class extends q{constructor(){super(...arguments);this.status=Md.STATUS;this.orientation=Md.ORIENTATION;this.stepperContext=yr.consume({host:this,context:bo.Context})}updated(t){var n;super.updated(t),t.has("orientation")&&(this.ariaOrientation=this.orientation);let s=(n=this.stepperContext)==null?void 0:n.value;!s||!s.orientation||(this.orientation=s.orientation)}render(){return L` <div part="connector"></div> `}};hs.styles=[...q.styles,...qf],f([g({type:String,reflect:!0})],hs.prototype,"status",2),f([g({type:String,reflect:!0})],hs.prototype,"orientation",2);var Fd=hs;Fd.register(Hf);var DE=Fd;bo.register(gl);var FE=bo;})();
|
5437
5478
|
/*! Bundled license information:
|
5438
5479
|
|
5439
5480
|
lottie-web/build/player/lottie_light.js:
|