@momentum-design/components 0.129.17 → 0.129.18

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.
@@ -1,7 +1,7 @@
1
- "use strict";(()=>{var Ay=Object.create;var jd=Object.defineProperty;var fm=Object.getOwnPropertyDescriptor;var Sy=Object.getOwnPropertyNames;var Iy=Object.getPrototypeOf,_y=Object.prototype.hasOwnProperty;var Cy=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var ky=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of Sy(o))!_y.call(n,s)&&s!==t&&jd(n,s,{get:()=>o[s],enumerable:!(r=fm(o,s))||r.enumerable});return n};var wy=(n,o,t)=>(t=n!=null?Ay(Iy(n)):{},ky(o||!n||!n.__esModule?jd(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,r)=>{for(var s=r>1?void 0:r?fm(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(s=(r?m(o,t,s):m(s))||s);return r&&s&&jd(o,t,s),s};var gu=Cy((Ca,cl)=>{typeof navigator<"u"&&function(n,o){typeof Ca=="object"&&typeof cl<"u"?cl.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(Ca,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,r=-999999,s=function(i){t=!!i},d=function(){return t},m=function(i){o=i},b=function(){return o};function x(e){return document.createElement(e)}function N(e,i){var a,l=e.length,h;for(a=0;a<l;a+=1){h=e[a].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(i.prototype[c]=h[c])}}function B(e,i){return Object.getOwnPropertyDescriptor(e,i)}function K(e){function i(){}return i.prototype=e,i}var Q=function(){function e(i){this.audios=[],this.audioFactory=i,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].pause()},resume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].resume()},setRate:function(a){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(a)},createAudio:function(a){return this.audioFactory?this.audioFactory(a):window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(a,l){var h=0,c=[],v;switch(a){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(h=0;h<l;h+=1)c.push(v);return c}function i(a,l){return a==="float32"?new Float32Array(l):a==="int16"?new Int16Array(l):a==="uint8c"?new Uint8ClampedArray(l):e(a,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?i:e}();function it(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(a){return typeof a}:dt=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},dt(e)}var lt=!0,bt=null,It=null,Ct="",Yt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),zt=!1,Wt=Math.pow,Qt=Math.sqrt,de=Math.floor,br=Math.max,Re=Math.min,er={};(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"],i,a=e.length;for(i=0;i<a;i+=1)er[e[i]]=Math[e[i]]})();function yr(){return{}}er.random=Math.random,er.abs=function(e){var i=dt(e);if(i==="object"&&e.length){var a=it(e.length),l,h=e.length;for(l=0;l<h;l+=1)a[l]=Math.abs(e[l]);return a}return Math.abs(e)};var Er=150,kt=Math.PI/180,ue=.5519;function rr(e){zt=!!e}function ir(e){return zt?Math.round(e):e}function or(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 sr(e,i,a,l){this.type=e,this.currentTime=i,this.totalTime=a,this.direction=l<0?-1:1}function yn(e,i){this.type=e,this.direction=i<0?-1:1}function xp(e,i,a,l){this.type=e,this.currentLoop=a,this.totalLoops=i,this.direction=l<0?-1:1}function Ap(e,i,a){this.type=e,this.firstFrame=i,this.totalFrames=a}function Sp(e,i){this.type=e,this.target=i}function Ab(e,i){this.type="renderFrameError",this.nativeError=e,this.currentTime=i}function Sb(e){this.type="configError",this.nativeError=e}function e0(e,i){this.type=e,this.nativeError=i}var Me=function(){var e=0;return function(){return e+=1,Ct+"__lottie_element_"+e}}();function Md(e,i,a){var l,h,c,v,A,g,k,O;switch(v=Math.floor(e*6),A=e*6-v,g=a*(1-i),k=a*(1-A*i),O=a*(1-(1-A)*i),v%6){case 0:l=a,h=O,c=g;break;case 1:l=k,h=a,c=g;break;case 2:l=g,h=a,c=O;break;case 3:l=g,h=k,c=a;break;case 4:l=O,h=g,c=a;break;case 5:l=a,h=g,c=k;break;default:break}return[l,h,c]}function Pd(e,i,a){var l=Math.max(e,i,a),h=Math.min(e,i,a),c=l-h,v,A=l===0?0:c/l,g=l/255;switch(l){case h:v=0;break;case e:v=i-a+c*(i<a?6:0),v/=6*c;break;case i:v=a-e+c*2,v/=6*c;break;case a:v=e-i+c*4,v/=6*c;break;default:break}return[v,A,g]}function Ip(e,i){var a=Pd(e[0]*255,e[1]*255,e[2]*255);return a[1]+=i,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),Md(a[0],a[1],a[2])}function _p(e,i){var a=Pd(e[0]*255,e[1]*255,e[2]*255);return a[2]+=i,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),Md(a[0],a[1],a[2])}function Cp(e,i){var a=Pd(e[0]*255,e[1]*255,e[2]*255);return a[0]+=i/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),Md(a[0],a[1],a[2])}var r0=function(){var e=[],i,a;for(i=0;i<256;i+=1)a=i.toString(16),e[i]=a.length===1?"0"+a:a;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),Ib=function(i){lt=!!i},_b=function(){return lt},Cb=function(i){bt=i},En=function(){return bt},i0=function(i){It=i},kp=function(){return It},Tn=function(i){Er=i},Ks=function(){return Er},kb=function(i){Ct=i},o0=function(){return Ct};function xt(e){return document.createElementNS(n,e)}function xn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xn=function(a){return typeof a}:xn=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},xn(e)}var qs=function(){var e=1,i=[],a,l,h={onmessage:function(){},postMessage:function(R){a({data:R})}},c={postMessage:function(R){h.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&d()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(R);return new Worker(D)}return a=T,h}function A(){l||(l=v(function(R){function D(){function V(J,I){var P,f,y=J.length,Y,$,nt,vt;for(f=0;f<y;f+=1)if(P=J[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Tt=P.masksProperties;for($=Tt.length,Y=0;Y<$;Y+=1)if(Tt[Y].pt.k.i)w(Tt[Y].pt.k);else for(vt=Tt[Y].pt.k.length,nt=0;nt<vt;nt+=1)Tt[Y].pt.k[nt].s&&w(Tt[Y].pt.k[nt].s[0]),Tt[Y].pt.k[nt].e&&w(Tt[Y].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,I),V(P.layers,I)):P.ty===4?S(P.shapes):P.ty===5&&At(P)}}function L(J,I){if(J){var P=0,f=J.length;for(P=0;P<f;P+=1)J[P].t===1&&(J[P].data.layers=E(J[P].data.refId,I),V(J[P].data.layers,I))}}function C(J,I){for(var P=0,f=I.length;P<f;){if(I[P].id===J)return I[P];P+=1}return null}function E(J,I){var P=C(J,I);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function S(J){var I,P=J.length,f,y;for(I=P-1;I>=0;I-=1)if(J[I].ty==="sh")if(J[I].ks.k.i)w(J[I].ks.k);else for(y=J[I].ks.k.length,f=0;f<y;f+=1)J[I].ks.k[f].s&&w(J[I].ks.k[f].s[0]),J[I].ks.k[f].e&&w(J[I].ks.k[f].e[0]);else J[I].ty==="gr"&&S(J[I].it)}function w(J){var I,P=J.i.length;for(I=0;I<P;I+=1)J.i[I][0]+=J.v[I][0],J.i[I][1]+=J.v[I][1],J.o[I][0]+=J.v[I][0],J.o[I][1]+=J.v[I][1]}function F(J,I){var P=I?I.split("."):[100,100,100];return J[0]>P[0]?!0:P[0]>J[0]?!1:J[1]>P[1]?!0:P[1]>J[1]?!1:J[2]>P[2]?!0:P[2]>J[2]?!1:null}var H=function(){var J=[4,4,14];function I(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),W=function(){var J=[4,7,99];return function(I){if(I.chars&&!F(J,I.v)){var P,f=I.chars.length;for(P=0;P<f;P+=1){var y=I.chars[P];y.data&&y.data.shapes&&(S(y.data.shapes),y.data.ip=0,y.data.op=99999,y.data.st=0,y.data.sr=1,y.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},I.chars[P].t||(y.data.shapes.push({ty:"no"}),y.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"})))}}}}(),et=function(){var J=[5,7,15];function I(f){var y=f.t.p;typeof y.a=="number"&&(y.a={a:0,k:y.a}),typeof y.p=="number"&&(y.p={a:0,k:y.p}),typeof y.r=="number"&&(y.r={a:0,k:y.r})}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),Et=function(){var J=[4,1,9];function I(f){var y,Y=f.length,$,nt;for(y=0;y<Y;y+=1)if(f[y].ty==="gr")I(f[y].it);else if(f[y].ty==="fl"||f[y].ty==="st")if(f[y].c.k&&f[y].c.k[0].i)for(nt=f[y].c.k.length,$=0;$<nt;$+=1)f[y].c.k[$].s&&(f[y].c.k[$].s[0]/=255,f[y].c.k[$].s[1]/=255,f[y].c.k[$].s[2]/=255,f[y].c.k[$].s[3]/=255),f[y].c.k[$].e&&(f[y].c.k[$].e[0]/=255,f[y].c.k[$].e[1]/=255,f[y].c.k[$].e[2]/=255,f[y].c.k[$].e[3]/=255);else f[y].c.k[0]/=255,f[y].c.k[1]/=255,f[y].c.k[2]/=255,f[y].c.k[3]/=255}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===4&&I(f[y].shapes)}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var J=[4,4,18];function I(f){var y,Y=f.length,$,nt;for(y=Y-1;y>=0;y-=1)if(f[y].ty==="sh")if(f[y].ks.k.i)f[y].ks.k.c=f[y].closed;else for(nt=f[y].ks.k.length,$=0;$<nt;$+=1)f[y].ks.k[$].s&&(f[y].ks.k[$].s[0].c=f[y].closed),f[y].ks.k[$].e&&(f[y].ks.k[$].e[0].c=f[y].closed);else f[y].ty==="gr"&&I(f[y].it)}function P(f){var y,Y,$=f.length,nt,vt,Tt,Ot;for(Y=0;Y<$;Y+=1){if(y=f[Y],y.hasMask){var Rt=y.masksProperties;for(vt=Rt.length,nt=0;nt<vt;nt+=1)if(Rt[nt].pt.k.i)Rt[nt].pt.k.c=Rt[nt].cl;else for(Ot=Rt[nt].pt.k.length,Tt=0;Tt<Ot;Tt+=1)Rt[nt].pt.k[Tt].s&&(Rt[nt].pt.k[Tt].s[0].c=Rt[nt].cl),Rt[nt].pt.k[Tt].e&&(Rt[nt].pt.k[Tt].e[0].c=Rt[nt].cl)}y.ty===4&&I(y.shapes)}}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function st(J){J.__complete||(Et(J),H(J),W(J),et(J),pt(J),V(J.layers,J.assets),L(J.chars,J.assets),J.__complete=!0)}function At(J){J.t.a.length===0&&"m"in J.t.p}var ct={};return ct.completeData=st,ct.checkColors=Et,ct.checkChars=W,ct.checkPathProperties=et,ct.checkShapes=pt,ct.completeLayers=V,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function V(C){var E=C.getResponseHeader("content-type");return E&&C.responseType==="json"&&E.indexOf("json")!==-1||C.response&&xn(C.response)==="object"?C.response:C.response&&typeof C.response=="string"?JSON.parse(C.response):C.responseText?JSON.parse(C.responseText):null}function L(C,E,S,w){var F,H=new XMLHttpRequest;try{H.responseType="json"}catch{}H.onreadystatechange=function(){if(H.readyState===4)if(H.status===200)F=V(H),S(F);else try{F=V(H),S(F)}catch(W){w&&w(W)}};try{H.open(["G","E","T"].join(""),C,!0)}catch{H.open(["G","E","T"].join(""),E+"/"+C,!0)}H.send()}return{load:L}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(V){c.dataManager.completeData(V),c.postMessage({id:R.data.id,payload:V,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(V){c.postMessage({id:R.data.id,payload:V,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),l.onmessage=function(T){var R=T.data,D=R.id,M=i[D];i[D]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(T,R){e+=1;var D="processId_"+e;return i[D]={onComplete:T,onError:R},D}function k(T,R,D){A();var M=g(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function O(T,R,D){A();var M=g(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function G(T,R,D){A();var M=g(R,D);l.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:k,loadData:O,completeAnimation:G}}(),wb=function(){var e=function(){var L=x("canvas");L.width=1,L.height=1;var C=L.getContext("2d");return C.fillStyle="rgba(0,0,0,0)",C.fillRect(0,0,1,1),L}();function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(L,C,E){var S="";if(L.e)S=L.p;else if(C){var w=L.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),S=C+w}else S=E,S+=L.u?L.u:"",S+=L.p;return S}function h(L){var C=0,E=setInterval((function(){var S=L.getBBox();(S.width||C>500)&&(this._imageLoaded(),clearInterval(E)),C+=1}).bind(this),50)}function c(L){var C=l(L,this.assetsPath,this.path),E=xt("image");Yt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",C),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var S={img:E,assetData:L};return S}function v(L){var C=l(L,this.assetsPath,this.path),E=x("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.src=C;var S={img:E,assetData:L};return S}function A(L){var C={assetData:L},E=l(L,this.assetsPath,this.path);return qs.loadData(E,(function(S){C.img=S,this._footageLoaded()}).bind(this),(function(){C.img={},this._footageLoaded()}).bind(this)),C}function g(L,C){this.imagesLoadedCb=C;var E,S=L.length;for(E=0;E<S;E+=1)L[E].layers||(!L[E].t||L[E].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(L[E]))):L[E].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(L[E]))))}function k(L){this.path=L||""}function O(L){this.assetsPath=L||""}function G(L){for(var C=0,E=this.images.length;C<E;){if(this.images[C].assetData===L)return this.images[C].img;C+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function M(L,C){L==="svg"?(this._elementHelper=C,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function V(){this._imageLoaded=i.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=A.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return V.prototype={loadAssets:g,setAssetsPath:O,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:G,createImgData:v,createImageData:c,imageLoaded:i,footageLoaded:a,setCacheType:M},V}();function wp(){}wp.prototype={triggerEvent:function(i,a){if(this._cbs[i])for(var l=this._cbs[i],h=0;h<l.length;h+=1)l[h](a)},addEventListener:function(i,a){return this._cbs[i]||(this._cbs[i]=[]),this._cbs[i].push(a),(function(){this.removeEventListener(i,a)}).bind(this)},removeEventListener:function(i,a){if(!a)this._cbs[i]=null;else if(this._cbs[i]){for(var l=0,h=this._cbs[i].length;l<h;)this._cbs[i][l]===a&&(this._cbs[i].splice(l,1),l-=1,h-=1),l+=1;this._cbs[i].length||(this._cbs[i]=null)}}};var Nb=function(){function e(i){for(var a=i.split(`\r
2
- `),l={},h,c=0,v=0;v<a.length;v+=1)h=a[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(i){for(var a=[],l=0;l<i.length;l+=1){var h=i[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(i[l].cm)}catch{try{c.payload=e(i[l].cm)}catch{c.payload={name:i[l].cm}}}a.push(c)}return a}}(),Lb=function(){function e(i){this.compositions.push(i)}return function(){function i(a){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===a)return this.compositions[l].prepareFrame&&this.compositions[l].data.xt&&this.compositions[l].prepareFrame(this.currentFrame),this.compositions[l].compInterface;l+=1}return null}return i.compositions=[],i.currentFrame=0,i.registerComposition=e,i}}(),Xs={},Ob=function(i,a){Xs[i]=a};function Rb(e){return Xs[e]}function Mb(){if(Xs.canvas)return"canvas";for(var e in Xs)if(Xs[e])return e;return""}function Zs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Zs=function(a){return typeof a}:Zs=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Zs(e)}var ft=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=Me(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=_b(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Lb(),this.imagePreloader=new wb,this.audioController=Q(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new sr("drawnFrame",0,0,0),this.expressionsPlugin=En()};N([wp],ft),ft.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var i="svg";e.animType?i=e.animType:e.renderer&&(i=e.renderer);var a=Rb(i);this.renderer=new a(this,e.rendererSettings),this.imagePreloader.setCacheType(i,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=i,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")),qs.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ft.prototype.onSetupError=function(){this.trigger("data_failed")},ft.prototype.setupAnimation=function(e){qs.completeAnimation(e,this.configAnimation)},ft.prototype.setData=function(e,i){i&&Zs(i)!=="object"&&(i=JSON.parse(i));var a={wrapper:e,animationData:i},l=e.attributes;a.path=l.getNamedItem("data-animation-path")?l.getNamedItem("data-animation-path").value:l.getNamedItem("data-bm-path")?l.getNamedItem("data-bm-path").value:l.getNamedItem("bm-path")?l.getNamedItem("bm-path").value:"",a.animType=l.getNamedItem("data-anim-type")?l.getNamedItem("data-anim-type").value:l.getNamedItem("data-bm-type")?l.getNamedItem("data-bm-type").value:l.getNamedItem("bm-type")?l.getNamedItem("bm-type").value:l.getNamedItem("data-bm-renderer")?l.getNamedItem("data-bm-renderer").value:l.getNamedItem("bm-renderer")?l.getNamedItem("bm-renderer").value:Mb()||"canvas";var h=l.getNamedItem("data-anim-loop")?l.getNamedItem("data-anim-loop").value:l.getNamedItem("data-bm-loop")?l.getNamedItem("data-bm-loop").value:l.getNamedItem("bm-loop")?l.getNamedItem("bm-loop").value:"";h==="false"?a.loop=!1:h==="true"?a.loop=!0:h!==""&&(a.loop=parseInt(h,10));var c=l.getNamedItem("data-anim-autoplay")?l.getNamedItem("data-anim-autoplay").value:l.getNamedItem("data-bm-autoplay")?l.getNamedItem("data-bm-autoplay").value:l.getNamedItem("bm-autoplay")?l.getNamedItem("bm-autoplay").value:!0;a.autoplay=c!=="false",a.name=l.getNamedItem("data-name")?l.getNamedItem("data-name").value:l.getNamedItem("data-bm-name")?l.getNamedItem("data-bm-name").value:l.getNamedItem("bm-name")?l.getNamedItem("bm-name").value:"";var v=l.getNamedItem("data-anim-prerender")?l.getNamedItem("data-anim-prerender").value:l.getNamedItem("data-bm-prerender")?l.getNamedItem("data-bm-prerender").value:l.getNamedItem("bm-prerender")?l.getNamedItem("bm-prerender").value:"";v==="false"&&(a.prerender=!1),a.path?this.setParams(a):this.trigger("destroy")},ft.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var i=this.animationData.layers,a,l=i.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(a=0;a<l;){if(i[a].id===h[c].id){i[a]=h[c];break}a+=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(l=e.assets.length,a=0;a<l;a+=1)this.animationData.assets.push(e.assets[a]);this.animationData.__complete=!1,qs.completeAnimation(this.animationData,this.onSegmentComplete)},ft.prototype.onSegmentComplete=function(e){this.animationData=e;var i=En();i&&i.initExpressions(this),this.loadNextSegment()},ft.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 i=e.shift();this.timeCompleted=i.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,qs.loadData(a,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},ft.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ft.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ft.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ft.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=Nb(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(i){this.triggerConfigError(i)}},ft.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ft.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=En();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ft.prototype.resize=function(e,i){var a=typeof e=="number"?e:void 0,l=typeof i=="number"?i:void 0;this.renderer.updateContainerSize(a,l)},ft.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},ft.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")},ft.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)}},ft.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")))},ft.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())},ft.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},ft.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ft.prototype.getMarkerData=function(e){for(var i,a=0;a<this.markers.length;a+=1)if(i=this.markers[a],i.payload&&i.payload.name===e)return i;return null},ft.prototype.goToAndStop=function(e,i,a){if(!(a&&this.name!==a)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else i?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ft.prototype.goToAndPlay=function(e,i,a){if(!(a&&this.name!==a)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&(h.duration?this.playSegments([h.time,h.time+h.duration],!0):this.goToAndStop(h.time,!0))}else this.goToAndStop(l,i,a);this.play()}},ft.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var i=this.currentRawFrame+e*this.frameModifier,a=!1;i>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(i>this.totalFrames?i%this.totalFrames:0)||(a=!0,i=this.totalFrames-1):i>=this.totalFrames?(this.playCount+=1,this.checkSegments(i%this.totalFrames)||(this.setCurrentRawFrameValue(i%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(i):i<0?this.checkSegments(i%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+i%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(a=!0,i=0)):this.setCurrentRawFrameValue(i),a&&(this.setCurrentRawFrameValue(i),this.pause(),this.trigger("complete"))}},ft.prototype.adjustSegment=function(e,i){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-i)):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+i)),this.trigger("segmentStart")},ft.prototype.setSegment=function(e,i){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?a=e:this.currentRawFrame+this.firstFrame>i&&(a=i-e)),this.firstFrame=e,this.totalFrames=i-e,this.timeCompleted=this.totalFrames,a!==-1&&this.goToAndStop(a,!0)},ft.prototype.playSegments=function(e,i){if(i&&(this.segments.length=0),Zs(e[0])==="object"){var a,l=e.length;for(a=0;a<l;a+=1)this.segments.push(e[a])}else this.segments.push(e);this.segments.length&&i&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ft.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},ft.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},ft.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)},ft.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},ft.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},ft.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},ft.prototype.setLoop=function(e){this.loop=e},ft.prototype.setVolume=function(e,i){i&&this.name!==i||this.audioController.setVolume(e)},ft.prototype.getVolume=function(){return this.audioController.getVolume()},ft.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},ft.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},ft.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ft.prototype.getPath=function(){return this.path},ft.prototype.getAssetsPath=function(e){var i="";if(e.e)i=e.p;else if(this.assetsPath){var a=e.p;a.indexOf("images/")!==-1&&(a=a.split("/")[1]),i=this.assetsPath+a}else i=this.path,i+=e.u?e.u:"",i+=e.p;return i},ft.prototype.getAssetData=function(e){for(var i=0,a=this.assets.length;i<a;){if(e===this.assets[i].id)return this.assets[i];i+=1}return null},ft.prototype.hide=function(){this.renderer.hide()},ft.prototype.show=function(){this.renderer.show()},ft.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},ft.prototype.updateDocumentData=function(e,i,a){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(i,a)}catch{}},ft.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new sr(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 xp(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new yn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new Ap(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new Sp(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new sr(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new xp(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new yn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Ap(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Sp(e,this))},ft.prototype.triggerRenderFrameError=function(e){var i=new Ab(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)},ft.prototype.triggerConfigError=function(e){var i=new Sb(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)};var Jt=function(){var e={},i=[],a=0,l=0,h=0,c=!0,v=!1;function A(I){for(var P=0,f=I.target;P<l;)i[P].animation===f&&(i.splice(P,1),P-=1,l-=1,f.isPaused||G()),P+=1}function g(I,P){if(!I)return null;for(var f=0;f<l;){if(i[f].elem===I&&i[f].elem!==null)return i[f].animation;f+=1}var y=new ft;return T(y,I),y.setData(I,P),y}function k(){var I,P=i.length,f=[];for(I=0;I<P;I+=1)f.push(i[I].animation);return f}function O(){h+=1,Et()}function G(){h-=1}function T(I,P){I.addEventListener("destroy",A),I.addEventListener("_active",O),I.addEventListener("_idle",G),i.push({elem:P,animation:I}),l+=1}function R(I){var P=new ft;return T(P,null),P.setParams(I),P}function D(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setSpeed(I,P)}function M(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setDirection(I,P)}function V(I){var P;for(P=0;P<l;P+=1)i[P].animation.play(I)}function L(I){var P=I-a,f;for(f=0;f<l;f+=1)i[f].animation.advanceTime(P);a=I,h&&!v?window.requestAnimationFrame(L):c=!0}function C(I){a=I,window.requestAnimationFrame(L)}function E(I){var P;for(P=0;P<l;P+=1)i[P].animation.pause(I)}function S(I,P,f){var y;for(y=0;y<l;y+=1)i[y].animation.goToAndStop(I,P,f)}function w(I){var P;for(P=0;P<l;P+=1)i[P].animation.stop(I)}function F(I){var P;for(P=0;P<l;P+=1)i[P].animation.togglePause(I)}function H(I){var P;for(P=l-1;P>=0;P-=1)i[P].animation.destroy(I)}function W(I,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Y,$=y.length;for(Y=0;Y<$;Y+=1)f&&y[Y].setAttribute("data-bm-type",f),g(y[Y],I);if(P&&$===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var vt=x("div");vt.style.width="100%",vt.style.height="100%",vt.setAttribute("data-bm-type",f),nt.appendChild(vt),g(vt,I)}}function et(){var I;for(I=0;I<l;I+=1)i[I].animation.resize()}function Et(){!v&&h&&c&&(window.requestAnimationFrame(C),c=!1)}function pt(){v=!0}function st(){v=!1,Et()}function At(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setVolume(I,P)}function ct(I){var P;for(P=0;P<l;P+=1)i[P].animation.mute(I)}function J(I){var P;for(P=0;P<l;P+=1)i[P].animation.unmute(I)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=D,e.setDirection=M,e.play=V,e.pause=E,e.stop=w,e.togglePause=F,e.searchAnimations=W,e.resize=et,e.goToAndStop=S,e.destroy=H,e.freeze=pt,e.unfreeze=st,e.setVolume=At,e.mute=ct,e.unmute=J,e.getRegisteredAnimations=k,e}(),Qs=function(){var e={};e.getBezierEasing=a;var i={};function a(C,E,S,w,F){var H=F||("bez_"+C+"_"+E+"_"+S+"_"+w).replace(/\./g,"p");if(i[H])return i[H];var W=new L([C,E,S,w]);return i[H]=W,W}var l=4,h=.001,c=1e-7,v=10,A=11,g=1/(A-1),k=typeof Float32Array=="function";function O(C,E){return 1-3*E+3*C}function G(C,E){return 3*E-6*C}function T(C){return 3*C}function R(C,E,S){return((O(E,S)*C+G(E,S))*C+T(E))*C}function D(C,E,S){return 3*O(E,S)*C*C+2*G(E,S)*C+T(E)}function M(C,E,S,w,F){var H,W,et=0;do W=E+(S-E)/2,H=R(W,w,F)-C,H>0?S=W:E=W;while(Math.abs(H)>c&&++et<v);return W}function V(C,E,S,w){for(var F=0;F<l;++F){var H=D(E,S,w);if(H===0)return E;var W=R(E,S,w)-C;E-=W/H}return E}function L(C){this._p=C,this._mSampleValues=k?new Float32Array(A):new Array(A),this._precomputed=!1,this.get=this.get.bind(this)}return L.prototype={get:function(E){var S=this._p[0],w=this._p[1],F=this._p[2],H=this._p[3];return this._precomputed||this._precompute(),S===w&&F===H?E:E===0?0:E===1?1:R(this._getTForX(E),w,H)},_precompute:function(){var E=this._p[0],S=this._p[1],w=this._p[2],F=this._p[3];this._precomputed=!0,(E!==S||w!==F)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],S=this._p[2],w=0;w<A;++w)this._mSampleValues[w]=R(w*g,E,S)},_getTForX:function(E){for(var S=this._p[0],w=this._p[2],F=this._mSampleValues,H=0,W=1,et=A-1;W!==et&&F[W]<=E;++W)H+=g;--W;var Et=(E-F[W])/(F[W+1]-F[W]),pt=H+Et*g,st=D(pt,S,w);return st>=h?V(E,pt,S,w):st===0?pt:M(E,H,H+g,S,w)}},e}(),Np=function(){function e(i){return i.concat(it(i.length))}return{double:e}}(),An=function(){return function(e,i,a){var l=0,h=e,c=it(h),v={newElement:A,release:g};function A(){var k;return l?(l-=1,k=c[l]):k=i(),k}function g(k){l===h&&(c=Np.double(c),h*=2),a&&a(k),c[l]=k,l+=1}return v}}(),Lp=function(){function e(){return{addedLength:0,percents:X("float32",Ks()),lengths:X("float32",Ks())}}return An(8,e)}(),Op=function(){function e(){return{lengths:[],totalLength:0}}function i(a){var l,h=a.lengths.length;for(l=0;l<h;l+=1)Lp.release(a.lengths[l]);a.lengths.length=0}return An(8,e,i)}();function Pb(){var e=Math;function i(T,R,D,M,V,L){var C=T*M+R*V+D*L-V*M-L*T-D*R;return C>-.001&&C<.001}function a(T,R,D,M,V,L,C,E,S){if(D===0&&L===0&&S===0)return i(T,R,M,V,C,E);var w=e.sqrt(e.pow(M-T,2)+e.pow(V-R,2)+e.pow(L-D,2)),F=e.sqrt(e.pow(C-T,2)+e.pow(E-R,2)+e.pow(S-D,2)),H=e.sqrt(e.pow(C-M,2)+e.pow(E-V,2)+e.pow(S-L,2)),W;return w>F?w>H?W=w-F-H:W=H-F-w:H>F?W=H-F-w:W=F-w-H,W>-1e-4&&W<1e-4}var l=function(){return function(T,R,D,M){var V=Ks(),L,C,E,S,w,F=0,H,W=[],et=[],Et=Lp.newElement();for(E=D.length,L=0;L<V;L+=1){for(w=L/(V-1),H=0,C=0;C<E;C+=1)S=Wt(1-w,3)*T[C]+3*Wt(1-w,2)*w*D[C]+3*(1-w)*Wt(w,2)*M[C]+Wt(w,3)*R[C],W[C]=S,et[C]!==null&&(H+=Wt(W[C]-et[C],2)),et[C]=W[C];H&&(H=Qt(H),F+=H),Et.percents[L]=w,Et.lengths[L]=F}return Et.addedLength=F,Et}}();function h(T){var R=Op.newElement(),D=T.c,M=T.v,V=T.o,L=T.i,C,E=T._length,S=R.lengths,w=0;for(C=0;C<E-1;C+=1)S[C]=l(M[C],M[C+1],V[C],L[C+1]),w+=S[C].addedLength;return D&&E&&(S[C]=l(M[C],M[0],V[C],L[0]),w+=S[C].addedLength),R.totalLength=w,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var A=function(){var T={};return function(R,D,M,V){var L=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+M[0]+"_"+M[1]+"_"+V[0]+"_"+V[1]).replace(/\./g,"p");if(!T[L]){var C=Ks(),E,S,w,F,H,W=0,et,Et,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&i(R[0],R[1],D[0],D[1],R[0]+M[0],R[1]+M[1])&&i(R[0],R[1],D[0],D[1],D[0]+V[0],D[1]+V[1])&&(C=2);var st=new c(C);for(w=M.length,E=0;E<C;E+=1){for(Et=it(w),H=E/(C-1),et=0,S=0;S<w;S+=1)F=Wt(1-H,3)*R[S]+3*Wt(1-H,2)*H*(R[S]+M[S])+3*(1-H)*Wt(H,2)*(D[S]+V[S])+Wt(H,3)*D[S],Et[S]=F,pt!==null&&(et+=Wt(Et[S]-pt[S],2));et=Qt(et),W+=et,st.points[E]=new v(et,Et),pt=Et}st.segmentLength=W,T[L]=st}return T[L]}}();function g(T,R){var D=R.percents,M=R.lengths,V=D.length,L=de((V-1)*T),C=T*R.addedLength,E=0;if(L===V-1||L===0||C===M[L])return D[L];for(var S=M[L]>C?-1:1,w=!0;w;)if(M[L]<=C&&M[L+1]>C?(E=(C-M[L])/(M[L+1]-M[L]),w=!1):L+=S,L<0||L>=V-1){if(L===V-1)return D[L];w=!1}return D[L]+(D[L+1]-D[L])*E}function k(T,R,D,M,V,L){var C=g(V,L),E=1-C,S=e.round((E*E*E*T[0]+(C*E*E+E*C*E+E*E*C)*D[0]+(C*C*E+E*C*C+C*E*C)*M[0]+C*C*C*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(C*E*E+E*C*E+E*E*C)*D[1]+(C*C*E+E*C*C+C*E*C)*M[1]+C*C*C*R[1])*1e3)/1e3;return[S,w]}var O=X("float32",8);function G(T,R,D,M,V,L,C){V<0?V=0:V>1&&(V=1);var E=g(V,C);L=L>1?1:L;var S=g(L,C),w,F=T.length,H=1-E,W=1-S,et=H*H*H,Et=E*H*H*3,pt=E*E*H*3,st=E*E*E,At=H*H*W,ct=E*H*W+H*E*W+H*H*S,J=E*E*W+H*E*S+E*H*S,I=E*E*S,P=H*W*W,f=E*W*W+H*S*W+H*W*S,y=E*S*W+H*S*S+E*W*S,Y=E*S*S,$=W*W*W,nt=S*W*W+W*S*W+W*W*S,vt=S*S*W+W*S*S+S*W*S,Tt=S*S*S;for(w=0;w<F;w+=1)O[w*4]=e.round((et*T[w]+Et*D[w]+pt*M[w]+st*R[w])*1e3)/1e3,O[w*4+1]=e.round((At*T[w]+ct*D[w]+J*M[w]+I*R[w])*1e3)/1e3,O[w*4+2]=e.round((P*T[w]+f*D[w]+y*M[w]+Y*R[w])*1e3)/1e3,O[w*4+3]=e.round(($*T[w]+nt*D[w]+vt*M[w]+Tt*R[w])*1e3)/1e3;return O}return{getSegmentsLength:h,getNewSegment:G,getPointInSegment:k,buildBezierData:A,pointOnLine2D:i,pointOnLine3D:a}}var Or=Pb(),so=r,Rp=Math.abs;function Mp(e,i){var a=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=i.lastIndex,c=h,v=this.keyframes.length-1,A=!0,g,k,O;A;){if(g=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-a){g.h&&(g=k),h=0;break}if(k.t-a>e){h=c;break}c<v-1?c+=1:(h=0,A=!1)}O=this.keyframesMetadata[c]||{};var G,T,R,D,M,V,L=k.t-a,C=g.t-a,E;if(g.to){O.bezierData||(O.bezierData=Or.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var S=O.bezierData;if(e>=L||e<C){var w=e>=L?S.points.length-1:0;for(T=S.points[w].point.length,G=0;G<T;G+=1)l[G]=S.points[w].point[G]}else{O.__fnct?V=O.__fnct:(V=Qs.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,O.__fnct=V),R=V((e-C)/(L-C));var F=S.segmentLength*R,H,W=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastAddedLength:0;for(M=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastPoint:0,A=!0,D=S.points.length;A;){if(W+=S.points[M].partialLength,F===0||R===0||M===S.points.length-1){for(T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G];break}else if(F>=W&&F<W+S.points[M+1].partialLength){for(H=(F-W)/S.points[M+1].partialLength,T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G]+(S.points[M+1].point[G]-S.points[M].point[G])*H;break}M<D-1?M+=1:A=!1}i._lastPoint=M,i._lastAddedLength=W-S.points[M].partialLength,i._lastKeyframeIndex=c}}else{var et,Et,pt,st,At;if(v=g.s.length,E=k.s||g.e,this.sh&&g.h!==1)if(e>=L)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=C)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var ct=Pp(g.s),J=Pp(E),I=(e-C)/(L-C);Fb(l,Db(ct,J,I))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=L?R=1:e<C?R=0:(g.o.x.constructor===Array?(O.__fnct||(O.__fnct=[]),O.__fnct[c]?V=O.__fnct[c]:(et=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],Et=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],pt=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],st=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],V=Qs.getBezierEasing(et,Et,pt,st).get,O.__fnct[c]=V)):O.__fnct?V=O.__fnct:(et=g.o.x,Et=g.o.y,pt=g.i.x,st=g.i.y,V=Qs.getBezierEasing(et,Et,pt,st).get,g.keyframeMetadata=V),R=V((e-C)/(L-C)))),E=k.s||g.e,At=g.h===1?g.s[c]:g.s[c]+(E[c]-g.s[c])*R,this.propType==="multidimensional"?l[c]=At:l=At}return i.lastIndex=h,l}function Db(e,i,a){var l=[],h=e[0],c=e[1],v=e[2],A=e[3],g=i[0],k=i[1],O=i[2],G=i[3],T,R,D,M,V;return R=h*g+c*k+v*O+A*G,R<0&&(R=-R,g=-g,k=-k,O=-O,G=-G),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),M=Math.sin((1-a)*T)/D,V=Math.sin(a*T)/D):(M=1-a,V=a),l[0]=M*h+V*g,l[1]=M*c+V*k,l[2]=M*v+V*O,l[3]=M*A+V*G,l}function Fb(e,i){var a=i[0],l=i[1],h=i[2],c=i[3],v=Math.atan2(2*l*c-2*a*h,1-2*l*l-2*h*h),A=Math.asin(2*a*l+2*h*c),g=Math.atan2(2*a*c-2*l*h,1-2*a*a-2*h*h);e[0]=v/kt,e[1]=A/kt,e[2]=g/kt}function Pp(e){var i=e[0]*kt,a=e[1]*kt,l=e[2]*kt,h=Math.cos(i/2),c=Math.cos(a/2),v=Math.cos(l/2),A=Math.sin(i/2),g=Math.sin(a/2),k=Math.sin(l/2),O=h*c*v-A*g*k,G=A*g*v+h*c*k,T=A*c*v+h*g*k,R=h*g*v-A*c*k;return[G,T,R,O]}function Dp(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==so&&(this._caching.lastFrame>=a&&e>=a||this._caching.lastFrame<i&&e<i))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(e,this._caching);this.pv=l}return this._caching.lastFrame=e,this.pv}function Sn(e){var i;if(this.propType==="unidimensional")i=e*this.mult,Rp(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var a=0,l=this.v.length;a<l;)i=e[a]*this.mult,Rp(this.v[a]-i)>1e-5&&(this.v[a]=i,this._mdf=!0),a+=1}function In(){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,i=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(e=0;e<i;e+=1)a=this.effectsSequence[e](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function _n(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function $b(e,i,a,l){this.propType="unidimensional",this.mult=a||1,this.data=i,this.v=a?i.k*a:i.k,this.pv=i.k,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=In,this.setVValue=Sn,this.addEffect=_n}function zb(e,i,a,l){this.propType="multidimensional",this.mult=a||1,this.data=i,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h,c=i.k.length;for(this.v=X("float32",c),this.pv=X("float32",c),this.vel=X("float32",c),h=0;h<c;h+=1)this.v[h]=i.k[h]*this.mult,this.pv[h]=i.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=In,this.setVValue=Sn,this.addEffect=_n}function Vb(e,i,a,l){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:so,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=so,this.pv=so,this._isFirstFrame=!0,this.getValue=In,this.setVValue=Sn,this.interpolateValue=Mp,this.effectsSequence=[Dp.bind(this)],this.addEffect=_n}function Bb(e,i,a,l){this.propType="multidimensional";var h,c=i.k.length,v,A,g,k;for(h=0;h<c-1;h+=1)i.k[h].to&&i.k[h].s&&i.k[h+1]&&i.k[h+1].s&&(v=i.k[h].s,A=i.k[h+1].s,g=i.k[h].to,k=i.k[h].ti,(v.length===2&&!(v[0]===A[0]&&v[1]===A[1])&&Or.pointOnLine2D(v[0],v[1],A[0],A[1],v[0]+g[0],v[1]+g[1])&&Or.pointOnLine2D(v[0],v[1],A[0],A[1],A[0]+k[0],A[1]+k[1])||v.length===3&&!(v[0]===A[0]&&v[1]===A[1]&&v[2]===A[2])&&Or.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Or.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],A[0]+k[0],A[1]+k[1],A[2]+k[2]))&&(i.k[h].to=null,i.k[h].ti=null),v[0]===A[0]&&v[1]===A[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===A[2]&&g[2]===0&&k[2]===0)&&(i.k[h].to=null,i.k[h].ti=null));this.effectsSequence=[Dp.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=In,this.setVValue=Sn,this.interpolateValue=Mp,this.frameId=-1;var O=i.k[0].s.length;for(this.v=X("float32",O),this.pv=X("float32",O),h=0;h<O;h+=1)this.v[h]=so,this.pv[h]=so;this._caching={lastFrame:so,lastIndex:0,value:X("float32",O)},this.addEffect=_n}var at=function(){function e(a,l,h,c,v){l.sid&&(l=a.globalData.slotManager.getProp(l));var A;if(!l.k.length)A=new $b(a,l,c,v);else if(typeof l.k[0]=="number")A=new zb(a,l,c,v);else switch(h){case 0:A=new Vb(a,l,c,v);break;case 1:A=new Bb(a,l,c,v);break;default:break}return A.effectsSequence.length&&v.addDynamicProperty(A),A}var i={getProp:e};return i}();function ce(){}ce.prototype={addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&(this.dynamicProperties.push(i),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var i,a=this.dynamicProperties.length;for(i=0;i<a;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(i){this.container=i,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var ao=function(){function e(){return X("float32",2)}return An(8,e)}();function qr(){this.c=!1,this._length=0,this._maxLength=8,this.v=it(this._maxLength),this.o=it(this._maxLength),this.i=it(this._maxLength)}qr.prototype.setPathData=function(e,i){this.c=e,this.setLength(i);for(var a=0;a<i;)this.v[a]=ao.newElement(),this.o[a]=ao.newElement(),this.i[a]=ao.newElement(),a+=1},qr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},qr.prototype.doubleArrayLength=function(){this.v=this.v.concat(it(this._maxLength)),this.i=this.i.concat(it(this._maxLength)),this.o=this.o.concat(it(this._maxLength)),this._maxLength*=2},qr.prototype.setXYAt=function(e,i,a,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[l]||c[l]&&!h)&&(c[l]=ao.newElement()),c[l][0]=e,c[l][1]=i},qr.prototype.setTripleAt=function(e,i,a,l,h,c,v,A){this.setXYAt(e,i,"v",v,A),this.setXYAt(a,l,"o",v,A),this.setXYAt(h,c,"i",v,A)},qr.prototype.reverse=function(){var e=new qr;e.setPathData(this.c,this._length);var i=this.v,a=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(i[0][0],i[0][1],l[0][0],l[0][1],a[0][0],a[0][1],0,!1),h=1);var c=this._length-1,v=this._length,A;for(A=h;A<v;A+=1)e.setTripleAt(i[c][0],i[c][1],l[c][0],l[c][1],a[c][0],a[c][1],A,!1),c-=1;return e},qr.prototype.length=function(){return this._length};var fe=function(){function e(){return new qr}function i(h){var c=h._length,v;for(v=0;v<c;v+=1)ao.release(h.v[v]),ao.release(h.i[v]),ao.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function a(h){var c=l.newElement(),v,A=h._length===void 0?h.v.length:h._length;for(c.setLength(A),c.c=h.c,v=0;v<A;v+=1)c.setTripleAt(h.v[v][0],h.v[v][1],h.o[v][0],h.o[v][1],h.i[v][0],h.i[v][1],v);return c}var l=An(4,e,i);return l.clone=a,l}();function Dd(){this._length=0,this._maxLength=4,this.shapes=it(this._maxLength)}Dd.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(it(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Dd.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)fe.release(this.shapes[e]);this._length=0};var Zo=function(){var e={newShapeCollection:h,release:c},i=0,a=4,l=it(a);function h(){var v;return i?(i-=1,v=l[i]):v=new Dd,v}function c(v){var A,g=v._length;for(A=0;A<g;A+=1)fe.release(v.shapes[A]);v._length=0,i===a&&(l=Np.double(l),a*=2),l[i]=v,i+=1}return e}(),Cn=function(){var e=-999999;function i(L,C,E){var S=E.lastIndex,w,F,H,W,et,Et,pt,st,At,ct=this.keyframes;if(L<ct[0].t-this.offsetTime)w=ct[0].s[0],H=!0,S=0;else if(L>=ct[ct.length-1].t-this.offsetTime)w=ct[ct.length-1].s?ct[ct.length-1].s[0]:ct[ct.length-2].e[0],H=!0;else{for(var J=S,I=ct.length-1,P=!0,f,y,Y;P&&(f=ct[J],y=ct[J+1],!(y.t-this.offsetTime>L));)J<I-1?J+=1:P=!1;if(Y=this.keyframesMetadata[J]||{},H=f.h===1,S=J,!H){if(L>=y.t-this.offsetTime)st=1;else if(L<f.t-this.offsetTime)st=0;else{var $;Y.__fnct?$=Y.__fnct:($=Qs.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,Y.__fnct=$),st=$((L-(f.t-this.offsetTime))/(y.t-this.offsetTime-(f.t-this.offsetTime)))}F=y.s?y.s[0]:f.e[0]}w=f.s[0]}for(Et=C._length,pt=w.i[0].length,E.lastIndex=S,W=0;W<Et;W+=1)for(et=0;et<pt;et+=1)At=H?w.i[W][et]:w.i[W][et]+(F.i[W][et]-w.i[W][et])*st,C.i[W][et]=At,At=H?w.o[W][et]:w.o[W][et]+(F.o[W][et]-w.o[W][et])*st,C.o[W][et]=At,At=H?w.v[W][et]:w.v[W][et]+(F.v[W][et]-w.v[W][et])*st,C.v[W][et]=At}function a(){var L=this.comp.renderedFrame-this.offsetTime,C=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<C&&L<C||S>E&&L>E)||(this._caching.lastIndex=S<L?this._caching.lastIndex:0,this.interpolateShape(L,this.pv,this._caching)),this._caching.lastFrame=L,this.pv}function l(){this.paths=this.localShapeCollection}function h(L,C){if(L._length!==C._length||L.c!==C.c)return!1;var E,S=L._length;for(E=0;E<S;E+=1)if(L.v[E][0]!==C.v[E][0]||L.v[E][1]!==C.v[E][1]||L.o[E][0]!==C.o[E][0]||L.o[E][1]!==C.o[E][1]||L.i[E][0]!==C.i[E][0]||L.i[E][1]!==C.i[E][1])return!1;return!0}function c(L){h(this.v,L)||(this.v=fe.clone(L),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){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 L;this.kf?L=this.pv:this.data.ks?L=this.data.ks.k:L=this.data.pt.k;var C,E=this.effectsSequence.length;for(C=0;C<E;C+=1)L=this.effectsSequence[C](L);this.setVValue(L),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function A(L,C,E){this.propType="shape",this.comp=L.comp,this.container=L,this.elem=L,this.data=C,this.k=!1,this.kf=!1,this._mdf=!1;var S=E===3?C.pt.k:C.ks.k;this.v=fe.clone(S),this.pv=fe.clone(this.v),this.localShapeCollection=Zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function g(L){this.effectsSequence.push(L),this.container.addDynamicProperty(this)}A.prototype.interpolateShape=i,A.prototype.getValue=v,A.prototype.setVValue=c,A.prototype.addEffect=g;function k(L,C,E){this.propType="shape",this.comp=L.comp,this.elem=L,this.container=L,this.offsetTime=L.data.st,this.keyframes=E===3?C.pt.k:C.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=fe.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=fe.clone(this.v),this.localShapeCollection=Zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[a.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=i,k.prototype.setVValue=c,k.prototype.addEffect=g;var O=function(){var L=ue;function C(E,S){this.v=fe.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Zo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,S.p,1,0,this),this.s=at.getProp(E,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return C.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var S=this.p.v[0],w=this.p.v[1],F=this.s.v[0]/2,H=this.s.v[1]/2,W=this.d!==3,et=this.v;et.v[0][0]=S,et.v[0][1]=w-H,et.v[1][0]=W?S+F:S-F,et.v[1][1]=w,et.v[2][0]=S,et.v[2][1]=w+H,et.v[3][0]=W?S-F:S+F,et.v[3][1]=w,et.i[0][0]=W?S-F*L:S+F*L,et.i[0][1]=w-H,et.i[1][0]=W?S+F:S-F,et.i[1][1]=w-H*L,et.i[2][0]=W?S+F*L:S-F*L,et.i[2][1]=w+H,et.i[3][0]=W?S-F:S+F,et.i[3][1]=w+H*L,et.o[0][0]=W?S+F*L:S-F*L,et.o[0][1]=w-H,et.o[1][0]=W?S+F:S-F,et.o[1][1]=w+H*L,et.o[2][0]=W?S-F*L:S+F*L,et.o[2][1]=w+H,et.o[3][0]=W?S-F:S+F,et.o[3][1]=w-H*L}},N([ce],C),C}(),G=function(){function L(C,E){this.v=fe.newElement(),this.v.setPathData(!0,0),this.elem=C,this.comp=C.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),E.sy===1?(this.ir=at.getProp(C,E.ir,0,0,this),this.is=at.getProp(C,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(C,E.pt,0,0,this),this.p=at.getProp(C,E.p,1,0,this),this.r=at.getProp(C,E.r,0,kt,this),this.or=at.getProp(C,E.or,0,0,this),this.os=at.getProp(C,E.os,0,.01,this),this.localShapeCollection=Zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return L.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var E=Math.floor(this.pt.v)*2,S=Math.PI*2/E,w=!0,F=this.or.v,H=this.ir.v,W=this.os.v,et=this.is.v,Et=2*Math.PI*F/(E*2),pt=2*Math.PI*H/(E*2),st,At,ct,J,I=-Math.PI/2;I+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,st=0;st<E;st+=1){At=w?F:H,ct=w?W:et,J=w?Et:pt;var f=At*Math.cos(I),y=At*Math.sin(I),Y=f===0&&y===0?0:y/Math.sqrt(f*f+y*y),$=f===0&&y===0?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-Y*J*ct*P,y-$*J*ct*P,f+Y*J*ct*P,y+$*J*ct*P,st,!0),w=!w,I+=S*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),S=Math.PI*2/E,w=this.or.v,F=this.os.v,H=2*Math.PI*w/(E*4),W,et=-Math.PI*.5,Et=this.data.d===3?-1:1;for(et+=this.r.v,this.v._length=0,W=0;W<E;W+=1){var pt=w*Math.cos(et),st=w*Math.sin(et),At=pt===0&&st===0?0:st/Math.sqrt(pt*pt+st*st),ct=pt===0&&st===0?0:-pt/Math.sqrt(pt*pt+st*st);pt+=+this.p.v[0],st+=+this.p.v[1],this.v.setTripleAt(pt,st,pt-At*H*F*Et,st-ct*H*F*Et,pt+At*H*F*Et,st+ct*H*F*Et,W,!0),et+=S*Et}this.paths.length=0,this.paths[0]=this.v}},N([ce],L),L}(),T=function(){function L(C,E){this.v=fe.newElement(),this.v.c=!0,this.localShapeCollection=Zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=C,this.comp=C.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),this.p=at.getProp(C,E.p,1,0,this),this.s=at.getProp(C,E.s,1,0,this),this.r=at.getProp(C,E.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return L.prototype={convertRectToPath:function(){var E=this.p.v[0],S=this.p.v[1],w=this.s.v[0]/2,F=this.s.v[1]/2,H=Re(w,F,this.r.v),W=H*(1-ue);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+H,E+w,S-F+W,0,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-W,E+w,S+F-H,1,!0),H!==0?(this.v.setTripleAt(E+w-H,S+F,E+w-H,S+F,E+w-W,S+F,2,!0),this.v.setTripleAt(E-w+H,S+F,E-w+W,S+F,E-w+H,S+F,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-H,E-w,S+F-W,4,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+W,E-w,S-F+H,5,!0),this.v.setTripleAt(E-w+H,S-F,E-w+H,S-F,E-w+W,S-F,6,!0),this.v.setTripleAt(E+w-H,S-F,E+w-W,S-F,E+w-H,S-F,7,!0)):(this.v.setTripleAt(E-w,S+F,E-w+W,S+F,E-w,S+F,2),this.v.setTripleAt(E-w,S-F,E-w,S-F+W,E-w,S-F,3))):(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+W,E+w,S-F+H,0,!0),H!==0?(this.v.setTripleAt(E+w-H,S-F,E+w-H,S-F,E+w-W,S-F,1,!0),this.v.setTripleAt(E-w+H,S-F,E-w+W,S-F,E-w+H,S-F,2,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+H,E-w,S-F+W,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-W,E-w,S+F-H,4,!0),this.v.setTripleAt(E-w+H,S+F,E-w+H,S+F,E-w+W,S+F,5,!0),this.v.setTripleAt(E+w-H,S+F,E+w-W,S+F,E+w-H,S+F,6,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-H,E+w,S+F-W,7,!0)):(this.v.setTripleAt(E-w,S-F,E-w+W,S-F,E-w,S-F,1,!0),this.v.setTripleAt(E-w,S+F,E-w,S+F-W,E-w,S+F,2,!0),this.v.setTripleAt(E+w,S+F,E+w-W,S+F,E+w,S+F,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:l},N([ce],L),L}();function R(L,C,E){var S;if(E===3||E===4){var w=E===3?C.pt:C.ks,F=w.k;F.length?S=new k(L,C,E):S=new A(L,C,E)}else E===5?S=new T(L,C):E===6?S=new O(L,C):E===7&&(S=new G(L,C));return S.k&&L.addDynamicProperty(S),S}function D(){return A}function M(){return k}var V={};return V.getShapeProp=R,V.getConstructorFunction=D,V.getKeyframedConstructorFunction=M,V}();var ve=function(){var e=Math.cos,i=Math.sin,a=Math.tan,l=Math.round;function h(){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(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,-Y,0,0,Y,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(1,0,0,0,0,y,-Y,0,0,Y,y,0,0,0,0,1)}function A(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,0,Y,0,0,1,0,0,-Y,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,-Y,0,0,Y,y,0,0,0,0,1,0,0,0,0,1)}function k(f,y){return this._t(1,y,f,1,0,0)}function O(f,y){return this.shear(a(f),a(y))}function G(f,y){var Y=e(y),$=i(y);return this._t(Y,$,0,0,-$,Y,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(f),1,0,0,0,0,1,0,0,0,0,1)._t(Y,-$,0,0,$,Y,0,0,0,0,1,0,0,0,0,1)}function T(f,y,Y){return!Y&&Y!==0&&(Y=1),f===1&&y===1&&Y===1?this:this._t(f,0,0,0,0,y,0,0,0,0,Y,0,0,0,0,1)}function R(f,y,Y,$,nt,vt,Tt,Ot,Rt,te,De,Mr,Fe,he,Xe,Dt){return this.props[0]=f,this.props[1]=y,this.props[2]=Y,this.props[3]=$,this.props[4]=nt,this.props[5]=vt,this.props[6]=Tt,this.props[7]=Ot,this.props[8]=Rt,this.props[9]=te,this.props[10]=De,this.props[11]=Mr,this.props[12]=Fe,this.props[13]=he,this.props[14]=Xe,this.props[15]=Dt,this}function D(f,y,Y){return Y=Y||0,f!==0||y!==0||Y!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,Y,1):this}function M(f,y,Y,$,nt,vt,Tt,Ot,Rt,te,De,Mr,Fe,he,Xe,Dt){var ht=this.props;if(f===1&&y===0&&Y===0&&$===0&&nt===0&&vt===1&&Tt===0&&Ot===0&&Rt===0&&te===0&&De===1&&Mr===0)return ht[12]=ht[12]*f+ht[15]*Fe,ht[13]=ht[13]*vt+ht[15]*he,ht[14]=ht[14]*De+ht[15]*Xe,ht[15]*=Dt,this._identityCalculated=!1,this;var Qr=ht[0],ki=ht[1],Jr=ht[2],Pr=ht[3],ti=ht[4],ei=ht[5],$e=ht[6],wi=ht[7],Ni=ht[8],xr=ht[9],Li=ht[10],Ar=ht[11],ho=ht[12],Dn=ht[13],Fn=ht[14],$n=ht[15];return ht[0]=Qr*f+ki*nt+Jr*Rt+Pr*Fe,ht[1]=Qr*y+ki*vt+Jr*te+Pr*he,ht[2]=Qr*Y+ki*Tt+Jr*De+Pr*Xe,ht[3]=Qr*$+ki*Ot+Jr*Mr+Pr*Dt,ht[4]=ti*f+ei*nt+$e*Rt+wi*Fe,ht[5]=ti*y+ei*vt+$e*te+wi*he,ht[6]=ti*Y+ei*Tt+$e*De+wi*Xe,ht[7]=ti*$+ei*Ot+$e*Mr+wi*Dt,ht[8]=Ni*f+xr*nt+Li*Rt+Ar*Fe,ht[9]=Ni*y+xr*vt+Li*te+Ar*he,ht[10]=Ni*Y+xr*Tt+Li*De+Ar*Xe,ht[11]=Ni*$+xr*Ot+Li*Mr+Ar*Dt,ht[12]=ho*f+Dn*nt+Fn*Rt+$n*Fe,ht[13]=ho*y+Dn*vt+Fn*te+$n*he,ht[14]=ho*Y+Dn*Tt+Fn*De+$n*Xe,ht[15]=ho*$+Dn*Ot+Fn*Mr+$n*Dt,this._identityCalculated=!1,this}function V(f){var y=f.props;return this.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15])}function L(){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 C(f){for(var y=0;y<16;){if(f.props[y]!==this.props[y])return!1;y+=1}return!0}function E(f){var y;for(y=0;y<16;y+=1)f.props[y]=this.props[y];return f}function S(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,Y){return{x:f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}}function F(f,y,Y){return f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12]}function H(f,y,Y){return f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13]}function W(f,y,Y){return f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}function et(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,Y=-this.props[1]/f,$=-this.props[4]/f,nt=this.props[0]/f,vt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,Tt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,Ot=new ve;return Ot.props[0]=y,Ot.props[1]=Y,Ot.props[4]=$,Ot.props[5]=nt,Ot.props[12]=vt,Ot.props[13]=Tt,Ot}function Et(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,Y=f.length,$=[];for(y=0;y<Y;y+=1)$[y]=Et(f[y]);return $}function st(f,y,Y){var $=X("float32",6);if(this.isIdentity())$[0]=f[0],$[1]=f[1],$[2]=y[0],$[3]=y[1],$[4]=Y[0],$[5]=Y[1];else{var nt=this.props[0],vt=this.props[1],Tt=this.props[4],Ot=this.props[5],Rt=this.props[12],te=this.props[13];$[0]=f[0]*nt+f[1]*Tt+Rt,$[1]=f[0]*vt+f[1]*Ot+te,$[2]=y[0]*nt+y[1]*Tt+Rt,$[3]=y[0]*vt+y[1]*Ot+te,$[4]=Y[0]*nt+Y[1]*Tt+Rt,$[5]=Y[0]*vt+Y[1]*Ot+te}return $}function At(f,y,Y){var $;return this.isIdentity()?$=[f,y,Y]:$=[f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]],$}function ct(f,y){if(this.isIdentity())return f+","+y;var Y=this.props;return Math.round((f*Y[0]+y*Y[4]+Y[12])*100)/100+","+Math.round((f*Y[1]+y*Y[5]+Y[13])*100)/100}function J(){for(var f=0,y=this.props,Y="matrix3d(",$=1e4;f<16;)Y+=l(y[f]*$)/$,Y+=f===15?")":",",f+=1;return Y}function I(f){var y=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?l(f*y)/y:f}function P(){var f=this.props,y=I(f[0]),Y=I(f[1]),$=I(f[4]),nt=I(f[5]),vt=I(f[12]),Tt=I(f[13]);return"matrix("+y+","+Y+","+$+","+nt+","+vt+","+Tt+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=A,this.rotateZ=g,this.skew=O,this.skewFromAxis=G,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=M,this.multiply=V,this.applyToPoint=w,this.applyToX=F,this.applyToY=H,this.applyToZ=W,this.applyToPointArray=At,this.applyToTriplePoints=st,this.applyToPointStringified=ct,this.toCSS=J,this.to2dCSS=P,this.clone=E,this.cloneFromProps=S,this.equals=C,this.inversePoints=pt,this.inversePoint=Et,this.getInverseMatrix=et,this._t=this.transform,this.isIdentity=L,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function kn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?kn=function(a){return typeof a}:kn=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},kn(e)}var Mt={},wn="__[STANDALONE]__",Fp="__[ANIMATIONDATA]__",$p="";function Ub(e){m(e)}function zp(){wn===!0?Jt.searchAnimations(Fp,wn,$p):Jt.searchAnimations()}function Hb(e){Ib(e)}function Gb(e){kb(e)}function Yb(e){return wn===!0&&(e.animationData=JSON.parse(Fp)),Jt.loadAnimation(e)}function Wb(e){if(typeof e=="string")switch(e){case"high":Tn(200);break;default:case"medium":Tn(50);break;case"low":Tn(10);break}else!isNaN(e)&&e>1&&Tn(e);Ks()>=50?rr(!1):rr(!0)}function jb(){return typeof navigator<"u"}function Kb(e,i){e==="expressions"&&Cb(i)}function qb(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return Cn;case"matrix":return ve;default:return null}}Mt.play=Jt.play,Mt.pause=Jt.pause,Mt.setLocationHref=Ub,Mt.togglePause=Jt.togglePause,Mt.setSpeed=Jt.setSpeed,Mt.setDirection=Jt.setDirection,Mt.stop=Jt.stop,Mt.searchAnimations=zp,Mt.registerAnimation=Jt.registerAnimation,Mt.loadAnimation=Yb,Mt.setSubframeRendering=Hb,Mt.resize=Jt.resize,Mt.goToAndStop=Jt.goToAndStop,Mt.destroy=Jt.destroy,Mt.setQuality=Wb,Mt.inBrowser=jb,Mt.installPlugin=Kb,Mt.freeze=Jt.freeze,Mt.unfreeze=Jt.unfreeze,Mt.setVolume=Jt.setVolume,Mt.mute=Jt.mute,Mt.unmute=Jt.unmute,Mt.getRegisteredAnimations=Jt.getRegisteredAnimations,Mt.useWebWorker=s,Mt.setIDPrefix=Gb,Mt.__getFactory=qb,Mt.version="5.12.2";function Xb(){document.readyState==="complete"&&(clearInterval(Jb),zp())}function Zb(e){for(var i=Vp.split("&"),a=0;a<i.length;a+=1){var l=i[a].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var Vp="";if(wn){var Bp=document.getElementsByTagName("script"),Qb=Bp.length-1,Up=Bp[Qb]||{src:""};Vp=Up.src?Up.src.replace(/^[^\?]+\??/,""):"",$p=Zb("renderer")}var Jb=setInterval(Xb,100);try{!((typeof Ca>"u"?"undefined":kn(Ca))==="object"&&typeof cl<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var xi=function(){var e={},i={};e.registerModifier=a,e.getModifier=l;function a(h,c){i[h]||(i[h]=c)}function l(h,c,v){return new i[h](c,v)}return e}();function ar(){}ar.prototype.initModifierProperties=function(){},ar.prototype.addShapeToModifier=function(){},ar.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var i={shape:e.sh,data:e,localShapeCollection:Zo.newShapeCollection()};this.shapes.push(i),this.addShapeToModifier(i),this._isAnimated&&e.setAsAnimated()}},ar.prototype.init=function(e,i){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i),this.frameId=r,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ar.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},N([ce],ar);function Tr(){}N([ar],Tr),Tr.prototype.initModifierProperties=function(e,i){this.s=at.getProp(e,i.s,0,.01,this),this.e=at.getProp(e,i.e,0,.01,this),this.o=at.getProp(e,i.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=i.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},Tr.prototype.addShapeToModifier=function(e){e.pathsData=[]},Tr.prototype.calculateShapeEdges=function(e,i,a,l,h){var c=[];i<=1?c.push({s:e,e:i}):e>=1?c.push({s:e-1,e:i-1}):(c.push({s:e,e:1}),c.push({s:0,e:i-1}));var v=[],A,g=c.length,k;for(A=0;A<g;A+=1)if(k=c[A],!(k.e*h<l||k.s*h>l+a)){var O,G;k.s*h<=l?O=0:O=(k.s*h-l)/a,k.e*h>=l+a?G=1:G=(k.e*h-l)/a,v.push([O,G])}return v.length||v.push([0,0]),v},Tr.prototype.releasePathsData=function(e){var i,a=e.length;for(i=0;i<a;i+=1)Op.release(e[i]);return e.length=0,e},Tr.prototype.processShapes=function(e){var i,a;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?i=1+l:this.s.v<0?i=0+l:i=this.s.v+l,this.e.v>1?a=1+l:this.e.v<0?a=0+l:a=this.e.v+l,i>a){var h=i;i=a,a=h}i=Math.round(i*1e4)*1e-4,a=Math.round(a*1e4)*1e-4,this.sValue=i,this.eValue=a}else i=this.sValue,a=this.eValue;var c,v,A=this.shapes.length,g,k,O,G,T,R=0;if(a===i)for(v=0;v<A;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(a===1&&i===0||a===0&&i===1){if(this._mdf)for(v=0;v<A;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],M,V;for(v=0;v<A;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,k=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(O=this.releasePathsData(M.pathsData),g=0;g<k;g+=1)G=Or.getSegmentsLength(c.shapes[g]),O.push(G),T+=G.totalLength;M.totalShapeLength=T,M.pathsData=O}R+=T,M.shape._mdf=!0}var L=i,C=a,E=0,S;for(v=A-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(V=M.localShapeCollection,V.releaseShapes(),this.m===2&&A>1?(S=this.calculateShapeEdges(i,a,M.totalShapeLength,E,R),E+=M.totalShapeLength):S=[[L,C]],k=S.length,g=0;g<k;g+=1){L=S[g][0],C=S[g][1],D.length=0,C<=1?D.push({s:M.totalShapeLength*L,e:M.totalShapeLength*C}):L>=1?D.push({s:M.totalShapeLength*(L-1),e:M.totalShapeLength*(C-1)}):(D.push({s:M.totalShapeLength*L,e:M.totalShapeLength}),D.push({s:0,e:M.totalShapeLength*(C-1)}));var w=this.addShapes(M,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var F=M.shape.paths.shapes[M.shape.paths._length-1];if(F.c){var H=w.pop();this.addPaths(w,V),w=this.addShapes(M,D[1],H)}else this.addPaths(w,V),w=this.addShapes(M,D[1])}this.addPaths(w,V)}}M.shape.paths=V}}},Tr.prototype.addPaths=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)i.addShape(e[a])},Tr.prototype.addSegment=function(e,i,a,l,h,c,v){h.setXYAt(i[0],i[1],"o",c),h.setXYAt(a[0],a[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},Tr.prototype.addSegmentFromArray=function(e,i,a,l){i.setXYAt(e[1],e[5],"o",a),i.setXYAt(e[2],e[6],"i",a+1),l&&i.setXYAt(e[0],e[4],"v",a),i.setXYAt(e[3],e[7],"v",a+1)},Tr.prototype.addShapes=function(e,i,a){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,A,g,k=0,O,G,T,R,D=[],M,V=!0;for(a?(G=a._length,M=a._length):(a=fe.newElement(),G=0,M=0),D.push(a),c=0;c<v;c+=1){for(T=l[c].lengths,a.c=h[c].c,g=h[c].c?T.length:T.length+1,A=1;A<g;A+=1)if(O=T[A-1],k+O.addedLength<i.s)k+=O.addedLength,a.c=!1;else if(k>i.e){a.c=!1;break}else i.s<=k&&i.e>=k+O.addedLength?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[A],h[c].v[A],a,G,V),V=!1):(R=Or.getNewSegment(h[c].v[A-1],h[c].v[A],h[c].o[A-1],h[c].i[A],(i.s-k)/O.addedLength,(i.e-k)/O.addedLength,T[A-1]),this.addSegmentFromArray(R,a,G,V),V=!1,a.c=!1),k+=O.addedLength,G+=1;if(h[c].c&&T.length){if(O=T[A-1],k<=i.e){var L=T[A-1].addedLength;i.s<=k&&i.e>=k+L?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[0],h[c].v[0],a,G,V),V=!1):(R=Or.getNewSegment(h[c].v[A-1],h[c].v[0],h[c].o[A-1],h[c].i[0],(i.s-k)/L,(i.e-k)/L,T[A-1]),this.addSegmentFromArray(R,a,G,V),V=!1,a.c=!1)}else a.c=!1;k+=O.addedLength,G+=1}if(a._length&&(a.setXYAt(a.v[M][0],a.v[M][1],"i",M),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),k>i.e)break;c<v-1&&(a=fe.newElement(),V=!0,D.push(a),G=0)}return D};function Js(){}N([ar],Js),Js.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Js.prototype.processPath=function(e,i){var a=i/100,l=[0,0],h=e._length,c=0;for(c=0;c<h;c+=1)l[0]+=e.v[c][0],l[1]+=e.v[c][1];l[0]/=h,l[1]/=h;var v=fe.newElement();v.c=e.c;var A,g,k,O,G,T;for(c=0;c<h;c+=1)A=e.v[c][0]+(l[0]-e.v[c][0])*a,g=e.v[c][1]+(l[1]-e.v[c][1])*a,k=e.o[c][0]+(l[0]-e.o[c][0])*-a,O=e.o[c][1]+(l[1]-e.o[c][1])*-a,G=e.i[c][0]+(l[0]-e.i[c][0])*-a,T=e.i[c][1]+(l[1]-e.i[c][1])*-a,v.setTripleAt(A,g,k,O,G,T,c);return v},Js.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var A,g;for(a=0;a<l;a+=1){if(A=this.shapes[a],g=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Fd=function(){var e=[0,0];function i(g){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.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?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function a(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var k;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 O,G;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(O=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),G=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(O=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),G=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(O=this.p.pv,G=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){O=[],G=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(O[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),O[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),G[0]=T.getValueAtTime(T.keyframes[0].t/k,0),G[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(O[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),O[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),G[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),G[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(O=[T.pv,R.pv],G[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),G[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else G=e,O=G;this.v.rotate(-Math.atan2(O[1]-G[1],O[0]-G[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 l(){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 h(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,k,O){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ve,this.pre=new ve,this.appliedTransformations=0,this.initDynamicPropertyContainer(O||g),k.p&&k.p.s?(this.px=at.getProp(g,k.p.x,0,0,this),this.py=at.getProp(g,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(g,k.p.z,0,0,this))):this.p=at.getProp(g,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(g,k.rx,0,kt,this),this.ry=at.getProp(g,k.ry,0,kt,this),this.rz=at.getProp(g,k.rz,0,kt,this),k.or.k[0].ti){var G,T=k.or.k.length;for(G=0;G<T;G+=1)k.or.k[G].to=null,k.or.k[G].ti=null}this.or=at.getProp(g,k.or,1,kt,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,kt,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,kt,this),this.sa=at.getProp(g,k.sa,0,kt,this)),this.a=at.getProp(g,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(g,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(g,k.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:i,getValue:a,precalculateMatrix:l,autoOrient:h},N([ce],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=ce.prototype.addDynamicProperty;function A(g,k,O){return new v(g,k,O)}return{getTransformProperty:A}}();function Rr(){}N([ar],Rr),Rr.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.c=at.getProp(e,i.c,0,null,this),this.o=at.getProp(e,i.o,0,null,this),this.tr=Fd.getTransformProperty(e,i.tr,this),this.so=at.getProp(e,i.tr.so,0,.01,this),this.eo=at.getProp(e,i.tr.eo,0,.01,this),this.data=i,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ve,this.rMatrix=new ve,this.sMatrix=new ve,this.tMatrix=new ve,this.matrix=new ve},Rr.prototype.applyTransforms=function(e,i,a,l,h,c){var v=c?-1:1,A=l.s.v[0]+(1-l.s.v[0])*(1-h),g=l.s.v[1]+(1-l.s.v[1])*(1-h);e.translate(l.p.v[0]*v*h,l.p.v[1]*v*h,l.p.v[2]),i.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),i.rotate(-l.r.v*v*h),i.translate(l.a.v[0],l.a.v[1],l.a.v[2]),a.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),a.scale(c?1/A:A,c?1/g:g),a.translate(l.a.v[0],l.a.v[1],l.a.v[2])},Rr.prototype.init=function(e,i,a,l){for(this.elem=e,this.arr=i,this.pos=a,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i[a]);a>0;)a-=1,this._elements.unshift(i[a]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Rr.prototype.resetElements=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i]._processed=!1,e[i].ty==="gr"&&this.resetElements(e[i].it)},Rr.prototype.cloneElements=function(e){var i=JSON.parse(JSON.stringify(e));return this.resetElements(i),i},Rr.prototype.changeGroupRender=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)e[a]._render=i,e[a].ty==="gr"&&this.changeGroupRender(e[a].it,i)},Rr.prototype.processShapes=function(e){var i,a,l,h,c,v=!1;if(this._mdf||e){var A=Math.ceil(this.c.v);if(this._groups.length<A){for(;this._groups.length<A;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.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,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var k;for(l=0;l<=this._groups.length-1;l+=1){if(k=c<A,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var O=this.elemsData[l].it,G=O[O.length-1];G.transform.op.v!==0?(G.transform.op._mdf=!0,G.transform.op.v=0):G.transform.op._mdf=!1}c+=1}this._currentCopies=A;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),M=this.pMatrix.props,V=this.rMatrix.props,L=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var C=0;if(T>0){for(;C<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),C+=R)}else if(T<0){for(;C>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),C-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,S;c;){if(i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,S=a.length,i[i.length-1].transform.mProps._mdf=!0,i[i.length-1].transform.op._mdf=!0,i[i.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),C!==0){for((l!==0&&h===1||l!==this._currentCopies-1&&h===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(V[0],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10],V[11],V[12],V[13],V[14],V[15]),this.matrix.transform(L[0],L[1],L[2],L[3],L[4],L[5],L[6],L[7],L[8],L[9],L[10],L[11],L[12],L[13],L[14],L[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]),E=0;E<S;E+=1)a[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<S;E+=1)a[E]=this.matrix.props[E];C+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,i[i.length-1].transform.mProps._mdf=!1,i[i.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},Rr.prototype.addShape=function(){};function ta(){}N([ar],ta),ta.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.rd=at.getProp(e,i.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ta.prototype.processPath=function(e,i){var a=fe.newElement();a.c=e.c;var l,h=e._length,c,v,A,g,k,O,G=0,T,R,D,M,V,L;for(l=0;l<h;l+=1)c=e.v[l],A=e.o[l],v=e.i[l],c[0]===A[0]&&c[1]===A[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(a.setTripleAt(c[0],c[1],A[0],A[1],v[0],v[1],G),G+=1):(l===0?g=e.v[h-1]:g=e.v[l-1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),O=k?Math.min(k/2,i)/k:0,V=c[0]+(g[0]-c[0])*O,T=V,L=c[1]-(c[1]-g[1])*O,R=L,D=T-(T-c[0])*ue,M=R-(R-c[1])*ue,a.setTripleAt(T,R,D,M,V,L,G),G+=1,l===h-1?g=e.v[0]:g=e.v[l+1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),O=k?Math.min(k/2,i)/k:0,D=c[0]+(g[0]-c[0])*O,T=D,M=c[1]+(g[1]-c[1])*O,R=M,V=T-(T-c[0])*ue,L=R-(R-c[1])*ue,a.setTripleAt(T,R,D,M,V,L,G),G+=1):(a.setTripleAt(e.v[l][0],e.v[l][1],e.o[l][0],e.o[l][1],e.i[l][0],e.i[l][1],G),G+=1);return a},ta.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var A,g;for(a=0;a<l;a+=1){if(A=this.shapes[a],g=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Nn(e,i){return Math.abs(e-i)*1e5<=Math.min(Math.abs(e),Math.abs(i))}function $d(e){return Math.abs(e)<=1e-5}function Hp(e,i,a){return e*(1-a)+i*a}function Ai(e,i,a){return[Hp(e[0],i[0],a),Hp(e[1],i[1],a)]}function ty(e,i,a){if(e===0)return[];var l=i*i-4*e*a;if(l<0)return[];var h=-i/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function Gp(e,i,a,l){return[-e+3*i-3*a+l,3*e-6*i+3*a,-3*e+3*i,e]}function Yp(e){return new jt(e,e,e,e,!1)}function jt(e,i,a,l,h){h&&Jo(e,i)&&(i=Ai(e,l,1/3)),h&&Jo(a,l)&&(a=Ai(e,l,2/3));var c=Gp(e[0],i[0],a[0],l[0]),v=Gp(e[1],i[1],a[1],l[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,i,a,l]}jt.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]]},jt.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]]},jt.prototype.tangentAngle=function(e){var i=this.derivative(e);return Math.atan2(i[1],i[0])},jt.prototype.normalAngle=function(e){var i=this.derivative(e);return Math.atan2(i[0],i[1])},jt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if($d(e))return[];var i=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,a=i*i-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(a<0)return[];var l=Math.sqrt(a);return $d(l)?l>0&&l<1?[i]:[]:[i-l,i+l].filter(function(h){return h>0&&h<1})},jt.prototype.split=function(e){if(e<=0)return[Yp(this.points[0]),this];if(e>=1)return[this,Yp(this.points[this.points.length-1])];var i=Ai(this.points[0],this.points[1],e),a=Ai(this.points[1],this.points[2],e),l=Ai(this.points[2],this.points[3],e),h=Ai(i,a,e),c=Ai(a,l,e),v=Ai(h,c,e);return[new jt(this.points[0],i,h,v,!0),new jt(v,c,l,this.points[3],!0)]};function Wp(e,i){var a=e.points[0][i],l=e.points[e.points.length-1][i];if(a>l){var h=l;l=a,a=h}for(var c=ty(3*e.a[i],2*e.b[i],e.c[i]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var A=e.point(c[v])[i];A<a?a=A:A>l&&(l=A)}return{min:a,max:l}}jt.prototype.bounds=function(){return{x:Wp(this,0),y:Wp(this,1)}},jt.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 Ln(e,i,a){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(i+a)/2,t1:i,t2:a}}function jp(e){var i=e.bez.split(.5);return[Ln(i[0],e.t1,e.t),Ln(i[1],e.t,e.t2)]}function ey(e,i){return Math.abs(e.cx-i.cx)*2<e.width+i.width&&Math.abs(e.cy-i.cy)*2<e.height+i.height}function ea(e,i,a,l,h,c){if(ey(e,i)){if(a>=c||e.width<=l&&e.height<=l&&i.width<=l&&i.height<=l){h.push([e.t,i.t]);return}var v=jp(e),A=jp(i);ea(v[0],A[0],a+1,l,h,c),ea(v[0],A[1],a+1,l,h,c),ea(v[1],A[0],a+1,l,h,c),ea(v[1],A[1],a+1,l,h,c)}}jt.prototype.intersections=function(e,i,a){i===void 0&&(i=2),a===void 0&&(a=7);var l=[];return ea(Ln(this,0,1),Ln(e,0,1),0,i,l,a),l},jt.shapeSegment=function(e,i){var a=(i+1)%e.length();return new jt(e.v[i],e.o[i],e.i[a],e.v[a],!0)},jt.shapeSegmentInverted=function(e,i){var a=(i+1)%e.length();return new jt(e.v[a],e.i[a],e.o[i],e.v[i],!0)};function zd(e,i){return[e[1]*i[2]-e[2]*i[1],e[2]*i[0]-e[0]*i[2],e[0]*i[1]-e[1]*i[0]]}function On(e,i,a,l){var h=[e[0],e[1],1],c=[i[0],i[1],1],v=[a[0],a[1],1],A=[l[0],l[1],1],g=zd(zd(h,c),zd(v,A));return $d(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Qo(e,i,a){return[e[0]+Math.cos(i)*a,e[1]-Math.sin(i)*a]}function Vd(e,i){return Math.hypot(e[0]-i[0],e[1]-i[1])}function Jo(e,i){return Nn(e[0],i[0])&&Nn(e[1],i[1])}function ra(){}N([ar],ra),ra.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amplitude=at.getProp(e,i.s,0,null,this),this.frequency=at.getProp(e,i.r,0,null,this),this.pointsType=at.getProp(e,i.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Kp(e,i,a,l,h,c,v){var A=a-Math.PI/2,g=a+Math.PI/2,k=i[0]+Math.cos(a)*l*h,O=i[1]-Math.sin(a)*l*h;e.setTripleAt(k,O,k+Math.cos(A)*c,O-Math.sin(A)*c,k+Math.cos(g)*v,O-Math.sin(g)*v,e.length())}function ry(e,i){var a=[i[0]-e[0],i[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*a[0]-Math.sin(l)*a[1],Math.sin(l)*a[0]+Math.cos(l)*a[1]];return h}function iy(e,i){var a=i===0?e.length()-1:i-1,l=(i+1)%e.length(),h=e.v[a],c=e.v[l],v=ry(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function qp(e,i,a,l,h,c,v){var A=iy(i,a),g=i.v[a%i._length],k=i.v[a===0?i._length-1:a-1],O=i.v[(a+1)%i._length],G=c===2?Math.sqrt(Math.pow(g[0]-k[0],2)+Math.pow(g[1]-k[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-O[0],2)+Math.pow(g[1]-O[1],2)):0;Kp(e,i.v[a%i._length],A,v,l,T/((h+1)*2),G/((h+1)*2),c)}function oy(e,i,a,l,h,c){for(var v=0;v<l;v+=1){var A=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(i.points[3][0]-i.points[0][0],2)+Math.pow(i.points[3][1]-i.points[0][1],2)):0,k=i.normalAngle(A),O=i.point(A);Kp(e,O,k,c,a,g/((l+1)*2),g/((l+1)*2),h),c=-c}return c}ra.prototype.processPath=function(e,i,a,l){var h=e._length,c=fe.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,A=jt.shapeSegment(e,0);qp(c,e,0,i,a,l,v);for(var g=0;g<h;g+=1)v=oy(c,A,i,a,l,-v),g===h-1&&!e.c?A=null:A=jt.shapeSegment(e,(g+1)%h),qp(c,e,g+1,i,a,l,v);return c},ra.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amplitude.v,A=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,O;for(a=0;a<l;a+=1){if(k=this.shapes[a],O=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(O.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)O.addShape(this.processPath(i[h],v,A,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Bd(e,i,a){var l=Math.atan2(i[0]-e[0],i[1]-e[1]);return[Qo(e,l,a),Qo(i,l,a)]}function ts(e,i){var a,l,h,c,v,A,g;g=Bd(e.points[0],e.points[1],i),a=g[0],l=g[1],g=Bd(e.points[1],e.points[2],i),h=g[0],c=g[1],g=Bd(e.points[2],e.points[3],i),v=g[0],A=g[1];var k=On(a,l,h,c);k===null&&(k=l);var O=On(v,A,h,c);return O===null&&(O=v),new jt(a,k,O,A)}function Xp(e,i,a,l,h){var c=i.points[3],v=a.points[0];if(l===3||Jo(c,v))return c;if(l===2){var A=-i.tangentAngle(1),g=-a.tangentAngle(0)+Math.PI,k=On(c,Qo(c,A+Math.PI/2,100),v,Qo(v,A+Math.PI/2,100)),O=k?Vd(k,c):Vd(c,v)/2,G=Qo(c,A,2*O*ue);return e.setXYAt(G[0],G[1],"o",e.length()-1),G=Qo(v,g,2*O*ue),e.setTripleAt(v[0],v[1],v[0],v[1],G[0],G[1],e.length()),v}var T=Jo(c,i.points[2])?i.points[0]:i.points[2],R=Jo(v,a.points[1])?a.points[3]:a.points[1],D=On(T,c,v,R);return D&&Vd(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function Zp(e,i){var a=e.intersections(i);return a.length&&Nn(a[0][0],1)&&a.shift(),a.length?a[0]:null}function Qp(e,i){var a=e.slice(),l=i.slice(),h=Zp(e[e.length-1],i[0]);return h&&(a[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=i[0].split(h[1])[1]),e.length>1&&i.length>1&&(h=Zp(e[0],i[i.length-1]),h)?[[e[0].split(h[0])[0]],[i[i.length-1].split(h[1])[1]]]:[a,l]}function sy(e){for(var i,a=1;a<e.length;a+=1)i=Qp(e[a-1],e[a]),e[a-1]=i[0],e[a]=i[1];return e.length>1&&(i=Qp(e[e.length-1],e[0]),e[e.length-1]=i[0],e[0]=i[1]),e}function Jp(e,i){var a=e.inflectionPoints(),l,h,c,v;if(a.length===0)return[ts(e,i)];if(a.length===1||Nn(a[1],1))return c=e.split(a[0]),l=c[0],h=c[1],[ts(l,i),ts(h,i)];c=e.split(a[0]),l=c[0];var A=(a[1]-a[0])/(1-a[0]);return c=c[1].split(A),v=c[0],h=c[1],[ts(l,i),ts(v,i),ts(h,i)]}function ia(){}N([ar],ia),ia.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this.miterLimit=at.getProp(e,i.ml,0,null,this),this.lineJoin=i.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ia.prototype.processPath=function(e,i,a,l){var h=fe.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,A,g,k=[];for(v=0;v<c;v+=1)g=jt.shapeSegment(e,v),k.push(Jp(g,i));if(!e.c)for(v=c-1;v>=0;v-=1)g=jt.shapeSegmentInverted(e,v),k.push(Jp(g,i));k=sy(k);var O=null,G=null;for(v=0;v<k.length;v+=1){var T=k[v];for(G&&(O=Xp(h,G,T[0],a,l)),G=T[T.length-1],A=0;A<T.length;A+=1)g=T[A],O&&Jo(g.points[0],O)?h.setXYAt(g.points[1][0],g.points[1][1],"o",h.length()-1):h.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],h.length()),h.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],h.length()),O=g.points[3]}return k.length&&Xp(h,G,k[0][0],a,l),h},ia.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v,A=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,O;for(a=0;a<l;a+=1){if(k=this.shapes[a],O=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(O.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)O.addShape(this.processPath(i[h],v,g,A));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function tm(e){for(var i=e.fStyle?e.fStyle.split(" "):[],a="normal",l="normal",h=i.length,c,v=0;v<h;v+=1)switch(c=i[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":a="700";break;case"black":a="900";break;case"medium":a="500";break;case"regular":case"normal":a="400";break;case"light":case"thin":a="200";break;default:break}return{style:l,weight:e.fWeight||a}}var no=function(){var e=5e3,i={w:0,size:0,shapes:[],data:{shapes:[]}},a=[];a=a.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 l=127988,h=917631,c=917601,v=917626,A=65039,g=8205,k=127462,O=127487,G=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(I){var P=I.split(","),f,y=P.length,Y=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&Y.push(P[f]);return Y.join(",")}function R(I,P){var f=x("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=x("span");y.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(y),document.body.appendChild(f);var Y=y.offsetWidth;return y.style.fontFamily=T(I)+", "+P,{node:y,w:Y,parent:f}}function D(){var I,P=this.fonts.length,f,y,Y=P;for(I=0;I<P;I+=1)this.fonts[I].loaded?Y-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(f=this.fonts[I].monoCase.node,y=this.fonts[I].monoCase.w,f.offsetWidth!==y?(Y-=1,this.fonts[I].loaded=!0):(f=this.fonts[I].sansCase.node,y=this.fonts[I].sansCase.w,f.offsetWidth!==y&&(Y-=1,this.fonts[I].loaded=!0)),this.fonts[I].loaded&&(this.fonts[I].sansCase.parent.parentNode.removeChild(this.fonts[I].sansCase.parent),this.fonts[I].monoCase.parent.parentNode.removeChild(this.fonts[I].monoCase.parent)));Y!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(I,P){var f=document.body&&P?"svg":"canvas",y,Y=tm(I);if(f==="svg"){var $=xt("text");$.style.fontSize="100px",$.setAttribute("font-family",I.fFamily),$.setAttribute("font-style",Y.style),$.setAttribute("font-weight",Y.weight),$.textContent="1",I.fClass?($.style.fontFamily="inherit",$.setAttribute("class",I.fClass)):$.style.fontFamily=I.fFamily,P.appendChild($),y=$}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=Y.style+" "+Y.weight+" 100px "+I.fFamily,y=nt}function vt(Tt){return f==="svg"?(y.textContent=Tt,y.getComputedTextLength()):y.measureText(Tt).width}return{measureText:vt}}function V(I,P){if(!I){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=I.list;return}if(!document.body){this.isLoaded=!0,I.list.forEach(function(De){De.helper=M(De),De.cache={}}),this.fonts=I.list;return}var f=I.list,y,Y=f.length,$=Y;for(y=0;y<Y;y+=1){var nt=!0,vt,Tt;if(f[y].loaded=!1,f[y].monoCase=R(f[y].fFamily,"monospace"),f[y].sansCase=R(f[y].fFamily,"sans-serif"),!f[y].fPath)f[y].loaded=!0,$-=1;else if(f[y].fOrigin==="p"||f[y].origin===3){if(vt=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[y].fFamily+'"], style[f-origin="3"][f-family="'+f[y].fFamily+'"]'),vt.length>0&&(nt=!1),nt){var Ot=x("style");Ot.setAttribute("f-forigin",f[y].fOrigin),Ot.setAttribute("f-origin",f[y].origin),Ot.setAttribute("f-family",f[y].fFamily),Ot.type="text/css",Ot.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Ot)}}else if(f[y].fOrigin==="g"||f[y].origin===1){for(vt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Tt=0;Tt<vt.length;Tt+=1)vt[Tt].href.indexOf(f[y].fPath)!==-1&&(nt=!1);if(nt){var Rt=x("link");Rt.setAttribute("f-forigin",f[y].fOrigin),Rt.setAttribute("f-origin",f[y].origin),Rt.type="text/css",Rt.rel="stylesheet",Rt.href=f[y].fPath,document.body.appendChild(Rt)}}else if(f[y].fOrigin==="t"||f[y].origin===2){for(vt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Tt=0;Tt<vt.length;Tt+=1)f[y].fPath===vt[Tt].src&&(nt=!1);if(nt){var te=x("link");te.setAttribute("f-forigin",f[y].fOrigin),te.setAttribute("f-origin",f[y].origin),te.setAttribute("rel","stylesheet"),te.setAttribute("href",f[y].fPath),P.appendChild(te)}}f[y].helper=M(f[y],P),f[y].cache={},this.fonts.push(f[y])}$===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function L(I){if(I){this.chars||(this.chars=[]);var P,f=I.length,y,Y=this.chars.length,$;for(P=0;P<f;P+=1){for(y=0,$=!1;y<Y;)this.chars[y].style===I[P].style&&this.chars[y].fFamily===I[P].fFamily&&this.chars[y].ch===I[P].ch&&($=!0),y+=1;$||(this.chars.push(I[P]),Y+=1)}}}function C(I,P,f){for(var y=0,Y=this.chars.length;y<Y;){if(this.chars[y].ch===I&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof I=="string"&&I.charCodeAt(0)!==13||!I)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",I,P,f)),i}function E(I,P,f){var y=this.getFontByName(P),Y=I;if(!y.cache[Y]){var $=y.helper;if(I===" "){var nt=$.measureText("|"+I+"|"),vt=$.measureText("||");y.cache[Y]=(nt-vt)/100}else y.cache[Y]=$.measureText(I)/100}return y.cache[Y]*f}function S(I){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===I)return this.fonts[P];P+=1}return this.fonts[0]}function w(I){var P=0,f=I.charCodeAt(0);if(f>=55296&&f<=56319){var y=I.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function F(I,P){var f=I.toString(16)+P.toString(16);return G.indexOf(f)!==-1}function H(I){return I===g}function W(I){return I===A}function et(I){var P=w(I);return P>=k&&P<=O}function Et(I){return et(I.substr(0,2))&&et(I.substr(2,2))}function pt(I){return a.indexOf(I)!==-1}function st(I,P){var f=w(I.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(I.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(I.substr(P,2))===h}function At(){this.isLoaded=!0}var ct=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)};ct.isModifier=F,ct.isZeroWidthJoiner=H,ct.isFlagEmoji=Et,ct.isRegionalCode=et,ct.isCombinedCharacter=pt,ct.isRegionalFlag=st,ct.isVariationSelector=W,ct.BLACK_FLAG_CODE_POINT=l;var J={addChars:L,addFonts:V,getCharData:C,getFontByName:S,measureText:E,checkLoadedFonts:D,setIsLoaded:At};return ct.prototype=J,ct}();function em(e){this.animationData=e}em.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function ay(e){return new em(e)}function Rn(){}Rn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(i){this.renderableComponents.indexOf(i)===-1&&this.renderableComponents.push(i)},removeRenderableComponent:function(i){this.renderableComponents.indexOf(i)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(i),1)},prepareRenderableFrame:function(i){this.checkLayerLimits(i)},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(i){this.data.ip-this.data.st<=i&&this.data.op-this.data.st>i?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 i,a=this.renderableComponents.length;for(i=0;i<a;i+=1)this.renderableComponents[i].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 Ud=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(i){return e[i]||""}}();function ny(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function ly(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function dy(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function cy(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function hy(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function py(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function my(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function uy(){this.p={}}function rm(e,i){var a=e.ef||[];this.effectElements=[];var l,h=a.length,c;for(l=0;l<h;l+=1)c=new oa(a[l],i),this.effectElements.push(c)}function oa(e,i){this.init(e,i)}N([ce],oa),oa.prototype.getValue=oa.prototype.iterateDynamicProperties,oa.prototype.init=function(e,i){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(i);var a,l=this.data.ef.length,h,c=this.data.ef;for(a=0;a<l;a+=1){switch(h=null,c[a].ty){case 0:h=new ny(c[a],i,this);break;case 1:h=new ly(c[a],i,this);break;case 2:h=new dy(c[a],i,this);break;case 3:h=new cy(c[a],i,this);break;case 4:case 7:h=new my(c[a],i,this);break;case 10:h=new hy(c[a],i,this);break;case 11:h=new py(c[a],i,this);break;case 5:h=new rm(c[a],i,this);break;default:h=new uy(c[a],i,this);break}h&&this.effectElements.push(h)}};function Si(){}Si.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var i=0,a=this.data.masksProperties.length;i<a;){if(this.data.masksProperties[i].mode!=="n"&&this.data.masksProperties[i].cl!==!1)return!0;i+=1}return!1},initExpressions:function(){var i=kp();if(i){var a=i("layer"),l=i("effects"),h=i("shape"),c=i("text"),v=i("comp");this.layerInterface=a(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var A=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(A),this.data.ty===0||this.data.xt?this.compInterface=v(this):this.data.ty===4?(this.layerInterface.shapeInterface=h(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 i=Ud(this.data.bm),a=this.baseElement||this.layerElement;a.style["mix-blend-mode"]=i},initBaseData:function(i,a,l){this.globalData=a,this.comp=l,this.data=i,this.layerId=Me(),this.data.sr||(this.data.sr=1),this.effectsManager=new rm(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ii(){}Ii.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(i,a){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(a||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&this.dynamicProperties.push(i)}};function _i(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.footageData=i.imageLoader.getAsset(this.assetData),this.initBaseData(e,i,a)}_i.prototype.prepareFrame=function(){},N([Rn,Si,Ii],_i),_i.prototype.getBaseElement=function(){return null},_i.prototype.renderFrame=function(){},_i.prototype.destroy=function(){},_i.prototype.initExpressions=function(){var e=kp();if(e){var i=e("footage");this.layerInterface=i(this)}},_i.prototype.getFootageData=function(){return this.footageData};function Pe(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.initBaseData(e,i,a),this._isPlaying=!1,this._canPlay=!1;var l=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(l),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?at.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Pe.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var i=this.tm.v;this._currentTime=i}this._volume=this.lv.v[0];var a=this._volume*this._volumeMultiplier;this._previousVolume!==a&&(this._previousVolume=a,this.audio.volume(a))},N([Rn,Si,Ii],Pe),Pe.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))},Pe.prototype.show=function(){},Pe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Pe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Pe.prototype.resume=function(){this._canPlay=!0},Pe.prototype.setRate=function(e){this.audio.rate(e)},Pe.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Pe.prototype.getBaseElement=function(){return null},Pe.prototype.destroy=function(){},Pe.prototype.sourceRectAtTime=function(){},Pe.prototype.initExpressions=function(){};function ge(){}ge.prototype.checkLayers=function(e){var i,a=this.layers.length,l;for(this.completeLayers=!0,i=a-1;i>=0;i-=1)this.elements[i]||(l=this.layers[i],l.ip-l.st<=e-this.layers[i].st&&l.op-l.st>e-this.layers[i].st&&this.buildItem(i)),this.completeLayers=this.elements[i]?this.completeLayers:!1;this.checkPendingElements()},ge.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)}},ge.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ge.prototype.createAudio=function(e){return new Pe(e,this.globalData,this)},ge.prototype.createFootage=function(e){return new _i(e,this.globalData,this)},ge.prototype.buildAllItems=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.buildItem(e);this.checkPendingElements()},ge.prototype.includeLayers=function(e){this.completeLayers=!1;var i,a=e.length,l,h=this.layers.length;for(i=0;i<a;i+=1)for(l=0;l<h;){if(this.layers[l].id===e[i].id){this.layers[l]=e[i];break}l+=1}},ge.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},ge.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ge.prototype.buildElementParenting=function(e,i,a){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==i&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(a.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,a):e.setHierarchy(a))),c+=1},ge.prototype.addPendingElement=function(e){this.pendingElements.push(e)},ge.prototype.searchExtraCompositions=function(e){var i,a=e.length;for(i=0;i<a;i+=1)if(e[i].xt){var l=this.createComp(e[i]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},ge.prototype.getElementById=function(e){var i,a=this.elements.length;for(i=0;i<a;i+=1)if(this.elements[i].data.ind===e)return this.elements[i];return null},ge.prototype.getElementByPath=function(e){var i=e.shift(),a;if(typeof i=="number")a=this.elements[i];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===i){a=this.elements[l];break}}return e.length===0?a:a.getElementByPath(e)},ge.prototype.setupGlobalData=function(e,i){this.globalData.fontManager=new no,this.globalData.slotManager=ay(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,i),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 fy={TRANSFORM_EFFECT:"transformEFfect"};function es(){}es.prototype={initTransform:function(){var i=new ve;this.finalTransform={mProp:this.data.ks?Fd.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:i,localMat:i,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 i,a=this.finalTransform.mat,l=0,h=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;l<h;){if(this.hierarchy[l].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}l+=1}if(this.finalTransform._matMdf)for(i=this.finalTransform.mProp.v.props,a.cloneFromProps(i),l=0;l<h;l+=1)a.multiply(this.hierarchy[l].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 i=0,a=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;i<a;)this.localTransforms[i]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[i]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),i+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),i=1;i<a;i+=1){var h=this.localTransforms[i].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(i=0;i<a;i+=1)c*=this.localTransforms[i].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var i=this.renderableEffectsManager.getEffects(fy.TRANSFORM_EFFECT);if(i.length){this.localTransforms=[],this.finalTransform.localMat=new ve;var a=0,l=i.length;for(a=0;a<l;a+=1)this.localTransforms.push(i[a])}}},globalToLocal:function(i){var a=[];a.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&a.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=a.length,A;for(c=0;c<v;c+=1)A=a[c].mat.applyToPointArray(0,0,0),i=[i[0]-A[0],i[1]-A[1],0];return i},mHelper:new ve};function lo(e,i,a){this.data=e,this.element=i,this.globalData=a,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var l=this.globalData.defs,h,c=this.masksProperties?this.masksProperties.length:0;this.viewData=it(c),this.solidPath="";var v,A=this.masksProperties,g=0,k=[],O,G,T=Me(),R,D,M,V,L="clipPath",C="clip-path";for(h=0;h<c;h+=1)if((A[h].mode!=="a"&&A[h].mode!=="n"||A[h].inv||A[h].o.k!==100||A[h].o.x)&&(L="mask",C="mask"),(A[h].mode==="s"||A[h].mode==="i")&&g===0?(R=xt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),k.push(R)):R=null,v=xt("path"),A[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Cn.getShapeProp(this.element,A[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",A[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(A[h].x.k!==0?(L="mask",C="mask",V=at.getProp(this.element,A[h].x,0,null,this.element),E=Me(),D=xt("filter"),D.setAttribute("id",E),M=xt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),D.appendChild(M),l.appendChild(D),v.setAttribute("stroke",A[h].mode==="s"?"#000000":"#ffffff")):(M=null,V=null),this.storedData[h]={elem:v,x:V,expan:M,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},A[h].mode==="i"){G=k.length;var S=xt("g");for(O=0;O<G;O+=1)S.appendChild(k[O]);var w=xt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),S.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(S)}else k.push(v);A[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Cn.getShapeProp(this.element,A[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(A[h],this.viewData[h].prop.v,this.viewData[h])}for(this.maskElement=xt(L),c=k.length,h=0;h<c;h+=1)this.maskElement.appendChild(k[h]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(C,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}lo.prototype.getMaskProperty=function(e){return this.viewData[e].prop},lo.prototype.renderFrame=function(e){var i=this.element.finalTransform.mat,a,l=this.masksProperties.length;for(a=0;a<l;a+=1)if((this.viewData[a].prop._mdf||e)&&this.drawPath(this.masksProperties[a],this.viewData[a].prop.v,this.viewData[a]),(this.viewData[a].op._mdf||e)&&this.viewData[a].elem.setAttribute("fill-opacity",this.viewData[a].op.v),this.masksProperties[a].mode!=="n"&&(this.viewData[a].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[a].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[a].x&&(this.storedData[a].x._mdf||e))){var h=this.storedData[a].expan;this.storedData[a].x.v<0?(this.storedData[a].lastOperator!=="erode"&&(this.storedData[a].lastOperator="erode",this.storedData[a].elem.setAttribute("filter","url("+b()+"#"+this.storedData[a].filterId+")")),h.setAttribute("radius",-this.storedData[a].x.v)):(this.storedData[a].lastOperator!=="dilate"&&(this.storedData[a].lastOperator="dilate",this.storedData[a].elem.setAttribute("filter",null)),this.storedData[a].elem.setAttribute("stroke-width",this.storedData[a].x.v*2))}},lo.prototype.getMaskelement=function(){return this.maskElement},lo.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},lo.prototype.drawPath=function(e,i,a){var l=" M"+i.v[0][0]+","+i.v[0][1],h,c;for(c=i._length,h=1;h<c;h+=1)l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[h][0]+","+i.i[h][1]+" "+i.v[h][0]+","+i.v[h][1];if(i.c&&c>1&&(l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[0][0]+","+i.i[0][1]+" "+i.v[0][0]+","+i.v[0][1]),a.lastPath!==l){var v="";a.elem&&(i.c&&(v=e.inv?this.solidPath+l:l),a.elem.setAttribute("d",v)),a.lastPath=l}},lo.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var sa=function(){var e={};e.createFilter=i,e.createAlphaToLuminanceFilter=a;function i(l,h){var c=xt("filter");return c.setAttribute("id",l),h!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function a(){var l=xt("feColorMatrix");return l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),l}return e}(),im=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}(),Mn={},om="filter_result_";function Hd(e){var i,a="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Me(),c=sa.createFilter(h,!0),v=0;this.filters=[];var A;for(i=0;i<l;i+=1){A=null;var g=e.data.ef[i].ty;if(Mn[g]){var k=Mn[g].effect;A=new k(c,e.effectsManager.effectElements[i],e,om+v,a),a=om+v,Mn[g].countsAsEffect&&(v+=1)}A&&this.filters.push(A)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}Hd.prototype.renderFrame=function(e){var i,a=this.filters.length;for(i=0;i<a;i+=1)this.filters[i].renderFrame(e)},Hd.prototype.getEffects=function(e){var i,a=this.filters.length,l=[];for(i=0;i<a;i+=1)this.filters[i].type===e&&l.push(this.filters[i]);return l};function s0(e,i,a){Mn[e]={effect:i,countsAsEffect:a}}function aa(){}aa.prototype={initRendererElement:function(){this.layerElement=xt("g")},createContainerElements:function(){this.matteElement=xt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var i=null;if(this.data.td){this.matteMasks={};var a=xt("g");a.setAttribute("id",this.layerId),a.appendChild(this.layerElement),i=a,this.globalData.defs.appendChild(a)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=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 l=xt("clipPath"),h=xt("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Me();if(l.setAttribute("id",c),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=xt("g");v.setAttribute("clip-path","url("+b()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+b()+"#"+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 lo(this.data,this,this.globalData),this.renderableEffectsManager=new Hd(this),this.searchEffectTransforms()},getMatte:function(i){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[i]){var a=this.layerId+"_"+i,l,h,c,v;if(i===1||i===3){var A=xt("mask");A.setAttribute("id",a),A.setAttribute("mask-type",i===3?"luminance":"alpha"),c=xt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),A.appendChild(c),this.globalData.defs.appendChild(A),!im.maskType&&i===1&&(A.setAttribute("mask-type","luminance"),l=Me(),h=sa.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(sa.createAlphaToLuminanceFilter()),v=xt("g"),v.appendChild(c),A.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(i===2){var g=xt("mask");g.setAttribute("id",a),g.setAttribute("mask-type","alpha");var k=xt("g");g.appendChild(k),l=Me(),h=sa.createFilter(l);var O=xt("feComponentTransfer");O.setAttribute("in","SourceGraphic"),h.appendChild(O);var G=xt("feFuncA");G.setAttribute("type","table"),G.setAttribute("tableValues","1.0 0.0"),O.appendChild(G),this.globalData.defs.appendChild(h);var T=xt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),k.setAttribute("filter","url("+b()+"#"+l+")"),k.appendChild(T),c=xt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),im.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(sa.createAlphaToLuminanceFilter()),v=xt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[i]=a}return this.matteMasks[i]},setMatte:function(i){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+i+")")}};function rs(){}rs.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(i){this.hierarchy=i},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function na(){}(function(){var e={initElement:function(a,l,h){this.initFrame(),this.initBaseData(a,l,h),this.initTransform(a,l,h),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var a=this.baseElement||this.layerElement;a.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.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(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};N([Rn,K(e)],na)})();function la(e,i,a){this.assetData=i.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=i.slotManager.getProp(this.assetData)),this.initElement(e,i,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}N([Si,es,aa,rs,Ii,na],la),la.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=xt("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)},la.prototype.sourceRectAtTime=function(){return this.sourceRect};function vy(e,i){this.elem=e,this.pos=i}function sm(){}sm.prototype={addShapeToModifiers:function(i){var a,l=this.shapeModifiers.length;for(a=0;a<l;a+=1)this.shapeModifiers[a].addShape(i)},isShapeInAnimatedModifiers:function(i){for(var a=0,l=this.shapeModifiers.length;a<l;)if(this.shapeModifiers[a].isAnimatedWithShape(i))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var i,a=this.shapes.length;for(i=0;i<a;i+=1)this.shapes[i].sh.reset();a=this.shapeModifiers.length;var l;for(i=a-1;i>=0&&(l=this.shapeModifiers[i].processShapes(this._isFirstFrame),!l);i-=1);}},searchProcessedElement:function(i){for(var a=this.processedElements,l=0,h=a.length;l<h;){if(a[l].elem===i)return a[l].pos;l+=1}return 0},addProcessedElement:function(i,a){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===i){l[h].pos=a;return}l.push(new vy(i,a))},prepareFrame:function(i){this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)}};var am={1:"butt",2:"round",3:"square"},nm={1:"miter",2:"round",3:"bevel"};function lm(e,i,a){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=a,this.lvl=i,this._isAnimated=!!a.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}lm.prototype.setAsAnimated=function(){this._isAnimated=!0};function dm(e,i){this.data=e,this.type=e.ty,this.d="",this.lvl=i,this._mdf=!1,this.closed=e.hd===!0,this.pElem=xt("path"),this.msElem=null}dm.prototype.reset=function(){this.d="",this._mdf=!1};function Pn(e,i,a,l){this.elem=e,this.frameId=-1,this.dataProps=it(i.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=X("float32",i.length?i.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=i.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,i[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:i[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}Pn.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 i=0,a=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),i=0;i<a;i+=1)this.dataProps[i].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[i].p.v:this.dashArray[i]=this.dataProps[i].p.v:this.dashoffset[0]=this.dataProps[i].p.v}},N([ce],Pn);function cm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.w=at.getProp(e,i.w,0,null,this),this.d=new Pn(e,i.d||{},"svg",this),this.c=at.getProp(e,i.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}N([ce],cm);function hm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.c=at.getProp(e,i.c,1,255,this),this.style=a}N([ce],hm);function pm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=a}N([ce],pm);function da(e,i,a){this.data=i,this.c=X("uint8c",i.p*4);var l=i.k.k[0].s?i.k.k[0].s.length-i.p*4:i.k.k.length-i.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(a),this.prop=at.getProp(e,i.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}da.prototype.comparePoints=function(e,i){for(var a=0,l=this.o.length/2,h;a<l;){if(h=Math.abs(e[a*4]-e[i*4+a*2]),h>.01)return!1;a+=1}return!0},da.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,i=this.data.k.k.length;e<i;){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},da.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var i,a=this.data.p*4,l,h;for(i=0;i<a;i+=1)l=i%4===0?100:255,h=Math.round(this.prop.v[i]*l),this.c[i]!==h&&(this.c[i]=h,this._cmdf=!e);if(this.o.length)for(a=this.prop.v.length,i=this.data.p*4;i<a;i+=1)l=i%2===0?100:1,h=i%2===0?Math.round(this.prop.v[i]*100):this.prop.v[i],this.o[i-this.data.p*4]!==h&&(this.o[i-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},N([ce],da);function is(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,i,a)}is.prototype.initGradientData=function(e,i,a){this.o=at.getProp(e,i.o,0,.01,this),this.s=at.getProp(e,i.s,1,null,this),this.e=at.getProp(e,i.e,1,null,this),this.h=at.getProp(e,i.h||{k:0},0,.01,this),this.a=at.getProp(e,i.a||{k:0},0,kt,this),this.g=new da(e,i.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,i),this.setGradientOpacity(i,a),this._isAnimated=!!this._isAnimated},is.prototype.setGradientData=function(e,i){var a=Me(),l=xt(i.t===1?"linearGradient":"radialGradient");l.setAttribute("id",a),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,A;for(A=i.g.p*4,v=0;v<A;v+=4)c=xt("stop"),l.appendChild(c),h.push(c);e.setAttribute(i.ty==="gf"?"fill":"stroke","url("+b()+"#"+a+")"),this.gf=l,this.cst=h},is.prototype.setGradientOpacity=function(e,i){if(this.g._hasOpacity&&!this.g._collapsable){var a,l,h,c=xt("mask"),v=xt("path");c.appendChild(v);var A=Me(),g=Me();c.setAttribute("id",g);var k=xt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",A),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),h=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var O=this.stops;for(l=e.g.p*4;l<h;l+=2)a=xt("stop"),a.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(a),O.push(a);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+A+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",am[e.lc||2]),v.setAttribute("stroke-linejoin",nm[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=O,this.maskId=g,i.msElem=v}},N([ce],is);function mm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,i.w,0,null,this),this.d=new Pn(e,i.d||{},"svg",this),this.initGradientData(e,i,a),this._isAnimated=!!this._isAnimated}N([is,ce],mm);function gy(){this.it=[],this.prevViewData=[],this.gr=xt("g")}function by(e,i,a){this.transform={mProps:e,op:i,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var um=function(i,a,l,h){if(a===0)return"";var c=i.o,v=i.i,A=i.v,g,k=" M"+h.applyToPointStringified(A[0][0],A[0][1]);for(g=1;g<a;g+=1)k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(A[g][0],A[g][1]);return l&&a&&(k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(A[0][0],A[0][1]),k+="z"),k},yy=function(){var e=new ve,i=new ve,a={createRenderFunction:l};function l(G){switch(G.ty){case"fl":return A;case"gf":return k;case"gs":return g;case"st":return O;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(G,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(G,T,R){var D,M,V,L,C,E,S=T.styles.length,w=T.lvl,F,H,W,et;for(E=0;E<S;E+=1){if(L=T.sh._mdf||R,T.styles[E].lvl<w){for(H=i.reset(),W=w-T.styles[E].lvl,et=T.transformers.length-1;!L&&W>0;)L=T.transformers[et].mProps._mdf||L,W-=1,et-=1;if(L)for(W=w-T.styles[E].lvl,et=T.transformers.length-1;W>0;)H.multiply(T.transformers[et].mProps.v),W-=1,et-=1}else H=e;if(F=T.sh.paths,M=F._length,L){for(V="",D=0;D<M;D+=1)C=F.shapes[D],C&&C._length&&(V+=um(C,C._length,C.c,H));T.caches[E]=V}else V=T.caches[E];T.styles[E].d+=G.hd===!0?"":V,T.styles[E]._mdf=L||T.styles[E]._mdf}}function A(G,T,R){var D=T.style;(T.c._mdf||R)&&D.pElem.setAttribute("fill","rgb("+de(T.c.v[0])+","+de(T.c.v[1])+","+de(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(G,T,R){k(G,T,R),O(G,T,R)}function k(G,T,R){var D=T.gf,M=T.g._hasOpacity,V=T.s.v,L=T.e.v;if(T.o._mdf||R){var C=G.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(C,T.o.v)}if(T.s._mdf||R){var E=G.t===1?"x1":"cx",S=E==="x1"?"y1":"cy";D.setAttribute(E,V[0]),D.setAttribute(S,V[1]),M&&!T.g._collapsable&&(T.of.setAttribute(E,V[0]),T.of.setAttribute(S,V[1]))}var w,F,H,W;if(T.g._cmdf||R){w=T.cst;var et=T.g.c;for(H=w.length,F=0;F<H;F+=1)W=w[F],W.setAttribute("offset",et[F*4]+"%"),W.setAttribute("stop-color","rgb("+et[F*4+1]+","+et[F*4+2]+","+et[F*4+3]+")")}if(M&&(T.g._omdf||R)){var Et=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,H=w.length,F=0;F<H;F+=1)W=w[F],T.g._collapsable||W.setAttribute("offset",Et[F*2]+"%"),W.setAttribute("stop-opacity",Et[F*2+1])}if(G.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",L[0]),D.setAttribute("y2",L[1]),M&&!T.g._collapsable&&(T.of.setAttribute("x2",L[0]),T.of.setAttribute("y2",L[1])));else{var pt;if((T.s._mdf||T.e._mdf||R)&&(pt=Math.sqrt(Math.pow(V[0]-L[0],2)+Math.pow(V[1]-L[1],2)),D.setAttribute("r",pt),M&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||R){pt||(pt=Math.sqrt(Math.pow(V[0]-L[0],2)+Math.pow(V[1]-L[1],2)));var st=Math.atan2(L[1]-V[1],L[0]-V[0]),At=T.h.v;At>=1?At=.99:At<=-1&&(At=-.99);var ct=pt*At,J=Math.cos(st+T.a.v)*ct+V[0],I=Math.sin(st+T.a.v)*ct+V[1];D.setAttribute("fx",J),D.setAttribute("fy",I),M&&!T.g._collapsable&&(T.of.setAttribute("fx",J),T.of.setAttribute("fy",I))}}}function O(G,T,R){var D=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(D.pElem.setAttribute("stroke-dasharray",M.dashStr),D.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||R)&&D.pElem.setAttribute("stroke","rgb("+de(T.c.v[0])+","+de(T.c.v[1])+","+de(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return a}();function qt(e,i,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,i,a),this.prevViewData=[]}N([Si,es,aa,sm,rs,Ii,na],qt),qt.prototype.initSecondaryElement=function(){},qt.prototype.identityMatrix=new ve,qt.prototype.buildExpressionInterface=function(){},qt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},qt.prototype.filterUniqueShapes=function(){var e,i=this.shapes.length,a,l,h=this.stylesList.length,c,v=[],A=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],A=!1,v.length=0,e=0;e<i;e+=1)a=this.shapes[e],a.styles.indexOf(c)!==-1&&(v.push(a),A=a._isAnimated||A);v.length>1&&A&&this.setShapesAsAnimated(v)}},qt.prototype.setShapesAsAnimated=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i].setAsAnimated()},qt.prototype.createStyleElement=function(e,i){var a,l=new dm(e,i),h=l.pElem;if(e.ty==="st")a=new cm(this,e,l);else if(e.ty==="fl")a=new hm(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?is:mm;a=new c(this,e,l),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),h.setAttribute("mask","url("+b()+"#"+a.maskId+")"))}else e.ty==="no"&&(a=new pm(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",am[e.lc||2]),h.setAttribute("stroke-linejoin",nm[e.lj||2]),h.setAttribute("fill-opacity","0"),e.lj===1&&h.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&h.setAttribute("fill-rule","evenodd"),e.ln&&h.setAttribute("id",e.ln),e.cl&&h.setAttribute("class",e.cl),e.bm&&(h.style["mix-blend-mode"]=Ud(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,a),a},qt.prototype.createGroupElement=function(e){var i=new gy;return e.ln&&i.gr.setAttribute("id",e.ln),e.cl&&i.gr.setAttribute("class",e.cl),e.bm&&(i.gr.style["mix-blend-mode"]=Ud(e.bm)),i},qt.prototype.createTransformElement=function(e,i){var a=Fd.getTransformProperty(this,e,this),l=new by(a,a.o,i);return this.addToAnimatedContents(e,l),l},qt.prototype.createShapeElement=function(e,i,a){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=Cn.getShapeProp(this,e,l,this),c=new lm(i,a,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},qt.prototype.addToAnimatedContents=function(e,i){for(var a=0,l=this.animatedContents.length;a<l;){if(this.animatedContents[a].element===i)return;a+=1}this.animatedContents.push({fn:yy.createRenderFunction(e),element:i,data:e})},qt.prototype.setElementStyles=function(e){var i=e.styles,a,l=this.stylesList.length;for(a=0;a<l;a+=1)this.stylesList[a].closed||i.push(this.stylesList[a])},qt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,i=this.itemsData.length;for(e=0;e<i;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),i=this.dynamicProperties.length,e=0;e<i;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},qt.prototype.searchShapes=function(e,i,a,l,h,c,v){var A=[].concat(c),g,k=e.length-1,O,G,T=[],R=[],D,M,V;for(g=k;g>=0;g-=1){if(V=this.searchProcessedElement(e[g]),V?i[g]=a[V-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")V?i[g].style.closed=!1:i[g]=this.createStyleElement(e[g],h),e[g]._render&&i[g].style.pElem.parentNode!==l&&l.appendChild(i[g].style.pElem),T.push(i[g].style);else if(e[g].ty==="gr"){if(!V)i[g]=this.createGroupElement(e[g]);else for(G=i[g].it.length,O=0;O<G;O+=1)i[g].prevViewData[O]=i[g].it[O];this.searchShapes(e[g].it,i[g].it,i[g].prevViewData,i[g].gr,h+1,A,v),e[g]._render&&i[g].gr.parentNode!==l&&l.appendChild(i[g].gr)}else e[g].ty==="tr"?(V||(i[g]=this.createTransformElement(e[g],l)),D=i[g].transform,A.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(V||(i[g]=this.createShapeElement(e[g],A,h)),this.setElementStyles(i[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(V?(M=i[g],M.closed=!1):(M=xi.getModifier(e[g].ty),M.init(this,e[g]),i[g]=M,this.shapeModifiers.push(M)),R.push(M)):e[g].ty==="rp"&&(V?(M=i[g],M.closed=!0):(M=xi.getModifier(e[g].ty),i[g]=M,M.init(this,e,g,i),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=R.length,g=0;g<k;g+=1)R[g].closed=!0},qt.prototype.renderInnerContent=function(){this.renderModifiers();var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<i;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"))},qt.prototype.renderShape=function(){var e,i=this.animatedContents.length,a;for(e=0;e<i;e+=1)a=this.animatedContents[e],(this._isFirstFrame||a.element._isAnimated)&&a.data!==!0&&a.fn(a.data,a.element,this._isFirstFrame)},qt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Gd(e,i,a,l,h,c){this.o=e,this.sw=i,this.sc=a,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!i,sc:!!a,fc:!!l,m:!0,p:!0}}Gd.prototype.update=function(e,i,a,l,h,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 v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==i&&(this.sw=i,this._mdf.sw=!0,v=!0),this.sc!==a&&(this.sc=a,this._mdf.sc=!0,v=!0),this.fc!==l&&(this.fc=l,this._mdf.fc=!0,v=!0),this.m!==h&&(this.m=h,this._mdf.m=!0,v=!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,v=!0),v};function Ce(e,i){this._frameId=r,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,i.d&&i.d.sid&&(i.d=e.globalData.slotManager.getProp(i.d)),this.data=i,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)}Ce.prototype.defaultBoxWidth=[0,0],Ce.prototype.copyData=function(e,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);return e},Ce.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Ce.prototype.searchProperty=function(){return this.searchKeyframes()},Ce.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ce.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Ce.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 i=this.currentData,a=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var l,h=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(l=0;l<h;l+=1)a!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);i!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Ce.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,i=this.elem.comp.renderedFrame,a=0,l=e.length;a<=l-1&&!(a===l-1||e[a+1].t>i);)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},Ce.prototype.buildFinalText=function(e){for(var i=[],a=0,l=e.length,h,c,v=!1,A=!1,g="";a<l;)v=A,A=!1,h=e.charCodeAt(a),g=e.charAt(a),no.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?no.isRegionalFlag(e,a)?g=e.substr(a,14):(c=e.charCodeAt(a+1),c>=56320&&c<=57343&&(no.isModifier(h,c)?(g=e.substr(a,2),v=!0):no.isFlagEmoji(e.substr(a,4))?g=e.substr(a,4):g=e.substr(a,2))):h>56319?(c=e.charCodeAt(a+1),no.isVariationSelector(h)&&(v=!0)):no.isZeroWidthJoiner(h)&&(v=!0,A=!0),v?(i[i.length-1]+=g,v=!1):i.push(g),a+=g.length;return i},Ce.prototype.completeTextData=function(e){e.__complete=!0;var i=this.elem.globalData.fontManager,a=this.data,l=[],h,c,v,A=0,g,k=a.m.g,O=0,G=0,T=0,R=[],D=0,M=0,V,L,C=i.getFontByName(e.f),E,S=0,w=tm(C);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var F=e.tr/1e3*e.finalSize,H;if(e.sz)for(var W=!0,et=e.sz[0],Et=e.sz[1],pt,st;W;){st=this.buildFinalText(e.t),pt=0,D=0,c=st.length,F=e.tr/1e3*e.finalSize;var At=-1;for(h=0;h<c;h+=1)H=st[h].charCodeAt(0),v=!1,st[h]===" "?At=h:(H===13||H===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),i.chars?(E=i.getCharData(st[h],C.fStyle,C.fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(st[h],e.f,e.finalSize),D+S>et&&st[h]!==" "?(At===-1?c+=1:h=At,pt+=e.finalLineHeight||e.finalSize*1.2,st.splice(h,At===h?1:0,"\r"),At=-1,D=0):(D+=S,D+=F);pt+=C.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Et<pt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=st,c=e.finalText.length,W=!1)}D=-F,S=0;var ct=0,J;for(h=0;h<c;h+=1)if(v=!1,J=e.finalText[h],H=J.charCodeAt(0),H===13||H===3?(ct=0,R.push(D),M=D>M?D:M,D=-2*F,g="",v=!0,T+=1):g=J,i.chars?(E=i.getCharData(J,C.fStyle,i.getFontByName(e.f).fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(g,e.f,e.finalSize),J===" "?ct+=S+F:(D+=S+F+ct,ct=0),l.push({l:S,an:S,add:O,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(O+=S,g===""||g===" "||h===c-1){for((g===""||g===" ")&&(O-=S);G<=h;)l[G].an=O,l[G].ind=A,l[G].extra=S,G+=1;A+=1,O=0}}else if(k==3){if(O+=S,g===""||h===c-1){for(g===""&&(O-=S);G<=h;)l[G].an=O,l[G].ind=A,l[G].extra=S,G+=1;O=0,A+=1}}else l[A].ind=A,l[A].extra=0,A+=1;if(e.l=l,M=D>M?D:M,R.push(D),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=R;var I=a.a,P,f;L=I.length;var y,Y,$=[];for(V=0;V<L;V+=1){for(P=I[V],P.a.sc&&(e.strokeColorAnim=!0),P.a.sw&&(e.strokeWidthAnim=!0),(P.a.fc||P.a.fh||P.a.fs||P.a.fb)&&(e.fillColorAnim=!0),Y=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[V]=Y,(y==1&&f.val!==""||y==2&&f.val!==""&&f.val!==" "||y==3&&(f.n||f.val==" "||h==c-1)||y==4&&(f.n||h==c-1))&&(P.s.rn===1&&$.push(Y),Y+=1);a.a[V].s.totalChars=Y;var nt=-1,vt;if(P.s.rn===1)for(h=0;h<c;h+=1)f=l[h],nt!=f.anIndexes[V]&&(nt=f.anIndexes[V],vt=$.splice(Math.floor(Math.random()*$.length),1)[0]),f.anIndexes[V]=vt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=C.ascent*e.finalSize/100},Ce.prototype.updateDocumentData=function(e,i){i=i===void 0?this.keysIndex:i;var a=this.copyData({},this.data.d.k[i].s);a=this.copyData(a,e),this.data.d.k[i].s=a,this.recalculate(i),this.setCurrentData(a),this.elem.addDynamicProperty(this)},Ce.prototype.recalculate=function(e){var i=this.data.d.k[e].s;i.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(i)},Ce.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Ce.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Ey=function(){var e=Math.max,i=Math.min,a=Math.floor;function l(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=at.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=at.getProp(c,v.e,0,0,this):this.e={v:100},this.o=at.getProp(c,v.o||{k:0},0,0,this),this.xe=at.getProp(c,v.xe||{k:0},0,0,this),this.ne=at.getProp(c,v.ne||{k:0},0,0,this),this.sm=at.getProp(c,v.sm||{k:100},0,0,this),this.a=at.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}l.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var A=0,g=0,k=1,O=1;this.ne.v>0?A=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:O=1+this.xe.v/100;var G=Qs.getBezierEasing(A,g,k,O).get,T=0,R=this.finalS,D=this.finalE,M=this.data.sh;if(M===2)D===R?T=v>=D?1:0:T=e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T=G(T);else if(M===3)D===R?T=v>=D?0:1:T=1-e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T=G(T);else if(M===4)D===R?T=0:(T=e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=G(T);else if(M===5){if(D===R)T=0;else{var V=D-R;v=i(e(0,v+.5-R),D-R);var L=-V/2+v,C=V/2;T=Math.sqrt(1-L*L/(C*C))}T=G(T)}else M===6?(D===R?T=0:(v=i(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=G(T)):(v>=a(R)&&(v-R<0?T=e(0,i(i(D,1)-(R-v),1)):T=e(0,i(D-v,1))),T=G(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var S=.5-E*.5;T<S?T=0:(T=(T-S)/E,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var A=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/A,k=this.s.v/A+g,O=this.e.v/A+g;if(k>O){var G=k;k=O,O=G}this.finalS=k,this.finalE=O}},N([ce],l);function h(c,v,A){return new l(c,v,A)}return{getTextSelectorProp:h}}();function Ty(e,i,a){var l={propType:!1},h=at.getProp,c=i.a;this.a={r:c.r?h(e,c.r,0,kt,a):l,rx:c.rx?h(e,c.rx,0,kt,a):l,ry:c.ry?h(e,c.ry,0,kt,a):l,sk:c.sk?h(e,c.sk,0,kt,a):l,sa:c.sa?h(e,c.sa,0,kt,a):l,s:c.s?h(e,c.s,1,.01,a):l,a:c.a?h(e,c.a,1,0,a):l,o:c.o?h(e,c.o,0,.01,a):l,p:c.p?h(e,c.p,1,0,a):l,sw:c.sw?h(e,c.sw,0,0,a):l,sc:c.sc?h(e,c.sc,1,0,a):l,fc:c.fc?h(e,c.fc,1,0,a):l,fh:c.fh?h(e,c.fh,0,0,a):l,fs:c.fs?h(e,c.fs,0,.01,a):l,fb:c.fb?h(e,c.fb,0,.01,a):l,t:c.t?h(e,c.t,0,0,a):l},this.s=Ey.getTextSelectorProp(e,i.s,a),this.s.t=i.s.t}function co(e,i,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=i,this._elem=a,this._animatorsData=it(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}co.prototype.searchProperties=function(){var e,i=this._textData.a.length,a,l=at.getProp;for(e=0;e<i;e+=1)a=this._textData.a[e],this._animatorsData[e]=new Ty(this._elem,a,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:l(this._elem,this._textData.p.a,0,0,this),f:l(this._elem,this._textData.p.f,0,0,this),l:l(this._elem,this._textData.p.l,0,0,this),r:l(this._elem,this._textData.p.r,0,0,this),p:l(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=l(this._elem,this._textData.m.a,1,0,this)},co.prototype.getMeasures=function(e,i){if(this.lettersChangedFlag=i,!(!this._mdf&&!this._isFirstFrame&&!i&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var a=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,A=this.renderedLetters.length,g,k,O,G,T=e.l,R,D,M,V,L,C,E,S,w,F,H,W,et,Et,pt;if(this._hasMaskedPath){if(pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var st=pt.v;this._pathData.r.v&&(st=st.reverse()),R={tLength:0,segments:[]},G=st._length-1;var At;for(W=0,O=0;O<G;O+=1)At=Or.buildBezierData(st.v[O],st.v[O+1],[st.o[O][0]-st.v[O][0],st.o[O][1]-st.v[O][1]],[st.i[O+1][0]-st.v[O+1][0],st.i[O+1][1]-st.v[O+1][1]]),R.tLength+=At.segmentLength,R.segments.push(At),W+=At.segmentLength;O=G,pt.v.c&&(At=Or.buildBezierData(st.v[O],st.v[0],[st.o[O][0]-st.v[O][0],st.o[O][1]-st.v[O][1]],[st.i[0][0]-st.v[0][0],st.i[0][1]-st.v[0][1]]),R.tLength+=At.segmentLength,R.segments.push(At),W+=At.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,C=1,V=0,L=!0,F=R.segments,D<0&&pt.v.c)for(R.tLength<Math.abs(D)&&(D=-Math.abs(D)%R.tLength),E=F.length-1,w=F[E].points,C=w.length-1;D<0;)D+=w[C].partialLength,C-=1,C<0&&(E-=1,w=F[E].points,C=w.length-1);w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength}G=T.length,g=0,k=0;var ct=e.finalSize*1.2*.714,J=!0,I,P,f,y,Y;y=l.length;var $,nt=-1,vt,Tt,Ot,Rt=D,te=E,De=C,Mr=-1,Fe,he,Xe,Dt,ht,Qr,ki,Jr,Pr="",ti=this.defaultPropsArray,ei;if(e.j===2||e.j===1){var $e=0,wi=0,Ni=e.j===2?-.5:-1,xr=0,Li=!0;for(O=0;O<G;O+=1)if(T[O].n){for($e&&($e+=wi);xr<O;)T[xr].animatorJustifyOffset=$e,xr+=1;$e=0,Li=!0}else{for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(Li&&e.j===2&&(wi+=I.t.v*Ni),P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?$e+=I.t.v*$[0]*Ni:$e+=I.t.v*$*Ni);Li=!1}for($e&&($e+=wi);xr<O;)T[xr].animatorJustifyOffset=$e,xr+=1}for(O=0;O<G;O+=1){if(c.reset(),Fe=1,T[O].n)g=0,k+=e.yOffset,k+=J?1:0,D=Rt,J=!1,this._hasMaskedPath&&(E=te,C=De,w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength,V=0),Pr="",Jr="",Qr="",ei="",ti=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Mr!==T[O].line){switch(e.j){case 1:D+=W-e.lineWidths[T[O].line];break;case 2:D+=(W-e.lineWidths[T[O].line])/2;break;default:break}Mr=T[O].line}nt!==T[O].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[O].an/2,nt=T[O].ind),D+=a[0]*T[O].an*.005;var Ar=0;for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Ar+=I.p.v[0]*$[0]:Ar+=I.p.v[0]*$),I.a.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Ar+=I.a.v[0]*$[0]:Ar+=I.a.v[0]*$);for(L=!0,this._pathData.a.v&&(D=T[0].an*.5+(W-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(G-1),D+=this._pathData.f.v);L;)V+H>=D+Ar||!w?(et=(D+Ar-V)/M.partialLength,Tt=S.point[0]+(M.point[0]-S.point[0])*et,Ot=S.point[1]+(M.point[1]-S.point[1])*et,c.translate(-a[0]*T[O].an*.005,-(a[1]*ct)*.01),L=!1):w&&(V+=M.partialLength,C+=1,C>=w.length&&(C=0,E+=1,F[E]?w=F[E].points:pt.v.c?(C=0,E=0,w=F[E].points):(V-=M.partialLength,w=null)),w&&(S=M,M=w[C],H=M.partialLength));vt=T[O].an/2-T[O].add,c.translate(-vt,0,0)}else vt=T[O].an/2-T[O].add,c.translate(-vt,0,0),c.translate(-a[0]*T[O].an*.005,-a[1]*ct*.01,0);for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?$.length?D+=I.t.v*$[0]:D+=I.t.v*$:$.length?g+=I.t.v*$[0]:g+=I.t.v*$));for(e.strokeWidthAnim&&(Xe=e.sw||0),e.strokeColorAnim&&(e.sc?he=[e.sc[0],e.sc[1],e.sc[2]]:he=[0,0,0]),e.fillColorAnim&&e.fc&&(Dt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)I=l[f].a,I.a.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?c.translate(-I.a.v[0]*$[0],-I.a.v[1]*$[1],I.a.v[2]*$[2]):c.translate(-I.a.v[0]*$,-I.a.v[1]*$,I.a.v[2]*$));for(f=0;f<y;f+=1)I=l[f].a,I.s.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?c.scale(1+(I.s.v[0]-1)*$[0],1+(I.s.v[1]-1)*$[1],1):c.scale(1+(I.s.v[0]-1)*$,1+(I.s.v[1]-1)*$,1));for(f=0;f<y;f+=1){if(I=l[f].a,P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),I.sk.propType&&($.length?c.skewFromAxis(-I.sk.v*$[0],I.sa.v*$[1]):c.skewFromAxis(-I.sk.v*$,I.sa.v*$)),I.r.propType&&($.length?c.rotateZ(-I.r.v*$[2]):c.rotateZ(-I.r.v*$)),I.ry.propType&&($.length?c.rotateY(I.ry.v*$[1]):c.rotateY(I.ry.v*$)),I.rx.propType&&($.length?c.rotateX(I.rx.v*$[0]):c.rotateX(I.rx.v*$)),I.o.propType&&($.length?Fe+=(I.o.v*$[0]-Fe)*$[0]:Fe+=(I.o.v*$-Fe)*$),e.strokeWidthAnim&&I.sw.propType&&($.length?Xe+=I.sw.v*$[0]:Xe+=I.sw.v*$),e.strokeColorAnim&&I.sc.propType)for(ht=0;ht<3;ht+=1)$.length?he[ht]+=(I.sc.v[ht]-he[ht])*$[0]:he[ht]+=(I.sc.v[ht]-he[ht])*$;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(ht=0;ht<3;ht+=1)$.length?Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$[0]:Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$;I.fh.propType&&($.length?Dt=Cp(Dt,I.fh.v*$[0]):Dt=Cp(Dt,I.fh.v*$)),I.fs.propType&&($.length?Dt=Ip(Dt,I.fs.v*$[0]):Dt=Ip(Dt,I.fs.v*$)),I.fb.propType&&($.length?Dt=_p(Dt,I.fb.v*$[0]):Dt=_p(Dt,I.fb.v*$))}}for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?$.length?c.translate(0,I.p.v[1]*$[0],-I.p.v[2]*$[1]):c.translate(0,I.p.v[1]*$,-I.p.v[2]*$):$.length?c.translate(I.p.v[0]*$[0],I.p.v[1]*$[1],-I.p.v[2]*$[2]):c.translate(I.p.v[0]*$,I.p.v[1]*$,-I.p.v[2]*$));if(e.strokeWidthAnim&&(Qr=Xe<0?0:Xe),e.strokeColorAnim&&(ki="rgb("+Math.round(he[0]*255)+","+Math.round(he[1]*255)+","+Math.round(he[2]*255)+")"),e.fillColorAnim&&e.fc&&(Jr="rgb("+Math.round(Dt[0]*255)+","+Math.round(Dt[1]*255)+","+Math.round(Dt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,a[1]*ct*.01+k,0),this._pathData.p.v){Et=(M.point[1]-S.point[1])/(M.point[0]-S.point[0]);var ho=Math.atan(Et)*180/Math.PI;M.point[0]<S.point[0]&&(ho+=180),c.rotate(-ho*Math.PI/180)}c.translate(Tt,Ot,0),D-=a[0]*T[O].an*.005,T[O+1]&&nt!==T[O+1].ind&&(D+=T[O].an/2,D+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,k,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[O].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[O].line]),0,0);break;case 2:c.translate(T[O].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[O].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(vt,0,0),c.translate(a[0]*T[O].an*.005,a[1]*ct*.01,0),g+=T[O].l+e.tr*.001*e.finalSize}v==="html"?Pr=c.toCSS():v==="svg"?Pr=c.to2dCSS():ti=[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]],ei=Fe}A<=O?(Y=new Gd(ei,Qr,ki,Jr,Pr,ti),this.renderedLetters.push(Y),A+=1,this.lettersChangedFlag=!0):(Y=this.renderedLetters[O],this.lettersChangedFlag=Y.update(ei,Qr,ki,Jr,Pr,ti)||this.lettersChangedFlag)}}},co.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},co.prototype.mHelper=new ve,co.prototype.defaultPropsArray=[],N([ce],co);function nr(){}nr.prototype.initElement=function(e,i,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,i,a),this.textProperty=new Ce(this,e.t,this.dynamicProperties),this.textAnimator=new co(e.t,this.renderType,this),this.initTransform(e,i,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},nr.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},nr.prototype.createPathShape=function(e,i){var a,l=i.length,h,c="";for(a=0;a<l;a+=1)i[a].ty==="sh"&&(h=i[a].ks.k,c+=um(h,h.i.length,!0,e));return c},nr.prototype.updateDocumentData=function(e,i){this.textProperty.updateDocumentData(e,i)},nr.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},nr.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},nr.prototype.applyTextPropertiesToMatrix=function(e,i,a,l,h){switch(e.ps&&i.translate(e.ps[0],e.ps[1]+e.ascent,0),i.translate(0,-e.ls,0),e.j){case 1:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a]),0,0);break;case 2:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a])/2,0,0);break;default:break}i.translate(l,h,0)},nr.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},nr.prototype.emptyProp=new Gd,nr.prototype.destroy=function(){},nr.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var xy={shapes:[]};function Xr(e,i,a){this.textSpans=[],this.renderType="svg",this.initElement(e,i,a)}N([Si,es,aa,rs,Ii,na,nr],Xr),Xr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=xt("text"))},Xr.prototype.buildTextContents=function(e){for(var i=0,a=e.length,l=[],h="";i<a;)e[i]==="\r"||e[i]===""?(l.push(h),h=""):h+=e[i],i+=1;return l.push(h),l},Xr.prototype.buildShapeData=function(e,i){if(e.shapes&&e.shapes.length){var a=e.shapes[0];if(a.it){var l=a.it[a.it.length-1];l.s&&(l.s.k[0]=i,l.s.k[1]=i)}}return e},Xr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,i,a=this.textProperty.currentData;this.renderedLetters=it(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var l=this.globalData.fontManager.getFontByName(a.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=a.fWeight,c=a.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",a.t);var v=a.l||[],A=!!this.globalData.fontManager.chars;i=v.length;var g,k=this.mHelper,O="",G=this.data.singleShape,T=0,R=0,D=!0,M=a.tr*.001*a.finalSize;if(G&&!A&&!a.sz){var V=this.textContainer,L="start";switch(a.j){case 1:L="end";break;case 2:L="middle";break;default:L="start";break}V.setAttribute("text-anchor",L),V.setAttribute("letter-spacing",M);var C=this.buildTextContents(a.finalText);for(i=C.length,R=a.ps?a.ps[1]+a.ascent:0,e=0;e<i;e+=1)g=this.textSpans[e].span||xt("tspan"),g.textContent=C[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",V.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=a.finalLineHeight;this.layerElement.appendChild(V)}else{var E=this.textSpans.length,S;for(e=0;e<i;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!A||!G||e===0){if(g=E>e?this.textSpans[e].span:xt(A?"g":"text"),E<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,A){var w=xt("g");g.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(k.reset(),G&&(v[e].n&&(T=-M,R+=a.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(a,k,v[e].line,T,R),T+=v[e].l||0,T+=M),A){S=this.globalData.fontManager.getCharData(a.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily);var F;if(S.t===1)F=new ca(S.data,this.globalData,this);else{var H=xy;S.data&&S.data.shapes&&(H=this.buildShapeData(S.data,a.finalSize)),F=new qt(H,this.globalData,this)}if(this.textSpans[e].glyph){var W=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(W.layerElement),W.destroy()}this.textSpans[e].glyph=F,F._debug=!0,F.prepareFrame(0),F.renderFrame(),this.textSpans[e].childSpan.appendChild(F.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+a.finalSize/100+","+a.finalSize/100+")")}else G&&g.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}G&&g&&g.setAttribute("d",O)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Xr.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},Xr.prototype.getValue=function(){var e,i=this.textSpans.length,a;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<i;e+=1)a=this.textSpans[e].glyph,a&&(a.prepareFrame(this.comp.renderedFrame-this.data.st),a._mdf&&(this._mdf=!0))},Xr.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,i,a=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var h,c,v;for(e=0;e<i;e+=1)l[e].n||(h=a[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),h._mdf.m&&c.setAttribute("transform",h.m),h._mdf.o&&c.setAttribute("opacity",h.o),h._mdf.sw&&c.setAttribute("stroke-width",h.sw),h._mdf.sc&&c.setAttribute("stroke",h.sc),h._mdf.fc&&c.setAttribute("fill",h.fc))}};function Yd(e,i,a){this.initElement(e,i,a)}N([la],Yd),Yd.prototype.createContent=function(){var e=xt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function Ci(e,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initFrame(),this.initTransform(e,i,a),this.initHierarchy()}Ci.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},Ci.prototype.renderFrame=function(){},Ci.prototype.getBaseElement=function(){return null},Ci.prototype.destroy=function(){},Ci.prototype.sourceRectAtTime=function(){},Ci.prototype.hide=function(){},N([Si,es,rs,Ii],Ci);function oe(){}N([ge],oe),oe.prototype.createNull=function(e){return new Ci(e,this.globalData,this)},oe.prototype.createShape=function(e){return new qt(e,this.globalData,this)},oe.prototype.createText=function(e){return new Xr(e,this.globalData,this)},oe.prototype.createImage=function(e){return new la(e,this.globalData,this)},oe.prototype.createSolid=function(e){return new Yd(e,this.globalData,this)},oe.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 i=this.globalData.defs;this.setupGlobalData(e,i),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var a=xt("clipPath"),l=xt("rect");l.setAttribute("width",e.w),l.setAttribute("height",e.h),l.setAttribute("x",0),l.setAttribute("y",0);var h=Me();a.setAttribute("id",h),a.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),i.appendChild(a),this.layers=e.layers,this.elements=it(e.layers.length)},oe.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,i=this.layers?this.layers.length:0;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},oe.prototype.updateContainerSize=function(){},oe.prototype.findIndexByInd=function(e){var i=0,a=this.layers.length;for(i=0;i<a;i+=1)if(this.layers[i].ind===e)return i;return-1},oe.prototype.buildItem=function(e){var i=this.elements;if(!(i[e]||this.layers[e].ty===99)){i[e]=!0;var a=this.createItem(this.layers[e]);if(i[e]=a,En()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,e),this.layers[e].tt){var l="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(l===-1)return;if(!this.elements[l]||this.elements[l]===!0)this.buildItem(l),this.addPendingElement(a);else{var h=i[l],c=h.getMatte(this.layers[e].tt);a.setMatte(c)}}}},oe.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var i=0,a=this.elements.length;i<a;){if(this.elements[i]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):i-1,h=this.elements[l],c=h.getMatte(this.layers[i].tt);e.setMatte(c);break}i+=1}}},oe.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 i,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf)for(i=0;i<a;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()}},oe.prototype.appendElementInPos=function(e,i){var a=e.getBaseElement();if(a){for(var l=0,h;l<i;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(a,h):this.layerElement.appendChild(a)}},oe.prototype.hide=function(){this.layerElement.style.display="none"},oe.prototype.show=function(){this.layerElement.style.display="block"};function Zr(){}N([Si,es,rs,Ii,na],Zr),Zr.prototype.initElement=function(e,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initTransform(e,i,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!i.progressiveLoad)&&this.buildAllItems(),this.hide()},Zr.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 i=this.tm.v;i===this.data.op&&(i=this.data.op-1),this.renderedFrame=i}var a,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=l-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},Zr.prototype.renderInnerContent=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Zr.prototype.setElements=function(e){this.elements=e},Zr.prototype.getElements=function(){return this.elements},Zr.prototype.destroyElements=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy()},Zr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ca(e,i,a){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?it(this.layers.length):[],this.initElement(e,i,a),this.tm=e.tm?at.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}N([oe,Zr,aa],ca),ca.prototype.createComp=function(e){return new ca(e,this.globalData,this)};function Wd(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=xt("svg");var a="";if(i&&i.title){var l=xt("title"),h=Me();l.setAttribute("id",h),l.textContent=i.title,this.svgElement.appendChild(l),a+=h}if(i&&i.description){var c=xt("desc"),v=Me();c.setAttribute("id",v),c.textContent=i.description,this.svgElement.appendChild(c),a+=" "+v}a&&this.svgElement.setAttribute("aria-labelledby",a);var A=xt("defs");this.svgElement.appendChild(A);var g=xt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:i&&i.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:i&&i.contentVisibility||"visible",progressiveLoad:i&&i.progressiveLoad||!1,hideOnTransparent:!(i&&i.hideOnTransparent===!1),viewBoxOnly:i&&i.viewBoxOnly||!1,viewBoxSize:i&&i.viewBoxSize||!1,className:i&&i.className||"",id:i&&i.id||"",focusable:i&&i.focusable,filterSize:{width:i&&i.filterSize&&i.filterSize.width||"100%",height:i&&i.filterSize&&i.filterSize.height||"100%",x:i&&i.filterSize&&i.filterSize.x||"0%",y:i&&i.filterSize&&i.filterSize.y||"0%"},width:i&&i.width,height:i&&i.height,runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:A,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return N([oe],Wd),Wd.prototype.createComp=function(e){return new ca(e,this.globalData,this)},Ob("svg",Wd),xi.registerModifier("tm",Tr),xi.registerModifier("pb",Js),xi.registerModifier("rp",Rr),xi.registerModifier("rd",ta),xi.registerModifier("zz",ra),xi.registerModifier("op",ia),Mt})});var zn=globalThis,Vn=zn.ShadowRoot&&(zn.ShadyCSS===void 0||zn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Kd=Symbol(),vm=new WeakMap,ha=class{constructor(o,t,r){if(this._$cssResult$=!0,r!==Kd)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o,t=this.t;if(Vn&&o===void 0){let r=t!==void 0&&t.length===1;r&&(o=vm.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),r&&vm.set(t,o))}return o}toString(){return this.cssText}},gm=n=>new ha(typeof n=="string"?n:n+"",void 0,Kd),U=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((r,s,d)=>r+(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.")})(s)+n[d+1],n[0]);return new ha(t,n,Kd)},qd=(n,o)=>{if(Vn)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let r=document.createElement("style"),s=zn.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=t.cssText,n.appendChild(r)}},Bn=Vn?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let r of o.cssRules)t+=r.cssText;return gm(t)})(n):n;var{is:Ny,defineProperty:Ly,getOwnPropertyDescriptor:Oy,getOwnPropertyNames:Ry,getOwnPropertySymbols:My,getPrototypeOf:Py}=Object,Oi=globalThis,bm=Oi.trustedTypes,Dy=bm?bm.emptyScript:"",Xd=Oi.reactiveElementPolyfillSupport,pa=(n,o)=>n,ma={toAttribute(n,o){switch(o){case Boolean:n=n?Dy:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,o){let t=n;switch(o){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},Un=(n,o)=>!Ny(n,o),ym={attribute:!0,type:String,converter:ma,reflect:!1,hasChanged:Un},Em,Tm;(Em=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Tm=Oi.litPropertyMetadata)!=null||(Oi.litPropertyMetadata=new WeakMap);var ri=class extends HTMLElement{static addInitializer(o){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=ym){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(o,r,t);s!==void 0&&Ly(this.prototype,o,s)}}static getPropertyDescriptor(o,t,r){var m;let{get:s,set:d}=(m=Oy(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return s==null?void 0:s.call(this)},set(b){let x=s==null?void 0:s.call(this);d.call(this,b),this.requestUpdate(o,x,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:ym}static _$Ei(){if(this.hasOwnProperty(pa("elementProperties")))return;let o=Py(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(pa("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(pa("properties"))){let t=this.properties,r=[...Ry(t),...My(t)];for(let s of r)this.createProperty(s,t[s])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[r,s]of t)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let s=this._$Eu(t,r);s!==void 0&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let r=new Set(o.flat(1/0).reverse());for(let s of r)t.unshift(Bn(s))}else o!==void 0&&t.push(Bn(o));return t}static _$Eu(o,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t,r;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((r=o.hostConnected)==null||r.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(o.set(r,this[r]),delete this[r]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return qd(o,this.constructor.elementStyles),o}connectedCallback(){var o,t;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(r=>{var s;return(s=r.hostConnected)==null?void 0:s.call(r)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var r;return(r=t.hostDisconnected)==null?void 0:r.call(t)})}attributeChangedCallback(o,t,r){this._$AK(o,r)}_$EC(o,t){var d;let r=this.constructor.elementProperties.get(o),s=this.constructor._$Eu(o,r);if(s!==void 0&&r.reflect===!0){let m=(((d=r.converter)==null?void 0:d.toAttribute)!==void 0?r.converter:ma).toAttribute(t,r.type);this._$Em=o,m==null?this.removeAttribute(s):this.setAttribute(s,m),this._$Em=null}}_$AK(o,t){var d;let r=this.constructor,s=r._$Eh.get(o);if(s!==void 0&&this._$Em!==s){let m=r.getPropertyOptions(s),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:ma;this._$Em=s,this[s]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,r){var s;if(o!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(o)),!((s=r.hasChanged)!=null?s:Un)(this[o],t))return;this.P(o,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,r){var s;this._$AL.has(o)||this._$AL.set(o,t),r.reflect===!0&&this._$Em!==o&&((s=this._$Ej)!=null?s:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,b]of this._$Ep)this[m]=b;this._$Ep=void 0}let d=this.constructor.elementProperties;if(d.size>0)for(let[m,b]of d)b.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],b)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(s=this._$EO)==null||s.forEach(d=>{var m;return(m=d.hostUpdate)==null?void 0:m.call(d)}),this.update(t)):this._$EU()}catch(d){throw o=!1,this._$EU(),d}o&&this._$AE(t)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}},xm;ri.elementStyles=[],ri.shadowRootOptions={mode:"open"},ri[pa("elementProperties")]=new Map,ri[pa("finalized")]=new Map,Xd==null||Xd({ReactiveElement:ri}),((xm=Oi.reactiveElementVersions)!=null?xm:Oi.reactiveElementVersions=[]).push("2.0.4");var fa=globalThis,Hn=fa.trustedTypes,Am=Hn?Hn.createPolicy("lit-html",{createHTML:n=>n}):void 0,Jd="$lit$",ii=`lit$${Math.random().toFixed(9).slice(2)}$`,tc="?"+ii,Fy=`<${tc}>`,uo=document,va=()=>uo.createComment(""),ga=n=>n===null||typeof n!="object"&&typeof n!="function",ec=Array.isArray,Nm=n=>ec(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",Zd=`[
3
- \f\r]`,ua=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Sm=/-->/g,Im=/>/g,po=RegExp(`>|${Zd}(?:([^\\s"'>=/]+)(${Zd}*=${Zd}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),_m=/'/g,Cm=/"/g,Lm=/^(?:script|style|textarea|title)$/i,rc=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),_=rc(1),h0=rc(2),p0=rc(3),be=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),km=new WeakMap,mo=uo.createTreeWalker(uo,129);function Om(n,o){if(!ec(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Am!==void 0?Am.createHTML(o):o}var Rm=(n,o)=>{let t=n.length-1,r=[],s,d=o===2?"<svg>":o===3?"<math>":"",m=ua;for(let b=0;b<t;b++){let x=n[b],N,B,K=-1,Q=0;for(;Q<x.length&&(m.lastIndex=Q,B=m.exec(x),B!==null);)Q=m.lastIndex,m===ua?B[1]==="!--"?m=Sm:B[1]!==void 0?m=Im:B[2]!==void 0?(Lm.test(B[2])&&(s=RegExp("</"+B[2],"g")),m=po):B[3]!==void 0&&(m=po):m===po?B[0]===">"?(m=s!=null?s:ua,K=-1):B[1]===void 0?K=-2:(K=m.lastIndex-B[2].length,N=B[1],m=B[3]===void 0?po:B[3]==='"'?Cm:_m):m===Cm||m===_m?m=po:m===Sm||m===Im?m=ua:(m=po,s=void 0);let X=m===po&&n[b+1].startsWith("/>")?" ":"";d+=m===ua?x+Fy:K>=0?(r.push(N),x.slice(0,K)+Jd+x.slice(K)+ii+X):x+ii+(K===-2?b:X)}return[Om(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),r]},ba=class n{constructor({strings:o,_$litType$:t},r){let s;this.parts=[];let d=0,m=0,b=o.length-1,x=this.parts,[N,B]=Rm(o,t);if(this.el=n.createElement(N,r),mo.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(s=mo.nextNode())!==null&&x.length<b;){if(s.nodeType===1){if(s.hasAttributes())for(let K of s.getAttributeNames())if(K.endsWith(Jd)){let Q=B[m++],X=s.getAttribute(K).split(ii),it=/([.?@])?(.*)/.exec(Q);x.push({type:1,index:d,name:it[2],strings:X,ctor:it[1]==="."?Yn:it[1]==="?"?Wn:it[1]==="@"?jn:vo}),s.removeAttribute(K)}else K.startsWith(ii)&&(x.push({type:6,index:d}),s.removeAttribute(K));if(Lm.test(s.tagName)){let K=s.textContent.split(ii),Q=K.length-1;if(Q>0){s.textContent=Hn?Hn.emptyScript:"";for(let X=0;X<Q;X++)s.append(K[X],va()),mo.nextNode(),x.push({type:2,index:++d});s.append(K[Q],va())}}}else if(s.nodeType===8)if(s.data===tc)x.push({type:2,index:d});else{let K=-1;for(;(K=s.data.indexOf(ii,K+1))!==-1;)x.push({type:7,index:d}),K+=ii.length-1}d++}}static createElement(o,t){let r=uo.createElement("template");return r.innerHTML=o,r}};function fo(n,o,t=n,r){var m,b,x;if(o===be)return o;let s=r!==void 0?(m=t.o)==null?void 0:m[r]:t.l,d=ga(o)?void 0:o._$litDirective$;return(s==null?void 0:s.constructor)!==d&&((b=s==null?void 0:s._$AO)==null||b.call(s,!1),d===void 0?s=void 0:(s=new d(n),s._$AT(n,t,r)),r!==void 0?((x=t.o)!=null?x:t.o=[])[r]=s:t.l=s),s!==void 0&&(o=fo(n,s._$AS(n,o.values),s,r)),o}var Gn=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var N;let{el:{content:t},parts:r}=this._$AD,s=((N=o==null?void 0:o.creationScope)!=null?N:uo).importNode(t,!0);mo.currentNode=s;let d=mo.nextNode(),m=0,b=0,x=r[0];for(;x!==void 0;){if(m===x.index){let B;x.type===2?B=new os(d,d.nextSibling,this,o):x.type===1?B=new x.ctor(d,x.name,x.strings,this,o):x.type===6&&(B=new Kn(d,this,o)),this._$AV.push(B),x=r[++b]}m!==(x==null?void 0:x.index)&&(d=mo.nextNode(),m++)}return mo.currentNode=uo,s}p(o){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(o,r,t),t+=r.strings.length-2):r._$AI(o[t])),t++}},os=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,r,s){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=r,this.options=s,this.v=(d=s==null?void 0:s.isConnected)!=null?d:!0}get parentNode(){let o=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=t.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,t=this){o=fo(this,o,t),ga(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==be&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Nm(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==j&&ga(this._$AH)?this._$AA.nextSibling.data=o:this.T(uo.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:r}=o,s=typeof r=="number"?this._$AC(o):(r.el===void 0&&(r.el=ba.createElement(Om(r.h,r.h[0]),this.options)),r);if(((d=this._$AH)==null?void 0:d._$AD)===s)this._$AH.p(t);else{let m=new Gn(s,this),b=m.u(this.options);m.p(t),this.T(b),this._$AH=m}}_$AC(o){let t=km.get(o.strings);return t===void 0&&km.set(o.strings,t=new ba(o)),t}k(o){ec(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,s=0;for(let d of o)s===t.length?t.push(r=new n(this.O(va()),this.O(va()),this,this.options)):r=t[s],r._$AI(d),s++;s<t.length&&(this._$AR(r&&r._$AB.nextSibling,s),t.length=s)}_$AR(o=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);o&&o!==this._$AB;){let s=o.nextSibling;o.remove(),o=s}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},vo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,r,s,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=s,this.options=d,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=j}_$AI(o,t=this,r,s){let d=this.strings,m=!1;if(d===void 0)o=fo(this,o,t,0),m=!ga(o)||o!==this._$AH&&o!==be,m&&(this._$AH=o);else{let b=o,x,N;for(o=d[0],x=0;x<d.length-1;x++)N=fo(this,b[r+x],t,x),N===be&&(N=this._$AH[x]),m||(m=!ga(N)||N!==this._$AH[x]),N===j?o=j:o!==j&&(o+=(N!=null?N:"")+d[x+1]),this._$AH[x]=N}m&&!s&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Yn=class extends vo{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Wn=class extends vo{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},jn=class extends vo{constructor(o,t,r,s,d){super(o,t,r,s,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=fo(this,o,t,0))!=null?m:j)===be)return;let r=this._$AH,s=o===j&&r!==j||o.capture!==r.capture||o.once!==r.once||o.passive!==r.passive,d=o!==j&&(r===j||s);s&&this.element.removeEventListener(this.name,this,r),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,o):this._$AH.handleEvent(o)}},Kn=class{constructor(o,t,r){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(o){fo(this,o)}},Mm={M:Jd,P:ii,A:tc,C:1,L:Rm,R:Gn,D:Nm,V:fo,I:os,H:vo,N:Wn,U:jn,B:Yn,F:Kn},Qd=fa.litHtmlPolyfillSupport,wm;Qd==null||Qd(ba,os),((wm=fa.litHtmlVersions)!=null?wm:fa.litHtmlVersions=[]).push("3.2.0");var Pm=(n,o,t)=>{var d,m;let r=(d=t==null?void 0:t.renderBefore)!=null?d:o,s=r._$litPart$;if(s===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;r._$litPart$=s=new os(o.insertBefore(va(),b),b,void 0,t!=null?t:{})}return s._$AI(n),s};var Ri=class extends ri{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,r;let o=super.createRenderRoot();return(r=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=o.firstChild),o}update(o){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=Pm(t,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return be}},Dm;Ri._$litElement$=!0,Ri.finalized=!0,(Dm=globalThis.litElementHydrateSupport)==null||Dm.call(globalThis,{LitElement:Ri});var ic=globalThis.litElementPolyfillSupport;ic==null||ic({LitElement:Ri});var Fm;((Fm=globalThis.litElementVersions)!=null?Fm:globalThis.litElementVersions=[]).push("4.1.0");var $y={attribute:!0,type:String,converter:ma,reflect:!1,hasChanged:Un},zy=(n=$y,o,t)=>{let{kind:r,metadata:s}=t,d=globalThis.litPropertyMetadata.get(s);if(d===void 0&&globalThis.litPropertyMetadata.set(s,d=new Map),d.set(t.name,n),r==="accessor"){let{name:m}=t;return{set(b){let x=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,x,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(r==="setter"){let{name:m}=t;return function(b){let x=this[m];o.call(this,b),this.requestUpdate(m,x,n)}}throw Error("Unsupported decorator location: "+r)};function u(n){return(o,t)=>typeof t=="object"?zy(n,o,t):((r,s,d)=>{let m=s.hasOwnProperty(d);return s.constructor.createProperty(d,m?{...r,wrapped:!0}:r),m?Object.getOwnPropertyDescriptor(s,d):void 0})(n,o,t)}function ut(n){return u({...n,state:!0,attribute:!1})}function $m(n){return(o,t)=>{let r=typeof o=="function"?o:o[t];Object.assign(r,n)}}var Dr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function ye(n,o){return(t,r,s)=>{let d=m=>{var b,x;return(x=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?x:null};if(o){let{get:m,set:b}=typeof r=="object"?t:s!=null?s:(()=>{let x=Symbol();return{get(){return this[x]},set(N){this[x]=N}}})();return Dr(t,r,{get(){let x=m.call(this);return x===void 0&&(x=d(this),(x!==null||this.hasUpdated)&&b.call(this,x)),x}})}return Dr(t,r,{get(){return d(this)}})}}var oc;function zm(n){return(o,t)=>Dr(o,t,{get(){var r;return((r=this.renderRoot)!=null?r:oc!=null?oc:oc=document.createDocumentFragment()).querySelectorAll(n)}})}function Pt(n){return(o,t)=>{let{slot:r,selector:s}=n!=null?n:{},d="slot"+(r?`[name=${r}]`:":not([name])");return Dr(o,t,{get(){var x,N;let m=(x=this.renderRoot)==null?void 0:x.querySelector(d),b=(N=m==null?void 0:m.assignedElements(n))!=null?N:[];return s===void 0?b:b.filter(B=>B.matches(s))}})}}function Vm(n){return(o,t)=>{let{slot:r}=n!=null?n:{},s="slot"+(r?`[name=${r}]`:":not([name])");return Dr(o,t,{get(){var m,b;let d=(m=this.renderRoot)==null?void 0:m.querySelector(s);return(b=d==null?void 0:d.assignedNodes(n))!=null?b:[]}})}}var Vy={PREFIX:"mdc",SEPARATOR:"-"},By={NAMESPACE:Vy},sc=By;var Uy=n=>[sc.NAMESPACE.PREFIX,n].join(sc.NAMESPACE.SEPARATOR),z={constructTagName:Uy};var rt={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MAIN:"main",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var Bm=z.constructTagName("buttonsimple"),go={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},ss={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ya={SIZE:go[32],TYPE:ss.BUTTON,ROLE:rt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var oi=z.constructTagName("button"),Ft={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Ea={40:40,32:32,28:28,24:24},lr={64:64,52:52,20:20,...Ea},bo={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},as={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},ze={VARIANT:Ft.PRIMARY,SIZE:Ea[32],COLOR:bo.DEFAULT,TYPE_INTERNAL:as.ICON,TYPE:ss.BUTTON,INVERTED:!1};var qn=n=>{class o extends n{constructor(){super(...arguments);this.variant=ze.VARIANT;this.color=ze.COLOR;this.typeInternal=ze.TYPE_INTERNAL}setVariant(s){this.setAttribute("variant",Object.values(Ft).includes(s)?s:ze.VARIANT)}setColor(s){!Object.values(bo).includes(s)||this.variant===Ft.TERTIARY?this.setAttribute("color",`${ze.COLOR}`):this.setAttribute("color",s)}setSize(s){let m=this.typeInternal===as.ICON?Object.values(lr).includes(s)&&!(s===lr[20]&&this.variant!==Ft.TERTIARY):Object.values(Ea).includes(s);this.setAttribute("size",m?`${s}`:`${ze.SIZE}`)}inferButtonType(){var N,B,K,Q,X,it;let s=(B=(N=this.shadowRoot)==null?void 0:N.querySelector("slot:not([name])"))==null?void 0:B.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,d=(Q=(K=this.shadowRoot)==null?void 0:K.querySelector('slot[name="prefix"]'))==null?void 0:Q.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,m=this.prefixIcon||d&&d>0,b=(it=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:it.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,x=this.postfixIcon||b&&b>0;s&&(m||x)?(this.typeInternal=as.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!s&&(m||x)?(this.typeInternal=as.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=as.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),p([u({type:String})],o.prototype,"variant",2),p([u({type:String})],o.prototype,"color",2),p([ut()],o.prototype,"typeInternal",2),o};var Um=U`
1
+ "use strict";(()=>{var Ay=Object.create;var Wd=Object.defineProperty;var fm=Object.getOwnPropertyDescriptor;var Sy=Object.getOwnPropertyNames;var Iy=Object.getPrototypeOf,_y=Object.prototype.hasOwnProperty;var Cy=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var ky=(n,o,t,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of Sy(o))!_y.call(n,s)&&s!==t&&Wd(n,s,{get:()=>o[s],enumerable:!(r=fm(o,s))||r.enumerable});return n};var wy=(n,o,t)=>(t=n!=null?Ay(Iy(n)):{},ky(o||!n||!n.__esModule?Wd(t,"default",{value:n,enumerable:!0}):t,n));var p=(n,o,t,r)=>{for(var s=r>1?void 0:r?fm(o,t):o,d=n.length-1,m;d>=0;d--)(m=n[d])&&(s=(r?m(o,t,s):m(s))||s);return r&&s&&Wd(o,t,s),s};var gu=Cy((Ca,cl)=>{typeof navigator<"u"&&function(n,o){typeof Ca=="object"&&typeof cl<"u"?cl.exports=o():typeof define=="function"&&define.amd?define(o):(n=typeof globalThis<"u"?globalThis:n||self,n.lottie=o())}(Ca,function(){"use strict";var n="http://www.w3.org/2000/svg",o="",t=!1,r=-999999,s=function(i){t=!!i},d=function(){return t},m=function(i){o=i},b=function(){return o};function x(e){return document.createElement(e)}function N(e,i){var a,l=e.length,h;for(a=0;a<l;a+=1){h=e[a].prototype;for(var c in h)Object.prototype.hasOwnProperty.call(h,c)&&(i.prototype[c]=h[c])}}function B(e,i){return Object.getOwnPropertyDescriptor(e,i)}function K(e){function i(){}return i.prototype=e,i}var Q=function(){function e(i){this.audios=[],this.audioFactory=i,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].pause()},resume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].resume()},setRate:function(a){var l,h=this.audios.length;for(l=0;l<h;l+=1)this.audios[l].setRate(a)},createAudio:function(a){return this.audioFactory?this.audioFactory(a):window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,l=this.audios.length;for(a=0;a<l;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),X=function(){function e(a,l){var h=0,c=[],v;switch(a){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(h=0;h<l;h+=1)c.push(v);return c}function i(a,l){return a==="float32"?new Float32Array(l):a==="int16"?new Int16Array(l):a==="uint8c"?new Uint8ClampedArray(l):e(a,l)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?i:e}();function it(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(a){return typeof a}:dt=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},dt(e)}var lt=!0,bt=null,It=null,Ct="",Yt=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),zt=!1,Wt=Math.pow,Qt=Math.sqrt,de=Math.floor,br=Math.max,Re=Math.min,er={};(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"],i,a=e.length;for(i=0;i<a;i+=1)er[e[i]]=Math[e[i]]})();function yr(){return{}}er.random=Math.random,er.abs=function(e){var i=dt(e);if(i==="object"&&e.length){var a=it(e.length),l,h=e.length;for(l=0;l<h;l+=1)a[l]=Math.abs(e[l]);return a}return Math.abs(e)};var Er=150,kt=Math.PI/180,ue=.5519;function rr(e){zt=!!e}function ir(e){return zt?Math.round(e):e}function or(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 sr(e,i,a,l){this.type=e,this.currentTime=i,this.totalTime=a,this.direction=l<0?-1:1}function yn(e,i){this.type=e,this.direction=i<0?-1:1}function xp(e,i,a,l){this.type=e,this.currentLoop=a,this.totalLoops=i,this.direction=l<0?-1:1}function Ap(e,i,a){this.type=e,this.firstFrame=i,this.totalFrames=a}function Sp(e,i){this.type=e,this.target=i}function Ab(e,i){this.type="renderFrameError",this.nativeError=e,this.currentTime=i}function Sb(e){this.type="configError",this.nativeError=e}function e0(e,i){this.type=e,this.nativeError=i}var Me=function(){var e=0;return function(){return e+=1,Ct+"__lottie_element_"+e}}();function Rd(e,i,a){var l,h,c,v,A,g,k,O;switch(v=Math.floor(e*6),A=e*6-v,g=a*(1-i),k=a*(1-A*i),O=a*(1-(1-A)*i),v%6){case 0:l=a,h=O,c=g;break;case 1:l=k,h=a,c=g;break;case 2:l=g,h=a,c=O;break;case 3:l=g,h=k,c=a;break;case 4:l=O,h=g,c=a;break;case 5:l=a,h=g,c=k;break;default:break}return[l,h,c]}function Md(e,i,a){var l=Math.max(e,i,a),h=Math.min(e,i,a),c=l-h,v,A=l===0?0:c/l,g=l/255;switch(l){case h:v=0;break;case e:v=i-a+c*(i<a?6:0),v/=6*c;break;case i:v=a-e+c*2,v/=6*c;break;case a:v=e-i+c*4,v/=6*c;break;default:break}return[v,A,g]}function Ip(e,i){var a=Md(e[0]*255,e[1]*255,e[2]*255);return a[1]+=i,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),Rd(a[0],a[1],a[2])}function _p(e,i){var a=Md(e[0]*255,e[1]*255,e[2]*255);return a[2]+=i,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),Rd(a[0],a[1],a[2])}function Cp(e,i){var a=Md(e[0]*255,e[1]*255,e[2]*255);return a[0]+=i/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),Rd(a[0],a[1],a[2])}var r0=function(){var e=[],i,a;for(i=0;i<256;i+=1)a=i.toString(16),e[i]=a.length===1?"0"+a:a;return function(l,h,c){return l<0&&(l=0),h<0&&(h=0),c<0&&(c=0),"#"+e[l]+e[h]+e[c]}}(),Ib=function(i){lt=!!i},_b=function(){return lt},Cb=function(i){bt=i},En=function(){return bt},i0=function(i){It=i},kp=function(){return It},Tn=function(i){Er=i},Ks=function(){return Er},kb=function(i){Ct=i},o0=function(){return Ct};function xt(e){return document.createElementNS(n,e)}function xn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xn=function(a){return typeof a}:xn=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},xn(e)}var qs=function(){var e=1,i=[],a,l,h={onmessage:function(){},postMessage:function(R){a({data:R})}},c={postMessage:function(R){h.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&d()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(R);return new Worker(D)}return a=T,h}function A(){l||(l=v(function(R){function D(){function V(J,I){var P,f,y=J.length,Y,$,nt,vt;for(f=0;f<y;f+=1)if(P=J[f],"ks"in P&&!P.completed){if(P.completed=!0,P.hasMask){var Tt=P.masksProperties;for($=Tt.length,Y=0;Y<$;Y+=1)if(Tt[Y].pt.k.i)w(Tt[Y].pt.k);else for(vt=Tt[Y].pt.k.length,nt=0;nt<vt;nt+=1)Tt[Y].pt.k[nt].s&&w(Tt[Y].pt.k[nt].s[0]),Tt[Y].pt.k[nt].e&&w(Tt[Y].pt.k[nt].e[0])}P.ty===0?(P.layers=E(P.refId,I),V(P.layers,I)):P.ty===4?S(P.shapes):P.ty===5&&At(P)}}function L(J,I){if(J){var P=0,f=J.length;for(P=0;P<f;P+=1)J[P].t===1&&(J[P].data.layers=E(J[P].data.refId,I),V(J[P].data.layers,I))}}function C(J,I){for(var P=0,f=I.length;P<f;){if(I[P].id===J)return I[P];P+=1}return null}function E(J,I){var P=C(J,I);return P?P.layers.__used?JSON.parse(JSON.stringify(P.layers)):(P.layers.__used=!0,P.layers):null}function S(J){var I,P=J.length,f,y;for(I=P-1;I>=0;I-=1)if(J[I].ty==="sh")if(J[I].ks.k.i)w(J[I].ks.k);else for(y=J[I].ks.k.length,f=0;f<y;f+=1)J[I].ks.k[f].s&&w(J[I].ks.k[f].s[0]),J[I].ks.k[f].e&&w(J[I].ks.k[f].e[0]);else J[I].ty==="gr"&&S(J[I].it)}function w(J){var I,P=J.i.length;for(I=0;I<P;I+=1)J.i[I][0]+=J.v[I][0],J.i[I][1]+=J.v[I][1],J.o[I][0]+=J.v[I][0],J.o[I][1]+=J.v[I][1]}function F(J,I){var P=I?I.split("."):[100,100,100];return J[0]>P[0]?!0:P[0]>J[0]?!1:J[1]>P[1]?!0:P[1]>J[1]?!1:J[2]>P[2]?!0:P[2]>J[2]?!1:null}var H=function(){var J=[4,4,14];function I(f){var y=f.t.d;f.t.d={k:[{s:y,t:0}]}}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),W=function(){var J=[4,7,99];return function(I){if(I.chars&&!F(J,I.v)){var P,f=I.chars.length;for(P=0;P<f;P+=1){var y=I.chars[P];y.data&&y.data.shapes&&(S(y.data.shapes),y.data.ip=0,y.data.op=99999,y.data.st=0,y.data.sr=1,y.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},I.chars[P].t||(y.data.shapes.push({ty:"no"}),y.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"})))}}}}(),et=function(){var J=[5,7,15];function I(f){var y=f.t.p;typeof y.a=="number"&&(y.a={a:0,k:y.a}),typeof y.p=="number"&&(y.p={a:0,k:y.p}),typeof y.r=="number"&&(y.r={a:0,k:y.r})}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===5&&I(f[y])}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),Et=function(){var J=[4,1,9];function I(f){var y,Y=f.length,$,nt;for(y=0;y<Y;y+=1)if(f[y].ty==="gr")I(f[y].it);else if(f[y].ty==="fl"||f[y].ty==="st")if(f[y].c.k&&f[y].c.k[0].i)for(nt=f[y].c.k.length,$=0;$<nt;$+=1)f[y].c.k[$].s&&(f[y].c.k[$].s[0]/=255,f[y].c.k[$].s[1]/=255,f[y].c.k[$].s[2]/=255,f[y].c.k[$].s[3]/=255),f[y].c.k[$].e&&(f[y].c.k[$].e[0]/=255,f[y].c.k[$].e[1]/=255,f[y].c.k[$].e[2]/=255,f[y].c.k[$].e[3]/=255);else f[y].c.k[0]/=255,f[y].c.k[1]/=255,f[y].c.k[2]/=255,f[y].c.k[3]/=255}function P(f){var y,Y=f.length;for(y=0;y<Y;y+=1)f[y].ty===4&&I(f[y].shapes)}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}(),pt=function(){var J=[4,4,18];function I(f){var y,Y=f.length,$,nt;for(y=Y-1;y>=0;y-=1)if(f[y].ty==="sh")if(f[y].ks.k.i)f[y].ks.k.c=f[y].closed;else for(nt=f[y].ks.k.length,$=0;$<nt;$+=1)f[y].ks.k[$].s&&(f[y].ks.k[$].s[0].c=f[y].closed),f[y].ks.k[$].e&&(f[y].ks.k[$].e[0].c=f[y].closed);else f[y].ty==="gr"&&I(f[y].it)}function P(f){var y,Y,$=f.length,nt,vt,Tt,Ot;for(Y=0;Y<$;Y+=1){if(y=f[Y],y.hasMask){var Rt=y.masksProperties;for(vt=Rt.length,nt=0;nt<vt;nt+=1)if(Rt[nt].pt.k.i)Rt[nt].pt.k.c=Rt[nt].cl;else for(Ot=Rt[nt].pt.k.length,Tt=0;Tt<Ot;Tt+=1)Rt[nt].pt.k[Tt].s&&(Rt[nt].pt.k[Tt].s[0].c=Rt[nt].cl),Rt[nt].pt.k[Tt].e&&(Rt[nt].pt.k[Tt].e[0].c=Rt[nt].cl)}y.ty===4&&I(y.shapes)}}return function(f){if(F(J,f.v)&&(P(f.layers),f.assets)){var y,Y=f.assets.length;for(y=0;y<Y;y+=1)f.assets[y].layers&&P(f.assets[y].layers)}}}();function st(J){J.__complete||(Et(J),H(J),W(J),et(J),pt(J),V(J.layers,J.assets),L(J.chars,J.assets),J.__complete=!0)}function At(J){J.t.a.length===0&&"m"in J.t.p}var ct={};return ct.completeData=st,ct.checkColors=Et,ct.checkChars=W,ct.checkPathProperties=et,ct.checkShapes=pt,ct.completeLayers=V,ct}if(c.dataManager||(c.dataManager=D()),c.assetLoader||(c.assetLoader=function(){function V(C){var E=C.getResponseHeader("content-type");return E&&C.responseType==="json"&&E.indexOf("json")!==-1||C.response&&xn(C.response)==="object"?C.response:C.response&&typeof C.response=="string"?JSON.parse(C.response):C.responseText?JSON.parse(C.responseText):null}function L(C,E,S,w){var F,H=new XMLHttpRequest;try{H.responseType="json"}catch{}H.onreadystatechange=function(){if(H.readyState===4)if(H.status===200)F=V(H),S(F);else try{F=V(H),S(F)}catch(W){w&&w(W)}};try{H.open(["G","E","T"].join(""),C,!0)}catch{H.open(["G","E","T"].join(""),E+"/"+C,!0)}H.send()}return{load:L}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(V){c.dataManager.completeData(V),c.postMessage({id:R.data.id,payload:V,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(V){c.postMessage({id:R.data.id,payload:V,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),l.onmessage=function(T){var R=T.data,D=R.id,M=i[D];i[D]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(T,R){e+=1;var D="processId_"+e;return i[D]={onComplete:T,onError:R},D}function k(T,R,D){A();var M=g(R,D);l.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function O(T,R,D){A();var M=g(R,D);l.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function G(T,R,D){A();var M=g(R,D);l.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:k,loadData:O,completeAnimation:G}}(),wb=function(){var e=function(){var L=x("canvas");L.width=1,L.height=1;var C=L.getContext("2d");return C.fillStyle="rgba(0,0,0,0)",C.fillRect(0,0,1,1),L}();function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function l(L,C,E){var S="";if(L.e)S=L.p;else if(C){var w=L.p;w.indexOf("images/")!==-1&&(w=w.split("/")[1]),S=C+w}else S=E,S+=L.u?L.u:"",S+=L.p;return S}function h(L){var C=0,E=setInterval((function(){var S=L.getBBox();(S.width||C>500)&&(this._imageLoaded(),clearInterval(E)),C+=1}).bind(this),50)}function c(L){var C=l(L,this.assetsPath,this.path),E=xt("image");Yt?this.testImageLoaded(E):E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.setAttributeNS("http://www.w3.org/1999/xlink","href",C),this._elementHelper.append?this._elementHelper.append(E):this._elementHelper.appendChild(E);var S={img:E,assetData:L};return S}function v(L){var C=l(L,this.assetsPath,this.path),E=x("img");E.crossOrigin="anonymous",E.addEventListener("load",this._imageLoaded,!1),E.addEventListener("error",(function(){S.img=e,this._imageLoaded()}).bind(this),!1),E.src=C;var S={img:E,assetData:L};return S}function A(L){var C={assetData:L},E=l(L,this.assetsPath,this.path);return qs.loadData(E,(function(S){C.img=S,this._footageLoaded()}).bind(this),(function(){C.img={},this._footageLoaded()}).bind(this)),C}function g(L,C){this.imagesLoadedCb=C;var E,S=L.length;for(E=0;E<S;E+=1)L[E].layers||(!L[E].t||L[E].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(L[E]))):L[E].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(L[E]))))}function k(L){this.path=L||""}function O(L){this.assetsPath=L||""}function G(L){for(var C=0,E=this.images.length;C<E;){if(this.images[C].assetData===L)return this.images[C].img;C+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function M(L,C){L==="svg"?(this._elementHelper=C,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function V(){this._imageLoaded=i.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=h.bind(this),this.createFootageData=A.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return V.prototype={loadAssets:g,setAssetsPath:O,setPath:k,loadedImages:R,loadedFootages:D,destroy:T,getAsset:G,createImgData:v,createImageData:c,imageLoaded:i,footageLoaded:a,setCacheType:M},V}();function wp(){}wp.prototype={triggerEvent:function(i,a){if(this._cbs[i])for(var l=this._cbs[i],h=0;h<l.length;h+=1)l[h](a)},addEventListener:function(i,a){return this._cbs[i]||(this._cbs[i]=[]),this._cbs[i].push(a),(function(){this.removeEventListener(i,a)}).bind(this)},removeEventListener:function(i,a){if(!a)this._cbs[i]=null;else if(this._cbs[i]){for(var l=0,h=this._cbs[i].length;l<h;)this._cbs[i][l]===a&&(this._cbs[i].splice(l,1),l-=1,h-=1),l+=1;this._cbs[i].length||(this._cbs[i]=null)}}};var Nb=function(){function e(i){for(var a=i.split(`\r
2
+ `),l={},h,c=0,v=0;v<a.length;v+=1)h=a[v].split(":"),h.length===2&&(l[h[0]]=h[1].trim(),c+=1);if(c===0)throw new Error;return l}return function(i){for(var a=[],l=0;l<i.length;l+=1){var h=i[l],c={time:h.tm,duration:h.dr};try{c.payload=JSON.parse(i[l].cm)}catch{try{c.payload=e(i[l].cm)}catch{c.payload={name:i[l].cm}}}a.push(c)}return a}}(),Lb=function(){function e(i){this.compositions.push(i)}return function(){function i(a){for(var l=0,h=this.compositions.length;l<h;){if(this.compositions[l].data&&this.compositions[l].data.nm===a)return this.compositions[l].prepareFrame&&this.compositions[l].data.xt&&this.compositions[l].prepareFrame(this.currentFrame),this.compositions[l].compInterface;l+=1}return null}return i.compositions=[],i.currentFrame=0,i.registerComposition=e,i}}(),Xs={},Ob=function(i,a){Xs[i]=a};function Rb(e){return Xs[e]}function Mb(){if(Xs.canvas)return"canvas";for(var e in Xs)if(Xs[e])return e;return""}function Zs(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Zs=function(a){return typeof a}:Zs=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},Zs(e)}var ft=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=Me(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=_b(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Lb(),this.imagePreloader=new wb,this.audioController=Q(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new sr("drawnFrame",0,0,0),this.expressionsPlugin=En()};N([wp],ft),ft.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var i="svg";e.animType?i=e.animType:e.renderer&&(i=e.renderer);var a=Rb(i);this.renderer=new a(this,e.rendererSettings),this.imagePreloader.setCacheType(i,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=i,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")),qs.loadAnimation(e.path,this.configAnimation,this.onSetupError))},ft.prototype.onSetupError=function(){this.trigger("data_failed")},ft.prototype.setupAnimation=function(e){qs.completeAnimation(e,this.configAnimation)},ft.prototype.setData=function(e,i){i&&Zs(i)!=="object"&&(i=JSON.parse(i));var a={wrapper:e,animationData:i},l=e.attributes;a.path=l.getNamedItem("data-animation-path")?l.getNamedItem("data-animation-path").value:l.getNamedItem("data-bm-path")?l.getNamedItem("data-bm-path").value:l.getNamedItem("bm-path")?l.getNamedItem("bm-path").value:"",a.animType=l.getNamedItem("data-anim-type")?l.getNamedItem("data-anim-type").value:l.getNamedItem("data-bm-type")?l.getNamedItem("data-bm-type").value:l.getNamedItem("bm-type")?l.getNamedItem("bm-type").value:l.getNamedItem("data-bm-renderer")?l.getNamedItem("data-bm-renderer").value:l.getNamedItem("bm-renderer")?l.getNamedItem("bm-renderer").value:Mb()||"canvas";var h=l.getNamedItem("data-anim-loop")?l.getNamedItem("data-anim-loop").value:l.getNamedItem("data-bm-loop")?l.getNamedItem("data-bm-loop").value:l.getNamedItem("bm-loop")?l.getNamedItem("bm-loop").value:"";h==="false"?a.loop=!1:h==="true"?a.loop=!0:h!==""&&(a.loop=parseInt(h,10));var c=l.getNamedItem("data-anim-autoplay")?l.getNamedItem("data-anim-autoplay").value:l.getNamedItem("data-bm-autoplay")?l.getNamedItem("data-bm-autoplay").value:l.getNamedItem("bm-autoplay")?l.getNamedItem("bm-autoplay").value:!0;a.autoplay=c!=="false",a.name=l.getNamedItem("data-name")?l.getNamedItem("data-name").value:l.getNamedItem("data-bm-name")?l.getNamedItem("data-bm-name").value:l.getNamedItem("bm-name")?l.getNamedItem("bm-name").value:"";var v=l.getNamedItem("data-anim-prerender")?l.getNamedItem("data-anim-prerender").value:l.getNamedItem("data-bm-prerender")?l.getNamedItem("data-bm-prerender").value:l.getNamedItem("bm-prerender")?l.getNamedItem("bm-prerender").value:"";v==="false"&&(a.prerender=!1),a.path?this.setParams(a):this.trigger("destroy")},ft.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var i=this.animationData.layers,a,l=i.length,h=e.layers,c,v=h.length;for(c=0;c<v;c+=1)for(a=0;a<l;){if(i[a].id===h[c].id){i[a]=h[c];break}a+=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(l=e.assets.length,a=0;a<l;a+=1)this.animationData.assets.push(e.assets[a]);this.animationData.__complete=!1,qs.completeAnimation(this.animationData,this.onSegmentComplete)},ft.prototype.onSegmentComplete=function(e){this.animationData=e;var i=En();i&&i.initExpressions(this),this.loadNextSegment()},ft.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 i=e.shift();this.timeCompleted=i.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,qs.loadData(a,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},ft.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ft.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ft.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ft.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=Nb(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(i){this.triggerConfigError(i)}},ft.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ft.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=En();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ft.prototype.resize=function(e,i){var a=typeof e=="number"?e:void 0,l=typeof i=="number"?i:void 0;this.renderer.updateContainerSize(a,l)},ft.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},ft.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")},ft.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)}},ft.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")))},ft.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())},ft.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},ft.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ft.prototype.getMarkerData=function(e){for(var i,a=0;a<this.markers.length;a+=1)if(i=this.markers[a],i.payload&&i.payload.name===e)return i;return null},ft.prototype.goToAndStop=function(e,i,a){if(!(a&&this.name!==a)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&this.goToAndStop(h.time,!0)}else i?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},ft.prototype.goToAndPlay=function(e,i,a){if(!(a&&this.name!==a)){var l=Number(e);if(isNaN(l)){var h=this.getMarkerData(e);h&&(h.duration?this.playSegments([h.time,h.time+h.duration],!0):this.goToAndStop(h.time,!0))}else this.goToAndStop(l,i,a);this.play()}},ft.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var i=this.currentRawFrame+e*this.frameModifier,a=!1;i>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(i>this.totalFrames?i%this.totalFrames:0)||(a=!0,i=this.totalFrames-1):i>=this.totalFrames?(this.playCount+=1,this.checkSegments(i%this.totalFrames)||(this.setCurrentRawFrameValue(i%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(i):i<0?this.checkSegments(i%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+i%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(a=!0,i=0)):this.setCurrentRawFrameValue(i),a&&(this.setCurrentRawFrameValue(i),this.pause(),this.trigger("complete"))}},ft.prototype.adjustSegment=function(e,i){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-i)):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+i)),this.trigger("segmentStart")},ft.prototype.setSegment=function(e,i){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?a=e:this.currentRawFrame+this.firstFrame>i&&(a=i-e)),this.firstFrame=e,this.totalFrames=i-e,this.timeCompleted=this.totalFrames,a!==-1&&this.goToAndStop(a,!0)},ft.prototype.playSegments=function(e,i){if(i&&(this.segments.length=0),Zs(e[0])==="object"){var a,l=e.length;for(a=0;a<l;a+=1)this.segments.push(e[a])}else this.segments.push(e);this.segments.length&&i&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ft.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},ft.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},ft.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)},ft.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},ft.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},ft.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},ft.prototype.setLoop=function(e){this.loop=e},ft.prototype.setVolume=function(e,i){i&&this.name!==i||this.audioController.setVolume(e)},ft.prototype.getVolume=function(){return this.audioController.getVolume()},ft.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},ft.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},ft.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ft.prototype.getPath=function(){return this.path},ft.prototype.getAssetsPath=function(e){var i="";if(e.e)i=e.p;else if(this.assetsPath){var a=e.p;a.indexOf("images/")!==-1&&(a=a.split("/")[1]),i=this.assetsPath+a}else i=this.path,i+=e.u?e.u:"",i+=e.p;return i},ft.prototype.getAssetData=function(e){for(var i=0,a=this.assets.length;i<a;){if(e===this.assets[i].id)return this.assets[i];i+=1}return null},ft.prototype.hide=function(){this.renderer.hide()},ft.prototype.show=function(){this.renderer.show()},ft.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},ft.prototype.updateDocumentData=function(e,i,a){try{var l=this.renderer.getElementByPath(e);l.updateDocumentData(i,a)}catch{}},ft.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new sr(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 xp(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new yn(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new Ap(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new Sp(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new sr(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new xp(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new yn(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Ap(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Sp(e,this))},ft.prototype.triggerRenderFrameError=function(e){var i=new Ab(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)},ft.prototype.triggerConfigError=function(e){var i=new Sb(e,this.currentFrame);this.triggerEvent("error",i),this.onError&&this.onError.call(this,i)};var Jt=function(){var e={},i=[],a=0,l=0,h=0,c=!0,v=!1;function A(I){for(var P=0,f=I.target;P<l;)i[P].animation===f&&(i.splice(P,1),P-=1,l-=1,f.isPaused||G()),P+=1}function g(I,P){if(!I)return null;for(var f=0;f<l;){if(i[f].elem===I&&i[f].elem!==null)return i[f].animation;f+=1}var y=new ft;return T(y,I),y.setData(I,P),y}function k(){var I,P=i.length,f=[];for(I=0;I<P;I+=1)f.push(i[I].animation);return f}function O(){h+=1,Et()}function G(){h-=1}function T(I,P){I.addEventListener("destroy",A),I.addEventListener("_active",O),I.addEventListener("_idle",G),i.push({elem:P,animation:I}),l+=1}function R(I){var P=new ft;return T(P,null),P.setParams(I),P}function D(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setSpeed(I,P)}function M(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setDirection(I,P)}function V(I){var P;for(P=0;P<l;P+=1)i[P].animation.play(I)}function L(I){var P=I-a,f;for(f=0;f<l;f+=1)i[f].animation.advanceTime(P);a=I,h&&!v?window.requestAnimationFrame(L):c=!0}function C(I){a=I,window.requestAnimationFrame(L)}function E(I){var P;for(P=0;P<l;P+=1)i[P].animation.pause(I)}function S(I,P,f){var y;for(y=0;y<l;y+=1)i[y].animation.goToAndStop(I,P,f)}function w(I){var P;for(P=0;P<l;P+=1)i[P].animation.stop(I)}function F(I){var P;for(P=0;P<l;P+=1)i[P].animation.togglePause(I)}function H(I){var P;for(P=l-1;P>=0;P-=1)i[P].animation.destroy(I)}function W(I,P,f){var y=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Y,$=y.length;for(Y=0;Y<$;Y+=1)f&&y[Y].setAttribute("data-bm-type",f),g(y[Y],I);if(P&&$===0){f||(f="svg");var nt=document.getElementsByTagName("body")[0];nt.innerText="";var vt=x("div");vt.style.width="100%",vt.style.height="100%",vt.setAttribute("data-bm-type",f),nt.appendChild(vt),g(vt,I)}}function et(){var I;for(I=0;I<l;I+=1)i[I].animation.resize()}function Et(){!v&&h&&c&&(window.requestAnimationFrame(C),c=!1)}function pt(){v=!0}function st(){v=!1,Et()}function At(I,P){var f;for(f=0;f<l;f+=1)i[f].animation.setVolume(I,P)}function ct(I){var P;for(P=0;P<l;P+=1)i[P].animation.mute(I)}function J(I){var P;for(P=0;P<l;P+=1)i[P].animation.unmute(I)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=D,e.setDirection=M,e.play=V,e.pause=E,e.stop=w,e.togglePause=F,e.searchAnimations=W,e.resize=et,e.goToAndStop=S,e.destroy=H,e.freeze=pt,e.unfreeze=st,e.setVolume=At,e.mute=ct,e.unmute=J,e.getRegisteredAnimations=k,e}(),Qs=function(){var e={};e.getBezierEasing=a;var i={};function a(C,E,S,w,F){var H=F||("bez_"+C+"_"+E+"_"+S+"_"+w).replace(/\./g,"p");if(i[H])return i[H];var W=new L([C,E,S,w]);return i[H]=W,W}var l=4,h=.001,c=1e-7,v=10,A=11,g=1/(A-1),k=typeof Float32Array=="function";function O(C,E){return 1-3*E+3*C}function G(C,E){return 3*E-6*C}function T(C){return 3*C}function R(C,E,S){return((O(E,S)*C+G(E,S))*C+T(E))*C}function D(C,E,S){return 3*O(E,S)*C*C+2*G(E,S)*C+T(E)}function M(C,E,S,w,F){var H,W,et=0;do W=E+(S-E)/2,H=R(W,w,F)-C,H>0?S=W:E=W;while(Math.abs(H)>c&&++et<v);return W}function V(C,E,S,w){for(var F=0;F<l;++F){var H=D(E,S,w);if(H===0)return E;var W=R(E,S,w)-C;E-=W/H}return E}function L(C){this._p=C,this._mSampleValues=k?new Float32Array(A):new Array(A),this._precomputed=!1,this.get=this.get.bind(this)}return L.prototype={get:function(E){var S=this._p[0],w=this._p[1],F=this._p[2],H=this._p[3];return this._precomputed||this._precompute(),S===w&&F===H?E:E===0?0:E===1?1:R(this._getTForX(E),w,H)},_precompute:function(){var E=this._p[0],S=this._p[1],w=this._p[2],F=this._p[3];this._precomputed=!0,(E!==S||w!==F)&&this._calcSampleValues()},_calcSampleValues:function(){for(var E=this._p[0],S=this._p[2],w=0;w<A;++w)this._mSampleValues[w]=R(w*g,E,S)},_getTForX:function(E){for(var S=this._p[0],w=this._p[2],F=this._mSampleValues,H=0,W=1,et=A-1;W!==et&&F[W]<=E;++W)H+=g;--W;var Et=(E-F[W])/(F[W+1]-F[W]),pt=H+Et*g,st=D(pt,S,w);return st>=h?V(E,pt,S,w):st===0?pt:M(E,H,H+g,S,w)}},e}(),Np=function(){function e(i){return i.concat(it(i.length))}return{double:e}}(),An=function(){return function(e,i,a){var l=0,h=e,c=it(h),v={newElement:A,release:g};function A(){var k;return l?(l-=1,k=c[l]):k=i(),k}function g(k){l===h&&(c=Np.double(c),h*=2),a&&a(k),c[l]=k,l+=1}return v}}(),Lp=function(){function e(){return{addedLength:0,percents:X("float32",Ks()),lengths:X("float32",Ks())}}return An(8,e)}(),Op=function(){function e(){return{lengths:[],totalLength:0}}function i(a){var l,h=a.lengths.length;for(l=0;l<h;l+=1)Lp.release(a.lengths[l]);a.lengths.length=0}return An(8,e,i)}();function Pb(){var e=Math;function i(T,R,D,M,V,L){var C=T*M+R*V+D*L-V*M-L*T-D*R;return C>-.001&&C<.001}function a(T,R,D,M,V,L,C,E,S){if(D===0&&L===0&&S===0)return i(T,R,M,V,C,E);var w=e.sqrt(e.pow(M-T,2)+e.pow(V-R,2)+e.pow(L-D,2)),F=e.sqrt(e.pow(C-T,2)+e.pow(E-R,2)+e.pow(S-D,2)),H=e.sqrt(e.pow(C-M,2)+e.pow(E-V,2)+e.pow(S-L,2)),W;return w>F?w>H?W=w-F-H:W=H-F-w:H>F?W=H-F-w:W=F-w-H,W>-1e-4&&W<1e-4}var l=function(){return function(T,R,D,M){var V=Ks(),L,C,E,S,w,F=0,H,W=[],et=[],Et=Lp.newElement();for(E=D.length,L=0;L<V;L+=1){for(w=L/(V-1),H=0,C=0;C<E;C+=1)S=Wt(1-w,3)*T[C]+3*Wt(1-w,2)*w*D[C]+3*(1-w)*Wt(w,2)*M[C]+Wt(w,3)*R[C],W[C]=S,et[C]!==null&&(H+=Wt(W[C]-et[C],2)),et[C]=W[C];H&&(H=Qt(H),F+=H),Et.percents[L]=w,Et.lengths[L]=F}return Et.addedLength=F,Et}}();function h(T){var R=Op.newElement(),D=T.c,M=T.v,V=T.o,L=T.i,C,E=T._length,S=R.lengths,w=0;for(C=0;C<E-1;C+=1)S[C]=l(M[C],M[C+1],V[C],L[C+1]),w+=S[C].addedLength;return D&&E&&(S[C]=l(M[C],M[0],V[C],L[0]),w+=S[C].addedLength),R.totalLength=w,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var A=function(){var T={};return function(R,D,M,V){var L=(R[0]+"_"+R[1]+"_"+D[0]+"_"+D[1]+"_"+M[0]+"_"+M[1]+"_"+V[0]+"_"+V[1]).replace(/\./g,"p");if(!T[L]){var C=Ks(),E,S,w,F,H,W=0,et,Et,pt=null;R.length===2&&(R[0]!==D[0]||R[1]!==D[1])&&i(R[0],R[1],D[0],D[1],R[0]+M[0],R[1]+M[1])&&i(R[0],R[1],D[0],D[1],D[0]+V[0],D[1]+V[1])&&(C=2);var st=new c(C);for(w=M.length,E=0;E<C;E+=1){for(Et=it(w),H=E/(C-1),et=0,S=0;S<w;S+=1)F=Wt(1-H,3)*R[S]+3*Wt(1-H,2)*H*(R[S]+M[S])+3*(1-H)*Wt(H,2)*(D[S]+V[S])+Wt(H,3)*D[S],Et[S]=F,pt!==null&&(et+=Wt(Et[S]-pt[S],2));et=Qt(et),W+=et,st.points[E]=new v(et,Et),pt=Et}st.segmentLength=W,T[L]=st}return T[L]}}();function g(T,R){var D=R.percents,M=R.lengths,V=D.length,L=de((V-1)*T),C=T*R.addedLength,E=0;if(L===V-1||L===0||C===M[L])return D[L];for(var S=M[L]>C?-1:1,w=!0;w;)if(M[L]<=C&&M[L+1]>C?(E=(C-M[L])/(M[L+1]-M[L]),w=!1):L+=S,L<0||L>=V-1){if(L===V-1)return D[L];w=!1}return D[L]+(D[L+1]-D[L])*E}function k(T,R,D,M,V,L){var C=g(V,L),E=1-C,S=e.round((E*E*E*T[0]+(C*E*E+E*C*E+E*E*C)*D[0]+(C*C*E+E*C*C+C*E*C)*M[0]+C*C*C*R[0])*1e3)/1e3,w=e.round((E*E*E*T[1]+(C*E*E+E*C*E+E*E*C)*D[1]+(C*C*E+E*C*C+C*E*C)*M[1]+C*C*C*R[1])*1e3)/1e3;return[S,w]}var O=X("float32",8);function G(T,R,D,M,V,L,C){V<0?V=0:V>1&&(V=1);var E=g(V,C);L=L>1?1:L;var S=g(L,C),w,F=T.length,H=1-E,W=1-S,et=H*H*H,Et=E*H*H*3,pt=E*E*H*3,st=E*E*E,At=H*H*W,ct=E*H*W+H*E*W+H*H*S,J=E*E*W+H*E*S+E*H*S,I=E*E*S,P=H*W*W,f=E*W*W+H*S*W+H*W*S,y=E*S*W+H*S*S+E*W*S,Y=E*S*S,$=W*W*W,nt=S*W*W+W*S*W+W*W*S,vt=S*S*W+W*S*S+S*W*S,Tt=S*S*S;for(w=0;w<F;w+=1)O[w*4]=e.round((et*T[w]+Et*D[w]+pt*M[w]+st*R[w])*1e3)/1e3,O[w*4+1]=e.round((At*T[w]+ct*D[w]+J*M[w]+I*R[w])*1e3)/1e3,O[w*4+2]=e.round((P*T[w]+f*D[w]+y*M[w]+Y*R[w])*1e3)/1e3,O[w*4+3]=e.round(($*T[w]+nt*D[w]+vt*M[w]+Tt*R[w])*1e3)/1e3;return O}return{getSegmentsLength:h,getNewSegment:G,getPointInSegment:k,buildBezierData:A,pointOnLine2D:i,pointOnLine3D:a}}var Or=Pb(),so=r,Rp=Math.abs;function Mp(e,i){var a=this.offsetTime,l;this.propType==="multidimensional"&&(l=X("float32",this.pv.length));for(var h=i.lastIndex,c=h,v=this.keyframes.length-1,A=!0,g,k,O;A;){if(g=this.keyframes[c],k=this.keyframes[c+1],c===v-1&&e>=k.t-a){g.h&&(g=k),h=0;break}if(k.t-a>e){h=c;break}c<v-1?c+=1:(h=0,A=!1)}O=this.keyframesMetadata[c]||{};var G,T,R,D,M,V,L=k.t-a,C=g.t-a,E;if(g.to){O.bezierData||(O.bezierData=Or.buildBezierData(g.s,k.s||g.e,g.to,g.ti));var S=O.bezierData;if(e>=L||e<C){var w=e>=L?S.points.length-1:0;for(T=S.points[w].point.length,G=0;G<T;G+=1)l[G]=S.points[w].point[G]}else{O.__fnct?V=O.__fnct:(V=Qs.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,O.__fnct=V),R=V((e-C)/(L-C));var F=S.segmentLength*R,H,W=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastAddedLength:0;for(M=i.lastFrame<e&&i._lastKeyframeIndex===c?i._lastPoint:0,A=!0,D=S.points.length;A;){if(W+=S.points[M].partialLength,F===0||R===0||M===S.points.length-1){for(T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G];break}else if(F>=W&&F<W+S.points[M+1].partialLength){for(H=(F-W)/S.points[M+1].partialLength,T=S.points[M].point.length,G=0;G<T;G+=1)l[G]=S.points[M].point[G]+(S.points[M+1].point[G]-S.points[M].point[G])*H;break}M<D-1?M+=1:A=!1}i._lastPoint=M,i._lastAddedLength=W-S.points[M].partialLength,i._lastKeyframeIndex=c}}else{var et,Et,pt,st,At;if(v=g.s.length,E=k.s||g.e,this.sh&&g.h!==1)if(e>=L)l[0]=E[0],l[1]=E[1],l[2]=E[2];else if(e<=C)l[0]=g.s[0],l[1]=g.s[1],l[2]=g.s[2];else{var ct=Pp(g.s),J=Pp(E),I=(e-C)/(L-C);Fb(l,Db(ct,J,I))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=L?R=1:e<C?R=0:(g.o.x.constructor===Array?(O.__fnct||(O.__fnct=[]),O.__fnct[c]?V=O.__fnct[c]:(et=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],Et=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],pt=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],st=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],V=Qs.getBezierEasing(et,Et,pt,st).get,O.__fnct[c]=V)):O.__fnct?V=O.__fnct:(et=g.o.x,Et=g.o.y,pt=g.i.x,st=g.i.y,V=Qs.getBezierEasing(et,Et,pt,st).get,g.keyframeMetadata=V),R=V((e-C)/(L-C)))),E=k.s||g.e,At=g.h===1?g.s[c]:g.s[c]+(E[c]-g.s[c])*R,this.propType==="multidimensional"?l[c]=At:l=At}return i.lastIndex=h,l}function Db(e,i,a){var l=[],h=e[0],c=e[1],v=e[2],A=e[3],g=i[0],k=i[1],O=i[2],G=i[3],T,R,D,M,V;return R=h*g+c*k+v*O+A*G,R<0&&(R=-R,g=-g,k=-k,O=-O,G=-G),1-R>1e-6?(T=Math.acos(R),D=Math.sin(T),M=Math.sin((1-a)*T)/D,V=Math.sin(a*T)/D):(M=1-a,V=a),l[0]=M*h+V*g,l[1]=M*c+V*k,l[2]=M*v+V*O,l[3]=M*A+V*G,l}function Fb(e,i){var a=i[0],l=i[1],h=i[2],c=i[3],v=Math.atan2(2*l*c-2*a*h,1-2*l*l-2*h*h),A=Math.asin(2*a*l+2*h*c),g=Math.atan2(2*a*c-2*l*h,1-2*a*a-2*h*h);e[0]=v/kt,e[1]=A/kt,e[2]=g/kt}function Pp(e){var i=e[0]*kt,a=e[1]*kt,l=e[2]*kt,h=Math.cos(i/2),c=Math.cos(a/2),v=Math.cos(l/2),A=Math.sin(i/2),g=Math.sin(a/2),k=Math.sin(l/2),O=h*c*v-A*g*k,G=A*g*v+h*c*k,T=A*c*v+h*g*k,R=h*g*v-A*c*k;return[G,T,R,O]}function Dp(){var e=this.comp.renderedFrame-this.offsetTime,i=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==so&&(this._caching.lastFrame>=a&&e>=a||this._caching.lastFrame<i&&e<i))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var l=this.interpolateValue(e,this._caching);this.pv=l}return this._caching.lastFrame=e,this.pv}function Sn(e){var i;if(this.propType==="unidimensional")i=e*this.mult,Rp(this.v-i)>1e-5&&(this.v=i,this._mdf=!0);else for(var a=0,l=this.v.length;a<l;)i=e[a]*this.mult,Rp(this.v[a]-i)>1e-5&&(this.v[a]=i,this._mdf=!0),a+=1}function In(){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,i=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(e=0;e<i;e+=1)a=this.effectsSequence[e](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function _n(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function $b(e,i,a,l){this.propType="unidimensional",this.mult=a||1,this.data=i,this.v=a?i.k*a:i.k,this.pv=i.k,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=In,this.setVValue=Sn,this.addEffect=_n}function zb(e,i,a,l){this.propType="multidimensional",this.mult=a||1,this.data=i,this._mdf=!1,this.elem=e,this.container=l,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var h,c=i.k.length;for(this.v=X("float32",c),this.pv=X("float32",c),this.vel=X("float32",c),h=0;h<c;h+=1)this.v[h]=i.k[h]*this.mult,this.pv[h]=i.k[h];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=In,this.setVValue=Sn,this.addEffect=_n}function Vb(e,i,a,l){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:so,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.v=so,this.pv=so,this._isFirstFrame=!0,this.getValue=In,this.setVValue=Sn,this.interpolateValue=Mp,this.effectsSequence=[Dp.bind(this)],this.addEffect=_n}function Bb(e,i,a,l){this.propType="multidimensional";var h,c=i.k.length,v,A,g,k;for(h=0;h<c-1;h+=1)i.k[h].to&&i.k[h].s&&i.k[h+1]&&i.k[h+1].s&&(v=i.k[h].s,A=i.k[h+1].s,g=i.k[h].to,k=i.k[h].ti,(v.length===2&&!(v[0]===A[0]&&v[1]===A[1])&&Or.pointOnLine2D(v[0],v[1],A[0],A[1],v[0]+g[0],v[1]+g[1])&&Or.pointOnLine2D(v[0],v[1],A[0],A[1],A[0]+k[0],A[1]+k[1])||v.length===3&&!(v[0]===A[0]&&v[1]===A[1]&&v[2]===A[2])&&Or.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Or.pointOnLine3D(v[0],v[1],v[2],A[0],A[1],A[2],A[0]+k[0],A[1]+k[1],A[2]+k[2]))&&(i.k[h].to=null,i.k[h].ti=null),v[0]===A[0]&&v[1]===A[1]&&g[0]===0&&g[1]===0&&k[0]===0&&k[1]===0&&(v.length===2||v[2]===A[2]&&g[2]===0&&k[2]===0)&&(i.k[h].to=null,i.k[h].ti=null));this.effectsSequence=[Dp.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=e,this.container=l,this.comp=e.comp,this.getValue=In,this.setVValue=Sn,this.interpolateValue=Mp,this.frameId=-1;var O=i.k[0].s.length;for(this.v=X("float32",O),this.pv=X("float32",O),h=0;h<O;h+=1)this.v[h]=so,this.pv[h]=so;this._caching={lastFrame:so,lastIndex:0,value:X("float32",O)},this.addEffect=_n}var at=function(){function e(a,l,h,c,v){l.sid&&(l=a.globalData.slotManager.getProp(l));var A;if(!l.k.length)A=new $b(a,l,c,v);else if(typeof l.k[0]=="number")A=new zb(a,l,c,v);else switch(h){case 0:A=new Vb(a,l,c,v);break;case 1:A=new Bb(a,l,c,v);break;default:break}return A.effectsSequence.length&&v.addDynamicProperty(A),A}var i={getProp:e};return i}();function ce(){}ce.prototype={addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&(this.dynamicProperties.push(i),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var i,a=this.dynamicProperties.length;for(i=0;i<a;i+=1)this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(i){this.container=i,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var ao=function(){function e(){return X("float32",2)}return An(8,e)}();function qr(){this.c=!1,this._length=0,this._maxLength=8,this.v=it(this._maxLength),this.o=it(this._maxLength),this.i=it(this._maxLength)}qr.prototype.setPathData=function(e,i){this.c=e,this.setLength(i);for(var a=0;a<i;)this.v[a]=ao.newElement(),this.o[a]=ao.newElement(),this.i[a]=ao.newElement(),a+=1},qr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},qr.prototype.doubleArrayLength=function(){this.v=this.v.concat(it(this._maxLength)),this.i=this.i.concat(it(this._maxLength)),this.o=this.o.concat(it(this._maxLength)),this._maxLength*=2},qr.prototype.setXYAt=function(e,i,a,l,h){var c;switch(this._length=Math.max(this._length,l+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[l]||c[l]&&!h)&&(c[l]=ao.newElement()),c[l][0]=e,c[l][1]=i},qr.prototype.setTripleAt=function(e,i,a,l,h,c,v,A){this.setXYAt(e,i,"v",v,A),this.setXYAt(a,l,"o",v,A),this.setXYAt(h,c,"i",v,A)},qr.prototype.reverse=function(){var e=new qr;e.setPathData(this.c,this._length);var i=this.v,a=this.o,l=this.i,h=0;this.c&&(e.setTripleAt(i[0][0],i[0][1],l[0][0],l[0][1],a[0][0],a[0][1],0,!1),h=1);var c=this._length-1,v=this._length,A;for(A=h;A<v;A+=1)e.setTripleAt(i[c][0],i[c][1],l[c][0],l[c][1],a[c][0],a[c][1],A,!1),c-=1;return e},qr.prototype.length=function(){return this._length};var fe=function(){function e(){return new qr}function i(h){var c=h._length,v;for(v=0;v<c;v+=1)ao.release(h.v[v]),ao.release(h.i[v]),ao.release(h.o[v]),h.v[v]=null,h.i[v]=null,h.o[v]=null;h._length=0,h.c=!1}function a(h){var c=l.newElement(),v,A=h._length===void 0?h.v.length:h._length;for(c.setLength(A),c.c=h.c,v=0;v<A;v+=1)c.setTripleAt(h.v[v][0],h.v[v][1],h.o[v][0],h.o[v][1],h.i[v][0],h.i[v][1],v);return c}var l=An(4,e,i);return l.clone=a,l}();function Pd(){this._length=0,this._maxLength=4,this.shapes=it(this._maxLength)}Pd.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(it(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Pd.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)fe.release(this.shapes[e]);this._length=0};var Zo=function(){var e={newShapeCollection:h,release:c},i=0,a=4,l=it(a);function h(){var v;return i?(i-=1,v=l[i]):v=new Pd,v}function c(v){var A,g=v._length;for(A=0;A<g;A+=1)fe.release(v.shapes[A]);v._length=0,i===a&&(l=Np.double(l),a*=2),l[i]=v,i+=1}return e}(),Cn=function(){var e=-999999;function i(L,C,E){var S=E.lastIndex,w,F,H,W,et,Et,pt,st,At,ct=this.keyframes;if(L<ct[0].t-this.offsetTime)w=ct[0].s[0],H=!0,S=0;else if(L>=ct[ct.length-1].t-this.offsetTime)w=ct[ct.length-1].s?ct[ct.length-1].s[0]:ct[ct.length-2].e[0],H=!0;else{for(var J=S,I=ct.length-1,P=!0,f,y,Y;P&&(f=ct[J],y=ct[J+1],!(y.t-this.offsetTime>L));)J<I-1?J+=1:P=!1;if(Y=this.keyframesMetadata[J]||{},H=f.h===1,S=J,!H){if(L>=y.t-this.offsetTime)st=1;else if(L<f.t-this.offsetTime)st=0;else{var $;Y.__fnct?$=Y.__fnct:($=Qs.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,Y.__fnct=$),st=$((L-(f.t-this.offsetTime))/(y.t-this.offsetTime-(f.t-this.offsetTime)))}F=y.s?y.s[0]:f.e[0]}w=f.s[0]}for(Et=C._length,pt=w.i[0].length,E.lastIndex=S,W=0;W<Et;W+=1)for(et=0;et<pt;et+=1)At=H?w.i[W][et]:w.i[W][et]+(F.i[W][et]-w.i[W][et])*st,C.i[W][et]=At,At=H?w.o[W][et]:w.o[W][et]+(F.o[W][et]-w.o[W][et])*st,C.o[W][et]=At,At=H?w.v[W][et]:w.v[W][et]+(F.v[W][et]-w.v[W][et])*st,C.v[W][et]=At}function a(){var L=this.comp.renderedFrame-this.offsetTime,C=this.keyframes[0].t-this.offsetTime,E=this.keyframes[this.keyframes.length-1].t-this.offsetTime,S=this._caching.lastFrame;return S!==e&&(S<C&&L<C||S>E&&L>E)||(this._caching.lastIndex=S<L?this._caching.lastIndex:0,this.interpolateShape(L,this.pv,this._caching)),this._caching.lastFrame=L,this.pv}function l(){this.paths=this.localShapeCollection}function h(L,C){if(L._length!==C._length||L.c!==C.c)return!1;var E,S=L._length;for(E=0;E<S;E+=1)if(L.v[E][0]!==C.v[E][0]||L.v[E][1]!==C.v[E][1]||L.o[E][0]!==C.o[E][0]||L.o[E][1]!==C.o[E][1]||L.i[E][0]!==C.i[E][0]||L.i[E][1]!==C.i[E][1])return!1;return!0}function c(L){h(this.v,L)||(this.v=fe.clone(L),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){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 L;this.kf?L=this.pv:this.data.ks?L=this.data.ks.k:L=this.data.pt.k;var C,E=this.effectsSequence.length;for(C=0;C<E;C+=1)L=this.effectsSequence[C](L);this.setVValue(L),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function A(L,C,E){this.propType="shape",this.comp=L.comp,this.container=L,this.elem=L,this.data=C,this.k=!1,this.kf=!1,this._mdf=!1;var S=E===3?C.pt.k:C.ks.k;this.v=fe.clone(S),this.pv=fe.clone(this.v),this.localShapeCollection=Zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=l,this.effectsSequence=[]}function g(L){this.effectsSequence.push(L),this.container.addDynamicProperty(this)}A.prototype.interpolateShape=i,A.prototype.getValue=v,A.prototype.setVValue=c,A.prototype.addEffect=g;function k(L,C,E){this.propType="shape",this.comp=L.comp,this.elem=L,this.container=L,this.offsetTime=L.data.st,this.keyframes=E===3?C.pt.k:C.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var S=this.keyframes[0].s[0].i.length;this.v=fe.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,S),this.pv=fe.clone(this.v),this.localShapeCollection=Zo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=l,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[a.bind(this)]}k.prototype.getValue=v,k.prototype.interpolateShape=i,k.prototype.setVValue=c,k.prototype.addEffect=g;var O=function(){var L=ue;function C(E,S){this.v=fe.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Zo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=S.d,this.elem=E,this.comp=E.comp,this.frameId=-1,this.initDynamicPropertyContainer(E),this.p=at.getProp(E,S.p,1,0,this),this.s=at.getProp(E,S.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return C.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var S=this.p.v[0],w=this.p.v[1],F=this.s.v[0]/2,H=this.s.v[1]/2,W=this.d!==3,et=this.v;et.v[0][0]=S,et.v[0][1]=w-H,et.v[1][0]=W?S+F:S-F,et.v[1][1]=w,et.v[2][0]=S,et.v[2][1]=w+H,et.v[3][0]=W?S-F:S+F,et.v[3][1]=w,et.i[0][0]=W?S-F*L:S+F*L,et.i[0][1]=w-H,et.i[1][0]=W?S+F:S-F,et.i[1][1]=w-H*L,et.i[2][0]=W?S+F*L:S-F*L,et.i[2][1]=w+H,et.i[3][0]=W?S-F:S+F,et.i[3][1]=w+H*L,et.o[0][0]=W?S+F*L:S-F*L,et.o[0][1]=w-H,et.o[1][0]=W?S+F:S-F,et.o[1][1]=w+H*L,et.o[2][0]=W?S-F*L:S+F*L,et.o[2][1]=w+H,et.o[3][0]=W?S-F:S+F,et.o[3][1]=w-H*L}},N([ce],C),C}(),G=function(){function L(C,E){this.v=fe.newElement(),this.v.setPathData(!0,0),this.elem=C,this.comp=C.comp,this.data=E,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),E.sy===1?(this.ir=at.getProp(C,E.ir,0,0,this),this.is=at.getProp(C,E.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=at.getProp(C,E.pt,0,0,this),this.p=at.getProp(C,E.p,1,0,this),this.r=at.getProp(C,E.r,0,kt,this),this.or=at.getProp(C,E.or,0,0,this),this.os=at.getProp(C,E.os,0,.01,this),this.localShapeCollection=Zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return L.prototype={reset:l,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var E=Math.floor(this.pt.v)*2,S=Math.PI*2/E,w=!0,F=this.or.v,H=this.ir.v,W=this.os.v,et=this.is.v,Et=2*Math.PI*F/(E*2),pt=2*Math.PI*H/(E*2),st,At,ct,J,I=-Math.PI/2;I+=this.r.v;var P=this.data.d===3?-1:1;for(this.v._length=0,st=0;st<E;st+=1){At=w?F:H,ct=w?W:et,J=w?Et:pt;var f=At*Math.cos(I),y=At*Math.sin(I),Y=f===0&&y===0?0:y/Math.sqrt(f*f+y*y),$=f===0&&y===0?0:-f/Math.sqrt(f*f+y*y);f+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(f,y,f-Y*J*ct*P,y-$*J*ct*P,f+Y*J*ct*P,y+$*J*ct*P,st,!0),w=!w,I+=S*P}},convertPolygonToPath:function(){var E=Math.floor(this.pt.v),S=Math.PI*2/E,w=this.or.v,F=this.os.v,H=2*Math.PI*w/(E*4),W,et=-Math.PI*.5,Et=this.data.d===3?-1:1;for(et+=this.r.v,this.v._length=0,W=0;W<E;W+=1){var pt=w*Math.cos(et),st=w*Math.sin(et),At=pt===0&&st===0?0:st/Math.sqrt(pt*pt+st*st),ct=pt===0&&st===0?0:-pt/Math.sqrt(pt*pt+st*st);pt+=+this.p.v[0],st+=+this.p.v[1],this.v.setTripleAt(pt,st,pt-At*H*F*Et,st-ct*H*F*Et,pt+At*H*F*Et,st+ct*H*F*Et,W,!0),et+=S*Et}this.paths.length=0,this.paths[0]=this.v}},N([ce],L),L}(),T=function(){function L(C,E){this.v=fe.newElement(),this.v.c=!0,this.localShapeCollection=Zo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=C,this.comp=C.comp,this.frameId=-1,this.d=E.d,this.initDynamicPropertyContainer(C),this.p=at.getProp(C,E.p,1,0,this),this.s=at.getProp(C,E.s,1,0,this),this.r=at.getProp(C,E.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return L.prototype={convertRectToPath:function(){var E=this.p.v[0],S=this.p.v[1],w=this.s.v[0]/2,F=this.s.v[1]/2,H=Re(w,F,this.r.v),W=H*(1-ue);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+H,E+w,S-F+W,0,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-W,E+w,S+F-H,1,!0),H!==0?(this.v.setTripleAt(E+w-H,S+F,E+w-H,S+F,E+w-W,S+F,2,!0),this.v.setTripleAt(E-w+H,S+F,E-w+W,S+F,E-w+H,S+F,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-H,E-w,S+F-W,4,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+W,E-w,S-F+H,5,!0),this.v.setTripleAt(E-w+H,S-F,E-w+H,S-F,E-w+W,S-F,6,!0),this.v.setTripleAt(E+w-H,S-F,E+w-W,S-F,E+w-H,S-F,7,!0)):(this.v.setTripleAt(E-w,S+F,E-w+W,S+F,E-w,S+F,2),this.v.setTripleAt(E-w,S-F,E-w,S-F+W,E-w,S-F,3))):(this.v.setTripleAt(E+w,S-F+H,E+w,S-F+W,E+w,S-F+H,0,!0),H!==0?(this.v.setTripleAt(E+w-H,S-F,E+w-H,S-F,E+w-W,S-F,1,!0),this.v.setTripleAt(E-w+H,S-F,E-w+W,S-F,E-w+H,S-F,2,!0),this.v.setTripleAt(E-w,S-F+H,E-w,S-F+H,E-w,S-F+W,3,!0),this.v.setTripleAt(E-w,S+F-H,E-w,S+F-W,E-w,S+F-H,4,!0),this.v.setTripleAt(E-w+H,S+F,E-w+H,S+F,E-w+W,S+F,5,!0),this.v.setTripleAt(E+w-H,S+F,E+w-W,S+F,E+w-H,S+F,6,!0),this.v.setTripleAt(E+w,S+F-H,E+w,S+F-H,E+w,S+F-W,7,!0)):(this.v.setTripleAt(E-w,S-F,E-w+W,S-F,E-w,S-F,1,!0),this.v.setTripleAt(E-w,S+F,E-w,S+F-W,E-w,S+F,2,!0),this.v.setTripleAt(E+w,S+F,E+w-W,S+F,E+w,S+F,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:l},N([ce],L),L}();function R(L,C,E){var S;if(E===3||E===4){var w=E===3?C.pt:C.ks,F=w.k;F.length?S=new k(L,C,E):S=new A(L,C,E)}else E===5?S=new T(L,C):E===6?S=new O(L,C):E===7&&(S=new G(L,C));return S.k&&L.addDynamicProperty(S),S}function D(){return A}function M(){return k}var V={};return V.getShapeProp=R,V.getConstructorFunction=D,V.getKeyframedConstructorFunction=M,V}();var ve=function(){var e=Math.cos,i=Math.sin,a=Math.tan,l=Math.round;function h(){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(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,-Y,0,0,Y,y,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(1,0,0,0,0,y,-Y,0,0,Y,y,0,0,0,0,1)}function A(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,0,Y,0,0,1,0,0,-Y,0,y,0,0,0,0,1)}function g(f){if(f===0)return this;var y=e(f),Y=i(f);return this._t(y,-Y,0,0,Y,y,0,0,0,0,1,0,0,0,0,1)}function k(f,y){return this._t(1,y,f,1,0,0)}function O(f,y){return this.shear(a(f),a(y))}function G(f,y){var Y=e(y),$=i(y);return this._t(Y,$,0,0,-$,Y,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(f),1,0,0,0,0,1,0,0,0,0,1)._t(Y,-$,0,0,$,Y,0,0,0,0,1,0,0,0,0,1)}function T(f,y,Y){return!Y&&Y!==0&&(Y=1),f===1&&y===1&&Y===1?this:this._t(f,0,0,0,0,y,0,0,0,0,Y,0,0,0,0,1)}function R(f,y,Y,$,nt,vt,Tt,Ot,Rt,te,De,Mr,Fe,he,Xe,Dt){return this.props[0]=f,this.props[1]=y,this.props[2]=Y,this.props[3]=$,this.props[4]=nt,this.props[5]=vt,this.props[6]=Tt,this.props[7]=Ot,this.props[8]=Rt,this.props[9]=te,this.props[10]=De,this.props[11]=Mr,this.props[12]=Fe,this.props[13]=he,this.props[14]=Xe,this.props[15]=Dt,this}function D(f,y,Y){return Y=Y||0,f!==0||y!==0||Y!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,y,Y,1):this}function M(f,y,Y,$,nt,vt,Tt,Ot,Rt,te,De,Mr,Fe,he,Xe,Dt){var ht=this.props;if(f===1&&y===0&&Y===0&&$===0&&nt===0&&vt===1&&Tt===0&&Ot===0&&Rt===0&&te===0&&De===1&&Mr===0)return ht[12]=ht[12]*f+ht[15]*Fe,ht[13]=ht[13]*vt+ht[15]*he,ht[14]=ht[14]*De+ht[15]*Xe,ht[15]*=Dt,this._identityCalculated=!1,this;var Qr=ht[0],ki=ht[1],Jr=ht[2],Pr=ht[3],ti=ht[4],ei=ht[5],$e=ht[6],wi=ht[7],Ni=ht[8],xr=ht[9],Li=ht[10],Ar=ht[11],ho=ht[12],Dn=ht[13],Fn=ht[14],$n=ht[15];return ht[0]=Qr*f+ki*nt+Jr*Rt+Pr*Fe,ht[1]=Qr*y+ki*vt+Jr*te+Pr*he,ht[2]=Qr*Y+ki*Tt+Jr*De+Pr*Xe,ht[3]=Qr*$+ki*Ot+Jr*Mr+Pr*Dt,ht[4]=ti*f+ei*nt+$e*Rt+wi*Fe,ht[5]=ti*y+ei*vt+$e*te+wi*he,ht[6]=ti*Y+ei*Tt+$e*De+wi*Xe,ht[7]=ti*$+ei*Ot+$e*Mr+wi*Dt,ht[8]=Ni*f+xr*nt+Li*Rt+Ar*Fe,ht[9]=Ni*y+xr*vt+Li*te+Ar*he,ht[10]=Ni*Y+xr*Tt+Li*De+Ar*Xe,ht[11]=Ni*$+xr*Ot+Li*Mr+Ar*Dt,ht[12]=ho*f+Dn*nt+Fn*Rt+$n*Fe,ht[13]=ho*y+Dn*vt+Fn*te+$n*he,ht[14]=ho*Y+Dn*Tt+Fn*De+$n*Xe,ht[15]=ho*$+Dn*Ot+Fn*Mr+$n*Dt,this._identityCalculated=!1,this}function V(f){var y=f.props;return this.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15])}function L(){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 C(f){for(var y=0;y<16;){if(f.props[y]!==this.props[y])return!1;y+=1}return!0}function E(f){var y;for(y=0;y<16;y+=1)f.props[y]=this.props[y];return f}function S(f){var y;for(y=0;y<16;y+=1)this.props[y]=f[y]}function w(f,y,Y){return{x:f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],y:f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],z:f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}}function F(f,y,Y){return f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12]}function H(f,y,Y){return f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13]}function W(f,y,Y){return f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]}function et(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],y=this.props[5]/f,Y=-this.props[1]/f,$=-this.props[4]/f,nt=this.props[0]/f,vt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,Tt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,Ot=new ve;return Ot.props[0]=y,Ot.props[1]=Y,Ot.props[4]=$,Ot.props[5]=nt,Ot.props[12]=vt,Ot.props[13]=Tt,Ot}function Et(f){var y=this.getInverseMatrix();return y.applyToPointArray(f[0],f[1],f[2]||0)}function pt(f){var y,Y=f.length,$=[];for(y=0;y<Y;y+=1)$[y]=Et(f[y]);return $}function st(f,y,Y){var $=X("float32",6);if(this.isIdentity())$[0]=f[0],$[1]=f[1],$[2]=y[0],$[3]=y[1],$[4]=Y[0],$[5]=Y[1];else{var nt=this.props[0],vt=this.props[1],Tt=this.props[4],Ot=this.props[5],Rt=this.props[12],te=this.props[13];$[0]=f[0]*nt+f[1]*Tt+Rt,$[1]=f[0]*vt+f[1]*Ot+te,$[2]=y[0]*nt+y[1]*Tt+Rt,$[3]=y[0]*vt+y[1]*Ot+te,$[4]=Y[0]*nt+Y[1]*Tt+Rt,$[5]=Y[0]*vt+Y[1]*Ot+te}return $}function At(f,y,Y){var $;return this.isIdentity()?$=[f,y,Y]:$=[f*this.props[0]+y*this.props[4]+Y*this.props[8]+this.props[12],f*this.props[1]+y*this.props[5]+Y*this.props[9]+this.props[13],f*this.props[2]+y*this.props[6]+Y*this.props[10]+this.props[14]],$}function ct(f,y){if(this.isIdentity())return f+","+y;var Y=this.props;return Math.round((f*Y[0]+y*Y[4]+Y[12])*100)/100+","+Math.round((f*Y[1]+y*Y[5]+Y[13])*100)/100}function J(){for(var f=0,y=this.props,Y="matrix3d(",$=1e4;f<16;)Y+=l(y[f]*$)/$,Y+=f===15?")":",",f+=1;return Y}function I(f){var y=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?l(f*y)/y:f}function P(){var f=this.props,y=I(f[0]),Y=I(f[1]),$=I(f[4]),nt=I(f[5]),vt=I(f[12]),Tt=I(f[13]);return"matrix("+y+","+Y+","+$+","+nt+","+vt+","+Tt+")"}return function(){this.reset=h,this.rotate=c,this.rotateX=v,this.rotateY=A,this.rotateZ=g,this.skew=O,this.skewFromAxis=G,this.shear=k,this.scale=T,this.setTransform=R,this.translate=D,this.transform=M,this.multiply=V,this.applyToPoint=w,this.applyToX=F,this.applyToY=H,this.applyToZ=W,this.applyToPointArray=At,this.applyToTriplePoints=st,this.applyToPointStringified=ct,this.toCSS=J,this.to2dCSS=P,this.clone=E,this.cloneFromProps=S,this.equals=C,this.inversePoints=pt,this.inversePoint=Et,this.getInverseMatrix=et,this._t=this.transform,this.isIdentity=L,this._identity=!0,this._identityCalculated=!1,this.props=X("float32",16),this.reset()}}();function kn(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?kn=function(a){return typeof a}:kn=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},kn(e)}var Mt={},wn="__[STANDALONE]__",Fp="__[ANIMATIONDATA]__",$p="";function Ub(e){m(e)}function zp(){wn===!0?Jt.searchAnimations(Fp,wn,$p):Jt.searchAnimations()}function Hb(e){Ib(e)}function Gb(e){kb(e)}function Yb(e){return wn===!0&&(e.animationData=JSON.parse(Fp)),Jt.loadAnimation(e)}function Wb(e){if(typeof e=="string")switch(e){case"high":Tn(200);break;default:case"medium":Tn(50);break;case"low":Tn(10);break}else!isNaN(e)&&e>1&&Tn(e);Ks()>=50?rr(!1):rr(!0)}function jb(){return typeof navigator<"u"}function Kb(e,i){e==="expressions"&&Cb(i)}function qb(e){switch(e){case"propertyFactory":return at;case"shapePropertyFactory":return Cn;case"matrix":return ve;default:return null}}Mt.play=Jt.play,Mt.pause=Jt.pause,Mt.setLocationHref=Ub,Mt.togglePause=Jt.togglePause,Mt.setSpeed=Jt.setSpeed,Mt.setDirection=Jt.setDirection,Mt.stop=Jt.stop,Mt.searchAnimations=zp,Mt.registerAnimation=Jt.registerAnimation,Mt.loadAnimation=Yb,Mt.setSubframeRendering=Hb,Mt.resize=Jt.resize,Mt.goToAndStop=Jt.goToAndStop,Mt.destroy=Jt.destroy,Mt.setQuality=Wb,Mt.inBrowser=jb,Mt.installPlugin=Kb,Mt.freeze=Jt.freeze,Mt.unfreeze=Jt.unfreeze,Mt.setVolume=Jt.setVolume,Mt.mute=Jt.mute,Mt.unmute=Jt.unmute,Mt.getRegisteredAnimations=Jt.getRegisteredAnimations,Mt.useWebWorker=s,Mt.setIDPrefix=Gb,Mt.__getFactory=qb,Mt.version="5.12.2";function Xb(){document.readyState==="complete"&&(clearInterval(Jb),zp())}function Zb(e){for(var i=Vp.split("&"),a=0;a<i.length;a+=1){var l=i[a].split("=");if(decodeURIComponent(l[0])==e)return decodeURIComponent(l[1])}return null}var Vp="";if(wn){var Bp=document.getElementsByTagName("script"),Qb=Bp.length-1,Up=Bp[Qb]||{src:""};Vp=Up.src?Up.src.replace(/^[^\?]+\??/,""):"",$p=Zb("renderer")}var Jb=setInterval(Xb,100);try{!((typeof Ca>"u"?"undefined":kn(Ca))==="object"&&typeof cl<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var xi=function(){var e={},i={};e.registerModifier=a,e.getModifier=l;function a(h,c){i[h]||(i[h]=c)}function l(h,c,v){return new i[h](c,v)}return e}();function ar(){}ar.prototype.initModifierProperties=function(){},ar.prototype.addShapeToModifier=function(){},ar.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var i={shape:e.sh,data:e,localShapeCollection:Zo.newShapeCollection()};this.shapes.push(i),this.addShapeToModifier(i),this._isAnimated&&e.setAsAnimated()}},ar.prototype.init=function(e,i){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i),this.frameId=r,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ar.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},N([ce],ar);function Tr(){}N([ar],Tr),Tr.prototype.initModifierProperties=function(e,i){this.s=at.getProp(e,i.s,0,.01,this),this.e=at.getProp(e,i.e,0,.01,this),this.o=at.getProp(e,i.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=i.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},Tr.prototype.addShapeToModifier=function(e){e.pathsData=[]},Tr.prototype.calculateShapeEdges=function(e,i,a,l,h){var c=[];i<=1?c.push({s:e,e:i}):e>=1?c.push({s:e-1,e:i-1}):(c.push({s:e,e:1}),c.push({s:0,e:i-1}));var v=[],A,g=c.length,k;for(A=0;A<g;A+=1)if(k=c[A],!(k.e*h<l||k.s*h>l+a)){var O,G;k.s*h<=l?O=0:O=(k.s*h-l)/a,k.e*h>=l+a?G=1:G=(k.e*h-l)/a,v.push([O,G])}return v.length||v.push([0,0]),v},Tr.prototype.releasePathsData=function(e){var i,a=e.length;for(i=0;i<a;i+=1)Op.release(e[i]);return e.length=0,e},Tr.prototype.processShapes=function(e){var i,a;if(this._mdf||e){var l=this.o.v%360/360;if(l<0&&(l+=1),this.s.v>1?i=1+l:this.s.v<0?i=0+l:i=this.s.v+l,this.e.v>1?a=1+l:this.e.v<0?a=0+l:a=this.e.v+l,i>a){var h=i;i=a,a=h}i=Math.round(i*1e4)*1e-4,a=Math.round(a*1e4)*1e-4,this.sValue=i,this.eValue=a}else i=this.sValue,a=this.eValue;var c,v,A=this.shapes.length,g,k,O,G,T,R=0;if(a===i)for(v=0;v<A;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(a===1&&i===0||a===0&&i===1){if(this._mdf)for(v=0;v<A;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var D=[],M,V;for(v=0;v<A;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,k=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(O=this.releasePathsData(M.pathsData),g=0;g<k;g+=1)G=Or.getSegmentsLength(c.shapes[g]),O.push(G),T+=G.totalLength;M.totalShapeLength=T,M.pathsData=O}R+=T,M.shape._mdf=!0}var L=i,C=a,E=0,S;for(v=A-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(V=M.localShapeCollection,V.releaseShapes(),this.m===2&&A>1?(S=this.calculateShapeEdges(i,a,M.totalShapeLength,E,R),E+=M.totalShapeLength):S=[[L,C]],k=S.length,g=0;g<k;g+=1){L=S[g][0],C=S[g][1],D.length=0,C<=1?D.push({s:M.totalShapeLength*L,e:M.totalShapeLength*C}):L>=1?D.push({s:M.totalShapeLength*(L-1),e:M.totalShapeLength*(C-1)}):(D.push({s:M.totalShapeLength*L,e:M.totalShapeLength}),D.push({s:0,e:M.totalShapeLength*(C-1)}));var w=this.addShapes(M,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var F=M.shape.paths.shapes[M.shape.paths._length-1];if(F.c){var H=w.pop();this.addPaths(w,V),w=this.addShapes(M,D[1],H)}else this.addPaths(w,V),w=this.addShapes(M,D[1])}this.addPaths(w,V)}}M.shape.paths=V}}},Tr.prototype.addPaths=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)i.addShape(e[a])},Tr.prototype.addSegment=function(e,i,a,l,h,c,v){h.setXYAt(i[0],i[1],"o",c),h.setXYAt(a[0],a[1],"i",c+1),v&&h.setXYAt(e[0],e[1],"v",c),h.setXYAt(l[0],l[1],"v",c+1)},Tr.prototype.addSegmentFromArray=function(e,i,a,l){i.setXYAt(e[1],e[5],"o",a),i.setXYAt(e[2],e[6],"i",a+1),l&&i.setXYAt(e[0],e[4],"v",a),i.setXYAt(e[3],e[7],"v",a+1)},Tr.prototype.addShapes=function(e,i,a){var l=e.pathsData,h=e.shape.paths.shapes,c,v=e.shape.paths._length,A,g,k=0,O,G,T,R,D=[],M,V=!0;for(a?(G=a._length,M=a._length):(a=fe.newElement(),G=0,M=0),D.push(a),c=0;c<v;c+=1){for(T=l[c].lengths,a.c=h[c].c,g=h[c].c?T.length:T.length+1,A=1;A<g;A+=1)if(O=T[A-1],k+O.addedLength<i.s)k+=O.addedLength,a.c=!1;else if(k>i.e){a.c=!1;break}else i.s<=k&&i.e>=k+O.addedLength?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[A],h[c].v[A],a,G,V),V=!1):(R=Or.getNewSegment(h[c].v[A-1],h[c].v[A],h[c].o[A-1],h[c].i[A],(i.s-k)/O.addedLength,(i.e-k)/O.addedLength,T[A-1]),this.addSegmentFromArray(R,a,G,V),V=!1,a.c=!1),k+=O.addedLength,G+=1;if(h[c].c&&T.length){if(O=T[A-1],k<=i.e){var L=T[A-1].addedLength;i.s<=k&&i.e>=k+L?(this.addSegment(h[c].v[A-1],h[c].o[A-1],h[c].i[0],h[c].v[0],a,G,V),V=!1):(R=Or.getNewSegment(h[c].v[A-1],h[c].v[0],h[c].o[A-1],h[c].i[0],(i.s-k)/L,(i.e-k)/L,T[A-1]),this.addSegmentFromArray(R,a,G,V),V=!1,a.c=!1)}else a.c=!1;k+=O.addedLength,G+=1}if(a._length&&(a.setXYAt(a.v[M][0],a.v[M][1],"i",M),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),k>i.e)break;c<v-1&&(a=fe.newElement(),V=!0,D.push(a),G=0)}return D};function Js(){}N([ar],Js),Js.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Js.prototype.processPath=function(e,i){var a=i/100,l=[0,0],h=e._length,c=0;for(c=0;c<h;c+=1)l[0]+=e.v[c][0],l[1]+=e.v[c][1];l[0]/=h,l[1]/=h;var v=fe.newElement();v.c=e.c;var A,g,k,O,G,T;for(c=0;c<h;c+=1)A=e.v[c][0]+(l[0]-e.v[c][0])*a,g=e.v[c][1]+(l[1]-e.v[c][1])*a,k=e.o[c][0]+(l[0]-e.o[c][0])*-a,O=e.o[c][1]+(l[1]-e.o[c][1])*-a,G=e.i[c][0]+(l[0]-e.i[c][0])*-a,T=e.i[c][1]+(l[1]-e.i[c][1])*-a,v.setTripleAt(A,g,k,O,G,T,c);return v},Js.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v;if(v!==0){var A,g;for(a=0;a<l;a+=1){if(A=this.shapes[a],g=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Dd=function(){var e=[0,0];function i(g){var k=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||k,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.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?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function a(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var k;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 O,G;if(k=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(O=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/k,0),G=this.p.getValueAtTime(this.p.keyframes[0].t/k,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(O=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/k,0),G=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/k,0)):(O=this.p.pv,G=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/k,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){O=[],G=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(O[0]=T.getValueAtTime((T.keyframes[0].t+.01)/k,0),O[1]=R.getValueAtTime((R.keyframes[0].t+.01)/k,0),G[0]=T.getValueAtTime(T.keyframes[0].t/k,0),G[1]=R.getValueAtTime(R.keyframes[0].t/k,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(O[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/k,0),O[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/k,0),G[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/k,0),G[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/k,0)):(O=[T.pv,R.pv],G[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/k,T.offsetTime),G[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/k,R.offsetTime))}else G=e,O=G;this.v.rotate(-Math.atan2(O[1]-G[1],O[0]-G[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 l(){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 h(){}function c(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,k,O){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=k,this.v=new ve,this.pre=new ve,this.appliedTransformations=0,this.initDynamicPropertyContainer(O||g),k.p&&k.p.s?(this.px=at.getProp(g,k.p.x,0,0,this),this.py=at.getProp(g,k.p.y,0,0,this),k.p.z&&(this.pz=at.getProp(g,k.p.z,0,0,this))):this.p=at.getProp(g,k.p||{k:[0,0,0]},1,0,this),k.rx){if(this.rx=at.getProp(g,k.rx,0,kt,this),this.ry=at.getProp(g,k.ry,0,kt,this),this.rz=at.getProp(g,k.rz,0,kt,this),k.or.k[0].ti){var G,T=k.or.k.length;for(G=0;G<T;G+=1)k.or.k[G].to=null,k.or.k[G].ti=null}this.or=at.getProp(g,k.or,1,kt,this),this.or.sh=!0}else this.r=at.getProp(g,k.r||{k:0},0,kt,this);k.sk&&(this.sk=at.getProp(g,k.sk,0,kt,this),this.sa=at.getProp(g,k.sa,0,kt,this)),this.a=at.getProp(g,k.a||{k:[0,0,0]},1,0,this),this.s=at.getProp(g,k.s||{k:[100,100,100]},1,.01,this),k.o?this.o=at.getProp(g,k.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:i,getValue:a,precalculateMatrix:l,autoOrient:h},N([ce],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=ce.prototype.addDynamicProperty;function A(g,k,O){return new v(g,k,O)}return{getTransformProperty:A}}();function Rr(){}N([ar],Rr),Rr.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.c=at.getProp(e,i.c,0,null,this),this.o=at.getProp(e,i.o,0,null,this),this.tr=Dd.getTransformProperty(e,i.tr,this),this.so=at.getProp(e,i.tr.so,0,.01,this),this.eo=at.getProp(e,i.tr.eo,0,.01,this),this.data=i,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ve,this.rMatrix=new ve,this.sMatrix=new ve,this.tMatrix=new ve,this.matrix=new ve},Rr.prototype.applyTransforms=function(e,i,a,l,h,c){var v=c?-1:1,A=l.s.v[0]+(1-l.s.v[0])*(1-h),g=l.s.v[1]+(1-l.s.v[1])*(1-h);e.translate(l.p.v[0]*v*h,l.p.v[1]*v*h,l.p.v[2]),i.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),i.rotate(-l.r.v*v*h),i.translate(l.a.v[0],l.a.v[1],l.a.v[2]),a.translate(-l.a.v[0],-l.a.v[1],l.a.v[2]),a.scale(c?1/A:A,c?1/g:g),a.translate(l.a.v[0],l.a.v[1],l.a.v[2])},Rr.prototype.init=function(e,i,a,l){for(this.elem=e,this.arr=i,this.pos=a,this.elemsData=l,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,i[a]);a>0;)a-=1,this._elements.unshift(i[a]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Rr.prototype.resetElements=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i]._processed=!1,e[i].ty==="gr"&&this.resetElements(e[i].it)},Rr.prototype.cloneElements=function(e){var i=JSON.parse(JSON.stringify(e));return this.resetElements(i),i},Rr.prototype.changeGroupRender=function(e,i){var a,l=e.length;for(a=0;a<l;a+=1)e[a]._render=i,e[a].ty==="gr"&&this.changeGroupRender(e[a].it,i)},Rr.prototype.processShapes=function(e){var i,a,l,h,c,v=!1;if(this._mdf||e){var A=Math.ceil(this.c.v);if(this._groups.length<A){for(;this._groups.length<A;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.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,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var k;for(l=0;l<=this._groups.length-1;l+=1){if(k=c<A,this._groups[l]._render=k,this.changeGroupRender(this._groups[l].it,k),!k){var O=this.elemsData[l].it,G=O[O.length-1];G.transform.op.v!==0?(G.transform.op._mdf=!0,G.transform.op.v=0):G.transform.op._mdf=!1}c+=1}this._currentCopies=A;var T=this.o.v,R=T%1,D=T>0?Math.floor(T):Math.ceil(T),M=this.pMatrix.props,V=this.rMatrix.props,L=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var C=0;if(T>0){for(;C<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),C+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),C+=R)}else if(T<0){for(;C>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),C-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),C-=R)}l=this.data.m===1?0:this._currentCopies-1,h=this.data.m===1?1:-1,c=this._currentCopies;for(var E,S;c;){if(i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,S=a.length,i[i.length-1].transform.mProps._mdf=!0,i[i.length-1].transform.op._mdf=!0,i[i.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(l/(this._currentCopies-1)),C!==0){for((l!==0&&h===1||l!==this._currentCopies-1&&h===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(V[0],V[1],V[2],V[3],V[4],V[5],V[6],V[7],V[8],V[9],V[10],V[11],V[12],V[13],V[14],V[15]),this.matrix.transform(L[0],L[1],L[2],L[3],L[4],L[5],L[6],L[7],L[8],L[9],L[10],L[11],L[12],L[13],L[14],L[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]),E=0;E<S;E+=1)a[E]=this.matrix.props[E];this.matrix.reset()}else for(this.matrix.reset(),E=0;E<S;E+=1)a[E]=this.matrix.props[E];C+=1,c-=1,l+=h}}else for(c=this._currentCopies,l=0,h=1;c;)i=this.elemsData[l].it,a=i[i.length-1].transform.mProps.v.props,i[i.length-1].transform.mProps._mdf=!1,i[i.length-1].transform.op._mdf=!1,c-=1,l+=h;return v},Rr.prototype.addShape=function(){};function ta(){}N([ar],ta),ta.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.rd=at.getProp(e,i.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ta.prototype.processPath=function(e,i){var a=fe.newElement();a.c=e.c;var l,h=e._length,c,v,A,g,k,O,G=0,T,R,D,M,V,L;for(l=0;l<h;l+=1)c=e.v[l],A=e.o[l],v=e.i[l],c[0]===A[0]&&c[1]===A[1]&&c[0]===v[0]&&c[1]===v[1]?(l===0||l===h-1)&&!e.c?(a.setTripleAt(c[0],c[1],A[0],A[1],v[0],v[1],G),G+=1):(l===0?g=e.v[h-1]:g=e.v[l-1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),O=k?Math.min(k/2,i)/k:0,V=c[0]+(g[0]-c[0])*O,T=V,L=c[1]-(c[1]-g[1])*O,R=L,D=T-(T-c[0])*ue,M=R-(R-c[1])*ue,a.setTripleAt(T,R,D,M,V,L,G),G+=1,l===h-1?g=e.v[0]:g=e.v[l+1],k=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),O=k?Math.min(k/2,i)/k:0,D=c[0]+(g[0]-c[0])*O,T=D,M=c[1]+(g[1]-c[1])*O,R=M,V=T-(T-c[0])*ue,L=R-(R-c[1])*ue,a.setTripleAt(T,R,D,M,V,L,G),G+=1):(a.setTripleAt(e.v[l][0],e.v[l][1],e.o[l][0],e.o[l][1],e.i[l][0],e.i[l][1],G),G+=1);return a},ta.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.rd.v;if(v!==0){var A,g;for(a=0;a<l;a+=1){if(A=this.shapes[a],g=A.localShapeCollection,!(!A.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),A.shape._mdf=!0,i=A.shape.paths.shapes,c=A.shape.paths._length,h=0;h<c;h+=1)g.addShape(this.processPath(i[h],v));A.shape.paths=A.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Nn(e,i){return Math.abs(e-i)*1e5<=Math.min(Math.abs(e),Math.abs(i))}function Fd(e){return Math.abs(e)<=1e-5}function Hp(e,i,a){return e*(1-a)+i*a}function Ai(e,i,a){return[Hp(e[0],i[0],a),Hp(e[1],i[1],a)]}function ty(e,i,a){if(e===0)return[];var l=i*i-4*e*a;if(l<0)return[];var h=-i/(2*e);if(l===0)return[h];var c=Math.sqrt(l)/(2*e);return[h-c,h+c]}function Gp(e,i,a,l){return[-e+3*i-3*a+l,3*e-6*i+3*a,-3*e+3*i,e]}function Yp(e){return new jt(e,e,e,e,!1)}function jt(e,i,a,l,h){h&&Jo(e,i)&&(i=Ai(e,l,1/3)),h&&Jo(a,l)&&(a=Ai(e,l,2/3));var c=Gp(e[0],i[0],a[0],l[0]),v=Gp(e[1],i[1],a[1],l[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,i,a,l]}jt.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]]},jt.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]]},jt.prototype.tangentAngle=function(e){var i=this.derivative(e);return Math.atan2(i[1],i[0])},jt.prototype.normalAngle=function(e){var i=this.derivative(e);return Math.atan2(i[0],i[1])},jt.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Fd(e))return[];var i=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,a=i*i-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(a<0)return[];var l=Math.sqrt(a);return Fd(l)?l>0&&l<1?[i]:[]:[i-l,i+l].filter(function(h){return h>0&&h<1})},jt.prototype.split=function(e){if(e<=0)return[Yp(this.points[0]),this];if(e>=1)return[this,Yp(this.points[this.points.length-1])];var i=Ai(this.points[0],this.points[1],e),a=Ai(this.points[1],this.points[2],e),l=Ai(this.points[2],this.points[3],e),h=Ai(i,a,e),c=Ai(a,l,e),v=Ai(h,c,e);return[new jt(this.points[0],i,h,v,!0),new jt(v,c,l,this.points[3],!0)]};function Wp(e,i){var a=e.points[0][i],l=e.points[e.points.length-1][i];if(a>l){var h=l;l=a,a=h}for(var c=ty(3*e.a[i],2*e.b[i],e.c[i]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var A=e.point(c[v])[i];A<a?a=A:A>l&&(l=A)}return{min:a,max:l}}jt.prototype.bounds=function(){return{x:Wp(this,0),y:Wp(this,1)}},jt.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 Ln(e,i,a){var l=e.boundingBox();return{cx:l.cx,cy:l.cy,width:l.width,height:l.height,bez:e,t:(i+a)/2,t1:i,t2:a}}function jp(e){var i=e.bez.split(.5);return[Ln(i[0],e.t1,e.t),Ln(i[1],e.t,e.t2)]}function ey(e,i){return Math.abs(e.cx-i.cx)*2<e.width+i.width&&Math.abs(e.cy-i.cy)*2<e.height+i.height}function ea(e,i,a,l,h,c){if(ey(e,i)){if(a>=c||e.width<=l&&e.height<=l&&i.width<=l&&i.height<=l){h.push([e.t,i.t]);return}var v=jp(e),A=jp(i);ea(v[0],A[0],a+1,l,h,c),ea(v[0],A[1],a+1,l,h,c),ea(v[1],A[0],a+1,l,h,c),ea(v[1],A[1],a+1,l,h,c)}}jt.prototype.intersections=function(e,i,a){i===void 0&&(i=2),a===void 0&&(a=7);var l=[];return ea(Ln(this,0,1),Ln(e,0,1),0,i,l,a),l},jt.shapeSegment=function(e,i){var a=(i+1)%e.length();return new jt(e.v[i],e.o[i],e.i[a],e.v[a],!0)},jt.shapeSegmentInverted=function(e,i){var a=(i+1)%e.length();return new jt(e.v[a],e.i[a],e.o[i],e.v[i],!0)};function $d(e,i){return[e[1]*i[2]-e[2]*i[1],e[2]*i[0]-e[0]*i[2],e[0]*i[1]-e[1]*i[0]]}function On(e,i,a,l){var h=[e[0],e[1],1],c=[i[0],i[1],1],v=[a[0],a[1],1],A=[l[0],l[1],1],g=$d($d(h,c),$d(v,A));return Fd(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function Qo(e,i,a){return[e[0]+Math.cos(i)*a,e[1]-Math.sin(i)*a]}function zd(e,i){return Math.hypot(e[0]-i[0],e[1]-i[1])}function Jo(e,i){return Nn(e[0],i[0])&&Nn(e[1],i[1])}function ra(){}N([ar],ra),ra.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amplitude=at.getProp(e,i.s,0,null,this),this.frequency=at.getProp(e,i.r,0,null,this),this.pointsType=at.getProp(e,i.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Kp(e,i,a,l,h,c,v){var A=a-Math.PI/2,g=a+Math.PI/2,k=i[0]+Math.cos(a)*l*h,O=i[1]-Math.sin(a)*l*h;e.setTripleAt(k,O,k+Math.cos(A)*c,O-Math.sin(A)*c,k+Math.cos(g)*v,O-Math.sin(g)*v,e.length())}function ry(e,i){var a=[i[0]-e[0],i[1]-e[1]],l=-Math.PI*.5,h=[Math.cos(l)*a[0]-Math.sin(l)*a[1],Math.sin(l)*a[0]+Math.cos(l)*a[1]];return h}function iy(e,i){var a=i===0?e.length()-1:i-1,l=(i+1)%e.length(),h=e.v[a],c=e.v[l],v=ry(h,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function qp(e,i,a,l,h,c,v){var A=iy(i,a),g=i.v[a%i._length],k=i.v[a===0?i._length-1:a-1],O=i.v[(a+1)%i._length],G=c===2?Math.sqrt(Math.pow(g[0]-k[0],2)+Math.pow(g[1]-k[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-O[0],2)+Math.pow(g[1]-O[1],2)):0;Kp(e,i.v[a%i._length],A,v,l,T/((h+1)*2),G/((h+1)*2),c)}function oy(e,i,a,l,h,c){for(var v=0;v<l;v+=1){var A=(v+1)/(l+1),g=h===2?Math.sqrt(Math.pow(i.points[3][0]-i.points[0][0],2)+Math.pow(i.points[3][1]-i.points[0][1],2)):0,k=i.normalAngle(A),O=i.point(A);Kp(e,O,k,c,a,g/((l+1)*2),g/((l+1)*2),h),c=-c}return c}ra.prototype.processPath=function(e,i,a,l){var h=e._length,c=fe.newElement();if(c.c=e.c,e.c||(h-=1),h===0)return c;var v=-1,A=jt.shapeSegment(e,0);qp(c,e,0,i,a,l,v);for(var g=0;g<h;g+=1)v=oy(c,A,i,a,l,-v),g===h-1&&!e.c?A=null:A=jt.shapeSegment(e,(g+1)%h),qp(c,e,g+1,i,a,l,v);return c},ra.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amplitude.v,A=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var k,O;for(a=0;a<l;a+=1){if(k=this.shapes[a],O=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(O.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)O.addShape(this.processPath(i[h],v,A,g));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Vd(e,i,a){var l=Math.atan2(i[0]-e[0],i[1]-e[1]);return[Qo(e,l,a),Qo(i,l,a)]}function ts(e,i){var a,l,h,c,v,A,g;g=Vd(e.points[0],e.points[1],i),a=g[0],l=g[1],g=Vd(e.points[1],e.points[2],i),h=g[0],c=g[1],g=Vd(e.points[2],e.points[3],i),v=g[0],A=g[1];var k=On(a,l,h,c);k===null&&(k=l);var O=On(v,A,h,c);return O===null&&(O=v),new jt(a,k,O,A)}function Xp(e,i,a,l,h){var c=i.points[3],v=a.points[0];if(l===3||Jo(c,v))return c;if(l===2){var A=-i.tangentAngle(1),g=-a.tangentAngle(0)+Math.PI,k=On(c,Qo(c,A+Math.PI/2,100),v,Qo(v,A+Math.PI/2,100)),O=k?zd(k,c):zd(c,v)/2,G=Qo(c,A,2*O*ue);return e.setXYAt(G[0],G[1],"o",e.length()-1),G=Qo(v,g,2*O*ue),e.setTripleAt(v[0],v[1],v[0],v[1],G[0],G[1],e.length()),v}var T=Jo(c,i.points[2])?i.points[0]:i.points[2],R=Jo(v,a.points[1])?a.points[3]:a.points[1],D=On(T,c,v,R);return D&&zd(D,c)<h?(e.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],e.length()),D):c}function Zp(e,i){var a=e.intersections(i);return a.length&&Nn(a[0][0],1)&&a.shift(),a.length?a[0]:null}function Qp(e,i){var a=e.slice(),l=i.slice(),h=Zp(e[e.length-1],i[0]);return h&&(a[e.length-1]=e[e.length-1].split(h[0])[0],l[0]=i[0].split(h[1])[1]),e.length>1&&i.length>1&&(h=Zp(e[0],i[i.length-1]),h)?[[e[0].split(h[0])[0]],[i[i.length-1].split(h[1])[1]]]:[a,l]}function sy(e){for(var i,a=1;a<e.length;a+=1)i=Qp(e[a-1],e[a]),e[a-1]=i[0],e[a]=i[1];return e.length>1&&(i=Qp(e[e.length-1],e[0]),e[e.length-1]=i[0],e[0]=i[1]),e}function Jp(e,i){var a=e.inflectionPoints(),l,h,c,v;if(a.length===0)return[ts(e,i)];if(a.length===1||Nn(a[1],1))return c=e.split(a[0]),l=c[0],h=c[1],[ts(l,i),ts(h,i)];c=e.split(a[0]),l=c[0];var A=(a[1]-a[0])/(1-a[0]);return c=c[1].split(A),v=c[0],h=c[1],[ts(l,i),ts(v,i),ts(h,i)]}function ia(){}N([ar],ia),ia.prototype.initModifierProperties=function(e,i){this.getValue=this.processKeys,this.amount=at.getProp(e,i.a,0,null,this),this.miterLimit=at.getProp(e,i.ml,0,null,this),this.lineJoin=i.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ia.prototype.processPath=function(e,i,a,l){var h=fe.newElement();h.c=e.c;var c=e.length();e.c||(c-=1);var v,A,g,k=[];for(v=0;v<c;v+=1)g=jt.shapeSegment(e,v),k.push(Jp(g,i));if(!e.c)for(v=c-1;v>=0;v-=1)g=jt.shapeSegmentInverted(e,v),k.push(Jp(g,i));k=sy(k);var O=null,G=null;for(v=0;v<k.length;v+=1){var T=k[v];for(G&&(O=Xp(h,G,T[0],a,l)),G=T[T.length-1],A=0;A<T.length;A+=1)g=T[A],O&&Jo(g.points[0],O)?h.setXYAt(g.points[1][0],g.points[1][1],"o",h.length()-1):h.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],h.length()),h.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],h.length()),O=g.points[3]}return k.length&&Xp(h,G,k[0][0],a,l),h},ia.prototype.processShapes=function(e){var i,a,l=this.shapes.length,h,c,v=this.amount.v,A=this.miterLimit.v,g=this.lineJoin;if(v!==0){var k,O;for(a=0;a<l;a+=1){if(k=this.shapes[a],O=k.localShapeCollection,!(!k.shape._mdf&&!this._mdf&&!e))for(O.releaseShapes(),k.shape._mdf=!0,i=k.shape.paths.shapes,c=k.shape.paths._length,h=0;h<c;h+=1)O.addShape(this.processPath(i[h],v,g,A));k.shape.paths=k.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function tm(e){for(var i=e.fStyle?e.fStyle.split(" "):[],a="normal",l="normal",h=i.length,c,v=0;v<h;v+=1)switch(c=i[v].toLowerCase(),c){case"italic":l="italic";break;case"bold":a="700";break;case"black":a="900";break;case"medium":a="500";break;case"regular":case"normal":a="400";break;case"light":case"thin":a="200";break;default:break}return{style:l,weight:e.fWeight||a}}var no=function(){var e=5e3,i={w:0,size:0,shapes:[],data:{shapes:[]}},a=[];a=a.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 l=127988,h=917631,c=917601,v=917626,A=65039,g=8205,k=127462,O=127487,G=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(I){var P=I.split(","),f,y=P.length,Y=[];for(f=0;f<y;f+=1)P[f]!=="sans-serif"&&P[f]!=="monospace"&&Y.push(P[f]);return Y.join(",")}function R(I,P){var f=x("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=P;var y=x("span");y.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(y),document.body.appendChild(f);var Y=y.offsetWidth;return y.style.fontFamily=T(I)+", "+P,{node:y,w:Y,parent:f}}function D(){var I,P=this.fonts.length,f,y,Y=P;for(I=0;I<P;I+=1)this.fonts[I].loaded?Y-=1:this.fonts[I].fOrigin==="n"||this.fonts[I].origin===0?this.fonts[I].loaded=!0:(f=this.fonts[I].monoCase.node,y=this.fonts[I].monoCase.w,f.offsetWidth!==y?(Y-=1,this.fonts[I].loaded=!0):(f=this.fonts[I].sansCase.node,y=this.fonts[I].sansCase.w,f.offsetWidth!==y&&(Y-=1,this.fonts[I].loaded=!0)),this.fonts[I].loaded&&(this.fonts[I].sansCase.parent.parentNode.removeChild(this.fonts[I].sansCase.parent),this.fonts[I].monoCase.parent.parentNode.removeChild(this.fonts[I].monoCase.parent)));Y!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(I,P){var f=document.body&&P?"svg":"canvas",y,Y=tm(I);if(f==="svg"){var $=xt("text");$.style.fontSize="100px",$.setAttribute("font-family",I.fFamily),$.setAttribute("font-style",Y.style),$.setAttribute("font-weight",Y.weight),$.textContent="1",I.fClass?($.style.fontFamily="inherit",$.setAttribute("class",I.fClass)):$.style.fontFamily=I.fFamily,P.appendChild($),y=$}else{var nt=new OffscreenCanvas(500,500).getContext("2d");nt.font=Y.style+" "+Y.weight+" 100px "+I.fFamily,y=nt}function vt(Tt){return f==="svg"?(y.textContent=Tt,y.getComputedTextLength()):y.measureText(Tt).width}return{measureText:vt}}function V(I,P){if(!I){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=I.list;return}if(!document.body){this.isLoaded=!0,I.list.forEach(function(De){De.helper=M(De),De.cache={}}),this.fonts=I.list;return}var f=I.list,y,Y=f.length,$=Y;for(y=0;y<Y;y+=1){var nt=!0,vt,Tt;if(f[y].loaded=!1,f[y].monoCase=R(f[y].fFamily,"monospace"),f[y].sansCase=R(f[y].fFamily,"sans-serif"),!f[y].fPath)f[y].loaded=!0,$-=1;else if(f[y].fOrigin==="p"||f[y].origin===3){if(vt=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[y].fFamily+'"], style[f-origin="3"][f-family="'+f[y].fFamily+'"]'),vt.length>0&&(nt=!1),nt){var Ot=x("style");Ot.setAttribute("f-forigin",f[y].fOrigin),Ot.setAttribute("f-origin",f[y].origin),Ot.setAttribute("f-family",f[y].fFamily),Ot.type="text/css",Ot.innerText="@font-face {font-family: "+f[y].fFamily+"; font-style: normal; src: url('"+f[y].fPath+"');}",P.appendChild(Ot)}}else if(f[y].fOrigin==="g"||f[y].origin===1){for(vt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Tt=0;Tt<vt.length;Tt+=1)vt[Tt].href.indexOf(f[y].fPath)!==-1&&(nt=!1);if(nt){var Rt=x("link");Rt.setAttribute("f-forigin",f[y].fOrigin),Rt.setAttribute("f-origin",f[y].origin),Rt.type="text/css",Rt.rel="stylesheet",Rt.href=f[y].fPath,document.body.appendChild(Rt)}}else if(f[y].fOrigin==="t"||f[y].origin===2){for(vt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Tt=0;Tt<vt.length;Tt+=1)f[y].fPath===vt[Tt].src&&(nt=!1);if(nt){var te=x("link");te.setAttribute("f-forigin",f[y].fOrigin),te.setAttribute("f-origin",f[y].origin),te.setAttribute("rel","stylesheet"),te.setAttribute("href",f[y].fPath),P.appendChild(te)}}f[y].helper=M(f[y],P),f[y].cache={},this.fonts.push(f[y])}$===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function L(I){if(I){this.chars||(this.chars=[]);var P,f=I.length,y,Y=this.chars.length,$;for(P=0;P<f;P+=1){for(y=0,$=!1;y<Y;)this.chars[y].style===I[P].style&&this.chars[y].fFamily===I[P].fFamily&&this.chars[y].ch===I[P].ch&&($=!0),y+=1;$||(this.chars.push(I[P]),Y+=1)}}}function C(I,P,f){for(var y=0,Y=this.chars.length;y<Y;){if(this.chars[y].ch===I&&this.chars[y].style===P&&this.chars[y].fFamily===f)return this.chars[y];y+=1}return(typeof I=="string"&&I.charCodeAt(0)!==13||!I)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",I,P,f)),i}function E(I,P,f){var y=this.getFontByName(P),Y=I;if(!y.cache[Y]){var $=y.helper;if(I===" "){var nt=$.measureText("|"+I+"|"),vt=$.measureText("||");y.cache[Y]=(nt-vt)/100}else y.cache[Y]=$.measureText(I)/100}return y.cache[Y]*f}function S(I){for(var P=0,f=this.fonts.length;P<f;){if(this.fonts[P].fName===I)return this.fonts[P];P+=1}return this.fonts[0]}function w(I){var P=0,f=I.charCodeAt(0);if(f>=55296&&f<=56319){var y=I.charCodeAt(1);y>=56320&&y<=57343&&(P=(f-55296)*1024+y-56320+65536)}return P}function F(I,P){var f=I.toString(16)+P.toString(16);return G.indexOf(f)!==-1}function H(I){return I===g}function W(I){return I===A}function et(I){var P=w(I);return P>=k&&P<=O}function Et(I){return et(I.substr(0,2))&&et(I.substr(2,2))}function pt(I){return a.indexOf(I)!==-1}function st(I,P){var f=w(I.substr(P,2));if(f!==l)return!1;var y=0;for(P+=2;y<5;){if(f=w(I.substr(P,2)),f<c||f>v)return!1;y+=1,P+=2}return w(I.substr(P,2))===h}function At(){this.isLoaded=!0}var ct=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)};ct.isModifier=F,ct.isZeroWidthJoiner=H,ct.isFlagEmoji=Et,ct.isRegionalCode=et,ct.isCombinedCharacter=pt,ct.isRegionalFlag=st,ct.isVariationSelector=W,ct.BLACK_FLAG_CODE_POINT=l;var J={addChars:L,addFonts:V,getCharData:C,getFontByName:S,measureText:E,checkLoadedFonts:D,setIsLoaded:At};return ct.prototype=J,ct}();function em(e){this.animationData=e}em.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function ay(e){return new em(e)}function Rn(){}Rn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(i){this.renderableComponents.indexOf(i)===-1&&this.renderableComponents.push(i)},removeRenderableComponent:function(i){this.renderableComponents.indexOf(i)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(i),1)},prepareRenderableFrame:function(i){this.checkLayerLimits(i)},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(i){this.data.ip-this.data.st<=i&&this.data.op-this.data.st>i?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 i,a=this.renderableComponents.length;for(i=0;i<a;i+=1)this.renderableComponents[i].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 Bd=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(i){return e[i]||""}}();function ny(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function ly(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function dy(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function cy(e,i,a){this.p=at.getProp(i,e.v,1,0,a)}function hy(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function py(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function my(e,i,a){this.p=at.getProp(i,e.v,0,0,a)}function uy(){this.p={}}function rm(e,i){var a=e.ef||[];this.effectElements=[];var l,h=a.length,c;for(l=0;l<h;l+=1)c=new oa(a[l],i),this.effectElements.push(c)}function oa(e,i){this.init(e,i)}N([ce],oa),oa.prototype.getValue=oa.prototype.iterateDynamicProperties,oa.prototype.init=function(e,i){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(i);var a,l=this.data.ef.length,h,c=this.data.ef;for(a=0;a<l;a+=1){switch(h=null,c[a].ty){case 0:h=new ny(c[a],i,this);break;case 1:h=new ly(c[a],i,this);break;case 2:h=new dy(c[a],i,this);break;case 3:h=new cy(c[a],i,this);break;case 4:case 7:h=new my(c[a],i,this);break;case 10:h=new hy(c[a],i,this);break;case 11:h=new py(c[a],i,this);break;case 5:h=new rm(c[a],i,this);break;default:h=new uy(c[a],i,this);break}h&&this.effectElements.push(h)}};function Si(){}Si.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var i=0,a=this.data.masksProperties.length;i<a;){if(this.data.masksProperties[i].mode!=="n"&&this.data.masksProperties[i].cl!==!1)return!0;i+=1}return!1},initExpressions:function(){var i=kp();if(i){var a=i("layer"),l=i("effects"),h=i("shape"),c=i("text"),v=i("comp");this.layerInterface=a(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var A=l.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(A),this.data.ty===0||this.data.xt?this.compInterface=v(this):this.data.ty===4?(this.layerInterface.shapeInterface=h(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 i=Bd(this.data.bm),a=this.baseElement||this.layerElement;a.style["mix-blend-mode"]=i},initBaseData:function(i,a,l){this.globalData=a,this.comp=l,this.data=i,this.layerId=Me(),this.data.sr||(this.data.sr=1),this.effectsManager=new rm(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ii(){}Ii.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(i,a){var l,h=this.dynamicProperties.length;for(l=0;l<h;l+=1)(a||this._isParent&&this.dynamicProperties[l].propType==="transform")&&(this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(i){this.dynamicProperties.indexOf(i)===-1&&this.dynamicProperties.push(i)}};function _i(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.footageData=i.imageLoader.getAsset(this.assetData),this.initBaseData(e,i,a)}_i.prototype.prepareFrame=function(){},N([Rn,Si,Ii],_i),_i.prototype.getBaseElement=function(){return null},_i.prototype.renderFrame=function(){},_i.prototype.destroy=function(){},_i.prototype.initExpressions=function(){var e=kp();if(e){var i=e("footage");this.layerInterface=i(this)}},_i.prototype.getFootageData=function(){return this.footageData};function Pe(e,i,a){this.initFrame(),this.initRenderable(),this.assetData=i.getAssetData(e.refId),this.initBaseData(e,i,a),this._isPlaying=!1,this._canPlay=!1;var l=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(l),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?at.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0},this.lv=at.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Pe.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var i=this.tm.v;this._currentTime=i}this._volume=this.lv.v[0];var a=this._volume*this._volumeMultiplier;this._previousVolume!==a&&(this._previousVolume=a,this.audio.volume(a))},N([Rn,Si,Ii],Pe),Pe.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))},Pe.prototype.show=function(){},Pe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Pe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Pe.prototype.resume=function(){this._canPlay=!0},Pe.prototype.setRate=function(e){this.audio.rate(e)},Pe.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Pe.prototype.getBaseElement=function(){return null},Pe.prototype.destroy=function(){},Pe.prototype.sourceRectAtTime=function(){},Pe.prototype.initExpressions=function(){};function ge(){}ge.prototype.checkLayers=function(e){var i,a=this.layers.length,l;for(this.completeLayers=!0,i=a-1;i>=0;i-=1)this.elements[i]||(l=this.layers[i],l.ip-l.st<=e-this.layers[i].st&&l.op-l.st>e-this.layers[i].st&&this.buildItem(i)),this.completeLayers=this.elements[i]?this.completeLayers:!1;this.checkPendingElements()},ge.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)}},ge.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ge.prototype.createAudio=function(e){return new Pe(e,this.globalData,this)},ge.prototype.createFootage=function(e){return new _i(e,this.globalData,this)},ge.prototype.buildAllItems=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.buildItem(e);this.checkPendingElements()},ge.prototype.includeLayers=function(e){this.completeLayers=!1;var i,a=e.length,l,h=this.layers.length;for(i=0;i<a;i+=1)for(l=0;l<h;){if(this.layers[l].id===e[i].id){this.layers[l]=e[i];break}l+=1}},ge.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},ge.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ge.prototype.buildElementParenting=function(e,i,a){for(var l=this.elements,h=this.layers,c=0,v=h.length;c<v;)h[c].ind==i&&(!l[c]||l[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(a.push(l[c]),l[c].setAsParent(),h[c].parent!==void 0?this.buildElementParenting(e,h[c].parent,a):e.setHierarchy(a))),c+=1},ge.prototype.addPendingElement=function(e){this.pendingElements.push(e)},ge.prototype.searchExtraCompositions=function(e){var i,a=e.length;for(i=0;i<a;i+=1)if(e[i].xt){var l=this.createComp(e[i]);l.initExpressions(),this.globalData.projectInterface.registerComposition(l)}},ge.prototype.getElementById=function(e){var i,a=this.elements.length;for(i=0;i<a;i+=1)if(this.elements[i].data.ind===e)return this.elements[i];return null},ge.prototype.getElementByPath=function(e){var i=e.shift(),a;if(typeof i=="number")a=this.elements[i];else{var l,h=this.elements.length;for(l=0;l<h;l+=1)if(this.elements[l].data.nm===i){a=this.elements[l];break}}return e.length===0?a:a.getElementByPath(e)},ge.prototype.setupGlobalData=function(e,i){this.globalData.fontManager=new no,this.globalData.slotManager=ay(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,i),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 fy={TRANSFORM_EFFECT:"transformEFfect"};function es(){}es.prototype={initTransform:function(){var i=new ve;this.finalTransform={mProp:this.data.ks?Dd.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:i,localMat:i,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 i,a=this.finalTransform.mat,l=0,h=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;l<h;){if(this.hierarchy[l].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}l+=1}if(this.finalTransform._matMdf)for(i=this.finalTransform.mProp.v.props,a.cloneFromProps(i),l=0;l<h;l+=1)a.multiply(this.hierarchy[l].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 i=0,a=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;i<a;)this.localTransforms[i]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[i]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),i+=1;if(this.finalTransform._localMatMdf){var l=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(l),i=1;i<a;i+=1){var h=this.localTransforms[i].matrix;l.multiply(h)}l.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(i=0;i<a;i+=1)c*=this.localTransforms[i].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var i=this.renderableEffectsManager.getEffects(fy.TRANSFORM_EFFECT);if(i.length){this.localTransforms=[],this.finalTransform.localMat=new ve;var a=0,l=i.length;for(a=0;a<l;a+=1)this.localTransforms.push(i[a])}}},globalToLocal:function(i){var a=[];a.push(this.finalTransform);for(var l=!0,h=this.comp;l;)h.finalTransform?(h.data.hasMask&&a.splice(0,0,h.finalTransform),h=h.comp):l=!1;var c,v=a.length,A;for(c=0;c<v;c+=1)A=a[c].mat.applyToPointArray(0,0,0),i=[i[0]-A[0],i[1]-A[1],0];return i},mHelper:new ve};function lo(e,i,a){this.data=e,this.element=i,this.globalData=a,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var l=this.globalData.defs,h,c=this.masksProperties?this.masksProperties.length:0;this.viewData=it(c),this.solidPath="";var v,A=this.masksProperties,g=0,k=[],O,G,T=Me(),R,D,M,V,L="clipPath",C="clip-path";for(h=0;h<c;h+=1)if((A[h].mode!=="a"&&A[h].mode!=="n"||A[h].inv||A[h].o.k!==100||A[h].o.x)&&(L="mask",C="mask"),(A[h].mode==="s"||A[h].mode==="i")&&g===0?(R=xt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),k.push(R)):R=null,v=xt("path"),A[h].mode==="n")this.viewData[h]={op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Cn.getShapeProp(this.element,A[h],3),elem:v,lastPath:""},l.appendChild(v);else{g+=1,v.setAttribute("fill",A[h].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var E;if(A[h].x.k!==0?(L="mask",C="mask",V=at.getProp(this.element,A[h].x,0,null,this.element),E=Me(),D=xt("filter"),D.setAttribute("id",E),M=xt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),D.appendChild(M),l.appendChild(D),v.setAttribute("stroke",A[h].mode==="s"?"#000000":"#ffffff")):(M=null,V=null),this.storedData[h]={elem:v,x:V,expan:M,lastPath:"",lastOperator:"",filterId:E,lastRadius:0},A[h].mode==="i"){G=k.length;var S=xt("g");for(O=0;O<G;O+=1)S.appendChild(k[O]);var w=xt("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",T+"_"+g),w.appendChild(v),l.appendChild(w),S.setAttribute("mask","url("+b()+"#"+T+"_"+g+")"),k.length=0,k.push(S)}else k.push(v);A[h].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[h]={elem:v,lastPath:"",op:at.getProp(this.element,A[h].o,0,.01,this.element),prop:Cn.getShapeProp(this.element,A[h],3),invRect:R},this.viewData[h].prop.k||this.drawPath(A[h],this.viewData[h].prop.v,this.viewData[h])}for(this.maskElement=xt(L),c=k.length,h=0;h<c;h+=1)this.maskElement.appendChild(k[h]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(C,"url("+b()+"#"+T+")"),l.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}lo.prototype.getMaskProperty=function(e){return this.viewData[e].prop},lo.prototype.renderFrame=function(e){var i=this.element.finalTransform.mat,a,l=this.masksProperties.length;for(a=0;a<l;a+=1)if((this.viewData[a].prop._mdf||e)&&this.drawPath(this.masksProperties[a],this.viewData[a].prop.v,this.viewData[a]),(this.viewData[a].op._mdf||e)&&this.viewData[a].elem.setAttribute("fill-opacity",this.viewData[a].op.v),this.masksProperties[a].mode!=="n"&&(this.viewData[a].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[a].invRect.setAttribute("transform",i.getInverseMatrix().to2dCSS()),this.storedData[a].x&&(this.storedData[a].x._mdf||e))){var h=this.storedData[a].expan;this.storedData[a].x.v<0?(this.storedData[a].lastOperator!=="erode"&&(this.storedData[a].lastOperator="erode",this.storedData[a].elem.setAttribute("filter","url("+b()+"#"+this.storedData[a].filterId+")")),h.setAttribute("radius",-this.storedData[a].x.v)):(this.storedData[a].lastOperator!=="dilate"&&(this.storedData[a].lastOperator="dilate",this.storedData[a].elem.setAttribute("filter",null)),this.storedData[a].elem.setAttribute("stroke-width",this.storedData[a].x.v*2))}},lo.prototype.getMaskelement=function(){return this.maskElement},lo.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},lo.prototype.drawPath=function(e,i,a){var l=" M"+i.v[0][0]+","+i.v[0][1],h,c;for(c=i._length,h=1;h<c;h+=1)l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[h][0]+","+i.i[h][1]+" "+i.v[h][0]+","+i.v[h][1];if(i.c&&c>1&&(l+=" C"+i.o[h-1][0]+","+i.o[h-1][1]+" "+i.i[0][0]+","+i.i[0][1]+" "+i.v[0][0]+","+i.v[0][1]),a.lastPath!==l){var v="";a.elem&&(i.c&&(v=e.inv?this.solidPath+l:l),a.elem.setAttribute("d",v)),a.lastPath=l}},lo.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var sa=function(){var e={};e.createFilter=i,e.createAlphaToLuminanceFilter=a;function i(l,h){var c=xt("filter");return c.setAttribute("id",l),h!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function a(){var l=xt("feColorMatrix");return l.setAttribute("type","matrix"),l.setAttribute("color-interpolation-filters","sRGB"),l.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),l}return e}(),im=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}(),Mn={},om="filter_result_";function Ud(e){var i,a="SourceGraphic",l=e.data.ef?e.data.ef.length:0,h=Me(),c=sa.createFilter(h,!0),v=0;this.filters=[];var A;for(i=0;i<l;i+=1){A=null;var g=e.data.ef[i].ty;if(Mn[g]){var k=Mn[g].effect;A=new k(c,e.effectsManager.effectElements[i],e,om+v,a),a=om+v,Mn[g].countsAsEffect&&(v+=1)}A&&this.filters.push(A)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+b()+"#"+h+")")),this.filters.length&&e.addRenderableComponent(this)}Ud.prototype.renderFrame=function(e){var i,a=this.filters.length;for(i=0;i<a;i+=1)this.filters[i].renderFrame(e)},Ud.prototype.getEffects=function(e){var i,a=this.filters.length,l=[];for(i=0;i<a;i+=1)this.filters[i].type===e&&l.push(this.filters[i]);return l};function s0(e,i,a){Mn[e]={effect:i,countsAsEffect:a}}function aa(){}aa.prototype={initRendererElement:function(){this.layerElement=xt("g")},createContainerElements:function(){this.matteElement=xt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var i=null;if(this.data.td){this.matteMasks={};var a=xt("g");a.setAttribute("id",this.layerId),a.appendChild(this.layerElement),i=a,this.globalData.defs.appendChild(a)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=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 l=xt("clipPath"),h=xt("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Me();if(l.setAttribute("id",c),l.appendChild(h),this.globalData.defs.appendChild(l),this.checkMasks()){var v=xt("g");v.setAttribute("clip-path","url("+b()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+b()+"#"+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 lo(this.data,this,this.globalData),this.renderableEffectsManager=new Ud(this),this.searchEffectTransforms()},getMatte:function(i){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[i]){var a=this.layerId+"_"+i,l,h,c,v;if(i===1||i===3){var A=xt("mask");A.setAttribute("id",a),A.setAttribute("mask-type",i===3?"luminance":"alpha"),c=xt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),A.appendChild(c),this.globalData.defs.appendChild(A),!im.maskType&&i===1&&(A.setAttribute("mask-type","luminance"),l=Me(),h=sa.createFilter(l),this.globalData.defs.appendChild(h),h.appendChild(sa.createAlphaToLuminanceFilter()),v=xt("g"),v.appendChild(c),A.appendChild(v),v.setAttribute("filter","url("+b()+"#"+l+")"))}else if(i===2){var g=xt("mask");g.setAttribute("id",a),g.setAttribute("mask-type","alpha");var k=xt("g");g.appendChild(k),l=Me(),h=sa.createFilter(l);var O=xt("feComponentTransfer");O.setAttribute("in","SourceGraphic"),h.appendChild(O);var G=xt("feFuncA");G.setAttribute("type","table"),G.setAttribute("tableValues","1.0 0.0"),O.appendChild(G),this.globalData.defs.appendChild(h);var T=xt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),k.setAttribute("filter","url("+b()+"#"+l+")"),k.appendChild(T),c=xt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),k.appendChild(c),im.maskType||(g.setAttribute("mask-type","luminance"),h.appendChild(sa.createAlphaToLuminanceFilter()),v=xt("g"),k.appendChild(T),v.appendChild(this.layerElement),k.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[i]=a}return this.matteMasks[i]},setMatte:function(i){this.matteElement&&this.matteElement.setAttribute("mask","url("+b()+"#"+i+")")}};function rs(){}rs.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(i){this.hierarchy=i},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function na(){}(function(){var e={initElement:function(a,l,h){this.initFrame(),this.initBaseData(a,l,h),this.initTransform(a,l,h),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var a=this.baseElement||this.layerElement;a.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.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(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};N([Rn,K(e)],na)})();function la(e,i,a){this.assetData=i.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=i.slotManager.getProp(this.assetData)),this.initElement(e,i,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}N([Si,es,aa,rs,Ii,na],la),la.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=xt("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)},la.prototype.sourceRectAtTime=function(){return this.sourceRect};function vy(e,i){this.elem=e,this.pos=i}function sm(){}sm.prototype={addShapeToModifiers:function(i){var a,l=this.shapeModifiers.length;for(a=0;a<l;a+=1)this.shapeModifiers[a].addShape(i)},isShapeInAnimatedModifiers:function(i){for(var a=0,l=this.shapeModifiers.length;a<l;)if(this.shapeModifiers[a].isAnimatedWithShape(i))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var i,a=this.shapes.length;for(i=0;i<a;i+=1)this.shapes[i].sh.reset();a=this.shapeModifiers.length;var l;for(i=a-1;i>=0&&(l=this.shapeModifiers[i].processShapes(this._isFirstFrame),!l);i-=1);}},searchProcessedElement:function(i){for(var a=this.processedElements,l=0,h=a.length;l<h;){if(a[l].elem===i)return a[l].pos;l+=1}return 0},addProcessedElement:function(i,a){for(var l=this.processedElements,h=l.length;h;)if(h-=1,l[h].elem===i){l[h].pos=a;return}l.push(new vy(i,a))},prepareFrame:function(i){this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)}};var am={1:"butt",2:"round",3:"square"},nm={1:"miter",2:"round",3:"bevel"};function lm(e,i,a){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=a,this.lvl=i,this._isAnimated=!!a.k;for(var l=0,h=e.length;l<h;){if(e[l].mProps.dynamicProperties.length){this._isAnimated=!0;break}l+=1}}lm.prototype.setAsAnimated=function(){this._isAnimated=!0};function dm(e,i){this.data=e,this.type=e.ty,this.d="",this.lvl=i,this._mdf=!1,this.closed=e.hd===!0,this.pElem=xt("path"),this.msElem=null}dm.prototype.reset=function(){this.d="",this._mdf=!1};function Pn(e,i,a,l){this.elem=e,this.frameId=-1,this.dataProps=it(i.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=X("float32",i.length?i.length-1:0),this.dashoffset=X("float32",1),this.initDynamicPropertyContainer(l);var h,c=i.length||0,v;for(h=0;h<c;h+=1)v=at.getProp(e,i[h].v,0,0,this),this.k=v.k||this.k,this.dataProps[h]={n:i[h].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}Pn.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 i=0,a=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),i=0;i<a;i+=1)this.dataProps[i].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[i].p.v:this.dashArray[i]=this.dataProps[i].p.v:this.dashoffset[0]=this.dataProps[i].p.v}},N([ce],Pn);function cm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.w=at.getProp(e,i.w,0,null,this),this.d=new Pn(e,i.d||{},"svg",this),this.c=at.getProp(e,i.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}N([ce],cm);function hm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=at.getProp(e,i.o,0,.01,this),this.c=at.getProp(e,i.c,1,255,this),this.style=a}N([ce],hm);function pm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=a}N([ce],pm);function da(e,i,a){this.data=i,this.c=X("uint8c",i.p*4);var l=i.k.k[0].s?i.k.k[0].s.length-i.p*4:i.k.k.length-i.p*4;this.o=X("float32",l),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=l,this.initDynamicPropertyContainer(a),this.prop=at.getProp(e,i.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}da.prototype.comparePoints=function(e,i){for(var a=0,l=this.o.length/2,h;a<l;){if(h=Math.abs(e[a*4]-e[i*4+a*2]),h>.01)return!1;a+=1}return!0},da.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,i=this.data.k.k.length;e<i;){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},da.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var i,a=this.data.p*4,l,h;for(i=0;i<a;i+=1)l=i%4===0?100:255,h=Math.round(this.prop.v[i]*l),this.c[i]!==h&&(this.c[i]=h,this._cmdf=!e);if(this.o.length)for(a=this.prop.v.length,i=this.data.p*4;i<a;i+=1)l=i%2===0?100:1,h=i%2===0?Math.round(this.prop.v[i]*100):this.prop.v[i],this.o[i-this.data.p*4]!==h&&(this.o[i-this.data.p*4]=h,this._omdf=!e);this._mdf=!e}},N([ce],da);function is(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,i,a)}is.prototype.initGradientData=function(e,i,a){this.o=at.getProp(e,i.o,0,.01,this),this.s=at.getProp(e,i.s,1,null,this),this.e=at.getProp(e,i.e,1,null,this),this.h=at.getProp(e,i.h||{k:0},0,.01,this),this.a=at.getProp(e,i.a||{k:0},0,kt,this),this.g=new da(e,i.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,i),this.setGradientOpacity(i,a),this._isAnimated=!!this._isAnimated},is.prototype.setGradientData=function(e,i){var a=Me(),l=xt(i.t===1?"linearGradient":"radialGradient");l.setAttribute("id",a),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse");var h=[],c,v,A;for(A=i.g.p*4,v=0;v<A;v+=4)c=xt("stop"),l.appendChild(c),h.push(c);e.setAttribute(i.ty==="gf"?"fill":"stroke","url("+b()+"#"+a+")"),this.gf=l,this.cst=h},is.prototype.setGradientOpacity=function(e,i){if(this.g._hasOpacity&&!this.g._collapsable){var a,l,h,c=xt("mask"),v=xt("path");c.appendChild(v);var A=Me(),g=Me();c.setAttribute("id",g);var k=xt(e.t===1?"linearGradient":"radialGradient");k.setAttribute("id",A),k.setAttribute("spreadMethod","pad"),k.setAttribute("gradientUnits","userSpaceOnUse"),h=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var O=this.stops;for(l=e.g.p*4;l<h;l+=2)a=xt("stop"),a.setAttribute("stop-color","rgb(255,255,255)"),k.appendChild(a),O.push(a);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+b()+"#"+A+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",am[e.lc||2]),v.setAttribute("stroke-linejoin",nm[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=k,this.ms=c,this.ost=O,this.maskId=g,i.msElem=v}},N([ce],is);function mm(e,i,a){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=at.getProp(e,i.w,0,null,this),this.d=new Pn(e,i.d||{},"svg",this),this.initGradientData(e,i,a),this._isAnimated=!!this._isAnimated}N([is,ce],mm);function gy(){this.it=[],this.prevViewData=[],this.gr=xt("g")}function by(e,i,a){this.transform={mProps:e,op:i,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var um=function(i,a,l,h){if(a===0)return"";var c=i.o,v=i.i,A=i.v,g,k=" M"+h.applyToPointStringified(A[0][0],A[0][1]);for(g=1;g<a;g+=1)k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[g][0],v[g][1])+" "+h.applyToPointStringified(A[g][0],A[g][1]);return l&&a&&(k+=" C"+h.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+h.applyToPointStringified(v[0][0],v[0][1])+" "+h.applyToPointStringified(A[0][0],A[0][1]),k+="z"),k},yy=function(){var e=new ve,i=new ve,a={createRenderFunction:l};function l(G){switch(G.ty){case"fl":return A;case"gf":return k;case"gs":return g;case"st":return O;case"sh":case"el":case"rc":case"sr":return v;case"tr":return h;case"no":return c;default:return null}}function h(G,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(G,T,R){var D,M,V,L,C,E,S=T.styles.length,w=T.lvl,F,H,W,et;for(E=0;E<S;E+=1){if(L=T.sh._mdf||R,T.styles[E].lvl<w){for(H=i.reset(),W=w-T.styles[E].lvl,et=T.transformers.length-1;!L&&W>0;)L=T.transformers[et].mProps._mdf||L,W-=1,et-=1;if(L)for(W=w-T.styles[E].lvl,et=T.transformers.length-1;W>0;)H.multiply(T.transformers[et].mProps.v),W-=1,et-=1}else H=e;if(F=T.sh.paths,M=F._length,L){for(V="",D=0;D<M;D+=1)C=F.shapes[D],C&&C._length&&(V+=um(C,C._length,C.c,H));T.caches[E]=V}else V=T.caches[E];T.styles[E].d+=G.hd===!0?"":V,T.styles[E]._mdf=L||T.styles[E]._mdf}}function A(G,T,R){var D=T.style;(T.c._mdf||R)&&D.pElem.setAttribute("fill","rgb("+de(T.c.v[0])+","+de(T.c.v[1])+","+de(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function g(G,T,R){k(G,T,R),O(G,T,R)}function k(G,T,R){var D=T.gf,M=T.g._hasOpacity,V=T.s.v,L=T.e.v;if(T.o._mdf||R){var C=G.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(C,T.o.v)}if(T.s._mdf||R){var E=G.t===1?"x1":"cx",S=E==="x1"?"y1":"cy";D.setAttribute(E,V[0]),D.setAttribute(S,V[1]),M&&!T.g._collapsable&&(T.of.setAttribute(E,V[0]),T.of.setAttribute(S,V[1]))}var w,F,H,W;if(T.g._cmdf||R){w=T.cst;var et=T.g.c;for(H=w.length,F=0;F<H;F+=1)W=w[F],W.setAttribute("offset",et[F*4]+"%"),W.setAttribute("stop-color","rgb("+et[F*4+1]+","+et[F*4+2]+","+et[F*4+3]+")")}if(M&&(T.g._omdf||R)){var Et=T.g.o;for(T.g._collapsable?w=T.cst:w=T.ost,H=w.length,F=0;F<H;F+=1)W=w[F],T.g._collapsable||W.setAttribute("offset",Et[F*2]+"%"),W.setAttribute("stop-opacity",Et[F*2+1])}if(G.t===1)(T.e._mdf||R)&&(D.setAttribute("x2",L[0]),D.setAttribute("y2",L[1]),M&&!T.g._collapsable&&(T.of.setAttribute("x2",L[0]),T.of.setAttribute("y2",L[1])));else{var pt;if((T.s._mdf||T.e._mdf||R)&&(pt=Math.sqrt(Math.pow(V[0]-L[0],2)+Math.pow(V[1]-L[1],2)),D.setAttribute("r",pt),M&&!T.g._collapsable&&T.of.setAttribute("r",pt)),T.e._mdf||T.h._mdf||T.a._mdf||R){pt||(pt=Math.sqrt(Math.pow(V[0]-L[0],2)+Math.pow(V[1]-L[1],2)));var st=Math.atan2(L[1]-V[1],L[0]-V[0]),At=T.h.v;At>=1?At=.99:At<=-1&&(At=-.99);var ct=pt*At,J=Math.cos(st+T.a.v)*ct+V[0],I=Math.sin(st+T.a.v)*ct+V[1];D.setAttribute("fx",J),D.setAttribute("fy",I),M&&!T.g._collapsable&&(T.of.setAttribute("fx",J),T.of.setAttribute("fy",I))}}}function O(G,T,R){var D=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(D.pElem.setAttribute("stroke-dasharray",M.dashStr),D.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||R)&&D.pElem.setAttribute("stroke","rgb("+de(T.c.v[0])+","+de(T.c.v[1])+","+de(T.c.v[2])+")"),(T.o._mdf||R)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return a}();function qt(e,i,a){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,i,a),this.prevViewData=[]}N([Si,es,aa,sm,rs,Ii,na],qt),qt.prototype.initSecondaryElement=function(){},qt.prototype.identityMatrix=new ve,qt.prototype.buildExpressionInterface=function(){},qt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},qt.prototype.filterUniqueShapes=function(){var e,i=this.shapes.length,a,l,h=this.stylesList.length,c,v=[],A=!1;for(l=0;l<h;l+=1){for(c=this.stylesList[l],A=!1,v.length=0,e=0;e<i;e+=1)a=this.shapes[e],a.styles.indexOf(c)!==-1&&(v.push(a),A=a._isAnimated||A);v.length>1&&A&&this.setShapesAsAnimated(v)}},qt.prototype.setShapesAsAnimated=function(e){var i,a=e.length;for(i=0;i<a;i+=1)e[i].setAsAnimated()},qt.prototype.createStyleElement=function(e,i){var a,l=new dm(e,i),h=l.pElem;if(e.ty==="st")a=new cm(this,e,l);else if(e.ty==="fl")a=new hm(this,e,l);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?is:mm;a=new c(this,e,l),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),h.setAttribute("mask","url("+b()+"#"+a.maskId+")"))}else e.ty==="no"&&(a=new pm(this,e,l));return(e.ty==="st"||e.ty==="gs")&&(h.setAttribute("stroke-linecap",am[e.lc||2]),h.setAttribute("stroke-linejoin",nm[e.lj||2]),h.setAttribute("fill-opacity","0"),e.lj===1&&h.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&h.setAttribute("fill-rule","evenodd"),e.ln&&h.setAttribute("id",e.ln),e.cl&&h.setAttribute("class",e.cl),e.bm&&(h.style["mix-blend-mode"]=Bd(e.bm)),this.stylesList.push(l),this.addToAnimatedContents(e,a),a},qt.prototype.createGroupElement=function(e){var i=new gy;return e.ln&&i.gr.setAttribute("id",e.ln),e.cl&&i.gr.setAttribute("class",e.cl),e.bm&&(i.gr.style["mix-blend-mode"]=Bd(e.bm)),i},qt.prototype.createTransformElement=function(e,i){var a=Dd.getTransformProperty(this,e,this),l=new by(a,a.o,i);return this.addToAnimatedContents(e,l),l},qt.prototype.createShapeElement=function(e,i,a){var l=4;e.ty==="rc"?l=5:e.ty==="el"?l=6:e.ty==="sr"&&(l=7);var h=Cn.getShapeProp(this,e,l,this),c=new lm(i,a,h);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},qt.prototype.addToAnimatedContents=function(e,i){for(var a=0,l=this.animatedContents.length;a<l;){if(this.animatedContents[a].element===i)return;a+=1}this.animatedContents.push({fn:yy.createRenderFunction(e),element:i,data:e})},qt.prototype.setElementStyles=function(e){var i=e.styles,a,l=this.stylesList.length;for(a=0;a<l;a+=1)this.stylesList[a].closed||i.push(this.stylesList[a])},qt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,i=this.itemsData.length;for(e=0;e<i;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),i=this.dynamicProperties.length,e=0;e<i;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},qt.prototype.searchShapes=function(e,i,a,l,h,c,v){var A=[].concat(c),g,k=e.length-1,O,G,T=[],R=[],D,M,V;for(g=k;g>=0;g-=1){if(V=this.searchProcessedElement(e[g]),V?i[g]=a[V-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")V?i[g].style.closed=!1:i[g]=this.createStyleElement(e[g],h),e[g]._render&&i[g].style.pElem.parentNode!==l&&l.appendChild(i[g].style.pElem),T.push(i[g].style);else if(e[g].ty==="gr"){if(!V)i[g]=this.createGroupElement(e[g]);else for(G=i[g].it.length,O=0;O<G;O+=1)i[g].prevViewData[O]=i[g].it[O];this.searchShapes(e[g].it,i[g].it,i[g].prevViewData,i[g].gr,h+1,A,v),e[g]._render&&i[g].gr.parentNode!==l&&l.appendChild(i[g].gr)}else e[g].ty==="tr"?(V||(i[g]=this.createTransformElement(e[g],l)),D=i[g].transform,A.push(D)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(V||(i[g]=this.createShapeElement(e[g],A,h)),this.setElementStyles(i[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(V?(M=i[g],M.closed=!1):(M=xi.getModifier(e[g].ty),M.init(this,e[g]),i[g]=M,this.shapeModifiers.push(M)),R.push(M)):e[g].ty==="rp"&&(V?(M=i[g],M.closed=!0):(M=xi.getModifier(e[g].ty),i[g]=M,M.init(this,e,g,i),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[g],g+1)}for(k=T.length,g=0;g<k;g+=1)T[g].closed=!0;for(k=R.length,g=0;g<k;g+=1)R[g].closed=!0},qt.prototype.renderInnerContent=function(){this.renderModifiers();var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<i;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"))},qt.prototype.renderShape=function(){var e,i=this.animatedContents.length,a;for(e=0;e<i;e+=1)a=this.animatedContents[e],(this._isFirstFrame||a.element._isAnimated)&&a.data!==!0&&a.fn(a.data,a.element,this._isFirstFrame)},qt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Hd(e,i,a,l,h,c){this.o=e,this.sw=i,this.sc=a,this.fc=l,this.m=h,this.p=c,this._mdf={o:!0,sw:!!i,sc:!!a,fc:!!l,m:!0,p:!0}}Hd.prototype.update=function(e,i,a,l,h,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 v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==i&&(this.sw=i,this._mdf.sw=!0,v=!0),this.sc!==a&&(this.sc=a,this._mdf.sc=!0,v=!0),this.fc!==l&&(this.fc=l,this._mdf.fc=!0,v=!0),this.m!==h&&(this.m=h,this._mdf.m=!0,v=!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,v=!0),v};function Ce(e,i){this._frameId=r,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,i.d&&i.d.sid&&(i.d=e.globalData.slotManager.getProp(i.d)),this.data=i,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)}Ce.prototype.defaultBoxWidth=[0,0],Ce.prototype.copyData=function(e,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);return e},Ce.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Ce.prototype.searchProperty=function(){return this.searchKeyframes()},Ce.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ce.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},Ce.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 i=this.currentData,a=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var l,h=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(l=0;l<h;l+=1)a!==this.keysIndex?c=this.effectsSequence[l](c,c.t):c=this.effectsSequence[l](this.currentData,c.t);i!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Ce.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,i=this.elem.comp.renderedFrame,a=0,l=e.length;a<=l-1&&!(a===l-1||e[a+1].t>i);)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},Ce.prototype.buildFinalText=function(e){for(var i=[],a=0,l=e.length,h,c,v=!1,A=!1,g="";a<l;)v=A,A=!1,h=e.charCodeAt(a),g=e.charAt(a),no.isCombinedCharacter(h)?v=!0:h>=55296&&h<=56319?no.isRegionalFlag(e,a)?g=e.substr(a,14):(c=e.charCodeAt(a+1),c>=56320&&c<=57343&&(no.isModifier(h,c)?(g=e.substr(a,2),v=!0):no.isFlagEmoji(e.substr(a,4))?g=e.substr(a,4):g=e.substr(a,2))):h>56319?(c=e.charCodeAt(a+1),no.isVariationSelector(h)&&(v=!0)):no.isZeroWidthJoiner(h)&&(v=!0,A=!0),v?(i[i.length-1]+=g,v=!1):i.push(g),a+=g.length;return i},Ce.prototype.completeTextData=function(e){e.__complete=!0;var i=this.elem.globalData.fontManager,a=this.data,l=[],h,c,v,A=0,g,k=a.m.g,O=0,G=0,T=0,R=[],D=0,M=0,V,L,C=i.getFontByName(e.f),E,S=0,w=tm(C);e.fWeight=w.weight,e.fStyle=w.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var F=e.tr/1e3*e.finalSize,H;if(e.sz)for(var W=!0,et=e.sz[0],Et=e.sz[1],pt,st;W;){st=this.buildFinalText(e.t),pt=0,D=0,c=st.length,F=e.tr/1e3*e.finalSize;var At=-1;for(h=0;h<c;h+=1)H=st[h].charCodeAt(0),v=!1,st[h]===" "?At=h:(H===13||H===3)&&(D=0,v=!0,pt+=e.finalLineHeight||e.finalSize*1.2),i.chars?(E=i.getCharData(st[h],C.fStyle,C.fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(st[h],e.f,e.finalSize),D+S>et&&st[h]!==" "?(At===-1?c+=1:h=At,pt+=e.finalLineHeight||e.finalSize*1.2,st.splice(h,At===h?1:0,"\r"),At=-1,D=0):(D+=S,D+=F);pt+=C.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Et<pt?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=st,c=e.finalText.length,W=!1)}D=-F,S=0;var ct=0,J;for(h=0;h<c;h+=1)if(v=!1,J=e.finalText[h],H=J.charCodeAt(0),H===13||H===3?(ct=0,R.push(D),M=D>M?D:M,D=-2*F,g="",v=!0,T+=1):g=J,i.chars?(E=i.getCharData(J,C.fStyle,i.getFontByName(e.f).fFamily),S=v?0:E.w*e.finalSize/100):S=i.measureText(g,e.f,e.finalSize),J===" "?ct+=S+F:(D+=S+F+ct,ct=0),l.push({l:S,an:S,add:O,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),k==2){if(O+=S,g===""||g===" "||h===c-1){for((g===""||g===" ")&&(O-=S);G<=h;)l[G].an=O,l[G].ind=A,l[G].extra=S,G+=1;A+=1,O=0}}else if(k==3){if(O+=S,g===""||h===c-1){for(g===""&&(O-=S);G<=h;)l[G].an=O,l[G].ind=A,l[G].extra=S,G+=1;O=0,A+=1}}else l[A].ind=A,l[A].extra=0,A+=1;if(e.l=l,M=D>M?D:M,R.push(D),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=R;var I=a.a,P,f;L=I.length;var y,Y,$=[];for(V=0;V<L;V+=1){for(P=I[V],P.a.sc&&(e.strokeColorAnim=!0),P.a.sw&&(e.strokeWidthAnim=!0),(P.a.fc||P.a.fh||P.a.fs||P.a.fb)&&(e.fillColorAnim=!0),Y=0,y=P.s.b,h=0;h<c;h+=1)f=l[h],f.anIndexes[V]=Y,(y==1&&f.val!==""||y==2&&f.val!==""&&f.val!==" "||y==3&&(f.n||f.val==" "||h==c-1)||y==4&&(f.n||h==c-1))&&(P.s.rn===1&&$.push(Y),Y+=1);a.a[V].s.totalChars=Y;var nt=-1,vt;if(P.s.rn===1)for(h=0;h<c;h+=1)f=l[h],nt!=f.anIndexes[V]&&(nt=f.anIndexes[V],vt=$.splice(Math.floor(Math.random()*$.length),1)[0]),f.anIndexes[V]=vt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=C.ascent*e.finalSize/100},Ce.prototype.updateDocumentData=function(e,i){i=i===void 0?this.keysIndex:i;var a=this.copyData({},this.data.d.k[i].s);a=this.copyData(a,e),this.data.d.k[i].s=a,this.recalculate(i),this.setCurrentData(a),this.elem.addDynamicProperty(this)},Ce.prototype.recalculate=function(e){var i=this.data.d.k[e].s;i.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(i)},Ce.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Ce.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Ey=function(){var e=Math.max,i=Math.min,a=Math.floor;function l(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=at.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=at.getProp(c,v.e,0,0,this):this.e={v:100},this.o=at.getProp(c,v.o||{k:0},0,0,this),this.xe=at.getProp(c,v.xe||{k:0},0,0,this),this.ne=at.getProp(c,v.ne||{k:0},0,0,this),this.sm=at.getProp(c,v.sm||{k:100},0,0,this),this.a=at.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}l.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var A=0,g=0,k=1,O=1;this.ne.v>0?A=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?k=1-this.xe.v/100:O=1+this.xe.v/100;var G=Qs.getBezierEasing(A,g,k,O).get,T=0,R=this.finalS,D=this.finalE,M=this.data.sh;if(M===2)D===R?T=v>=D?1:0:T=e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T=G(T);else if(M===3)D===R?T=v>=D?0:1:T=1-e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T=G(T);else if(M===4)D===R?T=0:(T=e(0,i(.5/(D-R)+(v-R)/(D-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=G(T);else if(M===5){if(D===R)T=0;else{var V=D-R;v=i(e(0,v+.5-R),D-R);var L=-V/2+v,C=V/2;T=Math.sqrt(1-L*L/(C*C))}T=G(T)}else M===6?(D===R?T=0:(v=i(e(0,v+.5-R),D-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(D-R)))/2),T=G(T)):(v>=a(R)&&(v-R<0?T=e(0,i(i(D,1)-(R-v),1)):T=e(0,i(D-v,1))),T=G(T));if(this.sm.v!==100){var E=this.sm.v*.01;E===0&&(E=1e-8);var S=.5-E*.5;T<S?T=0:(T=(T-S)/E,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var A=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/A,k=this.s.v/A+g,O=this.e.v/A+g;if(k>O){var G=k;k=O,O=G}this.finalS=k,this.finalE=O}},N([ce],l);function h(c,v,A){return new l(c,v,A)}return{getTextSelectorProp:h}}();function Ty(e,i,a){var l={propType:!1},h=at.getProp,c=i.a;this.a={r:c.r?h(e,c.r,0,kt,a):l,rx:c.rx?h(e,c.rx,0,kt,a):l,ry:c.ry?h(e,c.ry,0,kt,a):l,sk:c.sk?h(e,c.sk,0,kt,a):l,sa:c.sa?h(e,c.sa,0,kt,a):l,s:c.s?h(e,c.s,1,.01,a):l,a:c.a?h(e,c.a,1,0,a):l,o:c.o?h(e,c.o,0,.01,a):l,p:c.p?h(e,c.p,1,0,a):l,sw:c.sw?h(e,c.sw,0,0,a):l,sc:c.sc?h(e,c.sc,1,0,a):l,fc:c.fc?h(e,c.fc,1,0,a):l,fh:c.fh?h(e,c.fh,0,0,a):l,fs:c.fs?h(e,c.fs,0,.01,a):l,fb:c.fb?h(e,c.fb,0,.01,a):l,t:c.t?h(e,c.t,0,0,a):l},this.s=Ey.getTextSelectorProp(e,i.s,a),this.s.t=i.s.t}function co(e,i,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=i,this._elem=a,this._animatorsData=it(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}co.prototype.searchProperties=function(){var e,i=this._textData.a.length,a,l=at.getProp;for(e=0;e<i;e+=1)a=this._textData.a[e],this._animatorsData[e]=new Ty(this._elem,a,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:l(this._elem,this._textData.p.a,0,0,this),f:l(this._elem,this._textData.p.f,0,0,this),l:l(this._elem,this._textData.p.l,0,0,this),r:l(this._elem,this._textData.p.r,0,0,this),p:l(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=l(this._elem,this._textData.m.a,1,0,this)},co.prototype.getMeasures=function(e,i){if(this.lettersChangedFlag=i,!(!this._mdf&&!this._isFirstFrame&&!i&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var a=this._moreOptions.alignment.v,l=this._animatorsData,h=this._textData,c=this.mHelper,v=this._renderType,A=this.renderedLetters.length,g,k,O,G,T=e.l,R,D,M,V,L,C,E,S,w,F,H,W,et,Et,pt;if(this._hasMaskedPath){if(pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var st=pt.v;this._pathData.r.v&&(st=st.reverse()),R={tLength:0,segments:[]},G=st._length-1;var At;for(W=0,O=0;O<G;O+=1)At=Or.buildBezierData(st.v[O],st.v[O+1],[st.o[O][0]-st.v[O][0],st.o[O][1]-st.v[O][1]],[st.i[O+1][0]-st.v[O+1][0],st.i[O+1][1]-st.v[O+1][1]]),R.tLength+=At.segmentLength,R.segments.push(At),W+=At.segmentLength;O=G,pt.v.c&&(At=Or.buildBezierData(st.v[O],st.v[0],[st.o[O][0]-st.v[O][0],st.o[O][1]-st.v[O][1]],[st.i[0][0]-st.v[0][0],st.i[0][1]-st.v[0][1]]),R.tLength+=At.segmentLength,R.segments.push(At),W+=At.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,D=this._pathData.f.v,E=0,C=1,V=0,L=!0,F=R.segments,D<0&&pt.v.c)for(R.tLength<Math.abs(D)&&(D=-Math.abs(D)%R.tLength),E=F.length-1,w=F[E].points,C=w.length-1;D<0;)D+=w[C].partialLength,C-=1,C<0&&(E-=1,w=F[E].points,C=w.length-1);w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength}G=T.length,g=0,k=0;var ct=e.finalSize*1.2*.714,J=!0,I,P,f,y,Y;y=l.length;var $,nt=-1,vt,Tt,Ot,Rt=D,te=E,De=C,Mr=-1,Fe,he,Xe,Dt,ht,Qr,ki,Jr,Pr="",ti=this.defaultPropsArray,ei;if(e.j===2||e.j===1){var $e=0,wi=0,Ni=e.j===2?-.5:-1,xr=0,Li=!0;for(O=0;O<G;O+=1)if(T[O].n){for($e&&($e+=wi);xr<O;)T[xr].animatorJustifyOffset=$e,xr+=1;$e=0,Li=!0}else{for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(Li&&e.j===2&&(wi+=I.t.v*Ni),P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?$e+=I.t.v*$[0]*Ni:$e+=I.t.v*$*Ni);Li=!1}for($e&&($e+=wi);xr<O;)T[xr].animatorJustifyOffset=$e,xr+=1}for(O=0;O<G;O+=1){if(c.reset(),Fe=1,T[O].n)g=0,k+=e.yOffset,k+=J?1:0,D=Rt,J=!1,this._hasMaskedPath&&(E=te,C=De,w=F[E].points,S=w[C-1],M=w[C],H=M.partialLength,V=0),Pr="",Jr="",Qr="",ei="",ti=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Mr!==T[O].line){switch(e.j){case 1:D+=W-e.lineWidths[T[O].line];break;case 2:D+=(W-e.lineWidths[T[O].line])/2;break;default:break}Mr=T[O].line}nt!==T[O].ind&&(T[nt]&&(D+=T[nt].extra),D+=T[O].an/2,nt=T[O].ind),D+=a[0]*T[O].an*.005;var Ar=0;for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Ar+=I.p.v[0]*$[0]:Ar+=I.p.v[0]*$),I.a.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?Ar+=I.a.v[0]*$[0]:Ar+=I.a.v[0]*$);for(L=!0,this._pathData.a.v&&(D=T[0].an*.5+(W-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*nt/(G-1),D+=this._pathData.f.v);L;)V+H>=D+Ar||!w?(et=(D+Ar-V)/M.partialLength,Tt=S.point[0]+(M.point[0]-S.point[0])*et,Ot=S.point[1]+(M.point[1]-S.point[1])*et,c.translate(-a[0]*T[O].an*.005,-(a[1]*ct)*.01),L=!1):w&&(V+=M.partialLength,C+=1,C>=w.length&&(C=0,E+=1,F[E]?w=F[E].points:pt.v.c?(C=0,E=0,w=F[E].points):(V-=M.partialLength,w=null)),w&&(S=M,M=w[C],H=M.partialLength));vt=T[O].an/2-T[O].add,c.translate(-vt,0,0)}else vt=T[O].an/2-T[O].add,c.translate(-vt,0,0),c.translate(-a[0]*T[O].an*.005,-a[1]*ct*.01,0);for(f=0;f<y;f+=1)I=l[f].a,I.t.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?$.length?D+=I.t.v*$[0]:D+=I.t.v*$:$.length?g+=I.t.v*$[0]:g+=I.t.v*$));for(e.strokeWidthAnim&&(Xe=e.sw||0),e.strokeColorAnim&&(e.sc?he=[e.sc[0],e.sc[1],e.sc[2]]:he=[0,0,0]),e.fillColorAnim&&e.fc&&(Dt=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<y;f+=1)I=l[f].a,I.a.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?c.translate(-I.a.v[0]*$[0],-I.a.v[1]*$[1],I.a.v[2]*$[2]):c.translate(-I.a.v[0]*$,-I.a.v[1]*$,I.a.v[2]*$));for(f=0;f<y;f+=1)I=l[f].a,I.s.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),$.length?c.scale(1+(I.s.v[0]-1)*$[0],1+(I.s.v[1]-1)*$[1],1):c.scale(1+(I.s.v[0]-1)*$,1+(I.s.v[1]-1)*$,1));for(f=0;f<y;f+=1){if(I=l[f].a,P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),I.sk.propType&&($.length?c.skewFromAxis(-I.sk.v*$[0],I.sa.v*$[1]):c.skewFromAxis(-I.sk.v*$,I.sa.v*$)),I.r.propType&&($.length?c.rotateZ(-I.r.v*$[2]):c.rotateZ(-I.r.v*$)),I.ry.propType&&($.length?c.rotateY(I.ry.v*$[1]):c.rotateY(I.ry.v*$)),I.rx.propType&&($.length?c.rotateX(I.rx.v*$[0]):c.rotateX(I.rx.v*$)),I.o.propType&&($.length?Fe+=(I.o.v*$[0]-Fe)*$[0]:Fe+=(I.o.v*$-Fe)*$),e.strokeWidthAnim&&I.sw.propType&&($.length?Xe+=I.sw.v*$[0]:Xe+=I.sw.v*$),e.strokeColorAnim&&I.sc.propType)for(ht=0;ht<3;ht+=1)$.length?he[ht]+=(I.sc.v[ht]-he[ht])*$[0]:he[ht]+=(I.sc.v[ht]-he[ht])*$;if(e.fillColorAnim&&e.fc){if(I.fc.propType)for(ht=0;ht<3;ht+=1)$.length?Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$[0]:Dt[ht]+=(I.fc.v[ht]-Dt[ht])*$;I.fh.propType&&($.length?Dt=Cp(Dt,I.fh.v*$[0]):Dt=Cp(Dt,I.fh.v*$)),I.fs.propType&&($.length?Dt=Ip(Dt,I.fs.v*$[0]):Dt=Ip(Dt,I.fs.v*$)),I.fb.propType&&($.length?Dt=_p(Dt,I.fb.v*$[0]):Dt=_p(Dt,I.fb.v*$))}}for(f=0;f<y;f+=1)I=l[f].a,I.p.propType&&(P=l[f].s,$=P.getMult(T[O].anIndexes[f],h.a[f].s.totalChars),this._hasMaskedPath?$.length?c.translate(0,I.p.v[1]*$[0],-I.p.v[2]*$[1]):c.translate(0,I.p.v[1]*$,-I.p.v[2]*$):$.length?c.translate(I.p.v[0]*$[0],I.p.v[1]*$[1],-I.p.v[2]*$[2]):c.translate(I.p.v[0]*$,I.p.v[1]*$,-I.p.v[2]*$));if(e.strokeWidthAnim&&(Qr=Xe<0?0:Xe),e.strokeColorAnim&&(ki="rgb("+Math.round(he[0]*255)+","+Math.round(he[1]*255)+","+Math.round(he[2]*255)+")"),e.fillColorAnim&&e.fc&&(Jr="rgb("+Math.round(Dt[0]*255)+","+Math.round(Dt[1]*255)+","+Math.round(Dt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,a[1]*ct*.01+k,0),this._pathData.p.v){Et=(M.point[1]-S.point[1])/(M.point[0]-S.point[0]);var ho=Math.atan(Et)*180/Math.PI;M.point[0]<S.point[0]&&(ho+=180),c.rotate(-ho*Math.PI/180)}c.translate(Tt,Ot,0),D-=a[0]*T[O].an*.005,T[O+1]&&nt!==T[O+1].ind&&(D+=T[O].an/2,D+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,k,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[O].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[O].line]),0,0);break;case 2:c.translate(T[O].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[O].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(vt,0,0),c.translate(a[0]*T[O].an*.005,a[1]*ct*.01,0),g+=T[O].l+e.tr*.001*e.finalSize}v==="html"?Pr=c.toCSS():v==="svg"?Pr=c.to2dCSS():ti=[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]],ei=Fe}A<=O?(Y=new Hd(ei,Qr,ki,Jr,Pr,ti),this.renderedLetters.push(Y),A+=1,this.lettersChangedFlag=!0):(Y=this.renderedLetters[O],this.lettersChangedFlag=Y.update(ei,Qr,ki,Jr,Pr,ti)||this.lettersChangedFlag)}}},co.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},co.prototype.mHelper=new ve,co.prototype.defaultPropsArray=[],N([ce],co);function nr(){}nr.prototype.initElement=function(e,i,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,i,a),this.textProperty=new Ce(this,e.t,this.dynamicProperties),this.textAnimator=new co(e.t,this.renderType,this),this.initTransform(e,i,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},nr.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},nr.prototype.createPathShape=function(e,i){var a,l=i.length,h,c="";for(a=0;a<l;a+=1)i[a].ty==="sh"&&(h=i[a].ks.k,c+=um(h,h.i.length,!0,e));return c},nr.prototype.updateDocumentData=function(e,i){this.textProperty.updateDocumentData(e,i)},nr.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},nr.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},nr.prototype.applyTextPropertiesToMatrix=function(e,i,a,l,h){switch(e.ps&&i.translate(e.ps[0],e.ps[1]+e.ascent,0),i.translate(0,-e.ls,0),e.j){case 1:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a]),0,0);break;case 2:i.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[a])/2,0,0);break;default:break}i.translate(l,h,0)},nr.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},nr.prototype.emptyProp=new Hd,nr.prototype.destroy=function(){},nr.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var xy={shapes:[]};function Xr(e,i,a){this.textSpans=[],this.renderType="svg",this.initElement(e,i,a)}N([Si,es,aa,rs,Ii,na,nr],Xr),Xr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=xt("text"))},Xr.prototype.buildTextContents=function(e){for(var i=0,a=e.length,l=[],h="";i<a;)e[i]==="\r"||e[i]===""?(l.push(h),h=""):h+=e[i],i+=1;return l.push(h),l},Xr.prototype.buildShapeData=function(e,i){if(e.shapes&&e.shapes.length){var a=e.shapes[0];if(a.it){var l=a.it[a.it.length-1];l.s&&(l.s.k[0]=i,l.s.k[1]=i)}}return e},Xr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,i,a=this.textProperty.currentData;this.renderedLetters=it(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var l=this.globalData.fontManager.getFontByName(a.f);if(l.fClass)this.layerElement.setAttribute("class",l.fClass);else{this.layerElement.setAttribute("font-family",l.fFamily);var h=a.fWeight,c=a.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",h)}this.layerElement.setAttribute("aria-label",a.t);var v=a.l||[],A=!!this.globalData.fontManager.chars;i=v.length;var g,k=this.mHelper,O="",G=this.data.singleShape,T=0,R=0,D=!0,M=a.tr*.001*a.finalSize;if(G&&!A&&!a.sz){var V=this.textContainer,L="start";switch(a.j){case 1:L="end";break;case 2:L="middle";break;default:L="start";break}V.setAttribute("text-anchor",L),V.setAttribute("letter-spacing",M);var C=this.buildTextContents(a.finalText);for(i=C.length,R=a.ps?a.ps[1]+a.ascent:0,e=0;e<i;e+=1)g=this.textSpans[e].span||xt("tspan"),g.textContent=C[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",V.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=a.finalLineHeight;this.layerElement.appendChild(V)}else{var E=this.textSpans.length,S;for(e=0;e<i;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!A||!G||e===0){if(g=E>e?this.textSpans[e].span:xt(A?"g":"text"),E<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,A){var w=xt("g");g.appendChild(w),this.textSpans[e].childSpan=w}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(k.reset(),G&&(v[e].n&&(T=-M,R+=a.yOffset,R+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(a,k,v[e].line,T,R),T+=v[e].l||0,T+=M),A){S=this.globalData.fontManager.getCharData(a.finalText[e],l.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily);var F;if(S.t===1)F=new ca(S.data,this.globalData,this);else{var H=xy;S.data&&S.data.shapes&&(H=this.buildShapeData(S.data,a.finalSize)),F=new qt(H,this.globalData,this)}if(this.textSpans[e].glyph){var W=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(W.layerElement),W.destroy()}this.textSpans[e].glyph=F,F._debug=!0,F.prepareFrame(0),F.renderFrame(),this.textSpans[e].childSpan.appendChild(F.layerElement),S.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+a.finalSize/100+","+a.finalSize/100+")")}else G&&g.setAttribute("transform","translate("+k.props[12]+","+k.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}G&&g&&g.setAttribute("d",O)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Xr.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},Xr.prototype.getValue=function(){var e,i=this.textSpans.length,a;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<i;e+=1)a=this.textSpans[e].glyph,a&&(a.prepareFrame(this.comp.renderedFrame-this.data.st),a._mdf&&(this._mdf=!0))},Xr.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,i,a=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;i=l.length;var h,c,v;for(e=0;e<i;e+=1)l[e].n||(h=a[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.renderFrame(),h._mdf.m&&c.setAttribute("transform",h.m),h._mdf.o&&c.setAttribute("opacity",h.o),h._mdf.sw&&c.setAttribute("stroke-width",h.sw),h._mdf.sc&&c.setAttribute("stroke",h.sc),h._mdf.fc&&c.setAttribute("fill",h.fc))}};function Gd(e,i,a){this.initElement(e,i,a)}N([la],Gd),Gd.prototype.createContent=function(){var e=xt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function Ci(e,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initFrame(),this.initTransform(e,i,a),this.initHierarchy()}Ci.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},Ci.prototype.renderFrame=function(){},Ci.prototype.getBaseElement=function(){return null},Ci.prototype.destroy=function(){},Ci.prototype.sourceRectAtTime=function(){},Ci.prototype.hide=function(){},N([Si,es,rs,Ii],Ci);function oe(){}N([ge],oe),oe.prototype.createNull=function(e){return new Ci(e,this.globalData,this)},oe.prototype.createShape=function(e){return new qt(e,this.globalData,this)},oe.prototype.createText=function(e){return new Xr(e,this.globalData,this)},oe.prototype.createImage=function(e){return new la(e,this.globalData,this)},oe.prototype.createSolid=function(e){return new Gd(e,this.globalData,this)},oe.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 i=this.globalData.defs;this.setupGlobalData(e,i),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var a=xt("clipPath"),l=xt("rect");l.setAttribute("width",e.w),l.setAttribute("height",e.h),l.setAttribute("x",0),l.setAttribute("y",0);var h=Me();a.setAttribute("id",h),a.appendChild(l),this.layerElement.setAttribute("clip-path","url("+b()+"#"+h+")"),i.appendChild(a),this.layers=e.layers,this.elements=it(e.layers.length)},oe.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,i=this.layers?this.layers.length:0;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},oe.prototype.updateContainerSize=function(){},oe.prototype.findIndexByInd=function(e){var i=0,a=this.layers.length;for(i=0;i<a;i+=1)if(this.layers[i].ind===e)return i;return-1},oe.prototype.buildItem=function(e){var i=this.elements;if(!(i[e]||this.layers[e].ty===99)){i[e]=!0;var a=this.createItem(this.layers[e]);if(i[e]=a,En()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,e),this.layers[e].tt){var l="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(l===-1)return;if(!this.elements[l]||this.elements[l]===!0)this.buildItem(l),this.addPendingElement(a);else{var h=i[l],c=h.getMatte(this.layers[e].tt);a.setMatte(c)}}}},oe.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var i=0,a=this.elements.length;i<a;){if(this.elements[i]===e){var l="tp"in e.data?this.findIndexByInd(e.data.tp):i-1,h=this.elements[l],c=h.getMatte(this.layers[i].tt);e.setMatte(c);break}i+=1}}},oe.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 i,a=this.layers.length;for(this.completeLayers||this.checkLayers(e),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(e-this.layers[i].st);if(this.globalData._mdf)for(i=0;i<a;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()}},oe.prototype.appendElementInPos=function(e,i){var a=e.getBaseElement();if(a){for(var l=0,h;l<i;)this.elements[l]&&this.elements[l]!==!0&&this.elements[l].getBaseElement()&&(h=this.elements[l].getBaseElement()),l+=1;h?this.layerElement.insertBefore(a,h):this.layerElement.appendChild(a)}},oe.prototype.hide=function(){this.layerElement.style.display="none"},oe.prototype.show=function(){this.layerElement.style.display="block"};function Zr(){}N([Si,es,rs,Ii,na],Zr),Zr.prototype.initElement=function(e,i,a){this.initFrame(),this.initBaseData(e,i,a),this.initTransform(e,i,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!i.progressiveLoad)&&this.buildAllItems(),this.hide()},Zr.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 i=this.tm.v;i===this.data.op&&(i=this.data.op-1),this.renderedFrame=i}var a,l=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=l-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},Zr.prototype.renderInnerContent=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Zr.prototype.setElements=function(e){this.elements=e},Zr.prototype.getElements=function(){return this.elements},Zr.prototype.destroyElements=function(){var e,i=this.layers.length;for(e=0;e<i;e+=1)this.elements[e]&&this.elements[e].destroy()},Zr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ca(e,i,a){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?it(this.layers.length):[],this.initElement(e,i,a),this.tm=e.tm?at.getProp(this,e.tm,0,i.frameRate,this):{_placeholder:!0}}N([oe,Zr,aa],ca),ca.prototype.createComp=function(e){return new ca(e,this.globalData,this)};function Yd(e,i){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=xt("svg");var a="";if(i&&i.title){var l=xt("title"),h=Me();l.setAttribute("id",h),l.textContent=i.title,this.svgElement.appendChild(l),a+=h}if(i&&i.description){var c=xt("desc"),v=Me();c.setAttribute("id",v),c.textContent=i.description,this.svgElement.appendChild(c),a+=" "+v}a&&this.svgElement.setAttribute("aria-labelledby",a);var A=xt("defs");this.svgElement.appendChild(A);var g=xt("g");this.svgElement.appendChild(g),this.layerElement=g,this.renderConfig={preserveAspectRatio:i&&i.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:i&&i.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:i&&i.contentVisibility||"visible",progressiveLoad:i&&i.progressiveLoad||!1,hideOnTransparent:!(i&&i.hideOnTransparent===!1),viewBoxOnly:i&&i.viewBoxOnly||!1,viewBoxSize:i&&i.viewBoxSize||!1,className:i&&i.className||"",id:i&&i.id||"",focusable:i&&i.focusable,filterSize:{width:i&&i.filterSize&&i.filterSize.width||"100%",height:i&&i.filterSize&&i.filterSize.height||"100%",x:i&&i.filterSize&&i.filterSize.x||"0%",y:i&&i.filterSize&&i.filterSize.y||"0%"},width:i&&i.width,height:i&&i.height,runExpressions:!i||i.runExpressions===void 0||i.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:A,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return N([oe],Yd),Yd.prototype.createComp=function(e){return new ca(e,this.globalData,this)},Ob("svg",Yd),xi.registerModifier("tm",Tr),xi.registerModifier("pb",Js),xi.registerModifier("rp",Rr),xi.registerModifier("rd",ta),xi.registerModifier("zz",ra),xi.registerModifier("op",ia),Mt})});var zn=globalThis,Vn=zn.ShadowRoot&&(zn.ShadyCSS===void 0||zn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,jd=Symbol(),vm=new WeakMap,ha=class{constructor(o,t,r){if(this._$cssResult$=!0,r!==jd)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=t}get styleSheet(){let o=this.o,t=this.t;if(Vn&&o===void 0){let r=t!==void 0&&t.length===1;r&&(o=vm.get(t)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),r&&vm.set(t,o))}return o}toString(){return this.cssText}},gm=n=>new ha(typeof n=="string"?n:n+"",void 0,jd),U=(n,...o)=>{let t=n.length===1?n[0]:o.reduce((r,s,d)=>r+(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.")})(s)+n[d+1],n[0]);return new ha(t,n,jd)},Kd=(n,o)=>{if(Vn)n.adoptedStyleSheets=o.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of o){let r=document.createElement("style"),s=zn.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=t.cssText,n.appendChild(r)}},Bn=Vn?n=>n:n=>n instanceof CSSStyleSheet?(o=>{let t="";for(let r of o.cssRules)t+=r.cssText;return gm(t)})(n):n;var{is:Ny,defineProperty:Ly,getOwnPropertyDescriptor:Oy,getOwnPropertyNames:Ry,getOwnPropertySymbols:My,getPrototypeOf:Py}=Object,Oi=globalThis,bm=Oi.trustedTypes,Dy=bm?bm.emptyScript:"",qd=Oi.reactiveElementPolyfillSupport,pa=(n,o)=>n,ma={toAttribute(n,o){switch(o){case Boolean:n=n?Dy:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,o){let t=n;switch(o){case Boolean:t=n!==null;break;case Number:t=n===null?null:Number(n);break;case Object:case Array:try{t=JSON.parse(n)}catch{t=null}}return t}},Un=(n,o)=>!Ny(n,o),ym={attribute:!0,type:String,converter:ma,reflect:!1,hasChanged:Un},Em,Tm;(Em=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Tm=Oi.litPropertyMetadata)!=null||(Oi.litPropertyMetadata=new WeakMap);var ri=class extends HTMLElement{static addInitializer(o){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,t=ym){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(o,t),!t.noAccessor){let r=Symbol(),s=this.getPropertyDescriptor(o,r,t);s!==void 0&&Ly(this.prototype,o,s)}}static getPropertyDescriptor(o,t,r){var m;let{get:s,set:d}=(m=Oy(this.prototype,o))!=null?m:{get(){return this[t]},set(b){this[t]=b}};return{get(){return s==null?void 0:s.call(this)},set(b){let x=s==null?void 0:s.call(this);d.call(this,b),this.requestUpdate(o,x,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var t;return(t=this.elementProperties.get(o))!=null?t:ym}static _$Ei(){if(this.hasOwnProperty(pa("elementProperties")))return;let o=Py(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(pa("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(pa("properties"))){let t=this.properties,r=[...Ry(t),...My(t)];for(let s of r)this.createProperty(s,t[s])}let o=this[Symbol.metadata];if(o!==null){let t=litPropertyMetadata.get(o);if(t!==void 0)for(let[r,s]of t)this.elementProperties.set(r,s)}this._$Eh=new Map;for(let[t,r]of this.elementProperties){let s=this._$Eu(t,r);s!==void 0&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let t=[];if(Array.isArray(o)){let r=new Set(o.flat(1/0).reverse());for(let s of r)t.unshift(Bn(s))}else o!==void 0&&t.push(Bn(o));return t}static _$Eu(o,t){let r=t.attribute;return r===!1?void 0:typeof r=="string"?r:typeof o=="string"?o.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var o;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(t=>t(this))}addController(o){var t,r;((t=this._$EO)!=null?t:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((r=o.hostConnected)==null||r.call(o))}removeController(o){var t;(t=this._$EO)==null||t.delete(o)}_$E_(){let o=new Map,t=this.constructor.elementProperties;for(let r of t.keys())this.hasOwnProperty(r)&&(o.set(r,this[r]),delete this[r]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var t;let o=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return Kd(o,this.constructor.elementStyles),o}connectedCallback(){var o,t;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(r=>{var s;return(s=r.hostConnected)==null?void 0:s.call(r)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(t=>{var r;return(r=t.hostDisconnected)==null?void 0:r.call(t)})}attributeChangedCallback(o,t,r){this._$AK(o,r)}_$EC(o,t){var d;let r=this.constructor.elementProperties.get(o),s=this.constructor._$Eu(o,r);if(s!==void 0&&r.reflect===!0){let m=(((d=r.converter)==null?void 0:d.toAttribute)!==void 0?r.converter:ma).toAttribute(t,r.type);this._$Em=o,m==null?this.removeAttribute(s):this.setAttribute(s,m),this._$Em=null}}_$AK(o,t){var d;let r=this.constructor,s=r._$Eh.get(o);if(s!==void 0&&this._$Em!==s){let m=r.getPropertyOptions(s),b=typeof m.converter=="function"?{fromAttribute:m.converter}:((d=m.converter)==null?void 0:d.fromAttribute)!==void 0?m.converter:ma;this._$Em=s,this[s]=b.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(o,t,r){var s;if(o!==void 0){if(r!=null||(r=this.constructor.getPropertyOptions(o)),!((s=r.hasChanged)!=null?s:Un)(this[o],t))return;this.P(o,t,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,t,r){var s;this._$AL.has(o)||this._$AL.set(o,t),r.reflect===!0&&this._$Em!==o&&((s=this._$Ej)!=null?s:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((r=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,b]of this._$Ep)this[m]=b;this._$Ep=void 0}let d=this.constructor.elementProperties;if(d.size>0)for(let[m,b]of d)b.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],b)}let o=!1,t=this._$AL;try{o=this.shouldUpdate(t),o?(this.willUpdate(t),(s=this._$EO)==null||s.forEach(d=>{var m;return(m=d.hostUpdate)==null?void 0:m.call(d)}),this.update(t)):this._$EU()}catch(d){throw o=!1,this._$EU(),d}o&&this._$AE(t)}willUpdate(o){}_$AE(o){var t;(t=this._$EO)==null||t.forEach(r=>{var s;return(s=r.hostUpdated)==null?void 0:s.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(o)),this.updated(o)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(o){return!0}update(o){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(o){}firstUpdated(o){}},xm;ri.elementStyles=[],ri.shadowRootOptions={mode:"open"},ri[pa("elementProperties")]=new Map,ri[pa("finalized")]=new Map,qd==null||qd({ReactiveElement:ri}),((xm=Oi.reactiveElementVersions)!=null?xm:Oi.reactiveElementVersions=[]).push("2.0.4");var fa=globalThis,Hn=fa.trustedTypes,Am=Hn?Hn.createPolicy("lit-html",{createHTML:n=>n}):void 0,Qd="$lit$",ii=`lit$${Math.random().toFixed(9).slice(2)}$`,Jd="?"+ii,Fy=`<${Jd}>`,uo=document,va=()=>uo.createComment(""),ga=n=>n===null||typeof n!="object"&&typeof n!="function",tc=Array.isArray,Nm=n=>tc(n)||typeof(n==null?void 0:n[Symbol.iterator])=="function",Xd=`[
3
+ \f\r]`,ua=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Sm=/-->/g,Im=/>/g,po=RegExp(`>|${Xd}(?:([^\\s"'>=/]+)(${Xd}*=${Xd}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),_m=/'/g,Cm=/"/g,Lm=/^(?:script|style|textarea|title)$/i,ec=n=>(o,...t)=>({_$litType$:n,strings:o,values:t}),_=ec(1),h0=ec(2),p0=ec(3),be=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),km=new WeakMap,mo=uo.createTreeWalker(uo,129);function Om(n,o){if(!tc(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return Am!==void 0?Am.createHTML(o):o}var Rm=(n,o)=>{let t=n.length-1,r=[],s,d=o===2?"<svg>":o===3?"<math>":"",m=ua;for(let b=0;b<t;b++){let x=n[b],N,B,K=-1,Q=0;for(;Q<x.length&&(m.lastIndex=Q,B=m.exec(x),B!==null);)Q=m.lastIndex,m===ua?B[1]==="!--"?m=Sm:B[1]!==void 0?m=Im:B[2]!==void 0?(Lm.test(B[2])&&(s=RegExp("</"+B[2],"g")),m=po):B[3]!==void 0&&(m=po):m===po?B[0]===">"?(m=s!=null?s:ua,K=-1):B[1]===void 0?K=-2:(K=m.lastIndex-B[2].length,N=B[1],m=B[3]===void 0?po:B[3]==='"'?Cm:_m):m===Cm||m===_m?m=po:m===Sm||m===Im?m=ua:(m=po,s=void 0);let X=m===po&&n[b+1].startsWith("/>")?" ":"";d+=m===ua?x+Fy:K>=0?(r.push(N),x.slice(0,K)+Qd+x.slice(K)+ii+X):x+ii+(K===-2?b:X)}return[Om(n,d+(n[t]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),r]},ba=class n{constructor({strings:o,_$litType$:t},r){let s;this.parts=[];let d=0,m=0,b=o.length-1,x=this.parts,[N,B]=Rm(o,t);if(this.el=n.createElement(N,r),mo.currentNode=this.el.content,t===2||t===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(s=mo.nextNode())!==null&&x.length<b;){if(s.nodeType===1){if(s.hasAttributes())for(let K of s.getAttributeNames())if(K.endsWith(Qd)){let Q=B[m++],X=s.getAttribute(K).split(ii),it=/([.?@])?(.*)/.exec(Q);x.push({type:1,index:d,name:it[2],strings:X,ctor:it[1]==="."?Yn:it[1]==="?"?Wn:it[1]==="@"?jn:vo}),s.removeAttribute(K)}else K.startsWith(ii)&&(x.push({type:6,index:d}),s.removeAttribute(K));if(Lm.test(s.tagName)){let K=s.textContent.split(ii),Q=K.length-1;if(Q>0){s.textContent=Hn?Hn.emptyScript:"";for(let X=0;X<Q;X++)s.append(K[X],va()),mo.nextNode(),x.push({type:2,index:++d});s.append(K[Q],va())}}}else if(s.nodeType===8)if(s.data===Jd)x.push({type:2,index:d});else{let K=-1;for(;(K=s.data.indexOf(ii,K+1))!==-1;)x.push({type:7,index:d}),K+=ii.length-1}d++}}static createElement(o,t){let r=uo.createElement("template");return r.innerHTML=o,r}};function fo(n,o,t=n,r){var m,b,x;if(o===be)return o;let s=r!==void 0?(m=t.o)==null?void 0:m[r]:t.l,d=ga(o)?void 0:o._$litDirective$;return(s==null?void 0:s.constructor)!==d&&((b=s==null?void 0:s._$AO)==null||b.call(s,!1),d===void 0?s=void 0:(s=new d(n),s._$AT(n,t,r)),r!==void 0?((x=t.o)!=null?x:t.o=[])[r]=s:t.l=s),s!==void 0&&(o=fo(n,s._$AS(n,o.values),s,r)),o}var Gn=class{constructor(o,t){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var N;let{el:{content:t},parts:r}=this._$AD,s=((N=o==null?void 0:o.creationScope)!=null?N:uo).importNode(t,!0);mo.currentNode=s;let d=mo.nextNode(),m=0,b=0,x=r[0];for(;x!==void 0;){if(m===x.index){let B;x.type===2?B=new os(d,d.nextSibling,this,o):x.type===1?B=new x.ctor(d,x.name,x.strings,this,o):x.type===6&&(B=new Kn(d,this,o)),this._$AV.push(B),x=r[++b]}m!==(x==null?void 0:x.index)&&(d=mo.nextNode(),m++)}return mo.currentNode=uo,s}p(o){let t=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(o,r,t),t+=r.strings.length-2):r._$AI(o[t])),t++}},os=class n{get _$AU(){var o,t;return(t=(o=this._$AM)==null?void 0:o._$AU)!=null?t:this.v}constructor(o,t,r,s){var d;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=o,this._$AB=t,this._$AM=r,this.options=s,this.v=(d=s==null?void 0:s.isConnected)!=null?d:!0}get parentNode(){let o=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=t.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,t=this){o=fo(this,o,t),ga(o)?o===j||o==null||o===""?(this._$AH!==j&&this._$AR(),this._$AH=j):o!==this._$AH&&o!==be&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Nm(o)?this.k(o):this._(o)}O(o){return this._$AA.parentNode.insertBefore(o,this._$AB)}T(o){this._$AH!==o&&(this._$AR(),this._$AH=this.O(o))}_(o){this._$AH!==j&&ga(this._$AH)?this._$AA.nextSibling.data=o:this.T(uo.createTextNode(o)),this._$AH=o}$(o){var d;let{values:t,_$litType$:r}=o,s=typeof r=="number"?this._$AC(o):(r.el===void 0&&(r.el=ba.createElement(Om(r.h,r.h[0]),this.options)),r);if(((d=this._$AH)==null?void 0:d._$AD)===s)this._$AH.p(t);else{let m=new Gn(s,this),b=m.u(this.options);m.p(t),this.T(b),this._$AH=m}}_$AC(o){let t=km.get(o.strings);return t===void 0&&km.set(o.strings,t=new ba(o)),t}k(o){tc(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,r,s=0;for(let d of o)s===t.length?t.push(r=new n(this.O(va()),this.O(va()),this,this.options)):r=t[s],r._$AI(d),s++;s<t.length&&(this._$AR(r&&r._$AB.nextSibling,s),t.length=s)}_$AR(o=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);o&&o!==this._$AB;){let s=o.nextSibling;o.remove(),o=s}}setConnected(o){var t;this._$AM===void 0&&(this.v=o,(t=this._$AP)==null||t.call(this,o))}},vo=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,t,r,s,d){this.type=1,this._$AH=j,this._$AN=void 0,this.element=o,this.name=t,this._$AM=s,this.options=d,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=j}_$AI(o,t=this,r,s){let d=this.strings,m=!1;if(d===void 0)o=fo(this,o,t,0),m=!ga(o)||o!==this._$AH&&o!==be,m&&(this._$AH=o);else{let b=o,x,N;for(o=d[0],x=0;x<d.length-1;x++)N=fo(this,b[r+x],t,x),N===be&&(N=this._$AH[x]),m||(m=!ga(N)||N!==this._$AH[x]),N===j?o=j:o!==j&&(o+=(N!=null?N:"")+d[x+1]),this._$AH[x]=N}m&&!s&&this.j(o)}j(o){o===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Yn=class extends vo{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===j?void 0:o}},Wn=class extends vo{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==j)}},jn=class extends vo{constructor(o,t,r,s,d){super(o,t,r,s,d),this.type=5}_$AI(o,t=this){var m;if((o=(m=fo(this,o,t,0))!=null?m:j)===be)return;let r=this._$AH,s=o===j&&r!==j||o.capture!==r.capture||o.once!==r.once||o.passive!==r.passive,d=o!==j&&(r===j||s);s&&this.element.removeEventListener(this.name,this,r),d&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,o):this._$AH.handleEvent(o)}},Kn=class{constructor(o,t,r){this.element=o,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(o){fo(this,o)}},Mm={M:Qd,P:ii,A:Jd,C:1,L:Rm,R:Gn,D:Nm,V:fo,I:os,H:vo,N:Wn,U:jn,B:Yn,F:Kn},Zd=fa.litHtmlPolyfillSupport,wm;Zd==null||Zd(ba,os),((wm=fa.litHtmlVersions)!=null?wm:fa.litHtmlVersions=[]).push("3.2.0");var Pm=(n,o,t)=>{var d,m;let r=(d=t==null?void 0:t.renderBefore)!=null?d:o,s=r._$litPart$;if(s===void 0){let b=(m=t==null?void 0:t.renderBefore)!=null?m:null;r._$litPart$=s=new os(o.insertBefore(va(),b),b,void 0,t!=null?t:{})}return s._$AI(n),s};var Ri=class extends ri{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,r;let o=super.createRenderRoot();return(r=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=o.firstChild),o}update(o){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=Pm(t,this.renderRoot,this.renderOptions)}connectedCallback(){var o;super.connectedCallback(),(o=this.o)==null||o.setConnected(!0)}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.o)==null||o.setConnected(!1)}render(){return be}},Dm;Ri._$litElement$=!0,Ri.finalized=!0,(Dm=globalThis.litElementHydrateSupport)==null||Dm.call(globalThis,{LitElement:Ri});var rc=globalThis.litElementPolyfillSupport;rc==null||rc({LitElement:Ri});var Fm;((Fm=globalThis.litElementVersions)!=null?Fm:globalThis.litElementVersions=[]).push("4.1.0");var $y={attribute:!0,type:String,converter:ma,reflect:!1,hasChanged:Un},zy=(n=$y,o,t)=>{let{kind:r,metadata:s}=t,d=globalThis.litPropertyMetadata.get(s);if(d===void 0&&globalThis.litPropertyMetadata.set(s,d=new Map),d.set(t.name,n),r==="accessor"){let{name:m}=t;return{set(b){let x=o.get.call(this);o.set.call(this,b),this.requestUpdate(m,x,n)},init(b){return b!==void 0&&this.P(m,void 0,n),b}}}if(r==="setter"){let{name:m}=t;return function(b){let x=this[m];o.call(this,b),this.requestUpdate(m,x,n)}}throw Error("Unsupported decorator location: "+r)};function u(n){return(o,t)=>typeof t=="object"?zy(n,o,t):((r,s,d)=>{let m=s.hasOwnProperty(d);return s.constructor.createProperty(d,m?{...r,wrapped:!0}:r),m?Object.getOwnPropertyDescriptor(s,d):void 0})(n,o,t)}function ut(n){return u({...n,state:!0,attribute:!1})}function $m(n){return(o,t)=>{let r=typeof o=="function"?o:o[t];Object.assign(r,n)}}var Dr=(n,o,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(n,o,t),t);function ye(n,o){return(t,r,s)=>{let d=m=>{var b,x;return(x=(b=m.renderRoot)==null?void 0:b.querySelector(n))!=null?x:null};if(o){let{get:m,set:b}=typeof r=="object"?t:s!=null?s:(()=>{let x=Symbol();return{get(){return this[x]},set(N){this[x]=N}}})();return Dr(t,r,{get(){let x=m.call(this);return x===void 0&&(x=d(this),(x!==null||this.hasUpdated)&&b.call(this,x)),x}})}return Dr(t,r,{get(){return d(this)}})}}var ic;function zm(n){return(o,t)=>Dr(o,t,{get(){var r;return((r=this.renderRoot)!=null?r:ic!=null?ic:ic=document.createDocumentFragment()).querySelectorAll(n)}})}function Pt(n){return(o,t)=>{let{slot:r,selector:s}=n!=null?n:{},d="slot"+(r?`[name=${r}]`:":not([name])");return Dr(o,t,{get(){var x,N;let m=(x=this.renderRoot)==null?void 0:x.querySelector(d),b=(N=m==null?void 0:m.assignedElements(n))!=null?N:[];return s===void 0?b:b.filter(B=>B.matches(s))}})}}function Vm(n){return(o,t)=>{let{slot:r}=n!=null?n:{},s="slot"+(r?`[name=${r}]`:":not([name])");return Dr(o,t,{get(){var m,b;let d=(m=this.renderRoot)==null?void 0:m.querySelector(s);return(b=d==null?void 0:d.assignedNodes(n))!=null?b:[]}})}}var Vy={PREFIX:"mdc",SEPARATOR:"-"},By={NAMESPACE:Vy},oc=By;var Uy=n=>[oc.NAMESPACE.PREFIX,n].join(oc.NAMESPACE.SEPARATOR),z={constructTagName:Uy};var rt={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MAIN:"main",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var Bm=z.constructTagName("buttonsimple"),go={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},ss={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ya={SIZE:go[32],TYPE:ss.BUTTON,ROLE:rt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var oi=z.constructTagName("button"),Ft={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Ea={40:40,32:32,28:28,24:24},lr={64:64,52:52,20:20,...Ea},bo={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},as={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},ze={VARIANT:Ft.PRIMARY,SIZE:Ea[32],COLOR:bo.DEFAULT,TYPE_INTERNAL:as.ICON,TYPE:ss.BUTTON,INVERTED:!1};var qn=n=>{class o extends n{constructor(){super(...arguments);this.variant=ze.VARIANT;this.color=ze.COLOR;this.typeInternal=ze.TYPE_INTERNAL}setVariant(s){this.setAttribute("variant",Object.values(Ft).includes(s)?s:ze.VARIANT)}setColor(s){!Object.values(bo).includes(s)||this.variant===Ft.TERTIARY?this.setAttribute("color",`${ze.COLOR}`):this.setAttribute("color",s)}setSize(s){let m=this.typeInternal===as.ICON?Object.values(lr).includes(s)&&!(s===lr[20]&&this.variant!==Ft.TERTIARY):Object.values(Ea).includes(s);this.setAttribute("size",m?`${s}`:`${ze.SIZE}`)}inferButtonType(){var N,B,K,Q,X,it;let s=(B=(N=this.shadowRoot)==null?void 0:N.querySelector("slot:not([name])"))==null?void 0:B.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,d=(Q=(K=this.shadowRoot)==null?void 0:K.querySelector('slot[name="prefix"]'))==null?void 0:Q.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,m=this.prefixIcon||d&&d>0,b=(it=(X=this.shadowRoot)==null?void 0:X.querySelector('slot[name="postfix"]'))==null?void 0:it.assignedNodes().filter(dt=>{var lt;return dt.nodeType!==Node.TEXT_NODE||((lt=dt.textContent)==null?void 0:lt.trim())}).length,x=this.postfixIcon||b&&b>0;s&&(m||x)?(this.typeInternal=as.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!s&&(m||x)?(this.typeInternal=as.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=as.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),p([u({type:String})],o.prototype,"variant",2),p([u({type:String})],o.prototype,"color",2),p([ut()],o.prototype,"typeInternal",2),o};var Um=U`
5
5
  :host {
6
6
  box-sizing: border-box;
7
7
  }
@@ -11,7 +11,7 @@
11
11
  :host *::after {
12
12
  box-sizing: inherit;
13
13
  }
14
- `;var Xn=class extends Ri{static register(o){customElements.get(o)||customElements.define(o,this)}};Xn.styles=[Um];var Hm=Xn;var q=Hm;var Mi=class extends Event{constructor(o,t,r){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=r!=null?r:!1}};var ns=class{constructor(o,t,r,s){var d;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,b)=>{this.unsubscribe&&(this.unsubscribe!==b&&(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,b)),this.unsubscribe=b},this.host=o,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(d=m.subscribe)!=null?d:!1}else this.context=t,this.callback=r,this.subscribe=s!=null?s:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Mi(this.context,this.t,this.subscribe))}};var Zn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let r=t||!Object.is(o,this.o);this.o=o,r&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:r}]of this.subscriptions)t(this.o,r)},o!==void 0&&(this.value=o)}addCallback(o,t,r){if(!r)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:s}=this.subscriptions.get(o);o(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var ac=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},ls=class extends Zn{constructor(o,t,r){var s,d;super(t.context!==void 0?t.initialValue:r),this.onContextRequest=m=>{let b=m.composedPath()[0];m.context===this.context&&b!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,b,m.subscribe))},this.onProviderRequest=m=>{let b=m.composedPath()[0];if(m.context!==this.context||b===this.host)return;let x=new Set;for(let[N,{consumerHost:B}]of this.subscriptions)x.has(N)||(x.add(N),B.dispatchEvent(new Mi(this.context,N,!0)));m.stopPropagation()},this.host=o,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(d=(s=this.host).addController)==null||d.call(s,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new ac(this.context))}};var Hy=U`
14
+ `;var Xn=class extends Ri{static register(o){customElements.get(o)||customElements.define(o,this)}};Xn.styles=[Um];var Hm=Xn;var q=Hm;var Mi=class extends Event{constructor(o,t,r){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=t,this.subscribe=r!=null?r:!1}};var ns=class{constructor(o,t,r,s){var d;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,b)=>{this.unsubscribe&&(this.unsubscribe!==b&&(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,b)),this.unsubscribe=b},this.host=o,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(d=m.subscribe)!=null?d:!1}else this.context=t,this.callback=r,this.subscribe=s!=null?s:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Mi(this.context,this.t,this.subscribe))}};var Zn=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,t=!1){let r=t||!Object.is(o,this.o);this.o=o,r&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:r}]of this.subscriptions)t(this.o,r)},o!==void 0&&(this.value=o)}addCallback(o,t,r){if(!r)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:t});let{disposer:s}=this.subscriptions.get(o);o(this.value,s)}clearCallbacks(){this.subscriptions.clear()}};var sc=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},ls=class extends Zn{constructor(o,t,r){var s,d;super(t.context!==void 0?t.initialValue:r),this.onContextRequest=m=>{let b=m.composedPath()[0];m.context===this.context&&b!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,b,m.subscribe))},this.onProviderRequest=m=>{let b=m.composedPath()[0];if(m.context!==this.context||b===this.host)return;let x=new Set;for(let[N,{consumerHost:B}]of this.subscriptions)x.has(N)||(x.add(N),B.dispatchEvent(new Mi(this.context,N,!0)));m.stopPropagation()},this.host=o,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(d=(s=this.host).addController)==null||d.call(s,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new sc(this.context))}};var Hy=U`
15
15
  :host {
16
16
  display: contents;
17
17
  }
@@ -447,7 +447,7 @@
447
447
  width: 100%;
448
448
  fill: var(--mdc-icon-fill-color);
449
449
  }
450
- `,...St()],Xm=qy;var xa={},Zm=async n=>(xa[n]===void 0&&(xa[n]=new Map),{async set(o,t){xa[n].set(o.url,await t.text())},async get(o){return xa[n].get(o.url)},async delete(o){xa[n].delete(o.url)}}),Qm=async n=>{let o=await caches.open(n);return{set:async(t,r)=>{await o.put(t,r)},get:async t=>{let r=await o.match(t);return r==null?void 0:r.text()},delete:async t=>{await o.delete(t)}}},rl=async(n,o)=>o==="in-memory-cache"?Zm(n):Qm(n);var Jm=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),tu=async({url:n,name:o,fileExtension:t,cacheStrategy:r,cacheName:s,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!s||!r||!["in-memory-cache","web-cache-api"].includes(r)?Jm(b).then(x=>x.text()):rl(s,r).then(x=>x.get(b).then(N=>N||Jm(b.clone()).then(B=>{var K;return B.status<400&&B.headers.has("content-type")?(K=x.set)==null?void 0:K.call(x,b,B.clone()).then(()=>B.text()):B.text()})).catch(N=>{throw new Error(`Error in caching the Icon ${o}, ${N}`)}))};var eu=z.constructTagName("icon"),nc={NAME:void 0,SIZE:1};var Qe=class extends q{constructor(){super();this.name=nc.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.iconProviderContext=xe.consume({host:this,context:Ta.Context});this.abortController=new AbortController}prepareIconElement(t){let r=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","icon"),r.setAttribute("aria-hidden","true"),r}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:r,url:s,cacheName:d,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&s&&r&&this.name){let x=()=>{var N;return(N=this.abortController)==null||N.abort(),this.abortController=new AbortController,this.abortController.signal};return tu({url:s,name:this.name,fileExtension:r,cacheName:d,cacheStrategy:b,renewSignal:x}).then(N=>{let B=this.prepareIconElement(N);this.handleIconLoadedSuccess(B)}).catch(N=>{this.handleIconLoadedFailure(N)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(x=>{this.handleIconLoadedSuccess(x.default())}).catch(x=>{this.handleIconLoadedFailure(x)})}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 r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIconLoadedFailure(t){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",r)}}get computedIconSize(){var t,r;return(r=(t=this.size)!=null?t:this.sizeFromContext)!=null?r:nc.SIZE}updated(t){var r,s,d,m;super.updated(t),t.has("name")&&this.getIconData().catch(b=>{b.name!=="AbortError"&&this.onerror&&this.onerror(b)}),(t.has("ariaLabel")||t.has("ariaLabelledby"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(s=this.iconProviderContext.value)==null?void 0:s.lengthUnit,this.updateSize()),this.sizeFromContext!==((d=this.iconProviderContext.value)==null?void 0:d.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.iconData} `}};Qe.styles=[...q.styles,...Xm],p([ut()],Qe.prototype,"iconData",2),p([ut()],Qe.prototype,"lengthUnitFromContext",2),p([ut()],Qe.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],Qe.prototype,"name",2),p([u({type:Number})],Qe.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],Qe.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],Qe.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Qe.prototype,"ariaLabelledby",2),p([ut()],Qe.prototype,"abortController",2);var lc=Qe;lc.register(eu);var Xy=lc;To.register(oi);var Zy=To;var ru=U`
450
+ `,...St()],Xm=qy;var xa={},Zm=async n=>(xa[n]===void 0&&(xa[n]=new Map),{async set(o,t){xa[n].set(o.url,await t.text())},async get(o){return xa[n].get(o.url)},async delete(o){xa[n].delete(o.url)}}),Qm=async n=>{let o=await caches.open(n);return{set:async(t,r)=>{await o.put(t,r)},get:async t=>{let r=await o.match(t);return r==null?void 0:r.text()},delete:async t=>{await o.delete(t)}}},rl=async(n,o)=>o==="in-memory-cache"?Zm(n):Qm(n);var Jm=async n=>fetch(n).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),tu=async({url:n,name:o,fileExtension:t,cacheStrategy:r,cacheName:s,renewSignal:d})=>{let m=d(),b=new Request(`${n}/${o}.${t}`,{signal:m});return!s||!r||!["in-memory-cache","web-cache-api"].includes(r)?Jm(b).then(x=>x.text()):rl(s,r).then(x=>x.get(b).then(N=>N||Jm(b.clone()).then(B=>{var K;return B.status<400&&B.headers.has("content-type")?(K=x.set)==null?void 0:K.call(x,b,B.clone()).then(()=>B.text()):B.text()})).catch(N=>{throw new Error(`Error in caching the Icon ${o}, ${N}`)}))};var eu=z.constructTagName("icon"),ac={NAME:void 0,SIZE:1};var Qe=class extends q{constructor(){super();this.name=ac.NAME;this.ariaLabel=null;this.ariaLabelledby=null;this.iconProviderContext=xe.consume({host:this,context:Ta.Context});this.abortController=new AbortController}prepareIconElement(t){let r=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&r.setAttribute("data-name",this.name),r.setAttribute("part","icon"),r.setAttribute("aria-hidden","true"),r}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:r,url:s,cacheName:d,iconSet:m,cacheStrategy:b}=this.iconProviderContext.value;if(m==="custom-icons"&&s&&r&&this.name){let x=()=>{var N;return(N=this.abortController)==null||N.abort(),this.abortController=new AbortController,this.abortController.signal};return tu({url:s,name:this.name,fileExtension:r,cacheName:d,cacheStrategy:b,renewSignal:x}).then(N=>{let B=this.prepareIconElement(N);this.handleIconLoadedSuccess(B)}).catch(N=>{this.handleIconLoadedFailure(N)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(x=>{this.handleIconLoadedSuccess(x.default())}).catch(x=>{this.handleIconLoadedFailure(x)})}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 r=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(r)}handleIconLoadedFailure(t){let r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let r=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",r)}}get computedIconSize(){var t,r;return(r=(t=this.size)!=null?t:this.sizeFromContext)!=null?r:ac.SIZE}updated(t){var r,s,d,m;super.updated(t),t.has("name")&&this.getIconData().catch(b=>{b.name!=="AbortError"&&this.onerror&&this.onerror(b)}),(t.has("ariaLabel")||t.has("ariaLabelledby"))&&(this.role=this.ariaLabel||this.ariaLabelledby?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((r=this.iconProviderContext.value)==null?void 0:r.lengthUnit)&&(this.lengthUnitFromContext=(s=this.iconProviderContext.value)==null?void 0:s.lengthUnit,this.updateSize()),this.sizeFromContext!==((d=this.iconProviderContext.value)==null?void 0:d.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return _` ${this.iconData} `}};Qe.styles=[...q.styles,...Xm],p([ut()],Qe.prototype,"iconData",2),p([ut()],Qe.prototype,"lengthUnitFromContext",2),p([ut()],Qe.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],Qe.prototype,"name",2),p([u({type:Number})],Qe.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],Qe.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],Qe.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Qe.prototype,"ariaLabelledby",2),p([ut()],Qe.prototype,"abortController",2);var nc=Qe;nc.register(eu);var Xy=nc;To.register(oi);var Zy=To;var ru=U`
451
451
  :host::part(text) {
452
452
  font-size: unset;
453
453
  font-weight: unset;
@@ -697,7 +697,7 @@
697
697
  display: block;
698
698
  font-family: var(--mdc-text-font-family);
699
699
  }
700
- `,ru],iu=Qy;var Aa=z.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"},mt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},Ae={TYPE:ot.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:mt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var ds=class extends q{constructor(){super(...arguments);this.type=Ae.TYPE;this.tagname=Ae.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return _`<h1 part=${Ae.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return _`<h2 part=${Ae.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return _`<h3 part=${Ae.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return _`<h4 part=${Ae.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return _`<h5 part=${Ae.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return _`<h6 part=${Ae.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return _`<div part=${Ae.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return _`<span part=${Ae.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return _`<small part=${Ae.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return _`<p part=${Ae.CSS_PART_TEXT}><slot></slot></p>`}}};ds.styles=[...q.styles,...iu],p([u({attribute:"type",reflect:!0,type:String})],ds.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],ds.prototype,"tagname",2);var dc=ds;dc.register(Aa);var Jy=dc;var tt=n=>n!=null?n:j;var pe=[];for(let n=0;n<256;++n)pe.push((n+256).toString(16).slice(1));function ou(n,o=0){return(pe[n[o+0]]+pe[n[o+1]]+pe[n[o+2]]+pe[n[o+3]]+"-"+pe[n[o+4]]+pe[n[o+5]]+"-"+pe[n[o+6]]+pe[n[o+7]]+"-"+pe[n[o+8]]+pe[n[o+9]]+"-"+pe[n[o+10]]+pe[n[o+11]]+pe[n[o+12]]+pe[n[o+13]]+pe[n[o+14]]+pe[n[o+15]]).toLowerCase()}var cc,tE=new Uint8Array(16);function hc(){if(!cc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");cc=crypto.getRandomValues.bind(crypto)}return cc(tE)}var eE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),pc={randomUUID:eE};function rE(n,o,t){var s,d,m;if(pc.randomUUID&&!o&&!n)return pc.randomUUID();n=n||{};let r=(m=(d=n.random)!=null?d:(s=n.rng)==null?void 0:s.call(n))!=null?m:hc();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)o[t+b]=r[b];return o}return ou(r)}var Se=rE;var su=z.constructTagName("accordiongroup"),mc={SMALL:"small",LARGE:"large"},iE={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},Sa={SIZE:mc.SMALL,VARIANT:iE.STACKED};var il=z.constructTagName("accordionbutton"),Ia={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},oE={DEFAULT:"default",BORDERLESS:"borderless"},Fi={EXPANDED:!1,SIZE:mc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:oE.DEFAULT,ICON_NAME:Ia.ARROW_UP};var sE=U`
700
+ `,ru],iu=Qy;var Aa=z.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"},mt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},Ae={TYPE:ot.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:mt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var ds=class extends q{constructor(){super(...arguments);this.type=Ae.TYPE;this.tagname=Ae.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case mt.H1:return _`<h1 part=${Ae.CSS_PART_TEXT}><slot></slot></h1>`;case mt.H2:return _`<h2 part=${Ae.CSS_PART_TEXT}><slot></slot></h2>`;case mt.H3:return _`<h3 part=${Ae.CSS_PART_TEXT}><slot></slot></h3>`;case mt.H4:return _`<h4 part=${Ae.CSS_PART_TEXT}><slot></slot></h4>`;case mt.H5:return _`<h5 part=${Ae.CSS_PART_TEXT}><slot></slot></h5>`;case mt.H6:return _`<h6 part=${Ae.CSS_PART_TEXT}><slot></slot></h6>`;case mt.DIV:return _`<div part=${Ae.CSS_PART_TEXT}><slot></slot></div>`;case mt.SPAN:return _`<span part=${Ae.CSS_PART_TEXT}><slot></slot></span>`;case mt.SMALL:return _`<small part=${Ae.CSS_PART_TEXT}><slot></slot></small>`;case mt.P:default:return _`<p part=${Ae.CSS_PART_TEXT}><slot></slot></p>`}}};ds.styles=[...q.styles,...iu],p([u({attribute:"type",reflect:!0,type:String})],ds.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],ds.prototype,"tagname",2);var lc=ds;lc.register(Aa);var Jy=lc;var tt=n=>n!=null?n:j;var pe=[];for(let n=0;n<256;++n)pe.push((n+256).toString(16).slice(1));function ou(n,o=0){return(pe[n[o+0]]+pe[n[o+1]]+pe[n[o+2]]+pe[n[o+3]]+"-"+pe[n[o+4]]+pe[n[o+5]]+"-"+pe[n[o+6]]+pe[n[o+7]]+"-"+pe[n[o+8]]+pe[n[o+9]]+"-"+pe[n[o+10]]+pe[n[o+11]]+pe[n[o+12]]+pe[n[o+13]]+pe[n[o+14]]+pe[n[o+15]]).toLowerCase()}var dc,tE=new Uint8Array(16);function cc(){if(!dc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");dc=crypto.getRandomValues.bind(crypto)}return dc(tE)}var eE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),hc={randomUUID:eE};function rE(n,o,t){var s,d,m;if(hc.randomUUID&&!o&&!n)return hc.randomUUID();n=n||{};let r=(m=(d=n.random)!=null?d:(s=n.rng)==null?void 0:s.call(n))!=null?m:cc();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,o){if(t=t||0,t<0||t+16>o.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let b=0;b<16;++b)o[t+b]=r[b];return o}return ou(r)}var Se=rE;var su=z.constructTagName("accordiongroup"),pc={SMALL:"small",LARGE:"large"},iE={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},Sa={SIZE:pc.SMALL,VARIANT:iE.STACKED};var il=z.constructTagName("accordionbutton"),Ia={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},oE={DEFAULT:"default",BORDERLESS:"borderless"},Fi={EXPANDED:!1,SIZE:pc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:oE.DEFAULT,ICON_NAME:Ia.ARROW_UP};var sE=U`
701
701
  :host {
702
702
  --mdc-accordionbutton-border-color: var(--mds-color-theme-outline-secondary-normal);
703
703
  --mdc-accordionbutton-hover-color: var(--mds-color-theme-background-primary-hover);
@@ -881,7 +881,7 @@
881
881
  ></mdc-button>
882
882
  </div>
883
883
  </div>
884
- `}};$i.styles=[...cs.styles,...nu],p([Pt({slot:"leading-controls"})],$i.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],$i.prototype,"trailingControlsSlot",2),p([u({type:String,attribute:"open-button-aria-label",reflect:!0})],$i.prototype,"openButtonAriaLabel",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],$i.prototype,"closeButtonAriaLabel",2);var uc=$i;var ol=z.constructTagName("accordion");uc.register(ol);var nE=uc;var lE=U`
884
+ `}};$i.styles=[...cs.styles,...nu],p([Pt({slot:"leading-controls"})],$i.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],$i.prototype,"trailingControlsSlot",2),p([u({type:String,attribute:"open-button-aria-label",reflect:!0})],$i.prototype,"openButtonAriaLabel",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],$i.prototype,"closeButtonAriaLabel",2);var mc=$i;var ol=z.constructTagName("accordion");mc.register(ol);var nE=mc;var lE=U`
885
885
  :host {
886
886
  --mdc-accordiongroup-items-border-color: var(--mds-color-theme-outline-secondary-normal);
887
887
 
@@ -925,7 +925,7 @@
925
925
  :host([variant='borderless']) ::slotted(mdc-accordionbutton[expanded]) {
926
926
  border-bottom: 1px solid var(--mdc-accordiongroup-items-border-color);
927
927
  }
928
- `,lu=[lE,...St()];var ni=class extends q{constructor(){super();this.size=Sa.SIZE;this.variant=Sa.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(r=>{r!==t.target&&r.hasAttribute("expanded")&&r.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,r){[...this.accordionItems].forEach(s=>{s.setAttribute(t,r)}),[...this.accordionButtonItems].forEach(s=>{s.setAttribute(t,r)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=Sa.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=Sa.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return _` <slot></slot> `}};ni.styles=[...q.styles,...lu],p([u({type:String,reflect:!0})],ni.prototype,"size",2),p([u({type:String,reflect:!0})],ni.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],ni.prototype,"allowMultiple",2),p([Pt({selector:ol})],ni.prototype,"accordionItems",2),p([Pt({selector:il})],ni.prototype,"accordionButtonItems",2);var fc=ni;fc.register(su);var dE=fc;cs.register(il);var cE=cs;var Xt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var hE=U`
928
+ `,lu=[lE,...St()];var ni=class extends q{constructor(){super();this.size=Sa.SIZE;this.variant=Sa.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(r=>{r!==t.target&&r.hasAttribute("expanded")&&r.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,r){[...this.accordionItems].forEach(s=>{s.setAttribute(t,r)}),[...this.accordionButtonItems].forEach(s=>{s.setAttribute(t,r)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=Sa.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=Sa.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return _` <slot></slot> `}};ni.styles=[...q.styles,...lu],p([u({type:String,reflect:!0})],ni.prototype,"size",2),p([u({type:String,reflect:!0})],ni.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],ni.prototype,"allowMultiple",2),p([Pt({selector:ol})],ni.prototype,"accordionItems",2),p([Pt({selector:il})],ni.prototype,"accordionButtonItems",2);var uc=ni;uc.register(su);var dE=uc;cs.register(il);var cE=cs;var Xt=n=>{class o extends n{}return p([u({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var hE=U`
929
929
  :host {
930
930
  height: 1.5rem;
931
931
  gap: 0.25rem;
@@ -1043,11 +1043,11 @@
1043
1043
  ${this.label?_`<mdc-text part="label" type="${hs.TEXT_TYPE}" tagname="${hs.TAG_NAME}"
1044
1044
  >${this.label}</mdc-text
1045
1045
  >`:j}
1046
- `}};ps.styles=[...q.styles,...du],p([u({type:String,reflect:!0})],ps.prototype,"variant",2),p([u({type:String})],ps.prototype,"label",2);var vc=ps;vc.register(cu);var pE=vc;var{I:mE}=Mm;var sl=n=>n.strings===void 0,pu=()=>document.createComment(""),ms=(n,o,t)=>{var d;let r=n._$AA.parentNode,s=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=r.insertBefore(pu(),s),b=r.insertBefore(pu(),s);t=new mE(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,x=b!==n;if(x){let N;(d=t._$AQ)==null||d.call(t,n),t._$AM=n,t._$AP!==void 0&&(N=n._$AU)!==b._$AU&&t._$AP(N)}if(m!==s||x){let N=t._$AA;for(;N!==m;){let B=N.nextSibling;r.insertBefore(N,s),N=B}}}return t},zi=(n,o,t=n)=>(n._$AI(o,t),n),uE={},al=(n,o=uE)=>n._$AH=o,mu=n=>n._$AH,nl=n=>{var r;(r=n._$AP)==null||r.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let s=o.nextSibling;o.remove(),o=s}};var Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},li=n=>(...o)=>({_$litDirective$:n,values:o}),Vr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,r){this.t=o,this._$AM=t,this.i=r}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var _a=(n,o)=>{var r;let t=n._$AN;if(t===void 0)return!1;for(let s of t)(r=s._$AO)==null||r.call(s,o,!1),_a(s,o);return!0},ll=n=>{let o,t;do{if((o=n._$AM)===void 0)break;t=o._$AN,t.delete(n),n=o}while((t==null?void 0:t.size)===0)},uu=n=>{for(let o;o=n._$AM;n=o){let t=o._$AN;if(t===void 0)o._$AN=t=new Set;else if(t.has(n))break;t.add(n),gE(o)}};function fE(n){this._$AN!==void 0?(ll(this),this._$AM=n,uu(this)):this._$AM=n}function vE(n,o=!1,t=0){let r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(o)if(Array.isArray(r))for(let d=t;d<r.length;d++)_a(r[d],!1),ll(r[d]);else r!=null&&(_a(r,!1),ll(r));else _a(this,n)}var gE=n=>{var o,t;n.type==Je.CHILD&&((o=n._$AP)!=null||(n._$AP=vE),(t=n._$AQ)!=null||(n._$AQ=fE))},dl=class extends Vr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,r){super._$AT(o,t,r),uu(this),this.isConnected=o._$AU}_$AO(o,t=!0){var r,s;o!==this.isConnected&&(this.isConnected=o,o?(r=this.reconnected)==null||r.call(this):(s=this.disconnected)==null||s.call(this)),t&&(_a(this,o),ll(this))}setValue(o){if(sl(this.t))this.t._$AI(o,this);else{let t=[...this.t._$AH];t[this.i]=o,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var fu=()=>new bc,bc=class{},gc=new WeakMap,vu=li(class extends dl{render(n){return j}update(n,[o]){var r;let t=o!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=o,this.ht=(r=n.options)==null?void 0:r.host,this.rt(this.ct=n.element)),j}rt(n){var o;if(this.isConnected||(n=void 0),typeof this.Y=="function"){let t=(o=this.ht)!=null?o:globalThis,r=gc.get(t);r===void 0&&(r=new WeakMap,gc.set(t,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.set(this.Y,n),n!==void 0&&this.Y.call(this.ht,n)}else this.Y.value=n}get lt(){var n,o,t;return typeof this.Y=="function"?(o=gc.get((n=this.ht)!=null?n:globalThis))==null?void 0:o.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 Eu=wy(gu());var yc={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 bE=[yt,U`
1046
+ `}};ps.styles=[...q.styles,...du],p([u({type:String,reflect:!0})],ps.prototype,"variant",2),p([u({type:String})],ps.prototype,"label",2);var fc=ps;fc.register(cu);var pE=fc;var{I:mE}=Mm;var sl=n=>n.strings===void 0,pu=()=>document.createComment(""),ms=(n,o,t)=>{var d;let r=n._$AA.parentNode,s=o===void 0?n._$AB:o._$AA;if(t===void 0){let m=r.insertBefore(pu(),s),b=r.insertBefore(pu(),s);t=new mE(m,b,n,n.options)}else{let m=t._$AB.nextSibling,b=t._$AM,x=b!==n;if(x){let N;(d=t._$AQ)==null||d.call(t,n),t._$AM=n,t._$AP!==void 0&&(N=n._$AU)!==b._$AU&&t._$AP(N)}if(m!==s||x){let N=t._$AA;for(;N!==m;){let B=N.nextSibling;r.insertBefore(N,s),N=B}}}return t},zi=(n,o,t=n)=>(n._$AI(o,t),n),uE={},al=(n,o=uE)=>n._$AH=o,mu=n=>n._$AH,nl=n=>{var r;(r=n._$AP)==null||r.call(n,!1,!0);let o=n._$AA,t=n._$AB.nextSibling;for(;o!==t;){let s=o.nextSibling;o.remove(),o=s}};var Je={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},li=n=>(...o)=>({_$litDirective$:n,values:o}),Vr=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,t,r){this.t=o,this._$AM=t,this.i=r}_$AS(o,t){return this.update(o,t)}update(o,t){return this.render(...t)}};var _a=(n,o)=>{var r;let t=n._$AN;if(t===void 0)return!1;for(let s of t)(r=s._$AO)==null||r.call(s,o,!1),_a(s,o);return!0},ll=n=>{let o,t;do{if((o=n._$AM)===void 0)break;t=o._$AN,t.delete(n),n=o}while((t==null?void 0:t.size)===0)},uu=n=>{for(let o;o=n._$AM;n=o){let t=o._$AN;if(t===void 0)o._$AN=t=new Set;else if(t.has(n))break;t.add(n),gE(o)}};function fE(n){this._$AN!==void 0?(ll(this),this._$AM=n,uu(this)):this._$AM=n}function vE(n,o=!1,t=0){let r=this._$AH,s=this._$AN;if(s!==void 0&&s.size!==0)if(o)if(Array.isArray(r))for(let d=t;d<r.length;d++)_a(r[d],!1),ll(r[d]);else r!=null&&(_a(r,!1),ll(r));else _a(this,n)}var gE=n=>{var o,t;n.type==Je.CHILD&&((o=n._$AP)!=null||(n._$AP=vE),(t=n._$AQ)!=null||(n._$AQ=fE))},dl=class extends Vr{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,t,r){super._$AT(o,t,r),uu(this),this.isConnected=o._$AU}_$AO(o,t=!0){var r,s;o!==this.isConnected&&(this.isConnected=o,o?(r=this.reconnected)==null||r.call(this):(s=this.disconnected)==null||s.call(this)),t&&(_a(this,o),ll(this))}setValue(o){if(sl(this.t))this.t._$AI(o,this);else{let t=[...this.t._$AH];t[this.i]=o,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var fu=()=>new gc,gc=class{},vc=new WeakMap,vu=li(class extends dl{render(n){return j}update(n,[o]){var r;let t=o!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=o,this.ht=(r=n.options)==null?void 0:r.host,this.rt(this.ct=n.element)),j}rt(n){var o;if(this.isConnected||(n=void 0),typeof this.Y=="function"){let t=(o=this.ht)!=null?o:globalThis,r=vc.get(t);r===void 0&&(r=new WeakMap,vc.set(t,r)),r.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),r.set(this.Y,n),n!==void 0&&this.Y.call(this.ht,n)}else this.Y.value=n}get lt(){var n,o,t;return typeof this.Y=="function"?(o=vc.get((n=this.ht)!=null?n:globalThis))==null?void 0:o.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 Eu=wy(gu());var bc={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 bE=[yt,U`
1047
1047
  :host svg {
1048
1048
  display: block;
1049
1049
  }
1050
- `],bu=bE;var yu=z.constructTagName("animation"),hl={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var di=class extends q{constructor(){super(...arguments);this.name=hl.NAME;this.loop=hl.LOOP;this.autoplay=hl.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledby=null;this.containerRef=fu();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=Eu.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 r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}getAnimationData(){this.name&&yc[this.name]?import(`@momentum-design/animations/dist/lottie${yc[this.name].replace(/^\.\/lottie/,"")}`).then(r=>this.onLoadSuccessHandler(r.default)).catch(r=>this.onLoadFailHandler(r)):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?rt.IMG:null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return _`<div aria-hidden="true" ${vu(this.containerRef)}></div>`}};di.styles=[...q.styles,...bu],p([u({type:String,reflect:!0})],di.prototype,"name",2),p([u({type:String,reflect:!0})],di.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],di.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],di.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],di.prototype,"ariaLabelledby",2);var Ec=di;Ec.register(yu);var yE=Ec;var us=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(o){this.currentKeydownListener=o,document.addEventListener("keydown",o)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(o){this.stackArray.forEach(t=>{t!==o&&t.setIsFocusTrapActivated(!1)}),this.stack.add(o),this.removeKeydownListener(),this.addKeydownListener(o.handleTabKeydown.bind(o))}static deactivate(o){if(this.stack.has(o)&&(this.stack.delete(o),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};us.stack=new Set,us.currentKeydownListener=null;var pl=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(s){this.isFocusTrapActivated=s}activateFocusTrap(){this.setIsFocusTrapActivated(!0),us.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),us.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(s){return s.getClientRects().length===0}hasZeroDimensions(s){let{width:d,height:m}=s.getBoundingClientRect(),{offsetWidth:b,offsetHeight:x}=s;return b+x+m+d===0}isNotVisible(s){return this.hasZeroDimensions(s)||this.hasNoClientRects(s)}hasHiddenStyle(s){let{display:d,opacity:m,visibility:b}=s.style;return d==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(s){let d=getComputedStyle(s);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(s){return s.hasAttribute("hidden")||s.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(s)||this.isNotVisible(s)||this.hasComputedHidden(s)}isDisabled(s){return s.disabled}isNotTabbable(s){return s.getAttribute("tabindex")==="-1"}isInteractiveElement(s){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(s.tagName)||s instanceof HTMLAnchorElement&&s.hasAttribute("href")||s instanceof HTMLInputElement&&s.type!=="hidden"||(s instanceof HTMLAudioElement||s instanceof HTMLVideoElement)&&s.hasAttribute("controls")||(s instanceof HTMLImageElement||s instanceof HTMLObjectElement)&&s.hasAttribute("usemap")||s.hasAttribute("tabindex")&&s.tabIndex>-1)}isFocusable(s){return this.isHidden(s)||this.isNotTabbable(s)||this.isDisabled(s)?!1:this.isInteractiveElement(s)}findFocusable(s,d=new Set){s instanceof HTMLElement&&this.isFocusable(s)&&d.add(s);let m=[];return s.children.length?m=Array.from(s.children):s instanceof HTMLElement&&s.shadowRoot&&(m=Array.from(s.shadowRoot.children)),m.forEach(b=>{let x=b;this.isFocusable(x)&&d.add(x),x.shadowRoot?this.findFocusable(x.shadowRoot,d):x.tagName==="SLOT"?x.assignedElements({flatten:!0}).forEach(B=>{B instanceof HTMLElement&&this.findFocusable(B,d)}):this.findFocusable(x,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(s=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[s]&&(this.focusTrapIndex=s,this.focusableElements[s].focus({preventScroll:!0}))}calculateNextIndex(s,d){let{length:m}=this.focusableElements;if(s===-1)return d>0?0:m-1;let b=s+d;return this.shouldFocusTrapWrap?(b<0&&(b=m-1),b>=m&&(b=0)):(b<0&&(b=0),b>=m&&(b=m-1)),b}getDeepActiveElement(){var d;let s=document.activeElement||document.body;for(;s instanceof HTMLElement&&((d=s.shadowRoot)!=null&&d.activeElement);)s=s.shadowRoot.activeElement;return s||document.body}findElement(s){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(s,d))}isEqualFocusNode(s,d){return s.nodeType>=0?d.isEqualNode(s)&&d===s:!1}trapFocus(s){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);s.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let x=this.focusableElements[this.focusTrapIndex];x.tagName!=="IFRAME"&&x&&(s.preventDefault(),x.focus())}handleTabKeydown(s){this.isFocusTrapActivated&&s.key==="Tab"&&this.trapFocus(s)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var ml=n=>{class o extends n{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 o};var ul=z.constructTagName("link"),fl={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},vl={LARGE:1,MIDSIZE:.875,SMALL:.75},Tu={LINK_SIZE:fl.LARGE};var xu=z.constructTagName("card"),Tc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},EE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ae={VARIANT:Tc.BORDER,ORIENTATION:EE.VERTICAL,TITLE_TYPE:ot.HEADING_SMALL_BOLD,SUBTITLE_TYPE:ot.BODY_MIDSIZE_MEDIUM,TAGNAME:mt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:ul,BUTTON:oi};var fs=n=>{class o extends n{updateFooterButtonColors(r){let s=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];s==null||s.forEach(d=>{r===Tc.PROMOTIONAL?d.setAttribute("color",bo.PROMOTIONAL):d.setAttribute("color",bo.DEFAULT)})}handleFooterSlot(r,s){var m,b,x;let d=[];r===ae.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:r===ae.BUTTON&&s===Ft.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?d=this.footerButtonPrimary:r===ae.BUTTON&&s===Ft.SECONDARY&&((x=this.footerButtonSecondary)!=null&&x.length)&&(d=this.footerButtonSecondary);for(let N=1;N<d.length;N+=1)d[N].remove();d.forEach(N=>{N.matches(r)||N.remove(),s&&N.setAttribute("variant",s)})}renderFooter(){return _` <slot name="footer">
1050
+ `],bu=bE;var yu=z.constructTagName("animation"),yc={AUTO_PLAY:!0,LOOP:"true"};var di=class extends q{constructor(){super(...arguments);this.loop=yc.LOOP;this.autoplay=yc.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledby=null;this.containerRef=fu();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=Eu.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 r=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(r)}getAnimationData(){this.name&&bc[this.name]?import(`@momentum-design/animations/dist/lottie${bc[this.name].replace(/^\.\/lottie/,"")}`).then(r=>this.onLoadSuccessHandler(r.default)).catch(r=>this.onLoadFailHandler(r)):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?rt.IMG:null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return _`<div aria-hidden="true" ${vu(this.containerRef)}></div>`}};di.styles=[...q.styles,...bu],p([u({type:String,reflect:!0})],di.prototype,"name",2),p([u({type:String,reflect:!0})],di.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],di.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],di.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],di.prototype,"ariaLabelledby",2);var Ec=di;Ec.register(yu);var yE=Ec;var us=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(o){this.currentKeydownListener=o,document.addEventListener("keydown",o)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(o){this.stackArray.forEach(t=>{t!==o&&t.setIsFocusTrapActivated(!1)}),this.stack.add(o),this.removeKeydownListener(),this.addKeydownListener(o.handleTabKeydown.bind(o))}static deactivate(o){if(this.stack.has(o)&&(this.stack.delete(o),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};us.stack=new Set,us.currentKeydownListener=null;var hl=n=>{class o extends n{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(s){this.isFocusTrapActivated=s}activateFocusTrap(){this.setIsFocusTrapActivated(!0),us.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),us.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(s){return s.getClientRects().length===0}hasZeroDimensions(s){let{width:d,height:m}=s.getBoundingClientRect(),{offsetWidth:b,offsetHeight:x}=s;return b+x+m+d===0}isNotVisible(s){return this.hasZeroDimensions(s)||this.hasNoClientRects(s)}hasHiddenStyle(s){let{display:d,opacity:m,visibility:b}=s.style;return d==="none"||m==="0"||b==="hidden"||b==="collapse"}hasComputedHidden(s){let d=getComputedStyle(s);return d.visibility==="hidden"||d.height==="0"||d.display==="none"}isHidden(s){return s.hasAttribute("hidden")||s.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(s)||this.isNotVisible(s)||this.hasComputedHidden(s)}isDisabled(s){return s.disabled}isNotTabbable(s){return s.getAttribute("tabindex")==="-1"}isInteractiveElement(s){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(s.tagName)||s instanceof HTMLAnchorElement&&s.hasAttribute("href")||s instanceof HTMLInputElement&&s.type!=="hidden"||(s instanceof HTMLAudioElement||s instanceof HTMLVideoElement)&&s.hasAttribute("controls")||(s instanceof HTMLImageElement||s instanceof HTMLObjectElement)&&s.hasAttribute("usemap")||s.hasAttribute("tabindex")&&s.tabIndex>-1)}isFocusable(s){return this.isHidden(s)||this.isNotTabbable(s)||this.isDisabled(s)?!1:this.isInteractiveElement(s)}findFocusable(s,d=new Set){s instanceof HTMLElement&&this.isFocusable(s)&&d.add(s);let m=[];return s.children.length?m=Array.from(s.children):s instanceof HTMLElement&&s.shadowRoot&&(m=Array.from(s.shadowRoot.children)),m.forEach(b=>{let x=b;this.isFocusable(x)&&d.add(x),x.shadowRoot?this.findFocusable(x.shadowRoot,d):x.tagName==="SLOT"?x.assignedElements({flatten:!0}).forEach(B=>{B instanceof HTMLElement&&this.findFocusable(B,d)}):this.findFocusable(x,d)}),[...d]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(s=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[s]&&(this.focusTrapIndex=s,this.focusableElements[s].focus({preventScroll:!0}))}calculateNextIndex(s,d){let{length:m}=this.focusableElements;if(s===-1)return d>0?0:m-1;let b=s+d;return this.shouldFocusTrapWrap?(b<0&&(b=m-1),b>=m&&(b=0)):(b<0&&(b=0),b>=m&&(b=m-1)),b}getDeepActiveElement(){var d;let s=document.activeElement||document.body;for(;s instanceof HTMLElement&&((d=s.shadowRoot)!=null&&d.activeElement);)s=s.shadowRoot.activeElement;return s||document.body}findElement(s){return this.focusableElements.findIndex(d=>this.isEqualFocusNode(s,d))}isEqualFocusNode(s,d){return s.nodeType>=0?d.isEqualNode(s)&&d===s:!1}trapFocus(s){if(this.setFocusableElements(),this.focusableElements.length===0)return;let d=this.getDeepActiveElement(),m=this.findElement(d);s.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let x=this.focusableElements[this.focusTrapIndex];x.tagName!=="IFRAME"&&x&&(s.preventDefault(),x.focus())}handleTabKeydown(s){this.isFocusTrapActivated&&s.key==="Tab"&&this.trapFocus(s)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var pl=n=>{class o extends n{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 o};var ml=z.constructTagName("link"),ul={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},fl={LARGE:1,MIDSIZE:.875,SMALL:.75},Tu={LINK_SIZE:ul.LARGE};var xu=z.constructTagName("card"),Tc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},EE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ae={VARIANT:Tc.BORDER,ORIENTATION:EE.VERTICAL,TITLE_TYPE:ot.HEADING_SMALL_BOLD,SUBTITLE_TYPE:ot.BODY_MIDSIZE_MEDIUM,TAGNAME:mt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:ml,BUTTON:oi};var fs=n=>{class o extends n{updateFooterButtonColors(r){let s=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];s==null||s.forEach(d=>{r===Tc.PROMOTIONAL?d.setAttribute("color",bo.PROMOTIONAL):d.setAttribute("color",bo.DEFAULT)})}handleFooterSlot(r,s){var m,b,x;let d=[];r===ae.LINK&&((m=this.footerLink)!=null&&m.length)?d=this.footerLink:r===ae.BUTTON&&s===Ft.PRIMARY&&((b=this.footerButtonPrimary)!=null&&b.length)?d=this.footerButtonPrimary:r===ae.BUTTON&&s===Ft.SECONDARY&&((x=this.footerButtonSecondary)!=null&&x.length)&&(d=this.footerButtonSecondary);for(let N=1;N<d.length;N+=1)d[N].remove();d.forEach(N=>{N.matches(r)||N.remove(),s&&N.setAttribute("variant",s)})}renderFooter(){return _` <slot name="footer">
1051
1051
  <div part="footer">
1052
1052
  <slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(ae.LINK)}></slot>
1053
1053
  <slot
@@ -1059,7 +1059,7 @@
1059
1059
  @slotchange=${()=>this.handleFooterSlot(ae.BUTTON,Ft.PRIMARY)}
1060
1060
  ></slot>
1061
1061
  </div>
1062
- </slot>`}}return p([Pt({slot:"footer-link"})],o.prototype,"footerLink",2),p([Pt({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),p([Pt({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var gl=n=>{class o extends n{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(s){let d=document.createElement("div");d.classList.add(`${s}-backdrop`);let m=document.createElement("style");m.textContent=`
1062
+ </slot>`}}return p([Pt({slot:"footer-link"})],o.prototype,"footerLink",2),p([Pt({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),p([Pt({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var vl=n=>{class o extends n{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(s){let d=document.createElement("div");d.classList.add(`${s}-backdrop`);let m=document.createElement("style");m.textContent=`
1063
1063
  .${s}-backdrop {
1064
1064
  position: fixed;
1065
1065
  top: 0;
@@ -1069,7 +1069,7 @@
1069
1069
  background: ${this.isBackdropInvisible?"transparent":"var(--mds-color-theme-common-overlays-secondary-normal)"};
1070
1070
  z-index: ${this.zIndex-2};
1071
1071
  }
1072
- `,d.appendChild(m);let x=document.getElementById(this.backdropAppendTo)||this.parentElement;x==null||x.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(s){s&&(this.elementOriginalStyle={zIndex:s.style.zIndex,position:s.style.position},s.style.zIndex=`${this.zIndex-1}`,["fixed","absolute"].includes(window.getComputedStyle(s).position)||(s.style.position="relative"))}moveElementBackAfterBackdropRemoval(s){!s||!this.elementOriginalStyle||(s.style.zIndex=this.elementOriginalStyle.zIndex,s.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var bl=z.constructTagName("responsivesettingsprovider"),Sr={FORCE_FULLSCREEN_DIALOG:!1,POPOVER_POSITIONING:"float",MEDIA:"unknown"},Au=["float","dialog"],Su=["unknown","mobile","desktop","tablet"];var yl=class{constructor(o={}){this.media=Sr.MEDIA;this.forceFullscreenDialog=Sr.FORCE_FULLSCREEN_DIALOG;this.popoverPositioning=Sr.POPOVER_POSITIONING;Object.assign(this,o)}};yl.context=bl;var El=yl;var vs=class extends Ee{constructor(){super({context:El.context,initialValue:new El({media:Sr.MEDIA,popoverPositioning:Sr.POPOVER_POSITIONING,forceFullscreenDialog:Sr.FORCE_FULLSCREEN_DIALOG})});this.forceFullscreenDialog=Sr.FORCE_FULLSCREEN_DIALOG;this.privatePopoverPositioning=Sr.POPOVER_POSITIONING;this.privateMedia=Sr.MEDIA}static get Context(){return El.context}set popoverPositioning(t){Au.includes(t)&&(this.privatePopoverPositioning=t)}get popoverPositioning(){return this.privatePopoverPositioning}set media(t){Su.includes(t)&&(this.privateMedia=t)}get media(){return this.privateMedia}updateContext(){var t,r,s;(((t=this.context.value)==null?void 0:t.media)!==this.privateMedia||((r=this.context.value)==null?void 0:r.popoverPositioning)!==this.privatePopoverPositioning||((s=this.context.value)==null?void 0:s.forceFullscreenDialog)!==this.forceFullscreenDialog)&&(this.context.value.media=this.media,this.context.value.popoverPositioning=this.popoverPositioning,this.context.value.forceFullscreenDialog=this.forceFullscreenDialog,this.context.updateObservers())}};p([u({type:Boolean,attribute:"force-fullscreen-dialog",reflect:!0})],vs.prototype,"forceFullscreenDialog",2),p([u({type:String,attribute:"popover-positioning",reflect:!0})],vs.prototype,"popoverPositioning",1),p([u({type:String,attribute:"media",reflect:!0})],vs.prototype,"media",1);var xc=vs;xc.register(bl);var Ac=xc;var Iu=z.constructTagName("dialog"),Sc={DEFAULT:"default",PROMOTIONAL:"promotional"},tr={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:Sc.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0,HIDE_BACKDROP:!1};var Vi=class{static dispatchDialogEvent(o,t,r=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:r}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,t=!0){this.dispatchDialogEvent("close",o,t)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var TE=U`
1072
+ `,d.appendChild(m);let x=document.getElementById(this.backdropAppendTo)||this.parentElement;x==null||x.appendChild(d),this.backdropElement=d}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(s){s&&(this.elementOriginalStyle={zIndex:s.style.zIndex,position:s.style.position},s.style.zIndex=`${this.zIndex-1}`,["fixed","absolute"].includes(window.getComputedStyle(s).position)||(s.style.position="relative"))}moveElementBackAfterBackdropRemoval(s){!s||!this.elementOriginalStyle||(s.style.zIndex=this.elementOriginalStyle.zIndex,s.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return o};var gl=z.constructTagName("responsivesettingsprovider"),Sr={FORCE_FULLSCREEN_DIALOG:!1,POPOVER_POSITIONING:"float",MEDIA:"unknown"},Au=["float","dialog"],Su=["unknown","mobile","desktop","tablet"];var bl=class{constructor(o={}){this.media=Sr.MEDIA;this.forceFullscreenDialog=Sr.FORCE_FULLSCREEN_DIALOG;this.popoverPositioning=Sr.POPOVER_POSITIONING;Object.assign(this,o)}};bl.context=gl;var yl=bl;var vs=class extends Ee{constructor(){super({context:yl.context,initialValue:new yl({media:Sr.MEDIA,popoverPositioning:Sr.POPOVER_POSITIONING,forceFullscreenDialog:Sr.FORCE_FULLSCREEN_DIALOG})});this.forceFullscreenDialog=Sr.FORCE_FULLSCREEN_DIALOG;this.privatePopoverPositioning=Sr.POPOVER_POSITIONING;this.privateMedia=Sr.MEDIA}static get Context(){return yl.context}set popoverPositioning(t){Au.includes(t)&&(this.privatePopoverPositioning=t)}get popoverPositioning(){return this.privatePopoverPositioning}set media(t){Su.includes(t)&&(this.privateMedia=t)}get media(){return this.privateMedia}updateContext(){var t,r,s;(((t=this.context.value)==null?void 0:t.media)!==this.privateMedia||((r=this.context.value)==null?void 0:r.popoverPositioning)!==this.privatePopoverPositioning||((s=this.context.value)==null?void 0:s.forceFullscreenDialog)!==this.forceFullscreenDialog)&&(this.context.value.media=this.media,this.context.value.popoverPositioning=this.popoverPositioning,this.context.value.forceFullscreenDialog=this.forceFullscreenDialog,this.context.updateObservers())}};p([u({type:Boolean,attribute:"force-fullscreen-dialog",reflect:!0})],vs.prototype,"forceFullscreenDialog",2),p([u({type:String,attribute:"popover-positioning",reflect:!0})],vs.prototype,"popoverPositioning",1),p([u({type:String,attribute:"media",reflect:!0})],vs.prototype,"media",1);var xc=vs;xc.register(gl);var Ac=xc;var Iu=z.constructTagName("dialog"),Sc={DEFAULT:"default",PROMOTIONAL:"promotional"},tr={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:Sc.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0,HIDE_BACKDROP:!1};var Vi=class{static dispatchDialogEvent(o,t,r=!0){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:r}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,t=!0){this.dispatchDialogEvent("close",o,t)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var TE=U`
1073
1073
  :host {
1074
1074
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
1075
1075
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -1214,7 +1214,7 @@
1214
1214
  mdc-text::part(text) {
1215
1215
  margin: 0;
1216
1216
  }
1217
- `,_u=[TE];var Ht=class extends gl(ml(pl(fs(q)))){constructor(){super(...arguments);this.responsiveSettingsContext=xe.consume({host:this,context:Ac.Context,subscribe:!0,syncProperties:["size"]});this.id="";this.visible=tr.VISIBLE;this.zIndex=tr.Z_INDEX;this.internalSize=tr.SIZE;this.variant=tr.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedby=null;this.ariaDescription=null;this.headerTagName=tr.HEADER_TAG_NAME;this.descriptionTagName=tr.DESCRIPTION_TAG_NAME;this.role=tr.ROLE;this.disableAriaHasPopup=tr.DISABLE_ARIA_HAS_POPUP;this.focusTrap=tr.FOCUS_TRAP;this.hideBackdrop=tr.HIDE_BACKDROP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}get size(){var t,r;return(r=(t=this.responsiveSettingsContext)==null?void 0:t.value)!=null&&r.forceFullscreenDialog?"fullscreen":this.internalSize}set size(t){this.internalSize=t}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,r;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(r=this.deactivateFocusTrap)==null||r.call(this),this.focusBackToTrigger(),Vi.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(),Vi.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 r=t.get("visible");await this.isOpenUpdated(r,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=tr.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,r;this.disableAriaHasPopup||(r=this.triggerElement)==null||r.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))}closeDialog(){Vi.onCloseDialog(this,!1)}async isOpenUpdated(t,r){var s,d,m,b,x;t!==r&&(r&&!t?(this.lastActiveElement=document.activeElement,this.hideBackdrop||(this.removeBackdrop(),this.createBackdrop("dialog")),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((s=this.activateFocusTrap)==null||s.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Vi.onShowDialog(this)):!r&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(x=this.deactivateFocusTrap)==null||x.call(this),this.focusBackToTrigger(),Vi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}renderHeader(){return this.headerText?_` <div part="header-section">
1217
+ `,_u=[TE];var Ht=class extends vl(pl(hl(fs(q)))){constructor(){super(...arguments);this.responsiveSettingsContext=xe.consume({host:this,context:Ac.Context,subscribe:!0,syncProperties:["size"]});this.id="";this.visible=tr.VISIBLE;this.zIndex=tr.Z_INDEX;this.internalSize=tr.SIZE;this.variant=tr.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedby=null;this.ariaDescription=null;this.headerTagName=tr.HEADER_TAG_NAME;this.descriptionTagName=tr.DESCRIPTION_TAG_NAME;this.role=tr.ROLE;this.disableAriaHasPopup=tr.DISABLE_ARIA_HAS_POPUP;this.focusTrap=tr.FOCUS_TRAP;this.hideBackdrop=tr.HIDE_BACKDROP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}get size(){var t,r;return(r=(t=this.responsiveSettingsContext)==null?void 0:t.value)!=null&&r.forceFullscreenDialog?"fullscreen":this.internalSize}set size(t){this.internalSize=t}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,r;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(r=this.deactivateFocusTrap)==null||r.call(this),this.focusBackToTrigger(),Vi.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(),Vi.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 r=t.get("visible");await this.isOpenUpdated(r,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=tr.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,r;this.disableAriaHasPopup||(r=this.triggerElement)==null||r.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))}closeDialog(){Vi.onCloseDialog(this,!1)}async isOpenUpdated(t,r){var s,d,m,b,x;t!==r&&(r&&!t?(this.lastActiveElement=document.activeElement,this.hideBackdrop||(this.removeBackdrop(),this.createBackdrop("dialog")),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((s=this.activateFocusTrap)==null||s.call(this)),(d=this.setInitialFocus)==null||d.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Vi.onShowDialog(this)):!r&&t&&(this.removeBackdrop(),(b=this.triggerElement)==null||b.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(x=this.deactivateFocusTrap)==null||x.call(this),this.focusBackToTrigger(),Vi.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}renderHeader(){return this.headerText?_` <div part="header-section">
1218
1218
  <div part="header">
1219
1219
  <slot name="header-prefix"></slot>
1220
1220
  <mdc-text
@@ -1314,7 +1314,7 @@
1314
1314
  </slot>
1315
1315
  </div>
1316
1316
  </div>
1317
- `}};bs.styles=[...gs.styles,...Cu],p([u({type:String,reflect:!0})],bs.prototype,"illustration",2),p([u({type:String,reflect:!0})],bs.prototype,"size",1);var Ic=bs;var Tl=z.constructTagName("illustrationprovider"),Nu=["svg"],ka={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var xl=class{};xl.context=Tl;var Al=xl;var Bi=class extends Ee{constructor(){super({context:Al.context,initialValue:new Al});this.illustrationSet=ka.ILLUSTRATION_SET;this.fileExtension=ka.FILE_EXTENSION}static get Context(){return Al.context}updateValuesInContext(){this.fileExtension&&Nu.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ka.FILE_EXTENSION,this.context.value.fileExtension=ka.FILE_EXTENSION),this.context.value.illustrationSet=this.illustrationSet,this.context.value.url=this.url,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.illustrationSet!==this.illustrationSet||this.context.value.url!==this.url||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"illustration-set",reflect:!0})],Bi.prototype,"illustrationSet",2),p([u({type:String})],Bi.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Bi.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],Bi.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Bi.prototype,"cacheName",2);var wa=Bi;var AE=[yt,U`
1317
+ `}};bs.styles=[...gs.styles,...Cu],p([u({type:String,reflect:!0})],bs.prototype,"illustration",2),p([u({type:String,reflect:!0})],bs.prototype,"size",1);var Ic=bs;var El=z.constructTagName("illustrationprovider"),Nu=["svg"],ka={FILE_EXTENSION:"svg",ILLUSTRATION_SET:"momentum-illustrations"};var Tl=class{};Tl.context=El;var xl=Tl;var Bi=class extends Ee{constructor(){super({context:xl.context,initialValue:new xl});this.illustrationSet=ka.ILLUSTRATION_SET;this.fileExtension=ka.FILE_EXTENSION}static get Context(){return xl.context}updateValuesInContext(){this.fileExtension&&Nu.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=ka.FILE_EXTENSION,this.context.value.fileExtension=ka.FILE_EXTENSION),this.context.value.illustrationSet=this.illustrationSet,this.context.value.url=this.url,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.illustrationSet!==this.illustrationSet||this.context.value.url!==this.url||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};p([u({type:String,attribute:"illustration-set",reflect:!0})],Bi.prototype,"illustrationSet",2),p([u({type:String})],Bi.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Bi.prototype,"fileExtension",2),p([u({type:String,attribute:"cache-strategy"})],Bi.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Bi.prototype,"cacheName",2);var wa=Bi;var AE=[yt,U`
1318
1318
  :host {
1319
1319
  --mdc-illustration-size: auto;
1320
1320
  }
@@ -1356,7 +1356,7 @@
1356
1356
  justify-content: flex-end;
1357
1357
  flex: 1;
1358
1358
  }
1359
- `,Du=[_E];var Sl=class extends q{render(){return _`
1359
+ `,Du=[_E];var Al=class extends q{render(){return _`
1360
1360
  <header part="container">
1361
1361
  <div part="leading-section">
1362
1362
  <slot name="leading"></slot>
@@ -1366,7 +1366,7 @@
1366
1366
  <slot name="trailing"></slot>
1367
1367
  </div>
1368
1368
  </header>
1369
- `}};Sl.styles=[...q.styles,...Du];var Cc=Sl;var Fu=z.constructTagName("appheader");Cc.register(Fu);var CE=Cc;var $u=z.constructTagName("avatar"),ke={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},kc=99,kE="user-regular",Vt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ys={TYPE:ke.PHOTO,SIZE:Vt[32],ICON_NAME:kE};var Il=n=>{class o extends n{constructor(){super(...arguments);this.size=ys.SIZE;this.isTyping=!1}}return p([u({type:String})],o.prototype,"src",2),p([u({type:String})],o.prototype,"initials",2),p([u({type:String})],o.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),p([u({type:Number})],o.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var wE=[yt,U`
1369
+ `}};Al.styles=[...q.styles,...Du];var Cc=Al;var Fu=z.constructTagName("appheader");Cc.register(Fu);var CE=Cc;var $u=z.constructTagName("avatar"),ke={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},kc=99,kE="user-regular",Vt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},ys={TYPE:ke.PHOTO,SIZE:Vt[32],ICON_NAME:kE};var Sl=n=>{class o extends n{constructor(){super(...arguments);this.size=ys.SIZE;this.isTyping=!1}}return p([u({type:String})],o.prototype,"src",2),p([u({type:String})],o.prototype,"initials",2),p([u({type:String})],o.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),p([u({type:Number})],o.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var wE=[yt,U`
1370
1370
  :host {
1371
1371
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
1372
1372
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -1522,7 +1522,7 @@
1522
1522
  outline: 0.125rem solid;
1523
1523
  }
1524
1524
  }
1525
- `],zu=wE;var Vu=z.constructTagName("presence"),Ie={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"},Zt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Es={TYPE:Ie.ACTIVE,SIZE:Zt[32]};var Bu=n=>({[Vt[124]]:Zt[124],[Vt[88]]:Zt[88],[Vt[72]]:Zt[72],[Vt[64]]:Zt[64],[Vt[48]]:Zt[48],[Vt[32]]:Zt[32],[Vt[24]]:Zt[24]})[n]||Zt[32],Uu=n=>({[Vt[124]]:4.75,[Vt[88]]:3,[Vt[72]]:2.5,[Vt[64]]:2.25,[Vt[48]]:1.75,[Vt[32]]:1.25,[Vt[24]]:1})[n]||1.25,Hu=n=>({[Vt[124]]:ot.HEADING_XLARGE_MEDIUM,[Vt[88]]:ot.HEADING_LARGE_MEDIUM,[Vt[72]]:ot.HEADING_MIDSIZE_MEDIUM,[Vt[64]]:ot.HEADING_SMALL_MEDIUM,[Vt[48]]:ot.HEADING_SMALL_MEDIUM,[Vt[32]]:ot.BODY_MIDSIZE_MEDIUM,[Vt[24]]:ot.BODY_SMALL_MEDIUM})[n]||ot.BODY_MIDSIZE_MEDIUM;var Na=class extends Il(Xt(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}getPresenceTemplateBasedOnType(t){return t===ke.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?_`
1525
+ `],zu=wE;var Vu=z.constructTagName("presence"),Ie={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"},Zt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Es={TYPE:Ie.ACTIVE,SIZE:Zt[32]};var Bu=n=>({[Vt[124]]:Zt[124],[Vt[88]]:Zt[88],[Vt[72]]:Zt[72],[Vt[64]]:Zt[64],[Vt[48]]:Zt[48],[Vt[32]]:Zt[32],[Vt[24]]:Zt[24]})[n]||Zt[32],Uu=n=>({[Vt[124]]:4.75,[Vt[88]]:3,[Vt[72]]:2.5,[Vt[64]]:2.25,[Vt[48]]:1.75,[Vt[32]]:1.25,[Vt[24]]:1})[n]||1.25,Hu=n=>({[Vt[124]]:ot.HEADING_XLARGE_MEDIUM,[Vt[88]]:ot.HEADING_LARGE_MEDIUM,[Vt[72]]:ot.HEADING_MIDSIZE_MEDIUM,[Vt[64]]:ot.HEADING_SMALL_MEDIUM,[Vt[48]]:ot.HEADING_SMALL_MEDIUM,[Vt[32]]:ot.BODY_MIDSIZE_MEDIUM,[Vt[24]]:ot.BODY_SMALL_MEDIUM})[n]||ot.BODY_MIDSIZE_MEDIUM;var Na=class extends Sl(Xt(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}getPresenceTemplateBasedOnType(t){return t===ke.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?_`
1526
1526
  <mdc-presence part="presence" type="${this.presence}" size="${Bu(this.size)}"></mdc-presence>
1527
1527
  `:j}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 _`
1528
1528
  <img
@@ -1671,7 +1671,7 @@
1671
1671
  :host::part(presence) {
1672
1672
  z-index: 2;
1673
1673
  }
1674
- `,...St()],ju=RE;var La=class extends Il(Xt(se)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=rt.BUTTON,this.type=ze.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Vt).includes(t)?`${t}`:ys.SIZE.toString())}render(){return _`
1674
+ `,...St()],ju=RE;var La=class extends Sl(Xt(se)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=rt.BUTTON,this.type=ze.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Vt).includes(t)?`${t}`:ys.SIZE.toString())}render(){return _`
1675
1675
  <div part="overlay" aria-hidden="true"></div>
1676
1676
  <mdc-avatar
1677
1677
  exportparts="content, photo, presence, loading-wrapper, loader"
@@ -1683,7 +1683,7 @@
1683
1683
  size="${tt(this.size)}"
1684
1684
  src="${tt(this.src)}"
1685
1685
  ></mdc-avatar>
1686
- `}};La.styles=[...ju],p([u({type:String,attribute:"aria-label"})],La.prototype,"ariaLabel",2);var Lc=La;var Ku=z.constructTagName("avatarbutton");Lc.register(Ku);var ME=Lc;var qu=z.constructTagName("badge"),dr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},_l={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Oc={PRIMARY:"primary",SECONDARY:"secondary"},hi={TYPE:dr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Oc.PRIMARY,ICON_SIZE:1,OVERLAY:!1};var PE=[yt,U`
1686
+ `}};La.styles=[...ju],p([u({type:String,attribute:"aria-label"})],La.prototype,"ariaLabel",2);var Lc=La;var Ku=z.constructTagName("avatarbutton");Lc.register(Ku);var ME=Lc;var qu=z.constructTagName("badge"),dr={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Il={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Oc={PRIMARY:"primary",SECONDARY:"secondary"},hi={TYPE:dr.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Oc.PRIMARY,ICON_SIZE:1,OVERLAY:!1};var PE=[yt,U`
1687
1687
  :host {
1688
1688
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
1689
1689
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -1776,7 +1776,7 @@
1776
1776
  >
1777
1777
  ${this.getCounterText(this.maxCounter,this.counter)}
1778
1778
  </mdc-text>
1779
- `}setRoleByAriaLabel(){this.ariaLabel?this.role=rt.IMG:this.role=null}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){this.variant&&!Object.values(Oc).includes(this.variant)&&(this.variant=hi.VARIANT);let{iconName:t,type:r}=this;switch(r){case dr.ICON:return this.getBadgeIcon(t||"");case dr.COUNTER:return this.getBadgeCounterText();case dr.SUCCESS:return this.getBadgeIcon(_l.SUCCESS_ICON_NAME);case dr.WARNING:return this.getBadgeIcon(_l.WARNING_ICON_NAME);case dr.ERROR:return this.getBadgeIcon(_l.ERROR_ICON_NAME);case dr.DOT:default:return this.type=dr.DOT,this.getBadgeDot()}}};Br.styles=[...q.styles,...Xu],p([u({type:String,reflect:!0})],Br.prototype,"type",2),p([u({type:String,reflect:!0})],Br.prototype,"variant",2),p([u({type:Number})],Br.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Br.prototype,"maxCounter",2),p([u({type:Boolean})],Br.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Br.prototype,"ariaLabel",2);var Rc=Br;Rc.register(qu);var DE=Rc;var FE=U`
1779
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role=rt.IMG:this.role=null}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){this.variant&&!Object.values(Oc).includes(this.variant)&&(this.variant=hi.VARIANT);let{iconName:t,type:r}=this;switch(r){case dr.ICON:return this.getBadgeIcon(t||"");case dr.COUNTER:return this.getBadgeCounterText();case dr.SUCCESS:return this.getBadgeIcon(Il.SUCCESS_ICON_NAME);case dr.WARNING:return this.getBadgeIcon(Il.WARNING_ICON_NAME);case dr.ERROR:return this.getBadgeIcon(Il.ERROR_ICON_NAME);case dr.DOT:default:return this.type=dr.DOT,this.getBadgeDot()}}};Br.styles=[...q.styles,...Xu],p([u({type:String,reflect:!0})],Br.prototype,"type",2),p([u({type:String,reflect:!0})],Br.prototype,"variant",2),p([u({type:Number})],Br.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Br.prototype,"maxCounter",2),p([u({type:Boolean})],Br.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Br.prototype,"ariaLabel",2);var Rc=Br;Rc.register(qu);var DE=Rc;var FE=U`
1780
1780
  :host {
1781
1781
  display: block;
1782
1782
  height: 100%;
@@ -1811,7 +1811,7 @@
1811
1811
  :host([size='large']) {
1812
1812
  height: var(--mdc-bullet-size-large);
1813
1813
  }
1814
- `,Ju=[zE];var tf=z.constructTagName("bullet"),ef={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var Oa=class extends q{constructor(){super(...arguments);this.size=ef.SMALL}};Oa.styles=[...q.styles,...Ju],p([u({type:String,reflect:!0})],Oa.prototype,"size",2);var Pc=Oa;Pc.register(tf);var VE=Pc;var rf=z.constructTagName("buttongroup"),BE={40:40,32:32,28:28,24:24},UE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},HE={PRIMARY:"primary",SECONDARY:"secondary"},Cl={SIZE:BE[28],VARIANT:HE.PRIMARY,ORIENTATION:UE.HORIZONTAL};var GE=U`
1814
+ `,Ju=[zE];var tf=z.constructTagName("bullet"),ef={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var Oa=class extends q{constructor(){super(...arguments);this.size=ef.SMALL}};Oa.styles=[...q.styles,...Ju],p([u({type:String,reflect:!0})],Oa.prototype,"size",2);var Pc=Oa;Pc.register(tf);var VE=Pc;var rf=z.constructTagName("buttongroup"),BE={40:40,32:32,28:28,24:24},UE={HORIZONTAL:"horizontal",VERTICAL:"vertical"},HE={PRIMARY:"primary",SECONDARY:"secondary"},_l={SIZE:BE[28],VARIANT:HE.PRIMARY,ORIENTATION:UE.HORIZONTAL};var GE=U`
1815
1815
  :host {
1816
1816
  --mdc-buttongroup-border-radius: 1.25rem;
1817
1817
  --mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1911,7 +1911,7 @@
1911
1911
  :host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
1912
1912
  width: 2.5rem;
1913
1913
  }
1914
- `,of=[yt,GE];var pi=class extends q{constructor(){super(...arguments);this.orientation=Cl.ORIENTATION;this.variant=Cl.VARIANT;this.size=Cl.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 _`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};pi.styles=[...q.styles,...of],p([u({type:String,reflect:!0})],pi.prototype,"orientation",2),p([u({type:String,reflect:!0})],pi.prototype,"variant",2),p([u({type:Number,reflect:!0})],pi.prototype,"size",2),p([u({type:Boolean,reflect:!0})],pi.prototype,"compact",2),p([Pt({selector:"mdc-button"})],pi.prototype,"buttons",2);var Dc=pi;Dc.register(rf);var YE=Dc;var Ut=n=>{class o extends n{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([u({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var sf=z.constructTagName("linksimple"),Ts={INLINE:!1,INVERTED:!1};var WE=[yt,U`
1914
+ `,of=[yt,GE];var pi=class extends q{constructor(){super(...arguments);this.orientation=_l.ORIENTATION;this.variant=_l.VARIANT;this.size=_l.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 _`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};pi.styles=[...q.styles,...of],p([u({type:String,reflect:!0})],pi.prototype,"orientation",2),p([u({type:String,reflect:!0})],pi.prototype,"variant",2),p([u({type:Number,reflect:!0})],pi.prototype,"size",2),p([u({type:Boolean,reflect:!0})],pi.prototype,"compact",2),p([Pt({selector:"mdc-button"})],pi.prototype,"buttons",2);var Dc=pi;Dc.register(rf);var YE=Dc;var Ut=n=>{class o extends n{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([u({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var sf=z.constructTagName("linksimple"),Ts={INLINE:!1,INVERTED:!1};var WE=[yt,U`
1915
1915
  :host {
1916
1916
  --mdc-link-border-radius: 0.25rem;
1917
1917
  --mdc-link-color-active: var(--mds-color-theme-text-accent-active);
@@ -2065,7 +2065,7 @@
2065
2065
  ${this.prefixIcon?_`<mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
2066
2066
  <slot @slotchange="${this.inferButtonType}" part="button-text"></slot>
2067
2067
  ${this.postfixIcon?_`<mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
2068
- `}};xs.styles=[...To.styles,...nf],p([u({type:Number,reflect:!0})],xs.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],xs.prototype,"softDisabled",2);var Fc=xs;var lf=z.constructTagName("buttonlink");Fc.register(lf);var KE=Fc;var kl=n=>{class o extends n{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ae.VARIANT;this.orientation=ae.ORIENTATION;this.titleTagName=ae.TAGNAME;this.subtitleTagName=ae.TAGNAME}renderImage(){return this.imageSrc?_`<div part="image-wrapper">
2068
+ `}};xs.styles=[...To.styles,...nf],p([u({type:Number,reflect:!0})],xs.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],xs.prototype,"softDisabled",2);var Fc=xs;var lf=z.constructTagName("buttonlink");Fc.register(lf);var KE=Fc;var Cl=n=>{class o extends n{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ae.VARIANT;this.orientation=ae.ORIENTATION;this.titleTagName=ae.TAGNAME;this.subtitleTagName=ae.TAGNAME}renderImage(){return this.imageSrc?_`<div part="image-wrapper">
2069
2069
  <img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />
2070
2070
  </div>`:j}renderIcon(){return this.iconName?_`<mdc-icon
2071
2071
  part="icon"
@@ -2186,7 +2186,7 @@
2186
2186
  mdc-text::part(text) {
2187
2187
  margin: 0;
2188
2188
  }
2189
- `,df=[yt,qE];var Ra=class extends kl(fs(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(r=>{r.matches(ae.BUTTON)&&(r.setAttribute("variant",Ft.TERTIARY),r.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?_`<div part="header">
2189
+ `,df=[yt,qE];var Ra=class extends Cl(fs(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(r=>{r.matches(ae.BUTTON)&&(r.setAttribute("variant",Ft.TERTIARY),r.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?_`<div part="header">
2190
2190
  ${this.renderIcon()} ${this.renderTitle()}
2191
2191
  <div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
2192
2192
  </div>`:j}render(){return _`
@@ -2222,7 +2222,7 @@
2222
2222
  :host([disabled])::part(image) {
2223
2223
  opacity: 0.5;
2224
2224
  }
2225
- `,cf=[ZE,...St()];var wl=class extends kl(se){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?_`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return _`
2225
+ `,cf=[ZE,...St()];var kl=class extends Cl(se){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?_`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return _`
2226
2226
  <slot name="image"> ${this.renderImage()} </slot>
2227
2227
  <div part="body">
2228
2228
  ${this.renderHeader()}
@@ -2230,7 +2230,7 @@
2230
2230
  <slot name="body"></slot>
2231
2231
  <slot name="after-body"></slot>
2232
2232
  </div>
2233
- `}};wl.styles=[...Ir.styles,...cf];var $c=wl;var hf=z.constructTagName("cardbutton");$c.register(hf);var QE=$c;var pf=z.constructTagName("cardcheckbox"),zc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Nl={CHECK:"check",CHECKBOX:"checkbox"},Ll={SELECTION_TYPE:Nl.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var JE=U`
2233
+ `}};kl.styles=[...Ir.styles,...cf];var $c=kl;var hf=z.constructTagName("cardbutton");$c.register(hf);var QE=$c;var pf=z.constructTagName("cardcheckbox"),zc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},wl={CHECK:"check",CHECKBOX:"checkbox"},Nl={SELECTION_TYPE:wl.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var JE=U`
2234
2234
  :host {
2235
2235
  cursor: pointer;
2236
2236
  user-select: none;
@@ -2287,12 +2287,12 @@
2287
2287
  :host([disabled])::part(check-icon) {
2288
2288
  color: var(--mds-color-theme-text-primary-disabled);
2289
2289
  }
2290
- `,mf=[JE,...St()];var As=class extends Bt(Fr(Ir)){constructor(){super();this.checked=!1;this.selectionType=Ll.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.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),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===Z.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Z.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?zc.CHECKED:zc.DEFAULT;switch(this.selectionType){case Nl.CHECK:return _`<mdc-icon
2290
+ `,mf=[JE,...St()];var As=class extends Bt(Fr(Ir)){constructor(){super();this.checked=!1;this.selectionType=Nl.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.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),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===Z.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===Z.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?zc.CHECKED:zc.DEFAULT;switch(this.selectionType){case wl.CHECK:return _`<mdc-icon
2291
2291
  part="check check-icon"
2292
- size="${Ll.ICON_SIZE}"
2293
- length-unit="${Ll.ICON_LENGTH_UNIT}"
2292
+ size="${Nl.ICON_SIZE}"
2293
+ length-unit="${Nl.ICON_LENGTH_UNIT}"
2294
2294
  name="${t}"
2295
- ></mdc-icon>`;case Nl.CHECKBOX:return _`<mdc-staticcheckbox
2295
+ ></mdc-icon>`;case wl.CHECKBOX:return _`<mdc-staticcheckbox
2296
2296
  part="check"
2297
2297
  ?checked="${this.checked}"
2298
2298
  ?disabled="${this.disabled}"
@@ -2382,10 +2382,10 @@
2382
2382
  --mdc-checkbox-icon-color: GrayText;
2383
2383
  }
2384
2384
  }
2385
- `],uf=tT;var ff=z.constructTagName("formfieldwrapper"),$t={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Nt={VALIDATION:$t.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top",TOGGLETIP_STRATEGY:"absolute"},Ma={TAGNAME:mt.SPAN,TYPE:ot.BODY_MIDSIZE_REGULAR,HEADER_TYPE:ot.BODY_MIDSIZE_BOLD};var vf=z.constructTagName("checkbox"),Ol={CHECKED:"check-bold",INDETERMINATE:"minus-bold"},gf={ERROR:$t.ERROR,DEFAULT:$t.DEFAULT};var bf=z.constructTagName("staticcheckbox");var Ui=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.readonly=!1;this.softDisabled=!1}render(){let t=this.checked||this.indeterminate?_`
2385
+ `],uf=tT;var ff=z.constructTagName("formfieldwrapper"),$t={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Nt={VALIDATION:$t.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top",TOGGLETIP_STRATEGY:"absolute"},Ma={TAGNAME:mt.SPAN,TYPE:ot.BODY_MIDSIZE_REGULAR,HEADER_TYPE:ot.BODY_MIDSIZE_BOLD};var vf=z.constructTagName("checkbox"),Ll={CHECKED:"check-bold",INDETERMINATE:"minus-bold"},gf={ERROR:$t.ERROR,DEFAULT:$t.DEFAULT};var bf=z.constructTagName("staticcheckbox");var Ui=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.readonly=!1;this.softDisabled=!1}render(){let t=this.checked||this.indeterminate?_`
2386
2386
  <mdc-icon
2387
2387
  part="checkbox-icon"
2388
- name="${this.indeterminate?Ol.INDETERMINATE:Ol.CHECKED}"
2388
+ name="${this.indeterminate?Ll.INDETERMINATE:Ll.CHECKED}"
2389
2389
  size="1"
2390
2390
  length-unit="rem"
2391
2391
  ></mdc-icon>
@@ -2454,7 +2454,7 @@
2454
2454
  <slot name="body"></slot>
2455
2455
  <slot name="after-body"></slot>
2456
2456
  </div>
2457
- `}};Ss.styles=[...Ir.styles,...yf],p([u({type:Boolean,reflect:!0})],Ss.prototype,"checked",2),p([u({type:String})],Ss.prototype,"name",2);var Uc=Ss;var Rl=z.constructTagName("cardradio");var oT=[U`
2457
+ `}};Ss.styles=[...Ir.styles,...yf],p([u({type:Boolean,reflect:!0})],Ss.prototype,"checked",2),p([u({type:String})],Ss.prototype,"name",2);var Uc=Ss;var Ol=z.constructTagName("cardradio");var oT=[U`
2458
2458
  :host {
2459
2459
  --mdc-radio-inner-circle-size: 0.375rem;
2460
2460
  --mdc-radio-outer-circle-size: 1rem;
@@ -2552,7 +2552,7 @@
2552
2552
  }
2553
2553
  }
2554
2554
  `],Ef=oT;var Io=class extends Bt(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.softDisabled=!1}render(){return _` <slot></slot>
2555
- <span part="radio-icon" class="radio-icon"></span>`}};Io.styles=[...q.styles,...Ef],p([u({type:Boolean,reflect:!0})],Io.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Io.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Io.prototype,"softDisabled",2);var Hc=Io;var Tf=z.constructTagName("staticradio");Hc.register(Tf);var sT=Hc;Uc.register(Rl);var aT=Uc;var Hr=Math.min,we=Math.max,Da=Math.round,Fa=Math.floor,_r=n=>({x:n,y:n}),nT={left:"right",right:"left",bottom:"top",top:"bottom"},lT={start:"end",end:"start"};function Pl(n,o,t){return we(n,Hr(o,t))}function _o(n,o){return typeof n=="function"?n(o):n}function mi(n){return n.split("-")[0]}function Co(n){return n.split("-")[1]}function Gc(n){return n==="x"?"y":"x"}function Dl(n){return n==="y"?"height":"width"}var dT=new Set(["top","bottom"]);function Gr(n){return dT.has(mi(n))?"y":"x"}function Fl(n){return Gc(Gr(n))}function Sf(n,o,t){t===void 0&&(t=!1);let r=Co(n),s=Fl(n),d=Dl(s),m=s==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=Pa(m)),[m,Pa(m)]}function If(n){let o=Pa(n);return[Ml(n),o,Ml(o)]}function Ml(n){return n.replace(/start|end/g,o=>lT[o])}var xf=["left","right"],Af=["right","left"],cT=["top","bottom"],hT=["bottom","top"];function pT(n,o,t){switch(n){case"top":case"bottom":return t?o?Af:xf:o?xf:Af;case"left":case"right":return o?cT:hT;default:return[]}}function _f(n,o,t,r){let s=Co(n),d=pT(mi(n),t==="start",r);return s&&(d=d.map(m=>m+"-"+s),o&&(d=d.concat(d.map(Ml)))),d}function Pa(n){return n.replace(/left|right|bottom|top/g,o=>nT[o])}function mT(n){return{top:0,right:0,bottom:0,left:0,...n}}function Yc(n){return typeof n!="number"?mT(n):{top:n,right:n,bottom:n,left:n}}function ko(n){let{x:o,y:t,width:r,height:s}=n;return{width:r,height:s,top:t,left:o,right:o+r,bottom:t+s,x:o,y:t}}function Cf(n,o,t){let{reference:r,floating:s}=n,d=Gr(o),m=Fl(o),b=Dl(m),x=mi(o),N=d==="y",B=r.x+r.width/2-s.width/2,K=r.y+r.height/2-s.height/2,Q=r[b]/2-s[b]/2,X;switch(x){case"top":X={x:B,y:r.y-s.height};break;case"bottom":X={x:B,y:r.y+r.height};break;case"right":X={x:r.x+r.width,y:K};break;case"left":X={x:r.x-s.width,y:K};break;default:X={x:r.x,y:r.y}}switch(Co(o)){case"start":X[m]-=Q*(t&&N?-1:1);break;case"end":X[m]+=Q*(t&&N?-1:1);break}return X}var kf=async(n,o,t)=>{let{placement:r="bottom",strategy:s="absolute",middleware:d=[],platform:m}=t,b=d.filter(Boolean),x=await(m.isRTL==null?void 0:m.isRTL(o)),N=await m.getElementRects({reference:n,floating:o,strategy:s}),{x:B,y:K}=Cf(N,r,x),Q=r,X={},it=0;for(let dt=0;dt<b.length;dt++){let{name:lt,fn:bt}=b[dt],{x:It,y:Ct,data:Yt,reset:zt}=await bt({x:B,y:K,initialPlacement:r,placement:Q,strategy:s,middlewareData:X,rects:N,platform:m,elements:{reference:n,floating:o}});B=It!=null?It:B,K=Ct!=null?Ct:K,X={...X,[lt]:{...X[lt],...Yt}},zt&&it<=50&&(it++,typeof zt=="object"&&(zt.placement&&(Q=zt.placement),zt.rects&&(N=zt.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:s}):zt.rects),{x:B,y:K}=Cf(N,Q,x)),dt=-1)}return{x:B,y:K,placement:Q,strategy:s,middlewareData:X}};async function $l(n,o){var t;o===void 0&&(o={});let{x:r,y:s,platform:d,rects:m,elements:b,strategy:x}=n,{boundary:N="clippingAncestors",rootBoundary:B="viewport",elementContext:K="floating",altBoundary:Q=!1,padding:X=0}=_o(o,n),it=Yc(X),lt=b[Q?K==="floating"?"reference":"floating":K],bt=ko(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(lt)))==null||t?lt:lt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(b.floating)),boundary:N,rootBoundary:B,strategy:x})),It=K==="floating"?{x:r,y:s,width:m.floating.width,height:m.floating.height}:m.reference,Ct=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b.floating)),Yt=await(d.isElement==null?void 0:d.isElement(Ct))?await(d.getScale==null?void 0:d.getScale(Ct))||{x:1,y:1}:{x:1,y:1},zt=ko(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:It,offsetParent:Ct,strategy:x}):It);return{top:(bt.top-zt.top+it.top)/Yt.y,bottom:(zt.bottom-bt.bottom+it.bottom)/Yt.y,left:(bt.left-zt.left+it.left)/Yt.x,right:(zt.right-bt.right+it.right)/Yt.x}}var wf=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:r,placement:s,rects:d,platform:m,elements:b,middlewareData:x}=o,{element:N,padding:B=0}=_o(n,o)||{};if(N==null)return{};let K=Yc(B),Q={x:t,y:r},X=Fl(s),it=Dl(X),dt=await m.getDimensions(N),lt=X==="y",bt=lt?"top":"left",It=lt?"bottom":"right",Ct=lt?"clientHeight":"clientWidth",Yt=d.reference[it]+d.reference[X]-Q[X]-d.floating[it],zt=Q[X]-d.reference[X],Wt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(N)),Qt=Wt?Wt[Ct]:0;(!Qt||!await(m.isElement==null?void 0:m.isElement(Wt)))&&(Qt=b.floating[Ct]||d.floating[it]);let de=Yt/2-zt/2,br=Qt/2-dt[it]/2-1,Re=Hr(K[bt],br),er=Hr(K[It],br),yr=Re,Er=Qt-dt[it]-er,kt=Qt/2-dt[it]/2+de,ue=Pl(yr,kt,Er),rr=!x.arrow&&Co(s)!=null&&kt!==ue&&d.reference[it]/2-(kt<yr?Re:er)-dt[it]/2<0,ir=rr?kt<yr?kt-yr:kt-Er:0;return{[X]:Q[X]+ir,data:{[X]:ue,centerOffset:kt-ue-ir,...rr&&{alignmentOffset:ir}},reset:rr}}});var Nf=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,r;let{placement:s,middlewareData:d,rects:m,initialPlacement:b,platform:x,elements:N}=o,{mainAxis:B=!0,crossAxis:K=!0,fallbackPlacements:Q,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:it="none",flipAlignment:dt=!0,...lt}=_o(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let bt=mi(s),It=Gr(b),Ct=mi(b)===b,Yt=await(x.isRTL==null?void 0:x.isRTL(N.floating)),zt=Q||(Ct||!dt?[Pa(b)]:If(b)),Wt=it!=="none";!Q&&Wt&&zt.push(..._f(b,dt,it,Yt));let Qt=[b,...zt],de=await $l(o,lt),br=[],Re=((r=d.flip)==null?void 0:r.overflows)||[];if(B&&br.push(de[bt]),K){let kt=Sf(s,m,Yt);br.push(de[kt[0]],de[kt[1]])}if(Re=[...Re,{placement:s,overflows:br}],!br.every(kt=>kt<=0)){var er,yr;let kt=(((er=d.flip)==null?void 0:er.index)||0)+1,ue=Qt[kt];if(ue&&(!(K==="alignment"?It!==Gr(ue):!1)||Re.every(or=>or.overflows[0]>0&&Gr(or.placement)===It)))return{data:{index:kt,overflows:Re},reset:{placement:ue}};let rr=(yr=Re.filter(ir=>ir.overflows[0]<=0).sort((ir,or)=>ir.overflows[1]-or.overflows[1])[0])==null?void 0:yr.placement;if(!rr)switch(X){case"bestFit":{var Er;let ir=(Er=Re.filter(or=>{if(Wt){let sr=Gr(or.placement);return sr===It||sr==="y"}return!0}).map(or=>[or.placement,or.overflows.filter(sr=>sr>0).reduce((sr,yn)=>sr+yn,0)]).sort((or,sr)=>or[1]-sr[1])[0])==null?void 0:Er[0];ir&&(rr=ir);break}case"initialPlacement":rr=b;break}if(s!==rr)return{reset:{placement:rr}}}return{}}}};var uT=new Set(["left","top"]);async function fT(n,o){let{placement:t,platform:r,elements:s}=n,d=await(r.isRTL==null?void 0:r.isRTL(s.floating)),m=mi(t),b=Co(t),x=Gr(t)==="y",N=uT.has(m)?-1:1,B=d&&x?-1:1,K=_o(o,n),{mainAxis:Q,crossAxis:X,alignmentAxis:it}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return b&&typeof it=="number"&&(X=b==="end"?it*-1:it),x?{x:X*B,y:Q*N}:{x:Q*N,y:X*B}}var Lf=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,r;let{x:s,y:d,placement:m,middlewareData:b}=o,x=await fT(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(r=b.arrow)!=null&&r.alignmentOffset?{}:{x:s+x.x,y:d+x.y,data:{...x,placement:m}}}}},Of=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:r,placement:s}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:b={fn:lt=>{let{x:bt,y:It}=lt;return{x:bt,y:It}}},...x}=_o(n,o),N={x:t,y:r},B=await $l(o,x),K=Gr(mi(s)),Q=Gc(K),X=N[Q],it=N[K];if(d){let lt=Q==="y"?"top":"left",bt=Q==="y"?"bottom":"right",It=X+B[lt],Ct=X-B[bt];X=Pl(It,X,Ct)}if(m){let lt=K==="y"?"top":"left",bt=K==="y"?"bottom":"right",It=it+B[lt],Ct=it-B[bt];it=Pl(It,it,Ct)}let dt=b.fn({...o,[Q]:X,[K]:it});return{...dt,data:{x:dt.x-t,y:dt.y-r,enabled:{[Q]:d,[K]:m}}}}}};var Rf=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,r;let{placement:s,rects:d,platform:m,elements:b}=o,{apply:x=()=>{},...N}=_o(n,o),B=await $l(o,N),K=mi(s),Q=Co(s),X=Gr(s)==="y",{width:it,height:dt}=d.floating,lt,bt;K==="top"||K==="bottom"?(lt=K,bt=Q===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(bt=K,lt=Q==="end"?"top":"bottom");let It=dt-B.top-B.bottom,Ct=it-B.left-B.right,Yt=Hr(dt-B[lt],It),zt=Hr(it-B[bt],Ct),Wt=!o.middlewareData.shift,Qt=Yt,de=zt;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(de=Ct),(r=o.middlewareData.shift)!=null&&r.enabled.y&&(Qt=It),Wt&&!Q){let Re=we(B.left,0),er=we(B.right,0),yr=we(B.top,0),Er=we(B.bottom,0);X?de=it-2*(Re!==0||er!==0?Re+er:we(B.left,B.right)):Qt=dt-2*(yr!==0||Er!==0?yr+Er:we(B.top,B.bottom))}await x({...o,availableWidth:de,availableHeight:Qt});let br=await m.getDimensions(b.floating);return it!==br.width||dt!==br.height?{reset:{rects:!0}}:{}}}};function zl(){return typeof window<"u"}function wo(n){return Pf(n)?(n.nodeName||"").toLowerCase():"#document"}function Be(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function Cr(n){var o;return(o=(Pf(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function Pf(n){return zl()?n instanceof Node||n instanceof Be(n).Node:!1}function cr(n){return zl()?n instanceof Element||n instanceof Be(n).Element:!1}function kr(n){return zl()?n instanceof HTMLElement||n instanceof Be(n).HTMLElement:!1}function Mf(n){return!zl()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Be(n).ShadowRoot}var vT=new Set(["inline","contents"]);function _s(n){let{overflow:o,overflowX:t,overflowY:r,display:s}=hr(n);return/auto|scroll|overlay|hidden|clip/.test(o+r+t)&&!vT.has(s)}var gT=new Set(["table","td","th"]);function Df(n){return gT.has(wo(n))}var bT=[":popover-open",":modal"];function $a(n){return bT.some(o=>{try{return n.matches(o)}catch{return!1}})}var yT=["transform","translate","scale","rotate","perspective"],ET=["transform","translate","scale","rotate","perspective","filter"],TT=["paint","layout","strict","content"];function Vl(n){let o=Bl(),t=cr(n)?hr(n):n;return yT.some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||ET.some(r=>(t.willChange||"").includes(r))||TT.some(r=>(t.contain||"").includes(r))}function Ff(n){let o=ui(n);for(;kr(o)&&!No(o);){if(Vl(o))return o;if($a(o))return null;o=ui(o)}return null}function Bl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var xT=new Set(["html","body","#document"]);function No(n){return xT.has(wo(n))}function hr(n){return Be(n).getComputedStyle(n)}function za(n){return cr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ui(n){if(wo(n)==="html")return n;let o=n.assignedSlot||n.parentNode||Mf(n)&&n.host||Cr(n);return Mf(o)?o.host:o}function $f(n){let o=ui(n);return No(o)?n.ownerDocument?n.ownerDocument.body:n.body:kr(o)&&_s(o)?o:$f(o)}function Is(n,o,t){var r;o===void 0&&(o=[]),t===void 0&&(t=!0);let s=$f(n),d=s===((r=n.ownerDocument)==null?void 0:r.body),m=Be(s);if(d){let b=Ul(m);return o.concat(m,m.visualViewport||[],_s(s)?s:[],b&&t?Is(b):[])}return o.concat(s,Is(s,[],t))}function Ul(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Bf(n){let o=hr(n),t=parseFloat(o.width)||0,r=parseFloat(o.height)||0,s=kr(n),d=s?n.offsetWidth:t,m=s?n.offsetHeight:r,b=Da(t)!==d||Da(r)!==m;return b&&(t=d,r=m),{width:t,height:r,$:b}}function jc(n){return cr(n)?n:n.contextElement}function Cs(n){let o=jc(n);if(!kr(o))return _r(1);let t=o.getBoundingClientRect(),{width:r,height:s,$:d}=Bf(o),m=(d?Da(t.width):t.width)/r,b=(d?Da(t.height):t.height)/s;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var AT=_r(0);function Uf(n){let o=Be(n);return!Bl()||!o.visualViewport?AT:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ST(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==Be(n)?!1:o}function Lo(n,o,t,r){o===void 0&&(o=!1),t===void 0&&(t=!1);let s=n.getBoundingClientRect(),d=jc(n),m=_r(1);o&&(r?cr(r)&&(m=Cs(r)):m=Cs(n));let b=ST(d,t,r)?Uf(d):_r(0),x=(s.left+b.x)/m.x,N=(s.top+b.y)/m.y,B=s.width/m.x,K=s.height/m.y;if(d){let Q=Be(d),X=r&&cr(r)?Be(r):r,it=Q,dt=Ul(it);for(;dt&&r&&X!==it;){let lt=Cs(dt),bt=dt.getBoundingClientRect(),It=hr(dt),Ct=bt.left+(dt.clientLeft+parseFloat(It.paddingLeft))*lt.x,Yt=bt.top+(dt.clientTop+parseFloat(It.paddingTop))*lt.y;x*=lt.x,N*=lt.y,B*=lt.x,K*=lt.y,x+=Ct,N+=Yt,it=Be(dt),dt=Ul(it)}}return ko({width:B,height:K,x,y:N})}function Kc(n,o){let t=za(n).scrollLeft;return o?o.left+t:Lo(Cr(n)).left+t}function Hf(n,o,t){t===void 0&&(t=!1);let r=n.getBoundingClientRect(),s=r.left+o.scrollLeft-(t?0:Kc(n,r)),d=r.top+o.scrollTop;return{x:s,y:d}}function IT(n){let{elements:o,rect:t,offsetParent:r,strategy:s}=n,d=s==="fixed",m=Cr(r),b=o?$a(o.floating):!1;if(r===m||b&&d)return t;let x={scrollLeft:0,scrollTop:0},N=_r(1),B=_r(0),K=kr(r);if((K||!K&&!d)&&((wo(r)!=="body"||_s(m))&&(x=za(r)),kr(r))){let X=Lo(r);N=Cs(r),B.x=X.x+r.clientLeft,B.y=X.y+r.clientTop}let Q=m&&!K&&!d?Hf(m,x,!0):_r(0);return{width:t.width*N.x,height:t.height*N.y,x:t.x*N.x-x.scrollLeft*N.x+B.x+Q.x,y:t.y*N.y-x.scrollTop*N.y+B.y+Q.y}}function _T(n){return Array.from(n.getClientRects())}function CT(n){let o=Cr(n),t=za(n),r=n.ownerDocument.body,s=we(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),d=we(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight),m=-t.scrollLeft+Kc(n),b=-t.scrollTop;return hr(r).direction==="rtl"&&(m+=we(o.clientWidth,r.clientWidth)-s),{width:s,height:d,x:m,y:b}}function kT(n,o){let t=Be(n),r=Cr(n),s=t.visualViewport,d=r.clientWidth,m=r.clientHeight,b=0,x=0;if(s){d=s.width,m=s.height;let N=Bl();(!N||N&&o==="fixed")&&(b=s.offsetLeft,x=s.offsetTop)}return{width:d,height:m,x:b,y:x}}var wT=new Set(["absolute","fixed"]);function NT(n,o){let t=Lo(n,!0,o==="fixed"),r=t.top+n.clientTop,s=t.left+n.clientLeft,d=kr(n)?Cs(n):_r(1),m=n.clientWidth*d.x,b=n.clientHeight*d.y,x=s*d.x,N=r*d.y;return{width:m,height:b,x,y:N}}function zf(n,o,t){let r;if(o==="viewport")r=kT(n,t);else if(o==="document")r=CT(Cr(n));else if(cr(o))r=NT(o,t);else{let s=Uf(n);r={x:o.x-s.x,y:o.y-s.y,width:o.width,height:o.height}}return ko(r)}function Gf(n,o){let t=ui(n);return t===o||!cr(t)||No(t)?!1:hr(t).position==="fixed"||Gf(t,o)}function LT(n,o){let t=o.get(n);if(t)return t;let r=Is(n,[],!1).filter(b=>cr(b)&&wo(b)!=="body"),s=null,d=hr(n).position==="fixed",m=d?ui(n):n;for(;cr(m)&&!No(m);){let b=hr(m),x=Vl(m);!x&&b.position==="fixed"&&(s=null),(d?!x&&!s:!x&&b.position==="static"&&!!s&&wT.has(s.position)||_s(m)&&!x&&Gf(n,m))?r=r.filter(B=>B!==m):s=b,m=ui(m)}return o.set(n,r),r}function OT(n){let{element:o,boundary:t,rootBoundary:r,strategy:s}=n,m=[...t==="clippingAncestors"?$a(o)?[]:LT(o,this._c):[].concat(t),r],b=m[0],x=m.reduce((N,B)=>{let K=zf(o,B,s);return N.top=we(K.top,N.top),N.right=Hr(K.right,N.right),N.bottom=Hr(K.bottom,N.bottom),N.left=we(K.left,N.left),N},zf(o,b,s));return{width:x.right-x.left,height:x.bottom-x.top,x:x.left,y:x.top}}function RT(n){let{width:o,height:t}=Bf(n);return{width:o,height:t}}function MT(n,o,t){let r=kr(o),s=Cr(o),d=t==="fixed",m=Lo(n,!0,d,o),b={scrollLeft:0,scrollTop:0},x=_r(0);function N(){x.x=Kc(s)}if(r||!r&&!d)if((wo(o)!=="body"||_s(s))&&(b=za(o)),r){let X=Lo(o,!0,d,o);x.x=X.x+o.clientLeft,x.y=X.y+o.clientTop}else s&&N();d&&!r&&s&&N();let B=s&&!r&&!d?Hf(s,b):_r(0),K=m.left+b.scrollLeft-x.x-B.x,Q=m.top+b.scrollTop-x.y-B.y;return{x:K,y:Q,width:m.width,height:m.height}}function Wc(n){return hr(n).position==="static"}function Vf(n,o){if(!kr(n)||hr(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return Cr(n)===t&&(t=t.ownerDocument.body),t}function Yf(n,o){let t=Be(n);if($a(n))return t;if(!kr(n)){let s=ui(n);for(;s&&!No(s);){if(cr(s)&&!Wc(s))return s;s=ui(s)}return t}let r=Vf(n,o);for(;r&&Df(r)&&Wc(r);)r=Vf(r,o);return r&&No(r)&&Wc(r)&&!Vl(r)?t:r||Ff(n)||t}var PT=async function(n){let o=this.getOffsetParent||Yf,t=this.getDimensions,r=await t(n.floating);return{reference:MT(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function DT(n){return hr(n).direction==="rtl"}var FT={convertOffsetParentRelativeRectToViewportRelativeRect:IT,getDocumentElement:Cr,getClippingRect:OT,getOffsetParent:Yf,getElementRects:PT,getClientRects:_T,getDimensions:RT,getScale:Cs,isElement:cr,isRTL:DT};function Wf(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function $T(n,o){let t=null,r,s=Cr(n);function d(){var b;clearTimeout(r),(b=t)==null||b.disconnect(),t=null}function m(b,x){b===void 0&&(b=!1),x===void 0&&(x=1),d();let N=n.getBoundingClientRect(),{left:B,top:K,width:Q,height:X}=N;if(b||o(),!Q||!X)return;let it=Fa(K),dt=Fa(s.clientWidth-(B+Q)),lt=Fa(s.clientHeight-(K+X)),bt=Fa(B),Ct={rootMargin:-it+"px "+-dt+"px "+-lt+"px "+-bt+"px",threshold:we(0,Hr(1,x))||1},Yt=!0;function zt(Wt){let Qt=Wt[0].intersectionRatio;if(Qt!==x){if(!Yt)return m();Qt?m(!1,Qt):r=setTimeout(()=>{m(!1,1e-7)},1e3)}Qt===1&&!Wf(N,n.getBoundingClientRect())&&m(),Yt=!1}try{t=new IntersectionObserver(zt,{...Ct,root:s.ownerDocument})}catch{t=new IntersectionObserver(zt,Ct)}t.observe(n)}return m(!0),d}function jf(n,o,t,r){r===void 0&&(r={});let{ancestorScroll:s=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:x=!1}=r,N=jc(n),B=s||d?[...N?Is(N):[],...Is(o)]:[];B.forEach(bt=>{s&&bt.addEventListener("scroll",t,{passive:!0}),d&&bt.addEventListener("resize",t)});let K=N&&b?$T(N,t):null,Q=-1,X=null;m&&(X=new ResizeObserver(bt=>{let[It]=bt;It&&It.target===N&&X&&(X.unobserve(o),cancelAnimationFrame(Q),Q=requestAnimationFrame(()=>{var Ct;(Ct=X)==null||Ct.observe(o)})),t()}),N&&!x&&X.observe(N),X.observe(o));let it,dt=x?Lo(n):null;x&&lt();function lt(){let bt=Lo(n);dt&&!Wf(dt,bt)&&t(),dt=bt,it=requestAnimationFrame(lt)}return t(),()=>{var bt;B.forEach(It=>{s&&It.removeEventListener("scroll",t),d&&It.removeEventListener("resize",t)}),K==null||K(),(bt=X)==null||bt.disconnect(),X=null,x&&cancelAnimationFrame(it)}}var Kf=Lf;var qf=Of,Xf=Nf,Zf=Rf;var Qf=wf;var Jf=(n,o,t)=>{let r=new Map,s={platform:FT,...t},d={...s.platform,_c:r};return kf(n,o,{...s,platform:d})};var tv=z.constructTagName("popover"),Lt={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"},Ue={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Oo={TONAL:"tonal",CONTRAST:"contrast"},zT={ABSOLUTE:"absolute",FIXED:"fixed"},gt={PLACEMENT:Lt.BOTTOM,TRIGGER:Ue.CLICK,COLOR:Oo.TONAL,STRATEGY:zT.ABSOLUTE,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,DISABLE_FLIP:!1,SIZE:!1,DELAY:"0,0",ROLE:rt.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_OPEN:!1,IS_BACKDROP_INVISIBLE:!0,ANIMATION_FRAME:!1};var fi=class{static dispatchPopoverEvent(o,t){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}static onEscapeKeyPressed(o){this.dispatchPopoverEvent("closebyescape",o)}static onClickOutside(o){this.dispatchPopoverEvent("closebyoutsideclick",o)}};var qc=class{constructor(){this.stack=[]}push(o){return this.stack.push(o),this.stack.length}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(t=>t!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},Ne=new qc;var VT=U`
2555
+ <span part="radio-icon" class="radio-icon"></span>`}};Io.styles=[...q.styles,...Ef],p([u({type:Boolean,reflect:!0})],Io.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Io.prototype,"readonly",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Io.prototype,"softDisabled",2);var Hc=Io;var Tf=z.constructTagName("staticradio");Hc.register(Tf);var sT=Hc;Uc.register(Ol);var aT=Uc;var Hr=Math.min,we=Math.max,Da=Math.round,Fa=Math.floor,_r=n=>({x:n,y:n}),nT={left:"right",right:"left",bottom:"top",top:"bottom"},lT={start:"end",end:"start"};function Ml(n,o,t){return we(n,Hr(o,t))}function _o(n,o){return typeof n=="function"?n(o):n}function mi(n){return n.split("-")[0]}function Co(n){return n.split("-")[1]}function Gc(n){return n==="x"?"y":"x"}function Pl(n){return n==="y"?"height":"width"}var dT=new Set(["top","bottom"]);function Gr(n){return dT.has(mi(n))?"y":"x"}function Dl(n){return Gc(Gr(n))}function Sf(n,o,t){t===void 0&&(t=!1);let r=Co(n),s=Dl(n),d=Pl(s),m=s==="x"?r===(t?"end":"start")?"right":"left":r==="start"?"bottom":"top";return o.reference[d]>o.floating[d]&&(m=Pa(m)),[m,Pa(m)]}function If(n){let o=Pa(n);return[Rl(n),o,Rl(o)]}function Rl(n){return n.replace(/start|end/g,o=>lT[o])}var xf=["left","right"],Af=["right","left"],cT=["top","bottom"],hT=["bottom","top"];function pT(n,o,t){switch(n){case"top":case"bottom":return t?o?Af:xf:o?xf:Af;case"left":case"right":return o?cT:hT;default:return[]}}function _f(n,o,t,r){let s=Co(n),d=pT(mi(n),t==="start",r);return s&&(d=d.map(m=>m+"-"+s),o&&(d=d.concat(d.map(Rl)))),d}function Pa(n){return n.replace(/left|right|bottom|top/g,o=>nT[o])}function mT(n){return{top:0,right:0,bottom:0,left:0,...n}}function Yc(n){return typeof n!="number"?mT(n):{top:n,right:n,bottom:n,left:n}}function ko(n){let{x:o,y:t,width:r,height:s}=n;return{width:r,height:s,top:t,left:o,right:o+r,bottom:t+s,x:o,y:t}}function Cf(n,o,t){let{reference:r,floating:s}=n,d=Gr(o),m=Dl(o),b=Pl(m),x=mi(o),N=d==="y",B=r.x+r.width/2-s.width/2,K=r.y+r.height/2-s.height/2,Q=r[b]/2-s[b]/2,X;switch(x){case"top":X={x:B,y:r.y-s.height};break;case"bottom":X={x:B,y:r.y+r.height};break;case"right":X={x:r.x+r.width,y:K};break;case"left":X={x:r.x-s.width,y:K};break;default:X={x:r.x,y:r.y}}switch(Co(o)){case"start":X[m]-=Q*(t&&N?-1:1);break;case"end":X[m]+=Q*(t&&N?-1:1);break}return X}var kf=async(n,o,t)=>{let{placement:r="bottom",strategy:s="absolute",middleware:d=[],platform:m}=t,b=d.filter(Boolean),x=await(m.isRTL==null?void 0:m.isRTL(o)),N=await m.getElementRects({reference:n,floating:o,strategy:s}),{x:B,y:K}=Cf(N,r,x),Q=r,X={},it=0;for(let dt=0;dt<b.length;dt++){let{name:lt,fn:bt}=b[dt],{x:It,y:Ct,data:Yt,reset:zt}=await bt({x:B,y:K,initialPlacement:r,placement:Q,strategy:s,middlewareData:X,rects:N,platform:m,elements:{reference:n,floating:o}});B=It!=null?It:B,K=Ct!=null?Ct:K,X={...X,[lt]:{...X[lt],...Yt}},zt&&it<=50&&(it++,typeof zt=="object"&&(zt.placement&&(Q=zt.placement),zt.rects&&(N=zt.rects===!0?await m.getElementRects({reference:n,floating:o,strategy:s}):zt.rects),{x:B,y:K}=Cf(N,Q,x)),dt=-1)}return{x:B,y:K,placement:Q,strategy:s,middlewareData:X}};async function Fl(n,o){var t;o===void 0&&(o={});let{x:r,y:s,platform:d,rects:m,elements:b,strategy:x}=n,{boundary:N="clippingAncestors",rootBoundary:B="viewport",elementContext:K="floating",altBoundary:Q=!1,padding:X=0}=_o(o,n),it=Yc(X),lt=b[Q?K==="floating"?"reference":"floating":K],bt=ko(await d.getClippingRect({element:(t=await(d.isElement==null?void 0:d.isElement(lt)))==null||t?lt:lt.contextElement||await(d.getDocumentElement==null?void 0:d.getDocumentElement(b.floating)),boundary:N,rootBoundary:B,strategy:x})),It=K==="floating"?{x:r,y:s,width:m.floating.width,height:m.floating.height}:m.reference,Ct=await(d.getOffsetParent==null?void 0:d.getOffsetParent(b.floating)),Yt=await(d.isElement==null?void 0:d.isElement(Ct))?await(d.getScale==null?void 0:d.getScale(Ct))||{x:1,y:1}:{x:1,y:1},zt=ko(d.convertOffsetParentRelativeRectToViewportRelativeRect?await d.convertOffsetParentRelativeRectToViewportRelativeRect({elements:b,rect:It,offsetParent:Ct,strategy:x}):It);return{top:(bt.top-zt.top+it.top)/Yt.y,bottom:(zt.bottom-bt.bottom+it.bottom)/Yt.y,left:(bt.left-zt.left+it.left)/Yt.x,right:(zt.right-bt.right+it.right)/Yt.x}}var wf=n=>({name:"arrow",options:n,async fn(o){let{x:t,y:r,placement:s,rects:d,platform:m,elements:b,middlewareData:x}=o,{element:N,padding:B=0}=_o(n,o)||{};if(N==null)return{};let K=Yc(B),Q={x:t,y:r},X=Dl(s),it=Pl(X),dt=await m.getDimensions(N),lt=X==="y",bt=lt?"top":"left",It=lt?"bottom":"right",Ct=lt?"clientHeight":"clientWidth",Yt=d.reference[it]+d.reference[X]-Q[X]-d.floating[it],zt=Q[X]-d.reference[X],Wt=await(m.getOffsetParent==null?void 0:m.getOffsetParent(N)),Qt=Wt?Wt[Ct]:0;(!Qt||!await(m.isElement==null?void 0:m.isElement(Wt)))&&(Qt=b.floating[Ct]||d.floating[it]);let de=Yt/2-zt/2,br=Qt/2-dt[it]/2-1,Re=Hr(K[bt],br),er=Hr(K[It],br),yr=Re,Er=Qt-dt[it]-er,kt=Qt/2-dt[it]/2+de,ue=Ml(yr,kt,Er),rr=!x.arrow&&Co(s)!=null&&kt!==ue&&d.reference[it]/2-(kt<yr?Re:er)-dt[it]/2<0,ir=rr?kt<yr?kt-yr:kt-Er:0;return{[X]:Q[X]+ir,data:{[X]:ue,centerOffset:kt-ue-ir,...rr&&{alignmentOffset:ir}},reset:rr}}});var Nf=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var t,r;let{placement:s,middlewareData:d,rects:m,initialPlacement:b,platform:x,elements:N}=o,{mainAxis:B=!0,crossAxis:K=!0,fallbackPlacements:Q,fallbackStrategy:X="bestFit",fallbackAxisSideDirection:it="none",flipAlignment:dt=!0,...lt}=_o(n,o);if((t=d.arrow)!=null&&t.alignmentOffset)return{};let bt=mi(s),It=Gr(b),Ct=mi(b)===b,Yt=await(x.isRTL==null?void 0:x.isRTL(N.floating)),zt=Q||(Ct||!dt?[Pa(b)]:If(b)),Wt=it!=="none";!Q&&Wt&&zt.push(..._f(b,dt,it,Yt));let Qt=[b,...zt],de=await Fl(o,lt),br=[],Re=((r=d.flip)==null?void 0:r.overflows)||[];if(B&&br.push(de[bt]),K){let kt=Sf(s,m,Yt);br.push(de[kt[0]],de[kt[1]])}if(Re=[...Re,{placement:s,overflows:br}],!br.every(kt=>kt<=0)){var er,yr;let kt=(((er=d.flip)==null?void 0:er.index)||0)+1,ue=Qt[kt];if(ue&&(!(K==="alignment"?It!==Gr(ue):!1)||Re.every(or=>or.overflows[0]>0&&Gr(or.placement)===It)))return{data:{index:kt,overflows:Re},reset:{placement:ue}};let rr=(yr=Re.filter(ir=>ir.overflows[0]<=0).sort((ir,or)=>ir.overflows[1]-or.overflows[1])[0])==null?void 0:yr.placement;if(!rr)switch(X){case"bestFit":{var Er;let ir=(Er=Re.filter(or=>{if(Wt){let sr=Gr(or.placement);return sr===It||sr==="y"}return!0}).map(or=>[or.placement,or.overflows.filter(sr=>sr>0).reduce((sr,yn)=>sr+yn,0)]).sort((or,sr)=>or[1]-sr[1])[0])==null?void 0:Er[0];ir&&(rr=ir);break}case"initialPlacement":rr=b;break}if(s!==rr)return{reset:{placement:rr}}}return{}}}};var uT=new Set(["left","top"]);async function fT(n,o){let{placement:t,platform:r,elements:s}=n,d=await(r.isRTL==null?void 0:r.isRTL(s.floating)),m=mi(t),b=Co(t),x=Gr(t)==="y",N=uT.has(m)?-1:1,B=d&&x?-1:1,K=_o(o,n),{mainAxis:Q,crossAxis:X,alignmentAxis:it}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return b&&typeof it=="number"&&(X=b==="end"?it*-1:it),x?{x:X*B,y:Q*N}:{x:Q*N,y:X*B}}var Lf=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var t,r;let{x:s,y:d,placement:m,middlewareData:b}=o,x=await fT(o,n);return m===((t=b.offset)==null?void 0:t.placement)&&(r=b.arrow)!=null&&r.alignmentOffset?{}:{x:s+x.x,y:d+x.y,data:{...x,placement:m}}}}},Of=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){let{x:t,y:r,placement:s}=o,{mainAxis:d=!0,crossAxis:m=!1,limiter:b={fn:lt=>{let{x:bt,y:It}=lt;return{x:bt,y:It}}},...x}=_o(n,o),N={x:t,y:r},B=await Fl(o,x),K=Gr(mi(s)),Q=Gc(K),X=N[Q],it=N[K];if(d){let lt=Q==="y"?"top":"left",bt=Q==="y"?"bottom":"right",It=X+B[lt],Ct=X-B[bt];X=Ml(It,X,Ct)}if(m){let lt=K==="y"?"top":"left",bt=K==="y"?"bottom":"right",It=it+B[lt],Ct=it-B[bt];it=Ml(It,it,Ct)}let dt=b.fn({...o,[Q]:X,[K]:it});return{...dt,data:{x:dt.x-t,y:dt.y-r,enabled:{[Q]:d,[K]:m}}}}}};var Rf=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var t,r;let{placement:s,rects:d,platform:m,elements:b}=o,{apply:x=()=>{},...N}=_o(n,o),B=await Fl(o,N),K=mi(s),Q=Co(s),X=Gr(s)==="y",{width:it,height:dt}=d.floating,lt,bt;K==="top"||K==="bottom"?(lt=K,bt=Q===(await(m.isRTL==null?void 0:m.isRTL(b.floating))?"start":"end")?"left":"right"):(bt=K,lt=Q==="end"?"top":"bottom");let It=dt-B.top-B.bottom,Ct=it-B.left-B.right,Yt=Hr(dt-B[lt],It),zt=Hr(it-B[bt],Ct),Wt=!o.middlewareData.shift,Qt=Yt,de=zt;if((t=o.middlewareData.shift)!=null&&t.enabled.x&&(de=Ct),(r=o.middlewareData.shift)!=null&&r.enabled.y&&(Qt=It),Wt&&!Q){let Re=we(B.left,0),er=we(B.right,0),yr=we(B.top,0),Er=we(B.bottom,0);X?de=it-2*(Re!==0||er!==0?Re+er:we(B.left,B.right)):Qt=dt-2*(yr!==0||Er!==0?yr+Er:we(B.top,B.bottom))}await x({...o,availableWidth:de,availableHeight:Qt});let br=await m.getDimensions(b.floating);return it!==br.width||dt!==br.height?{reset:{rects:!0}}:{}}}};function $l(){return typeof window<"u"}function wo(n){return Pf(n)?(n.nodeName||"").toLowerCase():"#document"}function Be(n){var o;return(n==null||(o=n.ownerDocument)==null?void 0:o.defaultView)||window}function Cr(n){var o;return(o=(Pf(n)?n.ownerDocument:n.document)||window.document)==null?void 0:o.documentElement}function Pf(n){return $l()?n instanceof Node||n instanceof Be(n).Node:!1}function cr(n){return $l()?n instanceof Element||n instanceof Be(n).Element:!1}function kr(n){return $l()?n instanceof HTMLElement||n instanceof Be(n).HTMLElement:!1}function Mf(n){return!$l()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof Be(n).ShadowRoot}var vT=new Set(["inline","contents"]);function _s(n){let{overflow:o,overflowX:t,overflowY:r,display:s}=hr(n);return/auto|scroll|overlay|hidden|clip/.test(o+r+t)&&!vT.has(s)}var gT=new Set(["table","td","th"]);function Df(n){return gT.has(wo(n))}var bT=[":popover-open",":modal"];function $a(n){return bT.some(o=>{try{return n.matches(o)}catch{return!1}})}var yT=["transform","translate","scale","rotate","perspective"],ET=["transform","translate","scale","rotate","perspective","filter"],TT=["paint","layout","strict","content"];function zl(n){let o=Vl(),t=cr(n)?hr(n):n;return yT.some(r=>t[r]?t[r]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!o&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!o&&(t.filter?t.filter!=="none":!1)||ET.some(r=>(t.willChange||"").includes(r))||TT.some(r=>(t.contain||"").includes(r))}function Ff(n){let o=ui(n);for(;kr(o)&&!No(o);){if(zl(o))return o;if($a(o))return null;o=ui(o)}return null}function Vl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var xT=new Set(["html","body","#document"]);function No(n){return xT.has(wo(n))}function hr(n){return Be(n).getComputedStyle(n)}function za(n){return cr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function ui(n){if(wo(n)==="html")return n;let o=n.assignedSlot||n.parentNode||Mf(n)&&n.host||Cr(n);return Mf(o)?o.host:o}function $f(n){let o=ui(n);return No(o)?n.ownerDocument?n.ownerDocument.body:n.body:kr(o)&&_s(o)?o:$f(o)}function Is(n,o,t){var r;o===void 0&&(o=[]),t===void 0&&(t=!0);let s=$f(n),d=s===((r=n.ownerDocument)==null?void 0:r.body),m=Be(s);if(d){let b=Bl(m);return o.concat(m,m.visualViewport||[],_s(s)?s:[],b&&t?Is(b):[])}return o.concat(s,Is(s,[],t))}function Bl(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function Bf(n){let o=hr(n),t=parseFloat(o.width)||0,r=parseFloat(o.height)||0,s=kr(n),d=s?n.offsetWidth:t,m=s?n.offsetHeight:r,b=Da(t)!==d||Da(r)!==m;return b&&(t=d,r=m),{width:t,height:r,$:b}}function jc(n){return cr(n)?n:n.contextElement}function Cs(n){let o=jc(n);if(!kr(o))return _r(1);let t=o.getBoundingClientRect(),{width:r,height:s,$:d}=Bf(o),m=(d?Da(t.width):t.width)/r,b=(d?Da(t.height):t.height)/s;return(!m||!Number.isFinite(m))&&(m=1),(!b||!Number.isFinite(b))&&(b=1),{x:m,y:b}}var AT=_r(0);function Uf(n){let o=Be(n);return!Vl()||!o.visualViewport?AT:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function ST(n,o,t){return o===void 0&&(o=!1),!t||o&&t!==Be(n)?!1:o}function Lo(n,o,t,r){o===void 0&&(o=!1),t===void 0&&(t=!1);let s=n.getBoundingClientRect(),d=jc(n),m=_r(1);o&&(r?cr(r)&&(m=Cs(r)):m=Cs(n));let b=ST(d,t,r)?Uf(d):_r(0),x=(s.left+b.x)/m.x,N=(s.top+b.y)/m.y,B=s.width/m.x,K=s.height/m.y;if(d){let Q=Be(d),X=r&&cr(r)?Be(r):r,it=Q,dt=Bl(it);for(;dt&&r&&X!==it;){let lt=Cs(dt),bt=dt.getBoundingClientRect(),It=hr(dt),Ct=bt.left+(dt.clientLeft+parseFloat(It.paddingLeft))*lt.x,Yt=bt.top+(dt.clientTop+parseFloat(It.paddingTop))*lt.y;x*=lt.x,N*=lt.y,B*=lt.x,K*=lt.y,x+=Ct,N+=Yt,it=Be(dt),dt=Bl(it)}}return ko({width:B,height:K,x,y:N})}function Kc(n,o){let t=za(n).scrollLeft;return o?o.left+t:Lo(Cr(n)).left+t}function Hf(n,o,t){t===void 0&&(t=!1);let r=n.getBoundingClientRect(),s=r.left+o.scrollLeft-(t?0:Kc(n,r)),d=r.top+o.scrollTop;return{x:s,y:d}}function IT(n){let{elements:o,rect:t,offsetParent:r,strategy:s}=n,d=s==="fixed",m=Cr(r),b=o?$a(o.floating):!1;if(r===m||b&&d)return t;let x={scrollLeft:0,scrollTop:0},N=_r(1),B=_r(0),K=kr(r);if((K||!K&&!d)&&((wo(r)!=="body"||_s(m))&&(x=za(r)),kr(r))){let X=Lo(r);N=Cs(r),B.x=X.x+r.clientLeft,B.y=X.y+r.clientTop}let Q=m&&!K&&!d?Hf(m,x,!0):_r(0);return{width:t.width*N.x,height:t.height*N.y,x:t.x*N.x-x.scrollLeft*N.x+B.x+Q.x,y:t.y*N.y-x.scrollTop*N.y+B.y+Q.y}}function _T(n){return Array.from(n.getClientRects())}function CT(n){let o=Cr(n),t=za(n),r=n.ownerDocument.body,s=we(o.scrollWidth,o.clientWidth,r.scrollWidth,r.clientWidth),d=we(o.scrollHeight,o.clientHeight,r.scrollHeight,r.clientHeight),m=-t.scrollLeft+Kc(n),b=-t.scrollTop;return hr(r).direction==="rtl"&&(m+=we(o.clientWidth,r.clientWidth)-s),{width:s,height:d,x:m,y:b}}function kT(n,o){let t=Be(n),r=Cr(n),s=t.visualViewport,d=r.clientWidth,m=r.clientHeight,b=0,x=0;if(s){d=s.width,m=s.height;let N=Vl();(!N||N&&o==="fixed")&&(b=s.offsetLeft,x=s.offsetTop)}return{width:d,height:m,x:b,y:x}}var wT=new Set(["absolute","fixed"]);function NT(n,o){let t=Lo(n,!0,o==="fixed"),r=t.top+n.clientTop,s=t.left+n.clientLeft,d=kr(n)?Cs(n):_r(1),m=n.clientWidth*d.x,b=n.clientHeight*d.y,x=s*d.x,N=r*d.y;return{width:m,height:b,x,y:N}}function zf(n,o,t){let r;if(o==="viewport")r=kT(n,t);else if(o==="document")r=CT(Cr(n));else if(cr(o))r=NT(o,t);else{let s=Uf(n);r={x:o.x-s.x,y:o.y-s.y,width:o.width,height:o.height}}return ko(r)}function Gf(n,o){let t=ui(n);return t===o||!cr(t)||No(t)?!1:hr(t).position==="fixed"||Gf(t,o)}function LT(n,o){let t=o.get(n);if(t)return t;let r=Is(n,[],!1).filter(b=>cr(b)&&wo(b)!=="body"),s=null,d=hr(n).position==="fixed",m=d?ui(n):n;for(;cr(m)&&!No(m);){let b=hr(m),x=zl(m);!x&&b.position==="fixed"&&(s=null),(d?!x&&!s:!x&&b.position==="static"&&!!s&&wT.has(s.position)||_s(m)&&!x&&Gf(n,m))?r=r.filter(B=>B!==m):s=b,m=ui(m)}return o.set(n,r),r}function OT(n){let{element:o,boundary:t,rootBoundary:r,strategy:s}=n,m=[...t==="clippingAncestors"?$a(o)?[]:LT(o,this._c):[].concat(t),r],b=m[0],x=m.reduce((N,B)=>{let K=zf(o,B,s);return N.top=we(K.top,N.top),N.right=Hr(K.right,N.right),N.bottom=Hr(K.bottom,N.bottom),N.left=we(K.left,N.left),N},zf(o,b,s));return{width:x.right-x.left,height:x.bottom-x.top,x:x.left,y:x.top}}function RT(n){let{width:o,height:t}=Bf(n);return{width:o,height:t}}function MT(n,o,t){let r=kr(o),s=Cr(o),d=t==="fixed",m=Lo(n,!0,d,o),b={scrollLeft:0,scrollTop:0},x=_r(0);function N(){x.x=Kc(s)}if(r||!r&&!d)if((wo(o)!=="body"||_s(s))&&(b=za(o)),r){let X=Lo(o,!0,d,o);x.x=X.x+o.clientLeft,x.y=X.y+o.clientTop}else s&&N();d&&!r&&s&&N();let B=s&&!r&&!d?Hf(s,b):_r(0),K=m.left+b.scrollLeft-x.x-B.x,Q=m.top+b.scrollTop-x.y-B.y;return{x:K,y:Q,width:m.width,height:m.height}}function Wc(n){return hr(n).position==="static"}function Vf(n,o){if(!kr(n)||hr(n).position==="fixed")return null;if(o)return o(n);let t=n.offsetParent;return Cr(n)===t&&(t=t.ownerDocument.body),t}function Yf(n,o){let t=Be(n);if($a(n))return t;if(!kr(n)){let s=ui(n);for(;s&&!No(s);){if(cr(s)&&!Wc(s))return s;s=ui(s)}return t}let r=Vf(n,o);for(;r&&Df(r)&&Wc(r);)r=Vf(r,o);return r&&No(r)&&Wc(r)&&!zl(r)?t:r||Ff(n)||t}var PT=async function(n){let o=this.getOffsetParent||Yf,t=this.getDimensions,r=await t(n.floating);return{reference:MT(n.reference,await o(n.floating),n.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function DT(n){return hr(n).direction==="rtl"}var FT={convertOffsetParentRelativeRectToViewportRelativeRect:IT,getDocumentElement:Cr,getClippingRect:OT,getOffsetParent:Yf,getElementRects:PT,getClientRects:_T,getDimensions:RT,getScale:Cs,isElement:cr,isRTL:DT};function Wf(n,o){return n.x===o.x&&n.y===o.y&&n.width===o.width&&n.height===o.height}function $T(n,o){let t=null,r,s=Cr(n);function d(){var b;clearTimeout(r),(b=t)==null||b.disconnect(),t=null}function m(b,x){b===void 0&&(b=!1),x===void 0&&(x=1),d();let N=n.getBoundingClientRect(),{left:B,top:K,width:Q,height:X}=N;if(b||o(),!Q||!X)return;let it=Fa(K),dt=Fa(s.clientWidth-(B+Q)),lt=Fa(s.clientHeight-(K+X)),bt=Fa(B),Ct={rootMargin:-it+"px "+-dt+"px "+-lt+"px "+-bt+"px",threshold:we(0,Hr(1,x))||1},Yt=!0;function zt(Wt){let Qt=Wt[0].intersectionRatio;if(Qt!==x){if(!Yt)return m();Qt?m(!1,Qt):r=setTimeout(()=>{m(!1,1e-7)},1e3)}Qt===1&&!Wf(N,n.getBoundingClientRect())&&m(),Yt=!1}try{t=new IntersectionObserver(zt,{...Ct,root:s.ownerDocument})}catch{t=new IntersectionObserver(zt,Ct)}t.observe(n)}return m(!0),d}function jf(n,o,t,r){r===void 0&&(r={});let{ancestorScroll:s=!0,ancestorResize:d=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:b=typeof IntersectionObserver=="function",animationFrame:x=!1}=r,N=jc(n),B=s||d?[...N?Is(N):[],...Is(o)]:[];B.forEach(bt=>{s&&bt.addEventListener("scroll",t,{passive:!0}),d&&bt.addEventListener("resize",t)});let K=N&&b?$T(N,t):null,Q=-1,X=null;m&&(X=new ResizeObserver(bt=>{let[It]=bt;It&&It.target===N&&X&&(X.unobserve(o),cancelAnimationFrame(Q),Q=requestAnimationFrame(()=>{var Ct;(Ct=X)==null||Ct.observe(o)})),t()}),N&&!x&&X.observe(N),X.observe(o));let it,dt=x?Lo(n):null;x&&lt();function lt(){let bt=Lo(n);dt&&!Wf(dt,bt)&&t(),dt=bt,it=requestAnimationFrame(lt)}return t(),()=>{var bt;B.forEach(It=>{s&&It.removeEventListener("scroll",t),d&&It.removeEventListener("resize",t)}),K==null||K(),(bt=X)==null||bt.disconnect(),X=null,x&&cancelAnimationFrame(it)}}var Kf=Lf;var qf=Of,Xf=Nf,Zf=Rf;var Qf=wf;var Jf=(n,o,t)=>{let r=new Map,s={platform:FT,...t},d={...s.platform,_c:r};return kf(n,o,{...s,platform:d})};var tv=z.constructTagName("popover"),Lt={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"},Ue={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Oo={TONAL:"tonal",CONTRAST:"contrast"},zT={ABSOLUTE:"absolute",FIXED:"fixed"},gt={PLACEMENT:Lt.BOTTOM,TRIGGER:Ue.CLICK,COLOR:Oo.TONAL,STRATEGY:zT.ABSOLUTE,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,DISABLE_FLIP:!1,SIZE:!1,DELAY:"0,0",ROLE:rt.DIALOG,Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_OPEN:!1,IS_BACKDROP_INVISIBLE:!0,ANIMATION_FRAME:!1};var fi=class{static dispatchPopoverEvent(o,t){t.dispatchEvent(new CustomEvent(o,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(o){this.dispatchPopoverEvent("shown",o)}static onHidePopover(o){this.dispatchPopoverEvent("hidden",o)}static onCreatedPopover(o){this.dispatchPopoverEvent("created",o)}static onDestroyedPopover(o){this.dispatchPopoverEvent("destroyed",o)}static onEscapeKeyPressed(o){this.dispatchPopoverEvent("closebyescape",o)}static onClickOutside(o){this.dispatchPopoverEvent("closebyoutsideclick",o)}};var qc=class{constructor(){this.stack=[]}push(o){return this.stack.push(o),this.stack.length}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(t=>t!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},Ne=new qc;var VT=U`
2556
2556
  :host {
2557
2557
  --mdc-popover-arrow-border-radius: 0.1875rem;
2558
2558
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -2674,7 +2674,7 @@
2674
2674
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
2675
2675
  border-bottom-left-radius: 100%;
2676
2676
  }
2677
- `,ev=[VT];var Gl=z.constructTagName("popoverportal"),Hl=class extends q{connectedCallback(){super.connectedCallback(),this.ariaHidden="true",this.style.display="none"}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.onDisconnect)==null||o.call(this)}};var Yl=class{constructor(o){this.portalElement=null;this.disconnectAfterAppendTo=!1;this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(r=>{let s=parseInt(r,10);if(Number.isNaN(s)||s<0)throw new Error(`Invalid delay value: ${r}`);return s});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector('div[part="popover-hover-bridge"]');Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let r=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,s=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=r,t.style.bottom=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${s}px`,t.style.width=r,t.style.right=`calc(-1.5 * (${r}))`;break;case"right":t.style.height=`${s}px`,t.style.width=r,t.style.left=`calc(-0.5 * (${r}))`;break;case"bottom":default:t.style.height=r,t.style.top=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){var o,t;if(this.popover.appendTo){let r=document.getElementById(this.popover.appendTo);r&&!Array.from(r.children).includes(this.popover)&&(this.disconnectAfterAppendTo=!0,this.portalElement=document.createElement(Gl),this.portalElement.onDisconnect=()=>{this.popover.remove(),this.portalElement=null},(t=(o=this.popover.parentElement)==null?void 0:o.appendChild)==null||t.call(o,this.portalElement),r.appendChild(this.popover))}}cleanupAppendTo(){!this.disconnectAfterAppendTo&&this.portalElement&&this.portalElement.remove(),this.disconnectAfterAppendTo=!1}updateAriaLabels(){var o,t,r;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),!this.popover.ariaLabelledby&&!this.popover.ariaLabel&&(this.popover.ariaLabelledby=((r=this.popover.triggerElement)==null?void 0:r.id)||""))}updateAriaModal(){this.popover.role===rt.DIALOG||this.popover.role===rt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,r;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(r=this.popover.triggerElement)==null||r.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var B;if(!this.popover.arrowElement)return;let r=t.split("-")[0],s={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:d,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),x=(B=this.popover.arrowElement.offsetParent)==null?void 0:B.getBoundingClientRect();if(!this.arrowPixelChange){let K=x!=null&&x[s]?12-Math.abs(b[s]-x[s]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let N=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[s]:`${-this.popover.arrowElement.offsetHeight/2-N}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var _t=class extends gl(ml(pl(q))){constructor(){super();this.id="";this.triggerID="";this.trigger=gt.TRIGGER;this.placement=gt.PLACEMENT;this.color=gt.COLOR;this.visible=gt.VISIBLE;this.offset=gt.OFFSET;this.boundary=gt.BOUNDARY;this.boundaryRoot=gt.BOUNDARY_ROOT;this.focusTrap=gt.FOCUS_TRAP;this.preventScroll=gt.PREVENT_SCROLL;this.showArrow=gt.ARROW;this.closeButton=gt.CLOSE_BUTTON;this.interactive=gt.INTERACTIVE;this.delay=gt.DELAY;this.hideOnEscape=gt.HIDE_ON_ESCAPE;this.propagateEventOnEscape=gt.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=gt.HIDE_ON_BLUR;this.hideOnOutsideClick=gt.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=gt.FOCUS_BACK;this.backdrop=gt.BACKDROP;this.isBackdropInvisible=gt.IS_BACKDROP_INVISIBLE;this.disableFlip=gt.DISABLE_FLIP;this.size=gt.SIZE;this.closeButtonAriaLabel=null;this.strategy=gt.STRATEGY;this.role=gt.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=gt.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipOpen=gt.KEEP_CONNECTED_TOOLTIP_OPEN;this.animationFrame=gt.ANIMATION_FRAME;this.arrowElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSuppressOpening=!1;this.popoverDepth=0;this.parseTrigger=()=>{var d;let s=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(Ue).includes(m)).length>0?this.trigger:gt.TRIGGER;s==="mouseenter"&&(this.interactive?s="mouseenter click":s="mouseenter focusin"),this.trigger=s};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector('div[part="popover-hover-bridge"]');t==null||t.addEventListener("mouseenter",this.show),document.addEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.addEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(document.addEventListener("focusin",this.handleFocusIn,{capture:!0}),this.interactive||document.addEventListener("focusout",this.handleFocusOut,{capture:!0}))};this.removeTriggerListeners=()=>{document.removeEventListener("click",this.togglePopoverVisible,{capture:!0});let t=this.renderRoot.querySelector('div[part="popover-hover-bridge"]');t==null||t.removeEventListener("mouseenter",this.show),document.removeEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.removeEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),document.removeEventListener("focusin",this.handleFocusIn,{capture:!0}),document.removeEventListener("focusout",this.handleFocusOut,{capture:!0})};this.removeAllListeners=()=>{this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown,{capture:!0})),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Ne.peek()!==this)return;let r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&(this.hide(),fi.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),fi.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!0,this.show())};this.handleMouseLeave=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!1,this.startCloseDelay())};this.handleFocusOut=t=>{this.isEventFromTrigger(t)&&(this.isHovered||this.hide())};this.handleFocusIn=t=>{var r,s,d,m;this.isEventFromTrigger(t)&&((r=this.triggerElement)!=null&&r.matches(":focus-visible")||(m=(d=(s=this.triggerElement)==null?void 0:s.shadowRoot)==null?void 0:d.querySelector(".mdc-focus-ring"))!=null&&m.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSuppressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=t=>{this.isEventFromTrigger(t)&&(this.visible?this.hide():this.show())};this.positionPopover=()=>{let{triggerElement:t}=this;if(!t)return;let r=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),s=this.boundaryRoot,d=[qf({boundary:r,rootBoundary:s,padding:this.boundaryPadding})],m=this.offset;if(this.disableFlip||d.push(Xf({boundary:r,rootBoundary:s})),this.size){let b=N=>{this.style.setProperty("--mdc-popover-internal-available-height",`${N}px`)},x=this.renderRoot.querySelector('[part="popover-content"]');d.push(Zf({boundary:r,rootBoundary:s,apply({availableHeight:N}){x&&(Object.assign(x.style,{maxHeight:`${N}px`,overflowY:"auto"}),b(N))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector('div[part="popover-arrow"]'),this.arrowElement)){let b=this.arrowElement.offsetHeight,x=Math.sqrt(2*b**2)/2;m+=x,d.push(Qf({element:this.arrowElement,padding:12}))}d.push(Kf(m)),this.floatingUICleanupFunction=jf(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let x=this.adjustPlacementForRtl(this.placement),{x:N,y:B,middlewareData:K,placement:Q}=await Jf(b,this,{placement:x,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(N,B),K.arrow&&this.arrowElement&&this.utils.updateArrowStyle(K.arrow,Q),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(Q)},{animationFrame:this.animationFrame})};this.utils=new Yl(this),this.parseTrigger(),[this.openDelay,this.closeDelay]=this.utils.setupDelay()}get zIndex(){return this.internalZIndex===void 0||!Number.isInteger(this.internalZIndex)?gt.Z_INDEX+this.popoverDepth*3:this.internalZIndex}set zIndex(t){this.internalZIndex=t}get connectedTooltip(){let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);return Array.from(t).find(r=>r!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),fi.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.utils.setupAppendTo(),this.setupTriggerListeners()}async disconnectedCallback(){var t,r;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(r=this.floatingUICleanupFunction)==null||r.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),this.utils.cleanupAppendTo(),fi.onDestroyedPopover(this),Ne.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let r=t.get("visible")||!1;await this.isOpenUpdated(r,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Lt).includes(this.placement)?this.placement:gt.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(Oo).includes(this.color)?this.color:gt.COLOR),t.has("appendTo")&&(this.appendTo?this.utils.setupAppendTo():this.utils.cleanupAppendTo()),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),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,r){var d,m;let{triggerElement:s}=this;t===r||!s||(r&&!this.shouldSuppressOpening?(Ne.peek()!==this&&(this.popoverDepth=Ne.push(this),this.requestUpdate("zIndex")),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(s)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),document.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick,{capture:!0}),setTimeout(()=>{var b,x;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(x=this.setInitialFocus)==null||x.call(this))},0),fi.onShowPopover(this)):(Ne.peek()===this&&Ne.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(s),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown)),this.deactivatePreventScroll(),(m=this.deactivateFocusTrap)==null||m.call(this),this.focusBackToTrigger&&(s==null||s.focus()),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),fi.onHidePopover(this)))}isEventFromTrigger(t){var r;return this.triggerID?t.composed?t.composedPath().some(s=>(s==null?void 0:s.id)===this.triggerID):((r=t.target)==null?void 0:r.id)===this.triggerID:!1}isRtl(){return window.getComputedStyle(this).direction==="rtl"}adjustPlacementForRtl(t){if(!this.isRtl())return t;switch(t){case Lt.LEFT:return Lt.RIGHT;case Lt.LEFT_START:return Lt.RIGHT_START;case Lt.LEFT_END:return Lt.RIGHT_END;case Lt.RIGHT:return Lt.LEFT;case Lt.RIGHT_START:return Lt.LEFT_START;case Lt.RIGHT_END:return Lt.LEFT_END;default:return t}}render(){return this.style.zIndex=`${this.zIndex}`,_`
2677
+ `,ev=[VT];var Hl=z.constructTagName("popoverportal"),Ul=class extends q{connectedCallback(){super.connectedCallback(),this.ariaHidden="true",this.style.display="none"}disconnectedCallback(){var o;super.disconnectedCallback(),(o=this.onDisconnect)==null||o.call(this)}};var Gl=class{constructor(o){this.portalElement=null;this.disconnectAfterAppendTo=!1;this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,t]=this.popover.delay.split(",").map(r=>{let s=parseInt(r,10);if(Number.isNaN(s)||s<0)throw new Error(`Invalid delay value: ${r}`);return s});return[o,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let t=this.popover.renderRoot.querySelector('div[part="popover-hover-bridge"]');Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let r=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,s=this.popover.offsetHeight||0,d=this.popover.offsetWidth||0;if(t)switch(o.split("-")[0]){case"top":t.style.height=r,t.style.bottom=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break;case"left":t.style.height=`${s}px`,t.style.width=r,t.style.right=`calc(-1.5 * (${r}))`;break;case"right":t.style.height=`${s}px`,t.style.width=r,t.style.left=`calc(-0.5 * (${r}))`;break;case"bottom":default:t.style.height=r,t.style.top=`calc(-1 * (${r}))`,t.style.left="50%",t.style.width=`${d}px`;break}}setupAppendTo(){var o,t;if(this.popover.appendTo){let r=document.getElementById(this.popover.appendTo);r&&!Array.from(r.children).includes(this.popover)&&(this.disconnectAfterAppendTo=!0,this.portalElement=document.createElement(Hl),this.portalElement.onDisconnect=()=>{this.popover.remove(),this.portalElement=null},(t=(o=this.popover.parentElement)==null?void 0:o.appendChild)==null||t.call(o,this.portalElement),r.appendChild(this.popover))}}cleanupAppendTo(){!this.disconnectAfterAppendTo&&this.portalElement&&this.portalElement.remove(),this.disconnectAfterAppendTo=!1}updateAriaLabels(){var o,t,r;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),!this.popover.ariaLabelledby&&!this.popover.ariaLabel&&(this.popover.ariaLabelledby=((r=this.popover.triggerElement)==null?void 0:r.id)||""))}updateAriaModal(){this.popover.role===rt.DIALOG||this.popover.role===rt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaExpandedAttribute(){var o,t,r;this.popover.disableAriaExpanded||((o=this.popover.triggerElement)==null||o.setAttribute("aria-expanded",`${this.popover.visible}`),(r=this.popover.triggerElement)==null||r.setAttribute("aria-haspopup",((t=this.popover.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||this.popover.role||"dialog"))}updateArrowStyle(o,t){var B;if(!this.popover.arrowElement)return;let r=t.split("-")[0],s={top:"bottom",right:"left",bottom:"top",left:"right"}[r],{x:d,y:m}=o,b=this.popover.arrowElement.getBoundingClientRect(),x=(B=this.popover.arrowElement.offsetParent)==null?void 0:B.getBoundingClientRect();if(!this.arrowPixelChange){let K=x!=null&&x[s]?12-Math.abs(b[s]-x[s]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let N=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",r),Object.assign(this.popover.arrowElement.style,{left:d!=null?`${d}px`:"",top:m!=null?`${m}px`:"",[s]:`${-this.popover.arrowElement.offsetHeight/2-N}px`})}updatePopoverStyle(o,t){Object.assign(this.popover.style,{left:`${o}px`,top:`${t}px`})}};var _t=class extends vl(pl(hl(q))){constructor(){super();this.id="";this.triggerID="";this.trigger=gt.TRIGGER;this.placement=gt.PLACEMENT;this.color=gt.COLOR;this.visible=gt.VISIBLE;this.offset=gt.OFFSET;this.boundary=gt.BOUNDARY;this.boundaryRoot=gt.BOUNDARY_ROOT;this.focusTrap=gt.FOCUS_TRAP;this.preventScroll=gt.PREVENT_SCROLL;this.showArrow=gt.ARROW;this.closeButton=gt.CLOSE_BUTTON;this.interactive=gt.INTERACTIVE;this.delay=gt.DELAY;this.hideOnEscape=gt.HIDE_ON_ESCAPE;this.propagateEventOnEscape=gt.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=gt.HIDE_ON_BLUR;this.hideOnOutsideClick=gt.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=gt.FOCUS_BACK;this.backdrop=gt.BACKDROP;this.isBackdropInvisible=gt.IS_BACKDROP_INVISIBLE;this.disableFlip=gt.DISABLE_FLIP;this.size=gt.SIZE;this.closeButtonAriaLabel=null;this.strategy=gt.STRATEGY;this.role=gt.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=gt.DISABLE_ARIA_EXPANDED;this.keepConnectedTooltipOpen=gt.KEEP_CONNECTED_TOOLTIP_OPEN;this.animationFrame=gt.ANIMATION_FRAME;this.arrowElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSuppressOpening=!1;this.popoverDepth=0;this.parseTrigger=()=>{var d;let s=(((d=this.trigger)==null?void 0:d.split(" "))||[]).filter(m=>Object.values(Ue).includes(m)).length>0?this.trigger:gt.TRIGGER;s==="mouseenter"&&(this.interactive?s="mouseenter click":s="mouseenter focusin"),this.trigger=s};this.setupTriggerListeners=()=>{if(this.trigger.includes("click")&&document.addEventListener("click",this.togglePopoverVisible,{capture:!0}),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector('div[part="popover-hover-bridge"]');t==null||t.addEventListener("mouseenter",this.show),document.addEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.addEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(document.addEventListener("focusin",this.handleFocusIn,{capture:!0}),this.interactive||document.addEventListener("focusout",this.handleFocusOut,{capture:!0}))};this.removeTriggerListeners=()=>{document.removeEventListener("click",this.togglePopoverVisible,{capture:!0});let t=this.renderRoot.querySelector('div[part="popover-hover-bridge"]');t==null||t.removeEventListener("mouseenter",this.show),document.removeEventListener("mouseenter",this.handleMouseEnter,{capture:!0}),document.removeEventListener("mouseleave",this.handleMouseLeave,{capture:!0}),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),document.removeEventListener("focusin",this.handleFocusIn,{capture:!0}),document.removeEventListener("focusout",this.handleFocusOut,{capture:!0})};this.removeAllListeners=()=>{this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown,{capture:!0})),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Ne.peek()!==this)return;let r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&(this.hide(),fi.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),fi.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!0,this.show())};this.handleMouseLeave=t=>{this.isEventFromTrigger(t)&&(this.isHovered=!1,this.startCloseDelay())};this.handleFocusOut=t=>{this.isEventFromTrigger(t)&&(this.isHovered||this.hide())};this.handleFocusIn=t=>{var r,s,d,m;this.isEventFromTrigger(t)&&((r=this.triggerElement)!=null&&r.matches(":focus-visible")||(m=(d=(s=this.triggerElement)==null?void 0:s.shadowRoot)==null?void 0:d.querySelector(".mdc-focus-ring"))!=null&&m.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSuppressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=t=>{this.isEventFromTrigger(t)&&(this.visible?this.hide():this.show())};this.positionPopover=()=>{let{triggerElement:t}=this;if(!t)return;let r=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),s=this.boundaryRoot,d=[qf({boundary:r,rootBoundary:s,padding:this.boundaryPadding})],m=this.offset;if(this.disableFlip||d.push(Xf({boundary:r,rootBoundary:s})),this.size){let b=N=>{this.style.setProperty("--mdc-popover-internal-available-height",`${N}px`)},x=this.renderRoot.querySelector('[part="popover-content"]');d.push(Zf({boundary:r,rootBoundary:s,apply({availableHeight:N}){x&&(Object.assign(x.style,{maxHeight:`${N}px`,overflowY:"auto"}),b(N))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector('div[part="popover-arrow"]'),this.arrowElement)){let b=this.arrowElement.offsetHeight,x=Math.sqrt(2*b**2)/2;m+=x,d.push(Qf({element:this.arrowElement,padding:12}))}d.push(Kf(m)),this.floatingUICleanupFunction=jf(t,this,async()=>{let{triggerElement:b}=this;if(!b)return;let x=this.adjustPlacementForRtl(this.placement),{x:N,y:B,middlewareData:K,placement:Q}=await Jf(b,this,{placement:x,middleware:d,strategy:this.strategy});this.utils.updatePopoverStyle(N,B),K.arrow&&this.arrowElement&&this.utils.updateArrowStyle(K.arrow,Q),this.trigger.includes("mouseenter")&&this.utils.setupHoverBridge(Q)},{animationFrame:this.animationFrame})};this.utils=new Gl(this),this.parseTrigger(),[this.openDelay,this.closeDelay]=this.utils.setupDelay()}get zIndex(){return this.internalZIndex===void 0||!Number.isInteger(this.internalZIndex)?gt.Z_INDEX+this.popoverDepth*3:this.internalZIndex}set zIndex(t){this.internalZIndex=t}get connectedTooltip(){let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);return Array.from(t).find(r=>r!==this)}get triggerElement(){return this.getRootNode().querySelector(`[id="${this.triggerID}"]`)}async firstUpdated(t){super.firstUpdated(t),fi.onCreatedPopover(this)}connectedCallback(){super.connectedCallback(),this.utils.setupAppendTo(),this.setupTriggerListeners()}async disconnectedCallback(){var t,r;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(r=this.floatingUICleanupFunction)==null||r.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),this.utils.cleanupAppendTo(),fi.onDestroyedPopover(this),Ne.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let r=t.get("visible")||!1;await this.isOpenUpdated(r,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.parseTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Lt).includes(this.placement)?this.placement:gt.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(Oo).includes(this.color)?this.color:gt.COLOR),t.has("appendTo")&&(this.appendTo?this.utils.setupAppendTo():this.utils.cleanupAppendTo()),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),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,r){var d,m;let{triggerElement:s}=this;t===r||!s||(r&&!this.shouldSuppressOpening?(Ne.peek()!==this&&(this.popoverDepth=Ne.push(this),this.requestUpdate("zIndex")),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSuppressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(s)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),document.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick,{capture:!0}),setTimeout(()=>{var b,x;this.interactive&&this.focusTrap&&((b=this.activateFocusTrap)==null||b.call(this),(x=this.setInitialFocus)==null||x.call(this))},0),fi.onShowPopover(this)):(Ne.peek()===this&&Ne.pop(),(d=this.floatingUICleanupFunction)==null||d.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(s),this.removeBackdrop()),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(s.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick,{capture:!0}),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),document.removeEventListener("keydown",this.onEscapeKeydown)),this.deactivatePreventScroll(),(m=this.deactivateFocusTrap)==null||m.call(this),this.focusBackToTrigger&&(s==null||s.focus()),this.keepConnectedTooltipOpen||this.connectedTooltip&&(this.connectedTooltip.shouldSuppressOpening=!1),fi.onHidePopover(this)))}isEventFromTrigger(t){var r;return this.triggerID?t.composed?t.composedPath().some(s=>(s==null?void 0:s.id)===this.triggerID):((r=t.target)==null?void 0:r.id)===this.triggerID:!1}isRtl(){return window.getComputedStyle(this).direction==="rtl"}adjustPlacementForRtl(t){if(!this.isRtl())return t;switch(t){case Lt.LEFT:return Lt.RIGHT;case Lt.LEFT_START:return Lt.RIGHT_START;case Lt.LEFT_END:return Lt.RIGHT_END;case Lt.RIGHT:return Lt.LEFT;case Lt.RIGHT_START:return Lt.LEFT_START;case Lt.RIGHT_END:return Lt.LEFT_END;default:return t}}render(){return this.style.zIndex=`${this.zIndex}`,_`
2678
2678
  <div part="popover-hover-bridge"></div>
2679
2679
  ${this.closeButton?_` <mdc-button
2680
2680
  part="popover-close"
@@ -2726,7 +2726,7 @@
2726
2726
  delay="300"
2727
2727
  >
2728
2728
  </mdc-screenreaderannouncer>
2729
- `}};Hi.styles=[...He.styles,...iv],p([Vm()],Hi.prototype,"defaultSlotNodes",2),p([ut()],Hi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Hi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Hi.prototype,"placement",2);var Xc=Hi;function Wl(n,o=500){let t,r=(...s)=>{t!==void 0&&window.clearTimeout(t),t=window.setTimeout(()=>{t=void 0,n(...s)},o)};return r.cancel=()=>{t!==void 0&&(window.clearTimeout(t),t=void 0)},r}var ov=z.constructTagName("screenreaderannouncer"),UT={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},Mo={ARIA_LIVE:UT.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4,DEBOUNCE:500};var HT=[U`
2729
+ `}};Hi.styles=[...He.styles,...iv],p([Vm()],Hi.prototype,"defaultSlotNodes",2),p([ut()],Hi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],Hi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],Hi.prototype,"placement",2);var Xc=Hi;function Yl(n,o=500){let t,r=(...s)=>{t!==void 0&&window.clearTimeout(t),t=window.setTimeout(()=>{t=void 0,n(...s)},o)};return r.cancel=()=>{t!==void 0&&(window.clearTimeout(t),t=void 0)},r}var ov=z.constructTagName("screenreaderannouncer"),UT={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},Mo={ARIA_LIVE:UT.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4,DEBOUNCE:500};var HT=[U`
2730
2730
  :host {
2731
2731
  display: none;
2732
2732
  visibility: hidden;
@@ -2741,7 +2741,7 @@
2741
2741
  white-space: nowrap;
2742
2742
  width: 1px;
2743
2743
  }
2744
- `,t.appendChild(r),t.classList.add("mdc-screenreaderannouncer__visually-hidden");let s=this.findModalAncestor();s!=null&&s.shadowRoot?s.shadowRoot.appendChild(t):document.body.appendChild(t)}}findModalAncestor(){let t=this;for(;t;){let r=t.closest('[aria-modal="true"]');if(r)return r;let s=t.getRootNode();if(s instanceof ShadowRoot&&s.host)t=s.host;else break}return null}setupDebouncedAnnounce(){this.debouncedAnnounce=Wl(()=>{this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")},this.debounceTime)}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=Mo.IDENTITY),this.createAnnouncementAriaLiveRegion(),this.setupDebouncedAnnounce()}disconnectedCallback(){var t;super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements(),(t=this.debouncedAnnounce)==null||t.cancel()}updated(t){var r;t.has("identity")&&this.identity.length===0&&(this.identity=Mo.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("debounceTime")&&this.setupDebouncedAnnounce(),t.has("announcement")&&this.announcement.length>0&&((r=this.debouncedAnnounce)==null||r.call(this))}};Yr.styles=[...q.styles,...sv],p([u({type:String,reflect:!0})],Yr.prototype,"announcement",2),p([u({type:String,reflect:!0})],Yr.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],Yr.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],Yr.prototype,"delay",2),p([u({type:Number,reflect:!0})],Yr.prototype,"timeout",2),p([u({type:Number,reflect:!0,attribute:"debounce-time"})],Yr.prototype,"debounceTime",2);var Zc=Yr;Zc.register(ov);var GT=Zc;Xc.register(rv);var YT=Xc;var _e=n=>{class o extends n{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}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 o.formAssociated=!0,p([u({reflect:!0,type:String})],o.prototype,"name",2),p([u({reflect:!0,type:String})],o.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),p([ye("input")],o.prototype,"inputElement",2),o};var WT=U`
2744
+ `,t.appendChild(r),t.classList.add("mdc-screenreaderannouncer__visually-hidden");let s=this.findModalAncestor();s!=null&&s.shadowRoot?s.shadowRoot.appendChild(t):document.body.appendChild(t)}}findModalAncestor(){let t=this;for(;t;){let r=t.closest('[aria-modal="true"]');if(r)return r;let s=t.getRootNode();if(s instanceof ShadowRoot&&s.host)t=s.host;else break}return null}setupDebouncedAnnounce(){this.debouncedAnnounce=Yl(()=>{this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")},this.debounceTime)}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=Mo.IDENTITY),this.createAnnouncementAriaLiveRegion(),this.setupDebouncedAnnounce()}disconnectedCallback(){var t;super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements(),(t=this.debouncedAnnounce)==null||t.cancel()}updated(t){var r;t.has("identity")&&this.identity.length===0&&(this.identity=Mo.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("debounceTime")&&this.setupDebouncedAnnounce(),t.has("announcement")&&this.announcement.length>0&&((r=this.debouncedAnnounce)==null||r.call(this))}};Yr.styles=[...q.styles,...sv],p([u({type:String,reflect:!0})],Yr.prototype,"announcement",2),p([u({type:String,reflect:!0})],Yr.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],Yr.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],Yr.prototype,"delay",2),p([u({type:Number,reflect:!0})],Yr.prototype,"timeout",2),p([u({type:Number,reflect:!0,attribute:"debounce-time"})],Yr.prototype,"debounceTime",2);var Zc=Yr;Zc.register(ov);var GT=Zc;Xc.register(rv);var YT=Xc;var _e=n=>{class o extends n{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}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 o.formAssociated=!0,p([u({reflect:!0,type:String})],o.prototype,"name",2),p([u({reflect:!0,type:String})],o.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),p([ye("input")],o.prototype,"inputElement",2),o};var WT=U`
2745
2745
  :host {
2746
2746
  --mdc-label-font-size: var(--mds-font-apps-body-midsize-medium-font-size);
2747
2747
  --mdc-label-font-weight: var(--mds-font-apps-body-midsize-medium-font-weight);
@@ -2961,7 +2961,7 @@
2961
2961
  />
2962
2962
  </mdc-staticcheckbox>
2963
2963
  ${this.renderLabelAndHelperText()}
2964
- `}};Gi.styles=[...ne.styles,...lv],p([u({type:Boolean,reflect:!0})],Gi.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Gi.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Gi.prototype,"autofocus",2),p([u({type:String,reflect:!0,attribute:"help-text-type"})],Gi.prototype,"helpTextType",2);var Qc=Gi;Qc.register(vf);var KT=Qc;var dv=z.constructTagName("staticchip"),Jc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},jl={COLOR:Jc.DEFAULT,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var qT=U`
2964
+ `}};Gi.styles=[...ne.styles,...lv],p([u({type:Boolean,reflect:!0})],Gi.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Gi.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],Gi.prototype,"autofocus",2),p([u({type:String,reflect:!0,attribute:"help-text-type"})],Gi.prototype,"helpTextType",2);var Qc=Gi;Qc.register(vf);var KT=Qc;var dv=z.constructTagName("staticchip"),Jc={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Wl={COLOR:Jc.DEFAULT,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN};var qT=U`
2965
2965
  :host {
2966
2966
  height: 1.5rem;
2967
2967
  gap: 0.25rem;
@@ -3033,9 +3033,9 @@
3033
3033
  --mdc-chip-border-color: var(--mds-color-theme-outline-label-violet);
3034
3034
  --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-normal);
3035
3035
  }
3036
- `,cv=[yt,qT];var ks=class extends Xt(q){constructor(){super(...arguments);this.color=jl.COLOR;this.label=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
3036
+ `,cv=[yt,qT];var ks=class extends Xt(q){constructor(){super(...arguments);this.color=Wl.COLOR;this.label=""}renderIcon(){return this.iconName?_` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return _`
3037
3037
  ${this.renderIcon()}
3038
- ${this.label?_`<mdc-text part="label" type="${jl.TEXT_TYPE}" tagname="${jl.TAG_NAME}"
3038
+ ${this.label?_`<mdc-text part="label" type="${Wl.TEXT_TYPE}" tagname="${Wl.TAG_NAME}"
3039
3039
  >${this.label}</mdc-text
3040
3040
  >`:j}
3041
3041
  `}};ks.styles=[...q.styles,...cv],p([u({type:String,reflect:!0})],ks.prototype,"color",2),p([u({type:String})],ks.prototype,"label",2);var Va=ks;var hv=z.constructTagName("chip"),ws={COLOR:Jc.DEFAULT,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:go[24],ROLE:rt.BUTTON};var XT=U`
@@ -3137,7 +3137,7 @@
3137
3137
  ${this.label?_`<mdc-text part="label" type="${ws.TEXT_TYPE}" tagname="${ws.TAG_NAME}"
3138
3138
  >${this.label}</mdc-text
3139
3139
  >`:j}
3140
- `}};Ns.styles=[...Va.styles,...pv],p([u({type:String,reflect:!0})],Ns.prototype,"color",2),p([u({type:String})],Ns.prototype,"label",2);var Ls=Ns;Ls.register(hv);var ZT=Ls;var mv=z.constructTagName("coachmark"),Po={COLOR:Oo.CONTRAST,TRIGGER:Ue.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Do=class extends He{constructor(){super(...arguments);this.trigger=Po.TRIGGER;this.showArrow=Po.ARROW;this.closeButton=Po.CLOSE_BUTTON;this.disableAriaExpanded=Po.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Po.COLOR,this.showArrow=Po.ARROW}};p([u({type:String,reflect:!0})],Do.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],Do.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],Do.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Do.prototype,"disableAriaExpanded",2);var th=Do;th.register(mv);var QT=th;var Kl=z.constructTagName("controltypeprovider"),ql={CONTROL_TYPE:"uncontrolled"},Xl=["controlled","uncontrolled"];var JT=Kl,eh=JT;var Zl=class extends Ee{constructor(){super({context:eh});this.innerControlType=ql.CONTROL_TYPE}static get Context(){return eh}set controlType(t){Xl.includes(t)&&(this.innerControlType=t)}get controlType(){return this.innerControlType}updateContext(){this.context.value!==this.controlType&&(this.context.value=this.controlType,this.context.updateObservers())}};p([u({type:String,attribute:"control-type",reflect:!0})],Zl.prototype,"controlType",1);var rh=Zl;rh.register(Kl);var ih=rh;gs.register(Iu);var tx=gs;var Ba=z.constructTagName("divider"),Fo={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Ua={SOLID:"solid",GRADIENT:"gradient"},pr={POSITIVE:"positive",NEGATIVE:"negative"},Ha={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},$o={ORIENTATION:Fo.HORIZONTAL,VARIANT:Ua.SOLID,ARROW_DIRECTION:pr.NEGATIVE,BUTTON_DIRECTION:pr.NEGATIVE};var ex=[yt,U`
3140
+ `}};Ns.styles=[...Va.styles,...pv],p([u({type:String,reflect:!0})],Ns.prototype,"color",2),p([u({type:String})],Ns.prototype,"label",2);var Ls=Ns;Ls.register(hv);var ZT=Ls;var mv=z.constructTagName("coachmark"),Po={COLOR:Oo.CONTRAST,TRIGGER:Ue.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Do=class extends He{constructor(){super(...arguments);this.trigger=Po.TRIGGER;this.showArrow=Po.ARROW;this.closeButton=Po.CLOSE_BUTTON;this.disableAriaExpanded=Po.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=Po.COLOR,this.showArrow=Po.ARROW}};p([u({type:String,reflect:!0})],Do.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],Do.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],Do.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Do.prototype,"disableAriaExpanded",2);var th=Do;th.register(mv);var QT=th;var jl=z.constructTagName("controltypeprovider"),Kl={CONTROL_TYPE:"uncontrolled"},ql=["controlled","uncontrolled"];var JT=jl,eh=JT;var Xl=class extends Ee{constructor(){super({context:eh});this.innerControlType=Kl.CONTROL_TYPE}static get Context(){return eh}set controlType(t){ql.includes(t)&&(this.innerControlType=t)}get controlType(){return this.innerControlType}updateContext(){this.context.value!==this.controlType&&(this.context.value=this.controlType,this.context.updateObservers())}};p([u({type:String,attribute:"control-type",reflect:!0})],Xl.prototype,"controlType",1);var rh=Xl;rh.register(jl);var ih=rh;gs.register(Iu);var tx=gs;var Ba=z.constructTagName("divider"),Fo={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Ua={SOLID:"solid",GRADIENT:"gradient"},pr={POSITIVE:"positive",NEGATIVE:"negative"},Ha={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},$o={ORIENTATION:Fo.HORIZONTAL,VARIANT:Ua.SOLID,ARROW_DIRECTION:pr.NEGATIVE,BUTTON_DIRECTION:pr.NEGATIVE};var ex=[yt,U`
3141
3141
  :host {
3142
3142
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
3143
3143
  --mdc-divider-width: 0.0625rem;
@@ -3376,7 +3376,7 @@
3376
3376
  flex-direction: column;
3377
3377
  gap: 0.25rem;
3378
3378
  }
3379
- `,gv=[sx];var Ql=class extends Ut(ne){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return _`
3379
+ `,gv=[sx];var Zl=class extends Ut(ne){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return _`
3380
3380
  <div
3381
3381
  part="container"
3382
3382
  role="${this.isRadio?rt.RADIOGROUP:rt.GROUP}"
@@ -3387,7 +3387,7 @@
3387
3387
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
3388
3388
  <slot></slot>
3389
3389
  </div>
3390
- `}};Ql.styles=[...ne.styles,...gv];var nh=Ql;var bv=z.constructTagName("formfieldgroup");nh.register(bv);var Jl=nh;Ta.register(Jn);var ax=Ta;wa.register(Tl);var nx=wa;var zo=li(class extends Vr{constructor(n){if(super(n),n.type!==Je.PROPERTY&&n.type!==Je.ATTRIBUTE&&n.type!==Je.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!sl(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===be||o===j)return o;let t=n.element,r=n.name;if(n.type===Je.PROPERTY){if(o===t[r])return be}else if(n.type===Je.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(r))return be}else if(n.type===Je.ATTRIBUTE&&t.getAttribute(r)===o+"")return be;return al(n),o}});ne.register(ff);var mr=ne;var yv=z.constructTagName("input"),td={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Os={OFF:"off",ON:"on"},Wi={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Ev={MAX_LENGTH:10,VALIDATION:$t.ERROR},vi={VALIDATION:$t.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ft.TERTIARY,CLEAR_BUTTON_SIZE:lr[20],PREFIX_TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:Os.OFF,INPUT_TYPE:Wi.TEXT};var lx=[U`
3390
+ `}};Zl.styles=[...ne.styles,...gv];var nh=Zl;var bv=z.constructTagName("formfieldgroup");nh.register(bv);var Ql=nh;Ta.register(Jn);var ax=Ta;wa.register(El);var nx=wa;var zo=li(class extends Vr{constructor(n){if(super(n),n.type!==Je.PROPERTY&&n.type!==Je.ATTRIBUTE&&n.type!==Je.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!sl(n))throw Error("`live` bindings can only contain a single expression")}render(n){return n}update(n,[o]){if(o===be||o===j)return o;let t=n.element,r=n.name;if(n.type===Je.PROPERTY){if(o===t[r])return be}else if(n.type===Je.BOOLEAN_ATTRIBUTE){if(!!o===t.hasAttribute(r))return be}else if(n.type===Je.ATTRIBUTE&&t.getAttribute(r)===o+"")return be;return al(n),o}});ne.register(ff);var mr=ne;var yv=z.constructTagName("input"),Jl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Os={OFF:"off",ON:"on"},Wi={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Ev={MAX_LENGTH:10,VALIDATION:$t.ERROR},vi={VALIDATION:$t.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ft.TERTIARY,CLEAR_BUTTON_SIZE:lr[20],PREFIX_TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:mt.SPAN,AUTO_COMPLETE:Os.OFF,INPUT_TYPE:Wi.TEXT};var lx=[U`
3391
3391
  :host {
3392
3392
  --mdc-input-text-color: var(--mds-color-theme-text-primary-normal);
3393
3393
  --mdc-input-border-color: var(--mds-color-theme-outline-input-normal);
@@ -3507,7 +3507,7 @@
3507
3507
  opacity: 0;
3508
3508
  pointer-events: none;
3509
3509
  }
3510
- `,...St(!0)],Tv=lx;var le=class extends Te(_e(Ut(mr))){constructor(){super(...arguments);this.placeholder="";this.trailingButton=!1;this.autocapitalize=td.OFF;this.autocomplete=Os.OFF;this.clearAriaLabel="";this.dataAriaDescribedby=null}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,r,s){super.attributeChangedCallback(t,r,s),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(d=>{this.onerror&&this.onerror(d)})}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 r=t.constructor;this.dispatchEvent(new r(t.type,t))}handleKeyDown(t){var r;t.key===Z.ENTER&&((r=this.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?_`
3510
+ `,...St(!0)],Tv=lx;var le=class extends Te(_e(Ut(mr))){constructor(){super(...arguments);this.placeholder="";this.trailingButton=!1;this.autocapitalize=Jl.OFF;this.autocomplete=Os.OFF;this.clearAriaLabel="";this.dataAriaDescribedby=null}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,r,s){super.attributeChangedCallback(t,r,s),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(d=>{this.onerror&&this.onerror(d)})}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 r=t.constructor;this.dispatchEvent(new r(t.type,t))}handleKeyDown(t){var r;t.key===Z.ENTER&&((r=this.form)==null||r.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?_`
3511
3511
  <mdc-icon
3512
3512
  part="leading-icon"
3513
3513
  name=${this.leadingIcon}
@@ -3606,13 +3606,13 @@
3606
3606
  width: 1.25rem;
3607
3607
  height: 1.25rem;
3608
3608
  }
3609
- `,xv=[yt,cx];var ed=z.constructTagName("inputchip"),rd={TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Vo=class extends Xt(Bt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderPrefix(){return _`
3609
+ `,xv=[yt,cx];var td=z.constructTagName("inputchip"),ed={TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,CLOSE_ICON:"cancel-bold"};var Vo=class extends Xt(Bt(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderPrefix(){return _`
3610
3610
  <slot name="prefix">
3611
3611
  ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon>`:j}
3612
3612
  </slot>
3613
3613
  `}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return _`
3614
3614
  ${this.renderPrefix()}
3615
- ${this.label?_`<mdc-text part="label" type="${rd.TEXT_TYPE}" tagname="${rd.TAG_NAME}"
3615
+ ${this.label?_`<mdc-text part="label" type="${ed.TEXT_TYPE}" tagname="${ed.TAG_NAME}"
3616
3616
  >${this.label}</mdc-text
3617
3617
  >`:j}
3618
3618
  <mdc-button
@@ -3620,11 +3620,11 @@
3620
3620
  variant="tertiary"
3621
3621
  part="close-icon"
3622
3622
  aria-label="${this.clearAriaLabel}"
3623
- prefix-icon="${rd.CLOSE_ICON}"
3623
+ prefix-icon="${ed.CLOSE_ICON}"
3624
3624
  size="20"
3625
3625
  @click="${this.handleClose}"
3626
3626
  ></mdc-button>
3627
- `}};Vo.styles=[...q.styles,...xv],p([u({type:String})],Vo.prototype,"label",2),p([u({type:Boolean})],Vo.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],Vo.prototype,"clearAriaLabel",2);var lh=Vo;lh.register(ed);var hx=lh;var px=U`
3627
+ `}};Vo.styles=[...q.styles,...xv],p([u({type:String})],Vo.prototype,"label",2),p([u({type:Boolean})],Vo.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],Vo.prototype,"clearAriaLabel",2);var lh=Vo;lh.register(td);var hx=lh;var px=U`
3628
3628
  :host::part(anchor) {
3629
3629
  display: flex;
3630
3630
  align-items: center;
@@ -3684,8 +3684,8 @@
3684
3684
  text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
3685
3685
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
3686
3686
  }
3687
- `,Av=[px];var Ya=class extends Xt(Ur){constructor(){super(...arguments);this.size=Tu.LINK_SIZE}getIconSize(){switch(this.size){case fl.SMALL:return vl.SMALL;case fl.MIDSIZE:return vl.MIDSIZE;default:return vl.LARGE}}renderAnchorContent(){return _` <slot></slot>
3688
- ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ya.styles=[...Ur.styles,...Av],p([u({type:String,reflect:!0})],Ya.prototype,"size",2);var dh=Ya;dh.register(ul);var mx=dh;var Sv=z.constructTagName("linkbutton"),Rs={12:12,14:14,16:16},Ms={SIZE:Rs[16],ROLE:rt.BUTTON,INLINE:Ts.INLINE,INVERTED:Ts.INVERTED};var Iv=n=>{switch(n){case Rs[12]:return .75;case Rs[14]:return .875;default:return 1}};var ux=U`
3687
+ `,Av=[px];var Ya=class extends Xt(Ur){constructor(){super(...arguments);this.size=Tu.LINK_SIZE}getIconSize(){switch(this.size){case ul.SMALL:return fl.SMALL;case ul.MIDSIZE:return fl.MIDSIZE;default:return fl.LARGE}}renderAnchorContent(){return _` <slot></slot>
3688
+ ${this.iconName?_`<mdc-icon part="icon" name="${this.iconName}" size="${this.getIconSize()}" length-unit="rem"></mdc-icon>`:j}`}};Ya.styles=[...Ur.styles,...Av],p([u({type:String,reflect:!0})],Ya.prototype,"size",2);var dh=Ya;dh.register(ml);var mx=dh;var Sv=z.constructTagName("linkbutton"),Rs={12:12,14:14,16:16},Ms={SIZE:Rs[16],ROLE:rt.BUTTON,INLINE:Ts.INLINE,INVERTED:Ts.INVERTED};var Iv=n=>{switch(n){case Rs[12]:return .75;case Rs[14]:return .875;default:return 1}};var ux=U`
3689
3689
  :host {
3690
3690
  gap: 0.25rem;
3691
3691
  cursor: pointer;
@@ -3787,7 +3787,7 @@
3787
3787
  `,_v=[ux,...St()];var Bo=class extends Xt(se){constructor(){super(...arguments);this.size=Ms.SIZE;this.inline=Ms.INLINE;this.inverted=Ms.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=Ms.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Rs).includes(t)?`${t}`:Ms.SIZE.toString())}render(){return _`
3788
3788
  <slot></slot>
3789
3789
  ${this.iconName?_` <mdc-icon name=${this.iconName} size=${Iv(this.size)} length-unit="rem"></mdc-icon> `:j}
3790
- `}};Bo.styles=[...Ur.styles,..._v],p([u({type:Number,reflect:!0})],Bo.prototype,"size",2),p([u({type:Boolean,reflect:!0})],Bo.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],Bo.prototype,"inverted",2);var ch=Bo;ch.register(Sv);var fx=ch;Ur.register(sf);var vx=Ur;var Ps=n=>{class o extends n{constructor(...s){super(...s);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationClick=s=>{let d=s.target,m=this.getCurrentIndex(d);if(m!==-1){let b=!(this.navItems.at(m)!==d&&document.activeElement===s.target);this.resetTabIndexAndSetFocus(m,void 0,b,!1)}};this.addEventListener("keydown",this.handleNavigationKeyDown.bind(this)),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(s){super.firstUpdated(s),this.setInitialFocus()}setInitialFocus(){let s=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(s,void 0,!1)}handleNavigationKeyDown(s){let d=new Set([Z.ARROW_DOWN,Z.ARROW_UP,Z.HOME,Z.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(s.key,m);if(!d.has(b))return;let x=s.target,N=this.getCurrentIndex(x);if(N!==-1){switch(this.resetTabIndexes(N),b){case Z.HOME:{this.resetTabIndexAndSetFocus(0,N);break}case Z.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,N);break}case Z.ARROW_DOWN:{let B=this.shouldLoop()?0:N,K=N+1===this.navItems.length?B:N+1;this.resetTabIndexAndSetFocus(K,N);break}case Z.ARROW_UP:{let B=this.shouldLoop()?this.navItems.length-1:N,K=N-1===-1?B:N-1;this.resetTabIndexAndSetFocus(K,N);break}default:break}this.propagateAllKeyEvents||(s.stopPropagation(),s.preventDefault())}}getCurrentIndex(s){return s?this.navItems.findIndex(d=>d===s||!!(d.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)):-1}resetTabIndexes(s,d=!0){var m;if(this.navItems.length>0){this.navItems.forEach(N=>N.setAttribute("tabindex","-1"));let b=this.navItems.at(s)?s:0,x=(m=this.navItems.at(b))!=null?m:this.navItems.find(Boolean);x&&(x.setAttribute("tabindex","0"),d&&x.focus())}}resetTabIndexAndSetFocus(s,d,m=!0,b=!0){var B;let{navItems:x}=this;if(x.length===0)return;let N=(B=x.at(s))!=null?B:x.find(Boolean);s===d&&N&&N.getAttribute("tabindex")==="0"||(d===void 0?x.forEach(K=>K.setAttribute("tabindex","-1")):x.at(d)&&x.at(d).setAttribute("tabindex","-1"),N.setAttribute("tabindex","0"),m&&(N.focus({preventScroll:!0}),b&&N.scrollIntoView({block:"nearest"})))}resolveDirectionKey(s,d){if(!d)return s;switch(s){case Z.ARROW_LEFT:return Z.ARROW_RIGHT;case Z.ARROW_RIGHT:return Z.ARROW_LEFT;default:return s}}shouldLoop(){return this.loop!=="false"}}return o};var id=z.constructTagName("listitem"),Wa={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Cv={VARIANT:Wa.FULL_WIDTH};var Gt={CREATED:"created",FIRST_UPDATE_COMPLETED:"first-update-completed",DESTROYED:"destroyed",MODIFIED:"modified"};var kv=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING),wv=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var gx=n=>!!n,Wr=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.detail.originalTarget)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||gx,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate}get items(){return this.cache}hostConnected(){this.host.addEventListener(Gt.CREATED,this.itemCreationHandler),this.host.addEventListener(Gt.DESTROYED,this.itemDestroyHandler)}hostDisconnected(){this.host.removeEventListener(Gt.CREATED,this.itemCreationHandler),this.host.removeEventListener(Gt.DESTROYED,this.itemDestroyHandler),this.reset()}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}getIndexToInsertInCache(o){if(!this.cache.length||!kv(this.cache.at(-1),o))return-1;let t=0,r=this.cache.length-1;for(;t<=r;){let s=Math.floor((t+r)/2);wv(this.cache[s],o)?t=s+1:r=s-1}return t}addItem(o,t=void 0){var s;let r=o;if(this.isValidItem(r)&&!this.cache.includes(r)){let d=t===void 0?this.getIndexToInsertInCache(r):t;this.onStoreUpdate&&((s=this.onStoreUpdate)==null||s.call(this,r,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(r):d>=0&&this.cache.splice(d,0,r)}}delete(o){var r;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((r=this.onStoreUpdate)==null||r.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,o&&this.cache.push(...o)}};var ji=n=>{class o extends n{constructor(...s){super(...s);this.handleItemCreation=s=>{let d=s.target;d&&d.addEventListener(Gt.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=s=>{s.stopImmediatePropagation(),s.target&&s.type===Gt.DESTROYED&&(s.target.removeEventListener(Gt.DESTROYED,this.handleItemRemovedEvent),this.dispatchEvent(new CustomEvent(s.type,{bubbles:s.bubbles,composed:s.composed,detail:{originalTarget:s.target}})))};this.addEventListener(Gt.CREATED,this.handleItemCreation)}}return o};var bx=U`
3790
+ `}};Bo.styles=[...Ur.styles,..._v],p([u({type:Number,reflect:!0})],Bo.prototype,"size",2),p([u({type:Boolean,reflect:!0})],Bo.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],Bo.prototype,"inverted",2);var ch=Bo;ch.register(Sv);var fx=ch;Ur.register(sf);var vx=Ur;var Ps=n=>{class o extends n{constructor(...s){super(...s);this.loop="true";this.propagateAllKeyEvents=!1;this.initialFocus=0;this.handleNavigationClick=s=>{let d=s.target,m=this.getCurrentIndex(d);if(m!==-1){let b=!(this.navItems.at(m)!==d&&document.activeElement===s.target);this.resetTabIndexAndSetFocus(m,void 0,b,!1)}};this.addEventListener("keydown",this.handleNavigationKeyDown.bind(this)),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(s){super.firstUpdated(s),this.setInitialFocus()}setInitialFocus(){let s=Math.max(Math.min(this.initialFocus,this.navItems.length-1),0);this.resetTabIndexAndSetFocus(s,void 0,!1)}handleNavigationKeyDown(s){let d=new Set([Z.ARROW_DOWN,Z.ARROW_UP,Z.HOME,Z.END]),m=window.getComputedStyle(this).direction==="rtl",b=this.resolveDirectionKey(s.key,m);if(!d.has(b))return;let x=s.target,N=this.getCurrentIndex(x);if(N!==-1){switch(this.resetTabIndexes(N),b){case Z.HOME:{this.resetTabIndexAndSetFocus(0,N);break}case Z.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,N);break}case Z.ARROW_DOWN:{let B=this.shouldLoop()?0:N,K=N+1===this.navItems.length?B:N+1;this.resetTabIndexAndSetFocus(K,N);break}case Z.ARROW_UP:{let B=this.shouldLoop()?this.navItems.length-1:N,K=N-1===-1?B:N-1;this.resetTabIndexAndSetFocus(K,N);break}default:break}this.propagateAllKeyEvents||(s.stopPropagation(),s.preventDefault())}}getCurrentIndex(s){return s?this.navItems.findIndex(d=>d===s||!!(d.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)):-1}resetTabIndexes(s,d=!0){var m;if(this.navItems.length>0){this.navItems.forEach(N=>N.setAttribute("tabindex","-1"));let b=this.navItems.at(s)?s:0,x=(m=this.navItems.at(b))!=null?m:this.navItems.find(Boolean);x&&(x.setAttribute("tabindex","0"),d&&x.focus())}}resetTabIndexAndSetFocus(s,d,m=!0,b=!0){var B;let{navItems:x}=this;if(x.length===0)return;let N=(B=x.at(s))!=null?B:x.find(Boolean);s===d&&N&&N.getAttribute("tabindex")==="0"||(d===void 0?x.forEach(K=>K.setAttribute("tabindex","-1")):x.at(d)&&x.at(d).setAttribute("tabindex","-1"),N.setAttribute("tabindex","0"),m&&(N.focus({preventScroll:!0}),b&&N.scrollIntoView({block:"nearest"})))}resolveDirectionKey(s,d){if(!d)return s;switch(s){case Z.ARROW_LEFT:return Z.ARROW_RIGHT;case Z.ARROW_RIGHT:return Z.ARROW_LEFT;default:return s}}shouldLoop(){return this.loop!=="false"}}return o};var rd=z.constructTagName("listitem"),Wa={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Cv={VARIANT:Wa.FULL_WIDTH};var Gt={CREATED:"created",FIRST_UPDATE_COMPLETED:"first-update-completed",DESTROYED:"destroyed",MODIFIED:"modified"};var kv=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_PRECEDING),wv=(n,o)=>!!(n.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_FOLLOWING);var gx=n=>!!n,Wr=class{constructor(o,t){this.cache=[];this.itemCreationHandler=o=>{this.addItem(o.target,void 0)};this.itemDestroyHandler=o=>{this.delete(o.detail.originalTarget)};this.host=o,o.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||gx,this.onStoreUpdate=t==null?void 0:t.onStoreUpdate}get items(){return this.cache}hostConnected(){this.host.addEventListener(Gt.CREATED,this.itemCreationHandler),this.host.addEventListener(Gt.DESTROYED,this.itemDestroyHandler)}hostDisconnected(){this.host.removeEventListener(Gt.CREATED,this.itemCreationHandler),this.host.removeEventListener(Gt.DESTROYED,this.itemDestroyHandler),this.reset()}add(o){this.addItem(o,void 0)}addAt(o,t){this.addItem(o,t)}getIndexToInsertInCache(o){if(!this.cache.length||!kv(this.cache.at(-1),o))return-1;let t=0,r=this.cache.length-1;for(;t<=r;){let s=Math.floor((t+r)/2);wv(this.cache[s],o)?t=s+1:r=s-1}return t}addItem(o,t=void 0){var s;let r=o;if(this.isValidItem(r)&&!this.cache.includes(r)){let d=t===void 0?this.getIndexToInsertInCache(r):t;this.onStoreUpdate&&((s=this.onStoreUpdate)==null||s.call(this,r,"added",d===-1?this.cache.length:d,this.cache.slice())),d===-1?this.cache.push(r):d>=0&&this.cache.splice(d,0,r)}}delete(o){var r;let t=this.cache.indexOf(o);t!==-1&&(this.onStoreUpdate&&((r=this.onStoreUpdate)==null||r.call(this,o,"removed",t,this.cache.slice())),this.cache.splice(t,1))}reset(o){this.cache.length=0,o&&this.cache.push(...o)}};var ji=n=>{class o extends n{constructor(...s){super(...s);this.handleItemCreation=s=>{let d=s.target;d&&d.addEventListener(Gt.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=s=>{s.stopImmediatePropagation(),s.target&&s.type===Gt.DESTROYED&&(s.target.removeEventListener(Gt.DESTROYED,this.handleItemRemovedEvent),this.dispatchEvent(new CustomEvent(s.type,{bubbles:s.bubbles,composed:s.composed,detail:{originalTarget:s.target}})))};this.addEventListener(Gt.CREATED,this.handleItemCreation)}}return o};var bx=U`
3791
3791
  :host {
3792
3792
  display: flex;
3793
3793
  flex-direction: column;
@@ -3802,7 +3802,7 @@
3802
3802
  scroll-padding-top: 0.25rem;
3803
3803
  scroll-padding-bottom: 0.25rem;
3804
3804
  }
3805
- `,Nv=[bx];var Lv=z.constructTagName("list");var hh={LOOP:"true",INITIAL_FOCUS:0};var Ds=class extends Ps(ji(q)){constructor(){super();this.loop=hh.LOOP;this.initialFocus=hh.INITIAL_FOCUS;this.focusWithin=!1;this.handleModifiedEvent=t=>{let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;default:break}};this.addEventListener(Gt.MODIFIED,this.handleModifiedEvent),this.addEventListener("focusin",this.handleFocusEvent),this.addEventListener("focusout",this.handleFocusEvent),this.itemsStore=new Wr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onElementStoreUpdate.bind(this)})}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}get navItems(){return this.itemsStore.items}onElementStoreUpdate(t,r,s){if(r==="added")t.tabIndex=-1;else if(r==="removed"&&t.tabIndex===0){let d=s+1;d>=this.navItems.length&&(d=s-1),this.resetTabIndexes(d,this.focusWithin)}}handleFocusEvent(t){t.type==="focusout"&&t.relatedTarget===null||(this.focusWithin=t.type==="focusin")}isValidItem(t){return t.matches(`${id}:not([disabled])`)}render(){return _`
3805
+ `,Nv=[bx];var Lv=z.constructTagName("list");var hh={LOOP:"true",INITIAL_FOCUS:0};var Ds=class extends Ps(ji(q)){constructor(){super();this.loop=hh.LOOP;this.initialFocus=hh.INITIAL_FOCUS;this.focusWithin=!1;this.handleModifiedEvent=t=>{let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;default:break}};this.addEventListener(Gt.MODIFIED,this.handleModifiedEvent),this.addEventListener("focusin",this.handleFocusEvent),this.addEventListener("focusout",this.handleFocusEvent),this.itemsStore=new Wr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onElementStoreUpdate.bind(this)})}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}get navItems(){return this.itemsStore.items}onElementStoreUpdate(t,r,s){if(r==="added")t.tabIndex=-1;else if(r==="removed"&&t.tabIndex===0){let d=s+1;d>=this.navItems.length&&(d=s-1),this.resetTabIndexes(d,this.focusWithin)}}handleFocusEvent(t){t.type==="focusout"&&t.relatedTarget===null||(this.focusWithin=t.type==="focusin")}isValidItem(t){return t.matches(`${rd}:not([disabled])`)}render(){return _`
3806
3806
  <slot name="list-header"></slot>
3807
3807
  <!-- make the container slot role presentation to keep it ignored in a11y tree -->
3808
3808
  <slot part="container" role="presentation"></slot>
@@ -3997,7 +3997,7 @@
3997
3997
  ${this.renderTrailingControls()}
3998
3998
  </div>
3999
3999
  </slot>
4000
- `}};Le.styles=[...q.styles,...Pv],p([Pt({slot:"leading-controls"})],Le.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],Le.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Le.prototype,"variant",2),p([u({type:String,reflect:!0})],Le.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Le.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Le.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Le.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Le.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Le.prototype,"softDisabled",2),p([u({type:Number,reflect:!0,attribute:"data-index"})],Le.prototype,"dataIndex",2),p([u({type:Boolean,reflect:!0,attribute:"active"})],Le.prototype,"active",2);var gi=Le;gi.register(id);var xx=gi;var Ax=U`
4000
+ `}};Le.styles=[...q.styles,...Pv],p([Pt({slot:"leading-controls"})],Le.prototype,"leadingControlsSlot",2),p([Pt({slot:"trailing-controls"})],Le.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Le.prototype,"variant",2),p([u({type:String,reflect:!0})],Le.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Le.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Le.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Le.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Le.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Le.prototype,"softDisabled",2),p([u({type:Number,reflect:!0,attribute:"data-index"})],Le.prototype,"dataIndex",2),p([u({type:Boolean,reflect:!0,attribute:"active"})],Le.prototype,"active",2);var gi=Le;gi.register(rd);var xx=gi;var Ax=U`
4001
4001
  :host {
4002
4002
  --mdc-marker-width: 0.25rem;
4003
4003
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -4022,7 +4022,7 @@
4022
4022
  var(--mdc-marker-striped-background-color) 0.375rem
4023
4023
  );
4024
4024
  }
4025
- `,Dv=[Ax];var Fv=z.constructTagName("marker"),$v={SOLID:"solid",STRIPED:"striped"};var Ka=class extends q{constructor(){super(...arguments);this.variant=$v.SOLID}};Ka.styles=[...q.styles,...Dv],p([u({type:String,reflect:!0})],Ka.prototype,"variant",2);var uh=Ka;uh.register(Fv);var Sx=uh;var ee=z.constructTagName("menupopover"),fh={PLACEMENT:Lt.BOTTOM_START,ORIENTATION:"vertical"};var bi=z.constructTagName("menusection"),zv={DIVIDER_VARIANT:"solid"};var qi=z.constructTagName("sidenavigation"),Ye={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",FLEXIBLE_ON_HOVER:"flexible-on-hover",HIDDEN:"hidden"},od={VARIANT:Ye.FLEXIBLE};var qa=z.constructTagName("menubar"),Vv={ORIENTATION:"vertical"};var Ix=U`
4025
+ `,Dv=[Ax];var Fv=z.constructTagName("marker"),$v={SOLID:"solid",STRIPED:"striped"};var Ka=class extends q{constructor(){super(...arguments);this.variant=$v.SOLID}};Ka.styles=[...q.styles,...Dv],p([u({type:String,reflect:!0})],Ka.prototype,"variant",2);var uh=Ka;uh.register(Fv);var Sx=uh;var ee=z.constructTagName("menupopover"),fh={PLACEMENT:Lt.BOTTOM_START,ORIENTATION:"vertical"};var bi=z.constructTagName("menusection"),zv={DIVIDER_VARIANT:"solid"};var qi=z.constructTagName("sidenavigation"),Ye={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",FLEXIBLE_ON_HOVER:"flexible-on-hover",HIDDEN:"hidden"},id={VARIANT:Ye.FLEXIBLE};var qa=z.constructTagName("menubar"),Vv={ORIENTATION:"vertical"};var Ix=U`
4026
4026
  :host {
4027
4027
  display: flex;
4028
4028
  }
@@ -4187,14 +4187,14 @@
4187
4187
  :host([color='contrast'])::part(popover-content) {
4188
4188
  color: var(--mdc-tooltip-text-color-contrast);
4189
4189
  }
4190
- `,jv=[Ox];var tn=class extends He{constructor(){super(...arguments);this.tooltipType=We.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.role=rt.TOOLTIP,this.ariaHidden=We.ARIA_HIDDEN,this.backdrop=We.BACKDROP,this.delay=this.delay||We.DELAY,this.disableAriaExpanded=We.DISABLE_ARIA_EXPANDED,this.hideOnBlur=We.HIDE_ON_BLUR,this.hideOnEscape=We.HIDE_ON_ESCAPE,this.offset=this.offset||We.OFFSET,this.placement=this.placement||We.PLACEMENT,this.trigger=We.TRIGGER,this.closeButton=gt.CLOSE_BUTTON,this.disableFlip=gt.DISABLE_FLIP,this.focusBackToTrigger=gt.FOCUS_BACK,this.focusTrap=gt.FOCUS_TRAP,this.hideOnOutsideClick=gt.HIDE_ON_CLICK_OUTSIDE,this.interactive=gt.INTERACTIVE,this.preventScroll=gt.PREVENT_SCROLL,this.size=gt.SIZE}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(fr).includes(t)?t:We.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${Se()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case fr.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case fr.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Lt).includes(this.placement)||(this.placement=We.PLACEMENT)}onTooltipTypeUpdated(t){let r=t.get("tooltipType");if(Object.values(fr).includes(this.tooltipType)||this.setTooltipType(We.TOOLTIP_TYPE),this.triggerElement)switch(this.tooltipType){case fr.DESCRIPTION:r===fr.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case fr.LABEL:r===fr.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:r===fr.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):r===fr.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};tn.styles=[...He.styles,...jv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],tn.prototype,"tooltipType",2);var Th=tn;Th.register(Ja);var Rx=Th;var Qi=li(class extends Vr{constructor(n){var o;if(super(n),n.type!==Je.ATTRIBUTE||n.name!=="class"||((o=n.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(o=>n[o]).join(" ")+" "}update(n,[o]){var r,s;if(this.st===void 0){this.st=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(d=>d!=="")));for(let d in o)o[d]&&!((r=this.nt)!=null&&r.has(d))&&this.st.add(d);return this.render(o)}let t=n.element.classList;for(let d of this.st)d in o||(t.remove(d),this.st.delete(d));for(let d in o){let m=!!o[d];m===this.st.has(d)||(s=this.nt)!=null&&s.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return be}});var Kv=z.constructTagName("toggle"),en={DEFAULT:"default",COMPACT:"compact"};var xh={SIZE:en.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var sd=n=>{class o extends n{constructor(){super(...arguments);this.controlTypeProviderContext=xe.consume({host:this,context:ih.Context})}willUpdate(){this.controlType&&Xl.includes(this.controlType)||(this.controlTypeProviderContext.value?this.controlType=this.controlTypeProviderContext.value:this.controlType=ql.CONTROL_TYPE)}}return p([u({type:String,attribute:"control-type",reflect:!0})],o.prototype,"controlType",2),o};var ad=z.constructTagName("menuitemcheckbox"),rn={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},qv={INDICATOR:rn.CHECKBOX};var Mx=U`
4190
+ `,jv=[Ox];var tn=class extends He{constructor(){super(...arguments);this.tooltipType=We.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.role=rt.TOOLTIP,this.ariaHidden=We.ARIA_HIDDEN,this.backdrop=We.BACKDROP,this.delay=this.delay||We.DELAY,this.disableAriaExpanded=We.DISABLE_ARIA_EXPANDED,this.hideOnBlur=We.HIDE_ON_BLUR,this.hideOnEscape=We.HIDE_ON_ESCAPE,this.offset=this.offset||We.OFFSET,this.placement=this.placement||We.PLACEMENT,this.trigger=We.TRIGGER,this.closeButton=gt.CLOSE_BUTTON,this.disableFlip=gt.DISABLE_FLIP,this.focusBackToTrigger=gt.FOCUS_BACK,this.focusTrap=gt.FOCUS_TRAP,this.hideOnOutsideClick=gt.HIDE_ON_CLICK_OUTSIDE,this.interactive=gt.INTERACTIVE,this.preventScroll=gt.PREVENT_SCROLL,this.size=gt.SIZE}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(fr).includes(t)?t:We.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${Se()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case fr.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case fr.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Lt).includes(this.placement)||(this.placement=We.PLACEMENT)}onTooltipTypeUpdated(t){let r=t.get("tooltipType");if(Object.values(fr).includes(this.tooltipType)||this.setTooltipType(We.TOOLTIP_TYPE),this.triggerElement)switch(this.tooltipType){case fr.DESCRIPTION:r===fr.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case fr.LABEL:r===fr.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:r===fr.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):r===fr.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};tn.styles=[...He.styles,...jv],p([u({type:String,attribute:"tooltip-type",reflect:!0})],tn.prototype,"tooltipType",2);var Th=tn;Th.register(Ja);var Rx=Th;var Qi=li(class extends Vr{constructor(n){var o;if(super(n),n.type!==Je.ATTRIBUTE||n.name!=="class"||((o=n.strings)==null?void 0:o.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(o=>n[o]).join(" ")+" "}update(n,[o]){var r,s;if(this.st===void 0){this.st=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(d=>d!=="")));for(let d in o)o[d]&&!((r=this.nt)!=null&&r.has(d))&&this.st.add(d);return this.render(o)}let t=n.element.classList;for(let d of this.st)d in o||(t.remove(d),this.st.delete(d));for(let d in o){let m=!!o[d];m===this.st.has(d)||(s=this.nt)!=null&&s.has(d)||(m?(t.add(d),this.st.add(d)):(t.remove(d),this.st.delete(d)))}return be}});var Kv=z.constructTagName("toggle"),en={DEFAULT:"default",COMPACT:"compact"};var xh={SIZE:en.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var od=n=>{class o extends n{constructor(){super(...arguments);this.controlTypeProviderContext=xe.consume({host:this,context:ih.Context})}willUpdate(){this.controlType&&ql.includes(this.controlType)||(this.controlTypeProviderContext.value?this.controlType=this.controlTypeProviderContext.value:this.controlType=Kl.CONTROL_TYPE)}}return p([u({type:String,attribute:"control-type",reflect:!0})],o.prototype,"controlType",2),o};var sd=z.constructTagName("menuitemcheckbox"),rn={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},qv={INDICATOR:rn.CHECKBOX};var Mx=U`
4191
4191
  :host::part(checkmark-icon) {
4192
4192
  --mdc-icon-fill-color: currentColor;
4193
4193
  }
4194
4194
  :host .hidden-checkmark {
4195
4195
  visibility: hidden;
4196
4196
  }
4197
- `,Xv=[Mx];var $s=class extends sd(ur){constructor(){super();this.checked=!1;this.indicator=qv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||this.softDisabled||(this.controlType!=="controlled"&&(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===rn.CHECKBOX?_`
4197
+ `,Xv=[Mx];var $s=class extends od(ur){constructor(){super();this.checked=!1;this.indicator=qv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||this.softDisabled||(this.controlType!=="controlled"&&(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===rn.CHECKBOX?_`
4198
4198
  <mdc-staticcheckbox
4199
4199
  slot="leading-controls"
4200
4200
  ?checked="${this.checked}"
@@ -4236,21 +4236,21 @@
4236
4236
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
4237
4237
  </div>
4238
4238
  </slot>
4239
- `}};$s.styles=[...ur.styles,...Xv],p([u({type:Boolean,reflect:!0})],$s.prototype,"checked",2),p([u({type:String,reflect:!0})],$s.prototype,"indicator",2);var Ah=$s;Ah.register(ad);var Px=Ah;var nd=z.constructTagName("menuitemradio"),ld={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Zv={INDICATOR:ld.RADIO};var Dx=U`
4239
+ `}};$s.styles=[...ur.styles,...Xv],p([u({type:Boolean,reflect:!0})],$s.prototype,"checked",2),p([u({type:String,reflect:!0})],$s.prototype,"indicator",2);var Ah=$s;Ah.register(sd);var Px=Ah;var ad=z.constructTagName("menuitemradio"),nd={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Zv={INDICATOR:nd.RADIO};var Dx=U`
4240
4240
  :host::part(checkmark-icon) {
4241
4241
  --mdc-icon-fill-color: currentColor;
4242
4242
  }
4243
4243
  :host .hidden-checkmark {
4244
4244
  visibility: hidden;
4245
4245
  }
4246
- `,Qv=[Dx];var zs=class extends sd(ur){constructor(){super();this.checked=!1;this.indicator=Zv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${bi}, ${ee}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(r=>{r!==this&&r.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.softDisabled||this.checked||(this.controlType!=="controlled"&&(this.updateOtherRadiosCheckedState(),this.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===ld.RADIO?_`
4246
+ `,Qv=[Dx];var zs=class extends od(ur){constructor(){super();this.checked=!1;this.indicator=Zv.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${bi}, ${ee}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(r=>{r!==this&&r.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.softDisabled||this.checked||(this.controlType!=="controlled"&&(this.updateOtherRadiosCheckedState(),this.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===nd.RADIO?_`
4247
4247
  <mdc-staticradio
4248
4248
  slot="leading-controls"
4249
4249
  ?checked="${this.checked}"
4250
4250
  ?disabled="${this.disabled}"
4251
4251
  ?soft-disabled="${this.softDisabled}"
4252
4252
  ></mdc-staticradio>
4253
- `:j}renderCheckmarkIcon(){return this.indicator===ld.CHECKMARK?_`
4253
+ `:j}renderCheckmarkIcon(){return this.indicator===nd.CHECKMARK?_`
4254
4254
  <mdc-icon
4255
4255
  slot="trailing-controls"
4256
4256
  name="check-bold"
@@ -4277,7 +4277,7 @@
4277
4277
  ${this.renderCheckmarkIcon()}
4278
4278
  </div>
4279
4279
  </slot>
4280
- `}};zs.styles=[...ur.styles,...Qv],p([u({type:Boolean,reflect:!0})],zs.prototype,"checked",2),p([u({type:String,reflect:!0})],zs.prototype,"indicator",2);var Sh=zs;Sh.register(nd);var Fx=Sh;var Ji=z.constructTagName("navmenuitem"),Jv={DOT:dr.DOT,COUNTER:dr.COUNTER},tg={RIGHT_ARROW:"arrow-right-bold"},Ih={MAX_COUNTER:99,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:go[24],VARIANT:Ye.FLEXIBLE,CANNOT_ACTIVATE:!1};var $x=U`
4280
+ `}};zs.styles=[...ur.styles,...Qv],p([u({type:Boolean,reflect:!0})],zs.prototype,"checked",2),p([u({type:String,reflect:!0})],zs.prototype,"indicator",2);var Sh=zs;Sh.register(ad);var Fx=Sh;var Ji=z.constructTagName("navmenuitem"),Jv={DOT:dr.DOT,COUNTER:dr.COUNTER},tg={RIGHT_ARROW:"arrow-right-bold"},Ih={MAX_COUNTER:99,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:mt.SPAN,SIZE:go[24],VARIANT:Ye.FLEXIBLE,CANNOT_ACTIVATE:!1};var $x=U`
4281
4281
  :host::part(popover-content) {
4282
4282
  padding: 0.75rem 0.5rem;
4283
4283
  }
@@ -4285,7 +4285,7 @@
4285
4285
  ::slotted(mdc-divider) {
4286
4286
  margin-block: 0.25rem;
4287
4287
  }
4288
- `,eg=[$x];var on=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===rt.MENUITEM||o===rt.MENUITEMCHECKBOX||o===rt.MENUITEMRADIO},_h=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===ee};var sn=class extends He{constructor(){super();this.placement=fh.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ne.peek()!==this)return;let r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var r;(r=this.triggerElement)!=null&&r.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let r=t.target;on(r)&&(t.stopImmediatePropagation(),r.addEventListener("destroyed",this.handleItemChangeEvent),r.addEventListener("disabled",this.handleItemChangeEvent))};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(r=>r.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let r=!1;this.collectMenuItems();let s=t.target,d=this.getCurrentIndex(s);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Z.HOME:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Z.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),r=!0;break}case Z.ARROW_DOWN:{let x=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Z.ARROW_UP:{let x=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Z.ARROW_RIGHT:{let x=this.getSubMenuPopoverOfTarget(s);x&&(x.show(),r=!0);break}case Z.ARROW_LEFT:{_h(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),r=!0);break}case Z.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Z.ENTER:{!this.getSubMenuPopoverOfTarget(s)&&!s.hasAttribute("soft-disabled")&&(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0);break}case Z.SPACE:{r=!0;break}default:break}r&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let r=!1,s=t.target;switch(t.key){case Z.SPACE:{!s.matches(`${nd}, ${ad}`)&&!s.hasAttribute("soft-disabled")&&(this.getSubMenuPopoverOfTarget(s)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0));break}default:break}r&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var s,d;let r=t.getAttribute("id");return r?(d=(s=this.parentElement)==null?void 0:s.querySelector)==null?void 0:d.call(s,`${ee}[triggerid="${r}"]`):null}collectMenuItems(){var s;let t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot"),r=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=r.map(d=>d.tagName.toLowerCase()===bi?Array.from(d.children).filter(m=>on(m)):on(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let r=[];return!t||t.length===0||t.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.visible&&r.push(d)}),r}connectedCallback(){super.connectedCallback(),this.role=rt.MENU,this.ariaOrientation=fh.ORIENTATION,this.backdrop=!1,this.color=Oo.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,r){return t===r||!this.triggerElement?Promise.resolve():(r&&(this.backdrop=![Za,Ji].includes(this.triggerElement.tagName.toLowerCase())),r===!1&&this.menuItemsWithSubMenus.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,r))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(r=>r.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(r=>r===t)}resetTabIndexAndSetFocus(t,r){t!==r&&(this.menuItems[r].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ne.peek()!==t&&_h(Ne.peek());){let r=Ne.pop();if(r)r.hide();else break}}closeOtherSubMenusOnSameLevel(t){let r=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(r).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(Za)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let r=t.target;if(t.stopPropagation(),!(!on(r)||!t.isTrusted||r.hasAttribute("soft-disabled"))){if(this.getSubMenuPopoverOfTarget(r)){this.closeOtherSubMenusOnSameLevel(r);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(r)}}resolveDirectionKey(t,r){if(!r)return t;switch(t){case Z.ARROW_LEFT:return Z.ARROW_RIGHT;case Z.ARROW_RIGHT:return Z.ARROW_LEFT;default:return t}}};sn.styles=[...He.styles,...eg],p([u({type:String,reflect:!0})],sn.prototype,"placement",2);var Ch=sn;Ch.register(ee);var zx=Ch;var dd=class{constructor(o,t){this.variant=o,this.expanded=t}hasSiblingWithTriggerId(o){var s,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(s=o==null?void 0:o.parentElement)==null?void 0:s.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===ee&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],r=o;for(;r;){let s=r==null?void 0:r.closest(ee);if(!s)break;let d=s.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Ji)t.push(m),r=m;else break}return t}setCurrentActiveNavMenuItem(o){var d;let t=((d=this.currentActiveNavMenuItem)==null?void 0:d.navId)===(o==null?void 0:o.navId),r=(o==null?void 0:o.cannotActivate)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||r||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(b=>{b.hasActiveChild=!1,b.removeAttribute("active")})),!o))return;this.currentActiveNavMenuItem=o,o!=null&&o.disableAriaCurrent||o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavMenuItems(o).forEach(m=>{m.hasActiveChild=!0,m.setAttribute("active","")})}};dd.context=qi;var cd=dd;var Vx=U`
4288
+ `,eg=[$x];var on=n=>{var t;if(!n)return!1;let o=(t=n.getAttribute("role"))==null?void 0:t.toLowerCase();return o===rt.MENUITEM||o===rt.MENUITEMCHECKBOX||o===rt.MENUITEMRADIO},_h=n=>{var o;return((o=n==null?void 0:n.tagName)==null?void 0:o.toLowerCase())===ee};var sn=class extends He{constructor(){super();this.placement=fh.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Ne.peek()!==this)return;let r=t.composedPath(),s=this.contains(t.target)||r.includes(this.triggerElement)||r.includes(this),d=this.backdropElement?r.includes(this.backdropElement):!1;(!s||d)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=t=>{var r;(r=this.triggerElement)!=null&&r.hasAttribute("soft-disabled")||!this.isEventFromTrigger(t)||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let r=t.target;on(r)&&(t.stopImmediatePropagation(),r.addEventListener("destroyed",this.handleItemChangeEvent),r.addEventListener("disabled",this.handleItemChangeEvent))};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(r=>r.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let r=!1;this.collectMenuItems();let s=t.target,d=this.getCurrentIndex(s);if(d===-1)return;this.resetTabIndexes(d);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case Z.HOME:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Z.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,d),r=!0;break}case Z.ARROW_DOWN:{let x=d+1===this.menuItems.length?0:d+1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Z.ARROW_UP:{let x=d-1===-1?this.menuItems.length-1:d-1;this.resetTabIndexAndSetFocus(x,d),r=!0;break}case Z.ARROW_RIGHT:{let x=this.getSubMenuPopoverOfTarget(s);x&&(x.show(),r=!0);break}case Z.ARROW_LEFT:{_h(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,d),r=!0);break}case Z.ESCAPE:{this.resetTabIndexAndSetFocus(0,d),r=!0;break}case Z.ENTER:{!this.getSubMenuPopoverOfTarget(s)&&!s.hasAttribute("soft-disabled")&&(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0);break}case Z.SPACE:{r=!0;break}default:break}r&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let r=!1,s=t.target;switch(t.key){case Z.SPACE:{!s.matches(`${ad}, ${sd}`)&&!s.hasAttribute("soft-disabled")&&(this.getSubMenuPopoverOfTarget(s)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(s),r=!0));break}default:break}r&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var s,d;let r=t.getAttribute("id");return r?(d=(s=this.parentElement)==null?void 0:s.querySelector)==null?void 0:d.call(s,`${ee}[triggerid="${r}"]`):null}collectMenuItems(){var s;let t=(s=this.shadowRoot)==null?void 0:s.querySelector("slot"),r=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=r.map(d=>d.tagName.toLowerCase()===bi?Array.from(d.children).filter(m=>on(m)):on(d)?d:[]).flat().filter(d=>!!d&&!d.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(d=>this.getSubMenuPopoverOfTarget(d))}getOpenSubMenusOfItems(t){let r=[];return!t||t.length===0||t.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.visible&&r.push(d)}),r}connectedCallback(){super.connectedCallback(),this.role=rt.MENU,this.ariaOrientation=fh.ORIENTATION,this.backdrop=!1,this.color=Oo.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,r){return t===r||!this.triggerElement?Promise.resolve():(r&&(this.backdrop=![Za,Ji].includes(this.triggerElement.tagName.toLowerCase())),r===!1&&this.menuItemsWithSubMenus.forEach(s=>{let d=this.getSubMenuPopoverOfTarget(s);d&&d.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,r))}async firstUpdated(t){await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(r=>r.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(r=>r===t)}resetTabIndexAndSetFocus(t,r){t!==r&&(this.menuItems[r].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Ne.peek()!==t&&_h(Ne.peek());){let r=Ne.pop();if(r)r.hide();else break}}closeOtherSubMenusOnSameLevel(t){let r=this.menuItemsWithSubMenus.filter(d=>d!==t);this.getOpenSubMenusOfItems(r).forEach(d=>{d.hide()})}fireMenuItemAction(t){t.matches(Za)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let r=t.target;if(t.stopPropagation(),!(!on(r)||!t.isTrusted||r.hasAttribute("soft-disabled"))){if(this.getSubMenuPopoverOfTarget(r)){this.closeOtherSubMenusOnSameLevel(r);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(r)}}resolveDirectionKey(t,r){if(!r)return t;switch(t){case Z.ARROW_LEFT:return Z.ARROW_RIGHT;case Z.ARROW_RIGHT:return Z.ARROW_LEFT;default:return t}}};sn.styles=[...He.styles,...eg],p([u({type:String,reflect:!0})],sn.prototype,"placement",2);var Ch=sn;Ch.register(ee);var zx=Ch;var ld=class{constructor(o,t){this.variant=o,this.expanded=t}hasSiblingWithTriggerId(o){var s,d;let t=o==null?void 0:o.getAttribute("id");return t?Array.from((d=(s=o==null?void 0:o.parentElement)==null?void 0:s.children)!=null?d:[]).some(m=>m!==o&&m.tagName.toLowerCase()===ee&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(o){if(!o)return[];let t=[],r=o;for(;r;){let s=r==null?void 0:r.closest(ee);if(!s)break;let d=s.getAttribute("triggerid");if(!d)break;let m=document.getElementById(d);if(m&&m.tagName.toLowerCase()===Ji)t.push(m),r=m;else break}return t}setCurrentActiveNavMenuItem(o){var d;let t=((d=this.currentActiveNavMenuItem)==null?void 0:d.navId)===(o==null?void 0:o.navId),r=(o==null?void 0:o.cannotActivate)||this.hasSiblingWithTriggerId(o)||(o==null?void 0:o.softDisabled);if(t||r||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(b=>{b.hasActiveChild=!1,b.removeAttribute("active")})),!o))return;this.currentActiveNavMenuItem=o,o!=null&&o.disableAriaCurrent||o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavMenuItems(o).forEach(m=>{m.hasActiveChild=!0,m.setAttribute("active","")})}};ld.context=qi;var dd=ld;var Vx=U`
4289
4289
  :host {
4290
4290
  --mdc-sidenavigation-expanded-width: 14.5rem;
4291
4291
  --mdc-sidenavigation-expanded-left-padding: 1rem;
@@ -4423,7 +4423,7 @@
4423
4423
  :host([data-grabber-visible][variant='flexible-on-hover'])::part(vertical-divider-button) {
4424
4424
  opacity: 1;
4425
4425
  }
4426
- `,rg=[Vx];var yi=class extends Ee{constructor(){super({context:cd.context,initialValue:new cd(od.VARIANT,!0)});this.variant=od.VARIANT;this.footerText="";this.hideFixedSectionDivider=!1;this.isHovered=!1;this.isFocused=!1;this.handleMouseEnter=()=>{this.isHovered=!0,this.showGrabberButton()};this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.hideGrabberButton()};this.handleFocusIn=t=>{if(!this.isFocused){if(this.navMenuItems.find(r=>r===t.target)&&!t.target.matches(":focus-visible"))return;this.isFocused=!0,this.showGrabberButton()}};this.handleFocusOut=t=>{this.contains(t.relatedTarget)||(this.isFocused=!1,this.isHovered||this.hideGrabberButton())};this.setupFlexibleOnHoverListeners=()=>{this.variant===Ye.FLEXIBLE_ON_HOVER&&(this.addEventListener("mouseenter",this.handleMouseEnter),this.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("focusin",this.handleFocusIn),this.addEventListener("focusout",this.handleFocusOut))};this.removeFlexibleOnHoverListeners=()=>{this.removeEventListener("mouseenter",this.handleMouseEnter),this.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("focusin",this.handleFocusIn),this.removeEventListener("focusout",this.handleFocusOut)};this.handleNestedNavMenuItemActiveChange=t=>{var r;if((r=this.context)!=null&&r.value){let s=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(s)}};this.findNav=(t,r)=>t.find(s=>s.navId===r);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.NAVIGATION,this.setupFlexibleOnHoverListeners()}disconnectedCallback(){super.disconnectedCallback(),this.removeFlexibleOnHoverListeners()}showGrabberButton(){this.toggleAttribute("data-grabber-visible",!0)}hideGrabberButton(){this.toggleAttribute("data-grabber-visible",!1)}static get Context(){return cd.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.removeFlexibleOnHoverListeners(),this.setupFlexibleOnHoverListeners(),this.variant){case Ye.FIXED_EXPANDED:this.expanded=!0;break;case Ye.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),(this.variant===Ye.FLEXIBLE||this.variant===Ye.FLEXIBLE_ON_HOVER)&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Ji}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Ye).includes(t)?t:od.VARIANT)}toggleSideNavigation(t){this.expanded=!this.expanded,this.expanded===!1&&this.variant===Ye.FLEXIBLE_ON_HOVER&&t.pointerType==="mouse"&&(this.isHovered=!1,this.isFocused=!1,this.hideGrabberButton()),this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===Z.SPACE&&t.preventDefault()}render(){var t;return this.variant===Ye.HIDDEN?_``:_`
4426
+ `,rg=[Vx];var yi=class extends Ee{constructor(){super({context:dd.context,initialValue:new dd(id.VARIANT,!0)});this.variant=id.VARIANT;this.footerText="";this.hideFixedSectionDivider=!1;this.isHovered=!1;this.isFocused=!1;this.handleMouseEnter=()=>{this.isHovered=!0,this.showGrabberButton()};this.handleMouseLeave=()=>{this.isHovered=!1,this.isFocused||this.hideGrabberButton()};this.handleFocusIn=t=>{if(!this.isFocused){if(this.navMenuItems.find(r=>r===t.target)&&!t.target.matches(":focus-visible"))return;this.isFocused=!0,this.showGrabberButton()}};this.handleFocusOut=t=>{this.contains(t.relatedTarget)||(this.isFocused=!1,this.isHovered||this.hideGrabberButton())};this.setupFlexibleOnHoverListeners=()=>{this.variant===Ye.FLEXIBLE_ON_HOVER&&(this.addEventListener("mouseenter",this.handleMouseEnter),this.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("focusin",this.handleFocusIn),this.addEventListener("focusout",this.handleFocusOut))};this.removeFlexibleOnHoverListeners=()=>{this.removeEventListener("mouseenter",this.handleMouseEnter),this.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("focusin",this.handleFocusIn),this.removeEventListener("focusout",this.handleFocusOut)};this.handleNestedNavMenuItemActiveChange=t=>{var r;if((r=this.context)!=null&&r.value){let s=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(s)}};this.findNav=(t,r)=>t.find(s=>s.navId===r);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=rt.NAVIGATION,this.setupFlexibleOnHoverListeners()}disconnectedCallback(){super.disconnectedCallback(),this.removeFlexibleOnHoverListeners()}showGrabberButton(){this.toggleAttribute("data-grabber-visible",!0)}hideGrabberButton(){this.toggleAttribute("data-grabber-visible",!1)}static get Context(){return dd.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.removeFlexibleOnHoverListeners(),this.setupFlexibleOnHoverListeners(),this.variant){case Ye.FIXED_EXPANDED:this.expanded=!0;break;case Ye.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),(this.variant===Ye.FLEXIBLE||this.variant===Ye.FLEXIBLE_ON_HOVER)&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Ji}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Ye).includes(t)?t:id.VARIANT)}toggleSideNavigation(t){this.expanded=!this.expanded,this.expanded===!1&&this.variant===Ye.FLEXIBLE_ON_HOVER&&t.pointerType==="mouse"&&(this.isHovered=!1,this.isFocused=!1,this.hideGrabberButton()),this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===Z.SPACE&&t.preventDefault()}render(){var t;return this.variant===Ye.HIDDEN?_``:_`
4427
4427
  <div part="side-navigation-container" id="side-nav-container">
4428
4428
  <div part="scrollable-section" tabindex="-1" @keydown=${this.preventScrollOnSpace}>
4429
4429
  <slot name="scrollable-section">
@@ -4803,7 +4803,7 @@
4803
4803
  aria-label=${this.showPassword?this.hideButtonAriaLabel:this.showButtonAriaLabel}
4804
4804
  prefix-icon=${this.showPassword?Rh.HIDE_BOLD:Rh.SHOW_BOLD}
4805
4805
  ></mdc-button>
4806
- `:j}renderInputElement(t,r){let s=this.showPassword?Wi.TEXT:Wi.PASSWORD;return super.renderInputElement(s,r)}};to.styles=[...wr.styles],p([u({type:String,attribute:"show-button-aria-label",reflect:!0})],to.prototype,"showButtonAriaLabel",2),p([u({type:String,attribute:"hide-button-aria-label",reflect:!0})],to.prototype,"hideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],to.prototype,"helpTextType",2),p([ut()],to.prototype,"showPassword",2);var Mh=to;Mh.register(lg);var qx=Mh;He.register(tv);Hl.register(Gl);var Xx=He;var hd=z.constructTagName("progressbar"),pd={DEFAULT:"default",INLINE:"inline"},dg={VARIANT:pd.DEFAULT,VALIDATION:$t.DEFAULT};var Zx=[yt,U`
4806
+ `:j}renderInputElement(t,r){let s=this.showPassword?Wi.TEXT:Wi.PASSWORD;return super.renderInputElement(s,r)}};to.styles=[...wr.styles],p([u({type:String,attribute:"show-button-aria-label",reflect:!0})],to.prototype,"showButtonAriaLabel",2),p([u({type:String,attribute:"hide-button-aria-label",reflect:!0})],to.prototype,"hideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],to.prototype,"helpTextType",2),p([ut()],to.prototype,"showPassword",2);var Mh=to;Mh.register(lg);var qx=Mh;He.register(tv);Ul.register(Hl);var Xx=He;var cd=z.constructTagName("progressbar"),hd={DEFAULT:"default",INLINE:"inline"},dg={VARIANT:hd.DEFAULT,VALIDATION:$t.DEFAULT};var Zx=[yt,U`
4807
4807
  :host {
4808
4808
  --mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
4809
4809
  --mdc-progressbar-progress-background-color: var(--mds-color-theme-control-active-normal);
@@ -4888,15 +4888,15 @@
4888
4888
  <div part="progress-bar ${t}" style="width: ${s}%"></div>
4889
4889
  <div part="remaining"></div>
4890
4890
  </div>
4891
- `}}connectedCallback(){super.connectedCallback(),this.id=`${hd}-${Se()}`,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=$t.ERROR:this.clampedValue===100?this.helpTextType=$t.SUCCESS:this.helpTextType=$t.DEFAULT,this.helpTextType}render(){let t=this.variant===pd.INLINE;return _`
4891
+ `}}connectedCallback(){super.connectedCallback(),this.id=`${cd}-${Se()}`,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=$t.ERROR:this.clampedValue===100?this.helpTextType=$t.SUCCESS:this.helpTextType=$t.DEFAULT,this.helpTextType}render(){let t=this.variant===hd.INLINE;return _`
4892
4892
  ${t?_`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:_`
4893
4893
  <div part="label-container">
4894
4894
  ${this.renderLabelElement()}
4895
- ${this.variant===pd.DEFAULT&&this.label?_`<span part="percentage">${this.clampedValue}%</span>`:""}
4895
+ ${this.variant===hd.DEFAULT&&this.label?_`<span part="percentage">${this.clampedValue}%</span>`:""}
4896
4896
  </div>
4897
4897
  ${this.renderProgressbar()} ${this.renderHelperText()}
4898
4898
  `}
4899
- `}};Go.styles=[...mr.styles,...cg],p([u({type:String,reflect:!0})],Go.prototype,"variant",2),p([u({type:String,reflect:!0})],Go.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Go.prototype,"error",2);var nn=Go;nn.register(hd);var Qx=nn;var hg=z.constructTagName("progressspinner"),re={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"},Ph={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Dh=n=>{if(n===0)return 0;let o=n/100*re.CIRCUMFERENCE-re.GAP_SIZE;return Math.max(o,.1*n)},pg=n=>{let o=re.CIRCUMFERENCE-Dh(n)-2*re.GAP_SIZE;return n===0?re.CIRCUMFERENCE:o<0?0:o},mg=n=>n===0?0:re.GAP_SIZE*.5,ug=(n,o)=>{let t=o+re.GAP_SIZE*1.5;return n===0?0:t};var Jx=U`
4899
+ `}};Go.styles=[...mr.styles,...cg],p([u({type:String,reflect:!0})],Go.prototype,"variant",2),p([u({type:String,reflect:!0})],Go.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Go.prototype,"error",2);var nn=Go;nn.register(cd);var Qx=nn;var hg=z.constructTagName("progressspinner"),re={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"},Ph={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Dh=n=>{if(n===0)return 0;let o=n/100*re.CIRCUMFERENCE-re.GAP_SIZE;return Math.max(o,.1*n)},pg=n=>{let o=re.CIRCUMFERENCE-Dh(n)-2*re.GAP_SIZE;return n===0?re.CIRCUMFERENCE:o<0?0:o},mg=n=>n===0?0:re.GAP_SIZE*.5,ug=(n,o)=>{let t=o+re.GAP_SIZE*1.5;return n===0?0:t};var Jx=U`
4900
4900
  :host {
4901
4901
  --mdc-spinner-size: 3rem;
4902
4902
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -4943,7 +4943,7 @@
4943
4943
  color: var(--mdc-progress-error-color);
4944
4944
  margin: calc(1 / 6 * var(--mdc-spinner-size));
4945
4945
  }
4946
- `,fg=[Jx];var md=class extends nn{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 d;let o=Dh(this.clampedValue),t=pg(this.clampedValue),r=mg(this.clampedValue),s=ug(this.clampedValue,o);return _`
4946
+ `,fg=[Jx];var pd=class extends nn{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 d;let o=Dh(this.clampedValue),t=pg(this.clampedValue),r=mg(this.clampedValue),s=ug(this.clampedValue,o);return _`
4947
4947
  <div
4948
4948
  part="spinner-container ${this.variant}"
4949
4949
  role="${rt.PROGRESSBAR}"
@@ -4989,7 +4989,7 @@
4989
4989
  size="${re.SUCCESS_ICON_SIZE}"
4990
4990
  length-unit="${re.ICON_LENGTH_UNIT}"
4991
4991
  ></mdc-icon>
4992
- `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():_` ${this.renderProgressSpinner()}`}};md.styles=[...q.styles,...fg];var Fh=md;Fh.register(hg);var tA=Fh;var eA=[yt,U`
4992
+ `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():_` ${this.renderProgressSpinner()}`}};pd.styles=[...q.styles,...fg];var Fh=pd;Fh.register(hg);var tA=Fh;var eA=[yt,U`
4993
4993
  :host {
4994
4994
  display: flex;
4995
4995
  flex-direction: row;
@@ -5080,7 +5080,7 @@
5080
5080
  />
5081
5081
  </mdc-staticradio>
5082
5082
  ${this.renderLabelAndHelperText()}
5083
- `}};ln.styles=[...ne.styles,...vg],p([u({type:Boolean,reflect:!0})],ln.prototype,"checked",2);var $h=ln;var ud=z.constructTagName("radio");$h.register(ud);var rA=$h;var dn=class extends Jl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,r,s,d,m;(m=(d=(s=(r=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:r.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:s.filter(b=>b.tagName.toLowerCase()===ud||b.tagName.toLowerCase()===Rl))==null?void 0:d.filter(b=>!b.hasAttribute("name")))==null||m.forEach(b=>{b.setAttribute("name",this.name),this.required&&b.setAttribute("required",this.required.toString())})}};dn.styles=[...Jl.styles],p([u({type:String})],dn.prototype,"name",2);var zh=dn;var gg=z.constructTagName("radiogroup");zh.register(gg);var iA=zh;var oA=U`
5083
+ `}};ln.styles=[...ne.styles,...vg],p([u({type:Boolean,reflect:!0})],ln.prototype,"checked",2);var $h=ln;var md=z.constructTagName("radio");$h.register(md);var rA=$h;var dn=class extends Ql{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,r,s,d,m;(m=(d=(s=(r=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:r.flatMap(b=>b.assignedElements({flatten:!0})))==null?void 0:s.filter(b=>b.tagName.toLowerCase()===md||b.tagName.toLowerCase()===Ol))==null?void 0:d.filter(b=>!b.hasAttribute("name")))==null||m.forEach(b=>{b.setAttribute("name",this.name),this.required&&b.setAttribute("required",this.required.toString())})}};dn.styles=[...Ql.styles],p([u({type:String})],dn.prototype,"name",2);var zh=dn;var gg=z.constructTagName("radiogroup");zh.register(gg);var iA=zh;var oA=U`
5084
5084
  :host::part(filters-container) {
5085
5085
  display: flex;
5086
5086
  gap: 0.25rem;
@@ -5110,7 +5110,7 @@
5110
5110
  position: relative;
5111
5111
  scrollbar-width: none;
5112
5112
  }
5113
- `,bg=[oA];var yg=z.constructTagName("searchfield"),cn={TYPE:Wi.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:ed};var Yo=class extends wr{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key===Z.ESCAPE&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=cn.ICON,this.trailingButton=cn.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(r=>{r.matches(cn.INPUT_CHIP_TAG)||r.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(r=>{r.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return _`
5113
+ `,bg=[oA];var yg=z.constructTagName("searchfield"),cn={TYPE:Wi.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:td};var Yo=class extends wr{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key===Z.ESCAPE&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=cn.ICON,this.trailingButton=cn.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(r=>{r.matches(cn.INPUT_CHIP_TAG)||r.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(r=>{r.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return _`
5114
5114
  ${this.renderLabelElement()}
5115
5115
  <div
5116
5116
  class="${Qi({"mdc-focus-ring":this.isInputFocused})}"
@@ -5150,7 +5150,7 @@
5150
5150
  min-width: auto;
5151
5151
  padding: 0.75rem 0.5rem;
5152
5152
  }
5153
- `,Eg=[aA];var Tg=z.constructTagName("searchpopover"),Vh={TYPE:Wi.TEXT,DISPLAY_POPOVER:!1},Bh="searchpopover-container-triggerid",fd="searchpopover-popoverid";var eo=class extends Bs{constructor(){super(...arguments);this.displayPopover=Vh.DISPLAY_POPOVER;this.placement=Lt.BOTTOM_START;this.popoverZIndex=gt.Z_INDEX}renderInputElement(){var r,s;let t=this.hasInputChips?"":this.placeholder;return _`<input
5153
+ `,Eg=[aA];var Tg=z.constructTagName("searchpopover"),Vh={TYPE:Wi.TEXT,DISPLAY_POPOVER:!1},Bh="searchpopover-container-triggerid",ud="searchpopover-popoverid";var eo=class extends Bs{constructor(){super(...arguments);this.displayPopover=Vh.DISPLAY_POPOVER;this.placement=Lt.BOTTOM_START;this.popoverZIndex=gt.Z_INDEX}renderInputElement(){var r,s;let t=this.hasInputChips?"":this.placeholder;return _`<input
5154
5154
  aria-label="${(r=this.dataAriaLabel)!=null?r:""}"
5155
5155
  part="input-text"
5156
5156
  id="${this.inputId}"
@@ -5161,8 +5161,8 @@
5161
5161
  ?required="${this.required}"
5162
5162
  type="${Vh.TYPE}"
5163
5163
  aria-expanded="${this.displayPopover?"true":"false"}"
5164
- aria-controls="${fd}"
5165
- aria-owns="${fd}"
5164
+ aria-controls="${ud}"
5165
+ aria-owns="${ud}"
5166
5166
  aria-haspopup="${rt.DIALOG}"
5167
5167
  aria-describedby="${tt(this.helpText?Nt.HELPER_TEXT_ID:(s=this.dataAriaDescribedby)!=null?s:"")}"
5168
5168
  aria-invalid="${this.helpTextType==="error"?"true":"false"}"
@@ -5202,7 +5202,7 @@
5202
5202
  </div>
5203
5203
  <mdc-popover
5204
5204
  triggerID="${Bh}"
5205
- id="${fd}"
5205
+ id="${ud}"
5206
5206
  trigger="manual"
5207
5207
  interactive
5208
5208
  ?visible=${this.displayPopover}
@@ -5218,7 +5218,7 @@
5218
5218
  >
5219
5219
  <slot></slot>
5220
5220
  </mdc-popover>
5221
- `}};eo.styles=[...Bs.styles,...Eg],p([u({type:Boolean,reflect:!0,attribute:"display-popover"})],eo.prototype,"displayPopover",2),p([u({type:String,reflect:!0})],eo.prototype,"placement",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],eo.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"popover-aria-label"})],eo.prototype,"popoverAriaLabel",2);var Uh=eo;Uh.register(Tg);var nA=Uh;var xg=z.constructTagName("select"),Hh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},vd="select-base-triggerid",Ag="select-listbox",Sg={DISABLE_FLIP:!1};var lA=U`
5221
+ `}};eo.styles=[...Bs.styles,...Eg],p([u({type:Boolean,reflect:!0,attribute:"display-popover"})],eo.prototype,"displayPopover",2),p([u({type:String,reflect:!0})],eo.prototype,"placement",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],eo.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"popover-aria-label"})],eo.prototype,"popoverAriaLabel",2);var Uh=eo;Uh.register(Tg);var nA=Uh;var xg=z.constructTagName("select"),Hh={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},fd="select-base-triggerid",Ag="select-listbox",Sg={DISABLE_FLIP:!1};var lA=U`
5222
5222
  :host {
5223
5223
  --mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
5224
5224
  --mdc-select-text-color: var(--mds-color-theme-text-secondary-normal);
@@ -5328,11 +5328,11 @@
5328
5328
  :host([soft-disabled])::part(base-text) {
5329
5329
  --mdc-select-text-color: var(--mds-color-theme-text-primary-disabled);
5330
5330
  }
5331
- `,Ig=[lA,...St(!0)];var je=class extends Ps(ji(Te(_e(Ut(ne))))){constructor(){super();this.placement=Lt.BOTTOM_START;this.boundary=gt.BOUNDARY;this.strategy=gt.STRATEGY;this.popoverZIndex=gt.Z_INDEX;this.disableFlip=Sg.DISABLE_FLIP;this.displayPopover=!1;this.initialSelectedOption=null;this.debounceTime=500;this.searchString="";this.onStoreUpdate=(t,r,s,d)=>{switch(r){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(s===-1||d.length===0)return;let m=s+1;if(m>=d.length&&(m=s-1),m===-1&&this.displayPopover){this.displayPopover=!1,this.handleNativeInputFocus();return}if(t.tabIndex===0&&this.resetTabIndexes(m),t.hasAttribute("selected")){let b=null;this.placeholder||(b=s===0?d[m]:d[0]),this.setSelectedOption(b)}break}default:break}};this.isValidItem=t=>t.matches(`${vr}:not([disabled])`);this.addEventListener(Gt.MODIFIED,this.handleModifiedEvent),this.itemsStore=new Wr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate})}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0,this.setupDebounceSearch()}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.debounceSearch)==null||t.cancel(),window.cancelAnimationFrame(this.animationFrameId)}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,r,s){var d;if(super.attributeChangedCallback(t,r,s),t==="value"&&s!==""&&s!==r&&s!==((d=this.selectedOption)==null?void 0:d.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),b=this.getFirstOption(),x=this.navItems.find(B=>B.value===s),N=null;if(x)N=x;else if(this.placeholder)N=null;else if(b)N=b;else if(m)N=m;else return;this.updateComplete.then(()=>{this.setSelectedOption(N)}).catch(B=>{this.onerror&&this.onerror(B)})}}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let r=t.target,s=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{s&&s!==this.selectedOption?this.setSelectedOption(s):this.setSelectedOption(r);break}case"unselected":{s?this.setSelectedOption(s):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}case"enabled":{this.itemsStore.add(r);break}case"disabled":{this.itemsStore.delete(r);break}default:break}}async firstUpdated(t){await this.updateComplete;let r=this.getFirstSelectedOption();if(r)this.initialSelectedOption=r,this.setSelectedOption(r);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let s=this.getFirstOption();this.setSelectedOption(s),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1)}handleOptionsClick(t){let r=t.target;r&&r.tagName===vr.toUpperCase()&&!r.hasAttribute("disabled")&&!r.hasAttribute("soft-disabled")&&(this.setSelectedOption(r),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var r,s,d;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(s=(r=this.selectedOption)==null?void 0:r.value)!=null?s:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(r=>{r!==t&&r.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,r;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(r=this.inputElement)==null||r.setCustomValidity(""),this.setValidity()}formResetCallback(){var r;let t=this.initialSelectedOption||null;((r=this.selectedOption)==null?void 0:r.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var s;let r=this.navItems.find(d=>d.value===t||d.label===t);((s=this.selectedOption)==null?void 0:s.value)!==(r==null?void 0:r.value)&&(this.setSelectedOption(r||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())}setupDebounceSearch(){this.debounceSearch=Wl(()=>{this.searchString=""},this.debounceTime)}debounceSearchKey(t){var r;return(r=this.debounceSearch)==null||r.call(this),this.searchString+=t,this.searchString}filterOptionsBySearchKey(t,r){return t.filter(s=>{var d;return(d=s.getAttribute("label"))==null?void 0:d.toLowerCase().startsWith(r.toLowerCase())})}handleSelectedOptionBasedOnFilter(t){let r=this.navItems.findIndex(b=>b.tabIndex===0)+1,s=[...this.navItems.slice(r),...this.navItems.slice(0,r)],d=this.filterOptionsBySearchKey(s,t),m=null;if(d.length)[m]=d;else if(t.split("").every(b=>b===t[0])){let b=this.navItems[r],x=this.filterOptionsBySearchKey(s,t[0]),N=x.filter(B=>B===b);m=N.length?N[0]:x[0]}this.navItems.indexOf(m)!==-1&&this.resetTabIndexAndSetFocusAfterUpdate(this.navItems.indexOf(m))}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Z.ARROW_DOWN:case Z.ARROW_UP:case Z.ENTER:case Z.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Z.HOME:{this.displayPopover=!0,this.resetTabIndexAndSetFocusAfterUpdate(0),t.preventDefault(),t.stopPropagation();break}case Z.END:{this.displayPopover=!0,this.resetTabIndexAndSetFocusAfterUpdate(this.navItems.length-1),t.preventDefault(),t.stopPropagation();break}default:{t.key.length===1&&(this.displayPopover=!0,this.handleSelectedOptionByKeyInput(t.key),t.preventDefault(),t.stopPropagation());break}}}resetTabIndexAndSetFocusAfterUpdate(t){this.displayPopover&&(this.animationFrameId=window.requestAnimationFrame(()=>{this.resetTabIndexAndSetFocus(t)}))}handleNativeInputFocus(){this.visualCombobox.focus()}handleSelectedOptionByKeyInput(t){let r=this.debounceSearchKey(t);this.handleSelectedOptionBasedOnFilter(r)}handleKeydownPopover(t){t.key.length===1&&this.handleSelectedOptionByKeyInput(t.key)}render(){var t,r,s,d,m,b;return _`
5331
+ `,Ig=[lA,...St(!0)];var je=class extends Ps(ji(Te(_e(Ut(ne))))){constructor(){super();this.placement=Lt.BOTTOM_START;this.boundary=gt.BOUNDARY;this.strategy=gt.STRATEGY;this.popoverZIndex=gt.Z_INDEX;this.disableFlip=Sg.DISABLE_FLIP;this.displayPopover=!1;this.initialSelectedOption=null;this.debounceTime=500;this.searchString="";this.onStoreUpdate=(t,r,s,d)=>{switch(r){case"added":t.setAttribute("tabindex","-1");break;case"removed":{if(s===-1||d.length===0)return;let m=s+1;if(m>=d.length&&(m=s-1),m===-1&&this.displayPopover){this.displayPopover=!1,this.handleNativeInputFocus();return}if(t.tabIndex===0&&this.resetTabIndexes(m),t.hasAttribute("selected")){let b=null;this.placeholder||(b=s===0?d[m]:d[0]),this.setSelectedOption(b)}break}default:break}};this.isValidItem=t=>t.matches(`${vr}:not([disabled])`);this.addEventListener(Gt.MODIFIED,this.handleModifiedEvent),this.itemsStore=new Wr(this,{isValidItem:this.isValidItem,onStoreUpdate:this.onStoreUpdate})}connectedCallback(){super.connectedCallback(),this.loop="false",this.initialFocus=0,this.setupDebounceSearch()}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.debounceSearch)==null||t.cancel(),window.cancelAnimationFrame(this.animationFrameId)}get navItems(){return this.itemsStore.items}attributeChangedCallback(t,r,s){var d;if(super.attributeChangedCallback(t,r,s),t==="value"&&s!==""&&s!==r&&s!==((d=this.selectedOption)==null?void 0:d.value)&&this.navItems.length){let m=this.getFirstSelectedOption(),b=this.getFirstOption(),x=this.navItems.find(B=>B.value===s),N=null;if(x)N=x;else if(this.placeholder)N=null;else if(b)N=b;else if(m)N=m;else return;this.updateComplete.then(()=>{this.setSelectedOption(N)}).catch(B=>{this.onerror&&this.onerror(B)})}}getFirstSelectedOption(){return this.navItems.find(t=>t.hasAttribute("selected"))}getFirstOption(){return this.navItems[0]}handleModifiedEvent(t){let r=t.target,s=this.getFirstSelectedOption();switch(t.detail.change){case"selected":{s&&s!==this.selectedOption?this.setSelectedOption(s):this.setSelectedOption(r);break}case"unselected":{s?this.setSelectedOption(s):this.setSelectedOption(this.placeholder?null:this.getFirstOption());break}case"enabled":{this.itemsStore.add(r);break}case"disabled":{this.itemsStore.delete(r);break}default:break}}async firstUpdated(t){await this.updateComplete;let r=this.getFirstSelectedOption();if(r)this.initialSelectedOption=r,this.setSelectedOption(r);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let s=this.getFirstOption();this.setSelectedOption(s),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1)}handleOptionsClick(t){let r=t.target;r&&r.tagName===vr.toUpperCase()&&!r.hasAttribute("disabled")&&!r.hasAttribute("soft-disabled")&&(this.setSelectedOption(r),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var r,s,d;t!==this.selectedOption&&(this.updateSelectedInChildOptions(t),this.resetTabIndexes(this.navItems.indexOf(t)),this.selectedOption=t,this.value=(s=(r=this.selectedOption)==null?void 0:r.value)!=null?s:"",this.internals.setFormValue(this.value),(d=this.inputElement)==null||d.setAttribute("value",this.value),this.setInputValidity())}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.navItems.forEach(r=>{r!==t&&r.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,r;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(r=this.inputElement)==null||r.setCustomValidity(""),this.setValidity()}formResetCallback(){var r;let t=this.initialSelectedOption||null;((r=this.selectedOption)==null?void 0:r.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var s;let r=this.navItems.find(d=>d.value===t||d.label===t);((s=this.selectedOption)==null?void 0:s.value)!==(r==null?void 0:r.value)&&(this.setSelectedOption(r||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())}setupDebounceSearch(){this.debounceSearch=Yl(()=>{this.searchString=""},this.debounceTime)}debounceSearchKey(t){var r;return(r=this.debounceSearch)==null||r.call(this),this.searchString+=t,this.searchString}filterOptionsBySearchKey(t,r){return t.filter(s=>{var d;return(d=s.getAttribute("label"))==null?void 0:d.toLowerCase().startsWith(r.toLowerCase())})}handleSelectedOptionBasedOnFilter(t){let r=this.navItems.findIndex(b=>b.tabIndex===0)+1,s=[...this.navItems.slice(r),...this.navItems.slice(0,r)],d=this.filterOptionsBySearchKey(s,t),m=null;if(d.length)[m]=d;else if(t.split("").every(b=>b===t[0])){let b=this.navItems[r],x=this.filterOptionsBySearchKey(s,t[0]),N=x.filter(B=>B===b);m=N.length?N[0]:x[0]}this.navItems.indexOf(m)!==-1&&this.resetTabIndexAndSetFocusAfterUpdate(this.navItems.indexOf(m))}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case Z.ARROW_DOWN:case Z.ARROW_UP:case Z.ENTER:case Z.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case Z.HOME:{this.displayPopover=!0,this.resetTabIndexAndSetFocusAfterUpdate(0),t.preventDefault(),t.stopPropagation();break}case Z.END:{this.displayPopover=!0,this.resetTabIndexAndSetFocusAfterUpdate(this.navItems.length-1),t.preventDefault(),t.stopPropagation();break}default:{t.key.length===1&&(this.displayPopover=!0,this.handleSelectedOptionByKeyInput(t.key),t.preventDefault(),t.stopPropagation());break}}}resetTabIndexAndSetFocusAfterUpdate(t){this.displayPopover&&(this.animationFrameId=window.requestAnimationFrame(()=>{this.resetTabIndexAndSetFocus(t)}))}handleNativeInputFocus(){this.visualCombobox.focus()}handleSelectedOptionByKeyInput(t){let r=this.debounceSearchKey(t);this.handleSelectedOptionBasedOnFilter(r)}handleKeydownPopover(t){t.key.length===1&&this.handleSelectedOptionByKeyInput(t.key)}render(){var t,r,s,d,m,b;return _`
5332
5332
  ${this.renderLabel()}
5333
5333
  <div part="container">
5334
5334
  <div
5335
- id="${vd}"
5335
+ id="${fd}"
5336
5336
  part="base-container"
5337
5337
  @click="${this.handleClickCombobox}"
5338
5338
  @keydown="${this.handleKeydownCombobox}"
@@ -5386,7 +5386,7 @@
5386
5386
  />
5387
5387
  <mdc-popover
5388
5388
  trigger="${Ue.MANUAL}"
5389
- triggerid="${vd}"
5389
+ triggerid="${fd}"
5390
5390
  interactive
5391
5391
  ?visible="${this.displayPopover}"
5392
5392
  role=""
@@ -5411,7 +5411,7 @@
5411
5411
  </mdc-popover>
5412
5412
  </div>
5413
5413
  ${this.renderHelperText()}
5414
- `}};je.styles=[...ne.styles,...Ig],p([u({type:String})],je.prototype,"placeholder",2),p([u({type:String,reflect:!0})],je.prototype,"placement",2),p([u({type:String,reflect:!0,attribute:"boundary"})],je.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],je.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],je.prototype,"popoverZIndex",2),p([u({type:Boolean,reflect:!0,attribute:"disable-flip"})],je.prototype,"disableFlip",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],je.prototype,"backdropAppendTo",2),p([ye(`[id="${vd}"]`)],je.prototype,"visualCombobox",2),p([ut()],je.prototype,"selectedOption",2),p([ut()],je.prototype,"displayPopover",2);var Gh=je;Gh.register(xg);var dA=Gh;var Yh=class extends q{connectedCallback(){super.connectedCallback(),this.role=rt.LISTBOX}createRenderRoot(){return this}},Wh=Yh;var gd=z.constructTagName("selectlistbox");Wh.register(gd);var cA=Wh;Uo.register(qi);var hA=Uo;var _g=z.constructTagName("skeleton"),Cg={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},kg={VARIANT:Cg.RECTANGULAR};var pA=U`
5414
+ `}};je.styles=[...ne.styles,...Ig],p([u({type:String})],je.prototype,"placeholder",2),p([u({type:String,reflect:!0})],je.prototype,"placement",2),p([u({type:String,reflect:!0,attribute:"boundary"})],je.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],je.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],je.prototype,"popoverZIndex",2),p([u({type:Boolean,reflect:!0,attribute:"disable-flip"})],je.prototype,"disableFlip",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],je.prototype,"backdropAppendTo",2),p([ye(`[id="${fd}"]`)],je.prototype,"visualCombobox",2),p([ut()],je.prototype,"selectedOption",2),p([ut()],je.prototype,"displayPopover",2);var Gh=je;Gh.register(xg);var dA=Gh;var Yh=class extends q{connectedCallback(){super.connectedCallback(),this.role=rt.LISTBOX}createRenderRoot(){return this}},Wh=Yh;var vd=z.constructTagName("selectlistbox");Wh.register(vd);var cA=Wh;Uo.register(qi);var hA=Uo;var _g=z.constructTagName("skeleton"),Cg={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},kg={VARIANT:Cg.RECTANGULAR};var pA=U`
5415
5415
  :host {
5416
5416
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
5417
5417
  --mdc-skeleton-height: 100%;
@@ -5512,11 +5512,11 @@
5512
5512
  stroke-dashoffset: -292;
5513
5513
  }
5514
5514
  }
5515
- `],Ng=uA;var Lg=z.constructTagName("spinner"),fA={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},vA={STANDALONE:"standalone",BUTTON:"button"},bd={VARIANT:vA.STANDALONE,SIZE:fA.MIDSIZE,INVERTED:!1};var ro=class extends q{constructor(){super(...arguments);this.inverted=bd.INVERTED;this.size=bd.SIZE;this.ariaLabel=null;this.variant=bd.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?rt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return _`
5515
+ `],Ng=uA;var Lg=z.constructTagName("spinner"),fA={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},vA={STANDALONE:"standalone",BUTTON:"button"},gd={VARIANT:vA.STANDALONE,SIZE:fA.MIDSIZE,INVERTED:!1};var ro=class extends q{constructor(){super(...arguments);this.inverted=gd.INVERTED;this.size=gd.SIZE;this.ariaLabel=null;this.variant=gd.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?rt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return _`
5516
5516
  <svg part="container" viewBox="0 0 100 100">
5517
5517
  <circle part="circle" cx="50" cy="50" r="46"></circle>
5518
5518
  </svg>
5519
- `}};ro.styles=[...q.styles,...Ng],p([u({type:Boolean,reflect:!0})],ro.prototype,"inverted",2),p([u({type:String,reflect:!0})],ro.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],ro.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],ro.prototype,"variant",2);var Kh=ro;Kh.register(Lg);var gA=Kh;Va.register(dv);var bA=Va;var yA={COMPLETE:"complete",INCOMPLETE:"incomplete"},qh={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Xh={STATUS:yA.INCOMPLETE,ORIENTATION:qh.HORIZONTAL},Og=z.constructTagName("stepperconnector");var Rg=z.constructTagName("stepperitem"),Zh={INLINE:"inline",STACKED:"stacked"},Ei={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},yd={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Qh={VARIANT:Zh.INLINE,STATUS:Ei.NOT_STARTED};var Ed=z.constructTagName("stepper"),pn={ORIENTATION:qh.HORIZONTAL,VARIANT:Zh.INLINE};var Td=class{constructor(o,t){this.orientation=o,this.variant=t}};Td.context=Ed;var xd=Td;var EA=U`
5519
+ `}};ro.styles=[...q.styles,...Ng],p([u({type:Boolean,reflect:!0})],ro.prototype,"inverted",2),p([u({type:String,reflect:!0})],ro.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],ro.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],ro.prototype,"variant",2);var Kh=ro;Kh.register(Lg);var gA=Kh;Va.register(dv);var bA=Va;var yA={COMPLETE:"complete",INCOMPLETE:"incomplete"},qh={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Xh={STATUS:yA.INCOMPLETE,ORIENTATION:qh.HORIZONTAL},Og=z.constructTagName("stepperconnector");var Rg=z.constructTagName("stepperitem"),Zh={INLINE:"inline",STACKED:"stacked"},Ei={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},bd={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Qh={VARIANT:Zh.INLINE,STATUS:Ei.NOT_STARTED};var yd=z.constructTagName("stepper"),pn={ORIENTATION:qh.HORIZONTAL,VARIANT:Zh.INLINE};var Ed=class{constructor(o,t){this.orientation=o,this.variant=t}};Ed.context=yd;var Td=Ed;var EA=U`
5520
5520
  :host {
5521
5521
  gap: 0.5rem;
5522
5522
  }
@@ -5553,7 +5553,7 @@
5553
5553
  padding-top: 0.9375rem;
5554
5554
  margin: 0 -3rem;
5555
5555
  }
5556
- `,Mg=[yt,EA];var Us=class extends Ee{constructor(){super({context:xd.context,initialValue:new xd(pn.ORIENTATION,pn.VARIANT)});this.orientation=pn.ORIENTATION;this.variant=pn.VARIANT}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}static get Context(){return xd.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 _` <slot></slot> `}};Us.styles=[...q.styles,...Mg],p([u({type:String,reflect:!0})],Us.prototype,"orientation",2),p([u({type:String,reflect:!0})],Us.prototype,"variant",2);var Wo=Us;Wo.register(Ed);var TA=Wo;var xA=U`
5556
+ `,Mg=[yt,EA];var Us=class extends Ee{constructor(){super({context:Td.context,initialValue:new Td(pn.ORIENTATION,pn.VARIANT)});this.orientation=pn.ORIENTATION;this.variant=pn.VARIANT}connectedCallback(){super.connectedCallback(),this.role=rt.LIST}static get Context(){return Td.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 _` <slot></slot> `}};Us.styles=[...q.styles,...Mg],p([u({type:String,reflect:!0})],Us.prototype,"orientation",2),p([u({type:String,reflect:!0})],Us.prototype,"variant",2);var Wo=Us;Wo.register(yd);var TA=Wo;var xA=U`
5557
5557
  :host {
5558
5558
  --mdc-stepperconnector-complete-background: var(--mds-color-theme-outline-theme-normal);
5559
5559
  --mdc-stepperconnector-incomplete-background: var(--mds-color-theme-outline-primary-normal);
@@ -5744,7 +5744,7 @@
5744
5744
  :host([status='error-incomplete']:active) {
5745
5745
  --mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
5746
5746
  }
5747
- `,Dg=[yt,SA,...St()];var Ti=class extends Fr(q){constructor(){super();this.variant=Qh.VARIANT;this.status=Qh.STATUS;this.label="";this.stepperContext=xe.consume({host:this,context:Wo.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var s;super.updated(t);let r=(s=this.stepperContext)==null?void 0:s.value;!r||!r.variant||(this.variant=r.variant)}connectedCallback(){super.connectedCallback(),this.role=rt.LISTITEM}handleKeyDown(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Z.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Z.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===Ei.COMPLETED?_`<mdc-icon part="status-icon" name=${yd.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===Ei.ERROR_CURRENT||this.status===Ei.CURRENT?_`<mdc-icon part="status-icon" name=${yd.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===Ei.NOT_STARTED||this.status===Ei.ERROR_INCOMPLETE)?_`<mdc-text part="step-number" tagname=${mt.SPAN} type=${ot.BODY_MIDSIZE_REGULAR}
5747
+ `,Dg=[yt,SA,...St()];var Ti=class extends Fr(q){constructor(){super();this.variant=Qh.VARIANT;this.status=Qh.STATUS;this.label="";this.stepperContext=xe.consume({host:this,context:Wo.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var s;super.updated(t);let r=(s=this.stepperContext)==null?void 0:s.value;!r||!r.variant||(this.variant=r.variant)}connectedCallback(){super.connectedCallback(),this.role=rt.LISTITEM}handleKeyDown(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===Z.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[Z.ENTER,Z.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===Z.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===Ei.COMPLETED?_`<mdc-icon part="status-icon" name=${bd.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===Ei.ERROR_CURRENT||this.status===Ei.CURRENT?_`<mdc-icon part="status-icon" name=${bd.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===Ei.NOT_STARTED||this.status===Ei.ERROR_INCOMPLETE)?_`<mdc-text part="step-number" tagname=${mt.SPAN} type=${ot.BODY_MIDSIZE_REGULAR}
5748
5748
  >${this.stepNumber}</mdc-text
5749
5749
  >`:j}renderHelpText(){if(!this.helpText)return j;let t=_`<mdc-text
5750
5750
  part="help-text"
@@ -5752,7 +5752,7 @@
5752
5752
  type=${ot.BODY_MIDSIZE_REGULAR}
5753
5753
  >${this.helpText}</mdc-text
5754
5754
  >`;return this.status===Ei.ERROR_INCOMPLETE||this.status===Ei.ERROR_CURRENT?_`<div part="help-text-container">
5755
- <mdc-icon part="help-icon" name=${yd.ERROR} length-unit="rem" size="1"></mdc-icon>
5755
+ <mdc-icon part="help-icon" name=${bd.ERROR} length-unit="rem" size="1"></mdc-icon>
5756
5756
  ${t}
5757
5757
  </div>`:t}render(){return _` <div part="status-container">${this.renderStatusIcon()}</div>
5758
5758
  <div part="label-container">
@@ -5760,7 +5760,7 @@
5760
5760
  >${this.label}</mdc-text
5761
5761
  >`:j}
5762
5762
  ${this.renderHelpText()}
5763
- </div>`}};Ti.styles=[...q.styles,...Dg],p([u({type:String,reflect:!0})],Ti.prototype,"variant",2),p([u({type:String,reflect:!0})],Ti.prototype,"status",2),p([u({type:String,reflect:!0})],Ti.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],Ti.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],Ti.prototype,"stepNumber",2);var tp=Ti;tp.register(Rg);var IA=tp;var Fg=z.constructTagName("tab"),ep={GLASS:"glass",LINE:"line",PILL:"pill"},Ad={VARIANT:ep.PILL,ACTIVE:!1};var _A=[yt,U`
5763
+ </div>`}};Ti.styles=[...q.styles,...Dg],p([u({type:String,reflect:!0})],Ti.prototype,"variant",2),p([u({type:String,reflect:!0})],Ti.prototype,"status",2),p([u({type:String,reflect:!0})],Ti.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],Ti.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],Ti.prototype,"stepNumber",2);var tp=Ti;tp.register(Rg);var IA=tp;var Fg=z.constructTagName("tab"),ep={GLASS:"glass",LINE:"line",PILL:"pill"},xd={VARIANT:ep.PILL,ACTIVE:!1};var _A=[yt,U`
5764
5764
  :host {
5765
5765
  --mdc-tab-content-gap: 0.5rem;
5766
5766
  --mdc-tab-height: 2rem;
@@ -5962,7 +5962,7 @@
5962
5962
  --mdc-tab-background-color: var(--mds-color-theme-button-secondary-active-normal);
5963
5963
  --mdc-tab-color: var(--mds-color-theme-text-primary-disabled);
5964
5964
  }
5965
- `,...St()],$g=_A;var io=class extends Xt(se){constructor(){super(...arguments);this.active=Ad.ACTIVE;this.variant=Ad.VARIANT;this.handleTabActiveChange=t=>{let r=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(r)}}connectedCallback(){super.connectedCallback(),this.role=rt.TAB,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=`${Eo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(ep).includes(t)?t:Ad.VARIANT)}setActive(t,r){super.setActive(t,r),this.modifyIconName(r)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return _`
5965
+ `,...St()],$g=_A;var io=class extends Xt(se){constructor(){super(...arguments);this.active=xd.ACTIVE;this.variant=xd.VARIANT;this.handleTabActiveChange=t=>{let r=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(r)}}connectedCallback(){super.connectedCallback(),this.role=rt.TAB,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=`${Eo(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(ep).includes(t)?t:xd.VARIANT)}setActive(t,r){super.setActive(t,r),this.modifyIconName(r)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return _`
5966
5966
  <div part="container">
5967
5967
  <slot name="prefix">
5968
5968
  ${this.iconName?_` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:j}
@@ -6008,7 +6008,7 @@
6008
6008
  :host mdc-button[prefix-icon='arrow-right-regular'] {
6009
6009
  margin-left: var(--mdc-tablist-arrow-button-margin);
6010
6010
  }
6011
- `],zg=[...kA];var Vg=z.constructTagName("tablist"),mn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Gs={FORWARD:"forward",BACKWARD:"backward"};var Sd=n=>n[0],rp=n=>n[n.length-1],Bg=(n,o)=>{let t=n.findIndex(r=>o===r)-1;return n[(t+n.length)%n.length]},Ug=(n,o)=>{let t=n.findIndex(r=>o===r)+1;return n[t%n.length]},Hg=(n,o)=>n.find(t=>t.tabId===o),ip=n=>n.find(o=>o.active);var Nr=class extends q{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var s,d,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(b=>b.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=(s=Sd(this.tabs))==null?void 0:s.tabId),(d=this.tabsContainer)==null||d.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,r;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(r=this.tabsContainer)==null||r.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let r=Hg(this.tabs,this.activeTabId);if(!(r instanceof gr))return;this.setActiveTab(r),t.get("activeTabId")?(this.fireTabChangeEvent(r),await this.focusTab(r)):this.resetTabIndexAndSetNewTabIndex(r)}}fireTabChangeEvent(t){let r=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(r)}async handleFocus(t){if(t.relatedTarget instanceof gr||!(t.target instanceof gr))return;let r=ip(this.tabs||[]);r instanceof gr&&await this.focusTab(r)}handleMousedown(t){t.target instanceof gr&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let r=t.target;r instanceof gr&&(this.setActiveTab(r),await this.focusTab(r),this.activeTabId=r.tabId)}resetTabIndexAndSetNewTabIndex(t){var r;(r=this.tabs)==null||r.forEach(s=>{s.setAttribute("tabindex",s===t?"0":"-1")})}setActiveTab(t){var r;(r=this.tabs)==null||r.forEach(s=>{s===t?s.setAttribute("active",""):s.removeAttribute("active")})}async focusTab(t){t instanceof gr&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let r=t.target;if(!(r instanceof gr)||!this.tabs)return;let s=Bg(this.tabs,r),d=Ug(this.tabs,r),m=Sd(this.tabs),b=rp(this.tabs);switch(t.code){case mn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:s);break;case mn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?s:d);break;case mn.HOME:await this.focusTab(m);break;case mn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Gs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,r;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=ip(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((r=this.notFocusedArrowButton)==null||r.focus())}async handleArrowButtonVisibility(){var K,Q,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof To&&(t=!0);let r=Sd(this.tabs),s=rp(this.tabs),d=r.getBoundingClientRect().left,m=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().left,b=s.getBoundingClientRect().right,x=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,N=r.getBoundingClientRect().right,B=s.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>x?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}N>x?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,B<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let r=this.isRtl()?-1:1,s=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Gs.FORWARD?r:s),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",r=this.isRtl()?"right":"left",s=d=>_` ${this.shouldShowArrowButton(d)?_`<mdc-button
6011
+ `],zg=[...kA];var Vg=z.constructTagName("tablist"),mn={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Gs={FORWARD:"forward",BACKWARD:"backward"};var Ad=n=>n[0],rp=n=>n[n.length-1],Bg=(n,o)=>{let t=n.findIndex(r=>o===r)-1;return n[(t+n.length)%n.length]},Ug=(n,o)=>{let t=n.findIndex(r=>o===r)+1;return n[t%n.length]},Hg=(n,o)=>n.find(t=>t.tabId===o),ip=n=>n.find(o=>o.active);var Nr=class extends q{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var s,d,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(b=>b.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=(s=Ad(this.tabs))==null?void 0:s.tabId),(d=this.tabsContainer)==null||d.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,r;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(r=this.tabsContainer)==null||r.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let r=Hg(this.tabs,this.activeTabId);if(!(r instanceof gr))return;this.setActiveTab(r),t.get("activeTabId")?(this.fireTabChangeEvent(r),await this.focusTab(r)):this.resetTabIndexAndSetNewTabIndex(r)}}fireTabChangeEvent(t){let r=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(r)}async handleFocus(t){if(t.relatedTarget instanceof gr||!(t.target instanceof gr))return;let r=ip(this.tabs||[]);r instanceof gr&&await this.focusTab(r)}handleMousedown(t){t.target instanceof gr&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let r=t.target;r instanceof gr&&(this.setActiveTab(r),await this.focusTab(r),this.activeTabId=r.tabId)}resetTabIndexAndSetNewTabIndex(t){var r;(r=this.tabs)==null||r.forEach(s=>{s.setAttribute("tabindex",s===t?"0":"-1")})}setActiveTab(t){var r;(r=this.tabs)==null||r.forEach(s=>{s===t?s.setAttribute("active",""):s.removeAttribute("active")})}async focusTab(t){t instanceof gr&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let r=t.target;if(!(r instanceof gr)||!this.tabs)return;let s=Bg(this.tabs,r),d=Ug(this.tabs,r),m=Ad(this.tabs),b=rp(this.tabs);switch(t.code){case mn.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?d:s);break;case mn.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?s:d);break;case mn.HOME:await this.focusTab(m);break;case mn.END:await this.focusTab(b);break;default:}}shouldShowArrowButton(t){return t===Gs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,r;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=ip(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((r=this.notFocusedArrowButton)==null||r.focus())}async handleArrowButtonVisibility(){var K,Q,X;if(!this.tabs||!this.tabsContainer)return;let t=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof To&&(t=!0);let r=Ad(this.tabs),s=rp(this.tabs),d=r.getBoundingClientRect().left,m=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().left,b=s.getBoundingClientRect().right,x=(X=this.tabsContainer)==null?void 0:X.getBoundingClientRect().right,N=r.getBoundingClientRect().right,B=s.getBoundingClientRect().left;if(!this.isRtl()){d<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,b>x?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}N>x?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,B<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var d;let r=this.isRtl()?-1:1,s=this.isRtl()?1:-1;(d=this.tabsContainer)==null||d.scrollBy({left:this.tabsContainer.clientWidth*(t===Gs.FORWARD?r:s),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",r=this.isRtl()?"right":"left",s=d=>_` ${this.shouldShowArrowButton(d)?_`<mdc-button
6012
6012
  variant="tertiary"
6013
6013
  prefix-icon="arrow-${d===Gs.FORWARD?t:r}-regular"
6014
6014
  aria-label="Scroll tabs ${d===Gs.FORWARD?t:r}"
@@ -6142,7 +6142,7 @@
6142
6142
  :host([disabled])::part(resize-button) {
6143
6143
  cursor: default;
6144
6144
  }
6145
- `,...St(!0)],Wg=NA;var ie=class extends Te(_e(Ut(mr))){constructor(){super(...arguments);this.rows=un.ROWS;this.wrap=sp.SOFT;this.autocapitalize=td.OFF;this.autocomplete=Yg.OFF;this.resizable=!1;this.characterLimitExceedingFired=!1;this.resizeStartY=0;this.resizeStartRows=0;this.handlePointerDown=t=>{if(this.readonly)return;let r=t.currentTarget;r&&(t.preventDefault(),this.resizeStartY=t.clientY,this.resizeStartRows=this.rows||un.ROWS,r.setPointerCapture(t.pointerId),r.addEventListener("pointermove",this.handlePointerMove),r.addEventListener("pointerup",this.handlePointerUp),r.addEventListener("lostpointercapture",this.handlePointerUp))};this.handlePointerMove=t=>{if(!this.textarea)return;let r=t.clientY-this.resizeStartY,s=parseFloat(window.getComputedStyle(this.textarea).lineHeight),d=Math.round(r/s);this.rows=Math.max(1,this.resizeStartRows+d)};this.handlePointerUp=t=>{let r=t.currentTarget;r&&(t.type==="pointerup"&&r.hasPointerCapture(t.pointerId)&&r.releasePointerCapture(t.pointerId),r.removeEventListener("pointermove",this.handlePointerMove),r.removeEventListener("pointerup",this.handlePointerUp),r.removeEventListener("lostpointercapture",this.handlePointerUp))}}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(r=>{this.onerror&&this.onerror(r)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===$t.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()),t.has("helpText")&&this.announceMaxLengthWarning()}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),this.announceMaxLengthWarning()}announceMaxLengthWarning(){this.ariaLiveAnnouncer="",!(!this.maxCharacterLimit||this.value.length===0)&&(this.helpText&&this.value.length>this.maxCharacterLimit?this.updateComplete.then(()=>{this.ariaLiveAnnouncer=this.helpText}).catch(()=>{}):this.characterLimitAnnouncement&&this.value.length<=this.maxCharacterLimit&&(this.ariaLiveAnnouncer=this.characterLimitAnnouncement.replace("%{number-of-characters}",this.value.length.toString()).replace("%{max-character-limit}",this.maxCharacterLimit.toString())))}onChange(t){this.updateValue();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?_`
6145
+ `,...St(!0)],Wg=NA;var ie=class extends Te(_e(Ut(mr))){constructor(){super(...arguments);this.rows=un.ROWS;this.wrap=sp.SOFT;this.autocapitalize=Jl.OFF;this.autocomplete=Yg.OFF;this.resizable=!1;this.characterLimitExceedingFired=!1;this.resizeStartY=0;this.resizeStartRows=0;this.handlePointerDown=t=>{if(this.readonly)return;let r=t.currentTarget;r&&(t.preventDefault(),this.resizeStartY=t.clientY,this.resizeStartRows=this.rows||un.ROWS,r.setPointerCapture(t.pointerId),r.addEventListener("pointermove",this.handlePointerMove),r.addEventListener("pointerup",this.handlePointerUp),r.addEventListener("lostpointercapture",this.handlePointerUp))};this.handlePointerMove=t=>{if(!this.textarea)return;let r=t.clientY-this.resizeStartY,s=parseFloat(window.getComputedStyle(this.textarea).lineHeight),d=Math.round(r/s);this.rows=Math.max(1,this.resizeStartRows+d)};this.handlePointerUp=t=>{let r=t.currentTarget;r&&(t.type==="pointerup"&&r.hasPointerCapture(t.pointerId)&&r.releasePointerCapture(t.pointerId),r.removeEventListener("pointermove",this.handlePointerMove),r.removeEventListener("pointerup",this.handlePointerUp),r.removeEventListener("lostpointercapture",this.handlePointerUp))}}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(r=>{this.onerror&&this.onerror(r)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===$t.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()),t.has("helpText")&&this.announceMaxLengthWarning()}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),this.announceMaxLengthWarning()}announceMaxLengthWarning(){this.ariaLiveAnnouncer="",!(!this.maxCharacterLimit||this.value.length===0)&&(this.helpText&&this.value.length>this.maxCharacterLimit?this.updateComplete.then(()=>{this.ariaLiveAnnouncer=this.helpText}).catch(()=>{}):this.characterLimitAnnouncement&&this.value.length<=this.maxCharacterLimit&&(this.ariaLiveAnnouncer=this.characterLimitAnnouncement.replace("%{number-of-characters}",this.value.length.toString()).replace("%{max-character-limit}",this.maxCharacterLimit.toString())))}onChange(t){this.updateValue();let r=t.constructor;this.dispatchEvent(new r(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?_`
6146
6146
  <mdc-text part="character-counter" tagname="span" type=${un.CHARACTER_COUNTER_TYPE}>
6147
6147
  ${this.value.length}/${this.maxCharacterLimit}
6148
6148
  </mdc-text>
@@ -6218,7 +6218,7 @@
6218
6218
  >
6219
6219
  <slot @slotchange=${this.handleSlotChange} part="${Kr.CSS_PART_HIDDEN}"></slot>
6220
6220
  </div>
6221
- `}};Lr.styles=[...q.styles,...jg],p([u({attribute:"type",reflect:!0,type:String})],Lr.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Lr.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Lr.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Lr.prototype,"maxQueueSize",2),p([ut()],Lr.prototype,"displayedText",2),p([ut()],Lr.prototype,"originalText",2),p([ut()],Lr.prototype,"typingComplete",2);var np=Lr;np.register(Kg);var RA=np;var Id=z.constructTagName("themeprovider"),lp={THEMECLASS:"mds-theme-stable-darkWebex"};var _d=class{constructor(o){this.themeclass=o}};_d.context=Id;var Cd=_d;var MA=U`
6221
+ `}};Lr.styles=[...q.styles,...jg],p([u({attribute:"type",reflect:!0,type:String})],Lr.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Lr.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Lr.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Lr.prototype,"maxQueueSize",2),p([ut()],Lr.prototype,"displayedText",2),p([ut()],Lr.prototype,"originalText",2),p([ut()],Lr.prototype,"typingComplete",2);var np=Lr;np.register(Kg);var RA=np;var Sd=z.constructTagName("themeprovider"),lp={THEMECLASS:"mds-theme-stable-darkWebex"};var Id=class{constructor(o){this.themeclass=o}};Id.context=Sd;var _d=Id;var MA=U`
6222
6222
  :host {
6223
6223
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
6224
6224
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -6245,7 +6245,7 @@
6245
6245
  * {
6246
6246
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
6247
6247
  }
6248
- `,qg=[MA];var Ys=class extends Ee{constructor(){super({context:Cd.context,initialValue:new Cd(lp.THEMECLASS)});this.themeclass=lp.THEMECLASS}static get Context(){return Cd.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(" "))}};Ys.styles=[...Ee.styles,...qg],p([ut()],Ys.prototype,"currentThemeClass",2),p([u({type:String})],Ys.prototype,"themeclass",2);var dp=Ys;dp.register(Id);var PA=dp;var Xg=z.constructTagName("toast"),fn={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},kd={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Ke={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:lr[20],BUTTON:oi,PRIMARY_BUTTON:Ft.PRIMARY,SECONDARY_BUTTON:Ft.SECONDARY,TERTIARY_BUTTON:Ft.TERTIARY,VARIANT:fn.CUSTOM};var Zg=n=>{switch(n){case fn.SUCCESS:return kd.SUCCESS_ICON_NAME;case fn.WARNING:return kd.WARNING_ICON_NAME;case fn.ERROR:return kd.ERROR_ICON_NAME;default:return null}};var DA=U`
6248
+ `,qg=[MA];var Ys=class extends Ee{constructor(){super({context:_d.context,initialValue:new _d(lp.THEMECLASS)});this.themeclass=lp.THEMECLASS}static get Context(){return _d.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(" "))}};Ys.styles=[...Ee.styles,...qg],p([ut()],Ys.prototype,"currentThemeClass",2),p([u({type:String})],Ys.prototype,"themeclass",2);var dp=Ys;dp.register(Sd);var PA=dp;var Xg=z.constructTagName("toast"),fn={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Cd={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Ke={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:lr[20],BUTTON:oi,PRIMARY_BUTTON:Ft.PRIMARY,SECONDARY_BUTTON:Ft.SECONDARY,TERTIARY_BUTTON:Ft.TERTIARY,VARIANT:fn.CUSTOM};var Zg=n=>{switch(n){case fn.SUCCESS:return Cd.SUCCESS_ICON_NAME;case fn.WARNING:return Cd.WARNING_ICON_NAME;case fn.ERROR:return Cd.ERROR_ICON_NAME;default:return null}};var DA=U`
6249
6249
  :host {
6250
6250
  --mdc-toast-background-color: var(--mds-color-theme-background-solid-primary-normal);
6251
6251
  --mdc-toast-border-color: var(--mds-color-theme-outline-primary-normal);
@@ -6479,7 +6479,7 @@
6479
6479
  `}};Ws.styles=[...mr.styles,...Jg],p([u({type:Boolean,reflect:!0})],Ws.prototype,"checked",2),p([u({type:String,reflect:!0})],Ws.prototype,"size",2);var hp=Ws;hp.register(Kv);var zA=hp;function Ko(n,o,t){var m;let r=(m=t.initialDeps)!=null?m:[],s;function d(){var b,x,N,B;let K;t.key&&((b=t.debug)!=null&&b.call(t))&&(K=Date.now());let Q=n();if(!(Q.length!==r.length||Q.some((dt,lt)=>r[lt]!==dt)))return s;r=Q;let it;if(t.key&&((x=t.debug)!=null&&x.call(t))&&(it=Date.now()),s=o(...Q),t.key&&((N=t.debug)!=null&&N.call(t))){let dt=Math.round((Date.now()-K)*100)/100,lt=Math.round((Date.now()-it)*100)/100,bt=lt/16,It=(Ct,Yt)=>{for(Ct=String(Ct);Ct.length<Yt;)Ct=" "+Ct;return Ct};console.info(`%c\u23F1 ${It(lt,5)} /${It(dt,5)} ms`,`
6480
6480
  font-size: .6rem;
6481
6481
  font-weight: bold;
6482
- color: hsl(${Math.max(0,Math.min(120-120*bt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(B=t==null?void 0:t.onChange)==null||B.call(t,s),s}return d.updateDeps=b=>{r=b},d}function pp(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var tb=(n,o)=>Math.abs(n-o)<1.01,eb=(n,o,t)=>{let r;return function(...s){n.clearTimeout(r),r=n.setTimeout(()=>o.apply(this,s),t)}};var rb=n=>{let{offsetWidth:o,offsetHeight:t}=n;return{width:o,height:t}},VA=n=>n,mp=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),r=[];for(let s=o;s<=t;s++)r.push(s);return r},sb=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=m=>{let{width:b,height:x}=m;o({width:Math.round(b),height:Math.round(x)})};if(s(rb(t)),!r.ResizeObserver)return()=>{};let d=new r.ResizeObserver(m=>{let b=()=>{let x=m[0];if(x!=null&&x.borderBoxSize){let N=x.borderBoxSize[0];if(N){s({width:N.inlineSize,height:N.blockSize});return}}s(rb(t))};n.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(b):b()});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},ib={passive:!0};var ob=typeof window>"u"?!0:"onscrollend"in window,ab=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=0,d=n.options.useScrollendEvent&&ob?()=>{}:eb(r,()=>{o(s,!1)},n.options.isScrollingResetDelay),m=B=>()=>{let{horizontal:K,isRtl:Q}=n.options;s=K?t.scrollLeft*(Q&&-1||1):t.scrollTop,d(),o(s,B)},b=m(!0),x=m(!1);x(),t.addEventListener("scroll",b,ib);let N=n.options.useScrollendEvent&&ob;return N&&t.addEventListener("scrollend",x,ib),()=>{t.removeEventListener("scroll",b),N&&t.removeEventListener("scrollend",x)}};var BA=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let r=o.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return n[t.options.horizontal?"offsetWidth":"offsetHeight"]};var nb=(n,{adjustments:o=0,behavior:t},r)=>{var s,d;let m=n+o;(d=(s=r.scrollElement)==null?void 0:s.scrollTo)==null||d.call(s,{[r.options.horizontal?"left":"top"]:m,behavior:t})},wd=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,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,r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(s=>{s.forEach(d=>{let m=()=>{this._measureElement(d.target,d)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(m):m()})}));return{disconnect:()=>{var s;(s=r())==null||s.disconnect(),t=null},observe:s=>{var d;return(d=r())==null?void 0:d.observe(s,{box:"border-box"})},unobserve:s=>{var d;return(d=r())==null?void 0:d.unobserve(s)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,s])=>{typeof s>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:VA,rangeExtractor:mp,onChange:()=>{},measureElement:BA,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var r,s;(s=(r=this.options).onChange)==null||s.call(r,this,t)},this.maybeNotify=Ko(()=>(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 s;var t;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(s=(t=this.scrollElement)==null?void 0:t.window)!=null?s:null,this.elementsCache.forEach(d=>{this.observer.observe(d)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,d=>{this.scrollRect=d,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(d,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<d?"forward":"backward":null,this.scrollOffset=d,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,r)=>{let s=new Map,d=new Map;for(let m=r-1;m>=0;m--){let b=t[m];if(s.has(b.lane))continue;let x=d.get(b.lane);if(x==null||b.end>x.end?d.set(b.lane,b):b.end<x.end&&s.set(b.lane,!0),s.size===this.options.lanes)break}return d.size===this.options.lanes?Array.from(d.values()).sort((m,b)=>m.end===b.end?m.index-b.index:m.end-b.end)[0]:void 0},this.getMeasurementOptions=Ko(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,r,s,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Ko(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m},b)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(B=>{this.itemSizeCache.set(B.key,B.size)}));let x=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let N=this.measurementsCache.slice(0,x);for(let B=x;B<t;B++){let K=d(B),Q=this.options.lanes===1?N[B-1]:this.getFurthestMeasurement(N,B),X=Q?Q.end+this.options.gap:r+s,it=b.get(K),dt=typeof it=="number"?it:this.options.estimateSize(B),lt=X+dt,bt=Q?Q.lane:B%this.options.lanes;N[B]={index:B,start:X,size:dt,end:lt,key:K,lane:bt}}return this.measurementsCache=N,N},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Ko(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,s,d)=>this.range=t.length>0&&r>0?UA({measurements:t,outerSize:r,scrollOffset:s,lanes:d}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Ko(()=>{let t=null,r=null,s=this.calculateRange();return s&&(t=s.startIndex,r=s.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,s,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:r,count:s}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let r=this.options.indexAttribute,s=t.getAttribute(r);return s?parseInt(s,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{let s=this.indexFromElement(t),d=this.measurementsCache[s];if(!d)return;let m=d.key,b=this.elementsCache.get(m);b!==t&&(b&&this.observer.unobserve(b),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(s,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{var b;let s=this.measurementsCache[t];if(!s)return;let d=(b=this.itemSizeCache.get(s.key))!=null?b:s.size,m=r-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(s,m,this):s.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(s.index),this.itemSizeCache=new Map(this.itemSizeCache.set(s.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,s)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(s))});return}this._measureElement(t,void 0)},this.getVirtualItems=Ko(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{let s=[];for(let d=0,m=t.length;d<m;d++){let b=t[d],x=r[b];s.push(x)}return s},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let r=this.getMeasurements();if(r.length!==0)return pp(r[lb(0,r.length-1,s=>pp(r[s]).start,t)])},this.getOffsetForAlignment=(t,r,s=0)=>{let d=this.getSize(),m=this.getScrollOffset();r==="auto"&&(r=t>=m+d?"end":"start"),r==="center"?t+=(s-d)/2:r==="end"&&(t-=d);let b=this.getTotalSize()+this.options.scrollMargin-d;return Math.max(Math.min(b,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let s=this.measurementsCache[t];if(!s)return;let d=this.getSize(),m=this.getScrollOffset();if(r==="auto")if(s.end>=m+d-this.options.scrollPaddingEnd)r="end";else if(s.start<=m+this.options.scrollPaddingStart)r="start";else return[m,r];let b=r==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(b,r,s.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:r="start",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:s})},this.scrollToIndex=(t,{align:r="auto",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1));let d=0,m=10,b=N=>{if(!this.targetWindow)return;let B=this.getOffsetForIndex(t,N);if(!B){console.warn("Failed to get offset for index:",t);return}let[K,Q]=B;this._scrollToOffset(K,{adjustments:void 0,behavior:s}),this.targetWindow.requestAnimationFrame(()=>{let X=this.getScrollOffset(),it=this.getOffsetForIndex(t,Q);if(!it){console.warn("Failed to get offset for index:",t);return}tb(it[0],X)||x(Q)})},x=N=>{this.targetWindow&&(d++,d<m?this.targetWindow.requestAnimationFrame(()=>b(N)):console.warn(`Failed to scroll to index ${t} after ${m} attempts.`))};b(r)},this.scrollBy=(t,{behavior:r}={})=>{r==="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:r})},this.getTotalSize=()=>{var d;var t;let r=this.getMeasurements(),s;if(r.length===0)s=this.options.paddingStart;else if(this.options.lanes===1)s=(d=(t=r[r.length-1])==null?void 0:t.end)!=null?d:0;else{let m=Array(this.options.lanes).fill(null),b=r.length-1;for(;b>=0&&m.some(x=>x===null);){let x=r[b];m[x.lane]===null&&(m[x.lane]=x.end),b--}s=Math.max(...m.filter(x=>x!==null))}return Math.max(s-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:s})=>{this.options.scrollToFn(t,{behavior:s,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},lb=(n,o,t,r)=>{for(;n<=o;){let s=(n+o)/2|0,d=t(s);if(d<r)n=s+1;else if(d>r)o=s-1;else return s}return n>0?n-1:0};function UA({measurements:n,outerSize:o,scrollOffset:t,lanes:r}){let s=n.length-1,d=x=>n[x].start;if(n.length<=r)return{startIndex:0,endIndex:s};let m=lb(0,s,d,t),b=m;if(r===1)for(;b<s&&n[b].end<t+o;)b++;else if(r>1){let x=Array(r).fill(0);for(;b<s&&x.some(B=>B<t+o);){let B=n[b];x[B.lane]=B.end,b++}let N=Array(r).fill(t+o);for(;m>=0&&N.some(B=>B>=t);){let B=n[m];N[B.lane]=B.start,m--}m=Math.max(0,m-m%r),b=Math.min(s,b+(r-1-b%r))}return{startIndex:m,endIndex:b}}var up=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let r={...t,onChange:(s,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,s,d)}};this.virtualizer=new wd(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Nd=class extends up{constructor(o,t){super(o,{observeElementRect:sb,observeElementOffset:ab,scrollToFn:nb,...t})}};var HA={includeEnd:!1},Ld=class{constructor(o,t,r={}){let s={...HA,...r};this.start=o,this.end=t,this.includeEnd=s.includeEnd}includes(o){let{start:t,end:r,includeEnd:s}=this,d=Math.min(t,r),m=Math.max(t,r);return s?o>=d&&o<=m:o>=d&&o<m}iter(o=1){if(o<=0)throw new Error("Step must be a positive non-zero number");let t=o*(this.start<=this.end?1:-1),{includeEnd:r,end:s}=this,d=this.start,m=!1;return{next:()=>{if(m)return{value:void 0,done:!0};let b=d;return d+=t,(r?b>s:b>=s)?(m=!0,{value:void 0,done:!0}):{value:b,done:!1}}}}[Symbol.iterator](){return this.iter()}};var Od=class{constructor(o,t,r){this.getIndex=()=>0;this.items=o,this.getIndex=t,this.lengthFn=r}get length(){return this.lengthFn()}at(o){return this.items.find(t=>this.getIndex(t)===o)}map(o,t){return this.items.map((r,s,d)=>o.call(t,r,this.getIndex(r),d))}forEach(o,t){this.items.forEach((r,s,d)=>{o.call(t,r,this.getIndex(r),d)})}findIndex(o,t){let r=this.items.find((s,d,m)=>o.call(t,s,this.getIndex(s),m));return r?this.getIndex(r):-1}find(o,t){return this.items.find((r,s,d)=>o.call(t,r,this.getIndex(r),d))}};var GA=[U`
6482
+ color: hsl(${Math.max(0,Math.min(120-120*bt,120))}deg 100% 31%);`,t==null?void 0:t.key)}return(B=t==null?void 0:t.onChange)==null||B.call(t,s),s}return d.updateDeps=b=>{r=b},d}function pp(n,o){if(n===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return n}var tb=(n,o)=>Math.abs(n-o)<1.01,eb=(n,o,t)=>{let r;return function(...s){n.clearTimeout(r),r=n.setTimeout(()=>o.apply(this,s),t)}};var rb=n=>{let{offsetWidth:o,offsetHeight:t}=n;return{width:o,height:t}},VA=n=>n,mp=n=>{let o=Math.max(n.startIndex-n.overscan,0),t=Math.min(n.endIndex+n.overscan,n.count-1),r=[];for(let s=o;s<=t;s++)r.push(s);return r},sb=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=m=>{let{width:b,height:x}=m;o({width:Math.round(b),height:Math.round(x)})};if(s(rb(t)),!r.ResizeObserver)return()=>{};let d=new r.ResizeObserver(m=>{let b=()=>{let x=m[0];if(x!=null&&x.borderBoxSize){let N=x.borderBoxSize[0];if(N){s({width:N.inlineSize,height:N.blockSize});return}}s(rb(t))};n.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(b):b()});return d.observe(t,{box:"border-box"}),()=>{d.unobserve(t)}},ib={passive:!0};var ob=typeof window>"u"?!0:"onscrollend"in window,ab=(n,o)=>{let t=n.scrollElement;if(!t)return;let r=n.targetWindow;if(!r)return;let s=0,d=n.options.useScrollendEvent&&ob?()=>{}:eb(r,()=>{o(s,!1)},n.options.isScrollingResetDelay),m=B=>()=>{let{horizontal:K,isRtl:Q}=n.options;s=K?t.scrollLeft*(Q&&-1||1):t.scrollTop,d(),o(s,B)},b=m(!0),x=m(!1);x(),t.addEventListener("scroll",b,ib);let N=n.options.useScrollendEvent&&ob;return N&&t.addEventListener("scrollend",x,ib),()=>{t.removeEventListener("scroll",b),N&&t.removeEventListener("scrollend",x)}};var BA=(n,o,t)=>{if(o!=null&&o.borderBoxSize){let r=o.borderBoxSize[0];if(r)return Math.round(r[t.options.horizontal?"inlineSize":"blockSize"])}return n[t.options.horizontal?"offsetWidth":"offsetHeight"]};var nb=(n,{adjustments:o=0,behavior:t},r)=>{var s,d;let m=n+o;(d=(s=r.scrollElement)==null?void 0:s.scrollTo)==null||d.call(s,{[r.options.horizontal?"left":"top"]:m,behavior:t})},kd=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,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,r=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(s=>{s.forEach(d=>{let m=()=>{this._measureElement(d.target,d)};this.options.useAnimationFrameWithResizeObserver?requestAnimationFrame(m):m()})}));return{disconnect:()=>{var s;(s=r())==null||s.disconnect(),t=null},observe:s=>{var d;return(d=r())==null?void 0:d.observe(s,{box:"border-box"})},unobserve:s=>{var d;return(d=r())==null?void 0:d.unobserve(s)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([r,s])=>{typeof s>"u"&&delete t[r]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:VA,rangeExtractor:mp,onChange:()=>{},measureElement:BA,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!1,useAnimationFrameWithResizeObserver:!1,...t}},this.notify=t=>{var r,s;(s=(r=this.options).onChange)==null||s.call(r,this,t)},this.maybeNotify=Ko(()=>(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 s;var t;let r=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==r){if(this.cleanup(),!r){this.maybeNotify();return}this.scrollElement=r,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(s=(t=this.scrollElement)==null?void 0:t.window)!=null?s:null,this.elementsCache.forEach(d=>{this.observer.observe(d)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,d=>{this.scrollRect=d,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(d,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<d?"forward":"backward":null,this.scrollOffset=d,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,r)=>{let s=new Map,d=new Map;for(let m=r-1;m>=0;m--){let b=t[m];if(s.has(b.lane))continue;let x=d.get(b.lane);if(x==null||b.end>x.end?d.set(b.lane,b):b.end<x.end&&s.set(b.lane,!0),s.size===this.options.lanes)break}return d.size===this.options.lanes?Array.from(d.values()).sort((m,b)=>m.end===b.end?m.index-b.index:m.end-b.end)[0]:void 0},this.getMeasurementOptions=Ko(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,r,s,d,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m}),{key:!1}),this.getMeasurements=Ko(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:r,scrollMargin:s,getItemKey:d,enabled:m},b)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(B=>{this.itemSizeCache.set(B.key,B.size)}));let x=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let N=this.measurementsCache.slice(0,x);for(let B=x;B<t;B++){let K=d(B),Q=this.options.lanes===1?N[B-1]:this.getFurthestMeasurement(N,B),X=Q?Q.end+this.options.gap:r+s,it=b.get(K),dt=typeof it=="number"?it:this.options.estimateSize(B),lt=X+dt,bt=Q?Q.lane:B%this.options.lanes;N[B]={index:B,start:X,size:dt,end:lt,key:K,lane:bt}}return this.measurementsCache=N,N},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Ko(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset(),this.options.lanes],(t,r,s,d)=>this.range=t.length>0&&r>0?UA({measurements:t,outerSize:r,scrollOffset:s,lanes:d}):null,{key:!1,debug:()=>this.options.debug}),this.getVirtualIndexes=Ko(()=>{let t=null,r=null,s=this.calculateRange();return s&&(t=s.startIndex,r=s.endIndex),this.maybeNotify.updateDeps([this.isScrolling,t,r]),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,r]},(t,r,s,d,m)=>d===null||m===null?[]:t({startIndex:d,endIndex:m,overscan:r,count:s}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let r=this.options.indexAttribute,s=t.getAttribute(r);return s?parseInt(s,10):(console.warn(`Missing attribute name '${r}={index}' on measured element.`),-1)},this._measureElement=(t,r)=>{let s=this.indexFromElement(t),d=this.measurementsCache[s];if(!d)return;let m=d.key,b=this.elementsCache.get(m);b!==t&&(b&&this.observer.unobserve(b),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(s,this.options.measureElement(t,r,this))},this.resizeItem=(t,r)=>{var b;let s=this.measurementsCache[t];if(!s)return;let d=(b=this.itemSizeCache.get(s.key))!=null?b:s.size,m=r-d;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(s,m,this):s.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(s.index),this.itemSizeCache=new Map(this.itemSizeCache.set(s.key,r)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((r,s)=>{r.isConnected||(this.observer.unobserve(r),this.elementsCache.delete(s))});return}this._measureElement(t,void 0)},this.getVirtualItems=Ko(()=>[this.getVirtualIndexes(),this.getMeasurements()],(t,r)=>{let s=[];for(let d=0,m=t.length;d<m;d++){let b=t[d],x=r[b];s.push(x)}return s},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let r=this.getMeasurements();if(r.length!==0)return pp(r[lb(0,r.length-1,s=>pp(r[s]).start,t)])},this.getOffsetForAlignment=(t,r,s=0)=>{let d=this.getSize(),m=this.getScrollOffset();r==="auto"&&(r=t>=m+d?"end":"start"),r==="center"?t+=(s-d)/2:r==="end"&&(t-=d);let b=this.getTotalSize()+this.options.scrollMargin-d;return Math.max(Math.min(b,t),0)},this.getOffsetForIndex=(t,r="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let s=this.measurementsCache[t];if(!s)return;let d=this.getSize(),m=this.getScrollOffset();if(r==="auto")if(s.end>=m+d-this.options.scrollPaddingEnd)r="end";else if(s.start<=m+this.options.scrollPaddingStart)r="start";else return[m,r];let b=r==="end"?s.end+this.options.scrollPaddingEnd:s.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(b,r,s.size),r]},this.isDynamicMode=()=>this.elementsCache.size>0,this.scrollToOffset=(t,{align:r="start",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,r),{adjustments:void 0,behavior:s})},this.scrollToIndex=(t,{align:r="auto",behavior:s}={})=>{s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),t=Math.max(0,Math.min(t,this.options.count-1));let d=0,m=10,b=N=>{if(!this.targetWindow)return;let B=this.getOffsetForIndex(t,N);if(!B){console.warn("Failed to get offset for index:",t);return}let[K,Q]=B;this._scrollToOffset(K,{adjustments:void 0,behavior:s}),this.targetWindow.requestAnimationFrame(()=>{let X=this.getScrollOffset(),it=this.getOffsetForIndex(t,Q);if(!it){console.warn("Failed to get offset for index:",t);return}tb(it[0],X)||x(Q)})},x=N=>{this.targetWindow&&(d++,d<m?this.targetWindow.requestAnimationFrame(()=>b(N)):console.warn(`Failed to scroll to index ${t} after ${m} attempts.`))};b(r)},this.scrollBy=(t,{behavior:r}={})=>{r==="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:r})},this.getTotalSize=()=>{var d;var t;let r=this.getMeasurements(),s;if(r.length===0)s=this.options.paddingStart;else if(this.options.lanes===1)s=(d=(t=r[r.length-1])==null?void 0:t.end)!=null?d:0;else{let m=Array(this.options.lanes).fill(null),b=r.length-1;for(;b>=0&&m.some(x=>x===null);){let x=r[b];m[x.lane]===null&&(m[x.lane]=x.end),b--}s=Math.max(...m.filter(x=>x!==null))}return Math.max(s-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:r,behavior:s})=>{this.options.scrollToFn(t,{behavior:s,adjustments:r},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},lb=(n,o,t,r)=>{for(;n<=o;){let s=(n+o)/2|0,d=t(s);if(d<r)n=s+1;else if(d>r)o=s-1;else return s}return n>0?n-1:0};function UA({measurements:n,outerSize:o,scrollOffset:t,lanes:r}){let s=n.length-1,d=x=>n[x].start;if(n.length<=r)return{startIndex:0,endIndex:s};let m=lb(0,s,d,t),b=m;if(r===1)for(;b<s&&n[b].end<t+o;)b++;else if(r>1){let x=Array(r).fill(0);for(;b<s&&x.some(B=>B<t+o);){let B=n[b];x[B.lane]=B.end,b++}let N=Array(r).fill(t+o);for(;m>=0&&N.some(B=>B>=t);){let B=n[m];N[B.lane]=B.start,m--}m=Math.max(0,m-m%r),b=Math.min(s,b+(r-1-b%r))}return{startIndex:m,endIndex:b}}var up=class{constructor(o,t){this.cleanup=()=>{},(this.host=o).addController(this);let r={...t,onChange:(s,d)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,s,d)}};this.virtualizer=new kd(r)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},wd=class extends up{constructor(o,t){super(o,{observeElementRect:sb,observeElementOffset:ab,scrollToFn:nb,...t})}};var HA={includeEnd:!1},Nd=class{constructor(o,t,r={}){let s={...HA,...r};this.start=o,this.end=t,this.includeEnd=s.includeEnd}includes(o){let{start:t,end:r,includeEnd:s}=this,d=Math.min(t,r),m=Math.max(t,r);return s?o>=d&&o<=m:o>=d&&o<m}iter(o=1){if(o<=0)throw new Error("Step must be a positive non-zero number");let t=o*(this.start<=this.end?1:-1),{includeEnd:r,end:s}=this,d=this.start,m=!1;return{next:()=>{if(m)return{value:void 0,done:!0};let b=d;return d+=t,(r?b>s:b>=s)?(m=!0,{value:void 0,done:!0}):{value:b,done:!1}}}}[Symbol.iterator](){return this.iter()}};var Ld=class{constructor(o,t,r){this.getIndex=()=>0;this.items=o,this.getIndex=t,this.lengthFn=r}get length(){return this.lengthFn()}at(o){return this.items.find(t=>this.getIndex(t)===o)}map(o,t){return this.items.map((r,s,d)=>o.call(t,r,this.getIndex(r),d))}forEach(o,t){this.items.forEach((r,s,d)=>{o.call(t,r,this.getIndex(r),d)})}findIndex(o,t){let r=this.items.find((s,d,m)=>o.call(t,s,this.getIndex(s),m));return r?this.getIndex(r):-1}find(o,t){return this.items.find((r,s,d)=>o.call(t,r,this.getIndex(r),d))}};var GA=[U`
6483
6483
  :host {
6484
6484
  height: 100%;
6485
6485
  }
@@ -6509,7 +6509,7 @@
6509
6509
  ::slotted(mdc-listitem) {
6510
6510
  position: relative;
6511
6511
  }
6512
- `],db=GA;var cb=z.constructTagName("virtualizedlist"),o9=z.constructTagName("virtualizedwrapper"),vn={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0,getItemKey:n=>n},LOOP:"false",SCROLL_ANCHORING:!1,IS_AT_BOTTOM_THRESHOLD:16};var qe=class extends Ut(Fs){constructor(){super();this.virtualizerProps=vn.VIRTUALIZER_PROPS;this.loop=vn.LOOP;this.scrollAnchoring=vn.SCROLL_ANCHORING;this.observeSizeChanges=!1;this.revertList=!1;this.atBottomThreshold=vn.IS_AT_BOTTOM_THRESHOLD;this.virtualizer=null;this.virtualizedNavItems=null;this.virtualizerController=null;this.selectedIndex=this.initialFocus;this.selectedKey=null;this.firstIndex=0;this.firstKey=null;this.hiddenIndexes=[];this.atBottomValue="no";this.atBottomTimer=-1;this.lastScrollPosition=0;this.endOfScrollQueue=[];this.resizeObserver=null;this.handleElementFirstUpdateCompleted=t=>{var r,s;this.observeSizeChanges&&this.navItems.find(d=>d===t.target)!==void 0&&((s=(r=this.virtualizer)==null?void 0:r.measureElement)==null||s.call(r,t.target))};this.addEventListener("wheel",this.handleWheelEvent.bind(this)),this.addEventListener(Gt.FIRST_UPDATE_COMPLETED,this.handleElementFirstUpdateCompleted.bind(this))}get virtualItems(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getVirtualItems())!=null?r:[]}get navItems(){var t,r,s,d;if(((t=this.virtualizedNavItems)==null?void 0:t.items)!==super.navItems){let m=(d=(s=(r=this.virtualizer)==null?void 0:r.options)==null?void 0:s.indexAttribute)!=null?d:"data-index";this.virtualizedNavItems=new Od(super.navItems,b=>Number(b.getAttribute(m)),()=>this.virtualizerProps.count)}return this.virtualizedNavItems}get atBottom(){return this.atBottomValue}set atBottom(t){(this.atBottomValue!==t||t==="yes"&&this.atBottomTimer===-1)&&(this.atBottomValue=t,t==="yes"?this.scrollToBottom():this.clearScrollToBottomTimer())}get totalListHeight(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getTotalSize())!=null?r:0}connectedCallback(){this.virtualizerController=new Nd(this,{...this.virtualizerProps,horizontal:!1,getScrollElement:()=>this.scrollRef,onChange:this.onVListStateChangeHandler.bind(this),rangeExtractor:this.virtualizerRangeExtractor.bind(this)}),this.virtualizer=this.virtualizerController.getVirtualizer(),super.connectedCallback(),this.role=null,this.atBottom=this.revertList&&this.scrollAnchoring?"yes":"no",this.resizeObserver=new ResizeObserver(this.handleResizeObserverCallback.bind(this)),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.clearScrollToBottomTimer(),this.virtualizerController=null,this.virtualizer=null,this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}async update(t){super.update(t),t.has("virtualizerProps")&&await this.handleVirtualizerPropsUpdate(t.get("virtualizerProps")),t.has("observeSizeChanges")&&this.navItems.forEach(r=>{var s,d;this.observeSizeChanges&&((d=(s=this.virtualizer)==null?void 0:s.measureElement)==null||d.call(s,r))}),t.has("scrollAnchoring")&&(this.scrollAnchoring?this.checkAtBottom():this.atBottom="no"),t.has("revertList")&&this.revertList&&this.scrollAnchoring&&(this.atBottom="yes"),t.has("atBottomThreshold")&&this.scrollAnchoring&&this.checkAtBottom()}async handleVirtualizerPropsUpdate(t){var d,m;let{virtualizer:r}=this;if(!r)return;let s=r.measurementsCache.slice();if(r.setOptions({...r.options,...this.virtualizerProps}),this.virtualizerProps.count!==(t==null?void 0:t.count)&&(this.emitChangeEvent(),this.syncUI()),this.scrollAnchoring&&s.length>0){let b=Math.abs(this.virtualizerProps.count-((d=t==null?void 0:t.count)!=null?d:0)),x=this.selectedIndex,N=this.firstKey,B=new Ld(x-b,x+b,{includeEnd:!0}),K=(m=Array.from(B).find(X=>r.options.getItemKey(X)===this.selectedKey))!=null?m:this.selectedIndex;if(this.setSelectedIndex(K),this.requestUpdate(),await this.updateComplete,this.atBottom==="yes"){this.scrollToBottom();return}if(this.focusWithin&&x!==this.selectedIndex||!this.focusWithin&&this.firstKey!==N){let X=r.measurementsCache[this.selectedIndex].end-s[x].end;this.scrollRef.scrollTop+=X}}}setInitialFocus(){setTimeout(async()=>{if(!this.virtualizer)return;let{scrollToIndex:t}=this.virtualizer;if(this.setSelectedIndex(this.initialFocus),this.selectedIndex>=this.navItems.length)return;t(this.selectedIndex,{align:"center"}),this.navItems.find(this.isElementSelected,this)&&this.resetTabIndexes(this.selectedIndex,!1)},0)}emitChangeEvent(){var r,s,d,m,b;(s=(r=this.virtualizerProps).onChange)==null||s.call(r,this.virtualizer,this.virtualizer.isScrolling);let t={virtualizer:this.virtualizer,virtualItems:(b=(m=(d=this.virtualizer)==null?void 0:d.getVirtualItems)==null?void 0:m.call(d))!=null?b:[]};this.dispatchEvent(new CustomEvent("virtualitemschange",{detail:t,bubbles:!1,cancelable:!1}))}virtualizerRangeExtractor(t){var x,N,B,K;let{navItems:r,virtualizerProps:s,virtualizer:d}=this,m=(N=(x=s.rangeExtractor)==null?void 0:x.call(s,t))!=null?N:mp(t);return this.hiddenIndexes.forEach(Q=>{let X=r.at(Q);X&&(X.removeAttribute("data-virtualized-hidden"),X.style.removeProperty("--mdc-virtualizedlist-hidden-top"))}),this.firstIndex=t.startIndex,this.firstKey=(K=(B=this.virtualizer)==null?void 0:B.options.getItemKey(this.firstIndex))!=null?K:null,this.hiddenIndexes.length=0,[this.selectedIndex-1,this.selectedIndex,this.selectedIndex+1].forEach(Q=>{var X;m.includes(Q)||(Q<t.startIndex&&Q>=0&&(m.unshift(Q),this.hiddenIndexes.push(Q)),Q>t.endIndex&&Q<((X=d==null?void 0:d.options.count)!=null?X:0)&&(m.push(Q),this.hiddenIndexes.push(Q)))}),this.updateHiddenItemsPosition(t),m.sort((Q,X)=>Q-X),m}updateHiddenItemsPosition(t){let{navItems:r,virtualizerProps:s,virtualizer:d}=this;if(!d||s.count===0)return;let{measurementsCache:m}=d;this.hiddenIndexes.forEach(b=>{let x=r.at(b);if(x){let N=Math.max(t.startIndex-t.overscan,0),B=m[N],K=m[b];x.setAttribute("data-virtualized-hidden","true"),x.style.setProperty("--mdc-virtualizedlist-hidden-top",`${K.start-B.start}px`)}})}isElementSelected(t){var r;return((r=this.virtualizer)==null?void 0:r.indexFromElement(t))===this.selectedIndex}setSelectedIndex(t){if(this.virtualizer){let{count:r,getItemKey:s}=this.virtualizer.options;this.selectedIndex=Math.max(0,Math.min(r-1,t)),this.selectedKey=s(t)}}onElementStoreUpdate(t,r){if(r==="added"){let s=this.isElementSelected(t);t.tabIndex=s?0:-1,this.setAriaSetSize(t)}else r==="removed"&&t.tabIndex===0&&queueMicrotask(()=>{this.resetTabIndexes(this.selectedIndex,this.focusWithin)})}async onVListStateChangeHandler(t,r){this.syncUI(),await this.updateComplete,this.requestUpdate(),!r&&this.endOfScrollQueue.length>0&&(this.endOfScrollQueue.forEach(s=>s()),this.endOfScrollQueue.length=0),this.checkAtBottom(),this.emitChangeEvent()}onScrollHandler(t){let r=t.target;this.atBottom==="re-evaluate"||r.scrollTop<this.lastScrollPosition?this.atBottom="no":this.checkAtBottom(),this.lastScrollPosition=r.scrollTop}checkAtBottom(){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.scrollAnchoring&&this.virtualizer&&this.atBottom==="no"&&r>t-this.atBottomThreshold&&!this.virtualizer.isScrolling&&(this.atBottom=r-s<=t+this.atBottomThreshold?"yes":"no")}handleNavigationKeyDown(t){var r,s,d,m;switch(t.key){case Z.HOME:{(s=(r=this.virtualizer)==null?void 0:r.scrollToIndex)==null||s.call(r,0,{align:"start"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(0));break}case Z.END:{let b=this.virtualizerProps.count-1;(m=(d=this.virtualizer)==null?void 0:d.scrollToIndex)==null||m.call(d,b,{align:"end"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(b));break}case Z.ARROW_UP:{this.atBottom="re-evaluate";break}default:}super.handleNavigationKeyDown(t)}resetTabIndexes(t,r=!0){super.resetTabIndexes(t,r),this.setSelectedIndex(t)}resetTabIndexAndSetFocus(t,r,s=!0,d=s){if(this.navItems.find(b=>{var x;return((x=this.virtualizer)==null?void 0:x.indexFromElement(b))===t})===void 0){this.scrollToIndex(t,{}),this.endOfScrollQueue.push(()=>{super.resetTabIndexAndSetFocus(t,r,s,d),this.setSelectedIndex(t)});return}super.resetTabIndexAndSetFocus(t,r,s,d),this.setSelectedIndex(t)}setAriaSetSize(t){var r,s;t.setAttribute("aria-setsize",`${(s=(r=this.virtualizer)==null?void 0:r.options.count)!=null?s:-1}`)}scrollToBottom(){if(this.clearScrollToBottomTimer(),this.atBottom==="yes"&&this.scrollRef){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.totalListHeight>t&&(this.scrollRef.scrollTop+=r-t-s),this.atBottomTimer=requestAnimationFrame(this.scrollToBottom.bind(this))}}clearScrollToBottomTimer(){cancelAnimationFrame(this.atBottomTimer),this.atBottomTimer=-1}scrollToIndex(t,r){var s,d;(d=(s=this.virtualizer).scrollToIndex)==null||d.call(s,t,r),this.atBottom=this.scrollAnchoring&&t+1===this.virtualizerProps.count?"yes":"no"}syncUI(){var d;let t=this.virtualItems.find(({index:m})=>!this.hiddenIndexes.includes(m)),r=(d=t==null?void 0:t.start)!=null?d:0;window.getComputedStyle(this);let s=0;this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&(s=this.scrollRef.clientHeight-this.totalListHeight),this.wrapperRef.style.height=`${this.totalListHeight}px`,this.containerRef.style.transform=`translateY(${s+r}px)`}handleWheelEvent(t){t.deltaY<0&&(this.atBottom="re-evaluate")}handleResizeObserverCallback(){requestAnimationFrame(()=>{this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&this.syncUI()})}render(){var t;return _`
6512
+ `],db=GA;var cb=z.constructTagName("virtualizedlist"),i9=z.constructTagName("virtualizedwrapper"),vn={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0,getItemKey:n=>n},LOOP:"false",SCROLL_ANCHORING:!1,IS_AT_BOTTOM_THRESHOLD:16};var qe=class extends Ut(Fs){constructor(){super();this.virtualizerProps=vn.VIRTUALIZER_PROPS;this.loop=vn.LOOP;this.scrollAnchoring=vn.SCROLL_ANCHORING;this.observeSizeChanges=!1;this.revertList=!1;this.atBottomThreshold=vn.IS_AT_BOTTOM_THRESHOLD;this.virtualizer=null;this.virtualizedNavItems=null;this.virtualizerController=null;this.selectedIndex=this.initialFocus;this.selectedKey=null;this.firstIndex=0;this.firstKey=null;this.hiddenIndexes=[];this.atBottomValue="no";this.atBottomTimer=-1;this.lastScrollPosition=0;this.endOfScrollQueue=[];this.resizeObserver=null;this.handleElementFirstUpdateCompleted=t=>{var r,s;this.observeSizeChanges&&this.navItems.find(d=>d===t.target)!==void 0&&((s=(r=this.virtualizer)==null?void 0:r.measureElement)==null||s.call(r,t.target))};this.addEventListener("wheel",this.handleWheelEvent.bind(this)),this.addEventListener(Gt.FIRST_UPDATE_COMPLETED,this.handleElementFirstUpdateCompleted.bind(this))}get virtualItems(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getVirtualItems())!=null?r:[]}get navItems(){var t,r,s,d;if(((t=this.virtualizedNavItems)==null?void 0:t.items)!==super.navItems){let m=(d=(s=(r=this.virtualizer)==null?void 0:r.options)==null?void 0:s.indexAttribute)!=null?d:"data-index";this.virtualizedNavItems=new Ld(super.navItems,b=>Number(b.getAttribute(m)),()=>this.virtualizerProps.count)}return this.virtualizedNavItems}get atBottom(){return this.atBottomValue}set atBottom(t){(this.atBottomValue!==t||t==="yes"&&this.atBottomTimer===-1)&&(this.atBottomValue=t,t==="yes"?this.scrollToBottom():this.clearScrollToBottomTimer())}get totalListHeight(){var t,r;return(r=(t=this.virtualizer)==null?void 0:t.getTotalSize())!=null?r:0}connectedCallback(){this.virtualizerController=new wd(this,{...this.virtualizerProps,horizontal:!1,getScrollElement:()=>this.scrollRef,onChange:this.onVListStateChangeHandler.bind(this),rangeExtractor:this.virtualizerRangeExtractor.bind(this)}),this.virtualizer=this.virtualizerController.getVirtualizer(),super.connectedCallback(),this.role=null,this.atBottom=this.revertList&&this.scrollAnchoring?"yes":"no",this.resizeObserver=new ResizeObserver(this.handleResizeObserverCallback.bind(this)),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.clearScrollToBottomTimer(),this.virtualizerController=null,this.virtualizer=null,this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}async update(t){super.update(t),t.has("virtualizerProps")&&await this.handleVirtualizerPropsUpdate(t.get("virtualizerProps")),t.has("observeSizeChanges")&&this.navItems.forEach(r=>{var s,d;this.observeSizeChanges&&((d=(s=this.virtualizer)==null?void 0:s.measureElement)==null||d.call(s,r))}),t.has("scrollAnchoring")&&(this.scrollAnchoring?this.checkAtBottom():this.atBottom="no"),t.has("revertList")&&this.revertList&&this.scrollAnchoring&&(this.atBottom="yes"),t.has("atBottomThreshold")&&this.scrollAnchoring&&this.checkAtBottom()}async handleVirtualizerPropsUpdate(t){var d,m;let{virtualizer:r}=this;if(!r)return;let s=r.measurementsCache.slice();if(r.setOptions({...r.options,...this.virtualizerProps}),this.virtualizerProps.count!==(t==null?void 0:t.count)&&(this.emitChangeEvent(),this.syncUI()),this.scrollAnchoring&&s.length>0){let b=Math.abs(this.virtualizerProps.count-((d=t==null?void 0:t.count)!=null?d:0)),x=this.selectedIndex,N=this.firstKey,B=new Nd(x-b,x+b,{includeEnd:!0}),K=(m=Array.from(B).find(X=>r.options.getItemKey(X)===this.selectedKey))!=null?m:this.selectedIndex;if(this.setSelectedIndex(K),this.requestUpdate(),await this.updateComplete,this.atBottom==="yes"){this.scrollToBottom();return}if(this.focusWithin&&x!==this.selectedIndex||!this.focusWithin&&this.firstKey!==N){let X=r.measurementsCache[this.selectedIndex].end-s[x].end;this.scrollRef.scrollTop+=X}}}setInitialFocus(){setTimeout(async()=>{if(!this.virtualizer)return;let{scrollToIndex:t}=this.virtualizer;if(this.setSelectedIndex(this.initialFocus),this.selectedIndex>=this.navItems.length)return;t(this.selectedIndex,{align:"center"}),this.navItems.find(this.isElementSelected,this)&&this.resetTabIndexes(this.selectedIndex,!1)},0)}emitChangeEvent(){var r,s,d,m,b;(s=(r=this.virtualizerProps).onChange)==null||s.call(r,this.virtualizer,this.virtualizer.isScrolling);let t={virtualizer:this.virtualizer,virtualItems:(b=(m=(d=this.virtualizer)==null?void 0:d.getVirtualItems)==null?void 0:m.call(d))!=null?b:[]};this.dispatchEvent(new CustomEvent("virtualitemschange",{detail:t,bubbles:!1,cancelable:!1}))}virtualizerRangeExtractor(t){var x,N,B,K;let{navItems:r,virtualizerProps:s,virtualizer:d}=this,m=(N=(x=s.rangeExtractor)==null?void 0:x.call(s,t))!=null?N:mp(t);return this.hiddenIndexes.forEach(Q=>{let X=r.at(Q);X&&(X.removeAttribute("data-virtualized-hidden"),X.style.removeProperty("--mdc-virtualizedlist-hidden-top"))}),this.firstIndex=t.startIndex,this.firstKey=(K=(B=this.virtualizer)==null?void 0:B.options.getItemKey(this.firstIndex))!=null?K:null,this.hiddenIndexes.length=0,[this.selectedIndex-1,this.selectedIndex,this.selectedIndex+1].forEach(Q=>{var X;m.includes(Q)||(Q<t.startIndex&&Q>=0&&(m.unshift(Q),this.hiddenIndexes.push(Q)),Q>t.endIndex&&Q<((X=d==null?void 0:d.options.count)!=null?X:0)&&(m.push(Q),this.hiddenIndexes.push(Q)))}),this.updateHiddenItemsPosition(t),m.sort((Q,X)=>Q-X),m}updateHiddenItemsPosition(t){let{navItems:r,virtualizerProps:s,virtualizer:d}=this;if(!d||s.count===0)return;let{measurementsCache:m}=d;this.hiddenIndexes.forEach(b=>{let x=r.at(b);if(x){let N=Math.max(t.startIndex-t.overscan,0),B=m[N],K=m[b];x.setAttribute("data-virtualized-hidden","true"),x.style.setProperty("--mdc-virtualizedlist-hidden-top",`${K.start-B.start}px`)}})}isElementSelected(t){var r;return((r=this.virtualizer)==null?void 0:r.indexFromElement(t))===this.selectedIndex}setSelectedIndex(t){if(this.virtualizer){let{count:r,getItemKey:s}=this.virtualizer.options;this.selectedIndex=Math.max(0,Math.min(r-1,t)),this.selectedKey=s(t)}}onElementStoreUpdate(t,r){if(r==="added"){let s=this.isElementSelected(t);t.tabIndex=s?0:-1,this.setAriaSetSize(t)}else r==="removed"&&t.tabIndex===0&&queueMicrotask(()=>{this.resetTabIndexes(this.selectedIndex,this.focusWithin)})}async onVListStateChangeHandler(t,r){this.syncUI(),await this.updateComplete,this.requestUpdate(),!r&&this.endOfScrollQueue.length>0&&(this.endOfScrollQueue.forEach(s=>s()),this.endOfScrollQueue.length=0),this.checkAtBottom(),this.emitChangeEvent()}onScrollHandler(t){let r=t.target;this.atBottom==="re-evaluate"||r.scrollTop<this.lastScrollPosition?this.atBottom="no":this.checkAtBottom(),this.lastScrollPosition=r.scrollTop}checkAtBottom(){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.scrollAnchoring&&this.virtualizer&&this.atBottom==="no"&&r>t-this.atBottomThreshold&&!this.virtualizer.isScrolling&&(this.atBottom=r-s<=t+this.atBottomThreshold?"yes":"no")}handleNavigationKeyDown(t){var r,s,d,m;switch(t.key){case Z.HOME:{(s=(r=this.virtualizer)==null?void 0:r.scrollToIndex)==null||s.call(r,0,{align:"start"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(0));break}case Z.END:{let b=this.virtualizerProps.count-1;(m=(d=this.virtualizer)==null?void 0:d.scrollToIndex)==null||m.call(d,b,{align:"end"}),this.endOfScrollQueue.push(()=>this.resetTabIndexes(b));break}case Z.ARROW_UP:{this.atBottom="re-evaluate";break}default:}super.handleNavigationKeyDown(t)}resetTabIndexes(t,r=!0){super.resetTabIndexes(t,r),this.setSelectedIndex(t)}resetTabIndexAndSetFocus(t,r,s=!0,d=s){if(this.navItems.find(b=>{var x;return((x=this.virtualizer)==null?void 0:x.indexFromElement(b))===t})===void 0){this.scrollToIndex(t,{}),this.endOfScrollQueue.push(()=>{super.resetTabIndexAndSetFocus(t,r,s,d),this.setSelectedIndex(t)});return}super.resetTabIndexAndSetFocus(t,r,s,d),this.setSelectedIndex(t)}setAriaSetSize(t){var r,s;t.setAttribute("aria-setsize",`${(s=(r=this.virtualizer)==null?void 0:r.options.count)!=null?s:-1}`)}scrollToBottom(){if(this.clearScrollToBottomTimer(),this.atBottom==="yes"&&this.scrollRef){let{clientHeight:t,scrollHeight:r,scrollTop:s}=this.scrollRef;this.totalListHeight>t&&(this.scrollRef.scrollTop+=r-t-s),this.atBottomTimer=requestAnimationFrame(this.scrollToBottom.bind(this))}}clearScrollToBottomTimer(){cancelAnimationFrame(this.atBottomTimer),this.atBottomTimer=-1}scrollToIndex(t,r){var s,d;(d=(s=this.virtualizer).scrollToIndex)==null||d.call(s,t,r),this.atBottom=this.scrollAnchoring&&t+1===this.virtualizerProps.count?"yes":"no"}syncUI(){var d;let t=this.virtualItems.find(({index:m})=>!this.hiddenIndexes.includes(m)),r=(d=t==null?void 0:t.start)!=null?d:0;window.getComputedStyle(this);let s=0;this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&(s=this.scrollRef.clientHeight-this.totalListHeight),this.wrapperRef.style.height=`${this.totalListHeight}px`,this.containerRef.style.transform=`translateY(${s+r}px)`}handleWheelEvent(t){t.deltaY<0&&(this.atBottom="re-evaluate")}handleResizeObserverCallback(){requestAnimationFrame(()=>{this.revertList&&this.scrollRef.clientHeight>=this.totalListHeight&&this.syncUI()})}render(){var t;return _`
6513
6513
  <slot name="list-header"></slot>
6514
6514
  <div part="scroll" tabindex="-1" @scroll="${this.onScrollHandler}">
6515
6515
  <div part="wrapper">
@@ -6718,7 +6718,7 @@
6718
6718
  </mdc-popover>
6719
6719
  </div>
6720
6720
  ${this.renderHelperText()}
6721
- `}};me.styles=[...wr.styles,...ne.styles,...mb],p([u({type:String})],me.prototype,"placeholder",2),p([u({type:String,reflect:!0})],me.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],me.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],me.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],me.prototype,"boundary",2),p([u({type:String,reflect:!0})],me.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],me.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],me.prototype,"backdropAppendTo",2),p([ye(`[role="${rt.COMBOBOX}"]`)],me.prototype,"visualCombobox",2),p([ye('[part="combobox__button"]')],me.prototype,"dropDownButton",2),p([Pt({selector:gd})],me.prototype,"slottedListboxes",2),p([ut()],me.prototype,"isOpen",2),p([ut()],me.prototype,"filteredValue",2);var bp=me;bp.register(hb);var jA=bp;var ub=(n,o,t)=>{let r=new Map;for(let s=o;s<=t;s++)r.set(n[s],s);return r},fb=li(class extends Vr{constructor(n){if(super(n),n.type!==Je.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let r;t===void 0?t=o:o!==void 0&&(r=o);let s=[],d=[],m=0;for(let b of n)s[m]=r?r(b,m):m,d[m]=t(b,m),m++;return{values:d,keys:s}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,r]){var dt;let s=mu(n),{values:d,keys:m}=this.dt(o,t,r);if(!Array.isArray(s))return this.ut=m,d;let b=(dt=this.ut)!=null?dt:this.ut=[],x=[],N,B,K=0,Q=s.length-1,X=0,it=d.length-1;for(;K<=Q&&X<=it;)if(s[K]===null)K++;else if(s[Q]===null)Q--;else if(b[K]===m[X])x[X]=zi(s[K],d[X]),K++,X++;else if(b[Q]===m[it])x[it]=zi(s[Q],d[it]),Q--,it--;else if(b[K]===m[it])x[it]=zi(s[K],d[it]),ms(n,x[it+1],s[K]),K++,it--;else if(b[Q]===m[X])x[X]=zi(s[Q],d[X]),ms(n,s[K],s[Q]),Q--,X++;else if(N===void 0&&(N=ub(m,X,it),B=ub(b,K,Q)),N.has(b[K]))if(N.has(b[Q])){let lt=B.get(m[X]),bt=lt!==void 0?s[lt]:null;if(bt===null){let It=ms(n,s[K]);zi(It,d[X]),x[X]=It}else x[X]=zi(bt,d[X]),ms(n,s[K],bt),s[lt]=null;X++}else nl(s[Q]),Q--;else nl(s[K]),K++;for(;X<=it;){let lt=ms(n,x[it+1]);zi(lt,d[X]),x[X++]=lt}for(;K<=Q;){let lt=s[K++];lt!==null&&nl(lt)}return this.ut=m,al(n,x),be}});var vb=z.constructTagName("slider"),KA={START:"start",END:"end",UNDEFINED:void 0},oo={MIN:0,MAX:100,STEP:1,STATE:KA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var qA=U`
6721
+ `}};me.styles=[...wr.styles,...ne.styles,...mb],p([u({type:String})],me.prototype,"placeholder",2),p([u({type:String,reflect:!0})],me.prototype,"placement",2),p([u({type:String,attribute:"no-result-text",reflect:!0})],me.prototype,"noResultText",2),p([u({type:String,attribute:"invalid-custom-value-text",reflect:!0})],me.prototype,"invalidCustomValueText",2),p([u({type:String,reflect:!0})],me.prototype,"boundary",2),p([u({type:String,reflect:!0})],me.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],me.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],me.prototype,"backdropAppendTo",2),p([ye(`[role="${rt.COMBOBOX}"]`)],me.prototype,"visualCombobox",2),p([ye('[part="combobox__button"]')],me.prototype,"dropDownButton",2),p([Pt({selector:vd})],me.prototype,"slottedListboxes",2),p([ut()],me.prototype,"isOpen",2),p([ut()],me.prototype,"filteredValue",2);var bp=me;bp.register(hb);var jA=bp;var ub=(n,o,t)=>{let r=new Map;for(let s=o;s<=t;s++)r.set(n[s],s);return r},fb=li(class extends Vr{constructor(n){if(super(n),n.type!==Je.CHILD)throw Error("repeat() can only be used in text expressions")}dt(n,o,t){let r;t===void 0?t=o:o!==void 0&&(r=o);let s=[],d=[],m=0;for(let b of n)s[m]=r?r(b,m):m,d[m]=t(b,m),m++;return{values:d,keys:s}}render(n,o,t){return this.dt(n,o,t).values}update(n,[o,t,r]){var dt;let s=mu(n),{values:d,keys:m}=this.dt(o,t,r);if(!Array.isArray(s))return this.ut=m,d;let b=(dt=this.ut)!=null?dt:this.ut=[],x=[],N,B,K=0,Q=s.length-1,X=0,it=d.length-1;for(;K<=Q&&X<=it;)if(s[K]===null)K++;else if(s[Q]===null)Q--;else if(b[K]===m[X])x[X]=zi(s[K],d[X]),K++,X++;else if(b[Q]===m[it])x[it]=zi(s[Q],d[it]),Q--,it--;else if(b[K]===m[it])x[it]=zi(s[K],d[it]),ms(n,x[it+1],s[K]),K++,it--;else if(b[Q]===m[X])x[X]=zi(s[Q],d[X]),ms(n,s[K],s[Q]),Q--,X++;else if(N===void 0&&(N=ub(m,X,it),B=ub(b,K,Q)),N.has(b[K]))if(N.has(b[Q])){let lt=B.get(m[X]),bt=lt!==void 0?s[lt]:null;if(bt===null){let It=ms(n,s[K]);zi(It,d[X]),x[X]=It}else x[X]=zi(bt,d[X]),ms(n,s[K],bt),s[lt]=null;X++}else nl(s[Q]),Q--;else nl(s[K]),K++;for(;X<=it;){let lt=ms(n,x[it+1]);zi(lt,d[X]),x[X++]=lt}for(;K<=Q;){let lt=s[K++];lt!==null&&nl(lt)}return this.ut=m,al(n,x),be}});var vb=z.constructTagName("slider"),KA={START:"start",END:"end",UNDEFINED:void 0},oo={MIN:0,MAX:100,STEP:1,STATE:KA.UNDEFINED,ICON_SIZE:1.25,ICON_LENGTH_UNIT:"rem"};var qA=U`
6722
6722
  :host {
6723
6723
  width: 100%;
6724
6724
  --mdc-slider-tooltip-left: 0;
@@ -7062,7 +7062,7 @@
7062
7062
  ::slotted(mdc-option) {
7063
7063
  width: 100%;
7064
7064
  }
7065
- `,bb=[ZA];var qo=class extends Ps(ji(q)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Wr(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=rt.LISTBOX}handleModifiedEvent(t){let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;case"selected":this.setSelectedOption(r,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${vr}:not([disabled])`)}handleClick(t){let r=t.target;this.isValidItem(r)&&this.setSelectedOption(r)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let r=this.itemsStore.items.find(s=>s.value===this.value);r?this.setSelectedOption(r,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,r=!0,s=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(s&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,r&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(r=>r.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return _`<slot part="container"></slot>`}};qo.styles=[...ph.styles,...bb],p([u({type:String,reflect:!0})],qo.prototype,"name",2),p([u({type:String,reflect:!0})],qo.prototype,"value",2),p([ut()],qo.prototype,"selectedOption",2);var Ep=qo;var yb=z.constructTagName("listbox");Ep.register(yb);var QA=Ep;var Eb=z.constructTagName("banner"),js={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},bn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Rd={VARIANT:js.CUSTOM,PREFIX_ICON_SIZE:1.25};var JA=U`
7065
+ `,bb=[ZA];var qo=class extends Ps(ji(q)){constructor(){super();this.loop="false";this.name=void 0;this.value=void 0;this.itemsStore=new Wr(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=rt.LISTBOX}handleModifiedEvent(t){let r=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(r);break;case"disabled":this.itemsStore.delete(r);break;case"selected":this.setSelectedOption(r,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${vr}:not([disabled])`)}handleClick(t){let r=t.target;this.isValidItem(r)&&this.setSelectedOption(r)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let r=this.itemsStore.items.find(s=>s.value===this.value);r?this.setSelectedOption(r,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,r=!0,s=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(s&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,r&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(r=>r.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return _`<slot part="container"></slot>`}};qo.styles=[...ph.styles,...bb],p([u({type:String,reflect:!0})],qo.prototype,"name",2),p([u({type:String,reflect:!0})],qo.prototype,"value",2),p([ut()],qo.prototype,"selectedOption",2);var Ep=qo;var yb=z.constructTagName("listbox");Ep.register(yb);var QA=Ep;var Eb=z.constructTagName("banner"),js={CUSTOM:"custom",INFORMATIONAL:"informational",WARNING:"warning",ERROR:"error",SUCCESS:"success"},bn={INFORMATIONAL_ICON_NAME:"info-circle-bold",SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},Od={VARIANT:js.CUSTOM,PREFIX_ICON_SIZE:1.25};var JA=U`
7066
7066
  :host {
7067
7067
  --mdc-banner-background-color: var(--mds-color-theme-background-solid-primary-normal);
7068
7068
  --mdc-banner-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -7145,8 +7145,8 @@
7145
7145
  gap: var(--mdc-banner-gap);
7146
7146
  flex-wrap: wrap;
7147
7147
  }
7148
- `,Tb=[JA];var xb=n=>{switch(n){case js.INFORMATIONAL:return bn.INFORMATIONAL_ICON_NAME;case js.SUCCESS:return bn.SUCCESS_ICON_NAME;case js.WARNING:return bn.WARNING_ICON_NAME;case js.ERROR:return bn.ERROR_ICON_NAME;default:return null}};var Xo=class extends q{constructor(){super(...arguments);this.variant=Rd.VARIANT}renderIcon(t){return t?_`
7149
- <mdc-icon name="${t}" size="${Rd.PREFIX_ICON_SIZE}" part="leading-icon" length-unit="rem"></mdc-icon>
7148
+ `,Tb=[JA];var xb=n=>{switch(n){case js.INFORMATIONAL:return bn.INFORMATIONAL_ICON_NAME;case js.SUCCESS:return bn.SUCCESS_ICON_NAME;case js.WARNING:return bn.WARNING_ICON_NAME;case js.ERROR:return bn.ERROR_ICON_NAME;default:return null}};var Xo=class extends q{constructor(){super(...arguments);this.variant=Od.VARIANT}renderIcon(t){return t?_`
7149
+ <mdc-icon name="${t}" size="${Od.PREFIX_ICON_SIZE}" part="leading-icon" length-unit="rem"></mdc-icon>
7150
7150
  `:j}getTextLabel(){return this.label?_`
7151
7151
  <mdc-text
7152
7152
  part="leading-label"
@@ -7164,7 +7164,7 @@
7164
7164
  <slot name="content">
7165
7165
  <div part="leading">
7166
7166
  <slot name="leading-icon">
7167
- ${this.variant!==Rd.VARIANT?this.renderIcon(xb(this.variant)):j}
7167
+ ${this.variant!==Od.VARIANT?this.renderIcon(xb(this.variant)):j}
7168
7168
  </slot>
7169
7169
  <slot name="leading-text">
7170
7170
  <div part="leading-text">${this.getTextLabel()}</div>