@momentum-design/components 0.88.0 → 0.89.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- "use strict";(()=>{var fv=Object.create;var yl=Object.defineProperty;var dh=Object.getOwnPropertyDescriptor;var vv=Object.getOwnPropertyNames;var gv=Object.getPrototypeOf,bv=Object.prototype.hasOwnProperty;var yv=(l,o)=>()=>(o||l((o={exports:{}}).exports,o),o.exports);var Ev=(l,o,e,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of vv(o))!bv.call(l,n)&&n!==e&&yl(l,n,{get:()=>o[n],enumerable:!(s=dh(o,n))||s.enumerable});return l};var Tv=(l,o,e)=>(e=l!=null?fv(gv(l)):{},Ev(o||!l||!l.__esModule?yl(e,"default",{value:l,enumerable:!0}):e,l));var v=(l,o,e,s)=>{for(var n=s>1?void 0:s?dh(o,e):o,h=l.length-1,m;h>=0;h--)(m=l[h])&&(n=(s?m(o,e,n):m(n))||n);return s&&n&&yl(o,e,n),n};var ep=yv((Ns,Ja)=>{typeof navigator<"u"&&function(l,o){typeof Ns=="object"&&typeof Ja<"u"?Ja.exports=o():typeof define=="function"&&define.amd?define(o):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=o())}(Ns,function(){"use strict";var l="http://www.w3.org/2000/svg",o="",e=!1,s=-999999,n=function(r){e=!!r},h=function(){return e},m=function(r){o=r},T=function(){return o};function L(t){return document.createElement(t)}function $(t,r){var i,a=t.length,d;for(i=0;i<a;i+=1){d=t[i].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function W(t,r){return Object.getOwnPropertyDescriptor(t,r)}function K(t){function r(){}return r.prototype=t,r}var ot=function(){function t(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].pause()},resume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].resume()},setRate:function(i){var a,d=this.audios.length;for(a=0;a<d;a+=1)this.audios[a].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),J=function(){function t(i,a){var d=0,c=[],u;switch(i){case"int16":case"uint8c":u=1;break;default:u=1.1;break}for(d=0;d<a;d+=1)c.push(u);return c}function r(i,a){return i==="float32"?new Float32Array(a):i==="int16"?new Int16Array(a):i==="uint8c"?new Uint8ClampedArray(a):t(i,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:t}();function tt(t){return Array.apply(null,{length:t})}function ht(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(i){return typeof i}:ht=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ht(t)}var Tt=!0,yt=null,xt=null,kt="",Ht=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ot=!1,Dt=Math.pow,Ee=Math.sqrt,ee=Math.floor,Je=Math.max,Me=Math.min,Fe={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,i=t.length;for(r=0;r<i;r+=1)Fe[t[r]]=Math[t[r]]})();function Qe(){return{}}Fe.random=Math.random,Fe.abs=function(t){var r=ht(t);if(r==="object"&&t.length){var i=tt(t.length),a,d=t.length;for(a=0;a<d;a+=1)i[a]=Math.abs(t[a]);return i}return Math.abs(t)};var tr=150,_t=Math.PI/180,he=.5519;function $e(t){Ot=!!t}function er(t){return Ot?Math.round(t):t}function xr(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function ze(t,r,i,a){this.type=t,this.currentTime=r,this.totalTime=i,this.direction=a<0?-1:1}function ca(t,r){this.type=t,this.direction=r<0?-1:1}function gd(t,r,i,a){this.type=t,this.currentLoop=i,this.totalLoops=r,this.direction=a<0?-1:1}function bd(t,r,i){this.type=t,this.firstFrame=r,this.totalFrames=i}function yd(t,r){this.type=t,this.target=r}function ff(t,r){this.type="renderFrameError",this.nativeError=t,this.currentTime=r}function vf(t){this.type="configError",this.nativeError=t}function qy(t,r){this.type=t,this.nativeError=r}var Te=function(){var t=0;return function(){return t+=1,kt+"__lottie_element_"+t}}();function al(t,r,i){var a,d,c,u,x,f,I,C;switch(u=Math.floor(t*6),x=t*6-u,f=i*(1-r),I=i*(1-x*r),C=i*(1-(1-x)*r),u%6){case 0:a=i,d=C,c=f;break;case 1:a=I,d=i,c=f;break;case 2:a=f,d=i,c=C;break;case 3:a=f,d=I,c=i;break;case 4:a=C,d=f,c=i;break;case 5:a=i,d=f,c=I;break;default:break}return[a,d,c]}function nl(t,r,i){var a=Math.max(t,r,i),d=Math.min(t,r,i),c=a-d,u,x=a===0?0:c/a,f=a/255;switch(a){case d:u=0;break;case t:u=r-i+c*(r<i?6:0),u/=6*c;break;case r:u=i-t+c*2,u/=6*c;break;case i:u=t-r+c*4,u/=6*c;break;default:break}return[u,x,f]}function Ed(t,r){var i=nl(t[0]*255,t[1]*255,t[2]*255);return i[1]+=r,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),al(i[0],i[1],i[2])}function Td(t,r){var i=nl(t[0]*255,t[1]*255,t[2]*255);return i[2]+=r,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),al(i[0],i[1],i[2])}function xd(t,r){var i=nl(t[0]*255,t[1]*255,t[2]*255);return i[0]+=r/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),al(i[0],i[1],i[2])}var Ky=function(){var t=[],r,i;for(r=0;r<256;r+=1)i=r.toString(16),t[r]=i.length===1?"0"+i:i;return function(a,d,c){return a<0&&(a=0),d<0&&(d=0),c<0&&(c=0),"#"+t[a]+t[d]+t[c]}}(),gf=function(r){Tt=!!r},bf=function(){return Tt},yf=function(r){yt=r},da=function(){return yt},Xy=function(r){xt=r},Ad=function(){return xt},ha=function(r){tr=r},es=function(){return tr},Ef=function(r){kt=r},Zy=function(){return kt};function vt(t){return document.createElementNS(l,t)}function pa(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pa=function(i){return typeof i}:pa=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},pa(t)}var rs=function(){var t=1,r=[],i,a,d={onmessage:function(){},postMessage:function(N){i({data:N})}},c={postMessage:function(N){d.onmessage({data:N})}};function u(y){if(window.Worker&&window.Blob&&h()){var N=new Blob(["var _workerSelf = self; self.onmessage = ",y.toString()],{type:"text/javascript"}),P=URL.createObjectURL(N);return new Worker(P)}return i=y,d}function x(){a||(a=u(function(N){function P(){function z(X,_){var R,p,g=X.length,U,F,rt,mt;for(p=0;p<g;p+=1)if(R=X[p],"ks"in R&&!R.completed){if(R.completed=!0,R.hasMask){var ft=R.masksProperties;for(F=ft.length,U=0;U<F;U+=1)if(ft[U].pt.k.i)k(ft[U].pt.k);else for(mt=ft[U].pt.k.length,rt=0;rt<mt;rt+=1)ft[U].pt.k[rt].s&&k(ft[U].pt.k[rt].s[0]),ft[U].pt.k[rt].e&&k(ft[U].pt.k[rt].e[0])}R.ty===0?(R.layers=b(R.refId,_),z(R.layers,_)):R.ty===4?A(R.shapes):R.ty===5&&gt(R)}}function w(X,_){if(X){var R=0,p=X.length;for(R=0;R<p;R+=1)X[R].t===1&&(X[R].data.layers=b(X[R].data.refId,_),z(X[R].data.layers,_))}}function S(X,_){for(var R=0,p=_.length;R<p;){if(_[R].id===X)return _[R];R+=1}return null}function b(X,_){var R=S(X,_);return R?R.layers.__used?JSON.parse(JSON.stringify(R.layers)):(R.layers.__used=!0,R.layers):null}function A(X){var _,R=X.length,p,g;for(_=R-1;_>=0;_-=1)if(X[_].ty==="sh")if(X[_].ks.k.i)k(X[_].ks.k);else for(g=X[_].ks.k.length,p=0;p<g;p+=1)X[_].ks.k[p].s&&k(X[_].ks.k[p].s[0]),X[_].ks.k[p].e&&k(X[_].ks.k[p].e[0]);else X[_].ty==="gr"&&A(X[_].it)}function k(X){var _,R=X.i.length;for(_=0;_<R;_+=1)X.i[_][0]+=X.v[_][0],X.i[_][1]+=X.v[_][1],X.o[_][0]+=X.v[_][0],X.o[_][1]+=X.v[_][1]}function D(X,_){var R=_?_.split("."):[100,100,100];return X[0]>R[0]?!0:R[0]>X[0]?!1:X[1]>R[1]?!0:R[1]>X[1]?!1:X[2]>R[2]?!0:R[2]>X[2]?!1:null}var V=function(){var X=[4,4,14];function _(p){var g=p.t.d;p.t.d={k:[{s:g,t:0}]}}function R(p){var g,U=p.length;for(g=0;g<U;g+=1)p[g].ty===5&&_(p[g])}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}(),G=function(){var X=[4,7,99];return function(_){if(_.chars&&!D(X,_.v)){var R,p=_.chars.length;for(R=0;R<p;R+=1){var g=_.chars[R];g.data&&g.data.shapes&&(A(g.data.shapes),g.data.ip=0,g.data.op=99999,g.data.st=0,g.data.sr=1,g.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},_.chars[R].t||(g.data.shapes.push({ty:"no"}),g.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),Z=function(){var X=[5,7,15];function _(p){var g=p.t.p;typeof g.a=="number"&&(g.a={a:0,k:g.a}),typeof g.p=="number"&&(g.p={a:0,k:g.p}),typeof g.r=="number"&&(g.r={a:0,k:g.r})}function R(p){var g,U=p.length;for(g=0;g<U;g+=1)p[g].ty===5&&_(p[g])}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}(),ut=function(){var X=[4,1,9];function _(p){var g,U=p.length,F,rt;for(g=0;g<U;g+=1)if(p[g].ty==="gr")_(p[g].it);else if(p[g].ty==="fl"||p[g].ty==="st")if(p[g].c.k&&p[g].c.k[0].i)for(rt=p[g].c.k.length,F=0;F<rt;F+=1)p[g].c.k[F].s&&(p[g].c.k[F].s[0]/=255,p[g].c.k[F].s[1]/=255,p[g].c.k[F].s[2]/=255,p[g].c.k[F].s[3]/=255),p[g].c.k[F].e&&(p[g].c.k[F].e[0]/=255,p[g].c.k[F].e[1]/=255,p[g].c.k[F].e[2]/=255,p[g].c.k[F].e[3]/=255);else p[g].c.k[0]/=255,p[g].c.k[1]/=255,p[g].c.k[2]/=255,p[g].c.k[3]/=255}function R(p){var g,U=p.length;for(g=0;g<U;g+=1)p[g].ty===4&&_(p[g].shapes)}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}(),ct=function(){var X=[4,4,18];function _(p){var g,U=p.length,F,rt;for(g=U-1;g>=0;g-=1)if(p[g].ty==="sh")if(p[g].ks.k.i)p[g].ks.k.c=p[g].closed;else for(rt=p[g].ks.k.length,F=0;F<rt;F+=1)p[g].ks.k[F].s&&(p[g].ks.k[F].s[0].c=p[g].closed),p[g].ks.k[F].e&&(p[g].ks.k[F].e[0].c=p[g].closed);else p[g].ty==="gr"&&_(p[g].it)}function R(p){var g,U,F=p.length,rt,mt,ft,wt;for(U=0;U<F;U+=1){if(g=p[U],g.hasMask){var Ct=g.masksProperties;for(mt=Ct.length,rt=0;rt<mt;rt+=1)if(Ct[rt].pt.k.i)Ct[rt].pt.k.c=Ct[rt].cl;else for(wt=Ct[rt].pt.k.length,ft=0;ft<wt;ft+=1)Ct[rt].pt.k[ft].s&&(Ct[rt].pt.k[ft].s[0].c=Ct[rt].cl),Ct[rt].pt.k[ft].e&&(Ct[rt].pt.k[ft].e[0].c=Ct[rt].cl)}g.ty===4&&_(g.shapes)}}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}();function Q(X){X.__complete||(ut(X),V(X),G(X),Z(X),ct(X),z(X.layers,X.assets),w(X.chars,X.assets),X.__complete=!0)}function gt(X){X.t.a.length===0&&"m"in X.t.p}var st={};return st.completeData=Q,st.checkColors=ut,st.checkChars=G,st.checkPathProperties=Z,st.checkShapes=ct,st.completeLayers=z,st}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(S){var b=S.getResponseHeader("content-type");return b&&S.responseType==="json"&&b.indexOf("json")!==-1||S.response&&pa(S.response)==="object"?S.response:S.response&&typeof S.response=="string"?JSON.parse(S.response):S.responseText?JSON.parse(S.responseText):null}function w(S,b,A,k){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(G){k&&k(G)}};try{V.open(["G","E","T"].join(""),S,!0)}catch{V.open(["G","E","T"].join(""),b+"/"+S,!0)}V.send()}return{load:w}}()),N.data.type==="loadAnimation")c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})});else if(N.data.type==="complete"){var M=N.data.animation;c.dataManager.completeData(M),c.postMessage({id:N.data.id,payload:M,status:"success"})}else N.data.type==="loadData"&&c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})})}),a.onmessage=function(y){var N=y.data,P=N.id,M=r[P];r[P]=null,N.status==="success"?M.onComplete(N.payload):M.onError&&M.onError()})}function f(y,N){t+=1;var P="processId_"+t;return r[P]={onComplete:y,onError:N},P}function I(y,N,P){x();var M=f(N,P);a.postMessage({type:"loadAnimation",path:y,fullPath:window.location.origin+window.location.pathname,id:M})}function C(y,N,P){x();var M=f(N,P);a.postMessage({type:"loadData",path:y,fullPath:window.location.origin+window.location.pathname,id:M})}function B(y,N,P){x();var M=f(N,P);a.postMessage({type:"complete",animation:y,id:M})}return{loadAnimation:I,loadData:C,completeAnimation:B}}(),Tf=function(){var t=function(){var w=L("canvas");w.width=1,w.height=1;var S=w.getContext("2d");return S.fillStyle="rgba(0,0,0,0)",S.fillRect(0,0,1,1),w}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(w,S,b){var A="";if(w.e)A=w.p;else if(S){var k=w.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=S+k}else A=b,A+=w.u?w.u:"",A+=w.p;return A}function d(w){var S=0,b=setInterval((function(){var A=w.getBBox();(A.width||S>500)&&(this._imageLoaded(),clearInterval(b)),S+=1}).bind(this),50)}function c(w){var S=a(w,this.assetsPath,this.path),b=vt("image");Ht?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=t,this._imageLoaded()}).bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",S),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var A={img:b,assetData:w};return A}function u(w){var S=a(w,this.assetsPath,this.path),b=L("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=t,this._imageLoaded()}).bind(this),!1),b.src=S;var A={img:b,assetData:w};return A}function x(w){var S={assetData:w},b=a(w,this.assetsPath,this.path);return rs.loadData(b,(function(A){S.img=A,this._footageLoaded()}).bind(this),(function(){S.img={},this._footageLoaded()}).bind(this)),S}function f(w,S){this.imagesLoadedCb=S;var b,A=w.length;for(b=0;b<A;b+=1)w[b].layers||(!w[b].t||w[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[b]))):w[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[b]))))}function I(w){this.path=w||""}function C(w){this.assetsPath=w||""}function B(w){for(var S=0,b=this.images.length;S<b;){if(this.images[S].assetData===w)return this.images[S].img;S+=1}return null}function y(){this.imagesLoadedCb=null,this.images.length=0}function N(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(w,S){w==="svg"?(this._elementHelper=S,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=d.bind(this),this.createFootageData=x.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:f,setAssetsPath:C,setPath:I,loadedImages:N,loadedFootages:P,destroy:y,getAsset:B,createImgData:u,createImageData:c,imageLoaded:r,footageLoaded:i,setCacheType:M},z}();function _d(){}_d.prototype={triggerEvent:function(r,i){if(this._cbs[r])for(var a=this._cbs[r],d=0;d<a.length;d+=1)a[d](i)},addEventListener:function(r,i){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(i),(function(){this.removeEventListener(r,i)}).bind(this)},removeEventListener:function(r,i){if(!i)this._cbs[r]=null;else if(this._cbs[r]){for(var a=0,d=this._cbs[r].length;a<d;)this._cbs[r][a]===i&&(this._cbs[r].splice(a,1),a-=1,d-=1),a+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var xf=function(){function t(r){for(var i=r.split(`\r
2
- `),a={},d,c=0,u=0;u<i.length;u+=1)d=i[u].split(":"),d.length===2&&(a[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(r){for(var i=[],a=0;a<r.length;a+=1){var d=r[a],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[a].cm)}catch{try{c.payload=t(r[a].cm)}catch{c.payload={name:r[a].cm}}}i.push(c)}return i}}(),Af=function(){function t(r){this.compositions.push(r)}return function(){function r(i){for(var a=0,d=this.compositions.length;a<d;){if(this.compositions[a].data&&this.compositions[a].data.nm===i)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=t,r}}(),is={},_f=function(r,i){is[r]=i};function Sf(t){return is[t]}function If(){if(is.canvas)return"canvas";for(var t in is)if(is[t])return t;return""}function os(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?os=function(i){return typeof i}:os=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},os(t)}var pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Te(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=bf(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Af(),this.imagePreloader=new Tf,this.audioController=ot(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ze("drawnFrame",0,0,0),this.expressionsPlugin=da()};$([_d],pt),pt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var r="svg";t.animType?r=t.animType:t.renderer&&(r=t.renderer);var i=Sf(r);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),rs.loadAnimation(t.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(t){rs.completeAnimation(t,this.configAnimation)},pt.prototype.setData=function(t,r){r&&os(r)!=="object"&&(r=JSON.parse(r));var i={wrapper:t,animationData:r},a=t.attributes;i.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",i.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:If()||"canvas";var d=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";d==="false"?i.loop=!1:d==="true"?i.loop=!0:d!==""&&(i.loop=parseInt(d,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;i.autoplay=c!=="false",i.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var u=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";u==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},pt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var r=this.animationData.layers,i,a=r.length,d=t.layers,c,u=d.length;for(c=0;c<u;c+=1)for(i=0;i<a;){if(r[i].id===d[c].id){r[i]=d[c];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(a=t.assets.length,i=0;i<a;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,rs.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(t){this.animationData=t;var r=da();r&&r.initExpressions(this),this.loadNextSegment()},pt.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=t.shift();this.timeCompleted=r.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,rs.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=xf(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=da();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(t,r){var i=typeof t=="number"?t:void 0,a=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(i,a)},pt.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},pt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},pt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},pt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.prototype.getMarkerData=function(t){for(var r,i=0;i<this.markers.length;i+=1)if(r=this.markers[i],r.payload&&r.payload.name===t)return r;return null},pt.prototype.goToAndStop=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(a,r,i);this.play()}},pt.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+t*this.frameModifier,i=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(i=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,r=0)):this.setCurrentRawFrameValue(r),i&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},pt.prototype.adjustSegment=function(t,r){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},pt.prototype.setSegment=function(t,r){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>r&&(i=r-t)),this.firstFrame=t,this.totalFrames=r-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},pt.prototype.playSegments=function(t,r){if(r&&(this.segments.length=0),os(t[0])==="object"){var i,a=t.length;for(i=0;i<a;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},pt.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},pt.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},pt.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},pt.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},pt.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},pt.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(t){this.loop=t},pt.prototype.setVolume=function(t,r){r&&this.name!==r||this.audioController.setVolume(t)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},pt.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.prototype.getAssetsPath=function(t){var r="";if(t.e)r=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),r=this.assetsPath+i}else r=this.path,r+=t.u?t.u:"",r+=t.p;return r},pt.prototype.getAssetData=function(t){for(var r=0,i=this.assets.length;r<i;){if(t===this.assets[r].id)return this.assets[r];r+=1}return null},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(t,r,i){try{var a=this.renderer.getElementByPath(t);a.updateDocumentData(r,i)}catch{}},pt.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new ze(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new gd(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new ca(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new bd(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new yd(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ze(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new gd(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new ca(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new bd(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new yd(t,this))},pt.prototype.triggerRenderFrameError=function(t){var r=new ff(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(t){var r=new vf(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=function(){var t={},r=[],i=0,a=0,d=0,c=!0,u=!1;function x(_){for(var R=0,p=_.target;R<a;)r[R].animation===p&&(r.splice(R,1),R-=1,a-=1,p.isPaused||B()),R+=1}function f(_,R){if(!_)return null;for(var p=0;p<a;){if(r[p].elem===_&&r[p].elem!==null)return r[p].animation;p+=1}var g=new pt;return y(g,_),g.setData(_,R),g}function I(){var _,R=r.length,p=[];for(_=0;_<R;_+=1)p.push(r[_].animation);return p}function C(){d+=1,ut()}function B(){d-=1}function y(_,R){_.addEventListener("destroy",x),_.addEventListener("_active",C),_.addEventListener("_idle",B),r.push({elem:R,animation:_}),a+=1}function N(_){var R=new pt;return y(R,null),R.setParams(_),R}function P(_,R){var p;for(p=0;p<a;p+=1)r[p].animation.setSpeed(_,R)}function M(_,R){var p;for(p=0;p<a;p+=1)r[p].animation.setDirection(_,R)}function z(_){var R;for(R=0;R<a;R+=1)r[R].animation.play(_)}function w(_){var R=_-i,p;for(p=0;p<a;p+=1)r[p].animation.advanceTime(R);i=_,d&&!u?window.requestAnimationFrame(w):c=!0}function S(_){i=_,window.requestAnimationFrame(w)}function b(_){var R;for(R=0;R<a;R+=1)r[R].animation.pause(_)}function A(_,R,p){var g;for(g=0;g<a;g+=1)r[g].animation.goToAndStop(_,R,p)}function k(_){var R;for(R=0;R<a;R+=1)r[R].animation.stop(_)}function D(_){var R;for(R=0;R<a;R+=1)r[R].animation.togglePause(_)}function V(_){var R;for(R=a-1;R>=0;R-=1)r[R].animation.destroy(_)}function G(_,R,p){var g=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=g.length;for(U=0;U<F;U+=1)p&&g[U].setAttribute("data-bm-type",p),f(g[U],_);if(R&&F===0){p||(p="svg");var rt=document.getElementsByTagName("body")[0];rt.innerText="";var mt=L("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",p),rt.appendChild(mt),f(mt,_)}}function Z(){var _;for(_=0;_<a;_+=1)r[_].animation.resize()}function ut(){!u&&d&&c&&(window.requestAnimationFrame(S),c=!1)}function ct(){u=!0}function Q(){u=!1,ut()}function gt(_,R){var p;for(p=0;p<a;p+=1)r[p].animation.setVolume(_,R)}function st(_){var R;for(R=0;R<a;R+=1)r[R].animation.mute(_)}function X(_){var R;for(R=0;R<a;R+=1)r[R].animation.unmute(_)}return t.registerAnimation=f,t.loadAnimation=N,t.setSpeed=P,t.setDirection=M,t.play=z,t.pause=b,t.stop=k,t.togglePause=D,t.searchAnimations=G,t.resize=Z,t.goToAndStop=A,t.destroy=V,t.freeze=ct,t.unfreeze=Q,t.setVolume=gt,t.mute=st,t.unmute=X,t.getRegisteredAnimations=I,t}(),ss=function(){var t={};t.getBezierEasing=i;var r={};function i(S,b,A,k,D){var V=D||("bez_"+S+"_"+b+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var G=new w([S,b,A,k]);return r[V]=G,G}var a=4,d=.001,c=1e-7,u=10,x=11,f=1/(x-1),I=typeof Float32Array=="function";function C(S,b){return 1-3*b+3*S}function B(S,b){return 3*b-6*S}function y(S){return 3*S}function N(S,b,A){return((C(b,A)*S+B(b,A))*S+y(b))*S}function P(S,b,A){return 3*C(b,A)*S*S+2*B(b,A)*S+y(b)}function M(S,b,A,k,D){var V,G,Z=0;do G=b+(A-b)/2,V=N(G,k,D)-S,V>0?A=G:b=G;while(Math.abs(V)>c&&++Z<u);return G}function z(S,b,A,k){for(var D=0;D<a;++D){var V=P(b,A,k);if(V===0)return b;var G=N(b,A,k)-S;b-=G/V}return b}function w(S){this._p=S,this._mSampleValues=I?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(b){var A=this._p[0],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?b:b===0?0:b===1?1:N(this._getTForX(b),k,V)},_precompute:function(){var b=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(b!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],A=this._p[2],k=0;k<x;++k)this._mSampleValues[k]=N(k*f,b,A)},_getTForX:function(b){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,G=1,Z=x-1;G!==Z&&D[G]<=b;++G)V+=f;--G;var ut=(b-D[G])/(D[G+1]-D[G]),ct=V+ut*f,Q=P(ct,A,k);return Q>=d?z(b,ct,A,k):Q===0?ct:M(b,V,V+f,A,k)}},t}(),Sd=function(){function t(r){return r.concat(tt(r.length))}return{double:t}}(),ma=function(){return function(t,r,i){var a=0,d=t,c=tt(d),u={newElement:x,release:f};function x(){var I;return a?(a-=1,I=c[a]):I=r(),I}function f(I){a===d&&(c=Sd.double(c),d*=2),i&&i(I),c[a]=I,a+=1}return u}}(),Id=function(){function t(){return{addedLength:0,percents:J("float32",es()),lengths:J("float32",es())}}return ma(8,t)}(),kd=function(){function t(){return{lengths:[],totalLength:0}}function r(i){var a,d=i.lengths.length;for(a=0;a<d;a+=1)Id.release(i.lengths[a]);i.lengths.length=0}return ma(8,t,r)}();function kf(){var t=Math;function r(y,N,P,M,z,w){var S=y*M+N*z+P*w-z*M-w*y-P*N;return S>-.001&&S<.001}function i(y,N,P,M,z,w,S,b,A){if(P===0&&w===0&&A===0)return r(y,N,M,z,S,b);var k=t.sqrt(t.pow(M-y,2)+t.pow(z-N,2)+t.pow(w-P,2)),D=t.sqrt(t.pow(S-y,2)+t.pow(b-N,2)+t.pow(A-P,2)),V=t.sqrt(t.pow(S-M,2)+t.pow(b-z,2)+t.pow(A-w,2)),G;return k>D?k>V?G=k-D-V:G=V-D-k:V>D?G=V-D-k:G=D-k-V,G>-1e-4&&G<1e-4}var a=function(){return function(y,N,P,M){var z=es(),w,S,b,A,k,D=0,V,G=[],Z=[],ut=Id.newElement();for(b=P.length,w=0;w<z;w+=1){for(k=w/(z-1),V=0,S=0;S<b;S+=1)A=Dt(1-k,3)*y[S]+3*Dt(1-k,2)*k*P[S]+3*(1-k)*Dt(k,2)*M[S]+Dt(k,3)*N[S],G[S]=A,Z[S]!==null&&(V+=Dt(G[S]-Z[S],2)),Z[S]=G[S];V&&(V=Ee(V),D+=V),ut.percents[w]=k,ut.lengths[w]=D}return ut.addedLength=D,ut}}();function d(y){var N=kd.newElement(),P=y.c,M=y.v,z=y.o,w=y.i,S,b=y._length,A=N.lengths,k=0;for(S=0;S<b-1;S+=1)A[S]=a(M[S],M[S+1],z[S],w[S+1]),k+=A[S].addedLength;return P&&b&&(A[S]=a(M[S],M[0],z[S],w[0]),k+=A[S].addedLength),N.totalLength=k,N}function c(y){this.segmentLength=0,this.points=new Array(y)}function u(y,N){this.partialLength=y,this.point=N}var x=function(){var y={};return function(N,P,M,z){var w=(N[0]+"_"+N[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!y[w]){var S=es(),b,A,k,D,V,G=0,Z,ut,ct=null;N.length===2&&(N[0]!==P[0]||N[1]!==P[1])&&r(N[0],N[1],P[0],P[1],N[0]+M[0],N[1]+M[1])&&r(N[0],N[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(S=2);var Q=new c(S);for(k=M.length,b=0;b<S;b+=1){for(ut=tt(k),V=b/(S-1),Z=0,A=0;A<k;A+=1)D=Dt(1-V,3)*N[A]+3*Dt(1-V,2)*V*(N[A]+M[A])+3*(1-V)*Dt(V,2)*(P[A]+z[A])+Dt(V,3)*P[A],ut[A]=D,ct!==null&&(Z+=Dt(ut[A]-ct[A],2));Z=Ee(Z),G+=Z,Q.points[b]=new u(Z,ut),ct=ut}Q.segmentLength=G,y[w]=Q}return y[w]}}();function f(y,N){var P=N.percents,M=N.lengths,z=P.length,w=ee((z-1)*y),S=y*N.addedLength,b=0;if(w===z-1||w===0||S===M[w])return P[w];for(var A=M[w]>S?-1:1,k=!0;k;)if(M[w]<=S&&M[w+1]>S?(b=(S-M[w])/(M[w+1]-M[w]),k=!1):w+=A,w<0||w>=z-1){if(w===z-1)return P[w];k=!1}return P[w]+(P[w+1]-P[w])*b}function I(y,N,P,M,z,w){var S=f(z,w),b=1-S,A=t.round((b*b*b*y[0]+(S*b*b+b*S*b+b*b*S)*P[0]+(S*S*b+b*S*S+S*b*S)*M[0]+S*S*S*N[0])*1e3)/1e3,k=t.round((b*b*b*y[1]+(S*b*b+b*S*b+b*b*S)*P[1]+(S*S*b+b*S*S+S*b*S)*M[1]+S*S*S*N[1])*1e3)/1e3;return[A,k]}var C=J("float32",8);function B(y,N,P,M,z,w,S){z<0?z=0:z>1&&(z=1);var b=f(z,S);w=w>1?1:w;var A=f(w,S),k,D=y.length,V=1-b,G=1-A,Z=V*V*V,ut=b*V*V*3,ct=b*b*V*3,Q=b*b*b,gt=V*V*G,st=b*V*G+V*b*G+V*V*A,X=b*b*G+V*b*A+b*V*A,_=b*b*A,R=V*G*G,p=b*G*G+V*A*G+V*G*A,g=b*A*G+V*A*A+b*G*A,U=b*A*A,F=G*G*G,rt=A*G*G+G*A*G+G*G*A,mt=A*A*G+G*A*A+A*G*A,ft=A*A*A;for(k=0;k<D;k+=1)C[k*4]=t.round((Z*y[k]+ut*P[k]+ct*M[k]+Q*N[k])*1e3)/1e3,C[k*4+1]=t.round((gt*y[k]+st*P[k]+X*M[k]+_*N[k])*1e3)/1e3,C[k*4+2]=t.round((R*y[k]+p*P[k]+g*M[k]+U*N[k])*1e3)/1e3,C[k*4+3]=t.round((F*y[k]+rt*P[k]+mt*M[k]+ft*N[k])*1e3)/1e3;return C}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:I,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:i}}var mr=kf(),bi=s,wd=Math.abs;function Cd(t,r){var i=this.offsetTime,a;this.propType==="multidimensional"&&(a=J("float32",this.pv.length));for(var d=r.lastIndex,c=d,u=this.keyframes.length-1,x=!0,f,I,C;x;){if(f=this.keyframes[c],I=this.keyframes[c+1],c===u-1&&t>=I.t-i){f.h&&(f=I),d=0;break}if(I.t-i>t){d=c;break}c<u-1?c+=1:(d=0,x=!1)}C=this.keyframesMetadata[c]||{};var B,y,N,P,M,z,w=I.t-i,S=f.t-i,b;if(f.to){C.bezierData||(C.bezierData=mr.buildBezierData(f.s,I.s||f.e,f.to,f.ti));var A=C.bezierData;if(t>=w||t<S){var k=t>=w?A.points.length-1:0;for(y=A.points[k].point.length,B=0;B<y;B+=1)a[B]=A.points[k].point[B]}else{C.__fnct?z=C.__fnct:(z=ss.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y,f.n).get,C.__fnct=z),N=z((t-S)/(w-S));var D=A.segmentLength*N,V,G=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,P=A.points.length;x;){if(G+=A.points[M].partialLength,D===0||N===0||M===A.points.length-1){for(y=A.points[M].point.length,B=0;B<y;B+=1)a[B]=A.points[M].point[B];break}else if(D>=G&&D<G+A.points[M+1].partialLength){for(V=(D-G)/A.points[M+1].partialLength,y=A.points[M].point.length,B=0;B<y;B+=1)a[B]=A.points[M].point[B]+(A.points[M+1].point[B]-A.points[M].point[B])*V;break}M<P-1?M+=1:x=!1}r._lastPoint=M,r._lastAddedLength=G-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var Z,ut,ct,Q,gt;if(u=f.s.length,b=I.s||f.e,this.sh&&f.h!==1)if(t>=w)a[0]=b[0],a[1]=b[1],a[2]=b[2];else if(t<=S)a[0]=f.s[0],a[1]=f.s[1],a[2]=f.s[2];else{var st=Ld(f.s),X=Ld(b),_=(t-S)/(w-S);Cf(a,wf(st,X,_))}else for(c=0;c<u;c+=1)f.h!==1&&(t>=w?N=1:t<S?N=0:(f.o.x.constructor===Array?(C.__fnct||(C.__fnct=[]),C.__fnct[c]?z=C.__fnct[c]:(Z=f.o.x[c]===void 0?f.o.x[0]:f.o.x[c],ut=f.o.y[c]===void 0?f.o.y[0]:f.o.y[c],ct=f.i.x[c]===void 0?f.i.x[0]:f.i.x[c],Q=f.i.y[c]===void 0?f.i.y[0]:f.i.y[c],z=ss.getBezierEasing(Z,ut,ct,Q).get,C.__fnct[c]=z)):C.__fnct?z=C.__fnct:(Z=f.o.x,ut=f.o.y,ct=f.i.x,Q=f.i.y,z=ss.getBezierEasing(Z,ut,ct,Q).get,f.keyframeMetadata=z),N=z((t-S)/(w-S)))),b=I.s||f.e,gt=f.h===1?f.s[c]:f.s[c]+(b[c]-f.s[c])*N,this.propType==="multidimensional"?a[c]=gt:a=gt}return r.lastIndex=d,a}function wf(t,r,i){var a=[],d=t[0],c=t[1],u=t[2],x=t[3],f=r[0],I=r[1],C=r[2],B=r[3],y,N,P,M,z;return N=d*f+c*I+u*C+x*B,N<0&&(N=-N,f=-f,I=-I,C=-C,B=-B),1-N>1e-6?(y=Math.acos(N),P=Math.sin(y),M=Math.sin((1-i)*y)/P,z=Math.sin(i*y)/P):(M=1-i,z=i),a[0]=M*d+z*f,a[1]=M*c+z*I,a[2]=M*u+z*C,a[3]=M*x+z*B,a}function Cf(t,r){var i=r[0],a=r[1],d=r[2],c=r[3],u=Math.atan2(2*a*c-2*i*d,1-2*a*a-2*d*d),x=Math.asin(2*i*a+2*d*c),f=Math.atan2(2*i*c-2*a*d,1-2*i*i-2*d*d);t[0]=u/_t,t[1]=x/_t,t[2]=f/_t}function Ld(t){var r=t[0]*_t,i=t[1]*_t,a=t[2]*_t,d=Math.cos(r/2),c=Math.cos(i/2),u=Math.cos(a/2),x=Math.sin(r/2),f=Math.sin(i/2),I=Math.sin(a/2),C=d*c*u-x*f*I,B=x*f*u+d*c*I,y=x*c*u+d*f*I,N=d*f*u-x*c*I;return[B,y,N,C]}function Nd(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==bi&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function ua(t){var r;if(this.propType==="unidimensional")r=t*this.mult,wd(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,a=this.v.length;i<a;)r=t[i]*this.mult,wd(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function fa(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,r=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<r;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function va(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Lf(t,r,i,a){this.propType="unidimensional",this.mult=i||1,this.data=r,this.v=i?r.k*i:r.k,this.pv=r.k,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=fa,this.setVValue=ua,this.addEffect=va}function Nf(t,r,i,a){this.propType="multidimensional",this.mult=i||1,this.data=r,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=J("float32",c),this.pv=J("float32",c),this.vel=J("float32",c),d=0;d<c;d+=1)this.v[d]=r.k[d]*this.mult,this.pv[d]=r.k[d];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=fa,this.setVValue=ua,this.addEffect=va}function Mf(t,r,i,a){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:bi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.v=bi,this.pv=bi,this._isFirstFrame=!0,this.getValue=fa,this.setVValue=ua,this.interpolateValue=Cd,this.effectsSequence=[Nd.bind(this)],this.addEffect=va}function Rf(t,r,i,a){this.propType="multidimensional";var d,c=r.k.length,u,x,f,I;for(d=0;d<c-1;d+=1)r.k[d].to&&r.k[d].s&&r.k[d+1]&&r.k[d+1].s&&(u=r.k[d].s,x=r.k[d+1].s,f=r.k[d].to,I=r.k[d].ti,(u.length===2&&!(u[0]===x[0]&&u[1]===x[1])&&mr.pointOnLine2D(u[0],u[1],x[0],x[1],u[0]+f[0],u[1]+f[1])&&mr.pointOnLine2D(u[0],u[1],x[0],x[1],x[0]+I[0],x[1]+I[1])||u.length===3&&!(u[0]===x[0]&&u[1]===x[1]&&u[2]===x[2])&&mr.pointOnLine3D(u[0],u[1],u[2],x[0],x[1],x[2],u[0]+f[0],u[1]+f[1],u[2]+f[2])&&mr.pointOnLine3D(u[0],u[1],u[2],x[0],x[1],x[2],x[0]+I[0],x[1]+I[1],x[2]+I[2]))&&(r.k[d].to=null,r.k[d].ti=null),u[0]===x[0]&&u[1]===x[1]&&f[0]===0&&f[1]===0&&I[0]===0&&I[1]===0&&(u.length===2||u[2]===x[2]&&f[2]===0&&I[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Nd.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.getValue=fa,this.setVValue=ua,this.interpolateValue=Cd,this.frameId=-1;var C=r.k[0].s.length;for(this.v=J("float32",C),this.pv=J("float32",C),d=0;d<C;d+=1)this.v[d]=bi,this.pv[d]=bi;this._caching={lastFrame:bi,lastIndex:0,value:J("float32",C)},this.addEffect=va}var et=function(){function t(i,a,d,c,u){a.sid&&(a=i.globalData.slotManager.getProp(a));var x;if(!a.k.length)x=new Lf(i,a,c,u);else if(typeof a.k[0]=="number")x=new Nf(i,a,c,u);else switch(d){case 0:x=new Mf(i,a,c,u);break;case 1:x=new Rf(i,a,c,u);break;default:break}return x.effectsSequence.length&&u.addDynamicProperty(x),x}var r={getProp:t};return r}();function re(){}re.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var yi=function(){function t(){return J("float32",2)}return ma(8,t)}();function Ar(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Ar.prototype.setPathData=function(t,r){this.c=t,this.setLength(r);for(var i=0;i<r;)this.v[i]=yi.newElement(),this.o[i]=yi.newElement(),this.i[i]=yi.newElement(),i+=1},Ar.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},Ar.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Ar.prototype.setXYAt=function(t,r,i,a,d){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!d)&&(c[a]=yi.newElement()),c[a][0]=t,c[a][1]=r},Ar.prototype.setTripleAt=function(t,r,i,a,d,c,u,x){this.setXYAt(t,r,"v",u,x),this.setXYAt(i,a,"o",u,x),this.setXYAt(d,c,"i",u,x)},Ar.prototype.reverse=function(){var t=new Ar;t.setPathData(this.c,this._length);var r=this.v,i=this.o,a=this.i,d=0;this.c&&(t.setTripleAt(r[0][0],r[0][1],a[0][0],a[0][1],i[0][0],i[0][1],0,!1),d=1);var c=this._length-1,u=this._length,x;for(x=d;x<u;x+=1)t.setTripleAt(r[c][0],r[c][1],a[c][0],a[c][1],i[c][0],i[c][1],x,!1),c-=1;return t},Ar.prototype.length=function(){return this._length};var ae=function(){function t(){return new Ar}function r(d){var c=d._length,u;for(u=0;u<c;u+=1)yi.release(d.v[u]),yi.release(d.i[u]),yi.release(d.o[u]),d.v[u]=null,d.i[u]=null,d.o[u]=null;d._length=0,d.c=!1}function i(d){var c=a.newElement(),u,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,u=0;u<x;u+=1)c.setTripleAt(d.v[u][0],d.v[u][1],d.o[u][0],d.o[u][1],d.i[u][0],d.i[u][1],u);return c}var a=ma(4,t,r);return a.clone=i,a}();function ll(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}ll.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ll.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)ae.release(this.shapes[t]);this._length=0};var lo=function(){var t={newShapeCollection:d,release:c},r=0,i=4,a=tt(i);function d(){var u;return r?(r-=1,u=a[r]):u=new ll,u}function c(u){var x,f=u._length;for(x=0;x<f;x+=1)ae.release(u.shapes[x]);u._length=0,r===i&&(a=Sd.double(a),i*=2),a[r]=u,r+=1}return t}(),ga=function(){var t=-999999;function r(w,S,b){var A=b.lastIndex,k,D,V,G,Z,ut,ct,Q,gt,st=this.keyframes;if(w<st[0].t-this.offsetTime)k=st[0].s[0],V=!0,A=0;else if(w>=st[st.length-1].t-this.offsetTime)k=st[st.length-1].s?st[st.length-1].s[0]:st[st.length-2].e[0],V=!0;else{for(var X=A,_=st.length-1,R=!0,p,g,U;R&&(p=st[X],g=st[X+1],!(g.t-this.offsetTime>w));)X<_-1?X+=1:R=!1;if(U=this.keyframesMetadata[X]||{},V=p.h===1,A=X,!V){if(w>=g.t-this.offsetTime)Q=1;else if(w<p.t-this.offsetTime)Q=0;else{var F;U.__fnct?F=U.__fnct:(F=ss.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,U.__fnct=F),Q=F((w-(p.t-this.offsetTime))/(g.t-this.offsetTime-(p.t-this.offsetTime)))}D=g.s?g.s[0]:p.e[0]}k=p.s[0]}for(ut=S._length,ct=k.i[0].length,b.lastIndex=A,G=0;G<ut;G+=1)for(Z=0;Z<ct;Z+=1)gt=V?k.i[G][Z]:k.i[G][Z]+(D.i[G][Z]-k.i[G][Z])*Q,S.i[G][Z]=gt,gt=V?k.o[G][Z]:k.o[G][Z]+(D.o[G][Z]-k.o[G][Z])*Q,S.o[G][Z]=gt,gt=V?k.v[G][Z]:k.v[G][Z]+(D.v[G][Z]-k.v[G][Z])*Q,S.v[G][Z]=gt}function i(){var w=this.comp.renderedFrame-this.offsetTime,S=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==t&&(A<S&&w<S||A>b&&w>b)||(this._caching.lastIndex=A<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function a(){this.paths=this.localShapeCollection}function d(w,S){if(w._length!==S._length||w.c!==S.c)return!1;var b,A=w._length;for(b=0;b<A;b+=1)if(w.v[b][0]!==S.v[b][0]||w.v[b][1]!==S.v[b][1]||w.o[b][0]!==S.o[b][0]||w.o[b][1]!==S.o[b][1]||w.i[b][0]!==S.i[b][0]||w.i[b][1]!==S.i[b][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=ae.clone(w),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function u(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var w;this.kf?w=this.pv:this.data.ks?w=this.data.ks.k:w=this.data.pt.k;var S,b=this.effectsSequence.length;for(S=0;S<b;S+=1)w=this.effectsSequence[S](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(w,S,b){this.propType="shape",this.comp=w.comp,this.container=w,this.elem=w,this.data=S,this.k=!1,this.kf=!1,this._mdf=!1;var A=b===3?S.pt.k:S.ks.k;this.v=ae.clone(A),this.pv=ae.clone(this.v),this.localShapeCollection=lo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function f(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=u,x.prototype.setVValue=c,x.prototype.addEffect=f;function I(w,S,b){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=b===3?S.pt.k:S.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=ae.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ae.clone(this.v),this.localShapeCollection=lo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=a,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}I.prototype.getValue=u,I.prototype.interpolateShape=r,I.prototype.setVValue=c,I.prototype.addEffect=f;var C=function(){var w=he;function S(b,A){this.v=ae.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=lo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=et.getProp(b,A.p,1,0,this),this.s=et.getProp(b,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return S.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,G=this.d!==3,Z=this.v;Z.v[0][0]=A,Z.v[0][1]=k-V,Z.v[1][0]=G?A+D:A-D,Z.v[1][1]=k,Z.v[2][0]=A,Z.v[2][1]=k+V,Z.v[3][0]=G?A-D:A+D,Z.v[3][1]=k,Z.i[0][0]=G?A-D*w:A+D*w,Z.i[0][1]=k-V,Z.i[1][0]=G?A+D:A-D,Z.i[1][1]=k-V*w,Z.i[2][0]=G?A+D*w:A-D*w,Z.i[2][1]=k+V,Z.i[3][0]=G?A-D:A+D,Z.i[3][1]=k+V*w,Z.o[0][0]=G?A+D*w:A-D*w,Z.o[0][1]=k-V,Z.o[1][0]=G?A+D:A-D,Z.o[1][1]=k+V*w,Z.o[2][0]=G?A-D*w:A+D*w,Z.o[2][1]=k+V,Z.o[3][0]=G?A-D:A+D,Z.o[3][1]=k-V*w}},$([re],S),S}(),B=function(){function w(S,b){this.v=ae.newElement(),this.v.setPathData(!0,0),this.elem=S,this.comp=S.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),b.sy===1?(this.ir=et.getProp(S,b.ir,0,0,this),this.is=et.getProp(S,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=et.getProp(S,b.pt,0,0,this),this.p=et.getProp(S,b.p,1,0,this),this.r=et.getProp(S,b.r,0,_t,this),this.or=et.getProp(S,b.or,0,0,this),this.os=et.getProp(S,b.os,0,.01,this),this.localShapeCollection=lo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return w.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var b=Math.floor(this.pt.v)*2,A=Math.PI*2/b,k=!0,D=this.or.v,V=this.ir.v,G=this.os.v,Z=this.is.v,ut=2*Math.PI*D/(b*2),ct=2*Math.PI*V/(b*2),Q,gt,st,X,_=-Math.PI/2;_+=this.r.v;var R=this.data.d===3?-1:1;for(this.v._length=0,Q=0;Q<b;Q+=1){gt=k?D:V,st=k?G:Z,X=k?ut:ct;var p=gt*Math.cos(_),g=gt*Math.sin(_),U=p===0&&g===0?0:g/Math.sqrt(p*p+g*g),F=p===0&&g===0?0:-p/Math.sqrt(p*p+g*g);p+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(p,g,p-U*X*st*R,g-F*X*st*R,p+U*X*st*R,g+F*X*st*R,Q,!0),k=!k,_+=A*R}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),A=Math.PI*2/b,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(b*4),G,Z=-Math.PI*.5,ut=this.data.d===3?-1:1;for(Z+=this.r.v,this.v._length=0,G=0;G<b;G+=1){var ct=k*Math.cos(Z),Q=k*Math.sin(Z),gt=ct===0&&Q===0?0:Q/Math.sqrt(ct*ct+Q*Q),st=ct===0&&Q===0?0:-ct/Math.sqrt(ct*ct+Q*Q);ct+=+this.p.v[0],Q+=+this.p.v[1],this.v.setTripleAt(ct,Q,ct-gt*V*D*ut,Q-st*V*D*ut,ct+gt*V*D*ut,Q+st*V*D*ut,G,!0),Z+=A*ut}this.paths.length=0,this.paths[0]=this.v}},$([re],w),w}(),y=function(){function w(S,b){this.v=ae.newElement(),this.v.c=!0,this.localShapeCollection=lo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=S,this.comp=S.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),this.p=et.getProp(S,b.p,1,0,this),this.s=et.getProp(S,b.s,1,0,this),this.r=et.getProp(S,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var b=this.p.v[0],A=this.p.v[1],k=this.s.v[0]/2,D=this.s.v[1]/2,V=Me(k,D,this.r.v),G=V*(1-he);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+k,A-D+V,b+k,A-D+V,b+k,A-D+G,0,!0),this.v.setTripleAt(b+k,A+D-V,b+k,A+D-G,b+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(b+k-V,A+D,b+k-V,A+D,b+k-G,A+D,2,!0),this.v.setTripleAt(b-k+V,A+D,b-k+G,A+D,b-k+V,A+D,3,!0),this.v.setTripleAt(b-k,A+D-V,b-k,A+D-V,b-k,A+D-G,4,!0),this.v.setTripleAt(b-k,A-D+V,b-k,A-D+G,b-k,A-D+V,5,!0),this.v.setTripleAt(b-k+V,A-D,b-k+V,A-D,b-k+G,A-D,6,!0),this.v.setTripleAt(b+k-V,A-D,b+k-G,A-D,b+k-V,A-D,7,!0)):(this.v.setTripleAt(b-k,A+D,b-k+G,A+D,b-k,A+D,2),this.v.setTripleAt(b-k,A-D,b-k,A-D+G,b-k,A-D,3))):(this.v.setTripleAt(b+k,A-D+V,b+k,A-D+G,b+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(b+k-V,A-D,b+k-V,A-D,b+k-G,A-D,1,!0),this.v.setTripleAt(b-k+V,A-D,b-k+G,A-D,b-k+V,A-D,2,!0),this.v.setTripleAt(b-k,A-D+V,b-k,A-D+V,b-k,A-D+G,3,!0),this.v.setTripleAt(b-k,A+D-V,b-k,A+D-G,b-k,A+D-V,4,!0),this.v.setTripleAt(b-k+V,A+D,b-k+V,A+D,b-k+G,A+D,5,!0),this.v.setTripleAt(b+k-V,A+D,b+k-G,A+D,b+k-V,A+D,6,!0),this.v.setTripleAt(b+k,A+D-V,b+k,A+D-V,b+k,A+D-G,7,!0)):(this.v.setTripleAt(b-k,A-D,b-k+G,A-D,b-k,A-D,1,!0),this.v.setTripleAt(b-k,A+D,b-k,A+D-G,b-k,A+D,2,!0),this.v.setTripleAt(b+k,A+D,b+k-G,A+D,b+k,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},$([re],w),w}();function N(w,S,b){var A;if(b===3||b===4){var k=b===3?S.pt:S.ks,D=k.k;D.length?A=new I(w,S,b):A=new x(w,S,b)}else b===5?A=new y(w,S):b===6?A=new C(w,S):b===7&&(A=new B(w,S));return A.k&&w.addDynamicProperty(A),A}function P(){return x}function M(){return I}var z={};return z.getShapeProp=N,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var ne=function(){var t=Math.cos,r=Math.sin,i=Math.tan,a=Math.round;function d(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function c(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(g,-U,0,0,U,g,0,0,0,0,1,0,0,0,0,1)}function u(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(1,0,0,0,0,g,-U,0,0,U,g,0,0,0,0,1)}function x(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(g,0,U,0,0,1,0,0,-U,0,g,0,0,0,0,1)}function f(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(g,-U,0,0,U,g,0,0,0,0,1,0,0,0,0,1)}function I(p,g){return this._t(1,g,p,1,0,0)}function C(p,g){return this.shear(i(p),i(g))}function B(p,g){var U=t(g),F=r(g);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(p),1,0,0,0,0,1,0,0,0,0,1)._t(U,-F,0,0,F,U,0,0,0,0,1,0,0,0,0,1)}function y(p,g,U){return!U&&U!==0&&(U=1),p===1&&g===1&&U===1?this:this._t(p,0,0,0,0,g,0,0,0,0,U,0,0,0,0,1)}function N(p,g,U,F,rt,mt,ft,wt,Ct,Kt,Ae,fr,_e,ie,Re,Nt){return this.props[0]=p,this.props[1]=g,this.props[2]=U,this.props[3]=F,this.props[4]=rt,this.props[5]=mt,this.props[6]=ft,this.props[7]=wt,this.props[8]=Ct,this.props[9]=Kt,this.props[10]=Ae,this.props[11]=fr,this.props[12]=_e,this.props[13]=ie,this.props[14]=Re,this.props[15]=Nt,this}function P(p,g,U){return U=U||0,p!==0||g!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,p,g,U,1):this}function M(p,g,U,F,rt,mt,ft,wt,Ct,Kt,Ae,fr,_e,ie,Re,Nt){var nt=this.props;if(p===1&&g===0&&U===0&&F===0&&rt===0&&mt===1&&ft===0&&wt===0&&Ct===0&&Kt===0&&Ae===1&&fr===0)return nt[12]=nt[12]*p+nt[15]*_e,nt[13]=nt[13]*mt+nt[15]*ie,nt[14]=nt[14]*Ae+nt[15]*Re,nt[15]*=Nt,this._identityCalculated=!1,this;var Ir=nt[0],Jr=nt[1],kr=nt[2],vr=nt[3],wr=nt[4],Cr=nt[5],Se=nt[6],Qr=nt[7],ti=nt[8],ir=nt[9],ei=nt[10],or=nt[11],Ai=nt[12],Ia=nt[13],ka=nt[14],wa=nt[15];return nt[0]=Ir*p+Jr*rt+kr*Ct+vr*_e,nt[1]=Ir*g+Jr*mt+kr*Kt+vr*ie,nt[2]=Ir*U+Jr*ft+kr*Ae+vr*Re,nt[3]=Ir*F+Jr*wt+kr*fr+vr*Nt,nt[4]=wr*p+Cr*rt+Se*Ct+Qr*_e,nt[5]=wr*g+Cr*mt+Se*Kt+Qr*ie,nt[6]=wr*U+Cr*ft+Se*Ae+Qr*Re,nt[7]=wr*F+Cr*wt+Se*fr+Qr*Nt,nt[8]=ti*p+ir*rt+ei*Ct+or*_e,nt[9]=ti*g+ir*mt+ei*Kt+or*ie,nt[10]=ti*U+ir*ft+ei*Ae+or*Re,nt[11]=ti*F+ir*wt+ei*fr+or*Nt,nt[12]=Ai*p+Ia*rt+ka*Ct+wa*_e,nt[13]=Ai*g+Ia*mt+ka*Kt+wa*ie,nt[14]=Ai*U+Ia*ft+ka*Ae+wa*Re,nt[15]=Ai*F+Ia*wt+ka*fr+wa*Nt,this._identityCalculated=!1,this}function z(p){var g=p.props;return this.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15])}function w(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function S(p){for(var g=0;g<16;){if(p.props[g]!==this.props[g])return!1;g+=1}return!0}function b(p){var g;for(g=0;g<16;g+=1)p.props[g]=this.props[g];return p}function A(p){var g;for(g=0;g<16;g+=1)this.props[g]=p[g]}function k(p,g,U){return{x:p*this.props[0]+g*this.props[4]+U*this.props[8]+this.props[12],y:p*this.props[1]+g*this.props[5]+U*this.props[9]+this.props[13],z:p*this.props[2]+g*this.props[6]+U*this.props[10]+this.props[14]}}function D(p,g,U){return p*this.props[0]+g*this.props[4]+U*this.props[8]+this.props[12]}function V(p,g,U){return p*this.props[1]+g*this.props[5]+U*this.props[9]+this.props[13]}function G(p,g,U){return p*this.props[2]+g*this.props[6]+U*this.props[10]+this.props[14]}function Z(){var p=this.props[0]*this.props[5]-this.props[1]*this.props[4],g=this.props[5]/p,U=-this.props[1]/p,F=-this.props[4]/p,rt=this.props[0]/p,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/p,ft=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/p,wt=new ne;return wt.props[0]=g,wt.props[1]=U,wt.props[4]=F,wt.props[5]=rt,wt.props[12]=mt,wt.props[13]=ft,wt}function ut(p){var g=this.getInverseMatrix();return g.applyToPointArray(p[0],p[1],p[2]||0)}function ct(p){var g,U=p.length,F=[];for(g=0;g<U;g+=1)F[g]=ut(p[g]);return F}function Q(p,g,U){var F=J("float32",6);if(this.isIdentity())F[0]=p[0],F[1]=p[1],F[2]=g[0],F[3]=g[1],F[4]=U[0],F[5]=U[1];else{var rt=this.props[0],mt=this.props[1],ft=this.props[4],wt=this.props[5],Ct=this.props[12],Kt=this.props[13];F[0]=p[0]*rt+p[1]*ft+Ct,F[1]=p[0]*mt+p[1]*wt+Kt,F[2]=g[0]*rt+g[1]*ft+Ct,F[3]=g[0]*mt+g[1]*wt+Kt,F[4]=U[0]*rt+U[1]*ft+Ct,F[5]=U[0]*mt+U[1]*wt+Kt}return F}function gt(p,g,U){var F;return this.isIdentity()?F=[p,g,U]:F=[p*this.props[0]+g*this.props[4]+U*this.props[8]+this.props[12],p*this.props[1]+g*this.props[5]+U*this.props[9]+this.props[13],p*this.props[2]+g*this.props[6]+U*this.props[10]+this.props[14]],F}function st(p,g){if(this.isIdentity())return p+","+g;var U=this.props;return Math.round((p*U[0]+g*U[4]+U[12])*100)/100+","+Math.round((p*U[1]+g*U[5]+U[13])*100)/100}function X(){for(var p=0,g=this.props,U="matrix3d(",F=1e4;p<16;)U+=a(g[p]*F)/F,U+=p===15?")":",",p+=1;return U}function _(p){var g=1e4;return p<1e-6&&p>0||p>-1e-6&&p<0?a(p*g)/g:p}function R(){var p=this.props,g=_(p[0]),U=_(p[1]),F=_(p[4]),rt=_(p[5]),mt=_(p[12]),ft=_(p[13]);return"matrix("+g+","+U+","+F+","+rt+","+mt+","+ft+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=u,this.rotateY=x,this.rotateZ=f,this.skew=C,this.skewFromAxis=B,this.shear=I,this.scale=y,this.setTransform=N,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=G,this.applyToPointArray=gt,this.applyToTriplePoints=Q,this.applyToPointStringified=st,this.toCSS=X,this.to2dCSS=R,this.clone=b,this.cloneFromProps=A,this.equals=S,this.inversePoints=ct,this.inversePoint=ut,this.getInverseMatrix=Z,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=J("float32",16),this.reset()}}();function ba(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ba=function(i){return typeof i}:ba=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ba(t)}var Lt={},ya="__[STANDALONE]__",Md="__[ANIMATIONDATA]__",Rd="";function Of(t){m(t)}function Od(){ya===!0?qt.searchAnimations(Md,ya,Rd):qt.searchAnimations()}function Pf(t){gf(t)}function Df(t){Ef(t)}function Ff(t){return ya===!0&&(t.animationData=JSON.parse(Md)),qt.loadAnimation(t)}function $f(t){if(typeof t=="string")switch(t){case"high":ha(200);break;default:case"medium":ha(50);break;case"low":ha(10);break}else!isNaN(t)&&t>1&&ha(t);es()>=50?$e(!1):$e(!0)}function zf(){return typeof navigator<"u"}function Vf(t,r){t==="expressions"&&yf(r)}function Bf(t){switch(t){case"propertyFactory":return et;case"shapePropertyFactory":return ga;case"matrix":return ne;default:return null}}Lt.play=qt.play,Lt.pause=qt.pause,Lt.setLocationHref=Of,Lt.togglePause=qt.togglePause,Lt.setSpeed=qt.setSpeed,Lt.setDirection=qt.setDirection,Lt.stop=qt.stop,Lt.searchAnimations=Od,Lt.registerAnimation=qt.registerAnimation,Lt.loadAnimation=Ff,Lt.setSubframeRendering=Pf,Lt.resize=qt.resize,Lt.goToAndStop=qt.goToAndStop,Lt.destroy=qt.destroy,Lt.setQuality=$f,Lt.inBrowser=zf,Lt.installPlugin=Vf,Lt.freeze=qt.freeze,Lt.unfreeze=qt.unfreeze,Lt.setVolume=qt.setVolume,Lt.mute=qt.mute,Lt.unmute=qt.unmute,Lt.getRegisteredAnimations=qt.getRegisteredAnimations,Lt.useWebWorker=n,Lt.setIDPrefix=Df,Lt.__getFactory=Bf,Lt.version="5.12.2";function Uf(){document.readyState==="complete"&&(clearInterval(jf),Od())}function Gf(t){for(var r=Pd.split("&"),i=0;i<r.length;i+=1){var a=r[i].split("=");if(decodeURIComponent(a[0])==t)return decodeURIComponent(a[1])}return null}var Pd="";if(ya){var Dd=document.getElementsByTagName("script"),Hf=Dd.length-1,Fd=Dd[Hf]||{src:""};Pd=Fd.src?Fd.src.replace(/^[^\?]+\??/,""):"",Rd=Gf("renderer")}var jf=setInterval(Uf,100);try{!((typeof Ns>"u"?"undefined":ba(Ns))==="object"&&typeof Ja<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Lt)}catch{}var Wr=function(){var t={},r={};t.registerModifier=i,t.getModifier=a;function i(d,c){r[d]||(r[d]=c)}function a(d,c,u){return new r[d](c,u)}return t}();function Ve(){}Ve.prototype.initModifierProperties=function(){},Ve.prototype.addShapeToModifier=function(){},Ve.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var r={shape:t.sh,data:t,localShapeCollection:lo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&t.setAsAnimated()}},Ve.prototype.init=function(t,r){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r),this.frameId=s,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ve.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([re],Ve);function rr(){}$([Ve],rr),rr.prototype.initModifierProperties=function(t,r){this.s=et.getProp(t,r.s,0,.01,this),this.e=et.getProp(t,r.e,0,.01,this),this.o=et.getProp(t,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},rr.prototype.addShapeToModifier=function(t){t.pathsData=[]},rr.prototype.calculateShapeEdges=function(t,r,i,a,d){var c=[];r<=1?c.push({s:t,e:r}):t>=1?c.push({s:t-1,e:r-1}):(c.push({s:t,e:1}),c.push({s:0,e:r-1}));var u=[],x,f=c.length,I;for(x=0;x<f;x+=1)if(I=c[x],!(I.e*d<a||I.s*d>a+i)){var C,B;I.s*d<=a?C=0:C=(I.s*d-a)/i,I.e*d>=a+i?B=1:B=(I.e*d-a)/i,u.push([C,B])}return u.length||u.push([0,0]),u},rr.prototype.releasePathsData=function(t){var r,i=t.length;for(r=0;r<i;r+=1)kd.release(t[r]);return t.length=0,t},rr.prototype.processShapes=function(t){var r,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?r=1+a:this.s.v<0?r=0+a:r=this.s.v+a,this.e.v>1?i=1+a:this.e.v<0?i=0+a:i=this.e.v+a,r>i){var d=r;r=i,i=d}r=Math.round(r*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=r,this.eValue=i}else r=this.sValue,i=this.eValue;var c,u,x=this.shapes.length,f,I,C,B,y,N=0;if(i===r)for(u=0;u<x;u+=1)this.shapes[u].localShapeCollection.releaseShapes(),this.shapes[u].shape._mdf=!0,this.shapes[u].shape.paths=this.shapes[u].localShapeCollection,this._mdf&&(this.shapes[u].pathsData.length=0);else if(i===1&&r===0||i===0&&r===1){if(this._mdf)for(u=0;u<x;u+=1)this.shapes[u].pathsData.length=0,this.shapes[u].shape._mdf=!0}else{var P=[],M,z;for(u=0;u<x;u+=1)if(M=this.shapes[u],!M.shape._mdf&&!this._mdf&&!t&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,I=c._length,y=0,!M.shape._mdf&&M.pathsData.length)y=M.totalShapeLength;else{for(C=this.releasePathsData(M.pathsData),f=0;f<I;f+=1)B=mr.getSegmentsLength(c.shapes[f]),C.push(B),y+=B.totalLength;M.totalShapeLength=y,M.pathsData=C}N+=y,M.shape._mdf=!0}var w=r,S=i,b=0,A;for(u=x-1;u>=0;u-=1)if(M=this.shapes[u],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,i,M.totalShapeLength,b,N),b+=M.totalShapeLength):A=[[w,S]],I=A.length,f=0;f<I;f+=1){w=A[f][0],S=A[f][1],P.length=0,S<=1?P.push({s:M.totalShapeLength*w,e:M.totalShapeLength*S}):w>=1?P.push({s:M.totalShapeLength*(w-1),e:M.totalShapeLength*(S-1)}):(P.push({s:M.totalShapeLength*w,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(S-1)}));var k=this.addShapes(M,P[0]);if(P[0].s!==P[0].e){if(P.length>1){var D=M.shape.paths.shapes[M.shape.paths._length-1];if(D.c){var V=k.pop();this.addPaths(k,z),k=this.addShapes(M,P[1],V)}else this.addPaths(k,z),k=this.addShapes(M,P[1])}this.addPaths(k,z)}}M.shape.paths=z}}},rr.prototype.addPaths=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)r.addShape(t[i])},rr.prototype.addSegment=function(t,r,i,a,d,c,u){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(i[0],i[1],"i",c+1),u&&d.setXYAt(t[0],t[1],"v",c),d.setXYAt(a[0],a[1],"v",c+1)},rr.prototype.addSegmentFromArray=function(t,r,i,a){r.setXYAt(t[1],t[5],"o",i),r.setXYAt(t[2],t[6],"i",i+1),a&&r.setXYAt(t[0],t[4],"v",i),r.setXYAt(t[3],t[7],"v",i+1)},rr.prototype.addShapes=function(t,r,i){var a=t.pathsData,d=t.shape.paths.shapes,c,u=t.shape.paths._length,x,f,I=0,C,B,y,N,P=[],M,z=!0;for(i?(B=i._length,M=i._length):(i=ae.newElement(),B=0,M=0),P.push(i),c=0;c<u;c+=1){for(y=a[c].lengths,i.c=d[c].c,f=d[c].c?y.length:y.length+1,x=1;x<f;x+=1)if(C=y[x-1],I+C.addedLength<r.s)I+=C.addedLength,i.c=!1;else if(I>r.e){i.c=!1;break}else r.s<=I&&r.e>=I+C.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],i,B,z),z=!1):(N=mr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-I)/C.addedLength,(r.e-I)/C.addedLength,y[x-1]),this.addSegmentFromArray(N,i,B,z),z=!1,i.c=!1),I+=C.addedLength,B+=1;if(d[c].c&&y.length){if(C=y[x-1],I<=r.e){var w=y[x-1].addedLength;r.s<=I&&r.e>=I+w?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],i,B,z),z=!1):(N=mr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-I)/w,(r.e-I)/w,y[x-1]),this.addSegmentFromArray(N,i,B,z),z=!1,i.c=!1)}else i.c=!1;I+=C.addedLength,B+=1}if(i._length&&(i.setXYAt(i.v[M][0],i.v[M][1],"i",M),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),I>r.e)break;c<u-1&&(i=ae.newElement(),z=!0,P.push(i),B=0)}return P};function as(){}$([Ve],as),as.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=et.getProp(t,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},as.prototype.processPath=function(t,r){var i=r/100,a=[0,0],d=t._length,c=0;for(c=0;c<d;c+=1)a[0]+=t.v[c][0],a[1]+=t.v[c][1];a[0]/=d,a[1]/=d;var u=ae.newElement();u.c=t.c;var x,f,I,C,B,y;for(c=0;c<d;c+=1)x=t.v[c][0]+(a[0]-t.v[c][0])*i,f=t.v[c][1]+(a[1]-t.v[c][1])*i,I=t.o[c][0]+(a[0]-t.o[c][0])*-i,C=t.o[c][1]+(a[1]-t.o[c][1])*-i,B=t.i[c][0]+(a[0]-t.i[c][0])*-i,y=t.i[c][1]+(a[1]-t.i[c][1])*-i,u.setTripleAt(x,f,I,C,B,y,c);return u},as.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.amount.v;if(u!==0){var x,f;for(i=0;i<a;i+=1){if(x=this.shapes[i],f=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!t))for(f.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)f.addShape(this.processPath(r[d],u));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var cl=function(){var t=[0,0];function r(f){var I=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||I,this.a&&f.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&f.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&f.skewFromAxis(-this.sk.v,this.sa.v),this.r?f.rotate(-this.r.v):f.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?f.translate(this.px.v,this.py.v,-this.pz.v):f.translate(this.px.v,this.py.v,0):f.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(f){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||f){var I;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var C,B;if(I=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(C=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/I,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/I,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(C=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/I,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/I,0)):(C=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/I,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){C=[],B=[];var y=this.px,N=this.py;y._caching.lastFrame+y.offsetTime<=y.keyframes[0].t?(C[0]=y.getValueAtTime((y.keyframes[0].t+.01)/I,0),C[1]=N.getValueAtTime((N.keyframes[0].t+.01)/I,0),B[0]=y.getValueAtTime(y.keyframes[0].t/I,0),B[1]=N.getValueAtTime(N.keyframes[0].t/I,0)):y._caching.lastFrame+y.offsetTime>=y.keyframes[y.keyframes.length-1].t?(C[0]=y.getValueAtTime(y.keyframes[y.keyframes.length-1].t/I,0),C[1]=N.getValueAtTime(N.keyframes[N.keyframes.length-1].t/I,0),B[0]=y.getValueAtTime((y.keyframes[y.keyframes.length-1].t-.01)/I,0),B[1]=N.getValueAtTime((N.keyframes[N.keyframes.length-1].t-.01)/I,0)):(C=[y.pv,N.pv],B[0]=y.getValueAtTime((y._caching.lastFrame+y.offsetTime-.01)/I,y.offsetTime),B[1]=N.getValueAtTime((N._caching.lastFrame+N.offsetTime-.01)/I,N.offsetTime))}else B=t,C=B;this.v.rotate(-Math.atan2(C[1]-B[1],C[0]-B[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function a(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function d(){}function c(f){this._addDynamicProperty(f),this.elem.addDynamicProperty(f),this._isDirty=!0}function u(f,I,C){if(this.elem=f,this.frameId=-1,this.propType="transform",this.data=I,this.v=new ne,this.pre=new ne,this.appliedTransformations=0,this.initDynamicPropertyContainer(C||f),I.p&&I.p.s?(this.px=et.getProp(f,I.p.x,0,0,this),this.py=et.getProp(f,I.p.y,0,0,this),I.p.z&&(this.pz=et.getProp(f,I.p.z,0,0,this))):this.p=et.getProp(f,I.p||{k:[0,0,0]},1,0,this),I.rx){if(this.rx=et.getProp(f,I.rx,0,_t,this),this.ry=et.getProp(f,I.ry,0,_t,this),this.rz=et.getProp(f,I.rz,0,_t,this),I.or.k[0].ti){var B,y=I.or.k.length;for(B=0;B<y;B+=1)I.or.k[B].to=null,I.or.k[B].ti=null}this.or=et.getProp(f,I.or,1,_t,this),this.or.sh=!0}else this.r=et.getProp(f,I.r||{k:0},0,_t,this);I.sk&&(this.sk=et.getProp(f,I.sk,0,_t,this),this.sa=et.getProp(f,I.sa,0,_t,this)),this.a=et.getProp(f,I.a||{k:[0,0,0]},1,0,this),this.s=et.getProp(f,I.s||{k:[100,100,100]},1,.01,this),I.o?this.o=et.getProp(f,I.o,0,.01,f):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}u.prototype={applyToMatrix:r,getValue:i,precalculateMatrix:a,autoOrient:d},$([re],u),u.prototype.addDynamicProperty=c,u.prototype._addDynamicProperty=re.prototype.addDynamicProperty;function x(f,I,C){return new u(f,I,C)}return{getTransformProperty:x}}();function ur(){}$([Ve],ur),ur.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.c=et.getProp(t,r.c,0,null,this),this.o=et.getProp(t,r.o,0,null,this),this.tr=cl.getTransformProperty(t,r.tr,this),this.so=et.getProp(t,r.tr.so,0,.01,this),this.eo=et.getProp(t,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ne,this.rMatrix=new ne,this.sMatrix=new ne,this.tMatrix=new ne,this.matrix=new ne},ur.prototype.applyTransforms=function(t,r,i,a,d,c){var u=c?-1:1,x=a.s.v[0]+(1-a.s.v[0])*(1-d),f=a.s.v[1]+(1-a.s.v[1])*(1-d);t.translate(a.p.v[0]*u*d,a.p.v[1]*u*d,a.p.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.rotate(-a.r.v*u*d),r.translate(a.a.v[0],a.a.v[1],a.a.v[2]),i.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),i.scale(c?1/x:x,c?1/f:f),i.translate(a.a.v[0],a.a.v[1],a.a.v[2])},ur.prototype.init=function(t,r,i,a){for(this.elem=t,this.arr=r,this.pos=i,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r[i]);i>0;)i-=1,this._elements.unshift(r[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ur.prototype.resetElements=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._processed=!1,t[r].ty==="gr"&&this.resetElements(t[r].it)},ur.prototype.cloneElements=function(t){var r=JSON.parse(JSON.stringify(t));return this.resetElements(r),r},ur.prototype.changeGroupRender=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)t[i]._render=r,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,r)},ur.prototype.processShapes=function(t){var r,i,a,d,c,u=!1;if(this._mdf||t){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var f={it:this.cloneElements(this._elements),ty:"gr"};f.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,f),this._groups.splice(0,0,f),this._currentCopies+=1}this.elem.reloadShapes(),u=!0}c=0;var I;for(a=0;a<=this._groups.length-1;a+=1){if(I=c<x,this._groups[a]._render=I,this.changeGroupRender(this._groups[a].it,I),!I){var C=this.elemsData[a].it,B=C[C.length-1];B.transform.op.v!==0?(B.transform.op._mdf=!0,B.transform.op.v=0):B.transform.op._mdf=!1}c+=1}this._currentCopies=x;var y=this.o.v,N=y%1,P=y>0?Math.floor(y):Math.ceil(y),M=this.pMatrix.props,z=this.rMatrix.props,w=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var S=0;if(y>0){for(;S<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),S+=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,N,!1),S+=N)}else if(y<0){for(;S>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),S-=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-N,!0),S-=N)}a=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var b,A;c;){if(r=this.elemsData[a].it,i=r[r.length-1].transform.mProps.v.props,A=i.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),S!==0){for((a!==0&&d===1||a!==this._currentCopies-1&&d===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(w[0],w[1],w[2],w[3],w[4],w[5],w[6],w[7],w[8],w[9],w[10],w[11],w[12],w[13],w[14],w[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]),b=0;b<A;b+=1)i[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<A;b+=1)i[b]=this.matrix.props[b];S+=1,c-=1,a+=d}}else for(c=this._currentCopies,a=0,d=1;c;)r=this.elemsData[a].it,i=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,a+=d;return u},ur.prototype.addShape=function(){};function ns(){}$([Ve],ns),ns.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.rd=et.getProp(t,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ns.prototype.processPath=function(t,r){var i=ae.newElement();i.c=t.c;var a,d=t._length,c,u,x,f,I,C,B=0,y,N,P,M,z,w;for(a=0;a<d;a+=1)c=t.v[a],x=t.o[a],u=t.i[a],c[0]===x[0]&&c[1]===x[1]&&c[0]===u[0]&&c[1]===u[1]?(a===0||a===d-1)&&!t.c?(i.setTripleAt(c[0],c[1],x[0],x[1],u[0],u[1],B),B+=1):(a===0?f=t.v[d-1]:f=t.v[a-1],I=Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)),C=I?Math.min(I/2,r)/I:0,z=c[0]+(f[0]-c[0])*C,y=z,w=c[1]-(c[1]-f[1])*C,N=w,P=y-(y-c[0])*he,M=N-(N-c[1])*he,i.setTripleAt(y,N,P,M,z,w,B),B+=1,a===d-1?f=t.v[0]:f=t.v[a+1],I=Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)),C=I?Math.min(I/2,r)/I:0,P=c[0]+(f[0]-c[0])*C,y=P,M=c[1]+(f[1]-c[1])*C,N=M,z=y-(y-c[0])*he,w=N-(N-c[1])*he,i.setTripleAt(y,N,P,M,z,w,B),B+=1):(i.setTripleAt(t.v[a][0],t.v[a][1],t.o[a][0],t.o[a][1],t.i[a][0],t.i[a][1],B),B+=1);return i},ns.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.rd.v;if(u!==0){var x,f;for(i=0;i<a;i+=1){if(x=this.shapes[i],f=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!t))for(f.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)f.addShape(this.processPath(r[d],u));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Ea(t,r){return Math.abs(t-r)*1e5<=Math.min(Math.abs(t),Math.abs(r))}function dl(t){return Math.abs(t)<=1e-5}function $d(t,r,i){return t*(1-i)+r*i}function Yr(t,r,i){return[$d(t[0],r[0],i),$d(t[1],r[1],i)]}function Wf(t,r,i){if(t===0)return[];var a=r*r-4*t*i;if(a<0)return[];var d=-r/(2*t);if(a===0)return[d];var c=Math.sqrt(a)/(2*t);return[d-c,d+c]}function zd(t,r,i,a){return[-t+3*r-3*i+a,3*t-6*r+3*i,-3*t+3*r,t]}function Vd(t){return new Vt(t,t,t,t,!1)}function Vt(t,r,i,a,d){d&&ho(t,r)&&(r=Yr(t,a,1/3)),d&&ho(i,a)&&(i=Yr(t,a,2/3));var c=zd(t[0],r[0],i[0],a[0]),u=zd(t[1],r[1],i[1],a[1]);this.a=[c[0],u[0]],this.b=[c[1],u[1]],this.c=[c[2],u[2]],this.d=[c[3],u[3]],this.points=[t,r,i,a]}Vt.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Vt.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Vt.prototype.tangentAngle=function(t){var r=this.derivative(t);return Math.atan2(r[1],r[0])},Vt.prototype.normalAngle=function(t){var r=this.derivative(t);return Math.atan2(r[0],r[1])},Vt.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(dl(t))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var a=Math.sqrt(i);return dl(a)?a>0&&a<1?[r]:[]:[r-a,r+a].filter(function(d){return d>0&&d<1})},Vt.prototype.split=function(t){if(t<=0)return[Vd(this.points[0]),this];if(t>=1)return[this,Vd(this.points[this.points.length-1])];var r=Yr(this.points[0],this.points[1],t),i=Yr(this.points[1],this.points[2],t),a=Yr(this.points[2],this.points[3],t),d=Yr(r,i,t),c=Yr(i,a,t),u=Yr(d,c,t);return[new Vt(this.points[0],r,d,u,!0),new Vt(u,c,a,this.points[3],!0)]};function Bd(t,r){var i=t.points[0][r],a=t.points[t.points.length-1][r];if(i>a){var d=a;a=i,i=d}for(var c=Wf(3*t.a[r],2*t.b[r],t.c[r]),u=0;u<c.length;u+=1)if(c[u]>0&&c[u]<1){var x=t.point(c[u])[r];x<i?i=x:x>a&&(a=x)}return{min:i,max:a}}Vt.prototype.bounds=function(){return{x:Bd(this,0),y:Bd(this,1)}},Vt.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function Ta(t,r,i){var a=t.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:t,t:(r+i)/2,t1:r,t2:i}}function Ud(t){var r=t.bez.split(.5);return[Ta(r[0],t.t1,t.t),Ta(r[1],t.t,t.t2)]}function Yf(t,r){return Math.abs(t.cx-r.cx)*2<t.width+r.width&&Math.abs(t.cy-r.cy)*2<t.height+r.height}function ls(t,r,i,a,d,c){if(Yf(t,r)){if(i>=c||t.width<=a&&t.height<=a&&r.width<=a&&r.height<=a){d.push([t.t,r.t]);return}var u=Ud(t),x=Ud(r);ls(u[0],x[0],i+1,a,d,c),ls(u[0],x[1],i+1,a,d,c),ls(u[1],x[0],i+1,a,d,c),ls(u[1],x[1],i+1,a,d,c)}}Vt.prototype.intersections=function(t,r,i){r===void 0&&(r=2),i===void 0&&(i=7);var a=[];return ls(Ta(this,0,1),Ta(t,0,1),0,r,a,i),a},Vt.shapeSegment=function(t,r){var i=(r+1)%t.length();return new Vt(t.v[r],t.o[r],t.i[i],t.v[i],!0)},Vt.shapeSegmentInverted=function(t,r){var i=(r+1)%t.length();return new Vt(t.v[i],t.i[i],t.o[r],t.v[r],!0)};function hl(t,r){return[t[1]*r[2]-t[2]*r[1],t[2]*r[0]-t[0]*r[2],t[0]*r[1]-t[1]*r[0]]}function xa(t,r,i,a){var d=[t[0],t[1],1],c=[r[0],r[1],1],u=[i[0],i[1],1],x=[a[0],a[1],1],f=hl(hl(d,c),hl(u,x));return dl(f[2])?null:[f[0]/f[2],f[1]/f[2]]}function co(t,r,i){return[t[0]+Math.cos(r)*i,t[1]-Math.sin(r)*i]}function pl(t,r){return Math.hypot(t[0]-r[0],t[1]-r[1])}function ho(t,r){return Ea(t[0],r[0])&&Ea(t[1],r[1])}function cs(){}$([Ve],cs),cs.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amplitude=et.getProp(t,r.s,0,null,this),this.frequency=et.getProp(t,r.r,0,null,this),this.pointsType=et.getProp(t,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Gd(t,r,i,a,d,c,u){var x=i-Math.PI/2,f=i+Math.PI/2,I=r[0]+Math.cos(i)*a*d,C=r[1]-Math.sin(i)*a*d;t.setTripleAt(I,C,I+Math.cos(x)*c,C-Math.sin(x)*c,I+Math.cos(f)*u,C-Math.sin(f)*u,t.length())}function qf(t,r){var i=[r[0]-t[0],r[1]-t[1]],a=-Math.PI*.5,d=[Math.cos(a)*i[0]-Math.sin(a)*i[1],Math.sin(a)*i[0]+Math.cos(a)*i[1]];return d}function Kf(t,r){var i=r===0?t.length()-1:r-1,a=(r+1)%t.length(),d=t.v[i],c=t.v[a],u=qf(d,c);return Math.atan2(0,1)-Math.atan2(u[1],u[0])}function Hd(t,r,i,a,d,c,u){var x=Kf(r,i),f=r.v[i%r._length],I=r.v[i===0?r._length-1:i-1],C=r.v[(i+1)%r._length],B=c===2?Math.sqrt(Math.pow(f[0]-I[0],2)+Math.pow(f[1]-I[1],2)):0,y=c===2?Math.sqrt(Math.pow(f[0]-C[0],2)+Math.pow(f[1]-C[1],2)):0;Gd(t,r.v[i%r._length],x,u,a,y/((d+1)*2),B/((d+1)*2),c)}function Xf(t,r,i,a,d,c){for(var u=0;u<a;u+=1){var x=(u+1)/(a+1),f=d===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,I=r.normalAngle(x),C=r.point(x);Gd(t,C,I,c,i,f/((a+1)*2),f/((a+1)*2),d),c=-c}return c}cs.prototype.processPath=function(t,r,i,a){var d=t._length,c=ae.newElement();if(c.c=t.c,t.c||(d-=1),d===0)return c;var u=-1,x=Vt.shapeSegment(t,0);Hd(c,t,0,r,i,a,u);for(var f=0;f<d;f+=1)u=Xf(c,x,r,i,a,-u),f===d-1&&!t.c?x=null:x=Vt.shapeSegment(t,(f+1)%d),Hd(c,t,f+1,r,i,a,u);return c},cs.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),f=this.pointsType.v;if(u!==0){var I,C;for(i=0;i<a;i+=1){if(I=this.shapes[i],C=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!t))for(C.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)C.addShape(this.processPath(r[d],u,x,f));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ml(t,r,i){var a=Math.atan2(r[0]-t[0],r[1]-t[1]);return[co(t,a,i),co(r,a,i)]}function po(t,r){var i,a,d,c,u,x,f;f=ml(t.points[0],t.points[1],r),i=f[0],a=f[1],f=ml(t.points[1],t.points[2],r),d=f[0],c=f[1],f=ml(t.points[2],t.points[3],r),u=f[0],x=f[1];var I=xa(i,a,d,c);I===null&&(I=a);var C=xa(u,x,d,c);return C===null&&(C=u),new Vt(i,I,C,x)}function jd(t,r,i,a,d){var c=r.points[3],u=i.points[0];if(a===3||ho(c,u))return c;if(a===2){var x=-r.tangentAngle(1),f=-i.tangentAngle(0)+Math.PI,I=xa(c,co(c,x+Math.PI/2,100),u,co(u,x+Math.PI/2,100)),C=I?pl(I,c):pl(c,u)/2,B=co(c,x,2*C*he);return t.setXYAt(B[0],B[1],"o",t.length()-1),B=co(u,f,2*C*he),t.setTripleAt(u[0],u[1],u[0],u[1],B[0],B[1],t.length()),u}var y=ho(c,r.points[2])?r.points[0]:r.points[2],N=ho(u,i.points[1])?i.points[3]:i.points[1],P=xa(y,c,u,N);return P&&pl(P,c)<d?(t.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],t.length()),P):c}function Wd(t,r){var i=t.intersections(r);return i.length&&Ea(i[0][0],1)&&i.shift(),i.length?i[0]:null}function Yd(t,r){var i=t.slice(),a=r.slice(),d=Wd(t[t.length-1],r[0]);return d&&(i[t.length-1]=t[t.length-1].split(d[0])[0],a[0]=r[0].split(d[1])[1]),t.length>1&&r.length>1&&(d=Wd(t[0],r[r.length-1]),d)?[[t[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[i,a]}function Zf(t){for(var r,i=1;i<t.length;i+=1)r=Yd(t[i-1],t[i]),t[i-1]=r[0],t[i]=r[1];return t.length>1&&(r=Yd(t[t.length-1],t[0]),t[t.length-1]=r[0],t[0]=r[1]),t}function qd(t,r){var i=t.inflectionPoints(),a,d,c,u;if(i.length===0)return[po(t,r)];if(i.length===1||Ea(i[1],1))return c=t.split(i[0]),a=c[0],d=c[1],[po(a,r),po(d,r)];c=t.split(i[0]),a=c[0];var x=(i[1]-i[0])/(1-i[0]);return c=c[1].split(x),u=c[0],d=c[1],[po(a,r),po(u,r),po(d,r)]}function ds(){}$([Ve],ds),ds.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=et.getProp(t,r.a,0,null,this),this.miterLimit=et.getProp(t,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ds.prototype.processPath=function(t,r,i,a){var d=ae.newElement();d.c=t.c;var c=t.length();t.c||(c-=1);var u,x,f,I=[];for(u=0;u<c;u+=1)f=Vt.shapeSegment(t,u),I.push(qd(f,r));if(!t.c)for(u=c-1;u>=0;u-=1)f=Vt.shapeSegmentInverted(t,u),I.push(qd(f,r));I=Zf(I);var C=null,B=null;for(u=0;u<I.length;u+=1){var y=I[u];for(B&&(C=jd(d,B,y[0],i,a)),B=y[y.length-1],x=0;x<y.length;x+=1)f=y[x],C&&ho(f.points[0],C)?d.setXYAt(f.points[1][0],f.points[1][1],"o",d.length()-1):d.setTripleAt(f.points[0][0],f.points[0][1],f.points[1][0],f.points[1][1],f.points[0][0],f.points[0][1],d.length()),d.setTripleAt(f.points[3][0],f.points[3][1],f.points[3][0],f.points[3][1],f.points[2][0],f.points[2][1],d.length()),C=f.points[3]}return I.length&&jd(d,B,I[0][0],i,a),d},ds.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.amount.v,x=this.miterLimit.v,f=this.lineJoin;if(u!==0){var I,C;for(i=0;i<a;i+=1){if(I=this.shapes[i],C=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!t))for(C.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)C.addShape(this.processPath(r[d],u,f,x));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Kd(t){for(var r=t.fStyle?t.fStyle.split(" "):[],i="normal",a="normal",d=r.length,c,u=0;u<d;u+=1)switch(c=r[u].toLowerCase(),c){case"italic":a="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break;default:break}return{style:a,weight:t.fWeight||i}}var Ei=function(){var t=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var a=127988,d=917631,c=917601,u=917626,x=65039,f=8205,I=127462,C=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function y(_){var R=_.split(","),p,g=R.length,U=[];for(p=0;p<g;p+=1)R[p]!=="sans-serif"&&R[p]!=="monospace"&&U.push(R[p]);return U.join(",")}function N(_,R){var p=L("span");p.setAttribute("aria-hidden",!0),p.style.fontFamily=R;var g=L("span");g.innerText="giItT1WQy@!-/#",p.style.position="absolute",p.style.left="-10000px",p.style.top="-10000px",p.style.fontSize="300px",p.style.fontVariant="normal",p.style.fontStyle="normal",p.style.fontWeight="normal",p.style.letterSpacing="0",p.appendChild(g),document.body.appendChild(p);var U=g.offsetWidth;return g.style.fontFamily=y(_)+", "+R,{node:g,w:U,parent:p}}function P(){var _,R=this.fonts.length,p,g,U=R;for(_=0;_<R;_+=1)this.fonts[_].loaded?U-=1:this.fonts[_].fOrigin==="n"||this.fonts[_].origin===0?this.fonts[_].loaded=!0:(p=this.fonts[_].monoCase.node,g=this.fonts[_].monoCase.w,p.offsetWidth!==g?(U-=1,this.fonts[_].loaded=!0):(p=this.fonts[_].sansCase.node,g=this.fonts[_].sansCase.w,p.offsetWidth!==g&&(U-=1,this.fonts[_].loaded=!0)),this.fonts[_].loaded&&(this.fonts[_].sansCase.parent.parentNode.removeChild(this.fonts[_].sansCase.parent),this.fonts[_].monoCase.parent.parentNode.removeChild(this.fonts[_].monoCase.parent)));U!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(_,R){var p=document.body&&R?"svg":"canvas",g,U=Kd(_);if(p==="svg"){var F=vt("text");F.style.fontSize="100px",F.setAttribute("font-family",_.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",_.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",_.fClass)):F.style.fontFamily=_.fFamily,R.appendChild(F),g=F}else{var rt=new OffscreenCanvas(500,500).getContext("2d");rt.font=U.style+" "+U.weight+" 100px "+_.fFamily,g=rt}function mt(ft){return p==="svg"?(g.textContent=ft,g.getComputedTextLength()):g.measureText(ft).width}return{measureText:mt}}function z(_,R){if(!_){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=_.list;return}if(!document.body){this.isLoaded=!0,_.list.forEach(function(Ae){Ae.helper=M(Ae),Ae.cache={}}),this.fonts=_.list;return}var p=_.list,g,U=p.length,F=U;for(g=0;g<U;g+=1){var rt=!0,mt,ft;if(p[g].loaded=!1,p[g].monoCase=N(p[g].fFamily,"monospace"),p[g].sansCase=N(p[g].fFamily,"sans-serif"),!p[g].fPath)p[g].loaded=!0,F-=1;else if(p[g].fOrigin==="p"||p[g].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+p[g].fFamily+'"], style[f-origin="3"][f-family="'+p[g].fFamily+'"]'),mt.length>0&&(rt=!1),rt){var wt=L("style");wt.setAttribute("f-forigin",p[g].fOrigin),wt.setAttribute("f-origin",p[g].origin),wt.setAttribute("f-family",p[g].fFamily),wt.type="text/css",wt.innerText="@font-face {font-family: "+p[g].fFamily+"; font-style: normal; src: url('"+p[g].fPath+"');}",R.appendChild(wt)}}else if(p[g].fOrigin==="g"||p[g].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ft=0;ft<mt.length;ft+=1)mt[ft].href.indexOf(p[g].fPath)!==-1&&(rt=!1);if(rt){var Ct=L("link");Ct.setAttribute("f-forigin",p[g].fOrigin),Ct.setAttribute("f-origin",p[g].origin),Ct.type="text/css",Ct.rel="stylesheet",Ct.href=p[g].fPath,document.body.appendChild(Ct)}}else if(p[g].fOrigin==="t"||p[g].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ft=0;ft<mt.length;ft+=1)p[g].fPath===mt[ft].src&&(rt=!1);if(rt){var Kt=L("link");Kt.setAttribute("f-forigin",p[g].fOrigin),Kt.setAttribute("f-origin",p[g].origin),Kt.setAttribute("rel","stylesheet"),Kt.setAttribute("href",p[g].fPath),R.appendChild(Kt)}}p[g].helper=M(p[g],R),p[g].cache={},this.fonts.push(p[g])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(_){if(_){this.chars||(this.chars=[]);var R,p=_.length,g,U=this.chars.length,F;for(R=0;R<p;R+=1){for(g=0,F=!1;g<U;)this.chars[g].style===_[R].style&&this.chars[g].fFamily===_[R].fFamily&&this.chars[g].ch===_[R].ch&&(F=!0),g+=1;F||(this.chars.push(_[R]),U+=1)}}}function S(_,R,p){for(var g=0,U=this.chars.length;g<U;){if(this.chars[g].ch===_&&this.chars[g].style===R&&this.chars[g].fFamily===p)return this.chars[g];g+=1}return(typeof _=="string"&&_.charCodeAt(0)!==13||!_)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",_,R,p)),r}function b(_,R,p){var g=this.getFontByName(R),U=_;if(!g.cache[U]){var F=g.helper;if(_===" "){var rt=F.measureText("|"+_+"|"),mt=F.measureText("||");g.cache[U]=(rt-mt)/100}else g.cache[U]=F.measureText(_)/100}return g.cache[U]*p}function A(_){for(var R=0,p=this.fonts.length;R<p;){if(this.fonts[R].fName===_)return this.fonts[R];R+=1}return this.fonts[0]}function k(_){var R=0,p=_.charCodeAt(0);if(p>=55296&&p<=56319){var g=_.charCodeAt(1);g>=56320&&g<=57343&&(R=(p-55296)*1024+g-56320+65536)}return R}function D(_,R){var p=_.toString(16)+R.toString(16);return B.indexOf(p)!==-1}function V(_){return _===f}function G(_){return _===x}function Z(_){var R=k(_);return R>=I&&R<=C}function ut(_){return Z(_.substr(0,2))&&Z(_.substr(2,2))}function ct(_){return i.indexOf(_)!==-1}function Q(_,R){var p=k(_.substr(R,2));if(p!==a)return!1;var g=0;for(R+=2;g<5;){if(p=k(_.substr(R,2)),p<c||p>u)return!1;g+=1,R+=2}return k(_.substr(R,2))===d}function gt(){this.isLoaded=!0}var st=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)};st.isModifier=D,st.isZeroWidthJoiner=V,st.isFlagEmoji=ut,st.isRegionalCode=Z,st.isCombinedCharacter=ct,st.isRegionalFlag=Q,st.isVariationSelector=G,st.BLACK_FLAG_CODE_POINT=a;var X={addChars:w,addFonts:z,getCharData:S,getFontByName:A,measureText:b,checkLoadedFonts:P,setIsLoaded:gt};return st.prototype=X,st}();function Xd(t){this.animationData=t}Xd.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function Jf(t){return new Xd(t)}function Aa(){}Aa.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var r,i=this.renderableComponents.length;for(r=0;r<i;r+=1)this.renderableComponents[r].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var ul=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return t[r]||""}}();function Qf(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function tv(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function ev(t,r,i){this.p=et.getProp(r,t.v,1,0,i)}function rv(t,r,i){this.p=et.getProp(r,t.v,1,0,i)}function iv(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function ov(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function sv(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function av(){this.p={}}function Zd(t,r){var i=t.ef||[];this.effectElements=[];var a,d=i.length,c;for(a=0;a<d;a+=1)c=new hs(i[a],r),this.effectElements.push(c)}function hs(t,r){this.init(t,r)}$([re],hs),hs.prototype.getValue=hs.prototype.iterateDynamicProperties,hs.prototype.init=function(t,r){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(r);var i,a=this.data.ef.length,d,c=this.data.ef;for(i=0;i<a;i+=1){switch(d=null,c[i].ty){case 0:d=new Qf(c[i],r,this);break;case 1:d=new tv(c[i],r,this);break;case 2:d=new ev(c[i],r,this);break;case 3:d=new rv(c[i],r,this);break;case 4:case 7:d=new sv(c[i],r,this);break;case 10:d=new iv(c[i],r,this);break;case 11:d=new ov(c[i],r,this);break;case 5:d=new Zd(c[i],r,this);break;default:d=new av(c[i],r,this);break}d&&this.effectElements.push(d)}};function qr(){}qr.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,i=this.data.masksProperties.length;r<i;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=Ad();if(r){var i=r("layer"),a=r("effects"),d=r("shape"),c=r("text"),u=r("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=u(this):this.data.ty===4?(this.layerInterface.shapeInterface=d(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=ul(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=r},initBaseData:function(r,i,a){this.globalData=i,this.comp=a,this.data=r,this.layerId=Te(),this.data.sr||(this.data.sr=1),this.effectsManager=new Zd(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Kr(){}Kr.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,i){var a,d=this.dynamicProperties.length;for(a=0;a<d;a+=1)(i||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function Xr(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(t,r,i)}Xr.prototype.prepareFrame=function(){},$([Aa,qr,Kr],Xr),Xr.prototype.getBaseElement=function(){return null},Xr.prototype.renderFrame=function(){},Xr.prototype.destroy=function(){},Xr.prototype.initExpressions=function(){var t=Ad();if(t){var r=t("footage");this.layerInterface=r(this)}},Xr.prototype.getFootageData=function(){return this.footageData};function xe(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.initBaseData(t,r,i),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?et.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=et.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}xe.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},$([Aa,qr,Kr],xe),xe.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},xe.prototype.show=function(){},xe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},xe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},xe.prototype.resume=function(){this._canPlay=!0},xe.prototype.setRate=function(t){this.audio.rate(t)},xe.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},xe.prototype.getBaseElement=function(){return null},xe.prototype.destroy=function(){},xe.prototype.sourceRectAtTime=function(){},xe.prototype.initExpressions=function(){};function le(){}le.prototype.checkLayers=function(t){var r,i=this.layers.length,a;for(this.completeLayers=!0,r=i-1;r>=0;r-=1)this.elements[r]||(a=this.layers[r],a.ip-a.st<=t-this.layers[r].st&&a.op-a.st>t-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},le.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},le.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},le.prototype.createAudio=function(t){return new xe(t,this.globalData,this)},le.prototype.createFootage=function(t){return new Xr(t,this.globalData,this)},le.prototype.buildAllItems=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.buildItem(t);this.checkPendingElements()},le.prototype.includeLayers=function(t){this.completeLayers=!1;var r,i=t.length,a,d=this.layers.length;for(r=0;r<i;r+=1)for(a=0;a<d;){if(this.layers[a].id===t[r].id){this.layers[a]=t[r];break}a+=1}},le.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},le.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},le.prototype.buildElementParenting=function(t,r,i){for(var a=this.elements,d=this.layers,c=0,u=d.length;c<u;)d[c].ind==r&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(t)):(i.push(a[c]),a[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(t,d[c].parent,i):t.setHierarchy(i))),c+=1},le.prototype.addPendingElement=function(t){this.pendingElements.push(t)},le.prototype.searchExtraCompositions=function(t){var r,i=t.length;for(r=0;r<i;r+=1)if(t[r].xt){var a=this.createComp(t[r]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},le.prototype.getElementById=function(t){var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.ind===t)return this.elements[r];return null},le.prototype.getElementByPath=function(t){var r=t.shift(),i;if(typeof r=="number")i=this.elements[r];else{var a,d=this.elements.length;for(a=0;a<d;a+=1)if(this.elements[a].data.nm===r){i=this.elements[a];break}}return t.length===0?i:i.getElementByPath(t)},le.prototype.setupGlobalData=function(t,r){this.globalData.fontManager=new Ei,this.globalData.slotManager=Jf(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var nv={TRANSFORM_EFFECT:"transformEFfect"};function mo(){}mo.prototype={initTransform:function(){var r=new ne;this.finalTransform={mProp:this.data.ks?cl.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var r,i=this.finalTransform.mat,a=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<d;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,i.cloneFromProps(r),a=0;a<d;a+=1)i.multiply(this.hierarchy[a].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var r=0,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<i;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),r=1;r<i;r+=1){var d=this.localTransforms[r].matrix;a.multiply(d)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<i;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(nv.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ne;var i=0,a=r.length;for(i=0;i<a;i+=1)this.localTransforms.push(r[i])}}},globalToLocal:function(r){var i=[];i.push(this.finalTransform);for(var a=!0,d=this.comp;a;)d.finalTransform?(d.data.hasMask&&i.splice(0,0,d.finalTransform),d=d.comp):a=!1;var c,u=i.length,x;for(c=0;c<u;c+=1)x=i[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ne};function Ti(t,r,i){this.data=t,this.element=r,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(c),this.solidPath="";var u,x=this.masksProperties,f=0,I=[],C,B,y=Te(),N,P,M,z,w="clipPath",S="clip-path";for(d=0;d<c;d+=1)if((x[d].mode!=="a"&&x[d].mode!=="n"||x[d].inv||x[d].o.k!==100||x[d].o.x)&&(w="mask",S="mask"),(x[d].mode==="s"||x[d].mode==="i")&&f===0?(N=vt("rect"),N.setAttribute("fill","#ffffff"),N.setAttribute("width",this.element.comp.data.w||0),N.setAttribute("height",this.element.comp.data.h||0),I.push(N)):N=null,u=vt("path"),x[d].mode==="n")this.viewData[d]={op:et.getProp(this.element,x[d].o,0,.01,this.element),prop:ga.getShapeProp(this.element,x[d],3),elem:u,lastPath:""},a.appendChild(u);else{f+=1,u.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),u.setAttribute("clip-rule","nonzero");var b;if(x[d].x.k!==0?(w="mask",S="mask",z=et.getProp(this.element,x[d].x,0,null,this.element),b=Te(),P=vt("filter"),P.setAttribute("id",b),M=vt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),a.appendChild(P),u.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:u,x:z,expan:M,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},x[d].mode==="i"){B=I.length;var A=vt("g");for(C=0;C<B;C+=1)A.appendChild(I[C]);var k=vt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",y+"_"+f),k.appendChild(u),a.appendChild(k),A.setAttribute("mask","url("+T()+"#"+y+"_"+f+")"),I.length=0,I.push(A)}else I.push(u);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:u,lastPath:"",op:et.getProp(this.element,x[d].o,0,.01,this.element),prop:ga.getShapeProp(this.element,x[d],3),invRect:N},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=vt(w),c=I.length,d=0;d<c;d+=1)this.maskElement.appendChild(I[d]);f>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(S,"url("+T()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ti.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Ti.prototype.renderFrame=function(t){var r=this.element.finalTransform.mat,i,a=this.masksProperties.length;for(i=0;i<a;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var d=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+T()+"#"+this.storedData[i].filterId+")")),d.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},Ti.prototype.getMaskelement=function(){return this.maskElement},Ti.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},Ti.prototype.drawPath=function(t,r,i){var a=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[d][0]+","+r.i[d][1]+" "+r.v[d][0]+","+r.v[d][1];if(r.c&&c>1&&(a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),i.lastPath!==a){var u="";i.elem&&(r.c&&(u=t.inv?this.solidPath+a:a),i.elem.setAttribute("d",u)),i.lastPath=a}},Ti.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var ps=function(){var t={};t.createFilter=r,t.createAlphaToLuminanceFilter=i;function r(a,d){var c=vt("filter");return c.setAttribute("id",a),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function i(){var a=vt("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return t}(),Jd=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),_a={},Qd="filter_result_";function fl(t){var r,i="SourceGraphic",a=t.data.ef?t.data.ef.length:0,d=Te(),c=ps.createFilter(d,!0),u=0;this.filters=[];var x;for(r=0;r<a;r+=1){x=null;var f=t.data.ef[r].ty;if(_a[f]){var I=_a[f].effect;x=new I(c,t.effectsManager.effectElements[r],t,Qd+u,i),i=Qd+u,_a[f].countsAsEffect&&(u+=1)}x&&this.filters.push(x)}u&&(t.globalData.defs.appendChild(c),t.layerElement.setAttribute("filter","url("+T()+"#"+d+")")),this.filters.length&&t.addRenderableComponent(this)}fl.prototype.renderFrame=function(t){var r,i=this.filters.length;for(r=0;r<i;r+=1)this.filters[r].renderFrame(t)},fl.prototype.getEffects=function(t){var r,i=this.filters.length,a=[];for(r=0;r<i;r+=1)this.filters[r].type===t&&a.push(this.filters[r]);return a};function Jy(t,r,i){_a[t]={effect:r,countsAsEffect:i}}function ms(){}ms.prototype={initRendererElement:function(){this.layerElement=vt("g")},createContainerElements:function(){this.matteElement=vt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var i=vt("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),r=i,this.globalData.defs.appendChild(i)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var a=vt("clipPath"),d=vt("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Te();if(a.setAttribute("id",c),a.appendChild(d),this.globalData.defs.appendChild(a),this.checkMasks()){var u=vt("g");u.setAttribute("clip-path","url("+T()+"#"+c+")"),u.appendChild(this.layerElement),this.transformedElement=u,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+T()+"#"+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 Ti(this.data,this,this.globalData),this.renderableEffectsManager=new fl(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var i=this.layerId+"_"+r,a,d,c,u;if(r===1||r===3){var x=vt("mask");x.setAttribute("id",i),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=vt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Jd.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),a=Te(),d=ps.createFilter(a),this.globalData.defs.appendChild(d),d.appendChild(ps.createAlphaToLuminanceFilter()),u=vt("g"),u.appendChild(c),x.appendChild(u),u.setAttribute("filter","url("+T()+"#"+a+")"))}else if(r===2){var f=vt("mask");f.setAttribute("id",i),f.setAttribute("mask-type","alpha");var I=vt("g");f.appendChild(I),a=Te(),d=ps.createFilter(a);var C=vt("feComponentTransfer");C.setAttribute("in","SourceGraphic"),d.appendChild(C);var B=vt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),C.appendChild(B),this.globalData.defs.appendChild(d);var y=vt("rect");y.setAttribute("width",this.comp.data.w),y.setAttribute("height",this.comp.data.h),y.setAttribute("x","0"),y.setAttribute("y","0"),y.setAttribute("fill","#ffffff"),y.setAttribute("opacity","0"),I.setAttribute("filter","url("+T()+"#"+a+")"),I.appendChild(y),c=vt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),I.appendChild(c),Jd.maskType||(f.setAttribute("mask-type","luminance"),d.appendChild(ps.createAlphaToLuminanceFilter()),u=vt("g"),I.appendChild(y),u.appendChild(this.layerElement),I.appendChild(u)),this.globalData.defs.appendChild(f)}this.matteMasks[r]=i}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+T()+"#"+r+")")}};function uo(){}uo.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function us(){}(function(){var t={initElement:function(i,a,d){this.initFrame(),this.initBaseData(i,a,d),this.initTransform(i,a,d),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.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(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};$([Aa,K(t)],us)})();function fs(t,r,i){this.assetData=r.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(t,r,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}$([qr,mo,ms,uo,Kr,us],fs),fs.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=vt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},fs.prototype.sourceRectAtTime=function(){return this.sourceRect};function lv(t,r){this.elem=t,this.pos=r}function th(){}th.prototype={addShapeToModifiers:function(r){var i,a=this.shapeModifiers.length;for(i=0;i<a;i+=1)this.shapeModifiers[i].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var i=0,a=this.shapeModifiers.length;i<a;)if(this.shapeModifiers[i].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,i=this.shapes.length;for(r=0;r<i;r+=1)this.shapes[r].sh.reset();i=this.shapeModifiers.length;var a;for(r=i-1;r>=0&&(a=this.shapeModifiers[r].processShapes(this._isFirstFrame),!a);r-=1);}},searchProcessedElement:function(r){for(var i=this.processedElements,a=0,d=i.length;a<d;){if(i[a].elem===r)return i[a].pos;a+=1}return 0},addProcessedElement:function(r,i){for(var a=this.processedElements,d=a.length;d;)if(d-=1,a[d].elem===r){a[d].pos=i;return}a.push(new lv(r,i))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var eh={1:"butt",2:"round",3:"square"},rh={1:"miter",2:"round",3:"bevel"};function ih(t,r,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=r,this._isAnimated=!!i.k;for(var a=0,d=t.length;a<d;){if(t[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}ih.prototype.setAsAnimated=function(){this._isAnimated=!0};function oh(t,r){this.data=t,this.type=t.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=t.hd===!0,this.pElem=vt("path"),this.msElem=null}oh.prototype.reset=function(){this.d="",this._mdf=!1};function Sa(t,r,i,a){this.elem=t,this.frameId=-1,this.dataProps=tt(r.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=J("float32",r.length?r.length-1:0),this.dashoffset=J("float32",1),this.initDynamicPropertyContainer(a);var d,c=r.length||0,u;for(d=0;d<c;d+=1)u=et.getProp(t,r[d].v,0,0,this),this.k=u.k||this.k,this.dataProps[d]={n:r[d].n,p:u};this.k||this.getValue(!0),this._isAnimated=this.k}Sa.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var r=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<i;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},$([re],Sa);function sh(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=et.getProp(t,r.o,0,.01,this),this.w=et.getProp(t,r.w,0,null,this),this.d=new Sa(t,r.d||{},"svg",this),this.c=et.getProp(t,r.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}$([re],sh);function ah(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=et.getProp(t,r.o,0,.01,this),this.c=et.getProp(t,r.c,1,255,this),this.style=i}$([re],ah);function nh(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}$([re],nh);function vs(t,r,i){this.data=r,this.c=J("uint8c",r.p*4);var a=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=J("float32",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(i),this.prop=et.getProp(t,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}vs.prototype.comparePoints=function(t,r){for(var i=0,a=this.o.length/2,d;i<a;){if(d=Math.abs(t[i*4]-t[r*4+i*2]),d>.01)return!1;i+=1}return!0},vs.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,r=this.data.k.k.length;t<r;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},vs.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var r,i=this.data.p*4,a,d;for(r=0;r<i;r+=1)a=r%4===0?100:255,d=Math.round(this.prop.v[r]*a),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,r=this.data.p*4;r<i;r+=1)a=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!t);this._mdf=!t}},$([re],vs);function fo(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,r,i)}fo.prototype.initGradientData=function(t,r,i){this.o=et.getProp(t,r.o,0,.01,this),this.s=et.getProp(t,r.s,1,null,this),this.e=et.getProp(t,r.e,1,null,this),this.h=et.getProp(t,r.h||{k:0},0,.01,this),this.a=et.getProp(t,r.a||{k:0},0,_t,this),this.g=new vs(t,r.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,r),this.setGradientOpacity(r,i),this._isAnimated=!!this._isAnimated},fo.prototype.setGradientData=function(t,r){var i=Te(),a=vt(r.t===1?"linearGradient":"radialGradient");a.setAttribute("id",i),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,u,x;for(x=r.g.p*4,u=0;u<x;u+=4)c=vt("stop"),a.appendChild(c),d.push(c);t.setAttribute(r.ty==="gf"?"fill":"stroke","url("+T()+"#"+i+")"),this.gf=a,this.cst=d},fo.prototype.setGradientOpacity=function(t,r){if(this.g._hasOpacity&&!this.g._collapsable){var i,a,d,c=vt("mask"),u=vt("path");c.appendChild(u);var x=Te(),f=Te();c.setAttribute("id",f);var I=vt(t.t===1?"linearGradient":"radialGradient");I.setAttribute("id",x),I.setAttribute("spreadMethod","pad"),I.setAttribute("gradientUnits","userSpaceOnUse"),d=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var C=this.stops;for(a=t.g.p*4;a<d;a+=2)i=vt("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),I.appendChild(i),C.push(i);u.setAttribute(t.ty==="gf"?"fill":"stroke","url("+T()+"#"+x+")"),t.ty==="gs"&&(u.setAttribute("stroke-linecap",eh[t.lc||2]),u.setAttribute("stroke-linejoin",rh[t.lj||2]),t.lj===1&&u.setAttribute("stroke-miterlimit",t.ml)),this.of=I,this.ms=c,this.ost=C,this.maskId=f,r.msElem=u}},$([re],fo);function lh(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=et.getProp(t,r.w,0,null,this),this.d=new Sa(t,r.d||{},"svg",this),this.initGradientData(t,r,i),this._isAnimated=!!this._isAnimated}$([fo,re],lh);function cv(){this.it=[],this.prevViewData=[],this.gr=vt("g")}function dv(t,r,i){this.transform={mProps:t,op:r,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var ch=function(r,i,a,d){if(i===0)return"";var c=r.o,u=r.i,x=r.v,f,I=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(f=1;f<i;f+=1)I+=" C"+d.applyToPointStringified(c[f-1][0],c[f-1][1])+" "+d.applyToPointStringified(u[f][0],u[f][1])+" "+d.applyToPointStringified(x[f][0],x[f][1]);return a&&i&&(I+=" C"+d.applyToPointStringified(c[f-1][0],c[f-1][1])+" "+d.applyToPointStringified(u[0][0],u[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),I+="z"),I},hv=function(){var t=new ne,r=new ne,i={createRenderFunction:a};function a(B){switch(B.ty){case"fl":return x;case"gf":return I;case"gs":return f;case"st":return C;case"sh":case"el":case"rc":case"sr":return u;case"tr":return d;case"no":return c;default:return null}}function d(B,y,N){(N||y.transform.op._mdf)&&y.transform.container.setAttribute("opacity",y.transform.op.v),(N||y.transform.mProps._mdf)&&y.transform.container.setAttribute("transform",y.transform.mProps.v.to2dCSS())}function c(){}function u(B,y,N){var P,M,z,w,S,b,A=y.styles.length,k=y.lvl,D,V,G,Z;for(b=0;b<A;b+=1){if(w=y.sh._mdf||N,y.styles[b].lvl<k){for(V=r.reset(),G=k-y.styles[b].lvl,Z=y.transformers.length-1;!w&&G>0;)w=y.transformers[Z].mProps._mdf||w,G-=1,Z-=1;if(w)for(G=k-y.styles[b].lvl,Z=y.transformers.length-1;G>0;)V.multiply(y.transformers[Z].mProps.v),G-=1,Z-=1}else V=t;if(D=y.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)S=D.shapes[P],S&&S._length&&(z+=ch(S,S._length,S.c,V));y.caches[b]=z}else z=y.caches[b];y.styles[b].d+=B.hd===!0?"":z,y.styles[b]._mdf=w||y.styles[b]._mdf}}function x(B,y,N){var P=y.style;(y.c._mdf||N)&&P.pElem.setAttribute("fill","rgb("+ee(y.c.v[0])+","+ee(y.c.v[1])+","+ee(y.c.v[2])+")"),(y.o._mdf||N)&&P.pElem.setAttribute("fill-opacity",y.o.v)}function f(B,y,N){I(B,y,N),C(B,y,N)}function I(B,y,N){var P=y.gf,M=y.g._hasOpacity,z=y.s.v,w=y.e.v;if(y.o._mdf||N){var S=B.ty==="gf"?"fill-opacity":"stroke-opacity";y.style.pElem.setAttribute(S,y.o.v)}if(y.s._mdf||N){var b=B.t===1?"x1":"cx",A=b==="x1"?"y1":"cy";P.setAttribute(b,z[0]),P.setAttribute(A,z[1]),M&&!y.g._collapsable&&(y.of.setAttribute(b,z[0]),y.of.setAttribute(A,z[1]))}var k,D,V,G;if(y.g._cmdf||N){k=y.cst;var Z=y.g.c;for(V=k.length,D=0;D<V;D+=1)G=k[D],G.setAttribute("offset",Z[D*4]+"%"),G.setAttribute("stop-color","rgb("+Z[D*4+1]+","+Z[D*4+2]+","+Z[D*4+3]+")")}if(M&&(y.g._omdf||N)){var ut=y.g.o;for(y.g._collapsable?k=y.cst:k=y.ost,V=k.length,D=0;D<V;D+=1)G=k[D],y.g._collapsable||G.setAttribute("offset",ut[D*2]+"%"),G.setAttribute("stop-opacity",ut[D*2+1])}if(B.t===1)(y.e._mdf||N)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!y.g._collapsable&&(y.of.setAttribute("x2",w[0]),y.of.setAttribute("y2",w[1])));else{var ct;if((y.s._mdf||y.e._mdf||N)&&(ct=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),P.setAttribute("r",ct),M&&!y.g._collapsable&&y.of.setAttribute("r",ct)),y.e._mdf||y.h._mdf||y.a._mdf||N){ct||(ct=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var Q=Math.atan2(w[1]-z[1],w[0]-z[0]),gt=y.h.v;gt>=1?gt=.99:gt<=-1&&(gt=-.99);var st=ct*gt,X=Math.cos(Q+y.a.v)*st+z[0],_=Math.sin(Q+y.a.v)*st+z[1];P.setAttribute("fx",X),P.setAttribute("fy",_),M&&!y.g._collapsable&&(y.of.setAttribute("fx",X),y.of.setAttribute("fy",_))}}}function C(B,y,N){var P=y.style,M=y.d;M&&(M._mdf||N)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),y.c&&(y.c._mdf||N)&&P.pElem.setAttribute("stroke","rgb("+ee(y.c.v[0])+","+ee(y.c.v[1])+","+ee(y.c.v[2])+")"),(y.o._mdf||N)&&P.pElem.setAttribute("stroke-opacity",y.o.v),(y.w._mdf||N)&&(P.pElem.setAttribute("stroke-width",y.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",y.w.v))}return i}();function jt(t,r,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,r,i),this.prevViewData=[]}$([qr,mo,ms,th,uo,Kr,us],jt),jt.prototype.initSecondaryElement=function(){},jt.prototype.identityMatrix=new ne,jt.prototype.buildExpressionInterface=function(){},jt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},jt.prototype.filterUniqueShapes=function(){var t,r=this.shapes.length,i,a,d=this.stylesList.length,c,u=[],x=!1;for(a=0;a<d;a+=1){for(c=this.stylesList[a],x=!1,u.length=0,t=0;t<r;t+=1)i=this.shapes[t],i.styles.indexOf(c)!==-1&&(u.push(i),x=i._isAnimated||x);u.length>1&&x&&this.setShapesAsAnimated(u)}},jt.prototype.setShapesAsAnimated=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r].setAsAnimated()},jt.prototype.createStyleElement=function(t,r){var i,a=new oh(t,r),d=a.pElem;if(t.ty==="st")i=new sh(this,t,a);else if(t.ty==="fl")i=new ah(this,t,a);else if(t.ty==="gf"||t.ty==="gs"){var c=t.ty==="gf"?fo:lh;i=new c(this,t,a),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),d.setAttribute("mask","url("+T()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new nh(this,t,a));return(t.ty==="st"||t.ty==="gs")&&(d.setAttribute("stroke-linecap",eh[t.lc||2]),d.setAttribute("stroke-linejoin",rh[t.lj||2]),d.setAttribute("fill-opacity","0"),t.lj===1&&d.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&d.setAttribute("fill-rule","evenodd"),t.ln&&d.setAttribute("id",t.ln),t.cl&&d.setAttribute("class",t.cl),t.bm&&(d.style["mix-blend-mode"]=ul(t.bm)),this.stylesList.push(a),this.addToAnimatedContents(t,i),i},jt.prototype.createGroupElement=function(t){var r=new cv;return t.ln&&r.gr.setAttribute("id",t.ln),t.cl&&r.gr.setAttribute("class",t.cl),t.bm&&(r.gr.style["mix-blend-mode"]=ul(t.bm)),r},jt.prototype.createTransformElement=function(t,r){var i=cl.getTransformProperty(this,t,this),a=new dv(i,i.o,r);return this.addToAnimatedContents(t,a),a},jt.prototype.createShapeElement=function(t,r,i){var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7);var d=ga.getShapeProp(this,t,a,this),c=new ih(r,i,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(t,c),c},jt.prototype.addToAnimatedContents=function(t,r){for(var i=0,a=this.animatedContents.length;i<a;){if(this.animatedContents[i].element===r)return;i+=1}this.animatedContents.push({fn:hv.createRenderFunction(t),element:r,data:t})},jt.prototype.setElementStyles=function(t){var r=t.styles,i,a=this.stylesList.length;for(i=0;i<a;i+=1)this.stylesList[i].closed||r.push(this.stylesList[i])},jt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,r=this.itemsData.length;for(t=0;t<r;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,t=0;t<r;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},jt.prototype.searchShapes=function(t,r,i,a,d,c,u){var x=[].concat(c),f,I=t.length-1,C,B,y=[],N=[],P,M,z;for(f=I;f>=0;f-=1){if(z=this.searchProcessedElement(t[f]),z?r[f]=i[z-1]:t[f]._render=u,t[f].ty==="fl"||t[f].ty==="st"||t[f].ty==="gf"||t[f].ty==="gs"||t[f].ty==="no")z?r[f].style.closed=!1:r[f]=this.createStyleElement(t[f],d),t[f]._render&&r[f].style.pElem.parentNode!==a&&a.appendChild(r[f].style.pElem),y.push(r[f].style);else if(t[f].ty==="gr"){if(!z)r[f]=this.createGroupElement(t[f]);else for(B=r[f].it.length,C=0;C<B;C+=1)r[f].prevViewData[C]=r[f].it[C];this.searchShapes(t[f].it,r[f].it,r[f].prevViewData,r[f].gr,d+1,x,u),t[f]._render&&r[f].gr.parentNode!==a&&a.appendChild(r[f].gr)}else t[f].ty==="tr"?(z||(r[f]=this.createTransformElement(t[f],a)),P=r[f].transform,x.push(P)):t[f].ty==="sh"||t[f].ty==="rc"||t[f].ty==="el"||t[f].ty==="sr"?(z||(r[f]=this.createShapeElement(t[f],x,d)),this.setElementStyles(r[f])):t[f].ty==="tm"||t[f].ty==="rd"||t[f].ty==="ms"||t[f].ty==="pb"||t[f].ty==="zz"||t[f].ty==="op"?(z?(M=r[f],M.closed=!1):(M=Wr.getModifier(t[f].ty),M.init(this,t[f]),r[f]=M,this.shapeModifiers.push(M)),N.push(M)):t[f].ty==="rp"&&(z?(M=r[f],M.closed=!0):(M=Wr.getModifier(t[f].ty),r[f]=M,M.init(this,t,f,r),this.shapeModifiers.push(M),u=!1),N.push(M));this.addProcessedElement(t[f],f+1)}for(I=y.length,f=0;f<I;f+=1)y[f].closed=!0;for(I=N.length,f=0;f<I;f+=1)N[f].closed=!0},jt.prototype.renderInnerContent=function(){this.renderModifiers();var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<r;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},jt.prototype.renderShape=function(){var t,r=this.animatedContents.length,i;for(t=0;t<r;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},jt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function vl(t,r,i,a,d,c){this.o=t,this.sw=r,this.sc=i,this.fc=a,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!i,fc:!!a,m:!0,p:!0}}vl.prototype.update=function(t,r,i,a,d,c){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var u=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,u=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,u=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,u=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,u=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,u=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,u=!0),u};function pe(t,r){this._frameId=s,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=t.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}pe.prototype.defaultBoxWidth=[0,0],pe.prototype.copyData=function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t},pe.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},pe.prototype.searchProperty=function(){return this.searchKeyframes()},pe.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},pe.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},pe.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,d=this.effectsSequence.length,c=t||this.data.d.k[this.keysIndex].s;for(a=0;a<d;a+=1)i!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},pe.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,r=this.elem.comp.renderedFrame,i=0,a=t.length;i<=a-1&&!(i===a-1||t[i+1].t>r);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},pe.prototype.buildFinalText=function(t){for(var r=[],i=0,a=t.length,d,c,u=!1,x=!1,f="";i<a;)u=x,x=!1,d=t.charCodeAt(i),f=t.charAt(i),Ei.isCombinedCharacter(d)?u=!0:d>=55296&&d<=56319?Ei.isRegionalFlag(t,i)?f=t.substr(i,14):(c=t.charCodeAt(i+1),c>=56320&&c<=57343&&(Ei.isModifier(d,c)?(f=t.substr(i,2),u=!0):Ei.isFlagEmoji(t.substr(i,4))?f=t.substr(i,4):f=t.substr(i,2))):d>56319?(c=t.charCodeAt(i+1),Ei.isVariationSelector(d)&&(u=!0)):Ei.isZeroWidthJoiner(d)&&(u=!0,x=!0),u?(r[r.length-1]+=f,u=!1):r.push(f),i+=f.length;return r},pe.prototype.completeTextData=function(t){t.__complete=!0;var r=this.elem.globalData.fontManager,i=this.data,a=[],d,c,u,x=0,f,I=i.m.g,C=0,B=0,y=0,N=[],P=0,M=0,z,w,S=r.getFontByName(t.f),b,A=0,k=Kd(S);t.fWeight=k.weight,t.fStyle=k.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),c=t.finalText.length,t.finalLineHeight=t.lh;var D=t.tr/1e3*t.finalSize,V;if(t.sz)for(var G=!0,Z=t.sz[0],ut=t.sz[1],ct,Q;G;){Q=this.buildFinalText(t.t),ct=0,P=0,c=Q.length,D=t.tr/1e3*t.finalSize;var gt=-1;for(d=0;d<c;d+=1)V=Q[d].charCodeAt(0),u=!1,Q[d]===" "?gt=d:(V===13||V===3)&&(P=0,u=!0,ct+=t.finalLineHeight||t.finalSize*1.2),r.chars?(b=r.getCharData(Q[d],S.fStyle,S.fFamily),A=u?0:b.w*t.finalSize/100):A=r.measureText(Q[d],t.f,t.finalSize),P+A>Z&&Q[d]!==" "?(gt===-1?c+=1:d=gt,ct+=t.finalLineHeight||t.finalSize*1.2,Q.splice(d,gt===d?1:0,"\r"),gt=-1,P=0):(P+=A,P+=D);ct+=S.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&ut<ct?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=Q,c=t.finalText.length,G=!1)}P=-D,A=0;var st=0,X;for(d=0;d<c;d+=1)if(u=!1,X=t.finalText[d],V=X.charCodeAt(0),V===13||V===3?(st=0,N.push(P),M=P>M?P:M,P=-2*D,f="",u=!0,y+=1):f=X,r.chars?(b=r.getCharData(X,S.fStyle,r.getFontByName(t.f).fFamily),A=u?0:b.w*t.finalSize/100):A=r.measureText(f,t.f,t.finalSize),X===" "?st+=A+D:(P+=A+D+st,st=0),a.push({l:A,an:A,add:C,n:u,anIndexes:[],val:f,line:y,animatorJustifyOffset:0}),I==2){if(C+=A,f===""||f===" "||d===c-1){for((f===""||f===" ")&&(C-=A);B<=d;)a[B].an=C,a[B].ind=x,a[B].extra=A,B+=1;x+=1,C=0}}else if(I==3){if(C+=A,f===""||d===c-1){for(f===""&&(C-=A);B<=d;)a[B].an=C,a[B].ind=x,a[B].extra=A,B+=1;C=0,x+=1}}else a[x].ind=x,a[x].extra=0,x+=1;if(t.l=a,M=P>M?P:M,N.push(P),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=M,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=N;var _=i.a,R,p;w=_.length;var g,U,F=[];for(z=0;z<w;z+=1){for(R=_[z],R.a.sc&&(t.strokeColorAnim=!0),R.a.sw&&(t.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(t.fillColorAnim=!0),U=0,g=R.s.b,d=0;d<c;d+=1)p=a[d],p.anIndexes[z]=U,(g==1&&p.val!==""||g==2&&p.val!==""&&p.val!==" "||g==3&&(p.n||p.val==" "||d==c-1)||g==4&&(p.n||d==c-1))&&(R.s.rn===1&&F.push(U),U+=1);i.a[z].s.totalChars=U;var rt=-1,mt;if(R.s.rn===1)for(d=0;d<c;d+=1)p=a[d],rt!=p.anIndexes[z]&&(rt=p.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),p.anIndexes[z]=mt}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=S.ascent*t.finalSize/100},pe.prototype.updateDocumentData=function(t,r){r=r===void 0?this.keysIndex:r;var i=this.copyData({},this.data.d.k[r].s);i=this.copyData(i,t),this.data.d.k[r].s=i,this.recalculate(r),this.setCurrentData(i),this.elem.addDynamicProperty(this)},pe.prototype.recalculate=function(t){var r=this.data.d.k[t].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},pe.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},pe.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var pv=function(){var t=Math.max,r=Math.min,i=Math.floor;function a(c,u){this._currentTextLength=-1,this.k=!1,this.data=u,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=et.getProp(c,u.s||{k:0},0,0,this),"e"in u?this.e=et.getProp(c,u.e,0,0,this):this.e={v:100},this.o=et.getProp(c,u.o||{k:0},0,0,this),this.xe=et.getProp(c,u.xe||{k:0},0,0,this),this.ne=et.getProp(c,u.ne||{k:0},0,0,this),this.sm=et.getProp(c,u.sm||{k:100},0,0,this),this.a=et.getProp(c,u.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(u){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,f=0,I=1,C=1;this.ne.v>0?x=this.ne.v/100:f=-this.ne.v/100,this.xe.v>0?I=1-this.xe.v/100:C=1+this.xe.v/100;var B=ss.getBezierEasing(x,f,I,C).get,y=0,N=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===N?y=u>=P?1:0:y=t(0,r(.5/(P-N)+(u-N)/(P-N),1)),y=B(y);else if(M===3)P===N?y=u>=P?0:1:y=1-t(0,r(.5/(P-N)+(u-N)/(P-N),1)),y=B(y);else if(M===4)P===N?y=0:(y=t(0,r(.5/(P-N)+(u-N)/(P-N),1)),y<.5?y*=2:y=1-2*(y-.5)),y=B(y);else if(M===5){if(P===N)y=0;else{var z=P-N;u=r(t(0,u+.5-N),P-N);var w=-z/2+u,S=z/2;y=Math.sqrt(1-w*w/(S*S))}y=B(y)}else M===6?(P===N?y=0:(u=r(t(0,u+.5-N),P-N),y=(1+Math.cos(Math.PI+Math.PI*2*u/(P-N)))/2),y=B(y)):(u>=i(N)&&(u-N<0?y=t(0,r(r(P,1)-(N-u),1)):y=t(0,r(P-u,1))),y=B(y));if(this.sm.v!==100){var b=this.sm.v*.01;b===0&&(b=1e-8);var A=.5-b*.5;y<A?y=0:(y=(y-A)/b,y>1&&(y=1))}return y*this.a.v},getValue:function(u){this.iterateDynamicProperties(),this._mdf=u||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,u&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,f=this.o.v/x,I=this.s.v/x+f,C=this.e.v/x+f;if(I>C){var B=I;I=C,C=B}this.finalS=I,this.finalE=C}},$([re],a);function d(c,u,x){return new a(c,u,x)}return{getTextSelectorProp:d}}();function mv(t,r,i){var a={propType:!1},d=et.getProp,c=r.a;this.a={r:c.r?d(t,c.r,0,_t,i):a,rx:c.rx?d(t,c.rx,0,_t,i):a,ry:c.ry?d(t,c.ry,0,_t,i):a,sk:c.sk?d(t,c.sk,0,_t,i):a,sa:c.sa?d(t,c.sa,0,_t,i):a,s:c.s?d(t,c.s,1,.01,i):a,a:c.a?d(t,c.a,1,0,i):a,o:c.o?d(t,c.o,0,.01,i):a,p:c.p?d(t,c.p,1,0,i):a,sw:c.sw?d(t,c.sw,0,0,i):a,sc:c.sc?d(t,c.sc,1,0,i):a,fc:c.fc?d(t,c.fc,1,0,i):a,fh:c.fh?d(t,c.fh,0,0,i):a,fs:c.fs?d(t,c.fs,0,.01,i):a,fb:c.fb?d(t,c.fb,0,.01,i):a,t:c.t?d(t,c.t,0,0,i):a},this.s=pv.getTextSelectorProp(t,r.s,i),this.s.t=r.s.t}function xi(t,r,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=r,this._elem=i,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}xi.prototype.searchProperties=function(){var t,r=this._textData.a.length,i,a=et.getProp;for(t=0;t<r;t+=1)i=this._textData.a[t],this._animatorsData[t]=new mv(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=a(this._elem,this._textData.m.a,1,0,this)},xi.prototype.getMeasures=function(t,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,a=this._animatorsData,d=this._textData,c=this.mHelper,u=this._renderType,x=this.renderedLetters.length,f,I,C,B,y=t.l,N,P,M,z,w,S,b,A,k,D,V,G,Z,ut,ct;if(this._hasMaskedPath){if(ct=this._pathData.m,!this._pathData.n||this._pathData._mdf){var Q=ct.v;this._pathData.r.v&&(Q=Q.reverse()),N={tLength:0,segments:[]},B=Q._length-1;var gt;for(G=0,C=0;C<B;C+=1)gt=mr.buildBezierData(Q.v[C],Q.v[C+1],[Q.o[C][0]-Q.v[C][0],Q.o[C][1]-Q.v[C][1]],[Q.i[C+1][0]-Q.v[C+1][0],Q.i[C+1][1]-Q.v[C+1][1]]),N.tLength+=gt.segmentLength,N.segments.push(gt),G+=gt.segmentLength;C=B,ct.v.c&&(gt=mr.buildBezierData(Q.v[C],Q.v[0],[Q.o[C][0]-Q.v[C][0],Q.o[C][1]-Q.v[C][1]],[Q.i[0][0]-Q.v[0][0],Q.i[0][1]-Q.v[0][1]]),N.tLength+=gt.segmentLength,N.segments.push(gt),G+=gt.segmentLength),this._pathData.pi=N}if(N=this._pathData.pi,P=this._pathData.f.v,b=0,S=1,z=0,w=!0,D=N.segments,P<0&&ct.v.c)for(N.tLength<Math.abs(P)&&(P=-Math.abs(P)%N.tLength),b=D.length-1,k=D[b].points,S=k.length-1;P<0;)P+=k[S].partialLength,S-=1,S<0&&(b-=1,k=D[b].points,S=k.length-1);k=D[b].points,A=k[S-1],M=k[S],V=M.partialLength}B=y.length,f=0,I=0;var st=t.finalSize*1.2*.714,X=!0,_,R,p,g,U;g=a.length;var F,rt=-1,mt,ft,wt,Ct=P,Kt=b,Ae=S,fr=-1,_e,ie,Re,Nt,nt,Ir,Jr,kr,vr="",wr=this.defaultPropsArray,Cr;if(t.j===2||t.j===1){var Se=0,Qr=0,ti=t.j===2?-.5:-1,ir=0,ei=!0;for(C=0;C<B;C+=1)if(y[C].n){for(Se&&(Se+=Qr);ir<C;)y[ir].animatorJustifyOffset=Se,ir+=1;Se=0,ei=!0}else{for(p=0;p<g;p+=1)_=a[p].a,_.t.propType&&(ei&&t.j===2&&(Qr+=_.t.v*ti),R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),F.length?Se+=_.t.v*F[0]*ti:Se+=_.t.v*F*ti);ei=!1}for(Se&&(Se+=Qr);ir<C;)y[ir].animatorJustifyOffset=Se,ir+=1}for(C=0;C<B;C+=1){if(c.reset(),_e=1,y[C].n)f=0,I+=t.yOffset,I+=X?1:0,P=Ct,X=!1,this._hasMaskedPath&&(b=Kt,S=Ae,k=D[b].points,A=k[S-1],M=k[S],V=M.partialLength,z=0),vr="",kr="",Ir="",Cr="",wr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(fr!==y[C].line){switch(t.j){case 1:P+=G-t.lineWidths[y[C].line];break;case 2:P+=(G-t.lineWidths[y[C].line])/2;break;default:break}fr=y[C].line}rt!==y[C].ind&&(y[rt]&&(P+=y[rt].extra),P+=y[C].an/2,rt=y[C].ind),P+=i[0]*y[C].an*.005;var or=0;for(p=0;p<g;p+=1)_=a[p].a,_.p.propType&&(R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),F.length?or+=_.p.v[0]*F[0]:or+=_.p.v[0]*F),_.a.propType&&(R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),F.length?or+=_.a.v[0]*F[0]:or+=_.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=y[0].an*.5+(G-this._pathData.f.v-y[0].an*.5-y[y.length-1].an*.5)*rt/(B-1),P+=this._pathData.f.v);w;)z+V>=P+or||!k?(Z=(P+or-z)/M.partialLength,ft=A.point[0]+(M.point[0]-A.point[0])*Z,wt=A.point[1]+(M.point[1]-A.point[1])*Z,c.translate(-i[0]*y[C].an*.005,-(i[1]*st)*.01),w=!1):k&&(z+=M.partialLength,S+=1,S>=k.length&&(S=0,b+=1,D[b]?k=D[b].points:ct.v.c?(S=0,b=0,k=D[b].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[S],V=M.partialLength));mt=y[C].an/2-y[C].add,c.translate(-mt,0,0)}else mt=y[C].an/2-y[C].add,c.translate(-mt,0,0),c.translate(-i[0]*y[C].an*.005,-i[1]*st*.01,0);for(p=0;p<g;p+=1)_=a[p].a,_.t.propType&&(R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),(f!==0||t.j!==0)&&(this._hasMaskedPath?F.length?P+=_.t.v*F[0]:P+=_.t.v*F:F.length?f+=_.t.v*F[0]:f+=_.t.v*F));for(t.strokeWidthAnim&&(Re=t.sw||0),t.strokeColorAnim&&(t.sc?ie=[t.sc[0],t.sc[1],t.sc[2]]:ie=[0,0,0]),t.fillColorAnim&&t.fc&&(Nt=[t.fc[0],t.fc[1],t.fc[2]]),p=0;p<g;p+=1)_=a[p].a,_.a.propType&&(R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),F.length?c.translate(-_.a.v[0]*F[0],-_.a.v[1]*F[1],_.a.v[2]*F[2]):c.translate(-_.a.v[0]*F,-_.a.v[1]*F,_.a.v[2]*F));for(p=0;p<g;p+=1)_=a[p].a,_.s.propType&&(R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),F.length?c.scale(1+(_.s.v[0]-1)*F[0],1+(_.s.v[1]-1)*F[1],1):c.scale(1+(_.s.v[0]-1)*F,1+(_.s.v[1]-1)*F,1));for(p=0;p<g;p+=1){if(_=a[p].a,R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),_.sk.propType&&(F.length?c.skewFromAxis(-_.sk.v*F[0],_.sa.v*F[1]):c.skewFromAxis(-_.sk.v*F,_.sa.v*F)),_.r.propType&&(F.length?c.rotateZ(-_.r.v*F[2]):c.rotateZ(-_.r.v*F)),_.ry.propType&&(F.length?c.rotateY(_.ry.v*F[1]):c.rotateY(_.ry.v*F)),_.rx.propType&&(F.length?c.rotateX(_.rx.v*F[0]):c.rotateX(_.rx.v*F)),_.o.propType&&(F.length?_e+=(_.o.v*F[0]-_e)*F[0]:_e+=(_.o.v*F-_e)*F),t.strokeWidthAnim&&_.sw.propType&&(F.length?Re+=_.sw.v*F[0]:Re+=_.sw.v*F),t.strokeColorAnim&&_.sc.propType)for(nt=0;nt<3;nt+=1)F.length?ie[nt]+=(_.sc.v[nt]-ie[nt])*F[0]:ie[nt]+=(_.sc.v[nt]-ie[nt])*F;if(t.fillColorAnim&&t.fc){if(_.fc.propType)for(nt=0;nt<3;nt+=1)F.length?Nt[nt]+=(_.fc.v[nt]-Nt[nt])*F[0]:Nt[nt]+=(_.fc.v[nt]-Nt[nt])*F;_.fh.propType&&(F.length?Nt=xd(Nt,_.fh.v*F[0]):Nt=xd(Nt,_.fh.v*F)),_.fs.propType&&(F.length?Nt=Ed(Nt,_.fs.v*F[0]):Nt=Ed(Nt,_.fs.v*F)),_.fb.propType&&(F.length?Nt=Td(Nt,_.fb.v*F[0]):Nt=Td(Nt,_.fb.v*F))}}for(p=0;p<g;p+=1)_=a[p].a,_.p.propType&&(R=a[p].s,F=R.getMult(y[C].anIndexes[p],d.a[p].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,_.p.v[1]*F[0],-_.p.v[2]*F[1]):c.translate(0,_.p.v[1]*F,-_.p.v[2]*F):F.length?c.translate(_.p.v[0]*F[0],_.p.v[1]*F[1],-_.p.v[2]*F[2]):c.translate(_.p.v[0]*F,_.p.v[1]*F,-_.p.v[2]*F));if(t.strokeWidthAnim&&(Ir=Re<0?0:Re),t.strokeColorAnim&&(Jr="rgb("+Math.round(ie[0]*255)+","+Math.round(ie[1]*255)+","+Math.round(ie[2]*255)+")"),t.fillColorAnim&&t.fc&&(kr="rgb("+Math.round(Nt[0]*255)+","+Math.round(Nt[1]*255)+","+Math.round(Nt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-t.ls),c.translate(0,i[1]*st*.01+I,0),this._pathData.p.v){ut=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Ai=Math.atan(ut)*180/Math.PI;M.point[0]<A.point[0]&&(Ai+=180),c.rotate(-Ai*Math.PI/180)}c.translate(ft,wt,0),P-=i[0]*y[C].an*.005,y[C+1]&&rt!==y[C+1].ind&&(P+=y[C].an/2,P+=t.tr*.001*t.finalSize)}else{switch(c.translate(f,I,0),t.ps&&c.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:c.translate(y[C].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[y[C].line]),0,0);break;case 2:c.translate(y[C].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[y[C].line])/2,0,0);break;default:break}c.translate(0,-t.ls),c.translate(mt,0,0),c.translate(i[0]*y[C].an*.005,i[1]*st*.01,0),f+=y[C].l+t.tr*.001*t.finalSize}u==="html"?vr=c.toCSS():u==="svg"?vr=c.to2dCSS():wr=[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]],Cr=_e}x<=C?(U=new vl(Cr,Ir,Jr,kr,vr,wr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[C],this.lettersChangedFlag=U.update(Cr,Ir,Jr,kr,vr,wr)||this.lettersChangedFlag)}}},xi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},xi.prototype.mHelper=new ne,xi.prototype.defaultPropsArray=[],$([re],xi);function Be(){}Be.prototype.initElement=function(t,r,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,r,i),this.textProperty=new pe(this,t.t,this.dynamicProperties),this.textAnimator=new xi(t.t,this.renderType,this),this.initTransform(t,r,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Be.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},Be.prototype.createPathShape=function(t,r){var i,a=r.length,d,c="";for(i=0;i<a;i+=1)r[i].ty==="sh"&&(d=r[i].ks.k,c+=ch(d,d.i.length,!0,t));return c},Be.prototype.updateDocumentData=function(t,r){this.textProperty.updateDocumentData(t,r)},Be.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},Be.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},Be.prototype.applyTextPropertiesToMatrix=function(t,r,i,a,d){switch(t.ps&&r.translate(t.ps[0],t.ps[1]+t.ascent,0),r.translate(0,-t.ls,0),t.j){case 1:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break;default:break}r.translate(a,d,0)},Be.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},Be.prototype.emptyProp=new vl,Be.prototype.destroy=function(){},Be.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var uv={shapes:[]};function _r(t,r,i){this.textSpans=[],this.renderType="svg",this.initElement(t,r,i)}$([qr,mo,ms,uo,Kr,us,Be],_r),_r.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=vt("text"))},_r.prototype.buildTextContents=function(t){for(var r=0,i=t.length,a=[],d="";r<i;)t[r]==="\r"||t[r]===""?(a.push(d),d=""):d+=t[r],r+=1;return a.push(d),a},_r.prototype.buildShapeData=function(t,r){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var a=i.it[i.it.length-1];a.s&&(a.s.k[0]=r,a.s.k[1]=r)}}return t},_r.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,r,i=this.textProperty.currentData;this.renderedLetters=tt(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var a=this.globalData.fontManager.getFontByName(i.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var d=i.fWeight,c=i.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",i.t);var u=i.l||[],x=!!this.globalData.fontManager.chars;r=u.length;var f,I=this.mHelper,C="",B=this.data.singleShape,y=0,N=0,P=!0,M=i.tr*.001*i.finalSize;if(B&&!x&&!i.sz){var z=this.textContainer,w="start";switch(i.j){case 1:w="end";break;case 2:w="middle";break;default:w="start";break}z.setAttribute("text-anchor",w),z.setAttribute("letter-spacing",M);var S=this.buildTextContents(i.finalText);for(r=S.length,N=i.ps?i.ps[1]+i.ascent:0,t=0;t<r;t+=1)f=this.textSpans[t].span||vt("tspan"),f.textContent=S[t],f.setAttribute("x",0),f.setAttribute("y",N),f.style.display="inherit",z.appendChild(f),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=f,N+=i.finalLineHeight;this.layerElement.appendChild(z)}else{var b=this.textSpans.length,A;for(t=0;t<r;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!x||!B||t===0){if(f=b>t?this.textSpans[t].span:vt(x?"g":"text"),b<=t){if(f.setAttribute("stroke-linecap","butt"),f.setAttribute("stroke-linejoin","round"),f.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=f,x){var k=vt("g");f.appendChild(k),this.textSpans[t].childSpan=k}this.textSpans[t].span=f,this.layerElement.appendChild(f)}f.style.display="inherit"}if(I.reset(),B&&(u[t].n&&(y=-M,N+=i.yOffset,N+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(i,I,u[t].line,y,N),y+=u[t].l||0,y+=M),x){A=this.globalData.fontManager.getCharData(i.finalText[t],a.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var D;if(A.t===1)D=new gs(A.data,this.globalData,this);else{var V=uv;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,i.finalSize)),D=new jt(V,this.globalData,this)}if(this.textSpans[t].glyph){var G=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(G.layerElement),G.destroy()}this.textSpans[t].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[t].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else B&&f.setAttribute("transform","translate("+I.props[12]+","+I.props[13]+")"),f.textContent=u[t].val,f.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&f&&f.setAttribute("d",C)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},_r.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},_r.prototype.getValue=function(){var t,r=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},_r.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,r,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var d,c,u;for(t=0;t<r;t+=1)a[t].n||(d=i[t],c=this.textSpans[t].span,u=this.textSpans[t].glyph,u&&u.renderFrame(),d._mdf.m&&c.setAttribute("transform",d.m),d._mdf.o&&c.setAttribute("opacity",d.o),d._mdf.sw&&c.setAttribute("stroke-width",d.sw),d._mdf.sc&&c.setAttribute("stroke",d.sc),d._mdf.fc&&c.setAttribute("fill",d.fc))}};function gl(t,r,i){this.initElement(t,r,i)}$([fs],gl),gl.prototype.createContent=function(){var t=vt("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function Zr(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initFrame(),this.initTransform(t,r,i),this.initHierarchy()}Zr.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Zr.prototype.renderFrame=function(){},Zr.prototype.getBaseElement=function(){return null},Zr.prototype.destroy=function(){},Zr.prototype.sourceRectAtTime=function(){},Zr.prototype.hide=function(){},$([qr,mo,uo,Kr],Zr);function Jt(){}$([le],Jt),Jt.prototype.createNull=function(t){return new Zr(t,this.globalData,this)},Jt.prototype.createShape=function(t){return new jt(t,this.globalData,this)},Jt.prototype.createText=function(t){return new _r(t,this.globalData,this)},Jt.prototype.createImage=function(t){return new fs(t,this.globalData,this)},Jt.prototype.createSolid=function(t){return new gl(t,this.globalData,this)},Jt.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(t,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=vt("clipPath"),a=vt("rect");a.setAttribute("width",t.w),a.setAttribute("height",t.h),a.setAttribute("x",0),a.setAttribute("y",0);var d=Te();i.setAttribute("id",d),i.appendChild(a),this.layerElement.setAttribute("clip-path","url("+T()+"#"+d+")"),r.appendChild(i),this.layers=t.layers,this.elements=tt(t.layers.length)},Jt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,r=this.layers?this.layers.length:0;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Jt.prototype.updateContainerSize=function(){},Jt.prototype.findIndexByInd=function(t){var r=0,i=this.layers.length;for(r=0;r<i;r+=1)if(this.layers[r].ind===t)return r;return-1},Jt.prototype.buildItem=function(t){var r=this.elements;if(!(r[t]||this.layers[t].ty===99)){r[t]=!0;var i=this.createItem(this.layers[t]);if(r[t]=i,da()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var a="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(i);else{var d=r[a],c=d.getMatte(this.layers[t].tt);i.setMatte(c)}}}},Jt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var r=0,i=this.elements.length;r<i;){if(this.elements[r]===t){var a="tp"in t.data?this.findIndexByInd(t.data.tp):r-1,d=this.elements[a],c=d.getMatte(this.layers[r].tt);t.setMatte(c);break}r+=1}}},Jt.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Jt.prototype.appendElementInPos=function(t,r){var i=t.getBaseElement();if(i){for(var a=0,d;a<r;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(d=this.elements[a].getBaseElement()),a+=1;d?this.layerElement.insertBefore(i,d):this.layerElement.appendChild(i)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function Sr(){}$([qr,mo,uo,Kr,us],Sr),Sr.prototype.initElement=function(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initTransform(t,r,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Sr.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var i,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},Sr.prototype.renderInnerContent=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},Sr.prototype.setElements=function(t){this.elements=t},Sr.prototype.getElements=function(){return this.elements},Sr.prototype.destroyElements=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy()},Sr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function gs(t,r,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(t,r,i),this.tm=t.tm?et.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0}}$([Jt,Sr,ms],gs),gs.prototype.createComp=function(t){return new gs(t,this.globalData,this)};function bl(t,r){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=vt("svg");var i="";if(r&&r.title){var a=vt("title"),d=Te();a.setAttribute("id",d),a.textContent=r.title,this.svgElement.appendChild(a),i+=d}if(r&&r.description){var c=vt("desc"),u=Te();c.setAttribute("id",u),c.textContent=r.description,this.svgElement.appendChild(c),i+=" "+u}i&&this.svgElement.setAttribute("aria-labelledby",i);var x=vt("defs");this.svgElement.appendChild(x);var f=vt("g");this.svgElement.appendChild(f),this.layerElement=f,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:x,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return $([Jt],bl),bl.prototype.createComp=function(t){return new gs(t,this.globalData,this)},_f("svg",bl),Wr.registerModifier("tm",rr),Wr.registerModifier("pb",as),Wr.registerModifier("rp",ur),Wr.registerModifier("rd",ns),Wr.registerModifier("zz",cs),Wr.registerModifier("op",ds),Lt})});var Ca=globalThis,La=Ca.ShadowRoot&&(Ca.ShadyCSS===void 0||Ca.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,El=Symbol(),hh=new WeakMap,bs=class{constructor(o,e,s){if(this._$cssResult$=!0,s!==El)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=e}get styleSheet(){let o=this.o,e=this.t;if(La&&o===void 0){let s=e!==void 0&&e.length===1;s&&(o=hh.get(e)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),s&&hh.set(e,o))}return o}toString(){return this.cssText}},ph=l=>new bs(typeof l=="string"?l:l+"",void 0,El),H=(l,...o)=>{let e=l.length===1?l[0]:o.reduce((s,n,h)=>s+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+l[h+1],l[0]);return new bs(e,l,El)},Tl=(l,o)=>{if(La)l.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of o){let s=document.createElement("style"),n=Ca.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,l.appendChild(s)}},Na=La?l=>l:l=>l instanceof CSSStyleSheet?(o=>{let e="";for(let s of o.cssRules)e+=s.cssText;return ph(e)})(l):l;var{is:xv,defineProperty:Av,getOwnPropertyDescriptor:_v,getOwnPropertyNames:Sv,getOwnPropertySymbols:Iv,getPrototypeOf:kv}=Object,ri=globalThis,mh=ri.trustedTypes,wv=mh?mh.emptyScript:"",xl=ri.reactiveElementPolyfillSupport,ys=(l,o)=>l,Es={toAttribute(l,o){switch(o){case Boolean:l=l?wv:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,o){let e=l;switch(o){case Boolean:e=l!==null;break;case Number:e=l===null?null:Number(l);break;case Object:case Array:try{e=JSON.parse(l)}catch{e=null}}return e}},Ma=(l,o)=>!xv(l,o),uh={attribute:!0,type:String,converter:Es,reflect:!1,hasChanged:Ma},fh,vh;(fh=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(vh=ri.litPropertyMetadata)!=null||(ri.litPropertyMetadata=new WeakMap);var Lr=class extends HTMLElement{static addInitializer(o){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,e=uh){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(o,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(o,s,e);n!==void 0&&Av(this.prototype,o,n)}}static getPropertyDescriptor(o,e,s){var m;let{get:n,set:h}=(m=_v(this.prototype,o))!=null?m:{get(){return this[e]},set(T){this[e]=T}};return{get(){return n==null?void 0:n.call(this)},set(T){let L=n==null?void 0:n.call(this);h.call(this,T),this.requestUpdate(o,L,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var e;return(e=this.elementProperties.get(o))!=null?e:uh}static _$Ei(){if(this.hasOwnProperty(ys("elementProperties")))return;let o=kv(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(ys("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(ys("properties"))){let e=this.properties,s=[...Sv(e),...Iv(e)];for(let n of s)this.createProperty(n,e[n])}let o=this[Symbol.metadata];if(o!==null){let e=litPropertyMetadata.get(o);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let e=[];if(Array.isArray(o)){let s=new Set(o.flat(1/0).reverse());for(let n of s)e.unshift(Na(n))}else o!==void 0&&e.push(Na(o));return e}static _$Eu(o,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s: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(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(e=>e(this))}addController(o){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((s=o.hostConnected)==null||s.call(o))}removeController(o){var e;(e=this._$EO)==null||e.delete(o)}_$E_(){let o=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(o.set(s,this[s]),delete this[s]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var e;let o=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Tl(o,this.constructor.elementStyles),o}connectedCallback(){var o,e;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostConnected)==null?void 0:n.call(s)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(o,e,s){this._$AK(o,s)}_$EC(o,e){var h;let s=this.constructor.elementProperties.get(o),n=this.constructor._$Eu(o,s);if(n!==void 0&&s.reflect===!0){let m=(((h=s.converter)==null?void 0:h.toAttribute)!==void 0?s.converter:Es).toAttribute(e,s.type);this._$Em=o,m==null?this.removeAttribute(n):this.setAttribute(n,m),this._$Em=null}}_$AK(o,e){var h;let s=this.constructor,n=s._$Eh.get(o);if(n!==void 0&&this._$Em!==n){let m=s.getPropertyOptions(n),T=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Es;this._$Em=n,this[n]=T.fromAttribute(e,m.type),this._$Em=null}}requestUpdate(o,e,s){var n;if(o!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(o)),!((n=s.hasChanged)!=null?n:Ma)(this[o],e))return;this.P(o,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,e,s){var n;this._$AL.has(o)||this._$AL.set(o,e),s.reflect===!0&&this._$Em!==o&&((n=this._$Ej)!=null?n:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,T]of this._$Ep)this[m]=T;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,T]of h)T.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],T)}let o=!1,e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(e)):this._$EU()}catch(h){throw o=!1,this._$EU(),h}o&&this._$AE(e)}willUpdate(o){}_$AE(o){var e;(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostUpdated)==null?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(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(e=>this._$EC(e,this[e]))),this._$EU()}updated(o){}firstUpdated(o){}},gh;Lr.elementStyles=[],Lr.shadowRootOptions={mode:"open"},Lr[ys("elementProperties")]=new Map,Lr[ys("finalized")]=new Map,xl==null||xl({ReactiveElement:Lr}),((gh=ri.reactiveElementVersions)!=null?gh:ri.reactiveElementVersions=[]).push("2.0.4");var xs=globalThis,Ra=xs.trustedTypes,bh=Ra?Ra.createPolicy("lit-html",{createHTML:l=>l}):void 0,Sl="$lit$",Nr=`lit$${Math.random().toFixed(9).slice(2)}$`,Il="?"+Nr,Cv=`<${Il}>`,Ii=document,As=()=>Ii.createComment(""),_s=l=>l===null||typeof l!="object"&&typeof l!="function",kl=Array.isArray,Sh=l=>kl(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",Al=`[
3
- \f\r]`,Ts=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,yh=/-->/g,Eh=/>/g,_i=RegExp(`>|${Al}(?:([^\\s"'>=/]+)(${Al}*=${Al}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Th=/'/g,xh=/"/g,Ih=/^(?:script|style|textarea|title)$/i,wl=l=>(o,...e)=>({_$litType$:l,strings:o,values:e}),O=wl(1),o0=wl(2),s0=wl(3),Ie=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),Ah=new WeakMap,Si=Ii.createTreeWalker(Ii,129);function kh(l,o){if(!kl(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return bh!==void 0?bh.createHTML(o):o}var wh=(l,o)=>{let e=l.length-1,s=[],n,h=o===2?"<svg>":o===3?"<math>":"",m=Ts;for(let T=0;T<e;T++){let L=l[T],$,W,K=-1,ot=0;for(;ot<L.length&&(m.lastIndex=ot,W=m.exec(L),W!==null);)ot=m.lastIndex,m===Ts?W[1]==="!--"?m=yh:W[1]!==void 0?m=Eh:W[2]!==void 0?(Ih.test(W[2])&&(n=RegExp("</"+W[2],"g")),m=_i):W[3]!==void 0&&(m=_i):m===_i?W[0]===">"?(m=n!=null?n:Ts,K=-1):W[1]===void 0?K=-2:(K=m.lastIndex-W[2].length,$=W[1],m=W[3]===void 0?_i:W[3]==='"'?xh:Th):m===xh||m===Th?m=_i:m===yh||m===Eh?m=Ts:(m=_i,n=void 0);let J=m===_i&&l[T+1].startsWith("/>")?" ":"";h+=m===Ts?L+Cv:K>=0?(s.push($),L.slice(0,K)+Sl+L.slice(K)+Nr+J):L+Nr+(K===-2?T:J)}return[kh(l,h+(l[e]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),s]},Ss=class l{constructor({strings:o,_$litType$:e},s){let n;this.parts=[];let h=0,m=0,T=o.length-1,L=this.parts,[$,W]=wh(o,e);if(this.el=l.createElement($,s),Si.currentNode=this.el.content,e===2||e===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(n=Si.nextNode())!==null&&L.length<T;){if(n.nodeType===1){if(n.hasAttributes())for(let K of n.getAttributeNames())if(K.endsWith(Sl)){let ot=W[m++],J=n.getAttribute(K).split(Nr),tt=/([.?@])?(.*)/.exec(ot);L.push({type:1,index:h,name:tt[2],strings:J,ctor:tt[1]==="."?Pa:tt[1]==="?"?Da:tt[1]==="@"?Fa:wi}),n.removeAttribute(K)}else K.startsWith(Nr)&&(L.push({type:6,index:h}),n.removeAttribute(K));if(Ih.test(n.tagName)){let K=n.textContent.split(Nr),ot=K.length-1;if(ot>0){n.textContent=Ra?Ra.emptyScript:"";for(let J=0;J<ot;J++)n.append(K[J],As()),Si.nextNode(),L.push({type:2,index:++h});n.append(K[ot],As())}}}else if(n.nodeType===8)if(n.data===Il)L.push({type:2,index:h});else{let K=-1;for(;(K=n.data.indexOf(Nr,K+1))!==-1;)L.push({type:7,index:h}),K+=Nr.length-1}h++}}static createElement(o,e){let s=Ii.createElement("template");return s.innerHTML=o,s}};function ki(l,o,e=l,s){var m,T,L;if(o===Ie)return o;let n=s!==void 0?(m=e.o)==null?void 0:m[s]:e.l,h=_s(o)?void 0:o._$litDirective$;return(n==null?void 0:n.constructor)!==h&&((T=n==null?void 0:n._$AO)==null||T.call(n,!1),h===void 0?n=void 0:(n=new h(l),n._$AT(l,e,s)),s!==void 0?((L=e.o)!=null?L:e.o=[])[s]=n:e.l=n),n!==void 0&&(o=ki(l,n._$AS(l,o.values),n,s)),o}var Oa=class{constructor(o,e){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var $;let{el:{content:e},parts:s}=this._$AD,n=(($=o==null?void 0:o.creationScope)!=null?$:Ii).importNode(e,!0);Si.currentNode=n;let h=Si.nextNode(),m=0,T=0,L=s[0];for(;L!==void 0;){if(m===L.index){let W;L.type===2?W=new vo(h,h.nextSibling,this,o):L.type===1?W=new L.ctor(h,L.name,L.strings,this,o):L.type===6&&(W=new $a(h,this,o)),this._$AV.push(W),L=s[++T]}m!==(L==null?void 0:L.index)&&(h=Si.nextNode(),m++)}return Si.currentNode=Ii,n}p(o){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(o,s,e),e+=s.strings.length-2):s._$AI(o[e])),e++}},vo=class l{get _$AU(){var o,e;return(e=(o=this._$AM)==null?void 0:o._$AU)!=null?e:this.v}constructor(o,e,s,n){var h;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=o,this._$AB=e,this._$AM=s,this.options=n,this.v=(h=n==null?void 0:n.isConnected)!=null?h:!0}get parentNode(){let o=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=e.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,e=this){o=ki(this,o,e),_s(o)?o===Y||o==null||o===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):o!==this._$AH&&o!==Ie&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Sh(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!==Y&&_s(this._$AH)?this._$AA.nextSibling.data=o:this.T(Ii.createTextNode(o)),this._$AH=o}$(o){var h;let{values:e,_$litType$:s}=o,n=typeof s=="number"?this._$AC(o):(s.el===void 0&&(s.el=Ss.createElement(kh(s.h,s.h[0]),this.options)),s);if(((h=this._$AH)==null?void 0:h._$AD)===n)this._$AH.p(e);else{let m=new Oa(n,this),T=m.u(this.options);m.p(e),this.T(T),this._$AH=m}}_$AC(o){let e=Ah.get(o.strings);return e===void 0&&Ah.set(o.strings,e=new Ss(o)),e}k(o){kl(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let h of o)n===e.length?e.push(s=new l(this.O(As()),this.O(As()),this,this.options)):s=e[n],s._$AI(h),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(o=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){var e;this._$AM===void 0&&(this.v=o,(e=this._$AP)==null||e.call(this,o))}},wi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,e,s,n,h){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=o,this.name=e,this._$AM=n,this.options=h,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=Y}_$AI(o,e=this,s,n){let h=this.strings,m=!1;if(h===void 0)o=ki(this,o,e,0),m=!_s(o)||o!==this._$AH&&o!==Ie,m&&(this._$AH=o);else{let T=o,L,$;for(o=h[0],L=0;L<h.length-1;L++)$=ki(this,T[s+L],e,L),$===Ie&&($=this._$AH[L]),m||(m=!_s($)||$!==this._$AH[L]),$===Y?o=Y:o!==Y&&(o+=($!=null?$:"")+h[L+1]),this._$AH[L]=$}m&&!n&&this.j(o)}j(o){o===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Pa=class extends wi{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===Y?void 0:o}},Da=class extends wi{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==Y)}},Fa=class extends wi{constructor(o,e,s,n,h){super(o,e,s,n,h),this.type=5}_$AI(o,e=this){var m;if((o=(m=ki(this,o,e,0))!=null?m:Y)===Ie)return;let s=this._$AH,n=o===Y&&s!==Y||o.capture!==s.capture||o.once!==s.once||o.passive!==s.passive,h=o!==Y&&(s===Y||n);n&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,o):this._$AH.handleEvent(o)}},$a=class{constructor(o,e,s){this.element=o,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(o){ki(this,o)}},Ch={M:Sl,P:Nr,A:Il,C:1,L:wh,R:Oa,D:Sh,V:ki,I:vo,H:wi,N:Da,U:Fa,B:Pa,F:$a},_l=xs.litHtmlPolyfillSupport,_h;_l==null||_l(Ss,vo),((_h=xs.litHtmlVersions)!=null?_h:xs.litHtmlVersions=[]).push("3.2.0");var Lh=(l,o,e)=>{var h,m;let s=(h=e==null?void 0:e.renderBefore)!=null?h:o,n=s._$litPart$;if(n===void 0){let T=(m=e==null?void 0:e.renderBefore)!=null?m:null;s._$litPart$=n=new vo(o.insertBefore(As(),T),T,void 0,e!=null?e:{})}return n._$AI(l),n};var ii=class extends Lr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let o=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=o.firstChild),o}update(o){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=Lh(e,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 Ie}},Nh;ii._$litElement$=!0,ii.finalized=!0,(Nh=globalThis.litElementHydrateSupport)==null||Nh.call(globalThis,{LitElement:ii});var Cl=globalThis.litElementPolyfillSupport;Cl==null||Cl({LitElement:ii});var Mh;((Mh=globalThis.litElementVersions)!=null?Mh:globalThis.litElementVersions=[]).push("4.1.0");var Lv={attribute:!0,type:String,converter:Es,reflect:!1,hasChanged:Ma},Nv=(l=Lv,o,e)=>{let{kind:s,metadata:n}=e,h=globalThis.litPropertyMetadata.get(n);if(h===void 0&&globalThis.litPropertyMetadata.set(n,h=new Map),h.set(e.name,l),s==="accessor"){let{name:m}=e;return{set(T){let L=o.get.call(this);o.set.call(this,T),this.requestUpdate(m,L,l)},init(T){return T!==void 0&&this.P(m,void 0,l),T}}}if(s==="setter"){let{name:m}=e;return function(T){let L=this[m];o.call(this,T),this.requestUpdate(m,L,l)}}throw Error("Unsupported decorator location: "+s)};function E(l){return(o,e)=>typeof e=="object"?Nv(l,o,e):((s,n,h)=>{let m=n.hasOwnProperty(h);return n.constructor.createProperty(h,m?{...s,wrapped:!0}:s),m?Object.getOwnPropertyDescriptor(n,h):void 0})(l,o,e)}function At(l){return E({...l,state:!0,attribute:!1})}var Mr=(l,o,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(l,o,e),e);function Rr(l,o){return(e,s,n)=>{let h=m=>{var T,L;return(L=(T=m.renderRoot)==null?void 0:T.querySelector(l))!=null?L:null};if(o){let{get:m,set:T}=typeof s=="object"?e:n!=null?n:(()=>{let L=Symbol();return{get(){return this[L]},set($){this[L]=$}}})();return Mr(e,s,{get(){let L=m.call(this);return L===void 0&&(L=h(this),(L!==null||this.hasUpdated)&&T.call(this,L)),L}})}return Mr(e,s,{get(){return h(this)}})}}function Bt(l){return(o,e)=>{let{slot:s,selector:n}=l!=null?l:{},h="slot"+(s?`[name=${s}]`:":not([name])");return Mr(o,e,{get(){var L,$;let m=(L=this.renderRoot)==null?void 0:L.querySelector(h),T=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return n===void 0?T:T.filter(W=>W.matches(n))}})}}function za(l){return(o,e)=>{let{slot:s}=l!=null?l:{},n="slot"+(s?`[name=${s}]`:":not([name])");return Mr(o,e,{get(){var m,T;let h=(m=this.renderRoot)==null?void 0:m.querySelector(n);return(T=h==null?void 0:h.assignedNodes(l))!=null?T:[]}})}}var Rh=H`
1
+ "use strict";(()=>{var vv=Object.create;var yl=Object.defineProperty;var hh=Object.getOwnPropertyDescriptor;var gv=Object.getOwnPropertyNames;var bv=Object.getPrototypeOf,yv=Object.prototype.hasOwnProperty;var Ev=(l,o)=>()=>(o||l((o={exports:{}}).exports,o),o.exports);var Tv=(l,o,e,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of gv(o))!yv.call(l,n)&&n!==e&&yl(l,n,{get:()=>o[n],enumerable:!(s=hh(o,n))||s.enumerable});return l};var xv=(l,o,e)=>(e=l!=null?vv(bv(l)):{},Tv(o||!l||!l.__esModule?yl(e,"default",{value:l,enumerable:!0}):e,l));var v=(l,o,e,s)=>{for(var n=s>1?void 0:s?hh(o,e):o,h=l.length-1,m;h>=0;h--)(m=l[h])&&(n=(s?m(o,e,n):m(n))||n);return s&&n&&yl(o,e,n),n};var rp=Ev((Ms,Ja)=>{typeof navigator<"u"&&function(l,o){typeof Ms=="object"&&typeof Ja<"u"?Ja.exports=o():typeof define=="function"&&define.amd?define(o):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=o())}(Ms,function(){"use strict";var l="http://www.w3.org/2000/svg",o="",e=!1,s=-999999,n=function(r){e=!!r},h=function(){return e},m=function(r){o=r},T=function(){return o};function L(t){return document.createElement(t)}function $(t,r){var i,a=t.length,d;for(i=0;i<a;i+=1){d=t[i].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function W(t,r){return Object.getOwnPropertyDescriptor(t,r)}function K(t){function r(){}return r.prototype=t,r}var ot=function(){function t(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(i){this.audios.push(i)},pause:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].pause()},resume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].resume()},setRate:function(i){var a,d=this.audios.length;for(a=0;a<d;a+=1)this.audios[a].setRate(i)},createAudio:function(i){return this.audioFactory?this.audioFactory(i):window.Howl?new window.Howl({src:[i]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(i){this.audioFactory=i},setVolume:function(i){this._volume=i,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var i,a=this.audios.length;for(i=0;i<a;i+=1)this.audios[i].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),J=function(){function t(i,a){var d=0,c=[],u;switch(i){case"int16":case"uint8c":u=1;break;default:u=1.1;break}for(d=0;d<a;d+=1)c.push(u);return c}function r(i,a){return i==="float32"?new Float32Array(a):i==="int16"?new Int16Array(a):i==="uint8c"?new Uint8ClampedArray(a):t(i,a)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:t}();function tt(t){return Array.apply(null,{length:t})}function ht(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ht=function(i){return typeof i}:ht=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ht(t)}var Tt=!0,yt=null,xt=null,kt="",Ht=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ot=!1,Dt=Math.pow,Ee=Math.sqrt,ee=Math.floor,Je=Math.max,Me=Math.min,Fe={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,i=t.length;for(r=0;r<i;r+=1)Fe[t[r]]=Math[t[r]]})();function Qe(){return{}}Fe.random=Math.random,Fe.abs=function(t){var r=ht(t);if(r==="object"&&t.length){var i=tt(t.length),a,d=t.length;for(a=0;a<d;a+=1)i[a]=Math.abs(t[a]);return i}return Math.abs(t)};var tr=150,_t=Math.PI/180,he=.5519;function $e(t){Ot=!!t}function er(t){return Ot?Math.round(t):t}function xr(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function ze(t,r,i,a){this.type=t,this.currentTime=r,this.totalTime=i,this.direction=a<0?-1:1}function ca(t,r){this.type=t,this.direction=r<0?-1:1}function bd(t,r,i,a){this.type=t,this.currentLoop=i,this.totalLoops=r,this.direction=a<0?-1:1}function yd(t,r,i){this.type=t,this.firstFrame=r,this.totalFrames=i}function Ed(t,r){this.type=t,this.target=r}function vf(t,r){this.type="renderFrameError",this.nativeError=t,this.currentTime=r}function gf(t){this.type="configError",this.nativeError=t}function Ky(t,r){this.type=t,this.nativeError=r}var Te=function(){var t=0;return function(){return t+=1,kt+"__lottie_element_"+t}}();function al(t,r,i){var a,d,c,u,x,f,I,w;switch(u=Math.floor(t*6),x=t*6-u,f=i*(1-r),I=i*(1-x*r),w=i*(1-(1-x)*r),u%6){case 0:a=i,d=w,c=f;break;case 1:a=I,d=i,c=f;break;case 2:a=f,d=i,c=w;break;case 3:a=f,d=I,c=i;break;case 4:a=w,d=f,c=i;break;case 5:a=i,d=f,c=I;break;default:break}return[a,d,c]}function nl(t,r,i){var a=Math.max(t,r,i),d=Math.min(t,r,i),c=a-d,u,x=a===0?0:c/a,f=a/255;switch(a){case d:u=0;break;case t:u=r-i+c*(r<i?6:0),u/=6*c;break;case r:u=i-t+c*2,u/=6*c;break;case i:u=t-r+c*4,u/=6*c;break;default:break}return[u,x,f]}function Td(t,r){var i=nl(t[0]*255,t[1]*255,t[2]*255);return i[1]+=r,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),al(i[0],i[1],i[2])}function xd(t,r){var i=nl(t[0]*255,t[1]*255,t[2]*255);return i[2]+=r,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),al(i[0],i[1],i[2])}function Ad(t,r){var i=nl(t[0]*255,t[1]*255,t[2]*255);return i[0]+=r/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),al(i[0],i[1],i[2])}var Xy=function(){var t=[],r,i;for(r=0;r<256;r+=1)i=r.toString(16),t[r]=i.length===1?"0"+i:i;return function(a,d,c){return a<0&&(a=0),d<0&&(d=0),c<0&&(c=0),"#"+t[a]+t[d]+t[c]}}(),bf=function(r){Tt=!!r},yf=function(){return Tt},Ef=function(r){yt=r},da=function(){return yt},Zy=function(r){xt=r},_d=function(){return xt},ha=function(r){tr=r},rs=function(){return tr},Tf=function(r){kt=r},Jy=function(){return kt};function vt(t){return document.createElementNS(l,t)}function pa(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pa=function(i){return typeof i}:pa=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},pa(t)}var is=function(){var t=1,r=[],i,a,d={onmessage:function(){},postMessage:function(N){i({data:N})}},c={postMessage:function(N){d.onmessage({data:N})}};function u(y){if(window.Worker&&window.Blob&&h()){var N=new Blob(["var _workerSelf = self; self.onmessage = ",y.toString()],{type:"text/javascript"}),P=URL.createObjectURL(N);return new Worker(P)}return i=y,d}function x(){a||(a=u(function(N){function P(){function z(X,_){var R,p,g=X.length,U,F,rt,mt;for(p=0;p<g;p+=1)if(R=X[p],"ks"in R&&!R.completed){if(R.completed=!0,R.hasMask){var ft=R.masksProperties;for(F=ft.length,U=0;U<F;U+=1)if(ft[U].pt.k.i)k(ft[U].pt.k);else for(mt=ft[U].pt.k.length,rt=0;rt<mt;rt+=1)ft[U].pt.k[rt].s&&k(ft[U].pt.k[rt].s[0]),ft[U].pt.k[rt].e&&k(ft[U].pt.k[rt].e[0])}R.ty===0?(R.layers=b(R.refId,_),z(R.layers,_)):R.ty===4?A(R.shapes):R.ty===5&&gt(R)}}function C(X,_){if(X){var R=0,p=X.length;for(R=0;R<p;R+=1)X[R].t===1&&(X[R].data.layers=b(X[R].data.refId,_),z(X[R].data.layers,_))}}function S(X,_){for(var R=0,p=_.length;R<p;){if(_[R].id===X)return _[R];R+=1}return null}function b(X,_){var R=S(X,_);return R?R.layers.__used?JSON.parse(JSON.stringify(R.layers)):(R.layers.__used=!0,R.layers):null}function A(X){var _,R=X.length,p,g;for(_=R-1;_>=0;_-=1)if(X[_].ty==="sh")if(X[_].ks.k.i)k(X[_].ks.k);else for(g=X[_].ks.k.length,p=0;p<g;p+=1)X[_].ks.k[p].s&&k(X[_].ks.k[p].s[0]),X[_].ks.k[p].e&&k(X[_].ks.k[p].e[0]);else X[_].ty==="gr"&&A(X[_].it)}function k(X){var _,R=X.i.length;for(_=0;_<R;_+=1)X.i[_][0]+=X.v[_][0],X.i[_][1]+=X.v[_][1],X.o[_][0]+=X.v[_][0],X.o[_][1]+=X.v[_][1]}function D(X,_){var R=_?_.split("."):[100,100,100];return X[0]>R[0]?!0:R[0]>X[0]?!1:X[1]>R[1]?!0:R[1]>X[1]?!1:X[2]>R[2]?!0:R[2]>X[2]?!1:null}var V=function(){var X=[4,4,14];function _(p){var g=p.t.d;p.t.d={k:[{s:g,t:0}]}}function R(p){var g,U=p.length;for(g=0;g<U;g+=1)p[g].ty===5&&_(p[g])}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}(),G=function(){var X=[4,7,99];return function(_){if(_.chars&&!D(X,_.v)){var R,p=_.chars.length;for(R=0;R<p;R+=1){var g=_.chars[R];g.data&&g.data.shapes&&(A(g.data.shapes),g.data.ip=0,g.data.op=99999,g.data.st=0,g.data.sr=1,g.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},_.chars[R].t||(g.data.shapes.push({ty:"no"}),g.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),Z=function(){var X=[5,7,15];function _(p){var g=p.t.p;typeof g.a=="number"&&(g.a={a:0,k:g.a}),typeof g.p=="number"&&(g.p={a:0,k:g.p}),typeof g.r=="number"&&(g.r={a:0,k:g.r})}function R(p){var g,U=p.length;for(g=0;g<U;g+=1)p[g].ty===5&&_(p[g])}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}(),ut=function(){var X=[4,1,9];function _(p){var g,U=p.length,F,rt;for(g=0;g<U;g+=1)if(p[g].ty==="gr")_(p[g].it);else if(p[g].ty==="fl"||p[g].ty==="st")if(p[g].c.k&&p[g].c.k[0].i)for(rt=p[g].c.k.length,F=0;F<rt;F+=1)p[g].c.k[F].s&&(p[g].c.k[F].s[0]/=255,p[g].c.k[F].s[1]/=255,p[g].c.k[F].s[2]/=255,p[g].c.k[F].s[3]/=255),p[g].c.k[F].e&&(p[g].c.k[F].e[0]/=255,p[g].c.k[F].e[1]/=255,p[g].c.k[F].e[2]/=255,p[g].c.k[F].e[3]/=255);else p[g].c.k[0]/=255,p[g].c.k[1]/=255,p[g].c.k[2]/=255,p[g].c.k[3]/=255}function R(p){var g,U=p.length;for(g=0;g<U;g+=1)p[g].ty===4&&_(p[g].shapes)}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}(),ct=function(){var X=[4,4,18];function _(p){var g,U=p.length,F,rt;for(g=U-1;g>=0;g-=1)if(p[g].ty==="sh")if(p[g].ks.k.i)p[g].ks.k.c=p[g].closed;else for(rt=p[g].ks.k.length,F=0;F<rt;F+=1)p[g].ks.k[F].s&&(p[g].ks.k[F].s[0].c=p[g].closed),p[g].ks.k[F].e&&(p[g].ks.k[F].e[0].c=p[g].closed);else p[g].ty==="gr"&&_(p[g].it)}function R(p){var g,U,F=p.length,rt,mt,ft,Ct;for(U=0;U<F;U+=1){if(g=p[U],g.hasMask){var wt=g.masksProperties;for(mt=wt.length,rt=0;rt<mt;rt+=1)if(wt[rt].pt.k.i)wt[rt].pt.k.c=wt[rt].cl;else for(Ct=wt[rt].pt.k.length,ft=0;ft<Ct;ft+=1)wt[rt].pt.k[ft].s&&(wt[rt].pt.k[ft].s[0].c=wt[rt].cl),wt[rt].pt.k[ft].e&&(wt[rt].pt.k[ft].e[0].c=wt[rt].cl)}g.ty===4&&_(g.shapes)}}return function(p){if(D(X,p.v)&&(R(p.layers),p.assets)){var g,U=p.assets.length;for(g=0;g<U;g+=1)p.assets[g].layers&&R(p.assets[g].layers)}}}();function Q(X){X.__complete||(ut(X),V(X),G(X),Z(X),ct(X),z(X.layers,X.assets),C(X.chars,X.assets),X.__complete=!0)}function gt(X){X.t.a.length===0&&"m"in X.t.p}var st={};return st.completeData=Q,st.checkColors=ut,st.checkChars=G,st.checkPathProperties=Z,st.checkShapes=ct,st.completeLayers=z,st}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(S){var b=S.getResponseHeader("content-type");return b&&S.responseType==="json"&&b.indexOf("json")!==-1||S.response&&pa(S.response)==="object"?S.response:S.response&&typeof S.response=="string"?JSON.parse(S.response):S.responseText?JSON.parse(S.responseText):null}function C(S,b,A,k){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(G){k&&k(G)}};try{V.open(["G","E","T"].join(""),S,!0)}catch{V.open(["G","E","T"].join(""),b+"/"+S,!0)}V.send()}return{load:C}}()),N.data.type==="loadAnimation")c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})});else if(N.data.type==="complete"){var M=N.data.animation;c.dataManager.completeData(M),c.postMessage({id:N.data.id,payload:M,status:"success"})}else N.data.type==="loadData"&&c.assetLoader.load(N.data.path,N.data.fullPath,function(z){c.postMessage({id:N.data.id,payload:z,status:"success"})},function(){c.postMessage({id:N.data.id,status:"error"})})}),a.onmessage=function(y){var N=y.data,P=N.id,M=r[P];r[P]=null,N.status==="success"?M.onComplete(N.payload):M.onError&&M.onError()})}function f(y,N){t+=1;var P="processId_"+t;return r[P]={onComplete:y,onError:N},P}function I(y,N,P){x();var M=f(N,P);a.postMessage({type:"loadAnimation",path:y,fullPath:window.location.origin+window.location.pathname,id:M})}function w(y,N,P){x();var M=f(N,P);a.postMessage({type:"loadData",path:y,fullPath:window.location.origin+window.location.pathname,id:M})}function B(y,N,P){x();var M=f(N,P);a.postMessage({type:"complete",animation:y,id:M})}return{loadAnimation:I,loadData:w,completeAnimation:B}}(),xf=function(){var t=function(){var C=L("canvas");C.width=1,C.height=1;var S=C.getContext("2d");return S.fillStyle="rgba(0,0,0,0)",S.fillRect(0,0,1,1),C}();function r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(C,S,b){var A="";if(C.e)A=C.p;else if(S){var k=C.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=S+k}else A=b,A+=C.u?C.u:"",A+=C.p;return A}function d(C){var S=0,b=setInterval((function(){var A=C.getBBox();(A.width||S>500)&&(this._imageLoaded(),clearInterval(b)),S+=1}).bind(this),50)}function c(C){var S=a(C,this.assetsPath,this.path),b=vt("image");Ht?this.testImageLoaded(b):b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=t,this._imageLoaded()}).bind(this),!1),b.setAttributeNS("http://www.w3.org/1999/xlink","href",S),this._elementHelper.append?this._elementHelper.append(b):this._elementHelper.appendChild(b);var A={img:b,assetData:C};return A}function u(C){var S=a(C,this.assetsPath,this.path),b=L("img");b.crossOrigin="anonymous",b.addEventListener("load",this._imageLoaded,!1),b.addEventListener("error",(function(){A.img=t,this._imageLoaded()}).bind(this),!1),b.src=S;var A={img:b,assetData:C};return A}function x(C){var S={assetData:C},b=a(C,this.assetsPath,this.path);return is.loadData(b,(function(A){S.img=A,this._footageLoaded()}).bind(this),(function(){S.img={},this._footageLoaded()}).bind(this)),S}function f(C,S){this.imagesLoadedCb=S;var b,A=C.length;for(b=0;b<A;b+=1)C[b].layers||(!C[b].t||C[b].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(C[b]))):C[b].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(C[b]))))}function I(C){this.path=C||""}function w(C){this.assetsPath=C||""}function B(C){for(var S=0,b=this.images.length;S<b;){if(this.images[S].assetData===C)return this.images[S].img;S+=1}return null}function y(){this.imagesLoadedCb=null,this.images.length=0}function N(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(C,S){C==="svg"?(this._elementHelper=S,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=d.bind(this),this.createFootageData=x.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return z.prototype={loadAssets:f,setAssetsPath:w,setPath:I,loadedImages:N,loadedFootages:P,destroy:y,getAsset:B,createImgData:u,createImageData:c,imageLoaded:r,footageLoaded:i,setCacheType:M},z}();function Sd(){}Sd.prototype={triggerEvent:function(r,i){if(this._cbs[r])for(var a=this._cbs[r],d=0;d<a.length;d+=1)a[d](i)},addEventListener:function(r,i){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(i),(function(){this.removeEventListener(r,i)}).bind(this)},removeEventListener:function(r,i){if(!i)this._cbs[r]=null;else if(this._cbs[r]){for(var a=0,d=this._cbs[r].length;a<d;)this._cbs[r][a]===i&&(this._cbs[r].splice(a,1),a-=1,d-=1),a+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Af=function(){function t(r){for(var i=r.split(`\r
2
+ `),a={},d,c=0,u=0;u<i.length;u+=1)d=i[u].split(":"),d.length===2&&(a[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return a}return function(r){for(var i=[],a=0;a<r.length;a+=1){var d=r[a],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[a].cm)}catch{try{c.payload=t(r[a].cm)}catch{c.payload={name:r[a].cm}}}i.push(c)}return i}}(),_f=function(){function t(r){this.compositions.push(r)}return function(){function r(i){for(var a=0,d=this.compositions.length;a<d;){if(this.compositions[a].data&&this.compositions[a].data.nm===i)return this.compositions[a].prepareFrame&&this.compositions[a].data.xt&&this.compositions[a].prepareFrame(this.currentFrame),this.compositions[a].compInterface;a+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=t,r}}(),os={},Sf=function(r,i){os[r]=i};function If(t){return os[t]}function kf(){if(os.canvas)return"canvas";for(var t in os)if(os[t])return t;return""}function ss(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ss=function(i){return typeof i}:ss=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ss(t)}var pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Te(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=yf(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=_f(),this.imagePreloader=new xf,this.audioController=ot(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ze("drawnFrame",0,0,0),this.expressionsPlugin=da()};$([Sd],pt),pt.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var r="svg";t.animType?r=t.animType:t.renderer&&(r=t.renderer);var i=If(r);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),is.loadAnimation(t.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(t){is.completeAnimation(t,this.configAnimation)},pt.prototype.setData=function(t,r){r&&ss(r)!=="object"&&(r=JSON.parse(r));var i={wrapper:t,animationData:r},a=t.attributes;i.path=a.getNamedItem("data-animation-path")?a.getNamedItem("data-animation-path").value:a.getNamedItem("data-bm-path")?a.getNamedItem("data-bm-path").value:a.getNamedItem("bm-path")?a.getNamedItem("bm-path").value:"",i.animType=a.getNamedItem("data-anim-type")?a.getNamedItem("data-anim-type").value:a.getNamedItem("data-bm-type")?a.getNamedItem("data-bm-type").value:a.getNamedItem("bm-type")?a.getNamedItem("bm-type").value:a.getNamedItem("data-bm-renderer")?a.getNamedItem("data-bm-renderer").value:a.getNamedItem("bm-renderer")?a.getNamedItem("bm-renderer").value:kf()||"canvas";var d=a.getNamedItem("data-anim-loop")?a.getNamedItem("data-anim-loop").value:a.getNamedItem("data-bm-loop")?a.getNamedItem("data-bm-loop").value:a.getNamedItem("bm-loop")?a.getNamedItem("bm-loop").value:"";d==="false"?i.loop=!1:d==="true"?i.loop=!0:d!==""&&(i.loop=parseInt(d,10));var c=a.getNamedItem("data-anim-autoplay")?a.getNamedItem("data-anim-autoplay").value:a.getNamedItem("data-bm-autoplay")?a.getNamedItem("data-bm-autoplay").value:a.getNamedItem("bm-autoplay")?a.getNamedItem("bm-autoplay").value:!0;i.autoplay=c!=="false",i.name=a.getNamedItem("data-name")?a.getNamedItem("data-name").value:a.getNamedItem("data-bm-name")?a.getNamedItem("data-bm-name").value:a.getNamedItem("bm-name")?a.getNamedItem("bm-name").value:"";var u=a.getNamedItem("data-anim-prerender")?a.getNamedItem("data-anim-prerender").value:a.getNamedItem("data-bm-prerender")?a.getNamedItem("data-bm-prerender").value:a.getNamedItem("bm-prerender")?a.getNamedItem("bm-prerender").value:"";u==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},pt.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var r=this.animationData.layers,i,a=r.length,d=t.layers,c,u=d.length;for(c=0;c<u;c+=1)for(i=0;i<a;){if(r[i].id===d[c].id){r[i]=d[c];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(a=t.assets.length,i=0;i<a;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,is.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(t){this.animationData=t;var r=da();r&&r.initExpressions(this),this.loadNextSegment()},pt.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=t.shift();this.timeCompleted=r.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,is.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=Af(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=da();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(t,r){var i=typeof t=="number"?t:void 0,a=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(i,a)},pt.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},pt.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},pt.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},pt.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.prototype.getMarkerData=function(t){for(var r,i=0;i<this.markers.length;i+=1)if(r=this.markers[i],r.payload&&r.payload.name===t)return r;return null},pt.prototype.goToAndStop=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(t,r,i){if(!(i&&this.name!==i)){var a=Number(t);if(isNaN(a)){var d=this.getMarkerData(t);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(a,r,i);this.play()}},pt.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+t*this.frameModifier,i=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(i=!0,r=this.totalFrames-1):r>=this.totalFrames?(this.playCount+=1,this.checkSegments(r%this.totalFrames)||(this.setCurrentRawFrameValue(r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(r):r<0?this.checkSegments(r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(i=!0,r=0)):this.setCurrentRawFrameValue(r),i&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},pt.prototype.adjustSegment=function(t,r){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},pt.prototype.setSegment=function(t,r){var i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>r&&(i=r-t)),this.firstFrame=t,this.totalFrames=r-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},pt.prototype.playSegments=function(t,r){if(r&&(this.segments.length=0),ss(t[0])==="object"){var i,a=t.length;for(i=0;i<a;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},pt.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},pt.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},pt.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},pt.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},pt.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},pt.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(t){this.loop=t},pt.prototype.setVolume=function(t,r){r&&this.name!==r||this.audioController.setVolume(t)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},pt.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.prototype.getAssetsPath=function(t){var r="";if(t.e)r=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),r=this.assetsPath+i}else r=this.path,r+=t.u?t.u:"",r+=t.p;return r},pt.prototype.getAssetData=function(t){for(var r=0,i=this.assets.length;r<i;){if(t===this.assets[r].id)return this.assets[r];r+=1}return null},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(t,r,i){try{var a=this.renderer.getElementByPath(t);a.updateDocumentData(r,i)}catch{}},pt.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new ze(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new bd(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new ca(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new yd(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new Ed(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ze(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new bd(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new ca(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new yd(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Ed(t,this))},pt.prototype.triggerRenderFrameError=function(t){var r=new vf(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(t){var r=new gf(t,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=function(){var t={},r=[],i=0,a=0,d=0,c=!0,u=!1;function x(_){for(var R=0,p=_.target;R<a;)r[R].animation===p&&(r.splice(R,1),R-=1,a-=1,p.isPaused||B()),R+=1}function f(_,R){if(!_)return null;for(var p=0;p<a;){if(r[p].elem===_&&r[p].elem!==null)return r[p].animation;p+=1}var g=new pt;return y(g,_),g.setData(_,R),g}function I(){var _,R=r.length,p=[];for(_=0;_<R;_+=1)p.push(r[_].animation);return p}function w(){d+=1,ut()}function B(){d-=1}function y(_,R){_.addEventListener("destroy",x),_.addEventListener("_active",w),_.addEventListener("_idle",B),r.push({elem:R,animation:_}),a+=1}function N(_){var R=new pt;return y(R,null),R.setParams(_),R}function P(_,R){var p;for(p=0;p<a;p+=1)r[p].animation.setSpeed(_,R)}function M(_,R){var p;for(p=0;p<a;p+=1)r[p].animation.setDirection(_,R)}function z(_){var R;for(R=0;R<a;R+=1)r[R].animation.play(_)}function C(_){var R=_-i,p;for(p=0;p<a;p+=1)r[p].animation.advanceTime(R);i=_,d&&!u?window.requestAnimationFrame(C):c=!0}function S(_){i=_,window.requestAnimationFrame(C)}function b(_){var R;for(R=0;R<a;R+=1)r[R].animation.pause(_)}function A(_,R,p){var g;for(g=0;g<a;g+=1)r[g].animation.goToAndStop(_,R,p)}function k(_){var R;for(R=0;R<a;R+=1)r[R].animation.stop(_)}function D(_){var R;for(R=0;R<a;R+=1)r[R].animation.togglePause(_)}function V(_){var R;for(R=a-1;R>=0;R-=1)r[R].animation.destroy(_)}function G(_,R,p){var g=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=g.length;for(U=0;U<F;U+=1)p&&g[U].setAttribute("data-bm-type",p),f(g[U],_);if(R&&F===0){p||(p="svg");var rt=document.getElementsByTagName("body")[0];rt.innerText="";var mt=L("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",p),rt.appendChild(mt),f(mt,_)}}function Z(){var _;for(_=0;_<a;_+=1)r[_].animation.resize()}function ut(){!u&&d&&c&&(window.requestAnimationFrame(S),c=!1)}function ct(){u=!0}function Q(){u=!1,ut()}function gt(_,R){var p;for(p=0;p<a;p+=1)r[p].animation.setVolume(_,R)}function st(_){var R;for(R=0;R<a;R+=1)r[R].animation.mute(_)}function X(_){var R;for(R=0;R<a;R+=1)r[R].animation.unmute(_)}return t.registerAnimation=f,t.loadAnimation=N,t.setSpeed=P,t.setDirection=M,t.play=z,t.pause=b,t.stop=k,t.togglePause=D,t.searchAnimations=G,t.resize=Z,t.goToAndStop=A,t.destroy=V,t.freeze=ct,t.unfreeze=Q,t.setVolume=gt,t.mute=st,t.unmute=X,t.getRegisteredAnimations=I,t}(),as=function(){var t={};t.getBezierEasing=i;var r={};function i(S,b,A,k,D){var V=D||("bez_"+S+"_"+b+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var G=new C([S,b,A,k]);return r[V]=G,G}var a=4,d=.001,c=1e-7,u=10,x=11,f=1/(x-1),I=typeof Float32Array=="function";function w(S,b){return 1-3*b+3*S}function B(S,b){return 3*b-6*S}function y(S){return 3*S}function N(S,b,A){return((w(b,A)*S+B(b,A))*S+y(b))*S}function P(S,b,A){return 3*w(b,A)*S*S+2*B(b,A)*S+y(b)}function M(S,b,A,k,D){var V,G,Z=0;do G=b+(A-b)/2,V=N(G,k,D)-S,V>0?A=G:b=G;while(Math.abs(V)>c&&++Z<u);return G}function z(S,b,A,k){for(var D=0;D<a;++D){var V=P(b,A,k);if(V===0)return b;var G=N(b,A,k)-S;b-=G/V}return b}function C(S){this._p=S,this._mSampleValues=I?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return C.prototype={get:function(b){var A=this._p[0],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?b:b===0?0:b===1?1:N(this._getTForX(b),k,V)},_precompute:function(){var b=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(b!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var b=this._p[0],A=this._p[2],k=0;k<x;++k)this._mSampleValues[k]=N(k*f,b,A)},_getTForX:function(b){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,G=1,Z=x-1;G!==Z&&D[G]<=b;++G)V+=f;--G;var ut=(b-D[G])/(D[G+1]-D[G]),ct=V+ut*f,Q=P(ct,A,k);return Q>=d?z(b,ct,A,k):Q===0?ct:M(b,V,V+f,A,k)}},t}(),Id=function(){function t(r){return r.concat(tt(r.length))}return{double:t}}(),ma=function(){return function(t,r,i){var a=0,d=t,c=tt(d),u={newElement:x,release:f};function x(){var I;return a?(a-=1,I=c[a]):I=r(),I}function f(I){a===d&&(c=Id.double(c),d*=2),i&&i(I),c[a]=I,a+=1}return u}}(),kd=function(){function t(){return{addedLength:0,percents:J("float32",rs()),lengths:J("float32",rs())}}return ma(8,t)}(),Cd=function(){function t(){return{lengths:[],totalLength:0}}function r(i){var a,d=i.lengths.length;for(a=0;a<d;a+=1)kd.release(i.lengths[a]);i.lengths.length=0}return ma(8,t,r)}();function Cf(){var t=Math;function r(y,N,P,M,z,C){var S=y*M+N*z+P*C-z*M-C*y-P*N;return S>-.001&&S<.001}function i(y,N,P,M,z,C,S,b,A){if(P===0&&C===0&&A===0)return r(y,N,M,z,S,b);var k=t.sqrt(t.pow(M-y,2)+t.pow(z-N,2)+t.pow(C-P,2)),D=t.sqrt(t.pow(S-y,2)+t.pow(b-N,2)+t.pow(A-P,2)),V=t.sqrt(t.pow(S-M,2)+t.pow(b-z,2)+t.pow(A-C,2)),G;return k>D?k>V?G=k-D-V:G=V-D-k:V>D?G=V-D-k:G=D-k-V,G>-1e-4&&G<1e-4}var a=function(){return function(y,N,P,M){var z=rs(),C,S,b,A,k,D=0,V,G=[],Z=[],ut=kd.newElement();for(b=P.length,C=0;C<z;C+=1){for(k=C/(z-1),V=0,S=0;S<b;S+=1)A=Dt(1-k,3)*y[S]+3*Dt(1-k,2)*k*P[S]+3*(1-k)*Dt(k,2)*M[S]+Dt(k,3)*N[S],G[S]=A,Z[S]!==null&&(V+=Dt(G[S]-Z[S],2)),Z[S]=G[S];V&&(V=Ee(V),D+=V),ut.percents[C]=k,ut.lengths[C]=D}return ut.addedLength=D,ut}}();function d(y){var N=Cd.newElement(),P=y.c,M=y.v,z=y.o,C=y.i,S,b=y._length,A=N.lengths,k=0;for(S=0;S<b-1;S+=1)A[S]=a(M[S],M[S+1],z[S],C[S+1]),k+=A[S].addedLength;return P&&b&&(A[S]=a(M[S],M[0],z[S],C[0]),k+=A[S].addedLength),N.totalLength=k,N}function c(y){this.segmentLength=0,this.points=new Array(y)}function u(y,N){this.partialLength=y,this.point=N}var x=function(){var y={};return function(N,P,M,z){var C=(N[0]+"_"+N[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!y[C]){var S=rs(),b,A,k,D,V,G=0,Z,ut,ct=null;N.length===2&&(N[0]!==P[0]||N[1]!==P[1])&&r(N[0],N[1],P[0],P[1],N[0]+M[0],N[1]+M[1])&&r(N[0],N[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(S=2);var Q=new c(S);for(k=M.length,b=0;b<S;b+=1){for(ut=tt(k),V=b/(S-1),Z=0,A=0;A<k;A+=1)D=Dt(1-V,3)*N[A]+3*Dt(1-V,2)*V*(N[A]+M[A])+3*(1-V)*Dt(V,2)*(P[A]+z[A])+Dt(V,3)*P[A],ut[A]=D,ct!==null&&(Z+=Dt(ut[A]-ct[A],2));Z=Ee(Z),G+=Z,Q.points[b]=new u(Z,ut),ct=ut}Q.segmentLength=G,y[C]=Q}return y[C]}}();function f(y,N){var P=N.percents,M=N.lengths,z=P.length,C=ee((z-1)*y),S=y*N.addedLength,b=0;if(C===z-1||C===0||S===M[C])return P[C];for(var A=M[C]>S?-1:1,k=!0;k;)if(M[C]<=S&&M[C+1]>S?(b=(S-M[C])/(M[C+1]-M[C]),k=!1):C+=A,C<0||C>=z-1){if(C===z-1)return P[C];k=!1}return P[C]+(P[C+1]-P[C])*b}function I(y,N,P,M,z,C){var S=f(z,C),b=1-S,A=t.round((b*b*b*y[0]+(S*b*b+b*S*b+b*b*S)*P[0]+(S*S*b+b*S*S+S*b*S)*M[0]+S*S*S*N[0])*1e3)/1e3,k=t.round((b*b*b*y[1]+(S*b*b+b*S*b+b*b*S)*P[1]+(S*S*b+b*S*S+S*b*S)*M[1]+S*S*S*N[1])*1e3)/1e3;return[A,k]}var w=J("float32",8);function B(y,N,P,M,z,C,S){z<0?z=0:z>1&&(z=1);var b=f(z,S);C=C>1?1:C;var A=f(C,S),k,D=y.length,V=1-b,G=1-A,Z=V*V*V,ut=b*V*V*3,ct=b*b*V*3,Q=b*b*b,gt=V*V*G,st=b*V*G+V*b*G+V*V*A,X=b*b*G+V*b*A+b*V*A,_=b*b*A,R=V*G*G,p=b*G*G+V*A*G+V*G*A,g=b*A*G+V*A*A+b*G*A,U=b*A*A,F=G*G*G,rt=A*G*G+G*A*G+G*G*A,mt=A*A*G+G*A*A+A*G*A,ft=A*A*A;for(k=0;k<D;k+=1)w[k*4]=t.round((Z*y[k]+ut*P[k]+ct*M[k]+Q*N[k])*1e3)/1e3,w[k*4+1]=t.round((gt*y[k]+st*P[k]+X*M[k]+_*N[k])*1e3)/1e3,w[k*4+2]=t.round((R*y[k]+p*P[k]+g*M[k]+U*N[k])*1e3)/1e3,w[k*4+3]=t.round((F*y[k]+rt*P[k]+mt*M[k]+ft*N[k])*1e3)/1e3;return w}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:I,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:i}}var mr=Cf(),bi=s,wd=Math.abs;function Ld(t,r){var i=this.offsetTime,a;this.propType==="multidimensional"&&(a=J("float32",this.pv.length));for(var d=r.lastIndex,c=d,u=this.keyframes.length-1,x=!0,f,I,w;x;){if(f=this.keyframes[c],I=this.keyframes[c+1],c===u-1&&t>=I.t-i){f.h&&(f=I),d=0;break}if(I.t-i>t){d=c;break}c<u-1?c+=1:(d=0,x=!1)}w=this.keyframesMetadata[c]||{};var B,y,N,P,M,z,C=I.t-i,S=f.t-i,b;if(f.to){w.bezierData||(w.bezierData=mr.buildBezierData(f.s,I.s||f.e,f.to,f.ti));var A=w.bezierData;if(t>=C||t<S){var k=t>=C?A.points.length-1:0;for(y=A.points[k].point.length,B=0;B<y;B+=1)a[B]=A.points[k].point[B]}else{w.__fnct?z=w.__fnct:(z=as.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y,f.n).get,w.__fnct=z),N=z((t-S)/(C-S));var D=A.segmentLength*N,V,G=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<t&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,P=A.points.length;x;){if(G+=A.points[M].partialLength,D===0||N===0||M===A.points.length-1){for(y=A.points[M].point.length,B=0;B<y;B+=1)a[B]=A.points[M].point[B];break}else if(D>=G&&D<G+A.points[M+1].partialLength){for(V=(D-G)/A.points[M+1].partialLength,y=A.points[M].point.length,B=0;B<y;B+=1)a[B]=A.points[M].point[B]+(A.points[M+1].point[B]-A.points[M].point[B])*V;break}M<P-1?M+=1:x=!1}r._lastPoint=M,r._lastAddedLength=G-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var Z,ut,ct,Q,gt;if(u=f.s.length,b=I.s||f.e,this.sh&&f.h!==1)if(t>=C)a[0]=b[0],a[1]=b[1],a[2]=b[2];else if(t<=S)a[0]=f.s[0],a[1]=f.s[1],a[2]=f.s[2];else{var st=Nd(f.s),X=Nd(b),_=(t-S)/(C-S);Lf(a,wf(st,X,_))}else for(c=0;c<u;c+=1)f.h!==1&&(t>=C?N=1:t<S?N=0:(f.o.x.constructor===Array?(w.__fnct||(w.__fnct=[]),w.__fnct[c]?z=w.__fnct[c]:(Z=f.o.x[c]===void 0?f.o.x[0]:f.o.x[c],ut=f.o.y[c]===void 0?f.o.y[0]:f.o.y[c],ct=f.i.x[c]===void 0?f.i.x[0]:f.i.x[c],Q=f.i.y[c]===void 0?f.i.y[0]:f.i.y[c],z=as.getBezierEasing(Z,ut,ct,Q).get,w.__fnct[c]=z)):w.__fnct?z=w.__fnct:(Z=f.o.x,ut=f.o.y,ct=f.i.x,Q=f.i.y,z=as.getBezierEasing(Z,ut,ct,Q).get,f.keyframeMetadata=z),N=z((t-S)/(C-S)))),b=I.s||f.e,gt=f.h===1?f.s[c]:f.s[c]+(b[c]-f.s[c])*N,this.propType==="multidimensional"?a[c]=gt:a=gt}return r.lastIndex=d,a}function wf(t,r,i){var a=[],d=t[0],c=t[1],u=t[2],x=t[3],f=r[0],I=r[1],w=r[2],B=r[3],y,N,P,M,z;return N=d*f+c*I+u*w+x*B,N<0&&(N=-N,f=-f,I=-I,w=-w,B=-B),1-N>1e-6?(y=Math.acos(N),P=Math.sin(y),M=Math.sin((1-i)*y)/P,z=Math.sin(i*y)/P):(M=1-i,z=i),a[0]=M*d+z*f,a[1]=M*c+z*I,a[2]=M*u+z*w,a[3]=M*x+z*B,a}function Lf(t,r){var i=r[0],a=r[1],d=r[2],c=r[3],u=Math.atan2(2*a*c-2*i*d,1-2*a*a-2*d*d),x=Math.asin(2*i*a+2*d*c),f=Math.atan2(2*i*c-2*a*d,1-2*i*i-2*d*d);t[0]=u/_t,t[1]=x/_t,t[2]=f/_t}function Nd(t){var r=t[0]*_t,i=t[1]*_t,a=t[2]*_t,d=Math.cos(r/2),c=Math.cos(i/2),u=Math.cos(a/2),x=Math.sin(r/2),f=Math.sin(i/2),I=Math.sin(a/2),w=d*c*u-x*f*I,B=x*f*u+d*c*I,y=x*c*u+d*f*I,N=d*f*u-x*c*I;return[B,y,N,w]}function Md(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==bi&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var a=this.interpolateValue(t,this._caching);this.pv=a}return this._caching.lastFrame=t,this.pv}function ua(t){var r;if(this.propType==="unidimensional")r=t*this.mult,wd(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var i=0,a=this.v.length;i<a;)r=t[i]*this.mult,wd(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=1}function fa(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,r=this.effectsSequence.length,i=this.kf?this.pv:this.data.k;for(t=0;t<r;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function va(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Nf(t,r,i,a){this.propType="unidimensional",this.mult=i||1,this.data=r,this.v=i?r.k*i:r.k,this.pv=r.k,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=fa,this.setVValue=ua,this.addEffect=va}function Mf(t,r,i,a){this.propType="multidimensional",this.mult=i||1,this.data=r,this._mdf=!1,this.elem=t,this.container=a,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=J("float32",c),this.pv=J("float32",c),this.vel=J("float32",c),d=0;d<c;d+=1)this.v[d]=r.k[d]*this.mult,this.pv[d]=r.k[d];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=fa,this.setVValue=ua,this.addEffect=va}function Rf(t,r,i,a){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:bi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.v=bi,this.pv=bi,this._isFirstFrame=!0,this.getValue=fa,this.setVValue=ua,this.interpolateValue=Ld,this.effectsSequence=[Md.bind(this)],this.addEffect=va}function Of(t,r,i,a){this.propType="multidimensional";var d,c=r.k.length,u,x,f,I;for(d=0;d<c-1;d+=1)r.k[d].to&&r.k[d].s&&r.k[d+1]&&r.k[d+1].s&&(u=r.k[d].s,x=r.k[d+1].s,f=r.k[d].to,I=r.k[d].ti,(u.length===2&&!(u[0]===x[0]&&u[1]===x[1])&&mr.pointOnLine2D(u[0],u[1],x[0],x[1],u[0]+f[0],u[1]+f[1])&&mr.pointOnLine2D(u[0],u[1],x[0],x[1],x[0]+I[0],x[1]+I[1])||u.length===3&&!(u[0]===x[0]&&u[1]===x[1]&&u[2]===x[2])&&mr.pointOnLine3D(u[0],u[1],u[2],x[0],x[1],x[2],u[0]+f[0],u[1]+f[1],u[2]+f[2])&&mr.pointOnLine3D(u[0],u[1],u[2],x[0],x[1],x[2],x[0]+I[0],x[1]+I[1],x[2]+I[2]))&&(r.k[d].to=null,r.k[d].ti=null),u[0]===x[0]&&u[1]===x[1]&&f[0]===0&&f[1]===0&&I[0]===0&&I[1]===0&&(u.length===2||u[2]===x[2]&&f[2]===0&&I[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Md.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=a,this.comp=t.comp,this.getValue=fa,this.setVValue=ua,this.interpolateValue=Ld,this.frameId=-1;var w=r.k[0].s.length;for(this.v=J("float32",w),this.pv=J("float32",w),d=0;d<w;d+=1)this.v[d]=bi,this.pv[d]=bi;this._caching={lastFrame:bi,lastIndex:0,value:J("float32",w)},this.addEffect=va}var et=function(){function t(i,a,d,c,u){a.sid&&(a=i.globalData.slotManager.getProp(a));var x;if(!a.k.length)x=new Nf(i,a,c,u);else if(typeof a.k[0]=="number")x=new Mf(i,a,c,u);else switch(d){case 0:x=new Rf(i,a,c,u);break;case 1:x=new Of(i,a,c,u);break;default:break}return x.effectsSequence.length&&u.addDynamicProperty(x),x}var r={getProp:t};return r}();function re(){}re.prototype={addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&(this.dynamicProperties.push(r),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(r){this.container=r,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var yi=function(){function t(){return J("float32",2)}return ma(8,t)}();function Ar(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}Ar.prototype.setPathData=function(t,r){this.c=t,this.setLength(r);for(var i=0;i<r;)this.v[i]=yi.newElement(),this.o[i]=yi.newElement(),this.i[i]=yi.newElement(),i+=1},Ar.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},Ar.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},Ar.prototype.setXYAt=function(t,r,i,a,d){var c;switch(this._length=Math.max(this._length,a+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[a]||c[a]&&!d)&&(c[a]=yi.newElement()),c[a][0]=t,c[a][1]=r},Ar.prototype.setTripleAt=function(t,r,i,a,d,c,u,x){this.setXYAt(t,r,"v",u,x),this.setXYAt(i,a,"o",u,x),this.setXYAt(d,c,"i",u,x)},Ar.prototype.reverse=function(){var t=new Ar;t.setPathData(this.c,this._length);var r=this.v,i=this.o,a=this.i,d=0;this.c&&(t.setTripleAt(r[0][0],r[0][1],a[0][0],a[0][1],i[0][0],i[0][1],0,!1),d=1);var c=this._length-1,u=this._length,x;for(x=d;x<u;x+=1)t.setTripleAt(r[c][0],r[c][1],a[c][0],a[c][1],i[c][0],i[c][1],x,!1),c-=1;return t},Ar.prototype.length=function(){return this._length};var ae=function(){function t(){return new Ar}function r(d){var c=d._length,u;for(u=0;u<c;u+=1)yi.release(d.v[u]),yi.release(d.i[u]),yi.release(d.o[u]),d.v[u]=null,d.i[u]=null,d.o[u]=null;d._length=0,d.c=!1}function i(d){var c=a.newElement(),u,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,u=0;u<x;u+=1)c.setTripleAt(d.v[u][0],d.v[u][1],d.o[u][0],d.o[u][1],d.i[u][0],d.i[u][1],u);return c}var a=ma(4,t,r);return a.clone=i,a}();function ll(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}ll.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ll.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)ae.release(this.shapes[t]);this._length=0};var co=function(){var t={newShapeCollection:d,release:c},r=0,i=4,a=tt(i);function d(){var u;return r?(r-=1,u=a[r]):u=new ll,u}function c(u){var x,f=u._length;for(x=0;x<f;x+=1)ae.release(u.shapes[x]);u._length=0,r===i&&(a=Id.double(a),i*=2),a[r]=u,r+=1}return t}(),ga=function(){var t=-999999;function r(C,S,b){var A=b.lastIndex,k,D,V,G,Z,ut,ct,Q,gt,st=this.keyframes;if(C<st[0].t-this.offsetTime)k=st[0].s[0],V=!0,A=0;else if(C>=st[st.length-1].t-this.offsetTime)k=st[st.length-1].s?st[st.length-1].s[0]:st[st.length-2].e[0],V=!0;else{for(var X=A,_=st.length-1,R=!0,p,g,U;R&&(p=st[X],g=st[X+1],!(g.t-this.offsetTime>C));)X<_-1?X+=1:R=!1;if(U=this.keyframesMetadata[X]||{},V=p.h===1,A=X,!V){if(C>=g.t-this.offsetTime)Q=1;else if(C<p.t-this.offsetTime)Q=0;else{var F;U.__fnct?F=U.__fnct:(F=as.getBezierEasing(p.o.x,p.o.y,p.i.x,p.i.y).get,U.__fnct=F),Q=F((C-(p.t-this.offsetTime))/(g.t-this.offsetTime-(p.t-this.offsetTime)))}D=g.s?g.s[0]:p.e[0]}k=p.s[0]}for(ut=S._length,ct=k.i[0].length,b.lastIndex=A,G=0;G<ut;G+=1)for(Z=0;Z<ct;Z+=1)gt=V?k.i[G][Z]:k.i[G][Z]+(D.i[G][Z]-k.i[G][Z])*Q,S.i[G][Z]=gt,gt=V?k.o[G][Z]:k.o[G][Z]+(D.o[G][Z]-k.o[G][Z])*Q,S.o[G][Z]=gt,gt=V?k.v[G][Z]:k.v[G][Z]+(D.v[G][Z]-k.v[G][Z])*Q,S.v[G][Z]=gt}function i(){var C=this.comp.renderedFrame-this.offsetTime,S=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==t&&(A<S&&C<S||A>b&&C>b)||(this._caching.lastIndex=A<C?this._caching.lastIndex:0,this.interpolateShape(C,this.pv,this._caching)),this._caching.lastFrame=C,this.pv}function a(){this.paths=this.localShapeCollection}function d(C,S){if(C._length!==S._length||C.c!==S.c)return!1;var b,A=C._length;for(b=0;b<A;b+=1)if(C.v[b][0]!==S.v[b][0]||C.v[b][1]!==S.v[b][1]||C.o[b][0]!==S.o[b][0]||C.o[b][1]!==S.o[b][1]||C.i[b][0]!==S.i[b][0]||C.i[b][1]!==S.i[b][1])return!1;return!0}function c(C){d(this.v,C)||(this.v=ae.clone(C),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function u(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var C;this.kf?C=this.pv:this.data.ks?C=this.data.ks.k:C=this.data.pt.k;var S,b=this.effectsSequence.length;for(S=0;S<b;S+=1)C=this.effectsSequence[S](C);this.setVValue(C),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(C,S,b){this.propType="shape",this.comp=C.comp,this.container=C,this.elem=C,this.data=S,this.k=!1,this.kf=!1,this._mdf=!1;var A=b===3?S.pt.k:S.ks.k;this.v=ae.clone(A),this.pv=ae.clone(this.v),this.localShapeCollection=co.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function f(C){this.effectsSequence.push(C),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=u,x.prototype.setVValue=c,x.prototype.addEffect=f;function I(C,S,b){this.propType="shape",this.comp=C.comp,this.elem=C,this.container=C,this.offsetTime=C.data.st,this.keyframes=b===3?S.pt.k:S.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=ae.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ae.clone(this.v),this.localShapeCollection=co.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=a,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}I.prototype.getValue=u,I.prototype.interpolateShape=r,I.prototype.setVValue=c,I.prototype.addEffect=f;var w=function(){var C=he;function S(b,A){this.v=ae.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=co.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=b,this.comp=b.comp,this.frameId=-1,this.initDynamicPropertyContainer(b),this.p=et.getProp(b,A.p,1,0,this),this.s=et.getProp(b,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return S.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,G=this.d!==3,Z=this.v;Z.v[0][0]=A,Z.v[0][1]=k-V,Z.v[1][0]=G?A+D:A-D,Z.v[1][1]=k,Z.v[2][0]=A,Z.v[2][1]=k+V,Z.v[3][0]=G?A-D:A+D,Z.v[3][1]=k,Z.i[0][0]=G?A-D*C:A+D*C,Z.i[0][1]=k-V,Z.i[1][0]=G?A+D:A-D,Z.i[1][1]=k-V*C,Z.i[2][0]=G?A+D*C:A-D*C,Z.i[2][1]=k+V,Z.i[3][0]=G?A-D:A+D,Z.i[3][1]=k+V*C,Z.o[0][0]=G?A+D*C:A-D*C,Z.o[0][1]=k-V,Z.o[1][0]=G?A+D:A-D,Z.o[1][1]=k+V*C,Z.o[2][0]=G?A-D*C:A+D*C,Z.o[2][1]=k+V,Z.o[3][0]=G?A-D:A+D,Z.o[3][1]=k-V*C}},$([re],S),S}(),B=function(){function C(S,b){this.v=ae.newElement(),this.v.setPathData(!0,0),this.elem=S,this.comp=S.comp,this.data=b,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),b.sy===1?(this.ir=et.getProp(S,b.ir,0,0,this),this.is=et.getProp(S,b.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=et.getProp(S,b.pt,0,0,this),this.p=et.getProp(S,b.p,1,0,this),this.r=et.getProp(S,b.r,0,_t,this),this.or=et.getProp(S,b.or,0,0,this),this.os=et.getProp(S,b.os,0,.01,this),this.localShapeCollection=co.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return C.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var b=Math.floor(this.pt.v)*2,A=Math.PI*2/b,k=!0,D=this.or.v,V=this.ir.v,G=this.os.v,Z=this.is.v,ut=2*Math.PI*D/(b*2),ct=2*Math.PI*V/(b*2),Q,gt,st,X,_=-Math.PI/2;_+=this.r.v;var R=this.data.d===3?-1:1;for(this.v._length=0,Q=0;Q<b;Q+=1){gt=k?D:V,st=k?G:Z,X=k?ut:ct;var p=gt*Math.cos(_),g=gt*Math.sin(_),U=p===0&&g===0?0:g/Math.sqrt(p*p+g*g),F=p===0&&g===0?0:-p/Math.sqrt(p*p+g*g);p+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(p,g,p-U*X*st*R,g-F*X*st*R,p+U*X*st*R,g+F*X*st*R,Q,!0),k=!k,_+=A*R}},convertPolygonToPath:function(){var b=Math.floor(this.pt.v),A=Math.PI*2/b,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(b*4),G,Z=-Math.PI*.5,ut=this.data.d===3?-1:1;for(Z+=this.r.v,this.v._length=0,G=0;G<b;G+=1){var ct=k*Math.cos(Z),Q=k*Math.sin(Z),gt=ct===0&&Q===0?0:Q/Math.sqrt(ct*ct+Q*Q),st=ct===0&&Q===0?0:-ct/Math.sqrt(ct*ct+Q*Q);ct+=+this.p.v[0],Q+=+this.p.v[1],this.v.setTripleAt(ct,Q,ct-gt*V*D*ut,Q-st*V*D*ut,ct+gt*V*D*ut,Q+st*V*D*ut,G,!0),Z+=A*ut}this.paths.length=0,this.paths[0]=this.v}},$([re],C),C}(),y=function(){function C(S,b){this.v=ae.newElement(),this.v.c=!0,this.localShapeCollection=co.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=S,this.comp=S.comp,this.frameId=-1,this.d=b.d,this.initDynamicPropertyContainer(S),this.p=et.getProp(S,b.p,1,0,this),this.s=et.getProp(S,b.s,1,0,this),this.r=et.getProp(S,b.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return C.prototype={convertRectToPath:function(){var b=this.p.v[0],A=this.p.v[1],k=this.s.v[0]/2,D=this.s.v[1]/2,V=Me(k,D,this.r.v),G=V*(1-he);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(b+k,A-D+V,b+k,A-D+V,b+k,A-D+G,0,!0),this.v.setTripleAt(b+k,A+D-V,b+k,A+D-G,b+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(b+k-V,A+D,b+k-V,A+D,b+k-G,A+D,2,!0),this.v.setTripleAt(b-k+V,A+D,b-k+G,A+D,b-k+V,A+D,3,!0),this.v.setTripleAt(b-k,A+D-V,b-k,A+D-V,b-k,A+D-G,4,!0),this.v.setTripleAt(b-k,A-D+V,b-k,A-D+G,b-k,A-D+V,5,!0),this.v.setTripleAt(b-k+V,A-D,b-k+V,A-D,b-k+G,A-D,6,!0),this.v.setTripleAt(b+k-V,A-D,b+k-G,A-D,b+k-V,A-D,7,!0)):(this.v.setTripleAt(b-k,A+D,b-k+G,A+D,b-k,A+D,2),this.v.setTripleAt(b-k,A-D,b-k,A-D+G,b-k,A-D,3))):(this.v.setTripleAt(b+k,A-D+V,b+k,A-D+G,b+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(b+k-V,A-D,b+k-V,A-D,b+k-G,A-D,1,!0),this.v.setTripleAt(b-k+V,A-D,b-k+G,A-D,b-k+V,A-D,2,!0),this.v.setTripleAt(b-k,A-D+V,b-k,A-D+V,b-k,A-D+G,3,!0),this.v.setTripleAt(b-k,A+D-V,b-k,A+D-G,b-k,A+D-V,4,!0),this.v.setTripleAt(b-k+V,A+D,b-k+V,A+D,b-k+G,A+D,5,!0),this.v.setTripleAt(b+k-V,A+D,b+k-G,A+D,b+k-V,A+D,6,!0),this.v.setTripleAt(b+k,A+D-V,b+k,A+D-V,b+k,A+D-G,7,!0)):(this.v.setTripleAt(b-k,A-D,b-k+G,A-D,b-k,A-D,1,!0),this.v.setTripleAt(b-k,A+D,b-k,A+D-G,b-k,A+D,2,!0),this.v.setTripleAt(b+k,A+D,b+k-G,A+D,b+k,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},$([re],C),C}();function N(C,S,b){var A;if(b===3||b===4){var k=b===3?S.pt:S.ks,D=k.k;D.length?A=new I(C,S,b):A=new x(C,S,b)}else b===5?A=new y(C,S):b===6?A=new w(C,S):b===7&&(A=new B(C,S));return A.k&&C.addDynamicProperty(A),A}function P(){return x}function M(){return I}var z={};return z.getShapeProp=N,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var ne=function(){var t=Math.cos,r=Math.sin,i=Math.tan,a=Math.round;function d(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function c(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(g,-U,0,0,U,g,0,0,0,0,1,0,0,0,0,1)}function u(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(1,0,0,0,0,g,-U,0,0,U,g,0,0,0,0,1)}function x(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(g,0,U,0,0,1,0,0,-U,0,g,0,0,0,0,1)}function f(p){if(p===0)return this;var g=t(p),U=r(p);return this._t(g,-U,0,0,U,g,0,0,0,0,1,0,0,0,0,1)}function I(p,g){return this._t(1,g,p,1,0,0)}function w(p,g){return this.shear(i(p),i(g))}function B(p,g){var U=t(g),F=r(g);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(p),1,0,0,0,0,1,0,0,0,0,1)._t(U,-F,0,0,F,U,0,0,0,0,1,0,0,0,0,1)}function y(p,g,U){return!U&&U!==0&&(U=1),p===1&&g===1&&U===1?this:this._t(p,0,0,0,0,g,0,0,0,0,U,0,0,0,0,1)}function N(p,g,U,F,rt,mt,ft,Ct,wt,Kt,Ae,fr,_e,ie,Re,Nt){return this.props[0]=p,this.props[1]=g,this.props[2]=U,this.props[3]=F,this.props[4]=rt,this.props[5]=mt,this.props[6]=ft,this.props[7]=Ct,this.props[8]=wt,this.props[9]=Kt,this.props[10]=Ae,this.props[11]=fr,this.props[12]=_e,this.props[13]=ie,this.props[14]=Re,this.props[15]=Nt,this}function P(p,g,U){return U=U||0,p!==0||g!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,p,g,U,1):this}function M(p,g,U,F,rt,mt,ft,Ct,wt,Kt,Ae,fr,_e,ie,Re,Nt){var nt=this.props;if(p===1&&g===0&&U===0&&F===0&&rt===0&&mt===1&&ft===0&&Ct===0&&wt===0&&Kt===0&&Ae===1&&fr===0)return nt[12]=nt[12]*p+nt[15]*_e,nt[13]=nt[13]*mt+nt[15]*ie,nt[14]=nt[14]*Ae+nt[15]*Re,nt[15]*=Nt,this._identityCalculated=!1,this;var Ir=nt[0],Jr=nt[1],kr=nt[2],vr=nt[3],Cr=nt[4],wr=nt[5],Se=nt[6],Qr=nt[7],ti=nt[8],ir=nt[9],ei=nt[10],or=nt[11],Ai=nt[12],Ia=nt[13],ka=nt[14],Ca=nt[15];return nt[0]=Ir*p+Jr*rt+kr*wt+vr*_e,nt[1]=Ir*g+Jr*mt+kr*Kt+vr*ie,nt[2]=Ir*U+Jr*ft+kr*Ae+vr*Re,nt[3]=Ir*F+Jr*Ct+kr*fr+vr*Nt,nt[4]=Cr*p+wr*rt+Se*wt+Qr*_e,nt[5]=Cr*g+wr*mt+Se*Kt+Qr*ie,nt[6]=Cr*U+wr*ft+Se*Ae+Qr*Re,nt[7]=Cr*F+wr*Ct+Se*fr+Qr*Nt,nt[8]=ti*p+ir*rt+ei*wt+or*_e,nt[9]=ti*g+ir*mt+ei*Kt+or*ie,nt[10]=ti*U+ir*ft+ei*Ae+or*Re,nt[11]=ti*F+ir*Ct+ei*fr+or*Nt,nt[12]=Ai*p+Ia*rt+ka*wt+Ca*_e,nt[13]=Ai*g+Ia*mt+ka*Kt+Ca*ie,nt[14]=Ai*U+Ia*ft+ka*Ae+Ca*Re,nt[15]=Ai*F+Ia*Ct+ka*fr+Ca*Nt,this._identityCalculated=!1,this}function z(p){var g=p.props;return this.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15])}function C(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function S(p){for(var g=0;g<16;){if(p.props[g]!==this.props[g])return!1;g+=1}return!0}function b(p){var g;for(g=0;g<16;g+=1)p.props[g]=this.props[g];return p}function A(p){var g;for(g=0;g<16;g+=1)this.props[g]=p[g]}function k(p,g,U){return{x:p*this.props[0]+g*this.props[4]+U*this.props[8]+this.props[12],y:p*this.props[1]+g*this.props[5]+U*this.props[9]+this.props[13],z:p*this.props[2]+g*this.props[6]+U*this.props[10]+this.props[14]}}function D(p,g,U){return p*this.props[0]+g*this.props[4]+U*this.props[8]+this.props[12]}function V(p,g,U){return p*this.props[1]+g*this.props[5]+U*this.props[9]+this.props[13]}function G(p,g,U){return p*this.props[2]+g*this.props[6]+U*this.props[10]+this.props[14]}function Z(){var p=this.props[0]*this.props[5]-this.props[1]*this.props[4],g=this.props[5]/p,U=-this.props[1]/p,F=-this.props[4]/p,rt=this.props[0]/p,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/p,ft=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/p,Ct=new ne;return Ct.props[0]=g,Ct.props[1]=U,Ct.props[4]=F,Ct.props[5]=rt,Ct.props[12]=mt,Ct.props[13]=ft,Ct}function ut(p){var g=this.getInverseMatrix();return g.applyToPointArray(p[0],p[1],p[2]||0)}function ct(p){var g,U=p.length,F=[];for(g=0;g<U;g+=1)F[g]=ut(p[g]);return F}function Q(p,g,U){var F=J("float32",6);if(this.isIdentity())F[0]=p[0],F[1]=p[1],F[2]=g[0],F[3]=g[1],F[4]=U[0],F[5]=U[1];else{var rt=this.props[0],mt=this.props[1],ft=this.props[4],Ct=this.props[5],wt=this.props[12],Kt=this.props[13];F[0]=p[0]*rt+p[1]*ft+wt,F[1]=p[0]*mt+p[1]*Ct+Kt,F[2]=g[0]*rt+g[1]*ft+wt,F[3]=g[0]*mt+g[1]*Ct+Kt,F[4]=U[0]*rt+U[1]*ft+wt,F[5]=U[0]*mt+U[1]*Ct+Kt}return F}function gt(p,g,U){var F;return this.isIdentity()?F=[p,g,U]:F=[p*this.props[0]+g*this.props[4]+U*this.props[8]+this.props[12],p*this.props[1]+g*this.props[5]+U*this.props[9]+this.props[13],p*this.props[2]+g*this.props[6]+U*this.props[10]+this.props[14]],F}function st(p,g){if(this.isIdentity())return p+","+g;var U=this.props;return Math.round((p*U[0]+g*U[4]+U[12])*100)/100+","+Math.round((p*U[1]+g*U[5]+U[13])*100)/100}function X(){for(var p=0,g=this.props,U="matrix3d(",F=1e4;p<16;)U+=a(g[p]*F)/F,U+=p===15?")":",",p+=1;return U}function _(p){var g=1e4;return p<1e-6&&p>0||p>-1e-6&&p<0?a(p*g)/g:p}function R(){var p=this.props,g=_(p[0]),U=_(p[1]),F=_(p[4]),rt=_(p[5]),mt=_(p[12]),ft=_(p[13]);return"matrix("+g+","+U+","+F+","+rt+","+mt+","+ft+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=u,this.rotateY=x,this.rotateZ=f,this.skew=w,this.skewFromAxis=B,this.shear=I,this.scale=y,this.setTransform=N,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=G,this.applyToPointArray=gt,this.applyToTriplePoints=Q,this.applyToPointStringified=st,this.toCSS=X,this.to2dCSS=R,this.clone=b,this.cloneFromProps=A,this.equals=S,this.inversePoints=ct,this.inversePoint=ut,this.getInverseMatrix=Z,this._t=this.transform,this.isIdentity=C,this._identity=!0,this._identityCalculated=!1,this.props=J("float32",16),this.reset()}}();function ba(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ba=function(i){return typeof i}:ba=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},ba(t)}var Lt={},ya="__[STANDALONE]__",Rd="__[ANIMATIONDATA]__",Od="";function Pf(t){m(t)}function Pd(){ya===!0?qt.searchAnimations(Rd,ya,Od):qt.searchAnimations()}function Df(t){bf(t)}function Ff(t){Tf(t)}function $f(t){return ya===!0&&(t.animationData=JSON.parse(Rd)),qt.loadAnimation(t)}function zf(t){if(typeof t=="string")switch(t){case"high":ha(200);break;default:case"medium":ha(50);break;case"low":ha(10);break}else!isNaN(t)&&t>1&&ha(t);rs()>=50?$e(!1):$e(!0)}function Vf(){return typeof navigator<"u"}function Bf(t,r){t==="expressions"&&Ef(r)}function Uf(t){switch(t){case"propertyFactory":return et;case"shapePropertyFactory":return ga;case"matrix":return ne;default:return null}}Lt.play=qt.play,Lt.pause=qt.pause,Lt.setLocationHref=Pf,Lt.togglePause=qt.togglePause,Lt.setSpeed=qt.setSpeed,Lt.setDirection=qt.setDirection,Lt.stop=qt.stop,Lt.searchAnimations=Pd,Lt.registerAnimation=qt.registerAnimation,Lt.loadAnimation=$f,Lt.setSubframeRendering=Df,Lt.resize=qt.resize,Lt.goToAndStop=qt.goToAndStop,Lt.destroy=qt.destroy,Lt.setQuality=zf,Lt.inBrowser=Vf,Lt.installPlugin=Bf,Lt.freeze=qt.freeze,Lt.unfreeze=qt.unfreeze,Lt.setVolume=qt.setVolume,Lt.mute=qt.mute,Lt.unmute=qt.unmute,Lt.getRegisteredAnimations=qt.getRegisteredAnimations,Lt.useWebWorker=n,Lt.setIDPrefix=Ff,Lt.__getFactory=Uf,Lt.version="5.12.2";function Gf(){document.readyState==="complete"&&(clearInterval(Wf),Pd())}function Hf(t){for(var r=Dd.split("&"),i=0;i<r.length;i+=1){var a=r[i].split("=");if(decodeURIComponent(a[0])==t)return decodeURIComponent(a[1])}return null}var Dd="";if(ya){var Fd=document.getElementsByTagName("script"),jf=Fd.length-1,$d=Fd[jf]||{src:""};Dd=$d.src?$d.src.replace(/^[^\?]+\??/,""):"",Od=Hf("renderer")}var Wf=setInterval(Gf,100);try{!((typeof Ms>"u"?"undefined":ba(Ms))==="object"&&typeof Ja<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Lt)}catch{}var Wr=function(){var t={},r={};t.registerModifier=i,t.getModifier=a;function i(d,c){r[d]||(r[d]=c)}function a(d,c,u){return new r[d](c,u)}return t}();function Ve(){}Ve.prototype.initModifierProperties=function(){},Ve.prototype.addShapeToModifier=function(){},Ve.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var r={shape:t.sh,data:t,localShapeCollection:co.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&t.setAsAnimated()}},Ve.prototype.init=function(t,r){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r),this.frameId=s,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ve.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([re],Ve);function rr(){}$([Ve],rr),rr.prototype.initModifierProperties=function(t,r){this.s=et.getProp(t,r.s,0,.01,this),this.e=et.getProp(t,r.e,0,.01,this),this.o=et.getProp(t,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},rr.prototype.addShapeToModifier=function(t){t.pathsData=[]},rr.prototype.calculateShapeEdges=function(t,r,i,a,d){var c=[];r<=1?c.push({s:t,e:r}):t>=1?c.push({s:t-1,e:r-1}):(c.push({s:t,e:1}),c.push({s:0,e:r-1}));var u=[],x,f=c.length,I;for(x=0;x<f;x+=1)if(I=c[x],!(I.e*d<a||I.s*d>a+i)){var w,B;I.s*d<=a?w=0:w=(I.s*d-a)/i,I.e*d>=a+i?B=1:B=(I.e*d-a)/i,u.push([w,B])}return u.length||u.push([0,0]),u},rr.prototype.releasePathsData=function(t){var r,i=t.length;for(r=0;r<i;r+=1)Cd.release(t[r]);return t.length=0,t},rr.prototype.processShapes=function(t){var r,i;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),this.s.v>1?r=1+a:this.s.v<0?r=0+a:r=this.s.v+a,this.e.v>1?i=1+a:this.e.v<0?i=0+a:i=this.e.v+a,r>i){var d=r;r=i,i=d}r=Math.round(r*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=r,this.eValue=i}else r=this.sValue,i=this.eValue;var c,u,x=this.shapes.length,f,I,w,B,y,N=0;if(i===r)for(u=0;u<x;u+=1)this.shapes[u].localShapeCollection.releaseShapes(),this.shapes[u].shape._mdf=!0,this.shapes[u].shape.paths=this.shapes[u].localShapeCollection,this._mdf&&(this.shapes[u].pathsData.length=0);else if(i===1&&r===0||i===0&&r===1){if(this._mdf)for(u=0;u<x;u+=1)this.shapes[u].pathsData.length=0,this.shapes[u].shape._mdf=!0}else{var P=[],M,z;for(u=0;u<x;u+=1)if(M=this.shapes[u],!M.shape._mdf&&!this._mdf&&!t&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,I=c._length,y=0,!M.shape._mdf&&M.pathsData.length)y=M.totalShapeLength;else{for(w=this.releasePathsData(M.pathsData),f=0;f<I;f+=1)B=mr.getSegmentsLength(c.shapes[f]),w.push(B),y+=B.totalLength;M.totalShapeLength=y,M.pathsData=w}N+=y,M.shape._mdf=!0}var C=r,S=i,b=0,A;for(u=x-1;u>=0;u-=1)if(M=this.shapes[u],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,i,M.totalShapeLength,b,N),b+=M.totalShapeLength):A=[[C,S]],I=A.length,f=0;f<I;f+=1){C=A[f][0],S=A[f][1],P.length=0,S<=1?P.push({s:M.totalShapeLength*C,e:M.totalShapeLength*S}):C>=1?P.push({s:M.totalShapeLength*(C-1),e:M.totalShapeLength*(S-1)}):(P.push({s:M.totalShapeLength*C,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(S-1)}));var k=this.addShapes(M,P[0]);if(P[0].s!==P[0].e){if(P.length>1){var D=M.shape.paths.shapes[M.shape.paths._length-1];if(D.c){var V=k.pop();this.addPaths(k,z),k=this.addShapes(M,P[1],V)}else this.addPaths(k,z),k=this.addShapes(M,P[1])}this.addPaths(k,z)}}M.shape.paths=z}}},rr.prototype.addPaths=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)r.addShape(t[i])},rr.prototype.addSegment=function(t,r,i,a,d,c,u){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(i[0],i[1],"i",c+1),u&&d.setXYAt(t[0],t[1],"v",c),d.setXYAt(a[0],a[1],"v",c+1)},rr.prototype.addSegmentFromArray=function(t,r,i,a){r.setXYAt(t[1],t[5],"o",i),r.setXYAt(t[2],t[6],"i",i+1),a&&r.setXYAt(t[0],t[4],"v",i),r.setXYAt(t[3],t[7],"v",i+1)},rr.prototype.addShapes=function(t,r,i){var a=t.pathsData,d=t.shape.paths.shapes,c,u=t.shape.paths._length,x,f,I=0,w,B,y,N,P=[],M,z=!0;for(i?(B=i._length,M=i._length):(i=ae.newElement(),B=0,M=0),P.push(i),c=0;c<u;c+=1){for(y=a[c].lengths,i.c=d[c].c,f=d[c].c?y.length:y.length+1,x=1;x<f;x+=1)if(w=y[x-1],I+w.addedLength<r.s)I+=w.addedLength,i.c=!1;else if(I>r.e){i.c=!1;break}else r.s<=I&&r.e>=I+w.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],i,B,z),z=!1):(N=mr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-I)/w.addedLength,(r.e-I)/w.addedLength,y[x-1]),this.addSegmentFromArray(N,i,B,z),z=!1,i.c=!1),I+=w.addedLength,B+=1;if(d[c].c&&y.length){if(w=y[x-1],I<=r.e){var C=y[x-1].addedLength;r.s<=I&&r.e>=I+C?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],i,B,z),z=!1):(N=mr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-I)/C,(r.e-I)/C,y[x-1]),this.addSegmentFromArray(N,i,B,z),z=!1,i.c=!1)}else i.c=!1;I+=w.addedLength,B+=1}if(i._length&&(i.setXYAt(i.v[M][0],i.v[M][1],"i",M),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),I>r.e)break;c<u-1&&(i=ae.newElement(),z=!0,P.push(i),B=0)}return P};function ns(){}$([Ve],ns),ns.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=et.getProp(t,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},ns.prototype.processPath=function(t,r){var i=r/100,a=[0,0],d=t._length,c=0;for(c=0;c<d;c+=1)a[0]+=t.v[c][0],a[1]+=t.v[c][1];a[0]/=d,a[1]/=d;var u=ae.newElement();u.c=t.c;var x,f,I,w,B,y;for(c=0;c<d;c+=1)x=t.v[c][0]+(a[0]-t.v[c][0])*i,f=t.v[c][1]+(a[1]-t.v[c][1])*i,I=t.o[c][0]+(a[0]-t.o[c][0])*-i,w=t.o[c][1]+(a[1]-t.o[c][1])*-i,B=t.i[c][0]+(a[0]-t.i[c][0])*-i,y=t.i[c][1]+(a[1]-t.i[c][1])*-i,u.setTripleAt(x,f,I,w,B,y,c);return u},ns.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.amount.v;if(u!==0){var x,f;for(i=0;i<a;i+=1){if(x=this.shapes[i],f=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!t))for(f.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)f.addShape(this.processPath(r[d],u));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var cl=function(){var t=[0,0];function r(f){var I=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||I,this.a&&f.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&f.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&f.skewFromAxis(-this.sk.v,this.sa.v),this.r?f.rotate(-this.r.v):f.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?f.translate(this.px.v,this.py.v,-this.pz.v):f.translate(this.px.v,this.py.v,0):f.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(f){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||f){var I;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var w,B;if(I=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(w=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/I,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/I,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(w=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/I,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/I,0)):(w=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/I,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){w=[],B=[];var y=this.px,N=this.py;y._caching.lastFrame+y.offsetTime<=y.keyframes[0].t?(w[0]=y.getValueAtTime((y.keyframes[0].t+.01)/I,0),w[1]=N.getValueAtTime((N.keyframes[0].t+.01)/I,0),B[0]=y.getValueAtTime(y.keyframes[0].t/I,0),B[1]=N.getValueAtTime(N.keyframes[0].t/I,0)):y._caching.lastFrame+y.offsetTime>=y.keyframes[y.keyframes.length-1].t?(w[0]=y.getValueAtTime(y.keyframes[y.keyframes.length-1].t/I,0),w[1]=N.getValueAtTime(N.keyframes[N.keyframes.length-1].t/I,0),B[0]=y.getValueAtTime((y.keyframes[y.keyframes.length-1].t-.01)/I,0),B[1]=N.getValueAtTime((N.keyframes[N.keyframes.length-1].t-.01)/I,0)):(w=[y.pv,N.pv],B[0]=y.getValueAtTime((y._caching.lastFrame+y.offsetTime-.01)/I,y.offsetTime),B[1]=N.getValueAtTime((N._caching.lastFrame+N.offsetTime-.01)/I,N.offsetTime))}else B=t,w=B;this.v.rotate(-Math.atan2(w[1]-B[1],w[0]-B[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function a(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function d(){}function c(f){this._addDynamicProperty(f),this.elem.addDynamicProperty(f),this._isDirty=!0}function u(f,I,w){if(this.elem=f,this.frameId=-1,this.propType="transform",this.data=I,this.v=new ne,this.pre=new ne,this.appliedTransformations=0,this.initDynamicPropertyContainer(w||f),I.p&&I.p.s?(this.px=et.getProp(f,I.p.x,0,0,this),this.py=et.getProp(f,I.p.y,0,0,this),I.p.z&&(this.pz=et.getProp(f,I.p.z,0,0,this))):this.p=et.getProp(f,I.p||{k:[0,0,0]},1,0,this),I.rx){if(this.rx=et.getProp(f,I.rx,0,_t,this),this.ry=et.getProp(f,I.ry,0,_t,this),this.rz=et.getProp(f,I.rz,0,_t,this),I.or.k[0].ti){var B,y=I.or.k.length;for(B=0;B<y;B+=1)I.or.k[B].to=null,I.or.k[B].ti=null}this.or=et.getProp(f,I.or,1,_t,this),this.or.sh=!0}else this.r=et.getProp(f,I.r||{k:0},0,_t,this);I.sk&&(this.sk=et.getProp(f,I.sk,0,_t,this),this.sa=et.getProp(f,I.sa,0,_t,this)),this.a=et.getProp(f,I.a||{k:[0,0,0]},1,0,this),this.s=et.getProp(f,I.s||{k:[100,100,100]},1,.01,this),I.o?this.o=et.getProp(f,I.o,0,.01,f):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}u.prototype={applyToMatrix:r,getValue:i,precalculateMatrix:a,autoOrient:d},$([re],u),u.prototype.addDynamicProperty=c,u.prototype._addDynamicProperty=re.prototype.addDynamicProperty;function x(f,I,w){return new u(f,I,w)}return{getTransformProperty:x}}();function ur(){}$([Ve],ur),ur.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.c=et.getProp(t,r.c,0,null,this),this.o=et.getProp(t,r.o,0,null,this),this.tr=cl.getTransformProperty(t,r.tr,this),this.so=et.getProp(t,r.tr.so,0,.01,this),this.eo=et.getProp(t,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ne,this.rMatrix=new ne,this.sMatrix=new ne,this.tMatrix=new ne,this.matrix=new ne},ur.prototype.applyTransforms=function(t,r,i,a,d,c){var u=c?-1:1,x=a.s.v[0]+(1-a.s.v[0])*(1-d),f=a.s.v[1]+(1-a.s.v[1])*(1-d);t.translate(a.p.v[0]*u*d,a.p.v[1]*u*d,a.p.v[2]),r.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),r.rotate(-a.r.v*u*d),r.translate(a.a.v[0],a.a.v[1],a.a.v[2]),i.translate(-a.a.v[0],-a.a.v[1],a.a.v[2]),i.scale(c?1/x:x,c?1/f:f),i.translate(a.a.v[0],a.a.v[1],a.a.v[2])},ur.prototype.init=function(t,r,i,a){for(this.elem=t,this.arr=r,this.pos=i,this.elemsData=a,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,r[i]);i>0;)i-=1,this._elements.unshift(r[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ur.prototype.resetElements=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._processed=!1,t[r].ty==="gr"&&this.resetElements(t[r].it)},ur.prototype.cloneElements=function(t){var r=JSON.parse(JSON.stringify(t));return this.resetElements(r),r},ur.prototype.changeGroupRender=function(t,r){var i,a=t.length;for(i=0;i<a;i+=1)t[i]._render=r,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,r)},ur.prototype.processShapes=function(t){var r,i,a,d,c,u=!1;if(this._mdf||t){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var f={it:this.cloneElements(this._elements),ty:"gr"};f.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,f),this._groups.splice(0,0,f),this._currentCopies+=1}this.elem.reloadShapes(),u=!0}c=0;var I;for(a=0;a<=this._groups.length-1;a+=1){if(I=c<x,this._groups[a]._render=I,this.changeGroupRender(this._groups[a].it,I),!I){var w=this.elemsData[a].it,B=w[w.length-1];B.transform.op.v!==0?(B.transform.op._mdf=!0,B.transform.op.v=0):B.transform.op._mdf=!1}c+=1}this._currentCopies=x;var y=this.o.v,N=y%1,P=y>0?Math.floor(y):Math.ceil(y),M=this.pMatrix.props,z=this.rMatrix.props,C=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var S=0;if(y>0){for(;S<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),S+=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,N,!1),S+=N)}else if(y<0){for(;S>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),S-=1;N&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-N,!0),S-=N)}a=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var b,A;c;){if(r=this.elemsData[a].it,i=r[r.length-1].transform.mProps.v.props,A=i.length,r[r.length-1].transform.mProps._mdf=!0,r[r.length-1].transform.op._mdf=!0,r[r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),S!==0){for((a!==0&&d===1||a!==this._currentCopies-1&&d===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(z[0],z[1],z[2],z[3],z[4],z[5],z[6],z[7],z[8],z[9],z[10],z[11],z[12],z[13],z[14],z[15]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),this.matrix.transform(M[0],M[1],M[2],M[3],M[4],M[5],M[6],M[7],M[8],M[9],M[10],M[11],M[12],M[13],M[14],M[15]),b=0;b<A;b+=1)i[b]=this.matrix.props[b];this.matrix.reset()}else for(this.matrix.reset(),b=0;b<A;b+=1)i[b]=this.matrix.props[b];S+=1,c-=1,a+=d}}else for(c=this._currentCopies,a=0,d=1;c;)r=this.elemsData[a].it,i=r[r.length-1].transform.mProps.v.props,r[r.length-1].transform.mProps._mdf=!1,r[r.length-1].transform.op._mdf=!1,c-=1,a+=d;return u},ur.prototype.addShape=function(){};function ls(){}$([Ve],ls),ls.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.rd=et.getProp(t,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ls.prototype.processPath=function(t,r){var i=ae.newElement();i.c=t.c;var a,d=t._length,c,u,x,f,I,w,B=0,y,N,P,M,z,C;for(a=0;a<d;a+=1)c=t.v[a],x=t.o[a],u=t.i[a],c[0]===x[0]&&c[1]===x[1]&&c[0]===u[0]&&c[1]===u[1]?(a===0||a===d-1)&&!t.c?(i.setTripleAt(c[0],c[1],x[0],x[1],u[0],u[1],B),B+=1):(a===0?f=t.v[d-1]:f=t.v[a-1],I=Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)),w=I?Math.min(I/2,r)/I:0,z=c[0]+(f[0]-c[0])*w,y=z,C=c[1]-(c[1]-f[1])*w,N=C,P=y-(y-c[0])*he,M=N-(N-c[1])*he,i.setTripleAt(y,N,P,M,z,C,B),B+=1,a===d-1?f=t.v[0]:f=t.v[a+1],I=Math.sqrt(Math.pow(c[0]-f[0],2)+Math.pow(c[1]-f[1],2)),w=I?Math.min(I/2,r)/I:0,P=c[0]+(f[0]-c[0])*w,y=P,M=c[1]+(f[1]-c[1])*w,N=M,z=y-(y-c[0])*he,C=N-(N-c[1])*he,i.setTripleAt(y,N,P,M,z,C,B),B+=1):(i.setTripleAt(t.v[a][0],t.v[a][1],t.o[a][0],t.o[a][1],t.i[a][0],t.i[a][1],B),B+=1);return i},ls.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.rd.v;if(u!==0){var x,f;for(i=0;i<a;i+=1){if(x=this.shapes[i],f=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!t))for(f.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)f.addShape(this.processPath(r[d],u));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Ea(t,r){return Math.abs(t-r)*1e5<=Math.min(Math.abs(t),Math.abs(r))}function dl(t){return Math.abs(t)<=1e-5}function zd(t,r,i){return t*(1-i)+r*i}function Yr(t,r,i){return[zd(t[0],r[0],i),zd(t[1],r[1],i)]}function Yf(t,r,i){if(t===0)return[];var a=r*r-4*t*i;if(a<0)return[];var d=-r/(2*t);if(a===0)return[d];var c=Math.sqrt(a)/(2*t);return[d-c,d+c]}function Vd(t,r,i,a){return[-t+3*r-3*i+a,3*t-6*r+3*i,-3*t+3*r,t]}function Bd(t){return new Vt(t,t,t,t,!1)}function Vt(t,r,i,a,d){d&&po(t,r)&&(r=Yr(t,a,1/3)),d&&po(i,a)&&(i=Yr(t,a,2/3));var c=Vd(t[0],r[0],i[0],a[0]),u=Vd(t[1],r[1],i[1],a[1]);this.a=[c[0],u[0]],this.b=[c[1],u[1]],this.c=[c[2],u[2]],this.d=[c[3],u[3]],this.points=[t,r,i,a]}Vt.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Vt.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Vt.prototype.tangentAngle=function(t){var r=this.derivative(t);return Math.atan2(r[1],r[0])},Vt.prototype.normalAngle=function(t){var r=this.derivative(t);return Math.atan2(r[0],r[1])},Vt.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(dl(t))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var a=Math.sqrt(i);return dl(a)?a>0&&a<1?[r]:[]:[r-a,r+a].filter(function(d){return d>0&&d<1})},Vt.prototype.split=function(t){if(t<=0)return[Bd(this.points[0]),this];if(t>=1)return[this,Bd(this.points[this.points.length-1])];var r=Yr(this.points[0],this.points[1],t),i=Yr(this.points[1],this.points[2],t),a=Yr(this.points[2],this.points[3],t),d=Yr(r,i,t),c=Yr(i,a,t),u=Yr(d,c,t);return[new Vt(this.points[0],r,d,u,!0),new Vt(u,c,a,this.points[3],!0)]};function Ud(t,r){var i=t.points[0][r],a=t.points[t.points.length-1][r];if(i>a){var d=a;a=i,i=d}for(var c=Yf(3*t.a[r],2*t.b[r],t.c[r]),u=0;u<c.length;u+=1)if(c[u]>0&&c[u]<1){var x=t.point(c[u])[r];x<i?i=x:x>a&&(a=x)}return{min:i,max:a}}Vt.prototype.bounds=function(){return{x:Ud(this,0),y:Ud(this,1)}},Vt.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function Ta(t,r,i){var a=t.boundingBox();return{cx:a.cx,cy:a.cy,width:a.width,height:a.height,bez:t,t:(r+i)/2,t1:r,t2:i}}function Gd(t){var r=t.bez.split(.5);return[Ta(r[0],t.t1,t.t),Ta(r[1],t.t,t.t2)]}function qf(t,r){return Math.abs(t.cx-r.cx)*2<t.width+r.width&&Math.abs(t.cy-r.cy)*2<t.height+r.height}function cs(t,r,i,a,d,c){if(qf(t,r)){if(i>=c||t.width<=a&&t.height<=a&&r.width<=a&&r.height<=a){d.push([t.t,r.t]);return}var u=Gd(t),x=Gd(r);cs(u[0],x[0],i+1,a,d,c),cs(u[0],x[1],i+1,a,d,c),cs(u[1],x[0],i+1,a,d,c),cs(u[1],x[1],i+1,a,d,c)}}Vt.prototype.intersections=function(t,r,i){r===void 0&&(r=2),i===void 0&&(i=7);var a=[];return cs(Ta(this,0,1),Ta(t,0,1),0,r,a,i),a},Vt.shapeSegment=function(t,r){var i=(r+1)%t.length();return new Vt(t.v[r],t.o[r],t.i[i],t.v[i],!0)},Vt.shapeSegmentInverted=function(t,r){var i=(r+1)%t.length();return new Vt(t.v[i],t.i[i],t.o[r],t.v[r],!0)};function hl(t,r){return[t[1]*r[2]-t[2]*r[1],t[2]*r[0]-t[0]*r[2],t[0]*r[1]-t[1]*r[0]]}function xa(t,r,i,a){var d=[t[0],t[1],1],c=[r[0],r[1],1],u=[i[0],i[1],1],x=[a[0],a[1],1],f=hl(hl(d,c),hl(u,x));return dl(f[2])?null:[f[0]/f[2],f[1]/f[2]]}function ho(t,r,i){return[t[0]+Math.cos(r)*i,t[1]-Math.sin(r)*i]}function pl(t,r){return Math.hypot(t[0]-r[0],t[1]-r[1])}function po(t,r){return Ea(t[0],r[0])&&Ea(t[1],r[1])}function ds(){}$([Ve],ds),ds.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amplitude=et.getProp(t,r.s,0,null,this),this.frequency=et.getProp(t,r.r,0,null,this),this.pointsType=et.getProp(t,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Hd(t,r,i,a,d,c,u){var x=i-Math.PI/2,f=i+Math.PI/2,I=r[0]+Math.cos(i)*a*d,w=r[1]-Math.sin(i)*a*d;t.setTripleAt(I,w,I+Math.cos(x)*c,w-Math.sin(x)*c,I+Math.cos(f)*u,w-Math.sin(f)*u,t.length())}function Kf(t,r){var i=[r[0]-t[0],r[1]-t[1]],a=-Math.PI*.5,d=[Math.cos(a)*i[0]-Math.sin(a)*i[1],Math.sin(a)*i[0]+Math.cos(a)*i[1]];return d}function Xf(t,r){var i=r===0?t.length()-1:r-1,a=(r+1)%t.length(),d=t.v[i],c=t.v[a],u=Kf(d,c);return Math.atan2(0,1)-Math.atan2(u[1],u[0])}function jd(t,r,i,a,d,c,u){var x=Xf(r,i),f=r.v[i%r._length],I=r.v[i===0?r._length-1:i-1],w=r.v[(i+1)%r._length],B=c===2?Math.sqrt(Math.pow(f[0]-I[0],2)+Math.pow(f[1]-I[1],2)):0,y=c===2?Math.sqrt(Math.pow(f[0]-w[0],2)+Math.pow(f[1]-w[1],2)):0;Hd(t,r.v[i%r._length],x,u,a,y/((d+1)*2),B/((d+1)*2),c)}function Zf(t,r,i,a,d,c){for(var u=0;u<a;u+=1){var x=(u+1)/(a+1),f=d===2?Math.sqrt(Math.pow(r.points[3][0]-r.points[0][0],2)+Math.pow(r.points[3][1]-r.points[0][1],2)):0,I=r.normalAngle(x),w=r.point(x);Hd(t,w,I,c,i,f/((a+1)*2),f/((a+1)*2),d),c=-c}return c}ds.prototype.processPath=function(t,r,i,a){var d=t._length,c=ae.newElement();if(c.c=t.c,t.c||(d-=1),d===0)return c;var u=-1,x=Vt.shapeSegment(t,0);jd(c,t,0,r,i,a,u);for(var f=0;f<d;f+=1)u=Zf(c,x,r,i,a,-u),f===d-1&&!t.c?x=null:x=Vt.shapeSegment(t,(f+1)%d),jd(c,t,f+1,r,i,a,u);return c},ds.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),f=this.pointsType.v;if(u!==0){var I,w;for(i=0;i<a;i+=1){if(I=this.shapes[i],w=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!t))for(w.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)w.addShape(this.processPath(r[d],u,x,f));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ml(t,r,i){var a=Math.atan2(r[0]-t[0],r[1]-t[1]);return[ho(t,a,i),ho(r,a,i)]}function mo(t,r){var i,a,d,c,u,x,f;f=ml(t.points[0],t.points[1],r),i=f[0],a=f[1],f=ml(t.points[1],t.points[2],r),d=f[0],c=f[1],f=ml(t.points[2],t.points[3],r),u=f[0],x=f[1];var I=xa(i,a,d,c);I===null&&(I=a);var w=xa(u,x,d,c);return w===null&&(w=u),new Vt(i,I,w,x)}function Wd(t,r,i,a,d){var c=r.points[3],u=i.points[0];if(a===3||po(c,u))return c;if(a===2){var x=-r.tangentAngle(1),f=-i.tangentAngle(0)+Math.PI,I=xa(c,ho(c,x+Math.PI/2,100),u,ho(u,x+Math.PI/2,100)),w=I?pl(I,c):pl(c,u)/2,B=ho(c,x,2*w*he);return t.setXYAt(B[0],B[1],"o",t.length()-1),B=ho(u,f,2*w*he),t.setTripleAt(u[0],u[1],u[0],u[1],B[0],B[1],t.length()),u}var y=po(c,r.points[2])?r.points[0]:r.points[2],N=po(u,i.points[1])?i.points[3]:i.points[1],P=xa(y,c,u,N);return P&&pl(P,c)<d?(t.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],t.length()),P):c}function Yd(t,r){var i=t.intersections(r);return i.length&&Ea(i[0][0],1)&&i.shift(),i.length?i[0]:null}function qd(t,r){var i=t.slice(),a=r.slice(),d=Yd(t[t.length-1],r[0]);return d&&(i[t.length-1]=t[t.length-1].split(d[0])[0],a[0]=r[0].split(d[1])[1]),t.length>1&&r.length>1&&(d=Yd(t[0],r[r.length-1]),d)?[[t[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[i,a]}function Jf(t){for(var r,i=1;i<t.length;i+=1)r=qd(t[i-1],t[i]),t[i-1]=r[0],t[i]=r[1];return t.length>1&&(r=qd(t[t.length-1],t[0]),t[t.length-1]=r[0],t[0]=r[1]),t}function Kd(t,r){var i=t.inflectionPoints(),a,d,c,u;if(i.length===0)return[mo(t,r)];if(i.length===1||Ea(i[1],1))return c=t.split(i[0]),a=c[0],d=c[1],[mo(a,r),mo(d,r)];c=t.split(i[0]),a=c[0];var x=(i[1]-i[0])/(1-i[0]);return c=c[1].split(x),u=c[0],d=c[1],[mo(a,r),mo(u,r),mo(d,r)]}function hs(){}$([Ve],hs),hs.prototype.initModifierProperties=function(t,r){this.getValue=this.processKeys,this.amount=et.getProp(t,r.a,0,null,this),this.miterLimit=et.getProp(t,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},hs.prototype.processPath=function(t,r,i,a){var d=ae.newElement();d.c=t.c;var c=t.length();t.c||(c-=1);var u,x,f,I=[];for(u=0;u<c;u+=1)f=Vt.shapeSegment(t,u),I.push(Kd(f,r));if(!t.c)for(u=c-1;u>=0;u-=1)f=Vt.shapeSegmentInverted(t,u),I.push(Kd(f,r));I=Jf(I);var w=null,B=null;for(u=0;u<I.length;u+=1){var y=I[u];for(B&&(w=Wd(d,B,y[0],i,a)),B=y[y.length-1],x=0;x<y.length;x+=1)f=y[x],w&&po(f.points[0],w)?d.setXYAt(f.points[1][0],f.points[1][1],"o",d.length()-1):d.setTripleAt(f.points[0][0],f.points[0][1],f.points[1][0],f.points[1][1],f.points[0][0],f.points[0][1],d.length()),d.setTripleAt(f.points[3][0],f.points[3][1],f.points[3][0],f.points[3][1],f.points[2][0],f.points[2][1],d.length()),w=f.points[3]}return I.length&&Wd(d,B,I[0][0],i,a),d},hs.prototype.processShapes=function(t){var r,i,a=this.shapes.length,d,c,u=this.amount.v,x=this.miterLimit.v,f=this.lineJoin;if(u!==0){var I,w;for(i=0;i<a;i+=1){if(I=this.shapes[i],w=I.localShapeCollection,!(!I.shape._mdf&&!this._mdf&&!t))for(w.releaseShapes(),I.shape._mdf=!0,r=I.shape.paths.shapes,c=I.shape.paths._length,d=0;d<c;d+=1)w.addShape(this.processPath(r[d],u,f,x));I.shape.paths=I.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Xd(t){for(var r=t.fStyle?t.fStyle.split(" "):[],i="normal",a="normal",d=r.length,c,u=0;u<d;u+=1)switch(c=r[u].toLowerCase(),c){case"italic":a="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break;default:break}return{style:a,weight:t.fWeight||i}}var Ei=function(){var t=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var a=127988,d=917631,c=917601,u=917626,x=65039,f=8205,I=127462,w=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function y(_){var R=_.split(","),p,g=R.length,U=[];for(p=0;p<g;p+=1)R[p]!=="sans-serif"&&R[p]!=="monospace"&&U.push(R[p]);return U.join(",")}function N(_,R){var p=L("span");p.setAttribute("aria-hidden",!0),p.style.fontFamily=R;var g=L("span");g.innerText="giItT1WQy@!-/#",p.style.position="absolute",p.style.left="-10000px",p.style.top="-10000px",p.style.fontSize="300px",p.style.fontVariant="normal",p.style.fontStyle="normal",p.style.fontWeight="normal",p.style.letterSpacing="0",p.appendChild(g),document.body.appendChild(p);var U=g.offsetWidth;return g.style.fontFamily=y(_)+", "+R,{node:g,w:U,parent:p}}function P(){var _,R=this.fonts.length,p,g,U=R;for(_=0;_<R;_+=1)this.fonts[_].loaded?U-=1:this.fonts[_].fOrigin==="n"||this.fonts[_].origin===0?this.fonts[_].loaded=!0:(p=this.fonts[_].monoCase.node,g=this.fonts[_].monoCase.w,p.offsetWidth!==g?(U-=1,this.fonts[_].loaded=!0):(p=this.fonts[_].sansCase.node,g=this.fonts[_].sansCase.w,p.offsetWidth!==g&&(U-=1,this.fonts[_].loaded=!0)),this.fonts[_].loaded&&(this.fonts[_].sansCase.parent.parentNode.removeChild(this.fonts[_].sansCase.parent),this.fonts[_].monoCase.parent.parentNode.removeChild(this.fonts[_].monoCase.parent)));U!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(_,R){var p=document.body&&R?"svg":"canvas",g,U=Xd(_);if(p==="svg"){var F=vt("text");F.style.fontSize="100px",F.setAttribute("font-family",_.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",_.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",_.fClass)):F.style.fontFamily=_.fFamily,R.appendChild(F),g=F}else{var rt=new OffscreenCanvas(500,500).getContext("2d");rt.font=U.style+" "+U.weight+" 100px "+_.fFamily,g=rt}function mt(ft){return p==="svg"?(g.textContent=ft,g.getComputedTextLength()):g.measureText(ft).width}return{measureText:mt}}function z(_,R){if(!_){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=_.list;return}if(!document.body){this.isLoaded=!0,_.list.forEach(function(Ae){Ae.helper=M(Ae),Ae.cache={}}),this.fonts=_.list;return}var p=_.list,g,U=p.length,F=U;for(g=0;g<U;g+=1){var rt=!0,mt,ft;if(p[g].loaded=!1,p[g].monoCase=N(p[g].fFamily,"monospace"),p[g].sansCase=N(p[g].fFamily,"sans-serif"),!p[g].fPath)p[g].loaded=!0,F-=1;else if(p[g].fOrigin==="p"||p[g].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+p[g].fFamily+'"], style[f-origin="3"][f-family="'+p[g].fFamily+'"]'),mt.length>0&&(rt=!1),rt){var Ct=L("style");Ct.setAttribute("f-forigin",p[g].fOrigin),Ct.setAttribute("f-origin",p[g].origin),Ct.setAttribute("f-family",p[g].fFamily),Ct.type="text/css",Ct.innerText="@font-face {font-family: "+p[g].fFamily+"; font-style: normal; src: url('"+p[g].fPath+"');}",R.appendChild(Ct)}}else if(p[g].fOrigin==="g"||p[g].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ft=0;ft<mt.length;ft+=1)mt[ft].href.indexOf(p[g].fPath)!==-1&&(rt=!1);if(rt){var wt=L("link");wt.setAttribute("f-forigin",p[g].fOrigin),wt.setAttribute("f-origin",p[g].origin),wt.type="text/css",wt.rel="stylesheet",wt.href=p[g].fPath,document.body.appendChild(wt)}}else if(p[g].fOrigin==="t"||p[g].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ft=0;ft<mt.length;ft+=1)p[g].fPath===mt[ft].src&&(rt=!1);if(rt){var Kt=L("link");Kt.setAttribute("f-forigin",p[g].fOrigin),Kt.setAttribute("f-origin",p[g].origin),Kt.setAttribute("rel","stylesheet"),Kt.setAttribute("href",p[g].fPath),R.appendChild(Kt)}}p[g].helper=M(p[g],R),p[g].cache={},this.fonts.push(p[g])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function C(_){if(_){this.chars||(this.chars=[]);var R,p=_.length,g,U=this.chars.length,F;for(R=0;R<p;R+=1){for(g=0,F=!1;g<U;)this.chars[g].style===_[R].style&&this.chars[g].fFamily===_[R].fFamily&&this.chars[g].ch===_[R].ch&&(F=!0),g+=1;F||(this.chars.push(_[R]),U+=1)}}}function S(_,R,p){for(var g=0,U=this.chars.length;g<U;){if(this.chars[g].ch===_&&this.chars[g].style===R&&this.chars[g].fFamily===p)return this.chars[g];g+=1}return(typeof _=="string"&&_.charCodeAt(0)!==13||!_)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",_,R,p)),r}function b(_,R,p){var g=this.getFontByName(R),U=_;if(!g.cache[U]){var F=g.helper;if(_===" "){var rt=F.measureText("|"+_+"|"),mt=F.measureText("||");g.cache[U]=(rt-mt)/100}else g.cache[U]=F.measureText(_)/100}return g.cache[U]*p}function A(_){for(var R=0,p=this.fonts.length;R<p;){if(this.fonts[R].fName===_)return this.fonts[R];R+=1}return this.fonts[0]}function k(_){var R=0,p=_.charCodeAt(0);if(p>=55296&&p<=56319){var g=_.charCodeAt(1);g>=56320&&g<=57343&&(R=(p-55296)*1024+g-56320+65536)}return R}function D(_,R){var p=_.toString(16)+R.toString(16);return B.indexOf(p)!==-1}function V(_){return _===f}function G(_){return _===x}function Z(_){var R=k(_);return R>=I&&R<=w}function ut(_){return Z(_.substr(0,2))&&Z(_.substr(2,2))}function ct(_){return i.indexOf(_)!==-1}function Q(_,R){var p=k(_.substr(R,2));if(p!==a)return!1;var g=0;for(R+=2;g<5;){if(p=k(_.substr(R,2)),p<c||p>u)return!1;g+=1,R+=2}return k(_.substr(R,2))===d}function gt(){this.isLoaded=!0}var st=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)};st.isModifier=D,st.isZeroWidthJoiner=V,st.isFlagEmoji=ut,st.isRegionalCode=Z,st.isCombinedCharacter=ct,st.isRegionalFlag=Q,st.isVariationSelector=G,st.BLACK_FLAG_CODE_POINT=a;var X={addChars:C,addFonts:z,getCharData:S,getFontByName:A,measureText:b,checkLoadedFonts:P,setIsLoaded:gt};return st.prototype=X,st}();function Zd(t){this.animationData=t}Zd.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function Qf(t){return new Zd(t)}function Aa(){}Aa.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(r){this.renderableComponents.indexOf(r)===-1&&this.renderableComponents.push(r)},removeRenderableComponent:function(r){this.renderableComponents.indexOf(r)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(r),1)},prepareRenderableFrame:function(r){this.checkLayerLimits(r)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(r){this.data.ip-this.data.st<=r&&this.data.op-this.data.st>r?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var r,i=this.renderableComponents.length;for(r=0;r<i;r+=1)this.renderableComponents[r].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var ul=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return t[r]||""}}();function tv(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function ev(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function rv(t,r,i){this.p=et.getProp(r,t.v,1,0,i)}function iv(t,r,i){this.p=et.getProp(r,t.v,1,0,i)}function ov(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function sv(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function av(t,r,i){this.p=et.getProp(r,t.v,0,0,i)}function nv(){this.p={}}function Jd(t,r){var i=t.ef||[];this.effectElements=[];var a,d=i.length,c;for(a=0;a<d;a+=1)c=new ps(i[a],r),this.effectElements.push(c)}function ps(t,r){this.init(t,r)}$([re],ps),ps.prototype.getValue=ps.prototype.iterateDynamicProperties,ps.prototype.init=function(t,r){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(r);var i,a=this.data.ef.length,d,c=this.data.ef;for(i=0;i<a;i+=1){switch(d=null,c[i].ty){case 0:d=new tv(c[i],r,this);break;case 1:d=new ev(c[i],r,this);break;case 2:d=new rv(c[i],r,this);break;case 3:d=new iv(c[i],r,this);break;case 4:case 7:d=new av(c[i],r,this);break;case 10:d=new ov(c[i],r,this);break;case 11:d=new sv(c[i],r,this);break;case 5:d=new Jd(c[i],r,this);break;default:d=new nv(c[i],r,this);break}d&&this.effectElements.push(d)}};function qr(){}qr.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,i=this.data.masksProperties.length;r<i;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=_d();if(r){var i=r("layer"),a=r("effects"),d=r("shape"),c=r("text"),u=r("comp");this.layerInterface=i(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=a.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=u(this):this.data.ty===4?(this.layerInterface.shapeInterface=d(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=c(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var r=ul(this.data.bm),i=this.baseElement||this.layerElement;i.style["mix-blend-mode"]=r},initBaseData:function(r,i,a){this.globalData=i,this.comp=a,this.data=r,this.layerId=Te(),this.data.sr||(this.data.sr=1),this.effectsManager=new Jd(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Kr(){}Kr.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,i){var a,d=this.dynamicProperties.length;for(a=0;a<d;a+=1)(i||this._isParent&&this.dynamicProperties[a].propType==="transform")&&(this.dynamicProperties[a].getValue(),this.dynamicProperties[a]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function Xr(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(t,r,i)}Xr.prototype.prepareFrame=function(){},$([Aa,qr,Kr],Xr),Xr.prototype.getBaseElement=function(){return null},Xr.prototype.renderFrame=function(){},Xr.prototype.destroy=function(){},Xr.prototype.initExpressions=function(){var t=_d();if(t){var r=t("footage");this.layerInterface=r(this)}},Xr.prototype.getFootageData=function(){return this.footageData};function xe(t,r,i){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(t.refId),this.initBaseData(t,r,i),this._isPlaying=!1,this._canPlay=!1;var a=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(a),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?et.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=et.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}xe.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},$([Aa,qr,Kr],xe),xe.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},xe.prototype.show=function(){},xe.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},xe.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},xe.prototype.resume=function(){this._canPlay=!0},xe.prototype.setRate=function(t){this.audio.rate(t)},xe.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},xe.prototype.getBaseElement=function(){return null},xe.prototype.destroy=function(){},xe.prototype.sourceRectAtTime=function(){},xe.prototype.initExpressions=function(){};function le(){}le.prototype.checkLayers=function(t){var r,i=this.layers.length,a;for(this.completeLayers=!0,r=i-1;r>=0;r-=1)this.elements[r]||(a=this.layers[r],a.ip-a.st<=t-this.layers[r].st&&a.op-a.st>t-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},le.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},le.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},le.prototype.createAudio=function(t){return new xe(t,this.globalData,this)},le.prototype.createFootage=function(t){return new Xr(t,this.globalData,this)},le.prototype.buildAllItems=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.buildItem(t);this.checkPendingElements()},le.prototype.includeLayers=function(t){this.completeLayers=!1;var r,i=t.length,a,d=this.layers.length;for(r=0;r<i;r+=1)for(a=0;a<d;){if(this.layers[a].id===t[r].id){this.layers[a]=t[r];break}a+=1}},le.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},le.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},le.prototype.buildElementParenting=function(t,r,i){for(var a=this.elements,d=this.layers,c=0,u=d.length;c<u;)d[c].ind==r&&(!a[c]||a[c]===!0?(this.buildItem(c),this.addPendingElement(t)):(i.push(a[c]),a[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(t,d[c].parent,i):t.setHierarchy(i))),c+=1},le.prototype.addPendingElement=function(t){this.pendingElements.push(t)},le.prototype.searchExtraCompositions=function(t){var r,i=t.length;for(r=0;r<i;r+=1)if(t[r].xt){var a=this.createComp(t[r]);a.initExpressions(),this.globalData.projectInterface.registerComposition(a)}},le.prototype.getElementById=function(t){var r,i=this.elements.length;for(r=0;r<i;r+=1)if(this.elements[r].data.ind===t)return this.elements[r];return null},le.prototype.getElementByPath=function(t){var r=t.shift(),i;if(typeof r=="number")i=this.elements[r];else{var a,d=this.elements.length;for(a=0;a<d;a+=1)if(this.elements[a].data.nm===r){i=this.elements[a];break}}return t.length===0?i:i.getElementByPath(t)},le.prototype.setupGlobalData=function(t,r){this.globalData.fontManager=new Ei,this.globalData.slotManager=Qf(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var lv={TRANSFORM_EFFECT:"transformEFfect"};function uo(){}uo.prototype={initTransform:function(){var r=new ne;this.finalTransform={mProp:this.data.ks?cl.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:r,localMat:r,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var r,i=this.finalTransform.mat,a=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;a<d;){if(this.hierarchy[a].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}a+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,i.cloneFromProps(r),a=0;a<d;a+=1)i.multiply(this.hierarchy[a].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var r=0,i=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<i;)this.localTransforms[r]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[r]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),r+=1;if(this.finalTransform._localMatMdf){var a=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(a),r=1;r<i;r+=1){var d=this.localTransforms[r].matrix;a.multiply(d)}a.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<i;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(lv.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new ne;var i=0,a=r.length;for(i=0;i<a;i+=1)this.localTransforms.push(r[i])}}},globalToLocal:function(r){var i=[];i.push(this.finalTransform);for(var a=!0,d=this.comp;a;)d.finalTransform?(d.data.hasMask&&i.splice(0,0,d.finalTransform),d=d.comp):a=!1;var c,u=i.length,x;for(c=0;c<u;c+=1)x=i[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new ne};function Ti(t,r,i){this.data=t,this.element=r,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var a=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(c),this.solidPath="";var u,x=this.masksProperties,f=0,I=[],w,B,y=Te(),N,P,M,z,C="clipPath",S="clip-path";for(d=0;d<c;d+=1)if((x[d].mode!=="a"&&x[d].mode!=="n"||x[d].inv||x[d].o.k!==100||x[d].o.x)&&(C="mask",S="mask"),(x[d].mode==="s"||x[d].mode==="i")&&f===0?(N=vt("rect"),N.setAttribute("fill","#ffffff"),N.setAttribute("width",this.element.comp.data.w||0),N.setAttribute("height",this.element.comp.data.h||0),I.push(N)):N=null,u=vt("path"),x[d].mode==="n")this.viewData[d]={op:et.getProp(this.element,x[d].o,0,.01,this.element),prop:ga.getShapeProp(this.element,x[d],3),elem:u,lastPath:""},a.appendChild(u);else{f+=1,u.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),u.setAttribute("clip-rule","nonzero");var b;if(x[d].x.k!==0?(C="mask",S="mask",z=et.getProp(this.element,x[d].x,0,null,this.element),b=Te(),P=vt("filter"),P.setAttribute("id",b),M=vt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),a.appendChild(P),u.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:u,x:z,expan:M,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},x[d].mode==="i"){B=I.length;var A=vt("g");for(w=0;w<B;w+=1)A.appendChild(I[w]);var k=vt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",y+"_"+f),k.appendChild(u),a.appendChild(k),A.setAttribute("mask","url("+T()+"#"+y+"_"+f+")"),I.length=0,I.push(A)}else I.push(u);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:u,lastPath:"",op:et.getProp(this.element,x[d].o,0,.01,this.element),prop:ga.getShapeProp(this.element,x[d],3),invRect:N},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=vt(C),c=I.length,d=0;d<c;d+=1)this.maskElement.appendChild(I[d]);f>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(S,"url("+T()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ti.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Ti.prototype.renderFrame=function(t){var r=this.element.finalTransform.mat,i,a=this.masksProperties.length;for(i=0;i<a;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var d=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+T()+"#"+this.storedData[i].filterId+")")),d.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},Ti.prototype.getMaskelement=function(){return this.maskElement},Ti.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},Ti.prototype.drawPath=function(t,r,i){var a=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[d][0]+","+r.i[d][1]+" "+r.v[d][0]+","+r.v[d][1];if(r.c&&c>1&&(a+=" C"+r.o[d-1][0]+","+r.o[d-1][1]+" "+r.i[0][0]+","+r.i[0][1]+" "+r.v[0][0]+","+r.v[0][1]),i.lastPath!==a){var u="";i.elem&&(r.c&&(u=t.inv?this.solidPath+a:a),i.elem.setAttribute("d",u)),i.lastPath=a}},Ti.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var ms=function(){var t={};t.createFilter=r,t.createAlphaToLuminanceFilter=i;function r(a,d){var c=vt("filter");return c.setAttribute("id",a),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function i(){var a=vt("feColorMatrix");return a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),a}return t}(),Qd=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),_a={},th="filter_result_";function fl(t){var r,i="SourceGraphic",a=t.data.ef?t.data.ef.length:0,d=Te(),c=ms.createFilter(d,!0),u=0;this.filters=[];var x;for(r=0;r<a;r+=1){x=null;var f=t.data.ef[r].ty;if(_a[f]){var I=_a[f].effect;x=new I(c,t.effectsManager.effectElements[r],t,th+u,i),i=th+u,_a[f].countsAsEffect&&(u+=1)}x&&this.filters.push(x)}u&&(t.globalData.defs.appendChild(c),t.layerElement.setAttribute("filter","url("+T()+"#"+d+")")),this.filters.length&&t.addRenderableComponent(this)}fl.prototype.renderFrame=function(t){var r,i=this.filters.length;for(r=0;r<i;r+=1)this.filters[r].renderFrame(t)},fl.prototype.getEffects=function(t){var r,i=this.filters.length,a=[];for(r=0;r<i;r+=1)this.filters[r].type===t&&a.push(this.filters[r]);return a};function Qy(t,r,i){_a[t]={effect:r,countsAsEffect:i}}function us(){}us.prototype={initRendererElement:function(){this.layerElement=vt("g")},createContainerElements:function(){this.matteElement=vt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var i=vt("g");i.setAttribute("id",this.layerId),i.appendChild(this.layerElement),r=i,this.globalData.defs.appendChild(i)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),r=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var a=vt("clipPath"),d=vt("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var c=Te();if(a.setAttribute("id",c),a.appendChild(d),this.globalData.defs.appendChild(a),this.checkMasks()){var u=vt("g");u.setAttribute("clip-path","url("+T()+"#"+c+")"),u.appendChild(this.layerElement),this.transformedElement=u,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+T()+"#"+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 Ti(this.data,this,this.globalData),this.renderableEffectsManager=new fl(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var i=this.layerId+"_"+r,a,d,c,u;if(r===1||r===3){var x=vt("mask");x.setAttribute("id",i),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=vt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Qd.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),a=Te(),d=ms.createFilter(a),this.globalData.defs.appendChild(d),d.appendChild(ms.createAlphaToLuminanceFilter()),u=vt("g"),u.appendChild(c),x.appendChild(u),u.setAttribute("filter","url("+T()+"#"+a+")"))}else if(r===2){var f=vt("mask");f.setAttribute("id",i),f.setAttribute("mask-type","alpha");var I=vt("g");f.appendChild(I),a=Te(),d=ms.createFilter(a);var w=vt("feComponentTransfer");w.setAttribute("in","SourceGraphic"),d.appendChild(w);var B=vt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),w.appendChild(B),this.globalData.defs.appendChild(d);var y=vt("rect");y.setAttribute("width",this.comp.data.w),y.setAttribute("height",this.comp.data.h),y.setAttribute("x","0"),y.setAttribute("y","0"),y.setAttribute("fill","#ffffff"),y.setAttribute("opacity","0"),I.setAttribute("filter","url("+T()+"#"+a+")"),I.appendChild(y),c=vt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),I.appendChild(c),Qd.maskType||(f.setAttribute("mask-type","luminance"),d.appendChild(ms.createAlphaToLuminanceFilter()),u=vt("g"),I.appendChild(y),u.appendChild(this.layerElement),I.appendChild(u)),this.globalData.defs.appendChild(f)}this.matteMasks[r]=i}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+T()+"#"+r+")")}};function fo(){}fo.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(r){this.hierarchy=r},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function fs(){}(function(){var t={initElement:function(i,a,d){this.initFrame(),this.initBaseData(i,a,d),this.initTransform(i,a,d),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var i=this.baseElement||this.layerElement;i.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var i=this.baseElement||this.layerElement;i.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(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};$([Aa,K(t)],fs)})();function vs(t,r,i){this.assetData=r.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(t,r,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}$([qr,uo,us,fo,Kr,fs],vs),vs.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=vt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},vs.prototype.sourceRectAtTime=function(){return this.sourceRect};function cv(t,r){this.elem=t,this.pos=r}function eh(){}eh.prototype={addShapeToModifiers:function(r){var i,a=this.shapeModifiers.length;for(i=0;i<a;i+=1)this.shapeModifiers[i].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var i=0,a=this.shapeModifiers.length;i<a;)if(this.shapeModifiers[i].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,i=this.shapes.length;for(r=0;r<i;r+=1)this.shapes[r].sh.reset();i=this.shapeModifiers.length;var a;for(r=i-1;r>=0&&(a=this.shapeModifiers[r].processShapes(this._isFirstFrame),!a);r-=1);}},searchProcessedElement:function(r){for(var i=this.processedElements,a=0,d=i.length;a<d;){if(i[a].elem===r)return i[a].pos;a+=1}return 0},addProcessedElement:function(r,i){for(var a=this.processedElements,d=a.length;d;)if(d-=1,a[d].elem===r){a[d].pos=i;return}a.push(new cv(r,i))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var rh={1:"butt",2:"round",3:"square"},ih={1:"miter",2:"round",3:"bevel"};function oh(t,r,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=r,this._isAnimated=!!i.k;for(var a=0,d=t.length;a<d;){if(t[a].mProps.dynamicProperties.length){this._isAnimated=!0;break}a+=1}}oh.prototype.setAsAnimated=function(){this._isAnimated=!0};function sh(t,r){this.data=t,this.type=t.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=t.hd===!0,this.pElem=vt("path"),this.msElem=null}sh.prototype.reset=function(){this.d="",this._mdf=!1};function Sa(t,r,i,a){this.elem=t,this.frameId=-1,this.dataProps=tt(r.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=J("float32",r.length?r.length-1:0),this.dashoffset=J("float32",1),this.initDynamicPropertyContainer(a);var d,c=r.length||0,u;for(d=0;d<c;d+=1)u=et.getProp(t,r[d].v,0,0,this),this.k=u.k||this.k,this.dataProps[d]={n:r[d].n,p:u};this.k||this.getValue(!0),this._isAnimated=this.k}Sa.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var r=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<i;r+=1)this.dataProps[r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[r].p.v:this.dashArray[r]=this.dataProps[r].p.v:this.dashoffset[0]=this.dataProps[r].p.v}},$([re],Sa);function ah(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=et.getProp(t,r.o,0,.01,this),this.w=et.getProp(t,r.w,0,null,this),this.d=new Sa(t,r.d||{},"svg",this),this.c=et.getProp(t,r.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}$([re],ah);function nh(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=et.getProp(t,r.o,0,.01,this),this.c=et.getProp(t,r.c,1,255,this),this.style=i}$([re],nh);function lh(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}$([re],lh);function gs(t,r,i){this.data=r,this.c=J("uint8c",r.p*4);var a=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=J("float32",a),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=a,this.initDynamicPropertyContainer(i),this.prop=et.getProp(t,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}gs.prototype.comparePoints=function(t,r){for(var i=0,a=this.o.length/2,d;i<a;){if(d=Math.abs(t[i*4]-t[r*4+i*2]),d>.01)return!1;i+=1}return!0},gs.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,r=this.data.k.k.length;t<r;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},gs.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var r,i=this.data.p*4,a,d;for(r=0;r<i;r+=1)a=r%4===0?100:255,d=Math.round(this.prop.v[r]*a),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,r=this.data.p*4;r<i;r+=1)a=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!t);this._mdf=!t}},$([re],gs);function vo(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,r,i)}vo.prototype.initGradientData=function(t,r,i){this.o=et.getProp(t,r.o,0,.01,this),this.s=et.getProp(t,r.s,1,null,this),this.e=et.getProp(t,r.e,1,null,this),this.h=et.getProp(t,r.h||{k:0},0,.01,this),this.a=et.getProp(t,r.a||{k:0},0,_t,this),this.g=new gs(t,r.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,r),this.setGradientOpacity(r,i),this._isAnimated=!!this._isAnimated},vo.prototype.setGradientData=function(t,r){var i=Te(),a=vt(r.t===1?"linearGradient":"radialGradient");a.setAttribute("id",i),a.setAttribute("spreadMethod","pad"),a.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,u,x;for(x=r.g.p*4,u=0;u<x;u+=4)c=vt("stop"),a.appendChild(c),d.push(c);t.setAttribute(r.ty==="gf"?"fill":"stroke","url("+T()+"#"+i+")"),this.gf=a,this.cst=d},vo.prototype.setGradientOpacity=function(t,r){if(this.g._hasOpacity&&!this.g._collapsable){var i,a,d,c=vt("mask"),u=vt("path");c.appendChild(u);var x=Te(),f=Te();c.setAttribute("id",f);var I=vt(t.t===1?"linearGradient":"radialGradient");I.setAttribute("id",x),I.setAttribute("spreadMethod","pad"),I.setAttribute("gradientUnits","userSpaceOnUse"),d=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var w=this.stops;for(a=t.g.p*4;a<d;a+=2)i=vt("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),I.appendChild(i),w.push(i);u.setAttribute(t.ty==="gf"?"fill":"stroke","url("+T()+"#"+x+")"),t.ty==="gs"&&(u.setAttribute("stroke-linecap",rh[t.lc||2]),u.setAttribute("stroke-linejoin",ih[t.lj||2]),t.lj===1&&u.setAttribute("stroke-miterlimit",t.ml)),this.of=I,this.ms=c,this.ost=w,this.maskId=f,r.msElem=u}},$([re],vo);function ch(t,r,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=et.getProp(t,r.w,0,null,this),this.d=new Sa(t,r.d||{},"svg",this),this.initGradientData(t,r,i),this._isAnimated=!!this._isAnimated}$([vo,re],ch);function dv(){this.it=[],this.prevViewData=[],this.gr=vt("g")}function hv(t,r,i){this.transform={mProps:t,op:r,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var dh=function(r,i,a,d){if(i===0)return"";var c=r.o,u=r.i,x=r.v,f,I=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(f=1;f<i;f+=1)I+=" C"+d.applyToPointStringified(c[f-1][0],c[f-1][1])+" "+d.applyToPointStringified(u[f][0],u[f][1])+" "+d.applyToPointStringified(x[f][0],x[f][1]);return a&&i&&(I+=" C"+d.applyToPointStringified(c[f-1][0],c[f-1][1])+" "+d.applyToPointStringified(u[0][0],u[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),I+="z"),I},pv=function(){var t=new ne,r=new ne,i={createRenderFunction:a};function a(B){switch(B.ty){case"fl":return x;case"gf":return I;case"gs":return f;case"st":return w;case"sh":case"el":case"rc":case"sr":return u;case"tr":return d;case"no":return c;default:return null}}function d(B,y,N){(N||y.transform.op._mdf)&&y.transform.container.setAttribute("opacity",y.transform.op.v),(N||y.transform.mProps._mdf)&&y.transform.container.setAttribute("transform",y.transform.mProps.v.to2dCSS())}function c(){}function u(B,y,N){var P,M,z,C,S,b,A=y.styles.length,k=y.lvl,D,V,G,Z;for(b=0;b<A;b+=1){if(C=y.sh._mdf||N,y.styles[b].lvl<k){for(V=r.reset(),G=k-y.styles[b].lvl,Z=y.transformers.length-1;!C&&G>0;)C=y.transformers[Z].mProps._mdf||C,G-=1,Z-=1;if(C)for(G=k-y.styles[b].lvl,Z=y.transformers.length-1;G>0;)V.multiply(y.transformers[Z].mProps.v),G-=1,Z-=1}else V=t;if(D=y.sh.paths,M=D._length,C){for(z="",P=0;P<M;P+=1)S=D.shapes[P],S&&S._length&&(z+=dh(S,S._length,S.c,V));y.caches[b]=z}else z=y.caches[b];y.styles[b].d+=B.hd===!0?"":z,y.styles[b]._mdf=C||y.styles[b]._mdf}}function x(B,y,N){var P=y.style;(y.c._mdf||N)&&P.pElem.setAttribute("fill","rgb("+ee(y.c.v[0])+","+ee(y.c.v[1])+","+ee(y.c.v[2])+")"),(y.o._mdf||N)&&P.pElem.setAttribute("fill-opacity",y.o.v)}function f(B,y,N){I(B,y,N),w(B,y,N)}function I(B,y,N){var P=y.gf,M=y.g._hasOpacity,z=y.s.v,C=y.e.v;if(y.o._mdf||N){var S=B.ty==="gf"?"fill-opacity":"stroke-opacity";y.style.pElem.setAttribute(S,y.o.v)}if(y.s._mdf||N){var b=B.t===1?"x1":"cx",A=b==="x1"?"y1":"cy";P.setAttribute(b,z[0]),P.setAttribute(A,z[1]),M&&!y.g._collapsable&&(y.of.setAttribute(b,z[0]),y.of.setAttribute(A,z[1]))}var k,D,V,G;if(y.g._cmdf||N){k=y.cst;var Z=y.g.c;for(V=k.length,D=0;D<V;D+=1)G=k[D],G.setAttribute("offset",Z[D*4]+"%"),G.setAttribute("stop-color","rgb("+Z[D*4+1]+","+Z[D*4+2]+","+Z[D*4+3]+")")}if(M&&(y.g._omdf||N)){var ut=y.g.o;for(y.g._collapsable?k=y.cst:k=y.ost,V=k.length,D=0;D<V;D+=1)G=k[D],y.g._collapsable||G.setAttribute("offset",ut[D*2]+"%"),G.setAttribute("stop-opacity",ut[D*2+1])}if(B.t===1)(y.e._mdf||N)&&(P.setAttribute("x2",C[0]),P.setAttribute("y2",C[1]),M&&!y.g._collapsable&&(y.of.setAttribute("x2",C[0]),y.of.setAttribute("y2",C[1])));else{var ct;if((y.s._mdf||y.e._mdf||N)&&(ct=Math.sqrt(Math.pow(z[0]-C[0],2)+Math.pow(z[1]-C[1],2)),P.setAttribute("r",ct),M&&!y.g._collapsable&&y.of.setAttribute("r",ct)),y.e._mdf||y.h._mdf||y.a._mdf||N){ct||(ct=Math.sqrt(Math.pow(z[0]-C[0],2)+Math.pow(z[1]-C[1],2)));var Q=Math.atan2(C[1]-z[1],C[0]-z[0]),gt=y.h.v;gt>=1?gt=.99:gt<=-1&&(gt=-.99);var st=ct*gt,X=Math.cos(Q+y.a.v)*st+z[0],_=Math.sin(Q+y.a.v)*st+z[1];P.setAttribute("fx",X),P.setAttribute("fy",_),M&&!y.g._collapsable&&(y.of.setAttribute("fx",X),y.of.setAttribute("fy",_))}}}function w(B,y,N){var P=y.style,M=y.d;M&&(M._mdf||N)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),y.c&&(y.c._mdf||N)&&P.pElem.setAttribute("stroke","rgb("+ee(y.c.v[0])+","+ee(y.c.v[1])+","+ee(y.c.v[2])+")"),(y.o._mdf||N)&&P.pElem.setAttribute("stroke-opacity",y.o.v),(y.w._mdf||N)&&(P.pElem.setAttribute("stroke-width",y.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",y.w.v))}return i}();function jt(t,r,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,r,i),this.prevViewData=[]}$([qr,uo,us,eh,fo,Kr,fs],jt),jt.prototype.initSecondaryElement=function(){},jt.prototype.identityMatrix=new ne,jt.prototype.buildExpressionInterface=function(){},jt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},jt.prototype.filterUniqueShapes=function(){var t,r=this.shapes.length,i,a,d=this.stylesList.length,c,u=[],x=!1;for(a=0;a<d;a+=1){for(c=this.stylesList[a],x=!1,u.length=0,t=0;t<r;t+=1)i=this.shapes[t],i.styles.indexOf(c)!==-1&&(u.push(i),x=i._isAnimated||x);u.length>1&&x&&this.setShapesAsAnimated(u)}},jt.prototype.setShapesAsAnimated=function(t){var r,i=t.length;for(r=0;r<i;r+=1)t[r].setAsAnimated()},jt.prototype.createStyleElement=function(t,r){var i,a=new sh(t,r),d=a.pElem;if(t.ty==="st")i=new ah(this,t,a);else if(t.ty==="fl")i=new nh(this,t,a);else if(t.ty==="gf"||t.ty==="gs"){var c=t.ty==="gf"?vo:ch;i=new c(this,t,a),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),d.setAttribute("mask","url("+T()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new lh(this,t,a));return(t.ty==="st"||t.ty==="gs")&&(d.setAttribute("stroke-linecap",rh[t.lc||2]),d.setAttribute("stroke-linejoin",ih[t.lj||2]),d.setAttribute("fill-opacity","0"),t.lj===1&&d.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&d.setAttribute("fill-rule","evenodd"),t.ln&&d.setAttribute("id",t.ln),t.cl&&d.setAttribute("class",t.cl),t.bm&&(d.style["mix-blend-mode"]=ul(t.bm)),this.stylesList.push(a),this.addToAnimatedContents(t,i),i},jt.prototype.createGroupElement=function(t){var r=new dv;return t.ln&&r.gr.setAttribute("id",t.ln),t.cl&&r.gr.setAttribute("class",t.cl),t.bm&&(r.gr.style["mix-blend-mode"]=ul(t.bm)),r},jt.prototype.createTransformElement=function(t,r){var i=cl.getTransformProperty(this,t,this),a=new hv(i,i.o,r);return this.addToAnimatedContents(t,a),a},jt.prototype.createShapeElement=function(t,r,i){var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7);var d=ga.getShapeProp(this,t,a,this),c=new oh(r,i,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(t,c),c},jt.prototype.addToAnimatedContents=function(t,r){for(var i=0,a=this.animatedContents.length;i<a;){if(this.animatedContents[i].element===r)return;i+=1}this.animatedContents.push({fn:pv.createRenderFunction(t),element:r,data:t})},jt.prototype.setElementStyles=function(t){var r=t.styles,i,a=this.stylesList.length;for(i=0;i<a;i+=1)this.stylesList[i].closed||r.push(this.stylesList[i])},jt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,r=this.itemsData.length;for(t=0;t<r;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,t=0;t<r;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},jt.prototype.searchShapes=function(t,r,i,a,d,c,u){var x=[].concat(c),f,I=t.length-1,w,B,y=[],N=[],P,M,z;for(f=I;f>=0;f-=1){if(z=this.searchProcessedElement(t[f]),z?r[f]=i[z-1]:t[f]._render=u,t[f].ty==="fl"||t[f].ty==="st"||t[f].ty==="gf"||t[f].ty==="gs"||t[f].ty==="no")z?r[f].style.closed=!1:r[f]=this.createStyleElement(t[f],d),t[f]._render&&r[f].style.pElem.parentNode!==a&&a.appendChild(r[f].style.pElem),y.push(r[f].style);else if(t[f].ty==="gr"){if(!z)r[f]=this.createGroupElement(t[f]);else for(B=r[f].it.length,w=0;w<B;w+=1)r[f].prevViewData[w]=r[f].it[w];this.searchShapes(t[f].it,r[f].it,r[f].prevViewData,r[f].gr,d+1,x,u),t[f]._render&&r[f].gr.parentNode!==a&&a.appendChild(r[f].gr)}else t[f].ty==="tr"?(z||(r[f]=this.createTransformElement(t[f],a)),P=r[f].transform,x.push(P)):t[f].ty==="sh"||t[f].ty==="rc"||t[f].ty==="el"||t[f].ty==="sr"?(z||(r[f]=this.createShapeElement(t[f],x,d)),this.setElementStyles(r[f])):t[f].ty==="tm"||t[f].ty==="rd"||t[f].ty==="ms"||t[f].ty==="pb"||t[f].ty==="zz"||t[f].ty==="op"?(z?(M=r[f],M.closed=!1):(M=Wr.getModifier(t[f].ty),M.init(this,t[f]),r[f]=M,this.shapeModifiers.push(M)),N.push(M)):t[f].ty==="rp"&&(z?(M=r[f],M.closed=!0):(M=Wr.getModifier(t[f].ty),r[f]=M,M.init(this,t,f,r),this.shapeModifiers.push(M),u=!1),N.push(M));this.addProcessedElement(t[f],f+1)}for(I=y.length,f=0;f<I;f+=1)y[f].closed=!0;for(I=N.length,f=0;f<I;f+=1)N[f].closed=!0},jt.prototype.renderInnerContent=function(){this.renderModifiers();var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<r;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},jt.prototype.renderShape=function(){var t,r=this.animatedContents.length,i;for(t=0;t<r;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},jt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function vl(t,r,i,a,d,c){this.o=t,this.sw=r,this.sc=i,this.fc=a,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!i,fc:!!a,m:!0,p:!0}}vl.prototype.update=function(t,r,i,a,d,c){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var u=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,u=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,u=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,u=!0),this.fc!==a&&(this.fc=a,this._mdf.fc=!0,u=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,u=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,u=!0),u};function pe(t,r){this._frameId=s,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=t.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}pe.prototype.defaultBoxWidth=[0,0],pe.prototype.copyData=function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);return t},pe.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},pe.prototype.searchProperty=function(){return this.searchKeyframes()},pe.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},pe.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},pe.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var a,d=this.effectsSequence.length,c=t||this.data.d.k[this.keysIndex].s;for(a=0;a<d;a+=1)i!==this.keysIndex?c=this.effectsSequence[a](c,c.t):c=this.effectsSequence[a](this.currentData,c.t);r!==c&&this.setCurrentData(c),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},pe.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,r=this.elem.comp.renderedFrame,i=0,a=t.length;i<=a-1&&!(i===a-1||t[i+1].t>r);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},pe.prototype.buildFinalText=function(t){for(var r=[],i=0,a=t.length,d,c,u=!1,x=!1,f="";i<a;)u=x,x=!1,d=t.charCodeAt(i),f=t.charAt(i),Ei.isCombinedCharacter(d)?u=!0:d>=55296&&d<=56319?Ei.isRegionalFlag(t,i)?f=t.substr(i,14):(c=t.charCodeAt(i+1),c>=56320&&c<=57343&&(Ei.isModifier(d,c)?(f=t.substr(i,2),u=!0):Ei.isFlagEmoji(t.substr(i,4))?f=t.substr(i,4):f=t.substr(i,2))):d>56319?(c=t.charCodeAt(i+1),Ei.isVariationSelector(d)&&(u=!0)):Ei.isZeroWidthJoiner(d)&&(u=!0,x=!0),u?(r[r.length-1]+=f,u=!1):r.push(f),i+=f.length;return r},pe.prototype.completeTextData=function(t){t.__complete=!0;var r=this.elem.globalData.fontManager,i=this.data,a=[],d,c,u,x=0,f,I=i.m.g,w=0,B=0,y=0,N=[],P=0,M=0,z,C,S=r.getFontByName(t.f),b,A=0,k=Xd(S);t.fWeight=k.weight,t.fStyle=k.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),c=t.finalText.length,t.finalLineHeight=t.lh;var D=t.tr/1e3*t.finalSize,V;if(t.sz)for(var G=!0,Z=t.sz[0],ut=t.sz[1],ct,Q;G;){Q=this.buildFinalText(t.t),ct=0,P=0,c=Q.length,D=t.tr/1e3*t.finalSize;var gt=-1;for(d=0;d<c;d+=1)V=Q[d].charCodeAt(0),u=!1,Q[d]===" "?gt=d:(V===13||V===3)&&(P=0,u=!0,ct+=t.finalLineHeight||t.finalSize*1.2),r.chars?(b=r.getCharData(Q[d],S.fStyle,S.fFamily),A=u?0:b.w*t.finalSize/100):A=r.measureText(Q[d],t.f,t.finalSize),P+A>Z&&Q[d]!==" "?(gt===-1?c+=1:d=gt,ct+=t.finalLineHeight||t.finalSize*1.2,Q.splice(d,gt===d?1:0,"\r"),gt=-1,P=0):(P+=A,P+=D);ct+=S.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&ut<ct?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=Q,c=t.finalText.length,G=!1)}P=-D,A=0;var st=0,X;for(d=0;d<c;d+=1)if(u=!1,X=t.finalText[d],V=X.charCodeAt(0),V===13||V===3?(st=0,N.push(P),M=P>M?P:M,P=-2*D,f="",u=!0,y+=1):f=X,r.chars?(b=r.getCharData(X,S.fStyle,r.getFontByName(t.f).fFamily),A=u?0:b.w*t.finalSize/100):A=r.measureText(f,t.f,t.finalSize),X===" "?st+=A+D:(P+=A+D+st,st=0),a.push({l:A,an:A,add:w,n:u,anIndexes:[],val:f,line:y,animatorJustifyOffset:0}),I==2){if(w+=A,f===""||f===" "||d===c-1){for((f===""||f===" ")&&(w-=A);B<=d;)a[B].an=w,a[B].ind=x,a[B].extra=A,B+=1;x+=1,w=0}}else if(I==3){if(w+=A,f===""||d===c-1){for(f===""&&(w-=A);B<=d;)a[B].an=w,a[B].ind=x,a[B].extra=A,B+=1;w=0,x+=1}}else a[x].ind=x,a[x].extra=0,x+=1;if(t.l=a,M=P>M?P:M,N.push(P),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=M,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=N;var _=i.a,R,p;C=_.length;var g,U,F=[];for(z=0;z<C;z+=1){for(R=_[z],R.a.sc&&(t.strokeColorAnim=!0),R.a.sw&&(t.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(t.fillColorAnim=!0),U=0,g=R.s.b,d=0;d<c;d+=1)p=a[d],p.anIndexes[z]=U,(g==1&&p.val!==""||g==2&&p.val!==""&&p.val!==" "||g==3&&(p.n||p.val==" "||d==c-1)||g==4&&(p.n||d==c-1))&&(R.s.rn===1&&F.push(U),U+=1);i.a[z].s.totalChars=U;var rt=-1,mt;if(R.s.rn===1)for(d=0;d<c;d+=1)p=a[d],rt!=p.anIndexes[z]&&(rt=p.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),p.anIndexes[z]=mt}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=S.ascent*t.finalSize/100},pe.prototype.updateDocumentData=function(t,r){r=r===void 0?this.keysIndex:r;var i=this.copyData({},this.data.d.k[r].s);i=this.copyData(i,t),this.data.d.k[r].s=i,this.recalculate(r),this.setCurrentData(i),this.elem.addDynamicProperty(this)},pe.prototype.recalculate=function(t){var r=this.data.d.k[t].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},pe.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},pe.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var mv=function(){var t=Math.max,r=Math.min,i=Math.floor;function a(c,u){this._currentTextLength=-1,this.k=!1,this.data=u,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=et.getProp(c,u.s||{k:0},0,0,this),"e"in u?this.e=et.getProp(c,u.e,0,0,this):this.e={v:100},this.o=et.getProp(c,u.o||{k:0},0,0,this),this.xe=et.getProp(c,u.xe||{k:0},0,0,this),this.ne=et.getProp(c,u.ne||{k:0},0,0,this),this.sm=et.getProp(c,u.sm||{k:100},0,0,this),this.a=et.getProp(c,u.a,0,.01,this),this.dynamicProperties.length||this.getValue()}a.prototype={getMult:function(u){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,f=0,I=1,w=1;this.ne.v>0?x=this.ne.v/100:f=-this.ne.v/100,this.xe.v>0?I=1-this.xe.v/100:w=1+this.xe.v/100;var B=as.getBezierEasing(x,f,I,w).get,y=0,N=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===N?y=u>=P?1:0:y=t(0,r(.5/(P-N)+(u-N)/(P-N),1)),y=B(y);else if(M===3)P===N?y=u>=P?0:1:y=1-t(0,r(.5/(P-N)+(u-N)/(P-N),1)),y=B(y);else if(M===4)P===N?y=0:(y=t(0,r(.5/(P-N)+(u-N)/(P-N),1)),y<.5?y*=2:y=1-2*(y-.5)),y=B(y);else if(M===5){if(P===N)y=0;else{var z=P-N;u=r(t(0,u+.5-N),P-N);var C=-z/2+u,S=z/2;y=Math.sqrt(1-C*C/(S*S))}y=B(y)}else M===6?(P===N?y=0:(u=r(t(0,u+.5-N),P-N),y=(1+Math.cos(Math.PI+Math.PI*2*u/(P-N)))/2),y=B(y)):(u>=i(N)&&(u-N<0?y=t(0,r(r(P,1)-(N-u),1)):y=t(0,r(P-u,1))),y=B(y));if(this.sm.v!==100){var b=this.sm.v*.01;b===0&&(b=1e-8);var A=.5-b*.5;y<A?y=0:(y=(y-A)/b,y>1&&(y=1))}return y*this.a.v},getValue:function(u){this.iterateDynamicProperties(),this._mdf=u||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,u&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,f=this.o.v/x,I=this.s.v/x+f,w=this.e.v/x+f;if(I>w){var B=I;I=w,w=B}this.finalS=I,this.finalE=w}},$([re],a);function d(c,u,x){return new a(c,u,x)}return{getTextSelectorProp:d}}();function uv(t,r,i){var a={propType:!1},d=et.getProp,c=r.a;this.a={r:c.r?d(t,c.r,0,_t,i):a,rx:c.rx?d(t,c.rx,0,_t,i):a,ry:c.ry?d(t,c.ry,0,_t,i):a,sk:c.sk?d(t,c.sk,0,_t,i):a,sa:c.sa?d(t,c.sa,0,_t,i):a,s:c.s?d(t,c.s,1,.01,i):a,a:c.a?d(t,c.a,1,0,i):a,o:c.o?d(t,c.o,0,.01,i):a,p:c.p?d(t,c.p,1,0,i):a,sw:c.sw?d(t,c.sw,0,0,i):a,sc:c.sc?d(t,c.sc,1,0,i):a,fc:c.fc?d(t,c.fc,1,0,i):a,fh:c.fh?d(t,c.fh,0,0,i):a,fs:c.fs?d(t,c.fs,0,.01,i):a,fb:c.fb?d(t,c.fb,0,.01,i):a,t:c.t?d(t,c.t,0,0,i):a},this.s=mv.getTextSelectorProp(t,r.s,i),this.s.t=r.s.t}function xi(t,r,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=r,this._elem=i,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}xi.prototype.searchProperties=function(){var t,r=this._textData.a.length,i,a=et.getProp;for(t=0;t<r;t+=1)i=this._textData.a[t],this._animatorsData[t]=new uv(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:a(this._elem,this._textData.p.a,0,0,this),f:a(this._elem,this._textData.p.f,0,0,this),l:a(this._elem,this._textData.p.l,0,0,this),r:a(this._elem,this._textData.p.r,0,0,this),p:a(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=a(this._elem,this._textData.m.a,1,0,this)},xi.prototype.getMeasures=function(t,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,a=this._animatorsData,d=this._textData,c=this.mHelper,u=this._renderType,x=this.renderedLetters.length,f,I,w,B,y=t.l,N,P,M,z,C,S,b,A,k,D,V,G,Z,ut,ct;if(this._hasMaskedPath){if(ct=this._pathData.m,!this._pathData.n||this._pathData._mdf){var Q=ct.v;this._pathData.r.v&&(Q=Q.reverse()),N={tLength:0,segments:[]},B=Q._length-1;var gt;for(G=0,w=0;w<B;w+=1)gt=mr.buildBezierData(Q.v[w],Q.v[w+1],[Q.o[w][0]-Q.v[w][0],Q.o[w][1]-Q.v[w][1]],[Q.i[w+1][0]-Q.v[w+1][0],Q.i[w+1][1]-Q.v[w+1][1]]),N.tLength+=gt.segmentLength,N.segments.push(gt),G+=gt.segmentLength;w=B,ct.v.c&&(gt=mr.buildBezierData(Q.v[w],Q.v[0],[Q.o[w][0]-Q.v[w][0],Q.o[w][1]-Q.v[w][1]],[Q.i[0][0]-Q.v[0][0],Q.i[0][1]-Q.v[0][1]]),N.tLength+=gt.segmentLength,N.segments.push(gt),G+=gt.segmentLength),this._pathData.pi=N}if(N=this._pathData.pi,P=this._pathData.f.v,b=0,S=1,z=0,C=!0,D=N.segments,P<0&&ct.v.c)for(N.tLength<Math.abs(P)&&(P=-Math.abs(P)%N.tLength),b=D.length-1,k=D[b].points,S=k.length-1;P<0;)P+=k[S].partialLength,S-=1,S<0&&(b-=1,k=D[b].points,S=k.length-1);k=D[b].points,A=k[S-1],M=k[S],V=M.partialLength}B=y.length,f=0,I=0;var st=t.finalSize*1.2*.714,X=!0,_,R,p,g,U;g=a.length;var F,rt=-1,mt,ft,Ct,wt=P,Kt=b,Ae=S,fr=-1,_e,ie,Re,Nt,nt,Ir,Jr,kr,vr="",Cr=this.defaultPropsArray,wr;if(t.j===2||t.j===1){var Se=0,Qr=0,ti=t.j===2?-.5:-1,ir=0,ei=!0;for(w=0;w<B;w+=1)if(y[w].n){for(Se&&(Se+=Qr);ir<w;)y[ir].animatorJustifyOffset=Se,ir+=1;Se=0,ei=!0}else{for(p=0;p<g;p+=1)_=a[p].a,_.t.propType&&(ei&&t.j===2&&(Qr+=_.t.v*ti),R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),F.length?Se+=_.t.v*F[0]*ti:Se+=_.t.v*F*ti);ei=!1}for(Se&&(Se+=Qr);ir<w;)y[ir].animatorJustifyOffset=Se,ir+=1}for(w=0;w<B;w+=1){if(c.reset(),_e=1,y[w].n)f=0,I+=t.yOffset,I+=X?1:0,P=wt,X=!1,this._hasMaskedPath&&(b=Kt,S=Ae,k=D[b].points,A=k[S-1],M=k[S],V=M.partialLength,z=0),vr="",kr="",Ir="",wr="",Cr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(fr!==y[w].line){switch(t.j){case 1:P+=G-t.lineWidths[y[w].line];break;case 2:P+=(G-t.lineWidths[y[w].line])/2;break;default:break}fr=y[w].line}rt!==y[w].ind&&(y[rt]&&(P+=y[rt].extra),P+=y[w].an/2,rt=y[w].ind),P+=i[0]*y[w].an*.005;var or=0;for(p=0;p<g;p+=1)_=a[p].a,_.p.propType&&(R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),F.length?or+=_.p.v[0]*F[0]:or+=_.p.v[0]*F),_.a.propType&&(R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),F.length?or+=_.a.v[0]*F[0]:or+=_.a.v[0]*F);for(C=!0,this._pathData.a.v&&(P=y[0].an*.5+(G-this._pathData.f.v-y[0].an*.5-y[y.length-1].an*.5)*rt/(B-1),P+=this._pathData.f.v);C;)z+V>=P+or||!k?(Z=(P+or-z)/M.partialLength,ft=A.point[0]+(M.point[0]-A.point[0])*Z,Ct=A.point[1]+(M.point[1]-A.point[1])*Z,c.translate(-i[0]*y[w].an*.005,-(i[1]*st)*.01),C=!1):k&&(z+=M.partialLength,S+=1,S>=k.length&&(S=0,b+=1,D[b]?k=D[b].points:ct.v.c?(S=0,b=0,k=D[b].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[S],V=M.partialLength));mt=y[w].an/2-y[w].add,c.translate(-mt,0,0)}else mt=y[w].an/2-y[w].add,c.translate(-mt,0,0),c.translate(-i[0]*y[w].an*.005,-i[1]*st*.01,0);for(p=0;p<g;p+=1)_=a[p].a,_.t.propType&&(R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),(f!==0||t.j!==0)&&(this._hasMaskedPath?F.length?P+=_.t.v*F[0]:P+=_.t.v*F:F.length?f+=_.t.v*F[0]:f+=_.t.v*F));for(t.strokeWidthAnim&&(Re=t.sw||0),t.strokeColorAnim&&(t.sc?ie=[t.sc[0],t.sc[1],t.sc[2]]:ie=[0,0,0]),t.fillColorAnim&&t.fc&&(Nt=[t.fc[0],t.fc[1],t.fc[2]]),p=0;p<g;p+=1)_=a[p].a,_.a.propType&&(R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),F.length?c.translate(-_.a.v[0]*F[0],-_.a.v[1]*F[1],_.a.v[2]*F[2]):c.translate(-_.a.v[0]*F,-_.a.v[1]*F,_.a.v[2]*F));for(p=0;p<g;p+=1)_=a[p].a,_.s.propType&&(R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),F.length?c.scale(1+(_.s.v[0]-1)*F[0],1+(_.s.v[1]-1)*F[1],1):c.scale(1+(_.s.v[0]-1)*F,1+(_.s.v[1]-1)*F,1));for(p=0;p<g;p+=1){if(_=a[p].a,R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),_.sk.propType&&(F.length?c.skewFromAxis(-_.sk.v*F[0],_.sa.v*F[1]):c.skewFromAxis(-_.sk.v*F,_.sa.v*F)),_.r.propType&&(F.length?c.rotateZ(-_.r.v*F[2]):c.rotateZ(-_.r.v*F)),_.ry.propType&&(F.length?c.rotateY(_.ry.v*F[1]):c.rotateY(_.ry.v*F)),_.rx.propType&&(F.length?c.rotateX(_.rx.v*F[0]):c.rotateX(_.rx.v*F)),_.o.propType&&(F.length?_e+=(_.o.v*F[0]-_e)*F[0]:_e+=(_.o.v*F-_e)*F),t.strokeWidthAnim&&_.sw.propType&&(F.length?Re+=_.sw.v*F[0]:Re+=_.sw.v*F),t.strokeColorAnim&&_.sc.propType)for(nt=0;nt<3;nt+=1)F.length?ie[nt]+=(_.sc.v[nt]-ie[nt])*F[0]:ie[nt]+=(_.sc.v[nt]-ie[nt])*F;if(t.fillColorAnim&&t.fc){if(_.fc.propType)for(nt=0;nt<3;nt+=1)F.length?Nt[nt]+=(_.fc.v[nt]-Nt[nt])*F[0]:Nt[nt]+=(_.fc.v[nt]-Nt[nt])*F;_.fh.propType&&(F.length?Nt=Ad(Nt,_.fh.v*F[0]):Nt=Ad(Nt,_.fh.v*F)),_.fs.propType&&(F.length?Nt=Td(Nt,_.fs.v*F[0]):Nt=Td(Nt,_.fs.v*F)),_.fb.propType&&(F.length?Nt=xd(Nt,_.fb.v*F[0]):Nt=xd(Nt,_.fb.v*F))}}for(p=0;p<g;p+=1)_=a[p].a,_.p.propType&&(R=a[p].s,F=R.getMult(y[w].anIndexes[p],d.a[p].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,_.p.v[1]*F[0],-_.p.v[2]*F[1]):c.translate(0,_.p.v[1]*F,-_.p.v[2]*F):F.length?c.translate(_.p.v[0]*F[0],_.p.v[1]*F[1],-_.p.v[2]*F[2]):c.translate(_.p.v[0]*F,_.p.v[1]*F,-_.p.v[2]*F));if(t.strokeWidthAnim&&(Ir=Re<0?0:Re),t.strokeColorAnim&&(Jr="rgb("+Math.round(ie[0]*255)+","+Math.round(ie[1]*255)+","+Math.round(ie[2]*255)+")"),t.fillColorAnim&&t.fc&&(kr="rgb("+Math.round(Nt[0]*255)+","+Math.round(Nt[1]*255)+","+Math.round(Nt[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-t.ls),c.translate(0,i[1]*st*.01+I,0),this._pathData.p.v){ut=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Ai=Math.atan(ut)*180/Math.PI;M.point[0]<A.point[0]&&(Ai+=180),c.rotate(-Ai*Math.PI/180)}c.translate(ft,Ct,0),P-=i[0]*y[w].an*.005,y[w+1]&&rt!==y[w+1].ind&&(P+=y[w].an/2,P+=t.tr*.001*t.finalSize)}else{switch(c.translate(f,I,0),t.ps&&c.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:c.translate(y[w].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[y[w].line]),0,0);break;case 2:c.translate(y[w].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[y[w].line])/2,0,0);break;default:break}c.translate(0,-t.ls),c.translate(mt,0,0),c.translate(i[0]*y[w].an*.005,i[1]*st*.01,0),f+=y[w].l+t.tr*.001*t.finalSize}u==="html"?vr=c.toCSS():u==="svg"?vr=c.to2dCSS():Cr=[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]],wr=_e}x<=w?(U=new vl(wr,Ir,Jr,kr,vr,Cr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[w],this.lettersChangedFlag=U.update(wr,Ir,Jr,kr,vr,Cr)||this.lettersChangedFlag)}}},xi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},xi.prototype.mHelper=new ne,xi.prototype.defaultPropsArray=[],$([re],xi);function Be(){}Be.prototype.initElement=function(t,r,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,r,i),this.textProperty=new pe(this,t.t,this.dynamicProperties),this.textAnimator=new xi(t.t,this.renderType,this),this.initTransform(t,r,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Be.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},Be.prototype.createPathShape=function(t,r){var i,a=r.length,d,c="";for(i=0;i<a;i+=1)r[i].ty==="sh"&&(d=r[i].ks.k,c+=dh(d,d.i.length,!0,t));return c},Be.prototype.updateDocumentData=function(t,r){this.textProperty.updateDocumentData(t,r)},Be.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},Be.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},Be.prototype.applyTextPropertiesToMatrix=function(t,r,i,a,d){switch(t.ps&&r.translate(t.ps[0],t.ps[1]+t.ascent,0),r.translate(0,-t.ls,0),t.j){case 1:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:r.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break;default:break}r.translate(a,d,0)},Be.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},Be.prototype.emptyProp=new vl,Be.prototype.destroy=function(){},Be.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var fv={shapes:[]};function _r(t,r,i){this.textSpans=[],this.renderType="svg",this.initElement(t,r,i)}$([qr,uo,us,fo,Kr,fs,Be],_r),_r.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=vt("text"))},_r.prototype.buildTextContents=function(t){for(var r=0,i=t.length,a=[],d="";r<i;)t[r]==="\r"||t[r]===""?(a.push(d),d=""):d+=t[r],r+=1;return a.push(d),a},_r.prototype.buildShapeData=function(t,r){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var a=i.it[i.it.length-1];a.s&&(a.s.k[0]=r,a.s.k[1]=r)}}return t},_r.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,r,i=this.textProperty.currentData;this.renderedLetters=tt(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var a=this.globalData.fontManager.getFontByName(i.f);if(a.fClass)this.layerElement.setAttribute("class",a.fClass);else{this.layerElement.setAttribute("font-family",a.fFamily);var d=i.fWeight,c=i.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",i.t);var u=i.l||[],x=!!this.globalData.fontManager.chars;r=u.length;var f,I=this.mHelper,w="",B=this.data.singleShape,y=0,N=0,P=!0,M=i.tr*.001*i.finalSize;if(B&&!x&&!i.sz){var z=this.textContainer,C="start";switch(i.j){case 1:C="end";break;case 2:C="middle";break;default:C="start";break}z.setAttribute("text-anchor",C),z.setAttribute("letter-spacing",M);var S=this.buildTextContents(i.finalText);for(r=S.length,N=i.ps?i.ps[1]+i.ascent:0,t=0;t<r;t+=1)f=this.textSpans[t].span||vt("tspan"),f.textContent=S[t],f.setAttribute("x",0),f.setAttribute("y",N),f.style.display="inherit",z.appendChild(f),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=f,N+=i.finalLineHeight;this.layerElement.appendChild(z)}else{var b=this.textSpans.length,A;for(t=0;t<r;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!x||!B||t===0){if(f=b>t?this.textSpans[t].span:vt(x?"g":"text"),b<=t){if(f.setAttribute("stroke-linecap","butt"),f.setAttribute("stroke-linejoin","round"),f.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=f,x){var k=vt("g");f.appendChild(k),this.textSpans[t].childSpan=k}this.textSpans[t].span=f,this.layerElement.appendChild(f)}f.style.display="inherit"}if(I.reset(),B&&(u[t].n&&(y=-M,N+=i.yOffset,N+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(i,I,u[t].line,y,N),y+=u[t].l||0,y+=M),x){A=this.globalData.fontManager.getCharData(i.finalText[t],a.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var D;if(A.t===1)D=new bs(A.data,this.globalData,this);else{var V=fv;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,i.finalSize)),D=new jt(V,this.globalData,this)}if(this.textSpans[t].glyph){var G=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(G.layerElement),G.destroy()}this.textSpans[t].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[t].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else B&&f.setAttribute("transform","translate("+I.props[12]+","+I.props[13]+")"),f.textContent=u[t].val,f.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&f&&f.setAttribute("d",w)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},_r.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},_r.prototype.getValue=function(){var t,r=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},_r.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,r,i=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;r=a.length;var d,c,u;for(t=0;t<r;t+=1)a[t].n||(d=i[t],c=this.textSpans[t].span,u=this.textSpans[t].glyph,u&&u.renderFrame(),d._mdf.m&&c.setAttribute("transform",d.m),d._mdf.o&&c.setAttribute("opacity",d.o),d._mdf.sw&&c.setAttribute("stroke-width",d.sw),d._mdf.sc&&c.setAttribute("stroke",d.sc),d._mdf.fc&&c.setAttribute("fill",d.fc))}};function gl(t,r,i){this.initElement(t,r,i)}$([vs],gl),gl.prototype.createContent=function(){var t=vt("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function Zr(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initFrame(),this.initTransform(t,r,i),this.initHierarchy()}Zr.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},Zr.prototype.renderFrame=function(){},Zr.prototype.getBaseElement=function(){return null},Zr.prototype.destroy=function(){},Zr.prototype.sourceRectAtTime=function(){},Zr.prototype.hide=function(){},$([qr,uo,fo,Kr],Zr);function Jt(){}$([le],Jt),Jt.prototype.createNull=function(t){return new Zr(t,this.globalData,this)},Jt.prototype.createShape=function(t){return new jt(t,this.globalData,this)},Jt.prototype.createText=function(t){return new _r(t,this.globalData,this)},Jt.prototype.createImage=function(t){return new vs(t,this.globalData,this)},Jt.prototype.createSolid=function(t){return new gl(t,this.globalData,this)},Jt.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(t,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=vt("clipPath"),a=vt("rect");a.setAttribute("width",t.w),a.setAttribute("height",t.h),a.setAttribute("x",0),a.setAttribute("y",0);var d=Te();i.setAttribute("id",d),i.appendChild(a),this.layerElement.setAttribute("clip-path","url("+T()+"#"+d+")"),r.appendChild(i),this.layers=t.layers,this.elements=tt(t.layers.length)},Jt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,r=this.layers?this.layers.length:0;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Jt.prototype.updateContainerSize=function(){},Jt.prototype.findIndexByInd=function(t){var r=0,i=this.layers.length;for(r=0;r<i;r+=1)if(this.layers[r].ind===t)return r;return-1},Jt.prototype.buildItem=function(t){var r=this.elements;if(!(r[t]||this.layers[t].ty===99)){r[t]=!0;var i=this.createItem(this.layers[t]);if(r[t]=i,da()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var a="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(a===-1)return;if(!this.elements[a]||this.elements[a]===!0)this.buildItem(a),this.addPendingElement(i);else{var d=r[a],c=d.getMatte(this.layers[t].tt);i.setMatte(c)}}}},Jt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var r=0,i=this.elements.length;r<i;){if(this.elements[r]===t){var a="tp"in t.data?this.findIndexByInd(t.data.tp):r-1,d=this.elements[a],c=d.getMatte(this.layers[r].tt);t.setMatte(c);break}r+=1}}},Jt.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Jt.prototype.appendElementInPos=function(t,r){var i=t.getBaseElement();if(i){for(var a=0,d;a<r;)this.elements[a]&&this.elements[a]!==!0&&this.elements[a].getBaseElement()&&(d=this.elements[a].getBaseElement()),a+=1;d?this.layerElement.insertBefore(i,d):this.layerElement.appendChild(i)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function Sr(){}$([qr,uo,fo,Kr,fs],Sr),Sr.prototype.initElement=function(t,r,i){this.initFrame(),this.initBaseData(t,r,i),this.initTransform(t,r,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Sr.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var i,a=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=a-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},Sr.prototype.renderInnerContent=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},Sr.prototype.setElements=function(t){this.elements=t},Sr.prototype.getElements=function(){return this.elements},Sr.prototype.destroyElements=function(){var t,r=this.layers.length;for(t=0;t<r;t+=1)this.elements[t]&&this.elements[t].destroy()},Sr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function bs(t,r,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(t,r,i),this.tm=t.tm?et.getProp(this,t.tm,0,r.frameRate,this):{_placeholder:!0}}$([Jt,Sr,us],bs),bs.prototype.createComp=function(t){return new bs(t,this.globalData,this)};function bl(t,r){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=vt("svg");var i="";if(r&&r.title){var a=vt("title"),d=Te();a.setAttribute("id",d),a.textContent=r.title,this.svgElement.appendChild(a),i+=d}if(r&&r.description){var c=vt("desc"),u=Te();c.setAttribute("id",u),c.textContent=r.description,this.svgElement.appendChild(c),i+=" "+u}i&&this.svgElement.setAttribute("aria-labelledby",i);var x=vt("defs");this.svgElement.appendChild(x);var f=vt("g");this.svgElement.appendChild(f),this.layerElement=f,this.renderConfig={preserveAspectRatio:r&&r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:r&&r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:r&&r.contentVisibility||"visible",progressiveLoad:r&&r.progressiveLoad||!1,hideOnTransparent:!(r&&r.hideOnTransparent===!1),viewBoxOnly:r&&r.viewBoxOnly||!1,viewBoxSize:r&&r.viewBoxSize||!1,className:r&&r.className||"",id:r&&r.id||"",focusable:r&&r.focusable,filterSize:{width:r&&r.filterSize&&r.filterSize.width||"100%",height:r&&r.filterSize&&r.filterSize.height||"100%",x:r&&r.filterSize&&r.filterSize.x||"0%",y:r&&r.filterSize&&r.filterSize.y||"0%"},width:r&&r.width,height:r&&r.height,runExpressions:!r||r.runExpressions===void 0||r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:x,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return $([Jt],bl),bl.prototype.createComp=function(t){return new bs(t,this.globalData,this)},Sf("svg",bl),Wr.registerModifier("tm",rr),Wr.registerModifier("pb",ns),Wr.registerModifier("rp",ur),Wr.registerModifier("rd",ls),Wr.registerModifier("zz",ds),Wr.registerModifier("op",hs),Lt})});var wa=globalThis,La=wa.ShadowRoot&&(wa.ShadyCSS===void 0||wa.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,El=Symbol(),ph=new WeakMap,ys=class{constructor(o,e,s){if(this._$cssResult$=!0,s!==El)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=o,this.t=e}get styleSheet(){let o=this.o,e=this.t;if(La&&o===void 0){let s=e!==void 0&&e.length===1;s&&(o=ph.get(e)),o===void 0&&((this.o=o=new CSSStyleSheet).replaceSync(this.cssText),s&&ph.set(e,o))}return o}toString(){return this.cssText}},mh=l=>new ys(typeof l=="string"?l:l+"",void 0,El),H=(l,...o)=>{let e=l.length===1?l[0]:o.reduce((s,n,h)=>s+(m=>{if(m._$cssResult$===!0)return m.cssText;if(typeof m=="number")return m;throw Error("Value passed to 'css' function must be a 'css' function result: "+m+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+l[h+1],l[0]);return new ys(e,l,El)},Tl=(l,o)=>{if(La)l.adoptedStyleSheets=o.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of o){let s=document.createElement("style"),n=wa.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,l.appendChild(s)}},Na=La?l=>l:l=>l instanceof CSSStyleSheet?(o=>{let e="";for(let s of o.cssRules)e+=s.cssText;return mh(e)})(l):l;var{is:Av,defineProperty:_v,getOwnPropertyDescriptor:Sv,getOwnPropertyNames:Iv,getOwnPropertySymbols:kv,getPrototypeOf:Cv}=Object,ri=globalThis,uh=ri.trustedTypes,wv=uh?uh.emptyScript:"",xl=ri.reactiveElementPolyfillSupport,Es=(l,o)=>l,Ts={toAttribute(l,o){switch(o){case Boolean:l=l?wv:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,o){let e=l;switch(o){case Boolean:e=l!==null;break;case Number:e=l===null?null:Number(l);break;case Object:case Array:try{e=JSON.parse(l)}catch{e=null}}return e}},Ma=(l,o)=>!Av(l,o),fh={attribute:!0,type:String,converter:Ts,reflect:!1,hasChanged:Ma},vh,gh;(vh=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(gh=ri.litPropertyMetadata)!=null||(ri.litPropertyMetadata=new WeakMap);var Lr=class extends HTMLElement{static addInitializer(o){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(o)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(o,e=fh){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(o,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(o,s,e);n!==void 0&&_v(this.prototype,o,n)}}static getPropertyDescriptor(o,e,s){var m;let{get:n,set:h}=(m=Sv(this.prototype,o))!=null?m:{get(){return this[e]},set(T){this[e]=T}};return{get(){return n==null?void 0:n.call(this)},set(T){let L=n==null?void 0:n.call(this);h.call(this,T),this.requestUpdate(o,L,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(o){var e;return(e=this.elementProperties.get(o))!=null?e:fh}static _$Ei(){if(this.hasOwnProperty(Es("elementProperties")))return;let o=Cv(this);o.finalize(),o.l!==void 0&&(this.l=[...o.l]),this.elementProperties=new Map(o.elementProperties)}static finalize(){if(this.hasOwnProperty(Es("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Es("properties"))){let e=this.properties,s=[...Iv(e),...kv(e)];for(let n of s)this.createProperty(n,e[n])}let o=this[Symbol.metadata];if(o!==null){let e=litPropertyMetadata.get(o);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(o){let e=[];if(Array.isArray(o)){let s=new Set(o.flat(1/0).reverse());for(let n of s)e.unshift(Na(n))}else o!==void 0&&e.push(Na(o));return e}static _$Eu(o,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s: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(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(o=this.constructor.l)==null||o.forEach(e=>e(this))}addController(o){var e,s;((e=this._$EO)!=null?e:this._$EO=new Set).add(o),this.renderRoot!==void 0&&this.isConnected&&((s=o.hostConnected)==null||s.call(o))}removeController(o){var e;(e=this._$EO)==null||e.delete(o)}_$E_(){let o=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(o.set(s,this[s]),delete this[s]);o.size>0&&(this._$Ep=o)}createRenderRoot(){var e;let o=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return Tl(o,this.constructor.elementStyles),o}connectedCallback(){var o,e;(o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostConnected)==null?void 0:n.call(s)})}enableUpdating(o){}disconnectedCallback(){var o;(o=this._$EO)==null||o.forEach(e=>{var s;return(s=e.hostDisconnected)==null?void 0:s.call(e)})}attributeChangedCallback(o,e,s){this._$AK(o,s)}_$EC(o,e){var h;let s=this.constructor.elementProperties.get(o),n=this.constructor._$Eu(o,s);if(n!==void 0&&s.reflect===!0){let m=(((h=s.converter)==null?void 0:h.toAttribute)!==void 0?s.converter:Ts).toAttribute(e,s.type);this._$Em=o,m==null?this.removeAttribute(n):this.setAttribute(n,m),this._$Em=null}}_$AK(o,e){var h;let s=this.constructor,n=s._$Eh.get(o);if(n!==void 0&&this._$Em!==n){let m=s.getPropertyOptions(n),T=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Ts;this._$Em=n,this[n]=T.fromAttribute(e,m.type),this._$Em=null}}requestUpdate(o,e,s){var n;if(o!==void 0){if(s!=null||(s=this.constructor.getPropertyOptions(o)),!((n=s.hasChanged)!=null?n:Ma)(this[o],e))return;this.P(o,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(o,e,s){var n;this._$AL.has(o)||this._$AL.set(o,e),s.reflect===!0&&this._$Em!==o&&((n=this._$Ej)!=null?n:this._$Ej=new Set).add(o)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let o=this.scheduleUpdate();return o!=null&&await o,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var s,n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((s=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,T]of this._$Ep)this[m]=T;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,T]of h)T.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],T)}let o=!1,e=this._$AL;try{o=this.shouldUpdate(e),o?(this.willUpdate(e),(n=this._$EO)==null||n.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(e)):this._$EU()}catch(h){throw o=!1,this._$EU(),h}o&&this._$AE(e)}willUpdate(o){}_$AE(o){var e;(e=this._$EO)==null||e.forEach(s=>{var n;return(n=s.hostUpdated)==null?void 0:n.call(s)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(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(e=>this._$EC(e,this[e]))),this._$EU()}updated(o){}firstUpdated(o){}},bh;Lr.elementStyles=[],Lr.shadowRootOptions={mode:"open"},Lr[Es("elementProperties")]=new Map,Lr[Es("finalized")]=new Map,xl==null||xl({ReactiveElement:Lr}),((bh=ri.reactiveElementVersions)!=null?bh:ri.reactiveElementVersions=[]).push("2.0.4");var As=globalThis,Ra=As.trustedTypes,yh=Ra?Ra.createPolicy("lit-html",{createHTML:l=>l}):void 0,Sl="$lit$",Nr=`lit$${Math.random().toFixed(9).slice(2)}$`,Il="?"+Nr,Lv=`<${Il}>`,Ii=document,_s=()=>Ii.createComment(""),Ss=l=>l===null||typeof l!="object"&&typeof l!="function",kl=Array.isArray,Ih=l=>kl(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",Al=`[
3
+ \f\r]`,xs=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Eh=/-->/g,Th=/>/g,_i=RegExp(`>|${Al}(?:([^\\s"'>=/]+)(${Al}*=${Al}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),xh=/'/g,Ah=/"/g,kh=/^(?:script|style|textarea|title)$/i,Cl=l=>(o,...e)=>({_$litType$:l,strings:o,values:e}),O=Cl(1),sE=Cl(2),aE=Cl(3),Ie=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),_h=new WeakMap,Si=Ii.createTreeWalker(Ii,129);function Ch(l,o){if(!kl(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return yh!==void 0?yh.createHTML(o):o}var wh=(l,o)=>{let e=l.length-1,s=[],n,h=o===2?"<svg>":o===3?"<math>":"",m=xs;for(let T=0;T<e;T++){let L=l[T],$,W,K=-1,ot=0;for(;ot<L.length&&(m.lastIndex=ot,W=m.exec(L),W!==null);)ot=m.lastIndex,m===xs?W[1]==="!--"?m=Eh:W[1]!==void 0?m=Th:W[2]!==void 0?(kh.test(W[2])&&(n=RegExp("</"+W[2],"g")),m=_i):W[3]!==void 0&&(m=_i):m===_i?W[0]===">"?(m=n!=null?n:xs,K=-1):W[1]===void 0?K=-2:(K=m.lastIndex-W[2].length,$=W[1],m=W[3]===void 0?_i:W[3]==='"'?Ah:xh):m===Ah||m===xh?m=_i:m===Eh||m===Th?m=xs:(m=_i,n=void 0);let J=m===_i&&l[T+1].startsWith("/>")?" ":"";h+=m===xs?L+Lv:K>=0?(s.push($),L.slice(0,K)+Sl+L.slice(K)+Nr+J):L+Nr+(K===-2?T:J)}return[Ch(l,h+(l[e]||"<?>")+(o===2?"</svg>":o===3?"</math>":"")),s]},Is=class l{constructor({strings:o,_$litType$:e},s){let n;this.parts=[];let h=0,m=0,T=o.length-1,L=this.parts,[$,W]=wh(o,e);if(this.el=l.createElement($,s),Si.currentNode=this.el.content,e===2||e===3){let K=this.el.content.firstChild;K.replaceWith(...K.childNodes)}for(;(n=Si.nextNode())!==null&&L.length<T;){if(n.nodeType===1){if(n.hasAttributes())for(let K of n.getAttributeNames())if(K.endsWith(Sl)){let ot=W[m++],J=n.getAttribute(K).split(Nr),tt=/([.?@])?(.*)/.exec(ot);L.push({type:1,index:h,name:tt[2],strings:J,ctor:tt[1]==="."?Pa:tt[1]==="?"?Da:tt[1]==="@"?Fa:Ci}),n.removeAttribute(K)}else K.startsWith(Nr)&&(L.push({type:6,index:h}),n.removeAttribute(K));if(kh.test(n.tagName)){let K=n.textContent.split(Nr),ot=K.length-1;if(ot>0){n.textContent=Ra?Ra.emptyScript:"";for(let J=0;J<ot;J++)n.append(K[J],_s()),Si.nextNode(),L.push({type:2,index:++h});n.append(K[ot],_s())}}}else if(n.nodeType===8)if(n.data===Il)L.push({type:2,index:h});else{let K=-1;for(;(K=n.data.indexOf(Nr,K+1))!==-1;)L.push({type:7,index:h}),K+=Nr.length-1}h++}}static createElement(o,e){let s=Ii.createElement("template");return s.innerHTML=o,s}};function ki(l,o,e=l,s){var m,T,L;if(o===Ie)return o;let n=s!==void 0?(m=e.o)==null?void 0:m[s]:e.l,h=Ss(o)?void 0:o._$litDirective$;return(n==null?void 0:n.constructor)!==h&&((T=n==null?void 0:n._$AO)==null||T.call(n,!1),h===void 0?n=void 0:(n=new h(l),n._$AT(l,e,s)),s!==void 0?((L=e.o)!=null?L:e.o=[])[s]=n:e.l=n),n!==void 0&&(o=ki(l,n._$AS(l,o.values),n,s)),o}var Oa=class{constructor(o,e){this._$AV=[],this._$AN=void 0,this._$AD=o,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(o){var $;let{el:{content:e},parts:s}=this._$AD,n=(($=o==null?void 0:o.creationScope)!=null?$:Ii).importNode(e,!0);Si.currentNode=n;let h=Si.nextNode(),m=0,T=0,L=s[0];for(;L!==void 0;){if(m===L.index){let W;L.type===2?W=new go(h,h.nextSibling,this,o):L.type===1?W=new L.ctor(h,L.name,L.strings,this,o):L.type===6&&(W=new $a(h,this,o)),this._$AV.push(W),L=s[++T]}m!==(L==null?void 0:L.index)&&(h=Si.nextNode(),m++)}return Si.currentNode=Ii,n}p(o){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(o,s,e),e+=s.strings.length-2):s._$AI(o[e])),e++}},go=class l{get _$AU(){var o,e;return(e=(o=this._$AM)==null?void 0:o._$AU)!=null?e:this.v}constructor(o,e,s,n){var h;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=o,this._$AB=e,this._$AM=s,this.options=n,this.v=(h=n==null?void 0:n.isConnected)!=null?h:!0}get parentNode(){let o=this._$AA.parentNode,e=this._$AM;return e!==void 0&&(o==null?void 0:o.nodeType)===11&&(o=e.parentNode),o}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(o,e=this){o=ki(this,o,e),Ss(o)?o===Y||o==null||o===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):o!==this._$AH&&o!==Ie&&this._(o):o._$litType$!==void 0?this.$(o):o.nodeType!==void 0?this.T(o):Ih(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!==Y&&Ss(this._$AH)?this._$AA.nextSibling.data=o:this.T(Ii.createTextNode(o)),this._$AH=o}$(o){var h;let{values:e,_$litType$:s}=o,n=typeof s=="number"?this._$AC(o):(s.el===void 0&&(s.el=Is.createElement(Ch(s.h,s.h[0]),this.options)),s);if(((h=this._$AH)==null?void 0:h._$AD)===n)this._$AH.p(e);else{let m=new Oa(n,this),T=m.u(this.options);m.p(e),this.T(T),this._$AH=m}}_$AC(o){let e=_h.get(o.strings);return e===void 0&&_h.set(o.strings,e=new Is(o)),e}k(o){kl(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let h of o)n===e.length?e.push(s=new l(this.O(_s()),this.O(_s()),this,this.options)):s=e[n],s._$AI(h),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(o=this._$AA.nextSibling,e){var s;for((s=this._$AP)==null?void 0:s.call(this,!1,!0,e);o&&o!==this._$AB;){let n=o.nextSibling;o.remove(),o=n}}setConnected(o){var e;this._$AM===void 0&&(this.v=o,(e=this._$AP)==null||e.call(this,o))}},Ci=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(o,e,s,n,h){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=o,this.name=e,this._$AM=n,this.options=h,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=Y}_$AI(o,e=this,s,n){let h=this.strings,m=!1;if(h===void 0)o=ki(this,o,e,0),m=!Ss(o)||o!==this._$AH&&o!==Ie,m&&(this._$AH=o);else{let T=o,L,$;for(o=h[0],L=0;L<h.length-1;L++)$=ki(this,T[s+L],e,L),$===Ie&&($=this._$AH[L]),m||(m=!Ss($)||$!==this._$AH[L]),$===Y?o=Y:o!==Y&&(o+=($!=null?$:"")+h[L+1]),this._$AH[L]=$}m&&!n&&this.j(o)}j(o){o===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,o!=null?o:"")}},Pa=class extends Ci{constructor(){super(...arguments),this.type=3}j(o){this.element[this.name]=o===Y?void 0:o}},Da=class extends Ci{constructor(){super(...arguments),this.type=4}j(o){this.element.toggleAttribute(this.name,!!o&&o!==Y)}},Fa=class extends Ci{constructor(o,e,s,n,h){super(o,e,s,n,h),this.type=5}_$AI(o,e=this){var m;if((o=(m=ki(this,o,e,0))!=null?m:Y)===Ie)return;let s=this._$AH,n=o===Y&&s!==Y||o.capture!==s.capture||o.once!==s.once||o.passive!==s.passive,h=o!==Y&&(s===Y||n);n&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,o),this._$AH=o}handleEvent(o){var e,s;typeof this._$AH=="function"?this._$AH.call((s=(e=this.options)==null?void 0:e.host)!=null?s:this.element,o):this._$AH.handleEvent(o)}},$a=class{constructor(o,e,s){this.element=o,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(o){ki(this,o)}},Lh={M:Sl,P:Nr,A:Il,C:1,L:wh,R:Oa,D:Ih,V:ki,I:go,H:Ci,N:Da,U:Fa,B:Pa,F:$a},_l=As.litHtmlPolyfillSupport,Sh;_l==null||_l(Is,go),((Sh=As.litHtmlVersions)!=null?Sh:As.litHtmlVersions=[]).push("3.2.0");var Nh=(l,o,e)=>{var h,m;let s=(h=e==null?void 0:e.renderBefore)!=null?h:o,n=s._$litPart$;if(n===void 0){let T=(m=e==null?void 0:e.renderBefore)!=null?m:null;s._$litPart$=n=new go(o.insertBefore(_s(),T),T,void 0,e!=null?e:{})}return n._$AI(l),n};var ii=class extends Lr{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var e,s;let o=super.createRenderRoot();return(s=(e=this.renderOptions).renderBefore)!=null||(e.renderBefore=o.firstChild),o}update(o){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(o),this.o=Nh(e,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 Ie}},Mh;ii._$litElement$=!0,ii.finalized=!0,(Mh=globalThis.litElementHydrateSupport)==null||Mh.call(globalThis,{LitElement:ii});var wl=globalThis.litElementPolyfillSupport;wl==null||wl({LitElement:ii});var Rh;((Rh=globalThis.litElementVersions)!=null?Rh:globalThis.litElementVersions=[]).push("4.1.0");var Nv={attribute:!0,type:String,converter:Ts,reflect:!1,hasChanged:Ma},Mv=(l=Nv,o,e)=>{let{kind:s,metadata:n}=e,h=globalThis.litPropertyMetadata.get(n);if(h===void 0&&globalThis.litPropertyMetadata.set(n,h=new Map),h.set(e.name,l),s==="accessor"){let{name:m}=e;return{set(T){let L=o.get.call(this);o.set.call(this,T),this.requestUpdate(m,L,l)},init(T){return T!==void 0&&this.P(m,void 0,l),T}}}if(s==="setter"){let{name:m}=e;return function(T){let L=this[m];o.call(this,T),this.requestUpdate(m,L,l)}}throw Error("Unsupported decorator location: "+s)};function E(l){return(o,e)=>typeof e=="object"?Mv(l,o,e):((s,n,h)=>{let m=n.hasOwnProperty(h);return n.constructor.createProperty(h,m?{...s,wrapped:!0}:s),m?Object.getOwnPropertyDescriptor(n,h):void 0})(l,o,e)}function At(l){return E({...l,state:!0,attribute:!1})}var Mr=(l,o,e)=>(e.configurable=!0,e.enumerable=!0,Reflect.decorate&&typeof o!="object"&&Object.defineProperty(l,o,e),e);function Rr(l,o){return(e,s,n)=>{let h=m=>{var T,L;return(L=(T=m.renderRoot)==null?void 0:T.querySelector(l))!=null?L:null};if(o){let{get:m,set:T}=typeof s=="object"?e:n!=null?n:(()=>{let L=Symbol();return{get(){return this[L]},set($){this[L]=$}}})();return Mr(e,s,{get(){let L=m.call(this);return L===void 0&&(L=h(this),(L!==null||this.hasUpdated)&&T.call(this,L)),L}})}return Mr(e,s,{get(){return h(this)}})}}function Bt(l){return(o,e)=>{let{slot:s,selector:n}=l!=null?l:{},h="slot"+(s?`[name=${s}]`:":not([name])");return Mr(o,e,{get(){var L,$;let m=(L=this.renderRoot)==null?void 0:L.querySelector(h),T=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return n===void 0?T:T.filter(W=>W.matches(n))}})}}function za(l){return(o,e)=>{let{slot:s}=l!=null?l:{},n="slot"+(s?`[name=${s}]`:":not([name])");return Mr(o,e,{get(){var m,T;let h=(m=this.renderRoot)==null?void 0:m.querySelector(n);return(T=h==null?void 0:h.assignedNodes(l))!=null?T:[]}})}}var Oh=H`
5
5
  :host {
6
6
  box-sizing: border-box;
7
7
  }
@@ -11,11 +11,11 @@
11
11
  :host *::after {
12
12
  box-sizing: inherit;
13
13
  }
14
- `;var Va=class extends ii{static register(o){customElements.get(o)||customElements.define(o,this)}};Va.styles=[Rh];var Oh=Va;var q=Oh;var oi=class extends Event{constructor(o,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=e,this.subscribe=s!=null?s:!1}};var go=class{constructor(o,e,s,n){var h;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,T)=>{this.unsubscribe&&(this.unsubscribe!==T&&(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,T)),this.unsubscribe=T},this.host=o,e.context!==void 0){let m=e;this.context=m.context,this.callback=m.callback,this.subscribe=(h=m.subscribe)!=null?h:!1}else this.context=e,this.callback=s,this.subscribe=n!=null?n:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new oi(this.context,this.t,this.subscribe))}};var Ba=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,e=!1){let s=e||!Object.is(o,this.o);this.o=o,s&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},o!==void 0&&(this.value=o)}addCallback(o,e,s){if(!s)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:e});let{disposer:n}=this.subscriptions.get(o);o(this.value,n)}clearCallbacks(){this.subscriptions.clear()}};var Ll=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},bo=class extends Ba{constructor(o,e,s){var n,h;super(e.context!==void 0?e.initialValue:s),this.onContextRequest=m=>{let T=m.composedPath()[0];m.context===this.context&&T!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,T,m.subscribe))},this.onProviderRequest=m=>{let T=m.composedPath()[0];if(m.context!==this.context||T===this.host)return;let L=new Set;for(let[$,{consumerHost:W}]of this.subscriptions)L.has($)||(L.add($),W.dispatchEvent(new oi(this.context,$,!0)));m.stopPropagation()},this.host=o,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(h=(n=this.host).addController)==null||h.call(n,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Ll(this.context))}};var Mv=H`
14
+ `;var Va=class extends ii{static register(o){customElements.get(o)||customElements.define(o,this)}};Va.styles=[Oh];var Ph=Va;var q=Ph;var oi=class extends Event{constructor(o,e,s){super("context-request",{bubbles:!0,composed:!0}),this.context=o,this.callback=e,this.subscribe=s!=null?s:!1}};var bo=class{constructor(o,e,s,n){var h;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,T)=>{this.unsubscribe&&(this.unsubscribe!==T&&(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,T)),this.unsubscribe=T},this.host=o,e.context!==void 0){let m=e;this.context=m.context,this.callback=m.callback,this.subscribe=(h=m.subscribe)!=null?h:!1}else this.context=e,this.callback=s,this.subscribe=n!=null?n:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new oi(this.context,this.t,this.subscribe))}};var Ba=class{get value(){return this.o}set value(o){this.setValue(o)}setValue(o,e=!1){let s=e||!Object.is(o,this.o);this.o=o,s&&this.updateObservers()}constructor(o){this.subscriptions=new Map,this.updateObservers=()=>{for(let[e,{disposer:s}]of this.subscriptions)e(this.o,s)},o!==void 0&&(this.value=o)}addCallback(o,e,s){if(!s)return void o(this.value);this.subscriptions.has(o)||this.subscriptions.set(o,{disposer:()=>{this.subscriptions.delete(o)},consumerHost:e});let{disposer:n}=this.subscriptions.get(o);o(this.value,n)}clearCallbacks(){this.subscriptions.clear()}};var Ll=class extends Event{constructor(o){super("context-provider",{bubbles:!0,composed:!0}),this.context=o}},yo=class extends Ba{constructor(o,e,s){var n,h;super(e.context!==void 0?e.initialValue:s),this.onContextRequest=m=>{let T=m.composedPath()[0];m.context===this.context&&T!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,T,m.subscribe))},this.onProviderRequest=m=>{let T=m.composedPath()[0];if(m.context!==this.context||T===this.host)return;let L=new Set;for(let[$,{consumerHost:W}]of this.subscriptions)L.has($)||(L.add($),W.dispatchEvent(new oi(this.context,$,!0)));m.stopPropagation()},this.host=o,e.context!==void 0?this.context=e.context:this.context=e,this.attachListeners(),(h=(n=this.host).addController)==null||h.call(n,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new Ll(this.context))}};var Rv=H`
15
15
  :host {
16
16
  display: contents;
17
17
  }
18
- `,Ph=Mv;var Ua=class extends q{constructor({context:o,initialValue:e}){super(),this.context=new bo(this,{context:o,initialValue:e})}render(){return this.updateContext(),O`<slot></slot>`}};Ua.styles=[...q.styles,Ph];var Dh=Ua;var si=Dh;var $t=l=>{class o extends l{}return v([E({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var gr=l=>{class o extends l{constructor(){super(...arguments);this.tabIndex=0}}return v([E({reflect:!0,type:Number})],o.prototype,"tabIndex",2),o};var Fh=l=>{class o extends l{constructor(){super(...arguments);this.autofocus=!1}firstUpdated(n){super.firstUpdated(n),this.autofocus&&this.focus()}}return v([E({type:Boolean,reflect:!0})],o.prototype,"autofocus",2),o};var Rv={PREFIX:"mdc",SEPARATOR:"-"},Ov={NAMESPACE:Rv},Ml=Ov;var Pv=l=>[Ml.NAMESPACE.PREFIX,l].join(Ml.NAMESPACE.SEPARATOR),j={constructTagName:Pv};var XE=j.constructTagName("buttonsimple"),Ci={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},yo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Is={SIZE:Ci[32],TYPE:yo.BUTTON,ROLE:"button",ARIA_STATE_KEY:"aria-pressed"};var Et=H`
18
+ `,Dh=Rv;var Ua=class extends q{constructor({context:o,initialValue:e}){super(),this.context=new yo(this,{context:o,initialValue:e})}render(){return this.updateContext(),O`<slot></slot>`}};Ua.styles=[...q.styles,Dh];var Fh=Ua;var si=Fh;var Ft=l=>{class o extends l{}return v([E({reflect:!0,type:Boolean})],o.prototype,"disabled",2),o};var gr=l=>{class o extends l{constructor(){super(...arguments);this.tabIndex=0}}return v([E({reflect:!0,type:Number})],o.prototype,"tabIndex",2),o};var $h=l=>{class o extends l{constructor(){super(...arguments);this.autofocus=!1}firstUpdated(n){super.firstUpdated(n),this.autofocus&&this.focus()}}return v([E({type:Boolean,reflect:!0})],o.prototype,"autofocus",2),o};var Ov={PREFIX:"mdc",SEPARATOR:"-"},Pv={NAMESPACE:Ov},Ml=Pv;var Dv=l=>[Ml.NAMESPACE.PREFIX,l].join(Ml.NAMESPACE.SEPARATOR),j={constructTagName:Dv};var Z0=j.constructTagName("buttonsimple"),wi={20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},Eo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},ks={SIZE:wi[32],TYPE:Eo.BUTTON,ROLE:"button",ARIA_STATE_KEY:"aria-pressed"};var Et=H`
19
19
  :host {
20
20
  align-items: center;
21
21
  display: flex;
@@ -78,7 +78,7 @@
78
78
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
79
79
  }
80
80
  }
81
- `]};var Dv=[Et,H`
81
+ `]};var Fv=[Et,H`
82
82
  :host {
83
83
  border: 0.0625rem solid transparent;
84
84
  cursor: pointer;
@@ -136,7 +136,7 @@
136
136
  :host([size='20']) {
137
137
  height: var(--mdc-button-height-size-20);
138
138
  }
139
- `,...St()],$h=Dv;var sr=class extends Fh(gr($t(q))){constructor(){super();this.size=Is.SIZE;this.role=Is.ROLE;this.type=Is.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this,this.disabled),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||Is.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===yo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===yo.RESET&&this.form&&this.form.reset()}setActive(e,s){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{s===!0?e.setAttribute(h.trim(),"true"):s===!1?e.setAttribute(h.trim(),"false"):e.removeAttribute(h.trim())})}setSoftDisabled(e,s){s?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}setDisabled(e,s){s?(e.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),e.removeAttribute("aria-disabled"))}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(e){["Enter"," "].includes(e.key)&&(this.classList.add("pressed"),e.key==="Enter"&&this.triggerClickEvent(),e.preventDefault())}handleKeyUp(e){["Enter"," "].includes(e.key)&&(this.classList.remove("pressed"),e.key===" "&&this.triggerClickEvent())}render(){return O` <slot></slot> `}};sr.formAssociated=!0,sr.styles=[...q.styles,...$h],v([E({type:Boolean,reflect:!0})],sr.prototype,"active",2),v([E({type:Boolean,attribute:"soft-disabled",reflect:!0})],sr.prototype,"softDisabled",2),v([E({type:Number,reflect:!0})],sr.prototype,"size",2),v([E({type:String,reflect:!0})],sr.prototype,"role",2),v([E({type:String,reflect:!0})],sr.prototype,"ariaStateKey",2),v([E({reflect:!0})],sr.prototype,"type",2);var ke=sr;var Fv=H`
139
+ `,...St()],zh=Fv;var sr=class extends $h(gr(Ft(q))){constructor(){super();this.size=ks.SIZE;this.role=ks.ROLE;this.type=ks.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this,this.disabled),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||ks.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===Eo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===Eo.RESET&&this.form&&this.form.reset()}setActive(e,s){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{s===!0?e.setAttribute(h.trim(),"true"):s===!1?e.setAttribute(h.trim(),"false"):e.removeAttribute(h.trim())})}setSoftDisabled(e,s){s?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}setDisabled(e,s){s?(e.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),e.removeAttribute("aria-disabled"))}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(e){["Enter"," "].includes(e.key)&&(this.classList.add("pressed"),e.key==="Enter"&&this.triggerClickEvent(),e.preventDefault())}handleKeyUp(e){["Enter"," "].includes(e.key)&&(this.classList.remove("pressed"),e.key===" "&&this.triggerClickEvent())}render(){return O` <slot></slot> `}};sr.formAssociated=!0,sr.styles=[...q.styles,...zh],v([E({type:Boolean,reflect:!0})],sr.prototype,"active",2),v([E({type:Boolean,attribute:"soft-disabled",reflect:!0})],sr.prototype,"softDisabled",2),v([E({type:Number,reflect:!0})],sr.prototype,"size",2),v([E({type:String,reflect:!0})],sr.prototype,"role",2),v([E({type:String,reflect:!0})],sr.prototype,"ariaStateKey",2),v([E({reflect:!0})],sr.prototype,"type",2);var ke=sr;var $v=H`
140
140
  :host {
141
141
  height: 1.5rem;
142
142
  gap: 0.25rem;
@@ -238,12 +238,12 @@
238
238
  :host([variant='informational']:active) {
239
239
  --mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
240
240
  }
241
- `,zh=[Et,Fv,...St()];var ks=j.constructTagName("text"),it={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"},bt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},Oe={TYPE:it.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:bt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Vh=j.constructTagName("alertchip"),Li={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},Eo={VARIANT:Li.NEUTRAL,TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,SIZE:Ci[24],ROLE:"button"};var Bh=l=>({[Li.ERROR]:"error-legacy-badge-filled",[Li.WARNING]:"warning-badge-filled",[Li.SUCCESS]:"check-circle-badge-filled",[Li.INFORMATIONAL]:"info-badge-filled",[Li.NEUTRAL]:"dnd-presence-badge-filled"})[l];var To=class extends ke{constructor(){super(...arguments);this.variant=Eo.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=Eo.SIZE,this.role=Eo.ROLE}render(){return O`
242
- <mdc-icon part="icon" name="${Bh(this.variant)}" length-unit="rem" size="1"></mdc-icon>
243
- ${this.label?O`<mdc-text part="label" type="${Eo.TEXT_TYPE}" tagname="${Eo.TAG_NAME}"
241
+ `,Vh=[Et,$v,...St()];var Cs=j.constructTagName("text"),it={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"},bt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},Oe={TYPE:it.BODY_LARGE_REGULAR,TEXT_ELEMENT_TAGNAME:bt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Bh=j.constructTagName("alertchip"),Li={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},To={VARIANT:Li.NEUTRAL,TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,SIZE:wi[24],ROLE:"button"};var Uh=l=>({[Li.ERROR]:"error-legacy-badge-filled",[Li.WARNING]:"warning-badge-filled",[Li.SUCCESS]:"check-circle-badge-filled",[Li.INFORMATIONAL]:"info-badge-filled",[Li.NEUTRAL]:"dnd-presence-badge-filled"})[l];var xo=class extends ke{constructor(){super(...arguments);this.variant=To.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=To.SIZE,this.role=To.ROLE}render(){return O`
242
+ <mdc-icon part="icon" name="${Uh(this.variant)}" length-unit="rem" size="1"></mdc-icon>
243
+ ${this.label?O`<mdc-text part="label" type="${To.TEXT_TYPE}" tagname="${To.TAG_NAME}"
244
244
  >${this.label}</mdc-text
245
245
  >`:Y}
246
- `}};To.styles=[...q.styles,...zh],v([E({type:String})],To.prototype,"variant",2),v([E({type:String})],To.prototype,"label",2);var Rl=To;var Uh=H`
246
+ `}};xo.styles=[...q.styles,...Vh],v([E({type:String})],xo.prototype,"variant",2),v([E({type:String})],xo.prototype,"label",2);var Rl=xo;var Gh=H`
247
247
  :host::part(text) {
248
248
  font-size: unset;
249
249
  font-weight: unset;
@@ -486,14 +486,14 @@
486
486
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
487
487
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
488
488
  }
489
- `;var $v=[H`
489
+ `;var zv=[H`
490
490
  :host {
491
491
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
492
492
 
493
493
  display: block;
494
494
  font-family: var(--mdc-text-font-family);
495
495
  }
496
- `,Uh],Gh=$v;var xo=class extends q{constructor(){super(...arguments);this.type=Oe.TYPE;this.tagname=Oe.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case bt.H1:return O`<h1 part=${Oe.CSS_PART_TEXT}><slot></slot></h1>`;case bt.H2:return O`<h2 part=${Oe.CSS_PART_TEXT}><slot></slot></h2>`;case bt.H3:return O`<h3 part=${Oe.CSS_PART_TEXT}><slot></slot></h3>`;case bt.H4:return O`<h4 part=${Oe.CSS_PART_TEXT}><slot></slot></h4>`;case bt.H5:return O`<h5 part=${Oe.CSS_PART_TEXT}><slot></slot></h5>`;case bt.H6:return O`<h6 part=${Oe.CSS_PART_TEXT}><slot></slot></h6>`;case bt.DIV:return O`<div part=${Oe.CSS_PART_TEXT}><slot></slot></div>`;case bt.SPAN:return O`<span part=${Oe.CSS_PART_TEXT}><slot></slot></span>`;case bt.SMALL:return O`<small part=${Oe.CSS_PART_TEXT}><slot></slot></small>`;case bt.P:default:return O`<p part=${Oe.CSS_PART_TEXT}><slot></slot></p>`}}};xo.styles=[...q.styles,...Gh],v([E({attribute:"type",reflect:!0,type:String})],xo.prototype,"type",2),v([E({attribute:"tagname",reflect:!0,type:String})],xo.prototype,"tagname",2);var Ol=xo;Ol.register(ks);var zv=Ol;var Vv=l=>{let{host:o,context:e,subscribe:s}=l;return new go(o,{context:e,subscribe:s!=null?s:!0})},Bv={consume:Vv},Ao=Bv;var Ha=j.constructTagName("iconprovider"),Hh=["svg"],jh=["em","rem","px","%"],Uv={px:16,em:1,rem:1,"%":100},Or={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:Uv.em,SHOULD_CACHE:!1,ICON_SET:"momentum-icons"};var ja=class{};ja.context=Ha;var Wa=ja;var br=class extends si{constructor(){super({context:Wa.context,initialValue:new Wa});this.iconSet=Or.ICON_SET;this.fileExtension=Or.FILE_EXTENSION;this.lengthUnit=Or.LENGTH_UNIT;this.size=Or.SIZE}static get Context(){return Wa.context}updateValuesInContext(){this.fileExtension&&Hh.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Or.FILE_EXTENSION,this.context.value.fileExtension=Or.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&jh.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=Or.LENGTH_UNIT,this.context.value.lengthUnit=Or.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};v([E({type:String,attribute:"icon-set",reflect:!0})],br.prototype,"iconSet",2),v([E({type:String})],br.prototype,"url",2),v([E({type:String,attribute:"file-extension",reflect:!0})],br.prototype,"fileExtension",2),v([E({type:String,attribute:"length-unit",reflect:!0})],br.prototype,"lengthUnit",2),v([E({type:Number,reflect:!0})],br.prototype,"size",2),v([E({type:String,attribute:"cache-strategy"})],br.prototype,"cacheStrategy",2),v([E({type:String,attribute:"cache-name"})],br.prototype,"cacheName",2);var ws=br;var Gv=[Et,H`
496
+ `,Gh],Hh=zv;var Ao=class extends q{constructor(){super(...arguments);this.type=Oe.TYPE;this.tagname=Oe.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case bt.H1:return O`<h1 part=${Oe.CSS_PART_TEXT}><slot></slot></h1>`;case bt.H2:return O`<h2 part=${Oe.CSS_PART_TEXT}><slot></slot></h2>`;case bt.H3:return O`<h3 part=${Oe.CSS_PART_TEXT}><slot></slot></h3>`;case bt.H4:return O`<h4 part=${Oe.CSS_PART_TEXT}><slot></slot></h4>`;case bt.H5:return O`<h5 part=${Oe.CSS_PART_TEXT}><slot></slot></h5>`;case bt.H6:return O`<h6 part=${Oe.CSS_PART_TEXT}><slot></slot></h6>`;case bt.DIV:return O`<div part=${Oe.CSS_PART_TEXT}><slot></slot></div>`;case bt.SPAN:return O`<span part=${Oe.CSS_PART_TEXT}><slot></slot></span>`;case bt.SMALL:return O`<small part=${Oe.CSS_PART_TEXT}><slot></slot></small>`;case bt.P:default:return O`<p part=${Oe.CSS_PART_TEXT}><slot></slot></p>`}}};Ao.styles=[...q.styles,...Hh],v([E({attribute:"type",reflect:!0,type:String})],Ao.prototype,"type",2),v([E({attribute:"tagname",reflect:!0,type:String})],Ao.prototype,"tagname",2);var Ol=Ao;Ol.register(Cs);var Vv=Ol;var Bv=l=>{let{host:o,context:e,subscribe:s}=l;return new bo(o,{context:e,subscribe:s!=null?s:!0})},Uv={consume:Bv},_o=Uv;var Ha=j.constructTagName("iconprovider"),jh=["svg"],Wh=["em","rem","px","%"],Gv={px:16,em:1,rem:1,"%":100},Or={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:Gv.em,SHOULD_CACHE:!1,ICON_SET:"momentum-icons"};var ja=class{};ja.context=Ha;var Wa=ja;var br=class extends si{constructor(){super({context:Wa.context,initialValue:new Wa});this.iconSet=Or.ICON_SET;this.fileExtension=Or.FILE_EXTENSION;this.lengthUnit=Or.LENGTH_UNIT;this.size=Or.SIZE}static get Context(){return Wa.context}updateValuesInContext(){this.fileExtension&&jh.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Or.FILE_EXTENSION,this.context.value.fileExtension=Or.FILE_EXTENSION),this.context.value.iconSet=this.iconSet,this.context.value.url=this.url,this.context.value.size=this.size,this.context.value.cacheName=this.cacheName,this.context.value.cacheStrategy=this.cacheStrategy,this.lengthUnit&&Wh.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=Or.LENGTH_UNIT,this.context.value.lengthUnit=Or.LENGTH_UNIT)}updateContext(){(this.context.value.fileExtension!==this.fileExtension||this.context.value.iconSet!==this.iconSet||this.context.value.url!==this.url||this.context.value.lengthUnit!==this.lengthUnit||this.context.value.size!==this.size||this.context.value.cacheName!==this.cacheName||this.context.value.cacheStrategy!==this.cacheStrategy)&&(this.updateValuesInContext(),this.context.updateObservers())}};v([E({type:String,attribute:"icon-set",reflect:!0})],br.prototype,"iconSet",2),v([E({type:String})],br.prototype,"url",2),v([E({type:String,attribute:"file-extension",reflect:!0})],br.prototype,"fileExtension",2),v([E({type:String,attribute:"length-unit",reflect:!0})],br.prototype,"lengthUnit",2),v([E({type:Number,reflect:!0})],br.prototype,"size",2),v([E({type:String,attribute:"cache-strategy"})],br.prototype,"cacheStrategy",2),v([E({type:String,attribute:"cache-name"})],br.prototype,"cacheName",2);var ws=br;var Hv=[Et,H`
497
497
  :host {
498
498
  --mdc-icon-fill-color: currentColor;
499
499
  --mdc-icon-size: var(--computed-icon-size);
@@ -508,11 +508,11 @@
508
508
  width: 100%;
509
509
  fill: var(--mdc-icon-fill-color);
510
510
  }
511
- `,...St()],Wh=Gv;var Cs={},Yh=async l=>(Cs[l]===void 0&&(Cs[l]=new Map),{async set(o,e){Cs[l].set(o.url,await e.text())},async get(o){return Cs[l].get(o.url)},async delete(o){Cs[l].delete(o.url)}}),qh=async l=>{let o=await caches.open(l);return{set:async(e,s)=>{await o.put(e,s)},get:async e=>{let s=await o.match(e);return s==null?void 0:s.text()},delete:async e=>{await o.delete(e)}}},Kh=async(l,o)=>o==="in-memory-cache"?Yh(l):qh(l);var Xh=async l=>fetch(l).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),Zh=async({url:l,name:o,fileExtension:e,cacheStrategy:s,cacheName:n,renewSignal:h})=>{let m=h(),T=new Request(`${l}/${o}.${e}`,{signal:m});return!n||!s||!["in-memory-cache","web-cache-api"].includes(s)?Xh(T).then(L=>L.text()):Kh(n,s).then(L=>L.get(T).then($=>$||Xh(T.clone()).then(W=>{var K;return W.status<400&&W.headers.has("content-type")?(K=L.set)==null?void 0:K.call(L,T,W.clone()).then(()=>W.text()):W.text()})).catch($=>{throw new Error(`Error in caching the Icon ${o}, ${$}`)}))};var Jh=j.constructTagName("icon"),Pl={NAME:void 0,SIZE:1};var Pe=class extends q{constructor(){super();this.name=Pl.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=Ao.consume({host:this,context:ws.Context});this.abortController=new AbortController}prepareIconElement(e){let s=new DOMParser().parseFromString(e,"text/html").body.children[0];return this.name&&s.setAttribute("data-name",this.name),s.setAttribute("part","icon"),s.setAttribute("aria-hidden","true"),s}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:s,url:n,cacheName:h,iconSet:m,cacheStrategy:T}=this.iconProviderContext.value;if(m==="custom-icons"&&n&&s&&this.name){let L=()=>(this.abortController.abort(),this.abortController=new AbortController,this.abortController.signal);return Zh({url:n,name:this.name,fileExtension:s,cacheName:h,cacheStrategy:T,renewSignal:L}).then($=>{let W=this.prepareIconElement($);this.handleIconLoadedSuccess(W)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(L=>{this.handleIconLoadedSuccess(L.default())}).catch(L=>{this.handleIconLoadedFailure(L)})}let e=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(e),Promise.reject(e)}handleIconLoadedSuccess(e){this.iconData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleIconLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",s)}}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:Pl.SIZE}updated(e){var s,n,h,m;super.updated(e),e.has("name")&&this.getIconData().catch(T=>{T.name!=="AbortError"&&this.onerror&&this.onerror(T)}),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(n=this.iconProviderContext.value)==null?void 0:n.lengthUnit,this.updateSize()),this.sizeFromContext!==((h=this.iconProviderContext.value)==null?void 0:h.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}render(){return O` ${this.iconData} `}};Pe.styles=[...q.styles,...Wh],v([At()],Pe.prototype,"iconData",2),v([At()],Pe.prototype,"lengthUnitFromContext",2),v([At()],Pe.prototype,"sizeFromContext",2),v([E({type:String,reflect:!0})],Pe.prototype,"name",2),v([E({type:Number})],Pe.prototype,"size",2),v([E({type:String,attribute:"length-unit"})],Pe.prototype,"lengthUnit",2),v([E({type:String,attribute:"aria-label"})],Pe.prototype,"ariaLabel",2),v([E({type:String,attribute:"aria-labelledby"})],Pe.prototype,"ariaLabelledBy",2),v([At()],Pe.prototype,"abortController",2);var Dl=Pe;Dl.register(Jh);var Hv=Dl;Rl.register(Vh);var jv=Rl;var{I:zx}=Ch;var Ya=l=>l.strings===void 0;var Wv={},Qh=(l,o=Wv)=>l._$AH=o;var ar={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ni=l=>(...o)=>({_$litDirective$:l,values:o}),ai=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,e,s){this.t=o,this._$AM=e,this.i=s}_$AS(o,e){return this.update(o,e)}update(o,e){return this.render(...e)}};var Ls=(l,o)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let n of e)(s=n._$AO)==null||s.call(n,o,!1),Ls(n,o);return!0},qa=l=>{let o,e;do{if((o=l._$AM)===void 0)break;e=o._$AN,e.delete(l),l=o}while((e==null?void 0:e.size)===0)},tp=l=>{for(let o;o=l._$AM;l=o){let e=o._$AN;if(e===void 0)o._$AN=e=new Set;else if(e.has(l))break;e.add(l),Kv(o)}};function Yv(l){this._$AN!==void 0?(qa(this),this._$AM=l,tp(this)):this._$AM=l}function qv(l,o=!1,e=0){let s=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(o)if(Array.isArray(s))for(let h=e;h<s.length;h++)Ls(s[h],!1),qa(s[h]);else s!=null&&(Ls(s,!1),qa(s));else Ls(this,l)}var Kv=l=>{var o,e;l.type==ar.CHILD&&((o=l._$AP)!=null||(l._$AP=qv),(e=l._$AQ)!=null||(l._$AQ=Yv))},Ka=class extends ai{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,e,s){super._$AT(o,e,s),tp(this),this.isConnected=o._$AU}_$AO(o,e=!0){var s,n;o!==this.isConnected&&(this.isConnected=o,o?(s=this.reconnected)==null||s.call(this):(n=this.disconnected)==null||n.call(this)),e&&(Ls(this,o),qa(this))}setValue(o){if(Ya(this.t))this.t._$AI(o,this);else{let e=[...this.t._$AH];e[this.i]=o,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Xa=()=>new $l,$l=class{},Fl=new WeakMap,Za=Ni(class extends Ka{render(l){return Y}update(l,[o]){var s;let e=o!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=o,this.ht=(s=l.options)==null?void 0:s.host,this.rt(this.ct=l.element)),Y}rt(l){var o;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let e=(o=this.ht)!=null?o:globalThis,s=Fl.get(e);s===void 0&&(s=new WeakMap,Fl.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,o,e;return typeof this.Y=="function"?(o=Fl.get((l=this.ht)!=null?l:globalThis))==null?void 0:o.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var op=Tv(ep());var zl={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 Xv=[Et,H`
511
+ `,...St()],Yh=Hv;var Ls={},qh=async l=>(Ls[l]===void 0&&(Ls[l]=new Map),{async set(o,e){Ls[l].set(o.url,await e.text())},async get(o){return Ls[l].get(o.url)},async delete(o){Ls[l].delete(o.url)}}),Kh=async l=>{let o=await caches.open(l);return{set:async(e,s)=>{await o.put(e,s)},get:async e=>{let s=await o.match(e);return s==null?void 0:s.text()},delete:async e=>{await o.delete(e)}}},Xh=async(l,o)=>o==="in-memory-cache"?qh(l):Kh(l);var Zh=async l=>fetch(l).then(o=>{if(!o.ok)throw new Error("There was a problem while fetching the icon!");return o}),Jh=async({url:l,name:o,fileExtension:e,cacheStrategy:s,cacheName:n,renewSignal:h})=>{let m=h(),T=new Request(`${l}/${o}.${e}`,{signal:m});return!n||!s||!["in-memory-cache","web-cache-api"].includes(s)?Zh(T).then(L=>L.text()):Xh(n,s).then(L=>L.get(T).then($=>$||Zh(T.clone()).then(W=>{var K;return W.status<400&&W.headers.has("content-type")?(K=L.set)==null?void 0:K.call(L,T,W.clone()).then(()=>W.text()):W.text()})).catch($=>{throw new Error(`Error in caching the Icon ${o}, ${$}`)}))};var Qh=j.constructTagName("icon"),Pl={NAME:void 0,SIZE:1};var Pe=class extends q{constructor(){super();this.name=Pl.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=_o.consume({host:this,context:ws.Context});this.abortController=new AbortController}prepareIconElement(e){let s=new DOMParser().parseFromString(e,"text/html").body.children[0];return this.name&&s.setAttribute("data-name",this.name),s.setAttribute("part","icon"),s.setAttribute("aria-hidden","true"),s}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:s,url:n,cacheName:h,iconSet:m,cacheStrategy:T}=this.iconProviderContext.value;if(m==="custom-icons"&&n&&s&&this.name){let L=()=>(this.abortController.abort(),this.abortController=new AbortController,this.abortController.signal);return Jh({url:n,name:this.name,fileExtension:s,cacheName:h,cacheStrategy:T,renewSignal:L}).then($=>{let W=this.prepareIconElement($);this.handleIconLoadedSuccess(W)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(L=>{this.handleIconLoadedSuccess(L.default())}).catch(L=>{this.handleIconLoadedFailure(L)})}let e=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(e),Promise.reject(e)}handleIconLoadedSuccess(e){this.iconData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleIconLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}updateSize(){var e;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let s=`${this.computedIconSize}${(e=this.lengthUnit)!=null?e:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",s)}}get computedIconSize(){var e,s;return(s=(e=this.size)!=null?e:this.sizeFromContext)!=null?s:Pl.SIZE}updated(e){var s,n,h,m;super.updated(e),e.has("name")&&this.getIconData().catch(T=>{T.name!=="AbortError"&&this.onerror&&this.onerror(T)}),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(e.has("size")||e.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((s=this.iconProviderContext.value)==null?void 0:s.lengthUnit)&&(this.lengthUnitFromContext=(n=this.iconProviderContext.value)==null?void 0:n.lengthUnit,this.updateSize()),this.sizeFromContext!==((h=this.iconProviderContext.value)==null?void 0:h.size)&&(this.sizeFromContext=(m=this.iconProviderContext.value)==null?void 0:m.size,this.updateSize())}render(){return O` ${this.iconData} `}};Pe.styles=[...q.styles,...Yh],v([At()],Pe.prototype,"iconData",2),v([At()],Pe.prototype,"lengthUnitFromContext",2),v([At()],Pe.prototype,"sizeFromContext",2),v([E({type:String,reflect:!0})],Pe.prototype,"name",2),v([E({type:Number})],Pe.prototype,"size",2),v([E({type:String,attribute:"length-unit"})],Pe.prototype,"lengthUnit",2),v([E({type:String,attribute:"aria-label"})],Pe.prototype,"ariaLabel",2),v([E({type:String,attribute:"aria-labelledby"})],Pe.prototype,"ariaLabelledBy",2),v([At()],Pe.prototype,"abortController",2);var Dl=Pe;Dl.register(Qh);var jv=Dl;Rl.register(Bh);var Wv=Rl;var{I:Vx}=Lh;var Ya=l=>l.strings===void 0;var Yv={},tp=(l,o=Yv)=>l._$AH=o;var ar={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Ni=l=>(...o)=>({_$litDirective$:l,values:o}),ai=class{constructor(o){}get _$AU(){return this._$AM._$AU}_$AT(o,e,s){this.t=o,this._$AM=e,this.i=s}_$AS(o,e){return this.update(o,e)}update(o,e){return this.render(...e)}};var Ns=(l,o)=>{var s;let e=l._$AN;if(e===void 0)return!1;for(let n of e)(s=n._$AO)==null||s.call(n,o,!1),Ns(n,o);return!0},qa=l=>{let o,e;do{if((o=l._$AM)===void 0)break;e=o._$AN,e.delete(l),l=o}while((e==null?void 0:e.size)===0)},ep=l=>{for(let o;o=l._$AM;l=o){let e=o._$AN;if(e===void 0)o._$AN=e=new Set;else if(e.has(l))break;e.add(l),Xv(o)}};function qv(l){this._$AN!==void 0?(qa(this),this._$AM=l,ep(this)):this._$AM=l}function Kv(l,o=!1,e=0){let s=this._$AH,n=this._$AN;if(n!==void 0&&n.size!==0)if(o)if(Array.isArray(s))for(let h=e;h<s.length;h++)Ns(s[h],!1),qa(s[h]);else s!=null&&(Ns(s,!1),qa(s));else Ns(this,l)}var Xv=l=>{var o,e;l.type==ar.CHILD&&((o=l._$AP)!=null||(l._$AP=Kv),(e=l._$AQ)!=null||(l._$AQ=qv))},Ka=class extends ai{constructor(){super(...arguments),this._$AN=void 0}_$AT(o,e,s){super._$AT(o,e,s),ep(this),this.isConnected=o._$AU}_$AO(o,e=!0){var s,n;o!==this.isConnected&&(this.isConnected=o,o?(s=this.reconnected)==null||s.call(this):(n=this.disconnected)==null||n.call(this)),e&&(Ns(this,o),qa(this))}setValue(o){if(Ya(this.t))this.t._$AI(o,this);else{let e=[...this.t._$AH];e[this.i]=o,this.t._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Xa=()=>new $l,$l=class{},Fl=new WeakMap,Za=Ni(class extends Ka{render(l){return Y}update(l,[o]){var s;let e=o!==this.Y;return e&&this.Y!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.Y=o,this.ht=(s=l.options)==null?void 0:s.host,this.rt(this.ct=l.element)),Y}rt(l){var o;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let e=(o=this.ht)!=null?o:globalThis,s=Fl.get(e);s===void 0&&(s=new WeakMap,Fl.set(e,s)),s.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),s.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,o,e;return typeof this.Y=="function"?(o=Fl.get((l=this.ht)!=null?l:globalThis))==null?void 0:o.get(this.Y):(e=this.Y)==null?void 0:e.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var sp=xv(rp());var zl={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 Zv=[Et,H`
512
512
  :host svg {
513
513
  display: block;
514
514
  }
515
- `],rp=Xv;var ip=j.constructTagName("animation"),Qa={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var Pr=class extends q{constructor(){super(...arguments);this.name=Qa.NAME;this.loop=Qa.LOOP;this.autoplay=Qa.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=Xa();this.onCompleteHandler=()=>{let e=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(e)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(e){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=op.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:e,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}getAnimationData(){this.name&&zl[this.name]?import(`@momentum-design/animations/dist/lottie${zl[this.name].replace(/^\.\/lottie/,"")}`).then(s=>this.onLoadSuccessHandler(s.default)).catch(s=>this.onLoadFailHandler(s)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(e){super.updated(e),(e.has("name")||e.has("loop")||e.has("autoplay"))&&this.getAnimationData(),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}render(){return O`<div aria-hidden="true" ${Za(this.containerRef)}></div>`}};Pr.styles=[...q.styles,...rp],v([E({type:String,reflect:!0})],Pr.prototype,"name",2),v([E({type:String,reflect:!0})],Pr.prototype,"loop",2),v([E({type:Boolean,reflect:!0})],Pr.prototype,"autoplay",2),v([E({type:String,attribute:"aria-label"})],Pr.prototype,"ariaLabel",2),v([E({type:String,attribute:"aria-labelledby"})],Pr.prototype,"ariaLabelledBy",2);var Vl=Pr;Vl.register(ip);var Zv=Vl;var Jv=H`
515
+ `],ip=Zv;var op=j.constructTagName("animation"),Qa={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var Pr=class extends q{constructor(){super(...arguments);this.name=Qa.NAME;this.loop=Qa.LOOP;this.autoplay=Qa.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=Xa();this.onCompleteHandler=()=>{let e=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(e)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(e){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=sp.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:e,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}getAnimationData(){this.name&&zl[this.name]?import(`@momentum-design/animations/dist/lottie${zl[this.name].replace(/^\.\/lottie/,"")}`).then(s=>this.onLoadSuccessHandler(s.default)).catch(s=>this.onLoadFailHandler(s)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(e){super.updated(e),(e.has("name")||e.has("loop")||e.has("autoplay"))&&this.getAnimationData(),(e.has("ariaLabel")||e.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}render(){return O`<div aria-hidden="true" ${Za(this.containerRef)}></div>`}};Pr.styles=[...q.styles,...ip],v([E({type:String,reflect:!0})],Pr.prototype,"name",2),v([E({type:String,reflect:!0})],Pr.prototype,"loop",2),v([E({type:Boolean,reflect:!0})],Pr.prototype,"autoplay",2),v([E({type:String,attribute:"aria-label"})],Pr.prototype,"ariaLabel",2),v([E({type:String,attribute:"aria-labelledby"})],Pr.prototype,"ariaLabelledBy",2);var Vl=Pr;Vl.register(op);var Jv=Vl;var Qv=H`
516
516
  :host {
517
517
  --mdc-appheader-height: 4rem;
518
518
  }
@@ -545,7 +545,7 @@
545
545
  :host::part(trailing-section) {
546
546
  justify-content: flex-end;
547
547
  }
548
- `,sp=[Jv];var tn=class extends q{render(){return O` <header part="container">
548
+ `,ap=[Qv];var tn=class extends q{render(){return O` <header part="container">
549
549
  <div part="leading-section">
550
550
  <slot name="leading"></slot>
551
551
  </div>
@@ -555,7 +555,7 @@
555
555
  <div part="trailing-section">
556
556
  <slot name="trailing"></slot>
557
557
  </div>
558
- </header>`}};tn.styles=[...q.styles,...sp];var Bl=tn;var ap=j.constructTagName("appheader");Bl.register(ap);var Qv=Bl;var at=l=>l!=null?l:Y;var np=j.constructTagName("avatar"),me={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Ul=99,tg="user-regular",Pt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},_o={TYPE:me.PHOTO,SIZE:Pt[32],ICON_NAME:tg};var en=l=>{class o extends l{constructor(){super(...arguments);this.size=_o.SIZE;this.isTyping=!1}}return v([E({type:String})],o.prototype,"src",2),v([E({type:String})],o.prototype,"initials",2),v([E({type:String})],o.prototype,"presence",2),v([E({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),v([E({type:Number})],o.prototype,"counter",2),v([E({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var ce=l=>{class o extends l{}return v([E({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var eg=[Et,H`
558
+ </header>`}};tn.styles=[...q.styles,...ap];var Bl=tn;var np=j.constructTagName("appheader");Bl.register(np);var tg=Bl;var at=l=>l!=null?l:Y;var lp=j.constructTagName("avatar"),me={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Ul=99,eg="user-regular",Pt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},So={TYPE:me.PHOTO,SIZE:Pt[32],ICON_NAME:eg};var en=l=>{class o extends l{constructor(){super(...arguments);this.size=So.SIZE;this.isTyping=!1}}return v([E({type:String})],o.prototype,"src",2),v([E({type:String})],o.prototype,"initials",2),v([E({type:String})],o.prototype,"presence",2),v([E({type:Number,reflect:!0,attribute:"size"})],o.prototype,"size",2),v([E({type:Number})],o.prototype,"counter",2),v([E({type:Boolean,attribute:"is-typing"})],o.prototype,"isTyping",2),o};var ce=l=>{class o extends l{}return v([E({type:String,attribute:"icon-name"})],o.prototype,"iconName",2),o};var rg=[Et,H`
559
559
  :host {
560
560
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
561
561
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -682,8 +682,8 @@
682
682
  outline: 0.125rem solid;
683
683
  }
684
684
  }
685
- `],lp=eg;var cp=j.constructTagName("presence"),de={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"},Qt={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},So={TYPE:de.ACTIVE,SIZE:Qt.SMALL};var dp=l=>({[Pt[124]]:Qt.XX_LARGE,[Pt[88]]:Qt.X_LARGE,[Pt[72]]:Qt.LARGE,[Pt[64]]:Qt.MIDSIZE,[Pt[48]]:Qt.SMALL,[Pt[32]]:Qt.X_SMALL,[Pt[24]]:Qt.XX_SMALL})[l]||Qt.X_SMALL,hp=l=>({[Pt[124]]:4.75,[Pt[88]]:3,[Pt[72]]:2.5,[Pt[64]]:2.25,[Pt[48]]:1.75,[Pt[32]]:1.25,[Pt[24]]:1})[l]||1.25,pp=l=>({[Pt[124]]:it.HEADING_XLARGE_MEDIUM,[Pt[88]]:it.HEADING_LARGE_MEDIUM,[Pt[72]]:it.HEADING_MIDSIZE_MEDIUM,[Pt[64]]:it.HEADING_SMALL_MEDIUM,[Pt[48]]:it.HEADING_SMALL_MEDIUM,[Pt[32]]:it.BODY_MIDSIZE_MEDIUM,[Pt[24]]:it.BODY_SMALL_MEDIUM})[l]||it.BODY_MIDSIZE_MEDIUM;var Ms=class extends en(ce(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(e){return e===me.COUNTER&&(this.counter||this.counter===0)||this.isTyping?Y:this.presence?O`
686
- <mdc-presence part="presence" type="${this.presence}" size="${dp(this.size)}"></mdc-presence>
685
+ `],cp=rg;var dp=j.constructTagName("presence"),de={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"},Qt={XX_SMALL:"xx_small",X_SMALL:"x_small",SMALL:"small",MIDSIZE:"midsize",LARGE:"large",X_LARGE:"x_large",XX_LARGE:"xx_large"},Io={TYPE:de.ACTIVE,SIZE:Qt.SMALL};var hp=l=>({[Pt[124]]:Qt.XX_LARGE,[Pt[88]]:Qt.X_LARGE,[Pt[72]]:Qt.LARGE,[Pt[64]]:Qt.MIDSIZE,[Pt[48]]:Qt.SMALL,[Pt[32]]:Qt.X_SMALL,[Pt[24]]:Qt.XX_SMALL})[l]||Qt.X_SMALL,pp=l=>({[Pt[124]]:4.75,[Pt[88]]:3,[Pt[72]]:2.5,[Pt[64]]:2.25,[Pt[48]]:1.75,[Pt[32]]:1.25,[Pt[24]]:1})[l]||1.25,mp=l=>({[Pt[124]]:it.HEADING_XLARGE_MEDIUM,[Pt[88]]:it.HEADING_LARGE_MEDIUM,[Pt[72]]:it.HEADING_MIDSIZE_MEDIUM,[Pt[64]]:it.HEADING_SMALL_MEDIUM,[Pt[48]]:it.HEADING_SMALL_MEDIUM,[Pt[32]]:it.BODY_MIDSIZE_MEDIUM,[Pt[24]]:it.BODY_SMALL_MEDIUM})[l]||it.BODY_MIDSIZE_MEDIUM;var Rs=class extends en(ce(q)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(e){return e===me.COUNTER&&(this.counter||this.counter===0)||this.isTyping?Y:this.presence?O`
686
+ <mdc-presence part="presence" type="${this.presence}" size="${hp(this.size)}"></mdc-presence>
687
687
  `:Y}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 O`
688
688
  <img
689
689
  part="photo"
@@ -693,14 +693,14 @@
693
693
  @load="${this.handleOnLoad}"
694
694
  @error="${this.handleOnError}"
695
695
  />
696
- `}iconTemplate(){let e=this.iconName||_o.ICON_NAME;return O`
697
- <mdc-icon name="${at(e)}" length-unit="rem" size="${hp(this.size)}"></mdc-icon>
698
- `}textTemplate(e){return O` <mdc-text type="${pp(this.size)}" tagname="span"> ${e} </mdc-text> `}generateCounterText(e){return e<0?"0":e>Ul?`${Ul}+`:e.toString()}generateInitialsText(e){return e.toUpperCase().slice(0,2)}generateTextContent(e){let s="";return e===me.TEXT&&this.initials&&(s=this.generateInitialsText(this.initials)),e===me.COUNTER&&(this.counter||this.counter===0)&&(s=this.generateCounterText(this.counter)),this.textTemplate(s)}getTypeBasedOnInputs(){return this.src?me.PHOTO:this.iconName?me.ICON:this.initials?me.TEXT:this.counter||this.counter===0?me.COUNTER:me.ICON}getTemplateBasedOnType(e){switch(e){case me.PHOTO:return this.photoTemplate();case me.TEXT:case me.COUNTER:return this.generateTextContent(e);case me.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?O`<div part="loading-wrapper"><div part="loader"></div></div>`:Y}getPhotoPlaceHolderContent(e){return this.isPhotoLoaded?Y:e===me.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():Y}update(e){super.update(e),e.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let e=this.getTypeBasedOnInputs();return O`
696
+ `}iconTemplate(){let e=this.iconName||So.ICON_NAME;return O`
697
+ <mdc-icon name="${at(e)}" length-unit="rem" size="${pp(this.size)}"></mdc-icon>
698
+ `}textTemplate(e){return O` <mdc-text type="${mp(this.size)}" tagname="span"> ${e} </mdc-text> `}generateCounterText(e){return e<0?"0":e>Ul?`${Ul}+`:e.toString()}generateInitialsText(e){return e.toUpperCase().slice(0,2)}generateTextContent(e){let s="";return e===me.TEXT&&this.initials&&(s=this.generateInitialsText(this.initials)),e===me.COUNTER&&(this.counter||this.counter===0)&&(s=this.generateCounterText(this.counter)),this.textTemplate(s)}getTypeBasedOnInputs(){return this.src?me.PHOTO:this.iconName?me.ICON:this.initials?me.TEXT:this.counter||this.counter===0?me.COUNTER:me.ICON}getTemplateBasedOnType(e){switch(e){case me.PHOTO:return this.photoTemplate();case me.TEXT:case me.COUNTER:return this.generateTextContent(e);case me.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?O`<div part="loading-wrapper"><div part="loader"></div></div>`:Y}getPhotoPlaceHolderContent(e){return this.isPhotoLoaded?Y:e===me.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():Y}update(e){super.update(e),e.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let e=this.getTypeBasedOnInputs();return O`
699
699
  <div part="content" aria-hidden="true">
700
700
  ${this.getPhotoPlaceHolderContent(e)} ${this.getTemplateBasedOnType(e)} ${this.getLoadingContent()}
701
701
  ${this.getPresenceTemplateBasedOnType(e)}
702
702
  </div>
703
- `}};Ms.styles=[...q.styles,...lp],v([At()],Ms.prototype,"isPhotoLoaded",2);var Gl=Ms;var rg=[Et,H`
703
+ `}};Rs.styles=[...q.styles,...cp],v([At()],Rs.prototype,"isPhotoLoaded",2);var Gl=Rs;var ig=[Et,H`
704
704
  :host {
705
705
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
706
706
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -794,7 +794,7 @@
794
794
  .mdc-presence-icon__scheduled {
795
795
  color: var(--mdc-presence-scheduled-background-color);
796
796
  }
797
- `],mp=rg;var up=l=>{switch(l){case de.AWAY:return"recents-presence-badge-filled";case de.AWAY_CALLING:return"away-calling-presence-filled";case de.BUSY:return"busy-presence-bold";case de.DND:return"dnd-presence-badge-filled";case de.MEETING:return"camera-filled";case de.ON_CALL:return"handset-filled";case de.ON_DEVICE:return"generic-device-video-badge-filled";case de.ON_MOBILE:return"phone-badge-filled";case de.PAUSE:return"pause-badge-filled";case de.PTO:return"pto-presence-filled";case de.PRESENTING:return"share-screen-badge-filled";case de.QUIET:return"quiet-hours-presence-filled";case de.SCHEDULED:return"meetings-presence-badge-filled";case de.ACTIVE:default:return"active-presence-small-filled"}};var Mi=class extends q{constructor(){super(...arguments);this.type=So.TYPE;this.size=So.SIZE;this.currentIconType=So.TYPE}get iconSize(){switch(this.size){case Qt.MIDSIZE:return 1.16125;case Qt.LARGE:return 1.30625;case Qt.X_LARGE:return 1.596875;case Qt.XX_LARGE:return 2.25;case Qt.XX_SMALL:case Qt.X_SMALL:case Qt.SMALL:default:return this.size=So.SIZE,.875}}get icon(){let e=up(this.type);return e==="active-presence-small-filled"&&(this.type=So.TYPE),e}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return O`
797
+ `],up=ig;var fp=l=>{switch(l){case de.AWAY:return"recents-presence-badge-filled";case de.AWAY_CALLING:return"away-calling-presence-filled";case de.BUSY:return"busy-presence-bold";case de.DND:return"dnd-presence-badge-filled";case de.MEETING:return"camera-filled";case de.ON_CALL:return"handset-filled";case de.ON_DEVICE:return"generic-device-video-badge-filled";case de.ON_MOBILE:return"phone-badge-filled";case de.PAUSE:return"pause-badge-filled";case de.PTO:return"pto-presence-filled";case de.PRESENTING:return"share-screen-badge-filled";case de.QUIET:return"quiet-hours-presence-filled";case de.SCHEDULED:return"meetings-presence-badge-filled";case de.ACTIVE:default:return"active-presence-small-filled"}};var Mi=class extends q{constructor(){super(...arguments);this.type=Io.TYPE;this.size=Io.SIZE;this.currentIconType=Io.TYPE}get iconSize(){switch(this.size){case Qt.MIDSIZE:return 1.16125;case Qt.LARGE:return 1.30625;case Qt.X_LARGE:return 1.596875;case Qt.XX_LARGE:return 2.25;case Qt.XX_SMALL:case Qt.X_SMALL:case Qt.SMALL:default:return this.size=Io.SIZE,.875}}get icon(){let e=fp(this.type);return e==="active-presence-small-filled"&&(this.type=Io.TYPE),e}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return O`
798
798
  <div class="mdc-presence mdc-presence__${this.size}">
799
799
  <mdc-icon
800
800
  class="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
@@ -804,7 +804,7 @@
804
804
  @error="${this.handleOnError}"
805
805
  ></mdc-icon>
806
806
  </div>
807
- `}};Mi.styles=[...q.styles,...mp],v([E({type:String,reflect:!0})],Mi.prototype,"type",2),v([E({type:String,reflect:!0})],Mi.prototype,"size",2),v([At()],Mi.prototype,"currentIconType",2);var Hl=Mi;Hl.register(cp);var ig=Hl;Gl.register(np);var og=Gl;var lt={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var Ri=j.constructTagName("button"),Ut={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Rs={40:40,32:32,28:28,24:24},ni={64:64,52:52,20:20,...Rs},Oi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},Io={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},we={VARIANT:Ut.PRIMARY,SIZE:Rs[32],COLOR:Oi.DEFAULT,TYPE_INTERNAL:Io.ICON,TYPE:yo.BUTTON,INVERTED:!1};var sg=[Et,H`
807
+ `}};Mi.styles=[...q.styles,...up],v([E({type:String,reflect:!0})],Mi.prototype,"type",2),v([E({type:String,reflect:!0})],Mi.prototype,"size",2),v([At()],Mi.prototype,"currentIconType",2);var Hl=Mi;Hl.register(dp);var og=Hl;Gl.register(lp);var sg=Gl;var lt={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var Ri=j.constructTagName("button"),Ut={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Os={40:40,32:32,28:28,24:24},ni={64:64,52:52,20:20,...Os},Oi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},ko={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Ce={VARIANT:Ut.PRIMARY,SIZE:Os[32],COLOR:Oi.DEFAULT,TYPE_INTERNAL:ko.ICON,TYPE:Eo.BUTTON,INVERTED:!1};var ag=[Et,H`
808
808
  :host {
809
809
  --mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
810
810
  --mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
@@ -833,7 +833,7 @@
833
833
  :host::part(presence) {
834
834
  z-index: 2;
835
835
  }
836
- `,...St()],fp=sg;var Os=class extends en(ce(ke)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=lt.BUTTON,this.type=we.TYPE}update(e){super.update(e),e.has("size")&&this.setSize(this.size)}setSize(e){this.setAttribute("size",Object.values(Pt).includes(e)?`${e}`:_o.SIZE.toString())}render(){return O`
836
+ `,...St()],vp=ag;var Ps=class extends en(ce(ke)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=lt.BUTTON,this.type=Ce.TYPE}update(e){super.update(e),e.has("size")&&this.setSize(this.size)}setSize(e){this.setAttribute("size",Object.values(Pt).includes(e)?`${e}`:So.SIZE.toString())}render(){return O`
837
837
  <div part="overlay" aria-hidden="true"></div>
838
838
  <mdc-avatar
839
839
  exportparts="content, photo, presence, loading-wrapper, loader"
@@ -845,7 +845,7 @@
845
845
  size="${at(this.size)}"
846
846
  src="${at(this.src)}"
847
847
  ></mdc-avatar>
848
- `}};Os.styles=[...fp],v([E({type:String,attribute:"aria-label"})],Os.prototype,"ariaLabel",2);var jl=Os;var vp=j.constructTagName("avatarbutton");jl.register(vp);var ag=jl;var ko=Ni(class extends ai{constructor(l){var o;if(super(l),l.type!==ar.ATTRIBUTE||l.name!=="class"||((o=l.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(l){return" "+Object.keys(l).filter(o=>l[o]).join(" ")+" "}update(l,[o]){var s,n;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in o)o[h]&&!((s=this.nt)!=null&&s.has(h))&&this.st.add(h);return this.render(o)}let e=l.element.classList;for(let h of this.st)h in o||(e.remove(h),this.st.delete(h));for(let h in o){let m=!!o[h];m===this.st.has(h)||(n=this.nt)!=null&&n.has(h)||(m?(e.add(h),this.st.add(h)):(e.remove(h),this.st.delete(h)))}return Ie}});var gp=j.constructTagName("badge"),Ue={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},rn={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},on={PRIMARY:"primary",SECONDARY:"secondary"},Ps={SUCCESS:"success",WARNING:"warning",ERROR:"error"},pS={...on,...Ps},li={TYPE:Ue.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:on.PRIMARY,ICON_SIZE:1};var ng=[Et,H`
848
+ `}};Ps.styles=[...vp],v([E({type:String,attribute:"aria-label"})],Ps.prototype,"ariaLabel",2);var jl=Ps;var gp=j.constructTagName("avatarbutton");jl.register(gp);var ng=jl;var Co=Ni(class extends ai{constructor(l){var o;if(super(l),l.type!==ar.ATTRIBUTE||l.name!=="class"||((o=l.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(l){return" "+Object.keys(l).filter(o=>l[o]).join(" ")+" "}update(l,[o]){var s,n;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in o)o[h]&&!((s=this.nt)!=null&&s.has(h))&&this.st.add(h);return this.render(o)}let e=l.element.classList;for(let h of this.st)h in o||(e.remove(h),this.st.delete(h));for(let h in o){let m=!!o[h];m===this.st.has(h)||(n=this.nt)!=null&&n.has(h)||(m?(e.add(h),this.st.add(h)):(e.remove(h),this.st.delete(h)))}return Ie}});var bp=j.constructTagName("badge"),Ue={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},rn={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},on={PRIMARY:"primary",SECONDARY:"secondary"},Ds={SUCCESS:"success",WARNING:"warning",ERROR:"error"},mS={...on,...Ds},li={TYPE:Ue.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:on.PRIMARY,ICON_SIZE:1};var lg=[Et,H`
849
849
  :host {
850
850
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
851
851
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -916,21 +916,21 @@
916
916
  outline: 0.125rem solid;
917
917
  }
918
918
  }
919
- `],bp=ng;var yr=class extends ce(q){constructor(){super(...arguments);this.variant=li.VARIANT;this.maxCounter=li.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(e,s){return s===void 0||typeof s!="number"||e===0?"":s>e?`${e}+`:e>li.MAX_COUNTER_LIMIT||s>li.MAX_COUNTER_LIMIT?`${li.MAX_COUNTER_LIMIT}+`:s.toString()}getBadgeIcon(e,s){return O`
919
+ `],yp=lg;var yr=class extends ce(q){constructor(){super(...arguments);this.variant=li.VARIANT;this.maxCounter=li.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(e,s){return s===void 0||typeof s!="number"||e===0?"":s>e?`${e}+`:e>li.MAX_COUNTER_LIMIT||s>li.MAX_COUNTER_LIMIT?`${li.MAX_COUNTER_LIMIT}+`:s.toString()}getBadgeIcon(e,s){return O`
920
920
  <mdc-icon
921
- class="mdc-badge-icon ${ko({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${s}`]:!0})}"
921
+ class="mdc-badge-icon ${Co({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${s}`]:!0})}"
922
922
  name="${at(e)}"
923
923
  size="${li.ICON_SIZE}"
924
924
  ></mdc-icon>
925
- `}getBadgeDot(){return O`<div class="mdc-badge-dot ${ko({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return O`
925
+ `}getBadgeDot(){return O`<div class="mdc-badge-dot ${Co({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return O`
926
926
  <mdc-text
927
927
  type="${it.BODY_SMALL_MEDIUM}"
928
928
  tagname="${bt.DIV}"
929
- class="mdc-badge-text ${ko({"mdc-badge-overlay":this.overlay})}"
929
+ class="mdc-badge-text ${Co({"mdc-badge-overlay":this.overlay})}"
930
930
  >
931
931
  ${this.getCounterText(this.maxCounter,this.counter)}
932
932
  </mdc-text>
933
- `}setRoleByAriaLabel(){this.ariaLabel?this.role=lt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(on).includes(this.variant)&&(this.variant=li.VARIANT);let{iconName:e,type:s,variant:n}=this;switch(s){case Ue.ICON:return this.getBadgeIcon(e||"",n);case Ue.COUNTER:return this.getBadgeCounterText();case Ue.SUCCESS:return this.getBadgeIcon(rn.SUCCESS_ICON_NAME,Ps.SUCCESS);case Ue.WARNING:return this.getBadgeIcon(rn.WARNING_ICON_NAME,Ps.WARNING);case Ue.ERROR:return this.getBadgeIcon(rn.ERROR_ICON_NAME,Ps.ERROR);case Ue.DOT:default:return this.type=Ue.DOT,this.getBadgeDot()}}update(e){super.update(e),e.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};yr.styles=[...q.styles,...bp],v([E({type:String,reflect:!0})],yr.prototype,"type",2),v([E({type:String,reflect:!0})],yr.prototype,"variant",2),v([E({type:Number})],yr.prototype,"counter",2),v([E({type:Number,attribute:"max-counter",reflect:!0})],yr.prototype,"maxCounter",2),v([E({type:Boolean})],yr.prototype,"overlay",2),v([E({type:String,attribute:"aria-label"})],yr.prototype,"ariaLabel",2);var Wl=yr;Wl.register(gp);var lg=Wl;var cg=H`
933
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role=lt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(on).includes(this.variant)&&(this.variant=li.VARIANT);let{iconName:e,type:s,variant:n}=this;switch(s){case Ue.ICON:return this.getBadgeIcon(e||"",n);case Ue.COUNTER:return this.getBadgeCounterText();case Ue.SUCCESS:return this.getBadgeIcon(rn.SUCCESS_ICON_NAME,Ds.SUCCESS);case Ue.WARNING:return this.getBadgeIcon(rn.WARNING_ICON_NAME,Ds.WARNING);case Ue.ERROR:return this.getBadgeIcon(rn.ERROR_ICON_NAME,Ds.ERROR);case Ue.DOT:default:return this.type=Ue.DOT,this.getBadgeDot()}}update(e){super.update(e),e.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};yr.styles=[...q.styles,...yp],v([E({type:String,reflect:!0})],yr.prototype,"type",2),v([E({type:String,reflect:!0})],yr.prototype,"variant",2),v([E({type:Number})],yr.prototype,"counter",2),v([E({type:Number,attribute:"max-counter",reflect:!0})],yr.prototype,"maxCounter",2),v([E({type:Boolean})],yr.prototype,"overlay",2),v([E({type:String,attribute:"aria-label"})],yr.prototype,"ariaLabel",2);var Wl=yr;Wl.register(bp);var cg=Wl;var dg=H`
934
934
  :host {
935
935
  display: block;
936
936
  height: 100%;
@@ -939,7 +939,7 @@
939
939
  height: 100%;
940
940
  width: 100%;
941
941
  }
942
- `,yp=[cg];var Ep=j.constructTagName("brandvisual"),Tp={NAME:void 0};var wo=class extends q{constructor(){super(...arguments);this.name=Tp.NAME}async getBrandVisualData(){return this.name?import(`@momentum-design/brand-visuals/dist/logos/ts/${this.name}.ts`).then(e=>{this.handleBrandVisualLoadedSuccess(e.default())}).catch(e=>{this.handleBrandVisualLoadedFailure(e)}):(this.handleBrandVisualLoadedFailure(new Error("No brandvisual name provided.")),Promise.reject(new Error("No brandvisual name provided.")))}updated(e){super.updated(e),e.has("name")&&this.getBrandVisualData().catch(s=>{this.onerror&&this.onerror(s)})}handleBrandVisualLoadedSuccess(e){this.brandVisualData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleBrandVisualLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}render(){return O` ${this.brandVisualData} `}};wo.styles=[...q.styles,...yp],v([At()],wo.prototype,"brandVisualData",2),v([E({type:String,reflect:!0})],wo.prototype,"name",2);var Yl=wo;Yl.register(Ep);var dg=Yl;var hg=H`
942
+ `,Ep=[dg];var Tp=j.constructTagName("brandvisual"),xp={NAME:void 0};var wo=class extends q{constructor(){super(...arguments);this.name=xp.NAME}async getBrandVisualData(){return this.name?import(`@momentum-design/brand-visuals/dist/logos/ts/${this.name}.ts`).then(e=>{this.handleBrandVisualLoadedSuccess(e.default())}).catch(e=>{this.handleBrandVisualLoadedFailure(e)}):(this.handleBrandVisualLoadedFailure(new Error("No brandvisual name provided.")),Promise.reject(new Error("No brandvisual name provided.")))}updated(e){super.updated(e),e.has("name")&&this.getBrandVisualData().catch(s=>{this.onerror&&this.onerror(s)})}handleBrandVisualLoadedSuccess(e){this.brandVisualData=e;let s=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(s)}handleBrandVisualLoadedFailure(e){let s=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:e}});this.dispatchEvent(s)}render(){return O` ${this.brandVisualData} `}};wo.styles=[...q.styles,...Ep],v([At()],wo.prototype,"brandVisualData",2),v([E({type:String,reflect:!0})],wo.prototype,"name",2);var Yl=wo;Yl.register(Tp);var hg=Yl;var pg=H`
943
943
  :host {
944
944
  --mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
945
945
  --mdc-bullet-size-small: 0.25rem;
@@ -960,7 +960,7 @@
960
960
  :host([size='large']) {
961
961
  height: var(--mdc-bullet-size-large);
962
962
  }
963
- `,xp=[hg];var Ap=j.constructTagName("bullet"),_p={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var Ds=class extends q{constructor(){super(...arguments);this.size=_p.SMALL}};Ds.styles=[...q.styles,...xp],v([E({type:String,reflect:!0})],Ds.prototype,"size",2);var ql=Ds;ql.register(Ap);var pg=ql;var sn=l=>{class o extends l{constructor(){super(...arguments);this.variant=we.VARIANT;this.color=we.COLOR;this.typeInternal=we.TYPE_INTERNAL}setVariant(n){this.setAttribute("variant",Object.values(Ut).includes(n)?n:we.VARIANT)}setColor(n){!Object.values(Oi).includes(n)||this.variant===Ut.TERTIARY?this.setAttribute("color",`${we.COLOR}`):this.setAttribute("color",n)}setSize(n){let m=this.typeInternal===Io.ICON?Object.values(ni).includes(n)&&!(n===ni[20]&&this.variant!==Ut.TERTIARY):Object.values(Rs).includes(n);this.setAttribute("size",m?`${n}`:`${we.SIZE}`)}inferButtonType(){var h,m;let n=(m=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"))==null?void 0:m.assignedNodes().filter(T=>{var L;return T.nodeType!==Node.TEXT_NODE||((L=T.textContent)==null?void 0:L.trim())}).length;n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Io.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=Io.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=Io.PILL,this.setAttribute("data-btn-type","pill"))}}return v([E({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),v([E({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),v([E({type:String})],o.prototype,"variant",2),v([E({type:String})],o.prototype,"color",2),v([At()],o.prototype,"typeInternal",2),o};var mg=H`
963
+ `,Ap=[pg];var _p=j.constructTagName("bullet"),Sp={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var Fs=class extends q{constructor(){super(...arguments);this.size=Sp.SMALL}};Fs.styles=[...q.styles,...Ap],v([E({type:String,reflect:!0})],Fs.prototype,"size",2);var ql=Fs;ql.register(_p);var mg=ql;var sn=l=>{class o extends l{constructor(){super(...arguments);this.variant=Ce.VARIANT;this.color=Ce.COLOR;this.typeInternal=Ce.TYPE_INTERNAL}setVariant(n){this.setAttribute("variant",Object.values(Ut).includes(n)?n:Ce.VARIANT)}setColor(n){!Object.values(Oi).includes(n)||this.variant===Ut.TERTIARY?this.setAttribute("color",`${Ce.COLOR}`):this.setAttribute("color",n)}setSize(n){let m=this.typeInternal===ko.ICON?Object.values(ni).includes(n)&&!(n===ni[20]&&this.variant!==Ut.TERTIARY):Object.values(Os).includes(n);this.setAttribute("size",m?`${n}`:`${Ce.SIZE}`)}inferButtonType(){var h,m;let n=(m=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"))==null?void 0:m.assignedNodes().filter(T=>{var L;return T.nodeType!==Node.TEXT_NODE||((L=T.textContent)==null?void 0:L.trim())}).length;n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=ko.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!n&&(this.prefixIcon||this.postfixIcon)?(this.typeInternal=ko.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=ko.PILL,this.setAttribute("data-btn-type","pill"))}}return v([E({type:String,attribute:"prefix-icon",reflect:!0})],o.prototype,"prefixIcon",2),v([E({type:String,attribute:"postfix-icon",reflect:!0})],o.prototype,"postfixIcon",2),v([E({type:String})],o.prototype,"variant",2),v([E({type:String})],o.prototype,"color",2),v([At()],o.prototype,"typeInternal",2),o};var ug=H`
964
964
  :host {
965
965
  background-color: transparent;
966
966
  border-radius: 1.25rem;
@@ -1208,7 +1208,7 @@
1208
1208
  :host::part(postfix-icon) {
1209
1209
  flex-shrink: 0;
1210
1210
  }
1211
- `,Sp=[mg];var Pi=l=>{let o=l.split("-"),e=["bold","filled","regular","light"];return o.filter(s=>!e.includes(s)).join("-")};var Dr=class extends sn(ke){constructor(){super(...arguments);this.size=we.SIZE;this.inverted=we.INVERTED;this.role="button"}update(e){super.update(e),e.has("active")&&this.inferFilledIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(e){e?(this.prefixIcon&&(this.prefixFilledIconName=`${Pi(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${Pi(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return O`
1211
+ `,Ip=[ug];var Pi=l=>{let o=l.split("-"),e=["bold","filled","regular","light"];return o.filter(s=>!e.includes(s)).join("-")};var Dr=class extends sn(ke){constructor(){super(...arguments);this.size=Ce.SIZE;this.inverted=Ce.INVERTED;this.role="button"}update(e){super.update(e),e.has("active")&&this.inferFilledIconName(this.active),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(e){e?(this.prefixIcon&&(this.prefixFilledIconName=`${Pi(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${Pi(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return O`
1212
1212
  ${this.prefixFilledIconName?O` <mdc-icon
1213
1213
  name="${this.prefixFilledIconName}"
1214
1214
  part="prefix-icon"
@@ -1220,7 +1220,7 @@
1220
1220
  part="postfix-icon"
1221
1221
  length-unit="rem"
1222
1222
  ></mdc-icon>`:""}
1223
- `}};Dr.styles=[...ke.styles,...Sp],v([E({type:Number})],Dr.prototype,"size",2),v([E({type:Boolean,reflect:!0})],Dr.prototype,"inverted",2),v([E({type:String,reflect:!0})],Dr.prototype,"role",2),v([At()],Dr.prototype,"prefixFilledIconName",2),v([At()],Dr.prototype,"postfixFilledIconName",2);var Di=Dr;Di.register(Ri);var ug=Di;var Ip=j.constructTagName("buttongroup"),fg={40:40,32:32,28:28,24:24},vg={HORIZONTAL:"horizontal",VERTICAL:"vertical"},gg={PRIMARY:"primary",SECONDARY:"secondary"},an={SIZE:fg[28],VARIANT:gg.PRIMARY,ORIENTATION:vg.HORIZONTAL};var bg=H`
1223
+ `}};Dr.styles=[...ke.styles,...Ip],v([E({type:Number})],Dr.prototype,"size",2),v([E({type:Boolean,reflect:!0})],Dr.prototype,"inverted",2),v([E({type:String,reflect:!0})],Dr.prototype,"role",2),v([At()],Dr.prototype,"prefixFilledIconName",2),v([At()],Dr.prototype,"postfixFilledIconName",2);var Di=Dr;Di.register(Ri);var fg=Di;var kp=j.constructTagName("buttongroup"),vg={40:40,32:32,28:28,24:24},gg={HORIZONTAL:"horizontal",VERTICAL:"vertical"},bg={PRIMARY:"primary",SECONDARY:"secondary"},an={SIZE:vg[28],VARIANT:bg.PRIMARY,ORIENTATION:gg.HORIZONTAL};var yg=H`
1224
1224
  :host {
1225
1225
  --mdc-buttongroup-border-radius: 1.25rem;
1226
1226
  --mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1297,7 +1297,7 @@
1297
1297
  :host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
1298
1298
  width: 2.5rem;
1299
1299
  }
1300
- `,kp=[Et,bg];var Fr=class extends q{constructor(){super(...arguments);this.orientation=an.ORIENTATION;this.variant=an.VARIANT;this.size=an.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(e=>{e.setAttribute("size",this.size.toString()),e.setAttribute("variant",this.variant)})}updated(e){super.updated(e),(e.has("size")||e.has("variant"))&&this.handleSlotChange()}render(){return O`<slot @slotchange=${this.handleSlotChange}></slot>`}};Fr.styles=[...q.styles,...kp],v([E({type:String,reflect:!0})],Fr.prototype,"orientation",2),v([E({type:String,reflect:!0})],Fr.prototype,"variant",2),v([E({type:Number,reflect:!0})],Fr.prototype,"size",2),v([E({type:Boolean,reflect:!0})],Fr.prototype,"compact",2),v([Bt({selector:"mdc-button"})],Fr.prototype,"buttons",2);var Kl=Fr;Kl.register(Ip);var yg=Kl;var wp=j.constructTagName("linksimple"),Xl={INLINE:!1,INVERTED:!1};var Eg=[Et,H`
1300
+ `,Cp=[Et,yg];var Fr=class extends q{constructor(){super(...arguments);this.orientation=an.ORIENTATION;this.variant=an.VARIANT;this.size=an.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(e=>{e.setAttribute("size",this.size.toString()),e.setAttribute("variant",this.variant)})}updated(e){super.updated(e),(e.has("size")||e.has("variant"))&&this.handleSlotChange()}render(){return O`<slot @slotchange=${this.handleSlotChange}></slot>`}};Fr.styles=[...q.styles,...Cp],v([E({type:String,reflect:!0})],Fr.prototype,"orientation",2),v([E({type:String,reflect:!0})],Fr.prototype,"variant",2),v([E({type:Number,reflect:!0})],Fr.prototype,"size",2),v([E({type:Boolean,reflect:!0})],Fr.prototype,"compact",2),v([Bt({selector:"mdc-button"})],Fr.prototype,"buttons",2);var Kl=Fr;Kl.register(kp);var Eg=Kl;var wp=j.constructTagName("linksimple"),Xl={INLINE:!1,INVERTED:!1};var Tg=[Et,H`
1301
1301
  :host {
1302
1302
  --mdc-link-border-radius: 0.25rem;
1303
1303
  --mdc-link-color-active: var(--mds-color-theme-text-accent-active);
@@ -1363,11 +1363,11 @@
1363
1363
  text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
1364
1364
  text-transform: var(--mds-font-apps-body-large-regular-underline-text-case);
1365
1365
  }
1366
- `,...St()],Cp=Eg;var $r=class extends $t(gr(q)){constructor(){super(...arguments);this.inline=Xl.INLINE;this.inverted=Xl.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0;this.handleNavigation=e=>{if((e.type==="click"||e instanceof KeyboardEvent&&e.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation),this.addEventListener("keydown",this.handleNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation),this.removeEventListener("keydown",this.handleNavigation)}setDisabled(e){e?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return O` <slot></slot> `}};$r.styles=[...q.styles,...Cp],v([E({type:Boolean,reflect:!0})],$r.prototype,"inline",2),v([E({type:Boolean,reflect:!0})],$r.prototype,"inverted",2),v([E({type:String,reflect:!0})],$r.prototype,"href",2),v([E({type:String,reflect:!0})],$r.prototype,"target",2),v([E({type:String,reflect:!0})],$r.prototype,"rel",2);var ci=$r;var Co=class extends sn(ci){constructor(){super(...arguments);this.size=we.SIZE}setSoftDisabled(e,s){s?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}update(e){super.update(e),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}render(){return O`
1366
+ `,...St()],Lp=Tg;var $r=class extends Ft(gr(q)){constructor(){super(...arguments);this.inline=Xl.INLINE;this.inverted=Xl.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0;this.handleNavigation=e=>{if((e.type==="click"||e instanceof KeyboardEvent&&e.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation),this.addEventListener("keydown",this.handleNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation),this.removeEventListener("keydown",this.handleNavigation)}setDisabled(e){e?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(e){super.update(e),e.has("disabled")&&this.setDisabled(this.disabled)}render(){return O` <slot></slot> `}};$r.styles=[...q.styles,...Lp],v([E({type:Boolean,reflect:!0})],$r.prototype,"inline",2),v([E({type:Boolean,reflect:!0})],$r.prototype,"inverted",2),v([E({type:String,reflect:!0})],$r.prototype,"href",2),v([E({type:String,reflect:!0})],$r.prototype,"target",2),v([E({type:String,reflect:!0})],$r.prototype,"rel",2);var ci=$r;var Lo=class extends sn(ci){constructor(){super(...arguments);this.size=Ce.SIZE}setSoftDisabled(e,s){s?e.setAttribute("aria-disabled","true"):e.removeAttribute("aria-disabled")}update(e){super.update(e),e.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),e.has("size")&&this.setSize(this.size),e.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),e.has("color")&&this.setColor(this.color),e.has("typeInternal")&&this.setSize(this.size),(e.has("prefixIcon")||e.has("postfixIcon"))&&this.inferButtonType()}render(){return O`
1367
1367
  ${this.prefixIcon?O` <mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
1368
1368
  <slot @slotchange=${this.inferButtonType}></slot>
1369
1369
  ${this.postfixIcon?O` <mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
1370
- `}};Co.styles=[...Di.styles],v([E({type:Number,reflect:!0})],Co.prototype,"size",2),v([E({type:Boolean,attribute:"soft-disabled",reflect:!0})],Co.prototype,"softDisabled",2);var Zl=Co;var Lp=j.constructTagName("buttonlink");Zl.register(Lp);var Tg=Zl;var nn=j.constructTagName("link"),ln={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},cn={LARGE:1,MIDSIZE:.875,SMALL:.75},Np={LINK_SIZE:ln.LARGE};var Mp=j.constructTagName("card"),Jl={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},xg={HORIZONTAL:"horizontal",VERTICAL:"vertical"},te={VARIANT:Jl.BORDER,ORIENTATION:xg.VERTICAL,TITLE_TYPE:it.HEADING_SMALL_BOLD,SUBTITLE_TYPE:it.BODY_MIDSIZE_MEDIUM,TAGNAME:bt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:nn,BUTTON:Ri};var dn=l=>{class o extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=te.VARIANT;this.orientation=te.ORIENTATION;this.titleTagName=te.TAGNAME;this.subtitleTagName=te.TAGNAME}renderImage(){return this.imageSrc?O`<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />`:Y}renderIcon(){return this.iconName?O`<mdc-icon
1370
+ `}};Lo.styles=[...Di.styles],v([E({type:Number,reflect:!0})],Lo.prototype,"size",2),v([E({type:Boolean,attribute:"soft-disabled",reflect:!0})],Lo.prototype,"softDisabled",2);var Zl=Lo;var Np=j.constructTagName("buttonlink");Zl.register(Np);var xg=Zl;var nn=j.constructTagName("link"),ln={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},cn={LARGE:1,MIDSIZE:.875,SMALL:.75},Mp={LINK_SIZE:ln.LARGE};var Rp=j.constructTagName("card"),Jl={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},Ag={HORIZONTAL:"horizontal",VERTICAL:"vertical"},te={VARIANT:Jl.BORDER,ORIENTATION:Ag.VERTICAL,TITLE_TYPE:it.HEADING_SMALL_BOLD,SUBTITLE_TYPE:it.BODY_MIDSIZE_MEDIUM,TAGNAME:bt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:nn,BUTTON:Ri};var dn=l=>{class o extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=te.VARIANT;this.orientation=te.ORIENTATION;this.titleTagName=te.TAGNAME;this.subtitleTagName=te.TAGNAME}renderImage(){return this.imageSrc?O`<img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" />`:Y}renderIcon(){return this.iconName?O`<mdc-icon
1371
1371
  part="icon"
1372
1372
  size="${te.ICON_SIZE}"
1373
1373
  length-unit="${te.ICON_LENGTH_UNIT}"
@@ -1389,7 +1389,7 @@
1389
1389
  @slotchange=${()=>this.handleFooterSlot(te.BUTTON,Ut.PRIMARY)}
1390
1390
  ></slot>
1391
1391
  </div>
1392
- </slot>`}}return v([Bt({slot:"footer-link"})],o.prototype,"footerLink",2),v([Bt({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),v([Bt({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var Ag=H`
1392
+ </slot>`}}return v([Bt({slot:"footer-link"})],o.prototype,"footerLink",2),v([Bt({slot:"footer-button-primary"})],o.prototype,"footerButtonPrimary",2),v([Bt({slot:"footer-button-secondary"})],o.prototype,"footerButtonSecondary",2),o};var _g=H`
1393
1393
  :host {
1394
1394
  align-items: flex-start;
1395
1395
  border-radius: 0.5rem;
@@ -1475,7 +1475,7 @@
1475
1475
  ::slotted([slot='footer-button-secondary']) {
1476
1476
  margin-bottom: 0.5rem;
1477
1477
  }
1478
- `,Rp=[Et,Ag];var Fs=class extends dn(hn(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var e;if((e=this.iconButtons)==null||e.forEach(s=>{!s.matches(te.BUTTON)&&s.getAttribute("data-btn-type")!=="icon"?s.remove():(s.setAttribute("variant",Ut.TERTIARY),s.setAttribute("size","32"))}),this.iconButtons&&this.iconButtons.length>3)for(let s=3;s<this.iconButtons.length;s+=1)this.iconButtons[s].remove()}}update(e){super.update(e),e.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?O`<div part="header">
1478
+ `,Op=[Et,_g];var $s=class extends dn(hn(q)){constructor(){super(...arguments);this.handleIconButtons=()=>{var e;if((e=this.iconButtons)==null||e.forEach(s=>{!s.matches(te.BUTTON)&&s.getAttribute("data-btn-type")!=="icon"?s.remove():(s.setAttribute("variant",Ut.TERTIARY),s.setAttribute("size","32"))}),this.iconButtons&&this.iconButtons.length>3)for(let s=3;s<this.iconButtons.length;s+=1)this.iconButtons[s].remove()}}update(e){super.update(e),e.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?O`<div part="header">
1479
1479
  ${this.renderIcon()} ${this.renderTitle()}
1480
1480
  <div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
1481
1481
  </div>`:Y}render(){return O`
@@ -1487,7 +1487,7 @@
1487
1487
  <slot name="after-body"></slot>
1488
1488
  ${this.renderFooter()}
1489
1489
  </div>
1490
- `}};Fs.styles=[...q.styles,...Rp],v([Bt({slot:"icon-button"})],Fs.prototype,"iconButtons",2);var nr=Fs;nr.register(Mp);var _g=nr;var Sg=H`
1490
+ `}};$s.styles=[...q.styles,...Op],v([Bt({slot:"icon-button"})],$s.prototype,"iconButtons",2);var nr=$s;nr.register(Rp);var Sg=nr;var Ig=H`
1491
1491
  :host {
1492
1492
  cursor: pointer;
1493
1493
  user-select: none;
@@ -1509,7 +1509,7 @@
1509
1509
  :host([disabled])::part(image) {
1510
1510
  opacity: 0.5;
1511
1511
  }
1512
- `,Op=[Sg,...St()];var pn=class extends dn(ke){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?O`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:Y}render(){return O`
1512
+ `,Pp=[Ig,...St()];var pn=class extends dn(ke){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?O`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:Y}render(){return O`
1513
1513
  ${this.renderImage()}
1514
1514
  <div part="body">
1515
1515
  ${this.renderHeader()}
@@ -1517,7 +1517,7 @@
1517
1517
  <slot name="body"></slot>
1518
1518
  <slot name="after-body"></slot>
1519
1519
  </div>
1520
- `}};pn.styles=[...nr.styles,...Op];var Ql=pn;var Pp=j.constructTagName("cardbutton");Ql.register(Pp);var Ig=Ql;var Dp=j.constructTagName("cardcheckbox"),tc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},mn={CHECK:"check",CHECKBOX:"checkbox"},un={SELECTION_TYPE:mn.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var kg=H`
1520
+ `}};pn.styles=[...nr.styles,...Pp];var Ql=pn;var Dp=j.constructTagName("cardbutton");Ql.register(Dp);var kg=Ql;var Fp=j.constructTagName("cardcheckbox"),tc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},mn={CHECK:"check",CHECKBOX:"checkbox"},un={SELECTION_TYPE:mn.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var Cg=H`
1521
1521
  :host {
1522
1522
  cursor: pointer;
1523
1523
  user-select: none;
@@ -1574,7 +1574,7 @@
1574
1574
  :host([disabled])::part(check-icon) {
1575
1575
  color: var(--mds-color-theme-text-primary-disabled);
1576
1576
  }
1577
- `,Fp=[kg,...St()];var Lo=class extends $t(gr(nr)){constructor(){super();this.checked=!1;this.selectionType=un.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=lt.CHECKBOX}update(e){super.update(e),e.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),e.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked)}toggleOnEnter(e){e.key==="Enter"&&this.toggleChecked()}toggleOnSpace(e){e.key===" "&&this.toggleChecked()}renderSelection(){let e=this.checked?tc.CHECKED:tc.DEFAULT;switch(this.selectionType){case mn.CHECK:return O`<mdc-icon
1577
+ `,$p=[Cg,...St()];var No=class extends Ft(gr(nr)){constructor(){super();this.checked=!1;this.selectionType=un.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=lt.CHECKBOX}update(e){super.update(e),e.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),e.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked)}toggleOnEnter(e){e.key==="Enter"&&this.toggleChecked()}toggleOnSpace(e){e.key===" "&&this.toggleChecked()}renderSelection(){let e=this.checked?tc.CHECKED:tc.DEFAULT;switch(this.selectionType){case mn.CHECK:return O`<mdc-icon
1578
1578
  part="check check-icon"
1579
1579
  size="${un.ICON_SIZE}"
1580
1580
  length-unit="${un.ICON_LENGTH_UNIT}"
@@ -1591,7 +1591,7 @@
1591
1591
  <slot name="body"></slot>
1592
1592
  <slot name="after-body"></slot>
1593
1593
  </div>
1594
- `}};Lo.styles=[...nr.styles,...Fp],v([E({type:Boolean,reflect:!0})],Lo.prototype,"checked",2),v([E({type:String,attribute:"selection-type",reflect:!0})],Lo.prototype,"selectionType",2);var ec=Lo;var wg=[H`
1594
+ `}};No.styles=[...nr.styles,...$p],v([E({type:Boolean,reflect:!0})],No.prototype,"checked",2),v([E({type:String,attribute:"selection-type",reflect:!0})],No.prototype,"selectionType",2);var ec=No;var wg=[H`
1595
1595
  :host {
1596
1596
  margin: 0.125rem 0;
1597
1597
  border-radius: 0.125rem;
@@ -1647,7 +1647,7 @@
1647
1647
  border: 0.0625rem solid var(--mdc-staticcheckbox-border-color);
1648
1648
  }
1649
1649
  }
1650
- `],$p=wg;var zp=j.constructTagName("checkbox"),fn={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Vp=j.constructTagName("staticcheckbox");var No=class extends $t(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let e=this.checked||this.indeterminate?O`
1650
+ `],zp=wg;var Vp=j.constructTagName("checkbox"),fn={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Bp=j.constructTagName("staticcheckbox");var Mo=class extends Ft(q){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let e=this.checked||this.indeterminate?O`
1651
1651
  <mdc-icon
1652
1652
  class="icon"
1653
1653
  name="${this.indeterminate?fn.INDETERMINATE:fn.CHECKED}"
@@ -1655,7 +1655,7 @@
1655
1655
  length-unit="rem"
1656
1656
  ></mdc-icon>
1657
1657
  `:Y;return O`<slot></slot>
1658
- <div part="icon-container">${e}</div>`}};No.styles=[...q.styles,...$p],v([E({type:Boolean,reflect:!0})],No.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],No.prototype,"indeterminate",2);var rc=No;rc.register(Vp);var Cg=rc;ec.register(Dp);var Lg=ec;var Ng=H`
1658
+ <div part="icon-container">${e}</div>`}};Mo.styles=[...q.styles,...zp],v([E({type:Boolean,reflect:!0})],Mo.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],Mo.prototype,"indeterminate",2);var rc=Mo;rc.register(Bp);var Lg=rc;ec.register(Fp);var Ng=ec;var Mg=H`
1659
1659
  :host {
1660
1660
  cursor: pointer;
1661
1661
  user-select: none;
@@ -1708,7 +1708,7 @@
1708
1708
  :host([disabled])::part(image) {
1709
1709
  opacity: 0.5;
1710
1710
  }
1711
- `,Bp=[Ng,...St()];var Mo=class extends $t(gr(nr)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=lt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled)return;this.getAllCardsWithinSameGroup().forEach(s=>{s.checked=!1}),this.checked=!0}setDisabled(e){this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0}update(e){super.update(e),e.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),e.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(e,s){e[s].focus(),e[s].toggleChecked()}toggleOnEnter(e){if(this.disabled)return;let n=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let m=(h+1)%n.length;this.updateCardRadio(n,m)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let m=(h-1+n.length)%n.length;this.updateCardRadio(n,m)}e.key==="Enter"&&this.toggleChecked()}toggleOnSpace(e){e.key===" "&&this.toggleChecked()}renderHeader(){return this.cardTitle?O`<div part="header">
1711
+ `,Up=[Mg,...St()];var Ro=class extends Ft(gr(nr)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked),this.addEventListener("keydown",this.toggleOnEnter),this.addEventListener("keyup",this.toggleOnSpace)}connectedCallback(){super.connectedCallback(),this.role=lt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled)return;this.getAllCardsWithinSameGroup().forEach(s=>{s.checked=!1}),this.checked=!0}setDisabled(e){this.setAttribute("aria-disabled",`${e}`),this.tabIndex=e?-1:0}update(e){super.update(e),e.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),e.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(e,s){e[s].focus(),e[s].toggleChecked()}toggleOnEnter(e){if(this.disabled)return;let n=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let m=(h+1)%n.length;this.updateCardRadio(n,m)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let m=(h-1+n.length)%n.length;this.updateCardRadio(n,m)}e.key==="Enter"&&this.toggleChecked()}toggleOnSpace(e){e.key===" "&&this.toggleChecked()}renderHeader(){return this.cardTitle?O`<div part="header">
1712
1712
  ${this.renderIcon()} ${this.renderTitle()}
1713
1713
  <mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
1714
1714
  </div>`:Y}render(){return O`
@@ -1719,7 +1719,7 @@
1719
1719
  <slot name="body"></slot>
1720
1720
  <slot name="after-body"></slot>
1721
1721
  </div>
1722
- `}};Mo.styles=[...nr.styles,...Bp],v([E({type:Boolean,reflect:!0})],Mo.prototype,"checked",2),v([E({type:String})],Mo.prototype,"name",2);var ic=Mo;var vn=j.constructTagName("cardradio");var Mg=[H`
1722
+ `}};Ro.styles=[...nr.styles,...Up],v([E({type:Boolean,reflect:!0})],Ro.prototype,"checked",2),v([E({type:String})],Ro.prototype,"name",2);var ic=Ro;var vn=j.constructTagName("cardradio");var Rg=[H`
1723
1723
  :host {
1724
1724
  display: block;
1725
1725
  position: relative;
@@ -1802,8 +1802,8 @@
1802
1802
  :host([readonly][checked]) .icon:after {
1803
1803
  background-color: var(--mdc-staticradio-text-disabled-color);
1804
1804
  }
1805
- `],Up=Mg;var Ro=class extends $t(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return O` <slot></slot>
1806
- <span part="radio-icon" class="icon"></span>`}};Ro.styles=[...q.styles,...Up],v([E({type:Boolean,reflect:!0})],Ro.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],Ro.prototype,"readonly",2);var oc=Ro;var Gp=j.constructTagName("staticradio");oc.register(Gp);var Rg=oc;ic.register(vn);var Og=ic;var Er=Math.min,ue=Math.max,zs=Math.round,Vs=Math.floor,lr=l=>({x:l,y:l}),Pg={left:"right",right:"left",bottom:"top",top:"bottom"},Dg={start:"end",end:"start"};function bn(l,o,e){return ue(l,Er(o,e))}function Fi(l,o){return typeof l=="function"?l(o):l}function zr(l){return l.split("-")[0]}function $i(l){return l.split("-")[1]}function sc(l){return l==="x"?"y":"x"}function yn(l){return l==="y"?"height":"width"}function di(l){return["top","bottom"].includes(zr(l))?"y":"x"}function En(l){return sc(di(l))}function Hp(l,o,e){e===void 0&&(e=!1);let s=$i(l),n=En(l),h=yn(n),m=n==="x"?s===(e?"end":"start")?"right":"left":s==="start"?"bottom":"top";return o.reference[h]>o.floating[h]&&(m=$s(m)),[m,$s(m)]}function jp(l){let o=$s(l);return[gn(l),o,gn(o)]}function gn(l){return l.replace(/start|end/g,o=>Dg[o])}function Fg(l,o,e){let s=["left","right"],n=["right","left"],h=["top","bottom"],m=["bottom","top"];switch(l){case"top":case"bottom":return e?o?n:s:o?s:n;case"left":case"right":return o?h:m;default:return[]}}function Wp(l,o,e,s){let n=$i(l),h=Fg(zr(l),e==="start",s);return n&&(h=h.map(m=>m+"-"+n),o&&(h=h.concat(h.map(gn)))),h}function $s(l){return l.replace(/left|right|bottom|top/g,o=>Pg[o])}function $g(l){return{top:0,right:0,bottom:0,left:0,...l}}function ac(l){return typeof l!="number"?$g(l):{top:l,right:l,bottom:l,left:l}}function zi(l){let{x:o,y:e,width:s,height:n}=l;return{width:s,height:n,top:e,left:o,right:o+s,bottom:e+n,x:o,y:e}}function Yp(l,o,e){let{reference:s,floating:n}=l,h=di(o),m=En(o),T=yn(m),L=zr(o),$=h==="y",W=s.x+s.width/2-n.width/2,K=s.y+s.height/2-n.height/2,ot=s[T]/2-n[T]/2,J;switch(L){case"top":J={x:W,y:s.y-n.height};break;case"bottom":J={x:W,y:s.y+s.height};break;case"right":J={x:s.x+s.width,y:K};break;case"left":J={x:s.x-n.width,y:K};break;default:J={x:s.x,y:s.y}}switch($i(o)){case"start":J[m]-=ot*(e&&$?-1:1);break;case"end":J[m]+=ot*(e&&$?-1:1);break}return J}var qp=async(l,o,e)=>{let{placement:s="bottom",strategy:n="absolute",middleware:h=[],platform:m}=e,T=h.filter(Boolean),L=await(m.isRTL==null?void 0:m.isRTL(o)),$=await m.getElementRects({reference:l,floating:o,strategy:n}),{x:W,y:K}=Yp($,s,L),ot=s,J={},tt=0;for(let ht=0;ht<T.length;ht++){let{name:Tt,fn:yt}=T[ht],{x:xt,y:kt,data:Ht,reset:Ot}=await yt({x:W,y:K,initialPlacement:s,placement:ot,strategy:n,middlewareData:J,rects:$,platform:m,elements:{reference:l,floating:o}});W=xt!=null?xt:W,K=kt!=null?kt:K,J={...J,[Tt]:{...J[Tt],...Ht}},Ot&&tt<=50&&(tt++,typeof Ot=="object"&&(Ot.placement&&(ot=Ot.placement),Ot.rects&&($=Ot.rects===!0?await m.getElementRects({reference:l,floating:o,strategy:n}):Ot.rects),{x:W,y:K}=Yp($,ot,L)),ht=-1)}return{x:W,y:K,placement:ot,strategy:n,middlewareData:J}};async function Tn(l,o){var e;o===void 0&&(o={});let{x:s,y:n,platform:h,rects:m,elements:T,strategy:L}=l,{boundary:$="clippingAncestors",rootBoundary:W="viewport",elementContext:K="floating",altBoundary:ot=!1,padding:J=0}=Fi(o,l),tt=ac(J),Tt=T[ot?K==="floating"?"reference":"floating":K],yt=zi(await h.getClippingRect({element:(e=await(h.isElement==null?void 0:h.isElement(Tt)))==null||e?Tt:Tt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(T.floating)),boundary:$,rootBoundary:W,strategy:L})),xt=K==="floating"?{x:s,y:n,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(T.floating)),Ht=await(h.isElement==null?void 0:h.isElement(kt))?await(h.getScale==null?void 0:h.getScale(kt))||{x:1,y:1}:{x:1,y:1},Ot=zi(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:T,rect:xt,offsetParent:kt,strategy:L}):xt);return{top:(yt.top-Ot.top+tt.top)/Ht.y,bottom:(Ot.bottom-yt.bottom+tt.bottom)/Ht.y,left:(yt.left-Ot.left+tt.left)/Ht.x,right:(Ot.right-yt.right+tt.right)/Ht.x}}var Kp=l=>({name:"arrow",options:l,async fn(o){let{x:e,y:s,placement:n,rects:h,platform:m,elements:T,middlewareData:L}=o,{element:$,padding:W=0}=Fi(l,o)||{};if($==null)return{};let K=ac(W),ot={x:e,y:s},J=En(n),tt=yn(J),ht=await m.getDimensions($),Tt=J==="y",yt=Tt?"top":"left",xt=Tt?"bottom":"right",kt=Tt?"clientHeight":"clientWidth",Ht=h.reference[tt]+h.reference[J]-ot[J]-h.floating[tt],Ot=ot[J]-h.reference[J],Dt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),Ee=Dt?Dt[kt]:0;(!Ee||!await(m.isElement==null?void 0:m.isElement(Dt)))&&(Ee=T.floating[kt]||h.floating[tt]);let ee=Ht/2-Ot/2,Je=Ee/2-ht[tt]/2-1,Me=Er(K[yt],Je),Fe=Er(K[xt],Je),Qe=Me,tr=Ee-ht[tt]-Fe,_t=Ee/2-ht[tt]/2+ee,he=bn(Qe,_t,tr),$e=!L.arrow&&$i(n)!=null&&_t!==he&&h.reference[tt]/2-(_t<Qe?Me:Fe)-ht[tt]/2<0,er=$e?_t<Qe?_t-Qe:_t-tr:0;return{[J]:ot[J]+er,data:{[J]:he,centerOffset:_t-he-er,...$e&&{alignmentOffset:er}},reset:$e}}});var Xp=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(o){var e,s;let{placement:n,middlewareData:h,rects:m,initialPlacement:T,platform:L,elements:$}=o,{mainAxis:W=!0,crossAxis:K=!0,fallbackPlacements:ot,fallbackStrategy:J="bestFit",fallbackAxisSideDirection:tt="none",flipAlignment:ht=!0,...Tt}=Fi(l,o);if((e=h.arrow)!=null&&e.alignmentOffset)return{};let yt=zr(n),xt=di(T),kt=zr(T)===T,Ht=await(L.isRTL==null?void 0:L.isRTL($.floating)),Ot=ot||(kt||!ht?[$s(T)]:jp(T)),Dt=tt!=="none";!ot&&Dt&&Ot.push(...Wp(T,ht,tt,Ht));let Ee=[T,...Ot],ee=await Tn(o,Tt),Je=[],Me=((s=h.flip)==null?void 0:s.overflows)||[];if(W&&Je.push(ee[yt]),K){let _t=Hp(n,m,Ht);Je.push(ee[_t[0]],ee[_t[1]])}if(Me=[...Me,{placement:n,overflows:Je}],!Je.every(_t=>_t<=0)){var Fe,Qe;let _t=(((Fe=h.flip)==null?void 0:Fe.index)||0)+1,he=Ee[_t];if(he)return{data:{index:_t,overflows:Me},reset:{placement:he}};let $e=(Qe=Me.filter(er=>er.overflows[0]<=0).sort((er,xr)=>er.overflows[1]-xr.overflows[1])[0])==null?void 0:Qe.placement;if(!$e)switch(J){case"bestFit":{var tr;let er=(tr=Me.filter(xr=>{if(Dt){let ze=di(xr.placement);return ze===xt||ze==="y"}return!0}).map(xr=>[xr.placement,xr.overflows.filter(ze=>ze>0).reduce((ze,ca)=>ze+ca,0)]).sort((xr,ze)=>xr[1]-ze[1])[0])==null?void 0:tr[0];er&&($e=er);break}case"initialPlacement":$e=T;break}if(n!==$e)return{reset:{placement:$e}}}return{}}}};async function zg(l,o){let{placement:e,platform:s,elements:n}=l,h=await(s.isRTL==null?void 0:s.isRTL(n.floating)),m=zr(e),T=$i(e),L=di(e)==="y",$=["left","top"].includes(m)?-1:1,W=h&&L?-1:1,K=Fi(o,l),{mainAxis:ot,crossAxis:J,alignmentAxis:tt}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return T&&typeof tt=="number"&&(J=T==="end"?tt*-1:tt),L?{x:J*W,y:ot*$}:{x:ot*$,y:J*W}}var Zp=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(o){var e,s;let{x:n,y:h,placement:m,middlewareData:T}=o,L=await zg(o,l);return m===((e=T.offset)==null?void 0:e.placement)&&(s=T.arrow)!=null&&s.alignmentOffset?{}:{x:n+L.x,y:h+L.y,data:{...L,placement:m}}}}},Jp=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(o){let{x:e,y:s,placement:n}=o,{mainAxis:h=!0,crossAxis:m=!1,limiter:T={fn:Tt=>{let{x:yt,y:xt}=Tt;return{x:yt,y:xt}}},...L}=Fi(l,o),$={x:e,y:s},W=await Tn(o,L),K=di(zr(n)),ot=sc(K),J=$[ot],tt=$[K];if(h){let Tt=ot==="y"?"top":"left",yt=ot==="y"?"bottom":"right",xt=J+W[Tt],kt=J-W[yt];J=bn(xt,J,kt)}if(m){let Tt=K==="y"?"top":"left",yt=K==="y"?"bottom":"right",xt=tt+W[Tt],kt=tt-W[yt];tt=bn(xt,tt,kt)}let ht=T.fn({...o,[ot]:J,[K]:tt});return{...ht,data:{x:ht.x-e,y:ht.y-s,enabled:{[ot]:h,[K]:m}}}}}};var Qp=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(o){var e,s;let{placement:n,rects:h,platform:m,elements:T}=o,{apply:L=()=>{},...$}=Fi(l,o),W=await Tn(o,$),K=zr(n),ot=$i(n),J=di(n)==="y",{width:tt,height:ht}=h.floating,Tt,yt;K==="top"||K==="bottom"?(Tt=K,yt=ot===(await(m.isRTL==null?void 0:m.isRTL(T.floating))?"start":"end")?"left":"right"):(yt=K,Tt=ot==="end"?"top":"bottom");let xt=ht-W.top-W.bottom,kt=tt-W.left-W.right,Ht=Er(ht-W[Tt],xt),Ot=Er(tt-W[yt],kt),Dt=!o.middlewareData.shift,Ee=Ht,ee=Ot;if((e=o.middlewareData.shift)!=null&&e.enabled.x&&(ee=kt),(s=o.middlewareData.shift)!=null&&s.enabled.y&&(Ee=xt),Dt&&!ot){let Me=ue(W.left,0),Fe=ue(W.right,0),Qe=ue(W.top,0),tr=ue(W.bottom,0);J?ee=tt-2*(Me!==0||Fe!==0?Me+Fe:ue(W.left,W.right)):Ee=ht-2*(Qe!==0||tr!==0?Qe+tr:ue(W.top,W.bottom))}await L({...o,availableWidth:ee,availableHeight:Ee});let Je=await m.getDimensions(T.floating);return tt!==Je.width||ht!==Je.height?{reset:{rects:!0}}:{}}}};function xn(){return typeof window<"u"}function Vi(l){return em(l)?(l.nodeName||"").toLowerCase():"#document"}function Ce(l){var o;return(l==null||(o=l.ownerDocument)==null?void 0:o.defaultView)||window}function cr(l){var o;return(o=(em(l)?l.ownerDocument:l.document)||window.document)==null?void 0:o.documentElement}function em(l){return xn()?l instanceof Node||l instanceof Ce(l).Node:!1}function Ge(l){return xn()?l instanceof Element||l instanceof Ce(l).Element:!1}function dr(l){return xn()?l instanceof HTMLElement||l instanceof Ce(l).HTMLElement:!1}function tm(l){return!xn()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Ce(l).ShadowRoot}function Po(l){let{overflow:o,overflowX:e,overflowY:s,display:n}=He(l);return/auto|scroll|overlay|hidden|clip/.test(o+s+e)&&!["inline","contents"].includes(n)}function rm(l){return["table","td","th"].includes(Vi(l))}function Bs(l){return[":popover-open",":modal"].some(o=>{try{return l.matches(o)}catch{return!1}})}function An(l){let o=_n(),e=Ge(l)?He(l):l;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!o&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!o&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(e.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(e.contain||"").includes(s))}function im(l){let o=Vr(l);for(;dr(o)&&!Bi(o);){if(An(o))return o;if(Bs(o))return null;o=Vr(o)}return null}function _n(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bi(l){return["html","body","#document"].includes(Vi(l))}function He(l){return Ce(l).getComputedStyle(l)}function Us(l){return Ge(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Vr(l){if(Vi(l)==="html")return l;let o=l.assignedSlot||l.parentNode||tm(l)&&l.host||cr(l);return tm(o)?o.host:o}function om(l){let o=Vr(l);return Bi(o)?l.ownerDocument?l.ownerDocument.body:l.body:dr(o)&&Po(o)?o:om(o)}function Oo(l,o,e){var s;o===void 0&&(o=[]),e===void 0&&(e=!0);let n=om(l),h=n===((s=l.ownerDocument)==null?void 0:s.body),m=Ce(n);if(h){let T=Sn(m);return o.concat(m,m.visualViewport||[],Po(n)?n:[],T&&e?Oo(T):[])}return o.concat(n,Oo(n,[],e))}function Sn(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function nm(l){let o=He(l),e=parseFloat(o.width)||0,s=parseFloat(o.height)||0,n=dr(l),h=n?l.offsetWidth:e,m=n?l.offsetHeight:s,T=zs(e)!==h||zs(s)!==m;return T&&(e=h,s=m),{width:e,height:s,$:T}}function lc(l){return Ge(l)?l:l.contextElement}function Do(l){let o=lc(l);if(!dr(o))return lr(1);let e=o.getBoundingClientRect(),{width:s,height:n,$:h}=nm(o),m=(h?zs(e.width):e.width)/s,T=(h?zs(e.height):e.height)/n;return(!m||!Number.isFinite(m))&&(m=1),(!T||!Number.isFinite(T))&&(T=1),{x:m,y:T}}var Vg=lr(0);function lm(l){let o=Ce(l);return!_n()||!o.visualViewport?Vg:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Bg(l,o,e){return o===void 0&&(o=!1),!e||o&&e!==Ce(l)?!1:o}function Ui(l,o,e,s){o===void 0&&(o=!1),e===void 0&&(e=!1);let n=l.getBoundingClientRect(),h=lc(l),m=lr(1);o&&(s?Ge(s)&&(m=Do(s)):m=Do(l));let T=Bg(h,e,s)?lm(h):lr(0),L=(n.left+T.x)/m.x,$=(n.top+T.y)/m.y,W=n.width/m.x,K=n.height/m.y;if(h){let ot=Ce(h),J=s&&Ge(s)?Ce(s):s,tt=ot,ht=Sn(tt);for(;ht&&s&&J!==tt;){let Tt=Do(ht),yt=ht.getBoundingClientRect(),xt=He(ht),kt=yt.left+(ht.clientLeft+parseFloat(xt.paddingLeft))*Tt.x,Ht=yt.top+(ht.clientTop+parseFloat(xt.paddingTop))*Tt.y;L*=Tt.x,$*=Tt.y,W*=Tt.x,K*=Tt.y,L+=kt,$+=Ht,tt=Ce(ht),ht=Sn(tt)}}return zi({width:W,height:K,x:L,y:$})}function cc(l,o){let e=Us(l).scrollLeft;return o?o.left+e:Ui(cr(l)).left+e}function cm(l,o,e){e===void 0&&(e=!1);let s=l.getBoundingClientRect(),n=s.left+o.scrollLeft-(e?0:cc(l,s)),h=s.top+o.scrollTop;return{x:n,y:h}}function Ug(l){let{elements:o,rect:e,offsetParent:s,strategy:n}=l,h=n==="fixed",m=cr(s),T=o?Bs(o.floating):!1;if(s===m||T&&h)return e;let L={scrollLeft:0,scrollTop:0},$=lr(1),W=lr(0),K=dr(s);if((K||!K&&!h)&&((Vi(s)!=="body"||Po(m))&&(L=Us(s)),dr(s))){let J=Ui(s);$=Do(s),W.x=J.x+s.clientLeft,W.y=J.y+s.clientTop}let ot=m&&!K&&!h?cm(m,L,!0):lr(0);return{width:e.width*$.x,height:e.height*$.y,x:e.x*$.x-L.scrollLeft*$.x+W.x+ot.x,y:e.y*$.y-L.scrollTop*$.y+W.y+ot.y}}function Gg(l){return Array.from(l.getClientRects())}function Hg(l){let o=cr(l),e=Us(l),s=l.ownerDocument.body,n=ue(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),h=ue(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight),m=-e.scrollLeft+cc(l),T=-e.scrollTop;return He(s).direction==="rtl"&&(m+=ue(o.clientWidth,s.clientWidth)-n),{width:n,height:h,x:m,y:T}}function jg(l,o){let e=Ce(l),s=cr(l),n=e.visualViewport,h=s.clientWidth,m=s.clientHeight,T=0,L=0;if(n){h=n.width,m=n.height;let $=_n();(!$||$&&o==="fixed")&&(T=n.offsetLeft,L=n.offsetTop)}return{width:h,height:m,x:T,y:L}}function Wg(l,o){let e=Ui(l,!0,o==="fixed"),s=e.top+l.clientTop,n=e.left+l.clientLeft,h=dr(l)?Do(l):lr(1),m=l.clientWidth*h.x,T=l.clientHeight*h.y,L=n*h.x,$=s*h.y;return{width:m,height:T,x:L,y:$}}function sm(l,o,e){let s;if(o==="viewport")s=jg(l,e);else if(o==="document")s=Hg(cr(l));else if(Ge(o))s=Wg(o,e);else{let n=lm(l);s={x:o.x-n.x,y:o.y-n.y,width:o.width,height:o.height}}return zi(s)}function dm(l,o){let e=Vr(l);return e===o||!Ge(e)||Bi(e)?!1:He(e).position==="fixed"||dm(e,o)}function Yg(l,o){let e=o.get(l);if(e)return e;let s=Oo(l,[],!1).filter(T=>Ge(T)&&Vi(T)!=="body"),n=null,h=He(l).position==="fixed",m=h?Vr(l):l;for(;Ge(m)&&!Bi(m);){let T=He(m),L=An(m);!L&&T.position==="fixed"&&(n=null),(h?!L&&!n:!L&&T.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Po(m)&&!L&&dm(l,m))?s=s.filter(W=>W!==m):n=T,m=Vr(m)}return o.set(l,s),s}function qg(l){let{element:o,boundary:e,rootBoundary:s,strategy:n}=l,m=[...e==="clippingAncestors"?Bs(o)?[]:Yg(o,this._c):[].concat(e),s],T=m[0],L=m.reduce(($,W)=>{let K=sm(o,W,n);return $.top=ue(K.top,$.top),$.right=Er(K.right,$.right),$.bottom=Er(K.bottom,$.bottom),$.left=ue(K.left,$.left),$},sm(o,T,n));return{width:L.right-L.left,height:L.bottom-L.top,x:L.left,y:L.top}}function Kg(l){let{width:o,height:e}=nm(l);return{width:o,height:e}}function Xg(l,o,e){let s=dr(o),n=cr(o),h=e==="fixed",m=Ui(l,!0,h,o),T={scrollLeft:0,scrollTop:0},L=lr(0);if(s||!s&&!h)if((Vi(o)!=="body"||Po(n))&&(T=Us(o)),s){let ot=Ui(o,!0,h,o);L.x=ot.x+o.clientLeft,L.y=ot.y+o.clientTop}else n&&(L.x=cc(n));let $=n&&!s&&!h?cm(n,T):lr(0),W=m.left+T.scrollLeft-L.x-$.x,K=m.top+T.scrollTop-L.y-$.y;return{x:W,y:K,width:m.width,height:m.height}}function nc(l){return He(l).position==="static"}function am(l,o){if(!dr(l)||He(l).position==="fixed")return null;if(o)return o(l);let e=l.offsetParent;return cr(l)===e&&(e=e.ownerDocument.body),e}function hm(l,o){let e=Ce(l);if(Bs(l))return e;if(!dr(l)){let n=Vr(l);for(;n&&!Bi(n);){if(Ge(n)&&!nc(n))return n;n=Vr(n)}return e}let s=am(l,o);for(;s&&rm(s)&&nc(s);)s=am(s,o);return s&&Bi(s)&&nc(s)&&!An(s)?e:s||im(l)||e}var Zg=async function(l){let o=this.getOffsetParent||hm,e=this.getDimensions,s=await e(l.floating);return{reference:Xg(l.reference,await o(l.floating),l.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Jg(l){return He(l).direction==="rtl"}var Qg={convertOffsetParentRelativeRectToViewportRelativeRect:Ug,getDocumentElement:cr,getClippingRect:qg,getOffsetParent:hm,getElementRects:Zg,getClientRects:Gg,getDimensions:Kg,getScale:Do,isElement:Ge,isRTL:Jg};function tb(l,o){let e=null,s,n=cr(l);function h(){var T;clearTimeout(s),(T=e)==null||T.disconnect(),e=null}function m(T,L){T===void 0&&(T=!1),L===void 0&&(L=1),h();let{left:$,top:W,width:K,height:ot}=l.getBoundingClientRect();if(T||o(),!K||!ot)return;let J=Vs(W),tt=Vs(n.clientWidth-($+K)),ht=Vs(n.clientHeight-(W+ot)),Tt=Vs($),xt={rootMargin:-J+"px "+-tt+"px "+-ht+"px "+-Tt+"px",threshold:ue(0,Er(1,L))||1},kt=!0;function Ht(Ot){let Dt=Ot[0].intersectionRatio;if(Dt!==L){if(!kt)return m();Dt?m(!1,Dt):s=setTimeout(()=>{m(!1,1e-7)},1e3)}kt=!1}try{e=new IntersectionObserver(Ht,{...xt,root:n.ownerDocument})}catch{e=new IntersectionObserver(Ht,xt)}e.observe(l)}return m(!0),h}function pm(l,o,e,s){s===void 0&&(s={});let{ancestorScroll:n=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:T=typeof IntersectionObserver=="function",animationFrame:L=!1}=s,$=lc(l),W=n||h?[...$?Oo($):[],...Oo(o)]:[];W.forEach(yt=>{n&&yt.addEventListener("scroll",e,{passive:!0}),h&&yt.addEventListener("resize",e)});let K=$&&T?tb($,e):null,ot=-1,J=null;m&&(J=new ResizeObserver(yt=>{let[xt]=yt;xt&&xt.target===$&&J&&(J.unobserve(o),cancelAnimationFrame(ot),ot=requestAnimationFrame(()=>{var kt;(kt=J)==null||kt.observe(o)})),e()}),$&&!L&&J.observe($),J.observe(o));let tt,ht=L?Ui(l):null;L&&Tt();function Tt(){let yt=Ui(l);ht&&(yt.x!==ht.x||yt.y!==ht.y||yt.width!==ht.width||yt.height!==ht.height)&&e(),ht=yt,tt=requestAnimationFrame(Tt)}return e(),()=>{var yt;W.forEach(xt=>{n&&xt.removeEventListener("scroll",e),h&&xt.removeEventListener("resize",e)}),K==null||K(),(yt=J)==null||yt.disconnect(),J=null,L&&cancelAnimationFrame(tt)}}var mm=Zp;var um=Jp,fm=Xp,vm=Qp;var gm=Kp;var bm=(l,o,e)=>{let s=new Map,n={platform:Qg,...e},h={...n.platform,_c:s};return qp(l,o,{...n,platform:h})};var Fo=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(e=>{e!==o&&e.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 e=this.stackArray.pop();e&&(e.setIsFocusTrapActivated(!0),this.addKeydownListener(e.handleTabKeydown.bind(e)))}}};Fo.stack=new Set,Fo.currentKeydownListener=null;var In=l=>{class o extends l{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(n){this.isFocusTrapActivated=n}activateFocusTrap(){this.setIsFocusTrapActivated(!0),Fo.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),Fo.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(n){return n.getClientRects().length===0}hasZeroDimensions(n){let{width:h,height:m}=n.getBoundingClientRect(),{offsetWidth:T,offsetHeight:L}=n;return T+L+m+h===0}isNotVisible(n){return this.hasZeroDimensions(n)||this.hasNoClientRects(n)}hasHiddenStyle(n){let{display:h,opacity:m,visibility:T}=n.style;return h==="none"||m==="0"||T==="hidden"||T==="collapse"}hasComputedHidden(n){let h=getComputedStyle(n);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(n){return n.hasAttribute("hidden")||n.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(n)||this.isNotVisible(n)||this.hasComputedHidden(n)}isDisabled(n){return n.disabled}isNotTabbable(n){return n.getAttribute("tabindex")==="-1"}isInteractiveElement(n){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(n.tagName)||n instanceof HTMLAnchorElement&&n.hasAttribute("href")||n instanceof HTMLInputElement&&n.type!=="hidden"||(n instanceof HTMLAudioElement||n instanceof HTMLVideoElement)&&n.hasAttribute("controls")||(n instanceof HTMLImageElement||n instanceof HTMLObjectElement)&&n.hasAttribute("usemap")||n.hasAttribute("tabindex")&&n.tabIndex>-1)}isFocusable(n){return this.isHidden(n)||this.isNotTabbable(n)||this.isDisabled(n)?!1:this.isInteractiveElement(n)}findFocusable(n,h=new Set){return n instanceof HTMLElement&&this.isFocusable(n)&&h.add(n),Array.from(n.children).forEach(T=>{let L=T;this.isFocusable(L)&&h.add(L),L.shadowRoot?this.findFocusable(L.shadowRoot,h):L.tagName==="SLOT"?L.assignedElements({flatten:!0}).forEach(W=>{W instanceof HTMLElement&&this.findFocusable(W,h)}):this.findFocusable(L,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(n=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[n]&&(this.focusTrapIndex=n,this.focusableElements[n].focus({preventScroll:!0}))}calculateNextIndex(n,h){let{length:m}=this.focusableElements;if(n===-1)return h>0?0:m-1;let T=n+h;return this.shouldFocusTrapWrap?(T<0&&(T=m-1),T>=m&&(T=0)):(T<0&&(T=0),T>=m&&(T=m-1)),T}getDeepActiveElement(){var h;let n=document.activeElement||document.body;for(;n instanceof HTMLElement&&((h=n.shadowRoot)!=null&&h.activeElement);)n=n.shadowRoot.activeElement;return n||document.body}findElement(n){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(n,h))}isEqualFocusNode(n,h){return n.nodeType>=0?h.isEqualNode(n)&&h===n:!1}trapFocus(n){if(this.setFocusableElements(),this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),m=this.findElement(h);n.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let L=this.focusableElements[this.focusTrapIndex];L.tagName!=="IFRAME"&&L&&(n.preventDefault(),L.focus())}handleTabKeydown(n){this.isFocusTrapActivated&&n.key==="Tab"&&this.trapFocus(n)}}return v([E({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var kn=l=>{class o extends l{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return o};var ym=j.constructTagName("popover"),Gt={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"},Gi={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Hi={TONAL:"tonal",CONTRAST:"contrast"},Mt={PLACEMENT:Gt.BOTTOM,TRIGGER:Gi.CLICK,COLOR:Hi.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,DISABLE_ARIA_HAS_POPUP:!1,PROPAGATE_EVENT_ON_ESCAPE:!1};var ji=class{static dispatchPopoverEvent(o,e){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.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)}};var dc=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(e=>e!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},fe=new dc;var eb=H`
1805
+ `],Gp=Rg;var Oo=class extends Ft(q){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return O` <slot></slot>
1806
+ <span part="radio-icon" class="icon"></span>`}};Oo.styles=[...q.styles,...Gp],v([E({type:Boolean,reflect:!0})],Oo.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],Oo.prototype,"readonly",2);var oc=Oo;var Hp=j.constructTagName("staticradio");oc.register(Hp);var Og=oc;ic.register(vn);var Pg=ic;var Er=Math.min,ue=Math.max,Vs=Math.round,Bs=Math.floor,lr=l=>({x:l,y:l}),Dg={left:"right",right:"left",bottom:"top",top:"bottom"},Fg={start:"end",end:"start"};function bn(l,o,e){return ue(l,Er(o,e))}function Fi(l,o){return typeof l=="function"?l(o):l}function zr(l){return l.split("-")[0]}function $i(l){return l.split("-")[1]}function sc(l){return l==="x"?"y":"x"}function yn(l){return l==="y"?"height":"width"}function di(l){return["top","bottom"].includes(zr(l))?"y":"x"}function En(l){return sc(di(l))}function jp(l,o,e){e===void 0&&(e=!1);let s=$i(l),n=En(l),h=yn(n),m=n==="x"?s===(e?"end":"start")?"right":"left":s==="start"?"bottom":"top";return o.reference[h]>o.floating[h]&&(m=zs(m)),[m,zs(m)]}function Wp(l){let o=zs(l);return[gn(l),o,gn(o)]}function gn(l){return l.replace(/start|end/g,o=>Fg[o])}function $g(l,o,e){let s=["left","right"],n=["right","left"],h=["top","bottom"],m=["bottom","top"];switch(l){case"top":case"bottom":return e?o?n:s:o?s:n;case"left":case"right":return o?h:m;default:return[]}}function Yp(l,o,e,s){let n=$i(l),h=$g(zr(l),e==="start",s);return n&&(h=h.map(m=>m+"-"+n),o&&(h=h.concat(h.map(gn)))),h}function zs(l){return l.replace(/left|right|bottom|top/g,o=>Dg[o])}function zg(l){return{top:0,right:0,bottom:0,left:0,...l}}function ac(l){return typeof l!="number"?zg(l):{top:l,right:l,bottom:l,left:l}}function zi(l){let{x:o,y:e,width:s,height:n}=l;return{width:s,height:n,top:e,left:o,right:o+s,bottom:e+n,x:o,y:e}}function qp(l,o,e){let{reference:s,floating:n}=l,h=di(o),m=En(o),T=yn(m),L=zr(o),$=h==="y",W=s.x+s.width/2-n.width/2,K=s.y+s.height/2-n.height/2,ot=s[T]/2-n[T]/2,J;switch(L){case"top":J={x:W,y:s.y-n.height};break;case"bottom":J={x:W,y:s.y+s.height};break;case"right":J={x:s.x+s.width,y:K};break;case"left":J={x:s.x-n.width,y:K};break;default:J={x:s.x,y:s.y}}switch($i(o)){case"start":J[m]-=ot*(e&&$?-1:1);break;case"end":J[m]+=ot*(e&&$?-1:1);break}return J}var Kp=async(l,o,e)=>{let{placement:s="bottom",strategy:n="absolute",middleware:h=[],platform:m}=e,T=h.filter(Boolean),L=await(m.isRTL==null?void 0:m.isRTL(o)),$=await m.getElementRects({reference:l,floating:o,strategy:n}),{x:W,y:K}=qp($,s,L),ot=s,J={},tt=0;for(let ht=0;ht<T.length;ht++){let{name:Tt,fn:yt}=T[ht],{x:xt,y:kt,data:Ht,reset:Ot}=await yt({x:W,y:K,initialPlacement:s,placement:ot,strategy:n,middlewareData:J,rects:$,platform:m,elements:{reference:l,floating:o}});W=xt!=null?xt:W,K=kt!=null?kt:K,J={...J,[Tt]:{...J[Tt],...Ht}},Ot&&tt<=50&&(tt++,typeof Ot=="object"&&(Ot.placement&&(ot=Ot.placement),Ot.rects&&($=Ot.rects===!0?await m.getElementRects({reference:l,floating:o,strategy:n}):Ot.rects),{x:W,y:K}=qp($,ot,L)),ht=-1)}return{x:W,y:K,placement:ot,strategy:n,middlewareData:J}};async function Tn(l,o){var e;o===void 0&&(o={});let{x:s,y:n,platform:h,rects:m,elements:T,strategy:L}=l,{boundary:$="clippingAncestors",rootBoundary:W="viewport",elementContext:K="floating",altBoundary:ot=!1,padding:J=0}=Fi(o,l),tt=ac(J),Tt=T[ot?K==="floating"?"reference":"floating":K],yt=zi(await h.getClippingRect({element:(e=await(h.isElement==null?void 0:h.isElement(Tt)))==null||e?Tt:Tt.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(T.floating)),boundary:$,rootBoundary:W,strategy:L})),xt=K==="floating"?{x:s,y:n,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(T.floating)),Ht=await(h.isElement==null?void 0:h.isElement(kt))?await(h.getScale==null?void 0:h.getScale(kt))||{x:1,y:1}:{x:1,y:1},Ot=zi(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:T,rect:xt,offsetParent:kt,strategy:L}):xt);return{top:(yt.top-Ot.top+tt.top)/Ht.y,bottom:(Ot.bottom-yt.bottom+tt.bottom)/Ht.y,left:(yt.left-Ot.left+tt.left)/Ht.x,right:(Ot.right-yt.right+tt.right)/Ht.x}}var Xp=l=>({name:"arrow",options:l,async fn(o){let{x:e,y:s,placement:n,rects:h,platform:m,elements:T,middlewareData:L}=o,{element:$,padding:W=0}=Fi(l,o)||{};if($==null)return{};let K=ac(W),ot={x:e,y:s},J=En(n),tt=yn(J),ht=await m.getDimensions($),Tt=J==="y",yt=Tt?"top":"left",xt=Tt?"bottom":"right",kt=Tt?"clientHeight":"clientWidth",Ht=h.reference[tt]+h.reference[J]-ot[J]-h.floating[tt],Ot=ot[J]-h.reference[J],Dt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),Ee=Dt?Dt[kt]:0;(!Ee||!await(m.isElement==null?void 0:m.isElement(Dt)))&&(Ee=T.floating[kt]||h.floating[tt]);let ee=Ht/2-Ot/2,Je=Ee/2-ht[tt]/2-1,Me=Er(K[yt],Je),Fe=Er(K[xt],Je),Qe=Me,tr=Ee-ht[tt]-Fe,_t=Ee/2-ht[tt]/2+ee,he=bn(Qe,_t,tr),$e=!L.arrow&&$i(n)!=null&&_t!==he&&h.reference[tt]/2-(_t<Qe?Me:Fe)-ht[tt]/2<0,er=$e?_t<Qe?_t-Qe:_t-tr:0;return{[J]:ot[J]+er,data:{[J]:he,centerOffset:_t-he-er,...$e&&{alignmentOffset:er}},reset:$e}}});var Zp=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(o){var e,s;let{placement:n,middlewareData:h,rects:m,initialPlacement:T,platform:L,elements:$}=o,{mainAxis:W=!0,crossAxis:K=!0,fallbackPlacements:ot,fallbackStrategy:J="bestFit",fallbackAxisSideDirection:tt="none",flipAlignment:ht=!0,...Tt}=Fi(l,o);if((e=h.arrow)!=null&&e.alignmentOffset)return{};let yt=zr(n),xt=di(T),kt=zr(T)===T,Ht=await(L.isRTL==null?void 0:L.isRTL($.floating)),Ot=ot||(kt||!ht?[zs(T)]:Wp(T)),Dt=tt!=="none";!ot&&Dt&&Ot.push(...Yp(T,ht,tt,Ht));let Ee=[T,...Ot],ee=await Tn(o,Tt),Je=[],Me=((s=h.flip)==null?void 0:s.overflows)||[];if(W&&Je.push(ee[yt]),K){let _t=jp(n,m,Ht);Je.push(ee[_t[0]],ee[_t[1]])}if(Me=[...Me,{placement:n,overflows:Je}],!Je.every(_t=>_t<=0)){var Fe,Qe;let _t=(((Fe=h.flip)==null?void 0:Fe.index)||0)+1,he=Ee[_t];if(he)return{data:{index:_t,overflows:Me},reset:{placement:he}};let $e=(Qe=Me.filter(er=>er.overflows[0]<=0).sort((er,xr)=>er.overflows[1]-xr.overflows[1])[0])==null?void 0:Qe.placement;if(!$e)switch(J){case"bestFit":{var tr;let er=(tr=Me.filter(xr=>{if(Dt){let ze=di(xr.placement);return ze===xt||ze==="y"}return!0}).map(xr=>[xr.placement,xr.overflows.filter(ze=>ze>0).reduce((ze,ca)=>ze+ca,0)]).sort((xr,ze)=>xr[1]-ze[1])[0])==null?void 0:tr[0];er&&($e=er);break}case"initialPlacement":$e=T;break}if(n!==$e)return{reset:{placement:$e}}}return{}}}};async function Vg(l,o){let{placement:e,platform:s,elements:n}=l,h=await(s.isRTL==null?void 0:s.isRTL(n.floating)),m=zr(e),T=$i(e),L=di(e)==="y",$=["left","top"].includes(m)?-1:1,W=h&&L?-1:1,K=Fi(o,l),{mainAxis:ot,crossAxis:J,alignmentAxis:tt}=typeof K=="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};return T&&typeof tt=="number"&&(J=T==="end"?tt*-1:tt),L?{x:J*W,y:ot*$}:{x:ot*$,y:J*W}}var Jp=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(o){var e,s;let{x:n,y:h,placement:m,middlewareData:T}=o,L=await Vg(o,l);return m===((e=T.offset)==null?void 0:e.placement)&&(s=T.arrow)!=null&&s.alignmentOffset?{}:{x:n+L.x,y:h+L.y,data:{...L,placement:m}}}}},Qp=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(o){let{x:e,y:s,placement:n}=o,{mainAxis:h=!0,crossAxis:m=!1,limiter:T={fn:Tt=>{let{x:yt,y:xt}=Tt;return{x:yt,y:xt}}},...L}=Fi(l,o),$={x:e,y:s},W=await Tn(o,L),K=di(zr(n)),ot=sc(K),J=$[ot],tt=$[K];if(h){let Tt=ot==="y"?"top":"left",yt=ot==="y"?"bottom":"right",xt=J+W[Tt],kt=J-W[yt];J=bn(xt,J,kt)}if(m){let Tt=K==="y"?"top":"left",yt=K==="y"?"bottom":"right",xt=tt+W[Tt],kt=tt-W[yt];tt=bn(xt,tt,kt)}let ht=T.fn({...o,[ot]:J,[K]:tt});return{...ht,data:{x:ht.x-e,y:ht.y-s,enabled:{[ot]:h,[K]:m}}}}}};var tm=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(o){var e,s;let{placement:n,rects:h,platform:m,elements:T}=o,{apply:L=()=>{},...$}=Fi(l,o),W=await Tn(o,$),K=zr(n),ot=$i(n),J=di(n)==="y",{width:tt,height:ht}=h.floating,Tt,yt;K==="top"||K==="bottom"?(Tt=K,yt=ot===(await(m.isRTL==null?void 0:m.isRTL(T.floating))?"start":"end")?"left":"right"):(yt=K,Tt=ot==="end"?"top":"bottom");let xt=ht-W.top-W.bottom,kt=tt-W.left-W.right,Ht=Er(ht-W[Tt],xt),Ot=Er(tt-W[yt],kt),Dt=!o.middlewareData.shift,Ee=Ht,ee=Ot;if((e=o.middlewareData.shift)!=null&&e.enabled.x&&(ee=kt),(s=o.middlewareData.shift)!=null&&s.enabled.y&&(Ee=xt),Dt&&!ot){let Me=ue(W.left,0),Fe=ue(W.right,0),Qe=ue(W.top,0),tr=ue(W.bottom,0);J?ee=tt-2*(Me!==0||Fe!==0?Me+Fe:ue(W.left,W.right)):Ee=ht-2*(Qe!==0||tr!==0?Qe+tr:ue(W.top,W.bottom))}await L({...o,availableWidth:ee,availableHeight:Ee});let Je=await m.getDimensions(T.floating);return tt!==Je.width||ht!==Je.height?{reset:{rects:!0}}:{}}}};function xn(){return typeof window<"u"}function Vi(l){return rm(l)?(l.nodeName||"").toLowerCase():"#document"}function we(l){var o;return(l==null||(o=l.ownerDocument)==null?void 0:o.defaultView)||window}function cr(l){var o;return(o=(rm(l)?l.ownerDocument:l.document)||window.document)==null?void 0:o.documentElement}function rm(l){return xn()?l instanceof Node||l instanceof we(l).Node:!1}function Ge(l){return xn()?l instanceof Element||l instanceof we(l).Element:!1}function dr(l){return xn()?l instanceof HTMLElement||l instanceof we(l).HTMLElement:!1}function em(l){return!xn()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof we(l).ShadowRoot}function Do(l){let{overflow:o,overflowX:e,overflowY:s,display:n}=He(l);return/auto|scroll|overlay|hidden|clip/.test(o+s+e)&&!["inline","contents"].includes(n)}function im(l){return["table","td","th"].includes(Vi(l))}function Us(l){return[":popover-open",":modal"].some(o=>{try{return l.matches(o)}catch{return!1}})}function An(l){let o=_n(),e=Ge(l)?He(l):l;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!o&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!o&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(s=>(e.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(e.contain||"").includes(s))}function om(l){let o=Vr(l);for(;dr(o)&&!Bi(o);){if(An(o))return o;if(Us(o))return null;o=Vr(o)}return null}function _n(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Bi(l){return["html","body","#document"].includes(Vi(l))}function He(l){return we(l).getComputedStyle(l)}function Gs(l){return Ge(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function Vr(l){if(Vi(l)==="html")return l;let o=l.assignedSlot||l.parentNode||em(l)&&l.host||cr(l);return em(o)?o.host:o}function sm(l){let o=Vr(l);return Bi(o)?l.ownerDocument?l.ownerDocument.body:l.body:dr(o)&&Do(o)?o:sm(o)}function Po(l,o,e){var s;o===void 0&&(o=[]),e===void 0&&(e=!0);let n=sm(l),h=n===((s=l.ownerDocument)==null?void 0:s.body),m=we(n);if(h){let T=Sn(m);return o.concat(m,m.visualViewport||[],Do(n)?n:[],T&&e?Po(T):[])}return o.concat(n,Po(n,[],e))}function Sn(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function lm(l){let o=He(l),e=parseFloat(o.width)||0,s=parseFloat(o.height)||0,n=dr(l),h=n?l.offsetWidth:e,m=n?l.offsetHeight:s,T=Vs(e)!==h||Vs(s)!==m;return T&&(e=h,s=m),{width:e,height:s,$:T}}function lc(l){return Ge(l)?l:l.contextElement}function Fo(l){let o=lc(l);if(!dr(o))return lr(1);let e=o.getBoundingClientRect(),{width:s,height:n,$:h}=lm(o),m=(h?Vs(e.width):e.width)/s,T=(h?Vs(e.height):e.height)/n;return(!m||!Number.isFinite(m))&&(m=1),(!T||!Number.isFinite(T))&&(T=1),{x:m,y:T}}var Bg=lr(0);function cm(l){let o=we(l);return!_n()||!o.visualViewport?Bg:{x:o.visualViewport.offsetLeft,y:o.visualViewport.offsetTop}}function Ug(l,o,e){return o===void 0&&(o=!1),!e||o&&e!==we(l)?!1:o}function Ui(l,o,e,s){o===void 0&&(o=!1),e===void 0&&(e=!1);let n=l.getBoundingClientRect(),h=lc(l),m=lr(1);o&&(s?Ge(s)&&(m=Fo(s)):m=Fo(l));let T=Ug(h,e,s)?cm(h):lr(0),L=(n.left+T.x)/m.x,$=(n.top+T.y)/m.y,W=n.width/m.x,K=n.height/m.y;if(h){let ot=we(h),J=s&&Ge(s)?we(s):s,tt=ot,ht=Sn(tt);for(;ht&&s&&J!==tt;){let Tt=Fo(ht),yt=ht.getBoundingClientRect(),xt=He(ht),kt=yt.left+(ht.clientLeft+parseFloat(xt.paddingLeft))*Tt.x,Ht=yt.top+(ht.clientTop+parseFloat(xt.paddingTop))*Tt.y;L*=Tt.x,$*=Tt.y,W*=Tt.x,K*=Tt.y,L+=kt,$+=Ht,tt=we(ht),ht=Sn(tt)}}return zi({width:W,height:K,x:L,y:$})}function cc(l,o){let e=Gs(l).scrollLeft;return o?o.left+e:Ui(cr(l)).left+e}function dm(l,o,e){e===void 0&&(e=!1);let s=l.getBoundingClientRect(),n=s.left+o.scrollLeft-(e?0:cc(l,s)),h=s.top+o.scrollTop;return{x:n,y:h}}function Gg(l){let{elements:o,rect:e,offsetParent:s,strategy:n}=l,h=n==="fixed",m=cr(s),T=o?Us(o.floating):!1;if(s===m||T&&h)return e;let L={scrollLeft:0,scrollTop:0},$=lr(1),W=lr(0),K=dr(s);if((K||!K&&!h)&&((Vi(s)!=="body"||Do(m))&&(L=Gs(s)),dr(s))){let J=Ui(s);$=Fo(s),W.x=J.x+s.clientLeft,W.y=J.y+s.clientTop}let ot=m&&!K&&!h?dm(m,L,!0):lr(0);return{width:e.width*$.x,height:e.height*$.y,x:e.x*$.x-L.scrollLeft*$.x+W.x+ot.x,y:e.y*$.y-L.scrollTop*$.y+W.y+ot.y}}function Hg(l){return Array.from(l.getClientRects())}function jg(l){let o=cr(l),e=Gs(l),s=l.ownerDocument.body,n=ue(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),h=ue(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight),m=-e.scrollLeft+cc(l),T=-e.scrollTop;return He(s).direction==="rtl"&&(m+=ue(o.clientWidth,s.clientWidth)-n),{width:n,height:h,x:m,y:T}}function Wg(l,o){let e=we(l),s=cr(l),n=e.visualViewport,h=s.clientWidth,m=s.clientHeight,T=0,L=0;if(n){h=n.width,m=n.height;let $=_n();(!$||$&&o==="fixed")&&(T=n.offsetLeft,L=n.offsetTop)}return{width:h,height:m,x:T,y:L}}function Yg(l,o){let e=Ui(l,!0,o==="fixed"),s=e.top+l.clientTop,n=e.left+l.clientLeft,h=dr(l)?Fo(l):lr(1),m=l.clientWidth*h.x,T=l.clientHeight*h.y,L=n*h.x,$=s*h.y;return{width:m,height:T,x:L,y:$}}function am(l,o,e){let s;if(o==="viewport")s=Wg(l,e);else if(o==="document")s=jg(cr(l));else if(Ge(o))s=Yg(o,e);else{let n=cm(l);s={x:o.x-n.x,y:o.y-n.y,width:o.width,height:o.height}}return zi(s)}function hm(l,o){let e=Vr(l);return e===o||!Ge(e)||Bi(e)?!1:He(e).position==="fixed"||hm(e,o)}function qg(l,o){let e=o.get(l);if(e)return e;let s=Po(l,[],!1).filter(T=>Ge(T)&&Vi(T)!=="body"),n=null,h=He(l).position==="fixed",m=h?Vr(l):l;for(;Ge(m)&&!Bi(m);){let T=He(m),L=An(m);!L&&T.position==="fixed"&&(n=null),(h?!L&&!n:!L&&T.position==="static"&&!!n&&["absolute","fixed"].includes(n.position)||Do(m)&&!L&&hm(l,m))?s=s.filter(W=>W!==m):n=T,m=Vr(m)}return o.set(l,s),s}function Kg(l){let{element:o,boundary:e,rootBoundary:s,strategy:n}=l,m=[...e==="clippingAncestors"?Us(o)?[]:qg(o,this._c):[].concat(e),s],T=m[0],L=m.reduce(($,W)=>{let K=am(o,W,n);return $.top=ue(K.top,$.top),$.right=Er(K.right,$.right),$.bottom=Er(K.bottom,$.bottom),$.left=ue(K.left,$.left),$},am(o,T,n));return{width:L.right-L.left,height:L.bottom-L.top,x:L.left,y:L.top}}function Xg(l){let{width:o,height:e}=lm(l);return{width:o,height:e}}function Zg(l,o,e){let s=dr(o),n=cr(o),h=e==="fixed",m=Ui(l,!0,h,o),T={scrollLeft:0,scrollTop:0},L=lr(0);if(s||!s&&!h)if((Vi(o)!=="body"||Do(n))&&(T=Gs(o)),s){let ot=Ui(o,!0,h,o);L.x=ot.x+o.clientLeft,L.y=ot.y+o.clientTop}else n&&(L.x=cc(n));let $=n&&!s&&!h?dm(n,T):lr(0),W=m.left+T.scrollLeft-L.x-$.x,K=m.top+T.scrollTop-L.y-$.y;return{x:W,y:K,width:m.width,height:m.height}}function nc(l){return He(l).position==="static"}function nm(l,o){if(!dr(l)||He(l).position==="fixed")return null;if(o)return o(l);let e=l.offsetParent;return cr(l)===e&&(e=e.ownerDocument.body),e}function pm(l,o){let e=we(l);if(Us(l))return e;if(!dr(l)){let n=Vr(l);for(;n&&!Bi(n);){if(Ge(n)&&!nc(n))return n;n=Vr(n)}return e}let s=nm(l,o);for(;s&&im(s)&&nc(s);)s=nm(s,o);return s&&Bi(s)&&nc(s)&&!An(s)?e:s||om(l)||e}var Jg=async function(l){let o=this.getOffsetParent||pm,e=this.getDimensions,s=await e(l.floating);return{reference:Zg(l.reference,await o(l.floating),l.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function Qg(l){return He(l).direction==="rtl"}var tb={convertOffsetParentRelativeRectToViewportRelativeRect:Gg,getDocumentElement:cr,getClippingRect:Kg,getOffsetParent:pm,getElementRects:Jg,getClientRects:Hg,getDimensions:Xg,getScale:Fo,isElement:Ge,isRTL:Qg};function eb(l,o){let e=null,s,n=cr(l);function h(){var T;clearTimeout(s),(T=e)==null||T.disconnect(),e=null}function m(T,L){T===void 0&&(T=!1),L===void 0&&(L=1),h();let{left:$,top:W,width:K,height:ot}=l.getBoundingClientRect();if(T||o(),!K||!ot)return;let J=Bs(W),tt=Bs(n.clientWidth-($+K)),ht=Bs(n.clientHeight-(W+ot)),Tt=Bs($),xt={rootMargin:-J+"px "+-tt+"px "+-ht+"px "+-Tt+"px",threshold:ue(0,Er(1,L))||1},kt=!0;function Ht(Ot){let Dt=Ot[0].intersectionRatio;if(Dt!==L){if(!kt)return m();Dt?m(!1,Dt):s=setTimeout(()=>{m(!1,1e-7)},1e3)}kt=!1}try{e=new IntersectionObserver(Ht,{...xt,root:n.ownerDocument})}catch{e=new IntersectionObserver(Ht,xt)}e.observe(l)}return m(!0),h}function mm(l,o,e,s){s===void 0&&(s={});let{ancestorScroll:n=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:T=typeof IntersectionObserver=="function",animationFrame:L=!1}=s,$=lc(l),W=n||h?[...$?Po($):[],...Po(o)]:[];W.forEach(yt=>{n&&yt.addEventListener("scroll",e,{passive:!0}),h&&yt.addEventListener("resize",e)});let K=$&&T?eb($,e):null,ot=-1,J=null;m&&(J=new ResizeObserver(yt=>{let[xt]=yt;xt&&xt.target===$&&J&&(J.unobserve(o),cancelAnimationFrame(ot),ot=requestAnimationFrame(()=>{var kt;(kt=J)==null||kt.observe(o)})),e()}),$&&!L&&J.observe($),J.observe(o));let tt,ht=L?Ui(l):null;L&&Tt();function Tt(){let yt=Ui(l);ht&&(yt.x!==ht.x||yt.y!==ht.y||yt.width!==ht.width||yt.height!==ht.height)&&e(),ht=yt,tt=requestAnimationFrame(Tt)}return e(),()=>{var yt;W.forEach(xt=>{n&&xt.removeEventListener("scroll",e),h&&xt.removeEventListener("resize",e)}),K==null||K(),(yt=J)==null||yt.disconnect(),J=null,L&&cancelAnimationFrame(tt)}}var um=Jp;var fm=Qp,vm=Zp,gm=tm;var bm=Xp;var ym=(l,o,e)=>{let s=new Map,n={platform:tb,...e},h={...n.platform,_c:s};return Kp(l,o,{...n,platform:h})};var $o=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(e=>{e!==o&&e.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 e=this.stackArray.pop();e&&(e.setIsFocusTrapActivated(!0),this.addKeydownListener(e.handleTabKeydown.bind(e)))}}};$o.stack=new Set,$o.currentKeydownListener=null;var In=l=>{class o extends l{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(n){this.isFocusTrapActivated=n}activateFocusTrap(){this.setIsFocusTrapActivated(!0),$o.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),$o.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(n){return n.getClientRects().length===0}hasZeroDimensions(n){let{width:h,height:m}=n.getBoundingClientRect(),{offsetWidth:T,offsetHeight:L}=n;return T+L+m+h===0}isNotVisible(n){return this.hasZeroDimensions(n)||this.hasNoClientRects(n)}hasHiddenStyle(n){let{display:h,opacity:m,visibility:T}=n.style;return h==="none"||m==="0"||T==="hidden"||T==="collapse"}hasComputedHidden(n){let h=getComputedStyle(n);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(n){return n.hasAttribute("hidden")||n.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(n)||this.isNotVisible(n)||this.hasComputedHidden(n)}isDisabled(n){return n.disabled}isNotTabbable(n){return n.getAttribute("tabindex")==="-1"}isInteractiveElement(n){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(n.tagName)||n instanceof HTMLAnchorElement&&n.hasAttribute("href")||n instanceof HTMLInputElement&&n.type!=="hidden"||(n instanceof HTMLAudioElement||n instanceof HTMLVideoElement)&&n.hasAttribute("controls")||(n instanceof HTMLImageElement||n instanceof HTMLObjectElement)&&n.hasAttribute("usemap")||n.hasAttribute("tabindex")&&n.tabIndex>-1)}isFocusable(n){return this.isHidden(n)||this.isNotTabbable(n)||this.isDisabled(n)?!1:this.isInteractiveElement(n)}findFocusable(n,h=new Set){return n instanceof HTMLElement&&this.isFocusable(n)&&h.add(n),Array.from(n.children).forEach(T=>{let L=T;this.isFocusable(L)&&h.add(L),L.shadowRoot?this.findFocusable(L.shadowRoot,h):L.tagName==="SLOT"?L.assignedElements({flatten:!0}).forEach(W=>{W instanceof HTMLElement&&this.findFocusable(W,h)}):this.findFocusable(L,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(n=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[n]&&(this.focusTrapIndex=n,this.focusableElements[n].focus({preventScroll:!0}))}calculateNextIndex(n,h){let{length:m}=this.focusableElements;if(n===-1)return h>0?0:m-1;let T=n+h;return this.shouldFocusTrapWrap?(T<0&&(T=m-1),T>=m&&(T=0)):(T<0&&(T=0),T>=m&&(T=m-1)),T}getDeepActiveElement(){var h;let n=document.activeElement||document.body;for(;n instanceof HTMLElement&&((h=n.shadowRoot)!=null&&h.activeElement);)n=n.shadowRoot.activeElement;return n||document.body}findElement(n){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(n,h))}isEqualFocusNode(n,h){return n.nodeType>=0?h.isEqualNode(n)&&h===n:!1}trapFocus(n){if(this.setFocusableElements(),this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),m=this.findElement(h);n.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let L=this.focusableElements[this.focusTrapIndex];L.tagName!=="IFRAME"&&L&&(n.preventDefault(),L.focus())}handleTabKeydown(n){this.isFocusTrapActivated&&n.key==="Tab"&&this.trapFocus(n)}}return v([E({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],o.prototype,"shouldFocusTrapWrap",2),o};var kn=l=>{class o extends l{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return o};var Em=j.constructTagName("popover"),Gt={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"},Gi={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},Hi={TONAL:"tonal",CONTRAST:"contrast"},Mt={PLACEMENT:Gt.BOTTOM,TRIGGER:Gi.CLICK,COLOR:Hi.TONAL,OFFSET:4,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,DISABLE_ARIA_HAS_POPUP:!1,PROPAGATE_EVENT_ON_ESCAPE:!1};var ji=class{static dispatchPopoverEvent(o,e){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.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)}};var dc=class{constructor(){this.stack=[]}push(o){this.stack.push(o)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(o){this.stack=this.stack.filter(e=>e!==o)}has(o){return this.stack.includes(o)}clear(){this.stack=[]}},fe=new dc;var rb=H`
1807
1807
  :host {
1808
1808
  --mdc-popover-arrow-border-radius: 0.1875rem;
1809
1809
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -1917,7 +1917,7 @@
1917
1917
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
1918
1918
  border-bottom-left-radius: 100%;
1919
1919
  }
1920
- `,Em=[eb];var wn=class{constructor(o){this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,e]=this.popover.delay.split(",").map(s=>{let n=parseInt(s,10);if(Number.isNaN(n)||n<0)throw new Error(`Invalid delay value: ${s}`);return n});return[o,e]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let e=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(e.style,{top:"",left:"",right:"",bottom:""});let s=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,n=this.popover.offsetHeight||0,h=this.popover.offsetWidth||0;if(e)switch(o.split("-")[0]){case"top":e.style.height=s,e.style.bottom=`calc(-1 * (${s}))`,e.style.left="50%",e.style.width=`${h}px`;break;case"left":e.style.height=`${n}px`,e.style.width=s,e.style.right=`calc(-1.5 * (${s}))`;break;case"right":e.style.height=`${n}px`,e.style.width=s,e.style.left=`calc(-0.5 * (${s}))`;break;case"bottom":default:e.style.height=s,e.style.top=`calc(-1 * (${s}))`,e.style.left="50%",e.style.width=`${h}px`;break}}setupAppendTo(){if(this.popover.appendTo){let o=document.getElementById(this.popover.appendTo);o&&o.appendChild(this.popover)}}setupAccessibility(){var o,e,s;this.popover.role===lt.DIALOG||this.popover.role===lt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal"),this.popover.interactive&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((e=this.popover.triggerElement)==null?void 0:e.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((s=this.popover.triggerElement)==null?void 0:s.id)||""))}updateAriaHasPopupAttribute(){var o,e,s;this.popover.interactive&&!this.popover.disableAriaHasPopup?(e=this.popover.triggerElement)==null||e.setAttribute("aria-haspopup",((o=this.popover.triggerElement)==null?void 0:o.getAttribute("aria-haspopup"))||"dialog"):(s=this.popover.triggerElement)==null||s.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var o,e;this.popover.disableAriaExpanded?(o=this.popover.triggerElement)==null||o.removeAttribute("aria-expanded"):(e=this.popover.triggerElement)==null||e.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(o,e){var W;if(!this.popover.arrowElement)return;let s=e.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[s],{x:h,y:m}=o,T=this.popover.arrowElement.getBoundingClientRect(),L=(W=this.popover.arrowElement.offsetParent)==null?void 0:W.getBoundingClientRect();if(!this.arrowPixelChange){let K=L!=null&&L[n]?12-Math.abs(T[n]-L[n]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let $=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",s),Object.assign(this.popover.arrowElement.style,{left:h!=null?`${h}px`:"",top:m!=null?`${m}px`:"",[n]:`${-this.popover.arrowElement.offsetHeight/2-$}px`})}updatePopoverStyle(o,e){Object.assign(this.popover.style,{left:`${o}px`,top:`${e}px`})}createBackdrop(){var o;if(!this.popover.backdropElement){let e=document.createElement("div");e.classList.add("popover-backdrop");let s=document.createElement("style");s.textContent=`
1920
+ `,Tm=[rb];var Cn=class{constructor(o){this.arrowPixelChange=!1;this.popover=o}setupDelay(){try{let[o,e]=this.popover.delay.split(",").map(s=>{let n=parseInt(s,10);if(Number.isNaN(n)||n<0)throw new Error(`Invalid delay value: ${s}`);return n});return[o,e]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(o){let e=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(e.style,{top:"",left:"",right:"",bottom:""});let s=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,n=this.popover.offsetHeight||0,h=this.popover.offsetWidth||0;if(e)switch(o.split("-")[0]){case"top":e.style.height=s,e.style.bottom=`calc(-1 * (${s}))`,e.style.left="50%",e.style.width=`${h}px`;break;case"left":e.style.height=`${n}px`,e.style.width=s,e.style.right=`calc(-1.5 * (${s}))`;break;case"right":e.style.height=`${n}px`,e.style.width=s,e.style.left=`calc(-0.5 * (${s}))`;break;case"bottom":default:e.style.height=s,e.style.top=`calc(-1 * (${s}))`,e.style.left="50%",e.style.width=`${h}px`;break}}setupAppendTo(){if(this.popover.appendTo){let o=document.getElementById(this.popover.appendTo);o&&o.appendChild(this.popover)}}setupAccessibility(){var o,e,s;this.popover.role===lt.DIALOG||this.popover.role===lt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal"),this.popover.interactive&&(this.popover.ariaLabel||(this.popover.ariaLabel=((o=this.popover.triggerElement)==null?void 0:o.ariaLabel)||((e=this.popover.triggerElement)==null?void 0:e.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((s=this.popover.triggerElement)==null?void 0:s.id)||""))}updateAriaHasPopupAttribute(){var o,e,s;this.popover.interactive&&!this.popover.disableAriaHasPopup?(e=this.popover.triggerElement)==null||e.setAttribute("aria-haspopup",((o=this.popover.triggerElement)==null?void 0:o.getAttribute("aria-haspopup"))||"dialog"):(s=this.popover.triggerElement)==null||s.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var o,e;this.popover.disableAriaExpanded?(o=this.popover.triggerElement)==null||o.removeAttribute("aria-expanded"):(e=this.popover.triggerElement)==null||e.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(o,e){var W;if(!this.popover.arrowElement)return;let s=e.split("-")[0],n={top:"bottom",right:"left",bottom:"top",left:"right"}[s],{x:h,y:m}=o,T=this.popover.arrowElement.getBoundingClientRect(),L=(W=this.popover.arrowElement.offsetParent)==null?void 0:W.getBoundingClientRect();if(!this.arrowPixelChange){let K=L!=null&&L[n]?12-Math.abs(T[n]-L[n]):0;Math.round(K)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let $=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",s),Object.assign(this.popover.arrowElement.style,{left:h!=null?`${h}px`:"",top:m!=null?`${m}px`:"",[n]:`${-this.popover.arrowElement.offsetHeight/2-$}px`})}updatePopoverStyle(o,e){Object.assign(this.popover.style,{left:`${o}px`,top:`${e}px`})}createBackdrop(){var o;if(!this.popover.backdropElement){let e=document.createElement("div");e.classList.add("popover-backdrop");let s=document.createElement("style");s.textContent=`
1921
1921
  .popover-backdrop {
1922
1922
  position: fixed;
1923
1923
  top: 0;
@@ -1927,7 +1927,7 @@
1927
1927
  background: transparent;
1928
1928
  z-index: ${this.popover.zIndex-1};
1929
1929
  }
1930
- `,e.appendChild(s),(o=this.popover.parentElement)==null||o.appendChild(e),this.popover.backdropElement=e}}};var It=class extends kn(In(q)){constructor(){super();this.id="";this.triggerID="";this.trigger=Mt.TRIGGER;this.placement=Mt.PLACEMENT;this.color=Mt.COLOR;this.visible=Mt.VISIBLE;this.offset=Mt.OFFSET;this.focusTrap=Mt.FOCUS_TRAP;this.preventScroll=Mt.PREVENT_SCROLL;this.showArrow=Mt.ARROW;this.closeButton=Mt.CLOSE_BUTTON;this.interactive=Mt.INTERACTIVE;this.delay=Mt.DELAY;this.hideOnEscape=Mt.HIDE_ON_ESCAPE;this.propagateEventOnEscape=Mt.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=Mt.HIDE_ON_BLUR;this.hideOnOutsideClick=Mt.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=Mt.FOCUS_BACK;this.backdrop=Mt.BACKDROP;this.flip=Mt.FLIP;this.size=Mt.SIZE;this.zIndex=Mt.Z_INDEX;this.closeButtonAriaLabel=null;this.role=Mt.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=Mt.DISABLE_ARIA_EXPANDED;this.disableAriaHasPopup=Mt.DISABLE_ARIA_HAS_POPUP;this.arrowElement=null;this.triggerElement=null;this.hoverTimer=null;this.isHovered=!1;this.isTriggerClicked=!1;this.openDelay=0;this.closeDelay=0;this.backdropElement=null;this.onOutsidePopoverClick=e=>{if(fe.peek()!==this)return;let s=!1,n=e.composedPath();s=this.contains(e.target)||n.includes(this.triggerElement);let h=this.backdropElement?n.includes(this.backdropElement):!1;(!s||h)&&this.hidePopover()};this.onEscapeKeydown=e=>{!this.visible||e.code!=="Escape"||(this.propagateEventOnEscape||e.stopPropagation(),e.preventDefault(),this.hidePopover())};this.onPopoverFocusOut=e=>{this.contains(e.relatedTarget)||this.hidePopover()};this.handleMouseEnter=()=>{this.isHovered=!0,this.showPopover()};this.handleMouseLeave=()=>{this.isHovered=!1,this.startCloseDelay()};this.handleFocusOut=()=>{this.isHovered||this.hidePopover()};this.startCloseDelay=()=>{if(!this.interactive)this.hidePopover();else{if(this.isTriggerClicked)return;this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay)}};this.cancelCloseDelay=()=>{this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.showPopover=()=>{this.cancelCloseDelay(),setTimeout(()=>{this.visible=!0},this.openDelay)};this.hidePopover=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1},this.closeDelay):(this.visible=!1,this.isTriggerClicked=!1)};this.togglePopoverVisible=()=>{this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0)};this.utils=new wn(this)}async firstUpdated(e){var s,n;super.firstUpdated(e),this.utils.setupAppendTo(),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.setupTriggerListener(),this.utils.setupAccessibility(),this.style.zIndex=`${this.zIndex}`,ji.onCreatedPopover(this),this.visible&&(this.positionPopover(),this.activatePreventScroll(),this.interactive&&this.focusTrap&&(await this.updateComplete,(s=this.activateFocusTrap)==null||s.call(this),(n=this.setInitialFocus)==null||n.call(this)))}async disconnectedCallback(){var e;super.disconnectedCallback(),this.removeEventListeners(),(e=this.deactivateFocusTrap)==null||e.call(this),this.deactivatePreventScroll(),ji.onDestroyedPopover(this),fe.remove(this)}setupTriggerListener(){if(this.triggerID&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerID}"]`),!!this.triggerElement)){if(this.trigger==="mouseenter"&&(this.interactive?this.trigger="mouseenter click":this.trigger="mouseenter focusin"),this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.togglePopoverVisible),this.trigger.includes("mouseenter")){let e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.addEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay),e==null||e.addEventListener("mouseenter",this.showPopover)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.showPopover),this.interactive||this.triggerElement.addEventListener("focusout",this.handleFocusOut)),this.addEventListener("focus-trap-exit",this.hidePopover)}}removeEventListeners(){if(!this.triggerElement)return;let e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.removeEventListener("click",this.togglePopoverVisible),this.triggerElement.removeEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),this.triggerElement.removeEventListener("focusin",this.showPopover),this.triggerElement.removeEventListener("focusout",this.handleFocusOut),e==null||e.removeEventListener("mouseenter",this.showPopover),this.removeEventListener("focus-trap-exit",this.hidePopover)}async updated(e){if(super.updated(e),e.has("visible")){let s=e.get("visible")||!1;await this.isOpenUpdated(s,this.visible),this.utils.updateAriaExpandedAttribute()}if(e.has("placement")&&this.setAttribute("placement",Object.values(Gt).includes(this.placement)?this.placement:Mt.PLACEMENT),e.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),e.has("trigger")){let n=this.trigger.split(" ").filter(h=>Object.values(Gi).includes(h));this.setAttribute("trigger",n.length>0?this.trigger:Mt.TRIGGER),this.removeEventListeners(),this.setupTriggerListener()}e.has("color")&&this.setAttribute("color",Object.values(Hi).includes(this.color)?this.color:Mt.COLOR),e.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),e.has("append-to")&&this.utils.setupAppendTo(),(e.has("interactive")||e.has("aria-label")||e.has("aria-labelledby"))&&this.utils.setupAccessibility(),e.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),(e.has("interactive")||e.has("disableAriaHasPopup"))&&this.utils.updateAriaHasPopupAttribute(),e.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),e.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(e,s){var n,h,m,T,L,$,W;e===s||!this.triggerElement||(s?(fe.peek()!==this&&fe.push(this),this.backdrop&&(this.utils.createBackdrop(),this.triggerElement.style.zIndex=`${this.zIndex}`),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="none")),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),(n=this.triggerElement)==null||n.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.interactive&&this.focusTrap&&(await this.updateComplete,(h=this.activateFocusTrap)==null||h.call(this),(m=this.setInitialFocus)==null||m.call(this)),ji.onShowPopover(this)):(fe.peek()===this&&fe.pop(),this.backdropElement&&((T=this.backdropElement)==null||T.remove(),this.backdropElement=null),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),(L=this.triggerElement)==null||L.removeEventListener("keydown",this.onEscapeKeydown)),this.disableAriaExpanded||this.triggerElement.removeAttribute("aria-expanded"),this.interactive||this.triggerElement.removeAttribute("aria-haspopup"),this.deactivatePreventScroll(),($=this.deactivateFocusTrap)==null||$.call(this),this.focusBackToTrigger&&((W=this.triggerElement)==null||W.focus()),ji.onHidePopover(this)))}positionPopover(){if(!this.triggerElement)return;let e=[um()],s=this.offset;if(this.flip&&e.push(fm()),this.size){let n=this.renderRoot.querySelector('[part="popover-content"]');e.push(vm({apply({availableHeight:h}){n&&Object.assign(n.style,{maxHeight:`${h}px`,overflowY:"auto"})},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let n=this.arrowElement.offsetHeight,h=Math.sqrt(2*n**2)/2;s+=h,e.push(gm({element:this.arrowElement,padding:12}))}e.push(mm(s)),pm(this.triggerElement,this,async()=>{if(!this.triggerElement)return;let{x:n,y:h,middlewareData:m,placement:T}=await bm(this.triggerElement,this,{placement:this.placement,middleware:e});this.utils.updatePopoverStyle(n,h),m.arrow&&this.arrowElement&&this.utils.updateArrowStyle(m.arrow,T),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(T)})}render(){return O`
1930
+ `,e.appendChild(s),(o=this.popover.parentElement)==null||o.appendChild(e),this.popover.backdropElement=e}}};var It=class It extends kn(In(q)){constructor(){super();this.id="";this.triggerID="";this.trigger=Mt.TRIGGER;this.placement=Mt.PLACEMENT;this.color=Mt.COLOR;this.visible=Mt.VISIBLE;this.offset=Mt.OFFSET;this.focusTrap=Mt.FOCUS_TRAP;this.preventScroll=Mt.PREVENT_SCROLL;this.showArrow=Mt.ARROW;this.closeButton=Mt.CLOSE_BUTTON;this.interactive=Mt.INTERACTIVE;this.delay=Mt.DELAY;this.hideOnEscape=Mt.HIDE_ON_ESCAPE;this.propagateEventOnEscape=Mt.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=Mt.HIDE_ON_BLUR;this.hideOnOutsideClick=Mt.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=Mt.FOCUS_BACK;this.backdrop=Mt.BACKDROP;this.flip=Mt.FLIP;this.size=Mt.SIZE;this.zIndex=Mt.Z_INDEX;this.closeButtonAriaLabel=null;this.role=Mt.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=Mt.DISABLE_ARIA_EXPANDED;this.disableAriaHasPopup=Mt.DISABLE_ARIA_HAS_POPUP;this.arrowElement=null;this.triggerElement=null;this.triggerElementOriginalStyle={zIndex:"",position:""};this.hoverTimer=null;this.isHovered=!1;this.isTriggerClicked=!1;this.openDelay=0;this.closeDelay=0;this.backdropElement=null;this.onOutsidePopoverClick=e=>{if(fe.peek()!==this)return;let s=!1,n=e.composedPath();s=this.contains(e.target)||n.includes(this.triggerElement);let h=this.backdropElement?n.includes(this.backdropElement):!1;(!s||h)&&this.hidePopover()};this.onEscapeKeydown=e=>{!this.visible||e.code!=="Escape"||(this.propagateEventOnEscape||e.stopPropagation(),e.preventDefault(),this.hidePopover())};this.onPopoverFocusOut=e=>{this.contains(e.relatedTarget)||this.hidePopover()};this.handleMouseEnter=()=>{this.isHovered=!0,this.showPopover()};this.handleMouseLeave=()=>{this.isHovered=!1,this.startCloseDelay()};this.handleFocusOut=()=>{this.isHovered||this.hidePopover()};this.startCloseDelay=()=>{if(!this.interactive)this.hidePopover();else{if(this.isTriggerClicked)return;this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay)}};this.cancelCloseDelay=()=>{this.hoverTimer&&(clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.showPopover=()=>{this.cancelCloseDelay(),setTimeout(()=>{this.visible=!0},this.openDelay)};this.hidePopover=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1,this.isTriggerClicked=!1},this.closeDelay):(this.visible=!1,this.isTriggerClicked=!1)};this.togglePopoverVisible=()=>{this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0)};this.utils=new Cn(this)}async firstUpdated(e){var s,n;super.firstUpdated(e),this.utils.setupAppendTo(),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.setupTriggerListener(),this.utils.setupAccessibility(),this.style.zIndex=`${this.zIndex}`,ji.onCreatedPopover(this),this.visible&&(this.positionPopover(),this.activatePreventScroll(),this.interactive&&this.focusTrap&&(await this.updateComplete,(s=this.activateFocusTrap)==null||s.call(this),(n=this.setInitialFocus)==null||n.call(this)))}async disconnectedCallback(){var e;super.disconnectedCallback(),this.removeEventListeners(),(e=this.deactivateFocusTrap)==null||e.call(this),this.deactivatePreventScroll(),ji.onDestroyedPopover(this),fe.remove(this)}setupTriggerListener(){if(this.triggerID&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerID}"]`),!!this.triggerElement)){if(this.trigger==="mouseenter"&&(this.interactive?this.trigger="mouseenter click":this.trigger="mouseenter focusin"),this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.togglePopoverVisible),this.trigger.includes("mouseenter")){let e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.addEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay),e==null||e.addEventListener("mouseenter",this.showPopover)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.showPopover),this.interactive||this.triggerElement.addEventListener("focusout",this.handleFocusOut)),this.addEventListener("focus-trap-exit",this.hidePopover)}}removeEventListeners(){if(!this.triggerElement)return;let e=this.renderRoot.querySelector(".popover-hover-bridge");this.triggerElement.removeEventListener("click",this.togglePopoverVisible),this.triggerElement.removeEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),this.triggerElement.removeEventListener("focusin",this.showPopover),this.triggerElement.removeEventListener("focusout",this.handleFocusOut),e==null||e.removeEventListener("mouseenter",this.showPopover),this.removeEventListener("focus-trap-exit",this.hidePopover)}async updated(e){if(super.updated(e),e.has("visible")){let s=e.get("visible")||!1;await this.isOpenUpdated(s,this.visible),this.utils.updateAriaExpandedAttribute()}if(e.has("placement")&&this.setAttribute("placement",Object.values(Gt).includes(this.placement)?this.placement:Mt.PLACEMENT),e.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),e.has("trigger")){let n=this.trigger.split(" ").filter(h=>Object.values(Gi).includes(h));this.setAttribute("trigger",n.length>0?this.trigger:Mt.TRIGGER),this.removeEventListeners(),this.setupTriggerListener()}e.has("color")&&this.setAttribute("color",Object.values(Hi).includes(this.color)?this.color:Mt.COLOR),e.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),e.has("append-to")&&this.utils.setupAppendTo(),(e.has("interactive")||e.has("aria-label")||e.has("aria-labelledby"))&&this.utils.setupAccessibility(),e.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),(e.has("interactive")||e.has("disableAriaHasPopup"))&&this.utils.updateAriaHasPopupAttribute(),e.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),e.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(e,s){var n,h,m,T,L,$,W;e===s||!this.triggerElement||(s?(fe.peek()!==this&&fe.push(this),this.backdrop&&(this.utils.createBackdrop(),this.triggerElementOriginalStyle={position:this.triggerElement.style.position,zIndex:this.triggerElement.style.zIndex},this.triggerElement.style.position="relative",this.triggerElement.style.zIndex=`${this.zIndex}`),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="none")),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),(n=this.triggerElement)==null||n.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.interactive&&this.focusTrap&&(await this.updateComplete,(h=this.activateFocusTrap)==null||h.call(this),(m=this.setInitialFocus)==null||m.call(this)),ji.onShowPopover(this)):(fe.peek()===this&&fe.pop(),this.backdrop&&(this.triggerElement.style.position=this.triggerElementOriginalStyle.position,this.triggerElement.style.zIndex=this.triggerElementOriginalStyle.zIndex),this.backdropElement&&((T=this.backdropElement)==null||T.remove(),this.backdropElement=null),this.hideOnBlur&&(this.removeEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="")),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),(L=this.triggerElement)==null||L.removeEventListener("keydown",this.onEscapeKeydown)),this.disableAriaExpanded||this.triggerElement.removeAttribute("aria-expanded"),this.interactive||this.triggerElement.removeAttribute("aria-haspopup"),this.deactivatePreventScroll(),($=this.deactivateFocusTrap)==null||$.call(this),this.focusBackToTrigger&&((W=this.triggerElement)==null||W.focus()),ji.onHidePopover(this)))}positionPopover(){if(!this.triggerElement)return;let e=[fm()],s=this.offset;if(this.flip&&e.push(vm()),this.size){let n=this.renderRoot.querySelector('[part="popover-content"]');e.push(gm({apply({availableHeight:h}){n&&Object.assign(n.style,{maxHeight:`${h}px`,overflowY:"auto"})},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let n=this.arrowElement.offsetHeight,h=Math.sqrt(2*n**2)/2;s+=h,e.push(bm({element:this.arrowElement,padding:12}))}e.push(um(s)),mm(this.triggerElement,this,async()=>{if(!this.triggerElement)return;let{x:n,y:h,middlewareData:m,placement:T}=await ym(this.triggerElement,this,{placement:this.placement,middleware:e});this.utils.updatePopoverStyle(n,h),m.arrow&&this.arrowElement&&this.utils.updateArrowStyle(m.arrow,T),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge(T)})}findClosestPopover(e){let s=e;for(;s&&!(s instanceof It);)s=s.parentElement;return s}render(){return O`
1931
1931
  <div class="popover-hover-bridge"></div>
1932
1932
  ${this.closeButton?O` <mdc-button
1933
1933
  class="popover-close"
@@ -1941,7 +1941,7 @@
1941
1941
  <div part="popover-content">
1942
1942
  <slot></slot>
1943
1943
  </div>
1944
- `}};It.styles=[...q.styles,...Em],v([E({type:String,reflect:!0})],It.prototype,"id",2),v([E({type:String,reflect:!0})],It.prototype,"triggerID",2),v([E({type:String,reflect:!0})],It.prototype,"trigger",2),v([E({type:String,reflect:!0})],It.prototype,"placement",2),v([E({type:String,reflect:!0})],It.prototype,"color",2),v([E({type:Boolean,reflect:!0})],It.prototype,"visible",2),v([E({type:Number,reflect:!0})],It.prototype,"offset",2),v([E({type:Boolean,reflect:!0,attribute:"focus-trap"})],It.prototype,"focusTrap",2),v([E({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],It.prototype,"preventScroll",2),v([E({type:Boolean,reflect:!0,attribute:"show-arrow"})],It.prototype,"showArrow",2),v([E({type:Boolean,reflect:!0,attribute:"close-button"})],It.prototype,"closeButton",2),v([E({type:Boolean,reflect:!0})],It.prototype,"interactive",2),v([E({type:String,reflect:!0})],It.prototype,"delay",2),v([E({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],It.prototype,"hideOnEscape",2),v([E({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],It.prototype,"propagateEventOnEscape",2),v([E({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],It.prototype,"hideOnBlur",2),v([E({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],It.prototype,"hideOnOutsideClick",2),v([E({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],It.prototype,"focusBackToTrigger",2),v([E({type:Boolean,reflect:!0})],It.prototype,"backdrop",2),v([E({type:Boolean,reflect:!0})],It.prototype,"flip",2),v([E({type:Boolean,reflect:!0})],It.prototype,"size",2),v([E({type:Number,reflect:!0,attribute:"z-index"})],It.prototype,"zIndex",2),v([E({type:String,reflect:!0,attribute:"append-to"})],It.prototype,"appendTo",2),v([E({type:String,attribute:"close-button-aria-label",reflect:!0})],It.prototype,"closeButtonAriaLabel",2),v([E({type:String,reflect:!0})],It.prototype,"role",2),v([E({type:String,reflect:!0,attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),v([E({type:String,reflect:!0,attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],It.prototype,"disableAriaExpanded",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],It.prototype,"disableAriaHasPopup",2);var Le=It;var Tm=j.constructTagName("toggletip"),Wi={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Gt.TOP,CLICK:Gi.CLICK,SHOW_ARROW:!0};var rb=H`
1944
+ `}};It.styles=[...q.styles,...Tm],v([E({type:String,reflect:!0})],It.prototype,"id",2),v([E({type:String,reflect:!0})],It.prototype,"triggerID",2),v([E({type:String,reflect:!0})],It.prototype,"trigger",2),v([E({type:String,reflect:!0})],It.prototype,"placement",2),v([E({type:String,reflect:!0})],It.prototype,"color",2),v([E({type:Boolean,reflect:!0})],It.prototype,"visible",2),v([E({type:Number,reflect:!0})],It.prototype,"offset",2),v([E({type:Boolean,reflect:!0,attribute:"focus-trap"})],It.prototype,"focusTrap",2),v([E({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],It.prototype,"preventScroll",2),v([E({type:Boolean,reflect:!0,attribute:"show-arrow"})],It.prototype,"showArrow",2),v([E({type:Boolean,reflect:!0,attribute:"close-button"})],It.prototype,"closeButton",2),v([E({type:Boolean,reflect:!0})],It.prototype,"interactive",2),v([E({type:String,reflect:!0})],It.prototype,"delay",2),v([E({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],It.prototype,"hideOnEscape",2),v([E({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],It.prototype,"propagateEventOnEscape",2),v([E({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],It.prototype,"hideOnBlur",2),v([E({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],It.prototype,"hideOnOutsideClick",2),v([E({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],It.prototype,"focusBackToTrigger",2),v([E({type:Boolean,reflect:!0})],It.prototype,"backdrop",2),v([E({type:Boolean,reflect:!0})],It.prototype,"flip",2),v([E({type:Boolean,reflect:!0})],It.prototype,"size",2),v([E({type:Number,reflect:!0,attribute:"z-index"})],It.prototype,"zIndex",2),v([E({type:String,reflect:!0,attribute:"append-to"})],It.prototype,"appendTo",2),v([E({type:String,attribute:"close-button-aria-label",reflect:!0})],It.prototype,"closeButtonAriaLabel",2),v([E({type:String,reflect:!0})],It.prototype,"role",2),v([E({type:String,reflect:!0,attribute:"aria-labelledby"})],It.prototype,"ariaLabelledby",2),v([E({type:String,reflect:!0,attribute:"aria-describedby"})],It.prototype,"ariaDescribedby",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],It.prototype,"disableAriaExpanded",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],It.prototype,"disableAriaHasPopup",2);var hc=It,Le=hc;var xm=j.constructTagName("toggletip"),Wi={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Gt.TOP,CLICK:Gi.CLICK,SHOW_ARROW:!0};var ib=H`
1945
1945
  :host {
1946
1946
  --mdc-toggletip-max-width: 400px;
1947
1947
  --mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
@@ -1971,7 +1971,7 @@
1971
1971
  :host([close-button]:dir(rtl))::part(popover-content) {
1972
1972
  margin-left: 2rem;
1973
1973
  }
1974
- `,xm=[rb];var hi=class extends Le{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=Wi.PLACEMENT}connectedCallback(){var e;super.connectedCallback(),this.closeButton=(e=this.closeButton)!=null?e:Wi.CLOSE_BUTTON,this.closeButtonAriaLabel=Wi.CLOSE_BUTTON_ARIA_LABEL,this.trigger=Wi.CLICK,this.showArrow=Wi.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var e,s;return((s=(e=this.defaultSlotNodes)==null?void 0:e.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}onPlacementUpdated(){Object.values(Gt).includes(this.placement)||(this.placement=Wi.PLACEMENT)}update(e){super.update(e),e.has("placement")&&this.onPlacementUpdated(),e.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return O`
1974
+ `,Am=[ib];var hi=class extends Le{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=Wi.PLACEMENT}connectedCallback(){var e;super.connectedCallback(),this.closeButton=(e=this.closeButton)!=null?e:Wi.CLOSE_BUTTON,this.closeButtonAriaLabel=Wi.CLOSE_BUTTON_ARIA_LABEL,this.trigger=Wi.CLICK,this.showArrow=Wi.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var e,s;return((s=(e=this.defaultSlotNodes)==null?void 0:e.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}onPlacementUpdated(){Object.values(Gt).includes(this.placement)||(this.placement=Wi.PLACEMENT)}update(e){super.update(e),e.has("placement")&&this.onPlacementUpdated(),e.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return O`
1975
1975
  ${super.render()}
1976
1976
  <mdc-screenreaderannouncer
1977
1977
  identity="${at(this.screenreaderAnnouncerIdentity)}"
@@ -1979,12 +1979,12 @@
1979
1979
  delay="300"
1980
1980
  >
1981
1981
  </mdc-screenreaderannouncer>
1982
- `}};hi.styles=[...Le.styles,...xm],v([za()],hi.prototype,"defaultSlotNodes",2),v([At()],hi.prototype,"currentAnnouncement",2),v([E({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],hi.prototype,"screenreaderAnnouncerIdentity",2),v([E({type:String,reflect:!0})],hi.prototype,"placement",2);var hc=hi;var oe=[];for(let l=0;l<256;++l)oe.push((l+256).toString(16).slice(1));function Am(l,o=0){return(oe[l[o+0]]+oe[l[o+1]]+oe[l[o+2]]+oe[l[o+3]]+"-"+oe[l[o+4]]+oe[l[o+5]]+"-"+oe[l[o+6]]+oe[l[o+7]]+"-"+oe[l[o+8]]+oe[l[o+9]]+"-"+oe[l[o+10]]+oe[l[o+11]]+oe[l[o+12]]+oe[l[o+13]]+oe[l[o+14]]+oe[l[o+15]]).toLowerCase()}var pc,ib=new Uint8Array(16);function mc(){if(!pc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");pc=crypto.getRandomValues.bind(crypto)}return pc(ib)}var ob=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),uc={randomUUID:ob};function sb(l,o,e){var n,h,m;if(uc.randomUUID&&!o&&!l)return uc.randomUUID();l=l||{};let s=(m=(h=l.random)!=null?h:(n=l.rng)==null?void 0:n.call(l))!=null?m:mc();if(s.length<16)throw new Error("Random bytes length must be >= 16");if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,o){if(e=e||0,e<0||e+16>o.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let T=0;T<16;++T)o[e+T]=s[T];return o}return Am(s)}var je=sb;var _m=j.constructTagName("screenreaderannouncer"),ab={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},$o={ARIA_LIVE:ab.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var nb=[H`
1982
+ `}};hi.styles=[...Le.styles,...Am],v([za()],hi.prototype,"defaultSlotNodes",2),v([At()],hi.prototype,"currentAnnouncement",2),v([E({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],hi.prototype,"screenreaderAnnouncerIdentity",2),v([E({type:String,reflect:!0})],hi.prototype,"placement",2);var pc=hi;var oe=[];for(let l=0;l<256;++l)oe.push((l+256).toString(16).slice(1));function _m(l,o=0){return(oe[l[o+0]]+oe[l[o+1]]+oe[l[o+2]]+oe[l[o+3]]+"-"+oe[l[o+4]]+oe[l[o+5]]+"-"+oe[l[o+6]]+oe[l[o+7]]+"-"+oe[l[o+8]]+oe[l[o+9]]+"-"+oe[l[o+10]]+oe[l[o+11]]+oe[l[o+12]]+oe[l[o+13]]+oe[l[o+14]]+oe[l[o+15]]).toLowerCase()}var mc,ob=new Uint8Array(16);function uc(){if(!mc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");mc=crypto.getRandomValues.bind(crypto)}return mc(ob)}var sb=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),fc={randomUUID:sb};function ab(l,o,e){var n,h,m;if(fc.randomUUID&&!o&&!l)return fc.randomUUID();l=l||{};let s=(m=(h=l.random)!=null?h:(n=l.rng)==null?void 0:n.call(l))!=null?m:uc();if(s.length<16)throw new Error("Random bytes length must be >= 16");if(s[6]=s[6]&15|64,s[8]=s[8]&63|128,o){if(e=e||0,e<0||e+16>o.length)throw new RangeError(`UUID byte range ${e}:${e+15} is out of buffer bounds`);for(let T=0;T<16;++T)o[e+T]=s[T];return o}return _m(s)}var je=ab;var Sm=j.constructTagName("screenreaderannouncer"),nb={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},zo={ARIA_LIVE:nb.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var lb=[H`
1983
1983
  :host {
1984
1984
  display: none;
1985
1985
  visibility: hidden;
1986
1986
  }
1987
- `],Sm=nb;var Br=class extends q{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=$o.ARIA_LIVE;this.delay=$o.DELAY;this.timeout=$o.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(e,s,n,h){var m;if(e.length>0){let T=`mdc-screenreaderannouncer-announcement-${je()}`,L=document.createElement("div");L.id=T,L.ariaLive=h,(m=document.getElementById(this.identity))==null||m.appendChild(L);let $=window.setTimeout(()=>{let W=document.createElement("p");W.textContent=e,L.appendChild(W),this.ariaLiveAnnouncementIds.push(T);let K=window.setTimeout(()=>{var ot;(ot=document.getElementById(T))==null||ot.remove()},n);this.timeOutIds.push(K)},s);this.timeOutIds.push($)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(e=>{window.clearTimeout(e)}),this.ariaLiveAnnouncementIds.forEach(e=>{var s;(s=document.getElementById(e))==null||s.remove()})}createAnnouncementAriaLiveRegion(){let e=document.getElementById(this.identity);if(!e){e=document.createElement("div"),e.id=this.identity;let s=document.createElement("style");s.textContent=`
1987
+ `],Im=lb;var Br=class extends q{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=zo.ARIA_LIVE;this.delay=zo.DELAY;this.timeout=zo.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(e,s,n,h){var m;if(e.length>0){let T=`mdc-screenreaderannouncer-announcement-${je()}`,L=document.createElement("div");L.id=T,L.ariaLive=h,(m=document.getElementById(this.identity))==null||m.appendChild(L);let $=window.setTimeout(()=>{let W=document.createElement("p");W.textContent=e,L.appendChild(W),this.ariaLiveAnnouncementIds.push(T);let K=window.setTimeout(()=>{var ot;(ot=document.getElementById(T))==null||ot.remove()},n);this.timeOutIds.push(K)},s);this.timeOutIds.push($)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(e=>{window.clearTimeout(e)}),this.ariaLiveAnnouncementIds.forEach(e=>{var s;(s=document.getElementById(e))==null||s.remove()})}createAnnouncementAriaLiveRegion(){let e=document.getElementById(this.identity);if(!e){e=document.createElement("div"),e.id=this.identity;let s=document.createElement("style");s.textContent=`
1988
1988
  .mdc-screenreaderannouncer__visually-hidden {
1989
1989
  clip: rect(0 0 0 0);
1990
1990
  clip-path: inset(50%);
@@ -1994,7 +1994,7 @@
1994
1994
  white-space: nowrap;
1995
1995
  width: 1px;
1996
1996
  }
1997
- `,e.appendChild(s),e.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(e)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=$o.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(e){e.has("identity")&&this.identity.length===0&&(this.identity=$o.IDENTITY,this.createAnnouncementAriaLiveRegion()),e.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};Br.styles=[...q.styles,...Sm],v([E({type:String,reflect:!0})],Br.prototype,"announcement",2),v([E({type:String,reflect:!0})],Br.prototype,"identity",2),v([E({type:String,reflect:!0,attribute:"data-aria-live"})],Br.prototype,"dataAriaLive",2),v([E({type:Number,reflect:!0})],Br.prototype,"delay",2),v([E({type:Number,reflect:!0})],Br.prototype,"timeout",2);var fc=Br;fc.register(_m);var lb=fc;hc.register(Tm);var cb=hc;var Wt=l=>{class o extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return v([E({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var Ne=l=>{class o extends l{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}connectedCallback(){super.connectedCallback(),this.id=`mdc-el-${je()}`}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,v([E({reflect:!0,type:String})],o.prototype,"name",2),v([E({reflect:!0,type:String})],o.prototype,"value",2),v([E({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),v([Rr("input")],o.prototype,"inputElement",2),o};var Im=j.constructTagName("formfieldwrapper"),Yt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Rt={VALIDATION:Yt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},Gs={TAGNAME:bt.SPAN,TYPE:it.BODY_MIDSIZE_REGULAR,HEADER_TYPE:it.BODY_MIDSIZE_BOLD};var db=[Et,H`
1997
+ `,e.appendChild(s),e.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(e)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=zo.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(e){e.has("identity")&&this.identity.length===0&&(this.identity=zo.IDENTITY,this.createAnnouncementAriaLiveRegion()),e.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};Br.styles=[...q.styles,...Im],v([E({type:String,reflect:!0})],Br.prototype,"announcement",2),v([E({type:String,reflect:!0})],Br.prototype,"identity",2),v([E({type:String,reflect:!0,attribute:"data-aria-live"})],Br.prototype,"dataAriaLive",2),v([E({type:Number,reflect:!0})],Br.prototype,"delay",2),v([E({type:Number,reflect:!0})],Br.prototype,"timeout",2);var vc=Br;vc.register(Sm);var cb=vc;pc.register(xm);var db=pc;var Wt=l=>{class o extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return v([E({type:String,reflect:!0,attribute:"data-aria-label"})],o.prototype,"dataAriaLabel",2),o};var Ne=l=>{class o extends l{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}connectedCallback(){super.connectedCallback(),this.id=`mdc-el-${je()}`}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,v([E({reflect:!0,type:String})],o.prototype,"name",2),v([E({reflect:!0,type:String})],o.prototype,"value",2),v([E({reflect:!0,type:String,attribute:"validation-message"})],o.prototype,"validationMessage",2),v([Rr("input")],o.prototype,"inputElement",2),o};var km=j.constructTagName("formfieldwrapper"),Yt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Rt={VALIDATION:Yt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},Hs={TAGNAME:bt.SPAN,TYPE:it.BODY_MIDSIZE_REGULAR,HEADER_TYPE:it.BODY_MIDSIZE_BOLD};var hb=[Et,H`
1998
1998
  :host {
1999
1999
  flex-direction: column;
2000
2000
  align-items: flex-start;
@@ -2052,18 +2052,18 @@
2052
2052
  :host([help-text-type='priority']) .mdc-help-text {
2053
2053
  color: var(--mds-color-theme-text-accent-normal);
2054
2054
  }
2055
- `],km=db;var wm=l=>({[Yt.ERROR]:"error-legacy-badge-filled",[Yt.WARNING]:"warning-badge-filled",[Yt.SUCCESS]:"check-circle-badge-filled",[Yt.PRIORITY]:"priority-badge-filled",[Yt.DEFAULT]:""})[l]||"";var We=class extends $t(q){constructor(){super(...arguments);this.required=!1;this.id="";this.helpTextType=Rt.VALIDATION;this.toggletipPlacement=Rt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?O`<label for="${this.id}" id="${Rt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:O` <mdc-text
2055
+ `],Cm=hb;var wm=l=>({[Yt.ERROR]:"error-legacy-badge-filled",[Yt.WARNING]:"warning-badge-filled",[Yt.SUCCESS]:"check-circle-badge-filled",[Yt.PRIORITY]:"priority-badge-filled",[Yt.DEFAULT]:""})[l]||"";var We=class extends Ft(q){constructor(){super(...arguments);this.required=!1;this.id="";this.helpTextType=Rt.VALIDATION;this.toggletipPlacement=Rt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?O`<label for="${this.id}" id="${Rt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:O` <mdc-text
2056
2056
  id="${Rt.HEADING_ID}"
2057
- tagname="${Gs.TAGNAME}"
2058
- type="${Gs.HEADER_TYPE}"
2057
+ tagname="${Hs.TAGNAME}"
2058
+ type="${Hs.HEADER_TYPE}"
2059
2059
  part="label"
2060
2060
  >${this.label}</mdc-text
2061
2061
  >`:Y}renderHelpTextIcon(){if(!this.helpText)return Y;let e=wm(this.helpTextType||Rt.VALIDATION);return e&&!this.disabled?O`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${e}></mdc-icon>`:Y}renderHelpText(){return this.helpText?O`
2062
2062
  <mdc-text
2063
2063
  id="${Rt.HELPER_TEXT_ID}"
2064
2064
  part="help-text"
2065
- tagname=${Gs.TAGNAME}
2066
- type=${Gs.TYPE}
2065
+ tagname=${Hs.TAGNAME}
2066
+ type=${Hs.TYPE}
2067
2067
  >
2068
2068
  ${this.helpText}
2069
2069
  </mdc-text>
@@ -2089,7 +2089,7 @@
2089
2089
  </div>`:Y}renderHelperText(){return this.helpText?O`<div class="mdc-help-text" part="help-text">
2090
2090
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
2091
2091
  <slot name="help-text">${this.renderHelpText()}</slot>
2092
- </div>`:Y}};We.styles=[...q.styles,...km],v([E({reflect:!0,type:String})],We.prototype,"label",2),v([E({type:Boolean,reflect:!0,attribute:"required"})],We.prototype,"required",2),v([E({type:String})],We.prototype,"id",2),v([E({reflect:!0,attribute:"help-text-type"})],We.prototype,"helpTextType",2),v([E({type:String,reflect:!0,attribute:"help-text"})],We.prototype,"helpText",2),v([E({type:String,reflect:!0,attribute:"toggletip-text"})],We.prototype,"toggletipText",2),v([E({type:String,reflect:!0,attribute:"toggletip-placement"})],We.prototype,"toggletipPlacement",2),v([E({type:String,reflect:!0,attribute:"info-icon-aria-label"})],We.prototype,"infoIconAriaLabel",2);var ve=We;var hb=[H`
2092
+ </div>`:Y}};We.styles=[...q.styles,...Cm],v([E({reflect:!0,type:String})],We.prototype,"label",2),v([E({type:Boolean,reflect:!0,attribute:"required"})],We.prototype,"required",2),v([E({type:String})],We.prototype,"id",2),v([E({reflect:!0,attribute:"help-text-type"})],We.prototype,"helpTextType",2),v([E({type:String,reflect:!0,attribute:"help-text"})],We.prototype,"helpText",2),v([E({type:String,reflect:!0,attribute:"toggletip-text"})],We.prototype,"toggletipText",2),v([E({type:String,reflect:!0,attribute:"toggletip-placement"})],We.prototype,"toggletipPlacement",2),v([E({type:String,reflect:!0,attribute:"info-icon-aria-label"})],We.prototype,"infoIconAriaLabel",2);var ve=We;var pb=[H`
2093
2093
  :host {
2094
2094
  --mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
2095
2095
  --mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
@@ -2155,7 +2155,7 @@
2155
2155
  flex-direction: column;
2156
2156
  gap: 0.25rem;
2157
2157
  }
2158
- `,...St(!0)],Cm=hb;var Yi=class extends Ne(Wt(ve)){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?O`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:Y}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}setFormValue(){let e=null;this.checked?e=this.value?this.value:"on":e=null,this.manageRequired(),this.internals.setFormValue(e)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}handleChange(e){this.toggleState();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var e;return O`
2158
+ `,...St(!0)],Lm=pb;var Yi=class extends Ne(Wt(ve)){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?O`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:Y}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}setFormValue(){let e=null;this.checked?e=this.value?this.value:"on":e=null,this.manageRequired(),this.internals.setFormValue(e)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}handleChange(e){this.toggleState();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}update(e){super.update(e),e.has("checked")&&this.setFormValue()}render(){var e;return O`
2159
2159
  <mdc-staticcheckbox
2160
2160
  class="mdc-focus-ring"
2161
2161
  ?checked="${this.checked}"
@@ -2182,7 +2182,7 @@
2182
2182
  />
2183
2183
  </mdc-staticcheckbox>
2184
2184
  ${this.renderLabelAndHelperText()}
2185
- `}};Yi.styles=[...ve.styles,...Cm],v([E({type:Boolean,reflect:!0})],Yi.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],Yi.prototype,"indeterminate",2),v([E({type:Boolean,reflect:!0})],Yi.prototype,"autofocus",2);var vc=Yi;vc.register(zp);var pb=vc;var Lm=j.constructTagName("chip"),mb={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},zo={COLOR:mb.DEFAULT,TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,SIZE:Ci[24],ROLE:"button"};var ub=H`
2185
+ `}};Yi.styles=[...ve.styles,...Lm],v([E({type:Boolean,reflect:!0})],Yi.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],Yi.prototype,"indeterminate",2),v([E({type:Boolean,reflect:!0})],Yi.prototype,"autofocus",2);var gc=Yi;gc.register(Vp);var mb=gc;var Nm=j.constructTagName("chip"),ub={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},Vo={COLOR:ub.DEFAULT,TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,SIZE:wi[24],ROLE:"button"};var fb=H`
2186
2186
  :host {
2187
2187
  height: 1.5rem;
2188
2188
  gap: 0.25rem;
@@ -2334,12 +2334,12 @@
2334
2334
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
2335
2335
  cursor: auto;
2336
2336
  }
2337
- `,Nm=[Et,ub,...St()];var Vo=class extends ce(ke){constructor(){super(...arguments);this.color=zo.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=zo.ROLE,this.size=zo.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?O` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:Y}render(){return O`
2337
+ `,Mm=[Et,fb,...St()];var Bo=class extends ce(ke){constructor(){super(...arguments);this.color=Vo.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=Vo.ROLE,this.size=Vo.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?O` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:Y}render(){return O`
2338
2338
  ${this.renderIcon()}
2339
- ${this.label?O`<mdc-text part="label" type="${zo.TEXT_TYPE}" tagname="${zo.TAG_NAME}"
2339
+ ${this.label?O`<mdc-text part="label" type="${Vo.TEXT_TYPE}" tagname="${Vo.TAG_NAME}"
2340
2340
  >${this.label}</mdc-text
2341
2341
  >`:Y}
2342
- `}};Vo.styles=[...q.styles,...Nm],v([E({type:String,reflect:!0})],Vo.prototype,"color",2),v([E({type:String})],Vo.prototype,"label",2);var Bo=Vo;Bo.register(Lm);var fb=Bo;var Mm=j.constructTagName("coachmark"),qi={COLOR:Hi.CONTRAST,TRIGGER:Gi.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Ki=class extends Le{constructor(){super(...arguments);this.trigger=qi.TRIGGER;this.showArrow=qi.ARROW;this.closeButton=qi.CLOSE_BUTTON;this.disableAriaExpanded=qi.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=qi.COLOR,this.showArrow=qi.ARROW}};v([E({type:String,reflect:!0})],Ki.prototype,"trigger",2),v([E({type:Boolean,attribute:"show-arrow"})],Ki.prototype,"showArrow",2),v([E({type:Boolean,reflect:!0,attribute:"close-button"})],Ki.prototype,"closeButton",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Ki.prototype,"disableAriaExpanded",2);var gc=Ki;gc.register(Mm);var vb=gc;var Rm=j.constructTagName("dialog"),gb={DEFAULT:"default",PROMOTIONAL:"promotional"},Ye={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:gb.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var pi=class{static dispatchDialogEvent(o,e,s=!0){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.visible},composed:!0,bubbles:s}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,e=!0){this.dispatchDialogEvent("close",o,e)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var bb=H`
2342
+ `}};Bo.styles=[...q.styles,...Mm],v([E({type:String,reflect:!0})],Bo.prototype,"color",2),v([E({type:String})],Bo.prototype,"label",2);var Uo=Bo;Uo.register(Nm);var vb=Uo;var Rm=j.constructTagName("coachmark"),qi={COLOR:Hi.CONTRAST,TRIGGER:Gi.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var Ki=class extends Le{constructor(){super(...arguments);this.trigger=qi.TRIGGER;this.showArrow=qi.ARROW;this.closeButton=qi.CLOSE_BUTTON;this.disableAriaExpanded=qi.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=qi.COLOR,this.showArrow=qi.ARROW}};v([E({type:String,reflect:!0})],Ki.prototype,"trigger",2),v([E({type:Boolean,attribute:"show-arrow"})],Ki.prototype,"showArrow",2),v([E({type:Boolean,reflect:!0,attribute:"close-button"})],Ki.prototype,"closeButton",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],Ki.prototype,"disableAriaExpanded",2);var bc=Ki;bc.register(Rm);var gb=bc;var Om=j.constructTagName("dialog"),bb={DEFAULT:"default",PROMOTIONAL:"promotional"},Ye={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:bb.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var pi=class{static dispatchDialogEvent(o,e,s=!0){e.dispatchEvent(new CustomEvent(o,{detail:{show:e.visible},composed:!0,bubbles:s}))}static onShowDialog(o){this.dispatchDialogEvent("shown",o)}static onHideDialog(o){this.dispatchDialogEvent("hidden",o)}static onCloseDialog(o,e=!0){this.dispatchDialogEvent("close",o,e)}static onCreatedDialog(o){this.dispatchDialogEvent("created",o)}static onDestroyedDialog(o){this.dispatchDialogEvent("destroyed",o)}};var yb=H`
2343
2343
  :host {
2344
2344
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
2345
2345
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -2461,7 +2461,7 @@
2461
2461
  mdc-text::part(text) {
2462
2462
  margin: 0;
2463
2463
  }
2464
- `,Om=[bb];var zt=class extends kn(In(hn(q))){constructor(){super(...arguments);this.id="";this.visible=Ye.VISIBLE;this.zIndex=Ye.Z_INDEX;this.size=Ye.SIZE;this.variant=Ye.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=Ye.HEADER_TAG_NAME;this.descriptionTagName=Ye.DESCRIPTION_TAG_NAME;this.role=Ye.ROLE;this.disableAriaHasPopup=Ye.DISABLE_ARIA_HAS_POPUP;this.focusTrap=Ye.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.backdropElement=null;this.lastActiveElement=null;this.onEscapeKeydown=e=>{!this.visible||e.code!=="Escape"||(e.preventDefault(),e.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var e,s,n;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),(e=this.backdropElement)==null||e.remove(),this.backdropElement=null,(s=this.triggerElement)==null||s.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(n=this.deactivateFocusTrap)==null||n.call(this),this.focusBackToTrigger(),pi.onDestroyedDialog(this)}applyZIndex(){var e;this.style.setProperty("z-index",`${this.zIndex}`),(e=this.backdropElement)==null||e.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(e){super.firstUpdated(e),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),pi.onCreatedDialog(this)}async updated(e){if(super.updated(e),e.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),e.has("visible")){let s=e.get("visible");await this.isOpenUpdated(s,this.visible)}e.has("zIndex")&&(this.zIndex===null&&(this.zIndex=Ye.Z_INDEX),this.applyZIndex()),e.has("variant")&&this.updateFooterButtonColors(this.variant),(e.has("ariaLabel")||e.has("ariaLabelledBy")||e.has("ariaDescribedBy")||e.has("ariaDescription")||e.has("headerText")||e.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),e.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var e,s;this.disableAriaHasPopup||(s=this.triggerElement)==null||s.setAttribute("aria-haspopup",((e=this.triggerElement)==null?void 0:e.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}createBackdrop(){var n;let e=document.createElement("div");e.classList.add("dialog-backdrop");let s=document.createElement("style");s.textContent=`
2464
+ `,Pm=[yb];var $t=class extends kn(In(hn(q))){constructor(){super(...arguments);this.id="";this.visible=Ye.VISIBLE;this.zIndex=Ye.Z_INDEX;this.size=Ye.SIZE;this.variant=Ye.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=Ye.HEADER_TAG_NAME;this.descriptionTagName=Ye.DESCRIPTION_TAG_NAME;this.role=Ye.ROLE;this.disableAriaHasPopup=Ye.DISABLE_ARIA_HAS_POPUP;this.focusTrap=Ye.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.backdropElement=null;this.lastActiveElement=null;this.onEscapeKeydown=e=>{!this.visible||e.code!=="Escape"||(e.preventDefault(),e.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var e,s,n;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),(e=this.backdropElement)==null||e.remove(),this.backdropElement=null,(s=this.triggerElement)==null||s.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(n=this.deactivateFocusTrap)==null||n.call(this),this.focusBackToTrigger(),pi.onDestroyedDialog(this)}applyZIndex(){var e;this.style.setProperty("z-index",`${this.zIndex}`),(e=this.backdropElement)==null||e.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(e){super.firstUpdated(e),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),pi.onCreatedDialog(this)}async updated(e){if(super.updated(e),e.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),e.has("visible")){let s=e.get("visible");await this.isOpenUpdated(s,this.visible)}e.has("zIndex")&&(this.zIndex===null&&(this.zIndex=Ye.Z_INDEX),this.applyZIndex()),e.has("variant")&&this.updateFooterButtonColors(this.variant),(e.has("ariaLabel")||e.has("ariaLabelledBy")||e.has("ariaDescribedBy")||e.has("ariaDescription")||e.has("headerText")||e.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),e.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var e,s;this.disableAriaHasPopup||(s=this.triggerElement)==null||s.setAttribute("aria-haspopup",((e=this.triggerElement)==null?void 0:e.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}createBackdrop(){var n;let e=document.createElement("div");e.classList.add("dialog-backdrop");let s=document.createElement("style");s.textContent=`
2465
2465
  .dialog-backdrop {
2466
2466
  position: fixed;
2467
2467
  top: 0;
@@ -2503,7 +2503,7 @@
2503
2503
  <slot name="dialog-body"></slot>
2504
2504
  </div>
2505
2505
  ${this.renderFooter()}
2506
- `}};zt.styles=[...q.styles,...Om],v([E({type:String,reflect:!0})],zt.prototype,"id",2),v([E({type:String,reflect:!0})],zt.prototype,"triggerId",2),v([E({type:Boolean,reflect:!0})],zt.prototype,"visible",2),v([E({type:Number,reflect:!0,attribute:"z-index"})],zt.prototype,"zIndex",2),v([E({type:String,reflect:!0})],zt.prototype,"size",2),v([E({type:String,reflect:!0})],zt.prototype,"variant",2),v([E({type:String,attribute:"close-button-aria-label"})],zt.prototype,"closeButtonAriaLabel",2),v([E({type:String,reflect:!0,attribute:"aria-label"})],zt.prototype,"ariaLabel",2),v([E({type:String,reflect:!0,attribute:"aria-labelledby"})],zt.prototype,"ariaLabelledby",2),v([E({type:String,reflect:!0,attribute:"aria-describedby"})],zt.prototype,"ariaDescribedBy",2),v([E({type:String,reflect:!0,attribute:"aria-description"})],zt.prototype,"ariaDescription",2),v([E({type:String,reflect:!0,attribute:"header-text"})],zt.prototype,"headerText",2),v([E({type:String,reflect:!0,attribute:"description-text"})],zt.prototype,"descriptionText",2),v([E({type:String,reflect:!0,attribute:"header-tag-name"})],zt.prototype,"headerTagName",2),v([E({type:String,reflect:!0,attribute:"description-tag-name"})],zt.prototype,"descriptionTagName",2),v([E({type:String,reflect:!0})],zt.prototype,"role",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],zt.prototype,"disableAriaHasPopup",2),v([E({type:Boolean,reflect:!0,attribute:"focus-trap"})],zt.prototype,"focusTrap",2);var bc=zt;bc.register(Rm);var yb=bc;var Pm=j.constructTagName("divider"),Xi={HORIZONTAL:"horizontal",VERTICAL:"vertical"},Hs={SOLID:"solid",GRADIENT:"gradient"},ge={POSITIVE:"positive",NEGATIVE:"negative"},js={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Zi={ORIENTATION:Xi.HORIZONTAL,VARIANT:Hs.SOLID,ARROW_DIRECTION:ge.NEGATIVE,BUTTON_DIRECTION:ge.NEGATIVE};var Eb=[Et,H`
2506
+ `}};$t.styles=[...q.styles,...Pm],v([E({type:String,reflect:!0})],$t.prototype,"id",2),v([E({type:String,reflect:!0})],$t.prototype,"triggerId",2),v([E({type:Boolean,reflect:!0})],$t.prototype,"visible",2),v([E({type:Number,reflect:!0,attribute:"z-index"})],$t.prototype,"zIndex",2),v([E({type:String,reflect:!0})],$t.prototype,"size",2),v([E({type:String,reflect:!0})],$t.prototype,"variant",2),v([E({type:String,attribute:"close-button-aria-label"})],$t.prototype,"closeButtonAriaLabel",2),v([E({type:String,reflect:!0,attribute:"aria-label"})],$t.prototype,"ariaLabel",2),v([E({type:String,reflect:!0,attribute:"aria-labelledby"})],$t.prototype,"ariaLabelledby",2),v([E({type:String,reflect:!0,attribute:"aria-describedby"})],$t.prototype,"ariaDescribedBy",2),v([E({type:String,reflect:!0,attribute:"aria-description"})],$t.prototype,"ariaDescription",2),v([E({type:String,reflect:!0,attribute:"header-text"})],$t.prototype,"headerText",2),v([E({type:String,reflect:!0,attribute:"description-text"})],$t.prototype,"descriptionText",2),v([E({type:String,reflect:!0,attribute:"header-tag-name"})],$t.prototype,"headerTagName",2),v([E({type:String,reflect:!0,attribute:"description-tag-name"})],$t.prototype,"descriptionTagName",2),v([E({type:String,reflect:!0})],$t.prototype,"role",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],$t.prototype,"disableAriaHasPopup",2),v([E({type:Boolean,reflect:!0,attribute:"focus-trap"})],$t.prototype,"focusTrap",2);var yc=$t;yc.register(Om);var Eb=yc;var Dm=j.constructTagName("divider"),Xi={HORIZONTAL:"horizontal",VERTICAL:"vertical"},js={SOLID:"solid",GRADIENT:"gradient"},ge={POSITIVE:"positive",NEGATIVE:"negative"},Ws={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},Zi={ORIENTATION:Xi.HORIZONTAL,VARIANT:js.SOLID,ARROW_DIRECTION:ge.NEGATIVE,BUTTON_DIRECTION:ge.NEGATIVE};var Tb=[Et,H`
2507
2507
  :host {
2508
2508
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
2509
2509
  --mdc-divider-width: 0.0625rem;
@@ -2699,11 +2699,11 @@
2699
2699
  font-size: var(--mdc-divider-text-size);
2700
2700
  line-height: var(--mdc-divider-text-line-height);
2701
2701
  }
2702
- `],Dm=Eb;var mi=class extends q{constructor(){super(...arguments);this.orientation=Zi.ORIENTATION;this.variant=Zi.VARIANT;this.arrowDirection=Zi.ARROW_DIRECTION;this.buttonPosition=Zi.BUTTON_DIRECTION}setVariant(e){this.setAttribute("variant",Object.values(Hs).includes(e)?e:Zi.VARIANT)}setOrientation(e){this.setAttribute("orientation",Object.values(Xi).includes(e)?e:Zi.ORIENTATION)}ensureValidDirections(){let e=this.orientation===Xi.HORIZONTAL?ge.NEGATIVE:ge.POSITIVE;Object.values(ge).includes(this.buttonPosition)||(this.buttonPosition=e),Object.values(ge).includes(this.arrowDirection)||(this.arrowDirection=e)}setGrabberButton(){this.ensureValidDirections();let e=this.querySelector("mdc-button");if(e){let s=this.getArrowIcon();e.setAttribute("variant","secondary"),e.setAttribute("prefix-icon",s)}}getArrowIcon(){let e=this.orientation===Xi.HORIZONTAL,s=this.arrowDirection===ge.POSITIVE;return e?s?js.UP:js.DOWN:s?js.RIGHT:js.LEFT}update(e){super.update(e),e.has("orientation")&&this.setOrientation(this.orientation),e.has("variant")&&this.setVariant(this.variant),(e.has("orientation")||e.has("arrowDirection")||e.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let e=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),s=(e==null?void 0:e.assignedElements({flatten:!0}))||[];if(s.length>1)return;let n=s.some(T=>T.tagName===ks.toUpperCase()),h=s.some(T=>T.tagName===Ri.toUpperCase());n&&!h?this.setAttribute("data-type","mdc-text-divider"):!n&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return O`
2702
+ `],Fm=Tb;var mi=class extends q{constructor(){super(...arguments);this.orientation=Zi.ORIENTATION;this.variant=Zi.VARIANT;this.arrowDirection=Zi.ARROW_DIRECTION;this.buttonPosition=Zi.BUTTON_DIRECTION}setVariant(e){this.setAttribute("variant",Object.values(js).includes(e)?e:Zi.VARIANT)}setOrientation(e){this.setAttribute("orientation",Object.values(Xi).includes(e)?e:Zi.ORIENTATION)}ensureValidDirections(){let e=this.orientation===Xi.HORIZONTAL?ge.NEGATIVE:ge.POSITIVE;Object.values(ge).includes(this.buttonPosition)||(this.buttonPosition=e),Object.values(ge).includes(this.arrowDirection)||(this.arrowDirection=e)}setGrabberButton(){this.ensureValidDirections();let e=this.querySelector("mdc-button");if(e){let s=this.getArrowIcon();e.setAttribute("variant","secondary"),e.setAttribute("prefix-icon",s)}}getArrowIcon(){let e=this.orientation===Xi.HORIZONTAL,s=this.arrowDirection===ge.POSITIVE;return e?s?Ws.UP:Ws.DOWN:s?Ws.RIGHT:Ws.LEFT}update(e){super.update(e),e.has("orientation")&&this.setOrientation(this.orientation),e.has("variant")&&this.setVariant(this.variant),(e.has("orientation")||e.has("arrowDirection")||e.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let e=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),s=(e==null?void 0:e.assignedElements({flatten:!0}))||[];if(s.length>1)return;let n=s.some(T=>T.tagName===Cs.toUpperCase()),h=s.some(T=>T.tagName===Ri.toUpperCase());n&&!h?this.setAttribute("data-type","mdc-text-divider"):!n&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return O`
2703
2703
  <div></div>
2704
2704
  <slot @slotchange=${this.inferDividerType}></slot>
2705
2705
  <div></div>
2706
- `}};mi.styles=[...q.styles,...Dm],v([E({type:String,reflect:!0})],mi.prototype,"orientation",2),v([E({type:String,reflect:!0})],mi.prototype,"variant",2),v([E({type:String,attribute:"arrow-direction",reflect:!0})],mi.prototype,"arrowDirection",2),v([E({type:String,attribute:"button-position",reflect:!0})],mi.prototype,"buttonPosition",2);var yc=mi;yc.register(Pm);var Tb=yc;var xb=H`
2706
+ `}};mi.styles=[...q.styles,...Fm],v([E({type:String,reflect:!0})],mi.prototype,"orientation",2),v([E({type:String,reflect:!0})],mi.prototype,"variant",2),v([E({type:String,attribute:"arrow-direction",reflect:!0})],mi.prototype,"arrowDirection",2),v([E({type:String,attribute:"button-position",reflect:!0})],mi.prototype,"buttonPosition",2);var Ec=mi;Ec.register(Dm);var xb=Ec;var Ab=H`
2707
2707
  :host([selected]) {
2708
2708
  border: 2px solid;
2709
2709
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
@@ -2725,7 +2725,7 @@
2725
2725
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
2726
2726
  cursor: auto;
2727
2727
  }
2728
- `,Fm=[xb];var $m=j.constructTagName("filterchip"),Ec={ICON_NAME:"check-bold",COLOR:"default"};var Ws=class extends Bo{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Ec.COLOR}setSelected(e){e?(this.iconName=Ec.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(e){super.update(e),e.has("selected")&&this.setSelected(this.selected)}};Ws.styles=[...Bo.styles,...Fm],v([E({type:Boolean,reflect:!0})],Ws.prototype,"selected",2);var Tc=Ws;Tc.register($m);var Ab=Tc;var _b=H`
2728
+ `,$m=[Ab];var zm=j.constructTagName("filterchip"),Tc={ICON_NAME:"check-bold",COLOR:"default"};var Ys=class extends Uo{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=Tc.COLOR}setSelected(e){e?(this.iconName=Tc.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(e){super.update(e),e.has("selected")&&this.setSelected(this.selected)}};Ys.styles=[...Uo.styles,...$m],v([E({type:Boolean,reflect:!0})],Ys.prototype,"selected",2);var xc=Ys;xc.register(zm);var _b=xc;var Sb=H`
2729
2729
  :host::part(container) {
2730
2730
  display: flex;
2731
2731
  flex-direction: column;
@@ -2741,7 +2741,7 @@
2741
2741
  :host::part(label-text) {
2742
2742
  font-weight: bold;
2743
2743
  }
2744
- `,zm=[_b];var Cn=class extends Wt(ve){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.id="",this.disabled=void 0}render(){var e;return O`
2744
+ `,Vm=[Sb];var wn=class extends Wt(ve){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.id="",this.disabled=void 0}render(){var e;return O`
2745
2745
  <div
2746
2746
  part="container"
2747
2747
  role="${this.isRadio?lt.RADIOGROUP:lt.GROUP}"
@@ -2752,7 +2752,7 @@
2752
2752
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
2753
2753
  <slot></slot>
2754
2754
  </div>
2755
- `}};Cn.styles=[...ve.styles,...zm];var xc=Cn;var Vm=j.constructTagName("formfieldgroup");xc.register(Vm);var Ln=xc;ws.register(Ha);var Sb=ws;var Bm=Ni(class extends ai{constructor(l){if(super(l),l.type!==ar.PROPERTY&&l.type!==ar.ATTRIBUTE&&l.type!==ar.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ya(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[o]){if(o===Ie||o===Y)return o;let e=l.element,s=l.name;if(l.type===ar.PROPERTY){if(o===e[s])return Ie}else if(l.type===ar.BOOLEAN_ATTRIBUTE){if(!!o===e.hasAttribute(s))return Ie}else if(l.type===ar.ATTRIBUTE&&e.getAttribute(s)===o+"")return Ie;return Qh(l),o}});ve.register(Im);var qe=ve;var Um=j.constructTagName("input"),Nn={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},Ac={OFF:"off",ON:"on"},Uo={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Gm={MAX_LENGTH:10,VALIDATION:Yt.ERROR},Ur={VALIDATION:Yt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ut.TERTIARY,CLEAR_BUTTON_SIZE:ni[20],PREFIX_TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:bt.SPAN,AUTO_COMPLETE:Ac.OFF,INPUT_TYPE:Uo.TEXT};var Ib=[H`
2755
+ `}};wn.styles=[...ve.styles,...Vm];var Ac=wn;var Bm=j.constructTagName("formfieldgroup");Ac.register(Bm);var Ln=Ac;ws.register(Ha);var Ib=ws;var Um=Ni(class extends ai{constructor(l){if(super(l),l.type!==ar.PROPERTY&&l.type!==ar.ATTRIBUTE&&l.type!==ar.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ya(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[o]){if(o===Ie||o===Y)return o;let e=l.element,s=l.name;if(l.type===ar.PROPERTY){if(o===e[s])return Ie}else if(l.type===ar.BOOLEAN_ATTRIBUTE){if(!!o===e.hasAttribute(s))return Ie}else if(l.type===ar.ATTRIBUTE&&e.getAttribute(s)===o+"")return Ie;return tp(l),o}});ve.register(km);var qe=ve;var Gm=j.constructTagName("input"),Nn={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},_c={OFF:"off",ON:"on"},Go={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Hm={MAX_LENGTH:10,VALIDATION:Yt.ERROR},Ur={VALIDATION:Yt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Ut.TERTIARY,CLEAR_BUTTON_SIZE:ni[20],PREFIX_TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:bt.SPAN,AUTO_COMPLETE:_c.OFF,INPUT_TYPE:Go.TEXT};var kb=[H`
2756
2756
  :host {
2757
2757
  --mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
2758
2758
  --mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -2876,7 +2876,7 @@
2876
2876
  opacity: 0;
2877
2877
  pointer-events: none;
2878
2878
  }
2879
- `,...St(!0)],Hm=Ib;var Xt=class extends Ne(Wt(qe)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Nn.OFF;this.autocomplete=Ac.OFF;this.autofocus=!1;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(e){this.value=e}attributeChangedCallback(e,s,n){super.attributeChangedCallback(e,s,n),e==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(e){this.updateValue(),this.setInputValidity();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?O`
2879
+ `,...St(!0)],jm=kb;var Xt=class extends Ne(Wt(qe)){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=Nn.OFF;this.autocomplete=_c.OFF;this.autofocus=!1;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(e=>{this.onerror&&this.onerror(e)})}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(e){this.value=e}attributeChangedCallback(e,s,n){super.attributeChangedCallback(e,s,n),e==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(e){this.updateValue(),this.setInputValidity();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?O`
2880
2880
  <mdc-icon
2881
2881
  class="leading-icon"
2882
2882
  part="leading-icon"
@@ -2892,7 +2892,7 @@
2892
2892
  type="${Ur.PREFIX_TEXT_TYPE}"
2893
2893
  aria-hidden="true"
2894
2894
  >
2895
- ${this.prefixText.slice(0,Gm.MAX_LENGTH)}
2895
+ ${this.prefixText.slice(0,Hm.MAX_LENGTH)}
2896
2896
  </mdc-text>
2897
2897
  `:Y}clearInputText(){var e;this.value="",(e=this.inputElement)==null||e.focus()}renderTrailingButton(e=!1){let s=e||this.value&&this.trailingButton;return s?O`
2898
2898
  <mdc-button
@@ -2911,7 +2911,7 @@
2911
2911
  part="mdc-input"
2912
2912
  id="${this.id}"
2913
2913
  name="${this.name}"
2914
- .value="${Bm(this.value)}"
2914
+ .value="${Um(this.value)}"
2915
2915
  ?disabled="${this.disabled}"
2916
2916
  ?readonly="${this.readonly}"
2917
2917
  ?required="${this.required}"
@@ -2942,7 +2942,7 @@
2942
2942
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
2943
2943
  </div>
2944
2944
  ${this.helpText?this.renderHelperText():Y}
2945
- `}};Xt.styles=[...qe.styles,...Hm],v([E({type:String})],Xt.prototype,"placeholder",2),v([E({type:Boolean})],Xt.prototype,"readonly",2),v([E({type:String,attribute:"prefix-text"})],Xt.prototype,"prefixText",2),v([E({type:String,attribute:"leading-icon"})],Xt.prototype,"leadingIcon",2),v([E({type:Boolean,attribute:"trailing-button"})],Xt.prototype,"trailingButton",2),v([E({type:Number})],Xt.prototype,"maxlength",2),v([E({type:Number})],Xt.prototype,"minlength",2),v([E({type:String})],Xt.prototype,"autocapitalize",2),v([E({type:String})],Xt.prototype,"autocomplete",2),v([E({type:Boolean})],Xt.prototype,"autofocus",2),v([E({type:String})],Xt.prototype,"dirname",2),v([E({type:String})],Xt.prototype,"pattern",2),v([E({type:String})],Xt.prototype,"list",2),v([E({type:Number})],Xt.prototype,"size",2),v([E({type:String,attribute:"clear-aria-label"})],Xt.prototype,"clearAriaLabel",2);var Gr=Xt;Gr.register(Um);var kb=Gr;var wb=H`
2945
+ `}};Xt.styles=[...qe.styles,...jm],v([E({type:String})],Xt.prototype,"placeholder",2),v([E({type:Boolean})],Xt.prototype,"readonly",2),v([E({type:String,attribute:"prefix-text"})],Xt.prototype,"prefixText",2),v([E({type:String,attribute:"leading-icon"})],Xt.prototype,"leadingIcon",2),v([E({type:Boolean,attribute:"trailing-button"})],Xt.prototype,"trailingButton",2),v([E({type:Number})],Xt.prototype,"maxlength",2),v([E({type:Number})],Xt.prototype,"minlength",2),v([E({type:String})],Xt.prototype,"autocapitalize",2),v([E({type:String})],Xt.prototype,"autocomplete",2),v([E({type:Boolean})],Xt.prototype,"autofocus",2),v([E({type:String})],Xt.prototype,"dirname",2),v([E({type:String})],Xt.prototype,"pattern",2),v([E({type:String})],Xt.prototype,"list",2),v([E({type:Number})],Xt.prototype,"size",2),v([E({type:String,attribute:"clear-aria-label"})],Xt.prototype,"clearAriaLabel",2);var Gr=Xt;Gr.register(Gm);var Cb=Gr;var wb=H`
2946
2946
  :host {
2947
2947
  height: 1.5rem;
2948
2948
  gap: 0.25rem;
@@ -2973,7 +2973,7 @@
2973
2973
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
2974
2974
  cursor: auto;
2975
2975
  }
2976
- `,jm=[Et,wb];var Mn=j.constructTagName("inputchip"),Rn={TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,CLOSE_ICON:"cancel-bold"};var Ji=class extends ce($t(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?O` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:Y}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return O`
2976
+ `,Wm=[Et,wb];var Mn=j.constructTagName("inputchip"),Rn={TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,CLOSE_ICON:"cancel-bold"};var Ji=class extends ce(Ft(q)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?O` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:Y}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return O`
2977
2977
  ${this.renderIcon()}
2978
2978
  ${this.label?O`<mdc-text part="label" type="${Rn.TEXT_TYPE}" tagname="${Rn.TAG_NAME}"
2979
2979
  >${this.label}</mdc-text
@@ -2987,7 +2987,7 @@
2987
2987
  size="20"
2988
2988
  @click="${this.handleClose}"
2989
2989
  ></mdc-button>
2990
- `}};Ji.styles=[...q.styles,...jm],v([E({type:String})],Ji.prototype,"label",2),v([E({type:Boolean})],Ji.prototype,"error",2),v([E({type:String,attribute:"clear-aria-label"})],Ji.prototype,"clearAriaLabel",2);var _c=Ji;_c.register(Mn);var Cb=_c;var Lb=H`
2990
+ `}};Ji.styles=[...q.styles,...Wm],v([E({type:String})],Ji.prototype,"label",2),v([E({type:Boolean})],Ji.prototype,"error",2),v([E({type:String,attribute:"clear-aria-label"})],Ji.prototype,"clearAriaLabel",2);var Sc=Ji;Sc.register(Mn);var Lb=Sc;var Nb=H`
2991
2991
  :host {
2992
2992
  gap: 0.25rem;
2993
2993
  }
@@ -3045,14 +3045,14 @@
3045
3045
  text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
3046
3046
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
3047
3047
  }
3048
- `,Wm=[Lb];var Ys=class extends ce(ci){constructor(){super(...arguments);this.size=Np.LINK_SIZE}getIconSize(){switch(this.size){case ln.SMALL:return cn.SMALL;case ln.MIDSIZE:return cn.MIDSIZE;default:return cn.LARGE}}render(){return O`
3048
+ `,Ym=[Nb];var qs=class extends ce(ci){constructor(){super(...arguments);this.size=Mp.LINK_SIZE}getIconSize(){switch(this.size){case ln.SMALL:return cn.SMALL;case ln.MIDSIZE:return cn.MIDSIZE;default:return cn.LARGE}}render(){return O`
3049
3049
  <slot></slot>
3050
3050
  ${this.iconName?O` <mdc-icon name=${this.iconName} size=${this.getIconSize()} length-unit="rem"></mdc-icon> `:Y}
3051
- `}};Ys.styles=[...ci.styles,...Wm],v([E({type:String,reflect:!0})],Ys.prototype,"size",2);var Sc=Ys;Sc.register(nn);var Nb=Sc;ci.register(wp);var Mb=ci;var dt={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SPACE:" ",TAB:"Tab"};var On=j.constructTagName("listitem"),Pn=`listitem-tooltip-popover-${je()}`,Ic=`listitem-tooltip-triggerid-${je()}`,qs={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},kc={VARIANT:qs.FULL_WIDTH,TOOLTIP_PLACEMENT:Gt.TOP};var Ym=j.constructTagName("list"),wc="header-id";var Rb=H`
3051
+ `}};qs.styles=[...ci.styles,...Ym],v([E({type:String,reflect:!0})],qs.prototype,"size",2);var Ic=qs;Ic.register(nn);var Mb=Ic;ci.register(wp);var Rb=ci;var dt={ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",END:"End",ENTER:"Enter",ESCAPE:"Escape",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SPACE:" ",TAB:"Tab"};var On=j.constructTagName("listitem"),Pn=`listitem-tooltip-popover-${je()}`,kc=`listitem-tooltip-triggerid-${je()}`,Ks={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},Cc={VARIANT:Ks.FULL_WIDTH,TOOLTIP_PLACEMENT:Gt.TOP};var qm=j.constructTagName("list"),wc="header-id";var Ob=H`
3052
3052
  :host::part(header-text) {
3053
3053
  padding: 0.5rem 0.75rem;
3054
3054
  }
3055
- `,qm=[Rb];var Go=class extends Wt(q){constructor(){super();this.dataRole=lt.LIST;this.addEventListener("keydown",this.handleKeyDown)}handleKeyDown(e){var h;let s=this.getCurrentIndex(e.target),n=this.getNewIndexBasedOnKey(e.key,s,this.listItems.length);n!==void 0&&((h=this.listItems[n])==null||h.focus(),this.resetTabIndexAndSetActiveTabIndex(n))}getCurrentIndex(e){return this.listItems.findIndex(s=>s===e||s===e.parentElement)}getNewIndexBasedOnKey(e,s,n){switch(e){case dt.ARROW_DOWN:return(s+1)%n;case dt.ARROW_UP:return(s-1+n)%n;case dt.HOME:return 0;case dt.END:return n-1;default:return}}handleMouseClick(e){let s=this.getCurrentIndex(e.target);this.resetTabIndexAndSetActiveTabIndex(s)}resetTabIndexAndSetActiveTabIndex(e){this.listItems.forEach((s,n)=>{let h=e===n?"0":"-1";s==null||s.setAttribute("tabindex",h)})}firstUpdated(){this.resetTabIndexAndSetActiveTabIndex(0)}render(){var s;let e=this.headerText?O`
3055
+ `,Km=[Ob];var Ho=class extends Wt(q){constructor(){super();this.dataRole=lt.LIST;this.addEventListener("keydown",this.handleKeyDown)}handleKeyDown(e){var h;let s=this.getCurrentIndex(e.target),n=this.getNewIndexBasedOnKey(e.key,s,this.listItems.length);n!==void 0&&((h=this.listItems[n])==null||h.focus(),this.resetTabIndexAndSetActiveTabIndex(n))}getCurrentIndex(e){return this.listItems.findIndex(s=>s===e||s===e.parentElement)}getNewIndexBasedOnKey(e,s,n){switch(e){case dt.ARROW_DOWN:return(s+1)%n;case dt.ARROW_UP:return(s-1+n)%n;case dt.HOME:return 0;case dt.END:return n-1;default:return}}handleMouseClick(e){let s=this.getCurrentIndex(e.target);this.resetTabIndexAndSetActiveTabIndex(s)}resetTabIndexAndSetActiveTabIndex(e){this.listItems.forEach((s,n)=>{let h=e===n?"0":"-1";s==null||s.setAttribute("tabindex",h)})}firstUpdated(){this.resetTabIndexAndSetActiveTabIndex(0)}render(){var s;let e=this.headerText?O`
3056
3056
  <mdc-text
3057
3057
  id="${wc}"
3058
3058
  part="header-text"
@@ -3069,7 +3069,7 @@
3069
3069
  ${e}
3070
3070
  <slot role="presentation" @click="${this.handleMouseClick}"></slot>
3071
3071
  </div>
3072
- `}};Go.styles=[...q.styles,...qm],v([Bt({selector:`${On}:not([disabled])`})],Go.prototype,"listItems",2),v([E({type:String,attribute:"header-text",reflect:!0})],Go.prototype,"headerText",2);var Cc=Go;Cc.register(Ym);var Ob=Cc;var Dn=j.constructTagName("tooltip"),De={DESCRIPTION:"description",LABEL:"label",NONE:"none"},ui={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Gt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:De.DESCRIPTION};var Pb=H`
3072
+ `}};Ho.styles=[...q.styles,...Km],v([Bt({selector:`${On}:not([disabled])`})],Ho.prototype,"listItems",2),v([E({type:String,attribute:"header-text",reflect:!0})],Ho.prototype,"headerText",2);var Lc=Ho;Lc.register(qm);var Pb=Lc;var Dn=j.constructTagName("tooltip"),De={DESCRIPTION:"description",LABEL:"label",NONE:"none"},ui={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Gt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:De.DESCRIPTION};var Db=H`
3073
3073
  :host {
3074
3074
  --mdc-tooltip-max-width: 400px;
3075
3075
  --mdc-tooltip-padding: 0.75rem;
@@ -3093,7 +3093,7 @@
3093
3093
  :host([color='contrast'])::part(popover-content) {
3094
3094
  color: var(--mdc-tooltip-text-color-contrast);
3095
3095
  }
3096
- `,Km=[Pb];var Ho=class extends Le{constructor(){super(...arguments);this.tooltipType=ui.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||ui.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||ui.OFFSET,this.placement=this.placement||ui.PLACEMENT,this.role=lt.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var e,s;return((s=(e=this.defaultSlotNodes)==null?void 0:e.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}setTooltipType(e){this.setAttribute("tooltip-type",Object.values(De).includes(e)?e:ui.TOOLTIP_TYPE)}onIdUpdated(){this.id.length===0&&(this.id=`mdc-tooltip-${je()}`);let e=document.getElementById(this.triggerID);if(e)switch(this.tooltipType){case De.DESCRIPTION:e.setAttribute("aria-describedby",this.id);break;case De.LABEL:e.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Gt).includes(this.placement)||(this.placement=ui.PLACEMENT)}onTooltipTypeUpdated(e){let s=e.get("tooltipType");Object.values(De).includes(this.tooltipType)||this.setTooltipType(ui.TOOLTIP_TYPE);let n=document.getElementById(this.triggerID);if(n){let h=this.getTooltipText();switch(this.tooltipType){case De.DESCRIPTION:s===De.LABEL&&n.removeAttribute("aria-labelledby"),n.setAttribute("aria-describedby",this.id);break;case De.LABEL:s===De.DESCRIPTION&&n.removeAttribute("aria-describedby"),n.setAttribute("aria-labelledby",this.id);break;default:s===De.DESCRIPTION?n.removeAttribute("aria-describedby"):s===De.LABEL&&n.removeAttribute("aria-labelledby");break}h.length>0&&this.tooltipType!==De.NONE&&!this.ariaLabel&&(this.ariaLabel=h)}}update(e){super.update(e),e.has("id")&&this.onIdUpdated(),e.has("placement")&&this.onPlacementUpdated(),e.has("tooltipType")&&this.onTooltipTypeUpdated(e)}};Ho.styles=[...Le.styles,...Km],v([E({type:String,attribute:"tooltip-type",reflect:!0})],Ho.prototype,"tooltipType",2),v([za()],Ho.prototype,"defaultSlotNodes",2);var Lc=Ho;Lc.register(Dn);var Db=Lc;var Fn=j.constructTagName("navitemlist");var Fb=H`
3096
+ `,Xm=[Db];var jo=class extends Le{constructor(){super(...arguments);this.tooltipType=ui.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||ui.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||ui.OFFSET,this.placement=this.placement||ui.PLACEMENT,this.role=lt.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var e,s;return((s=(e=this.defaultSlotNodes)==null?void 0:e.map(n=>n.textContent).join(" "))==null?void 0:s.trim())||""}setTooltipType(e){this.setAttribute("tooltip-type",Object.values(De).includes(e)?e:ui.TOOLTIP_TYPE)}onIdUpdated(){this.id.length===0&&(this.id=`mdc-tooltip-${je()}`);let e=document.getElementById(this.triggerID);if(e)switch(this.tooltipType){case De.DESCRIPTION:e.setAttribute("aria-describedby",this.id);break;case De.LABEL:e.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Gt).includes(this.placement)||(this.placement=ui.PLACEMENT)}onTooltipTypeUpdated(e){let s=e.get("tooltipType");Object.values(De).includes(this.tooltipType)||this.setTooltipType(ui.TOOLTIP_TYPE);let n=document.getElementById(this.triggerID);if(n){let h=this.getTooltipText();switch(this.tooltipType){case De.DESCRIPTION:s===De.LABEL&&n.removeAttribute("aria-labelledby"),n.setAttribute("aria-describedby",this.id);break;case De.LABEL:s===De.DESCRIPTION&&n.removeAttribute("aria-describedby"),n.setAttribute("aria-labelledby",this.id);break;default:s===De.DESCRIPTION?n.removeAttribute("aria-describedby"):s===De.LABEL&&n.removeAttribute("aria-labelledby");break}h.length>0&&this.tooltipType!==De.NONE&&!this.ariaLabel&&(this.ariaLabel=h)}}update(e){super.update(e),e.has("id")&&this.onIdUpdated(),e.has("placement")&&this.onPlacementUpdated(),e.has("tooltipType")&&this.onTooltipTypeUpdated(e)}};jo.styles=[...Le.styles,...Xm],v([E({type:String,attribute:"tooltip-type",reflect:!0})],jo.prototype,"tooltipType",2),v([za()],jo.prototype,"defaultSlotNodes",2);var Nc=jo;Nc.register(Dn);var Fb=Nc;var Fn=j.constructTagName("navitemlist");var $b=H`
3097
3097
  :host {
3098
3098
  --mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
3099
3099
  --mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -3188,7 +3188,7 @@
3188
3188
  display: flex;
3189
3189
  flex-direction: row;
3190
3190
  }
3191
- `,Xm=[Fb,...St()];var be=class extends $t(gr(q)){constructor(){super();this.variant=kc.VARIANT;this.tooltipPlacement=kc.TOOLTIP_PLACEMENT;this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("focusin",this.displayTooltipForLongText),this.addEventListener("mouseenter",this.displayTooltipForLongText),this.addEventListener("focusout",this.hideTooltipOnLeave),this.addEventListener("mouseout",this.hideTooltipOnLeave),this.addEventListener("click",this.handleClick)}connectedCallback(){super.connectedCallback(),this.role=this.role||lt.LISTITEM}handleKeyDown(e){(e.key===dt.ENTER||e.key===dt.SPACE)&&(this.triggerClickEvent(),e.preventDefault())}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleClick(){this.hideTooltipOnLeave()}displayTooltipForLongText(){var n,h,m;if(!this.tooltipText)return;this.id=this.id||Ic;let e=document.getElementById(Pn);e&&e.remove();let s=document.createElement(Dn);s.id=Pn,s.textContent=this.tooltipText,s.setAttribute("triggerid",this.id),s.setAttribute("placement",this.tooltipPlacement),s.setAttribute("visible",""),s.setAttribute("show-arrow",""),((h=(n=this.parentElement)==null?void 0:n.tagName)==null?void 0:h.toLowerCase())===Fn?this.before(s):(m=this.parentElement)==null||m.after(s)}hideTooltipOnLeave(){this.id=this.id===Ic?"":this.id;let e=document.querySelector(`#${Pn}`);e==null||e.remove()}getText(e,s,n){return n?O`
3191
+ `,Zm=[$b,...St()];var be=class extends Ft(gr(q)){constructor(){super();this.variant=Cc.VARIANT;this.tooltipPlacement=Cc.TOOLTIP_PLACEMENT;this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("focusin",this.displayTooltipForLongText),this.addEventListener("mouseenter",this.displayTooltipForLongText),this.addEventListener("focusout",this.hideTooltipOnLeave),this.addEventListener("mouseout",this.hideTooltipOnLeave),this.addEventListener("click",this.handleClick)}connectedCallback(){super.connectedCallback(),this.role=this.role||lt.LISTITEM}handleKeyDown(e){(e.key===dt.ENTER||e.key===dt.SPACE)&&(this.triggerClickEvent(),e.preventDefault())}triggerClickEvent(){let e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(e)}handleClick(){this.hideTooltipOnLeave()}displayTooltipForLongText(){var n,h,m;if(!this.tooltipText)return;this.id=this.id||kc;let e=document.getElementById(Pn);e&&e.remove();let s=document.createElement(Dn);s.id=Pn,s.textContent=this.tooltipText,s.setAttribute("triggerid",this.id),s.setAttribute("placement",this.tooltipPlacement),s.setAttribute("visible",""),s.setAttribute("show-arrow",""),((h=(n=this.parentElement)==null?void 0:n.tagName)==null?void 0:h.toLowerCase())===Fn?this.before(s):(m=this.parentElement)==null||m.after(s)}hideTooltipOnLeave(){this.id=this.id===kc?"":this.id;let e=document.querySelector(`#${Pn}`);e==null||e.remove()}getText(e,s,n){return n?O`
3192
3192
  <slot name="${e}">
3193
3193
  <mdc-text part="${e}" type="${s}" tagname="${bt.SPAN}">${n}</mdc-text>
3194
3194
  </slot>
@@ -3218,7 +3218,7 @@
3218
3218
  </div>
3219
3219
  ${this.renderTrailingControls()}
3220
3220
  </div>
3221
- `}};be.styles=[...q.styles,...Xm],v([Bt({slot:"leading-controls"})],be.prototype,"leadingControlsSlot",2),v([Bt({slot:"trailing-controls"})],be.prototype,"trailingControlsSlot",2),v([E({type:String,reflect:!0})],be.prototype,"variant",2),v([E({type:String,reflect:!0})],be.prototype,"label",2),v([E({type:String,reflect:!0,attribute:"secondary-label"})],be.prototype,"secondaryLabel",2),v([E({type:String,reflect:!0,attribute:"tertiary-label"})],be.prototype,"tertiaryLabel",2),v([E({type:String,reflect:!0,attribute:"side-header-text"})],be.prototype,"sideHeaderText",2),v([E({type:String,reflect:!0,attribute:"subline-text"})],be.prototype,"sublineText",2),v([E({type:Boolean,reflect:!0,attribute:"soft-disabled"})],be.prototype,"softDisabled",2),v([E({type:String,reflect:!0,attribute:"tooltip-text"})],be.prototype,"tooltipText",2),v([E({type:String,reflect:!0,attribute:"tooltip-placement"})],be.prototype,"tooltipPlacement",2);var Hr=be;Hr.register(On);var $b=Hr;var zb=H`
3221
+ `}};be.styles=[...q.styles,...Zm],v([Bt({slot:"leading-controls"})],be.prototype,"leadingControlsSlot",2),v([Bt({slot:"trailing-controls"})],be.prototype,"trailingControlsSlot",2),v([E({type:String,reflect:!0})],be.prototype,"variant",2),v([E({type:String,reflect:!0})],be.prototype,"label",2),v([E({type:String,reflect:!0,attribute:"secondary-label"})],be.prototype,"secondaryLabel",2),v([E({type:String,reflect:!0,attribute:"tertiary-label"})],be.prototype,"tertiaryLabel",2),v([E({type:String,reflect:!0,attribute:"side-header-text"})],be.prototype,"sideHeaderText",2),v([E({type:String,reflect:!0,attribute:"subline-text"})],be.prototype,"sublineText",2),v([E({type:Boolean,reflect:!0,attribute:"soft-disabled"})],be.prototype,"softDisabled",2),v([E({type:String,reflect:!0,attribute:"tooltip-text"})],be.prototype,"tooltipText",2),v([E({type:String,reflect:!0,attribute:"tooltip-placement"})],be.prototype,"tooltipPlacement",2);var Hr=be;Hr.register(On);var zb=Hr;var Vb=H`
3222
3222
  :host {
3223
3223
  --mdc-marker-width: 0.25rem;
3224
3224
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -3243,7 +3243,7 @@
3243
3243
  var(--mdc-marker-striped-background-color) 0.375rem
3244
3244
  );
3245
3245
  }
3246
- `,Zm=[zb];var Jm=j.constructTagName("marker"),Qm={SOLID:"solid",STRIPED:"striped"};var Ks=class extends q{constructor(){super(...arguments);this.variant=Qm.SOLID}};Ks.styles=[...q.styles,...Zm],v([E({type:String,reflect:!0})],Ks.prototype,"variant",2);var Nc=Ks;Nc.register(Jm);var Vb=Nc;var Ft=j.constructTagName("menupopover"),Mc={PLACEMENT:Gt.BOTTOM_START,ORIENTATION:"vertical"};var jr=j.constructTagName("menusection");var Xs=j.constructTagName("menubar"),tu={ORIENTATION:"vertical"};var Bb=H`
3246
+ `,Jm=[Vb];var Qm=j.constructTagName("marker"),tu={SOLID:"solid",STRIPED:"striped"};var Xs=class extends q{constructor(){super(...arguments);this.variant=tu.SOLID}};Xs.styles=[...q.styles,...Jm],v([E({type:String,reflect:!0})],Xs.prototype,"variant",2);var Mc=Xs;Mc.register(Qm);var Bb=Mc;var zt=j.constructTagName("menupopover"),Rc={PLACEMENT:Gt.BOTTOM_START,ORIENTATION:"vertical"};var jr=j.constructTagName("menusection");var Zs=j.constructTagName("menubar"),eu={ORIENTATION:"vertical"};var Ub=H`
3247
3247
  :host {
3248
3248
  display: flex;
3249
3249
  }
@@ -3255,7 +3255,7 @@
3255
3255
  :host([aria-orientation='vertical']) {
3256
3256
  flex-direction: column;
3257
3257
  }
3258
- `,eu=[Bb];var $n=class extends q{constructor(){super(),this.addEventListener("keydown",this.handleKeyDown)}connectedCallback(){super.connectedCallback(),this.role=lt.MENUBAR,this.ariaOrientation=tu.ORIENTATION}get menuItems(){var h,m;let o=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"),e=(m=o==null?void 0:o.assignedElements({flatten:!0}))!=null?m:[],s=[],n=T=>{T.role===lt.MENUITEM&&!T.hasAttribute("disabled")?s.push(T):T.tagName.toLowerCase()===jr&&Array.from(T.children).forEach(n)};return e.forEach(n),s}update(o){super.update(o),this.updatePopoverPlacement()}firstUpdated(o){super.firstUpdated(o),this.resetTabIndexAndSetActiveTabIndex(this.menuItems)}resetTabIndexAndSetActiveTabIndex(o){o.forEach((e,s)=>{let n=s===0?"0":"-1";e==null||e.setAttribute("tabindex",n)})}getCurrentIndex(o){return this.menuItems.findIndex(e=>e===o||e===o.parentElement)}updatePopoverPlacement(){let o=this.querySelectorAll(`${Ft}:not([disabled])`),e=Gt.RIGHT_START;o.forEach(s=>s.setAttribute("placement",e))}updateTabIndexAndFocus(o,e,s){var n,h,m;s<0||e<0||(e!==s&&((n=o[e])==null||n.setAttribute("tabindex","-1"),(h=o[s])==null||h.setAttribute("tabindex","0")),(m=o[s])==null||m.focus())}navigateToMenuItem(o,e,s=!1){var m;let{length:n}=this.menuItems;if(n===0)return;let h=o;if(e==="prev"?h=(o-1+n)%n:h=(o+1)%n,this.updateTabIndexAndFocus(this.menuItems,o,h),s){let T=(m=this.menuItems[h])==null?void 0:m.getAttribute("id");this.hasSubmenu(T)&&!this.menuItems[h].hasAttribute("soft-disabled")&&this.showSubmenu(T)}}showSubmenu(o){let e=this.querySelector(`${Ft}[triggerid="${o}"]`);e==null||e.showPopover()}getKeyWithDirectionFix(o){return window.getComputedStyle(this).direction==="rtl"?o===dt.ARROW_LEFT?dt.ARROW_RIGHT:o===dt.ARROW_RIGHT?dt.ARROW_LEFT:o:o}isTopLevelMenuItem(o){var n;let e=o.parentElement;if(!e||o.role!==lt.MENUITEM)return!1;let s=e.tagName.toLowerCase();return s===Xs||s===jr&&((n=e.parentElement)==null?void 0:n.tagName.toLowerCase())===Xs}isNestedMenuItem(o){return!!o.closest(Ft)&&o.role===lt.MENUITEM}async closeAllMenuPopovers(){let o=[];for(;fe.peek();){let e=fe.pop();e&&(e.hidePopover(),o.push(e))}await Promise.all(o.map(e=>e.updateComplete))}async crossMenubarNavigationOnLeft(o){if(o.role===lt.MENUITEM){let s=o.closest(Ft),n=s==null?void 0:s.getAttribute("triggerid"),h=this.menuItems.find(m=>m.getAttribute("id")===n);if(h){this.isTopLevelMenuItem(h)&&(s==null||s.hidePopover()),await(s==null?void 0:s.updateComplete);let m=this.getCurrentIndex(h);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(o){if(this.isTopLevelMenuItem(o)&&this.hasSubmenu(o.id)&&!o.hasAttribute("soft-disabled"))this.showSubmenu(o.id);else if(this.isNestedMenuItem(o)&&!this.hasSubmenu(o.id)){await this.closeAllMenuPopovers();let e=this.getParentMenuItemIndex(o);e>=0&&this.navigateToMenuItem(e,"next",!0)}}hasSubmenu(o){return!!this.querySelector(`${Ft}[triggerid="${o}"]`)}getParentMenuItemIndex(o){let e=o.parentElement;for(;e;){if(e.tagName.toLowerCase()===Ft){let s=e.getAttribute("triggerid"),n=this.menuItems.find(h=>h.getAttribute("id")===s);if(n)return this.isTopLevelMenuItem(n)?this.menuItems.findIndex(h=>h===n):this.getParentMenuItemIndex(n)}e=e.parentElement}return-1}async handleKeyDown(o){let e=this.getCurrentIndex(o.target);switch(this.getKeyWithDirectionFix(o.key)){case dt.HOME:this.updateTabIndexAndFocus(this.menuItems,e,0);break;case dt.END:this.updateTabIndexAndFocus(this.menuItems,e,this.menuItems.length-1);break;case dt.ARROW_LEFT:{let n=e>=0?this.menuItems[e]:o.target;await this.crossMenubarNavigationOnLeft(n);break}case dt.ARROW_RIGHT:{let n=e>=0?this.menuItems[e]:o.target;await this.crossMenubarNavigationOnRight(n);break}case dt.ARROW_UP:{this.navigateToMenuItem(e,"prev"),o.preventDefault();break}case dt.ARROW_DOWN:{this.navigateToMenuItem(e,"next"),o.preventDefault();break}default:break}}render(){return O`<slot role="${lt.GROUP}"></slot>`}};$n.styles=[...q.styles,...eu];var jo=$n;jo.register(Xs);var Ub=jo;var Zs=j.constructTagName("menuitem"),Js={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},Rc={POSITIVE:"positive",NEGATIVE:"negative"},Oc={LEADING:"leading",TRAILING:"trailing"};var Gb=H`
3258
+ `,ru=[Ub];var $n=class extends q{constructor(){super(),this.addEventListener("keydown",this.handleKeyDown)}connectedCallback(){super.connectedCallback(),this.role=lt.MENUBAR,this.ariaOrientation=eu.ORIENTATION}get menuItems(){var h,m;let o=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"),e=(m=o==null?void 0:o.assignedElements({flatten:!0}))!=null?m:[],s=[],n=T=>{T.role===lt.MENUITEM&&!T.hasAttribute("disabled")?s.push(T):T.tagName.toLowerCase()===jr&&Array.from(T.children).forEach(n)};return e.forEach(n),s}update(o){super.update(o),this.updatePopoverPlacement()}firstUpdated(o){super.firstUpdated(o),this.resetTabIndexAndSetActiveTabIndex(this.menuItems)}resetTabIndexAndSetActiveTabIndex(o){o.forEach((e,s)=>{let n=s===0?"0":"-1";e==null||e.setAttribute("tabindex",n)})}getCurrentIndex(o){return this.menuItems.findIndex(e=>e===o||e===o.parentElement)}updatePopoverPlacement(){let o=this.querySelectorAll(`${zt}:not([disabled])`),e=Gt.RIGHT_START;o.forEach(s=>s.setAttribute("placement",e))}updateTabIndexAndFocus(o,e,s){var n,h,m;s<0||e<0||(e!==s&&((n=o[e])==null||n.setAttribute("tabindex","-1"),(h=o[s])==null||h.setAttribute("tabindex","0")),(m=o[s])==null||m.focus())}navigateToMenuItem(o,e,s=!1){var m;let{length:n}=this.menuItems;if(n===0)return;let h=o;if(e==="prev"?h=(o-1+n)%n:h=(o+1)%n,this.updateTabIndexAndFocus(this.menuItems,o,h),s){let T=(m=this.menuItems[h])==null?void 0:m.getAttribute("id");this.hasSubmenu(T)&&!this.menuItems[h].hasAttribute("soft-disabled")&&this.showSubmenu(T)}}showSubmenu(o){let e=this.querySelector(`${zt}[triggerid="${o}"]`);e==null||e.showPopover()}getKeyWithDirectionFix(o){return window.getComputedStyle(this).direction==="rtl"?o===dt.ARROW_LEFT?dt.ARROW_RIGHT:o===dt.ARROW_RIGHT?dt.ARROW_LEFT:o:o}isTopLevelMenuItem(o){var n;let e=o.parentElement;if(!e||o.role!==lt.MENUITEM)return!1;let s=e.tagName.toLowerCase();return s===Zs||s===jr&&((n=e.parentElement)==null?void 0:n.tagName.toLowerCase())===Zs}isNestedMenuItem(o){return!!o.closest(zt)&&o.role===lt.MENUITEM}async closeAllMenuPopovers(){let o=[];for(;fe.peek();){let e=fe.pop();e&&(e.hidePopover(),o.push(e))}await Promise.all(o.map(e=>e.updateComplete))}async crossMenubarNavigationOnLeft(o){if(o.role===lt.MENUITEM){let s=o.closest(zt),n=s==null?void 0:s.getAttribute("triggerid"),h=this.menuItems.find(m=>m.getAttribute("id")===n);if(h){this.isTopLevelMenuItem(h)&&(s==null||s.hidePopover()),await(s==null?void 0:s.updateComplete);let m=this.getCurrentIndex(h);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(o){if(this.isTopLevelMenuItem(o)&&this.hasSubmenu(o.id)&&!o.hasAttribute("soft-disabled"))this.showSubmenu(o.id);else if(this.isNestedMenuItem(o)&&!this.hasSubmenu(o.id)){await this.closeAllMenuPopovers();let e=this.getParentMenuItemIndex(o);e>=0&&this.navigateToMenuItem(e,"next",!0)}}hasSubmenu(o){return!!this.querySelector(`${zt}[triggerid="${o}"]`)}getParentMenuItemIndex(o){let e=o.parentElement;for(;e;){if(e.tagName.toLowerCase()===zt){let s=e.getAttribute("triggerid"),n=this.menuItems.find(h=>h.getAttribute("id")===s);if(n)return this.isTopLevelMenuItem(n)?this.menuItems.findIndex(h=>h===n):this.getParentMenuItemIndex(n)}e=e.parentElement}return-1}async handleKeyDown(o){let e=this.getCurrentIndex(o.target);switch(this.getKeyWithDirectionFix(o.key)){case dt.HOME:this.updateTabIndexAndFocus(this.menuItems,e,0);break;case dt.END:this.updateTabIndexAndFocus(this.menuItems,e,this.menuItems.length-1);break;case dt.ARROW_LEFT:{let n=e>=0?this.menuItems[e]:o.target;await this.crossMenubarNavigationOnLeft(n);break}case dt.ARROW_RIGHT:{let n=e>=0?this.menuItems[e]:o.target;await this.crossMenubarNavigationOnRight(n);break}case dt.ARROW_UP:{this.navigateToMenuItem(e,"prev"),o.preventDefault();break}case dt.ARROW_DOWN:{this.navigateToMenuItem(e,"next"),o.preventDefault();break}default:break}}render(){return O`<slot role="${lt.GROUP}"></slot>`}};$n.styles=[...q.styles,...ru];var Wo=$n;Wo.register(Zs);var Gb=Wo;var Qi=j.constructTagName("menuitem"),Js={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},Oc={POSITIVE:"positive",NEGATIVE:"negative"},Pc={LEADING:"leading",TRAILING:"trailing"};var Hb=H`
3259
3259
  :host(:dir(rtl))::part(trailing-arrow),
3260
3260
  :host(:dir(rtl))::part(leading-arrow) {
3261
3261
  transform: rotate(180deg);
@@ -3264,23 +3264,23 @@
3264
3264
  :host::part(leading-arrow) {
3265
3265
  --mdc-icon-size: 1.25rem;
3266
3266
  }
3267
- `,ru=[Gb];var fi=class extends Hr{constructor(){super();this.name=void 0;this.value=void 0;this.addEventListener("keyup",this.handleKeyUp)}handleKeyDown(e){e.key===dt.ENTER&&(this.triggerClickEvent(),e.preventDefault())}handleKeyUp(e){e.key===dt.SPACE&&(this.triggerClickEvent(),e.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=lt.MENUITEM,this.variant=qs.INSET_RECTANGLE}renderTrailingControls(){let e=this.arrowDirection===Rc.NEGATIVE?Js.LEFT:Js.RIGHT;return O`
3267
+ `,iu=[Hb];var fi=class extends Hr{constructor(){super();this.name=void 0;this.value=void 0;this.addEventListener("keyup",this.handleKeyUp)}handleKeyDown(e){e.key===dt.ENTER&&(this.triggerClickEvent(),e.preventDefault())}handleKeyUp(e){e.key===dt.SPACE&&(this.triggerClickEvent(),e.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=lt.MENUITEM,this.variant=Ks.INSET_RECTANGLE}renderTrailingControls(){let e=this.arrowDirection===Oc.NEGATIVE?Js.LEFT:Js.RIGHT;return O`
3268
3268
  <slot
3269
3269
  name="trailing-controls"
3270
3270
  @click=${this.stopEventPropagation}
3271
3271
  @keyup=${this.stopEventPropagation}
3272
3272
  @keydown=${this.stopEventPropagation}
3273
3273
  ></slot>
3274
- ${this.arrowPosition===Oc.TRAILING?O`<mdc-icon name="${e}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:Y}
3275
- `}renderLeadingControls(){let e=this.arrowDirection===Rc.POSITIVE?Js.RIGHT:Js.LEFT;return O`
3274
+ ${this.arrowPosition===Pc.TRAILING?O`<mdc-icon name="${e}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:Y}
3275
+ `}renderLeadingControls(){let e=this.arrowDirection===Oc.POSITIVE?Js.RIGHT:Js.LEFT;return O`
3276
3276
  <slot
3277
3277
  name="leading-controls"
3278
3278
  @click=${this.stopEventPropagation}
3279
3279
  @keyup=${this.stopEventPropagation}
3280
3280
  @keydown=${this.stopEventPropagation}
3281
3281
  ></slot>
3282
- ${this.arrowPosition===Oc.LEADING?O`<mdc-icon name="${e}" length-unit="rem" part="leading-arrow"></mdc-icon>`:Y}
3283
- `}};fi.styles=[...Hr.styles,...ru],v([E({type:String,reflect:!0,attribute:"arrow-position"})],fi.prototype,"arrowPosition",2),v([E({type:String,reflect:!0,attribute:"arrow-direction"})],fi.prototype,"arrowDirection",2),v([E({type:String,reflect:!0})],fi.prototype,"name",2),v([E({type:String,reflect:!0})],fi.prototype,"value",2);var Ke=fi;Ke.register(Zs);var Hb=Ke;var iu=j.constructTagName("statictoggle"),jb={DEFAULT:"default",COMPACT:"compact"},Pc={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},ou={compact:.75,default:1.25},su={SIZE:jb.DEFAULT};var Wb=[H`
3282
+ ${this.arrowPosition===Pc.LEADING?O`<mdc-icon name="${e}" length-unit="rem" part="leading-arrow"></mdc-icon>`:Y}
3283
+ `}};fi.styles=[...Hr.styles,...iu],v([E({type:String,reflect:!0,attribute:"arrow-position"})],fi.prototype,"arrowPosition",2),v([E({type:String,reflect:!0,attribute:"arrow-direction"})],fi.prototype,"arrowDirection",2),v([E({type:String,reflect:!0})],fi.prototype,"name",2),v([E({type:String,reflect:!0})],fi.prototype,"value",2);var Ke=fi;Ke.register(Qi);var jb=Ke;var ou=j.constructTagName("statictoggle"),Wb={DEFAULT:"default",COMPACT:"compact"},Dc={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},su={compact:.75,default:1.25},au={SIZE:Wb.DEFAULT};var Yb=[H`
3284
3284
  :host {
3285
3285
  --mdc-statictoggle-width: 3rem;
3286
3286
  --mdc-statictoggle-height: 1.5rem;
@@ -3360,21 +3360,21 @@
3360
3360
  border: var(--mdc-statictoggle-border);
3361
3361
  }
3362
3362
  }
3363
- `],au=Wb;var Wo=class extends $t(q){constructor(){super(...arguments);this.checked=!1;this.size=su.SIZE}render(){return O`
3363
+ `],nu=Yb;var Yo=class extends Ft(q){constructor(){super(...arguments);this.checked=!1;this.size=au.SIZE}render(){return O`
3364
3364
  <slot></slot>
3365
3365
  <div part="slider">
3366
3366
  <mdc-icon
3367
- name="${this.checked?Pc.CHECKED:Pc.UNCHECKED}"
3367
+ name="${this.checked?Dc.CHECKED:Dc.UNCHECKED}"
3368
3368
  class="icon"
3369
3369
  length-unit="rem"
3370
- size="${ou[this.size]}"
3370
+ size="${su[this.size]}"
3371
3371
  ></mdc-icon>
3372
3372
  </div>
3373
- `}};Wo.styles=[...q.styles,...au],v([E({type:Boolean,reflect:!0})],Wo.prototype,"checked",2),v([E({type:String,reflect:!0})],Wo.prototype,"size",2);var Dc=Wo;Dc.register(iu);var Yb=Dc;var nu=j.constructTagName("toggle"),Qs={DEFAULT:"default",COMPACT:"compact"};var Fc={SIZE:Qs.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var zn=j.constructTagName("menuitemcheckbox"),ta={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},lu={INDICATOR:ta.CHECKBOX};var qb=H`
3373
+ `}};Yo.styles=[...q.styles,...nu],v([E({type:Boolean,reflect:!0})],Yo.prototype,"checked",2),v([E({type:String,reflect:!0})],Yo.prototype,"size",2);var Fc=Yo;Fc.register(ou);var qb=Fc;var lu=j.constructTagName("toggle"),Qs={DEFAULT:"default",COMPACT:"compact"};var $c={SIZE:Qs.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var zn=j.constructTagName("menuitemcheckbox"),ta={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},cu={INDICATOR:ta.CHECKBOX};var Kb=H`
3374
3374
  :host::part(checkmark-icon) {
3375
3375
  --mdc-icon-fill-color: currentColor;
3376
3376
  }
3377
- `,cu=[qb];var Yo=class extends Ke{constructor(){super();this.checked=!1;this.indicator=lu.INDICATOR;this.handleMouseClick=e=>{e.stopPropagation(),!this.disabled&&(this.checked=!this.checked,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))};this.addEventListener("click",this.handleMouseClick)}connectedCallback(){super.connectedCallback(),this.role=lt.MENUITEMCHECKBOX}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===ta.CHECKBOX?O`
3377
+ `,du=[Kb];var qo=class extends Ke{constructor(){super();this.checked=!1;this.indicator=cu.INDICATOR;this.handleMouseClick=e=>{e.stopPropagation(),!this.disabled&&(this.checked=!this.checked,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))};this.addEventListener("click",this.handleMouseClick)}connectedCallback(){super.connectedCallback(),this.role=lt.MENUITEMCHECKBOX}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===ta.CHECKBOX?O`
3378
3378
  <mdc-staticcheckbox
3379
3379
  slot="leading-controls"
3380
3380
  ?checked="${this.checked}"
@@ -3405,11 +3405,11 @@
3405
3405
  <slot name="trailing-controls"></slot>
3406
3406
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
3407
3407
  </div>
3408
- `}};Yo.styles=[...Ke.styles,...cu],v([E({type:Boolean,reflect:!0})],Yo.prototype,"checked",2),v([E({type:String,reflect:!0})],Yo.prototype,"indicator",2);var $c=Yo;$c.register(zn);var Kb=$c;var Vn=j.constructTagName("menuitemradio"),Bn={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},du={INDICATOR:Bn.RADIO};var Xb=H`
3408
+ `}};qo.styles=[...Ke.styles,...du],v([E({type:Boolean,reflect:!0})],qo.prototype,"checked",2),v([E({type:String,reflect:!0})],qo.prototype,"indicator",2);var zc=qo;zc.register(zn);var Xb=zc;var Vn=j.constructTagName("menuitemradio"),Bn={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},hu={INDICATOR:Bn.RADIO};var Zb=H`
3409
3409
  :host::part(checkmark-icon) {
3410
3410
  --mdc-icon-fill-color: currentColor;
3411
3411
  }
3412
- `,hu=[Xb];var qo=class extends Ke{constructor(){super();this.checked=!1;this.indicator=du.INDICATOR;this.handleMouseClick=e=>{e.stopPropagation(),!(this.disabled||this.checked)&&(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))};this.addEventListener("click",this.handleMouseClick)}connectedCallback(){super.connectedCallback(),this.role=lt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let e=this.closest(`${jr}, ${Ft}`);return!e||!this.name?[]:Array.from(e.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(s=>{s!==this&&s.removeAttribute("checked")})}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=`${this.checked}`,e.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===Bn.RADIO?O`
3412
+ `,pu=[Zb];var Ko=class extends Ke{constructor(){super();this.checked=!1;this.indicator=hu.INDICATOR;this.handleMouseClick=e=>{e.stopPropagation(),!(this.disabled||this.checked)&&(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))};this.addEventListener("click",this.handleMouseClick)}connectedCallback(){super.connectedCallback(),this.role=lt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let e=this.closest(`${jr}, ${zt}`);return!e||!this.name?[]:Array.from(e.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(s=>{s!==this&&s.removeAttribute("checked")})}update(e){super.update(e),e.has("checked")&&(this.ariaChecked=`${this.checked}`,e.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===Bn.RADIO?O`
3413
3413
  <mdc-staticradio
3414
3414
  slot="leading-controls"
3415
3415
  ?checked="${this.checked}"
@@ -3433,7 +3433,7 @@
3433
3433
  <slot name="trailing-controls"></slot>
3434
3434
  ${this.renderCheckmarkIcon()}
3435
3435
  </div>
3436
- `}};qo.styles=[...Ke.styles,...hu],v([E({type:Boolean,reflect:!0})],qo.prototype,"checked",2),v([E({type:String,reflect:!0})],qo.prototype,"indicator",2);var zc=qo;zc.register(Vn);var Zb=zc;var Jb=H`
3436
+ `}};Ko.styles=[...Ke.styles,...pu],v([E({type:Boolean,reflect:!0})],Ko.prototype,"checked",2),v([E({type:String,reflect:!0})],Ko.prototype,"indicator",2);var Vc=Ko;Vc.register(Vn);var Jb=Vc;var Qb=H`
3437
3437
  :host::part(popover-content) {
3438
3438
  padding: 0.75rem 0.5rem;
3439
3439
  }
@@ -3441,7 +3441,7 @@
3441
3441
  ::slotted(mdc-divider) {
3442
3442
  margin-block: 0.25rem;
3443
3443
  }
3444
- `,pu=[Jb];var Vc=l=>{var o,e;return[Zs,zn,Vn].includes((e=(o=l==null?void 0:l.tagName)==null?void 0:o.toLowerCase)==null?void 0:e.call(o))},mu=l=>{var o;return((o=l==null?void 0:l.tagName)==null?void 0:o.toLowerCase())===Ft},uu=l=>{var o,e;return((e=(o=l==null?void 0:l.tagName)==null?void 0:o.toLowerCase)==null?void 0:e.call(o))===Zs&&!l.hasAttribute("disabled")};var ea=class extends Le{constructor(){super();this.placement=Mc.PLACEMENT;this.onOutsidePopoverClick=e=>{if(fe.peek()!==this)return;let s=e.target.closest(Ft);if(s&&fe.has(s)){this.closeAllMenuPopovers(s);return}let n=e.composedPath(),h=this.contains(e.target)||n.includes(this.triggerElement),m=this.backdropElement?n.includes(this.backdropElement):!1;(!h||m)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=()=>{var e;(e=this.triggerElement)!=null&&e.hasAttribute("soft-disabled")||(this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0))};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleMouseClick)}get menuItems(){var n;let e=(n=this.shadowRoot)==null?void 0:n.querySelector("slot");return((e==null?void 0:e.assignedElements({flatten:!0}))||[]).map(h=>h.tagName.toLowerCase()===jr?Array.from(h.children).filter(m=>Vc(m)):Vc(h)?h:[]).flat().filter(h=>!!h&&!h.hasAttribute("disabled"))}connectedCallback(){super.connectedCallback(),this.role=lt.MENU,this.ariaOrientation=Mc.ORIENTATION,this.backdrop=!1,this.color=Hi.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 firstUpdated(e){var s;await super.firstUpdated(e),this.menuItems.length>0&&(this.menuItems.forEach(n=>n.setAttribute("tabindex","-1")),this.menuItems[0].setAttribute("tabindex","0")),(s=this.triggerElement)==null||s.setAttribute("aria-haspopup",lt.MENU)}getCurrentIndex(e){return this.menuItems.findIndex(s=>s===e)}resetTabIndexAndSetFocus(e,s){e!==s&&(this.menuItems[s].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.menuItems[e].focus())}closeAllMenuPopovers(e){for(;fe.peek()!==e;){let s=fe.pop();if(s)s.hidePopover();else break}}hasSubmenuWithTriggerId(e){var s;return((s=this.parentElement)==null?void 0:s.querySelector(`${Ft}[triggerid="${e}"]`))!==null}handleMouseClick(e){let s=e.target,n=s.getAttribute("id");uu(s)&&!this.hasSubmenuWithTriggerId(n)&&this===s.closest(Ft)&&(this.closeAllMenuPopovers(),s.dispatchEvent(new Event("action",{bubbles:!0,composed:!0})))}resolveDirectionKey(e,s){if(!s)return e;switch(e){case dt.ARROW_LEFT:return dt.ARROW_RIGHT;case dt.ARROW_RIGHT:return dt.ARROW_LEFT;default:return e}}handleKeyDown(e){var m,T;let s=this.getCurrentIndex(e.target);if(s===-1)return;let n=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(e.key,n)){case dt.HOME:{this.resetTabIndexAndSetFocus(0,s);break}case dt.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,s);break}case dt.ARROW_DOWN:{let L=s+1===this.menuItems.length?0:s+1;this.resetTabIndexAndSetFocus(L,s);break}case dt.ARROW_UP:{let L=s-1===-1?this.menuItems.length-1:s-1;this.resetTabIndexAndSetFocus(L,s);break}case dt.ARROW_RIGHT:{let L=(m=this.menuItems[s])==null?void 0:m.getAttribute("id");if(this.hasSubmenuWithTriggerId(L)){let $=(T=this.parentElement)==null?void 0:T.querySelector(`${Ft}[triggerid="${L}"]`);$&&$.showPopover()}break}case dt.ARROW_LEFT:{mu(this.parentElement)&&(this.hidePopover(),this.resetTabIndexAndSetFocus(0,s));break}case dt.ESCAPE:{this.resetTabIndexAndSetFocus(0,s);break}default:break}}};ea.styles=[...Le.styles,...pu],v([E({type:String,reflect:!0})],ea.prototype,"placement",2);var Bc=ea;Bc.register(Ft);var Qb=Bc;var ty=H`
3444
+ `,mu=[Qb];var Bc=l=>{if(!l)return!1;let o=l.tagName.toLowerCase();return[Qi,zn,Vn].includes(o)},uu=l=>{var o;return((o=l==null?void 0:l.tagName)==null?void 0:o.toLowerCase())===zt},fu=l=>{var o,e;return((e=(o=l==null?void 0:l.tagName)==null?void 0:o.toLowerCase)==null?void 0:e.call(o))===Qi&&!l.hasAttribute("disabled")};var ea=class extends Le{constructor(){super();this.placement=Rc.PLACEMENT;this.onOutsidePopoverClick=e=>{if(fe.peek()!==this)return;let s=this.findClosestPopover(e.target);if(s&&fe.has(s)){this.closeAllMenuPopovers(s);return}let n=e.composedPath(),h=this.contains(e.target)||n.includes(this.triggerElement),m=this.backdropElement?n.includes(this.backdropElement):!1;(!h||m)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=()=>{var e;(e=this.triggerElement)!=null&&e.hasAttribute("soft-disabled")||(this.isTriggerClicked?this.hidePopover():(this.showPopover(),this.isTriggerClicked=!0))};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("click",this.handleMouseClick)}get menuItems(){var n;let e=(n=this.shadowRoot)==null?void 0:n.querySelector("slot");return((e==null?void 0:e.assignedElements({flatten:!0}))||[]).map(h=>h.tagName.toLowerCase()===jr?Array.from(h.children).filter(m=>Bc(m)):Bc(h)?h:[]).flat().filter(h=>!!h&&!h.hasAttribute("disabled"))}connectedCallback(){super.connectedCallback(),this.role=lt.MENU,this.ariaOrientation=Rc.ORIENTATION,this.backdrop=!1,this.color=Hi.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(e,s){return e===s||!this.triggerElement?Promise.resolve():(s&&(this.backdrop=this.triggerElement.tagName.toLowerCase()!==Qi),super.isOpenUpdated(e,s))}async firstUpdated(e){var s;await super.firstUpdated(e),this.menuItems.length>0&&(this.menuItems.forEach(n=>n.setAttribute("tabindex","-1")),this.menuItems[0].setAttribute("tabindex","0")),(s=this.triggerElement)==null||s.setAttribute("aria-haspopup",lt.MENU)}getCurrentIndex(e){return this.menuItems.findIndex(s=>s===e)}resetTabIndexAndSetFocus(e,s){e!==s&&(this.menuItems[s].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.menuItems[e].focus())}closeAllMenuPopovers(e){for(;fe.peek()!==e;){let s=fe.pop();if(s)s.hidePopover();else break}}hasSubmenuWithTriggerId(e){var s;return((s=this.parentElement)==null?void 0:s.querySelector(`${zt}[triggerid="${e}"]`))!==null}handleMouseClick(e){let s=e.target,n=s.getAttribute("id");fu(s)&&!this.hasSubmenuWithTriggerId(n)&&this===s.closest(zt)&&(this.closeAllMenuPopovers(),s.dispatchEvent(new Event("action",{bubbles:!0,composed:!0})))}resolveDirectionKey(e,s){if(!s)return e;switch(e){case dt.ARROW_LEFT:return dt.ARROW_RIGHT;case dt.ARROW_RIGHT:return dt.ARROW_LEFT;default:return e}}handleKeyDown(e){var m,T;let s=this.getCurrentIndex(e.target);if(s===-1)return;let n=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(e.key,n)){case dt.HOME:{this.resetTabIndexAndSetFocus(0,s);break}case dt.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,s);break}case dt.ARROW_DOWN:{let L=s+1===this.menuItems.length?0:s+1;this.resetTabIndexAndSetFocus(L,s);break}case dt.ARROW_UP:{let L=s-1===-1?this.menuItems.length-1:s-1;this.resetTabIndexAndSetFocus(L,s);break}case dt.ARROW_RIGHT:{let L=(m=this.menuItems[s])==null?void 0:m.getAttribute("id");if(this.hasSubmenuWithTriggerId(L)){let $=(T=this.parentElement)==null?void 0:T.querySelector(`${zt}[triggerid="${L}"]`);$&&$.showPopover()}break}case dt.ARROW_LEFT:{uu(this.parentElement)&&(this.hidePopover(),this.resetTabIndexAndSetFocus(0,s));break}case dt.ESCAPE:{this.resetTabIndexAndSetFocus(0,s);break}default:break}}};ea.styles=[...Le.styles,...mu],v([E({type:String,reflect:!0})],ea.prototype,"placement",2);var Uc=ea;Uc.register(zt);var ty=Uc;var ey=H`
3445
3445
  :host > .mdc-menusection__label {
3446
3446
  padding: 0.5rem 0.75rem;
3447
3447
  }
@@ -3449,9 +3449,9 @@
3449
3449
  ::slotted(mdc-divider) {
3450
3450
  margin-block: 0.25rem;
3451
3451
  }
3452
- `,fu=[ty];var Ko=class extends q{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null}connectedCallback(){super.connectedCallback(),this.setAttribute("role",lt.GROUP)}update(e){super.update(e),(e.has("ariaLabel")||e.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===e.get("headerText"))&&(this.ariaLabel=this.headerText||"")}renderLabel(){return this.headerText?O`<mdc-text part="header-text" type=${it.BODY_MIDSIZE_BOLD} tagname=${bt.DIV}>
3452
+ `,vu=[ey];var Xo=class extends q{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null}connectedCallback(){super.connectedCallback(),this.setAttribute("role",lt.GROUP)}update(e){super.update(e),(e.has("ariaLabel")||e.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===e.get("headerText"))&&(this.ariaLabel=this.headerText||"")}renderLabel(){return this.headerText?O`<mdc-text part="header-text" type=${it.BODY_MIDSIZE_BOLD} tagname=${bt.DIV}>
3453
3453
  ${this.headerText}
3454
- </mdc-text> `:null}render(){return O`${this.renderLabel()}<slot></slot>`}};Ko.styles=[...q.styles,...fu],v([E({type:String,reflect:!0,attribute:"aria-label"})],Ko.prototype,"ariaLabel",2),v([E({type:String,reflect:!0,attribute:"header-text"})],Ko.prototype,"headerText",2);var Uc=Ko;Uc.register(jr);var ey=Uc;var Un=j.constructTagName("sidenavigation"),Tr={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},ra={VARIANT:Tr.FLEXIBLE};var Xo=j.constructTagName("navitem"),vu={DOT:Ue.DOT,COUNTER:Ue.COUNTER},gu={RIGHT_ARROW:"arrow-right-bold"},bu={MAX_COUNTER:99,TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,SIZE:Ci[24],VARIANT:Tr.FLEXIBLE};var Gn=class{constructor(o,e,s){this.variant=o,this.expanded=e,this.parentNavTooltipText=s}hasSiblingWithTriggerId(o){var n,h;let e=o==null?void 0:o.getAttribute("id");return e?Array.from((h=(n=o==null?void 0:o.parentElement)==null?void 0:n.children)!=null?h:[]).some(m=>m!==o&&m.tagName.toLowerCase()===Ft&&m.getAttribute("triggerid")===e):!1}getParentNavItems(o){if(!o)return[];let e=[],s=o;for(;s;){let n=s==null?void 0:s.closest(Ft);if(!n)break;let h=n.getAttribute("triggerid");if(!h)break;let m=document.getElementById(h);if(m&&m.tagName.toLowerCase()===Xo)e.push(m),s=m;else break}return e}setCurrentActiveNavItem(o){var h;let e=((h=this.currentActiveNavItem)==null?void 0:h.navId)===(o==null?void 0:o.navId),s=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o);if(e||s||(this.currentActiveNavItem&&(this.currentActiveNavItem.removeAttribute("aria-current"),this.currentActiveNavItem.removeAttribute("active"),this.getParentNavItems(this.currentActiveNavItem).forEach(T=>{T.removeAttribute("tooltip-text"),T.removeAttribute("active")})),!o))return;this.currentActiveNavItem=o,o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavItems(o).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Gt.BOTTOM),m.setAttribute("active","")})}};Gn.context=Un;var Hn=Gn;var ry=H`
3454
+ </mdc-text> `:null}render(){return O`${this.renderLabel()}<slot></slot>`}};Xo.styles=[...q.styles,...vu],v([E({type:String,reflect:!0,attribute:"aria-label"})],Xo.prototype,"ariaLabel",2),v([E({type:String,reflect:!0,attribute:"header-text"})],Xo.prototype,"headerText",2);var Gc=Xo;Gc.register(jr);var ry=Gc;var Un=j.constructTagName("sidenavigation"),Tr={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},ra={VARIANT:Tr.FLEXIBLE};var Zo=j.constructTagName("navitem"),gu={DOT:Ue.DOT,COUNTER:Ue.COUNTER},bu={RIGHT_ARROW:"arrow-right-bold"},yu={MAX_COUNTER:99,TEXT_TYPE:it.BODY_MIDSIZE_REGULAR,TAG_NAME:bt.SPAN,SIZE:wi[24],VARIANT:Tr.FLEXIBLE};var Gn=class{constructor(o,e,s){this.variant=o,this.expanded=e,this.parentNavTooltipText=s}hasSiblingWithTriggerId(o){var n,h;let e=o==null?void 0:o.getAttribute("id");return e?Array.from((h=(n=o==null?void 0:o.parentElement)==null?void 0:n.children)!=null?h:[]).some(m=>m!==o&&m.tagName.toLowerCase()===zt&&m.getAttribute("triggerid")===e):!1}getParentNavItems(o){if(!o)return[];let e=[],s=o;for(;s;){let n=s==null?void 0:s.closest(zt);if(!n)break;let h=n.getAttribute("triggerid");if(!h)break;let m=document.getElementById(h);if(m&&m.tagName.toLowerCase()===Zo)e.push(m),s=m;else break}return e}setCurrentActiveNavItem(o){var h;let e=((h=this.currentActiveNavItem)==null?void 0:h.navId)===(o==null?void 0:o.navId),s=(o==null?void 0:o.disableAriaCurrent)||this.hasSiblingWithTriggerId(o);if(e||s||(this.currentActiveNavItem&&(this.currentActiveNavItem.removeAttribute("aria-current"),this.currentActiveNavItem.removeAttribute("active"),this.getParentNavItems(this.currentActiveNavItem).forEach(T=>{T.removeAttribute("tooltip-text"),T.removeAttribute("active")})),!o))return;this.currentActiveNavItem=o,o.setAttribute("aria-current","page"),o.setAttribute("active",""),this.getParentNavItems(o).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Gt.BOTTOM),m.setAttribute("active","")})}};Gn.context=Un;var Hn=Gn;var iy=H`
3455
3455
  :host {
3456
3456
  --mdc-sidenavigation-expanded-width: 15rem;
3457
3457
  --mdc-sidenavigation-collapsed-width: 4.5rem;
@@ -3516,7 +3516,7 @@
3516
3516
  :host::part(separator) {
3517
3517
  margin-bottom: 0.75rem;
3518
3518
  }
3519
- `,yu=[ry];var hr=class extends si{constructor(){super({context:Hn.context,initialValue:new Hn(ra.VARIANT,!0)});this.variant=ra.VARIANT;this.customerName="";this.flexibleExpanded=this.variant===ra.VARIANT;this.arrowDirection=this.flexibleExpanded?ge.NEGATIVE:ge.POSITIVE;this.updateExpansionState=()=>{switch(this.variant){case Tr.FLEXIBLE:this.expanded=this.flexibleExpanded;break;case Tr.FIXED_EXPANDED:this.expanded=!0;break;case Tr.FIXED_COLLAPSED:this.expanded=!1;break;default:}}}connectedCallback(){super.connectedCallback(),this.role=lt.NAVIGATION}static get Context(){return Hn.context}updated(e){super.updated(e),e.has("variant")&&(this.setVariant(this.variant),this.updateExpansionState()),(e.has("variant")||e.has("expanded"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}setVariant(e){this.setAttribute("variant",Object.values(Tr).includes(e)?e:ra.VARIANT)}toggleSideNavigation(){this.flexibleExpanded=!this.flexibleExpanded,this.arrowDirection=this.arrowDirection===ge.NEGATIVE?ge.POSITIVE:ge.NEGATIVE,this.updateExpansionState()}render(){var e;return this.variant===Tr.HIDDEN?O``:O`
3519
+ `,Eu=[iy];var hr=class extends si{constructor(){super({context:Hn.context,initialValue:new Hn(ra.VARIANT,!0)});this.variant=ra.VARIANT;this.customerName="";this.flexibleExpanded=this.variant===ra.VARIANT;this.arrowDirection=this.flexibleExpanded?ge.NEGATIVE:ge.POSITIVE;this.updateExpansionState=()=>{switch(this.variant){case Tr.FLEXIBLE:this.expanded=this.flexibleExpanded;break;case Tr.FIXED_EXPANDED:this.expanded=!0;break;case Tr.FIXED_COLLAPSED:this.expanded=!1;break;default:}}}connectedCallback(){super.connectedCallback(),this.role=lt.NAVIGATION}static get Context(){return Hn.context}updated(e){super.updated(e),e.has("variant")&&(this.setVariant(this.variant),this.updateExpansionState()),(e.has("variant")||e.has("expanded"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}setVariant(e){this.setAttribute("variant",Object.values(Tr).includes(e)?e:ra.VARIANT)}toggleSideNavigation(){this.flexibleExpanded=!this.flexibleExpanded,this.arrowDirection=this.arrowDirection===ge.NEGATIVE?ge.POSITIVE:ge.NEGATIVE,this.updateExpansionState()}render(){var e;return this.variant===Tr.HIDDEN?O``:O`
3520
3520
  <div part="side-navigation-container" id="side-nav-container">
3521
3521
  <div part="scrollable-section">
3522
3522
  <slot name="scrollable-section"></slot>
@@ -3534,7 +3534,7 @@
3534
3534
  </div>
3535
3535
  ${this.variant===Tr.FLEXIBLE?O`<mdc-divider
3536
3536
  orientation=${Xi.VERTICAL}
3537
- variant=${Hs.GRADIENT}
3537
+ variant=${js.GRADIENT}
3538
3538
  arrow-direction=${this.arrowDirection}
3539
3539
  button-position=${ge.POSITIVE}
3540
3540
  >
@@ -3546,7 +3546,7 @@
3546
3546
  part="grabber-btn"
3547
3547
  ></mdc-button>
3548
3548
  </mdc-divider>`:Y}
3549
- `}};hr.styles=[...q.styles,...yu],v([E({type:String,reflect:!0})],hr.prototype,"variant",2),v([E({type:String,reflect:!0,attribute:"customer-name"})],hr.prototype,"customerName",2),v([E({type:Boolean,reflect:!0})],hr.prototype,"expanded",2),v([E({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],hr.prototype,"grabberBtnAriaLabel",2),v([E({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],hr.prototype,"parentNavTooltipText",2),v([At()],hr.prototype,"flexibleExpanded",2),v([At()],hr.prototype,"arrowDirection",2);var Qi=hr;var iy=[Et,H`
3549
+ `}};hr.styles=[...q.styles,...Eu],v([E({type:String,reflect:!0})],hr.prototype,"variant",2),v([E({type:String,reflect:!0,attribute:"customer-name"})],hr.prototype,"customerName",2),v([E({type:Boolean,reflect:!0})],hr.prototype,"expanded",2),v([E({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],hr.prototype,"grabberBtnAriaLabel",2),v([E({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],hr.prototype,"parentNavTooltipText",2),v([At()],hr.prototype,"flexibleExpanded",2),v([At()],hr.prototype,"arrowDirection",2);var to=hr;var oy=[Et,H`
3550
3550
  :host {
3551
3551
  --mdc-navitem-color: var(--mds-color-theme-text-primary-normal);
3552
3552
  --mdc-navitem-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -3688,7 +3688,7 @@
3688
3688
  left: -0.75rem;
3689
3689
  top: 0.875rem;
3690
3690
  }
3691
- `,...St()],Eu=iy;var Xe=class extends ce(Ke){constructor(){super(...arguments);this.maxCounter=bu.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=Ao.consume({host:this,context:Qi.Context});this.emitNavItemActiveChange=e=>{let s=new CustomEvent("activechange",{detail:{navId:this.navId,active:e},bubbles:!0});this.dispatchEvent(s)}}connectedCallback(){super.connectedCallback(),this.variant=void 0,this.tooltipPlacement=void 0,this.addEventListener("click",this.handleClickEvent),!this.navId&&this.onerror&&this.onerror("[mdc-navitem] navId is required and was not provided.")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClickEvent)}updated(){var s,n;let e=(s=this.sideNavigationContext)==null?void 0:s.value;if(e)if(this.showLabel=this.isNested()?!0:e.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(n=this.label)!=null?n:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}isNested(){let e=this.parentElement;for(;e;){if(e.tagName.toLowerCase()===Ft)return!0;e=e.parentElement}return!1}modifyIconName(e){if(!this.iconName)return;let s=this.iconName.endsWith("-filled"),n=Pi(this.iconName);e?s||(this.prevIconName=this.iconName,this.iconName=`${n}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavItemActiveChange(this.active)}update(e){super.update(e),e.has("active")&&this.modifyIconName(this.active)}renderTextLabel(e){return O`
3691
+ `,...St()],Tu=oy;var Xe=class extends ce(Ke){constructor(){super(...arguments);this.maxCounter=yu.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=_o.consume({host:this,context:to.Context});this.emitNavItemActiveChange=e=>{let s=new CustomEvent("activechange",{detail:{navId:this.navId,active:e},bubbles:!0});this.dispatchEvent(s)}}connectedCallback(){super.connectedCallback(),this.variant=void 0,this.tooltipPlacement=void 0,this.addEventListener("click",this.handleClickEvent),!this.navId&&this.onerror&&this.onerror("[mdc-navitem] navId is required and was not provided.")}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClickEvent)}updated(){var s,n;let e=(s=this.sideNavigationContext)==null?void 0:s.value;if(e)if(this.showLabel=this.isNested()?!0:e.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(n=this.label)!=null?n:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}isNested(){let e=this.parentElement;for(;e;){if(e.tagName.toLowerCase()===zt)return!0;e=e.parentElement}return!1}modifyIconName(e){if(!this.iconName)return;let s=this.iconName.endsWith("-filled"),n=Pi(this.iconName);e?s||(this.prevIconName=this.iconName,this.iconName=`${n}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavItemActiveChange(this.active)}update(e){super.update(e),e.has("active")&&this.modifyIconName(this.active)}renderTextLabel(e){return O`
3692
3692
  <mdc-text
3693
3693
  type=${this.active?it.BODY_MIDSIZE_BOLD:it.BODY_MIDSIZE_MEDIUM}
3694
3694
  tagname=${bt.SPAN}
@@ -3697,8 +3697,8 @@
3697
3697
  ${e}
3698
3698
  </mdc-text>
3699
3699
  `}renderArrowIcon(e){let s=e?"":"arrow";return O`
3700
- <mdc-icon name=${gu.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${s}"> </mdc-icon>
3701
- `}renderBadge(e){let s=e?"":"badge";return Object.values(vu).includes(this.badgeType)?O`
3700
+ <mdc-icon name=${bu.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${s}"> </mdc-icon>
3701
+ `}renderBadge(e){let s=e?"":"badge";return Object.values(gu).includes(this.badgeType)?O`
3702
3702
  <mdc-badge
3703
3703
  class="${s}"
3704
3704
  type="${at(this.badgeType)}"
@@ -3713,7 +3713,7 @@
3713
3713
  </div>
3714
3714
  ${this.showLabel?O`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:Y}
3715
3715
  ${e!=null&&e.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):Y}
3716
- `}};Xe.styles=[...Ke.styles,...Eu],v([E({type:Boolean,reflect:!0})],Xe.prototype,"active",2),v([E({type:String,reflect:!0,attribute:"badge-type"})],Xe.prototype,"badgeType",2),v([E({type:Number,reflect:!0})],Xe.prototype,"counter",2),v([E({type:Number,attribute:"max-counter",reflect:!0})],Xe.prototype,"maxCounter",2),v([E({type:String,reflect:!0,attribute:"nav-id"})],Xe.prototype,"navId",2),v([E({type:Boolean,reflect:!0,attribute:"show-label"})],Xe.prototype,"showLabel",2),v([E({type:String,attribute:"aria-label"})],Xe.prototype,"ariaLabel",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Xe.prototype,"disableAriaCurrent",2);var Gc=Xe;Gc.register(Xo);var oy=Gc;var sy=H`
3716
+ `}};Xe.styles=[...Ke.styles,...Tu],v([E({type:Boolean,reflect:!0})],Xe.prototype,"active",2),v([E({type:String,reflect:!0,attribute:"badge-type"})],Xe.prototype,"badgeType",2),v([E({type:Number,reflect:!0})],Xe.prototype,"counter",2),v([E({type:Number,attribute:"max-counter",reflect:!0})],Xe.prototype,"maxCounter",2),v([E({type:String,reflect:!0,attribute:"nav-id"})],Xe.prototype,"navId",2),v([E({type:Boolean,reflect:!0,attribute:"show-label"})],Xe.prototype,"showLabel",2),v([E({type:String,attribute:"aria-label"})],Xe.prototype,"ariaLabel",2),v([E({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Xe.prototype,"disableAriaCurrent",2);var Hc=Xe;Hc.register(Zo);var sy=Hc;var ay=H`
3717
3717
  :host {
3718
3718
  gap: 0.25rem;
3719
3719
  }
@@ -3733,7 +3733,7 @@
3733
3733
  ::slotted(mdc-divider) {
3734
3734
  margin: 0.75rem 0;
3735
3735
  }
3736
- `,Tu=[sy];var Zo=class extends jo{constructor(){super(...arguments);this.ariaLabel=null;this.sideNavigationContext=Ao.consume({host:this,context:Qi.Context});this.handleNestedNavItemActiveChange=e=>{var n;let s=this.findNav(this.navItems||[],e.detail.navId);(n=this.sideNavigationContext)!=null&&n.value&&this.sideNavigationContext.value.setCurrentActiveNavItem(s)};this.findNav=(e,s)=>e.find(n=>n.navId===s)}connectedCallback(){super.connectedCallback(),this.addEventListener("activechange",this.handleNestedNavItemActiveChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("activechange",this.handleNestedNavItemActiveChange)}updated(){var n;let e=(n=this.sideNavigationContext)==null?void 0:n.value;if(!e)return;let{expanded:s}=e;this.showLabel=s}get navItems(){return Array.from(this.querySelectorAll(`${Xo}:not([disabled])`))}};Zo.styles=[...jo.styles,...Tu],v([E({type:Boolean,reflect:!0,attribute:"show-label"})],Zo.prototype,"showLabel",2),v([E({type:String,attribute:"aria-label"})],Zo.prototype,"ariaLabel",2);var Hc=Zo;Hc.register(Fn);var ay=Hc;var jn=j.constructTagName("optgroup"),jc="header-id";var ny=H`
3736
+ `,xu=[ay];var Jo=class extends Wo{constructor(){super(...arguments);this.ariaLabel=null;this.sideNavigationContext=_o.consume({host:this,context:to.Context});this.handleNestedNavItemActiveChange=e=>{var n;let s=this.findNav(this.navItems||[],e.detail.navId);(n=this.sideNavigationContext)!=null&&n.value&&this.sideNavigationContext.value.setCurrentActiveNavItem(s)};this.findNav=(e,s)=>e.find(n=>n.navId===s)}connectedCallback(){super.connectedCallback(),this.addEventListener("activechange",this.handleNestedNavItemActiveChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("activechange",this.handleNestedNavItemActiveChange)}updated(){var n;let e=(n=this.sideNavigationContext)==null?void 0:n.value;if(!e)return;let{expanded:s}=e;this.showLabel=s}get navItems(){return Array.from(this.querySelectorAll(`${Zo}:not([disabled])`))}};Jo.styles=[...Wo.styles,...xu],v([E({type:Boolean,reflect:!0,attribute:"show-label"})],Jo.prototype,"showLabel",2),v([E({type:String,attribute:"aria-label"})],Jo.prototype,"ariaLabel",2);var jc=Jo;jc.register(Fn);var ny=jc;var jn=j.constructTagName("optgroup"),Wc="header-id";var ly=H`
3737
3737
  :host {
3738
3738
  --mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
3739
3739
  }
@@ -3746,9 +3746,9 @@
3746
3746
  color: var(--mdc-optgroup-disabled-color);
3747
3747
  cursor: default;
3748
3748
  }
3749
- `,xu=[ny];var Jo=class extends Wt($t(q)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var e;let o=this.label?O`
3749
+ `,Au=[ly];var Qo=class extends Wt(Ft(q)){setDisabledForAllOptions(){this.options.forEach(o=>{this.disabled?o.setAttribute("disabled",""):o.removeAttribute("disabled")})}updated(o){super.updated(o),o.has("disabled")&&this.setDisabledForAllOptions()}render(){var e;let o=this.label?O`
3750
3750
  <mdc-text
3751
- id="${jc}"
3751
+ id="${Wc}"
3752
3752
  part="header-text"
3753
3753
  type="${it.BODY_MIDSIZE_BOLD}"
3754
3754
  tagname="${bt.SPAN}"
@@ -3757,13 +3757,13 @@
3757
3757
  `:Y;return O`
3758
3758
  <div
3759
3759
  role="${lt.GROUP}"
3760
- aria-labelledby="${this.label?jc:""}"
3760
+ aria-labelledby="${this.label?Wc:""}"
3761
3761
  aria-label="${(e=this.dataAriaLabel)!=null?e:""}"
3762
3762
  >
3763
3763
  ${o}
3764
3764
  <slot role="${lt.PRESENTATION}"></slot>
3765
3765
  </div>
3766
- `}};Jo.styles=[...q.styles,...xu],v([E({type:String,reflect:!0})],Jo.prototype,"label",2),v([Bt({selector:"mdc-option"})],Jo.prototype,"options",2);var Wc=Jo;Wc.register(jn);var ly=Wc;var Au="check-bold",ia=j.constructTagName("option");var cy=H`
3766
+ `}};Qo.styles=[...q.styles,...Au],v([E({type:String,reflect:!0})],Qo.prototype,"label",2),v([Bt({selector:"mdc-option"})],Qo.prototype,"options",2);var Yc=Qo;Yc.register(jn);var cy=Yc;var _u="check-bold",ia=j.constructTagName("option");var dy=H`
3767
3767
  :host {
3768
3768
  --mdc-option-icon-width: 1rem;
3769
3769
 
@@ -3787,18 +3787,18 @@
3787
3787
  /** 2x of leading and trailing icon width + 2x of column gap on both sides of the label text */
3788
3788
  width: calc(100% - (2 * var(--mdc-option-icon-width)) - (2 * var(--mdc-listitem-column-gap)));
3789
3789
  }
3790
- `,_u=[cy];var to=class extends Ne(Hr){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=qs.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.secondaryLabel=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}handleDefaultSlotChange(){var s,n,h;let e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");e&&!this.label&&(this.label=(h=(n=e.assignedNodes()[0])==null?void 0:n.textContent)==null?void 0:h.trim())}update(e){super.update(e),e.has("selected")&&this.setAttribute("aria-selected",`${this.selected}`)}render(){let e=this.prefixIcon?O`
3790
+ `,Su=[dy];var eo=class extends Ne(Hr){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=Ks.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.secondaryLabel=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}handleDefaultSlotChange(){var s,n,h;let e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");e&&!this.label&&(this.label=(h=(n=e.assignedNodes()[0])==null?void 0:n.textContent)==null?void 0:h.trim())}update(e){super.update(e),e.has("selected")&&this.setAttribute("aria-selected",`${this.selected}`)}render(){let e=this.prefixIcon?O`
3791
3791
  <div part="leading-icon">
3792
3792
  <mdc-icon length-unit="rem" slot="leading-controls" name="${at(this.prefixIcon)}"></mdc-icon>
3793
3793
  </div>
3794
- `:Y,s=this.selected?O` <mdc-icon length-unit="rem" slot="trailing-controls" name="${Au}"></mdc-icon> `:Y;return O`
3794
+ `:Y,s=this.selected?O` <mdc-icon length-unit="rem" slot="trailing-controls" name="${_u}"></mdc-icon> `:Y;return O`
3795
3795
  ${e}
3796
3796
  <div part="leading-text">
3797
3797
  ${this.getText("leading-text-primary-label",it.BODY_MIDSIZE_REGULAR,this.label)}
3798
3798
  </div>
3799
3799
  <div part="trailing">${s}</div>
3800
3800
  <slot part="default-slot" @slotchange="${this.handleDefaultSlotChange}"></slot>
3801
- `}};to.styles=[...Hr.styles,..._u],v([E({type:Boolean,reflect:!0})],to.prototype,"selected",2),v([E({type:String,reflect:!0,attribute:"prefix-icon"})],to.prototype,"prefixIcon",2),v([E({type:String,reflect:!0,attribute:"aria-label"})],to.prototype,"ariaLabel",2);var Yc=to;Yc.register(ia);var dy=Yc;var qc={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Su=j.constructTagName("password");var eo=class extends Gr{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Rt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(e=!1){let s=e||this.value;return s?O`
3801
+ `}};eo.styles=[...Hr.styles,...Su],v([E({type:Boolean,reflect:!0})],eo.prototype,"selected",2),v([E({type:String,reflect:!0,attribute:"prefix-icon"})],eo.prototype,"prefixIcon",2),v([E({type:String,reflect:!0,attribute:"aria-label"})],eo.prototype,"ariaLabel",2);var qc=eo;qc.register(ia);var hy=qc;var Kc={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Iu=j.constructTagName("password");var ro=class extends Gr{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Rt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(e=!1){let s=e||this.value;return s?O`
3802
3802
  <mdc-button
3803
3803
  part="trailing-button"
3804
3804
  class="own-focus-ring ${s?"":"hidden"}"
@@ -3807,9 +3807,9 @@
3807
3807
  size="${Rt.ICON_SIZE}"
3808
3808
  @click=${this.toggleShowPassword}
3809
3809
  aria-label=${this.showHideButtonAriaLabel}
3810
- prefix-icon=${this.showPassword?qc.HIDE_BOLD:qc.SHOW_BOLD}
3810
+ prefix-icon=${this.showPassword?Kc.HIDE_BOLD:Kc.SHOW_BOLD}
3811
3811
  ></mdc-button>
3812
- `:Y}renderInputElement(e,s){let n=this.showPassword?Uo.TEXT:Uo.PASSWORD;return super.renderInputElement(n,s)}};eo.styles=[...Gr.styles],v([E({type:String,attribute:"show-hide-button-aria-label"})],eo.prototype,"showHideButtonAriaLabel",2),v([E({type:String,attribute:"help-text-type"})],eo.prototype,"helpTextType",2),v([At()],eo.prototype,"showPassword",2);var Kc=eo;Kc.register(Su);var hy=Kc;Le.register(ym);var py=Le;var Iu=j.constructTagName("progressbar"),Wn={DEFAULT:"default",INLINE:"inline"},ku={VARIANT:Wn.DEFAULT,VALIDATION:Yt.DEFAULT};var my=[Et,H`
3812
+ `:Y}renderInputElement(e,s){let n=this.showPassword?Go.TEXT:Go.PASSWORD;return super.renderInputElement(n,s)}};ro.styles=[...Gr.styles],v([E({type:String,attribute:"show-hide-button-aria-label"})],ro.prototype,"showHideButtonAriaLabel",2),v([E({type:String,attribute:"help-text-type"})],ro.prototype,"helpTextType",2),v([At()],ro.prototype,"showPassword",2);var Xc=ro;Xc.register(Iu);var py=Xc;Le.register(Em);var my=Le;var ku=j.constructTagName("progressbar"),Wn={DEFAULT:"default",INLINE:"inline"},Cu={VARIANT:Wn.DEFAULT,VALIDATION:Yt.DEFAULT};var uy=[Et,H`
3813
3813
  :host {
3814
3814
  --mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
3815
3815
  --mdc-progressbar-active-background-color: var(--mds-color-theme-control-active-normal);
@@ -3896,7 +3896,7 @@
3896
3896
  border: var(--mdc-progressbar-border);
3897
3897
  }
3898
3898
  }
3899
- `],wu=my;var ro=class extends Wt(qe){constructor(){super(...arguments);this.variant=ku.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let e=this.getValidationVariant(),s=this.clampedValue>0&&this.clampedValue<100,n=this.error?"100":`${this.clampedValue}`;return O`
3899
+ `],wu=uy;var io=class extends Wt(qe){constructor(){super(...arguments);this.variant=Cu.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let e=this.getValidationVariant(),s=this.clampedValue>0&&this.clampedValue<100,n=this.error?"100":`${this.clampedValue}`;return O`
3900
3900
  <div
3901
3901
  part="progress-container ${s?"gap":""}"
3902
3902
  role="${lt.PROGRESSBAR}"
@@ -3916,7 +3916,7 @@
3916
3916
  </div>
3917
3917
  ${this.renderProgressbar()} ${this.renderHelperText()}
3918
3918
  `}
3919
- `}};ro.styles=[...qe.styles,...wu],v([E({type:String,reflect:!0})],ro.prototype,"variant",2),v([E({type:String,reflect:!0})],ro.prototype,"value",2),v([E({type:Boolean,attribute:"error"})],ro.prototype,"error",2);var oa=ro;oa.register(Iu);var uy=oa;var Cu=j.constructTagName("progressspinner"),Zt={RADIUS:20,CIRCUMFERENCE:2*Math.PI*20,STROKE_WIDTH:4,GAP_SIZE:7.5,ERROR_ICON_SIZE:2,SUCCESS_ICON_SIZE:3,ICON_LENGTH_UNIT:"em"},Xc={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Zc=l=>{if(l===0)return 0;let o=l/100*Zt.CIRCUMFERENCE-Zt.GAP_SIZE;return Math.max(o,.1*l)},Lu=l=>{let o=Zt.CIRCUMFERENCE-Zc(l)-2*Zt.GAP_SIZE;return l===0?Zt.CIRCUMFERENCE:o<0?0:o},Nu=l=>l===0?0:Zt.GAP_SIZE*.5,Mu=(l,o)=>{let e=o+Zt.GAP_SIZE*1.5;return l===0?0:e};var fy=H`
3919
+ `}};io.styles=[...qe.styles,...wu],v([E({type:String,reflect:!0})],io.prototype,"variant",2),v([E({type:String,reflect:!0})],io.prototype,"value",2),v([E({type:Boolean,attribute:"error"})],io.prototype,"error",2);var oa=io;oa.register(ku);var fy=oa;var Lu=j.constructTagName("progressspinner"),Zt={RADIUS:20,CIRCUMFERENCE:2*Math.PI*20,STROKE_WIDTH:4,GAP_SIZE:7.5,ERROR_ICON_SIZE:2,SUCCESS_ICON_SIZE:3,ICON_LENGTH_UNIT:"em"},Zc={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Jc=l=>{if(l===0)return 0;let o=l/100*Zt.CIRCUMFERENCE-Zt.GAP_SIZE;return Math.max(o,.1*l)},Nu=l=>{let o=Zt.CIRCUMFERENCE-Jc(l)-2*Zt.GAP_SIZE;return l===0?Zt.CIRCUMFERENCE:o<0?0:o},Mu=l=>l===0?0:Zt.GAP_SIZE*.5,Ru=(l,o)=>{let e=o+Zt.GAP_SIZE*1.5;return l===0?0:e};var vy=H`
3920
3920
  :host {
3921
3921
  --mdc-spinner-size: 3rem;
3922
3922
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -3960,7 +3960,7 @@
3960
3960
  color: var(--mdc-progress-error-color);
3961
3961
  margin: 0.5rem;
3962
3962
  }
3963
- `,Ru=[fy];var Yn=class extends oa{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var h;let o=Zc(this.clampedValue),e=Lu(this.clampedValue),s=Nu(this.clampedValue),n=Mu(this.clampedValue,o);return O`
3963
+ `,Ou=[vy];var Yn=class extends oa{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var h;let o=Jc(this.clampedValue),e=Nu(this.clampedValue),s=Mu(this.clampedValue),n=Ru(this.clampedValue,o);return O`
3964
3964
  <div
3965
3965
  part="spinner-container ${this.variant}"
3966
3966
  role="${lt.PROGRESSBAR}"
@@ -3994,7 +3994,7 @@
3994
3994
  <mdc-icon
3995
3995
  part="error-icon"
3996
3996
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
3997
- name="${Xc.ERROR_LEGACY_FILLED}"
3997
+ name="${Zc.ERROR_LEGACY_FILLED}"
3998
3998
  size="${Zt.ERROR_ICON_SIZE}"
3999
3999
  length-unit="${Zt.ICON_LENGTH_UNIT}"
4000
4000
  ></mdc-icon>
@@ -4002,11 +4002,11 @@
4002
4002
  <mdc-icon
4003
4003
  part="success-icon"
4004
4004
  aria-label="${(o=this.dataAriaLabel)!=null?o:""}"
4005
- name="${Xc.CHECK_CIRCLE_BOLD}"
4005
+ name="${Zc.CHECK_CIRCLE_BOLD}"
4006
4006
  size="${Zt.SUCCESS_ICON_SIZE}"
4007
4007
  length-unit="${Zt.ICON_LENGTH_UNIT}"
4008
4008
  ></mdc-icon>
4009
- `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():O` ${this.renderProgressSpinner()}`}};Yn.styles=[...q.styles,...Ru];var Jc=Yn;Jc.register(Cu);var vy=Jc;var gy=[Et,H`
4009
+ `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():O` ${this.renderProgressSpinner()}`}};Yn.styles=[...q.styles,...Ou];var Qc=Yn;Qc.register(Lu);var gy=Qc;var by=[Et,H`
4010
4010
  :host {
4011
4011
  display: flex;
4012
4012
  flex-direction: row;
@@ -4091,7 +4091,7 @@
4091
4091
  :host::part(required-indicator) {
4092
4092
  display: none;
4093
4093
  }
4094
- `,...St(!0)],Ou=gy;var io=class extends Ne(Wt(ve)){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?O`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:Y}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(){this.updateTabIndex()}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}dispatchChangeEvent(e){let s=e.constructor;this.dispatchEvent(new s(e.type,e))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(s=>{s.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(s=>{this.onerror&&this.onerror(s)})}formStateRestoreCallback(e){this.value===e&&e!==""&&(this.checked=!0)}setComponentValidity(e){e?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(e,s){this.updateComplete.then(()=>{e.forEach(n=>{n.setComponentValidity(s)})}).catch(n=>{this.onerror&&this.onerror(n)})}setActualFormValue(){let e="";this.checked?e=this.value?this.value:"on":e=null;let s=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(s,!0);else{let n=s.some(T=>T.required),h=!!s.find(T=>T.checked),m=n&&!h;this.setGroupValidity(s,!m)}this.internals.setFormValue(e)}handleChange(e){var h;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(m=>{var L;let T=(L=m.shadowRoot)==null?void 0:L.querySelector("input");T&&(m.checked=!1,T.checked=!1)}),this.checked=!0;let n=(h=this.shadowRoot)==null?void 0:h.querySelector("input");n&&(n.checked=!0),this.dispatchChangeEvent(e)}updateRadio(e,s,n){var h,m;(m=(h=e[s].shadowRoot)==null?void 0:h.querySelector("input"))==null||m.focus(),e[s].handleChange(n)}handleKeyDown(e){var m;if(this.disabled)return;let n=this.getAllRadiosWithinSameGroup().filter(T=>!T.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let T=(h+1)%n.length;this.updateRadio(n,T,e)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let T=(h-1+n.length)%n.length;this.updateRadio(n,T,e)}else e.key===" "&&this.updateRadio(n,h,e);this.updateTabIndex(),e.key==="Enter"&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let e=this.getAllRadiosWithinSameGroup(),s=e.find(h=>h.checked),n=e.find(h=>!h.disabled);e.forEach(h=>{var T;let m=(T=h.shadowRoot)==null?void 0:T.querySelector("input");m&&(m.tabIndex=-1,(h===s||!s&&h===n)&&(m.tabIndex=0))})}update(e){super.update(e),e.has("checked")&&this.setActualFormValue()}render(){var e;return O`
4094
+ `,...St(!0)],Pu=by;var oo=class extends Ne(Wt(ve)){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?O`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:Y}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(){this.updateTabIndex()}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}dispatchChangeEvent(e){let s=e.constructor;this.dispatchEvent(new s(e.type,e))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(s=>{s.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(s=>{this.onerror&&this.onerror(s)})}formStateRestoreCallback(e){this.value===e&&e!==""&&(this.checked=!0)}setComponentValidity(e){e?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(e,s){this.updateComplete.then(()=>{e.forEach(n=>{n.setComponentValidity(s)})}).catch(n=>{this.onerror&&this.onerror(n)})}setActualFormValue(){let e="";this.checked?e=this.value?this.value:"on":e=null;let s=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(s,!0);else{let n=s.some(T=>T.required),h=!!s.find(T=>T.checked),m=n&&!h;this.setGroupValidity(s,!m)}this.internals.setFormValue(e)}handleChange(e){var h;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(m=>{var L;let T=(L=m.shadowRoot)==null?void 0:L.querySelector("input");T&&(m.checked=!1,T.checked=!1)}),this.checked=!0;let n=(h=this.shadowRoot)==null?void 0:h.querySelector("input");n&&(n.checked=!0),this.dispatchChangeEvent(e)}updateRadio(e,s,n){var h,m;(m=(h=e[s].shadowRoot)==null?void 0:h.querySelector("input"))==null||m.focus(),e[s].handleChange(n)}handleKeyDown(e){var m;if(this.disabled)return;let n=this.getAllRadiosWithinSameGroup().filter(T=>!T.disabled),h=n.indexOf(this);if(["ArrowDown","ArrowRight"].includes(e.key)){let T=(h+1)%n.length;this.updateRadio(n,T,e)}else if(["ArrowUp","ArrowLeft"].includes(e.key)){let T=(h-1+n.length)%n.length;this.updateRadio(n,T,e)}else e.key===" "&&this.updateRadio(n,h,e);this.updateTabIndex(),e.key==="Enter"&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let e=this.getAllRadiosWithinSameGroup(),s=e.find(h=>h.checked),n=e.find(h=>!h.disabled);e.forEach(h=>{var T;let m=(T=h.shadowRoot)==null?void 0:T.querySelector("input");m&&(m.tabIndex=-1,(h===s||!s&&h===n)&&(m.tabIndex=0))})}update(e){super.update(e),e.has("checked")&&this.setActualFormValue()}render(){var e;return O`
4095
4095
  <mdc-staticradio
4096
4096
  class="mdc-focus-ring"
4097
4097
  ?checked="${this.checked}"
@@ -4118,7 +4118,7 @@
4118
4118
  />
4119
4119
  </mdc-staticradio>
4120
4120
  ${this.renderLabelAndHelperText()}
4121
- `}};io.styles=[...ve.styles,...Ou],v([E({type:Boolean,reflect:!0})],io.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],io.prototype,"readonly",2),v([E({type:Boolean,reflect:!0})],io.prototype,"autofocus",2);var Qc=io;var qn=j.constructTagName("radio");Qc.register(qn);var by=Qc;var sa=class extends Ln{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var e,s,n,h,m;(m=(h=(n=(s=Array.from(((e=this.shadowRoot)==null?void 0:e.querySelectorAll("slot"))||[]))==null?void 0:s.flatMap(T=>T.assignedElements({flatten:!0})))==null?void 0:n.filter(T=>T.tagName.toLowerCase()===qn||T.tagName.toLowerCase()===vn))==null?void 0:h.filter(T=>!T.hasAttribute("name")))==null||m.forEach(T=>{T.setAttribute("name",this.name),this.required&&T.setAttribute("required",this.required.toString())})}};sa.styles=[...Ln.styles],v([E({type:String})],sa.prototype,"name",2);var td=sa;var Pu=j.constructTagName("radiogroup");td.register(Pu);var yy=td;var Ey=H`
4121
+ `}};oo.styles=[...ve.styles,...Pu],v([E({type:Boolean,reflect:!0})],oo.prototype,"checked",2),v([E({type:Boolean,reflect:!0})],oo.prototype,"readonly",2),v([E({type:Boolean,reflect:!0})],oo.prototype,"autofocus",2);var td=oo;var qn=j.constructTagName("radio");td.register(qn);var yy=td;var sa=class extends Ln{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var e,s,n,h,m;(m=(h=(n=(s=Array.from(((e=this.shadowRoot)==null?void 0:e.querySelectorAll("slot"))||[]))==null?void 0:s.flatMap(T=>T.assignedElements({flatten:!0})))==null?void 0:n.filter(T=>T.tagName.toLowerCase()===qn||T.tagName.toLowerCase()===vn))==null?void 0:h.filter(T=>!T.hasAttribute("name")))==null||m.forEach(T=>{T.setAttribute("name",this.name),this.required&&T.setAttribute("required",this.required.toString())})}};sa.styles=[...Ln.styles],v([E({type:String})],sa.prototype,"name",2);var ed=sa;var Du=j.constructTagName("radiogroup");ed.register(Du);var Ey=ed;var Ty=H`
4122
4122
  :host::part(filters-container) {
4123
4123
  display: flex;
4124
4124
  gap: 0.25rem;
@@ -4143,10 +4143,10 @@
4143
4143
  position: relative;
4144
4144
  scrollbar-width: none;
4145
4145
  }
4146
- `,Du=[Ey];var Fu=j.constructTagName("searchfield"),aa={TYPE:Uo.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Mn};var oo=class extends Gr{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(e){super.handleKeyDown(e),e.key==="Escape"&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=aa.ICON,this.trailingButton=aa.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var e;this.hasInputChips=!!((e=this.inputChips)!=null&&e.length),this.inputChips&&this.inputChips.forEach(s=>{s.matches(aa.INPUT_CHIP_TAG)||s.remove()})}firstUpdated(){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1}}clearInputText(){var e;super.clearInputText(),(e=this.inputChips)==null||e.forEach(s=>{s.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return O`
4146
+ `,Fu=[Ty];var $u=j.constructTagName("searchfield"),aa={TYPE:Go.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:Mn};var so=class extends Gr{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(e){super.handleKeyDown(e),e.key==="Escape"&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=aa.ICON,this.trailingButton=aa.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var e;this.hasInputChips=!!((e=this.inputChips)!=null&&e.length),this.inputChips&&this.inputChips.forEach(s=>{s.matches(aa.INPUT_CHIP_TAG)||s.remove()})}firstUpdated(){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1}}clearInputText(){var e;super.clearInputText(),(e=this.inputChips)==null||e.forEach(s=>{s.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return O`
4147
4147
  ${this.renderLabelElement()}
4148
4148
  <div
4149
- class="${ko({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
4149
+ class="${Co({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
4150
4150
  part="input-container"
4151
4151
  >
4152
4152
  ${this.renderLeadingIcon()}
@@ -4163,7 +4163,7 @@
4163
4163
  </div>
4164
4164
  ${this.renderTrailingButton(this.hasInputChips)}
4165
4165
  </div>
4166
- `}};oo.styles=[...Gr.styles,...Du],v([Bt({slot:"filters"})],oo.prototype,"inputChips",2),v([At()],oo.prototype,"isInputFocused",2),v([At()],oo.prototype,"hasInputChips",2);var ed=oo;ed.register(Fu);var Ty=ed;var $u=j.constructTagName("select"),Kn={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},rd="select-base-triggerid";var xy=H`
4166
+ `}};so.styles=[...Gr.styles,...Fu],v([Bt({slot:"filters"})],so.prototype,"inputChips",2),v([At()],so.prototype,"isInputFocused",2),v([At()],so.prototype,"hasInputChips",2);var rd=so;rd.register($u);var xy=rd;var zu=j.constructTagName("select"),Kn={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},id="select-base-triggerid";var Ay=H`
4167
4167
  :host {
4168
4168
  --mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
4169
4169
  --mdc-select-icon-border-color: var(--mds-color-theme-outline-input-normal);
@@ -4270,7 +4270,7 @@
4270
4270
  :host([help-text-type='warning'])::part(base-container) {
4271
4271
  border-color: var(--mdc-select-warning-border-color);
4272
4272
  }
4273
- `,zu=[xy,...St(!0)];var ye=class extends Ne(Wt(ve)){constructor(){super(...arguments);this.readonly=!1;this.height="auto";this.baseIconName=Kn.ARROW_DOWN;this.selectedValue="";this.displayPopover=!1;this.activeDescendant=""}getAllValidOptions(){var e;return((e=this.optionsList)==null?void 0:e.map(s=>s.tagName.toLowerCase()===ia?s:s.tagName.toLowerCase()===jn?Array.from(s.children).filter(n=>n.tagName.toLowerCase()===ia):[]).flat())||[]}handlePopoverOpen(){this.displayPopover=!0,this.baseIconName=Kn.ARROW_UP,this.updateActivedescendant()}handlePopoverClose(){this.displayPopover=!1,this.baseIconName=Kn.ARROW_DOWN}updateTabIndexForAllOptions(e){var n;let s=!1;this.getAllValidOptions().forEach(h=>{h===e?(this.setSelectedValue(h),s=!0,h.setAttribute("selected",""),h.setAttribute("tabindex","0")):(h==null||h.setAttribute("tabindex","-1"),h==null||h.removeAttribute("selected"))}),s||(n=this.getAllValidOptions()[0])==null||n.setAttribute("tabindex","0")}handleOptionsClick(e){this.updateTabIndexForAllOptions(e.target)}setSelectedValue(e){var s,n,h,m;this.selectedValueText=(n=(s=e==null?void 0:e.getAttribute("label"))!=null?s:e==null?void 0:e.textContent)!=null?n:"",this.selectedIcon=e==null?void 0:e.getAttribute("prefix-icon"),this.selectedValue=(m=(h=e==null?void 0:e.getAttribute("value"))!=null?h:e==null?void 0:e.textContent)!=null?m:"",this.value=this.selectedValue,this.internals.setFormValue(this.selectedValue),this.manageRequired(),this.dispatchInput(this.selectedValue),this.dispatchChange(this.selectedValue)}manageRequired(){!this.selectedValue&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.selectedValue="",this.selectedValueText=void 0,this.selectedIcon=null,this.internals.setFormValue(this.selectedValue),this.updateTabIndexForAllOptions()}formStateRestoreCallback(e){this.selectedValue=e,this.selectedValueText=e}dispatchChange(e){e&&this.dispatchEvent(new CustomEvent("change",{detail:{value:e},composed:!0,bubbles:!0}))}dispatchInput(e){e&&this.dispatchEvent(new CustomEvent("input",{detail:{value:e},composed:!0,bubbles:!0}))}handlePopoverOnOpen(e){var s;switch(e.key){case dt.TAB:{let n=this.getAllValidOptions().findIndex(h=>h===e.target);this.setFocusAndTabIndex(n),e.preventDefault();break}case dt.SPACE:this.closePopover(),e.preventDefault();break;case dt.ENTER:this.closePopover(),e.preventDefault(),(s=this.form)==null||s.requestSubmit();break;case dt.HOME:this.setFocusAndTabIndex(0),e.preventDefault();break;case dt.END:this.setFocusAndTabIndex(this.getAllValidOptions().length-1),e.preventDefault();break;case dt.ARROW_DOWN:case dt.ARROW_UP:case dt.PAGE_DOWN:case dt.PAGE_UP:this.handleOptionsNavigation(e),e.preventDefault();break;default:break}}handlePopoverOnClose(e){switch(e.key){case dt.ARROW_DOWN:case dt.ARROW_UP:case dt.ENTER:case dt.SPACE:this.openPopover(),e.preventDefault();break;case dt.HOME:this.openPopover(),this.setFocusAndTabIndex(0),e.preventDefault();break;case dt.END:this.openPopover(),this.setFocusAndTabIndex(this.getAllValidOptions().length-1),e.preventDefault();break;default:break}}handleOptionsNavigation(e){let s=this.getAllValidOptions(),n=s.findIndex(m=>m===e.target),h=this.getNewIndexBasedOnKey(e.key,n,s.length);h!==-1&&(this.setFocusAndTabIndex(h),e.preventDefault())}getNewIndexBasedOnKey(e,s,n){return e===dt.ARROW_DOWN&&s!==n-1?s+1:e===dt.ARROW_UP&&s>0?s-1:e===dt.PAGE_DOWN?s+10>n?n-1:s+10:e===dt.PAGE_UP?s-10<0?0:s-10:-1}updateActivedescendant(e){var n,h,m,T,L;let s=this.getAllValidOptions();if(e){let $=s.findIndex(W=>W===e);this.activeDescendant=(h=(n=s[$])==null?void 0:n.id)!=null?h:""}else{let $=s.find(W=>W.getAttribute("tabindex")==="0");this.activeDescendant=(L=(T=$==null?void 0:$.id)!=null?T:(m=s[0])==null?void 0:m.id)!=null?L:""}}resetActivedescendant(){this.activeDescendant=""}setFocusAndTabIndex(e){var h;let s=this.getAllValidOptions(),n=s[e];n&&(n.focus(),s.forEach((m,T)=>{let L=e===T?"0":"-1";m==null||m.setAttribute("tabindex",L)}),this.activeDescendant=(h=n.id)!=null?h:"")}openPopover(){var h,m;this.displayPopover=!0;let e=this.getAllValidOptions(),s=e.find(T=>T.hasAttribute("selected")),n=e.find(T=>T.getAttribute("tabindex")==="0");this.activeDescendant=(m=(h=s||n||e[0])==null?void 0:h.id)!=null?m:""}closePopover(){this.displayPopover=!1,this.resetActivedescendant()}firstUpdated(){let e=this.getAllValidOptions(),s=e.findIndex(n=>n==null?void 0:n.hasAttribute("selected"));s!==-1?(this.setSelectedValue(e[s]),this.updateTabIndexForAllOptions(e[s])):this.placeholder?this.placeholder&&this.manageRequired():(this.setSelectedValue(e[0]),this.updateTabIndexForAllOptions())}getNativeSelect(){return O`
4273
+ `,Vu=[Ay,...St(!0)];var ye=class extends Ne(Wt(ve)){constructor(){super(...arguments);this.readonly=!1;this.height="auto";this.baseIconName=Kn.ARROW_DOWN;this.selectedValue="";this.displayPopover=!1;this.activeDescendant=""}getAllValidOptions(){var e;return((e=this.optionsList)==null?void 0:e.map(s=>s.tagName.toLowerCase()===ia?s:s.tagName.toLowerCase()===jn?Array.from(s.children).filter(n=>n.tagName.toLowerCase()===ia):[]).flat())||[]}handlePopoverOpen(){this.displayPopover=!0,this.baseIconName=Kn.ARROW_UP,this.updateActivedescendant()}handlePopoverClose(){this.displayPopover=!1,this.baseIconName=Kn.ARROW_DOWN}updateTabIndexForAllOptions(e){var n;let s=!1;this.getAllValidOptions().forEach(h=>{h===e?(this.setSelectedValue(h),s=!0,h.setAttribute("selected",""),h.setAttribute("tabindex","0")):(h==null||h.setAttribute("tabindex","-1"),h==null||h.removeAttribute("selected"))}),s||(n=this.getAllValidOptions()[0])==null||n.setAttribute("tabindex","0")}handleOptionsClick(e){this.updateTabIndexForAllOptions(e.target)}setSelectedValue(e){var s,n,h,m;this.selectedValueText=(n=(s=e==null?void 0:e.getAttribute("label"))!=null?s:e==null?void 0:e.textContent)!=null?n:"",this.selectedIcon=e==null?void 0:e.getAttribute("prefix-icon"),this.selectedValue=(m=(h=e==null?void 0:e.getAttribute("value"))!=null?h:e==null?void 0:e.textContent)!=null?m:"",this.value=this.selectedValue,this.internals.setFormValue(this.selectedValue),this.manageRequired(),this.dispatchInput(this.selectedValue),this.dispatchChange(this.selectedValue)}manageRequired(){!this.selectedValue&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.selectedValue="",this.selectedValueText=void 0,this.selectedIcon=null,this.internals.setFormValue(this.selectedValue),this.updateTabIndexForAllOptions()}formStateRestoreCallback(e){this.selectedValue=e,this.selectedValueText=e}dispatchChange(e){e&&this.dispatchEvent(new CustomEvent("change",{detail:{value:e},composed:!0,bubbles:!0}))}dispatchInput(e){e&&this.dispatchEvent(new CustomEvent("input",{detail:{value:e},composed:!0,bubbles:!0}))}handlePopoverOnOpen(e){var s;switch(e.key){case dt.TAB:{let n=this.getAllValidOptions().findIndex(h=>h===e.target);this.setFocusAndTabIndex(n),e.preventDefault();break}case dt.SPACE:this.closePopover(),e.preventDefault();break;case dt.ENTER:this.closePopover(),e.preventDefault(),(s=this.form)==null||s.requestSubmit();break;case dt.HOME:this.setFocusAndTabIndex(0),e.preventDefault();break;case dt.END:this.setFocusAndTabIndex(this.getAllValidOptions().length-1),e.preventDefault();break;case dt.ARROW_DOWN:case dt.ARROW_UP:case dt.PAGE_DOWN:case dt.PAGE_UP:this.handleOptionsNavigation(e),e.preventDefault();break;default:break}}handlePopoverOnClose(e){switch(e.key){case dt.ARROW_DOWN:case dt.ARROW_UP:case dt.ENTER:case dt.SPACE:this.openPopover(),e.preventDefault();break;case dt.HOME:this.openPopover(),this.setFocusAndTabIndex(0),e.preventDefault();break;case dt.END:this.openPopover(),this.setFocusAndTabIndex(this.getAllValidOptions().length-1),e.preventDefault();break;default:break}}handleOptionsNavigation(e){let s=this.getAllValidOptions(),n=s.findIndex(m=>m===e.target),h=this.getNewIndexBasedOnKey(e.key,n,s.length);h!==-1&&(this.setFocusAndTabIndex(h),e.preventDefault())}getNewIndexBasedOnKey(e,s,n){return e===dt.ARROW_DOWN&&s!==n-1?s+1:e===dt.ARROW_UP&&s>0?s-1:e===dt.PAGE_DOWN?s+10>n?n-1:s+10:e===dt.PAGE_UP?s-10<0?0:s-10:-1}updateActivedescendant(e){var n,h,m,T,L;let s=this.getAllValidOptions();if(e){let $=s.findIndex(W=>W===e);this.activeDescendant=(h=(n=s[$])==null?void 0:n.id)!=null?h:""}else{let $=s.find(W=>W.getAttribute("tabindex")==="0");this.activeDescendant=(L=(T=$==null?void 0:$.id)!=null?T:(m=s[0])==null?void 0:m.id)!=null?L:""}}resetActivedescendant(){this.activeDescendant=""}setFocusAndTabIndex(e){var h;let s=this.getAllValidOptions(),n=s[e];n&&(n.focus(),s.forEach((m,T)=>{let L=e===T?"0":"-1";m==null||m.setAttribute("tabindex",L)}),this.activeDescendant=(h=n.id)!=null?h:"")}openPopover(){var h,m;this.displayPopover=!0;let e=this.getAllValidOptions(),s=e.find(T=>T.hasAttribute("selected")),n=e.find(T=>T.getAttribute("tabindex")==="0");this.activeDescendant=(m=(h=s||n||e[0])==null?void 0:h.id)!=null?m:""}closePopover(){this.displayPopover=!1,this.resetActivedescendant()}firstUpdated(){let e=this.getAllValidOptions(),s=e.findIndex(n=>n==null?void 0:n.hasAttribute("selected"));s!==-1?(this.setSelectedValue(e[s]),this.updateTabIndexForAllOptions(e[s])):this.placeholder?this.placeholder&&this.manageRequired():(this.setSelectedValue(e[0]),this.updateTabIndexForAllOptions())}getNativeSelect(){return O`
4274
4274
  <select
4275
4275
  part="native-select"
4276
4276
  id="${this.id}"
@@ -4299,7 +4299,7 @@
4299
4299
  `})}getPopoverContent(){return this.disabled||this.readonly?Y:O`
4300
4300
  <mdc-popover
4301
4301
  id="options-popover"
4302
- triggerid="${rd}"
4302
+ triggerid="${id}"
4303
4303
  @keydown="${this.handlePopoverOnOpen}"
4304
4304
  interactive
4305
4305
  ?visible="${this.displayPopover}"
@@ -4319,7 +4319,7 @@
4319
4319
  ${this.renderLabel()}
4320
4320
  <div part="container">
4321
4321
  <div
4322
- id="${rd}"
4322
+ id="${id}"
4323
4323
  part="base-container"
4324
4324
  @keydown="${this.handlePopoverOnClose}"
4325
4325
  tabindex="${this.disabled?"-1":"0"}"
@@ -4348,7 +4348,7 @@
4348
4348
  ${this.getNativeSelect()} ${this.getPopoverContent()}
4349
4349
  </div>
4350
4350
  ${this.renderHelperText()}
4351
- `}};ye.styles=[...ve.styles,...zu],v([E({type:String})],ye.prototype,"placeholder",2),v([E({type:Boolean})],ye.prototype,"readonly",2),v([E({type:String})],ye.prototype,"height",2),v([Bt()],ye.prototype,"optionsList",2),v([At()],ye.prototype,"baseIconName",2),v([At()],ye.prototype,"selectedValueText",2),v([At()],ye.prototype,"selectedIcon",2),v([At()],ye.prototype,"selectedValue",2),v([At()],ye.prototype,"displayPopover",2),v([At()],ye.prototype,"activeDescendant",2),v([Rr("select")],ye.prototype,"inputElement",2);var id=ye;id.register($u);var Ay=id;Qi.register(Un);var _y=Qi;var Vu=j.constructTagName("skeleton"),Bu={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},Uu={VARIANT:Bu.RECTANGULAR};var Sy=H`
4351
+ `}};ye.styles=[...ve.styles,...Vu],v([E({type:String})],ye.prototype,"placeholder",2),v([E({type:Boolean})],ye.prototype,"readonly",2),v([E({type:String})],ye.prototype,"height",2),v([Bt()],ye.prototype,"optionsList",2),v([At()],ye.prototype,"baseIconName",2),v([At()],ye.prototype,"selectedValueText",2),v([At()],ye.prototype,"selectedIcon",2),v([At()],ye.prototype,"selectedValue",2),v([At()],ye.prototype,"displayPopover",2),v([At()],ye.prototype,"activeDescendant",2),v([Rr("select")],ye.prototype,"inputElement",2);var od=ye;od.register(zu);var _y=od;to.register(Un);var Sy=to;var Bu=j.constructTagName("skeleton"),Uu={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},Gu={VARIANT:Uu.RECTANGULAR};var Iy=H`
4352
4352
  :host {
4353
4353
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
4354
4354
  --mdc-skeleton-height: 100%;
@@ -4385,7 +4385,7 @@
4385
4385
  ::slotted(*) {
4386
4386
  visibility: hidden;
4387
4387
  }
4388
- `,Gu=Sy;var na=class extends q{constructor(){super(...arguments);this.variant=Uu.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(e){super.firstUpdated(e),this.checkSlotContent()}checkSlotContent(){var s;let e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");e&&(e.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return O`<slot @slotchange=${this.checkSlotContent}></slot>`}};na.styles=[...q.styles,Gu],v([E({type:String,reflect:!0})],na.prototype,"variant",2);var od=na;od.register(Vu);var Iy=od;var ky=[Et,H`
4388
+ `,Hu=Iy;var na=class extends q{constructor(){super(...arguments);this.variant=Gu.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(e){super.firstUpdated(e),this.checkSlotContent()}checkSlotContent(){var s;let e=(s=this.shadowRoot)==null?void 0:s.querySelector("slot");e&&(e.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return O`<slot @slotchange=${this.checkSlotContent}></slot>`}};na.styles=[...q.styles,Hu],v([E({type:String,reflect:!0})],na.prototype,"variant",2);var sd=na;sd.register(Bu);var ky=sd;var Cy=[Et,H`
4389
4389
  :host {
4390
4390
  --mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
4391
4391
  --mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
@@ -4449,11 +4449,11 @@
4449
4449
  stroke-dashoffset: -292;
4450
4450
  }
4451
4451
  }
4452
- `],Hu=ky;var ju=j.constructTagName("spinner"),wy={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Cy={STANDALONE:"standalone",BUTTON:"button"},Xn={VARIANT:Cy.STANDALONE,SIZE:wy.MIDSIZE,INVERTED:!1};var vi=class extends q{constructor(){super(...arguments);this.inverted=Xn.INVERTED;this.size=Xn.SIZE;this.ariaLabel=null;this.variant=Xn.VARIANT}updated(e){super.updated(e),e.has("ariaLabel")&&(this.role=this.ariaLabel?lt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return O`
4452
+ `],ju=Cy;var Wu=j.constructTagName("spinner"),wy={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Ly={STANDALONE:"standalone",BUTTON:"button"},Xn={VARIANT:Ly.STANDALONE,SIZE:wy.MIDSIZE,INVERTED:!1};var vi=class extends q{constructor(){super(...arguments);this.inverted=Xn.INVERTED;this.size=Xn.SIZE;this.ariaLabel=null;this.variant=Xn.VARIANT}updated(e){super.updated(e),e.has("ariaLabel")&&(this.role=this.ariaLabel?lt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return O`
4453
4453
  <svg part="container" viewBox="0 0 100 100">
4454
4454
  <circle part="circle" cx="50" cy="50" r="46"></circle>
4455
4455
  </svg>
4456
- `}};vi.styles=[...q.styles,...Hu],v([E({type:Boolean,reflect:!0})],vi.prototype,"inverted",2),v([E({type:String,reflect:!0})],vi.prototype,"size",2),v([E({type:String,attribute:"aria-label"})],vi.prototype,"ariaLabel",2),v([E({type:String,reflect:!0})],vi.prototype,"variant",2);var sd=vi;sd.register(ju);var Ly=sd;var Wu=j.constructTagName("tab"),ad={GLASS:"glass",LINE:"line",PILL:"pill"},Zn={VARIANT:ad.PILL,ACTIVE:!1};var Ny=[Et,H`
4456
+ `}};vi.styles=[...q.styles,...ju],v([E({type:Boolean,reflect:!0})],vi.prototype,"inverted",2),v([E({type:String,reflect:!0})],vi.prototype,"size",2),v([E({type:String,attribute:"aria-label"})],vi.prototype,"ariaLabel",2),v([E({type:String,reflect:!0})],vi.prototype,"variant",2);var ad=vi;ad.register(Wu);var Ny=ad;var Yu=j.constructTagName("tab"),nd={GLASS:"glass",LINE:"line",PILL:"pill"},Zn={VARIANT:nd.PILL,ACTIVE:!1};var My=[Et,H`
4457
4457
  :host {
4458
4458
  --mdc-tab-content-gap: 0.5rem;
4459
4459
  --mdc-tab-height: 2rem;
@@ -4695,7 +4695,7 @@
4695
4695
  background-color: var(--mdc-tab-pill-active-background-color-disabled);
4696
4696
  color: var(--mdc-tab-pill-active-color-disabled);
4697
4697
  }
4698
- `,...St()],Yu=Ny;var gi=class extends ce(ke){constructor(){super(...arguments);this.active=Zn.ACTIVE;this.variant=Zn.VARIANT;this.handleTabActiveChange=e=>{let s=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:e},bubbles:!0});this.dispatchEvent(s)}}connectedCallback(){super.connectedCallback(),this.role=lt.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(e){this.iconName&&(e?(this.prevIconName=this.iconName,this.iconName=`${Pi(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(e){this.setAttribute("variant",Object.values(ad).includes(e)?e:Zn.VARIANT)}setActive(e,s){super.setActive(e,s),this.modifyIconName(s)}executeAction(){this.handleTabActiveChange(this.active)}update(e){super.update(e),e.has("variant")&&this.setVariant(this.variant)}render(){return O`
4698
+ `,...St()],qu=My;var gi=class extends ce(ke){constructor(){super(...arguments);this.active=Zn.ACTIVE;this.variant=Zn.VARIANT;this.handleTabActiveChange=e=>{let s=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:e},bubbles:!0});this.dispatchEvent(s)}}connectedCallback(){super.connectedCallback(),this.role=lt.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(e){this.iconName&&(e?(this.prevIconName=this.iconName,this.iconName=`${Pi(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(e){this.setAttribute("variant",Object.values(nd).includes(e)?e:Zn.VARIANT)}setActive(e,s){super.setActive(e,s),this.modifyIconName(s)}executeAction(){this.handleTabActiveChange(this.active)}update(e){super.update(e),e.has("variant")&&this.setVariant(this.variant)}render(){return O`
4699
4699
  <div part="container">
4700
4700
  ${this.iconName?O` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:Y}
4701
4701
  ${this.text?O` <mdc-text
@@ -4709,7 +4709,7 @@
4709
4709
  <slot name="chip"></slot>
4710
4710
  </div>
4711
4711
  <div part="indicator"></div>
4712
- `}};gi.styles=[...ke.styles,...Yu],v([E({type:Boolean,reflect:!0})],gi.prototype,"active",2),v([E({type:String,reflect:!0})],gi.prototype,"text",2),v([E({type:String,reflect:!0})],gi.prototype,"variant",2),v([E({type:String,reflect:!0,attribute:"tab-id"})],gi.prototype,"tabId",2);var Ze=gi;Ze.register(Wu);var My=Ze;var Ry=[Ga,H`
4712
+ `}};gi.styles=[...ke.styles,...qu],v([E({type:Boolean,reflect:!0})],gi.prototype,"active",2),v([E({type:String,reflect:!0})],gi.prototype,"text",2),v([E({type:String,reflect:!0})],gi.prototype,"variant",2),v([E({type:String,reflect:!0,attribute:"tab-id"})],gi.prototype,"tabId",2);var Ze=gi;Ze.register(Yu);var Ry=Ze;var Oy=[Ga,H`
4713
4713
  :host {
4714
4714
  --mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
4715
4715
  --mdc-tablist-gap: 0.5rem;
@@ -4739,16 +4739,16 @@
4739
4739
  :host mdc-button[prefix-icon='arrow-right-regular'] {
4740
4740
  margin-left: var(--mdc-tablist-arrow-button-margin);
4741
4741
  }
4742
- `],qu=[...Ry];var Ku=j.constructTagName("tablist"),la={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Qo={FORWARD:"forward",BACKWARD:"backward"};var Jn=l=>l[0],nd=l=>l[l.length-1],Xu=(l,o)=>{let e=l.findIndex(s=>o===s)-1;return l[(e+l.length)%l.length]},Zu=(l,o)=>{let e=l.findIndex(s=>o===s)+1;return l[e%l.length]},Ju=(l,o)=>l.find(e=>e.tabId===o),ld=l=>l.find(o=>o.active);var pr=class extends q{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.isRtl=()=>{var e;return((e=document.querySelector("html"))==null?void 0:e.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"};this.fireTabChangeEvent=e=>{let s=new CustomEvent("change",{detail:{tabId:e.tabId}});this.dispatchEvent(s)};this.handleFocus=async e=>{if(e.relatedTarget instanceof Ze||!(e.target instanceof Ze))return;let s=ld(this.tabs||[]);s instanceof Ze&&await this.focusTab(s)};this.handleMousedown=e=>{e.target instanceof Ze&&e.preventDefault()};this.handleNestedTabActiveChange=async e=>{e.stopPropagation();let s=e.target;s instanceof Ze&&(this.setActiveTab(s),await this.focusTab(s),this.activeTabId=s.tabId)};this.resetTabIndexAndSetNewTabIndex=e=>{var s;(s=this.tabs)==null||s.forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})};this.setActiveTab=e=>{var s;(s=this.tabs)==null||s.forEach(n=>{n===e?n.setAttribute("active",""):n.removeAttribute("active")})};this.focusTab=async e=>{e instanceof Ze&&(e!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(e),e.focus()),await this.handleArrowButtonVisibility())};this.handleKeydown=async e=>{let s=e.target;if(!(s instanceof Ze)||!this.tabs)return;let n=Xu(this.tabs,s),h=Zu(this.tabs,s),m=Jn(this.tabs),T=nd(this.tabs);switch(e.code){case la.LEFT:e.preventDefault(),await this.focusTab(this.isRtl()?h:n);break;case la.RIGHT:e.preventDefault(),await this.focusTab(this.isRtl()?n:h);break;case la.HOME:await this.focusTab(m);break;case la.END:await this.focusTab(T);break;default:}};this.shouldShowArrowButton=e=>e===Qo.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton;this.switchFocus=async()=>{var e,s;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(e=ld(this.tabs||[]))==null||e.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((s=this.notFocusedArrowButton)==null||s.focus())};this.handleArrowButtonVisibility=async()=>{var K,ot,J;if(!this.tabs||!this.tabsContainer)return;let e=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof Di&&(e=!0);let s=Jn(this.tabs),n=nd(this.tabs),h=s.getBoundingClientRect().left,m=(ot=this.tabsContainer)==null?void 0:ot.getBoundingClientRect().left,T=n.getBoundingClientRect().right,L=(J=this.tabsContainer)==null?void 0:J.getBoundingClientRect().right,$=s.getBoundingClientRect().right,W=n.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,T>L?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,e&&await this.switchFocus();return}$>L?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,W<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,e&&await this.switchFocus()};this.scrollTabs=async e=>{var h;let s=this.isRtl()?-1:1,n=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(e===Qo.FORWARD?s:n),behavior:"instant"}),await this.handleArrowButtonVisibility()};this.addEventListener("keydown",this.handleKeydown),this.addEventListener("activechange",this.handleNestedTabActiveChange)}async firstUpdated(){var n,h,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let e=this.tabs.map(T=>T.tabId);new Set(e).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(n=Jn(this.tabs))==null?void 0:n.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown)}async update(e){if(super.update(e),e.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let s=Ju(this.tabs,this.activeTabId);if(!(s instanceof Ze))return;this.setActiveTab(s),e.get("activeTabId")?(this.fireTabChangeEvent(s),await this.focusTab(s)):this.resetTabIndexAndSetNewTabIndex(s)}}render(){let e=this.isRtl()?"left":"right",s=this.isRtl()?"right":"left",n=h=>O` ${this.shouldShowArrowButton(h)?O`<mdc-button
4742
+ `],Ku=[...Oy];var Xu=j.constructTagName("tablist"),la={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},ts={FORWARD:"forward",BACKWARD:"backward"};var Jn=l=>l[0],ld=l=>l[l.length-1],Zu=(l,o)=>{let e=l.findIndex(s=>o===s)-1;return l[(e+l.length)%l.length]},Ju=(l,o)=>{let e=l.findIndex(s=>o===s)+1;return l[e%l.length]},Qu=(l,o)=>l.find(e=>e.tabId===o),cd=l=>l.find(o=>o.active);var pr=class extends q{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.isRtl=()=>{var e;return((e=document.querySelector("html"))==null?void 0:e.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"};this.fireTabChangeEvent=e=>{let s=new CustomEvent("change",{detail:{tabId:e.tabId}});this.dispatchEvent(s)};this.handleFocus=async e=>{if(e.relatedTarget instanceof Ze||!(e.target instanceof Ze))return;let s=cd(this.tabs||[]);s instanceof Ze&&await this.focusTab(s)};this.handleMousedown=e=>{e.target instanceof Ze&&e.preventDefault()};this.handleNestedTabActiveChange=async e=>{e.stopPropagation();let s=e.target;s instanceof Ze&&(this.setActiveTab(s),await this.focusTab(s),this.activeTabId=s.tabId)};this.resetTabIndexAndSetNewTabIndex=e=>{var s;(s=this.tabs)==null||s.forEach(n=>{n.setAttribute("tabindex",n===e?"0":"-1")})};this.setActiveTab=e=>{var s;(s=this.tabs)==null||s.forEach(n=>{n===e?n.setAttribute("active",""):n.removeAttribute("active")})};this.focusTab=async e=>{e instanceof Ze&&(e!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(e),e.focus()),await this.handleArrowButtonVisibility())};this.handleKeydown=async e=>{let s=e.target;if(!(s instanceof Ze)||!this.tabs)return;let n=Zu(this.tabs,s),h=Ju(this.tabs,s),m=Jn(this.tabs),T=ld(this.tabs);switch(e.code){case la.LEFT:e.preventDefault(),await this.focusTab(this.isRtl()?h:n);break;case la.RIGHT:e.preventDefault(),await this.focusTab(this.isRtl()?n:h);break;case la.HOME:await this.focusTab(m);break;case la.END:await this.focusTab(T);break;default:}};this.shouldShowArrowButton=e=>e===ts.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton;this.switchFocus=async()=>{var e,s;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(e=cd(this.tabs||[]))==null||e.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((s=this.notFocusedArrowButton)==null||s.focus())};this.handleArrowButtonVisibility=async()=>{var K,ot,J;if(!this.tabs||!this.tabsContainer)return;let e=!1;((K=this.shadowRoot)==null?void 0:K.activeElement)instanceof Di&&(e=!0);let s=Jn(this.tabs),n=ld(this.tabs),h=s.getBoundingClientRect().left,m=(ot=this.tabsContainer)==null?void 0:ot.getBoundingClientRect().left,T=n.getBoundingClientRect().right,L=(J=this.tabsContainer)==null?void 0:J.getBoundingClientRect().right,$=s.getBoundingClientRect().right,W=n.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,T>L?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,e&&await this.switchFocus();return}$>L?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,W<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,e&&await this.switchFocus()};this.scrollTabs=async e=>{var h;let s=this.isRtl()?-1:1,n=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(e===ts.FORWARD?s:n),behavior:"instant"}),await this.handleArrowButtonVisibility()};this.addEventListener("keydown",this.handleKeydown),this.addEventListener("activechange",this.handleNestedTabActiveChange)}async firstUpdated(){var n,h,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let e=this.tabs.map(T=>T.tabId);new Set(e).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(n=Jn(this.tabs))==null?void 0:n.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown)}async update(e){if(super.update(e),e.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let s=Qu(this.tabs,this.activeTabId);if(!(s instanceof Ze))return;this.setActiveTab(s),e.get("activeTabId")?(this.fireTabChangeEvent(s),await this.focusTab(s)):this.resetTabIndexAndSetNewTabIndex(s)}}render(){let e=this.isRtl()?"left":"right",s=this.isRtl()?"right":"left",n=h=>O` ${this.shouldShowArrowButton(h)?O`<mdc-button
4743
4743
  variant="tertiary"
4744
- prefix-icon="arrow-${h===Qo.FORWARD?e:s}-regular"
4745
- aria-label="Scroll tabs ${h===Qo.FORWARD?e:s}"
4744
+ prefix-icon="arrow-${h===ts.FORWARD?e:s}-regular"
4745
+ aria-label="Scroll tabs ${h===ts.FORWARD?e:s}"
4746
4746
  @click="${()=>this.scrollTabs(h)}"
4747
4747
  ></mdc-button>`:Y}`;return O` ${n("backward")}
4748
4748
  <div class="container" role="${lt.TABLIST}" tabindex="-1" aria-label="${at(this.dataAriaLabel)}">
4749
4749
  <slot></slot>
4750
4750
  </div>
4751
- ${n(Qo.FORWARD)}`}};pr.styles=[...q.styles,...qu],v([E({type:String,attribute:"active-tab-id",reflect:!0})],pr.prototype,"activeTabId",2),v([E({type:String,attribute:"data-aria-label"})],pr.prototype,"dataAriaLabel",2),v([Rr(".container")],pr.prototype,"tabsContainer",2),v([Rr("mdc-button:not(:focus-visible)")],pr.prototype,"notFocusedArrowButton",2),v([Bt({selector:"mdc-tab"})],pr.prototype,"tabs",2),v([At()],pr.prototype,"showForwardArrowButton",2),v([At()],pr.prototype,"showBackwardArrowButton",2);var cd=pr;cd.register(Ku);var Oy=cd;var Qu=j.constructTagName("textarea"),dd={HARD:"hard",SOFT:"soft"},tf={OFF:"off",ON:"on"},Qn={CHARACTER_COUNTER_TYPE:it.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:dd.SOFT};var Py=[H`
4751
+ ${n(ts.FORWARD)}`}};pr.styles=[...q.styles,...Ku],v([E({type:String,attribute:"active-tab-id",reflect:!0})],pr.prototype,"activeTabId",2),v([E({type:String,attribute:"data-aria-label"})],pr.prototype,"dataAriaLabel",2),v([Rr(".container")],pr.prototype,"tabsContainer",2),v([Rr("mdc-button:not(:focus-visible)")],pr.prototype,"notFocusedArrowButton",2),v([Bt({selector:"mdc-tab"})],pr.prototype,"tabs",2),v([At()],pr.prototype,"showForwardArrowButton",2),v([At()],pr.prototype,"showBackwardArrowButton",2);var dd=pr;dd.register(Xu);var Py=dd;var tf=j.constructTagName("textarea"),hd={HARD:"hard",SOFT:"soft"},ef={OFF:"off",ON:"on"},Qn={CHARACTER_COUNTER_TYPE:it.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:hd.SOFT};var Dy=[H`
4752
4752
  :host {
4753
4753
  --mdc-textarea-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
4754
4754
  --mdc-textarea-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -4867,7 +4867,7 @@
4867
4867
  opacity: 0;
4868
4868
  pointer-events: none;
4869
4869
  }
4870
- `,...St(!0)],ef=Py;var se=class extends Ne(Wt(qe)){constructor(){super(...arguments);this.readonly=!1;this.rows=Qn.ROWS;this.cols=Qn.COLS;this.wrap=dd.SOFT;this.autocapitalize=Nn.OFF;this.autocomplete=tf.OFF;this.autofocus=!1;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var e;super.connectedCallback(),this.value=((e=this.textContent)==null?void 0:e.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(s=>{this.onerror&&this.onerror(s)})}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Yt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(e){this.value=e}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(e,s,n){super.attributeChangedCallback(e,s,n),["maxlength","minlength","required"].includes(e)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(e){this.updateValue();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}renderCharacterCounter(){return this.maxCharacterLimit?O`
4870
+ `,...St(!0)],rf=Dy;var se=class extends Ne(Wt(qe)){constructor(){super(...arguments);this.readonly=!1;this.rows=Qn.ROWS;this.cols=Qn.COLS;this.wrap=hd.SOFT;this.autocapitalize=Nn.OFF;this.autocomplete=ef.OFF;this.autofocus=!1;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var e;super.connectedCallback(),this.value=((e=this.textContent)==null?void 0:e.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(s=>{this.onerror&&this.onerror(s)})}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Yt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(e){this.value=e}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(e=>{this.onerror&&this.onerror(e)})}updated(e){super.updated(e),e.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(e,s,n){super.attributeChangedCallback(e,s,n),["maxlength","minlength","required"].includes(e)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(e){this.updateValue();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}renderCharacterCounter(){return this.maxCharacterLimit?O`
4871
4871
  <mdc-text part="character-counter" tagname="span" type=${Qn.CHARACTER_COUNTER_TYPE}>
4872
4872
  ${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
4873
4873
  </mdc-text>
@@ -4900,7 +4900,7 @@
4900
4900
  ></textarea>
4901
4901
  </div>
4902
4902
  ${this.renderTextareaFooter()}
4903
- `}};se.styles=[...qe.styles,...ef],v([E({type:String})],se.prototype,"placeholder",2),v([E({type:Boolean})],se.prototype,"readonly",2),v([E({type:Number})],se.prototype,"rows",2),v([E({type:Number})],se.prototype,"cols",2),v([E({type:String})],se.prototype,"wrap",2),v([E({type:String})],se.prototype,"autocapitalize",2),v([E({type:String})],se.prototype,"autocomplete",2),v([E({type:Boolean})],se.prototype,"autofocus",2),v([E({type:String})],se.prototype,"dirname",2),v([E({type:Number})],se.prototype,"maxlength",2),v([E({type:Number})],se.prototype,"minlength",2),v([E({type:Number,attribute:"max-character-limit"})],se.prototype,"maxCharacterLimit",2),v([Rr("textarea")],se.prototype,"inputElement",2);var hd=se;hd.register(Qu);var Dy=hd;var tl=j.constructTagName("themeprovider"),pd={THEMECLASS:"mds-theme-stable-darkWebex"};var el=class{constructor(o){this.themeclass=o}};el.context=tl;var rl=el;var Fy=H`
4903
+ `}};se.styles=[...qe.styles,...rf],v([E({type:String})],se.prototype,"placeholder",2),v([E({type:Boolean})],se.prototype,"readonly",2),v([E({type:Number})],se.prototype,"rows",2),v([E({type:Number})],se.prototype,"cols",2),v([E({type:String})],se.prototype,"wrap",2),v([E({type:String})],se.prototype,"autocapitalize",2),v([E({type:String})],se.prototype,"autocomplete",2),v([E({type:Boolean})],se.prototype,"autofocus",2),v([E({type:String})],se.prototype,"dirname",2),v([E({type:Number})],se.prototype,"maxlength",2),v([E({type:Number})],se.prototype,"minlength",2),v([E({type:Number,attribute:"max-character-limit"})],se.prototype,"maxCharacterLimit",2),v([Rr("textarea")],se.prototype,"inputElement",2);var pd=se;pd.register(tf);var Fy=pd;var tl=j.constructTagName("themeprovider"),md={THEMECLASS:"mds-theme-stable-darkWebex"};var el=class{constructor(o){this.themeclass=o}};el.context=tl;var rl=el;var $y=H`
4904
4904
  :host {
4905
4905
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
4906
4906
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -4929,7 +4929,7 @@
4929
4929
  * {
4930
4930
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
4931
4931
  }
4932
- `,rf=[Fy];var ts=class extends si{constructor(){super({context:rl.context,initialValue:new rl(pd.THEMECLASS)});this.themeclass=pd.THEMECLASS}static get Context(){return rl.context}updated(e){super.updated(e),e.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(" "))}};ts.styles=[...si.styles,...rf],v([At()],ts.prototype,"currentThemeClass",2),v([E({type:String})],ts.prototype,"themeclass",2);var md=ts;md.register(tl);var $y=md;var zy=[Et,H`
4932
+ `,of=[$y];var es=class extends si{constructor(){super({context:rl.context,initialValue:new rl(md.THEMECLASS)});this.themeclass=md.THEMECLASS}static get Context(){return rl.context}updated(e){super.updated(e),e.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(" "))}};es.styles=[...si.styles,...of],v([At()],es.prototype,"currentThemeClass",2),v([E({type:String})],es.prototype,"themeclass",2);var ud=es;ud.register(tl);var zy=ud;var Vy=[Et,H`
4933
4933
  :host {
4934
4934
  --mdc-toggle-width: 3rem;
4935
4935
  --mdc-toggle-height: 1.5rem;
@@ -5015,7 +5015,7 @@
5015
5015
  :host([disabled]) .mdc-help-text {
5016
5016
  color: var(--mdc-toggle-label-color-disabled);
5017
5017
  }
5018
- `,...St(!0)],of=zy;var so=class extends Ne(Wt(qe)){constructor(){super(...arguments);this.checked=!1;this.size=Fc.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}formResetCallback(){this.checked=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let e=null;this.checked?e=this.value?this.value:"isActive":e=null,this.manageRequired(),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}handleChange(e){this.toggleState();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(Qs).includes(e)?e:Fc.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return O`
5018
+ `,...St(!0)],sf=Vy;var ao=class extends Ne(Wt(qe)){constructor(){super(...arguments);this.checked=!1;this.size=$c.SIZE;this.autofocus=!1}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}formResetCallback(){this.checked=!1}formStateRestoreCallback(e){e&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let e=null;this.checked?e=this.value?this.value:"isActive":e=null,this.manageRequired(),this.internals.setFormValue(e)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(e){var s;e.key==="Enter"&&((s=this.form)==null||s.requestSubmit())}handleChange(e){this.toggleState();let s=e.constructor;this.dispatchEvent(new s(e.type,e))}setToggleSize(e){this.setAttribute("size",Object.values(Qs).includes(e)?e:$c.SIZE)}update(e){super.update(e),e.has("checked")&&this.setFormValue(),e.has("size")&&this.setToggleSize(this.size)}render(){var e;return O`
5019
5019
  <mdc-statictoggle
5020
5020
  ?checked="${this.checked}"
5021
5021
  ?disabled="${this.disabled}"
@@ -5043,10 +5043,10 @@
5043
5043
  />
5044
5044
  </mdc-statictoggle>
5045
5045
  ${this.renderLabel()} ${this.renderHelperText()}
5046
- `}};so.styles=[...qe.styles,...of],v([E({type:Boolean,reflect:!0})],so.prototype,"checked",2),v([E({type:String,reflect:!0})],so.prototype,"size",2),v([E({type:Boolean,reflect:!0})],so.prototype,"autofocus",2);var ud=so;ud.register(nu);var Vy=ud;function ao(l,o,e){var h;let s=(h=e.initialDeps)!=null?h:[],n;return()=>{var m,T,L,$;let W;e.key&&((m=e.debug)!=null&&m.call(e))&&(W=Date.now());let K=l();if(!(K.length!==s.length||K.some((tt,ht)=>s[ht]!==tt)))return n;s=K;let J;if(e.key&&((T=e.debug)!=null&&T.call(e))&&(J=Date.now()),n=o(...K),e.key&&((L=e.debug)!=null&&L.call(e))){let tt=Math.round((Date.now()-W)*100)/100,ht=Math.round((Date.now()-J)*100)/100,Tt=ht/16,yt=(xt,kt)=>{for(xt=String(xt);xt.length<kt;)xt=" "+xt;return xt};console.info(`%c\u23F1 ${yt(ht,5)} /${yt(tt,5)} ms`,`
5046
+ `}};ao.styles=[...qe.styles,...sf],v([E({type:Boolean,reflect:!0})],ao.prototype,"checked",2),v([E({type:String,reflect:!0})],ao.prototype,"size",2),v([E({type:Boolean,reflect:!0})],ao.prototype,"autofocus",2);var fd=ao;fd.register(lu);var By=fd;function no(l,o,e){var h;let s=(h=e.initialDeps)!=null?h:[],n;return()=>{var m,T,L,$;let W;e.key&&((m=e.debug)!=null&&m.call(e))&&(W=Date.now());let K=l();if(!(K.length!==s.length||K.some((tt,ht)=>s[ht]!==tt)))return n;s=K;let J;if(e.key&&((T=e.debug)!=null&&T.call(e))&&(J=Date.now()),n=o(...K),e.key&&((L=e.debug)!=null&&L.call(e))){let tt=Math.round((Date.now()-W)*100)/100,ht=Math.round((Date.now()-J)*100)/100,Tt=ht/16,yt=(xt,kt)=>{for(xt=String(xt);xt.length<kt;)xt=" "+xt;return xt};console.info(`%c\u23F1 ${yt(ht,5)} /${yt(tt,5)} ms`,`
5047
5047
  font-size: .6rem;
5048
5048
  font-weight: bold;
5049
- color: hsl(${Math.max(0,Math.min(120-120*Tt,120))}deg 100% 31%);`,e==null?void 0:e.key)}return($=e==null?void 0:e.onChange)==null||$.call(e,n),n}}function il(l,o){if(l===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return l}var sf=(l,o)=>Math.abs(l-o)<1,af=(l,o,e)=>{let s;return function(...n){l.clearTimeout(s),s=l.setTimeout(()=>o.apply(this,n),e)}};var By=l=>l,Uy=l=>{let o=Math.max(l.startIndex-l.overscan,0),e=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let n=o;n<=e;n++)s.push(n);return s},lf=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=m=>{let{width:T,height:L}=m;o({width:Math.round(T),height:Math.round(L)})};if(n(e.getBoundingClientRect()),!s.ResizeObserver)return()=>{};let h=new s.ResizeObserver(m=>{let T=m[0];if(T!=null&&T.borderBoxSize){let L=T.borderBoxSize[0];if(L){n({width:L.inlineSize,height:L.blockSize});return}}n(e.getBoundingClientRect())});return h.observe(e,{box:"border-box"}),()=>{h.unobserve(e)}},nf={passive:!0};var Gy=typeof window>"u"?!0:"onscrollend"in window,cf=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=0,h=l.options.useScrollendEvent&&Gy?()=>{}:af(s,()=>{o(n,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:W,isRtl:K}=l.options;n=W?e.scrollLeft*(K&&-1||1):e.scrollTop,h(),o(n,$)},T=m(!0),L=m(!1);return L(),e.addEventListener("scroll",T,nf),e.addEventListener("scrollend",L,nf),()=>{e.removeEventListener("scroll",T),e.removeEventListener("scrollend",L)}};var Hy=(l,o,e)=>{if(o!=null&&o.borderBoxSize){let s=o.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var df=(l,{adjustments:o=0,behavior:e},s)=>{var n,h;let m=l+o;(h=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||h.call(n,{[s.options.horizontal?"left":"top"]:m,behavior:e})},ol=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(n=>{n.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),e=null},observe:n=>{var h;return(h=s())==null?void 0:h.observe(n,{box:"border-box"})},unobserve:n=>{var h;return(h=s())==null?void 0:h.unobserve(n)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,n])=>{typeof n>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:By,rangeExtractor:Uy,onChange:()=>{},measureElement:Hy,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,e)},this.maybeNotify=ao(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;var e;let s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(n=(e=this.scrollElement)==null?void 0:e.window)!=null?n:null,this.elementsCache.forEach(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,s)=>{let n=new Map,h=new Map;for(let m=s-1;m>=0;m--){let T=e[m];if(n.has(T.lane))continue;let L=h.get(T.lane);if(L==null||T.end>L.end?h.set(T.lane,T):T.end<L.end&&n.set(T.lane,!0),n.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,T)=>m.end===T.end?m.index-T.index:m.end-T.end)[0]:void 0},this.getMeasurementOptions=ao(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,s,n,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=ao(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m},T)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(W=>{this.itemSizeCache.set(W.key,W.size)}));let L=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,L);for(let W=L;W<e;W++){let K=h(W),ot=this.options.lanes===1?$[W-1]:this.getFurthestMeasurement($,W),J=ot?ot.end+this.options.gap:s+n,tt=T.get(K),ht=typeof tt=="number"?tt:this.options.estimateSize(W),Tt=J+ht,yt=ot?ot.lane:W%this.options.lanes;$[W]={index:W,start:J,size:ht,end:Tt,key:K,lane:yt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=ao(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,s,n)=>this.range=e.length>0&&s>0?jy({measurements:e,outerSize:s,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=ao(()=>{let e=null,s=null,n=this.calculateRange();return n&&(e=n.startIndex,s=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,s]},(e,s,n,h,m)=>h===null||m===null?[]:e({startIndex:h,endIndex:m,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let s=this.options.indexAttribute,n=e.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(e,s)=>{let n=this.indexFromElement(e),h=this.measurementsCache[n];if(!h)return;let m=h.key,T=this.elementsCache.get(m);T!==e&&(T&&this.observer.unobserve(T),this.observer.observe(e),this.elementsCache.set(m,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,s,this))},this.resizeItem=(e,s)=>{var T;let n=this.measurementsCache[e];if(!n)return;let h=(T=this.itemSizeCache.get(n.key))!=null?T:n.size,m=s-h;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,m,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,s)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((s,n)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(n))});return}this._measureElement(e,void 0)},this.getVirtualItems=ao(()=>[this.getIndexes(),this.getMeasurements()],(e,s)=>{let n=[];for(let h=0,m=e.length;h<m;h++){let T=e[h],L=s[T];n.push(L)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let s=this.getMeasurements();if(s.length!==0)return il(s[hf(0,s.length-1,n=>il(s[n]).start,e)])},this.getOffsetForAlignment=(e,s)=>{let n=this.getSize(),h=this.getScrollOffset();s==="auto"&&e>=h+n&&(s="end"),s==="end"&&(e-=n);let m=this.options.horizontal?"scrollWidth":"scrollHeight",L=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-n;return Math.max(Math.min(L,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let h=this.getSize(),m=this.getScrollOffset();if(s==="auto")if(n.end>=m+h-this.options.scrollPaddingEnd)s="end";else if(n.start<=m+this.options.scrollPaddingStart)s="start";else return[m,s];let T=n.start-this.options.scrollPaddingStart+(n.size-h)/2;switch(s){case"center":return[this.getOffsetForAlignment(T,s),s];case"end":return[this.getOffsetForAlignment(n.end+this.options.scrollPaddingEnd,s),s];default:return[this.getOffsetForAlignment(n.start-this.options.scrollPaddingStart,s),s]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:s="start",behavior:n}={})=>{this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,s),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:s="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(e,s);if(!h)return;let[m,T]=h;this._scrollToOffset(m,{adjustments:void 0,behavior:n}),n!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[$]=il(this.getOffsetForIndex(e,T));sf($,this.getScrollOffset())||this.scrollToIndex(e,{align:T,behavior:n})}else this.scrollToIndex(e,{align:T,behavior:n})}))},this.scrollBy=(e,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var h;var e;let s=this.getMeasurements(),n;return s.length===0?n=this.options.paddingStart:n=this.options.lanes===1?(h=(e=s[s.length-1])==null?void 0:e.end)!=null?h:0:Math.max(...s.slice(-this.options.lanes).map(m=>m.end)),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:s,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},hf=(l,o,e,s)=>{for(;l<=o;){let n=(l+o)/2|0,h=e(n);if(h<s)l=n+1;else if(h>s)o=n-1;else return n}return l>0?l-1:0};function jy({measurements:l,outerSize:o,scrollOffset:e}){let s=l.length-1,h=hf(0,s,T=>l[T].start,e),m=h;for(;m<s&&l[m].end<e+o;)m++;return{startIndex:h,endIndex:m}}var fd=class{constructor(o,e){this.cleanup=()=>{},(this.host=o).addController(this);let s={...e,onChange:(n,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=e.onChange)==null||m.call(e,n,h)}};this.virtualizer=new ol(s)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},sl=class extends fd{constructor(o,e){super(o,{observeElementRect:lf,observeElementOffset:cf,scrollToFn:df,...e})}};var Wy=[H`
5049
+ color: hsl(${Math.max(0,Math.min(120-120*Tt,120))}deg 100% 31%);`,e==null?void 0:e.key)}return($=e==null?void 0:e.onChange)==null||$.call(e,n),n}}function il(l,o){if(l===void 0)throw new Error(`Unexpected undefined${o?`: ${o}`:""}`);return l}var af=(l,o)=>Math.abs(l-o)<1,nf=(l,o,e)=>{let s;return function(...n){l.clearTimeout(s),s=l.setTimeout(()=>o.apply(this,n),e)}};var Uy=l=>l,Gy=l=>{let o=Math.max(l.startIndex-l.overscan,0),e=Math.min(l.endIndex+l.overscan,l.count-1),s=[];for(let n=o;n<=e;n++)s.push(n);return s},cf=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=m=>{let{width:T,height:L}=m;o({width:Math.round(T),height:Math.round(L)})};if(n(e.getBoundingClientRect()),!s.ResizeObserver)return()=>{};let h=new s.ResizeObserver(m=>{let T=m[0];if(T!=null&&T.borderBoxSize){let L=T.borderBoxSize[0];if(L){n({width:L.inlineSize,height:L.blockSize});return}}n(e.getBoundingClientRect())});return h.observe(e,{box:"border-box"}),()=>{h.unobserve(e)}},lf={passive:!0};var Hy=typeof window>"u"?!0:"onscrollend"in window,df=(l,o)=>{let e=l.scrollElement;if(!e)return;let s=l.targetWindow;if(!s)return;let n=0,h=l.options.useScrollendEvent&&Hy?()=>{}:nf(s,()=>{o(n,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:W,isRtl:K}=l.options;n=W?e.scrollLeft*(K&&-1||1):e.scrollTop,h(),o(n,$)},T=m(!0),L=m(!1);return L(),e.addEventListener("scroll",T,lf),e.addEventListener("scrollend",L,lf),()=>{e.removeEventListener("scroll",T),e.removeEventListener("scrollend",L)}};var jy=(l,o,e)=>{if(o!=null&&o.borderBoxSize){let s=o.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[e.options.horizontal?"width":"height"])};var hf=(l,{adjustments:o=0,behavior:e},s)=>{var n,h;let m=l+o;(h=(n=s.scrollElement)==null?void 0:n.scrollTo)==null||h.call(n,{[s.options.horizontal?"left":"top"]:m,behavior:e})},ol=class{constructor(o){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(n=>{n.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var n;(n=s())==null||n.disconnect(),e=null},observe:n=>{var h;return(h=s())==null?void 0:h.observe(n,{box:"border-box"})},unobserve:n=>{var h;return(h=s())==null?void 0:h.unobserve(n)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,n])=>{typeof n>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Uy,rangeExtractor:Gy,onChange:()=>{},measureElement:jy,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var s,n;(n=(s=this.options).onChange)==null||n.call(s,this,e)},this.maybeNotify=no(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var n;var e;let s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.maybeNotify();return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(n=(e=this.scrollElement)==null?void 0:e.window)!=null?n:null,this.elementsCache.forEach(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var e;return this.options.enabled?(this.scrollRect=(e=this.scrollRect)!=null?e:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var e;return this.options.enabled?(this.scrollOffset=(e=this.scrollOffset)!=null?e:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(e,s)=>{let n=new Map,h=new Map;for(let m=s-1;m>=0;m--){let T=e[m];if(n.has(T.lane))continue;let L=h.get(T.lane);if(L==null||T.end>L.end?h.set(T.lane,T):T.end<L.end&&n.set(T.lane,!0),n.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,T)=>m.end===T.end?m.index-T.index:m.end-T.end)[0]:void 0},this.getMeasurementOptions=no(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,s,n,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=no(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:n,getItemKey:h,enabled:m},T)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(W=>{this.itemSizeCache.set(W.key,W.size)}));let L=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,L);for(let W=L;W<e;W++){let K=h(W),ot=this.options.lanes===1?$[W-1]:this.getFurthestMeasurement($,W),J=ot?ot.end+this.options.gap:s+n,tt=T.get(K),ht=typeof tt=="number"?tt:this.options.estimateSize(W),Tt=J+ht,yt=ot?ot.lane:W%this.options.lanes;$[W]={index:W,start:J,size:ht,end:Tt,key:K,lane:yt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=no(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,s,n)=>this.range=e.length>0&&s>0?Wy({measurements:e,outerSize:s,scrollOffset:n}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=no(()=>{let e=null,s=null,n=this.calculateRange();return n&&(e=n.startIndex,s=n.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,s]},(e,s,n,h,m)=>h===null||m===null?[]:e({startIndex:h,endIndex:m,overscan:s,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let s=this.options.indexAttribute,n=e.getAttribute(s);return n?parseInt(n,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(e,s)=>{let n=this.indexFromElement(e),h=this.measurementsCache[n];if(!h)return;let m=h.key,T=this.elementsCache.get(m);T!==e&&(T&&this.observer.unobserve(T),this.observer.observe(e),this.elementsCache.set(m,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,s,this))},this.resizeItem=(e,s)=>{var T;let n=this.measurementsCache[e];if(!n)return;let h=(T=this.itemSizeCache.get(n.key))!=null?T:n.size,m=s-h;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(n,m,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,s)),this.notify(!1))},this.measureElement=e=>{if(!e){this.elementsCache.forEach((s,n)=>{s.isConnected||(this.observer.unobserve(s),this.elementsCache.delete(n))});return}this._measureElement(e,void 0)},this.getVirtualItems=no(()=>[this.getIndexes(),this.getMeasurements()],(e,s)=>{let n=[];for(let h=0,m=e.length;h<m;h++){let T=e[h],L=s[T];n.push(L)}return n},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let s=this.getMeasurements();if(s.length!==0)return il(s[pf(0,s.length-1,n=>il(s[n]).start,e)])},this.getOffsetForAlignment=(e,s)=>{let n=this.getSize(),h=this.getScrollOffset();s==="auto"&&e>=h+n&&(s="end"),s==="end"&&(e-=n);let m=this.options.horizontal?"scrollWidth":"scrollHeight",L=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-n;return Math.max(Math.min(L,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let n=this.measurementsCache[e];if(!n)return;let h=this.getSize(),m=this.getScrollOffset();if(s==="auto")if(n.end>=m+h-this.options.scrollPaddingEnd)s="end";else if(n.start<=m+this.options.scrollPaddingStart)s="start";else return[m,s];let T=n.start-this.options.scrollPaddingStart+(n.size-h)/2;switch(s){case"center":return[this.getOffsetForAlignment(T,s),s];case"end":return[this.getOffsetForAlignment(n.end+this.options.scrollPaddingEnd,s),s];default:return[this.getOffsetForAlignment(n.start-this.options.scrollPaddingStart,s),s]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:s="start",behavior:n}={})=>{this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,s),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:s="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),n==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(e,s);if(!h)return;let[m,T]=h;this._scrollToOffset(m,{adjustments:void 0,behavior:n}),n!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[$]=il(this.getOffsetForIndex(e,T));af($,this.getScrollOffset())||this.scrollToIndex(e,{align:T,behavior:n})}else this.scrollToIndex(e,{align:T,behavior:n})}))},this.scrollBy=(e,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var h;var e;let s=this.getMeasurements(),n;return s.length===0?n=this.options.paddingStart:n=this.options.lanes===1?(h=(e=s[s.length-1])==null?void 0:e.end)!=null?h:0:Math.max(...s.slice(-this.options.lanes).map(m=>m.end)),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:s,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:s},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(o)}},pf=(l,o,e,s)=>{for(;l<=o;){let n=(l+o)/2|0,h=e(n);if(h<s)l=n+1;else if(h>s)o=n-1;else return n}return l>0?l-1:0};function Wy({measurements:l,outerSize:o,scrollOffset:e}){let s=l.length-1,h=pf(0,s,T=>l[T].start,e),m=h;for(;m<s&&l[m].end<e+o;)m++;return{startIndex:h,endIndex:m}}var vd=class{constructor(o,e){this.cleanup=()=>{},(this.host=o).addController(this);let s={...e,onChange:(n,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=e.onChange)==null||m.call(e,n,h)}};this.virtualizer=new ol(s)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},sl=class extends vd{constructor(o,e){super(o,{observeElementRect:cf,observeElementOffset:df,scrollToFn:hf,...e})}};var Yy=[H`
5050
5050
  :host::part(scroll) {
5051
5051
  height: 100%;
5052
5052
  width: 100%;
@@ -5056,11 +5056,11 @@
5056
5056
  position: relative;
5057
5057
  width: 100%;
5058
5058
  }
5059
- `],pf=Wy;var mf=j.constructTagName("virtualizedlist"),u3=j.constructTagName("virtualizedwrapper"),uf={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var no=class extends q{constructor(){super();this.virtualizerProps=uf.VIRTUALIZER_PROPS;this.scrollElementRef=Xa();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(e){super.update(e),e.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(e){super.firstUpdated(e),this.setVirtualizerOptions()}setVirtualizerOptions(){var e;(e=this.virtualizer)==null||e.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var e;this.virtualizerController=new sl(this,{count:this.virtualizerProps.count,estimateSize:(e=this.virtualizerProps)==null?void 0:e.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(e){var T,L;this.virtualizer=e.getVirtualizer();let{getTotalSize:s,getVirtualItems:n,measureElement:h}=this.virtualizer,m=n();if(m!==this.virtualItems){this.virtualItems=m;let $=n(),W={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(L=(T=$[0])==null?void 0:T.start)!=null?L:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:$,measureElement:h,listStyle:W})}return O`<div part="container" style="height: ${s()}px;">
5059
+ `],mf=Yy;var uf=j.constructTagName("virtualizedlist"),v3=j.constructTagName("virtualizedwrapper"),ff={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var lo=class extends q{constructor(){super();this.virtualizerProps=ff.VIRTUALIZER_PROPS;this.scrollElementRef=Xa();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(e){super.update(e),e.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(e){super.firstUpdated(e),this.setVirtualizerOptions()}setVirtualizerOptions(){var e;(e=this.virtualizer)==null||e.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var e;this.virtualizerController=new sl(this,{count:this.virtualizerProps.count,estimateSize:(e=this.virtualizerProps)==null?void 0:e.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(e){var T,L;this.virtualizer=e.getVirtualizer();let{getTotalSize:s,getVirtualItems:n,measureElement:h}=this.virtualizer,m=n();if(m!==this.virtualItems){this.virtualItems=m;let $=n(),W={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(L=(T=$[0])==null?void 0:T.start)!=null?L:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:$,measureElement:h,listStyle:W})}return O`<div part="container" style="height: ${s()}px;">
5060
5060
  <slot></slot>
5061
5061
  </div>`}render(){return O`<div ${Za(this.scrollElementRef)} part="scroll" @scroll=${this.onscroll&&this.onscroll}>
5062
5062
  ${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):O``}
5063
- </div> `}};no.styles=[...q.styles,...pf],v([E({type:Function,attribute:"onscroll"})],no.prototype,"onscroll",2),v([E({type:Object,attribute:"virtualizerprops"})],no.prototype,"virtualizerProps",2),v([E({type:Function,attribute:"setlistdata"})],no.prototype,"setlistdata",2);var vd=no;vd.register(mf);var Yy=vd;})();
5063
+ </div> `}};lo.styles=[...q.styles,...mf],v([E({type:Function,attribute:"onscroll"})],lo.prototype,"onscroll",2),v([E({type:Object,attribute:"virtualizerprops"})],lo.prototype,"virtualizerProps",2),v([E({type:Function,attribute:"setlistdata"})],lo.prototype,"setlistdata",2);var gd=lo;gd.register(uf);var qy=gd;})();
5064
5064
  /*! Bundled license information:
5065
5065
 
5066
5066
  lottie-web/build/player/lottie_light.js: