@momentum-design/components 0.106.7 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/browser/index.js +358 -349
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/alertchip/alertchip.component.d.ts +5 -0
  4. package/dist/components/alertchip/alertchip.component.js +5 -0
  5. package/dist/components/alertchip/alertchip.types.d.ts +9 -2
  6. package/dist/components/chip/chip.component.d.ts +7 -0
  7. package/dist/components/chip/chip.component.js +9 -2
  8. package/dist/components/chip/chip.constants.d.ts +1 -12
  9. package/dist/components/chip/chip.constants.js +1 -12
  10. package/dist/components/chip/chip.styles.js +1 -59
  11. package/dist/components/chip/chip.types.d.ts +9 -2
  12. package/dist/components/filterchip/filterchip.component.d.ts +13 -0
  13. package/dist/components/filterchip/filterchip.component.js +13 -0
  14. package/dist/components/filterchip/filterchip.types.d.ts +9 -0
  15. package/dist/components/filterchip/filterchip.types.js +1 -0
  16. package/dist/components/inputchip/inputchip.component.d.ts +4 -0
  17. package/dist/components/inputchip/inputchip.component.js +5 -1
  18. package/dist/components/staticchip/index.d.ts +9 -0
  19. package/dist/components/staticchip/index.js +6 -0
  20. package/dist/components/staticchip/staticchip.component.d.ts +54 -0
  21. package/dist/components/staticchip/staticchip.component.js +89 -0
  22. package/dist/components/staticchip/staticchip.constants.d.ts +19 -0
  23. package/dist/components/staticchip/staticchip.constants.js +21 -0
  24. package/dist/components/staticchip/staticchip.styles.d.ts +2 -0
  25. package/dist/components/staticchip/staticchip.styles.js +66 -0
  26. package/dist/components/staticchip/staticchip.types.d.ts +4 -0
  27. package/dist/components/staticchip/staticchip.types.js +1 -0
  28. package/dist/custom-elements.json +497 -340
  29. package/dist/index.d.ts +2 -1
  30. package/dist/index.js +2 -1
  31. package/dist/react/alertchip/index.d.ts +5 -0
  32. package/dist/react/alertchip/index.js +5 -0
  33. package/dist/react/chip/index.d.ts +7 -0
  34. package/dist/react/chip/index.js +7 -0
  35. package/dist/react/filterchip/index.d.ts +13 -0
  36. package/dist/react/filterchip/index.js +13 -0
  37. package/dist/react/index.d.ts +2 -1
  38. package/dist/react/index.js +2 -1
  39. package/dist/react/inputchip/index.d.ts +4 -0
  40. package/dist/react/inputchip/index.js +4 -0
  41. package/dist/react/staticchip/index.d.ts +20 -0
  42. package/dist/react/staticchip/index.js +29 -0
  43. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- "use strict";(()=>{var Wg=Object.create;var rc=Object.defineProperty;var lp=Object.getOwnPropertyDescriptor;var jg=Object.getOwnPropertyNames;var Kg=Object.getPrototypeOf,qg=Object.prototype.hasOwnProperty;var Zg=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var Xg=(l,i,t,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of jg(i))!qg.call(l,a)&&a!==t&&rc(l,a,{get:()=>i[a],enumerable:!(o=lp(i,a))||o.enumerable});return l};var Qg=(l,i,t)=>(t=l!=null?Wg(Kg(l)):{},Xg(i||!l||!l.__esModule?rc(t,"default",{value:l,enumerable:!0}):t,l));var p=(l,i,t,o)=>{for(var a=o>1?void 0:o?lp(i,t):i,h=l.length-1,m;h>=0;h--)(m=l[h])&&(a=(o?m(i,t,a):m(a))||a);return o&&a&&rc(i,t,a),a};var om=Zg((oa,Dn)=>{typeof navigator<"u"&&function(l,i){typeof oa=="object"&&typeof Dn<"u"?Dn.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(oa,function(){"use strict";var l="http://www.w3.org/2000/svg",i="",t=!1,o=-999999,a=function(r){t=!!r},h=function(){return t},m=function(r){i=r},E=function(){return i};function N(e){return document.createElement(e)}function $(e,r){var s,n=e.length,d;for(s=0;s<n;s+=1){d=e[s].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function K(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(e){function r(){}return r.prototype=e,r}var nt=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].pause()},resume:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].resume()},setRate:function(s){var n,d=this.audios.length;for(n=0;n<d;n+=1)this.audios[n].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),Q=function(){function e(s,n){var d=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(d=0;d<n;d+=1)c.push(v);return c}function r(s,n){return s==="float32"?new Float32Array(n):s==="int16"?new Int16Array(n):s==="uint8c"?new Uint8ClampedArray(n):e(s,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function rt(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(s){return typeof s}:dt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},dt(e)}var ut=!0,Tt=null,St=null,kt="",Ht=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Vt=Math.pow,jt=Math.sqrt,oe=Math.floor,nr=Math.max,Se=Math.min,He={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,s=e.length;for(r=0;r<s;r+=1)He[e[r]]=Math[e[r]]})();function lr(){return{}}He.random=Math.random,He.abs=function(e){var r=dt(e);if(r==="object"&&e.length){var s=rt(e.length),n,d=e.length;for(n=0;n<d;n+=1)s[n]=Math.abs(e[n]);return s}return Math.abs(e)};var cr=150,It=Math.PI/180,le=.5519;function Ge(e){Ft=!!e}function Ye(e){return Ft?Math.round(e):e}function We(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function je(e,r,s,n){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=n<0?-1:1}function Ua(e,r){this.type=e,this.direction=r<0?-1:1}function fh(e,r,s,n){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=n<0?-1:1}function vh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function gh(e,r){this.type=e,this.target=r}function Wv(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function jv(e){this.type="configError",this.nativeError=e}function hx(e,r){this.type=e,this.nativeError=r}var _e=function(){var e=0;return function(){return e+=1,kt+"__lottie_element_"+e}}();function Hl(e,r,s){var n,d,c,v,x,g,C,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),C=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:n=s,d=L,c=g;break;case 1:n=C,d=s,c=g;break;case 2:n=g,d=s,c=L;break;case 3:n=g,d=C,c=s;break;case 4:n=L,d=g,c=s;break;case 5:n=s,d=g,c=C;break;default:break}return[n,d,c]}function Gl(e,r,s){var n=Math.max(e,r,s),d=Math.min(e,r,s),c=n-d,v,x=n===0?0:c/n,g=n/255;switch(n){case d:v=0;break;case e:v=r-s+c*(r<s?6:0),v/=6*c;break;case r:v=s-e+c*2,v/=6*c;break;case s:v=e-r+c*4,v/=6*c;break;default:break}return[v,x,g]}function bh(e,r){var s=Gl(e[0]*255,e[1]*255,e[2]*255);return s[1]+=r,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),Hl(s[0],s[1],s[2])}function yh(e,r){var s=Gl(e[0]*255,e[1]*255,e[2]*255);return s[2]+=r,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),Hl(s[0],s[1],s[2])}function Eh(e,r){var s=Gl(e[0]*255,e[1]*255,e[2]*255);return s[0]+=r/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),Hl(s[0],s[1],s[2])}var px=function(){var e=[],r,s;for(r=0;r<256;r+=1)s=r.toString(16),e[r]=s.length===1?"0"+s:s;return function(n,d,c){return n<0&&(n=0),d<0&&(d=0),c<0&&(c=0),"#"+e[n]+e[d]+e[c]}}(),Kv=function(r){ut=!!r},qv=function(){return ut},Zv=function(r){Tt=r},Ha=function(){return Tt},mx=function(r){St=r},Th=function(){return St},Ga=function(r){cr=r},_s=function(){return cr},Xv=function(r){kt=r},ux=function(){return kt};function bt(e){return document.createElementNS(l,e)}function Ya(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ya=function(s){return typeof s}:Ya=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ya(e)}var Is=function(){var e=1,r=[],s,n,d={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){d.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&h()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),P=URL.createObjectURL(R);return new Worker(P)}return s=T,d}function x(){n||(n=v(function(R){function P(){function z(Z,S){var O,u,b=Z.length,U,F,at,mt;for(u=0;u<b;u+=1)if(O=Z[u],"ks"in O&&!O.completed){if(O.completed=!0,O.hasMask){var vt=O.masksProperties;for(F=vt.length,U=0;U<F;U+=1)if(vt[U].pt.k.i)k(vt[U].pt.k);else for(mt=vt[U].pt.k.length,at=0;at<mt;at+=1)vt[U].pt.k[at].s&&k(vt[U].pt.k[at].s[0]),vt[U].pt.k[at].e&&k(vt[U].pt.k[at].e[0])}O.ty===0?(O.layers=y(O.refId,S),z(O.layers,S)):O.ty===4?A(O.shapes):O.ty===5&&yt(O)}}function w(Z,S){if(Z){var O=0,u=Z.length;for(O=0;O<u;O+=1)Z[O].t===1&&(Z[O].data.layers=y(Z[O].data.refId,S),z(Z[O].data.layers,S))}}function _(Z,S){for(var O=0,u=S.length;O<u;){if(S[O].id===Z)return S[O];O+=1}return null}function y(Z,S){var O=_(Z,S);return O?O.layers.__used?JSON.parse(JSON.stringify(O.layers)):(O.layers.__used=!0,O.layers):null}function A(Z){var S,O=Z.length,u,b;for(S=O-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)k(Z[S].ks.k);else for(b=Z[S].ks.k.length,u=0;u<b;u+=1)Z[S].ks.k[u].s&&k(Z[S].ks.k[u].s[0]),Z[S].ks.k[u].e&&k(Z[S].ks.k[u].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function k(Z){var S,O=Z.i.length;for(S=0;S<O;S+=1)Z.i[S][0]+=Z.v[S][0],Z.i[S][1]+=Z.v[S][1],Z.o[S][0]+=Z.v[S][0],Z.o[S][1]+=Z.v[S][1]}function D(Z,S){var O=S?S.split("."):[100,100,100];return Z[0]>O[0]?!0:O[0]>Z[0]?!1:Z[1]>O[1]?!0:O[1]>Z[1]?!1:Z[2]>O[2]?!0:O[2]>Z[2]?!1:null}var V=function(){var Z=[4,4,14];function S(u){var b=u.t.d;u.t.d={k:[{s:b,t:0}]}}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===5&&S(u[b])}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),Y=function(){var Z=[4,7,99];return function(S){if(S.chars&&!D(Z,S.v)){var O,u=S.chars.length;for(O=0;O<u;O+=1){var b=S.chars[O];b.data&&b.data.shapes&&(A(b.data.shapes),b.data.ip=0,b.data.op=99999,b.data.st=0,b.data.sr=1,b.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},S.chars[O].t||(b.data.shapes.push({ty:"no"}),b.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),X=function(){var Z=[5,7,15];function S(u){var b=u.t.p;typeof b.a=="number"&&(b.a={a:0,k:b.a}),typeof b.p=="number"&&(b.p={a:0,k:b.p}),typeof b.r=="number"&&(b.r={a:0,k:b.r})}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===5&&S(u[b])}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),ft=function(){var Z=[4,1,9];function S(u){var b,U=u.length,F,at;for(b=0;b<U;b+=1)if(u[b].ty==="gr")S(u[b].it);else if(u[b].ty==="fl"||u[b].ty==="st")if(u[b].c.k&&u[b].c.k[0].i)for(at=u[b].c.k.length,F=0;F<at;F+=1)u[b].c.k[F].s&&(u[b].c.k[F].s[0]/=255,u[b].c.k[F].s[1]/=255,u[b].c.k[F].s[2]/=255,u[b].c.k[F].s[3]/=255),u[b].c.k[F].e&&(u[b].c.k[F].e[0]/=255,u[b].c.k[F].e[1]/=255,u[b].c.k[F].e[2]/=255,u[b].c.k[F].e[3]/=255);else u[b].c.k[0]/=255,u[b].c.k[1]/=255,u[b].c.k[2]/=255,u[b].c.k[3]/=255}function O(u){var b,U=u.length;for(b=0;b<U;b+=1)u[b].ty===4&&S(u[b].shapes)}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}(),ht=function(){var Z=[4,4,18];function S(u){var b,U=u.length,F,at;for(b=U-1;b>=0;b-=1)if(u[b].ty==="sh")if(u[b].ks.k.i)u[b].ks.k.c=u[b].closed;else for(at=u[b].ks.k.length,F=0;F<at;F+=1)u[b].ks.k[F].s&&(u[b].ks.k[F].s[0].c=u[b].closed),u[b].ks.k[F].e&&(u[b].ks.k[F].e[0].c=u[b].closed);else u[b].ty==="gr"&&S(u[b].it)}function O(u){var b,U,F=u.length,at,mt,vt,wt;for(U=0;U<F;U+=1){if(b=u[U],b.hasMask){var Nt=b.masksProperties;for(mt=Nt.length,at=0;at<mt;at+=1)if(Nt[at].pt.k.i)Nt[at].pt.k.c=Nt[at].cl;else for(wt=Nt[at].pt.k.length,vt=0;vt<wt;vt+=1)Nt[at].pt.k[vt].s&&(Nt[at].pt.k[vt].s[0].c=Nt[at].cl),Nt[at].pt.k[vt].e&&(Nt[at].pt.k[vt].e[0].c=Nt[at].cl)}b.ty===4&&S(b.shapes)}}return function(u){if(D(Z,u.v)&&(O(u.layers),u.assets)){var b,U=u.assets.length;for(b=0;b<U;b+=1)u.assets[b].layers&&O(u.assets[b].layers)}}}();function et(Z){Z.__complete||(ft(Z),V(Z),Y(Z),X(Z),ht(Z),z(Z.layers,Z.assets),w(Z.chars,Z.assets),Z.__complete=!0)}function yt(Z){Z.t.a.length===0&&"m"in Z.t.p}var lt={};return lt.completeData=et,lt.checkColors=ft,lt.checkChars=Y,lt.checkPathProperties=X,lt.checkShapes=ht,lt.completeLayers=z,lt}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(_){var y=_.getResponseHeader("content-type");return y&&_.responseType==="json"&&y.indexOf("json")!==-1||_.response&&Ya(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,y,A,k){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(Y){k&&k(Y)}};try{V.open(["G","E","T"].join(""),_,!0)}catch{V.open(["G","E","T"].join(""),y+"/"+_,!0)}V.send()}return{load:w}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),n.onmessage=function(T){var R=T.data,P=R.id,M=r[P];r[P]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(T,R){e+=1;var P="processId_"+e;return r[P]={onComplete:T,onError:R},P}function C(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function L(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function B(T,R,P){x();var M=g(R,P);n.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:C,loadData:L,completeAnimation:B}}(),Qv=function(){var e=function(){var w=N("canvas");w.width=1,w.height=1;var _=w.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.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 s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(w,_,y){var A="";if(w.e)A=w.p;else if(_){var k=w.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=_+k}else A=y,A+=w.u?w.u:"",A+=w.p;return A}function d(w){var _=0,y=setInterval((function(){var A=w.getBBox();(A.width||_>500)&&(this._imageLoaded(),clearInterval(y)),_+=1}).bind(this),50)}function c(w){var _=n(w,this.assetsPath,this.path),y=bt("image");Ht?this.testImageLoaded(y):y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(y):this._elementHelper.appendChild(y);var A={img:y,assetData:w};return A}function v(w){var _=n(w,this.assetsPath,this.path),y=N("img");y.crossOrigin="anonymous",y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.src=_;var A={img:y,assetData:w};return A}function x(w){var _={assetData:w},y=n(w,this.assetsPath,this.path);return Is.loadData(y,(function(A){_.img=A,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function g(w,_){this.imagesLoadedCb=_;var y,A=w.length;for(y=0;y<A;y+=1)w[y].layers||(!w[y].t||w[y].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[y]))):w[y].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[y]))))}function C(w){this.path=w||""}function L(w){this.assetsPath=w||""}function B(w){for(var _=0,y=this.images.length;_<y;){if(this.images[_].assetData===w)return this.images[_].img;_+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(w,_){w==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.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:g,setAssetsPath:L,setPath:C,loadedImages:R,loadedFootages:P,destroy:T,getAsset:B,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:M},z}();function xh(){}xh.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var n=this._cbs[r],d=0;d<n.length;d+=1)n[d](s)},addEventListener:function(r,s){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(s),(function(){this.removeEventListener(r,s)}).bind(this)},removeEventListener:function(r,s){if(!s)this._cbs[r]=null;else if(this._cbs[r]){for(var n=0,d=this._cbs[r].length;n<d;)this._cbs[r][n]===s&&(this._cbs[r].splice(n,1),n-=1,d-=1),n+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var Jv=function(){function e(r){for(var s=r.split(`\r
2
- `),n={},d,c=0,v=0;v<s.length;v+=1)d=s[v].split(":"),d.length===2&&(n[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return n}return function(r){for(var s=[],n=0;n<r.length;n+=1){var d=r[n],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[n].cm)}catch{try{c.payload=e(r[n].cm)}catch{c.payload={name:r[n].cm}}}s.push(c)}return s}}(),tg=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var n=0,d=this.compositions.length;n<d;){if(this.compositions[n].data&&this.compositions[n].data.nm===s)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),Cs={},eg=function(r,s){Cs[r]=s};function rg(e){return Cs[e]}function ig(){if(Cs.canvas)return"canvas";for(var e in Cs)if(Cs[e])return e;return""}function ks(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ks=function(s){return typeof s}:ks=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ks(e)}var pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=_e(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=qv(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=tg(),this.imagePreloader=new Qv,this.audioController=nt(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new je("drawnFrame",0,0,0),this.expressionsPlugin=Ha()};$([xh],pt),pt.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var s=rg(r);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Is.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){Is.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&ks(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},n=e.attributes;s.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",s.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:ig()||"canvas";var d=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";d==="false"?s.loop=!1:d==="true"?s.loop=!0:d!==""&&(s.loop=parseInt(d,10));var c=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var v=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},pt.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,s,n=r.length,d=e.layers,c,v=d.length;for(c=0;c<v;c+=1)for(s=0;s<n;){if(r[s].id===d[c].id){r[s]=d[c];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,s=0;s<n;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Is.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ha();r&&r.initExpressions(this),this.loadNextSegment()},pt.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Is.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=Jv(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=Ha();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,n=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,n)},pt.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},pt.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},pt.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},pt.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.prototype.getMarkerData=function(e){for(var r,s=0;s<this.markers.length;s+=1)if(r=this.markers[s],r.payload&&r.payload.name===e)return r;return null},pt.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(n,r,s);this.play()}},pt.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,s=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(s=!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):(s=!0,r=0)):this.setCurrentRawFrameValue(r),s&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},pt.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},pt.prototype.setSegment=function(e,r){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>r&&(s=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},pt.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),ks(e[0])==="object"){var s,n=e.length;for(s=0;s<n;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},pt.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},pt.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},pt.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},pt.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},pt.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},pt.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(e){this.loop=e},pt.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},pt.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),r=this.assetsPath+s}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},pt.prototype.getAssetData=function(e){for(var r=0,s=this.assets.length;r<s;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(e,r,s){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(r,s)}catch{}},pt.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new je(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new fh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Ua(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new vh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new gh(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new je(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new fh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Ua(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new vh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new gh(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Wv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new jv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var Kt=function(){var e={},r=[],s=0,n=0,d=0,c=!0,v=!1;function x(S){for(var O=0,u=S.target;O<n;)r[O].animation===u&&(r.splice(O,1),O-=1,n-=1,u.isPaused||B()),O+=1}function g(S,O){if(!S)return null;for(var u=0;u<n;){if(r[u].elem===S&&r[u].elem!==null)return r[u].animation;u+=1}var b=new pt;return T(b,S),b.setData(S,O),b}function C(){var S,O=r.length,u=[];for(S=0;S<O;S+=1)u.push(r[S].animation);return u}function L(){d+=1,ft()}function B(){d-=1}function T(S,O){S.addEventListener("destroy",x),S.addEventListener("_active",L),S.addEventListener("_idle",B),r.push({elem:O,animation:S}),n+=1}function R(S){var O=new pt;return T(O,null),O.setParams(S),O}function P(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setSpeed(S,O)}function M(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setDirection(S,O)}function z(S){var O;for(O=0;O<n;O+=1)r[O].animation.play(S)}function w(S){var O=S-s,u;for(u=0;u<n;u+=1)r[u].animation.advanceTime(O);s=S,d&&!v?window.requestAnimationFrame(w):c=!0}function _(S){s=S,window.requestAnimationFrame(w)}function y(S){var O;for(O=0;O<n;O+=1)r[O].animation.pause(S)}function A(S,O,u){var b;for(b=0;b<n;b+=1)r[b].animation.goToAndStop(S,O,u)}function k(S){var O;for(O=0;O<n;O+=1)r[O].animation.stop(S)}function D(S){var O;for(O=0;O<n;O+=1)r[O].animation.togglePause(S)}function V(S){var O;for(O=n-1;O>=0;O-=1)r[O].animation.destroy(S)}function Y(S,O,u){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,F=b.length;for(U=0;U<F;U+=1)u&&b[U].setAttribute("data-bm-type",u),g(b[U],S);if(O&&F===0){u||(u="svg");var at=document.getElementsByTagName("body")[0];at.innerText="";var mt=N("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",u),at.appendChild(mt),g(mt,S)}}function X(){var S;for(S=0;S<n;S+=1)r[S].animation.resize()}function ft(){!v&&d&&c&&(window.requestAnimationFrame(_),c=!1)}function ht(){v=!0}function et(){v=!1,ft()}function yt(S,O){var u;for(u=0;u<n;u+=1)r[u].animation.setVolume(S,O)}function lt(S){var O;for(O=0;O<n;O+=1)r[O].animation.mute(S)}function Z(S){var O;for(O=0;O<n;O+=1)r[O].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=P,e.setDirection=M,e.play=z,e.pause=y,e.stop=k,e.togglePause=D,e.searchAnimations=Y,e.resize=X,e.goToAndStop=A,e.destroy=V,e.freeze=ht,e.unfreeze=et,e.setVolume=yt,e.mute=lt,e.unmute=Z,e.getRegisteredAnimations=C,e}(),ws=function(){var e={};e.getBezierEasing=s;var r={};function s(_,y,A,k,D){var V=D||("bez_"+_+"_"+y+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var Y=new w([_,y,A,k]);return r[V]=Y,Y}var n=4,d=.001,c=1e-7,v=10,x=11,g=1/(x-1),C=typeof Float32Array=="function";function L(_,y){return 1-3*y+3*_}function B(_,y){return 3*y-6*_}function T(_){return 3*_}function R(_,y,A){return((L(y,A)*_+B(y,A))*_+T(y))*_}function P(_,y,A){return 3*L(y,A)*_*_+2*B(y,A)*_+T(y)}function M(_,y,A,k,D){var V,Y,X=0;do Y=y+(A-y)/2,V=R(Y,k,D)-_,V>0?A=Y:y=Y;while(Math.abs(V)>c&&++X<v);return Y}function z(_,y,A,k){for(var D=0;D<n;++D){var V=P(y,A,k);if(V===0)return y;var Y=R(y,A,k)-_;y-=Y/V}return y}function w(_){this._p=_,this._mSampleValues=C?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(y){var A=this._p[0],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?y:y===0?0:y===1?1:R(this._getTForX(y),k,V)},_precompute:function(){var y=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],k=0;k<x;++k)this._mSampleValues[k]=R(k*g,y,A)},_getTForX:function(y){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,Y=1,X=x-1;Y!==X&&D[Y]<=y;++Y)V+=g;--Y;var ft=(y-D[Y])/(D[Y+1]-D[Y]),ht=V+ft*g,et=P(ht,A,k);return et>=d?z(y,ht,A,k):et===0?ht:M(y,V,V+g,A,k)}},e}(),Ah=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),Wa=function(){return function(e,r,s){var n=0,d=e,c=rt(d),v={newElement:x,release:g};function x(){var C;return n?(n-=1,C=c[n]):C=r(),C}function g(C){n===d&&(c=Ah.double(c),d*=2),s&&s(C),c[n]=C,n+=1}return v}}(),Sh=function(){function e(){return{addedLength:0,percents:Q("float32",_s()),lengths:Q("float32",_s())}}return Wa(8,e)}(),_h=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var n,d=s.lengths.length;for(n=0;n<d;n+=1)Sh.release(s.lengths[n]);s.lengths.length=0}return Wa(8,e,r)}();function og(){var e=Math;function r(T,R,P,M,z,w){var _=T*M+R*z+P*w-z*M-w*T-P*R;return _>-.001&&_<.001}function s(T,R,P,M,z,w,_,y,A){if(P===0&&w===0&&A===0)return r(T,R,M,z,_,y);var k=e.sqrt(e.pow(M-T,2)+e.pow(z-R,2)+e.pow(w-P,2)),D=e.sqrt(e.pow(_-T,2)+e.pow(y-R,2)+e.pow(A-P,2)),V=e.sqrt(e.pow(_-M,2)+e.pow(y-z,2)+e.pow(A-w,2)),Y;return k>D?k>V?Y=k-D-V:Y=V-D-k:V>D?Y=V-D-k:Y=D-k-V,Y>-1e-4&&Y<1e-4}var n=function(){return function(T,R,P,M){var z=_s(),w,_,y,A,k,D=0,V,Y=[],X=[],ft=Sh.newElement();for(y=P.length,w=0;w<z;w+=1){for(k=w/(z-1),V=0,_=0;_<y;_+=1)A=Vt(1-k,3)*T[_]+3*Vt(1-k,2)*k*P[_]+3*(1-k)*Vt(k,2)*M[_]+Vt(k,3)*R[_],Y[_]=A,X[_]!==null&&(V+=Vt(Y[_]-X[_],2)),X[_]=Y[_];V&&(V=jt(V),D+=V),ft.percents[w]=k,ft.lengths[w]=D}return ft.addedLength=D,ft}}();function d(T){var R=_h.newElement(),P=T.c,M=T.v,z=T.o,w=T.i,_,y=T._length,A=R.lengths,k=0;for(_=0;_<y-1;_+=1)A[_]=n(M[_],M[_+1],z[_],w[_+1]),k+=A[_].addedLength;return P&&y&&(A[_]=n(M[_],M[0],z[_],w[0]),k+=A[_].addedLength),R.totalLength=k,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,P,M,z){var w=(R[0]+"_"+R[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!T[w]){var _=_s(),y,A,k,D,V,Y=0,X,ft,ht=null;R.length===2&&(R[0]!==P[0]||R[1]!==P[1])&&r(R[0],R[1],P[0],P[1],R[0]+M[0],R[1]+M[1])&&r(R[0],R[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(_=2);var et=new c(_);for(k=M.length,y=0;y<_;y+=1){for(ft=rt(k),V=y/(_-1),X=0,A=0;A<k;A+=1)D=Vt(1-V,3)*R[A]+3*Vt(1-V,2)*V*(R[A]+M[A])+3*(1-V)*Vt(V,2)*(P[A]+z[A])+Vt(V,3)*P[A],ft[A]=D,ht!==null&&(X+=Vt(ft[A]-ht[A],2));X=jt(X),Y+=X,et.points[y]=new v(X,ft),ht=ft}et.segmentLength=Y,T[w]=et}return T[w]}}();function g(T,R){var P=R.percents,M=R.lengths,z=P.length,w=oe((z-1)*T),_=T*R.addedLength,y=0;if(w===z-1||w===0||_===M[w])return P[w];for(var A=M[w]>_?-1:1,k=!0;k;)if(M[w]<=_&&M[w+1]>_?(y=(_-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])*y}function C(T,R,P,M,z,w){var _=g(z,w),y=1-_,A=e.round((y*y*y*T[0]+(_*y*y+y*_*y+y*y*_)*P[0]+(_*_*y+y*_*_+_*y*_)*M[0]+_*_*_*R[0])*1e3)/1e3,k=e.round((y*y*y*T[1]+(_*y*y+y*_*y+y*y*_)*P[1]+(_*_*y+y*_*_+_*y*_)*M[1]+_*_*_*R[1])*1e3)/1e3;return[A,k]}var L=Q("float32",8);function B(T,R,P,M,z,w,_){z<0?z=0:z>1&&(z=1);var y=g(z,_);w=w>1?1:w;var A=g(w,_),k,D=T.length,V=1-y,Y=1-A,X=V*V*V,ft=y*V*V*3,ht=y*y*V*3,et=y*y*y,yt=V*V*Y,lt=y*V*Y+V*y*Y+V*V*A,Z=y*y*Y+V*y*A+y*V*A,S=y*y*A,O=V*Y*Y,u=y*Y*Y+V*A*Y+V*Y*A,b=y*A*Y+V*A*A+y*Y*A,U=y*A*A,F=Y*Y*Y,at=A*Y*Y+Y*A*Y+Y*Y*A,mt=A*A*Y+Y*A*A+A*Y*A,vt=A*A*A;for(k=0;k<D;k+=1)L[k*4]=e.round((X*T[k]+ft*P[k]+ht*M[k]+et*R[k])*1e3)/1e3,L[k*4+1]=e.round((yt*T[k]+lt*P[k]+Z*M[k]+S*R[k])*1e3)/1e3,L[k*4+2]=e.round((O*T[k]+u*P[k]+b*M[k]+U*R[k])*1e3)/1e3,L[k*4+3]=e.round((F*T[k]+at*P[k]+mt*M[k]+vt*R[k])*1e3)/1e3;return L}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:C,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Tr=og(),zi=o,Ih=Math.abs;function Ch(e,r){var s=this.offsetTime,n;this.propType==="multidimensional"&&(n=Q("float32",this.pv.length));for(var d=r.lastIndex,c=d,v=this.keyframes.length-1,x=!0,g,C,L;x;){if(g=this.keyframes[c],C=this.keyframes[c+1],c===v-1&&e>=C.t-s){g.h&&(g=C),d=0;break}if(C.t-s>e){d=c;break}c<v-1?c+=1:(d=0,x=!1)}L=this.keyframesMetadata[c]||{};var B,T,R,P,M,z,w=C.t-s,_=g.t-s,y;if(g.to){L.bezierData||(L.bezierData=Tr.buildBezierData(g.s,C.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=w||e<_){var k=e>=w?A.points.length-1:0;for(T=A.points[k].point.length,B=0;B<T;B+=1)n[B]=A.points[k].point[B]}else{L.__fnct?z=L.__fnct:(z=ws.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,L.__fnct=z),R=z((e-_)/(w-_));var D=A.segmentLength*R,V,Y=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,P=A.points.length;x;){if(Y+=A.points[M].partialLength,D===0||R===0||M===A.points.length-1){for(T=A.points[M].point.length,B=0;B<T;B+=1)n[B]=A.points[M].point[B];break}else if(D>=Y&&D<Y+A.points[M+1].partialLength){for(V=(D-Y)/A.points[M+1].partialLength,T=A.points[M].point.length,B=0;B<T;B+=1)n[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=Y-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var X,ft,ht,et,yt;if(v=g.s.length,y=C.s||g.e,this.sh&&g.h!==1)if(e>=w)n[0]=y[0],n[1]=y[1],n[2]=y[2];else if(e<=_)n[0]=g.s[0],n[1]=g.s[1],n[2]=g.s[2];else{var lt=kh(g.s),Z=kh(y),S=(e-_)/(w-_);ag(n,sg(lt,Z,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=w?R=1:e<_?R=0:(g.o.x.constructor===Array?(L.__fnct||(L.__fnct=[]),L.__fnct[c]?z=L.__fnct[c]:(X=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],ft=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],ht=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],et=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],z=ws.getBezierEasing(X,ft,ht,et).get,L.__fnct[c]=z)):L.__fnct?z=L.__fnct:(X=g.o.x,ft=g.o.y,ht=g.i.x,et=g.i.y,z=ws.getBezierEasing(X,ft,ht,et).get,g.keyframeMetadata=z),R=z((e-_)/(w-_)))),y=C.s||g.e,yt=g.h===1?g.s[c]:g.s[c]+(y[c]-g.s[c])*R,this.propType==="multidimensional"?n[c]=yt:n=yt}return r.lastIndex=d,n}function sg(e,r,s){var n=[],d=e[0],c=e[1],v=e[2],x=e[3],g=r[0],C=r[1],L=r[2],B=r[3],T,R,P,M,z;return R=d*g+c*C+v*L+x*B,R<0&&(R=-R,g=-g,C=-C,L=-L,B=-B),1-R>1e-6?(T=Math.acos(R),P=Math.sin(T),M=Math.sin((1-s)*T)/P,z=Math.sin(s*T)/P):(M=1-s,z=s),n[0]=M*d+z*g,n[1]=M*c+z*C,n[2]=M*v+z*L,n[3]=M*x+z*B,n}function ag(e,r){var s=r[0],n=r[1],d=r[2],c=r[3],v=Math.atan2(2*n*c-2*s*d,1-2*n*n-2*d*d),x=Math.asin(2*s*n+2*d*c),g=Math.atan2(2*s*c-2*n*d,1-2*s*s-2*d*d);e[0]=v/It,e[1]=x/It,e[2]=g/It}function kh(e){var r=e[0]*It,s=e[1]*It,n=e[2]*It,d=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(n/2),x=Math.sin(r/2),g=Math.sin(s/2),C=Math.sin(n/2),L=d*c*v-x*g*C,B=x*g*v+d*c*C,T=x*c*v+d*g*C,R=d*g*v-x*c*C;return[B,T,R,L]}function wh(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==zi&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function ja(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Ih(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,n=this.v.length;s<n;)r=e[s]*this.mult,Ih(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function Ka(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function qa(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function ng(e,r,s,n){this.propType="unidimensional",this.mult=s||1,this.data=r,this.v=s?r.k*s:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Ka,this.setVValue=ja,this.addEffect=qa}function lg(e,r,s,n){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=Q("float32",c),this.pv=Q("float32",c),this.vel=Q("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=Ka,this.setVValue=ja,this.addEffect=qa}function cg(e,r,s,n){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:zi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=zi,this.pv=zi,this._isFirstFrame=!0,this.getValue=Ka,this.setVValue=ja,this.interpolateValue=Ch,this.effectsSequence=[wh.bind(this)],this.addEffect=qa}function dg(e,r,s,n){this.propType="multidimensional";var d,c=r.k.length,v,x,g,C;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&&(v=r.k[d].s,x=r.k[d+1].s,g=r.k[d].to,C=r.k[d].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+C[0],x[1]+C[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Tr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Tr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+C[0],x[1]+C[1],x[2]+C[2]))&&(r.k[d].to=null,r.k[d].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&C[0]===0&&C[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&C[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[wh.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=Ka,this.setVValue=ja,this.interpolateValue=Ch,this.frameId=-1;var L=r.k[0].s.length;for(this.v=Q("float32",L),this.pv=Q("float32",L),d=0;d<L;d+=1)this.v[d]=zi,this.pv[d]=zi;this._caching={lastFrame:zi,lastIndex:0,value:Q("float32",L)},this.addEffect=qa}var it=function(){function e(s,n,d,c,v){n.sid&&(n=s.globalData.slotManager.getProp(n));var x;if(!n.k.length)x=new ng(s,n,c,v);else if(typeof n.k[0]=="number")x=new lg(s,n,c,v);else switch(d){case 0:x=new cg(s,n,c,v);break;case 1:x=new dg(s,n,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function se(){}se.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,s=this.dynamicProperties.length;for(r=0;r<s;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 Vi=function(){function e(){return Q("float32",2)}return Wa(8,e)}();function Pr(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}Pr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Vi.newElement(),this.o[s]=Vi.newElement(),this.i[s]=Vi.newElement(),s+=1},Pr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Pr.prototype.doubleArrayLength=function(){this.v=this.v.concat(rt(this._maxLength)),this.i=this.i.concat(rt(this._maxLength)),this.o=this.o.concat(rt(this._maxLength)),this._maxLength*=2},Pr.prototype.setXYAt=function(e,r,s,n,d){var c;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[n]||c[n]&&!d)&&(c[n]=Vi.newElement()),c[n][0]=e,c[n][1]=r},Pr.prototype.setTripleAt=function(e,r,s,n,d,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,n,"o",v,x),this.setXYAt(d,c,"i",v,x)},Pr.prototype.reverse=function(){var e=new Pr;e.setPathData(this.c,this._length);var r=this.v,s=this.o,n=this.i,d=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],n[0][0],n[0][1],s[0][0],s[0][1],0,!1),d=1);var c=this._length-1,v=this._length,x;for(x=d;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],n[c][0],n[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Pr.prototype.length=function(){return this._length};var ce=function(){function e(){return new Pr}function r(d){var c=d._length,v;for(v=0;v<c;v+=1)Vi.release(d.v[v]),Vi.release(d.i[v]),Vi.release(d.o[v]),d.v[v]=null,d.i[v]=null,d.o[v]=null;d._length=0,d.c=!1}function s(d){var c=n.newElement(),v,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,v=0;v<x;v+=1)c.setTripleAt(d.v[v][0],d.v[v][1],d.o[v][0],d.o[v][1],d.i[v][0],d.i[v][1],v);return c}var n=Wa(4,e,r);return n.clone=s,n}();function Yl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}Yl.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(rt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Yl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ce.release(this.shapes[e]);this._length=0};var wo=function(){var e={newShapeCollection:d,release:c},r=0,s=4,n=rt(s);function d(){var v;return r?(r-=1,v=n[r]):v=new Yl,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)ce.release(v.shapes[x]);v._length=0,r===s&&(n=Ah.double(n),s*=2),n[r]=v,r+=1}return e}(),Za=function(){var e=-999999;function r(w,_,y){var A=y.lastIndex,k,D,V,Y,X,ft,ht,et,yt,lt=this.keyframes;if(w<lt[0].t-this.offsetTime)k=lt[0].s[0],V=!0,A=0;else if(w>=lt[lt.length-1].t-this.offsetTime)k=lt[lt.length-1].s?lt[lt.length-1].s[0]:lt[lt.length-2].e[0],V=!0;else{for(var Z=A,S=lt.length-1,O=!0,u,b,U;O&&(u=lt[Z],b=lt[Z+1],!(b.t-this.offsetTime>w));)Z<S-1?Z+=1:O=!1;if(U=this.keyframesMetadata[Z]||{},V=u.h===1,A=Z,!V){if(w>=b.t-this.offsetTime)et=1;else if(w<u.t-this.offsetTime)et=0;else{var F;U.__fnct?F=U.__fnct:(F=ws.getBezierEasing(u.o.x,u.o.y,u.i.x,u.i.y).get,U.__fnct=F),et=F((w-(u.t-this.offsetTime))/(b.t-this.offsetTime-(u.t-this.offsetTime)))}D=b.s?b.s[0]:u.e[0]}k=u.s[0]}for(ft=_._length,ht=k.i[0].length,y.lastIndex=A,Y=0;Y<ft;Y+=1)for(X=0;X<ht;X+=1)yt=V?k.i[Y][X]:k.i[Y][X]+(D.i[Y][X]-k.i[Y][X])*et,_.i[Y][X]=yt,yt=V?k.o[Y][X]:k.o[Y][X]+(D.o[Y][X]-k.o[Y][X])*et,_.o[Y][X]=yt,yt=V?k.v[Y][X]:k.v[Y][X]+(D.v[Y][X]-k.v[Y][X])*et,_.v[Y][X]=yt}function s(){var w=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<_&&w<_||A>y&&w>y)||(this._caching.lastIndex=A<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function n(){this.paths=this.localShapeCollection}function d(w,_){if(w._length!==_._length||w.c!==_.c)return!1;var y,A=w._length;for(y=0;y<A;y+=1)if(w.v[y][0]!==_.v[y][0]||w.v[y][1]!==_.v[y][1]||w.o[y][0]!==_.o[y][0]||w.o[y][1]!==_.o[y][1]||w.i[y][0]!==_.i[y][0]||w.i[y][1]!==_.i[y][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=ce.clone(w),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var w;this.kf?w=this.pv:this.data.ks?w=this.data.ks.k:w=this.data.pt.k;var _,y=this.effectsSequence.length;for(_=0;_<y;_+=1)w=this.effectsSequence[_](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(w,_,y){this.propType="shape",this.comp=w.comp,this.container=w,this.elem=w,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var A=y===3?_.pt.k:_.ks.k;this.v=ce.clone(A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function g(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function C(w,_,y){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=y===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=ce.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}C.prototype.getValue=v,C.prototype.interpolateShape=r,C.prototype.setVValue=c,C.prototype.addEffect=g;var L=function(){var w=le;function _(y,A){this.v=ce.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=wo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=y,this.comp=y.comp,this.frameId=-1,this.initDynamicPropertyContainer(y),this.p=it.getProp(y,A.p,1,0,this),this.s=it.getProp(y,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,Y=this.d!==3,X=this.v;X.v[0][0]=A,X.v[0][1]=k-V,X.v[1][0]=Y?A+D:A-D,X.v[1][1]=k,X.v[2][0]=A,X.v[2][1]=k+V,X.v[3][0]=Y?A-D:A+D,X.v[3][1]=k,X.i[0][0]=Y?A-D*w:A+D*w,X.i[0][1]=k-V,X.i[1][0]=Y?A+D:A-D,X.i[1][1]=k-V*w,X.i[2][0]=Y?A+D*w:A-D*w,X.i[2][1]=k+V,X.i[3][0]=Y?A-D:A+D,X.i[3][1]=k+V*w,X.o[0][0]=Y?A+D*w:A-D*w,X.o[0][1]=k-V,X.o[1][0]=Y?A+D:A-D,X.o[1][1]=k+V*w,X.o[2][0]=Y?A-D*w:A+D*w,X.o[2][1]=k+V,X.o[3][0]=Y?A-D:A+D,X.o[3][1]=k-V*w}},$([se],_),_}(),B=function(){function w(_,y){this.v=ce.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=y,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),y.sy===1?(this.ir=it.getProp(_,y.ir,0,0,this),this.is=it.getProp(_,y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=it.getProp(_,y.pt,0,0,this),this.p=it.getProp(_,y.p,1,0,this),this.r=it.getProp(_,y.r,0,It,this),this.or=it.getProp(_,y.or,0,0,this),this.os=it.getProp(_,y.os,0,.01,this),this.localShapeCollection=wo.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:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var y=Math.floor(this.pt.v)*2,A=Math.PI*2/y,k=!0,D=this.or.v,V=this.ir.v,Y=this.os.v,X=this.is.v,ft=2*Math.PI*D/(y*2),ht=2*Math.PI*V/(y*2),et,yt,lt,Z,S=-Math.PI/2;S+=this.r.v;var O=this.data.d===3?-1:1;for(this.v._length=0,et=0;et<y;et+=1){yt=k?D:V,lt=k?Y:X,Z=k?ft:ht;var u=yt*Math.cos(S),b=yt*Math.sin(S),U=u===0&&b===0?0:b/Math.sqrt(u*u+b*b),F=u===0&&b===0?0:-u/Math.sqrt(u*u+b*b);u+=+this.p.v[0],b+=+this.p.v[1],this.v.setTripleAt(u,b,u-U*Z*lt*O,b-F*Z*lt*O,u+U*Z*lt*O,b+F*Z*lt*O,et,!0),k=!k,S+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(y*4),Y,X=-Math.PI*.5,ft=this.data.d===3?-1:1;for(X+=this.r.v,this.v._length=0,Y=0;Y<y;Y+=1){var ht=k*Math.cos(X),et=k*Math.sin(X),yt=ht===0&&et===0?0:et/Math.sqrt(ht*ht+et*et),lt=ht===0&&et===0?0:-ht/Math.sqrt(ht*ht+et*et);ht+=+this.p.v[0],et+=+this.p.v[1],this.v.setTripleAt(ht,et,ht-yt*V*D*ft,et-lt*V*D*ft,ht+yt*V*D*ft,et+lt*V*D*ft,Y,!0),X+=A*ft}this.paths.length=0,this.paths[0]=this.v}},$([se],w),w}(),T=function(){function w(_,y){this.v=ce.newElement(),this.v.c=!0,this.localShapeCollection=wo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),this.p=it.getProp(_,y.p,1,0,this),this.s=it.getProp(_,y.s,1,0,this),this.r=it.getProp(_,y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var y=this.p.v[0],A=this.p.v[1],k=this.s.v[0]/2,D=this.s.v[1]/2,V=Se(k,D,this.r.v),Y=V*(1-le);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+V,y+k,A-D+Y,0,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-Y,y+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+k-V,A+D,y+k-V,A+D,y+k-Y,A+D,2,!0),this.v.setTripleAt(y-k+V,A+D,y-k+Y,A+D,y-k+V,A+D,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-V,y-k,A+D-Y,4,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+Y,y-k,A-D+V,5,!0),this.v.setTripleAt(y-k+V,A-D,y-k+V,A-D,y-k+Y,A-D,6,!0),this.v.setTripleAt(y+k-V,A-D,y+k-Y,A-D,y+k-V,A-D,7,!0)):(this.v.setTripleAt(y-k,A+D,y-k+Y,A+D,y-k,A+D,2),this.v.setTripleAt(y-k,A-D,y-k,A-D+Y,y-k,A-D,3))):(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+Y,y+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+k-V,A-D,y+k-V,A-D,y+k-Y,A-D,1,!0),this.v.setTripleAt(y-k+V,A-D,y-k+Y,A-D,y-k+V,A-D,2,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+V,y-k,A-D+Y,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-Y,y-k,A+D-V,4,!0),this.v.setTripleAt(y-k+V,A+D,y-k+V,A+D,y-k+Y,A+D,5,!0),this.v.setTripleAt(y+k-V,A+D,y+k-Y,A+D,y+k-V,A+D,6,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-V,y+k,A+D-Y,7,!0)):(this.v.setTripleAt(y-k,A-D,y-k+Y,A-D,y-k,A-D,1,!0),this.v.setTripleAt(y-k,A+D,y-k,A+D-Y,y-k,A+D,2,!0),this.v.setTripleAt(y+k,A+D,y+k-Y,A+D,y+k,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},$([se],w),w}();function R(w,_,y){var A;if(y===3||y===4){var k=y===3?_.pt:_.ks,D=k.k;D.length?A=new C(w,_,y):A=new x(w,_,y)}else y===5?A=new T(w,_):y===6?A=new L(w,_):y===7&&(A=new B(w,_));return A.k&&w.addDynamicProperty(A),A}function P(){return x}function M(){return C}var z={};return z.getShapeProp=R,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var de=function(){var e=Math.cos,r=Math.sin,s=Math.tan,n=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(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function v(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(1,0,0,0,0,b,-U,0,0,U,b,0,0,0,0,1)}function x(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,0,U,0,0,1,0,0,-U,0,b,0,0,0,0,1)}function g(u){if(u===0)return this;var b=e(u),U=r(u);return this._t(b,-U,0,0,U,b,0,0,0,0,1,0,0,0,0,1)}function C(u,b){return this._t(1,b,u,1,0,0)}function L(u,b){return this.shear(s(u),s(b))}function B(u,b){var U=e(b),F=r(b);return this._t(U,F,0,0,-F,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(u),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 T(u,b,U){return!U&&U!==0&&(U=1),u===1&&b===1&&U===1?this:this._t(u,0,0,0,0,b,0,0,0,0,U,0,0,0,0,1)}function R(u,b,U,F,at,mt,vt,wt,Nt,qt,Ce,Ar,ke,ae,Fe,Ot){return this.props[0]=u,this.props[1]=b,this.props[2]=U,this.props[3]=F,this.props[4]=at,this.props[5]=mt,this.props[6]=vt,this.props[7]=wt,this.props[8]=Nt,this.props[9]=qt,this.props[10]=Ce,this.props[11]=Ar,this.props[12]=ke,this.props[13]=ae,this.props[14]=Fe,this.props[15]=Ot,this}function P(u,b,U){return U=U||0,u!==0||b!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,u,b,U,1):this}function M(u,b,U,F,at,mt,vt,wt,Nt,qt,Ce,Ar,ke,ae,Fe,Ot){var ct=this.props;if(u===1&&b===0&&U===0&&F===0&&at===0&&mt===1&&vt===0&&wt===0&&Nt===0&&qt===0&&Ce===1&&Ar===0)return ct[12]=ct[12]*u+ct[15]*ke,ct[13]=ct[13]*mt+ct[15]*ae,ct[14]=ct[14]*Ce+ct[15]*Fe,ct[15]*=Ot,this._identityCalculated=!1,this;var $r=ct[0],bi=ct[1],zr=ct[2],Sr=ct[3],Vr=ct[4],Br=ct[5],we=ct[6],yi=ct[7],Ei=ct[8],hr=ct[9],Ti=ct[10],pr=ct[11],Gi=ct[12],an=ct[13],nn=ct[14],ln=ct[15];return ct[0]=$r*u+bi*at+zr*Nt+Sr*ke,ct[1]=$r*b+bi*mt+zr*qt+Sr*ae,ct[2]=$r*U+bi*vt+zr*Ce+Sr*Fe,ct[3]=$r*F+bi*wt+zr*Ar+Sr*Ot,ct[4]=Vr*u+Br*at+we*Nt+yi*ke,ct[5]=Vr*b+Br*mt+we*qt+yi*ae,ct[6]=Vr*U+Br*vt+we*Ce+yi*Fe,ct[7]=Vr*F+Br*wt+we*Ar+yi*Ot,ct[8]=Ei*u+hr*at+Ti*Nt+pr*ke,ct[9]=Ei*b+hr*mt+Ti*qt+pr*ae,ct[10]=Ei*U+hr*vt+Ti*Ce+pr*Fe,ct[11]=Ei*F+hr*wt+Ti*Ar+pr*Ot,ct[12]=Gi*u+an*at+nn*Nt+ln*ke,ct[13]=Gi*b+an*mt+nn*qt+ln*ae,ct[14]=Gi*U+an*vt+nn*Ce+ln*Fe,ct[15]=Gi*F+an*wt+nn*Ar+ln*Ot,this._identityCalculated=!1,this}function z(u){var b=u.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function 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 _(u){for(var b=0;b<16;){if(u.props[b]!==this.props[b])return!1;b+=1}return!0}function y(u){var b;for(b=0;b<16;b+=1)u.props[b]=this.props[b];return u}function A(u){var b;for(b=0;b<16;b+=1)this.props[b]=u[b]}function k(u,b,U){return{x:u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],y:u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],z:u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}}function D(u,b,U){return u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12]}function V(u,b,U){return u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13]}function Y(u,b,U){return u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]}function X(){var u=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/u,U=-this.props[1]/u,F=-this.props[4]/u,at=this.props[0]/u,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/u,vt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/u,wt=new de;return wt.props[0]=b,wt.props[1]=U,wt.props[4]=F,wt.props[5]=at,wt.props[12]=mt,wt.props[13]=vt,wt}function ft(u){var b=this.getInverseMatrix();return b.applyToPointArray(u[0],u[1],u[2]||0)}function ht(u){var b,U=u.length,F=[];for(b=0;b<U;b+=1)F[b]=ft(u[b]);return F}function et(u,b,U){var F=Q("float32",6);if(this.isIdentity())F[0]=u[0],F[1]=u[1],F[2]=b[0],F[3]=b[1],F[4]=U[0],F[5]=U[1];else{var at=this.props[0],mt=this.props[1],vt=this.props[4],wt=this.props[5],Nt=this.props[12],qt=this.props[13];F[0]=u[0]*at+u[1]*vt+Nt,F[1]=u[0]*mt+u[1]*wt+qt,F[2]=b[0]*at+b[1]*vt+Nt,F[3]=b[0]*mt+b[1]*wt+qt,F[4]=U[0]*at+U[1]*vt+Nt,F[5]=U[0]*mt+U[1]*wt+qt}return F}function yt(u,b,U){var F;return this.isIdentity()?F=[u,b,U]:F=[u*this.props[0]+b*this.props[4]+U*this.props[8]+this.props[12],u*this.props[1]+b*this.props[5]+U*this.props[9]+this.props[13],u*this.props[2]+b*this.props[6]+U*this.props[10]+this.props[14]],F}function lt(u,b){if(this.isIdentity())return u+","+b;var U=this.props;return Math.round((u*U[0]+b*U[4]+U[12])*100)/100+","+Math.round((u*U[1]+b*U[5]+U[13])*100)/100}function Z(){for(var u=0,b=this.props,U="matrix3d(",F=1e4;u<16;)U+=n(b[u]*F)/F,U+=u===15?")":",",u+=1;return U}function S(u){var b=1e4;return u<1e-6&&u>0||u>-1e-6&&u<0?n(u*b)/b:u}function O(){var u=this.props,b=S(u[0]),U=S(u[1]),F=S(u[4]),at=S(u[5]),mt=S(u[12]),vt=S(u[13]);return"matrix("+b+","+U+","+F+","+at+","+mt+","+vt+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=L,this.skewFromAxis=B,this.shear=C,this.scale=T,this.setTransform=R,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=Y,this.applyToPointArray=yt,this.applyToTriplePoints=et,this.applyToPointStringified=lt,this.toCSS=Z,this.to2dCSS=O,this.clone=y,this.cloneFromProps=A,this.equals=_,this.inversePoints=ht,this.inversePoint=ft,this.getInverseMatrix=X,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=Q("float32",16),this.reset()}}();function Xa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Xa=function(s){return typeof s}:Xa=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Xa(e)}var Mt={},Qa="__[STANDALONE]__",Nh="__[ANIMATIONDATA]__",Lh="";function hg(e){m(e)}function Rh(){Qa===!0?Kt.searchAnimations(Nh,Qa,Lh):Kt.searchAnimations()}function pg(e){Kv(e)}function mg(e){Xv(e)}function ug(e){return Qa===!0&&(e.animationData=JSON.parse(Nh)),Kt.loadAnimation(e)}function fg(e){if(typeof e=="string")switch(e){case"high":Ga(200);break;default:case"medium":Ga(50);break;case"low":Ga(10);break}else!isNaN(e)&&e>1&&Ga(e);_s()>=50?Ge(!1):Ge(!0)}function vg(){return typeof navigator<"u"}function gg(e,r){e==="expressions"&&Zv(r)}function bg(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return Za;case"matrix":return de;default:return null}}Mt.play=Kt.play,Mt.pause=Kt.pause,Mt.setLocationHref=hg,Mt.togglePause=Kt.togglePause,Mt.setSpeed=Kt.setSpeed,Mt.setDirection=Kt.setDirection,Mt.stop=Kt.stop,Mt.searchAnimations=Rh,Mt.registerAnimation=Kt.registerAnimation,Mt.loadAnimation=ug,Mt.setSubframeRendering=pg,Mt.resize=Kt.resize,Mt.goToAndStop=Kt.goToAndStop,Mt.destroy=Kt.destroy,Mt.setQuality=fg,Mt.inBrowser=vg,Mt.installPlugin=gg,Mt.freeze=Kt.freeze,Mt.unfreeze=Kt.unfreeze,Mt.setVolume=Kt.setVolume,Mt.mute=Kt.mute,Mt.unmute=Kt.unmute,Mt.getRegisteredAnimations=Kt.getRegisteredAnimations,Mt.useWebWorker=a,Mt.setIDPrefix=mg,Mt.__getFactory=bg,Mt.version="5.12.2";function yg(){document.readyState==="complete"&&(clearInterval(xg),Rh())}function Eg(e){for(var r=Mh.split("&"),s=0;s<r.length;s+=1){var n=r[s].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}var Mh="";if(Qa){var Oh=document.getElementsByTagName("script"),Tg=Oh.length-1,Ph=Oh[Tg]||{src:""};Mh=Ph.src?Ph.src.replace(/^[^\?]+\??/,""):"",Lh=Eg("renderer")}var xg=setInterval(yg,100);try{!((typeof oa>"u"?"undefined":Xa(oa))==="object"&&typeof Dn<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var pi=function(){var e={},r={};e.registerModifier=s,e.getModifier=n;function s(d,c){r[d]||(r[d]=c)}function n(d,c,v){return new r[d](c,v)}return e}();function Ke(){}Ke.prototype.initModifierProperties=function(){},Ke.prototype.addShapeToModifier=function(){},Ke.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:wo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Ke.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ke.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([se],Ke);function dr(){}$([Ke],dr),dr.prototype.initModifierProperties=function(e,r){this.s=it.getProp(e,r.s,0,.01,this),this.e=it.getProp(e,r.e,0,.01,this),this.o=it.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},dr.prototype.addShapeToModifier=function(e){e.pathsData=[]},dr.prototype.calculateShapeEdges=function(e,r,s,n,d){var c=[];r<=1?c.push({s:e,e:r}):e>=1?c.push({s:e-1,e:r-1}):(c.push({s:e,e:1}),c.push({s:0,e:r-1}));var v=[],x,g=c.length,C;for(x=0;x<g;x+=1)if(C=c[x],!(C.e*d<n||C.s*d>n+s)){var L,B;C.s*d<=n?L=0:L=(C.s*d-n)/s,C.e*d>=n+s?B=1:B=(C.e*d-n)/s,v.push([L,B])}return v.length||v.push([0,0]),v},dr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)_h.release(e[r]);return e.length=0,e},dr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var n=this.o.v%360/360;if(n<0&&(n+=1),this.s.v>1?r=1+n:this.s.v<0?r=0+n:r=this.s.v+n,this.e.v>1?s=1+n:this.e.v<0?s=0+n:s=this.e.v+n,r>s){var d=r;r=s,s=d}r=Math.round(r*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=r,this.eValue=s}else r=this.sValue,s=this.eValue;var c,v,x=this.shapes.length,g,C,L,B,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var P=[],M,z;for(v=0;v<x;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,C=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(L=this.releasePathsData(M.pathsData),g=0;g<C;g+=1)B=Tr.getSegmentsLength(c.shapes[g]),L.push(B),T+=B.totalLength;M.totalShapeLength=T,M.pathsData=L}R+=T,M.shape._mdf=!0}var w=r,_=s,y=0,A;for(v=x-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,M.totalShapeLength,y,R),y+=M.totalShapeLength):A=[[w,_]],C=A.length,g=0;g<C;g+=1){w=A[g][0],_=A[g][1],P.length=0,_<=1?P.push({s:M.totalShapeLength*w,e:M.totalShapeLength*_}):w>=1?P.push({s:M.totalShapeLength*(w-1),e:M.totalShapeLength*(_-1)}):(P.push({s:M.totalShapeLength*w,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(_-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}}},dr.prototype.addPaths=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)r.addShape(e[s])},dr.prototype.addSegment=function(e,r,s,n,d,c,v){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(s[0],s[1],"i",c+1),v&&d.setXYAt(e[0],e[1],"v",c),d.setXYAt(n[0],n[1],"v",c+1)},dr.prototype.addSegmentFromArray=function(e,r,s,n){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),n&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},dr.prototype.addShapes=function(e,r,s){var n=e.pathsData,d=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,C=0,L,B,T,R,P=[],M,z=!0;for(s?(B=s._length,M=s._length):(s=ce.newElement(),B=0,M=0),P.push(s),c=0;c<v;c+=1){for(T=n[c].lengths,s.c=d[c].c,g=d[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(L=T[x-1],C+L.addedLength<r.s)C+=L.addedLength,s.c=!1;else if(C>r.e){s.c=!1;break}else r.s<=C&&r.e>=C+L.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],s,B,z),z=!1):(R=Tr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-C)/L.addedLength,(r.e-C)/L.addedLength,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1),C+=L.addedLength,B+=1;if(d[c].c&&T.length){if(L=T[x-1],C<=r.e){var w=T[x-1].addedLength;r.s<=C&&r.e>=C+w?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],s,B,z),z=!1):(R=Tr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-C)/w,(r.e-C)/w,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1)}else s.c=!1;C+=L.addedLength,B+=1}if(s._length&&(s.setXYAt(s.v[M][0],s.v[M][1],"i",M),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),C>r.e)break;c<v-1&&(s=ce.newElement(),z=!0,P.push(s),B=0)}return P};function Ns(){}$([Ke],Ns),Ns.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ns.prototype.processPath=function(e,r){var s=r/100,n=[0,0],d=e._length,c=0;for(c=0;c<d;c+=1)n[0]+=e.v[c][0],n[1]+=e.v[c][1];n[0]/=d,n[1]/=d;var v=ce.newElement();v.c=e.c;var x,g,C,L,B,T;for(c=0;c<d;c+=1)x=e.v[c][0]+(n[0]-e.v[c][0])*s,g=e.v[c][1]+(n[1]-e.v[c][1])*s,C=e.o[c][0]+(n[0]-e.o[c][0])*-s,L=e.o[c][1]+(n[1]-e.o[c][1])*-s,B=e.i[c][0]+(n[0]-e.i[c][0])*-s,T=e.i[c][1]+(n[1]-e.i[c][1])*-s,v.setTripleAt(x,g,C,L,B,T,c);return v},Ns.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<n;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Wl=function(){var e=[0,0];function r(g){var C=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||C,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var C;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 L,B;if(C=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(L=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/C,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/C,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(L=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/C,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/C,0)):(L=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/C,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],B=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(L[0]=T.getValueAtTime((T.keyframes[0].t+.01)/C,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/C,0),B[0]=T.getValueAtTime(T.keyframes[0].t/C,0),B[1]=R.getValueAtTime(R.keyframes[0].t/C,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(L[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/C,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/C,0),B[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/C,0),B[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/C,0)):(L=[T.pv,R.pv],B[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/C,T.offsetTime),B[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/C,R.offsetTime))}else B=e,L=B;this.v.rotate(-Math.atan2(L[1]-B[1],L[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 n(){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(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,C,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=C,this.v=new de,this.pre=new de,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),C.p&&C.p.s?(this.px=it.getProp(g,C.p.x,0,0,this),this.py=it.getProp(g,C.p.y,0,0,this),C.p.z&&(this.pz=it.getProp(g,C.p.z,0,0,this))):this.p=it.getProp(g,C.p||{k:[0,0,0]},1,0,this),C.rx){if(this.rx=it.getProp(g,C.rx,0,It,this),this.ry=it.getProp(g,C.ry,0,It,this),this.rz=it.getProp(g,C.rz,0,It,this),C.or.k[0].ti){var B,T=C.or.k.length;for(B=0;B<T;B+=1)C.or.k[B].to=null,C.or.k[B].ti=null}this.or=it.getProp(g,C.or,1,It,this),this.or.sh=!0}else this.r=it.getProp(g,C.r||{k:0},0,It,this);C.sk&&(this.sk=it.getProp(g,C.sk,0,It,this),this.sa=it.getProp(g,C.sa,0,It,this)),this.a=it.getProp(g,C.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(g,C.s||{k:[100,100,100]},1,.01,this),C.o?this.o=it.getProp(g,C.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:r,getValue:s,precalculateMatrix:n,autoOrient:d},$([se],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=se.prototype.addDynamicProperty;function x(g,C,L){return new v(g,C,L)}return{getTransformProperty:x}}();function xr(){}$([Ke],xr),xr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=it.getProp(e,r.c,0,null,this),this.o=it.getProp(e,r.o,0,null,this),this.tr=Wl.getTransformProperty(e,r.tr,this),this.so=it.getProp(e,r.tr.so,0,.01,this),this.eo=it.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new de,this.rMatrix=new de,this.sMatrix=new de,this.tMatrix=new de,this.matrix=new de},xr.prototype.applyTransforms=function(e,r,s,n,d,c){var v=c?-1:1,x=n.s.v[0]+(1-n.s.v[0])*(1-d),g=n.s.v[1]+(1-n.s.v[1])*(1-d);e.translate(n.p.v[0]*v*d,n.p.v[1]*v*d,n.p.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.rotate(-n.r.v*v*d),r.translate(n.a.v[0],n.a.v[1],n.a.v[2]),s.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(n.a.v[0],n.a.v[1],n.a.v[2])},xr.prototype.init=function(e,r,s,n){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[s]);s>0;)s-=1,this._elements.unshift(r[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},xr.prototype.resetElements=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},xr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},xr.prototype.changeGroupRender=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},xr.prototype.processShapes=function(e){var r,s,n,d,c,v=!1;if(this._mdf||e){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var C;for(n=0;n<=this._groups.length-1;n+=1){if(C=c<x,this._groups[n]._render=C,this.changeGroupRender(this._groups[n].it,C),!C){var L=this.elemsData[n].it,B=L[L.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 T=this.o.v,R=T%1,P=T>0?Math.floor(T):Math.ceil(T),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 _=0;if(T>0){for(;_<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),_+=R)}else if(T<0){for(;_>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),_-=R)}n=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var y,A;c;){if(r=this.elemsData[n].it,s=r[r.length-1].transform.mProps.v.props,A=s.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)*(n/(this._currentCopies-1)),_!==0){for((n!==0&&d===1||n!==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]),y=0;y<A;y+=1)s[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<A;y+=1)s[y]=this.matrix.props[y];_+=1,c-=1,n+=d}}else for(c=this._currentCopies,n=0,d=1;c;)r=this.elemsData[n].it,s=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,n+=d;return v},xr.prototype.addShape=function(){};function Ls(){}$([Ke],Ls),Ls.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=it.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Ls.prototype.processPath=function(e,r){var s=ce.newElement();s.c=e.c;var n,d=e._length,c,v,x,g,C,L,B=0,T,R,P,M,z,w;for(n=0;n<d;n+=1)c=e.v[n],x=e.o[n],v=e.i[n],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(n===0||n===d-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],B),B+=1):(n===0?g=e.v[d-1]:g=e.v[n-1],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,z=c[0]+(g[0]-c[0])*L,T=z,w=c[1]-(c[1]-g[1])*L,R=w,P=T-(T-c[0])*le,M=R-(R-c[1])*le,s.setTripleAt(T,R,P,M,z,w,B),B+=1,n===d-1?g=e.v[0]:g=e.v[n+1],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,P=c[0]+(g[0]-c[0])*L,T=P,M=c[1]+(g[1]-c[1])*L,R=M,z=T-(T-c[0])*le,w=R-(R-c[1])*le,s.setTripleAt(T,R,P,M,z,w,B),B+=1):(s.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],B),B+=1);return s},Ls.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<n;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Ja(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function jl(e){return Math.abs(e)<=1e-5}function Dh(e,r,s){return e*(1-s)+r*s}function mi(e,r,s){return[Dh(e[0],r[0],s),Dh(e[1],r[1],s)]}function Ag(e,r,s){if(e===0)return[];var n=r*r-4*e*s;if(n<0)return[];var d=-r/(2*e);if(n===0)return[d];var c=Math.sqrt(n)/(2*e);return[d-c,d+c]}function Fh(e,r,s,n){return[-e+3*r-3*s+n,3*e-6*r+3*s,-3*e+3*r,e]}function $h(e){return new Ut(e,e,e,e,!1)}function Ut(e,r,s,n,d){d&&Lo(e,r)&&(r=mi(e,n,1/3)),d&&Lo(s,n)&&(s=mi(e,n,2/3));var c=Fh(e[0],r[0],s[0],n[0]),v=Fh(e[1],r[1],s[1],n[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,r,s,n]}Ut.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Ut.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Ut.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Ut.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Ut.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(jl(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var n=Math.sqrt(s);return jl(n)?n>0&&n<1?[r]:[]:[r-n,r+n].filter(function(d){return d>0&&d<1})},Ut.prototype.split=function(e){if(e<=0)return[$h(this.points[0]),this];if(e>=1)return[this,$h(this.points[this.points.length-1])];var r=mi(this.points[0],this.points[1],e),s=mi(this.points[1],this.points[2],e),n=mi(this.points[2],this.points[3],e),d=mi(r,s,e),c=mi(s,n,e),v=mi(d,c,e);return[new Ut(this.points[0],r,d,v,!0),new Ut(v,c,n,this.points[3],!0)]};function zh(e,r){var s=e.points[0][r],n=e.points[e.points.length-1][r];if(s>n){var d=n;n=s,s=d}for(var c=Ag(3*e.a[r],2*e.b[r],e.c[r]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var x=e.point(c[v])[r];x<s?s=x:x>n&&(n=x)}return{min:s,max:n}}Ut.prototype.bounds=function(){return{x:zh(this,0),y:zh(this,1)}},Ut.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function tn(e,r,s){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function Vh(e){var r=e.bez.split(.5);return[tn(r[0],e.t1,e.t),tn(r[1],e.t,e.t2)]}function Sg(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function Rs(e,r,s,n,d,c){if(Sg(e,r)){if(s>=c||e.width<=n&&e.height<=n&&r.width<=n&&r.height<=n){d.push([e.t,r.t]);return}var v=Vh(e),x=Vh(r);Rs(v[0],x[0],s+1,n,d,c),Rs(v[0],x[1],s+1,n,d,c),Rs(v[1],x[0],s+1,n,d,c),Rs(v[1],x[1],s+1,n,d,c)}}Ut.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var n=[];return Rs(tn(this,0,1),tn(e,0,1),0,r,n,s),n},Ut.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Ut.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function Kl(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function en(e,r,s,n){var d=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[n[0],n[1],1],g=Kl(Kl(d,c),Kl(v,x));return jl(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function No(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function ql(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Lo(e,r){return Ja(e[0],r[0])&&Ja(e[1],r[1])}function Ms(){}$([Ke],Ms),Ms.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=it.getProp(e,r.s,0,null,this),this.frequency=it.getProp(e,r.r,0,null,this),this.pointsType=it.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Bh(e,r,s,n,d,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,C=r[0]+Math.cos(s)*n*d,L=r[1]-Math.sin(s)*n*d;e.setTripleAt(C,L,C+Math.cos(x)*c,L-Math.sin(x)*c,C+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function _g(e,r){var s=[r[0]-e[0],r[1]-e[1]],n=-Math.PI*.5,d=[Math.cos(n)*s[0]-Math.sin(n)*s[1],Math.sin(n)*s[0]+Math.cos(n)*s[1]];return d}function Ig(e,r){var s=r===0?e.length()-1:r-1,n=(r+1)%e.length(),d=e.v[s],c=e.v[n],v=_g(d,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Uh(e,r,s,n,d,c,v){var x=Ig(r,s),g=r.v[s%r._length],C=r.v[s===0?r._length-1:s-1],L=r.v[(s+1)%r._length],B=c===2?Math.sqrt(Math.pow(g[0]-C[0],2)+Math.pow(g[1]-C[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Bh(e,r.v[s%r._length],x,v,n,T/((d+1)*2),B/((d+1)*2),c)}function Cg(e,r,s,n,d,c){for(var v=0;v<n;v+=1){var x=(v+1)/(n+1),g=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,C=r.normalAngle(x),L=r.point(x);Bh(e,L,C,c,s,g/((n+1)*2),g/((n+1)*2),d),c=-c}return c}Ms.prototype.processPath=function(e,r,s,n){var d=e._length,c=ce.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var v=-1,x=Ut.shapeSegment(e,0);Uh(c,e,0,r,s,n,v);for(var g=0;g<d;g+=1)v=Cg(c,x,r,s,n,-v),g===d-1&&!e.c?x=null:x=Ut.shapeSegment(e,(g+1)%d),Uh(c,e,g+1,r,s,n,v);return c},Ms.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,x,g));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Zl(e,r,s){var n=Math.atan2(r[0]-e[0],r[1]-e[1]);return[No(e,n,s),No(r,n,s)]}function Ro(e,r){var s,n,d,c,v,x,g;g=Zl(e.points[0],e.points[1],r),s=g[0],n=g[1],g=Zl(e.points[1],e.points[2],r),d=g[0],c=g[1],g=Zl(e.points[2],e.points[3],r),v=g[0],x=g[1];var C=en(s,n,d,c);C===null&&(C=n);var L=en(v,x,d,c);return L===null&&(L=v),new Ut(s,C,L,x)}function Hh(e,r,s,n,d){var c=r.points[3],v=s.points[0];if(n===3||Lo(c,v))return c;if(n===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,C=en(c,No(c,x+Math.PI/2,100),v,No(v,x+Math.PI/2,100)),L=C?ql(C,c):ql(c,v)/2,B=No(c,x,2*L*le);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=No(v,g,2*L*le),e.setTripleAt(v[0],v[1],v[0],v[1],B[0],B[1],e.length()),v}var T=Lo(c,r.points[2])?r.points[0]:r.points[2],R=Lo(v,s.points[1])?s.points[3]:s.points[1],P=en(T,c,v,R);return P&&ql(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function Gh(e,r){var s=e.intersections(r);return s.length&&Ja(s[0][0],1)&&s.shift(),s.length?s[0]:null}function Yh(e,r){var s=e.slice(),n=r.slice(),d=Gh(e[e.length-1],r[0]);return d&&(s[e.length-1]=e[e.length-1].split(d[0])[0],n[0]=r[0].split(d[1])[1]),e.length>1&&r.length>1&&(d=Gh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[s,n]}function kg(e){for(var r,s=1;s<e.length;s+=1)r=Yh(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=Yh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function Wh(e,r){var s=e.inflectionPoints(),n,d,c,v;if(s.length===0)return[Ro(e,r)];if(s.length===1||Ja(s[1],1))return c=e.split(s[0]),n=c[0],d=c[1],[Ro(n,r),Ro(d,r)];c=e.split(s[0]),n=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],d=c[1],[Ro(n,r),Ro(v,r),Ro(d,r)]}function Os(){}$([Ke],Os),Os.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this.miterLimit=it.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Os.prototype.processPath=function(e,r,s,n){var d=ce.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,C=[];for(v=0;v<c;v+=1)g=Ut.shapeSegment(e,v),C.push(Wh(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Ut.shapeSegmentInverted(e,v),C.push(Wh(g,r));C=kg(C);var L=null,B=null;for(v=0;v<C.length;v+=1){var T=C[v];for(B&&(L=Hh(d,B,T[0],s,n)),B=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],L&&Lo(g.points[0],L)?d.setXYAt(g.points[1][0],g.points[1][1],"o",d.length()-1):d.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],d.length()),d.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],d.length()),L=g.points[3]}return C.length&&Hh(d,B,C[0][0],s,n),d},Os.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,g,x));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function jh(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",n="normal",d=r.length,c,v=0;v<d;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":n="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break;default:break}return{style:n,weight:e.fWeight||s}}var Bi=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.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 n=127988,d=917631,c=917601,v=917626,x=65039,g=8205,C=127462,L=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(S){var O=S.split(","),u,b=O.length,U=[];for(u=0;u<b;u+=1)O[u]!=="sans-serif"&&O[u]!=="monospace"&&U.push(O[u]);return U.join(",")}function R(S,O){var u=N("span");u.setAttribute("aria-hidden",!0),u.style.fontFamily=O;var b=N("span");b.innerText="giItT1WQy@!-/#",u.style.position="absolute",u.style.left="-10000px",u.style.top="-10000px",u.style.fontSize="300px",u.style.fontVariant="normal",u.style.fontStyle="normal",u.style.fontWeight="normal",u.style.letterSpacing="0",u.appendChild(b),document.body.appendChild(u);var U=b.offsetWidth;return b.style.fontFamily=T(S)+", "+O,{node:b,w:U,parent:u}}function P(){var S,O=this.fonts.length,u,b,U=O;for(S=0;S<O;S+=1)this.fonts[S].loaded?U-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(u=this.fonts[S].monoCase.node,b=this.fonts[S].monoCase.w,u.offsetWidth!==b?(U-=1,this.fonts[S].loaded=!0):(u=this.fonts[S].sansCase.node,b=this.fonts[S].sansCase.w,u.offsetWidth!==b&&(U-=1,this.fonts[S].loaded=!0)),this.fonts[S].loaded&&(this.fonts[S].sansCase.parent.parentNode.removeChild(this.fonts[S].sansCase.parent),this.fonts[S].monoCase.parent.parentNode.removeChild(this.fonts[S].monoCase.parent)));U!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(S,O){var u=document.body&&O?"svg":"canvas",b,U=jh(S);if(u==="svg"){var F=bt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",U.style),F.setAttribute("font-weight",U.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,O.appendChild(F),b=F}else{var at=new OffscreenCanvas(500,500).getContext("2d");at.font=U.style+" "+U.weight+" 100px "+S.fFamily,b=at}function mt(vt){return u==="svg"?(b.textContent=vt,b.getComputedTextLength()):b.measureText(vt).width}return{measureText:mt}}function z(S,O){if(!S){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=S.list;return}if(!document.body){this.isLoaded=!0,S.list.forEach(function(Ce){Ce.helper=M(Ce),Ce.cache={}}),this.fonts=S.list;return}var u=S.list,b,U=u.length,F=U;for(b=0;b<U;b+=1){var at=!0,mt,vt;if(u[b].loaded=!1,u[b].monoCase=R(u[b].fFamily,"monospace"),u[b].sansCase=R(u[b].fFamily,"sans-serif"),!u[b].fPath)u[b].loaded=!0,F-=1;else if(u[b].fOrigin==="p"||u[b].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+u[b].fFamily+'"], style[f-origin="3"][f-family="'+u[b].fFamily+'"]'),mt.length>0&&(at=!1),at){var wt=N("style");wt.setAttribute("f-forigin",u[b].fOrigin),wt.setAttribute("f-origin",u[b].origin),wt.setAttribute("f-family",u[b].fFamily),wt.type="text/css",wt.innerText="@font-face {font-family: "+u[b].fFamily+"; font-style: normal; src: url('"+u[b].fPath+"');}",O.appendChild(wt)}}else if(u[b].fOrigin==="g"||u[b].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),vt=0;vt<mt.length;vt+=1)mt[vt].href.indexOf(u[b].fPath)!==-1&&(at=!1);if(at){var Nt=N("link");Nt.setAttribute("f-forigin",u[b].fOrigin),Nt.setAttribute("f-origin",u[b].origin),Nt.type="text/css",Nt.rel="stylesheet",Nt.href=u[b].fPath,document.body.appendChild(Nt)}}else if(u[b].fOrigin==="t"||u[b].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),vt=0;vt<mt.length;vt+=1)u[b].fPath===mt[vt].src&&(at=!1);if(at){var qt=N("link");qt.setAttribute("f-forigin",u[b].fOrigin),qt.setAttribute("f-origin",u[b].origin),qt.setAttribute("rel","stylesheet"),qt.setAttribute("href",u[b].fPath),O.appendChild(qt)}}u[b].helper=M(u[b],O),u[b].cache={},this.fonts.push(u[b])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(S){if(S){this.chars||(this.chars=[]);var O,u=S.length,b,U=this.chars.length,F;for(O=0;O<u;O+=1){for(b=0,F=!1;b<U;)this.chars[b].style===S[O].style&&this.chars[b].fFamily===S[O].fFamily&&this.chars[b].ch===S[O].ch&&(F=!0),b+=1;F||(this.chars.push(S[O]),U+=1)}}}function _(S,O,u){for(var b=0,U=this.chars.length;b<U;){if(this.chars[b].ch===S&&this.chars[b].style===O&&this.chars[b].fFamily===u)return this.chars[b];b+=1}return(typeof S=="string"&&S.charCodeAt(0)!==13||!S)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",S,O,u)),r}function y(S,O,u){var b=this.getFontByName(O),U=S;if(!b.cache[U]){var F=b.helper;if(S===" "){var at=F.measureText("|"+S+"|"),mt=F.measureText("||");b.cache[U]=(at-mt)/100}else b.cache[U]=F.measureText(S)/100}return b.cache[U]*u}function A(S){for(var O=0,u=this.fonts.length;O<u;){if(this.fonts[O].fName===S)return this.fonts[O];O+=1}return this.fonts[0]}function k(S){var O=0,u=S.charCodeAt(0);if(u>=55296&&u<=56319){var b=S.charCodeAt(1);b>=56320&&b<=57343&&(O=(u-55296)*1024+b-56320+65536)}return O}function D(S,O){var u=S.toString(16)+O.toString(16);return B.indexOf(u)!==-1}function V(S){return S===g}function Y(S){return S===x}function X(S){var O=k(S);return O>=C&&O<=L}function ft(S){return X(S.substr(0,2))&&X(S.substr(2,2))}function ht(S){return s.indexOf(S)!==-1}function et(S,O){var u=k(S.substr(O,2));if(u!==n)return!1;var b=0;for(O+=2;b<5;){if(u=k(S.substr(O,2)),u<c||u>v)return!1;b+=1,O+=2}return k(S.substr(O,2))===d}function yt(){this.isLoaded=!0}var lt=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};lt.isModifier=D,lt.isZeroWidthJoiner=V,lt.isFlagEmoji=ft,lt.isRegionalCode=X,lt.isCombinedCharacter=ht,lt.isRegionalFlag=et,lt.isVariationSelector=Y,lt.BLACK_FLAG_CODE_POINT=n;var Z={addChars:w,addFonts:z,getCharData:_,getFontByName:A,measureText:y,checkLoadedFonts:P,setIsLoaded:yt};return lt.prototype=Z,lt}();function Kh(e){this.animationData=e}Kh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function wg(e){return new Kh(e)}function rn(){}rn.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,s=this.renderableComponents.length;for(r=0;r<s;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 Xl=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return e[r]||""}}();function Ng(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Lg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Rg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Mg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Og(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Pg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Dg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Fg(){this.p={}}function qh(e,r){var s=e.ef||[];this.effectElements=[];var n,d=s.length,c;for(n=0;n<d;n+=1)c=new Ps(s[n],r),this.effectElements.push(c)}function Ps(e,r){this.init(e,r)}$([se],Ps),Ps.prototype.getValue=Ps.prototype.iterateDynamicProperties,Ps.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,n=this.data.ef.length,d,c=this.data.ef;for(s=0;s<n;s+=1){switch(d=null,c[s].ty){case 0:d=new Ng(c[s],r,this);break;case 1:d=new Lg(c[s],r,this);break;case 2:d=new Rg(c[s],r,this);break;case 3:d=new Mg(c[s],r,this);break;case 4:case 7:d=new Dg(c[s],r,this);break;case 10:d=new Og(c[s],r,this);break;case 11:d=new Pg(c[s],r,this);break;case 5:d=new qh(c[s],r,this);break;default:d=new Fg(c[s],r,this);break}d&&this.effectElements.push(d)}};function ui(){}ui.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,s=this.data.masksProperties.length;r<s;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=Th();if(r){var s=r("layer"),n=r("effects"),d=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=v(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=Xl(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,n){this.globalData=s,this.comp=n,this.data=r,this.layerId=_e(),this.data.sr||(this.data.sr=1),this.effectsManager=new qh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function fi(){}fi.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var n,d=this.dynamicProperties.length;for(n=0;n<d;n+=1)(s||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function vi(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,s)}vi.prototype.prepareFrame=function(){},$([rn,ui,fi],vi),vi.prototype.getBaseElement=function(){return null},vi.prototype.renderFrame=function(){},vi.prototype.destroy=function(){},vi.prototype.initExpressions=function(){var e=Th();if(e){var r=e("footage");this.layerInterface=r(this)}},vi.prototype.getFootageData=function(){return this.footageData};function Ie(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,s),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=it.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Ie.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},$([rn,ui,fi],Ie),Ie.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))},Ie.prototype.show=function(){},Ie.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Ie.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Ie.prototype.resume=function(){this._canPlay=!0},Ie.prototype.setRate=function(e){this.audio.rate(e)},Ie.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Ie.prototype.getBaseElement=function(){return null},Ie.prototype.destroy=function(){},Ie.prototype.sourceRectAtTime=function(){},Ie.prototype.initExpressions=function(){};function he(){}he.prototype.checkLayers=function(e){var r,s=this.layers.length,n;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(n=this.layers[r],n.ip-n.st<=e-this.layers[r].st&&n.op-n.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},he.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},he.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},he.prototype.createAudio=function(e){return new Ie(e,this.globalData,this)},he.prototype.createFootage=function(e){return new vi(e,this.globalData,this)},he.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},he.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,n,d=this.layers.length;for(r=0;r<s;r+=1)for(n=0;n<d;){if(this.layers[n].id===e[r].id){this.layers[n]=e[r];break}n+=1}},he.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},he.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},he.prototype.buildElementParenting=function(e,r,s){for(var n=this.elements,d=this.layers,c=0,v=d.length;c<v;)d[c].ind==r&&(!n[c]||n[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(n[c]),n[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(e,d[c].parent,s):e.setHierarchy(s))),c+=1},he.prototype.addPendingElement=function(e){this.pendingElements.push(e)},he.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var n=this.createComp(e[r]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},he.prototype.getElementById=function(e){var r,s=this.elements.length;for(r=0;r<s;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},he.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var n,d=this.elements.length;for(n=0;n<d;n+=1)if(this.elements[n].data.nm===r){s=this.elements[n];break}}return e.length===0?s:s.getElementByPath(e)},he.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Bi,this.globalData.slotManager=wg(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var $g={TRANSFORM_EFFECT:"transformEFfect"};function Mo(){}Mo.prototype={initTransform:function(){var r=new de;this.finalTransform={mProp:this.data.ks?Wl.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,s=this.finalTransform.mat,n=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<d;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),n=0;n<d;n+=1)s.multiply(this.hierarchy[n].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,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<s;)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 n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),r=1;r<s;r+=1){var d=this.localTransforms[r].matrix;n.multiply(d)}n.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<s;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects($g.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new de;var s=0,n=r.length;for(s=0;s<n;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var n=!0,d=this.comp;n;)d.finalTransform?(d.data.hasMask&&s.splice(0,0,d.finalTransform),d=d.comp):n=!1;var c,v=s.length,x;for(c=0;c<v;c+=1)x=s[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new de};function Ui(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=rt(c),this.solidPath="";var v,x=this.masksProperties,g=0,C=[],L,B,T=_e(),R,P,M,z,w="clipPath",_="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",_="mask"),(x[d].mode==="s"||x[d].mode==="i")&&g===0?(R=bt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),C.push(R)):R=null,v=bt("path"),x[d].mode==="n")this.viewData[d]={op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:Za.getShapeProp(this.element,x[d],3),elem:v,lastPath:""},n.appendChild(v);else{g+=1,v.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var y;if(x[d].x.k!==0?(w="mask",_="mask",z=it.getProp(this.element,x[d].x,0,null,this.element),y=_e(),P=bt("filter"),P.setAttribute("id",y),M=bt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),n.appendChild(P),v.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:v,x:z,expan:M,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},x[d].mode==="i"){B=C.length;var A=bt("g");for(L=0;L<B;L+=1)A.appendChild(C[L]);var k=bt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",T+"_"+g),k.appendChild(v),n.appendChild(k),A.setAttribute("mask","url("+E()+"#"+T+"_"+g+")"),C.length=0,C.push(A)}else C.push(v);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:v,lastPath:"",op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:Za.getShapeProp(this.element,x[d],3),invRect:R},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=bt(w),c=C.length,d=0;d<c;d+=1)this.maskElement.appendChild(C[d]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(_,"url("+E()+"#"+T+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ui.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Ui.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,n=this.masksProperties.length;for(s=0;s<n;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var d=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+E()+"#"+this.storedData[s].filterId+")")),d.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},Ui.prototype.getMaskelement=function(){return this.maskElement},Ui.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},Ui.prototype.drawPath=function(e,r,s){var n=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)n+=" 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&&(n+=" 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]),s.lastPath!==n){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+n:n),s.elem.setAttribute("d",v)),s.lastPath=n}},Ui.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Ds=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(n,d){var c=bt("filter");return c.setAttribute("id",n),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function s(){var n=bt("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),Zh=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),on={},Xh="filter_result_";function Ql(e){var r,s="SourceGraphic",n=e.data.ef?e.data.ef.length:0,d=_e(),c=Ds.createFilter(d,!0),v=0;this.filters=[];var x;for(r=0;r<n;r+=1){x=null;var g=e.data.ef[r].ty;if(on[g]){var C=on[g].effect;x=new C(c,e.effectsManager.effectElements[r],e,Xh+v,s),s=Xh+v,on[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+E()+"#"+d+")")),this.filters.length&&e.addRenderableComponent(this)}Ql.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},Ql.prototype.getEffects=function(e){var r,s=this.filters.length,n=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&n.push(this.filters[r]);return n};function fx(e,r,s){on[e]={effect:r,countsAsEffect:s}}function Fs(){}Fs.prototype={initRendererElement:function(){this.layerElement=bt("g")},createContainerElements:function(){this.matteElement=bt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=bt("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s)}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 n=bt("clipPath"),d=bt("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=_e();if(n.setAttribute("id",c),n.appendChild(d),this.globalData.defs.appendChild(n),this.checkMasks()){var v=bt("g");v.setAttribute("clip-path","url("+E()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+E()+"#"+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 Ui(this.data,this,this.globalData),this.renderableEffectsManager=new Ql(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,n,d,c,v;if(r===1||r===3){var x=bt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!Zh.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),n=_e(),d=Ds.createFilter(n),this.globalData.defs.appendChild(d),d.appendChild(Ds.createAlphaToLuminanceFilter()),v=bt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+E()+"#"+n+")"))}else if(r===2){var g=bt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var C=bt("g");g.appendChild(C),n=_e(),d=Ds.createFilter(n);var L=bt("feComponentTransfer");L.setAttribute("in","SourceGraphic"),d.appendChild(L);var B=bt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),L.appendChild(B),this.globalData.defs.appendChild(d);var T=bt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),C.setAttribute("filter","url("+E()+"#"+n+")"),C.appendChild(T),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),C.appendChild(c),Zh.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(Ds.createAlphaToLuminanceFilter()),v=bt("g"),C.appendChild(T),v.appendChild(this.layerElement),C.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[r]=s}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+E()+"#"+r+")")}};function Oo(){}Oo.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 $s(){}(function(){var e={initElement:function(s,n,d){this.initFrame(),this.initBaseData(s,n,d),this.initTransform(s,n,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 s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.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(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};$([rn,q(e)],$s)})();function zs(e,r,s){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}$([ui,Mo,Fs,Oo,fi,$s],zs),zs.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=bt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},zs.prototype.sourceRectAtTime=function(){return this.sourceRect};function zg(e,r){this.elem=e,this.pos=r}function Qh(){}Qh.prototype={addShapeToModifiers:function(r){var s,n=this.shapeModifiers.length;for(s=0;s<n;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,n=this.shapeModifiers.length;s<n;)if(this.shapeModifiers[s].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,s=this.shapes.length;for(r=0;r<s;r+=1)this.shapes[r].sh.reset();s=this.shapeModifiers.length;var n;for(r=s-1;r>=0&&(n=this.shapeModifiers[r].processShapes(this._isFirstFrame),!n);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,n=0,d=s.length;n<d;){if(s[n].elem===r)return s[n].pos;n+=1}return 0},addProcessedElement:function(r,s){for(var n=this.processedElements,d=n.length;d;)if(d-=1,n[d].elem===r){n[d].pos=s;return}n.push(new zg(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var Jh={1:"butt",2:"round",3:"square"},tp={1:"miter",2:"round",3:"bevel"};function ep(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var n=0,d=e.length;n<d;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}ep.prototype.setAsAnimated=function(){this._isAnimated=!0};function rp(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=bt("path"),this.msElem=null}rp.prototype.reset=function(){this.d="",this._mdf=!1};function sn(e,r,s,n){this.elem=e,this.frameId=-1,this.dataProps=rt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=Q("float32",r.length?r.length-1:0),this.dashoffset=Q("float32",1),this.initDynamicPropertyContainer(n);var d,c=r.length||0,v;for(d=0;d<c;d+=1)v=it.getProp(e,r[d].v,0,0,this),this.k=v.k||this.k,this.dataProps[d]={n:r[d].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}sn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<s;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}},$([se],sn);function ip(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.w=it.getProp(e,r.w,0,null,this),this.d=new sn(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}$([se],ip);function op(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.c=it.getProp(e,r.c,1,255,this),this.style=s}$([se],op);function sp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}$([se],sp);function Vs(e,r,s){this.data=r,this.c=Q("uint8c",r.p*4);var n=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=Q("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(s),this.prop=it.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Vs.prototype.comparePoints=function(e,r){for(var s=0,n=this.o.length/2,d;s<n;){if(d=Math.abs(e[s*4]-e[r*4+s*2]),d>.01)return!1;s+=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 e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Vs.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,s=this.data.p*4,n,d;for(r=0;r<s;r+=1)n=r%4===0?100:255,d=Math.round(this.prop.v[r]*n),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)n=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!e);this._mdf=!e}},$([se],Vs);function Po(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Po.prototype.initGradientData=function(e,r,s){this.o=it.getProp(e,r.o,0,.01,this),this.s=it.getProp(e,r.s,1,null,this),this.e=it.getProp(e,r.e,1,null,this),this.h=it.getProp(e,r.h||{k:0},0,.01,this),this.a=it.getProp(e,r.a||{k:0},0,It,this),this.g=new Vs(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Po.prototype.setGradientData=function(e,r){var s=_e(),n=bt(r.t===1?"linearGradient":"radialGradient");n.setAttribute("id",s),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=bt("stop"),n.appendChild(c),d.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+E()+"#"+s+")"),this.gf=n,this.cst=d},Po.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,n,d,c=bt("mask"),v=bt("path");c.appendChild(v);var x=_e(),g=_e();c.setAttribute("id",g);var C=bt(e.t===1?"linearGradient":"radialGradient");C.setAttribute("id",x),C.setAttribute("spreadMethod","pad"),C.setAttribute("gradientUnits","userSpaceOnUse"),d=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var L=this.stops;for(n=e.g.p*4;n<d;n+=2)s=bt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),C.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+E()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",Jh[e.lc||2]),v.setAttribute("stroke-linejoin",tp[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=C,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},$([se],Po);function ap(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new sn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}$([Po,se],ap);function Vg(){this.it=[],this.prevViewData=[],this.gr=bt("g")}function Bg(e,r,s){this.transform={mProps:e,op:r,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var np=function(r,s,n,d){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,C=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)C+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[g][0],v[g][1])+" "+d.applyToPointStringified(x[g][0],x[g][1]);return n&&s&&(C+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[0][0],v[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),C+="z"),C},Ug=function(){var e=new de,r=new de,s={createRenderFunction:n};function n(B){switch(B.ty){case"fl":return x;case"gf":return C;case"gs":return g;case"st":return L;case"sh":case"el":case"rc":case"sr":return v;case"tr":return d;case"no":return c;default:return null}}function d(B,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(B,T,R){var P,M,z,w,_,y,A=T.styles.length,k=T.lvl,D,V,Y,X;for(y=0;y<A;y+=1){if(w=T.sh._mdf||R,T.styles[y].lvl<k){for(V=r.reset(),Y=k-T.styles[y].lvl,X=T.transformers.length-1;!w&&Y>0;)w=T.transformers[X].mProps._mdf||w,Y-=1,X-=1;if(w)for(Y=k-T.styles[y].lvl,X=T.transformers.length-1;Y>0;)V.multiply(T.transformers[X].mProps.v),Y-=1,X-=1}else V=e;if(D=T.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)_=D.shapes[P],_&&_._length&&(z+=np(_,_._length,_.c,V));T.caches[y]=z}else z=T.caches[y];T.styles[y].d+=B.hd===!0?"":z,T.styles[y]._mdf=w||T.styles[y]._mdf}}function x(B,T,R){var P=T.style;(T.c._mdf||R)&&P.pElem.setAttribute("fill","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("fill-opacity",T.o.v)}function g(B,T,R){C(B,T,R),L(B,T,R)}function C(B,T,R){var P=T.gf,M=T.g._hasOpacity,z=T.s.v,w=T.e.v;if(T.o._mdf||R){var _=B.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(_,T.o.v)}if(T.s._mdf||R){var y=B.t===1?"x1":"cx",A=y==="x1"?"y1":"cy";P.setAttribute(y,z[0]),P.setAttribute(A,z[1]),M&&!T.g._collapsable&&(T.of.setAttribute(y,z[0]),T.of.setAttribute(A,z[1]))}var k,D,V,Y;if(T.g._cmdf||R){k=T.cst;var X=T.g.c;for(V=k.length,D=0;D<V;D+=1)Y=k[D],Y.setAttribute("offset",X[D*4]+"%"),Y.setAttribute("stop-color","rgb("+X[D*4+1]+","+X[D*4+2]+","+X[D*4+3]+")")}if(M&&(T.g._omdf||R)){var ft=T.g.o;for(T.g._collapsable?k=T.cst:k=T.ost,V=k.length,D=0;D<V;D+=1)Y=k[D],T.g._collapsable||Y.setAttribute("offset",ft[D*2]+"%"),Y.setAttribute("stop-opacity",ft[D*2+1])}if(B.t===1)(T.e._mdf||R)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!T.g._collapsable&&(T.of.setAttribute("x2",w[0]),T.of.setAttribute("y2",w[1])));else{var ht;if((T.s._mdf||T.e._mdf||R)&&(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),P.setAttribute("r",ht),M&&!T.g._collapsable&&T.of.setAttribute("r",ht)),T.e._mdf||T.h._mdf||T.a._mdf||R){ht||(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var et=Math.atan2(w[1]-z[1],w[0]-z[0]),yt=T.h.v;yt>=1?yt=.99:yt<=-1&&(yt=-.99);var lt=ht*yt,Z=Math.cos(et+T.a.v)*lt+z[0],S=Math.sin(et+T.a.v)*lt+z[1];P.setAttribute("fx",Z),P.setAttribute("fy",S),M&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function L(B,T,R){var P=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||R)&&P.pElem.setAttribute("stroke","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(P.pElem.setAttribute("stroke-width",T.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",T.w.v))}return s}();function Gt(e,r,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,s),this.prevViewData=[]}$([ui,Mo,Fs,Qh,Oo,fi,$s],Gt),Gt.prototype.initSecondaryElement=function(){},Gt.prototype.identityMatrix=new de,Gt.prototype.buildExpressionInterface=function(){},Gt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Gt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,n,d=this.stylesList.length,c,v=[],x=!1;for(n=0;n<d;n+=1){for(c=this.stylesList[n],x=!1,v.length=0,e=0;e<r;e+=1)s=this.shapes[e],s.styles.indexOf(c)!==-1&&(v.push(s),x=s._isAnimated||x);v.length>1&&x&&this.setShapesAsAnimated(v)}},Gt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},Gt.prototype.createStyleElement=function(e,r){var s,n=new rp(e,r),d=n.pElem;if(e.ty==="st")s=new ip(this,e,n);else if(e.ty==="fl")s=new op(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Po:ap;s=new c(this,e,n),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),d.setAttribute("mask","url("+E()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new sp(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",Jh[e.lc||2]),d.setAttribute("stroke-linejoin",tp[e.lj||2]),d.setAttribute("fill-opacity","0"),e.lj===1&&d.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&d.setAttribute("fill-rule","evenodd"),e.ln&&d.setAttribute("id",e.ln),e.cl&&d.setAttribute("class",e.cl),e.bm&&(d.style["mix-blend-mode"]=Xl(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,s),s},Gt.prototype.createGroupElement=function(e){var r=new Vg;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=Xl(e.bm)),r},Gt.prototype.createTransformElement=function(e,r){var s=Wl.getTransformProperty(this,e,this),n=new Bg(s,s.o,r);return this.addToAnimatedContents(e,n),n},Gt.prototype.createShapeElement=function(e,r,s){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var d=Za.getShapeProp(this,e,n,this),c=new ep(r,s,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},Gt.prototype.addToAnimatedContents=function(e,r){for(var s=0,n=this.animatedContents.length;s<n;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Ug.createRenderFunction(e),element:r,data:e})},Gt.prototype.setElementStyles=function(e){var r=e.styles,s,n=this.stylesList.length;for(s=0;s<n;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},Gt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},Gt.prototype.searchShapes=function(e,r,s,n,d,c,v){var x=[].concat(c),g,C=e.length-1,L,B,T=[],R=[],P,M,z;for(g=C;g>=0;g-=1){if(z=this.searchProcessedElement(e[g]),z?r[g]=s[z-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")z?r[g].style.closed=!1:r[g]=this.createStyleElement(e[g],d),e[g]._render&&r[g].style.pElem.parentNode!==n&&n.appendChild(r[g].style.pElem),T.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(B=r[g].it.length,L=0;L<B;L+=1)r[g].prevViewData[L]=r[g].it[L];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,d+1,x,v),e[g]._render&&r[g].gr.parentNode!==n&&n.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],n)),P=r[g].transform,x.push(P)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,d)),this.setElementStyles(r[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(z?(M=r[g],M.closed=!1):(M=pi.getModifier(e[g].ty),M.init(this,e[g]),r[g]=M,this.shapeModifiers.push(M)),R.push(M)):e[g].ty==="rp"&&(z?(M=r[g],M.closed=!0):(M=pi.getModifier(e[g].ty),r[g]=M,M.init(this,e,g,r),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[g],g+1)}for(C=T.length,g=0;g<C;g+=1)T[g].closed=!0;for(C=R.length,g=0;g<C;g+=1)R[g].closed=!0},Gt.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},Gt.prototype.renderShape=function(){var e,r=this.animatedContents.length,s;for(e=0;e<r;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},Gt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Jl(e,r,s,n,d,c){this.o=e,this.sw=r,this.sc=s,this.fc=n,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!n,m:!0,p:!0}}Jl.prototype.update=function(e,r,s,n,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 v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,v=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,v=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,v=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,v=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,v=!0),v};function ge(e,r){this._frameId=o,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}ge.prototype.defaultBoxWidth=[0,0],ge.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},ge.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},ge.prototype.searchProperty=function(){return this.searchKeyframes()},ge.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},ge.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},ge.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var n,d=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(n=0;n<d;n+=1)s!==this.keysIndex?c=this.effectsSequence[n](c,c.t):c=this.effectsSequence[n](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}},ge.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,n=e.length;s<=n-1&&!(s===n-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},ge.prototype.buildFinalText=function(e){for(var r=[],s=0,n=e.length,d,c,v=!1,x=!1,g="";s<n;)v=x,x=!1,d=e.charCodeAt(s),g=e.charAt(s),Bi.isCombinedCharacter(d)?v=!0:d>=55296&&d<=56319?Bi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Bi.isModifier(d,c)?(g=e.substr(s,2),v=!0):Bi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):d>56319?(c=e.charCodeAt(s+1),Bi.isVariationSelector(d)&&(v=!0)):Bi.isZeroWidthJoiner(d)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},ge.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,n=[],d,c,v,x=0,g,C=s.m.g,L=0,B=0,T=0,R=[],P=0,M=0,z,w,_=r.getFontByName(e.f),y,A=0,k=jh(_);e.fWeight=k.weight,e.fStyle=k.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var D=e.tr/1e3*e.finalSize,V;if(e.sz)for(var Y=!0,X=e.sz[0],ft=e.sz[1],ht,et;Y;){et=this.buildFinalText(e.t),ht=0,P=0,c=et.length,D=e.tr/1e3*e.finalSize;var yt=-1;for(d=0;d<c;d+=1)V=et[d].charCodeAt(0),v=!1,et[d]===" "?yt=d:(V===13||V===3)&&(P=0,v=!0,ht+=e.finalLineHeight||e.finalSize*1.2),r.chars?(y=r.getCharData(et[d],_.fStyle,_.fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(et[d],e.f,e.finalSize),P+A>X&&et[d]!==" "?(yt===-1?c+=1:d=yt,ht+=e.finalLineHeight||e.finalSize*1.2,et.splice(d,yt===d?1:0,"\r"),yt=-1,P=0):(P+=A,P+=D);ht+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&ft<ht?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=et,c=e.finalText.length,Y=!1)}P=-D,A=0;var lt=0,Z;for(d=0;d<c;d+=1)if(v=!1,Z=e.finalText[d],V=Z.charCodeAt(0),V===13||V===3?(lt=0,R.push(P),M=P>M?P:M,P=-2*D,g="",v=!0,T+=1):g=Z,r.chars?(y=r.getCharData(Z,_.fStyle,r.getFontByName(e.f).fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?lt+=A+D:(P+=A+D+lt,lt=0),n.push({l:A,an:A,add:L,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),C==2){if(L+=A,g===""||g===" "||d===c-1){for((g===""||g===" ")&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;x+=1,L=0}}else if(C==3){if(L+=A,g===""||d===c-1){for(g===""&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;L=0,x+=1}}else n[x].ind=x,n[x].extra=0,x+=1;if(e.l=n,M=P>M?P:M,R.push(P),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,O,u;w=S.length;var b,U,F=[];for(z=0;z<w;z+=1){for(O=S[z],O.a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),U=0,b=O.s.b,d=0;d<c;d+=1)u=n[d],u.anIndexes[z]=U,(b==1&&u.val!==""||b==2&&u.val!==""&&u.val!==" "||b==3&&(u.n||u.val==" "||d==c-1)||b==4&&(u.n||d==c-1))&&(O.s.rn===1&&F.push(U),U+=1);s.a[z].s.totalChars=U;var at=-1,mt;if(O.s.rn===1)for(d=0;d<c;d+=1)u=n[d],at!=u.anIndexes[z]&&(at=u.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),u.anIndexes[z]=mt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},ge.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var s=this.copyData({},this.data.d.k[r].s);s=this.copyData(s,e),this.data.d.k[r].s=s,this.recalculate(r),this.setCurrentData(s),this.elem.addDynamicProperty(this)},ge.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},ge.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},ge.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Hg=function(){var e=Math.max,r=Math.min,s=Math.floor;function n(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=it.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=it.getProp(c,v.e,0,0,this):this.e={v:100},this.o=it.getProp(c,v.o||{k:0},0,0,this),this.xe=it.getProp(c,v.xe||{k:0},0,0,this),this.ne=it.getProp(c,v.ne||{k:0},0,0,this),this.sm=it.getProp(c,v.sm||{k:100},0,0,this),this.a=it.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}n.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,C=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?C=1-this.xe.v/100:L=1+this.xe.v/100;var B=ws.getBezierEasing(x,g,C,L).get,T=0,R=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===R?T=v>=P?1:0:T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===3)P===R?T=v>=P?0:1:T=1-e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===4)P===R?T=0:(T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=B(T);else if(M===5){if(P===R)T=0;else{var z=P-R;v=r(e(0,v+.5-R),P-R);var w=-z/2+v,_=z/2;T=Math.sqrt(1-w*w/(_*_))}T=B(T)}else M===6?(P===R?T=0:(v=r(e(0,v+.5-R),P-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(P-R)))/2),T=B(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(P,1)-(R-v),1)):T=e(0,r(P-v,1))),T=B(T));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;T<A?T=0:(T=(T-A)/y,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,C=this.s.v/x+g,L=this.e.v/x+g;if(C>L){var B=C;C=L,L=B}this.finalS=C,this.finalE=L}},$([se],n);function d(c,v,x){return new n(c,v,x)}return{getTextSelectorProp:d}}();function Gg(e,r,s){var n={propType:!1},d=it.getProp,c=r.a;this.a={r:c.r?d(e,c.r,0,It,s):n,rx:c.rx?d(e,c.rx,0,It,s):n,ry:c.ry?d(e,c.ry,0,It,s):n,sk:c.sk?d(e,c.sk,0,It,s):n,sa:c.sa?d(e,c.sa,0,It,s):n,s:c.s?d(e,c.s,1,.01,s):n,a:c.a?d(e,c.a,1,0,s):n,o:c.o?d(e,c.o,0,.01,s):n,p:c.p?d(e,c.p,1,0,s):n,sw:c.sw?d(e,c.sw,0,0,s):n,sc:c.sc?d(e,c.sc,1,0,s):n,fc:c.fc?d(e,c.fc,1,0,s):n,fh:c.fh?d(e,c.fh,0,0,s):n,fs:c.fs?d(e,c.fs,0,.01,s):n,fb:c.fb?d(e,c.fb,0,.01,s):n,t:c.t?d(e,c.t,0,0,s):n},this.s=Hg.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Hi(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=rt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Hi.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,n=it.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Gg(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},Hi.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,n=this._animatorsData,d=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,C,L,B,T=e.l,R,P,M,z,w,_,y,A,k,D,V,Y,X,ft,ht;if(this._hasMaskedPath){if(ht=this._pathData.m,!this._pathData.n||this._pathData._mdf){var et=ht.v;this._pathData.r.v&&(et=et.reverse()),R={tLength:0,segments:[]},B=et._length-1;var yt;for(Y=0,L=0;L<B;L+=1)yt=Tr.buildBezierData(et.v[L],et.v[L+1],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[L+1][0]-et.v[L+1][0],et.i[L+1][1]-et.v[L+1][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),Y+=yt.segmentLength;L=B,ht.v.c&&(yt=Tr.buildBezierData(et.v[L],et.v[0],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[0][0]-et.v[0][0],et.i[0][1]-et.v[0][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),Y+=yt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,P=this._pathData.f.v,y=0,_=1,z=0,w=!0,D=R.segments,P<0&&ht.v.c)for(R.tLength<Math.abs(P)&&(P=-Math.abs(P)%R.tLength),y=D.length-1,k=D[y].points,_=k.length-1;P<0;)P+=k[_].partialLength,_-=1,_<0&&(y-=1,k=D[y].points,_=k.length-1);k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength}B=T.length,g=0,C=0;var lt=e.finalSize*1.2*.714,Z=!0,S,O,u,b,U;b=n.length;var F,at=-1,mt,vt,wt,Nt=P,qt=y,Ce=_,Ar=-1,ke,ae,Fe,Ot,ct,$r,bi,zr,Sr="",Vr=this.defaultPropsArray,Br;if(e.j===2||e.j===1){var we=0,yi=0,Ei=e.j===2?-.5:-1,hr=0,Ti=!0;for(L=0;L<B;L+=1)if(T[L].n){for(we&&(we+=yi);hr<L;)T[hr].animatorJustifyOffset=we,hr+=1;we=0,Ti=!0}else{for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(Ti&&e.j===2&&(yi+=S.t.v*Ei),O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?we+=S.t.v*F[0]*Ei:we+=S.t.v*F*Ei);Ti=!1}for(we&&(we+=yi);hr<L;)T[hr].animatorJustifyOffset=we,hr+=1}for(L=0;L<B;L+=1){if(c.reset(),ke=1,T[L].n)g=0,C+=e.yOffset,C+=Z?1:0,P=Nt,Z=!1,this._hasMaskedPath&&(y=qt,_=Ce,k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength,z=0),Sr="",zr="",$r="",Br="",Vr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ar!==T[L].line){switch(e.j){case 1:P+=Y-e.lineWidths[T[L].line];break;case 2:P+=(Y-e.lineWidths[T[L].line])/2;break;default:break}Ar=T[L].line}at!==T[L].ind&&(T[at]&&(P+=T[at].extra),P+=T[L].an/2,at=T[L].ind),P+=s[0]*T[L].an*.005;var pr=0;for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?pr+=S.p.v[0]*F[0]:pr+=S.p.v[0]*F),S.a.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?pr+=S.a.v[0]*F[0]:pr+=S.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*at/(B-1),P+=this._pathData.f.v);w;)z+V>=P+pr||!k?(X=(P+pr-z)/M.partialLength,vt=A.point[0]+(M.point[0]-A.point[0])*X,wt=A.point[1]+(M.point[1]-A.point[1])*X,c.translate(-s[0]*T[L].an*.005,-(s[1]*lt)*.01),w=!1):k&&(z+=M.partialLength,_+=1,_>=k.length&&(_=0,y+=1,D[y]?k=D[y].points:ht.v.c?(_=0,y=0,k=D[y].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[_],V=M.partialLength));mt=T[L].an/2-T[L].add,c.translate(-mt,0,0)}else mt=T[L].an/2-T[L].add,c.translate(-mt,0,0),c.translate(-s[0]*T[L].an*.005,-s[1]*lt*.01,0);for(u=0;u<b;u+=1)S=n[u].a,S.t.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?P+=S.t.v*F[0]:P+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&(Fe=e.sw||0),e.strokeColorAnim&&(e.sc?ae=[e.sc[0],e.sc[1],e.sc[2]]:ae=[0,0,0]),e.fillColorAnim&&e.fc&&(Ot=[e.fc[0],e.fc[1],e.fc[2]]),u=0;u<b;u+=1)S=n[u].a,S.a.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?c.translate(-S.a.v[0]*F[0],-S.a.v[1]*F[1],S.a.v[2]*F[2]):c.translate(-S.a.v[0]*F,-S.a.v[1]*F,S.a.v[2]*F));for(u=0;u<b;u+=1)S=n[u].a,S.s.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),F.length?c.scale(1+(S.s.v[0]-1)*F[0],1+(S.s.v[1]-1)*F[1],1):c.scale(1+(S.s.v[0]-1)*F,1+(S.s.v[1]-1)*F,1));for(u=0;u<b;u+=1){if(S=n[u].a,O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),S.sk.propType&&(F.length?c.skewFromAxis(-S.sk.v*F[0],S.sa.v*F[1]):c.skewFromAxis(-S.sk.v*F,S.sa.v*F)),S.r.propType&&(F.length?c.rotateZ(-S.r.v*F[2]):c.rotateZ(-S.r.v*F)),S.ry.propType&&(F.length?c.rotateY(S.ry.v*F[1]):c.rotateY(S.ry.v*F)),S.rx.propType&&(F.length?c.rotateX(S.rx.v*F[0]):c.rotateX(S.rx.v*F)),S.o.propType&&(F.length?ke+=(S.o.v*F[0]-ke)*F[0]:ke+=(S.o.v*F-ke)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?Fe+=S.sw.v*F[0]:Fe+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ct=0;ct<3;ct+=1)F.length?ae[ct]+=(S.sc.v[ct]-ae[ct])*F[0]:ae[ct]+=(S.sc.v[ct]-ae[ct])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ct=0;ct<3;ct+=1)F.length?Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F[0]:Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F;S.fh.propType&&(F.length?Ot=Eh(Ot,S.fh.v*F[0]):Ot=Eh(Ot,S.fh.v*F)),S.fs.propType&&(F.length?Ot=bh(Ot,S.fs.v*F[0]):Ot=bh(Ot,S.fs.v*F)),S.fb.propType&&(F.length?Ot=yh(Ot,S.fb.v*F[0]):Ot=yh(Ot,S.fb.v*F))}}for(u=0;u<b;u+=1)S=n[u].a,S.p.propType&&(O=n[u].s,F=O.getMult(T[L].anIndexes[u],d.a[u].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,S.p.v[1]*F[0],-S.p.v[2]*F[1]):c.translate(0,S.p.v[1]*F,-S.p.v[2]*F):F.length?c.translate(S.p.v[0]*F[0],S.p.v[1]*F[1],-S.p.v[2]*F[2]):c.translate(S.p.v[0]*F,S.p.v[1]*F,-S.p.v[2]*F));if(e.strokeWidthAnim&&($r=Fe<0?0:Fe),e.strokeColorAnim&&(bi="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&(zr="rgb("+Math.round(Ot[0]*255)+","+Math.round(Ot[1]*255)+","+Math.round(Ot[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*lt*.01+C,0),this._pathData.p.v){ft=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Gi=Math.atan(ft)*180/Math.PI;M.point[0]<A.point[0]&&(Gi+=180),c.rotate(-Gi*Math.PI/180)}c.translate(vt,wt,0),P-=s[0]*T[L].an*.005,T[L+1]&&at!==T[L+1].ind&&(P+=T[L].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,C,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line]),0,0);break;case 2:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(s[0]*T[L].an*.005,s[1]*lt*.01,0),g+=T[L].l+e.tr*.001*e.finalSize}v==="html"?Sr=c.toCSS():v==="svg"?Sr=c.to2dCSS():Vr=[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]],Br=ke}x<=L?(U=new Jl(Br,$r,bi,zr,Sr,Vr),this.renderedLetters.push(U),x+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[L],this.lettersChangedFlag=U.update(Br,$r,bi,zr,Sr,Vr)||this.lettersChangedFlag)}}},Hi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Hi.prototype.mHelper=new de,Hi.prototype.defaultPropsArray=[],$([se],Hi);function qe(){}qe.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new ge(this,e.t,this.dynamicProperties),this.textAnimator=new Hi(e.t,this.renderType,this),this.initTransform(e,r,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},qe.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},qe.prototype.createPathShape=function(e,r){var s,n=r.length,d,c="";for(s=0;s<n;s+=1)r[s].ty==="sh"&&(d=r[s].ks.k,c+=np(d,d.i.length,!0,e));return c},qe.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},qe.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},qe.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},qe.prototype.applyTextPropertiesToMatrix=function(e,r,s,n,d){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break;default:break}r.translate(n,d,0)},qe.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},qe.prototype.emptyProp=new Jl,qe.prototype.destroy=function(){},qe.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Yg={shapes:[]};function Dr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}$([ui,Mo,Fs,Oo,fi,$s,qe],Dr),Dr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=bt("text"))},Dr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,n=[],d="";r<s;)e[r]==="\r"||e[r]===""?(n.push(d),d=""):d+=e[r],r+=1;return n.push(d),n},Dr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var n=s.it[s.it.length-1];n.s&&(n.s.k[0]=r,n.s.k[1]=r)}}return e},Dr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=rt(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var n=this.globalData.fontManager.getFontByName(s.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var d=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,C=this.mHelper,L="",B=this.data.singleShape,T=0,R=0,P=!0,M=s.tr*.001*s.finalSize;if(B&&!x&&!s.sz){var z=this.textContainer,w="start";switch(s.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 _=this.buildTextContents(s.finalText);for(r=_.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||bt("tspan"),g.textContent=_[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var y=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!x||!B||e===0){if(g=y>e?this.textSpans[e].span:bt(x?"g":"text"),y<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var k=bt("g");g.appendChild(k),this.textSpans[e].childSpan=k}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(C.reset(),B&&(v[e].n&&(T=-M,R+=s.yOffset,R+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(s,C,v[e].line,T,R),T+=v[e].l||0,T+=M),x){A=this.globalData.fontManager.getCharData(s.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var D;if(A.t===1)D=new Bs(A.data,this.globalData,this);else{var V=Yg;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,s.finalSize)),D=new Gt(V,this.globalData,this)}if(this.textSpans[e].glyph){var Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[e].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[e].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else B&&g.setAttribute("transform","translate("+C.props[12]+","+C.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&g&&g.setAttribute("d",L)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Dr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Dr.prototype.getValue=function(){var e,r=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},Dr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,r,s=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;r=n.length;var d,c,v;for(e=0;e<r;e+=1)n[e].n||(d=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.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 tc(e,r,s){this.initElement(e,r,s)}$([zs],tc),tc.prototype.createContent=function(){var e=bt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function gi(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}gi.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},gi.prototype.renderFrame=function(){},gi.prototype.getBaseElement=function(){return null},gi.prototype.destroy=function(){},gi.prototype.sourceRectAtTime=function(){},gi.prototype.hide=function(){},$([ui,Mo,Oo,fi],gi);function Jt(){}$([he],Jt),Jt.prototype.createNull=function(e){return new gi(e,this.globalData,this)},Jt.prototype.createShape=function(e){return new Gt(e,this.globalData,this)},Jt.prototype.createText=function(e){return new Dr(e,this.globalData,this)},Jt.prototype.createImage=function(e){return new zs(e,this.globalData,this)},Jt.prototype.createSolid=function(e){return new tc(e,this.globalData,this)},Jt.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=bt("clipPath"),n=bt("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var d=_e();s.setAttribute("id",d),s.appendChild(n),this.layerElement.setAttribute("clip-path","url("+E()+"#"+d+")"),r.appendChild(s),this.layers=e.layers,this.elements=rt(e.layers.length)},Jt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Jt.prototype.updateContainerSize=function(){},Jt.prototype.findIndexByInd=function(e){var r=0,s=this.layers.length;for(r=0;r<s;r+=1)if(this.layers[r].ind===e)return r;return-1},Jt.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var s=this.createItem(this.layers[e]);if(r[e]=s,Ha()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(!this.elements[n]||this.elements[n]===!0)this.buildItem(n),this.addPendingElement(s);else{var d=r[n],c=d.getMatte(this.layers[e].tt);s.setMatte(c)}}}},Jt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,s=this.elements.length;r<s;){if(this.elements[r]===e){var n="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,d=this.elements[n],c=d.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},Jt.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<s;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},Jt.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var n=0,d;n<r;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement()&&(d=this.elements[n].getBaseElement()),n+=1;d?this.layerElement.insertBefore(s,d):this.layerElement.appendChild(s)}},Jt.prototype.hide=function(){this.layerElement.style.display="none"},Jt.prototype.show=function(){this.layerElement.style.display="block"};function Fr(){}$([ui,Mo,Oo,fi,$s],Fr),Fr.prototype.initElement=function(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initTransform(e,r,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Fr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var s,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=n-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},Fr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Fr.prototype.setElements=function(e){this.elements=e},Fr.prototype.getElements=function(){return this.elements},Fr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Fr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Bs(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?rt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}$([Jt,Fr,Fs],Bs),Bs.prototype.createComp=function(e){return new Bs(e,this.globalData,this)};function ec(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=bt("svg");var s="";if(r&&r.title){var n=bt("title"),d=_e();n.setAttribute("id",d),n.textContent=r.title,this.svgElement.appendChild(n),s+=d}if(r&&r.description){var c=bt("desc"),v=_e();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=bt("defs");this.svgElement.appendChild(x);var g=bt("g");this.svgElement.appendChild(g),this.layerElement=g,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],ec),ec.prototype.createComp=function(e){return new Bs(e,this.globalData,this)},eg("svg",ec),pi.registerModifier("tm",dr),pi.registerModifier("pb",Ns),pi.registerModifier("rp",xr),pi.registerModifier("rd",Ls),pi.registerModifier("zz",Ms),pi.registerModifier("op",Os),Mt})});var cn=globalThis,dn=cn.ShadowRoot&&(cn.ShadyCSS===void 0||cn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ic=Symbol(),cp=new WeakMap,Us=class{constructor(i,t,o){if(this._$cssResult$=!0,o!==ic)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=t}get styleSheet(){let i=this.o,t=this.t;if(dn&&i===void 0){let o=t!==void 0&&t.length===1;o&&(i=cp.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),o&&cp.set(t,i))}return i}toString(){return this.cssText}},dp=l=>new Us(typeof l=="string"?l:l+"",void 0,ic),H=(l,...i)=>{let t=l.length===1?l[0]:i.reduce((o,a,h)=>o+(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.")})(a)+l[h+1],l[0]);return new Us(t,l,ic)},oc=(l,i)=>{if(dn)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let o=document.createElement("style"),a=cn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=t.cssText,l.appendChild(o)}},hn=dn?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let o of i.cssRules)t+=o.cssText;return dp(t)})(l):l;var{is:Jg,defineProperty:tb,getOwnPropertyDescriptor:eb,getOwnPropertyNames:rb,getOwnPropertySymbols:ib,getPrototypeOf:ob}=Object,xi=globalThis,hp=xi.trustedTypes,sb=hp?hp.emptyScript:"",sc=xi.reactiveElementPolyfillSupport,Hs=(l,i)=>l,Gs={toAttribute(l,i){switch(i){case Boolean:l=l?sb:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,i){let t=l;switch(i){case Boolean:t=l!==null;break;case Number:t=l===null?null:Number(l);break;case Object:case Array:try{t=JSON.parse(l)}catch{t=null}}return t}},pn=(l,i)=>!Jg(l,i),pp={attribute:!0,type:String,converter:Gs,reflect:!1,hasChanged:pn},mp,up;(mp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(up=xi.litPropertyMetadata)!=null||(xi.litPropertyMetadata=new WeakMap);var Ur=class extends HTMLElement{static addInitializer(i){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,t=pp){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(i,t),!t.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(i,o,t);a!==void 0&&tb(this.prototype,i,a)}}static getPropertyDescriptor(i,t,o){var m;let{get:a,set:h}=(m=eb(this.prototype,i))!=null?m:{get(){return this[t]},set(E){this[t]=E}};return{get(){return a==null?void 0:a.call(this)},set(E){let N=a==null?void 0:a.call(this);h.call(this,E),this.requestUpdate(i,N,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:pp}static _$Ei(){if(this.hasOwnProperty(Hs("elementProperties")))return;let i=ob(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Hs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Hs("properties"))){let t=this.properties,o=[...rb(t),...ib(t)];for(let a of o)this.createProperty(a,t[a])}let i=this[Symbol.metadata];if(i!==null){let t=litPropertyMetadata.get(i);if(t!==void 0)for(let[o,a]of t)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[t,o]of this.elementProperties){let a=this._$Eu(t,o);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let t=[];if(Array.isArray(i)){let o=new Set(i.flat(1/0).reverse());for(let a of o)t.unshift(hn(a))}else i!==void 0&&t.push(hn(i));return t}static _$Eu(i,t){let o=t.attribute;return o===!1?void 0:typeof o=="string"?o:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var i;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(i=this.constructor.l)==null||i.forEach(t=>t(this))}addController(i){var t,o;((t=this._$EO)!=null?t:this._$EO=new Set).add(i),this.renderRoot!==void 0&&this.isConnected&&((o=i.hostConnected)==null||o.call(i))}removeController(i){var t;(t=this._$EO)==null||t.delete(i)}_$E_(){let i=new Map,t=this.constructor.elementProperties;for(let o of t.keys())this.hasOwnProperty(o)&&(i.set(o,this[o]),delete this[o]);i.size>0&&(this._$Ep=i)}createRenderRoot(){var t;let i=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return oc(i,this.constructor.elementStyles),i}connectedCallback(){var i,t;(i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostConnected)==null?void 0:a.call(o)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$EO)==null||i.forEach(t=>{var o;return(o=t.hostDisconnected)==null?void 0:o.call(t)})}attributeChangedCallback(i,t,o){this._$AK(i,o)}_$EC(i,t){var h;let o=this.constructor.elementProperties.get(i),a=this.constructor._$Eu(i,o);if(a!==void 0&&o.reflect===!0){let m=(((h=o.converter)==null?void 0:h.toAttribute)!==void 0?o.converter:Gs).toAttribute(t,o.type);this._$Em=i,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(i,t){var h;let o=this.constructor,a=o._$Eh.get(i);if(a!==void 0&&this._$Em!==a){let m=o.getPropertyOptions(a),E=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Gs;this._$Em=a,this[a]=E.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(i,t,o){var a;if(i!==void 0){if(o!=null||(o=this.constructor.getPropertyOptions(i)),!((a=o.hasChanged)!=null?a:pn)(this[i],t))return;this.P(i,t,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(i,t,o){var a;this._$AL.has(i)||this._$AL.set(i,t),o.reflect===!0&&this._$Em!==i&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(i)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,E]of this._$Ep)this[m]=E;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,E]of h)E.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],E)}let i=!1,t=this._$AL;try{i=this.shouldUpdate(t),i?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(t)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(t)}willUpdate(i){}_$AE(i){var t;(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostUpdated)==null?void 0:a.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(i){}firstUpdated(i){}},fp;Ur.elementStyles=[],Ur.shadowRootOptions={mode:"open"},Ur[Hs("elementProperties")]=new Map,Ur[Hs("finalized")]=new Map,sc==null||sc({ReactiveElement:Ur}),((fp=xi.reactiveElementVersions)!=null?fp:xi.reactiveElementVersions=[]).push("2.0.4");var Ws=globalThis,mn=Ws.trustedTypes,vp=mn?mn.createPolicy("lit-html",{createHTML:l=>l}):void 0,lc="$lit$",Hr=`lit$${Math.random().toFixed(9).slice(2)}$`,cc="?"+Hr,ab=`<${cc}>`,ji=document,js=()=>ji.createComment(""),Ks=l=>l===null||typeof l!="object"&&typeof l!="function",dc=Array.isArray,Ap=l=>dc(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",ac=`[
3
- \f\r]`,Ys=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,gp=/-->/g,bp=/>/g,Yi=RegExp(`>|${ac}(?:([^\\s"'>=/]+)(${ac}*=${ac}*(?:[^
4
- \f\r"'\`<>=]|("|')|))|$)`,"g"),yp=/'/g,Ep=/"/g,Sp=/^(?:script|style|textarea|title)$/i,hc=l=>(i,...t)=>({_$litType$:l,strings:i,values:t}),I=hc(1),Tx=hc(2),xx=hc(3),Ne=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),Tp=new WeakMap,Wi=ji.createTreeWalker(ji,129);function _p(l,i){if(!dc(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return vp!==void 0?vp.createHTML(i):i}var Ip=(l,i)=>{let t=l.length-1,o=[],a,h=i===2?"<svg>":i===3?"<math>":"",m=Ys;for(let E=0;E<t;E++){let N=l[E],$,K,q=-1,nt=0;for(;nt<N.length&&(m.lastIndex=nt,K=m.exec(N),K!==null);)nt=m.lastIndex,m===Ys?K[1]==="!--"?m=gp:K[1]!==void 0?m=bp:K[2]!==void 0?(Sp.test(K[2])&&(a=RegExp("</"+K[2],"g")),m=Yi):K[3]!==void 0&&(m=Yi):m===Yi?K[0]===">"?(m=a!=null?a:Ys,q=-1):K[1]===void 0?q=-2:(q=m.lastIndex-K[2].length,$=K[1],m=K[3]===void 0?Yi:K[3]==='"'?Ep:yp):m===Ep||m===yp?m=Yi:m===gp||m===bp?m=Ys:(m=Yi,a=void 0);let Q=m===Yi&&l[E+1].startsWith("/>")?" ":"";h+=m===Ys?N+ab:q>=0?(o.push($),N.slice(0,q)+lc+N.slice(q)+Hr+Q):N+Hr+(q===-2?E:Q)}return[_p(l,h+(l[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),o]},qs=class l{constructor({strings:i,_$litType$:t},o){let a;this.parts=[];let h=0,m=0,E=i.length-1,N=this.parts,[$,K]=Ip(i,t);if(this.el=l.createElement($,o),Wi.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=Wi.nextNode())!==null&&N.length<E;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(lc)){let nt=K[m++],Q=a.getAttribute(q).split(Hr),rt=/([.?@])?(.*)/.exec(nt);N.push({type:1,index:h,name:rt[2],strings:Q,ctor:rt[1]==="."?fn:rt[1]==="?"?vn:rt[1]==="@"?gn:qi}),a.removeAttribute(q)}else q.startsWith(Hr)&&(N.push({type:6,index:h}),a.removeAttribute(q));if(Sp.test(a.tagName)){let q=a.textContent.split(Hr),nt=q.length-1;if(nt>0){a.textContent=mn?mn.emptyScript:"";for(let Q=0;Q<nt;Q++)a.append(q[Q],js()),Wi.nextNode(),N.push({type:2,index:++h});a.append(q[nt],js())}}}else if(a.nodeType===8)if(a.data===cc)N.push({type:2,index:h});else{let q=-1;for(;(q=a.data.indexOf(Hr,q+1))!==-1;)N.push({type:7,index:h}),q+=Hr.length-1}h++}}static createElement(i,t){let o=ji.createElement("template");return o.innerHTML=i,o}};function Ki(l,i,t=l,o){var m,E,N;if(i===Ne)return i;let a=o!==void 0?(m=t.o)==null?void 0:m[o]:t.l,h=Ks(i)?void 0:i._$litDirective$;return(a==null?void 0:a.constructor)!==h&&((E=a==null?void 0:a._$AO)==null||E.call(a,!1),h===void 0?a=void 0:(a=new h(l),a._$AT(l,t,o)),o!==void 0?((N=t.o)!=null?N:t.o=[])[o]=a:t.l=a),a!==void 0&&(i=Ki(l,a._$AS(l,i.values),a,o)),i}var un=class{constructor(i,t){this._$AV=[],this._$AN=void 0,this._$AD=i,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(i){var $;let{el:{content:t},parts:o}=this._$AD,a=(($=i==null?void 0:i.creationScope)!=null?$:ji).importNode(t,!0);Wi.currentNode=a;let h=Wi.nextNode(),m=0,E=0,N=o[0];for(;N!==void 0;){if(m===N.index){let K;N.type===2?K=new Do(h,h.nextSibling,this,i):N.type===1?K=new N.ctor(h,N.name,N.strings,this,i):N.type===6&&(K=new bn(h,this,i)),this._$AV.push(K),N=o[++E]}m!==(N==null?void 0:N.index)&&(h=Wi.nextNode(),m++)}return Wi.currentNode=ji,a}p(i){let t=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(i,o,t),t+=o.strings.length-2):o._$AI(i[t])),t++}},Do=class l{get _$AU(){var i,t;return(t=(i=this._$AM)==null?void 0:i._$AU)!=null?t:this.v}constructor(i,t,o,a){var h;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=i,this._$AB=t,this._$AM=o,this.options=a,this.v=(h=a==null?void 0:a.isConnected)!=null?h:!0}get parentNode(){let i=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(i==null?void 0:i.nodeType)===11&&(i=t.parentNode),i}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(i,t=this){i=Ki(this,i,t),Ks(i)?i===j||i==null||i===""?(this._$AH!==j&&this._$AR(),this._$AH=j):i!==this._$AH&&i!==Ne&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Ap(i)?this.k(i):this._(i)}O(i){return this._$AA.parentNode.insertBefore(i,this._$AB)}T(i){this._$AH!==i&&(this._$AR(),this._$AH=this.O(i))}_(i){this._$AH!==j&&Ks(this._$AH)?this._$AA.nextSibling.data=i:this.T(ji.createTextNode(i)),this._$AH=i}$(i){var h;let{values:t,_$litType$:o}=i,a=typeof o=="number"?this._$AC(i):(o.el===void 0&&(o.el=qs.createElement(_p(o.h,o.h[0]),this.options)),o);if(((h=this._$AH)==null?void 0:h._$AD)===a)this._$AH.p(t);else{let m=new un(a,this),E=m.u(this.options);m.p(t),this.T(E),this._$AH=m}}_$AC(i){let t=Tp.get(i.strings);return t===void 0&&Tp.set(i.strings,t=new qs(i)),t}k(i){dc(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,o,a=0;for(let h of i)a===t.length?t.push(o=new l(this.O(js()),this.O(js()),this,this.options)):o=t[a],o._$AI(h),a++;a<t.length&&(this._$AR(o&&o._$AB.nextSibling,a),t.length=a)}_$AR(i=this._$AA.nextSibling,t){var o;for((o=this._$AP)==null?void 0:o.call(this,!1,!0,t);i&&i!==this._$AB;){let a=i.nextSibling;i.remove(),i=a}}setConnected(i){var t;this._$AM===void 0&&(this.v=i,(t=this._$AP)==null||t.call(this,i))}},qi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(i,t,o,a,h){this.type=1,this._$AH=j,this._$AN=void 0,this.element=i,this.name=t,this._$AM=a,this.options=h,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=j}_$AI(i,t=this,o,a){let h=this.strings,m=!1;if(h===void 0)i=Ki(this,i,t,0),m=!Ks(i)||i!==this._$AH&&i!==Ne,m&&(this._$AH=i);else{let E=i,N,$;for(i=h[0],N=0;N<h.length-1;N++)$=Ki(this,E[o+N],t,N),$===Ne&&($=this._$AH[N]),m||(m=!Ks($)||$!==this._$AH[N]),$===j?i=j:i!==j&&(i+=($!=null?$:"")+h[N+1]),this._$AH[N]=$}m&&!a&&this.j(i)}j(i){i===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,i!=null?i:"")}},fn=class extends qi{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===j?void 0:i}},vn=class extends qi{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==j)}},gn=class extends qi{constructor(i,t,o,a,h){super(i,t,o,a,h),this.type=5}_$AI(i,t=this){var m;if((i=(m=Ki(this,i,t,0))!=null?m:j)===Ne)return;let o=this._$AH,a=i===j&&o!==j||i.capture!==o.capture||i.once!==o.once||i.passive!==o.passive,h=i!==j&&(o===j||a);a&&this.element.removeEventListener(this.name,this,o),h&&this.element.addEventListener(this.name,this,i),this._$AH=i}handleEvent(i){var t,o;typeof this._$AH=="function"?this._$AH.call((o=(t=this.options)==null?void 0:t.host)!=null?o:this.element,i):this._$AH.handleEvent(i)}},bn=class{constructor(i,t,o){this.element=i,this.type=6,this._$AN=void 0,this._$AM=t,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(i){Ki(this,i)}},Cp={M:lc,P:Hr,A:cc,C:1,L:Ip,R:un,D:Ap,V:Ki,I:Do,H:qi,N:vn,U:gn,B:fn,F:bn},nc=Ws.litHtmlPolyfillSupport,xp;nc==null||nc(qs,Do),((xp=Ws.litHtmlVersions)!=null?xp:Ws.litHtmlVersions=[]).push("3.2.0");var kp=(l,i,t)=>{var h,m;let o=(h=t==null?void 0:t.renderBefore)!=null?h:i,a=o._$litPart$;if(a===void 0){let E=(m=t==null?void 0:t.renderBefore)!=null?m:null;o._$litPart$=a=new Do(i.insertBefore(js(),E),E,void 0,t!=null?t:{})}return a._$AI(l),a};var Ai=class extends Ur{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,o;let i=super.createRenderRoot();return(o=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=i.firstChild),i}update(i){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this.o=kp(t,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this.o)==null||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this.o)==null||i.setConnected(!1)}render(){return Ne}},wp;Ai._$litElement$=!0,Ai.finalized=!0,(wp=globalThis.litElementHydrateSupport)==null||wp.call(globalThis,{LitElement:Ai});var pc=globalThis.litElementPolyfillSupport;pc==null||pc({LitElement:Ai});var Np;((Np=globalThis.litElementVersions)!=null?Np:globalThis.litElementVersions=[]).push("4.1.0");var nb={attribute:!0,type:String,converter:Gs,reflect:!1,hasChanged:pn},lb=(l=nb,i,t)=>{let{kind:o,metadata:a}=t,h=globalThis.litPropertyMetadata.get(a);if(h===void 0&&globalThis.litPropertyMetadata.set(a,h=new Map),h.set(t.name,l),o==="accessor"){let{name:m}=t;return{set(E){let N=i.get.call(this);i.set.call(this,E),this.requestUpdate(m,N,l)},init(E){return E!==void 0&&this.P(m,void 0,l),E}}}if(o==="setter"){let{name:m}=t;return function(E){let N=this[m];i.call(this,E),this.requestUpdate(m,N,l)}}throw Error("Unsupported decorator location: "+o)};function f(l){return(i,t)=>typeof t=="object"?lb(l,i,t):((o,a,h)=>{let m=a.hasOwnProperty(h);return a.constructor.createProperty(h,m?{...o,wrapped:!0}:o),m?Object.getOwnPropertyDescriptor(a,h):void 0})(l,i,t)}function At(l){return f({...l,state:!0,attribute:!1})}var Gr=(l,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(l,i,t),t);function Yr(l,i){return(t,o,a)=>{let h=m=>{var E,N;return(N=(E=m.renderRoot)==null?void 0:E.querySelector(l))!=null?N:null};if(i){let{get:m,set:E}=typeof o=="object"?t:a!=null?a:(()=>{let N=Symbol();return{get(){return this[N]},set($){this[N]=$}}})();return Gr(t,o,{get(){let N=m.call(this);return N===void 0&&(N=h(this),(N!==null||this.hasUpdated)&&E.call(this,N)),N}})}return Gr(t,o,{get(){return h(this)}})}}function Lt(l){return(i,t)=>{let{slot:o,selector:a}=l!=null?l:{},h="slot"+(o?`[name=${o}]`:":not([name])");return Gr(i,t,{get(){var N,$;let m=(N=this.renderRoot)==null?void 0:N.querySelector(h),E=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return a===void 0?E:E.filter(K=>K.matches(a))}})}}function yn(l){return(i,t)=>{let{slot:o}=l!=null?l:{},a="slot"+(o?`[name=${o}]`:":not([name])");return Gr(i,t,{get(){var m,E;let h=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(E=h==null?void 0:h.assignedNodes(l))!=null?E:[]}})}}var cb={PREFIX:"mdc",SEPARATOR:"-"},db={NAMESPACE:cb},mc=db;var hb=l=>[mc.NAMESPACE.PREFIX,l].join(mc.NAMESPACE.SEPARATOR),G={constructTagName:hb};var tt={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var uA=G.constructTagName("buttonsimple"),Zi={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},Fo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Zs={SIZE:Zi[32],TYPE:Fo.BUTTON,ROLE:tt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Wr=G.constructTagName("button"),Pt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Xs={40:40,32:32,28:28,24:24},Ze={64:64,52:52,20:20,...Xs},Xi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},$o={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Le={VARIANT:Pt.PRIMARY,SIZE:Xs[32],COLOR:Xi.DEFAULT,TYPE_INTERNAL:$o.ICON,TYPE:Fo.BUTTON,INVERTED:!1};var En=l=>{class i extends l{constructor(){super(...arguments);this.variant=Le.VARIANT;this.color=Le.COLOR;this.typeInternal=Le.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Pt).includes(a)?a:Le.VARIANT)}setColor(a){!Object.values(Xi).includes(a)||this.variant===Pt.TERTIARY?this.setAttribute("color",`${Le.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===$o.ICON?Object.values(Ze).includes(a)&&!(a===Ze[20]&&this.variant!==Pt.TERTIARY):Object.values(Xs).includes(a);this.setAttribute("size",m?`${a}`:`${Le.SIZE}`)}inferButtonType(){var $,K,q,nt,Q,rt;let a=(K=($=this.shadowRoot)==null?void 0:$.querySelector("slot:not([name])"))==null?void 0:K.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,h=(nt=(q=this.shadowRoot)==null?void 0:q.querySelector('slot[name="prefix"]'))==null?void 0:nt.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,m=this.prefixIcon||h&&h>0,E=(rt=(Q=this.shadowRoot)==null?void 0:Q.querySelector('slot[name="postfix"]'))==null?void 0:rt.assignedNodes().filter(dt=>{var ut;return dt.nodeType!==Node.TEXT_NODE||((ut=dt.textContent)==null?void 0:ut.trim())}).length,N=this.postfixIcon||E&&E>0;a&&(m||N)?(this.typeInternal=$o.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||N)?(this.typeInternal=$o.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=$o.PILL,this.setAttribute("data-btn-type","pill"))}}return p([f({type:String,attribute:"prefix-icon",reflect:!0})],i.prototype,"prefixIcon",2),p([f({type:String,attribute:"postfix-icon",reflect:!0})],i.prototype,"postfixIcon",2),p([f({type:String})],i.prototype,"variant",2),p([f({type:String})],i.prototype,"color",2),p([At()],i.prototype,"typeInternal",2),i};var Lp=H`
1
+ "use strict";(()=>{var Qg=Object.create;var sc=Object.defineProperty;var pp=Object.getOwnPropertyDescriptor;var Jg=Object.getOwnPropertyNames;var tb=Object.getPrototypeOf,eb=Object.prototype.hasOwnProperty;var rb=(l,i)=>()=>(i||l((i={exports:{}}).exports,i),i.exports);var ib=(l,i,t,o)=>{if(i&&typeof i=="object"||typeof i=="function")for(let a of Jg(i))!eb.call(l,a)&&a!==t&&sc(l,a,{get:()=>i[a],enumerable:!(o=pp(i,a))||o.enumerable});return l};var ob=(l,i,t)=>(t=l!=null?Qg(tb(l)):{},ib(i||!l||!l.__esModule?sc(t,"default",{value:l,enumerable:!0}):t,l));var p=(l,i,t,o)=>{for(var a=o>1?void 0:o?pp(i,t):i,h=l.length-1,m;h>=0;h--)(m=l[h])&&(a=(o?m(i,t,a):m(a))||a);return o&&a&&sc(i,t,a),a};var lm=rb((sa,$n)=>{typeof navigator<"u"&&function(l,i){typeof sa=="object"&&typeof $n<"u"?$n.exports=i():typeof define=="function"&&define.amd?define(i):(l=typeof globalThis<"u"?globalThis:l||self,l.lottie=i())}(sa,function(){"use strict";var l="http://www.w3.org/2000/svg",i="",t=!1,o=-999999,a=function(r){t=!!r},h=function(){return t},m=function(r){i=r},E=function(){return i};function N(e){return document.createElement(e)}function $(e,r){var s,n=e.length,d;for(s=0;s<n;s+=1){d=e[s].prototype;for(var c in d)Object.prototype.hasOwnProperty.call(d,c)&&(r.prototype[c]=d[c])}}function K(e,r){return Object.getOwnPropertyDescriptor(e,r)}function q(e){function r(){}return r.prototype=e,r}var nt=function(){function e(r){this.audios=[],this.audioFactory=r,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(s){this.audios.push(s)},pause:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].pause()},resume:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].resume()},setRate:function(s){var n,d=this.audios.length;for(n=0;n<d;n+=1)this.audios[n].setRate(s)},createAudio:function(s){return this.audioFactory?this.audioFactory(s):window.Howl?new window.Howl({src:[s]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(s){this.audioFactory=s},setVolume:function(s){this._volume=s,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var s,n=this.audios.length;for(s=0;s<n;s+=1)this.audios[s].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),Q=function(){function e(s,n){var d=0,c=[],v;switch(s){case"int16":case"uint8c":v=1;break;default:v=1.1;break}for(d=0;d<n;d+=1)c.push(v);return c}function r(s,n){return s==="float32"?new Float32Array(n):s==="int16"?new Int16Array(n):s==="uint8c"?new Uint8ClampedArray(n):e(s,n)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?r:e}();function rt(e){return Array.apply(null,{length:e})}function dt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dt=function(s){return typeof s}:dt=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},dt(e)}var ft=!0,Tt=null,St=null,kt="",Ht=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Ft=!1,Vt=Math.pow,Kt=Math.sqrt,oe=Math.floor,nr=Math.max,Se=Math.min,He={};(function(){var e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r,s=e.length;for(r=0;r<s;r+=1)He[e[r]]=Math[e[r]]})();function lr(){return{}}He.random=Math.random,He.abs=function(e){var r=dt(e);if(r==="object"&&e.length){var s=rt(e.length),n,d=e.length;for(n=0;n<d;n+=1)s[n]=Math.abs(e[n]);return s}return Math.abs(e)};var cr=150,It=Math.PI/180,le=.5519;function Ge(e){Ft=!!e}function Ye(e){return Ft?Math.round(e):e}function We(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function je(e,r,s,n){this.type=e,this.currentTime=r,this.totalTime=s,this.direction=n<0?-1:1}function Ga(e,r){this.type=e,this.direction=r<0?-1:1}function yh(e,r,s,n){this.type=e,this.currentLoop=s,this.totalLoops=r,this.direction=n<0?-1:1}function Eh(e,r,s){this.type=e,this.firstFrame=r,this.totalFrames=s}function Th(e,r){this.type=e,this.target=r}function Qv(e,r){this.type="renderFrameError",this.nativeError=e,this.currentTime=r}function Jv(e){this.type="configError",this.nativeError=e}function bx(e,r){this.type=e,this.nativeError=r}var _e=function(){var e=0;return function(){return e+=1,kt+"__lottie_element_"+e}}();function Wl(e,r,s){var n,d,c,v,x,g,C,L;switch(v=Math.floor(e*6),x=e*6-v,g=s*(1-r),C=s*(1-x*r),L=s*(1-(1-x)*r),v%6){case 0:n=s,d=L,c=g;break;case 1:n=C,d=s,c=g;break;case 2:n=g,d=s,c=L;break;case 3:n=g,d=C,c=s;break;case 4:n=L,d=g,c=s;break;case 5:n=s,d=g,c=C;break;default:break}return[n,d,c]}function jl(e,r,s){var n=Math.max(e,r,s),d=Math.min(e,r,s),c=n-d,v,x=n===0?0:c/n,g=n/255;switch(n){case d:v=0;break;case e:v=r-s+c*(r<s?6:0),v/=6*c;break;case r:v=s-e+c*2,v/=6*c;break;case s:v=e-r+c*4,v/=6*c;break;default:break}return[v,x,g]}function xh(e,r){var s=jl(e[0]*255,e[1]*255,e[2]*255);return s[1]+=r,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),Wl(s[0],s[1],s[2])}function Ah(e,r){var s=jl(e[0]*255,e[1]*255,e[2]*255);return s[2]+=r,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),Wl(s[0],s[1],s[2])}function Sh(e,r){var s=jl(e[0]*255,e[1]*255,e[2]*255);return s[0]+=r/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),Wl(s[0],s[1],s[2])}var yx=function(){var e=[],r,s;for(r=0;r<256;r+=1)s=r.toString(16),e[r]=s.length===1?"0"+s:s;return function(n,d,c){return n<0&&(n=0),d<0&&(d=0),c<0&&(c=0),"#"+e[n]+e[d]+e[c]}}(),tg=function(r){ft=!!r},eg=function(){return ft},rg=function(r){Tt=r},Ya=function(){return Tt},Ex=function(r){St=r},_h=function(){return St},Wa=function(r){cr=r},Is=function(){return cr},ig=function(r){kt=r},Tx=function(){return kt};function bt(e){return document.createElementNS(l,e)}function ja(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ja=function(s){return typeof s}:ja=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ja(e)}var Cs=function(){var e=1,r=[],s,n,d={onmessage:function(){},postMessage:function(R){s({data:R})}},c={postMessage:function(R){d.onmessage({data:R})}};function v(T){if(window.Worker&&window.Blob&&h()){var R=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),P=URL.createObjectURL(R);return new Worker(P)}return s=T,d}function x(){n||(n=v(function(R){function P(){function z(Z,S){var O,f,b=Z.length,G,F,at,mt;for(f=0;f<b;f+=1)if(O=Z[f],"ks"in O&&!O.completed){if(O.completed=!0,O.hasMask){var gt=O.masksProperties;for(F=gt.length,G=0;G<F;G+=1)if(gt[G].pt.k.i)k(gt[G].pt.k);else for(mt=gt[G].pt.k.length,at=0;at<mt;at+=1)gt[G].pt.k[at].s&&k(gt[G].pt.k[at].s[0]),gt[G].pt.k[at].e&&k(gt[G].pt.k[at].e[0])}O.ty===0?(O.layers=y(O.refId,S),z(O.layers,S)):O.ty===4?A(O.shapes):O.ty===5&&yt(O)}}function w(Z,S){if(Z){var O=0,f=Z.length;for(O=0;O<f;O+=1)Z[O].t===1&&(Z[O].data.layers=y(Z[O].data.refId,S),z(Z[O].data.layers,S))}}function _(Z,S){for(var O=0,f=S.length;O<f;){if(S[O].id===Z)return S[O];O+=1}return null}function y(Z,S){var O=_(Z,S);return O?O.layers.__used?JSON.parse(JSON.stringify(O.layers)):(O.layers.__used=!0,O.layers):null}function A(Z){var S,O=Z.length,f,b;for(S=O-1;S>=0;S-=1)if(Z[S].ty==="sh")if(Z[S].ks.k.i)k(Z[S].ks.k);else for(b=Z[S].ks.k.length,f=0;f<b;f+=1)Z[S].ks.k[f].s&&k(Z[S].ks.k[f].s[0]),Z[S].ks.k[f].e&&k(Z[S].ks.k[f].e[0]);else Z[S].ty==="gr"&&A(Z[S].it)}function k(Z){var S,O=Z.i.length;for(S=0;S<O;S+=1)Z.i[S][0]+=Z.v[S][0],Z.i[S][1]+=Z.v[S][1],Z.o[S][0]+=Z.v[S][0],Z.o[S][1]+=Z.v[S][1]}function D(Z,S){var O=S?S.split("."):[100,100,100];return Z[0]>O[0]?!0:O[0]>Z[0]?!1:Z[1]>O[1]?!0:O[1]>Z[1]?!1:Z[2]>O[2]?!0:O[2]>Z[2]?!1:null}var V=function(){var Z=[4,4,14];function S(f){var b=f.t.d;f.t.d={k:[{s:b,t:0}]}}function O(f){var b,G=f.length;for(b=0;b<G;b+=1)f[b].ty===5&&S(f[b])}return function(f){if(D(Z,f.v)&&(O(f.layers),f.assets)){var b,G=f.assets.length;for(b=0;b<G;b+=1)f.assets[b].layers&&O(f.assets[b].layers)}}}(),Y=function(){var Z=[4,7,99];return function(S){if(S.chars&&!D(Z,S.v)){var O,f=S.chars.length;for(O=0;O<f;O+=1){var b=S.chars[O];b.data&&b.data.shapes&&(A(b.data.shapes),b.data.ip=0,b.data.op=99999,b.data.st=0,b.data.sr=1,b.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},S.chars[O].t||(b.data.shapes.push({ty:"no"}),b.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),X=function(){var Z=[5,7,15];function S(f){var b=f.t.p;typeof b.a=="number"&&(b.a={a:0,k:b.a}),typeof b.p=="number"&&(b.p={a:0,k:b.p}),typeof b.r=="number"&&(b.r={a:0,k:b.r})}function O(f){var b,G=f.length;for(b=0;b<G;b+=1)f[b].ty===5&&S(f[b])}return function(f){if(D(Z,f.v)&&(O(f.layers),f.assets)){var b,G=f.assets.length;for(b=0;b<G;b+=1)f.assets[b].layers&&O(f.assets[b].layers)}}}(),vt=function(){var Z=[4,1,9];function S(f){var b,G=f.length,F,at;for(b=0;b<G;b+=1)if(f[b].ty==="gr")S(f[b].it);else if(f[b].ty==="fl"||f[b].ty==="st")if(f[b].c.k&&f[b].c.k[0].i)for(at=f[b].c.k.length,F=0;F<at;F+=1)f[b].c.k[F].s&&(f[b].c.k[F].s[0]/=255,f[b].c.k[F].s[1]/=255,f[b].c.k[F].s[2]/=255,f[b].c.k[F].s[3]/=255),f[b].c.k[F].e&&(f[b].c.k[F].e[0]/=255,f[b].c.k[F].e[1]/=255,f[b].c.k[F].e[2]/=255,f[b].c.k[F].e[3]/=255);else f[b].c.k[0]/=255,f[b].c.k[1]/=255,f[b].c.k[2]/=255,f[b].c.k[3]/=255}function O(f){var b,G=f.length;for(b=0;b<G;b+=1)f[b].ty===4&&S(f[b].shapes)}return function(f){if(D(Z,f.v)&&(O(f.layers),f.assets)){var b,G=f.assets.length;for(b=0;b<G;b+=1)f.assets[b].layers&&O(f.assets[b].layers)}}}(),ht=function(){var Z=[4,4,18];function S(f){var b,G=f.length,F,at;for(b=G-1;b>=0;b-=1)if(f[b].ty==="sh")if(f[b].ks.k.i)f[b].ks.k.c=f[b].closed;else for(at=f[b].ks.k.length,F=0;F<at;F+=1)f[b].ks.k[F].s&&(f[b].ks.k[F].s[0].c=f[b].closed),f[b].ks.k[F].e&&(f[b].ks.k[F].e[0].c=f[b].closed);else f[b].ty==="gr"&&S(f[b].it)}function O(f){var b,G,F=f.length,at,mt,gt,wt;for(G=0;G<F;G+=1){if(b=f[G],b.hasMask){var Nt=b.masksProperties;for(mt=Nt.length,at=0;at<mt;at+=1)if(Nt[at].pt.k.i)Nt[at].pt.k.c=Nt[at].cl;else for(wt=Nt[at].pt.k.length,gt=0;gt<wt;gt+=1)Nt[at].pt.k[gt].s&&(Nt[at].pt.k[gt].s[0].c=Nt[at].cl),Nt[at].pt.k[gt].e&&(Nt[at].pt.k[gt].e[0].c=Nt[at].cl)}b.ty===4&&S(b.shapes)}}return function(f){if(D(Z,f.v)&&(O(f.layers),f.assets)){var b,G=f.assets.length;for(b=0;b<G;b+=1)f.assets[b].layers&&O(f.assets[b].layers)}}}();function et(Z){Z.__complete||(vt(Z),V(Z),Y(Z),X(Z),ht(Z),z(Z.layers,Z.assets),w(Z.chars,Z.assets),Z.__complete=!0)}function yt(Z){Z.t.a.length===0&&"m"in Z.t.p}var lt={};return lt.completeData=et,lt.checkColors=vt,lt.checkChars=Y,lt.checkPathProperties=X,lt.checkShapes=ht,lt.completeLayers=z,lt}if(c.dataManager||(c.dataManager=P()),c.assetLoader||(c.assetLoader=function(){function z(_){var y=_.getResponseHeader("content-type");return y&&_.responseType==="json"&&y.indexOf("json")!==-1||_.response&&ja(_.response)==="object"?_.response:_.response&&typeof _.response=="string"?JSON.parse(_.response):_.responseText?JSON.parse(_.responseText):null}function w(_,y,A,k){var D,V=new XMLHttpRequest;try{V.responseType="json"}catch{}V.onreadystatechange=function(){if(V.readyState===4)if(V.status===200)D=z(V),A(D);else try{D=z(V),A(D)}catch(Y){k&&k(Y)}};try{V.open(["G","E","T"].join(""),_,!0)}catch{V.open(["G","E","T"].join(""),y+"/"+_,!0)}V.send()}return{load:w}}()),R.data.type==="loadAnimation")c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.dataManager.completeData(z),c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})});else if(R.data.type==="complete"){var M=R.data.animation;c.dataManager.completeData(M),c.postMessage({id:R.data.id,payload:M,status:"success"})}else R.data.type==="loadData"&&c.assetLoader.load(R.data.path,R.data.fullPath,function(z){c.postMessage({id:R.data.id,payload:z,status:"success"})},function(){c.postMessage({id:R.data.id,status:"error"})})}),n.onmessage=function(T){var R=T.data,P=R.id,M=r[P];r[P]=null,R.status==="success"?M.onComplete(R.payload):M.onError&&M.onError()})}function g(T,R){e+=1;var P="processId_"+e;return r[P]={onComplete:T,onError:R},P}function C(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function L(T,R,P){x();var M=g(R,P);n.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:M})}function B(T,R,P){x();var M=g(R,P);n.postMessage({type:"complete",animation:T,id:M})}return{loadAnimation:C,loadData:L,completeAnimation:B}}(),og=function(){var e=function(){var w=N("canvas");w.width=1,w.height=1;var _=w.getContext("2d");return _.fillStyle="rgba(0,0,0,0)",_.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 s(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(w,_,y){var A="";if(w.e)A=w.p;else if(_){var k=w.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),A=_+k}else A=y,A+=w.u?w.u:"",A+=w.p;return A}function d(w){var _=0,y=setInterval((function(){var A=w.getBBox();(A.width||_>500)&&(this._imageLoaded(),clearInterval(y)),_+=1}).bind(this),50)}function c(w){var _=n(w,this.assetsPath,this.path),y=bt("image");Ht?this.testImageLoaded(y):y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.setAttributeNS("http://www.w3.org/1999/xlink","href",_),this._elementHelper.append?this._elementHelper.append(y):this._elementHelper.appendChild(y);var A={img:y,assetData:w};return A}function v(w){var _=n(w,this.assetsPath,this.path),y=N("img");y.crossOrigin="anonymous",y.addEventListener("load",this._imageLoaded,!1),y.addEventListener("error",(function(){A.img=e,this._imageLoaded()}).bind(this),!1),y.src=_;var A={img:y,assetData:w};return A}function x(w){var _={assetData:w},y=n(w,this.assetsPath,this.path);return Cs.loadData(y,(function(A){_.img=A,this._footageLoaded()}).bind(this),(function(){_.img={},this._footageLoaded()}).bind(this)),_}function g(w,_){this.imagesLoadedCb=_;var y,A=w.length;for(y=0;y<A;y+=1)w[y].layers||(!w[y].t||w[y].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(w[y]))):w[y].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(w[y]))))}function C(w){this.path=w||""}function L(w){this.assetsPath=w||""}function B(w){for(var _=0,y=this.images.length;_<y;){if(this.images[_].assetData===w)return this.images[_].img;_+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function R(){return this.totalImages===this.loadedAssets}function P(){return this.totalFootages===this.loadedFootagesCount}function M(w,_){w==="svg"?(this._elementHelper=_,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function z(){this._imageLoaded=r.bind(this),this._footageLoaded=s.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:g,setAssetsPath:L,setPath:C,loadedImages:R,loadedFootages:P,destroy:T,getAsset:B,createImgData:v,createImageData:c,imageLoaded:r,footageLoaded:s,setCacheType:M},z}();function Ih(){}Ih.prototype={triggerEvent:function(r,s){if(this._cbs[r])for(var n=this._cbs[r],d=0;d<n.length;d+=1)n[d](s)},addEventListener:function(r,s){return this._cbs[r]||(this._cbs[r]=[]),this._cbs[r].push(s),(function(){this.removeEventListener(r,s)}).bind(this)},removeEventListener:function(r,s){if(!s)this._cbs[r]=null;else if(this._cbs[r]){for(var n=0,d=this._cbs[r].length;n<d;)this._cbs[r][n]===s&&(this._cbs[r].splice(n,1),n-=1,d-=1),n+=1;this._cbs[r].length||(this._cbs[r]=null)}}};var sg=function(){function e(r){for(var s=r.split(`\r
2
+ `),n={},d,c=0,v=0;v<s.length;v+=1)d=s[v].split(":"),d.length===2&&(n[d[0]]=d[1].trim(),c+=1);if(c===0)throw new Error;return n}return function(r){for(var s=[],n=0;n<r.length;n+=1){var d=r[n],c={time:d.tm,duration:d.dr};try{c.payload=JSON.parse(r[n].cm)}catch{try{c.payload=e(r[n].cm)}catch{c.payload={name:r[n].cm}}}s.push(c)}return s}}(),ag=function(){function e(r){this.compositions.push(r)}return function(){function r(s){for(var n=0,d=this.compositions.length;n<d;){if(this.compositions[n].data&&this.compositions[n].data.nm===s)return this.compositions[n].prepareFrame&&this.compositions[n].data.xt&&this.compositions[n].prepareFrame(this.currentFrame),this.compositions[n].compInterface;n+=1}return null}return r.compositions=[],r.currentFrame=0,r.registerComposition=e,r}}(),ks={},ng=function(r,s){ks[r]=s};function lg(e){return ks[e]}function cg(){if(ks.canvas)return"canvas";for(var e in ks)if(ks[e])return e;return""}function ws(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ws=function(s){return typeof s}:ws=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},ws(e)}var pt=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=_e(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=eg(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ag(),this.imagePreloader=new og,this.audioController=nt(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new je("drawnFrame",0,0,0),this.expressionsPlugin=Ya()};$([Ih],pt),pt.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var r="svg";e.animType?r=e.animType:e.renderer&&(r=e.renderer);var s=lg(r);this.renderer=new s(this,e.rendererSettings),this.imagePreloader.setCacheType(r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=r,e.loop===""||e.loop===null||e.loop===void 0||e.loop===!0?this.loop=!0:e.loop===!1?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay="autoplay"in e?e.autoplay:!0,this.name=e.name?e.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(e,"autoloadSegments")?e.autoloadSegments:!0,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(e.path.lastIndexOf("\\")!==-1?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Cs.loadAnimation(e.path,this.configAnimation,this.onSetupError))},pt.prototype.onSetupError=function(){this.trigger("data_failed")},pt.prototype.setupAnimation=function(e){Cs.completeAnimation(e,this.configAnimation)},pt.prototype.setData=function(e,r){r&&ws(r)!=="object"&&(r=JSON.parse(r));var s={wrapper:e,animationData:r},n=e.attributes;s.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",s.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:cg()||"canvas";var d=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";d==="false"?s.loop=!1:d==="true"?s.loop=!0:d!==""&&(s.loop=parseInt(d,10));var c=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:n.getNamedItem("bm-autoplay")?n.getNamedItem("bm-autoplay").value:!0;s.autoplay=c!=="false",s.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"";var v=n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"";v==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},pt.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var r=this.animationData.layers,s,n=r.length,d=e.layers,c,v=d.length;for(c=0;c<v;c+=1)for(s=0;s<n;){if(r[s].id===d[c].id){r[s]=d[c];break}s+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(n=e.assets.length,s=0;s<n;s+=1)this.animationData.assets.push(e.assets[s]);this.animationData.__complete=!1,Cs.completeAnimation(this.animationData,this.onSegmentComplete)},pt.prototype.onSegmentComplete=function(e){this.animationData=e;var r=Ya();r&&r.initExpressions(this),this.loadNextSegment()},pt.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||e.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var r=e.shift();this.timeCompleted=r.time*this.frameRate;var s=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Cs.loadData(s,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},pt.prototype.loadSegments=function(){var e=this.animationData.segments;e||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},pt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},pt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},pt.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=sg(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(r){this.triggerConfigError(r)}},pt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},pt.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=Ya();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},pt.prototype.resize=function(e,r){var s=typeof e=="number"?e:void 0,n=typeof r=="number"?r:void 0;this.renderer.updateContainerSize(s,n)},pt.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},pt.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},pt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},pt.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},pt.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},pt.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},pt.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},pt.prototype.getMarkerData=function(e){for(var r,s=0;s<this.markers.length;s+=1)if(r=this.markers[s],r.payload&&r.payload.name===e)return r;return null},pt.prototype.goToAndStop=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&this.goToAndStop(d.time,!0)}else r?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},pt.prototype.goToAndPlay=function(e,r,s){if(!(s&&this.name!==s)){var n=Number(e);if(isNaN(n)){var d=this.getMarkerData(e);d&&(d.duration?this.playSegments([d.time,d.time+d.duration],!0):this.goToAndStop(d.time,!0))}else this.goToAndStop(n,r,s);this.play()}},pt.prototype.advanceTime=function(e){if(!(this.isPaused===!0||this.isLoaded===!1)){var r=this.currentRawFrame+e*this.frameModifier,s=!1;r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(r>this.totalFrames?r%this.totalFrames:0)||(s=!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):(s=!0,r=0)):this.setCurrentRawFrameValue(r),s&&(this.setCurrentRawFrameValue(r),this.pause(),this.trigger("complete"))}},pt.prototype.adjustSegment=function(e,r){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-r)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+r)),this.trigger("segmentStart")},pt.prototype.setSegment=function(e,r){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?s=e:this.currentRawFrame+this.firstFrame>r&&(s=r-e)),this.firstFrame=e,this.totalFrames=r-e,this.timeCompleted=this.totalFrames,s!==-1&&this.goToAndStop(s,!0)},pt.prototype.playSegments=function(e,r){if(r&&(this.segments.length=0),ws(e[0])==="object"){var s,n=e.length;for(s=0;s<n;s+=1)this.segments.push(e[s])}else this.segments.push(e);this.segments.length&&r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},pt.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},pt.prototype.checkSegments=function(e){return this.segments.length?(this.adjustSegment(this.segments.shift(),e),!0):!1},pt.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},pt.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},pt.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},pt.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},pt.prototype.setLoop=function(e){this.loop=e},pt.prototype.setVolume=function(e,r){r&&this.name!==r||this.audioController.setVolume(e)},pt.prototype.getVolume=function(){return this.audioController.getVolume()},pt.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},pt.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},pt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},pt.prototype.getPath=function(){return this.path},pt.prototype.getAssetsPath=function(e){var r="";if(e.e)r=e.p;else if(this.assetsPath){var s=e.p;s.indexOf("images/")!==-1&&(s=s.split("/")[1]),r=this.assetsPath+s}else r=this.path,r+=e.u?e.u:"",r+=e.p;return r},pt.prototype.getAssetData=function(e){for(var r=0,s=this.assets.length;r<s;){if(e===this.assets[r].id)return this.assets[r];r+=1}return null},pt.prototype.hide=function(){this.renderer.hide()},pt.prototype.show=function(){this.renderer.show()},pt.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},pt.prototype.updateDocumentData=function(e,r,s){try{var n=this.renderer.getElementByPath(e);n.updateDocumentData(r,s)}catch{}},pt.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new je(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new yh(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new Ga(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new Eh(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new Th(e,this));break;default:this.triggerEvent(e)}e==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new je(e,this.currentFrame,this.totalFrames,this.frameMult)),e==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new yh(e,this.loop,this.playCount,this.frameMult)),e==="complete"&&this.onComplete&&this.onComplete.call(this,new Ga(e,this.frameMult)),e==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Eh(e,this.firstFrame,this.totalFrames)),e==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Th(e,this))},pt.prototype.triggerRenderFrameError=function(e){var r=new Qv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)},pt.prototype.triggerConfigError=function(e){var r=new Jv(e,this.currentFrame);this.triggerEvent("error",r),this.onError&&this.onError.call(this,r)};var qt=function(){var e={},r=[],s=0,n=0,d=0,c=!0,v=!1;function x(S){for(var O=0,f=S.target;O<n;)r[O].animation===f&&(r.splice(O,1),O-=1,n-=1,f.isPaused||B()),O+=1}function g(S,O){if(!S)return null;for(var f=0;f<n;){if(r[f].elem===S&&r[f].elem!==null)return r[f].animation;f+=1}var b=new pt;return T(b,S),b.setData(S,O),b}function C(){var S,O=r.length,f=[];for(S=0;S<O;S+=1)f.push(r[S].animation);return f}function L(){d+=1,vt()}function B(){d-=1}function T(S,O){S.addEventListener("destroy",x),S.addEventListener("_active",L),S.addEventListener("_idle",B),r.push({elem:O,animation:S}),n+=1}function R(S){var O=new pt;return T(O,null),O.setParams(S),O}function P(S,O){var f;for(f=0;f<n;f+=1)r[f].animation.setSpeed(S,O)}function M(S,O){var f;for(f=0;f<n;f+=1)r[f].animation.setDirection(S,O)}function z(S){var O;for(O=0;O<n;O+=1)r[O].animation.play(S)}function w(S){var O=S-s,f;for(f=0;f<n;f+=1)r[f].animation.advanceTime(O);s=S,d&&!v?window.requestAnimationFrame(w):c=!0}function _(S){s=S,window.requestAnimationFrame(w)}function y(S){var O;for(O=0;O<n;O+=1)r[O].animation.pause(S)}function A(S,O,f){var b;for(b=0;b<n;b+=1)r[b].animation.goToAndStop(S,O,f)}function k(S){var O;for(O=0;O<n;O+=1)r[O].animation.stop(S)}function D(S){var O;for(O=0;O<n;O+=1)r[O].animation.togglePause(S)}function V(S){var O;for(O=n-1;O>=0;O-=1)r[O].animation.destroy(S)}function Y(S,O,f){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),G,F=b.length;for(G=0;G<F;G+=1)f&&b[G].setAttribute("data-bm-type",f),g(b[G],S);if(O&&F===0){f||(f="svg");var at=document.getElementsByTagName("body")[0];at.innerText="";var mt=N("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",f),at.appendChild(mt),g(mt,S)}}function X(){var S;for(S=0;S<n;S+=1)r[S].animation.resize()}function vt(){!v&&d&&c&&(window.requestAnimationFrame(_),c=!1)}function ht(){v=!0}function et(){v=!1,vt()}function yt(S,O){var f;for(f=0;f<n;f+=1)r[f].animation.setVolume(S,O)}function lt(S){var O;for(O=0;O<n;O+=1)r[O].animation.mute(S)}function Z(S){var O;for(O=0;O<n;O+=1)r[O].animation.unmute(S)}return e.registerAnimation=g,e.loadAnimation=R,e.setSpeed=P,e.setDirection=M,e.play=z,e.pause=y,e.stop=k,e.togglePause=D,e.searchAnimations=Y,e.resize=X,e.goToAndStop=A,e.destroy=V,e.freeze=ht,e.unfreeze=et,e.setVolume=yt,e.mute=lt,e.unmute=Z,e.getRegisteredAnimations=C,e}(),Ns=function(){var e={};e.getBezierEasing=s;var r={};function s(_,y,A,k,D){var V=D||("bez_"+_+"_"+y+"_"+A+"_"+k).replace(/\./g,"p");if(r[V])return r[V];var Y=new w([_,y,A,k]);return r[V]=Y,Y}var n=4,d=.001,c=1e-7,v=10,x=11,g=1/(x-1),C=typeof Float32Array=="function";function L(_,y){return 1-3*y+3*_}function B(_,y){return 3*y-6*_}function T(_){return 3*_}function R(_,y,A){return((L(y,A)*_+B(y,A))*_+T(y))*_}function P(_,y,A){return 3*L(y,A)*_*_+2*B(y,A)*_+T(y)}function M(_,y,A,k,D){var V,Y,X=0;do Y=y+(A-y)/2,V=R(Y,k,D)-_,V>0?A=Y:y=Y;while(Math.abs(V)>c&&++X<v);return Y}function z(_,y,A,k){for(var D=0;D<n;++D){var V=P(y,A,k);if(V===0)return y;var Y=R(y,A,k)-_;y-=Y/V}return y}function w(_){this._p=_,this._mSampleValues=C?new Float32Array(x):new Array(x),this._precomputed=!1,this.get=this.get.bind(this)}return w.prototype={get:function(y){var A=this._p[0],k=this._p[1],D=this._p[2],V=this._p[3];return this._precomputed||this._precompute(),A===k&&D===V?y:y===0?0:y===1?1:R(this._getTForX(y),k,V)},_precompute:function(){var y=this._p[0],A=this._p[1],k=this._p[2],D=this._p[3];this._precomputed=!0,(y!==A||k!==D)&&this._calcSampleValues()},_calcSampleValues:function(){for(var y=this._p[0],A=this._p[2],k=0;k<x;++k)this._mSampleValues[k]=R(k*g,y,A)},_getTForX:function(y){for(var A=this._p[0],k=this._p[2],D=this._mSampleValues,V=0,Y=1,X=x-1;Y!==X&&D[Y]<=y;++Y)V+=g;--Y;var vt=(y-D[Y])/(D[Y+1]-D[Y]),ht=V+vt*g,et=P(ht,A,k);return et>=d?z(y,ht,A,k):et===0?ht:M(y,V,V+g,A,k)}},e}(),Ch=function(){function e(r){return r.concat(rt(r.length))}return{double:e}}(),Ka=function(){return function(e,r,s){var n=0,d=e,c=rt(d),v={newElement:x,release:g};function x(){var C;return n?(n-=1,C=c[n]):C=r(),C}function g(C){n===d&&(c=Ch.double(c),d*=2),s&&s(C),c[n]=C,n+=1}return v}}(),kh=function(){function e(){return{addedLength:0,percents:Q("float32",Is()),lengths:Q("float32",Is())}}return Ka(8,e)}(),wh=function(){function e(){return{lengths:[],totalLength:0}}function r(s){var n,d=s.lengths.length;for(n=0;n<d;n+=1)kh.release(s.lengths[n]);s.lengths.length=0}return Ka(8,e,r)}();function dg(){var e=Math;function r(T,R,P,M,z,w){var _=T*M+R*z+P*w-z*M-w*T-P*R;return _>-.001&&_<.001}function s(T,R,P,M,z,w,_,y,A){if(P===0&&w===0&&A===0)return r(T,R,M,z,_,y);var k=e.sqrt(e.pow(M-T,2)+e.pow(z-R,2)+e.pow(w-P,2)),D=e.sqrt(e.pow(_-T,2)+e.pow(y-R,2)+e.pow(A-P,2)),V=e.sqrt(e.pow(_-M,2)+e.pow(y-z,2)+e.pow(A-w,2)),Y;return k>D?k>V?Y=k-D-V:Y=V-D-k:V>D?Y=V-D-k:Y=D-k-V,Y>-1e-4&&Y<1e-4}var n=function(){return function(T,R,P,M){var z=Is(),w,_,y,A,k,D=0,V,Y=[],X=[],vt=kh.newElement();for(y=P.length,w=0;w<z;w+=1){for(k=w/(z-1),V=0,_=0;_<y;_+=1)A=Vt(1-k,3)*T[_]+3*Vt(1-k,2)*k*P[_]+3*(1-k)*Vt(k,2)*M[_]+Vt(k,3)*R[_],Y[_]=A,X[_]!==null&&(V+=Vt(Y[_]-X[_],2)),X[_]=Y[_];V&&(V=Kt(V),D+=V),vt.percents[w]=k,vt.lengths[w]=D}return vt.addedLength=D,vt}}();function d(T){var R=wh.newElement(),P=T.c,M=T.v,z=T.o,w=T.i,_,y=T._length,A=R.lengths,k=0;for(_=0;_<y-1;_+=1)A[_]=n(M[_],M[_+1],z[_],w[_+1]),k+=A[_].addedLength;return P&&y&&(A[_]=n(M[_],M[0],z[_],w[0]),k+=A[_].addedLength),R.totalLength=k,R}function c(T){this.segmentLength=0,this.points=new Array(T)}function v(T,R){this.partialLength=T,this.point=R}var x=function(){var T={};return function(R,P,M,z){var w=(R[0]+"_"+R[1]+"_"+P[0]+"_"+P[1]+"_"+M[0]+"_"+M[1]+"_"+z[0]+"_"+z[1]).replace(/\./g,"p");if(!T[w]){var _=Is(),y,A,k,D,V,Y=0,X,vt,ht=null;R.length===2&&(R[0]!==P[0]||R[1]!==P[1])&&r(R[0],R[1],P[0],P[1],R[0]+M[0],R[1]+M[1])&&r(R[0],R[1],P[0],P[1],P[0]+z[0],P[1]+z[1])&&(_=2);var et=new c(_);for(k=M.length,y=0;y<_;y+=1){for(vt=rt(k),V=y/(_-1),X=0,A=0;A<k;A+=1)D=Vt(1-V,3)*R[A]+3*Vt(1-V,2)*V*(R[A]+M[A])+3*(1-V)*Vt(V,2)*(P[A]+z[A])+Vt(V,3)*P[A],vt[A]=D,ht!==null&&(X+=Vt(vt[A]-ht[A],2));X=Kt(X),Y+=X,et.points[y]=new v(X,vt),ht=vt}et.segmentLength=Y,T[w]=et}return T[w]}}();function g(T,R){var P=R.percents,M=R.lengths,z=P.length,w=oe((z-1)*T),_=T*R.addedLength,y=0;if(w===z-1||w===0||_===M[w])return P[w];for(var A=M[w]>_?-1:1,k=!0;k;)if(M[w]<=_&&M[w+1]>_?(y=(_-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])*y}function C(T,R,P,M,z,w){var _=g(z,w),y=1-_,A=e.round((y*y*y*T[0]+(_*y*y+y*_*y+y*y*_)*P[0]+(_*_*y+y*_*_+_*y*_)*M[0]+_*_*_*R[0])*1e3)/1e3,k=e.round((y*y*y*T[1]+(_*y*y+y*_*y+y*y*_)*P[1]+(_*_*y+y*_*_+_*y*_)*M[1]+_*_*_*R[1])*1e3)/1e3;return[A,k]}var L=Q("float32",8);function B(T,R,P,M,z,w,_){z<0?z=0:z>1&&(z=1);var y=g(z,_);w=w>1?1:w;var A=g(w,_),k,D=T.length,V=1-y,Y=1-A,X=V*V*V,vt=y*V*V*3,ht=y*y*V*3,et=y*y*y,yt=V*V*Y,lt=y*V*Y+V*y*Y+V*V*A,Z=y*y*Y+V*y*A+y*V*A,S=y*y*A,O=V*Y*Y,f=y*Y*Y+V*A*Y+V*Y*A,b=y*A*Y+V*A*A+y*Y*A,G=y*A*A,F=Y*Y*Y,at=A*Y*Y+Y*A*Y+Y*Y*A,mt=A*A*Y+Y*A*A+A*Y*A,gt=A*A*A;for(k=0;k<D;k+=1)L[k*4]=e.round((X*T[k]+vt*P[k]+ht*M[k]+et*R[k])*1e3)/1e3,L[k*4+1]=e.round((yt*T[k]+lt*P[k]+Z*M[k]+S*R[k])*1e3)/1e3,L[k*4+2]=e.round((O*T[k]+f*P[k]+b*M[k]+G*R[k])*1e3)/1e3,L[k*4+3]=e.round((F*T[k]+at*P[k]+mt*M[k]+gt*R[k])*1e3)/1e3;return L}return{getSegmentsLength:d,getNewSegment:B,getPointInSegment:C,buildBezierData:x,pointOnLine2D:r,pointOnLine3D:s}}var Tr=dg(),zi=o,Nh=Math.abs;function Lh(e,r){var s=this.offsetTime,n;this.propType==="multidimensional"&&(n=Q("float32",this.pv.length));for(var d=r.lastIndex,c=d,v=this.keyframes.length-1,x=!0,g,C,L;x;){if(g=this.keyframes[c],C=this.keyframes[c+1],c===v-1&&e>=C.t-s){g.h&&(g=C),d=0;break}if(C.t-s>e){d=c;break}c<v-1?c+=1:(d=0,x=!1)}L=this.keyframesMetadata[c]||{};var B,T,R,P,M,z,w=C.t-s,_=g.t-s,y;if(g.to){L.bezierData||(L.bezierData=Tr.buildBezierData(g.s,C.s||g.e,g.to,g.ti));var A=L.bezierData;if(e>=w||e<_){var k=e>=w?A.points.length-1:0;for(T=A.points[k].point.length,B=0;B<T;B+=1)n[B]=A.points[k].point[B]}else{L.__fnct?z=L.__fnct:(z=Ns.getBezierEasing(g.o.x,g.o.y,g.i.x,g.i.y,g.n).get,L.__fnct=z),R=z((e-_)/(w-_));var D=A.segmentLength*R,V,Y=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastAddedLength:0;for(M=r.lastFrame<e&&r._lastKeyframeIndex===c?r._lastPoint:0,x=!0,P=A.points.length;x;){if(Y+=A.points[M].partialLength,D===0||R===0||M===A.points.length-1){for(T=A.points[M].point.length,B=0;B<T;B+=1)n[B]=A.points[M].point[B];break}else if(D>=Y&&D<Y+A.points[M+1].partialLength){for(V=(D-Y)/A.points[M+1].partialLength,T=A.points[M].point.length,B=0;B<T;B+=1)n[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=Y-A.points[M].partialLength,r._lastKeyframeIndex=c}}else{var X,vt,ht,et,yt;if(v=g.s.length,y=C.s||g.e,this.sh&&g.h!==1)if(e>=w)n[0]=y[0],n[1]=y[1],n[2]=y[2];else if(e<=_)n[0]=g.s[0],n[1]=g.s[1],n[2]=g.s[2];else{var lt=Rh(g.s),Z=Rh(y),S=(e-_)/(w-_);pg(n,hg(lt,Z,S))}else for(c=0;c<v;c+=1)g.h!==1&&(e>=w?R=1:e<_?R=0:(g.o.x.constructor===Array?(L.__fnct||(L.__fnct=[]),L.__fnct[c]?z=L.__fnct[c]:(X=g.o.x[c]===void 0?g.o.x[0]:g.o.x[c],vt=g.o.y[c]===void 0?g.o.y[0]:g.o.y[c],ht=g.i.x[c]===void 0?g.i.x[0]:g.i.x[c],et=g.i.y[c]===void 0?g.i.y[0]:g.i.y[c],z=Ns.getBezierEasing(X,vt,ht,et).get,L.__fnct[c]=z)):L.__fnct?z=L.__fnct:(X=g.o.x,vt=g.o.y,ht=g.i.x,et=g.i.y,z=Ns.getBezierEasing(X,vt,ht,et).get,g.keyframeMetadata=z),R=z((e-_)/(w-_)))),y=C.s||g.e,yt=g.h===1?g.s[c]:g.s[c]+(y[c]-g.s[c])*R,this.propType==="multidimensional"?n[c]=yt:n=yt}return r.lastIndex=d,n}function hg(e,r,s){var n=[],d=e[0],c=e[1],v=e[2],x=e[3],g=r[0],C=r[1],L=r[2],B=r[3],T,R,P,M,z;return R=d*g+c*C+v*L+x*B,R<0&&(R=-R,g=-g,C=-C,L=-L,B=-B),1-R>1e-6?(T=Math.acos(R),P=Math.sin(T),M=Math.sin((1-s)*T)/P,z=Math.sin(s*T)/P):(M=1-s,z=s),n[0]=M*d+z*g,n[1]=M*c+z*C,n[2]=M*v+z*L,n[3]=M*x+z*B,n}function pg(e,r){var s=r[0],n=r[1],d=r[2],c=r[3],v=Math.atan2(2*n*c-2*s*d,1-2*n*n-2*d*d),x=Math.asin(2*s*n+2*d*c),g=Math.atan2(2*s*c-2*n*d,1-2*s*s-2*d*d);e[0]=v/It,e[1]=x/It,e[2]=g/It}function Rh(e){var r=e[0]*It,s=e[1]*It,n=e[2]*It,d=Math.cos(r/2),c=Math.cos(s/2),v=Math.cos(n/2),x=Math.sin(r/2),g=Math.sin(s/2),C=Math.sin(n/2),L=d*c*v-x*g*C,B=x*g*v+d*c*C,T=x*c*v+d*g*C,R=d*g*v-x*c*C;return[B,T,R,L]}function Mh(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==zi&&(this._caching.lastFrame>=s&&e>=s||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function qa(e){var r;if(this.propType==="unidimensional")r=e*this.mult,Nh(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var s=0,n=this.v.length;s<n;)r=e[s]*this.mult,Nh(this.v[s]-r)>1e-5&&(this.v[s]=r,this._mdf=!0),s+=1}function Za(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,r=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(e=0;e<r;e+=1)s=this.effectsSequence[e](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Xa(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function mg(e,r,s,n){this.propType="unidimensional",this.mult=s||1,this.data=r,this.v=s?r.k*s:r.k,this.pv=r.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Za,this.setVValue=qa,this.addEffect=Xa}function ug(e,r,s,n){this.propType="multidimensional",this.mult=s||1,this.data=r,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var d,c=r.k.length;for(this.v=Q("float32",c),this.pv=Q("float32",c),this.vel=Q("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=Za,this.setVValue=qa,this.addEffect=Xa}function fg(e,r,s,n){this.propType="unidimensional",this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:zi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=r,this.mult=s||1,this.elem=e,this.container=n,this.comp=e.comp,this.v=zi,this.pv=zi,this._isFirstFrame=!0,this.getValue=Za,this.setVValue=qa,this.interpolateValue=Lh,this.effectsSequence=[Mh.bind(this)],this.addEffect=Xa}function vg(e,r,s,n){this.propType="multidimensional";var d,c=r.k.length,v,x,g,C;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&&(v=r.k[d].s,x=r.k[d+1].s,g=r.k[d].to,C=r.k[d].ti,(v.length===2&&!(v[0]===x[0]&&v[1]===x[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],v[0]+g[0],v[1]+g[1])&&Tr.pointOnLine2D(v[0],v[1],x[0],x[1],x[0]+C[0],x[1]+C[1])||v.length===3&&!(v[0]===x[0]&&v[1]===x[1]&&v[2]===x[2])&&Tr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],v[0]+g[0],v[1]+g[1],v[2]+g[2])&&Tr.pointOnLine3D(v[0],v[1],v[2],x[0],x[1],x[2],x[0]+C[0],x[1]+C[1],x[2]+C[2]))&&(r.k[d].to=null,r.k[d].ti=null),v[0]===x[0]&&v[1]===x[1]&&g[0]===0&&g[1]===0&&C[0]===0&&C[1]===0&&(v.length===2||v[2]===x[2]&&g[2]===0&&C[2]===0)&&(r.k[d].to=null,r.k[d].ti=null));this.effectsSequence=[Mh.bind(this)],this.data=r,this.keyframes=r.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=s||1,this.elem=e,this.container=n,this.comp=e.comp,this.getValue=Za,this.setVValue=qa,this.interpolateValue=Lh,this.frameId=-1;var L=r.k[0].s.length;for(this.v=Q("float32",L),this.pv=Q("float32",L),d=0;d<L;d+=1)this.v[d]=zi,this.pv[d]=zi;this._caching={lastFrame:zi,lastIndex:0,value:Q("float32",L)},this.addEffect=Xa}var it=function(){function e(s,n,d,c,v){n.sid&&(n=s.globalData.slotManager.getProp(n));var x;if(!n.k.length)x=new mg(s,n,c,v);else if(typeof n.k[0]=="number")x=new ug(s,n,c,v);else switch(d){case 0:x=new fg(s,n,c,v);break;case 1:x=new vg(s,n,c,v);break;default:break}return x.effectsSequence.length&&v.addDynamicProperty(x),x}var r={getProp:e};return r}();function se(){}se.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,s=this.dynamicProperties.length;for(r=0;r<s;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 Vi=function(){function e(){return Q("float32",2)}return Ka(8,e)}();function Pr(){this.c=!1,this._length=0,this._maxLength=8,this.v=rt(this._maxLength),this.o=rt(this._maxLength),this.i=rt(this._maxLength)}Pr.prototype.setPathData=function(e,r){this.c=e,this.setLength(r);for(var s=0;s<r;)this.v[s]=Vi.newElement(),this.o[s]=Vi.newElement(),this.i[s]=Vi.newElement(),s+=1},Pr.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},Pr.prototype.doubleArrayLength=function(){this.v=this.v.concat(rt(this._maxLength)),this.i=this.i.concat(rt(this._maxLength)),this.o=this.o.concat(rt(this._maxLength)),this._maxLength*=2},Pr.prototype.setXYAt=function(e,r,s,n,d){var c;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":c=this.v;break;case"i":c=this.i;break;case"o":c=this.o;break;default:c=[];break}(!c[n]||c[n]&&!d)&&(c[n]=Vi.newElement()),c[n][0]=e,c[n][1]=r},Pr.prototype.setTripleAt=function(e,r,s,n,d,c,v,x){this.setXYAt(e,r,"v",v,x),this.setXYAt(s,n,"o",v,x),this.setXYAt(d,c,"i",v,x)},Pr.prototype.reverse=function(){var e=new Pr;e.setPathData(this.c,this._length);var r=this.v,s=this.o,n=this.i,d=0;this.c&&(e.setTripleAt(r[0][0],r[0][1],n[0][0],n[0][1],s[0][0],s[0][1],0,!1),d=1);var c=this._length-1,v=this._length,x;for(x=d;x<v;x+=1)e.setTripleAt(r[c][0],r[c][1],n[c][0],n[c][1],s[c][0],s[c][1],x,!1),c-=1;return e},Pr.prototype.length=function(){return this._length};var ce=function(){function e(){return new Pr}function r(d){var c=d._length,v;for(v=0;v<c;v+=1)Vi.release(d.v[v]),Vi.release(d.i[v]),Vi.release(d.o[v]),d.v[v]=null,d.i[v]=null,d.o[v]=null;d._length=0,d.c=!1}function s(d){var c=n.newElement(),v,x=d._length===void 0?d.v.length:d._length;for(c.setLength(x),c.c=d.c,v=0;v<x;v+=1)c.setTripleAt(d.v[v][0],d.v[v][1],d.o[v][0],d.o[v][1],d.i[v][0],d.i[v][1],v);return c}var n=Ka(4,e,r);return n.clone=s,n}();function Kl(){this._length=0,this._maxLength=4,this.shapes=rt(this._maxLength)}Kl.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(rt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},Kl.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)ce.release(this.shapes[e]);this._length=0};var wo=function(){var e={newShapeCollection:d,release:c},r=0,s=4,n=rt(s);function d(){var v;return r?(r-=1,v=n[r]):v=new Kl,v}function c(v){var x,g=v._length;for(x=0;x<g;x+=1)ce.release(v.shapes[x]);v._length=0,r===s&&(n=Ch.double(n),s*=2),n[r]=v,r+=1}return e}(),Qa=function(){var e=-999999;function r(w,_,y){var A=y.lastIndex,k,D,V,Y,X,vt,ht,et,yt,lt=this.keyframes;if(w<lt[0].t-this.offsetTime)k=lt[0].s[0],V=!0,A=0;else if(w>=lt[lt.length-1].t-this.offsetTime)k=lt[lt.length-1].s?lt[lt.length-1].s[0]:lt[lt.length-2].e[0],V=!0;else{for(var Z=A,S=lt.length-1,O=!0,f,b,G;O&&(f=lt[Z],b=lt[Z+1],!(b.t-this.offsetTime>w));)Z<S-1?Z+=1:O=!1;if(G=this.keyframesMetadata[Z]||{},V=f.h===1,A=Z,!V){if(w>=b.t-this.offsetTime)et=1;else if(w<f.t-this.offsetTime)et=0;else{var F;G.__fnct?F=G.__fnct:(F=Ns.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,G.__fnct=F),et=F((w-(f.t-this.offsetTime))/(b.t-this.offsetTime-(f.t-this.offsetTime)))}D=b.s?b.s[0]:f.e[0]}k=f.s[0]}for(vt=_._length,ht=k.i[0].length,y.lastIndex=A,Y=0;Y<vt;Y+=1)for(X=0;X<ht;X+=1)yt=V?k.i[Y][X]:k.i[Y][X]+(D.i[Y][X]-k.i[Y][X])*et,_.i[Y][X]=yt,yt=V?k.o[Y][X]:k.o[Y][X]+(D.o[Y][X]-k.o[Y][X])*et,_.o[Y][X]=yt,yt=V?k.v[Y][X]:k.v[Y][X]+(D.v[Y][X]-k.v[Y][X])*et,_.v[Y][X]=yt}function s(){var w=this.comp.renderedFrame-this.offsetTime,_=this.keyframes[0].t-this.offsetTime,y=this.keyframes[this.keyframes.length-1].t-this.offsetTime,A=this._caching.lastFrame;return A!==e&&(A<_&&w<_||A>y&&w>y)||(this._caching.lastIndex=A<w?this._caching.lastIndex:0,this.interpolateShape(w,this.pv,this._caching)),this._caching.lastFrame=w,this.pv}function n(){this.paths=this.localShapeCollection}function d(w,_){if(w._length!==_._length||w.c!==_.c)return!1;var y,A=w._length;for(y=0;y<A;y+=1)if(w.v[y][0]!==_.v[y][0]||w.v[y][1]!==_.v[y][1]||w.o[y][0]!==_.o[y][0]||w.o[y][1]!==_.o[y][1]||w.i[y][0]!==_.i[y][0]||w.i[y][1]!==_.i[y][1])return!1;return!0}function c(w){d(this.v,w)||(this.v=ce.clone(w),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function v(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var w;this.kf?w=this.pv:this.data.ks?w=this.data.ks.k:w=this.data.pt.k;var _,y=this.effectsSequence.length;for(_=0;_<y;_+=1)w=this.effectsSequence[_](w);this.setVValue(w),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function x(w,_,y){this.propType="shape",this.comp=w.comp,this.container=w,this.elem=w,this.data=_,this.k=!1,this.kf=!1,this._mdf=!1;var A=y===3?_.pt.k:_.ks.k;this.v=ce.clone(A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function g(w){this.effectsSequence.push(w),this.container.addDynamicProperty(this)}x.prototype.interpolateShape=r,x.prototype.getValue=v,x.prototype.setVValue=c,x.prototype.addEffect=g;function C(w,_,y){this.propType="shape",this.comp=w.comp,this.elem=w,this.container=w,this.offsetTime=w.data.st,this.keyframes=y===3?_.pt.k:_.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var A=this.keyframes[0].s[0].i.length;this.v=ce.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,A),this.pv=ce.clone(this.v),this.localShapeCollection=wo.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[s.bind(this)]}C.prototype.getValue=v,C.prototype.interpolateShape=r,C.prototype.setVValue=c,C.prototype.addEffect=g;var L=function(){var w=le;function _(y,A){this.v=ce.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=wo.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=A.d,this.elem=y,this.comp=y.comp,this.frameId=-1,this.initDynamicPropertyContainer(y),this.p=it.getProp(y,A.p,1,0,this),this.s=it.getProp(y,A.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return _.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var A=this.p.v[0],k=this.p.v[1],D=this.s.v[0]/2,V=this.s.v[1]/2,Y=this.d!==3,X=this.v;X.v[0][0]=A,X.v[0][1]=k-V,X.v[1][0]=Y?A+D:A-D,X.v[1][1]=k,X.v[2][0]=A,X.v[2][1]=k+V,X.v[3][0]=Y?A-D:A+D,X.v[3][1]=k,X.i[0][0]=Y?A-D*w:A+D*w,X.i[0][1]=k-V,X.i[1][0]=Y?A+D:A-D,X.i[1][1]=k-V*w,X.i[2][0]=Y?A+D*w:A-D*w,X.i[2][1]=k+V,X.i[3][0]=Y?A-D:A+D,X.i[3][1]=k+V*w,X.o[0][0]=Y?A+D*w:A-D*w,X.o[0][1]=k-V,X.o[1][0]=Y?A+D:A-D,X.o[1][1]=k+V*w,X.o[2][0]=Y?A-D*w:A+D*w,X.o[2][1]=k+V,X.o[3][0]=Y?A-D:A+D,X.o[3][1]=k-V*w}},$([se],_),_}(),B=function(){function w(_,y){this.v=ce.newElement(),this.v.setPathData(!0,0),this.elem=_,this.comp=_.comp,this.data=y,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),y.sy===1?(this.ir=it.getProp(_,y.ir,0,0,this),this.is=it.getProp(_,y.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=it.getProp(_,y.pt,0,0,this),this.p=it.getProp(_,y.p,1,0,this),this.r=it.getProp(_,y.r,0,It,this),this.or=it.getProp(_,y.or,0,0,this),this.os=it.getProp(_,y.os,0,.01,this),this.localShapeCollection=wo.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:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var y=Math.floor(this.pt.v)*2,A=Math.PI*2/y,k=!0,D=this.or.v,V=this.ir.v,Y=this.os.v,X=this.is.v,vt=2*Math.PI*D/(y*2),ht=2*Math.PI*V/(y*2),et,yt,lt,Z,S=-Math.PI/2;S+=this.r.v;var O=this.data.d===3?-1:1;for(this.v._length=0,et=0;et<y;et+=1){yt=k?D:V,lt=k?Y:X,Z=k?vt:ht;var f=yt*Math.cos(S),b=yt*Math.sin(S),G=f===0&&b===0?0:b/Math.sqrt(f*f+b*b),F=f===0&&b===0?0:-f/Math.sqrt(f*f+b*b);f+=+this.p.v[0],b+=+this.p.v[1],this.v.setTripleAt(f,b,f-G*Z*lt*O,b-F*Z*lt*O,f+G*Z*lt*O,b+F*Z*lt*O,et,!0),k=!k,S+=A*O}},convertPolygonToPath:function(){var y=Math.floor(this.pt.v),A=Math.PI*2/y,k=this.or.v,D=this.os.v,V=2*Math.PI*k/(y*4),Y,X=-Math.PI*.5,vt=this.data.d===3?-1:1;for(X+=this.r.v,this.v._length=0,Y=0;Y<y;Y+=1){var ht=k*Math.cos(X),et=k*Math.sin(X),yt=ht===0&&et===0?0:et/Math.sqrt(ht*ht+et*et),lt=ht===0&&et===0?0:-ht/Math.sqrt(ht*ht+et*et);ht+=+this.p.v[0],et+=+this.p.v[1],this.v.setTripleAt(ht,et,ht-yt*V*D*vt,et-lt*V*D*vt,ht+yt*V*D*vt,et+lt*V*D*vt,Y,!0),X+=A*vt}this.paths.length=0,this.paths[0]=this.v}},$([se],w),w}(),T=function(){function w(_,y){this.v=ce.newElement(),this.v.c=!0,this.localShapeCollection=wo.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=_,this.comp=_.comp,this.frameId=-1,this.d=y.d,this.initDynamicPropertyContainer(_),this.p=it.getProp(_,y.p,1,0,this),this.s=it.getProp(_,y.s,1,0,this),this.r=it.getProp(_,y.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return w.prototype={convertRectToPath:function(){var y=this.p.v[0],A=this.p.v[1],k=this.s.v[0]/2,D=this.s.v[1]/2,V=Se(k,D,this.r.v),Y=V*(1-le);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+V,y+k,A-D+Y,0,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-Y,y+k,A+D-V,1,!0),V!==0?(this.v.setTripleAt(y+k-V,A+D,y+k-V,A+D,y+k-Y,A+D,2,!0),this.v.setTripleAt(y-k+V,A+D,y-k+Y,A+D,y-k+V,A+D,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-V,y-k,A+D-Y,4,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+Y,y-k,A-D+V,5,!0),this.v.setTripleAt(y-k+V,A-D,y-k+V,A-D,y-k+Y,A-D,6,!0),this.v.setTripleAt(y+k-V,A-D,y+k-Y,A-D,y+k-V,A-D,7,!0)):(this.v.setTripleAt(y-k,A+D,y-k+Y,A+D,y-k,A+D,2),this.v.setTripleAt(y-k,A-D,y-k,A-D+Y,y-k,A-D,3))):(this.v.setTripleAt(y+k,A-D+V,y+k,A-D+Y,y+k,A-D+V,0,!0),V!==0?(this.v.setTripleAt(y+k-V,A-D,y+k-V,A-D,y+k-Y,A-D,1,!0),this.v.setTripleAt(y-k+V,A-D,y-k+Y,A-D,y-k+V,A-D,2,!0),this.v.setTripleAt(y-k,A-D+V,y-k,A-D+V,y-k,A-D+Y,3,!0),this.v.setTripleAt(y-k,A+D-V,y-k,A+D-Y,y-k,A+D-V,4,!0),this.v.setTripleAt(y-k+V,A+D,y-k+V,A+D,y-k+Y,A+D,5,!0),this.v.setTripleAt(y+k-V,A+D,y+k-Y,A+D,y+k-V,A+D,6,!0),this.v.setTripleAt(y+k,A+D-V,y+k,A+D-V,y+k,A+D-Y,7,!0)):(this.v.setTripleAt(y-k,A-D,y-k+Y,A-D,y-k,A-D,1,!0),this.v.setTripleAt(y-k,A+D,y-k,A+D-Y,y-k,A+D,2,!0),this.v.setTripleAt(y+k,A+D,y+k-Y,A+D,y+k,A+D,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},$([se],w),w}();function R(w,_,y){var A;if(y===3||y===4){var k=y===3?_.pt:_.ks,D=k.k;D.length?A=new C(w,_,y):A=new x(w,_,y)}else y===5?A=new T(w,_):y===6?A=new L(w,_):y===7&&(A=new B(w,_));return A.k&&w.addDynamicProperty(A),A}function P(){return x}function M(){return C}var z={};return z.getShapeProp=R,z.getConstructorFunction=P,z.getKeyframedConstructorFunction=M,z}();var de=function(){var e=Math.cos,r=Math.sin,s=Math.tan,n=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(f){if(f===0)return this;var b=e(f),G=r(f);return this._t(b,-G,0,0,G,b,0,0,0,0,1,0,0,0,0,1)}function v(f){if(f===0)return this;var b=e(f),G=r(f);return this._t(1,0,0,0,0,b,-G,0,0,G,b,0,0,0,0,1)}function x(f){if(f===0)return this;var b=e(f),G=r(f);return this._t(b,0,G,0,0,1,0,0,-G,0,b,0,0,0,0,1)}function g(f){if(f===0)return this;var b=e(f),G=r(f);return this._t(b,-G,0,0,G,b,0,0,0,0,1,0,0,0,0,1)}function C(f,b){return this._t(1,b,f,1,0,0)}function L(f,b){return this.shear(s(f),s(b))}function B(f,b){var G=e(b),F=r(b);return this._t(G,F,0,0,-F,G,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(f),1,0,0,0,0,1,0,0,0,0,1)._t(G,-F,0,0,F,G,0,0,0,0,1,0,0,0,0,1)}function T(f,b,G){return!G&&G!==0&&(G=1),f===1&&b===1&&G===1?this:this._t(f,0,0,0,0,b,0,0,0,0,G,0,0,0,0,1)}function R(f,b,G,F,at,mt,gt,wt,Nt,Zt,Ce,Ar,ke,ae,Fe,Ot){return this.props[0]=f,this.props[1]=b,this.props[2]=G,this.props[3]=F,this.props[4]=at,this.props[5]=mt,this.props[6]=gt,this.props[7]=wt,this.props[8]=Nt,this.props[9]=Zt,this.props[10]=Ce,this.props[11]=Ar,this.props[12]=ke,this.props[13]=ae,this.props[14]=Fe,this.props[15]=Ot,this}function P(f,b,G){return G=G||0,f!==0||b!==0||G!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,f,b,G,1):this}function M(f,b,G,F,at,mt,gt,wt,Nt,Zt,Ce,Ar,ke,ae,Fe,Ot){var ct=this.props;if(f===1&&b===0&&G===0&&F===0&&at===0&&mt===1&&gt===0&&wt===0&&Nt===0&&Zt===0&&Ce===1&&Ar===0)return ct[12]=ct[12]*f+ct[15]*ke,ct[13]=ct[13]*mt+ct[15]*ae,ct[14]=ct[14]*Ce+ct[15]*Fe,ct[15]*=Ot,this._identityCalculated=!1,this;var $r=ct[0],bi=ct[1],zr=ct[2],Sr=ct[3],Vr=ct[4],Br=ct[5],we=ct[6],yi=ct[7],Ei=ct[8],hr=ct[9],Ti=ct[10],pr=ct[11],Gi=ct[12],ln=ct[13],cn=ct[14],dn=ct[15];return ct[0]=$r*f+bi*at+zr*Nt+Sr*ke,ct[1]=$r*b+bi*mt+zr*Zt+Sr*ae,ct[2]=$r*G+bi*gt+zr*Ce+Sr*Fe,ct[3]=$r*F+bi*wt+zr*Ar+Sr*Ot,ct[4]=Vr*f+Br*at+we*Nt+yi*ke,ct[5]=Vr*b+Br*mt+we*Zt+yi*ae,ct[6]=Vr*G+Br*gt+we*Ce+yi*Fe,ct[7]=Vr*F+Br*wt+we*Ar+yi*Ot,ct[8]=Ei*f+hr*at+Ti*Nt+pr*ke,ct[9]=Ei*b+hr*mt+Ti*Zt+pr*ae,ct[10]=Ei*G+hr*gt+Ti*Ce+pr*Fe,ct[11]=Ei*F+hr*wt+Ti*Ar+pr*Ot,ct[12]=Gi*f+ln*at+cn*Nt+dn*ke,ct[13]=Gi*b+ln*mt+cn*Zt+dn*ae,ct[14]=Gi*G+ln*gt+cn*Ce+dn*Fe,ct[15]=Gi*F+ln*wt+cn*Ar+dn*Ot,this._identityCalculated=!1,this}function z(f){var b=f.props;return this.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15])}function 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 _(f){for(var b=0;b<16;){if(f.props[b]!==this.props[b])return!1;b+=1}return!0}function y(f){var b;for(b=0;b<16;b+=1)f.props[b]=this.props[b];return f}function A(f){var b;for(b=0;b<16;b+=1)this.props[b]=f[b]}function k(f,b,G){return{x:f*this.props[0]+b*this.props[4]+G*this.props[8]+this.props[12],y:f*this.props[1]+b*this.props[5]+G*this.props[9]+this.props[13],z:f*this.props[2]+b*this.props[6]+G*this.props[10]+this.props[14]}}function D(f,b,G){return f*this.props[0]+b*this.props[4]+G*this.props[8]+this.props[12]}function V(f,b,G){return f*this.props[1]+b*this.props[5]+G*this.props[9]+this.props[13]}function Y(f,b,G){return f*this.props[2]+b*this.props[6]+G*this.props[10]+this.props[14]}function X(){var f=this.props[0]*this.props[5]-this.props[1]*this.props[4],b=this.props[5]/f,G=-this.props[1]/f,F=-this.props[4]/f,at=this.props[0]/f,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/f,gt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/f,wt=new de;return wt.props[0]=b,wt.props[1]=G,wt.props[4]=F,wt.props[5]=at,wt.props[12]=mt,wt.props[13]=gt,wt}function vt(f){var b=this.getInverseMatrix();return b.applyToPointArray(f[0],f[1],f[2]||0)}function ht(f){var b,G=f.length,F=[];for(b=0;b<G;b+=1)F[b]=vt(f[b]);return F}function et(f,b,G){var F=Q("float32",6);if(this.isIdentity())F[0]=f[0],F[1]=f[1],F[2]=b[0],F[3]=b[1],F[4]=G[0],F[5]=G[1];else{var at=this.props[0],mt=this.props[1],gt=this.props[4],wt=this.props[5],Nt=this.props[12],Zt=this.props[13];F[0]=f[0]*at+f[1]*gt+Nt,F[1]=f[0]*mt+f[1]*wt+Zt,F[2]=b[0]*at+b[1]*gt+Nt,F[3]=b[0]*mt+b[1]*wt+Zt,F[4]=G[0]*at+G[1]*gt+Nt,F[5]=G[0]*mt+G[1]*wt+Zt}return F}function yt(f,b,G){var F;return this.isIdentity()?F=[f,b,G]:F=[f*this.props[0]+b*this.props[4]+G*this.props[8]+this.props[12],f*this.props[1]+b*this.props[5]+G*this.props[9]+this.props[13],f*this.props[2]+b*this.props[6]+G*this.props[10]+this.props[14]],F}function lt(f,b){if(this.isIdentity())return f+","+b;var G=this.props;return Math.round((f*G[0]+b*G[4]+G[12])*100)/100+","+Math.round((f*G[1]+b*G[5]+G[13])*100)/100}function Z(){for(var f=0,b=this.props,G="matrix3d(",F=1e4;f<16;)G+=n(b[f]*F)/F,G+=f===15?")":",",f+=1;return G}function S(f){var b=1e4;return f<1e-6&&f>0||f>-1e-6&&f<0?n(f*b)/b:f}function O(){var f=this.props,b=S(f[0]),G=S(f[1]),F=S(f[4]),at=S(f[5]),mt=S(f[12]),gt=S(f[13]);return"matrix("+b+","+G+","+F+","+at+","+mt+","+gt+")"}return function(){this.reset=d,this.rotate=c,this.rotateX=v,this.rotateY=x,this.rotateZ=g,this.skew=L,this.skewFromAxis=B,this.shear=C,this.scale=T,this.setTransform=R,this.translate=P,this.transform=M,this.multiply=z,this.applyToPoint=k,this.applyToX=D,this.applyToY=V,this.applyToZ=Y,this.applyToPointArray=yt,this.applyToTriplePoints=et,this.applyToPointStringified=lt,this.toCSS=Z,this.to2dCSS=O,this.clone=y,this.cloneFromProps=A,this.equals=_,this.inversePoints=ht,this.inversePoint=vt,this.getInverseMatrix=X,this._t=this.transform,this.isIdentity=w,this._identity=!0,this._identityCalculated=!1,this.props=Q("float32",16),this.reset()}}();function Ja(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ja=function(s){return typeof s}:Ja=function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Ja(e)}var Mt={},tn="__[STANDALONE]__",Oh="__[ANIMATIONDATA]__",Ph="";function gg(e){m(e)}function Dh(){tn===!0?qt.searchAnimations(Oh,tn,Ph):qt.searchAnimations()}function bg(e){tg(e)}function yg(e){ig(e)}function Eg(e){return tn===!0&&(e.animationData=JSON.parse(Oh)),qt.loadAnimation(e)}function Tg(e){if(typeof e=="string")switch(e){case"high":Wa(200);break;default:case"medium":Wa(50);break;case"low":Wa(10);break}else!isNaN(e)&&e>1&&Wa(e);Is()>=50?Ge(!1):Ge(!0)}function xg(){return typeof navigator<"u"}function Ag(e,r){e==="expressions"&&rg(r)}function Sg(e){switch(e){case"propertyFactory":return it;case"shapePropertyFactory":return Qa;case"matrix":return de;default:return null}}Mt.play=qt.play,Mt.pause=qt.pause,Mt.setLocationHref=gg,Mt.togglePause=qt.togglePause,Mt.setSpeed=qt.setSpeed,Mt.setDirection=qt.setDirection,Mt.stop=qt.stop,Mt.searchAnimations=Dh,Mt.registerAnimation=qt.registerAnimation,Mt.loadAnimation=Eg,Mt.setSubframeRendering=bg,Mt.resize=qt.resize,Mt.goToAndStop=qt.goToAndStop,Mt.destroy=qt.destroy,Mt.setQuality=Tg,Mt.inBrowser=xg,Mt.installPlugin=Ag,Mt.freeze=qt.freeze,Mt.unfreeze=qt.unfreeze,Mt.setVolume=qt.setVolume,Mt.mute=qt.mute,Mt.unmute=qt.unmute,Mt.getRegisteredAnimations=qt.getRegisteredAnimations,Mt.useWebWorker=a,Mt.setIDPrefix=yg,Mt.__getFactory=Sg,Mt.version="5.12.2";function _g(){document.readyState==="complete"&&(clearInterval(kg),Dh())}function Ig(e){for(var r=Fh.split("&"),s=0;s<r.length;s+=1){var n=r[s].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}var Fh="";if(tn){var $h=document.getElementsByTagName("script"),Cg=$h.length-1,zh=$h[Cg]||{src:""};Fh=zh.src?zh.src.replace(/^[^\?]+\??/,""):"",Ph=Ig("renderer")}var kg=setInterval(_g,100);try{!((typeof sa>"u"?"undefined":Ja(sa))==="object"&&typeof $n<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Mt)}catch{}var pi=function(){var e={},r={};e.registerModifier=s,e.getModifier=n;function s(d,c){r[d]||(r[d]=c)}function n(d,c,v){return new r[d](c,v)}return e}();function Ke(){}Ke.prototype.initModifierProperties=function(){},Ke.prototype.addShapeToModifier=function(){},Ke.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var r={shape:e.sh,data:e,localShapeCollection:wo.newShapeCollection()};this.shapes.push(r),this.addShapeToModifier(r),this._isAnimated&&e.setAsAnimated()}},Ke.prototype.init=function(e,r){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ke.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},$([se],Ke);function dr(){}$([Ke],dr),dr.prototype.initModifierProperties=function(e,r){this.s=it.getProp(e,r.s,0,.01,this),this.e=it.getProp(e,r.e,0,.01,this),this.o=it.getProp(e,r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},dr.prototype.addShapeToModifier=function(e){e.pathsData=[]},dr.prototype.calculateShapeEdges=function(e,r,s,n,d){var c=[];r<=1?c.push({s:e,e:r}):e>=1?c.push({s:e-1,e:r-1}):(c.push({s:e,e:1}),c.push({s:0,e:r-1}));var v=[],x,g=c.length,C;for(x=0;x<g;x+=1)if(C=c[x],!(C.e*d<n||C.s*d>n+s)){var L,B;C.s*d<=n?L=0:L=(C.s*d-n)/s,C.e*d>=n+s?B=1:B=(C.e*d-n)/s,v.push([L,B])}return v.length||v.push([0,0]),v},dr.prototype.releasePathsData=function(e){var r,s=e.length;for(r=0;r<s;r+=1)wh.release(e[r]);return e.length=0,e},dr.prototype.processShapes=function(e){var r,s;if(this._mdf||e){var n=this.o.v%360/360;if(n<0&&(n+=1),this.s.v>1?r=1+n:this.s.v<0?r=0+n:r=this.s.v+n,this.e.v>1?s=1+n:this.e.v<0?s=0+n:s=this.e.v+n,r>s){var d=r;r=s,s=d}r=Math.round(r*1e4)*1e-4,s=Math.round(s*1e4)*1e-4,this.sValue=r,this.eValue=s}else r=this.sValue,s=this.eValue;var c,v,x=this.shapes.length,g,C,L,B,T,R=0;if(s===r)for(v=0;v<x;v+=1)this.shapes[v].localShapeCollection.releaseShapes(),this.shapes[v].shape._mdf=!0,this.shapes[v].shape.paths=this.shapes[v].localShapeCollection,this._mdf&&(this.shapes[v].pathsData.length=0);else if(s===1&&r===0||s===0&&r===1){if(this._mdf)for(v=0;v<x;v+=1)this.shapes[v].pathsData.length=0,this.shapes[v].shape._mdf=!0}else{var P=[],M,z;for(v=0;v<x;v+=1)if(M=this.shapes[v],!M.shape._mdf&&!this._mdf&&!e&&this.m!==2)M.shape.paths=M.localShapeCollection;else{if(c=M.shape.paths,C=c._length,T=0,!M.shape._mdf&&M.pathsData.length)T=M.totalShapeLength;else{for(L=this.releasePathsData(M.pathsData),g=0;g<C;g+=1)B=Tr.getSegmentsLength(c.shapes[g]),L.push(B),T+=B.totalLength;M.totalShapeLength=T,M.pathsData=L}R+=T,M.shape._mdf=!0}var w=r,_=s,y=0,A;for(v=x-1;v>=0;v-=1)if(M=this.shapes[v],M.shape._mdf){for(z=M.localShapeCollection,z.releaseShapes(),this.m===2&&x>1?(A=this.calculateShapeEdges(r,s,M.totalShapeLength,y,R),y+=M.totalShapeLength):A=[[w,_]],C=A.length,g=0;g<C;g+=1){w=A[g][0],_=A[g][1],P.length=0,_<=1?P.push({s:M.totalShapeLength*w,e:M.totalShapeLength*_}):w>=1?P.push({s:M.totalShapeLength*(w-1),e:M.totalShapeLength*(_-1)}):(P.push({s:M.totalShapeLength*w,e:M.totalShapeLength}),P.push({s:0,e:M.totalShapeLength*(_-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}}},dr.prototype.addPaths=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)r.addShape(e[s])},dr.prototype.addSegment=function(e,r,s,n,d,c,v){d.setXYAt(r[0],r[1],"o",c),d.setXYAt(s[0],s[1],"i",c+1),v&&d.setXYAt(e[0],e[1],"v",c),d.setXYAt(n[0],n[1],"v",c+1)},dr.prototype.addSegmentFromArray=function(e,r,s,n){r.setXYAt(e[1],e[5],"o",s),r.setXYAt(e[2],e[6],"i",s+1),n&&r.setXYAt(e[0],e[4],"v",s),r.setXYAt(e[3],e[7],"v",s+1)},dr.prototype.addShapes=function(e,r,s){var n=e.pathsData,d=e.shape.paths.shapes,c,v=e.shape.paths._length,x,g,C=0,L,B,T,R,P=[],M,z=!0;for(s?(B=s._length,M=s._length):(s=ce.newElement(),B=0,M=0),P.push(s),c=0;c<v;c+=1){for(T=n[c].lengths,s.c=d[c].c,g=d[c].c?T.length:T.length+1,x=1;x<g;x+=1)if(L=T[x-1],C+L.addedLength<r.s)C+=L.addedLength,s.c=!1;else if(C>r.e){s.c=!1;break}else r.s<=C&&r.e>=C+L.addedLength?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[x],d[c].v[x],s,B,z),z=!1):(R=Tr.getNewSegment(d[c].v[x-1],d[c].v[x],d[c].o[x-1],d[c].i[x],(r.s-C)/L.addedLength,(r.e-C)/L.addedLength,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1),C+=L.addedLength,B+=1;if(d[c].c&&T.length){if(L=T[x-1],C<=r.e){var w=T[x-1].addedLength;r.s<=C&&r.e>=C+w?(this.addSegment(d[c].v[x-1],d[c].o[x-1],d[c].i[0],d[c].v[0],s,B,z),z=!1):(R=Tr.getNewSegment(d[c].v[x-1],d[c].v[0],d[c].o[x-1],d[c].i[0],(r.s-C)/w,(r.e-C)/w,T[x-1]),this.addSegmentFromArray(R,s,B,z),z=!1,s.c=!1)}else s.c=!1;C+=L.addedLength,B+=1}if(s._length&&(s.setXYAt(s.v[M][0],s.v[M][1],"i",M),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),C>r.e)break;c<v-1&&(s=ce.newElement(),z=!0,P.push(s),B=0)}return P};function Ls(){}$([Ke],Ls),Ls.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ls.prototype.processPath=function(e,r){var s=r/100,n=[0,0],d=e._length,c=0;for(c=0;c<d;c+=1)n[0]+=e.v[c][0],n[1]+=e.v[c][1];n[0]/=d,n[1]/=d;var v=ce.newElement();v.c=e.c;var x,g,C,L,B,T;for(c=0;c<d;c+=1)x=e.v[c][0]+(n[0]-e.v[c][0])*s,g=e.v[c][1]+(n[1]-e.v[c][1])*s,C=e.o[c][0]+(n[0]-e.o[c][0])*-s,L=e.o[c][1]+(n[1]-e.o[c][1])*-s,B=e.i[c][0]+(n[0]-e.i[c][0])*-s,T=e.i[c][1]+(n[1]-e.i[c][1])*-s,v.setTripleAt(x,g,C,L,B,T,c);return v},Ls.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v;if(v!==0){var x,g;for(s=0;s<n;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var ql=function(){var e=[0,0];function r(g){var C=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||C,this.a&&g.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&g.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&g.skewFromAxis(-this.sk.v,this.sa.v),this.r?g.rotate(-this.r.v):g.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?g.translate(this.px.v,this.py.v,-this.pz.v):g.translate(this.px.v,this.py.v,0):g.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function s(g){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||g){var C;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 L,B;if(C=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(L=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/C,0),B=this.p.getValueAtTime(this.p.keyframes[0].t/C,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(L=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/C,0),B=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/C,0)):(L=this.p.pv,B=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/C,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){L=[],B=[];var T=this.px,R=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(L[0]=T.getValueAtTime((T.keyframes[0].t+.01)/C,0),L[1]=R.getValueAtTime((R.keyframes[0].t+.01)/C,0),B[0]=T.getValueAtTime(T.keyframes[0].t/C,0),B[1]=R.getValueAtTime(R.keyframes[0].t/C,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(L[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/C,0),L[1]=R.getValueAtTime(R.keyframes[R.keyframes.length-1].t/C,0),B[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/C,0),B[1]=R.getValueAtTime((R.keyframes[R.keyframes.length-1].t-.01)/C,0)):(L=[T.pv,R.pv],B[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/C,T.offsetTime),B[1]=R.getValueAtTime((R._caching.lastFrame+R.offsetTime-.01)/C,R.offsetTime))}else B=e,L=B;this.v.rotate(-Math.atan2(L[1]-B[1],L[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 n(){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(g){this._addDynamicProperty(g),this.elem.addDynamicProperty(g),this._isDirty=!0}function v(g,C,L){if(this.elem=g,this.frameId=-1,this.propType="transform",this.data=C,this.v=new de,this.pre=new de,this.appliedTransformations=0,this.initDynamicPropertyContainer(L||g),C.p&&C.p.s?(this.px=it.getProp(g,C.p.x,0,0,this),this.py=it.getProp(g,C.p.y,0,0,this),C.p.z&&(this.pz=it.getProp(g,C.p.z,0,0,this))):this.p=it.getProp(g,C.p||{k:[0,0,0]},1,0,this),C.rx){if(this.rx=it.getProp(g,C.rx,0,It,this),this.ry=it.getProp(g,C.ry,0,It,this),this.rz=it.getProp(g,C.rz,0,It,this),C.or.k[0].ti){var B,T=C.or.k.length;for(B=0;B<T;B+=1)C.or.k[B].to=null,C.or.k[B].ti=null}this.or=it.getProp(g,C.or,1,It,this),this.or.sh=!0}else this.r=it.getProp(g,C.r||{k:0},0,It,this);C.sk&&(this.sk=it.getProp(g,C.sk,0,It,this),this.sa=it.getProp(g,C.sa,0,It,this)),this.a=it.getProp(g,C.a||{k:[0,0,0]},1,0,this),this.s=it.getProp(g,C.s||{k:[100,100,100]},1,.01,this),C.o?this.o=it.getProp(g,C.o,0,.01,g):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}v.prototype={applyToMatrix:r,getValue:s,precalculateMatrix:n,autoOrient:d},$([se],v),v.prototype.addDynamicProperty=c,v.prototype._addDynamicProperty=se.prototype.addDynamicProperty;function x(g,C,L){return new v(g,C,L)}return{getTransformProperty:x}}();function xr(){}$([Ke],xr),xr.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.c=it.getProp(e,r.c,0,null,this),this.o=it.getProp(e,r.o,0,null,this),this.tr=ql.getTransformProperty(e,r.tr,this),this.so=it.getProp(e,r.tr.so,0,.01,this),this.eo=it.getProp(e,r.tr.eo,0,.01,this),this.data=r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new de,this.rMatrix=new de,this.sMatrix=new de,this.tMatrix=new de,this.matrix=new de},xr.prototype.applyTransforms=function(e,r,s,n,d,c){var v=c?-1:1,x=n.s.v[0]+(1-n.s.v[0])*(1-d),g=n.s.v[1]+(1-n.s.v[1])*(1-d);e.translate(n.p.v[0]*v*d,n.p.v[1]*v*d,n.p.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.rotate(-n.r.v*v*d),r.translate(n.a.v[0],n.a.v[1],n.a.v[2]),s.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),s.scale(c?1/x:x,c?1/g:g),s.translate(n.a.v[0],n.a.v[1],n.a.v[2])},xr.prototype.init=function(e,r,s,n){for(this.elem=e,this.arr=r,this.pos=s,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,r[s]);s>0;)s-=1,this._elements.unshift(r[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},xr.prototype.resetElements=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r]._processed=!1,e[r].ty==="gr"&&this.resetElements(e[r].it)},xr.prototype.cloneElements=function(e){var r=JSON.parse(JSON.stringify(e));return this.resetElements(r),r},xr.prototype.changeGroupRender=function(e,r){var s,n=e.length;for(s=0;s<n;s+=1)e[s]._render=r,e[s].ty==="gr"&&this.changeGroupRender(e[s].it,r)},xr.prototype.processShapes=function(e){var r,s,n,d,c,v=!1;if(this._mdf||e){var x=Math.ceil(this.c.v);if(this._groups.length<x){for(;this._groups.length<x;){var g={it:this.cloneElements(this._elements),ty:"gr"};g.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,g),this._groups.splice(0,0,g),this._currentCopies+=1}this.elem.reloadShapes(),v=!0}c=0;var C;for(n=0;n<=this._groups.length-1;n+=1){if(C=c<x,this._groups[n]._render=C,this.changeGroupRender(this._groups[n].it,C),!C){var L=this.elemsData[n].it,B=L[L.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 T=this.o.v,R=T%1,P=T>0?Math.floor(T):Math.ceil(T),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 _=0;if(T>0){for(;_<P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,R,!1),_+=R)}else if(T<0){for(;_>P;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;R&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-R,!0),_-=R)}n=this.data.m===1?0:this._currentCopies-1,d=this.data.m===1?1:-1,c=this._currentCopies;for(var y,A;c;){if(r=this.elemsData[n].it,s=r[r.length-1].transform.mProps.v.props,A=s.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)*(n/(this._currentCopies-1)),_!==0){for((n!==0&&d===1||n!==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]),y=0;y<A;y+=1)s[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<A;y+=1)s[y]=this.matrix.props[y];_+=1,c-=1,n+=d}}else for(c=this._currentCopies,n=0,d=1;c;)r=this.elemsData[n].it,s=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,n+=d;return v},xr.prototype.addShape=function(){};function Rs(){}$([Ke],Rs),Rs.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.rd=it.getProp(e,r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},Rs.prototype.processPath=function(e,r){var s=ce.newElement();s.c=e.c;var n,d=e._length,c,v,x,g,C,L,B=0,T,R,P,M,z,w;for(n=0;n<d;n+=1)c=e.v[n],x=e.o[n],v=e.i[n],c[0]===x[0]&&c[1]===x[1]&&c[0]===v[0]&&c[1]===v[1]?(n===0||n===d-1)&&!e.c?(s.setTripleAt(c[0],c[1],x[0],x[1],v[0],v[1],B),B+=1):(n===0?g=e.v[d-1]:g=e.v[n-1],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,z=c[0]+(g[0]-c[0])*L,T=z,w=c[1]-(c[1]-g[1])*L,R=w,P=T-(T-c[0])*le,M=R-(R-c[1])*le,s.setTripleAt(T,R,P,M,z,w,B),B+=1,n===d-1?g=e.v[0]:g=e.v[n+1],C=Math.sqrt(Math.pow(c[0]-g[0],2)+Math.pow(c[1]-g[1],2)),L=C?Math.min(C/2,r)/C:0,P=c[0]+(g[0]-c[0])*L,T=P,M=c[1]+(g[1]-c[1])*L,R=M,z=T-(T-c[0])*le,w=R-(R-c[1])*le,s.setTripleAt(T,R,P,M,z,w,B),B+=1):(s.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],B),B+=1);return s},Rs.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.rd.v;if(v!==0){var x,g;for(s=0;s<n;s+=1){if(x=this.shapes[s],g=x.localShapeCollection,!(!x.shape._mdf&&!this._mdf&&!e))for(g.releaseShapes(),x.shape._mdf=!0,r=x.shape.paths.shapes,c=x.shape.paths._length,d=0;d<c;d+=1)g.addShape(this.processPath(r[d],v));x.shape.paths=x.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function en(e,r){return Math.abs(e-r)*1e5<=Math.min(Math.abs(e),Math.abs(r))}function Zl(e){return Math.abs(e)<=1e-5}function Vh(e,r,s){return e*(1-s)+r*s}function mi(e,r,s){return[Vh(e[0],r[0],s),Vh(e[1],r[1],s)]}function wg(e,r,s){if(e===0)return[];var n=r*r-4*e*s;if(n<0)return[];var d=-r/(2*e);if(n===0)return[d];var c=Math.sqrt(n)/(2*e);return[d-c,d+c]}function Bh(e,r,s,n){return[-e+3*r-3*s+n,3*e-6*r+3*s,-3*e+3*r,e]}function Uh(e){return new Ut(e,e,e,e,!1)}function Ut(e,r,s,n,d){d&&Lo(e,r)&&(r=mi(e,n,1/3)),d&&Lo(s,n)&&(s=mi(e,n,2/3));var c=Bh(e[0],r[0],s[0],n[0]),v=Bh(e[1],r[1],s[1],n[1]);this.a=[c[0],v[0]],this.b=[c[1],v[1]],this.c=[c[2],v[2]],this.d=[c[3],v[3]],this.points=[e,r,s,n]}Ut.prototype.point=function(e){return[((this.a[0]*e+this.b[0])*e+this.c[0])*e+this.d[0],((this.a[1]*e+this.b[1])*e+this.c[1])*e+this.d[1]]},Ut.prototype.derivative=function(e){return[(3*e*this.a[0]+2*this.b[0])*e+this.c[0],(3*e*this.a[1]+2*this.b[1])*e+this.c[1]]},Ut.prototype.tangentAngle=function(e){var r=this.derivative(e);return Math.atan2(r[1],r[0])},Ut.prototype.normalAngle=function(e){var r=this.derivative(e);return Math.atan2(r[0],r[1])},Ut.prototype.inflectionPoints=function(){var e=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Zl(e))return[];var r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/e,s=r*r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/e;if(s<0)return[];var n=Math.sqrt(s);return Zl(n)?n>0&&n<1?[r]:[]:[r-n,r+n].filter(function(d){return d>0&&d<1})},Ut.prototype.split=function(e){if(e<=0)return[Uh(this.points[0]),this];if(e>=1)return[this,Uh(this.points[this.points.length-1])];var r=mi(this.points[0],this.points[1],e),s=mi(this.points[1],this.points[2],e),n=mi(this.points[2],this.points[3],e),d=mi(r,s,e),c=mi(s,n,e),v=mi(d,c,e);return[new Ut(this.points[0],r,d,v,!0),new Ut(v,c,n,this.points[3],!0)]};function Hh(e,r){var s=e.points[0][r],n=e.points[e.points.length-1][r];if(s>n){var d=n;n=s,s=d}for(var c=wg(3*e.a[r],2*e.b[r],e.c[r]),v=0;v<c.length;v+=1)if(c[v]>0&&c[v]<1){var x=e.point(c[v])[r];x<s?s=x:x>n&&(n=x)}return{min:s,max:n}}Ut.prototype.bounds=function(){return{x:Hh(this,0),y:Hh(this,1)}},Ut.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function rn(e,r,s){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(r+s)/2,t1:r,t2:s}}function Gh(e){var r=e.bez.split(.5);return[rn(r[0],e.t1,e.t),rn(r[1],e.t,e.t2)]}function Ng(e,r){return Math.abs(e.cx-r.cx)*2<e.width+r.width&&Math.abs(e.cy-r.cy)*2<e.height+r.height}function Ms(e,r,s,n,d,c){if(Ng(e,r)){if(s>=c||e.width<=n&&e.height<=n&&r.width<=n&&r.height<=n){d.push([e.t,r.t]);return}var v=Gh(e),x=Gh(r);Ms(v[0],x[0],s+1,n,d,c),Ms(v[0],x[1],s+1,n,d,c),Ms(v[1],x[0],s+1,n,d,c),Ms(v[1],x[1],s+1,n,d,c)}}Ut.prototype.intersections=function(e,r,s){r===void 0&&(r=2),s===void 0&&(s=7);var n=[];return Ms(rn(this,0,1),rn(e,0,1),0,r,n,s),n},Ut.shapeSegment=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[r],e.o[r],e.i[s],e.v[s],!0)},Ut.shapeSegmentInverted=function(e,r){var s=(r+1)%e.length();return new Ut(e.v[s],e.i[s],e.o[r],e.v[r],!0)};function Xl(e,r){return[e[1]*r[2]-e[2]*r[1],e[2]*r[0]-e[0]*r[2],e[0]*r[1]-e[1]*r[0]]}function on(e,r,s,n){var d=[e[0],e[1],1],c=[r[0],r[1],1],v=[s[0],s[1],1],x=[n[0],n[1],1],g=Xl(Xl(d,c),Xl(v,x));return Zl(g[2])?null:[g[0]/g[2],g[1]/g[2]]}function No(e,r,s){return[e[0]+Math.cos(r)*s,e[1]-Math.sin(r)*s]}function Ql(e,r){return Math.hypot(e[0]-r[0],e[1]-r[1])}function Lo(e,r){return en(e[0],r[0])&&en(e[1],r[1])}function Os(){}$([Ke],Os),Os.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amplitude=it.getProp(e,r.s,0,null,this),this.frequency=it.getProp(e,r.r,0,null,this),this.pointsType=it.getProp(e,r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Yh(e,r,s,n,d,c,v){var x=s-Math.PI/2,g=s+Math.PI/2,C=r[0]+Math.cos(s)*n*d,L=r[1]-Math.sin(s)*n*d;e.setTripleAt(C,L,C+Math.cos(x)*c,L-Math.sin(x)*c,C+Math.cos(g)*v,L-Math.sin(g)*v,e.length())}function Lg(e,r){var s=[r[0]-e[0],r[1]-e[1]],n=-Math.PI*.5,d=[Math.cos(n)*s[0]-Math.sin(n)*s[1],Math.sin(n)*s[0]+Math.cos(n)*s[1]];return d}function Rg(e,r){var s=r===0?e.length()-1:r-1,n=(r+1)%e.length(),d=e.v[s],c=e.v[n],v=Lg(d,c);return Math.atan2(0,1)-Math.atan2(v[1],v[0])}function Wh(e,r,s,n,d,c,v){var x=Rg(r,s),g=r.v[s%r._length],C=r.v[s===0?r._length-1:s-1],L=r.v[(s+1)%r._length],B=c===2?Math.sqrt(Math.pow(g[0]-C[0],2)+Math.pow(g[1]-C[1],2)):0,T=c===2?Math.sqrt(Math.pow(g[0]-L[0],2)+Math.pow(g[1]-L[1],2)):0;Yh(e,r.v[s%r._length],x,v,n,T/((d+1)*2),B/((d+1)*2),c)}function Mg(e,r,s,n,d,c){for(var v=0;v<n;v+=1){var x=(v+1)/(n+1),g=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,C=r.normalAngle(x),L=r.point(x);Yh(e,L,C,c,s,g/((n+1)*2),g/((n+1)*2),d),c=-c}return c}Os.prototype.processPath=function(e,r,s,n){var d=e._length,c=ce.newElement();if(c.c=e.c,e.c||(d-=1),d===0)return c;var v=-1,x=Ut.shapeSegment(e,0);Wh(c,e,0,r,s,n,v);for(var g=0;g<d;g+=1)v=Mg(c,x,r,s,n,-v),g===d-1&&!e.c?x=null:x=Ut.shapeSegment(e,(g+1)%d),Wh(c,e,g+1,r,s,n,v);return c},Os.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amplitude.v,x=Math.max(0,Math.round(this.frequency.v)),g=this.pointsType.v;if(v!==0){var C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,x,g));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Jl(e,r,s){var n=Math.atan2(r[0]-e[0],r[1]-e[1]);return[No(e,n,s),No(r,n,s)]}function Ro(e,r){var s,n,d,c,v,x,g;g=Jl(e.points[0],e.points[1],r),s=g[0],n=g[1],g=Jl(e.points[1],e.points[2],r),d=g[0],c=g[1],g=Jl(e.points[2],e.points[3],r),v=g[0],x=g[1];var C=on(s,n,d,c);C===null&&(C=n);var L=on(v,x,d,c);return L===null&&(L=v),new Ut(s,C,L,x)}function jh(e,r,s,n,d){var c=r.points[3],v=s.points[0];if(n===3||Lo(c,v))return c;if(n===2){var x=-r.tangentAngle(1),g=-s.tangentAngle(0)+Math.PI,C=on(c,No(c,x+Math.PI/2,100),v,No(v,x+Math.PI/2,100)),L=C?Ql(C,c):Ql(c,v)/2,B=No(c,x,2*L*le);return e.setXYAt(B[0],B[1],"o",e.length()-1),B=No(v,g,2*L*le),e.setTripleAt(v[0],v[1],v[0],v[1],B[0],B[1],e.length()),v}var T=Lo(c,r.points[2])?r.points[0]:r.points[2],R=Lo(v,s.points[1])?s.points[3]:s.points[1],P=on(T,c,v,R);return P&&Ql(P,c)<d?(e.setTripleAt(P[0],P[1],P[0],P[1],P[0],P[1],e.length()),P):c}function Kh(e,r){var s=e.intersections(r);return s.length&&en(s[0][0],1)&&s.shift(),s.length?s[0]:null}function qh(e,r){var s=e.slice(),n=r.slice(),d=Kh(e[e.length-1],r[0]);return d&&(s[e.length-1]=e[e.length-1].split(d[0])[0],n[0]=r[0].split(d[1])[1]),e.length>1&&r.length>1&&(d=Kh(e[0],r[r.length-1]),d)?[[e[0].split(d[0])[0]],[r[r.length-1].split(d[1])[1]]]:[s,n]}function Og(e){for(var r,s=1;s<e.length;s+=1)r=qh(e[s-1],e[s]),e[s-1]=r[0],e[s]=r[1];return e.length>1&&(r=qh(e[e.length-1],e[0]),e[e.length-1]=r[0],e[0]=r[1]),e}function Zh(e,r){var s=e.inflectionPoints(),n,d,c,v;if(s.length===0)return[Ro(e,r)];if(s.length===1||en(s[1],1))return c=e.split(s[0]),n=c[0],d=c[1],[Ro(n,r),Ro(d,r)];c=e.split(s[0]),n=c[0];var x=(s[1]-s[0])/(1-s[0]);return c=c[1].split(x),v=c[0],d=c[1],[Ro(n,r),Ro(v,r),Ro(d,r)]}function Ps(){}$([Ke],Ps),Ps.prototype.initModifierProperties=function(e,r){this.getValue=this.processKeys,this.amount=it.getProp(e,r.a,0,null,this),this.miterLimit=it.getProp(e,r.ml,0,null,this),this.lineJoin=r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},Ps.prototype.processPath=function(e,r,s,n){var d=ce.newElement();d.c=e.c;var c=e.length();e.c||(c-=1);var v,x,g,C=[];for(v=0;v<c;v+=1)g=Ut.shapeSegment(e,v),C.push(Zh(g,r));if(!e.c)for(v=c-1;v>=0;v-=1)g=Ut.shapeSegmentInverted(e,v),C.push(Zh(g,r));C=Og(C);var L=null,B=null;for(v=0;v<C.length;v+=1){var T=C[v];for(B&&(L=jh(d,B,T[0],s,n)),B=T[T.length-1],x=0;x<T.length;x+=1)g=T[x],L&&Lo(g.points[0],L)?d.setXYAt(g.points[1][0],g.points[1][1],"o",d.length()-1):d.setTripleAt(g.points[0][0],g.points[0][1],g.points[1][0],g.points[1][1],g.points[0][0],g.points[0][1],d.length()),d.setTripleAt(g.points[3][0],g.points[3][1],g.points[3][0],g.points[3][1],g.points[2][0],g.points[2][1],d.length()),L=g.points[3]}return C.length&&jh(d,B,C[0][0],s,n),d},Ps.prototype.processShapes=function(e){var r,s,n=this.shapes.length,d,c,v=this.amount.v,x=this.miterLimit.v,g=this.lineJoin;if(v!==0){var C,L;for(s=0;s<n;s+=1){if(C=this.shapes[s],L=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!e))for(L.releaseShapes(),C.shape._mdf=!0,r=C.shape.paths.shapes,c=C.shape.paths._length,d=0;d<c;d+=1)L.addShape(this.processPath(r[d],v,g,x));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Xh(e){for(var r=e.fStyle?e.fStyle.split(" "):[],s="normal",n="normal",d=r.length,c,v=0;v<d;v+=1)switch(c=r[v].toLowerCase(),c){case"italic":n="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200";break;default:break}return{style:n,weight:e.fWeight||s}}var Bi=function(){var e=5e3,r={w:0,size:0,shapes:[],data:{shapes:[]}},s=[];s=s.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 n=127988,d=917631,c=917601,v=917626,x=65039,g=8205,C=127462,L=127487,B=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T(S){var O=S.split(","),f,b=O.length,G=[];for(f=0;f<b;f+=1)O[f]!=="sans-serif"&&O[f]!=="monospace"&&G.push(O[f]);return G.join(",")}function R(S,O){var f=N("span");f.setAttribute("aria-hidden",!0),f.style.fontFamily=O;var b=N("span");b.innerText="giItT1WQy@!-/#",f.style.position="absolute",f.style.left="-10000px",f.style.top="-10000px",f.style.fontSize="300px",f.style.fontVariant="normal",f.style.fontStyle="normal",f.style.fontWeight="normal",f.style.letterSpacing="0",f.appendChild(b),document.body.appendChild(f);var G=b.offsetWidth;return b.style.fontFamily=T(S)+", "+O,{node:b,w:G,parent:f}}function P(){var S,O=this.fonts.length,f,b,G=O;for(S=0;S<O;S+=1)this.fonts[S].loaded?G-=1:this.fonts[S].fOrigin==="n"||this.fonts[S].origin===0?this.fonts[S].loaded=!0:(f=this.fonts[S].monoCase.node,b=this.fonts[S].monoCase.w,f.offsetWidth!==b?(G-=1,this.fonts[S].loaded=!0):(f=this.fonts[S].sansCase.node,b=this.fonts[S].sansCase.w,f.offsetWidth!==b&&(G-=1,this.fonts[S].loaded=!0)),this.fonts[S].loaded&&(this.fonts[S].sansCase.parent.parentNode.removeChild(this.fonts[S].sansCase.parent),this.fonts[S].monoCase.parent.parentNode.removeChild(this.fonts[S].monoCase.parent)));G!==0&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function M(S,O){var f=document.body&&O?"svg":"canvas",b,G=Xh(S);if(f==="svg"){var F=bt("text");F.style.fontSize="100px",F.setAttribute("font-family",S.fFamily),F.setAttribute("font-style",G.style),F.setAttribute("font-weight",G.weight),F.textContent="1",S.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",S.fClass)):F.style.fontFamily=S.fFamily,O.appendChild(F),b=F}else{var at=new OffscreenCanvas(500,500).getContext("2d");at.font=G.style+" "+G.weight+" 100px "+S.fFamily,b=at}function mt(gt){return f==="svg"?(b.textContent=gt,b.getComputedTextLength()):b.measureText(gt).width}return{measureText:mt}}function z(S,O){if(!S){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=S.list;return}if(!document.body){this.isLoaded=!0,S.list.forEach(function(Ce){Ce.helper=M(Ce),Ce.cache={}}),this.fonts=S.list;return}var f=S.list,b,G=f.length,F=G;for(b=0;b<G;b+=1){var at=!0,mt,gt;if(f[b].loaded=!1,f[b].monoCase=R(f[b].fFamily,"monospace"),f[b].sansCase=R(f[b].fFamily,"sans-serif"),!f[b].fPath)f[b].loaded=!0,F-=1;else if(f[b].fOrigin==="p"||f[b].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+f[b].fFamily+'"], style[f-origin="3"][f-family="'+f[b].fFamily+'"]'),mt.length>0&&(at=!1),at){var wt=N("style");wt.setAttribute("f-forigin",f[b].fOrigin),wt.setAttribute("f-origin",f[b].origin),wt.setAttribute("f-family",f[b].fFamily),wt.type="text/css",wt.innerText="@font-face {font-family: "+f[b].fFamily+"; font-style: normal; src: url('"+f[b].fPath+"');}",O.appendChild(wt)}}else if(f[b].fOrigin==="g"||f[b].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),gt=0;gt<mt.length;gt+=1)mt[gt].href.indexOf(f[b].fPath)!==-1&&(at=!1);if(at){var Nt=N("link");Nt.setAttribute("f-forigin",f[b].fOrigin),Nt.setAttribute("f-origin",f[b].origin),Nt.type="text/css",Nt.rel="stylesheet",Nt.href=f[b].fPath,document.body.appendChild(Nt)}}else if(f[b].fOrigin==="t"||f[b].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),gt=0;gt<mt.length;gt+=1)f[b].fPath===mt[gt].src&&(at=!1);if(at){var Zt=N("link");Zt.setAttribute("f-forigin",f[b].fOrigin),Zt.setAttribute("f-origin",f[b].origin),Zt.setAttribute("rel","stylesheet"),Zt.setAttribute("href",f[b].fPath),O.appendChild(Zt)}}f[b].helper=M(f[b],O),f[b].cache={},this.fonts.push(f[b])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function w(S){if(S){this.chars||(this.chars=[]);var O,f=S.length,b,G=this.chars.length,F;for(O=0;O<f;O+=1){for(b=0,F=!1;b<G;)this.chars[b].style===S[O].style&&this.chars[b].fFamily===S[O].fFamily&&this.chars[b].ch===S[O].ch&&(F=!0),b+=1;F||(this.chars.push(S[O]),G+=1)}}}function _(S,O,f){for(var b=0,G=this.chars.length;b<G;){if(this.chars[b].ch===S&&this.chars[b].style===O&&this.chars[b].fFamily===f)return this.chars[b];b+=1}return(typeof S=="string"&&S.charCodeAt(0)!==13||!S)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",S,O,f)),r}function y(S,O,f){var b=this.getFontByName(O),G=S;if(!b.cache[G]){var F=b.helper;if(S===" "){var at=F.measureText("|"+S+"|"),mt=F.measureText("||");b.cache[G]=(at-mt)/100}else b.cache[G]=F.measureText(S)/100}return b.cache[G]*f}function A(S){for(var O=0,f=this.fonts.length;O<f;){if(this.fonts[O].fName===S)return this.fonts[O];O+=1}return this.fonts[0]}function k(S){var O=0,f=S.charCodeAt(0);if(f>=55296&&f<=56319){var b=S.charCodeAt(1);b>=56320&&b<=57343&&(O=(f-55296)*1024+b-56320+65536)}return O}function D(S,O){var f=S.toString(16)+O.toString(16);return B.indexOf(f)!==-1}function V(S){return S===g}function Y(S){return S===x}function X(S){var O=k(S);return O>=C&&O<=L}function vt(S){return X(S.substr(0,2))&&X(S.substr(2,2))}function ht(S){return s.indexOf(S)!==-1}function et(S,O){var f=k(S.substr(O,2));if(f!==n)return!1;var b=0;for(O+=2;b<5;){if(f=k(S.substr(O,2)),f<c||f>v)return!1;b+=1,O+=2}return k(S.substr(O,2))===d}function yt(){this.isLoaded=!0}var lt=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};lt.isModifier=D,lt.isZeroWidthJoiner=V,lt.isFlagEmoji=vt,lt.isRegionalCode=X,lt.isCombinedCharacter=ht,lt.isRegionalFlag=et,lt.isVariationSelector=Y,lt.BLACK_FLAG_CODE_POINT=n;var Z={addChars:w,addFonts:z,getCharData:_,getFontByName:A,measureText:y,checkLoadedFonts:P,setIsLoaded:yt};return lt.prototype=Z,lt}();function Qh(e){this.animationData=e}Qh.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function Pg(e){return new Qh(e)}function sn(){}sn.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,s=this.renderableComponents.length;for(r=0;r<s;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 tc=function(){var e={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(r){return e[r]||""}}();function Dg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Fg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function $g(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function zg(e,r,s){this.p=it.getProp(r,e.v,1,0,s)}function Vg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Bg(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Ug(e,r,s){this.p=it.getProp(r,e.v,0,0,s)}function Hg(){this.p={}}function Jh(e,r){var s=e.ef||[];this.effectElements=[];var n,d=s.length,c;for(n=0;n<d;n+=1)c=new Ds(s[n],r),this.effectElements.push(c)}function Ds(e,r){this.init(e,r)}$([se],Ds),Ds.prototype.getValue=Ds.prototype.iterateDynamicProperties,Ds.prototype.init=function(e,r){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(r);var s,n=this.data.ef.length,d,c=this.data.ef;for(s=0;s<n;s+=1){switch(d=null,c[s].ty){case 0:d=new Dg(c[s],r,this);break;case 1:d=new Fg(c[s],r,this);break;case 2:d=new $g(c[s],r,this);break;case 3:d=new zg(c[s],r,this);break;case 4:case 7:d=new Ug(c[s],r,this);break;case 10:d=new Vg(c[s],r,this);break;case 11:d=new Bg(c[s],r,this);break;case 5:d=new Jh(c[s],r,this);break;default:d=new Hg(c[s],r,this);break}d&&this.effectElements.push(d)}};function ui(){}ui.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var r=0,s=this.data.masksProperties.length;r<s;){if(this.data.masksProperties[r].mode!=="n"&&this.data.masksProperties[r].cl!==!1)return!0;r+=1}return!1},initExpressions:function(){var r=_h();if(r){var s=r("layer"),n=r("effects"),d=r("shape"),c=r("text"),v=r("comp");this.layerInterface=s(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var x=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(x),this.data.ty===0||this.data.xt?this.compInterface=v(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=tc(this.data.bm),s=this.baseElement||this.layerElement;s.style["mix-blend-mode"]=r},initBaseData:function(r,s,n){this.globalData=s,this.comp=n,this.data=r,this.layerId=_e(),this.data.sr||(this.data.sr=1),this.effectsManager=new Jh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function fi(){}fi.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(r,s){var n,d=this.dynamicProperties.length;for(n=0;n<d;n+=1)(s||this._isParent&&this.dynamicProperties[n].propType==="transform")&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(r){this.dynamicProperties.indexOf(r)===-1&&this.dynamicProperties.push(r)}};function vi(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.footageData=r.imageLoader.getAsset(this.assetData),this.initBaseData(e,r,s)}vi.prototype.prepareFrame=function(){},$([sn,ui,fi],vi),vi.prototype.getBaseElement=function(){return null},vi.prototype.renderFrame=function(){},vi.prototype.destroy=function(){},vi.prototype.initExpressions=function(){var e=_h();if(e){var r=e("footage");this.layerInterface=r(this)}},vi.prototype.getFootageData=function(){return this.footageData};function Ie(e,r,s){this.initFrame(),this.initRenderable(),this.assetData=r.getAssetData(e.refId),this.initBaseData(e,r,s),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0},this.lv=it.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}Ie.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var r=this.tm.v;this._currentTime=r}this._volume=this.lv.v[0];var s=this._volume*this._volumeMultiplier;this._previousVolume!==s&&(this._previousVolume=s,this.audio.volume(s))},$([sn,ui,fi],Ie),Ie.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))},Ie.prototype.show=function(){},Ie.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},Ie.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},Ie.prototype.resume=function(){this._canPlay=!0},Ie.prototype.setRate=function(e){this.audio.rate(e)},Ie.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},Ie.prototype.getBaseElement=function(){return null},Ie.prototype.destroy=function(){},Ie.prototype.sourceRectAtTime=function(){},Ie.prototype.initExpressions=function(){};function he(){}he.prototype.checkLayers=function(e){var r,s=this.layers.length,n;for(this.completeLayers=!0,r=s-1;r>=0;r-=1)this.elements[r]||(n=this.layers[r],n.ip-n.st<=e-this.layers[r].st&&n.op-n.st>e-this.layers[r].st&&this.buildItem(r)),this.completeLayers=this.elements[r]?this.completeLayers:!1;this.checkPendingElements()},he.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},he.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},he.prototype.createAudio=function(e){return new Ie(e,this.globalData,this)},he.prototype.createFootage=function(e){return new vi(e,this.globalData,this)},he.prototype.buildAllItems=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.buildItem(e);this.checkPendingElements()},he.prototype.includeLayers=function(e){this.completeLayers=!1;var r,s=e.length,n,d=this.layers.length;for(r=0;r<s;r+=1)for(n=0;n<d;){if(this.layers[n].id===e[r].id){this.layers[n]=e[r];break}n+=1}},he.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},he.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},he.prototype.buildElementParenting=function(e,r,s){for(var n=this.elements,d=this.layers,c=0,v=d.length;c<v;)d[c].ind==r&&(!n[c]||n[c]===!0?(this.buildItem(c),this.addPendingElement(e)):(s.push(n[c]),n[c].setAsParent(),d[c].parent!==void 0?this.buildElementParenting(e,d[c].parent,s):e.setHierarchy(s))),c+=1},he.prototype.addPendingElement=function(e){this.pendingElements.push(e)},he.prototype.searchExtraCompositions=function(e){var r,s=e.length;for(r=0;r<s;r+=1)if(e[r].xt){var n=this.createComp(e[r]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},he.prototype.getElementById=function(e){var r,s=this.elements.length;for(r=0;r<s;r+=1)if(this.elements[r].data.ind===e)return this.elements[r];return null},he.prototype.getElementByPath=function(e){var r=e.shift(),s;if(typeof r=="number")s=this.elements[r];else{var n,d=this.elements.length;for(n=0;n<d;n+=1)if(this.elements[n].data.nm===r){s=this.elements[n];break}}return e.length===0?s:s.getElementByPath(e)},he.prototype.setupGlobalData=function(e,r){this.globalData.fontManager=new Bi,this.globalData.slotManager=Pg(e),this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}};var Gg={TRANSFORM_EFFECT:"transformEFfect"};function Mo(){}Mo.prototype={initTransform:function(){var r=new de;this.finalTransform={mProp:this.data.ks?ql.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,s=this.finalTransform.mat,n=0,d=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<d;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(r=this.finalTransform.mProp.v.props,s.cloneFromProps(r),n=0;n<d;n+=1)s.multiply(this.hierarchy[n].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,s=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;r<s;)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 n=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(n),r=1;r<s;r+=1){var d=this.localTransforms[r].matrix;n.multiply(d)}n.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var c=this.finalTransform.localOpacity;for(r=0;r<s;r+=1)c*=this.localTransforms[r].opacity*.01;this.finalTransform.localOpacity=c}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var r=this.renderableEffectsManager.getEffects(Gg.TRANSFORM_EFFECT);if(r.length){this.localTransforms=[],this.finalTransform.localMat=new de;var s=0,n=r.length;for(s=0;s<n;s+=1)this.localTransforms.push(r[s])}}},globalToLocal:function(r){var s=[];s.push(this.finalTransform);for(var n=!0,d=this.comp;n;)d.finalTransform?(d.data.hasMask&&s.splice(0,0,d.finalTransform),d=d.comp):n=!1;var c,v=s.length,x;for(c=0;c<v;c+=1)x=s[c].mat.applyToPointArray(0,0,0),r=[r[0]-x[0],r[1]-x[1],0];return r},mHelper:new de};function Ui(e,r,s){this.data=e,this.element=r,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n=this.globalData.defs,d,c=this.masksProperties?this.masksProperties.length:0;this.viewData=rt(c),this.solidPath="";var v,x=this.masksProperties,g=0,C=[],L,B,T=_e(),R,P,M,z,w="clipPath",_="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",_="mask"),(x[d].mode==="s"||x[d].mode==="i")&&g===0?(R=bt("rect"),R.setAttribute("fill","#ffffff"),R.setAttribute("width",this.element.comp.data.w||0),R.setAttribute("height",this.element.comp.data.h||0),C.push(R)):R=null,v=bt("path"),x[d].mode==="n")this.viewData[d]={op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:Qa.getShapeProp(this.element,x[d],3),elem:v,lastPath:""},n.appendChild(v);else{g+=1,v.setAttribute("fill",x[d].mode==="s"?"#000000":"#ffffff"),v.setAttribute("clip-rule","nonzero");var y;if(x[d].x.k!==0?(w="mask",_="mask",z=it.getProp(this.element,x[d].x,0,null,this.element),y=_e(),P=bt("filter"),P.setAttribute("id",y),M=bt("feMorphology"),M.setAttribute("operator","erode"),M.setAttribute("in","SourceGraphic"),M.setAttribute("radius","0"),P.appendChild(M),n.appendChild(P),v.setAttribute("stroke",x[d].mode==="s"?"#000000":"#ffffff")):(M=null,z=null),this.storedData[d]={elem:v,x:z,expan:M,lastPath:"",lastOperator:"",filterId:y,lastRadius:0},x[d].mode==="i"){B=C.length;var A=bt("g");for(L=0;L<B;L+=1)A.appendChild(C[L]);var k=bt("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",T+"_"+g),k.appendChild(v),n.appendChild(k),A.setAttribute("mask","url("+E()+"#"+T+"_"+g+")"),C.length=0,C.push(A)}else C.push(v);x[d].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[d]={elem:v,lastPath:"",op:it.getProp(this.element,x[d].o,0,.01,this.element),prop:Qa.getShapeProp(this.element,x[d],3),invRect:R},this.viewData[d].prop.k||this.drawPath(x[d],this.viewData[d].prop.v,this.viewData[d])}for(this.maskElement=bt(w),c=C.length,d=0;d<c;d+=1)this.maskElement.appendChild(C[d]);g>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(_,"url("+E()+"#"+T+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Ui.prototype.getMaskProperty=function(e){return this.viewData[e].prop},Ui.prototype.renderFrame=function(e){var r=this.element.finalTransform.mat,s,n=this.masksProperties.length;for(s=0;s<n;s+=1)if((this.viewData[s].prop._mdf||e)&&this.drawPath(this.masksProperties[s],this.viewData[s].prop.v,this.viewData[s]),(this.viewData[s].op._mdf||e)&&this.viewData[s].elem.setAttribute("fill-opacity",this.viewData[s].op.v),this.masksProperties[s].mode!=="n"&&(this.viewData[s].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[s].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[s].x&&(this.storedData[s].x._mdf||e))){var d=this.storedData[s].expan;this.storedData[s].x.v<0?(this.storedData[s].lastOperator!=="erode"&&(this.storedData[s].lastOperator="erode",this.storedData[s].elem.setAttribute("filter","url("+E()+"#"+this.storedData[s].filterId+")")),d.setAttribute("radius",-this.storedData[s].x.v)):(this.storedData[s].lastOperator!=="dilate"&&(this.storedData[s].lastOperator="dilate",this.storedData[s].elem.setAttribute("filter",null)),this.storedData[s].elem.setAttribute("stroke-width",this.storedData[s].x.v*2))}},Ui.prototype.getMaskelement=function(){return this.maskElement},Ui.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" ",e},Ui.prototype.drawPath=function(e,r,s){var n=" M"+r.v[0][0]+","+r.v[0][1],d,c;for(c=r._length,d=1;d<c;d+=1)n+=" 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&&(n+=" 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]),s.lastPath!==n){var v="";s.elem&&(r.c&&(v=e.inv?this.solidPath+n:n),s.elem.setAttribute("d",v)),s.lastPath=n}},Ui.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var Fs=function(){var e={};e.createFilter=r,e.createAlphaToLuminanceFilter=s;function r(n,d){var c=bt("filter");return c.setAttribute("id",n),d!==!0&&(c.setAttribute("filterUnits","objectBoundingBox"),c.setAttribute("x","0%"),c.setAttribute("y","0%"),c.setAttribute("width","100%"),c.setAttribute("height","100%")),c}function s(){var n=bt("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),tp=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),an={},ep="filter_result_";function ec(e){var r,s="SourceGraphic",n=e.data.ef?e.data.ef.length:0,d=_e(),c=Fs.createFilter(d,!0),v=0;this.filters=[];var x;for(r=0;r<n;r+=1){x=null;var g=e.data.ef[r].ty;if(an[g]){var C=an[g].effect;x=new C(c,e.effectsManager.effectElements[r],e,ep+v,s),s=ep+v,an[g].countsAsEffect&&(v+=1)}x&&this.filters.push(x)}v&&(e.globalData.defs.appendChild(c),e.layerElement.setAttribute("filter","url("+E()+"#"+d+")")),this.filters.length&&e.addRenderableComponent(this)}ec.prototype.renderFrame=function(e){var r,s=this.filters.length;for(r=0;r<s;r+=1)this.filters[r].renderFrame(e)},ec.prototype.getEffects=function(e){var r,s=this.filters.length,n=[];for(r=0;r<s;r+=1)this.filters[r].type===e&&n.push(this.filters[r]);return n};function xx(e,r,s){an[e]={effect:r,countsAsEffect:s}}function $s(){}$s.prototype={initRendererElement:function(){this.layerElement=bt("g")},createContainerElements:function(){this.matteElement=bt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var r=null;if(this.data.td){this.matteMasks={};var s=bt("g");s.setAttribute("id",this.layerId),s.appendChild(this.layerElement),r=s,this.globalData.defs.appendChild(s)}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 n=bt("clipPath"),d=bt("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=_e();if(n.setAttribute("id",c),n.appendChild(d),this.globalData.defs.appendChild(n),this.checkMasks()){var v=bt("g");v.setAttribute("clip-path","url("+E()+"#"+c+")"),v.appendChild(this.layerElement),this.transformedElement=v,r?r.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+E()+"#"+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 Ui(this.data,this,this.globalData),this.renderableEffectsManager=new ec(this),this.searchEffectTransforms()},getMatte:function(r){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[r]){var s=this.layerId+"_"+r,n,d,c,v;if(r===1||r===3){var x=bt("mask");x.setAttribute("id",s),x.setAttribute("mask-type",r===3?"luminance":"alpha"),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),x.appendChild(c),this.globalData.defs.appendChild(x),!tp.maskType&&r===1&&(x.setAttribute("mask-type","luminance"),n=_e(),d=Fs.createFilter(n),this.globalData.defs.appendChild(d),d.appendChild(Fs.createAlphaToLuminanceFilter()),v=bt("g"),v.appendChild(c),x.appendChild(v),v.setAttribute("filter","url("+E()+"#"+n+")"))}else if(r===2){var g=bt("mask");g.setAttribute("id",s),g.setAttribute("mask-type","alpha");var C=bt("g");g.appendChild(C),n=_e(),d=Fs.createFilter(n);var L=bt("feComponentTransfer");L.setAttribute("in","SourceGraphic"),d.appendChild(L);var B=bt("feFuncA");B.setAttribute("type","table"),B.setAttribute("tableValues","1.0 0.0"),L.appendChild(B),this.globalData.defs.appendChild(d);var T=bt("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),C.setAttribute("filter","url("+E()+"#"+n+")"),C.appendChild(T),c=bt("use"),c.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),C.appendChild(c),tp.maskType||(g.setAttribute("mask-type","luminance"),d.appendChild(Fs.createAlphaToLuminanceFilter()),v=bt("g"),C.appendChild(T),v.appendChild(this.layerElement),C.appendChild(v)),this.globalData.defs.appendChild(g)}this.matteMasks[r]=s}return this.matteMasks[r]},setMatte:function(r){this.matteElement&&this.matteElement.setAttribute("mask","url("+E()+"#"+r+")")}};function Oo(){}Oo.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 zs(){}(function(){var e={initElement:function(s,n,d){this.initFrame(),this.initBaseData(s,n,d),this.initTransform(s,n,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 s=this.baseElement||this.layerElement;s.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var s=this.baseElement||this.layerElement;s.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(s){this._mdf=!1,this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};$([sn,q(e)],zs)})();function Vs(e,r,s){this.assetData=r.getAssetData(e.refId),this.assetData&&this.assetData.sid&&(this.assetData=r.slotManager.getProp(this.assetData)),this.initElement(e,r,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}$([ui,Mo,$s,Oo,fi,zs],Vs),Vs.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=bt("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},Vs.prototype.sourceRectAtTime=function(){return this.sourceRect};function Yg(e,r){this.elem=e,this.pos=r}function rp(){}rp.prototype={addShapeToModifiers:function(r){var s,n=this.shapeModifiers.length;for(s=0;s<n;s+=1)this.shapeModifiers[s].addShape(r)},isShapeInAnimatedModifiers:function(r){for(var s=0,n=this.shapeModifiers.length;s<n;)if(this.shapeModifiers[s].isAnimatedWithShape(r))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var r,s=this.shapes.length;for(r=0;r<s;r+=1)this.shapes[r].sh.reset();s=this.shapeModifiers.length;var n;for(r=s-1;r>=0&&(n=this.shapeModifiers[r].processShapes(this._isFirstFrame),!n);r-=1);}},searchProcessedElement:function(r){for(var s=this.processedElements,n=0,d=s.length;n<d;){if(s[n].elem===r)return s[n].pos;n+=1}return 0},addProcessedElement:function(r,s){for(var n=this.processedElements,d=n.length;d;)if(d-=1,n[d].elem===r){n[d].pos=s;return}n.push(new Yg(r,s))},prepareFrame:function(r){this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange)}};var ip={1:"butt",2:"round",3:"square"},op={1:"miter",2:"round",3:"bevel"};function sp(e,r,s){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=s,this.lvl=r,this._isAnimated=!!s.k;for(var n=0,d=e.length;n<d;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}sp.prototype.setAsAnimated=function(){this._isAnimated=!0};function ap(e,r){this.data=e,this.type=e.ty,this.d="",this.lvl=r,this._mdf=!1,this.closed=e.hd===!0,this.pElem=bt("path"),this.msElem=null}ap.prototype.reset=function(){this.d="",this._mdf=!1};function nn(e,r,s,n){this.elem=e,this.frameId=-1,this.dataProps=rt(r.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=Q("float32",r.length?r.length-1:0),this.dashoffset=Q("float32",1),this.initDynamicPropertyContainer(n);var d,c=r.length||0,v;for(d=0;d<c;d+=1)v=it.getProp(e,r[d].v,0,0,this),this.k=v.k||this.k,this.dataProps[d]={n:r[d].n,p:v};this.k||this.getValue(!0),this._isAnimated=this.k}nn.prototype.getValue=function(e){if(!(this.elem.globalData.frameId===this.frameId&&!e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var r=0,s=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),r=0;r<s;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}},$([se],nn);function np(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.w=it.getProp(e,r.w,0,null,this),this.d=new nn(e,r.d||{},"svg",this),this.c=it.getProp(e,r.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}$([se],np);function lp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=it.getProp(e,r.o,0,.01,this),this.c=it.getProp(e,r.c,1,255,this),this.style=s}$([se],lp);function cp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=s}$([se],cp);function Bs(e,r,s){this.data=r,this.c=Q("uint8c",r.p*4);var n=r.k.k[0].s?r.k.k[0].s.length-r.p*4:r.k.k.length-r.p*4;this.o=Q("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(s),this.prop=it.getProp(e,r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Bs.prototype.comparePoints=function(e,r){for(var s=0,n=this.o.length/2,d;s<n;){if(d=Math.abs(e[s*4]-e[r*4+s*2]),d>.01)return!1;s+=1}return!0},Bs.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,r=this.data.k.k.length;e<r;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Bs.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var r,s=this.data.p*4,n,d;for(r=0;r<s;r+=1)n=r%4===0?100:255,d=Math.round(this.prop.v[r]*n),this.c[r]!==d&&(this.c[r]=d,this._cmdf=!e);if(this.o.length)for(s=this.prop.v.length,r=this.data.p*4;r<s;r+=1)n=r%2===0?100:1,d=r%2===0?Math.round(this.prop.v[r]*100):this.prop.v[r],this.o[r-this.data.p*4]!==d&&(this.o[r-this.data.p*4]=d,this._omdf=!e);this._mdf=!e}},$([se],Bs);function Po(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,r,s)}Po.prototype.initGradientData=function(e,r,s){this.o=it.getProp(e,r.o,0,.01,this),this.s=it.getProp(e,r.s,1,null,this),this.e=it.getProp(e,r.e,1,null,this),this.h=it.getProp(e,r.h||{k:0},0,.01,this),this.a=it.getProp(e,r.a||{k:0},0,It,this),this.g=new Bs(e,r.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,r),this.setGradientOpacity(r,s),this._isAnimated=!!this._isAnimated},Po.prototype.setGradientData=function(e,r){var s=_e(),n=bt(r.t===1?"linearGradient":"radialGradient");n.setAttribute("id",s),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var d=[],c,v,x;for(x=r.g.p*4,v=0;v<x;v+=4)c=bt("stop"),n.appendChild(c),d.push(c);e.setAttribute(r.ty==="gf"?"fill":"stroke","url("+E()+"#"+s+")"),this.gf=n,this.cst=d},Po.prototype.setGradientOpacity=function(e,r){if(this.g._hasOpacity&&!this.g._collapsable){var s,n,d,c=bt("mask"),v=bt("path");c.appendChild(v);var x=_e(),g=_e();c.setAttribute("id",g);var C=bt(e.t===1?"linearGradient":"radialGradient");C.setAttribute("id",x),C.setAttribute("spreadMethod","pad"),C.setAttribute("gradientUnits","userSpaceOnUse"),d=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var L=this.stops;for(n=e.g.p*4;n<d;n+=2)s=bt("stop"),s.setAttribute("stop-color","rgb(255,255,255)"),C.appendChild(s),L.push(s);v.setAttribute(e.ty==="gf"?"fill":"stroke","url("+E()+"#"+x+")"),e.ty==="gs"&&(v.setAttribute("stroke-linecap",ip[e.lc||2]),v.setAttribute("stroke-linejoin",op[e.lj||2]),e.lj===1&&v.setAttribute("stroke-miterlimit",e.ml)),this.of=C,this.ms=c,this.ost=L,this.maskId=g,r.msElem=v}},$([se],Po);function dp(e,r,s){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=it.getProp(e,r.w,0,null,this),this.d=new nn(e,r.d||{},"svg",this),this.initGradientData(e,r,s),this._isAnimated=!!this._isAnimated}$([Po,se],dp);function Wg(){this.it=[],this.prevViewData=[],this.gr=bt("g")}function jg(e,r,s){this.transform={mProps:e,op:r,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var hp=function(r,s,n,d){if(s===0)return"";var c=r.o,v=r.i,x=r.v,g,C=" M"+d.applyToPointStringified(x[0][0],x[0][1]);for(g=1;g<s;g+=1)C+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[g][0],v[g][1])+" "+d.applyToPointStringified(x[g][0],x[g][1]);return n&&s&&(C+=" C"+d.applyToPointStringified(c[g-1][0],c[g-1][1])+" "+d.applyToPointStringified(v[0][0],v[0][1])+" "+d.applyToPointStringified(x[0][0],x[0][1]),C+="z"),C},Kg=function(){var e=new de,r=new de,s={createRenderFunction:n};function n(B){switch(B.ty){case"fl":return x;case"gf":return C;case"gs":return g;case"st":return L;case"sh":case"el":case"rc":case"sr":return v;case"tr":return d;case"no":return c;default:return null}}function d(B,T,R){(R||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(R||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function c(){}function v(B,T,R){var P,M,z,w,_,y,A=T.styles.length,k=T.lvl,D,V,Y,X;for(y=0;y<A;y+=1){if(w=T.sh._mdf||R,T.styles[y].lvl<k){for(V=r.reset(),Y=k-T.styles[y].lvl,X=T.transformers.length-1;!w&&Y>0;)w=T.transformers[X].mProps._mdf||w,Y-=1,X-=1;if(w)for(Y=k-T.styles[y].lvl,X=T.transformers.length-1;Y>0;)V.multiply(T.transformers[X].mProps.v),Y-=1,X-=1}else V=e;if(D=T.sh.paths,M=D._length,w){for(z="",P=0;P<M;P+=1)_=D.shapes[P],_&&_._length&&(z+=hp(_,_._length,_.c,V));T.caches[y]=z}else z=T.caches[y];T.styles[y].d+=B.hd===!0?"":z,T.styles[y]._mdf=w||T.styles[y]._mdf}}function x(B,T,R){var P=T.style;(T.c._mdf||R)&&P.pElem.setAttribute("fill","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("fill-opacity",T.o.v)}function g(B,T,R){C(B,T,R),L(B,T,R)}function C(B,T,R){var P=T.gf,M=T.g._hasOpacity,z=T.s.v,w=T.e.v;if(T.o._mdf||R){var _=B.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(_,T.o.v)}if(T.s._mdf||R){var y=B.t===1?"x1":"cx",A=y==="x1"?"y1":"cy";P.setAttribute(y,z[0]),P.setAttribute(A,z[1]),M&&!T.g._collapsable&&(T.of.setAttribute(y,z[0]),T.of.setAttribute(A,z[1]))}var k,D,V,Y;if(T.g._cmdf||R){k=T.cst;var X=T.g.c;for(V=k.length,D=0;D<V;D+=1)Y=k[D],Y.setAttribute("offset",X[D*4]+"%"),Y.setAttribute("stop-color","rgb("+X[D*4+1]+","+X[D*4+2]+","+X[D*4+3]+")")}if(M&&(T.g._omdf||R)){var vt=T.g.o;for(T.g._collapsable?k=T.cst:k=T.ost,V=k.length,D=0;D<V;D+=1)Y=k[D],T.g._collapsable||Y.setAttribute("offset",vt[D*2]+"%"),Y.setAttribute("stop-opacity",vt[D*2+1])}if(B.t===1)(T.e._mdf||R)&&(P.setAttribute("x2",w[0]),P.setAttribute("y2",w[1]),M&&!T.g._collapsable&&(T.of.setAttribute("x2",w[0]),T.of.setAttribute("y2",w[1])));else{var ht;if((T.s._mdf||T.e._mdf||R)&&(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)),P.setAttribute("r",ht),M&&!T.g._collapsable&&T.of.setAttribute("r",ht)),T.e._mdf||T.h._mdf||T.a._mdf||R){ht||(ht=Math.sqrt(Math.pow(z[0]-w[0],2)+Math.pow(z[1]-w[1],2)));var et=Math.atan2(w[1]-z[1],w[0]-z[0]),yt=T.h.v;yt>=1?yt=.99:yt<=-1&&(yt=-.99);var lt=ht*yt,Z=Math.cos(et+T.a.v)*lt+z[0],S=Math.sin(et+T.a.v)*lt+z[1];P.setAttribute("fx",Z),P.setAttribute("fy",S),M&&!T.g._collapsable&&(T.of.setAttribute("fx",Z),T.of.setAttribute("fy",S))}}}function L(B,T,R){var P=T.style,M=T.d;M&&(M._mdf||R)&&M.dashStr&&(P.pElem.setAttribute("stroke-dasharray",M.dashStr),P.pElem.setAttribute("stroke-dashoffset",M.dashoffset[0])),T.c&&(T.c._mdf||R)&&P.pElem.setAttribute("stroke","rgb("+oe(T.c.v[0])+","+oe(T.c.v[1])+","+oe(T.c.v[2])+")"),(T.o._mdf||R)&&P.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||R)&&(P.pElem.setAttribute("stroke-width",T.w.v),P.msElem&&P.msElem.setAttribute("stroke-width",T.w.v))}return s}();function Gt(e,r,s){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,r,s),this.prevViewData=[]}$([ui,Mo,$s,rp,Oo,fi,zs],Gt),Gt.prototype.initSecondaryElement=function(){},Gt.prototype.identityMatrix=new de,Gt.prototype.buildExpressionInterface=function(){},Gt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Gt.prototype.filterUniqueShapes=function(){var e,r=this.shapes.length,s,n,d=this.stylesList.length,c,v=[],x=!1;for(n=0;n<d;n+=1){for(c=this.stylesList[n],x=!1,v.length=0,e=0;e<r;e+=1)s=this.shapes[e],s.styles.indexOf(c)!==-1&&(v.push(s),x=s._isAnimated||x);v.length>1&&x&&this.setShapesAsAnimated(v)}},Gt.prototype.setShapesAsAnimated=function(e){var r,s=e.length;for(r=0;r<s;r+=1)e[r].setAsAnimated()},Gt.prototype.createStyleElement=function(e,r){var s,n=new ap(e,r),d=n.pElem;if(e.ty==="st")s=new np(this,e,n);else if(e.ty==="fl")s=new lp(this,e,n);else if(e.ty==="gf"||e.ty==="gs"){var c=e.ty==="gf"?Po:dp;s=new c(this,e,n),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),d.setAttribute("mask","url("+E()+"#"+s.maskId+")"))}else e.ty==="no"&&(s=new cp(this,e,n));return(e.ty==="st"||e.ty==="gs")&&(d.setAttribute("stroke-linecap",ip[e.lc||2]),d.setAttribute("stroke-linejoin",op[e.lj||2]),d.setAttribute("fill-opacity","0"),e.lj===1&&d.setAttribute("stroke-miterlimit",e.ml)),e.r===2&&d.setAttribute("fill-rule","evenodd"),e.ln&&d.setAttribute("id",e.ln),e.cl&&d.setAttribute("class",e.cl),e.bm&&(d.style["mix-blend-mode"]=tc(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,s),s},Gt.prototype.createGroupElement=function(e){var r=new Wg;return e.ln&&r.gr.setAttribute("id",e.ln),e.cl&&r.gr.setAttribute("class",e.cl),e.bm&&(r.gr.style["mix-blend-mode"]=tc(e.bm)),r},Gt.prototype.createTransformElement=function(e,r){var s=ql.getTransformProperty(this,e,this),n=new jg(s,s.o,r);return this.addToAnimatedContents(e,n),n},Gt.prototype.createShapeElement=function(e,r,s){var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7);var d=Qa.getShapeProp(this,e,n,this),c=new sp(r,s,d);return this.shapes.push(c),this.addShapeToModifiers(c),this.addToAnimatedContents(e,c),c},Gt.prototype.addToAnimatedContents=function(e,r){for(var s=0,n=this.animatedContents.length;s<n;){if(this.animatedContents[s].element===r)return;s+=1}this.animatedContents.push({fn:Kg.createRenderFunction(e),element:r,data:e})},Gt.prototype.setElementStyles=function(e){var r=e.styles,s,n=this.stylesList.length;for(s=0;s<n;s+=1)this.stylesList[s].closed||r.push(this.stylesList[s])},Gt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,r=this.itemsData.length;for(e=0;e<r;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),r=this.dynamicProperties.length,e=0;e<r;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},Gt.prototype.searchShapes=function(e,r,s,n,d,c,v){var x=[].concat(c),g,C=e.length-1,L,B,T=[],R=[],P,M,z;for(g=C;g>=0;g-=1){if(z=this.searchProcessedElement(e[g]),z?r[g]=s[z-1]:e[g]._render=v,e[g].ty==="fl"||e[g].ty==="st"||e[g].ty==="gf"||e[g].ty==="gs"||e[g].ty==="no")z?r[g].style.closed=!1:r[g]=this.createStyleElement(e[g],d),e[g]._render&&r[g].style.pElem.parentNode!==n&&n.appendChild(r[g].style.pElem),T.push(r[g].style);else if(e[g].ty==="gr"){if(!z)r[g]=this.createGroupElement(e[g]);else for(B=r[g].it.length,L=0;L<B;L+=1)r[g].prevViewData[L]=r[g].it[L];this.searchShapes(e[g].it,r[g].it,r[g].prevViewData,r[g].gr,d+1,x,v),e[g]._render&&r[g].gr.parentNode!==n&&n.appendChild(r[g].gr)}else e[g].ty==="tr"?(z||(r[g]=this.createTransformElement(e[g],n)),P=r[g].transform,x.push(P)):e[g].ty==="sh"||e[g].ty==="rc"||e[g].ty==="el"||e[g].ty==="sr"?(z||(r[g]=this.createShapeElement(e[g],x,d)),this.setElementStyles(r[g])):e[g].ty==="tm"||e[g].ty==="rd"||e[g].ty==="ms"||e[g].ty==="pb"||e[g].ty==="zz"||e[g].ty==="op"?(z?(M=r[g],M.closed=!1):(M=pi.getModifier(e[g].ty),M.init(this,e[g]),r[g]=M,this.shapeModifiers.push(M)),R.push(M)):e[g].ty==="rp"&&(z?(M=r[g],M.closed=!0):(M=pi.getModifier(e[g].ty),r[g]=M,M.init(this,e,g,r),this.shapeModifiers.push(M),v=!1),R.push(M));this.addProcessedElement(e[g],g+1)}for(C=T.length,g=0;g<C;g+=1)T[g].closed=!0;for(C=R.length,g=0;g<C;g+=1)R[g].closed=!0},Gt.prototype.renderInnerContent=function(){this.renderModifiers();var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<r;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},Gt.prototype.renderShape=function(){var e,r=this.animatedContents.length,s;for(e=0;e<r;e+=1)s=this.animatedContents[e],(this._isFirstFrame||s.element._isAnimated)&&s.data!==!0&&s.fn(s.data,s.element,this._isFirstFrame)},Gt.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function rc(e,r,s,n,d,c){this.o=e,this.sw=r,this.sc=s,this.fc=n,this.m=d,this.p=c,this._mdf={o:!0,sw:!!r,sc:!!s,fc:!!n,m:!0,p:!0}}rc.prototype.update=function(e,r,s,n,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 v=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,v=!0),this.sw!==r&&(this.sw=r,this._mdf.sw=!0,v=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,v=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,v=!0),this.m!==d&&(this.m=d,this._mdf.m=!0,v=!0),c.length&&(this.p[0]!==c[0]||this.p[1]!==c[1]||this.p[4]!==c[4]||this.p[5]!==c[5]||this.p[12]!==c[12]||this.p[13]!==c[13])&&(this.p=c,this._mdf.p=!0,v=!0),v};function ge(e,r){this._frameId=o,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,r.d&&r.d.sid&&(r.d=e.globalData.slotManager.getProp(r.d)),this.data=r,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}ge.prototype.defaultBoxWidth=[0,0],ge.prototype.copyData=function(e,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},ge.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},ge.prototype.searchProperty=function(){return this.searchKeyframes()},ge.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},ge.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},ge.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var r=this.currentData,s=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var n,d=this.effectsSequence.length,c=e||this.data.d.k[this.keysIndex].s;for(n=0;n<d;n+=1)s!==this.keysIndex?c=this.effectsSequence[n](c,c.t):c=this.effectsSequence[n](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}},ge.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,r=this.elem.comp.renderedFrame,s=0,n=e.length;s<=n-1&&!(s===n-1||e[s+1].t>r);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},ge.prototype.buildFinalText=function(e){for(var r=[],s=0,n=e.length,d,c,v=!1,x=!1,g="";s<n;)v=x,x=!1,d=e.charCodeAt(s),g=e.charAt(s),Bi.isCombinedCharacter(d)?v=!0:d>=55296&&d<=56319?Bi.isRegionalFlag(e,s)?g=e.substr(s,14):(c=e.charCodeAt(s+1),c>=56320&&c<=57343&&(Bi.isModifier(d,c)?(g=e.substr(s,2),v=!0):Bi.isFlagEmoji(e.substr(s,4))?g=e.substr(s,4):g=e.substr(s,2))):d>56319?(c=e.charCodeAt(s+1),Bi.isVariationSelector(d)&&(v=!0)):Bi.isZeroWidthJoiner(d)&&(v=!0,x=!0),v?(r[r.length-1]+=g,v=!1):r.push(g),s+=g.length;return r},ge.prototype.completeTextData=function(e){e.__complete=!0;var r=this.elem.globalData.fontManager,s=this.data,n=[],d,c,v,x=0,g,C=s.m.g,L=0,B=0,T=0,R=[],P=0,M=0,z,w,_=r.getFontByName(e.f),y,A=0,k=Xh(_);e.fWeight=k.weight,e.fStyle=k.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),c=e.finalText.length,e.finalLineHeight=e.lh;var D=e.tr/1e3*e.finalSize,V;if(e.sz)for(var Y=!0,X=e.sz[0],vt=e.sz[1],ht,et;Y;){et=this.buildFinalText(e.t),ht=0,P=0,c=et.length,D=e.tr/1e3*e.finalSize;var yt=-1;for(d=0;d<c;d+=1)V=et[d].charCodeAt(0),v=!1,et[d]===" "?yt=d:(V===13||V===3)&&(P=0,v=!0,ht+=e.finalLineHeight||e.finalSize*1.2),r.chars?(y=r.getCharData(et[d],_.fStyle,_.fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(et[d],e.f,e.finalSize),P+A>X&&et[d]!==" "?(yt===-1?c+=1:d=yt,ht+=e.finalLineHeight||e.finalSize*1.2,et.splice(d,yt===d?1:0,"\r"),yt=-1,P=0):(P+=A,P+=D);ht+=_.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&vt<ht?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=et,c=e.finalText.length,Y=!1)}P=-D,A=0;var lt=0,Z;for(d=0;d<c;d+=1)if(v=!1,Z=e.finalText[d],V=Z.charCodeAt(0),V===13||V===3?(lt=0,R.push(P),M=P>M?P:M,P=-2*D,g="",v=!0,T+=1):g=Z,r.chars?(y=r.getCharData(Z,_.fStyle,r.getFontByName(e.f).fFamily),A=v?0:y.w*e.finalSize/100):A=r.measureText(g,e.f,e.finalSize),Z===" "?lt+=A+D:(P+=A+D+lt,lt=0),n.push({l:A,an:A,add:L,n:v,anIndexes:[],val:g,line:T,animatorJustifyOffset:0}),C==2){if(L+=A,g===""||g===" "||d===c-1){for((g===""||g===" ")&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;x+=1,L=0}}else if(C==3){if(L+=A,g===""||d===c-1){for(g===""&&(L-=A);B<=d;)n[B].an=L,n[B].ind=x,n[B].extra=A,B+=1;L=0,x+=1}}else n[x].ind=x,n[x].extra=0,x+=1;if(e.l=n,M=P>M?P:M,R.push(P),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=M,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=R;var S=s.a,O,f;w=S.length;var b,G,F=[];for(z=0;z<w;z+=1){for(O=S[z],O.a.sc&&(e.strokeColorAnim=!0),O.a.sw&&(e.strokeWidthAnim=!0),(O.a.fc||O.a.fh||O.a.fs||O.a.fb)&&(e.fillColorAnim=!0),G=0,b=O.s.b,d=0;d<c;d+=1)f=n[d],f.anIndexes[z]=G,(b==1&&f.val!==""||b==2&&f.val!==""&&f.val!==" "||b==3&&(f.n||f.val==" "||d==c-1)||b==4&&(f.n||d==c-1))&&(O.s.rn===1&&F.push(G),G+=1);s.a[z].s.totalChars=G;var at=-1,mt;if(O.s.rn===1)for(d=0;d<c;d+=1)f=n[d],at!=f.anIndexes[z]&&(at=f.anIndexes[z],mt=F.splice(Math.floor(Math.random()*F.length),1)[0]),f.anIndexes[z]=mt}e.yOffset=e.finalLineHeight||e.finalSize*1.2,e.ls=e.ls||0,e.ascent=_.ascent*e.finalSize/100},ge.prototype.updateDocumentData=function(e,r){r=r===void 0?this.keysIndex:r;var s=this.copyData({},this.data.d.k[r].s);s=this.copyData(s,e),this.data.d.k[r].s=s,this.recalculate(r),this.setCurrentData(s),this.elem.addDynamicProperty(this)},ge.prototype.recalculate=function(e){var r=this.data.d.k[e].s;r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(r)},ge.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},ge.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var qg=function(){var e=Math.max,r=Math.min,s=Math.floor;function n(c,v){this._currentTextLength=-1,this.k=!1,this.data=v,this.elem=c,this.comp=c.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(c),this.s=it.getProp(c,v.s||{k:0},0,0,this),"e"in v?this.e=it.getProp(c,v.e,0,0,this):this.e={v:100},this.o=it.getProp(c,v.o||{k:0},0,0,this),this.xe=it.getProp(c,v.xe||{k:0},0,0,this),this.ne=it.getProp(c,v.ne||{k:0},0,0,this),this.sm=it.getProp(c,v.sm||{k:100},0,0,this),this.a=it.getProp(c,v.a,0,.01,this),this.dynamicProperties.length||this.getValue()}n.prototype={getMult:function(v){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var x=0,g=0,C=1,L=1;this.ne.v>0?x=this.ne.v/100:g=-this.ne.v/100,this.xe.v>0?C=1-this.xe.v/100:L=1+this.xe.v/100;var B=Ns.getBezierEasing(x,g,C,L).get,T=0,R=this.finalS,P=this.finalE,M=this.data.sh;if(M===2)P===R?T=v>=P?1:0:T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===3)P===R?T=v>=P?0:1:T=1-e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T=B(T);else if(M===4)P===R?T=0:(T=e(0,r(.5/(P-R)+(v-R)/(P-R),1)),T<.5?T*=2:T=1-2*(T-.5)),T=B(T);else if(M===5){if(P===R)T=0;else{var z=P-R;v=r(e(0,v+.5-R),P-R);var w=-z/2+v,_=z/2;T=Math.sqrt(1-w*w/(_*_))}T=B(T)}else M===6?(P===R?T=0:(v=r(e(0,v+.5-R),P-R),T=(1+Math.cos(Math.PI+Math.PI*2*v/(P-R)))/2),T=B(T)):(v>=s(R)&&(v-R<0?T=e(0,r(r(P,1)-(R-v),1)):T=e(0,r(P-v,1))),T=B(T));if(this.sm.v!==100){var y=this.sm.v*.01;y===0&&(y=1e-8);var A=.5-y*.5;T<A?T=0:(T=(T-A)/y,T>1&&(T=1))}return T*this.a.v},getValue:function(v){this.iterateDynamicProperties(),this._mdf=v||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,v&&this.data.r===2&&(this.e.v=this._currentTextLength);var x=this.data.r===2?1:100/this.data.totalChars,g=this.o.v/x,C=this.s.v/x+g,L=this.e.v/x+g;if(C>L){var B=C;C=L,L=B}this.finalS=C,this.finalE=L}},$([se],n);function d(c,v,x){return new n(c,v,x)}return{getTextSelectorProp:d}}();function Zg(e,r,s){var n={propType:!1},d=it.getProp,c=r.a;this.a={r:c.r?d(e,c.r,0,It,s):n,rx:c.rx?d(e,c.rx,0,It,s):n,ry:c.ry?d(e,c.ry,0,It,s):n,sk:c.sk?d(e,c.sk,0,It,s):n,sa:c.sa?d(e,c.sa,0,It,s):n,s:c.s?d(e,c.s,1,.01,s):n,a:c.a?d(e,c.a,1,0,s):n,o:c.o?d(e,c.o,0,.01,s):n,p:c.p?d(e,c.p,1,0,s):n,sw:c.sw?d(e,c.sw,0,0,s):n,sc:c.sc?d(e,c.sc,1,0,s):n,fc:c.fc?d(e,c.fc,1,0,s):n,fh:c.fh?d(e,c.fh,0,0,s):n,fs:c.fs?d(e,c.fs,0,.01,s):n,fb:c.fb?d(e,c.fb,0,.01,s):n,t:c.t?d(e,c.t,0,0,s):n},this.s=qg.getTextSelectorProp(e,r.s,s),this.s.t=r.s.t}function Hi(e,r,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=r,this._elem=s,this._animatorsData=rt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}Hi.prototype.searchProperties=function(){var e,r=this._textData.a.length,s,n=it.getProp;for(e=0;e<r;e+=1)s=this._textData.a[e],this._animatorsData[e]=new Zg(this._elem,s,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},Hi.prototype.getMeasures=function(e,r){if(this.lettersChangedFlag=r,!(!this._mdf&&!this._isFirstFrame&&!r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var s=this._moreOptions.alignment.v,n=this._animatorsData,d=this._textData,c=this.mHelper,v=this._renderType,x=this.renderedLetters.length,g,C,L,B,T=e.l,R,P,M,z,w,_,y,A,k,D,V,Y,X,vt,ht;if(this._hasMaskedPath){if(ht=this._pathData.m,!this._pathData.n||this._pathData._mdf){var et=ht.v;this._pathData.r.v&&(et=et.reverse()),R={tLength:0,segments:[]},B=et._length-1;var yt;for(Y=0,L=0;L<B;L+=1)yt=Tr.buildBezierData(et.v[L],et.v[L+1],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[L+1][0]-et.v[L+1][0],et.i[L+1][1]-et.v[L+1][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),Y+=yt.segmentLength;L=B,ht.v.c&&(yt=Tr.buildBezierData(et.v[L],et.v[0],[et.o[L][0]-et.v[L][0],et.o[L][1]-et.v[L][1]],[et.i[0][0]-et.v[0][0],et.i[0][1]-et.v[0][1]]),R.tLength+=yt.segmentLength,R.segments.push(yt),Y+=yt.segmentLength),this._pathData.pi=R}if(R=this._pathData.pi,P=this._pathData.f.v,y=0,_=1,z=0,w=!0,D=R.segments,P<0&&ht.v.c)for(R.tLength<Math.abs(P)&&(P=-Math.abs(P)%R.tLength),y=D.length-1,k=D[y].points,_=k.length-1;P<0;)P+=k[_].partialLength,_-=1,_<0&&(y-=1,k=D[y].points,_=k.length-1);k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength}B=T.length,g=0,C=0;var lt=e.finalSize*1.2*.714,Z=!0,S,O,f,b,G;b=n.length;var F,at=-1,mt,gt,wt,Nt=P,Zt=y,Ce=_,Ar=-1,ke,ae,Fe,Ot,ct,$r,bi,zr,Sr="",Vr=this.defaultPropsArray,Br;if(e.j===2||e.j===1){var we=0,yi=0,Ei=e.j===2?-.5:-1,hr=0,Ti=!0;for(L=0;L<B;L+=1)if(T[L].n){for(we&&(we+=yi);hr<L;)T[hr].animatorJustifyOffset=we,hr+=1;we=0,Ti=!0}else{for(f=0;f<b;f+=1)S=n[f].a,S.t.propType&&(Ti&&e.j===2&&(yi+=S.t.v*Ei),O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),F.length?we+=S.t.v*F[0]*Ei:we+=S.t.v*F*Ei);Ti=!1}for(we&&(we+=yi);hr<L;)T[hr].animatorJustifyOffset=we,hr+=1}for(L=0;L<B;L+=1){if(c.reset(),ke=1,T[L].n)g=0,C+=e.yOffset,C+=Z?1:0,P=Nt,Z=!1,this._hasMaskedPath&&(y=Zt,_=Ce,k=D[y].points,A=k[_-1],M=k[_],V=M.partialLength,z=0),Sr="",zr="",$r="",Br="",Vr=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Ar!==T[L].line){switch(e.j){case 1:P+=Y-e.lineWidths[T[L].line];break;case 2:P+=(Y-e.lineWidths[T[L].line])/2;break;default:break}Ar=T[L].line}at!==T[L].ind&&(T[at]&&(P+=T[at].extra),P+=T[L].an/2,at=T[L].ind),P+=s[0]*T[L].an*.005;var pr=0;for(f=0;f<b;f+=1)S=n[f].a,S.p.propType&&(O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),F.length?pr+=S.p.v[0]*F[0]:pr+=S.p.v[0]*F),S.a.propType&&(O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),F.length?pr+=S.a.v[0]*F[0]:pr+=S.a.v[0]*F);for(w=!0,this._pathData.a.v&&(P=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*at/(B-1),P+=this._pathData.f.v);w;)z+V>=P+pr||!k?(X=(P+pr-z)/M.partialLength,gt=A.point[0]+(M.point[0]-A.point[0])*X,wt=A.point[1]+(M.point[1]-A.point[1])*X,c.translate(-s[0]*T[L].an*.005,-(s[1]*lt)*.01),w=!1):k&&(z+=M.partialLength,_+=1,_>=k.length&&(_=0,y+=1,D[y]?k=D[y].points:ht.v.c?(_=0,y=0,k=D[y].points):(z-=M.partialLength,k=null)),k&&(A=M,M=k[_],V=M.partialLength));mt=T[L].an/2-T[L].add,c.translate(-mt,0,0)}else mt=T[L].an/2-T[L].add,c.translate(-mt,0,0),c.translate(-s[0]*T[L].an*.005,-s[1]*lt*.01,0);for(f=0;f<b;f+=1)S=n[f].a,S.t.propType&&(O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),(g!==0||e.j!==0)&&(this._hasMaskedPath?F.length?P+=S.t.v*F[0]:P+=S.t.v*F:F.length?g+=S.t.v*F[0]:g+=S.t.v*F));for(e.strokeWidthAnim&&(Fe=e.sw||0),e.strokeColorAnim&&(e.sc?ae=[e.sc[0],e.sc[1],e.sc[2]]:ae=[0,0,0]),e.fillColorAnim&&e.fc&&(Ot=[e.fc[0],e.fc[1],e.fc[2]]),f=0;f<b;f+=1)S=n[f].a,S.a.propType&&(O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),F.length?c.translate(-S.a.v[0]*F[0],-S.a.v[1]*F[1],S.a.v[2]*F[2]):c.translate(-S.a.v[0]*F,-S.a.v[1]*F,S.a.v[2]*F));for(f=0;f<b;f+=1)S=n[f].a,S.s.propType&&(O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),F.length?c.scale(1+(S.s.v[0]-1)*F[0],1+(S.s.v[1]-1)*F[1],1):c.scale(1+(S.s.v[0]-1)*F,1+(S.s.v[1]-1)*F,1));for(f=0;f<b;f+=1){if(S=n[f].a,O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),S.sk.propType&&(F.length?c.skewFromAxis(-S.sk.v*F[0],S.sa.v*F[1]):c.skewFromAxis(-S.sk.v*F,S.sa.v*F)),S.r.propType&&(F.length?c.rotateZ(-S.r.v*F[2]):c.rotateZ(-S.r.v*F)),S.ry.propType&&(F.length?c.rotateY(S.ry.v*F[1]):c.rotateY(S.ry.v*F)),S.rx.propType&&(F.length?c.rotateX(S.rx.v*F[0]):c.rotateX(S.rx.v*F)),S.o.propType&&(F.length?ke+=(S.o.v*F[0]-ke)*F[0]:ke+=(S.o.v*F-ke)*F),e.strokeWidthAnim&&S.sw.propType&&(F.length?Fe+=S.sw.v*F[0]:Fe+=S.sw.v*F),e.strokeColorAnim&&S.sc.propType)for(ct=0;ct<3;ct+=1)F.length?ae[ct]+=(S.sc.v[ct]-ae[ct])*F[0]:ae[ct]+=(S.sc.v[ct]-ae[ct])*F;if(e.fillColorAnim&&e.fc){if(S.fc.propType)for(ct=0;ct<3;ct+=1)F.length?Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F[0]:Ot[ct]+=(S.fc.v[ct]-Ot[ct])*F;S.fh.propType&&(F.length?Ot=Sh(Ot,S.fh.v*F[0]):Ot=Sh(Ot,S.fh.v*F)),S.fs.propType&&(F.length?Ot=xh(Ot,S.fs.v*F[0]):Ot=xh(Ot,S.fs.v*F)),S.fb.propType&&(F.length?Ot=Ah(Ot,S.fb.v*F[0]):Ot=Ah(Ot,S.fb.v*F))}}for(f=0;f<b;f+=1)S=n[f].a,S.p.propType&&(O=n[f].s,F=O.getMult(T[L].anIndexes[f],d.a[f].s.totalChars),this._hasMaskedPath?F.length?c.translate(0,S.p.v[1]*F[0],-S.p.v[2]*F[1]):c.translate(0,S.p.v[1]*F,-S.p.v[2]*F):F.length?c.translate(S.p.v[0]*F[0],S.p.v[1]*F[1],-S.p.v[2]*F[2]):c.translate(S.p.v[0]*F,S.p.v[1]*F,-S.p.v[2]*F));if(e.strokeWidthAnim&&($r=Fe<0?0:Fe),e.strokeColorAnim&&(bi="rgb("+Math.round(ae[0]*255)+","+Math.round(ae[1]*255)+","+Math.round(ae[2]*255)+")"),e.fillColorAnim&&e.fc&&(zr="rgb("+Math.round(Ot[0]*255)+","+Math.round(Ot[1]*255)+","+Math.round(Ot[2]*255)+")"),this._hasMaskedPath){if(c.translate(0,-e.ls),c.translate(0,s[1]*lt*.01+C,0),this._pathData.p.v){vt=(M.point[1]-A.point[1])/(M.point[0]-A.point[0]);var Gi=Math.atan(vt)*180/Math.PI;M.point[0]<A.point[0]&&(Gi+=180),c.rotate(-Gi*Math.PI/180)}c.translate(gt,wt,0),P-=s[0]*T[L].an*.005,T[L+1]&&at!==T[L+1].ind&&(P+=T[L].an/2,P+=e.tr*.001*e.finalSize)}else{switch(c.translate(g,C,0),e.ps&&c.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line]),0,0);break;case 2:c.translate(T[L].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[T[L].line])/2,0,0);break;default:break}c.translate(0,-e.ls),c.translate(mt,0,0),c.translate(s[0]*T[L].an*.005,s[1]*lt*.01,0),g+=T[L].l+e.tr*.001*e.finalSize}v==="html"?Sr=c.toCSS():v==="svg"?Sr=c.to2dCSS():Vr=[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]],Br=ke}x<=L?(G=new rc(Br,$r,bi,zr,Sr,Vr),this.renderedLetters.push(G),x+=1,this.lettersChangedFlag=!0):(G=this.renderedLetters[L],this.lettersChangedFlag=G.update(Br,$r,bi,zr,Sr,Vr)||this.lettersChangedFlag)}}},Hi.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Hi.prototype.mHelper=new de,Hi.prototype.defaultPropsArray=[],$([se],Hi);function qe(){}qe.prototype.initElement=function(e,r,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,r,s),this.textProperty=new ge(this,e.t,this.dynamicProperties),this.textAnimator=new Hi(e.t,this.renderType,this),this.initTransform(e,r,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},qe.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)},qe.prototype.createPathShape=function(e,r){var s,n=r.length,d,c="";for(s=0;s<n;s+=1)r[s].ty==="sh"&&(d=r[s].ks.k,c+=hp(d,d.i.length,!0,e));return c},qe.prototype.updateDocumentData=function(e,r){this.textProperty.updateDocumentData(e,r)},qe.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},qe.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},qe.prototype.applyTextPropertiesToMatrix=function(e,r,s,n,d){switch(e.ps&&r.translate(e.ps[0],e.ps[1]+e.ascent,0),r.translate(0,-e.ls,0),e.j){case 1:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s]),0,0);break;case 2:r.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[s])/2,0,0);break;default:break}r.translate(n,d,0)},qe.prototype.buildColor=function(e){return"rgb("+Math.round(e[0]*255)+","+Math.round(e[1]*255)+","+Math.round(e[2]*255)+")"},qe.prototype.emptyProp=new rc,qe.prototype.destroy=function(){},qe.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Xg={shapes:[]};function Dr(e,r,s){this.textSpans=[],this.renderType="svg",this.initElement(e,r,s)}$([ui,Mo,$s,Oo,fi,zs,qe],Dr),Dr.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=bt("text"))},Dr.prototype.buildTextContents=function(e){for(var r=0,s=e.length,n=[],d="";r<s;)e[r]==="\r"||e[r]===""?(n.push(d),d=""):d+=e[r],r+=1;return n.push(d),n},Dr.prototype.buildShapeData=function(e,r){if(e.shapes&&e.shapes.length){var s=e.shapes[0];if(s.it){var n=s.it[s.it.length-1];n.s&&(n.s.k[0]=r,n.s.k[1]=r)}}return e},Dr.prototype.buildNewText=function(){this.addDynamicProperty(this);var e,r,s=this.textProperty.currentData;this.renderedLetters=rt(s?s.l.length:0),s.fc?this.layerElement.setAttribute("fill",this.buildColor(s.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),s.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(s.sc)),this.layerElement.setAttribute("stroke-width",s.sw)),this.layerElement.setAttribute("font-size",s.finalSize);var n=this.globalData.fontManager.getFontByName(s.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var d=s.fWeight,c=s.fStyle;this.layerElement.setAttribute("font-style",c),this.layerElement.setAttribute("font-weight",d)}this.layerElement.setAttribute("aria-label",s.t);var v=s.l||[],x=!!this.globalData.fontManager.chars;r=v.length;var g,C=this.mHelper,L="",B=this.data.singleShape,T=0,R=0,P=!0,M=s.tr*.001*s.finalSize;if(B&&!x&&!s.sz){var z=this.textContainer,w="start";switch(s.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 _=this.buildTextContents(s.finalText);for(r=_.length,R=s.ps?s.ps[1]+s.ascent:0,e=0;e<r;e+=1)g=this.textSpans[e].span||bt("tspan"),g.textContent=_[e],g.setAttribute("x",0),g.setAttribute("y",R),g.style.display="inherit",z.appendChild(g),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=g,R+=s.finalLineHeight;this.layerElement.appendChild(z)}else{var y=this.textSpans.length,A;for(e=0;e<r;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!x||!B||e===0){if(g=y>e?this.textSpans[e].span:bt(x?"g":"text"),y<=e){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=g,x){var k=bt("g");g.appendChild(k),this.textSpans[e].childSpan=k}this.textSpans[e].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(C.reset(),B&&(v[e].n&&(T=-M,R+=s.yOffset,R+=P?1:0,P=!1),this.applyTextPropertiesToMatrix(s,C,v[e].line,T,R),T+=v[e].l||0,T+=M),x){A=this.globalData.fontManager.getCharData(s.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(s.f).fFamily);var D;if(A.t===1)D=new Us(A.data,this.globalData,this);else{var V=Xg;A.data&&A.data.shapes&&(V=this.buildShapeData(A.data,s.finalSize)),D=new Gt(V,this.globalData,this)}if(this.textSpans[e].glyph){var Y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[e].glyph=D,D._debug=!0,D.prepareFrame(0),D.renderFrame(),this.textSpans[e].childSpan.appendChild(D.layerElement),A.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+s.finalSize/100+","+s.finalSize/100+")")}else B&&g.setAttribute("transform","translate("+C.props[12]+","+C.props[13]+")"),g.textContent=v[e].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}B&&g&&g.setAttribute("d",L)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},Dr.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},Dr.prototype.getValue=function(){var e,r=this.textSpans.length,s;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)s=this.textSpans[e].glyph,s&&(s.prepareFrame(this.comp.renderedFrame-this.data.st),s._mdf&&(this._mdf=!0))},Dr.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var e,r,s=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;r=n.length;var d,c,v;for(e=0;e<r;e+=1)n[e].n||(d=s[e],c=this.textSpans[e].span,v=this.textSpans[e].glyph,v&&v.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 ic(e,r,s){this.initElement(e,r,s)}$([Vs],ic),ic.prototype.createContent=function(){var e=bt("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)};function gi(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initFrame(),this.initTransform(e,r,s),this.initHierarchy()}gi.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},gi.prototype.renderFrame=function(){},gi.prototype.getBaseElement=function(){return null},gi.prototype.destroy=function(){},gi.prototype.sourceRectAtTime=function(){},gi.prototype.hide=function(){},$([ui,Mo,Oo,fi],gi);function te(){}$([he],te),te.prototype.createNull=function(e){return new gi(e,this.globalData,this)},te.prototype.createShape=function(e){return new Gt(e,this.globalData,this)},te.prototype.createText=function(e){return new Dr(e,this.globalData,this)},te.prototype.createImage=function(e){return new Vs(e,this.globalData,this)},te.prototype.createSolid=function(e){return new ic(e,this.globalData,this)},te.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var r=this.globalData.defs;this.setupGlobalData(e,r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var s=bt("clipPath"),n=bt("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var d=_e();s.setAttribute("id",d),s.appendChild(n),this.layerElement.setAttribute("clip-path","url("+E()+"#"+d+")"),r.appendChild(s),this.layers=e.layers,this.elements=rt(e.layers.length)},te.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e,r=this.layers?this.layers.length:0;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},te.prototype.updateContainerSize=function(){},te.prototype.findIndexByInd=function(e){var r=0,s=this.layers.length;for(r=0;r<s;r+=1)if(this.layers[r].ind===e)return r;return-1},te.prototype.buildItem=function(e){var r=this.elements;if(!(r[e]||this.layers[e].ty===99)){r[e]=!0;var s=this.createItem(this.layers[e]);if(r[e]=s,Ya()&&(this.layers[e].ty===0&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,e),this.layers[e].tt){var n="tp"in this.layers[e]?this.findIndexByInd(this.layers[e].tp):e-1;if(n===-1)return;if(!this.elements[n]||this.elements[n]===!0)this.buildItem(n),this.addPendingElement(s);else{var d=r[n],c=d.getMatte(this.layers[e].tt);s.setMatte(c)}}}},te.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var r=0,s=this.elements.length;r<s;){if(this.elements[r]===e){var n="tp"in e.data?this.findIndexByInd(e.data.tp):r-1,d=this.elements[n],c=d.getMatte(this.layers[r].tt);e.setMatte(c);break}r+=1}}},te.prototype.renderFrame=function(e){if(!(this.renderedFrame===e||this.destroyed)){e===null?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r,s=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=s-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf)for(r=0;r<s;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame()}},te.prototype.appendElementInPos=function(e,r){var s=e.getBaseElement();if(s){for(var n=0,d;n<r;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement()&&(d=this.elements[n].getBaseElement()),n+=1;d?this.layerElement.insertBefore(s,d):this.layerElement.appendChild(s)}},te.prototype.hide=function(){this.layerElement.style.display="none"},te.prototype.show=function(){this.layerElement.style.display="block"};function Fr(){}$([ui,Mo,Oo,fi,zs],Fr),Fr.prototype.initElement=function(e,r,s){this.initFrame(),this.initBaseData(e,r,s),this.initTransform(e,r,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!r.progressiveLoad)&&this.buildAllItems(),this.hide()},Fr.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var r=this.tm.v;r===this.data.op&&(r=this.data.op-1),this.renderedFrame=r}var s,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),s=n-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&(this.elements[s].prepareFrame(this.renderedFrame-this.layers[s].st),this.elements[s]._mdf&&(this._mdf=!0))}},Fr.prototype.renderInnerContent=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},Fr.prototype.setElements=function(e){this.elements=e},Fr.prototype.getElements=function(){return this.elements},Fr.prototype.destroyElements=function(){var e,r=this.layers.length;for(e=0;e<r;e+=1)this.elements[e]&&this.elements[e].destroy()},Fr.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function Us(e,r,s){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?rt(this.layers.length):[],this.initElement(e,r,s),this.tm=e.tm?it.getProp(this,e.tm,0,r.frameRate,this):{_placeholder:!0}}$([te,Fr,$s],Us),Us.prototype.createComp=function(e){return new Us(e,this.globalData,this)};function oc(e,r){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=bt("svg");var s="";if(r&&r.title){var n=bt("title"),d=_e();n.setAttribute("id",d),n.textContent=r.title,this.svgElement.appendChild(n),s+=d}if(r&&r.description){var c=bt("desc"),v=_e();c.setAttribute("id",v),c.textContent=r.description,this.svgElement.appendChild(c),s+=" "+v}s&&this.svgElement.setAttribute("aria-labelledby",s);var x=bt("defs");this.svgElement.appendChild(x);var g=bt("g");this.svgElement.appendChild(g),this.layerElement=g,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 $([te],oc),oc.prototype.createComp=function(e){return new Us(e,this.globalData,this)},ng("svg",oc),pi.registerModifier("tm",dr),pi.registerModifier("pb",Ls),pi.registerModifier("rp",xr),pi.registerModifier("rd",Rs),pi.registerModifier("zz",Os),pi.registerModifier("op",Ps),Mt})});var hn=globalThis,pn=hn.ShadowRoot&&(hn.ShadyCSS===void 0||hn.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ac=Symbol(),mp=new WeakMap,Hs=class{constructor(i,t,o){if(this._$cssResult$=!0,o!==ac)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=i,this.t=t}get styleSheet(){let i=this.o,t=this.t;if(pn&&i===void 0){let o=t!==void 0&&t.length===1;o&&(i=mp.get(t)),i===void 0&&((this.o=i=new CSSStyleSheet).replaceSync(this.cssText),o&&mp.set(t,i))}return i}toString(){return this.cssText}},up=l=>new Hs(typeof l=="string"?l:l+"",void 0,ac),U=(l,...i)=>{let t=l.length===1?l[0]:i.reduce((o,a,h)=>o+(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.")})(a)+l[h+1],l[0]);return new Hs(t,l,ac)},nc=(l,i)=>{if(pn)l.adoptedStyleSheets=i.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(let t of i){let o=document.createElement("style"),a=hn.litNonce;a!==void 0&&o.setAttribute("nonce",a),o.textContent=t.cssText,l.appendChild(o)}},mn=pn?l=>l:l=>l instanceof CSSStyleSheet?(i=>{let t="";for(let o of i.cssRules)t+=o.cssText;return up(t)})(l):l;var{is:sb,defineProperty:ab,getOwnPropertyDescriptor:nb,getOwnPropertyNames:lb,getOwnPropertySymbols:cb,getPrototypeOf:db}=Object,xi=globalThis,fp=xi.trustedTypes,hb=fp?fp.emptyScript:"",lc=xi.reactiveElementPolyfillSupport,Gs=(l,i)=>l,Ys={toAttribute(l,i){switch(i){case Boolean:l=l?hb:null;break;case Object:case Array:l=l==null?l:JSON.stringify(l)}return l},fromAttribute(l,i){let t=l;switch(i){case Boolean:t=l!==null;break;case Number:t=l===null?null:Number(l);break;case Object:case Array:try{t=JSON.parse(l)}catch{t=null}}return t}},un=(l,i)=>!sb(l,i),vp={attribute:!0,type:String,converter:Ys,reflect:!1,hasChanged:un},gp,bp;(gp=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(bp=xi.litPropertyMetadata)!=null||(xi.litPropertyMetadata=new WeakMap);var Ur=class extends HTMLElement{static addInitializer(i){var t;this._$Ei(),((t=this.l)!=null?t:this.l=[]).push(i)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(i,t=vp){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(i,t),!t.noAccessor){let o=Symbol(),a=this.getPropertyDescriptor(i,o,t);a!==void 0&&ab(this.prototype,i,a)}}static getPropertyDescriptor(i,t,o){var m;let{get:a,set:h}=(m=nb(this.prototype,i))!=null?m:{get(){return this[t]},set(E){this[t]=E}};return{get(){return a==null?void 0:a.call(this)},set(E){let N=a==null?void 0:a.call(this);h.call(this,E),this.requestUpdate(i,N,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(i){var t;return(t=this.elementProperties.get(i))!=null?t:vp}static _$Ei(){if(this.hasOwnProperty(Gs("elementProperties")))return;let i=db(this);i.finalize(),i.l!==void 0&&(this.l=[...i.l]),this.elementProperties=new Map(i.elementProperties)}static finalize(){if(this.hasOwnProperty(Gs("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Gs("properties"))){let t=this.properties,o=[...lb(t),...cb(t)];for(let a of o)this.createProperty(a,t[a])}let i=this[Symbol.metadata];if(i!==null){let t=litPropertyMetadata.get(i);if(t!==void 0)for(let[o,a]of t)this.elementProperties.set(o,a)}this._$Eh=new Map;for(let[t,o]of this.elementProperties){let a=this._$Eu(t,o);a!==void 0&&this._$Eh.set(a,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(i){let t=[];if(Array.isArray(i)){let o=new Set(i.flat(1/0).reverse());for(let a of o)t.unshift(mn(a))}else i!==void 0&&t.push(mn(i));return t}static _$Eu(i,t){let o=t.attribute;return o===!1?void 0:typeof o=="string"?o:typeof i=="string"?i.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var i;this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),(i=this.constructor.l)==null||i.forEach(t=>t(this))}addController(i){var t,o;((t=this._$EO)!=null?t:this._$EO=new Set).add(i),this.renderRoot!==void 0&&this.isConnected&&((o=i.hostConnected)==null||o.call(i))}removeController(i){var t;(t=this._$EO)==null||t.delete(i)}_$E_(){let i=new Map,t=this.constructor.elementProperties;for(let o of t.keys())this.hasOwnProperty(o)&&(i.set(o,this[o]),delete this[o]);i.size>0&&(this._$Ep=i)}createRenderRoot(){var t;let i=(t=this.shadowRoot)!=null?t:this.attachShadow(this.constructor.shadowRootOptions);return nc(i,this.constructor.elementStyles),i}connectedCallback(){var i,t;(i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostConnected)==null?void 0:a.call(o)})}enableUpdating(i){}disconnectedCallback(){var i;(i=this._$EO)==null||i.forEach(t=>{var o;return(o=t.hostDisconnected)==null?void 0:o.call(t)})}attributeChangedCallback(i,t,o){this._$AK(i,o)}_$EC(i,t){var h;let o=this.constructor.elementProperties.get(i),a=this.constructor._$Eu(i,o);if(a!==void 0&&o.reflect===!0){let m=(((h=o.converter)==null?void 0:h.toAttribute)!==void 0?o.converter:Ys).toAttribute(t,o.type);this._$Em=i,m==null?this.removeAttribute(a):this.setAttribute(a,m),this._$Em=null}}_$AK(i,t){var h;let o=this.constructor,a=o._$Eh.get(i);if(a!==void 0&&this._$Em!==a){let m=o.getPropertyOptions(a),E=typeof m.converter=="function"?{fromAttribute:m.converter}:((h=m.converter)==null?void 0:h.fromAttribute)!==void 0?m.converter:Ys;this._$Em=a,this[a]=E.fromAttribute(t,m.type),this._$Em=null}}requestUpdate(i,t,o){var a;if(i!==void 0){if(o!=null||(o=this.constructor.getPropertyOptions(i)),!((a=o.hasChanged)!=null?a:un)(this[i],t))return;this.P(i,t,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(i,t,o){var a;this._$AL.has(i)||this._$AL.set(i,t),o.reflect===!0&&this._$Em!==i&&((a=this._$Ej)!=null?a:this._$Ej=new Set).add(i)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}let i=this.scheduleUpdate();return i!=null&&await i,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var o,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((o=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[m,E]of this._$Ep)this[m]=E;this._$Ep=void 0}let h=this.constructor.elementProperties;if(h.size>0)for(let[m,E]of h)E.wrapped!==!0||this._$AL.has(m)||this[m]===void 0||this.P(m,this[m],E)}let i=!1,t=this._$AL;try{i=this.shouldUpdate(t),i?(this.willUpdate(t),(a=this._$EO)==null||a.forEach(h=>{var m;return(m=h.hostUpdate)==null?void 0:m.call(h)}),this.update(t)):this._$EU()}catch(h){throw i=!1,this._$EU(),h}i&&this._$AE(t)}willUpdate(i){}_$AE(i){var t;(t=this._$EO)==null||t.forEach(o=>{var a;return(a=o.hostUpdated)==null?void 0:a.call(o)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(i)),this.updated(i)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(i){return!0}update(i){this._$Ej&&(this._$Ej=this._$Ej.forEach(t=>this._$EC(t,this[t]))),this._$EU()}updated(i){}firstUpdated(i){}},yp;Ur.elementStyles=[],Ur.shadowRootOptions={mode:"open"},Ur[Gs("elementProperties")]=new Map,Ur[Gs("finalized")]=new Map,lc==null||lc({ReactiveElement:Ur}),((yp=xi.reactiveElementVersions)!=null?yp:xi.reactiveElementVersions=[]).push("2.0.4");var js=globalThis,fn=js.trustedTypes,Ep=fn?fn.createPolicy("lit-html",{createHTML:l=>l}):void 0,hc="$lit$",Hr=`lit$${Math.random().toFixed(9).slice(2)}$`,pc="?"+Hr,pb=`<${pc}>`,ji=document,Ks=()=>ji.createComment(""),qs=l=>l===null||typeof l!="object"&&typeof l!="function",mc=Array.isArray,Cp=l=>mc(l)||typeof(l==null?void 0:l[Symbol.iterator])=="function",cc=`[
3
+ \f\r]`,Ws=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Tp=/-->/g,xp=/>/g,Yi=RegExp(`>|${cc}(?:([^\\s"'>=/]+)(${cc}*=${cc}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Ap=/'/g,Sp=/"/g,kp=/^(?:script|style|textarea|title)$/i,uc=l=>(i,...t)=>({_$litType$:l,strings:i,values:t}),I=uc(1),kx=uc(2),wx=uc(3),Ne=Symbol.for("lit-noChange"),j=Symbol.for("lit-nothing"),_p=new WeakMap,Wi=ji.createTreeWalker(ji,129);function wp(l,i){if(!mc(l)||!l.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ep!==void 0?Ep.createHTML(i):i}var Np=(l,i)=>{let t=l.length-1,o=[],a,h=i===2?"<svg>":i===3?"<math>":"",m=Ws;for(let E=0;E<t;E++){let N=l[E],$,K,q=-1,nt=0;for(;nt<N.length&&(m.lastIndex=nt,K=m.exec(N),K!==null);)nt=m.lastIndex,m===Ws?K[1]==="!--"?m=Tp:K[1]!==void 0?m=xp:K[2]!==void 0?(kp.test(K[2])&&(a=RegExp("</"+K[2],"g")),m=Yi):K[3]!==void 0&&(m=Yi):m===Yi?K[0]===">"?(m=a!=null?a:Ws,q=-1):K[1]===void 0?q=-2:(q=m.lastIndex-K[2].length,$=K[1],m=K[3]===void 0?Yi:K[3]==='"'?Sp:Ap):m===Sp||m===Ap?m=Yi:m===Tp||m===xp?m=Ws:(m=Yi,a=void 0);let Q=m===Yi&&l[E+1].startsWith("/>")?" ":"";h+=m===Ws?N+pb:q>=0?(o.push($),N.slice(0,q)+hc+N.slice(q)+Hr+Q):N+Hr+(q===-2?E:Q)}return[wp(l,h+(l[t]||"<?>")+(i===2?"</svg>":i===3?"</math>":"")),o]},Zs=class l{constructor({strings:i,_$litType$:t},o){let a;this.parts=[];let h=0,m=0,E=i.length-1,N=this.parts,[$,K]=Np(i,t);if(this.el=l.createElement($,o),Wi.currentNode=this.el.content,t===2||t===3){let q=this.el.content.firstChild;q.replaceWith(...q.childNodes)}for(;(a=Wi.nextNode())!==null&&N.length<E;){if(a.nodeType===1){if(a.hasAttributes())for(let q of a.getAttributeNames())if(q.endsWith(hc)){let nt=K[m++],Q=a.getAttribute(q).split(Hr),rt=/([.?@])?(.*)/.exec(nt);N.push({type:1,index:h,name:rt[2],strings:Q,ctor:rt[1]==="."?gn:rt[1]==="?"?bn:rt[1]==="@"?yn:qi}),a.removeAttribute(q)}else q.startsWith(Hr)&&(N.push({type:6,index:h}),a.removeAttribute(q));if(kp.test(a.tagName)){let q=a.textContent.split(Hr),nt=q.length-1;if(nt>0){a.textContent=fn?fn.emptyScript:"";for(let Q=0;Q<nt;Q++)a.append(q[Q],Ks()),Wi.nextNode(),N.push({type:2,index:++h});a.append(q[nt],Ks())}}}else if(a.nodeType===8)if(a.data===pc)N.push({type:2,index:h});else{let q=-1;for(;(q=a.data.indexOf(Hr,q+1))!==-1;)N.push({type:7,index:h}),q+=Hr.length-1}h++}}static createElement(i,t){let o=ji.createElement("template");return o.innerHTML=i,o}};function Ki(l,i,t=l,o){var m,E,N;if(i===Ne)return i;let a=o!==void 0?(m=t.o)==null?void 0:m[o]:t.l,h=qs(i)?void 0:i._$litDirective$;return(a==null?void 0:a.constructor)!==h&&((E=a==null?void 0:a._$AO)==null||E.call(a,!1),h===void 0?a=void 0:(a=new h(l),a._$AT(l,t,o)),o!==void 0?((N=t.o)!=null?N:t.o=[])[o]=a:t.l=a),a!==void 0&&(i=Ki(l,a._$AS(l,i.values),a,o)),i}var vn=class{constructor(i,t){this._$AV=[],this._$AN=void 0,this._$AD=i,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(i){var $;let{el:{content:t},parts:o}=this._$AD,a=(($=i==null?void 0:i.creationScope)!=null?$:ji).importNode(t,!0);Wi.currentNode=a;let h=Wi.nextNode(),m=0,E=0,N=o[0];for(;N!==void 0;){if(m===N.index){let K;N.type===2?K=new Do(h,h.nextSibling,this,i):N.type===1?K=new N.ctor(h,N.name,N.strings,this,i):N.type===6&&(K=new En(h,this,i)),this._$AV.push(K),N=o[++E]}m!==(N==null?void 0:N.index)&&(h=Wi.nextNode(),m++)}return Wi.currentNode=ji,a}p(i){let t=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(i,o,t),t+=o.strings.length-2):o._$AI(i[t])),t++}},Do=class l{get _$AU(){var i,t;return(t=(i=this._$AM)==null?void 0:i._$AU)!=null?t:this.v}constructor(i,t,o,a){var h;this.type=2,this._$AH=j,this._$AN=void 0,this._$AA=i,this._$AB=t,this._$AM=o,this.options=a,this.v=(h=a==null?void 0:a.isConnected)!=null?h:!0}get parentNode(){let i=this._$AA.parentNode,t=this._$AM;return t!==void 0&&(i==null?void 0:i.nodeType)===11&&(i=t.parentNode),i}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(i,t=this){i=Ki(this,i,t),qs(i)?i===j||i==null||i===""?(this._$AH!==j&&this._$AR(),this._$AH=j):i!==this._$AH&&i!==Ne&&this._(i):i._$litType$!==void 0?this.$(i):i.nodeType!==void 0?this.T(i):Cp(i)?this.k(i):this._(i)}O(i){return this._$AA.parentNode.insertBefore(i,this._$AB)}T(i){this._$AH!==i&&(this._$AR(),this._$AH=this.O(i))}_(i){this._$AH!==j&&qs(this._$AH)?this._$AA.nextSibling.data=i:this.T(ji.createTextNode(i)),this._$AH=i}$(i){var h;let{values:t,_$litType$:o}=i,a=typeof o=="number"?this._$AC(i):(o.el===void 0&&(o.el=Zs.createElement(wp(o.h,o.h[0]),this.options)),o);if(((h=this._$AH)==null?void 0:h._$AD)===a)this._$AH.p(t);else{let m=new vn(a,this),E=m.u(this.options);m.p(t),this.T(E),this._$AH=m}}_$AC(i){let t=_p.get(i.strings);return t===void 0&&_p.set(i.strings,t=new Zs(i)),t}k(i){mc(this._$AH)||(this._$AH=[],this._$AR());let t=this._$AH,o,a=0;for(let h of i)a===t.length?t.push(o=new l(this.O(Ks()),this.O(Ks()),this,this.options)):o=t[a],o._$AI(h),a++;a<t.length&&(this._$AR(o&&o._$AB.nextSibling,a),t.length=a)}_$AR(i=this._$AA.nextSibling,t){var o;for((o=this._$AP)==null?void 0:o.call(this,!1,!0,t);i&&i!==this._$AB;){let a=i.nextSibling;i.remove(),i=a}}setConnected(i){var t;this._$AM===void 0&&(this.v=i,(t=this._$AP)==null||t.call(this,i))}},qi=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(i,t,o,a,h){this.type=1,this._$AH=j,this._$AN=void 0,this.element=i,this.name=t,this._$AM=a,this.options=h,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=j}_$AI(i,t=this,o,a){let h=this.strings,m=!1;if(h===void 0)i=Ki(this,i,t,0),m=!qs(i)||i!==this._$AH&&i!==Ne,m&&(this._$AH=i);else{let E=i,N,$;for(i=h[0],N=0;N<h.length-1;N++)$=Ki(this,E[o+N],t,N),$===Ne&&($=this._$AH[N]),m||(m=!qs($)||$!==this._$AH[N]),$===j?i=j:i!==j&&(i+=($!=null?$:"")+h[N+1]),this._$AH[N]=$}m&&!a&&this.j(i)}j(i){i===j?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,i!=null?i:"")}},gn=class extends qi{constructor(){super(...arguments),this.type=3}j(i){this.element[this.name]=i===j?void 0:i}},bn=class extends qi{constructor(){super(...arguments),this.type=4}j(i){this.element.toggleAttribute(this.name,!!i&&i!==j)}},yn=class extends qi{constructor(i,t,o,a,h){super(i,t,o,a,h),this.type=5}_$AI(i,t=this){var m;if((i=(m=Ki(this,i,t,0))!=null?m:j)===Ne)return;let o=this._$AH,a=i===j&&o!==j||i.capture!==o.capture||i.once!==o.once||i.passive!==o.passive,h=i!==j&&(o===j||a);a&&this.element.removeEventListener(this.name,this,o),h&&this.element.addEventListener(this.name,this,i),this._$AH=i}handleEvent(i){var t,o;typeof this._$AH=="function"?this._$AH.call((o=(t=this.options)==null?void 0:t.host)!=null?o:this.element,i):this._$AH.handleEvent(i)}},En=class{constructor(i,t,o){this.element=i,this.type=6,this._$AN=void 0,this._$AM=t,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(i){Ki(this,i)}},Lp={M:hc,P:Hr,A:pc,C:1,L:Np,R:vn,D:Cp,V:Ki,I:Do,H:qi,N:bn,U:yn,B:gn,F:En},dc=js.litHtmlPolyfillSupport,Ip;dc==null||dc(Zs,Do),((Ip=js.litHtmlVersions)!=null?Ip:js.litHtmlVersions=[]).push("3.2.0");var Rp=(l,i,t)=>{var h,m;let o=(h=t==null?void 0:t.renderBefore)!=null?h:i,a=o._$litPart$;if(a===void 0){let E=(m=t==null?void 0:t.renderBefore)!=null?m:null;o._$litPart$=a=new Do(i.insertBefore(Ks(),E),E,void 0,t!=null?t:{})}return a._$AI(l),a};var Ai=class extends Ur{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var t,o;let i=super.createRenderRoot();return(o=(t=this.renderOptions).renderBefore)!=null||(t.renderBefore=i.firstChild),i}update(i){let t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(i),this.o=Rp(t,this.renderRoot,this.renderOptions)}connectedCallback(){var i;super.connectedCallback(),(i=this.o)==null||i.setConnected(!0)}disconnectedCallback(){var i;super.disconnectedCallback(),(i=this.o)==null||i.setConnected(!1)}render(){return Ne}},Mp;Ai._$litElement$=!0,Ai.finalized=!0,(Mp=globalThis.litElementHydrateSupport)==null||Mp.call(globalThis,{LitElement:Ai});var fc=globalThis.litElementPolyfillSupport;fc==null||fc({LitElement:Ai});var Op;((Op=globalThis.litElementVersions)!=null?Op:globalThis.litElementVersions=[]).push("4.1.0");var mb={attribute:!0,type:String,converter:Ys,reflect:!1,hasChanged:un},ub=(l=mb,i,t)=>{let{kind:o,metadata:a}=t,h=globalThis.litPropertyMetadata.get(a);if(h===void 0&&globalThis.litPropertyMetadata.set(a,h=new Map),h.set(t.name,l),o==="accessor"){let{name:m}=t;return{set(E){let N=i.get.call(this);i.set.call(this,E),this.requestUpdate(m,N,l)},init(E){return E!==void 0&&this.P(m,void 0,l),E}}}if(o==="setter"){let{name:m}=t;return function(E){let N=this[m];i.call(this,E),this.requestUpdate(m,N,l)}}throw Error("Unsupported decorator location: "+o)};function u(l){return(i,t)=>typeof t=="object"?ub(l,i,t):((o,a,h)=>{let m=a.hasOwnProperty(h);return a.constructor.createProperty(h,m?{...o,wrapped:!0}:o),m?Object.getOwnPropertyDescriptor(a,h):void 0})(l,i,t)}function At(l){return u({...l,state:!0,attribute:!1})}var Gr=(l,i,t)=>(t.configurable=!0,t.enumerable=!0,Reflect.decorate&&typeof i!="object"&&Object.defineProperty(l,i,t),t);function Yr(l,i){return(t,o,a)=>{let h=m=>{var E,N;return(N=(E=m.renderRoot)==null?void 0:E.querySelector(l))!=null?N:null};if(i){let{get:m,set:E}=typeof o=="object"?t:a!=null?a:(()=>{let N=Symbol();return{get(){return this[N]},set($){this[N]=$}}})();return Gr(t,o,{get(){let N=m.call(this);return N===void 0&&(N=h(this),(N!==null||this.hasUpdated)&&E.call(this,N)),N}})}return Gr(t,o,{get(){return h(this)}})}}function Lt(l){return(i,t)=>{let{slot:o,selector:a}=l!=null?l:{},h="slot"+(o?`[name=${o}]`:":not([name])");return Gr(i,t,{get(){var N,$;let m=(N=this.renderRoot)==null?void 0:N.querySelector(h),E=($=m==null?void 0:m.assignedElements(l))!=null?$:[];return a===void 0?E:E.filter(K=>K.matches(a))}})}}function Tn(l){return(i,t)=>{let{slot:o}=l!=null?l:{},a="slot"+(o?`[name=${o}]`:":not([name])");return Gr(i,t,{get(){var m,E;let h=(m=this.renderRoot)==null?void 0:m.querySelector(a);return(E=h==null?void 0:h.assignedNodes(l))!=null?E:[]}})}}var fb={PREFIX:"mdc",SEPARATOR:"-"},vb={NAMESPACE:fb},vc=vb;var gb=l=>[vc.NAMESPACE.PREFIX,l].join(vc.NAMESPACE.SEPARATOR),H={constructTagName:gb};var tt={ALERTDIALOG:"alertdialog",BUTTON:"button",CHECKBOX:"checkbox",COMBOBOX:"combobox",DIALOG:"dialog",GROUP:"group",HEADING:"heading",IMG:"img",LIST:"list",LISTBOX:"listbox",LISTITEM:"listitem",MENU:"menu",MENUBAR:"menubar",MENUITEM:"menuitem",MENUITEMCHECKBOX:"menuitemcheckbox",MENUITEMRADIO:"menuitemradio",NAVIGATION:"navigation",OPTION:"option",PRESENTATION:"presentation",PROGRESSBAR:"progressbar",RADIO:"radio",RADIOGROUP:"radiogroup",REGION:"region",TAB:"tab",TABLIST:"tablist",TOOLTIP:"tooltip"};var TA=H.constructTagName("buttonsimple"),Zi={12:12,14:14,16:16,20:20,24:24,28:28,32:32,40:40,48:48,52:52,64:64,72:72,88:88,124:124},Fo={BUTTON:"button",SUBMIT:"submit",RESET:"reset"},Xs={SIZE:Zi[32],TYPE:Fo.BUTTON,ROLE:tt.BUTTON,ARIA_STATE_KEY:"aria-pressed"};var Wr=H.constructTagName("button"),Pt={PRIMARY:"primary",SECONDARY:"secondary",TERTIARY:"tertiary"},Qs={40:40,32:32,28:28,24:24},Ze={64:64,52:52,20:20,...Qs},Xi={POSITIVE:"positive",NEGATIVE:"negative",ACCENT:"accent",PROMOTIONAL:"promotional",DEFAULT:"default"},$o={PILL:"pill",ICON:"icon",PILL_WITH_ICON:"pill-with-icon"},Le={VARIANT:Pt.PRIMARY,SIZE:Qs[32],COLOR:Xi.DEFAULT,TYPE_INTERNAL:$o.ICON,TYPE:Fo.BUTTON,INVERTED:!1};var xn=l=>{class i extends l{constructor(){super(...arguments);this.variant=Le.VARIANT;this.color=Le.COLOR;this.typeInternal=Le.TYPE_INTERNAL}setVariant(a){this.setAttribute("variant",Object.values(Pt).includes(a)?a:Le.VARIANT)}setColor(a){!Object.values(Xi).includes(a)||this.variant===Pt.TERTIARY?this.setAttribute("color",`${Le.COLOR}`):this.setAttribute("color",a)}setSize(a){let m=this.typeInternal===$o.ICON?Object.values(Ze).includes(a)&&!(a===Ze[20]&&this.variant!==Pt.TERTIARY):Object.values(Qs).includes(a);this.setAttribute("size",m?`${a}`:`${Le.SIZE}`)}inferButtonType(){var $,K,q,nt,Q,rt;let a=(K=($=this.shadowRoot)==null?void 0:$.querySelector("slot:not([name])"))==null?void 0:K.assignedNodes().filter(dt=>{var ft;return dt.nodeType!==Node.TEXT_NODE||((ft=dt.textContent)==null?void 0:ft.trim())}).length,h=(nt=(q=this.shadowRoot)==null?void 0:q.querySelector('slot[name="prefix"]'))==null?void 0:nt.assignedNodes().filter(dt=>{var ft;return dt.nodeType!==Node.TEXT_NODE||((ft=dt.textContent)==null?void 0:ft.trim())}).length,m=this.prefixIcon||h&&h>0,E=(rt=(Q=this.shadowRoot)==null?void 0:Q.querySelector('slot[name="postfix"]'))==null?void 0:rt.assignedNodes().filter(dt=>{var ft;return dt.nodeType!==Node.TEXT_NODE||((ft=dt.textContent)==null?void 0:ft.trim())}).length,N=this.postfixIcon||E&&E>0;a&&(m||N)?(this.typeInternal=$o.PILL_WITH_ICON,this.setAttribute("data-btn-type","pill-with-icon")):!a&&(m||N)?(this.typeInternal=$o.ICON,this.setAttribute("data-btn-type","icon")):(this.typeInternal=$o.PILL,this.setAttribute("data-btn-type","pill"))}}return p([u({type:String,attribute:"prefix-icon",reflect:!0})],i.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon",reflect:!0})],i.prototype,"postfixIcon",2),p([u({type:String})],i.prototype,"variant",2),p([u({type:String})],i.prototype,"color",2),p([At()],i.prototype,"typeInternal",2),i};var Pp=U`
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 Tn=class extends Ai{static register(i){customElements.get(i)||customElements.define(i,this)}};Tn.styles=[Lp];var Rp=Tn;var W=Rp;var Si=class extends Event{constructor(i,t,o){super("context-request",{bubbles:!0,composed:!0}),this.context=i,this.callback=t,this.subscribe=o!=null?o:!1}};var zo=class{constructor(i,t,o,a){var h;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,E)=>{this.unsubscribe&&(this.unsubscribe!==E&&(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,E)),this.unsubscribe=E},this.host=i,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(h=m.subscribe)!=null?h:!1}else this.context=t,this.callback=o,this.subscribe=a!=null?a:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Si(this.context,this.t,this.subscribe))}};var xn=class{get value(){return this.o}set value(i){this.setValue(i)}setValue(i,t=!1){let o=t||!Object.is(i,this.o);this.o=i,o&&this.updateObservers()}constructor(i){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:o}]of this.subscriptions)t(this.o,o)},i!==void 0&&(this.value=i)}addCallback(i,t,o){if(!o)return void i(this.value);this.subscriptions.has(i)||this.subscriptions.set(i,{disposer:()=>{this.subscriptions.delete(i)},consumerHost:t});let{disposer:a}=this.subscriptions.get(i);i(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var uc=class extends Event{constructor(i){super("context-provider",{bubbles:!0,composed:!0}),this.context=i}},Vo=class extends xn{constructor(i,t,o){var a,h;super(t.context!==void 0?t.initialValue:o),this.onContextRequest=m=>{let E=m.composedPath()[0];m.context===this.context&&E!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,E,m.subscribe))},this.onProviderRequest=m=>{let E=m.composedPath()[0];if(m.context!==this.context||E===this.host)return;let N=new Set;for(let[$,{consumerHost:K}]of this.subscriptions)N.has($)||(N.add($),K.dispatchEvent(new Si(this.context,$,!0)));m.stopPropagation()},this.host=i,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(h=(a=this.host).addController)==null||h.call(a,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new uc(this.context))}};var pb=H`
14
+ `;var An=class extends Ai{static register(i){customElements.get(i)||customElements.define(i,this)}};An.styles=[Pp];var Dp=An;var W=Dp;var Si=class extends Event{constructor(i,t,o){super("context-request",{bubbles:!0,composed:!0}),this.context=i,this.callback=t,this.subscribe=o!=null?o:!1}};var zo=class{constructor(i,t,o,a){var h;if(this.subscribe=!1,this.provided=!1,this.value=void 0,this.t=(m,E)=>{this.unsubscribe&&(this.unsubscribe!==E&&(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,E)),this.unsubscribe=E},this.host=i,t.context!==void 0){let m=t;this.context=m.context,this.callback=m.callback,this.subscribe=(h=m.subscribe)!=null?h:!1}else this.context=t,this.callback=o,this.subscribe=a!=null?a:!1;this.host.addController(this)}hostConnected(){this.dispatchRequest()}hostDisconnected(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=void 0)}dispatchRequest(){this.host.dispatchEvent(new Si(this.context,this.t,this.subscribe))}};var Sn=class{get value(){return this.o}set value(i){this.setValue(i)}setValue(i,t=!1){let o=t||!Object.is(i,this.o);this.o=i,o&&this.updateObservers()}constructor(i){this.subscriptions=new Map,this.updateObservers=()=>{for(let[t,{disposer:o}]of this.subscriptions)t(this.o,o)},i!==void 0&&(this.value=i)}addCallback(i,t,o){if(!o)return void i(this.value);this.subscriptions.has(i)||this.subscriptions.set(i,{disposer:()=>{this.subscriptions.delete(i)},consumerHost:t});let{disposer:a}=this.subscriptions.get(i);i(this.value,a)}clearCallbacks(){this.subscriptions.clear()}};var gc=class extends Event{constructor(i){super("context-provider",{bubbles:!0,composed:!0}),this.context=i}},Vo=class extends Sn{constructor(i,t,o){var a,h;super(t.context!==void 0?t.initialValue:o),this.onContextRequest=m=>{let E=m.composedPath()[0];m.context===this.context&&E!==this.host&&(m.stopPropagation(),this.addCallback(m.callback,E,m.subscribe))},this.onProviderRequest=m=>{let E=m.composedPath()[0];if(m.context!==this.context||E===this.host)return;let N=new Set;for(let[$,{consumerHost:K}]of this.subscriptions)N.has($)||(N.add($),K.dispatchEvent(new Si(this.context,$,!0)));m.stopPropagation()},this.host=i,t.context!==void 0?this.context=t.context:this.context=t,this.attachListeners(),(h=(a=this.host).addController)==null||h.call(a,this)}attachListeners(){this.host.addEventListener("context-request",this.onContextRequest),this.host.addEventListener("context-provider",this.onProviderRequest)}hostConnected(){this.host.dispatchEvent(new gc(this.context))}};var bb=U`
15
15
  :host {
16
16
  display: contents;
17
17
  }
18
- `,Mp=pb;var Sn=class extends W{constructor({context:i,initialValue:t}){super(),this.context=new Vo(this,{context:i,initialValue:t})}render(){return this.updateContext(),I`<slot></slot>`}};Sn.styles=[...W.styles,Mp];var Op=Sn;var _r=Op;var J={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",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var Re=l=>{class i extends l{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([f({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],i.prototype,"autoFocusOnMount",2),i};var zt=l=>{class i extends l{}return p([f({reflect:!0,type:Boolean})],i.prototype,"disabled",2),i};var Xe=l=>{class i extends l{constructor(){super(...arguments);this.tabIndex=0}}return p([f({reflect:!0,type:Number})],i.prototype,"tabIndex",2),i};var Et=H`
18
+ `,Fp=bb;var In=class extends W{constructor({context:i,initialValue:t}){super(),this.context=new Vo(this,{context:i,initialValue:t})}render(){return this.updateContext(),I`<slot></slot>`}};In.styles=[...W.styles,Fp];var $p=In;var _r=$p;var J={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",SHIFT_TAB:"Shift+Tab",SPACE:" ",TAB:"Tab"};var Re=l=>{class i extends l{constructor(){super(...arguments);this.elementToAutoFocus=this;this.autoFocusOnMount=!1}async firstUpdated(a){super.firstUpdated(a),this.autoFocusOnMount&&(await this.updateComplete,this.elementToAutoFocus.focus())}}return p([u({type:Boolean,reflect:!0,attribute:"auto-focus-on-mount"})],i.prototype,"autoFocusOnMount",2),i};var zt=l=>{class i extends l{}return p([u({reflect:!0,type:Boolean})],i.prototype,"disabled",2),i};var Xe=l=>{class i extends l{constructor(){super(...arguments);this.tabIndex=0}}return p([u({reflect:!0,type:Number})],i.prototype,"tabIndex",2),i};var Et=U`
19
19
  :host {
20
20
  align-items: center;
21
21
  display: flex;
@@ -23,7 +23,7 @@
23
23
  justify-content: center;
24
24
  width: fit-content;
25
25
  }
26
- `,_n=H`
26
+ `,Cn=U`
27
27
  :host {
28
28
  --mdc-focus-ring-inner-color: var(--mds-color-theme-focus-default-0);
29
29
  --mdc-focus-ring-middle-color: var(--mds-color-theme-focus-default-1);
@@ -36,10 +36,10 @@
36
36
  --mdc-focus-ring-middle-offset: var(--mdc-focus-ring-inner-width);
37
37
  --mdc-focus-ring-outer-offset: calc(var(--mdc-focus-ring-inner-width) + var(--mdc-focus-ring-middle-width));
38
38
  }
39
- `,xt=(l=!1)=>{let i=H`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
39
+ `,xt=(l=!1)=>{let i=U`0 0 0 var(--mdc-focus-ring-inner-width) var(--mdc-focus-ring-inner-color),
40
40
  0 0 0 var(--mdc-focus-ring-middle-width) var(--mdc-focus-ring-middle-color),
41
41
  0 0 0 var(--mdc-focus-ring-outer-width) var(--mdc-focus-ring-outer-color)
42
- `;return l?[_n,H`
42
+ `;return l?[Cn,U`
43
43
  .mdc-focus-ring:focus-visible {
44
44
  outline: none;
45
45
  }
@@ -63,7 +63,7 @@
63
63
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
64
64
  }
65
65
  }
66
- `]:[_n,H`
66
+ `]:[Cn,U`
67
67
  :host([disabled]:focus) {
68
68
  box-shadow: none;
69
69
  }
@@ -78,7 +78,7 @@
78
78
  outline: 0.125rem solid var(--mds-color-theme-focus-default-0);
79
79
  }
80
80
  }
81
- `]};var mb=[Et,H`
81
+ `]};var yb=[Et,U`
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
- `,...xt()],Pp=mb;var $e=class extends Re(Xe(zt(W))){constructor(){super();this.size=Zs.SIZE;this.role=Zs.ROLE;this.type=Zs.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this,this.disabled),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||Zs.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===Fo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===Fo.RESET&&this.form&&this.form.reset()}setActive(t,o){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{o===!0?t.setAttribute(h.trim(),"true"):o===!1?t.setAttribute(h.trim(),"false"):t.removeAttribute(h.trim())})}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,o){o?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}render(){return I` <slot></slot> `}};$e.formAssociated=!0,$e.styles=[...W.styles,...Pp],p([f({type:Boolean,reflect:!0})],$e.prototype,"active",2),p([f({type:Boolean,attribute:"soft-disabled",reflect:!0})],$e.prototype,"softDisabled",2),p([f({type:Number,reflect:!0})],$e.prototype,"size",2),p([f({type:String,reflect:!0})],$e.prototype,"role",2),p([f({type:String,reflect:!0})],$e.prototype,"ariaStateKey",2),p([f({reflect:!0})],$e.prototype,"type",2),p([f({type:String,reflect:!0})],$e.prototype,"name",2),p([f({type:String,reflect:!0})],$e.prototype,"value",2);var pe=$e;var ub=H`
139
+ `,...xt()],zp=yb;var $e=class extends Re(Xe(zt(W))){constructor(){super();this.size=Xs.SIZE;this.role=Xs.ROLE;this.type=Xs.TYPE;this.prevTabindex=0;this.internals=this.attachInternals(),this.addEventListener("click",this.executeAction.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this)),this.addEventListener("blur",this.handleBlur.bind(this))}get form(){return this.internals.form}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this,this.disabled),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("active")&&(this.active!==void 0&&(this.ariaStateKey=this.ariaStateKey||Xs.ARIA_STATE_KEY),this.setActive(this,this.active))}executeAction(){this.type===Fo.SUBMIT&&this.form&&this.form.requestSubmit(),this.type===Fo.RESET&&this.form&&this.form.reset()}setActive(t,o){this.ariaStateKey&&this.ariaStateKey.split(",").filter(h=>h.trim().startsWith("aria-")).forEach(h=>{o===!0?t.setAttribute(h.trim(),"true"):o===!1?t.setAttribute(h.trim(),"false"):t.removeAttribute(h.trim())})}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}setDisabled(t,o){o?(t.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),t.removeAttribute("aria-disabled"))}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleBlur(){this.classList.contains("pressed")&&this.classList.remove("pressed")}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}render(){return I` <slot></slot> `}};$e.formAssociated=!0,$e.styles=[...W.styles,...zp],p([u({type:Boolean,reflect:!0})],$e.prototype,"active",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],$e.prototype,"softDisabled",2),p([u({type:Number,reflect:!0})],$e.prototype,"size",2),p([u({type:String,reflect:!0})],$e.prototype,"role",2),p([u({type:String,reflect:!0})],$e.prototype,"ariaStateKey",2),p([u({reflect:!0})],$e.prototype,"type",2),p([u({type:String,reflect:!0})],$e.prototype,"name",2),p([u({type:String,reflect:!0})],$e.prototype,"value",2);var pe=$e;var Eb=U`
140
140
  :host {
141
141
  background-color: transparent;
142
142
  border-radius: 1.25rem;
@@ -385,7 +385,7 @@
385
385
  :host::part(postfix-icon) {
386
386
  flex-shrink: 0;
387
387
  }
388
- `,Dp=[ub];var Qi=l=>{let i=l.split("-"),t=["bold","filled","regular","light"];return i.filter(o=>!t.includes(o)).join("-")};var jr=class extends En(pe){constructor(){super(...arguments);this.size=Le.SIZE;this.inverted=Le.INVERTED;this.role=tt.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${Qi(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${Qi(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return I`
388
+ `,Vp=[Eb];var Qi=l=>{let i=l.split("-"),t=["bold","filled","regular","light"];return i.filter(o=>!t.includes(o)).join("-")};var jr=class extends xn(pe){constructor(){super(...arguments);this.size=Le.SIZE;this.inverted=Le.INVERTED;this.role=tt.BUTTON}update(t){super.update(t),t.has("active")&&this.inferFilledIconName(this.active),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&(this.inferFilledIconName(this.active),this.inferButtonType())}inferFilledIconName(t){t?(this.prefixIcon&&(this.prefixFilledIconName=`${Qi(this.prefixIcon)}-filled`),this.postfixIcon&&(this.postfixFilledIconName=`${Qi(this.postfixIcon)}-filled`)):(this.prefixFilledIconName=this.prefixIcon,this.postfixFilledIconName=this.postfixIcon)}render(){return I`
389
389
  <slot name="prefix" part="prefix">
390
390
  ${this.prefixFilledIconName?I` <mdc-icon
391
391
  name="${this.prefixFilledIconName}"
@@ -401,7 +401,7 @@
401
401
  length-unit="rem"
402
402
  ></mdc-icon>`:""}
403
403
  </slot>
404
- `}};jr.styles=[...pe.styles,...Dp],p([f({type:Number})],jr.prototype,"size",2),p([f({type:Boolean,reflect:!0})],jr.prototype,"inverted",2),p([f({type:String,reflect:!0})],jr.prototype,"role",2),p([At()],jr.prototype,"prefixFilledIconName",2),p([At()],jr.prototype,"postfixFilledIconName",2);var Ji=jr;var fb=l=>{let{host:i,context:t,subscribe:o}=l;return new zo(i,{context:t,subscribe:o!=null?o:!0})},vb={consume:fb},Ir=vb;var In=G.constructTagName("iconprovider"),Fp=["svg"],$p=["em","rem","px","%"],gb={px:16,em:1,rem:1,"%":100},Kr={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:gb.em,SHOULD_CACHE:!1,ICON_SET:"momentum-icons"};var Cn=class{};Cn.context=In;var kn=Cn;var Cr=class extends _r{constructor(){super({context:kn.context,initialValue:new kn});this.iconSet=Kr.ICON_SET;this.fileExtension=Kr.FILE_EXTENSION;this.lengthUnit=Kr.LENGTH_UNIT;this.size=Kr.SIZE}static get Context(){return kn.context}updateValuesInContext(){this.fileExtension&&Fp.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Kr.FILE_EXTENSION,this.context.value.fileExtension=Kr.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&&$p.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=Kr.LENGTH_UNIT,this.context.value.lengthUnit=Kr.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())}};p([f({type:String,attribute:"icon-set",reflect:!0})],Cr.prototype,"iconSet",2),p([f({type:String})],Cr.prototype,"url",2),p([f({type:String,attribute:"file-extension",reflect:!0})],Cr.prototype,"fileExtension",2),p([f({type:String,attribute:"length-unit",reflect:!0})],Cr.prototype,"lengthUnit",2),p([f({type:Number,reflect:!0})],Cr.prototype,"size",2),p([f({type:String,attribute:"cache-strategy"})],Cr.prototype,"cacheStrategy",2),p([f({type:String,attribute:"cache-name"})],Cr.prototype,"cacheName",2);var Qs=Cr;var bb=[Et,H`
404
+ `}};jr.styles=[...pe.styles,...Vp],p([u({type:Number})],jr.prototype,"size",2),p([u({type:Boolean,reflect:!0})],jr.prototype,"inverted",2),p([u({type:String,reflect:!0})],jr.prototype,"role",2),p([At()],jr.prototype,"prefixFilledIconName",2),p([At()],jr.prototype,"postfixFilledIconName",2);var Ji=jr;var Tb=l=>{let{host:i,context:t,subscribe:o}=l;return new zo(i,{context:t,subscribe:o!=null?o:!0})},xb={consume:Tb},Ir=xb;var kn=H.constructTagName("iconprovider"),Bp=["svg"],Up=["em","rem","px","%"],Ab={px:16,em:1,rem:1,"%":100},Kr={FILE_EXTENSION:"svg",LENGTH_UNIT:"em",SIZE:Ab.em,SHOULD_CACHE:!1,ICON_SET:"momentum-icons"};var wn=class{};wn.context=kn;var Nn=wn;var Cr=class extends _r{constructor(){super({context:Nn.context,initialValue:new Nn});this.iconSet=Kr.ICON_SET;this.fileExtension=Kr.FILE_EXTENSION;this.lengthUnit=Kr.LENGTH_UNIT;this.size=Kr.SIZE}static get Context(){return Nn.context}updateValuesInContext(){this.fileExtension&&Bp.includes(this.fileExtension)?this.context.value.fileExtension=this.fileExtension:(this.fileExtension=Kr.FILE_EXTENSION,this.context.value.fileExtension=Kr.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&&Up.includes(this.lengthUnit)?this.context.value.lengthUnit=this.lengthUnit:(this.lengthUnit=Kr.LENGTH_UNIT,this.context.value.lengthUnit=Kr.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())}};p([u({type:String,attribute:"icon-set",reflect:!0})],Cr.prototype,"iconSet",2),p([u({type:String})],Cr.prototype,"url",2),p([u({type:String,attribute:"file-extension",reflect:!0})],Cr.prototype,"fileExtension",2),p([u({type:String,attribute:"length-unit",reflect:!0})],Cr.prototype,"lengthUnit",2),p([u({type:Number,reflect:!0})],Cr.prototype,"size",2),p([u({type:String,attribute:"cache-strategy"})],Cr.prototype,"cacheStrategy",2),p([u({type:String,attribute:"cache-name"})],Cr.prototype,"cacheName",2);var Js=Cr;var Sb=[Et,U`
405
405
  :host {
406
406
  --mdc-icon-fill-color: currentColor;
407
407
  --mdc-icon-size: var(--computed-icon-size);
@@ -416,7 +416,7 @@
416
416
  width: 100%;
417
417
  fill: var(--mdc-icon-fill-color);
418
418
  }
419
- `,...xt()],zp=bb;var Js={},Vp=async l=>(Js[l]===void 0&&(Js[l]=new Map),{async set(i,t){Js[l].set(i.url,await t.text())},async get(i){return Js[l].get(i.url)},async delete(i){Js[l].delete(i.url)}}),Bp=async l=>{let i=await caches.open(l);return{set:async(t,o)=>{await i.put(t,o)},get:async t=>{let o=await i.match(t);return o==null?void 0:o.text()},delete:async t=>{await i.delete(t)}}},Up=async(l,i)=>i==="in-memory-cache"?Vp(l):Bp(l);var Hp=async l=>fetch(l).then(i=>{if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i}),Gp=async({url:l,name:i,fileExtension:t,cacheStrategy:o,cacheName:a,renewSignal:h})=>{let m=h(),E=new Request(`${l}/${i}.${t}`,{signal:m});return!a||!o||!["in-memory-cache","web-cache-api"].includes(o)?Hp(E).then(N=>N.text()):Up(a,o).then(N=>N.get(E).then($=>$||Hp(E.clone()).then(K=>{var q;return K.status<400&&K.headers.has("content-type")?(q=N.set)==null?void 0:q.call(N,E,K.clone()).then(()=>K.text()):K.text()})).catch($=>{throw new Error(`Error in caching the Icon ${i}, ${$}`)}))};var Yp=G.constructTagName("icon"),fc={NAME:void 0,SIZE:1};var ze=class extends W{constructor(){super();this.name=fc.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=Ir.consume({host:this,context:Qs.Context});this.abortController=new AbortController}prepareIconElement(t){let o=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&o.setAttribute("data-name",this.name),o.setAttribute("part","icon"),o.setAttribute("aria-hidden","true"),o}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:o,url:a,cacheName:h,iconSet:m,cacheStrategy:E}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&o&&this.name){let N=()=>{var $;return($=this.abortController)==null||$.abort(),this.abortController=new AbortController,this.abortController.signal};return Gp({url:a,name:this.name,fileExtension:o,cacheName:h,cacheStrategy:E,renewSignal:N}).then($=>{let K=this.prepareIconElement($);this.handleIconLoadedSuccess(K)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(N=>{this.handleIconLoadedSuccess(N.default())}).catch(N=>{this.handleIconLoadedFailure(N)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let o=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(o)}handleIconLoadedFailure(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let o=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",o)}}get computedIconSize(){var t,o;return(o=(t=this.size)!=null?t:this.sizeFromContext)!=null?o:fc.SIZE}updated(t){var o,a,h,m;super.updated(t),t.has("name")&&this.getIconData().catch(E=>{E.name!=="AbortError"&&this.onerror&&this.onerror(E)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((o=this.iconProviderContext.value)==null?void 0:o.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.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())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.iconData} `}};ze.styles=[...W.styles,...zp],p([At()],ze.prototype,"iconData",2),p([At()],ze.prototype,"lengthUnitFromContext",2),p([At()],ze.prototype,"sizeFromContext",2),p([f({type:String,reflect:!0})],ze.prototype,"name",2),p([f({type:Number})],ze.prototype,"size",2),p([f({type:String,attribute:"length-unit"})],ze.prototype,"lengthUnit",2),p([f({type:String,attribute:"aria-label"})],ze.prototype,"ariaLabel",2),p([f({type:String,attribute:"aria-labelledby"})],ze.prototype,"ariaLabelledBy",2),p([At()],ze.prototype,"abortController",2);var vc=ze;vc.register(Yp);var yb=vc;Ji.register(Wr);var Eb=Ji;var Wp=H`
419
+ `,...xt()],Hp=Sb;var ta={},Gp=async l=>(ta[l]===void 0&&(ta[l]=new Map),{async set(i,t){ta[l].set(i.url,await t.text())},async get(i){return ta[l].get(i.url)},async delete(i){ta[l].delete(i.url)}}),Yp=async l=>{let i=await caches.open(l);return{set:async(t,o)=>{await i.put(t,o)},get:async t=>{let o=await i.match(t);return o==null?void 0:o.text()},delete:async t=>{await i.delete(t)}}},Wp=async(l,i)=>i==="in-memory-cache"?Gp(l):Yp(l);var jp=async l=>fetch(l).then(i=>{if(!i.ok)throw new Error("There was a problem while fetching the icon!");return i}),Kp=async({url:l,name:i,fileExtension:t,cacheStrategy:o,cacheName:a,renewSignal:h})=>{let m=h(),E=new Request(`${l}/${i}.${t}`,{signal:m});return!a||!o||!["in-memory-cache","web-cache-api"].includes(o)?jp(E).then(N=>N.text()):Wp(a,o).then(N=>N.get(E).then($=>$||jp(E.clone()).then(K=>{var q;return K.status<400&&K.headers.has("content-type")?(q=N.set)==null?void 0:q.call(N,E,K.clone()).then(()=>K.text()):K.text()})).catch($=>{throw new Error(`Error in caching the Icon ${i}, ${$}`)}))};var qp=H.constructTagName("icon"),bc={NAME:void 0,SIZE:1};var ze=class extends W{constructor(){super();this.name=bc.NAME;this.ariaLabel=null;this.ariaLabelledBy=null;this.iconProviderContext=Ir.consume({host:this,context:Js.Context});this.abortController=new AbortController}prepareIconElement(t){let o=new DOMParser().parseFromString(t,"text/html").body.children[0];return this.name&&o.setAttribute("data-name",this.name),o.setAttribute("part","icon"),o.setAttribute("aria-hidden","true"),o}async getIconData(){if(this.iconProviderContext.value){let{fileExtension:o,url:a,cacheName:h,iconSet:m,cacheStrategy:E}=this.iconProviderContext.value;if(m==="custom-icons"&&a&&o&&this.name){let N=()=>{var $;return($=this.abortController)==null||$.abort(),this.abortController=new AbortController,this.abortController.signal};return Kp({url:a,name:this.name,fileExtension:o,cacheName:h,cacheStrategy:E,renewSignal:N}).then($=>{let K=this.prepareIconElement($);this.handleIconLoadedSuccess(K)}).catch($=>{this.handleIconLoadedFailure($)})}if(m==="momentum-icons"&&this.name)return import(`@momentum-design/icons/dist/ts/${this.name}.ts`).then(N=>{this.handleIconLoadedSuccess(N.default())}).catch(N=>{this.handleIconLoadedFailure(N)})}let t=new Error("IconProvider not found or not properly set up.");return this.handleIconLoadedFailure(t),Promise.reject(t)}handleIconLoadedSuccess(t){this.iconData=t;let o=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(o)}handleIconLoadedFailure(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}updateSize(){var t;if(this.computedIconSize&&(this.lengthUnit||this.lengthUnitFromContext)){let o=`${this.computedIconSize}${(t=this.lengthUnit)!=null?t:this.lengthUnitFromContext}`;this.style.setProperty("--computed-icon-size",o)}}get computedIconSize(){var t,o;return(o=(t=this.size)!=null?t:this.sizeFromContext)!=null?o:bc.SIZE}updated(t){var o,a,h,m;super.updated(t),t.has("name")&&this.getIconData().catch(E=>{E.name!=="AbortError"&&this.onerror&&this.onerror(E)}),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null),(t.has("size")||t.has("lengthUnit"))&&this.updateSize(),this.lengthUnitFromContext!==((o=this.iconProviderContext.value)==null?void 0:o.lengthUnit)&&(this.lengthUnitFromContext=(a=this.iconProviderContext.value)==null?void 0:a.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())}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this.abortController)==null||t.abort(),this.abortController=void 0}render(){return I` ${this.iconData} `}};ze.styles=[...W.styles,...Hp],p([At()],ze.prototype,"iconData",2),p([At()],ze.prototype,"lengthUnitFromContext",2),p([At()],ze.prototype,"sizeFromContext",2),p([u({type:String,reflect:!0})],ze.prototype,"name",2),p([u({type:Number})],ze.prototype,"size",2),p([u({type:String,attribute:"length-unit"})],ze.prototype,"lengthUnit",2),p([u({type:String,attribute:"aria-label"})],ze.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],ze.prototype,"ariaLabelledBy",2),p([At()],ze.prototype,"abortController",2);var yc=ze;yc.register(qp);var _b=yc;Ji.register(Wr);var Ib=Ji;var Zp=U`
420
420
  :host::part(text) {
421
421
  font-size: unset;
422
422
  font-weight: unset;
@@ -659,14 +659,14 @@
659
659
  text-decoration: var(--mds-font-apps-body-small-regular-text-decoration);
660
660
  text-transform: var(--mds-font-apps-body-small-regular-text-case);
661
661
  }
662
- `;var Tb=[H`
662
+ `;var Cb=[U`
663
663
  :host {
664
664
  --mdc-text-font-family: var(--mdc-themeprovider-font-family);
665
665
 
666
666
  display: block;
667
667
  font-family: var(--mdc-text-font-family);
668
668
  }
669
- `,Wp],jp=Tb;var ta=G.constructTagName("text"),st={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"},gt={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},me={TYPE:st.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:gt.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Bo=class extends W{constructor(){super(...arguments);this.type=me.TYPE;this.tagname=me.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case gt.H1:return I`<h1 part=${me.CSS_PART_TEXT}><slot></slot></h1>`;case gt.H2:return I`<h2 part=${me.CSS_PART_TEXT}><slot></slot></h2>`;case gt.H3:return I`<h3 part=${me.CSS_PART_TEXT}><slot></slot></h3>`;case gt.H4:return I`<h4 part=${me.CSS_PART_TEXT}><slot></slot></h4>`;case gt.H5:return I`<h5 part=${me.CSS_PART_TEXT}><slot></slot></h5>`;case gt.H6:return I`<h6 part=${me.CSS_PART_TEXT}><slot></slot></h6>`;case gt.DIV:return I`<div part=${me.CSS_PART_TEXT}><slot></slot></div>`;case gt.SPAN:return I`<span part=${me.CSS_PART_TEXT}><slot></slot></span>`;case gt.SMALL:return I`<small part=${me.CSS_PART_TEXT}><slot></slot></small>`;case gt.P:default:return I`<p part=${me.CSS_PART_TEXT}><slot></slot></p>`}}};Bo.styles=[...W.styles,...jp],p([f({attribute:"type",reflect:!0,type:String})],Bo.prototype,"type",2),p([f({attribute:"tagname",reflect:!0,type:String})],Bo.prototype,"tagname",2);var gc=Bo;gc.register(ta);var xb=gc;var ot=l=>l!=null?l:j;var ne=[];for(let l=0;l<256;++l)ne.push((l+256).toString(16).slice(1));function Kp(l,i=0){return(ne[l[i+0]]+ne[l[i+1]]+ne[l[i+2]]+ne[l[i+3]]+"-"+ne[l[i+4]]+ne[l[i+5]]+"-"+ne[l[i+6]]+ne[l[i+7]]+"-"+ne[l[i+8]]+ne[l[i+9]]+"-"+ne[l[i+10]]+ne[l[i+11]]+ne[l[i+12]]+ne[l[i+13]]+ne[l[i+14]]+ne[l[i+15]]).toLowerCase()}var bc,Ab=new Uint8Array(16);function yc(){if(!bc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");bc=crypto.getRandomValues.bind(crypto)}return bc(Ab)}var Sb=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ec={randomUUID:Sb};function _b(l,i,t){var a,h,m;if(Ec.randomUUID&&!i&&!l)return Ec.randomUUID();l=l||{};let o=(m=(h=l.random)!=null?h:(a=l.rng)==null?void 0:a.call(l))!=null?m:yc();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,i){if(t=t||0,t<0||t+16>i.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let E=0;E<16;++E)i[t+E]=o[E];return i}return Kp(o)}var be=_b;var qp=G.constructTagName("accordiongroup"),Tc={SMALL:"small",LARGE:"large"},Ib={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},ea={SIZE:Tc.SMALL,VARIANT:Ib.STACKED};var wn=G.constructTagName("accordionbutton"),ra={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Cb={DEFAULT:"default",BORDERLESS:"borderless"},_i={EXPANDED:!1,SIZE:Tc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:Cb.DEFAULT,ICON_NAME:ra.ARROW_UP};var kb=H`
669
+ `,Zp],Xp=Cb;var ea=H.constructTagName("text"),ot={BODY_SMALL_REGULAR:"body-small-regular",BODY_SMALL_MEDIUM:"body-small-medium",BODY_SMALL_BOLD:"body-small-bold",BODY_MIDSIZE_REGULAR:"body-midsize-regular",BODY_MIDSIZE_MEDIUM:"body-midsize-medium",BODY_MIDSIZE_BOLD:"body-midsize-bold",BODY_LARGE_REGULAR:"body-large-regular",BODY_LARGE_MEDIUM:"body-large-medium",BODY_LARGE_BOLD:"body-large-bold",BODY_SMALL_REGULAR_UNDERLINE:"body-small-regular-underline",BODY_SMALL_MEDIUM_UNDERLINE:"body-small-medium-underline",BODY_MIDSIZE_REGULAR_UNDERLINE:"body-midsize-regular-underline",BODY_MIDSIZE_MEDIUM_UNDERLINE:"body-midsize-medium-underline",BODY_LARGE_REGULAR_UNDERLINE:"body-large-regular-underline",BODY_LARGE_MEDIUM_UNDERLINE:"body-large-medium-underline",HEADING_SMALL_REGULAR:"heading-small-regular",HEADING_SMALL_MEDIUM:"heading-small-medium",HEADING_SMALL_BOLD:"heading-small-bold",HEADING_MIDSIZE_REGULAR:"heading-midsize-regular",HEADING_MIDSIZE_MEDIUM:"heading-midsize-medium",HEADING_MIDSIZE_BOLD:"heading-midsize-bold",HEADING_LARGE_REGULAR:"heading-large-regular",HEADING_LARGE_MEDIUM:"heading-large-medium",HEADING_LARGE_BOLD:"heading-large-bold",HEADING_XLARGE_REGULAR:"heading-xlarge-regular",HEADING_XLARGE_MEDIUM:"heading-xlarge-medium",HEADING_XLARGE_BOLD:"heading-xlarge-bold",HEADLINE_SMALL_LIGHT:"headline-small-light",HEADLINE_SMALL_REGULAR:"headline-small-regular"},ut={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",SMALL:"small",SPAN:"span",DIV:"div"},me={TYPE:ot.BODY_MIDSIZE_MEDIUM,TEXT_ELEMENT_TAGNAME:ut.P,CSS_PART_TEXT:"text",CHILDREN:"The quick brown fox jumps over the lazy dog"};var Bo=class extends W{constructor(){super(...arguments);this.type=me.TYPE;this.tagname=me.TEXT_ELEMENT_TAGNAME}render(){switch(this.tagname){case ut.H1:return I`<h1 part=${me.CSS_PART_TEXT}><slot></slot></h1>`;case ut.H2:return I`<h2 part=${me.CSS_PART_TEXT}><slot></slot></h2>`;case ut.H3:return I`<h3 part=${me.CSS_PART_TEXT}><slot></slot></h3>`;case ut.H4:return I`<h4 part=${me.CSS_PART_TEXT}><slot></slot></h4>`;case ut.H5:return I`<h5 part=${me.CSS_PART_TEXT}><slot></slot></h5>`;case ut.H6:return I`<h6 part=${me.CSS_PART_TEXT}><slot></slot></h6>`;case ut.DIV:return I`<div part=${me.CSS_PART_TEXT}><slot></slot></div>`;case ut.SPAN:return I`<span part=${me.CSS_PART_TEXT}><slot></slot></span>`;case ut.SMALL:return I`<small part=${me.CSS_PART_TEXT}><slot></slot></small>`;case ut.P:default:return I`<p part=${me.CSS_PART_TEXT}><slot></slot></p>`}}};Bo.styles=[...W.styles,...Xp],p([u({attribute:"type",reflect:!0,type:String})],Bo.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Bo.prototype,"tagname",2);var Ec=Bo;Ec.register(ea);var kb=Ec;var st=l=>l!=null?l:j;var ne=[];for(let l=0;l<256;++l)ne.push((l+256).toString(16).slice(1));function Qp(l,i=0){return(ne[l[i+0]]+ne[l[i+1]]+ne[l[i+2]]+ne[l[i+3]]+"-"+ne[l[i+4]]+ne[l[i+5]]+"-"+ne[l[i+6]]+ne[l[i+7]]+"-"+ne[l[i+8]]+ne[l[i+9]]+"-"+ne[l[i+10]]+ne[l[i+11]]+ne[l[i+12]]+ne[l[i+13]]+ne[l[i+14]]+ne[l[i+15]]).toLowerCase()}var Tc,wb=new Uint8Array(16);function xc(){if(!Tc){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Tc=crypto.getRandomValues.bind(crypto)}return Tc(wb)}var Nb=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ac={randomUUID:Nb};function Lb(l,i,t){var a,h,m;if(Ac.randomUUID&&!i&&!l)return Ac.randomUUID();l=l||{};let o=(m=(h=l.random)!=null?h:(a=l.rng)==null?void 0:a.call(l))!=null?m:xc();if(o.length<16)throw new Error("Random bytes length must be >= 16");if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,i){if(t=t||0,t<0||t+16>i.length)throw new RangeError(`UUID byte range ${t}:${t+15} is out of buffer bounds`);for(let E=0;E<16;++E)i[t+E]=o[E];return i}return Qp(o)}var be=Lb;var Jp=H.constructTagName("accordiongroup"),Sc={SMALL:"small",LARGE:"large"},Rb={BORDERLESS:"borderless",CONTAINED:"contained",STACKED:"stacked"},ra={SIZE:Sc.SMALL,VARIANT:Rb.STACKED};var Ln=H.constructTagName("accordionbutton"),ia={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Mb={DEFAULT:"default",BORDERLESS:"borderless"},_i={EXPANDED:!1,SIZE:Sc.SMALL,DATA_ARIA_LEVEL:3,VARIANT:Mb.DEFAULT,ICON_NAME:ia.ARROW_UP};var Ob=U`
670
670
  :host {
671
671
  --mdc-accordionbutton-border-color: var(--mds-color-theme-outline-secondary-normal);
672
672
  --mdc-accordionbutton-hover-color: var(--mds-color-theme-background-primary-hover);
@@ -783,7 +783,7 @@
783
783
  :host([variant='default']:not([expanded]))::part(header-section) {
784
784
  border-bottom: none;
785
785
  }
786
- `,Zp=[kb,...xt(!0)];var kr=class extends zt(W){constructor(){super(...arguments);this.size=_i.SIZE;this.variant=_i.VARIANT;this.dataAriaLevel=_i.DATA_ARIA_LEVEL;this.expanded=_i.EXPANDED;this.headSectionId=`head-section-${be()}`;this.bodySectionId=`body-section-${be()}`}handleHeaderClick(){this.disabled||(this.expanded=!this.expanded,this.dispatchHeaderClickEvent())}dispatchHeaderClickEvent(){let t=new CustomEvent("shown",{bubbles:!0,cancelable:!0,detail:{expanded:this.expanded}});this.dispatchEvent(t)}handleKeyDown(t){(t.key===J.ENTER||t.key===J.SPACE)&&this.handleHeaderClick()}renderIcon(t){return t?I`<mdc-icon name="${t}" length-unit="rem" size="1"></mdc-icon>`:j}renderHeadingText(){return this.headerText?I`<mdc-text id="${this.headSectionId}" type="${st.BODY_LARGE_REGULAR}" tagname=${gt.SPAN}
786
+ `,tm=[Ob,...xt(!0)];var kr=class extends zt(W){constructor(){super(...arguments);this.size=_i.SIZE;this.variant=_i.VARIANT;this.dataAriaLevel=_i.DATA_ARIA_LEVEL;this.expanded=_i.EXPANDED;this.headSectionId=`head-section-${be()}`;this.bodySectionId=`body-section-${be()}`}handleHeaderClick(){this.disabled||(this.expanded=!this.expanded,this.dispatchHeaderClickEvent())}dispatchHeaderClickEvent(){let t=new CustomEvent("shown",{bubbles:!0,cancelable:!0,detail:{expanded:this.expanded}});this.dispatchEvent(t)}handleKeyDown(t){(t.key===J.ENTER||t.key===J.SPACE)&&this.handleHeaderClick()}renderIcon(t){return t?I`<mdc-icon name="${t}" length-unit="rem" size="1"></mdc-icon>`:j}renderHeadingText(){return this.headerText?I`<mdc-text id="${this.headSectionId}" type="${ot.BODY_LARGE_REGULAR}" tagname=${ut.SPAN}
787
787
  >${this.headerText}</mdc-text
788
788
  >`:j}renderHeader(){return I`
789
789
  <div
@@ -807,14 +807,14 @@
807
807
  </div>
808
808
  </div>
809
809
  </div>
810
- `}getArrowIconName(){return this.disabled?ra.ARROW_DOWN:this.expanded?ra.ARROW_UP:ra.ARROW_DOWN}renderBody(){return this.disabled?j:this.expanded?I`<div
810
+ `}getArrowIconName(){return this.disabled?ia.ARROW_DOWN:this.expanded?ia.ARROW_UP:ia.ARROW_DOWN}renderBody(){return this.disabled?j:this.expanded?I`<div
811
811
  id="${this.bodySectionId}"
812
812
  aria-labelledby="${this.headSectionId}"
813
813
  part="body-section"
814
814
  role="${tt.REGION}"
815
815
  >
816
816
  <slot></slot>
817
- </div>`:j}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`),t.has("dataAriaLevel")&&!this.dataAriaLevel&&(this.dataAriaLevel=_i.DATA_ARIA_LEVEL),t.has("size")&&!this.size&&(this.size=_i.SIZE),t.has("variant")&&!this.variant&&(this.variant=_i.VARIANT)}render(){return I` ${this.renderHeader()} ${this.renderBody()} `}};kr.styles=[...W.styles,...Zp],p([f({type:String,reflect:!0})],kr.prototype,"size",2),p([f({type:String,reflect:!0})],kr.prototype,"variant",2),p([f({type:Number,reflect:!0,attribute:"data-aria-level"})],kr.prototype,"dataAriaLevel",2),p([f({type:Boolean,reflect:!0})],kr.prototype,"expanded",2),p([f({type:String,reflect:!0,attribute:"header-text"})],kr.prototype,"headerText",2),p([f({type:String,attribute:"prefix-icon"})],kr.prototype,"prefixIcon",2);var Uo=kr;var wb=H`
817
+ </div>`:j}updated(t){super.updated(t),t.has("disabled")&&this.setAttribute("aria-disabled",`${this.disabled}`),t.has("dataAriaLevel")&&!this.dataAriaLevel&&(this.dataAriaLevel=_i.DATA_ARIA_LEVEL),t.has("size")&&!this.size&&(this.size=_i.SIZE),t.has("variant")&&!this.variant&&(this.variant=_i.VARIANT)}render(){return I` ${this.renderHeader()} ${this.renderBody()} `}};kr.styles=[...W.styles,...tm],p([u({type:String,reflect:!0})],kr.prototype,"size",2),p([u({type:String,reflect:!0})],kr.prototype,"variant",2),p([u({type:Number,reflect:!0,attribute:"data-aria-level"})],kr.prototype,"dataAriaLevel",2),p([u({type:Boolean,reflect:!0})],kr.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"header-text"})],kr.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],kr.prototype,"prefixIcon",2);var Uo=kr;var Pb=U`
818
818
  :host::part(header-section) {
819
819
  display: flex;
820
820
  align-items: center;
@@ -828,7 +828,7 @@
828
828
  :host::part(trailing-header__button) {
829
829
  margin: 0.125rem;
830
830
  }
831
- `,Xp=[wb];var Ho=class extends Uo{update(i){super.update(i),i.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return I`
831
+ `,em=[Pb];var Ho=class extends Uo{update(i){super.update(i),i.has("disabled")&&[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(t=>{this.disabled?t.setAttribute("disabled",""):t.removeAttribute("disabled")})}renderHeader(){return I`
832
832
  <div part="header-section">
833
833
  <div part="leading-header">
834
834
  ${this.renderIcon(this.prefixIcon)}
@@ -843,14 +843,14 @@
843
843
  @click="${this.handleHeaderClick}"
844
844
  aria-controls="${this.bodySectionId}"
845
845
  aria-expanded="${this.expanded}"
846
- title="${ot(this.headerText)}"
846
+ title="${st(this.headerText)}"
847
847
  prefix-icon="${this.getArrowIconName()}"
848
848
  variant="${Pt.TERTIARY}"
849
849
  size="${Ze[20]}"
850
850
  ></mdc-button>
851
851
  </div>
852
852
  </div>
853
- `}};Ho.styles=[...Uo.styles,...Xp],p([Lt({slot:"leading-controls"})],Ho.prototype,"leadingControlsSlot",2),p([Lt({slot:"trailing-controls"})],Ho.prototype,"trailingControlsSlot",2);var xc=Ho;var Nn=G.constructTagName("accordion");xc.register(Nn);var Nb=xc;var Lb=H`
853
+ `}};Ho.styles=[...Uo.styles,...em],p([Lt({slot:"leading-controls"})],Ho.prototype,"leadingControlsSlot",2),p([Lt({slot:"trailing-controls"})],Ho.prototype,"trailingControlsSlot",2);var _c=Ho;var Rn=H.constructTagName("accordion");_c.register(Rn);var Db=_c;var Fb=U`
854
854
  :host {
855
855
  --mdc-accordiongroup-border-color: var(--mds-color-theme-outline-secondary-normal);
856
856
 
@@ -894,7 +894,7 @@
894
894
  :host([variant='borderless']) ::slotted(mdc-accordionbutton[expanded]) {
895
895
  border-bottom: 1px solid var(--mdc-accordiongroup-border-color);
896
896
  }
897
- `,Qp=[Lb,...xt()];var qr=class extends W{constructor(){super();this.size=ea.SIZE;this.variant=ea.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(o=>{o!==t.target&&o.hasAttribute("expanded")&&o.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,o){[...this.accordionItems].forEach(a=>{a.setAttribute(t,o)}),[...this.accordionButtonItems].forEach(a=>{a.setAttribute(t,o)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=ea.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=ea.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return I` <slot></slot> `}};qr.styles=[...W.styles,...Qp],p([f({type:String,reflect:!0})],qr.prototype,"size",2),p([f({type:String,reflect:!0})],qr.prototype,"variant",2),p([f({type:Boolean,reflect:!0,attribute:"allow-multiple"})],qr.prototype,"allowMultiple",2),p([Lt({selector:Nn})],qr.prototype,"accordionItems",2),p([Lt({selector:wn})],qr.prototype,"accordionButtonItems",2);var Ac=qr;Ac.register(qp);var Rb=Ac;Uo.register(wn);var Mb=Uo;var Ob=H`
897
+ `,rm=[Fb,...xt()];var qr=class extends W{constructor(){super();this.size=ra.SIZE;this.variant=ra.VARIANT;this.allowMultiple=!1;this.addEventListener("shown",this.handleAccordionExpanded)}handleAccordionExpanded(t){this.allowMultiple||[...this.accordionItems,...this.accordionButtonItems].forEach(o=>{o!==t.target&&o.hasAttribute("expanded")&&o.toggleAttribute("expanded")})}setChildrenAccordionAttributes(t,o){[...this.accordionItems].forEach(a=>{a.setAttribute(t,o)}),[...this.accordionButtonItems].forEach(a=>{a.setAttribute(t,o)})}updated(t){super.updated(t),t.has("size")&&(this.size||(this.size=ra.SIZE),this.setChildrenAccordionAttributes("size",this.size)),t.has("variant")&&(this.variant||(this.variant=ra.VARIANT),this.setChildrenAccordionAttributes("variant",this.variant))}render(){return I` <slot></slot> `}};qr.styles=[...W.styles,...rm],p([u({type:String,reflect:!0})],qr.prototype,"size",2),p([u({type:String,reflect:!0})],qr.prototype,"variant",2),p([u({type:Boolean,reflect:!0,attribute:"allow-multiple"})],qr.prototype,"allowMultiple",2),p([Lt({selector:Rn})],qr.prototype,"accordionItems",2),p([Lt({selector:Ln})],qr.prototype,"accordionButtonItems",2);var Ic=qr;Ic.register(Jp);var $b=Ic;Uo.register(Ln);var zb=Uo;var Vb=U`
898
898
  :host {
899
899
  height: 1.5rem;
900
900
  gap: 0.25rem;
@@ -996,16 +996,16 @@
996
996
  :host([variant='informational']:active) {
997
997
  --mdc-chip-background-color: var(--mds-color-theme-background-alert-theme-active);
998
998
  }
999
- `,Jp=[Et,Ob,...xt()];var tm=G.constructTagName("alertchip"),to={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},Go={VARIANT:to.NEUTRAL,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,SIZE:Zi[24],ROLE:"button"};var em=l=>({[to.ERROR]:"error-legacy-badge-filled",[to.WARNING]:"warning-badge-filled",[to.SUCCESS]:"check-circle-badge-filled",[to.INFORMATIONAL]:"info-badge-filled",[to.NEUTRAL]:"dnd-presence-badge-filled"})[l];var Yo=class extends pe{constructor(){super(...arguments);this.variant=Go.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=Go.SIZE,this.role=Go.ROLE}render(){return I`
1000
- <mdc-icon part="icon" name="${em(this.variant)}" length-unit="rem" size="1"></mdc-icon>
999
+ `,im=[Et,Vb,...xt()];var om=H.constructTagName("alertchip"),to={NEUTRAL:"neutral",ERROR:"error",SUCCESS:"success",WARNING:"warning",INFORMATIONAL:"informational"},Go={VARIANT:to.NEUTRAL,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:ut.SPAN,SIZE:Zi[24],ROLE:"button"};var sm=l=>({[to.ERROR]:"error-legacy-badge-filled",[to.WARNING]:"warning-badge-filled",[to.SUCCESS]:"check-circle-badge-filled",[to.INFORMATIONAL]:"info-badge-filled",[to.NEUTRAL]:"dnd-presence-badge-filled"})[l];var Yo=class extends pe{constructor(){super(...arguments);this.variant=Go.VARIANT;this.label=""}connectedCallback(){super.connectedCallback(),this.disabled=void 0,this.softDisabled=void 0,this.active=void 0,this.size=Go.SIZE,this.role=Go.ROLE}render(){return I`
1000
+ <mdc-icon part="icon" name="${sm(this.variant)}" length-unit="rem" size="1"></mdc-icon>
1001
1001
  ${this.label?I`<mdc-text part="label" type="${Go.TEXT_TYPE}" tagname="${Go.TAG_NAME}"
1002
1002
  >${this.label}</mdc-text
1003
1003
  >`:j}
1004
- `}};Yo.styles=[...W.styles,...Jp],p([f({type:String})],Yo.prototype,"variant",2),p([f({type:String})],Yo.prototype,"label",2);var Sc=Yo;Sc.register(tm);var Pb=Sc;var{I:ZI}=Cp;var Ln=l=>l.strings===void 0;var Db={},rm=(l,i=Db)=>l._$AH=i;var mr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},eo=l=>(...i)=>({_$litDirective$:l,values:i}),Ii=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,t,o){this.t=i,this._$AM=t,this.i=o}_$AS(i,t){return this.update(i,t)}update(i,t){return this.render(...t)}};var ia=(l,i)=>{var o;let t=l._$AN;if(t===void 0)return!1;for(let a of t)(o=a._$AO)==null||o.call(a,i,!1),ia(a,i);return!0},Rn=l=>{let i,t;do{if((i=l._$AM)===void 0)break;t=i._$AN,t.delete(l),l=i}while((t==null?void 0:t.size)===0)},im=l=>{for(let i;i=l._$AM;l=i){let t=i._$AN;if(t===void 0)i._$AN=t=new Set;else if(t.has(l))break;t.add(l),zb(i)}};function Fb(l){this._$AN!==void 0?(Rn(this),this._$AM=l,im(this)):this._$AM=l}function $b(l,i=!1,t=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(i)if(Array.isArray(o))for(let h=t;h<o.length;h++)ia(o[h],!1),Rn(o[h]);else o!=null&&(ia(o,!1),Rn(o));else ia(this,l)}var zb=l=>{var i,t;l.type==mr.CHILD&&((i=l._$AP)!=null||(l._$AP=$b),(t=l._$AQ)!=null||(l._$AQ=Fb))},Mn=class extends Ii{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,o){super._$AT(i,t,o),im(this),this.isConnected=i._$AU}_$AO(i,t=!0){var o,a;i!==this.isConnected&&(this.isConnected=i,i?(o=this.reconnected)==null||o.call(this):(a=this.disconnected)==null||a.call(this)),t&&(ia(this,i),Rn(this))}setValue(i){if(Ln(this.t))this.t._$AI(i,this);else{let t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var On=()=>new Ic,Ic=class{},_c=new WeakMap,Pn=eo(class extends Mn{render(l){return j}update(l,[i]){var o;let t=i!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=i,this.ht=(o=l.options)==null?void 0:o.host,this.rt(this.ct=l.element)),j}rt(l){var i;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let t=(i=this.ht)!=null?i:globalThis,o=_c.get(t);o===void 0&&(o=new WeakMap,_c.set(t,o)),o.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),o.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,i,t;return typeof this.Y=="function"?(i=_c.get((l=this.ht)!=null?l:globalThis))==null?void 0:i.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var nm=Qg(om());var Cc={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 Vb=[Et,H`
1004
+ `}};Yo.styles=[...W.styles,...im],p([u({type:String})],Yo.prototype,"variant",2),p([u({type:String})],Yo.prototype,"label",2);var Cc=Yo;Cc.register(om);var Bb=Cc;var{I:iC}=Lp;var Mn=l=>l.strings===void 0;var Ub={},am=(l,i=Ub)=>l._$AH=i;var mr={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},eo=l=>(...i)=>({_$litDirective$:l,values:i}),Ii=class{constructor(i){}get _$AU(){return this._$AM._$AU}_$AT(i,t,o){this.t=i,this._$AM=t,this.i=o}_$AS(i,t){return this.update(i,t)}update(i,t){return this.render(...t)}};var oa=(l,i)=>{var o;let t=l._$AN;if(t===void 0)return!1;for(let a of t)(o=a._$AO)==null||o.call(a,i,!1),oa(a,i);return!0},On=l=>{let i,t;do{if((i=l._$AM)===void 0)break;t=i._$AN,t.delete(l),l=i}while((t==null?void 0:t.size)===0)},nm=l=>{for(let i;i=l._$AM;l=i){let t=i._$AN;if(t===void 0)i._$AN=t=new Set;else if(t.has(l))break;t.add(l),Yb(i)}};function Hb(l){this._$AN!==void 0?(On(this),this._$AM=l,nm(this)):this._$AM=l}function Gb(l,i=!1,t=0){let o=this._$AH,a=this._$AN;if(a!==void 0&&a.size!==0)if(i)if(Array.isArray(o))for(let h=t;h<o.length;h++)oa(o[h],!1),On(o[h]);else o!=null&&(oa(o,!1),On(o));else oa(this,l)}var Yb=l=>{var i,t;l.type==mr.CHILD&&((i=l._$AP)!=null||(l._$AP=Gb),(t=l._$AQ)!=null||(l._$AQ=Hb))},Pn=class extends Ii{constructor(){super(...arguments),this._$AN=void 0}_$AT(i,t,o){super._$AT(i,t,o),nm(this),this.isConnected=i._$AU}_$AO(i,t=!0){var o,a;i!==this.isConnected&&(this.isConnected=i,i?(o=this.reconnected)==null||o.call(this):(a=this.disconnected)==null||a.call(this)),t&&(oa(this,i),On(this))}setValue(i){if(Mn(this.t))this.t._$AI(i,this);else{let t=[...this.t._$AH];t[this.i]=i,this.t._$AI(t,this,0)}}disconnected(){}reconnected(){}};var Dn=()=>new wc,wc=class{},kc=new WeakMap,Fn=eo(class extends Pn{render(l){return j}update(l,[i]){var o;let t=i!==this.Y;return t&&this.Y!==void 0&&this.rt(void 0),(t||this.lt!==this.ct)&&(this.Y=i,this.ht=(o=l.options)==null?void 0:o.host,this.rt(this.ct=l.element)),j}rt(l){var i;if(this.isConnected||(l=void 0),typeof this.Y=="function"){let t=(i=this.ht)!=null?i:globalThis,o=kc.get(t);o===void 0&&(o=new WeakMap,kc.set(t,o)),o.get(this.Y)!==void 0&&this.Y.call(this.ht,void 0),o.set(this.Y,l),l!==void 0&&this.Y.call(this.ht,l)}else this.Y.value=l}get lt(){var l,i,t;return typeof this.Y=="function"?(i=kc.get((l=this.ht)!=null?l:globalThis))==null?void 0:i.get(this.Y):(t=this.Y)==null?void 0:t.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var hm=ob(lm());var Nc={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 Wb=[Et,U`
1005
1005
  :host svg {
1006
1006
  display: block;
1007
1007
  }
1008
- `],sm=Vb;var am=G.constructTagName("animation"),Fn={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var Zr=class extends W{constructor(){super(...arguments);this.name=Fn.NAME;this.loop=Fn.LOOP;this.autoplay=Fn.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=On();this.onCompleteHandler=()=>{let t=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(t)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(t){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=nm.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}getAnimationData(){this.name&&Cc[this.name]?import(`@momentum-design/animations/dist/lottie${Cc[this.name].replace(/^\.\/lottie/,"")}`).then(o=>this.onLoadSuccessHandler(o.default)).catch(o=>this.onLoadFailHandler(o)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return I`<div aria-hidden="true" ${Pn(this.containerRef)}></div>`}};Zr.styles=[...W.styles,...sm],p([f({type:String,reflect:!0})],Zr.prototype,"name",2),p([f({type:String,reflect:!0})],Zr.prototype,"loop",2),p([f({type:Boolean,reflect:!0})],Zr.prototype,"autoplay",2),p([f({type:String,attribute:"aria-label"})],Zr.prototype,"ariaLabel",2),p([f({type:String,attribute:"aria-labelledby"})],Zr.prototype,"ariaLabelledBy",2);var kc=Zr;kc.register(am);var Bb=kc;var Ub=H`
1008
+ `],cm=Wb;var dm=H.constructTagName("animation"),zn={NAME:void 0,AUTO_PLAY:!0,LOOP:"true"};var Zr=class extends W{constructor(){super(...arguments);this.name=zn.NAME;this.loop=zn.LOOP;this.autoplay=zn.AUTO_PLAY;this.ariaLabel=null;this.ariaLabelledBy=null;this.containerRef=Dn();this.onCompleteHandler=()=>{let t=new CustomEvent("complete",{detail:{name:this.name},bubbles:!0});this.dispatchEvent(t)}}get animation(){return this.lottieInstance}getLoopValue(){return this.loop==="true"?!0:this.loop==="false"?!1:this.loop?Number(this.loop):!0}onLoadSuccessHandler(t){this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy()),this.containerRef.value&&(this.lottieInstance=hm.default.loadAnimation({container:this.containerRef.value,renderer:"svg",loop:this.getLoopValue(),autoplay:this.autoplay,animationData:t,name:this.name}),this.lottieInstance.addEventListener("complete",this.onCompleteHandler)),this.dispatchEvent(new CustomEvent("load",{bubbles:!0,cancelable:!0,detail:{name:this.name}}))}onLoadFailHandler(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}getAnimationData(){this.name&&Nc[this.name]?import(`@momentum-design/animations/dist/lottie${Nc[this.name].replace(/^\.\/lottie/,"")}`).then(o=>this.onLoadSuccessHandler(o.default)).catch(o=>this.onLoadFailHandler(o)):this.onLoadFailHandler(new Error(`Invalid animation name: ${this.name}`))}updated(t){super.updated(t),(t.has("name")||t.has("loop")||t.has("autoplay"))&&this.getAnimationData(),(t.has("ariaLabel")||t.has("ariaLabelledBy"))&&(this.role=this.ariaLabel||this.ariaLabelledBy?"img":null)}disconnectedCallback(){super.disconnectedCallback(),this.lottieInstance&&(this.lottieInstance.removeEventListener("complete",this.onCompleteHandler),this.lottieInstance.destroy(),this.lottieInstance=void 0)}render(){return I`<div aria-hidden="true" ${Fn(this.containerRef)}></div>`}};Zr.styles=[...W.styles,...cm],p([u({type:String,reflect:!0})],Zr.prototype,"name",2),p([u({type:String,reflect:!0})],Zr.prototype,"loop",2),p([u({type:Boolean,reflect:!0})],Zr.prototype,"autoplay",2),p([u({type:String,attribute:"aria-label"})],Zr.prototype,"ariaLabel",2),p([u({type:String,attribute:"aria-labelledby"})],Zr.prototype,"ariaLabelledBy",2);var Lc=Zr;Lc.register(dm);var jb=Lc;var Kb=U`
1009
1009
  :host {
1010
1010
  --mdc-appheader-height: 4rem;
1011
1011
  }
@@ -1039,7 +1039,7 @@
1039
1039
  justify-content: flex-end;
1040
1040
  flex: 1;
1041
1041
  }
1042
- `,lm=[Ub];var $n=class extends W{render(){return I`
1042
+ `,pm=[Kb];var Vn=class extends W{render(){return I`
1043
1043
  <header part="container">
1044
1044
  <div part="leading-section">
1045
1045
  <slot name="leading"></slot>
@@ -1049,7 +1049,7 @@
1049
1049
  <slot name="trailing"></slot>
1050
1050
  </div>
1051
1051
  </header>
1052
- `}};$n.styles=[...W.styles,...lm];var wc=$n;var cm=G.constructTagName("appheader");wc.register(cm);var Hb=wc;var dm=G.constructTagName("avatar"),ye={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Nc=99,Gb="user-regular",$t={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Wo={TYPE:ye.PHOTO,SIZE:$t[32],ICON_NAME:Gb};var zn=l=>{class i extends l{constructor(){super(...arguments);this.size=Wo.SIZE;this.isTyping=!1}}return p([f({type:String})],i.prototype,"src",2),p([f({type:String})],i.prototype,"initials",2),p([f({type:String})],i.prototype,"presence",2),p([f({type:Number,reflect:!0,attribute:"size"})],i.prototype,"size",2),p([f({type:Number})],i.prototype,"counter",2),p([f({type:Boolean,attribute:"is-typing"})],i.prototype,"isTyping",2),i};var te=l=>{class i extends l{}return p([f({type:String,attribute:"icon-name"})],i.prototype,"iconName",2),i};var Yb=[Et,H`
1052
+ `}};Vn.styles=[...W.styles,...pm];var Rc=Vn;var mm=H.constructTagName("appheader");Rc.register(mm);var qb=Rc;var um=H.constructTagName("avatar"),ye={COUNTER:"counter",ICON:"icon",PHOTO:"photo",TEXT:"text"},Mc=99,Zb="user-regular",$t={24:24,32:32,48:48,64:64,72:72,88:88,124:124},Wo={TYPE:ye.PHOTO,SIZE:$t[32],ICON_NAME:Zb};var Bn=l=>{class i extends l{constructor(){super(...arguments);this.size=Wo.SIZE;this.isTyping=!1}}return p([u({type:String})],i.prototype,"src",2),p([u({type:String})],i.prototype,"initials",2),p([u({type:String})],i.prototype,"presence",2),p([u({type:Number,reflect:!0,attribute:"size"})],i.prototype,"size",2),p([u({type:Number})],i.prototype,"counter",2),p([u({type:Boolean,attribute:"is-typing"})],i.prototype,"isTyping",2),i};var Yt=l=>{class i extends l{}return p([u({type:String,attribute:"icon-name"})],i.prototype,"iconName",2),i};var Xb=[Et,U`
1053
1053
  :host {
1054
1054
  --mdc-avatar-default-background-color: var(--mds-color-theme-avatar-default);
1055
1055
  --mdc-avatar-default-foreground-color: var(--mds-color-theme-common-text-primary-normal);
@@ -1204,25 +1204,25 @@
1204
1204
  outline: 0.125rem solid;
1205
1205
  }
1206
1206
  }
1207
- `],hm=Yb;var pm=G.constructTagName("presence"),ue={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"},Yt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},jo={TYPE:ue.ACTIVE,SIZE:Yt[32]};var mm=l=>({[$t[124]]:Yt[124],[$t[88]]:Yt[88],[$t[72]]:Yt[72],[$t[64]]:Yt[64],[$t[48]]:Yt[48],[$t[32]]:Yt[32],[$t[24]]:Yt[24]})[l]||Yt[32],um=l=>({[$t[124]]:4.75,[$t[88]]:3,[$t[72]]:2.5,[$t[64]]:2.25,[$t[48]]:1.75,[$t[32]]:1.25,[$t[24]]:1})[l]||1.25,fm=l=>({[$t[124]]:st.HEADING_XLARGE_MEDIUM,[$t[88]]:st.HEADING_LARGE_MEDIUM,[$t[72]]:st.HEADING_MIDSIZE_MEDIUM,[$t[64]]:st.HEADING_SMALL_MEDIUM,[$t[48]]:st.HEADING_SMALL_MEDIUM,[$t[32]]:st.BODY_MIDSIZE_MEDIUM,[$t[24]]:st.BODY_SMALL_MEDIUM})[l]||st.BODY_MIDSIZE_MEDIUM;var sa=class extends zn(te(W)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===ye.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?I`
1208
- <mdc-presence part="presence" type="${this.presence}" size="${mm(this.size)}"></mdc-presence>
1207
+ `],fm=Xb;var vm=H.constructTagName("presence"),ue={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"},Wt={24:24,32:32,48:48,64:64,72:72,88:88,124:124},jo={TYPE:ue.ACTIVE,SIZE:Wt[32]};var gm=l=>({[$t[124]]:Wt[124],[$t[88]]:Wt[88],[$t[72]]:Wt[72],[$t[64]]:Wt[64],[$t[48]]:Wt[48],[$t[32]]:Wt[32],[$t[24]]:Wt[24]})[l]||Wt[32],bm=l=>({[$t[124]]:4.75,[$t[88]]:3,[$t[72]]:2.5,[$t[64]]:2.25,[$t[48]]:1.75,[$t[32]]:1.25,[$t[24]]:1})[l]||1.25,ym=l=>({[$t[124]]:ot.HEADING_XLARGE_MEDIUM,[$t[88]]:ot.HEADING_LARGE_MEDIUM,[$t[72]]:ot.HEADING_MIDSIZE_MEDIUM,[$t[64]]:ot.HEADING_SMALL_MEDIUM,[$t[48]]:ot.HEADING_SMALL_MEDIUM,[$t[32]]:ot.BODY_MIDSIZE_MEDIUM,[$t[24]]:ot.BODY_SMALL_MEDIUM})[l]||ot.BODY_MIDSIZE_MEDIUM;var aa=class extends Bn(Yt(W)){constructor(){super(...arguments);this.isPhotoLoaded=!1}getPresenceTemplateBasedOnType(t){return t===ye.COUNTER&&(this.counter||this.counter===0)||this.isTyping?j:this.presence?I`
1208
+ <mdc-presence part="presence" type="${this.presence}" size="${gm(this.size)}"></mdc-presence>
1209
1209
  `:j}handleOnLoad(){this.isPhotoLoaded=!0}handleOnError(){this.isPhotoLoaded=!1,this.onerror&&this.onerror("There was a problem while fetching the <img/>. Please check the src attribute and try again.")}photoTemplate(){return I`
1210
1210
  <img
1211
1211
  part="photo"
1212
- src="${ot(this.src)}"
1212
+ src="${st(this.src)}"
1213
1213
  aria-hidden="true"
1214
1214
  ?hidden="${!this.isPhotoLoaded}"
1215
1215
  @load="${this.handleOnLoad}"
1216
1216
  @error="${this.handleOnError}"
1217
1217
  />
1218
1218
  `}iconTemplate(){let t=this.iconName||Wo.ICON_NAME;return I`
1219
- <mdc-icon name="${ot(t)}" length-unit="rem" size="${um(this.size)}"></mdc-icon>
1220
- `}textTemplate(t){return I` <mdc-text type="${fm(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>Nc?`${Nc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let o="";return t===ye.TEXT&&this.initials&&(o=this.generateInitialsText(this.initials)),t===ye.COUNTER&&(this.counter||this.counter===0)&&(o=this.generateCounterText(this.counter)),this.textTemplate(o)}getTypeBasedOnInputs(){return this.src?ye.PHOTO:this.iconName?ye.ICON:this.initials?ye.TEXT:this.counter||this.counter===0?ye.COUNTER:ye.ICON}getTemplateBasedOnType(t){switch(t){case ye.PHOTO:return this.photoTemplate();case ye.TEXT:case ye.COUNTER:return this.generateTextContent(t);case ye.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?I`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===ye.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():j}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return I`
1219
+ <mdc-icon name="${st(t)}" length-unit="rem" size="${bm(this.size)}"></mdc-icon>
1220
+ `}textTemplate(t){return I` <mdc-text type="${ym(this.size)}" tagname="span"> ${t} </mdc-text> `}generateCounterText(t){return t<0?"0":t>Mc?`${Mc}+`:t.toString()}generateInitialsText(t){return t.toUpperCase().slice(0,2)}generateTextContent(t){let o="";return t===ye.TEXT&&this.initials&&(o=this.generateInitialsText(this.initials)),t===ye.COUNTER&&(this.counter||this.counter===0)&&(o=this.generateCounterText(this.counter)),this.textTemplate(o)}getTypeBasedOnInputs(){return this.src?ye.PHOTO:this.iconName?ye.ICON:this.initials?ye.TEXT:this.counter||this.counter===0?ye.COUNTER:ye.ICON}getTemplateBasedOnType(t){switch(t){case ye.PHOTO:return this.photoTemplate();case ye.TEXT:case ye.COUNTER:return this.generateTextContent(t);case ye.ICON:default:return this.iconTemplate()}}getLoadingContent(){return this.isTyping?I`<div part="loading-wrapper"><div part="loader"></div></div>`:j}getPhotoPlaceHolderContent(t){return this.isPhotoLoaded?j:t===ye.PHOTO?this.initials?this.textTemplate(this.generateInitialsText(this.initials)):this.iconTemplate():j}update(t){super.update(t),t.has("src")&&!this.src&&(this.isPhotoLoaded=!1)}render(){let t=this.getTypeBasedOnInputs();return I`
1221
1221
  <div part="content" aria-hidden="true">
1222
1222
  ${this.getPhotoPlaceHolderContent(t)} ${this.getTemplateBasedOnType(t)} ${this.getLoadingContent()}
1223
1223
  ${this.getPresenceTemplateBasedOnType(t)}
1224
1224
  </div>
1225
- `}};sa.styles=[...W.styles,...hm],p([At()],sa.prototype,"isPhotoLoaded",2);var Lc=sa;var Wb=[Et,H`
1225
+ `}};aa.styles=[...W.styles,...fm],p([At()],aa.prototype,"isPhotoLoaded",2);var Oc=aa;var Qb=[Et,U`
1226
1226
  :host {
1227
1227
  --mdc-presence-active-background-color: var(--mds-color-theme-indicator-stable);
1228
1228
  --mdc-presence-away-background-color: var(--mds-color-theme-indicator-locked);
@@ -1316,17 +1316,17 @@
1316
1316
  .mdc-presence-icon__scheduled {
1317
1317
  color: var(--mdc-presence-scheduled-background-color);
1318
1318
  }
1319
- `],vm=Wb;var gm=l=>{switch(l){case ue.AWAY:return"recents-presence-badge-filled";case ue.AWAY_CALLING:return"away-calling-presence-filled";case ue.BUSY:return"busy-presence-bold";case ue.DND:return"dnd-presence-badge-filled";case ue.MEETING:return"camera-filled";case ue.ON_CALL:return"handset-filled";case ue.ON_DEVICE:return"generic-device-video-badge-filled";case ue.ON_MOBILE:return"phone-badge-filled";case ue.PAUSE:return"pause-badge-filled";case ue.PTO:return"pto-presence-filled";case ue.PRESENTING:return"share-screen-badge-filled";case ue.QUIET:return"quiet-hours-presence-filled";case ue.SCHEDULED:return"meetings-presence-badge-filled";case ue.ACTIVE:default:return"active-presence-small-filled"}},bm=l=>({[Yt[124]]:2.25,[Yt[88]]:1.625,[Yt[72]]:1.3125,[Yt[64]]:1.1875,[Yt[48]]:.875,[Yt[32]]:.875,[Yt[24]]:.875})[l]||.875;var ro=class extends W{constructor(){super(...arguments);this.type=jo.TYPE;this.size=jo.SIZE;this.currentIconType=jo.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Yt).includes(t)?`${t}`:jo.SIZE.toString())}get icon(){let t=gm(this.type);return t==="active-presence-small-filled"&&(this.type=jo.TYPE),t}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return I`
1319
+ `],Em=Qb;var Tm=l=>{switch(l){case ue.AWAY:return"recents-presence-badge-filled";case ue.AWAY_CALLING:return"away-calling-presence-filled";case ue.BUSY:return"busy-presence-bold";case ue.DND:return"dnd-presence-badge-filled";case ue.MEETING:return"camera-filled";case ue.ON_CALL:return"handset-filled";case ue.ON_DEVICE:return"generic-device-video-badge-filled";case ue.ON_MOBILE:return"phone-badge-filled";case ue.PAUSE:return"pause-badge-filled";case ue.PTO:return"pto-presence-filled";case ue.PRESENTING:return"share-screen-badge-filled";case ue.QUIET:return"quiet-hours-presence-filled";case ue.SCHEDULED:return"meetings-presence-badge-filled";case ue.ACTIVE:default:return"active-presence-small-filled"}},xm=l=>({[Wt[124]]:2.25,[Wt[88]]:1.625,[Wt[72]]:1.3125,[Wt[64]]:1.1875,[Wt[48]]:.875,[Wt[32]]:.875,[Wt[24]]:.875})[l]||.875;var ro=class extends W{constructor(){super(...arguments);this.type=jo.TYPE;this.size=jo.SIZE;this.currentIconType=jo.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(Wt).includes(t)?`${t}`:jo.SIZE.toString())}get icon(){let t=Tm(this.type);return t==="active-presence-small-filled"&&(this.type=jo.TYPE),t}handleOnLoad(){this.currentIconType=this.type}handleOnError(){this.onerror&&this.onerror("There was a problem while fetching the icon. Please check the icon name and try again.")}render(){return I`
1320
1320
  <div part="presence-content">
1321
1321
  <mdc-icon
1322
1322
  class="mdc-presence-icon mdc-presence-icon__${this.currentIconType}"
1323
1323
  name="${this.icon}"
1324
- size="${bm(this.size)}"
1324
+ size="${xm(this.size)}"
1325
1325
  @load="${this.handleOnLoad}"
1326
1326
  @error="${this.handleOnError}"
1327
1327
  ></mdc-icon>
1328
1328
  </div>
1329
- `}};ro.styles=[...W.styles,...vm],p([f({type:String,reflect:!0})],ro.prototype,"type",2),p([f({type:Number,reflect:!0})],ro.prototype,"size",2),p([At()],ro.prototype,"currentIconType",2);var Rc=ro;Rc.register(pm);var jb=Rc;Lc.register(dm);var Kb=Lc;var qb=[Et,H`
1329
+ `}};ro.styles=[...W.styles,...Em],p([u({type:String,reflect:!0})],ro.prototype,"type",2),p([u({type:Number,reflect:!0})],ro.prototype,"size",2),p([At()],ro.prototype,"currentIconType",2);var Pc=ro;Pc.register(vm);var Jb=Pc;Oc.register(um);var ty=Oc;var ey=[Et,U`
1330
1330
  :host {
1331
1331
  --mdc-avatarbutton-overlay-background-color-rest: var(--mds-color-theme-avatar-ghost);
1332
1332
  --mdc-avatarbutton-overlay-background-color-hover: var(--mds-color-theme-avatar-hover);
@@ -1355,19 +1355,19 @@
1355
1355
  :host::part(presence) {
1356
1356
  z-index: 2;
1357
1357
  }
1358
- `,...xt()],ym=qb;var aa=class extends zn(te(pe)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=tt.BUTTON,this.type=Le.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values($t).includes(t)?`${t}`:Wo.SIZE.toString())}render(){return I`
1358
+ `,...xt()],Am=ey;var na=class extends Bn(Yt(pe)){constructor(){super(...arguments);this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.active=void 0,this.disabled=void 0,this.softDisabled=void 0,this.role=tt.BUTTON,this.type=Le.TYPE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values($t).includes(t)?`${t}`:Wo.SIZE.toString())}render(){return I`
1359
1359
  <div part="overlay" aria-hidden="true"></div>
1360
1360
  <mdc-avatar
1361
1361
  exportparts="content, photo, presence, loading-wrapper, loader"
1362
1362
  ?is-typing="${this.isTyping}"
1363
- counter="${ot(this.counter)}"
1364
- icon-name="${ot(this.iconName)}"
1365
- initials="${ot(this.initials)}"
1366
- presence="${ot(this.presence)}"
1367
- size="${ot(this.size)}"
1368
- src="${ot(this.src)}"
1363
+ counter="${st(this.counter)}"
1364
+ icon-name="${st(this.iconName)}"
1365
+ initials="${st(this.initials)}"
1366
+ presence="${st(this.presence)}"
1367
+ size="${st(this.size)}"
1368
+ src="${st(this.src)}"
1369
1369
  ></mdc-avatar>
1370
- `}};aa.styles=[...ym],p([f({type:String,attribute:"aria-label"})],aa.prototype,"ariaLabel",2);var Mc=aa;var Em=G.constructTagName("avatarbutton");Mc.register(Em);var Zb=Mc;var wr=eo(class extends Ii{constructor(l){var i;if(super(l),l.type!==mr.ATTRIBUTE||l.name!=="class"||((i=l.strings)==null?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(l){return" "+Object.keys(l).filter(i=>l[i]).join(" ")+" "}update(l,[i]){var o,a;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in i)i[h]&&!((o=this.nt)!=null&&o.has(h))&&this.st.add(h);return this.render(i)}let t=l.element.classList;for(let h of this.st)h in i||(t.remove(h),this.st.delete(h));for(let h in i){let m=!!i[h];m===this.st.has(h)||(a=this.nt)!=null&&a.has(h)||(m?(t.add(h),this.st.add(h)):(t.remove(h),this.st.delete(h)))}return Ne}});var Tm=G.constructTagName("badge"),Qe={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Vn={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Bn={PRIMARY:"primary",SECONDARY:"secondary"},na={SUCCESS:"success",WARNING:"warning",ERROR:"error"},vw={...Bn,...na},Ci={TYPE:Qe.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Bn.PRIMARY,ICON_SIZE:1};var Xb=[Et,H`
1370
+ `}};na.styles=[...Am],p([u({type:String,attribute:"aria-label"})],na.prototype,"ariaLabel",2);var Dc=na;var Sm=H.constructTagName("avatarbutton");Dc.register(Sm);var ry=Dc;var wr=eo(class extends Ii{constructor(l){var i;if(super(l),l.type!==mr.ATTRIBUTE||l.name!=="class"||((i=l.strings)==null?void 0:i.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(l){return" "+Object.keys(l).filter(i=>l[i]).join(" ")+" "}update(l,[i]){var o,a;if(this.st===void 0){this.st=new Set,l.strings!==void 0&&(this.nt=new Set(l.strings.join(" ").split(/\s/).filter(h=>h!=="")));for(let h in i)i[h]&&!((o=this.nt)!=null&&o.has(h))&&this.st.add(h);return this.render(i)}let t=l.element.classList;for(let h of this.st)h in i||(t.remove(h),this.st.delete(h));for(let h in i){let m=!!i[h];m===this.st.has(h)||(a=this.nt)!=null&&a.has(h)||(m?(t.add(h),this.st.add(h)):(t.remove(h),this.st.delete(h)))}return Ne}});var _m=H.constructTagName("badge"),Qe={DOT:"dot",ICON:"icon",COUNTER:"counter",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Un={SUCCESS_ICON_NAME:"check-circle-badge-filled",WARNING_ICON_NAME:"warning-badge-filled",ERROR_ICON_NAME:"error-legacy-badge-filled"},Hn={PRIMARY:"primary",SECONDARY:"secondary"},la={SUCCESS:"success",WARNING:"warning",ERROR:"error"},Aw={...Hn,...la},Ci={TYPE:Qe.DOT,MAX_COUNTER:99,MAX_COUNTER_LIMIT:999,VARIANT:Hn.PRIMARY,ICON_SIZE:1};var iy=[Et,U`
1371
1371
  :host {
1372
1372
  --mdc-badge-primary-foreground-color: var(--mds-color-theme-common-text-primary-normal);
1373
1373
  --mdc-badge-primary-background-color: var(--mds-color-theme-background-accent-normal);
@@ -1443,21 +1443,21 @@
1443
1443
  outline: none;
1444
1444
  }
1445
1445
  }
1446
- `],xm=Xb;var Nr=class extends te(W){constructor(){super(...arguments);this.variant=Ci.VARIANT;this.maxCounter=Ci.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,o){return o===void 0||typeof o!="number"||t===0?"":o>t?`${t}+`:t>Ci.MAX_COUNTER_LIMIT||o>Ci.MAX_COUNTER_LIMIT?`${Ci.MAX_COUNTER_LIMIT}+`:o.toString()}getBadgeIcon(t,o){return I`
1446
+ `],Im=iy;var Nr=class extends Yt(W){constructor(){super(...arguments);this.variant=Ci.VARIANT;this.maxCounter=Ci.MAX_COUNTER;this.overlay=!1;this.ariaLabel=null}getCounterText(t,o){return o===void 0||typeof o!="number"||t===0?"":o>t?`${t}+`:t>Ci.MAX_COUNTER_LIMIT||o>Ci.MAX_COUNTER_LIMIT?`${Ci.MAX_COUNTER_LIMIT}+`:o.toString()}getBadgeIcon(t,o){return I`
1447
1447
  <mdc-icon
1448
1448
  class="mdc-badge-icon ${wr({"mdc-badge-overlay":this.overlay,[`mdc-badge-icon__${o}`]:!0})}"
1449
- name="${ot(t)}"
1449
+ name="${st(t)}"
1450
1450
  size="${Ci.ICON_SIZE}"
1451
1451
  ></mdc-icon>
1452
1452
  `}getBadgeDot(){return I`<div class="mdc-badge-dot ${wr({"mdc-badge-overlay":this.overlay})}"></div>`}getBadgeCounterText(){return I`
1453
1453
  <mdc-text
1454
- type="${st.BODY_SMALL_MEDIUM}"
1455
- tagname="${gt.DIV}"
1454
+ type="${ot.BODY_SMALL_MEDIUM}"
1455
+ tagname="${ut.DIV}"
1456
1456
  class="mdc-badge-text ${wr({"mdc-badge-overlay":this.overlay})}"
1457
1457
  >
1458
1458
  ${this.getCounterText(this.maxCounter,this.counter)}
1459
1459
  </mdc-text>
1460
- `}setRoleByAriaLabel(){this.ariaLabel?this.role=tt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Bn).includes(this.variant)&&(this.variant=Ci.VARIANT);let{iconName:t,type:o,variant:a}=this;switch(o){case Qe.ICON:return this.getBadgeIcon(t||"",a);case Qe.COUNTER:return this.getBadgeCounterText();case Qe.SUCCESS:return this.getBadgeIcon(Vn.SUCCESS_ICON_NAME,na.SUCCESS);case Qe.WARNING:return this.getBadgeIcon(Vn.WARNING_ICON_NAME,na.WARNING);case Qe.ERROR:return this.getBadgeIcon(Vn.ERROR_ICON_NAME,na.ERROR);case Qe.DOT:default:return this.type=Qe.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Nr.styles=[...W.styles,...xm],p([f({type:String,reflect:!0})],Nr.prototype,"type",2),p([f({type:String,reflect:!0})],Nr.prototype,"variant",2),p([f({type:Number})],Nr.prototype,"counter",2),p([f({type:Number,attribute:"max-counter",reflect:!0})],Nr.prototype,"maxCounter",2),p([f({type:Boolean})],Nr.prototype,"overlay",2),p([f({type:String,attribute:"aria-label"})],Nr.prototype,"ariaLabel",2);var Oc=Nr;Oc.register(Tm);var Qb=Oc;var Jb=H`
1460
+ `}setRoleByAriaLabel(){this.ariaLabel?this.role=tt.IMG:this.role=null}getBadgeContentBasedOnType(){this.variant&&!Object.values(Hn).includes(this.variant)&&(this.variant=Ci.VARIANT);let{iconName:t,type:o,variant:a}=this;switch(o){case Qe.ICON:return this.getBadgeIcon(t||"",a);case Qe.COUNTER:return this.getBadgeCounterText();case Qe.SUCCESS:return this.getBadgeIcon(Un.SUCCESS_ICON_NAME,la.SUCCESS);case Qe.WARNING:return this.getBadgeIcon(Un.WARNING_ICON_NAME,la.WARNING);case Qe.ERROR:return this.getBadgeIcon(Un.ERROR_ICON_NAME,la.ERROR);case Qe.DOT:default:return this.type=Qe.DOT,this.getBadgeDot()}}update(t){super.update(t),t.has("ariaLabel")&&this.setRoleByAriaLabel()}render(){return this.getBadgeContentBasedOnType()}};Nr.styles=[...W.styles,...Im],p([u({type:String,reflect:!0})],Nr.prototype,"type",2),p([u({type:String,reflect:!0})],Nr.prototype,"variant",2),p([u({type:Number})],Nr.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Nr.prototype,"maxCounter",2),p([u({type:Boolean})],Nr.prototype,"overlay",2),p([u({type:String,attribute:"aria-label"})],Nr.prototype,"ariaLabel",2);var Fc=Nr;Fc.register(_m);var oy=Fc;var sy=U`
1461
1461
  :host {
1462
1462
  display: block;
1463
1463
  height: 100%;
@@ -1466,7 +1466,7 @@
1466
1466
  height: 100%;
1467
1467
  width: 100%;
1468
1468
  }
1469
- `,Am=[Jb];var Sm=G.constructTagName("brandvisual"),_m={NAME:void 0};var Ko=class extends W{constructor(){super(...arguments);this.name=_m.NAME}async getBrandVisualData(){return this.name?import(`@momentum-design/brand-visuals/dist/logos/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)}):(this.handleBrandVisualLoadedFailure(new Error("No brandvisual name provided.")),Promise.reject(new Error("No brandvisual name provided.")))}updated(t){super.updated(t),t.has("name")&&this.getBrandVisualData().catch(o=>{this.onerror&&this.onerror(o)})}handleBrandVisualLoadedSuccess(t){this.brandVisualData=t;let o=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(o)}handleBrandVisualLoadedFailure(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}render(){return I` ${this.brandVisualData} `}};Ko.styles=[...W.styles,...Am],p([At()],Ko.prototype,"brandVisualData",2),p([f({type:String,reflect:!0})],Ko.prototype,"name",2);var Pc=Ko;Pc.register(Sm);var ty=Pc;var ey=H`
1469
+ `,Cm=[sy];var km=H.constructTagName("brandvisual"),wm={NAME:void 0};var Ko=class extends W{constructor(){super(...arguments);this.name=wm.NAME}async getBrandVisualData(){return this.name?import(`@momentum-design/brand-visuals/dist/logos/ts/${this.name}.ts`).then(t=>{this.handleBrandVisualLoadedSuccess(t.default())}).catch(t=>{this.handleBrandVisualLoadedFailure(t)}):(this.handleBrandVisualLoadedFailure(new Error("No brandvisual name provided.")),Promise.reject(new Error("No brandvisual name provided.")))}updated(t){super.updated(t),t.has("name")&&this.getBrandVisualData().catch(o=>{this.onerror&&this.onerror(o)})}handleBrandVisualLoadedSuccess(t){this.brandVisualData=t;let o=new Event("load",{bubbles:!0,cancelable:!0});this.dispatchEvent(o)}handleBrandVisualLoadedFailure(t){let o=new CustomEvent("error",{bubbles:!0,cancelable:!0,detail:{error:t}});this.dispatchEvent(o)}render(){return I` ${this.brandVisualData} `}};Ko.styles=[...W.styles,...Cm],p([At()],Ko.prototype,"brandVisualData",2),p([u({type:String,reflect:!0})],Ko.prototype,"name",2);var $c=Ko;$c.register(km);var ay=$c;var ny=U`
1470
1470
  :host {
1471
1471
  --mdc-bullet-background-color: var(--mds-color-theme-outline-secondary-normal);
1472
1472
  --mdc-bullet-size-small: 0.25rem;
@@ -1487,7 +1487,7 @@
1487
1487
  :host([size='large']) {
1488
1488
  height: var(--mdc-bullet-size-large);
1489
1489
  }
1490
- `,Im=[ey];var Cm=G.constructTagName("bullet"),km={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var la=class extends W{constructor(){super(...arguments);this.size=km.SMALL}};la.styles=[...W.styles,...Im],p([f({type:String,reflect:!0})],la.prototype,"size",2);var Dc=la;Dc.register(Cm);var ry=Dc;var wm=G.constructTagName("buttongroup"),iy={40:40,32:32,28:28,24:24},oy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},sy={PRIMARY:"primary",SECONDARY:"secondary"},Un={SIZE:iy[28],VARIANT:sy.PRIMARY,ORIENTATION:oy.HORIZONTAL};var ay=H`
1490
+ `,Nm=[ny];var Lm=H.constructTagName("bullet"),Rm={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var ca=class extends W{constructor(){super(...arguments);this.size=Rm.SMALL}};ca.styles=[...W.styles,...Nm],p([u({type:String,reflect:!0})],ca.prototype,"size",2);var zc=ca;zc.register(Lm);var ly=zc;var Mm=H.constructTagName("buttongroup"),cy={40:40,32:32,28:28,24:24},dy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},hy={PRIMARY:"primary",SECONDARY:"secondary"},Gn={SIZE:cy[28],VARIANT:hy.PRIMARY,ORIENTATION:dy.HORIZONTAL};var py=U`
1491
1491
  :host {
1492
1492
  --mdc-buttongroup-border-radius: 1.25rem;
1493
1493
  --mdc-buttongroup-border-color: var(--mds-color-theme-outline-button-normal);
@@ -1587,7 +1587,7 @@
1587
1587
  :host([compact][orientation='horizontal'][size='40']) ::slotted(mdc-button) {
1588
1588
  width: 2.5rem;
1589
1589
  }
1590
- `,Nm=[Et,ay];var Xr=class extends W{constructor(){super(...arguments);this.orientation=Un.ORIENTATION;this.variant=Un.VARIANT;this.size=Un.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(t=>{t.setAttribute("size",this.size.toString()),t.setAttribute("variant",this.variant)})}updated(t){super.updated(t),(t.has("size")||t.has("variant"))&&this.handleSlotChange()}render(){return I`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};Xr.styles=[...W.styles,...Nm],p([f({type:String,reflect:!0})],Xr.prototype,"orientation",2),p([f({type:String,reflect:!0})],Xr.prototype,"variant",2),p([f({type:Number,reflect:!0})],Xr.prototype,"size",2),p([f({type:Boolean,reflect:!0})],Xr.prototype,"compact",2),p([Lt({selector:"mdc-button"})],Xr.prototype,"buttons",2);var Fc=Xr;Fc.register(wm);var ny=Fc;var Lm=G.constructTagName("linksimple"),qo={INLINE:!1,INVERTED:!1};var ly=[Et,H`
1590
+ `,Om=[Et,py];var Xr=class extends W{constructor(){super(...arguments);this.orientation=Gn.ORIENTATION;this.variant=Gn.VARIANT;this.size=Gn.SIZE;this.compact=!1}handleSlotChange(){this.buttons.forEach(t=>{t.setAttribute("size",this.size.toString()),t.setAttribute("variant",this.variant)})}updated(t){super.updated(t),(t.has("size")||t.has("variant"))&&this.handleSlotChange()}render(){return I`<div part="container"><slot @slotchange=${this.handleSlotChange}></slot></div>`}};Xr.styles=[...W.styles,...Om],p([u({type:String,reflect:!0})],Xr.prototype,"orientation",2),p([u({type:String,reflect:!0})],Xr.prototype,"variant",2),p([u({type:Number,reflect:!0})],Xr.prototype,"size",2),p([u({type:Boolean,reflect:!0})],Xr.prototype,"compact",2),p([Lt({selector:"mdc-button"})],Xr.prototype,"buttons",2);var Vc=Xr;Vc.register(Mm);var my=Vc;var Pm=H.constructTagName("linksimple"),qo={INLINE:!1,INVERTED:!1};var uy=[Et,U`
1591
1591
  :host {
1592
1592
  --mdc-link-border-radius: 0.25rem;
1593
1593
  --mdc-link-color-active: var(--mds-color-theme-text-accent-active);
@@ -1653,11 +1653,11 @@
1653
1653
  text-decoration: var(--mds-font-apps-body-large-regular-underline-text-decoration);
1654
1654
  text-transform: var(--mds-font-apps-body-large-regular-underline-text-case);
1655
1655
  }
1656
- `,...xt()],Rm=ly;var Qr=class extends zt(Xe(W)){constructor(){super(...arguments);this.inline=qo.INLINE;this.inverted=qo.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation.bind(this)),this.addEventListener("keydown",this.handleNavigation.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation.bind(this)),this.removeEventListener("keydown",this.handleNavigation.bind(this))}handleNavigation(t){if((t.type==="click"||t instanceof KeyboardEvent&&t.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}setDisabled(t){t?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this.disabled)}render(){return I` <slot></slot> `}};Qr.styles=[...W.styles,...Rm],p([f({type:Boolean,reflect:!0})],Qr.prototype,"inline",2),p([f({type:Boolean,reflect:!0})],Qr.prototype,"inverted",2),p([f({type:String,reflect:!0})],Qr.prototype,"href",2),p([f({type:String,reflect:!0})],Qr.prototype,"target",2),p([f({type:String,reflect:!0})],Qr.prototype,"rel",2);var ki=Qr;var Zo=class extends En(ki){constructor(){super(...arguments);this.size=Le.SIZE}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}render(){return I`
1656
+ `,...xt()],Dm=uy;var Qr=class extends zt(Xe(W)){constructor(){super(...arguments);this.inline=qo.INLINE;this.inverted=qo.INVERTED;this.href="#";this.target="_self";this.prevTabindex=0}connectedCallback(){super.connectedCallback(),this.setAttribute("role","link"),this.addEventListener("click",this.handleNavigation.bind(this)),this.addEventListener("keydown",this.handleNavigation.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleNavigation.bind(this)),this.removeEventListener("keydown",this.handleNavigation.bind(this))}handleNavigation(t){if((t.type==="click"||t instanceof KeyboardEvent&&t.key==="Enter")&&this.href){if(this.disabled)return;window.open(this.href,this.target,this.rel)}}setDisabled(t){t?(this.setAttribute("aria-disabled","true"),this.prevTabindex=this.tabIndex,this.tabIndex=-1):(this.tabIndex===-1&&(this.tabIndex=this.prevTabindex),this.removeAttribute("aria-disabled"))}update(t){super.update(t),t.has("disabled")&&this.setDisabled(this.disabled)}render(){return I` <slot></slot> `}};Qr.styles=[...W.styles,...Dm],p([u({type:Boolean,reflect:!0})],Qr.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],Qr.prototype,"inverted",2),p([u({type:String,reflect:!0})],Qr.prototype,"href",2),p([u({type:String,reflect:!0})],Qr.prototype,"target",2),p([u({type:String,reflect:!0})],Qr.prototype,"rel",2);var ki=Qr;var Zo=class extends xn(ki){constructor(){super(...arguments);this.size=Le.SIZE}setSoftDisabled(t,o){o?t.setAttribute("aria-disabled","true"):t.removeAttribute("aria-disabled")}update(t){super.update(t),t.has("softDisabled")&&this.setSoftDisabled(this,this.softDisabled),t.has("size")&&this.setSize(this.size),t.has("variant")&&(this.setVariant(this.variant),this.setSize(this.size)),t.has("color")&&this.setColor(this.color),t.has("typeInternal")&&this.setSize(this.size),(t.has("prefixIcon")||t.has("postfixIcon"))&&this.inferButtonType()}render(){return I`
1657
1657
  ${this.prefixIcon?I` <mdc-icon name="${this.prefixIcon}" part="prefix-icon" length-unit="rem"></mdc-icon>`:""}
1658
1658
  <slot @slotchange=${this.inferButtonType}></slot>
1659
1659
  ${this.postfixIcon?I` <mdc-icon name="${this.postfixIcon}" part="postfix-icon" length-unit="rem"></mdc-icon>`:""}
1660
- `}};Zo.styles=[...Ji.styles],p([f({type:Number,reflect:!0})],Zo.prototype,"size",2),p([f({type:Boolean,attribute:"soft-disabled",reflect:!0})],Zo.prototype,"softDisabled",2);var $c=Zo;var Mm=G.constructTagName("buttonlink");$c.register(Mm);var cy=$c;var Hn=G.constructTagName("link"),Gn={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},Yn={LARGE:1,MIDSIZE:.875,SMALL:.75},Om={LINK_SIZE:Gn.LARGE};var Pm=G.constructTagName("card"),zc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},dy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ee={VARIANT:zc.BORDER,ORIENTATION:dy.VERTICAL,TITLE_TYPE:st.HEADING_SMALL_BOLD,SUBTITLE_TYPE:st.BODY_MIDSIZE_MEDIUM,TAGNAME:gt.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:Hn,BUTTON:Wr};var Wn=l=>{class i extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ee.VARIANT;this.orientation=ee.ORIENTATION;this.titleTagName=ee.TAGNAME;this.subtitleTagName=ee.TAGNAME}renderImage(){return this.imageSrc?I`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:j}renderIcon(){return this.iconName?I`<mdc-icon
1660
+ `}};Zo.styles=[...Ji.styles],p([u({type:Number,reflect:!0})],Zo.prototype,"size",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],Zo.prototype,"softDisabled",2);var Bc=Zo;var Fm=H.constructTagName("buttonlink");Bc.register(Fm);var fy=Bc;var Yn=H.constructTagName("link"),Wn={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},jn={LARGE:1,MIDSIZE:.875,SMALL:.75},$m={LINK_SIZE:Wn.LARGE};var zm=H.constructTagName("card"),Uc={BORDER:"border",GHOST:"ghost",PROMOTIONAL:"promotional"},vy={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ee={VARIANT:Uc.BORDER,ORIENTATION:vy.VERTICAL,TITLE_TYPE:ot.HEADING_SMALL_BOLD,SUBTITLE_TYPE:ot.BODY_MIDSIZE_MEDIUM,TAGNAME:ut.SPAN,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem",LINK:Yn,BUTTON:Wr};var Kn=l=>{class i extends l{constructor(){super(...arguments);this.cardTitle="";this.subtitle="";this.imageSrc="";this.imageAlt="";this.variant=ee.VARIANT;this.orientation=ee.ORIENTATION;this.titleTagName=ee.TAGNAME;this.subtitleTagName=ee.TAGNAME}renderImage(){return this.imageSrc?I`<div part="image-wrapper"><img part="image" src="${this.imageSrc}" alt="${this.imageAlt}" /></div>`:j}renderIcon(){return this.iconName?I`<mdc-icon
1661
1661
  part="icon"
1662
1662
  size="${ee.ICON_SIZE}"
1663
1663
  length-unit="${ee.ICON_LENGTH_UNIT}"
@@ -1667,7 +1667,7 @@
1667
1667
  ${this.subtitle?I`<mdc-text part="subtitle" type="${ee.SUBTITLE_TYPE}" tagname="${this.subtitleTagName}"
1668
1668
  >${this.subtitle}</mdc-text
1669
1669
  >`:j}
1670
- </div>`}}return p([f({type:String,attribute:"card-title",reflect:!0})],i.prototype,"cardTitle",2),p([f({type:String,reflect:!0})],i.prototype,"subtitle",2),p([f({type:String,attribute:"image-src",reflect:!0})],i.prototype,"imageSrc",2),p([f({type:String,attribute:"image-alt",reflect:!0})],i.prototype,"imageAlt",2),p([f({type:String,reflect:!0})],i.prototype,"variant",2),p([f({type:String,reflect:!0})],i.prototype,"orientation",2),p([f({type:String,attribute:"title-tag-name",reflect:!0})],i.prototype,"titleTagName",2),p([f({type:String,attribute:"subtitle-tag-name",reflect:!0})],i.prototype,"subtitleTagName",2),p([f({type:String,attribute:"icon-name",reflect:!0})],i.prototype,"iconName",2),i};var Xo=l=>{class i extends l{updateFooterButtonColors(o){let a=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];a==null||a.forEach(h=>{o===zc.PROMOTIONAL?h.setAttribute("color",Xi.PROMOTIONAL):h.setAttribute("color",Xi.DEFAULT)})}handleFooterSlot(o,a){var m,E,N;let h=[];o===ee.LINK&&((m=this.footerLink)!=null&&m.length)?h=this.footerLink:o===ee.BUTTON&&a===Pt.PRIMARY&&((E=this.footerButtonPrimary)!=null&&E.length)?h=this.footerButtonPrimary:o===ee.BUTTON&&a===Pt.SECONDARY&&((N=this.footerButtonSecondary)!=null&&N.length)&&(h=this.footerButtonSecondary);for(let $=1;$<h.length;$+=1)h[$].remove();h.forEach($=>{$.matches(o)||$.remove(),a&&$.setAttribute("variant",a)})}renderFooter(){return I` <slot name="footer">
1670
+ </div>`}}return p([u({type:String,attribute:"card-title",reflect:!0})],i.prototype,"cardTitle",2),p([u({type:String,reflect:!0})],i.prototype,"subtitle",2),p([u({type:String,attribute:"image-src",reflect:!0})],i.prototype,"imageSrc",2),p([u({type:String,attribute:"image-alt",reflect:!0})],i.prototype,"imageAlt",2),p([u({type:String,reflect:!0})],i.prototype,"variant",2),p([u({type:String,reflect:!0})],i.prototype,"orientation",2),p([u({type:String,attribute:"title-tag-name",reflect:!0})],i.prototype,"titleTagName",2),p([u({type:String,attribute:"subtitle-tag-name",reflect:!0})],i.prototype,"subtitleTagName",2),p([u({type:String,attribute:"icon-name",reflect:!0})],i.prototype,"iconName",2),i};var Xo=l=>{class i extends l{updateFooterButtonColors(o){let a=[...this.footerButtonPrimary||[],...this.footerButtonSecondary||[]];a==null||a.forEach(h=>{o===Uc.PROMOTIONAL?h.setAttribute("color",Xi.PROMOTIONAL):h.setAttribute("color",Xi.DEFAULT)})}handleFooterSlot(o,a){var m,E,N;let h=[];o===ee.LINK&&((m=this.footerLink)!=null&&m.length)?h=this.footerLink:o===ee.BUTTON&&a===Pt.PRIMARY&&((E=this.footerButtonPrimary)!=null&&E.length)?h=this.footerButtonPrimary:o===ee.BUTTON&&a===Pt.SECONDARY&&((N=this.footerButtonSecondary)!=null&&N.length)&&(h=this.footerButtonSecondary);for(let $=1;$<h.length;$+=1)h[$].remove();h.forEach($=>{$.matches(o)||$.remove(),a&&$.setAttribute("variant",a)})}renderFooter(){return I` <slot name="footer">
1671
1671
  <div part="footer">
1672
1672
  <slot name="footer-link" @slotchange=${()=>this.handleFooterSlot(ee.LINK)}></slot>
1673
1673
  <slot
@@ -1679,7 +1679,7 @@
1679
1679
  @slotchange=${()=>this.handleFooterSlot(ee.BUTTON,Pt.PRIMARY)}
1680
1680
  ></slot>
1681
1681
  </div>
1682
- </slot>`}}return p([Lt({slot:"footer-link"})],i.prototype,"footerLink",2),p([Lt({slot:"footer-button-primary"})],i.prototype,"footerButtonPrimary",2),p([Lt({slot:"footer-button-secondary"})],i.prototype,"footerButtonSecondary",2),i};var hy=H`
1682
+ </slot>`}}return p([Lt({slot:"footer-link"})],i.prototype,"footerLink",2),p([Lt({slot:"footer-button-primary"})],i.prototype,"footerButtonPrimary",2),p([Lt({slot:"footer-button-secondary"})],i.prototype,"footerButtonSecondary",2),i};var gy=U`
1683
1683
  :host {
1684
1684
  --mdc-card-width: 20rem;
1685
1685
  align-items: stretch;
@@ -1788,7 +1788,7 @@
1788
1788
  mdc-text::part(text) {
1789
1789
  margin: 0;
1790
1790
  }
1791
- `,Dm=[Et,hy];var ca=class extends Wn(Xo(W)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(o=>{o.matches(ee.BUTTON)&&(o.setAttribute("variant",Pt.TERTIARY),o.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?I`<div part="header">
1791
+ `,Vm=[Et,gy];var da=class extends Kn(Xo(W)){constructor(){super(...arguments);this.handleIconButtons=()=>{var t;(t=this.iconButtons)==null||t.forEach(o=>{o.matches(ee.BUTTON)&&(o.setAttribute("variant",Pt.TERTIARY),o.setAttribute("size","32"))})}}update(t){super.update(t),t.has("variant")&&this.updateFooterButtonColors(this.variant)}renderHeader(){return this.cardTitle?I`<div part="header">
1792
1792
  ${this.renderIcon()} ${this.renderTitle()}
1793
1793
  <div part="icon-button"><slot name="icon-button" @slotchange=${this.handleIconButtons}></slot></div>
1794
1794
  </div>`:j}render(){return I`
@@ -1802,7 +1802,7 @@
1802
1802
  </div>
1803
1803
  ${this.renderFooter()}
1804
1804
  </div>
1805
- `}};ca.styles=[...W.styles,...Dm],p([Lt({slot:"icon-button"})],ca.prototype,"iconButtons",2);var ur=ca;ur.register(Pm);var py=ur;var my=H`
1805
+ `}};da.styles=[...W.styles,...Vm],p([Lt({slot:"icon-button"})],da.prototype,"iconButtons",2);var ur=da;ur.register(zm);var by=ur;var yy=U`
1806
1806
  :host {
1807
1807
  cursor: pointer;
1808
1808
  user-select: none;
@@ -1824,7 +1824,7 @@
1824
1824
  :host([disabled])::part(image) {
1825
1825
  opacity: 0.5;
1826
1826
  }
1827
- `,Fm=[my,...xt()];var jn=class extends Wn(pe){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?I`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return I`
1827
+ `,Bm=[yy,...xt()];var qn=class extends Kn(pe){connectedCallback(){super.connectedCallback(),this.active=void 0,this.size=void 0}renderHeader(){return this.cardTitle?I`<div part="header">${this.renderIcon()} ${this.renderTitle()}</div>`:j}render(){return I`
1828
1828
  ${this.renderImage()}
1829
1829
  <div part="body">
1830
1830
  ${this.renderHeader()}
@@ -1832,7 +1832,7 @@
1832
1832
  <slot name="body"></slot>
1833
1833
  <slot name="after-body"></slot>
1834
1834
  </div>
1835
- `}};jn.styles=[...ur.styles,...Fm];var Vc=jn;var $m=G.constructTagName("cardbutton");Vc.register($m);var uy=Vc;var zm=G.constructTagName("cardcheckbox"),Bc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Kn={CHECK:"check",CHECKBOX:"checkbox"},qn={SELECTION_TYPE:Kn.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var fy=H`
1835
+ `}};qn.styles=[...ur.styles,...Bm];var Hc=qn;var Um=H.constructTagName("cardbutton");Hc.register(Um);var Ey=Hc;var Hm=H.constructTagName("cardcheckbox"),Gc={DEFAULT:"check-circle-bold",CHECKED:"check-circle-filled"},Zn={CHECK:"check",CHECKBOX:"checkbox"},Xn={SELECTION_TYPE:Zn.CHECK,ICON_SIZE:1.5,ICON_LENGTH_UNIT:"rem"};var Ty=U`
1836
1836
  :host {
1837
1837
  cursor: pointer;
1838
1838
  user-select: none;
@@ -1889,12 +1889,12 @@
1889
1889
  :host([disabled])::part(check-icon) {
1890
1890
  color: var(--mds-color-theme-text-primary-disabled);
1891
1891
  }
1892
- `,Vm=[fy,...xt()];var Qo=class extends zt(Xe(ur)){constructor(){super();this.checked=!1;this.selectionType=qn.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?Bc.CHECKED:Bc.DEFAULT;switch(this.selectionType){case Kn.CHECK:return I`<mdc-icon
1892
+ `,Gm=[Ty,...xt()];var Qo=class extends zt(Xe(ur)){constructor(){super();this.checked=!1;this.selectionType=Xn.SELECTION_TYPE;this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.CHECKBOX}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&(this.setAttribute("aria-disabled",`${this.disabled}`),this.tabIndex=this.disabled?-1:0)}toggleChecked(){this.disabled||(this.checked=!this.checked),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}toggleOnEnter(t){t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderSelection(){let t=this.checked?Gc.CHECKED:Gc.DEFAULT;switch(this.selectionType){case Zn.CHECK:return I`<mdc-icon
1893
1893
  part="check check-icon"
1894
- size="${qn.ICON_SIZE}"
1895
- length-unit="${qn.ICON_LENGTH_UNIT}"
1894
+ size="${Xn.ICON_SIZE}"
1895
+ length-unit="${Xn.ICON_LENGTH_UNIT}"
1896
1896
  name="${t}"
1897
- ></mdc-icon>`;case Kn.CHECKBOX:return I`<mdc-staticcheckbox
1897
+ ></mdc-icon>`;case Zn.CHECKBOX:return I`<mdc-staticcheckbox
1898
1898
  part="check"
1899
1899
  ?checked="${this.checked}"
1900
1900
  ?disabled="${this.disabled}"
@@ -1906,7 +1906,7 @@
1906
1906
  <slot name="body"></slot>
1907
1907
  <slot name="after-body"></slot>
1908
1908
  </div>
1909
- `}};Qo.styles=[...ur.styles,...Vm],p([f({type:Boolean,reflect:!0})],Qo.prototype,"checked",2),p([f({type:String,attribute:"selection-type",reflect:!0})],Qo.prototype,"selectionType",2);var Uc=Qo;var vy=[H`
1909
+ `}};Qo.styles=[...ur.styles,...Gm],p([u({type:Boolean,reflect:!0})],Qo.prototype,"checked",2),p([u({type:String,attribute:"selection-type",reflect:!0})],Qo.prototype,"selectionType",2);var Yc=Qo;var xy=[U`
1910
1910
  :host {
1911
1911
  margin: 0.125rem 0;
1912
1912
  border-radius: 0.125rem;
@@ -1962,15 +1962,15 @@
1962
1962
  border: 0.0625rem solid var(--mdc-staticcheckbox-border-color);
1963
1963
  }
1964
1964
  }
1965
- `],Bm=vy;var Um=G.constructTagName("checkbox"),Zn={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var Hm=G.constructTagName("staticcheckbox");var Jo=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?I`
1965
+ `],Ym=xy;var Wm=H.constructTagName("checkbox"),Qn={CHECKED:"check-bold",INDETERMINATE:"minus-bold"};var jm=H.constructTagName("staticcheckbox");var Jo=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1}render(){let t=this.checked||this.indeterminate?I`
1966
1966
  <mdc-icon
1967
1967
  class="icon"
1968
- name="${this.indeterminate?Zn.INDETERMINATE:Zn.CHECKED}"
1968
+ name="${this.indeterminate?Qn.INDETERMINATE:Qn.CHECKED}"
1969
1969
  size="1"
1970
1970
  length-unit="rem"
1971
1971
  ></mdc-icon>
1972
1972
  `:j;return I`<slot></slot>
1973
- <div part="icon-container">${t}</div>`}};Jo.styles=[...W.styles,...Bm],p([f({type:Boolean,reflect:!0})],Jo.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],Jo.prototype,"indeterminate",2);var Hc=Jo;Hc.register(Hm);var gy=Hc;Uc.register(zm);var by=Uc;var yy=H`
1973
+ <div part="icon-container">${t}</div>`}};Jo.styles=[...W.styles,...Ym],p([u({type:Boolean,reflect:!0})],Jo.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],Jo.prototype,"indeterminate",2);var Wc=Jo;Wc.register(jm);var Ay=Wc;Yc.register(Hm);var Sy=Yc;var _y=U`
1974
1974
  :host {
1975
1975
  cursor: pointer;
1976
1976
  user-select: none;
@@ -2023,7 +2023,7 @@
2023
2023
  :host([disabled])::part(image) {
2024
2024
  opacity: 0.5;
2025
2025
  }
2026
- `,Gm=[yy,...xt()];var ts=class extends zt(Xe(ur)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(o=>{o.checked=!1}),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,o){t[o].focus(),t[o].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(h+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(h-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?I`<div part="header">
2026
+ `,Km=[_y,...xt()];var ts=class extends zt(Xe(ur)){constructor(){super();this.checked=!1;this.name="";this.addEventListener("click",this.toggleChecked.bind(this)),this.addEventListener("keydown",this.toggleOnEnter.bind(this)),this.addEventListener("keyup",this.toggleOnSpace.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.RADIO}getAllCardsWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-cardradio[name="${this.name}"]`))}toggleChecked(){if(this.disabled||this.checked)return;this.getAllCardsWithinSameGroup().forEach(o=>{o.checked=!1}),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}setDisabled(t){this.setAttribute("aria-disabled",`${t}`),this.tabIndex=t?-1:0}update(t){super.update(t),t.has("checked")&&this.setAttribute("aria-checked",`${this.checked}`),t.has("disabled")&&this.setDisabled(this.disabled)}updateCardRadio(t,o){t[o].focus(),t[o].toggleChecked()}toggleOnEnter(t){if(this.disabled)return;let a=this.getAllCardsWithinSameGroup().filter(m=>!m.disabled),h=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let m=(h+1)%a.length;this.updateCardRadio(a,m)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let m=(h-1+a.length)%a.length;this.updateCardRadio(a,m)}t.key===J.ENTER&&this.toggleChecked()}toggleOnSpace(t){t.key===J.SPACE&&this.toggleChecked()}renderHeader(){return this.cardTitle?I`<div part="header">
2027
2027
  ${this.renderIcon()} ${this.renderTitle()}
2028
2028
  <mdc-staticradio part="check" ?checked="${this.checked}" ?disabled="${this.disabled}"></mdc-staticradio>
2029
2029
  </div>`:j}render(){return I`
@@ -2034,7 +2034,7 @@
2034
2034
  <slot name="body"></slot>
2035
2035
  <slot name="after-body"></slot>
2036
2036
  </div>
2037
- `}};ts.styles=[...ur.styles,...Gm],p([f({type:Boolean,reflect:!0})],ts.prototype,"checked",2),p([f({type:String})],ts.prototype,"name",2);var Gc=ts;var Xn=G.constructTagName("cardradio");var Ey=[H`
2037
+ `}};ts.styles=[...ur.styles,...Km],p([u({type:Boolean,reflect:!0})],ts.prototype,"checked",2),p([u({type:String})],ts.prototype,"name",2);var jc=ts;var Jn=H.constructTagName("cardradio");var Iy=[U`
2038
2038
  :host {
2039
2039
  display: block;
2040
2040
  position: relative;
@@ -2117,8 +2117,8 @@
2117
2117
  :host([readonly][checked]) .icon:after {
2118
2118
  background-color: var(--mdc-staticradio-text-disabled-color);
2119
2119
  }
2120
- `],Ym=Ey;var es=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return I` <slot></slot>
2121
- <span part="radio-icon" class="icon"></span>`}};es.styles=[...W.styles,...Ym],p([f({type:Boolean,reflect:!0})],es.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],es.prototype,"readonly",2);var Yc=es;var Wm=G.constructTagName("staticradio");Yc.register(Wm);var Ty=Yc;Gc.register(Xn);var xy=Gc;var Lr=Math.min,Ee=Math.max,ha=Math.round,pa=Math.floor,fr=l=>({x:l,y:l}),Ay={left:"right",right:"left",bottom:"top",top:"bottom"},Sy={start:"end",end:"start"};function Jn(l,i,t){return Ee(l,Lr(i,t))}function io(l,i){return typeof l=="function"?l(i):l}function Jr(l){return l.split("-")[0]}function oo(l){return l.split("-")[1]}function Wc(l){return l==="x"?"y":"x"}function tl(l){return l==="y"?"height":"width"}var _y=new Set(["top","bottom"]);function Rr(l){return _y.has(Jr(l))?"y":"x"}function el(l){return Wc(Rr(l))}function qm(l,i,t){t===void 0&&(t=!1);let o=oo(l),a=el(l),h=tl(a),m=a==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=da(m)),[m,da(m)]}function Zm(l){let i=da(l);return[Qn(l),i,Qn(i)]}function Qn(l){return l.replace(/start|end/g,i=>Sy[i])}var jm=["left","right"],Km=["right","left"],Iy=["top","bottom"],Cy=["bottom","top"];function ky(l,i,t){switch(l){case"top":case"bottom":return t?i?Km:jm:i?jm:Km;case"left":case"right":return i?Iy:Cy;default:return[]}}function Xm(l,i,t,o){let a=oo(l),h=ky(Jr(l),t==="start",o);return a&&(h=h.map(m=>m+"-"+a),i&&(h=h.concat(h.map(Qn)))),h}function da(l){return l.replace(/left|right|bottom|top/g,i=>Ay[i])}function wy(l){return{top:0,right:0,bottom:0,left:0,...l}}function jc(l){return typeof l!="number"?wy(l):{top:l,right:l,bottom:l,left:l}}function so(l){let{x:i,y:t,width:o,height:a}=l;return{width:o,height:a,top:t,left:i,right:i+o,bottom:t+a,x:i,y:t}}function Qm(l,i,t){let{reference:o,floating:a}=l,h=Rr(i),m=el(i),E=tl(m),N=Jr(i),$=h==="y",K=o.x+o.width/2-a.width/2,q=o.y+o.height/2-a.height/2,nt=o[E]/2-a[E]/2,Q;switch(N){case"top":Q={x:K,y:o.y-a.height};break;case"bottom":Q={x:K,y:o.y+o.height};break;case"right":Q={x:o.x+o.width,y:q};break;case"left":Q={x:o.x-a.width,y:q};break;default:Q={x:o.x,y:o.y}}switch(oo(i)){case"start":Q[m]-=nt*(t&&$?-1:1);break;case"end":Q[m]+=nt*(t&&$?-1:1);break}return Q}var Jm=async(l,i,t)=>{let{placement:o="bottom",strategy:a="absolute",middleware:h=[],platform:m}=t,E=h.filter(Boolean),N=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:a}),{x:K,y:q}=Qm($,o,N),nt=o,Q={},rt=0;for(let dt=0;dt<E.length;dt++){let{name:ut,fn:Tt}=E[dt],{x:St,y:kt,data:Ht,reset:Ft}=await Tt({x:K,y:q,initialPlacement:o,placement:nt,strategy:a,middlewareData:Q,rects:$,platform:m,elements:{reference:l,floating:i}});K=St!=null?St:K,q=kt!=null?kt:q,Q={...Q,[ut]:{...Q[ut],...Ht}},Ft&&rt<=50&&(rt++,typeof Ft=="object"&&(Ft.placement&&(nt=Ft.placement),Ft.rects&&($=Ft.rects===!0?await m.getElementRects({reference:l,floating:i,strategy:a}):Ft.rects),{x:K,y:q}=Qm($,nt,N)),dt=-1)}return{x:K,y:q,placement:nt,strategy:a,middlewareData:Q}};async function rl(l,i){var t;i===void 0&&(i={});let{x:o,y:a,platform:h,rects:m,elements:E,strategy:N}=l,{boundary:$="clippingAncestors",rootBoundary:K="viewport",elementContext:q="floating",altBoundary:nt=!1,padding:Q=0}=io(i,l),rt=jc(Q),ut=E[nt?q==="floating"?"reference":"floating":q],Tt=so(await h.getClippingRect({element:(t=await(h.isElement==null?void 0:h.isElement(ut)))==null||t?ut:ut.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(E.floating)),boundary:$,rootBoundary:K,strategy:N})),St=q==="floating"?{x:o,y:a,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(E.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},Ft=so(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:E,rect:St,offsetParent:kt,strategy:N}):St);return{top:(Tt.top-Ft.top+rt.top)/Ht.y,bottom:(Ft.bottom-Tt.bottom+rt.bottom)/Ht.y,left:(Tt.left-Ft.left+rt.left)/Ht.x,right:(Ft.right-Tt.right+rt.right)/Ht.x}}var tu=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:o,placement:a,rects:h,platform:m,elements:E,middlewareData:N}=i,{element:$,padding:K=0}=io(l,i)||{};if($==null)return{};let q=jc(K),nt={x:t,y:o},Q=el(a),rt=tl(Q),dt=await m.getDimensions($),ut=Q==="y",Tt=ut?"top":"left",St=ut?"bottom":"right",kt=ut?"clientHeight":"clientWidth",Ht=h.reference[rt]+h.reference[Q]-nt[Q]-h.floating[rt],Ft=nt[Q]-h.reference[Q],Vt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),jt=Vt?Vt[kt]:0;(!jt||!await(m.isElement==null?void 0:m.isElement(Vt)))&&(jt=E.floating[kt]||h.floating[rt]);let oe=Ht/2-Ft/2,nr=jt/2-dt[rt]/2-1,Se=Lr(q[Tt],nr),He=Lr(q[St],nr),lr=Se,cr=jt-dt[rt]-He,It=jt/2-dt[rt]/2+oe,le=Jn(lr,It,cr),Ge=!N.arrow&&oo(a)!=null&&It!==le&&h.reference[rt]/2-(It<lr?Se:He)-dt[rt]/2<0,Ye=Ge?It<lr?It-lr:It-cr:0;return{[Q]:nt[Q]+Ye,data:{[Q]:le,centerOffset:It-le-Ye,...Ge&&{alignmentOffset:Ye}},reset:Ge}}});var eu=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(i){var t,o;let{placement:a,middlewareData:h,rects:m,initialPlacement:E,platform:N,elements:$}=i,{mainAxis:K=!0,crossAxis:q=!0,fallbackPlacements:nt,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:dt=!0,...ut}=io(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let Tt=Jr(a),St=Rr(E),kt=Jr(E)===E,Ht=await(N.isRTL==null?void 0:N.isRTL($.floating)),Ft=nt||(kt||!dt?[da(E)]:Zm(E)),Vt=rt!=="none";!nt&&Vt&&Ft.push(...Xm(E,dt,rt,Ht));let jt=[E,...Ft],oe=await rl(i,ut),nr=[],Se=((o=h.flip)==null?void 0:o.overflows)||[];if(K&&nr.push(oe[Tt]),q){let It=qm(a,m,Ht);nr.push(oe[It[0]],oe[It[1]])}if(Se=[...Se,{placement:a,overflows:nr}],!nr.every(It=>It<=0)){var He,lr;let It=(((He=h.flip)==null?void 0:He.index)||0)+1,le=jt[It];if(le&&(!(q==="alignment"?St!==Rr(le):!1)||Se.every(We=>We.overflows[0]>0&&Rr(We.placement)===St)))return{data:{index:It,overflows:Se},reset:{placement:le}};let Ge=(lr=Se.filter(Ye=>Ye.overflows[0]<=0).sort((Ye,We)=>Ye.overflows[1]-We.overflows[1])[0])==null?void 0:lr.placement;if(!Ge)switch(Q){case"bestFit":{var cr;let Ye=(cr=Se.filter(We=>{if(Vt){let je=Rr(We.placement);return je===St||je==="y"}return!0}).map(We=>[We.placement,We.overflows.filter(je=>je>0).reduce((je,Ua)=>je+Ua,0)]).sort((We,je)=>We[1]-je[1])[0])==null?void 0:cr[0];Ye&&(Ge=Ye);break}case"initialPlacement":Ge=E;break}if(a!==Ge)return{reset:{placement:Ge}}}return{}}}};var Ny=new Set(["left","top"]);async function Ly(l,i){let{placement:t,platform:o,elements:a}=l,h=await(o.isRTL==null?void 0:o.isRTL(a.floating)),m=Jr(t),E=oo(t),N=Rr(t)==="y",$=Ny.has(m)?-1:1,K=h&&N?-1:1,q=io(i,l),{mainAxis:nt,crossAxis:Q,alignmentAxis:rt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return E&&typeof rt=="number"&&(Q=E==="end"?rt*-1:rt),N?{x:Q*K,y:nt*$}:{x:nt*$,y:Q*K}}var ru=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(i){var t,o;let{x:a,y:h,placement:m,middlewareData:E}=i,N=await Ly(i,l);return m===((t=E.offset)==null?void 0:t.placement)&&(o=E.arrow)!=null&&o.alignmentOffset?{}:{x:a+N.x,y:h+N.y,data:{...N,placement:m}}}}},iu=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(i){let{x:t,y:o,placement:a}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:E={fn:ut=>{let{x:Tt,y:St}=ut;return{x:Tt,y:St}}},...N}=io(l,i),$={x:t,y:o},K=await rl(i,N),q=Rr(Jr(a)),nt=Wc(q),Q=$[nt],rt=$[q];if(h){let ut=nt==="y"?"top":"left",Tt=nt==="y"?"bottom":"right",St=Q+K[ut],kt=Q-K[Tt];Q=Jn(St,Q,kt)}if(m){let ut=q==="y"?"top":"left",Tt=q==="y"?"bottom":"right",St=rt+K[ut],kt=rt-K[Tt];rt=Jn(St,rt,kt)}let dt=E.fn({...i,[nt]:Q,[q]:rt});return{...dt,data:{x:dt.x-t,y:dt.y-o,enabled:{[nt]:h,[q]:m}}}}}};var ou=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(i){var t,o;let{placement:a,rects:h,platform:m,elements:E}=i,{apply:N=()=>{},...$}=io(l,i),K=await rl(i,$),q=Jr(a),nt=oo(a),Q=Rr(a)==="y",{width:rt,height:dt}=h.floating,ut,Tt;q==="top"||q==="bottom"?(ut=q,Tt=nt===(await(m.isRTL==null?void 0:m.isRTL(E.floating))?"start":"end")?"left":"right"):(Tt=q,ut=nt==="end"?"top":"bottom");let St=dt-K.top-K.bottom,kt=rt-K.left-K.right,Ht=Lr(dt-K[ut],St),Ft=Lr(rt-K[Tt],kt),Vt=!i.middlewareData.shift,jt=Ht,oe=Ft;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(oe=kt),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(jt=St),Vt&&!nt){let Se=Ee(K.left,0),He=Ee(K.right,0),lr=Ee(K.top,0),cr=Ee(K.bottom,0);Q?oe=rt-2*(Se!==0||He!==0?Se+He:Ee(K.left,K.right)):jt=dt-2*(lr!==0||cr!==0?lr+cr:Ee(K.top,K.bottom))}await N({...i,availableWidth:oe,availableHeight:jt});let nr=await m.getDimensions(E.floating);return rt!==nr.width||dt!==nr.height?{reset:{rects:!0}}:{}}}};function il(){return typeof window<"u"}function ao(l){return au(l)?(l.nodeName||"").toLowerCase():"#document"}function Me(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function vr(l){var i;return(i=(au(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function au(l){return il()?l instanceof Node||l instanceof Me(l).Node:!1}function Je(l){return il()?l instanceof Element||l instanceof Me(l).Element:!1}function gr(l){return il()?l instanceof HTMLElement||l instanceof Me(l).HTMLElement:!1}function su(l){return!il()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Me(l).ShadowRoot}var Ry=new Set(["inline","contents"]);function is(l){let{overflow:i,overflowX:t,overflowY:o,display:a}=tr(l);return/auto|scroll|overlay|hidden|clip/.test(i+o+t)&&!Ry.has(a)}var My=new Set(["table","td","th"]);function nu(l){return My.has(ao(l))}var Oy=[":popover-open",":modal"];function ma(l){return Oy.some(i=>{try{return l.matches(i)}catch{return!1}})}var Py=["transform","translate","scale","rotate","perspective"],Dy=["transform","translate","scale","rotate","perspective","filter"],Fy=["paint","layout","strict","content"];function ol(l){let i=sl(),t=Je(l)?tr(l):l;return Py.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!i&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!i&&(t.filter?t.filter!=="none":!1)||Dy.some(o=>(t.willChange||"").includes(o))||Fy.some(o=>(t.contain||"").includes(o))}function lu(l){let i=ti(l);for(;gr(i)&&!no(i);){if(ol(i))return i;if(ma(i))return null;i=ti(i)}return null}function sl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var $y=new Set(["html","body","#document"]);function no(l){return $y.has(ao(l))}function tr(l){return Me(l).getComputedStyle(l)}function ua(l){return Je(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function ti(l){if(ao(l)==="html")return l;let i=l.assignedSlot||l.parentNode||su(l)&&l.host||vr(l);return su(i)?i.host:i}function cu(l){let i=ti(l);return no(i)?l.ownerDocument?l.ownerDocument.body:l.body:gr(i)&&is(i)?i:cu(i)}function rs(l,i,t){var o;i===void 0&&(i=[]),t===void 0&&(t=!0);let a=cu(l),h=a===((o=l.ownerDocument)==null?void 0:o.body),m=Me(a);if(h){let E=al(m);return i.concat(m,m.visualViewport||[],is(a)?a:[],E&&t?rs(E):[])}return i.concat(a,rs(a,[],t))}function al(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function pu(l){let i=tr(l),t=parseFloat(i.width)||0,o=parseFloat(i.height)||0,a=gr(l),h=a?l.offsetWidth:t,m=a?l.offsetHeight:o,E=ha(t)!==h||ha(o)!==m;return E&&(t=h,o=m),{width:t,height:o,$:E}}function qc(l){return Je(l)?l:l.contextElement}function os(l){let i=qc(l);if(!gr(i))return fr(1);let t=i.getBoundingClientRect(),{width:o,height:a,$:h}=pu(i),m=(h?ha(t.width):t.width)/o,E=(h?ha(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!E||!Number.isFinite(E))&&(E=1),{x:m,y:E}}var zy=fr(0);function mu(l){let i=Me(l);return!sl()||!i.visualViewport?zy:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Vy(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Me(l)?!1:i}function lo(l,i,t,o){i===void 0&&(i=!1),t===void 0&&(t=!1);let a=l.getBoundingClientRect(),h=qc(l),m=fr(1);i&&(o?Je(o)&&(m=os(o)):m=os(l));let E=Vy(h,t,o)?mu(h):fr(0),N=(a.left+E.x)/m.x,$=(a.top+E.y)/m.y,K=a.width/m.x,q=a.height/m.y;if(h){let nt=Me(h),Q=o&&Je(o)?Me(o):o,rt=nt,dt=al(rt);for(;dt&&o&&Q!==rt;){let ut=os(dt),Tt=dt.getBoundingClientRect(),St=tr(dt),kt=Tt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*ut.x,Ht=Tt.top+(dt.clientTop+parseFloat(St.paddingTop))*ut.y;N*=ut.x,$*=ut.y,K*=ut.x,q*=ut.y,N+=kt,$+=Ht,rt=Me(dt),dt=al(rt)}}return so({width:K,height:q,x:N,y:$})}function Zc(l,i){let t=ua(l).scrollLeft;return i?i.left+t:lo(vr(l)).left+t}function uu(l,i,t){t===void 0&&(t=!1);let o=l.getBoundingClientRect(),a=o.left+i.scrollLeft-(t?0:Zc(l,o)),h=o.top+i.scrollTop;return{x:a,y:h}}function By(l){let{elements:i,rect:t,offsetParent:o,strategy:a}=l,h=a==="fixed",m=vr(o),E=i?ma(i.floating):!1;if(o===m||E&&h)return t;let N={scrollLeft:0,scrollTop:0},$=fr(1),K=fr(0),q=gr(o);if((q||!q&&!h)&&((ao(o)!=="body"||is(m))&&(N=ua(o)),gr(o))){let Q=lo(o);$=os(o),K.x=Q.x+o.clientLeft,K.y=Q.y+o.clientTop}let nt=m&&!q&&!h?uu(m,N,!0):fr(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-N.scrollLeft*$.x+K.x+nt.x,y:t.y*$.y-N.scrollTop*$.y+K.y+nt.y}}function Uy(l){return Array.from(l.getClientRects())}function Hy(l){let i=vr(l),t=ua(l),o=l.ownerDocument.body,a=Ee(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),h=Ee(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight),m=-t.scrollLeft+Zc(l),E=-t.scrollTop;return tr(o).direction==="rtl"&&(m+=Ee(i.clientWidth,o.clientWidth)-a),{width:a,height:h,x:m,y:E}}function Gy(l,i){let t=Me(l),o=vr(l),a=t.visualViewport,h=o.clientWidth,m=o.clientHeight,E=0,N=0;if(a){h=a.width,m=a.height;let $=sl();(!$||$&&i==="fixed")&&(E=a.offsetLeft,N=a.offsetTop)}return{width:h,height:m,x:E,y:N}}var Yy=new Set(["absolute","fixed"]);function Wy(l,i){let t=lo(l,!0,i==="fixed"),o=t.top+l.clientTop,a=t.left+l.clientLeft,h=gr(l)?os(l):fr(1),m=l.clientWidth*h.x,E=l.clientHeight*h.y,N=a*h.x,$=o*h.y;return{width:m,height:E,x:N,y:$}}function du(l,i,t){let o;if(i==="viewport")o=Gy(l,t);else if(i==="document")o=Hy(vr(l));else if(Je(i))o=Wy(i,t);else{let a=mu(l);o={x:i.x-a.x,y:i.y-a.y,width:i.width,height:i.height}}return so(o)}function fu(l,i){let t=ti(l);return t===i||!Je(t)||no(t)?!1:tr(t).position==="fixed"||fu(t,i)}function jy(l,i){let t=i.get(l);if(t)return t;let o=rs(l,[],!1).filter(E=>Je(E)&&ao(E)!=="body"),a=null,h=tr(l).position==="fixed",m=h?ti(l):l;for(;Je(m)&&!no(m);){let E=tr(m),N=ol(m);!N&&E.position==="fixed"&&(a=null),(h?!N&&!a:!N&&E.position==="static"&&!!a&&Yy.has(a.position)||is(m)&&!N&&fu(l,m))?o=o.filter(K=>K!==m):a=E,m=ti(m)}return i.set(l,o),o}function Ky(l){let{element:i,boundary:t,rootBoundary:o,strategy:a}=l,m=[...t==="clippingAncestors"?ma(i)?[]:jy(i,this._c):[].concat(t),o],E=m[0],N=m.reduce(($,K)=>{let q=du(i,K,a);return $.top=Ee(q.top,$.top),$.right=Lr(q.right,$.right),$.bottom=Lr(q.bottom,$.bottom),$.left=Ee(q.left,$.left),$},du(i,E,a));return{width:N.right-N.left,height:N.bottom-N.top,x:N.left,y:N.top}}function qy(l){let{width:i,height:t}=pu(l);return{width:i,height:t}}function Zy(l,i,t){let o=gr(i),a=vr(i),h=t==="fixed",m=lo(l,!0,h,i),E={scrollLeft:0,scrollTop:0},N=fr(0);function $(){N.x=Zc(a)}if(o||!o&&!h)if((ao(i)!=="body"||is(a))&&(E=ua(i)),o){let Q=lo(i,!0,h,i);N.x=Q.x+i.clientLeft,N.y=Q.y+i.clientTop}else a&&$();h&&!o&&a&&$();let K=a&&!o&&!h?uu(a,E):fr(0),q=m.left+E.scrollLeft-N.x-K.x,nt=m.top+E.scrollTop-N.y-K.y;return{x:q,y:nt,width:m.width,height:m.height}}function Kc(l){return tr(l).position==="static"}function hu(l,i){if(!gr(l)||tr(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return vr(l)===t&&(t=t.ownerDocument.body),t}function vu(l,i){let t=Me(l);if(ma(l))return t;if(!gr(l)){let a=ti(l);for(;a&&!no(a);){if(Je(a)&&!Kc(a))return a;a=ti(a)}return t}let o=hu(l,i);for(;o&&nu(o)&&Kc(o);)o=hu(o,i);return o&&no(o)&&Kc(o)&&!ol(o)?t:o||lu(l)||t}var Xy=async function(l){let i=this.getOffsetParent||vu,t=this.getDimensions,o=await t(l.floating);return{reference:Zy(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Qy(l){return tr(l).direction==="rtl"}var Jy={convertOffsetParentRelativeRectToViewportRelativeRect:By,getDocumentElement:vr,getClippingRect:Ky,getOffsetParent:vu,getElementRects:Xy,getClientRects:Uy,getDimensions:qy,getScale:os,isElement:Je,isRTL:Qy};function gu(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.height===i.height}function tE(l,i){let t=null,o,a=vr(l);function h(){var E;clearTimeout(o),(E=t)==null||E.disconnect(),t=null}function m(E,N){E===void 0&&(E=!1),N===void 0&&(N=1),h();let $=l.getBoundingClientRect(),{left:K,top:q,width:nt,height:Q}=$;if(E||i(),!nt||!Q)return;let rt=pa(q),dt=pa(a.clientWidth-(K+nt)),ut=pa(a.clientHeight-(q+Q)),Tt=pa(K),kt={rootMargin:-rt+"px "+-dt+"px "+-ut+"px "+-Tt+"px",threshold:Ee(0,Lr(1,N))||1},Ht=!0;function Ft(Vt){let jt=Vt[0].intersectionRatio;if(jt!==N){if(!Ht)return m();jt?m(!1,jt):o=setTimeout(()=>{m(!1,1e-7)},1e3)}jt===1&&!gu($,l.getBoundingClientRect())&&m(),Ht=!1}try{t=new IntersectionObserver(Ft,{...kt,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,kt)}t.observe(l)}return m(!0),h}function bu(l,i,t,o){o===void 0&&(o={});let{ancestorScroll:a=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:E=typeof IntersectionObserver=="function",animationFrame:N=!1}=o,$=qc(l),K=a||h?[...$?rs($):[],...rs(i)]:[];K.forEach(Tt=>{a&&Tt.addEventListener("scroll",t,{passive:!0}),h&&Tt.addEventListener("resize",t)});let q=$&&E?tE($,t):null,nt=-1,Q=null;m&&(Q=new ResizeObserver(Tt=>{let[St]=Tt;St&&St.target===$&&Q&&(Q.unobserve(i),cancelAnimationFrame(nt),nt=requestAnimationFrame(()=>{var kt;(kt=Q)==null||kt.observe(i)})),t()}),$&&!N&&Q.observe($),Q.observe(i));let rt,dt=N?lo(l):null;N&&ut();function ut(){let Tt=lo(l);dt&&!gu(dt,Tt)&&t(),dt=Tt,rt=requestAnimationFrame(ut)}return t(),()=>{var Tt;K.forEach(St=>{a&&St.removeEventListener("scroll",t),h&&St.removeEventListener("resize",t)}),q==null||q(),(Tt=Q)==null||Tt.disconnect(),Q=null,N&&cancelAnimationFrame(rt)}}var yu=ru;var Eu=iu,Tu=eu,xu=ou;var Au=tu;var Su=(l,i,t)=>{let o=new Map,a={platform:Jy,...t},h={...a.platform,_c:o};return Jm(l,i,{...a,platform:h})};var nl=l=>{class i extends l{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(a){let h=document.createElement("div");h.classList.add(`${a}-backdrop`);let m=document.createElement("style");m.textContent=`
2120
+ `],qm=Iy;var es=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.readonly=!1}render(){return I` <slot></slot>
2121
+ <span part="radio-icon" class="icon"></span>`}};es.styles=[...W.styles,...qm],p([u({type:Boolean,reflect:!0})],es.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],es.prototype,"readonly",2);var Kc=es;var Zm=H.constructTagName("staticradio");Kc.register(Zm);var Cy=Kc;jc.register(Jn);var ky=jc;var Lr=Math.min,Ee=Math.max,pa=Math.round,ma=Math.floor,fr=l=>({x:l,y:l}),wy={left:"right",right:"left",bottom:"top",top:"bottom"},Ny={start:"end",end:"start"};function el(l,i,t){return Ee(l,Lr(i,t))}function io(l,i){return typeof l=="function"?l(i):l}function Jr(l){return l.split("-")[0]}function oo(l){return l.split("-")[1]}function qc(l){return l==="x"?"y":"x"}function rl(l){return l==="y"?"height":"width"}var Ly=new Set(["top","bottom"]);function Rr(l){return Ly.has(Jr(l))?"y":"x"}function il(l){return qc(Rr(l))}function Jm(l,i,t){t===void 0&&(t=!1);let o=oo(l),a=il(l),h=rl(a),m=a==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return i.reference[h]>i.floating[h]&&(m=ha(m)),[m,ha(m)]}function tu(l){let i=ha(l);return[tl(l),i,tl(i)]}function tl(l){return l.replace(/start|end/g,i=>Ny[i])}var Xm=["left","right"],Qm=["right","left"],Ry=["top","bottom"],My=["bottom","top"];function Oy(l,i,t){switch(l){case"top":case"bottom":return t?i?Qm:Xm:i?Xm:Qm;case"left":case"right":return i?Ry:My;default:return[]}}function eu(l,i,t,o){let a=oo(l),h=Oy(Jr(l),t==="start",o);return a&&(h=h.map(m=>m+"-"+a),i&&(h=h.concat(h.map(tl)))),h}function ha(l){return l.replace(/left|right|bottom|top/g,i=>wy[i])}function Py(l){return{top:0,right:0,bottom:0,left:0,...l}}function Zc(l){return typeof l!="number"?Py(l):{top:l,right:l,bottom:l,left:l}}function so(l){let{x:i,y:t,width:o,height:a}=l;return{width:o,height:a,top:t,left:i,right:i+o,bottom:t+a,x:i,y:t}}function ru(l,i,t){let{reference:o,floating:a}=l,h=Rr(i),m=il(i),E=rl(m),N=Jr(i),$=h==="y",K=o.x+o.width/2-a.width/2,q=o.y+o.height/2-a.height/2,nt=o[E]/2-a[E]/2,Q;switch(N){case"top":Q={x:K,y:o.y-a.height};break;case"bottom":Q={x:K,y:o.y+o.height};break;case"right":Q={x:o.x+o.width,y:q};break;case"left":Q={x:o.x-a.width,y:q};break;default:Q={x:o.x,y:o.y}}switch(oo(i)){case"start":Q[m]-=nt*(t&&$?-1:1);break;case"end":Q[m]+=nt*(t&&$?-1:1);break}return Q}var iu=async(l,i,t)=>{let{placement:o="bottom",strategy:a="absolute",middleware:h=[],platform:m}=t,E=h.filter(Boolean),N=await(m.isRTL==null?void 0:m.isRTL(i)),$=await m.getElementRects({reference:l,floating:i,strategy:a}),{x:K,y:q}=ru($,o,N),nt=o,Q={},rt=0;for(let dt=0;dt<E.length;dt++){let{name:ft,fn:Tt}=E[dt],{x:St,y:kt,data:Ht,reset:Ft}=await Tt({x:K,y:q,initialPlacement:o,placement:nt,strategy:a,middlewareData:Q,rects:$,platform:m,elements:{reference:l,floating:i}});K=St!=null?St:K,q=kt!=null?kt:q,Q={...Q,[ft]:{...Q[ft],...Ht}},Ft&&rt<=50&&(rt++,typeof Ft=="object"&&(Ft.placement&&(nt=Ft.placement),Ft.rects&&($=Ft.rects===!0?await m.getElementRects({reference:l,floating:i,strategy:a}):Ft.rects),{x:K,y:q}=ru($,nt,N)),dt=-1)}return{x:K,y:q,placement:nt,strategy:a,middlewareData:Q}};async function ol(l,i){var t;i===void 0&&(i={});let{x:o,y:a,platform:h,rects:m,elements:E,strategy:N}=l,{boundary:$="clippingAncestors",rootBoundary:K="viewport",elementContext:q="floating",altBoundary:nt=!1,padding:Q=0}=io(i,l),rt=Zc(Q),ft=E[nt?q==="floating"?"reference":"floating":q],Tt=so(await h.getClippingRect({element:(t=await(h.isElement==null?void 0:h.isElement(ft)))==null||t?ft:ft.contextElement||await(h.getDocumentElement==null?void 0:h.getDocumentElement(E.floating)),boundary:$,rootBoundary:K,strategy:N})),St=q==="floating"?{x:o,y:a,width:m.floating.width,height:m.floating.height}:m.reference,kt=await(h.getOffsetParent==null?void 0:h.getOffsetParent(E.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},Ft=so(h.convertOffsetParentRelativeRectToViewportRelativeRect?await h.convertOffsetParentRelativeRectToViewportRelativeRect({elements:E,rect:St,offsetParent:kt,strategy:N}):St);return{top:(Tt.top-Ft.top+rt.top)/Ht.y,bottom:(Ft.bottom-Tt.bottom+rt.bottom)/Ht.y,left:(Tt.left-Ft.left+rt.left)/Ht.x,right:(Ft.right-Tt.right+rt.right)/Ht.x}}var ou=l=>({name:"arrow",options:l,async fn(i){let{x:t,y:o,placement:a,rects:h,platform:m,elements:E,middlewareData:N}=i,{element:$,padding:K=0}=io(l,i)||{};if($==null)return{};let q=Zc(K),nt={x:t,y:o},Q=il(a),rt=rl(Q),dt=await m.getDimensions($),ft=Q==="y",Tt=ft?"top":"left",St=ft?"bottom":"right",kt=ft?"clientHeight":"clientWidth",Ht=h.reference[rt]+h.reference[Q]-nt[Q]-h.floating[rt],Ft=nt[Q]-h.reference[Q],Vt=await(m.getOffsetParent==null?void 0:m.getOffsetParent($)),Kt=Vt?Vt[kt]:0;(!Kt||!await(m.isElement==null?void 0:m.isElement(Vt)))&&(Kt=E.floating[kt]||h.floating[rt]);let oe=Ht/2-Ft/2,nr=Kt/2-dt[rt]/2-1,Se=Lr(q[Tt],nr),He=Lr(q[St],nr),lr=Se,cr=Kt-dt[rt]-He,It=Kt/2-dt[rt]/2+oe,le=el(lr,It,cr),Ge=!N.arrow&&oo(a)!=null&&It!==le&&h.reference[rt]/2-(It<lr?Se:He)-dt[rt]/2<0,Ye=Ge?It<lr?It-lr:It-cr:0;return{[Q]:nt[Q]+Ye,data:{[Q]:le,centerOffset:It-le-Ye,...Ge&&{alignmentOffset:Ye}},reset:Ge}}});var su=function(l){return l===void 0&&(l={}),{name:"flip",options:l,async fn(i){var t,o;let{placement:a,middlewareData:h,rects:m,initialPlacement:E,platform:N,elements:$}=i,{mainAxis:K=!0,crossAxis:q=!0,fallbackPlacements:nt,fallbackStrategy:Q="bestFit",fallbackAxisSideDirection:rt="none",flipAlignment:dt=!0,...ft}=io(l,i);if((t=h.arrow)!=null&&t.alignmentOffset)return{};let Tt=Jr(a),St=Rr(E),kt=Jr(E)===E,Ht=await(N.isRTL==null?void 0:N.isRTL($.floating)),Ft=nt||(kt||!dt?[ha(E)]:tu(E)),Vt=rt!=="none";!nt&&Vt&&Ft.push(...eu(E,dt,rt,Ht));let Kt=[E,...Ft],oe=await ol(i,ft),nr=[],Se=((o=h.flip)==null?void 0:o.overflows)||[];if(K&&nr.push(oe[Tt]),q){let It=Jm(a,m,Ht);nr.push(oe[It[0]],oe[It[1]])}if(Se=[...Se,{placement:a,overflows:nr}],!nr.every(It=>It<=0)){var He,lr;let It=(((He=h.flip)==null?void 0:He.index)||0)+1,le=Kt[It];if(le&&(!(q==="alignment"?St!==Rr(le):!1)||Se.every(We=>We.overflows[0]>0&&Rr(We.placement)===St)))return{data:{index:It,overflows:Se},reset:{placement:le}};let Ge=(lr=Se.filter(Ye=>Ye.overflows[0]<=0).sort((Ye,We)=>Ye.overflows[1]-We.overflows[1])[0])==null?void 0:lr.placement;if(!Ge)switch(Q){case"bestFit":{var cr;let Ye=(cr=Se.filter(We=>{if(Vt){let je=Rr(We.placement);return je===St||je==="y"}return!0}).map(We=>[We.placement,We.overflows.filter(je=>je>0).reduce((je,Ga)=>je+Ga,0)]).sort((We,je)=>We[1]-je[1])[0])==null?void 0:cr[0];Ye&&(Ge=Ye);break}case"initialPlacement":Ge=E;break}if(a!==Ge)return{reset:{placement:Ge}}}return{}}}};var Dy=new Set(["left","top"]);async function Fy(l,i){let{placement:t,platform:o,elements:a}=l,h=await(o.isRTL==null?void 0:o.isRTL(a.floating)),m=Jr(t),E=oo(t),N=Rr(t)==="y",$=Dy.has(m)?-1:1,K=h&&N?-1:1,q=io(i,l),{mainAxis:nt,crossAxis:Q,alignmentAxis:rt}=typeof q=="number"?{mainAxis:q,crossAxis:0,alignmentAxis:null}:{mainAxis:q.mainAxis||0,crossAxis:q.crossAxis||0,alignmentAxis:q.alignmentAxis};return E&&typeof rt=="number"&&(Q=E==="end"?rt*-1:rt),N?{x:Q*K,y:nt*$}:{x:nt*$,y:Q*K}}var au=function(l){return l===void 0&&(l=0),{name:"offset",options:l,async fn(i){var t,o;let{x:a,y:h,placement:m,middlewareData:E}=i,N=await Fy(i,l);return m===((t=E.offset)==null?void 0:t.placement)&&(o=E.arrow)!=null&&o.alignmentOffset?{}:{x:a+N.x,y:h+N.y,data:{...N,placement:m}}}}},nu=function(l){return l===void 0&&(l={}),{name:"shift",options:l,async fn(i){let{x:t,y:o,placement:a}=i,{mainAxis:h=!0,crossAxis:m=!1,limiter:E={fn:ft=>{let{x:Tt,y:St}=ft;return{x:Tt,y:St}}},...N}=io(l,i),$={x:t,y:o},K=await ol(i,N),q=Rr(Jr(a)),nt=qc(q),Q=$[nt],rt=$[q];if(h){let ft=nt==="y"?"top":"left",Tt=nt==="y"?"bottom":"right",St=Q+K[ft],kt=Q-K[Tt];Q=el(St,Q,kt)}if(m){let ft=q==="y"?"top":"left",Tt=q==="y"?"bottom":"right",St=rt+K[ft],kt=rt-K[Tt];rt=el(St,rt,kt)}let dt=E.fn({...i,[nt]:Q,[q]:rt});return{...dt,data:{x:dt.x-t,y:dt.y-o,enabled:{[nt]:h,[q]:m}}}}}};var lu=function(l){return l===void 0&&(l={}),{name:"size",options:l,async fn(i){var t,o;let{placement:a,rects:h,platform:m,elements:E}=i,{apply:N=()=>{},...$}=io(l,i),K=await ol(i,$),q=Jr(a),nt=oo(a),Q=Rr(a)==="y",{width:rt,height:dt}=h.floating,ft,Tt;q==="top"||q==="bottom"?(ft=q,Tt=nt===(await(m.isRTL==null?void 0:m.isRTL(E.floating))?"start":"end")?"left":"right"):(Tt=q,ft=nt==="end"?"top":"bottom");let St=dt-K.top-K.bottom,kt=rt-K.left-K.right,Ht=Lr(dt-K[ft],St),Ft=Lr(rt-K[Tt],kt),Vt=!i.middlewareData.shift,Kt=Ht,oe=Ft;if((t=i.middlewareData.shift)!=null&&t.enabled.x&&(oe=kt),(o=i.middlewareData.shift)!=null&&o.enabled.y&&(Kt=St),Vt&&!nt){let Se=Ee(K.left,0),He=Ee(K.right,0),lr=Ee(K.top,0),cr=Ee(K.bottom,0);Q?oe=rt-2*(Se!==0||He!==0?Se+He:Ee(K.left,K.right)):Kt=dt-2*(lr!==0||cr!==0?lr+cr:Ee(K.top,K.bottom))}await N({...i,availableWidth:oe,availableHeight:Kt});let nr=await m.getDimensions(E.floating);return rt!==nr.width||dt!==nr.height?{reset:{rects:!0}}:{}}}};function sl(){return typeof window<"u"}function ao(l){return du(l)?(l.nodeName||"").toLowerCase():"#document"}function Me(l){var i;return(l==null||(i=l.ownerDocument)==null?void 0:i.defaultView)||window}function vr(l){var i;return(i=(du(l)?l.ownerDocument:l.document)||window.document)==null?void 0:i.documentElement}function du(l){return sl()?l instanceof Node||l instanceof Me(l).Node:!1}function Je(l){return sl()?l instanceof Element||l instanceof Me(l).Element:!1}function gr(l){return sl()?l instanceof HTMLElement||l instanceof Me(l).HTMLElement:!1}function cu(l){return!sl()||typeof ShadowRoot>"u"?!1:l instanceof ShadowRoot||l instanceof Me(l).ShadowRoot}var $y=new Set(["inline","contents"]);function is(l){let{overflow:i,overflowX:t,overflowY:o,display:a}=tr(l);return/auto|scroll|overlay|hidden|clip/.test(i+o+t)&&!$y.has(a)}var zy=new Set(["table","td","th"]);function hu(l){return zy.has(ao(l))}var Vy=[":popover-open",":modal"];function ua(l){return Vy.some(i=>{try{return l.matches(i)}catch{return!1}})}var By=["transform","translate","scale","rotate","perspective"],Uy=["transform","translate","scale","rotate","perspective","filter"],Hy=["paint","layout","strict","content"];function al(l){let i=nl(),t=Je(l)?tr(l):l;return By.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!i&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!i&&(t.filter?t.filter!=="none":!1)||Uy.some(o=>(t.willChange||"").includes(o))||Hy.some(o=>(t.contain||"").includes(o))}function pu(l){let i=ti(l);for(;gr(i)&&!no(i);){if(al(i))return i;if(ua(i))return null;i=ti(i)}return null}function nl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}var Gy=new Set(["html","body","#document"]);function no(l){return Gy.has(ao(l))}function tr(l){return Me(l).getComputedStyle(l)}function fa(l){return Je(l)?{scrollLeft:l.scrollLeft,scrollTop:l.scrollTop}:{scrollLeft:l.scrollX,scrollTop:l.scrollY}}function ti(l){if(ao(l)==="html")return l;let i=l.assignedSlot||l.parentNode||cu(l)&&l.host||vr(l);return cu(i)?i.host:i}function mu(l){let i=ti(l);return no(i)?l.ownerDocument?l.ownerDocument.body:l.body:gr(i)&&is(i)?i:mu(i)}function rs(l,i,t){var o;i===void 0&&(i=[]),t===void 0&&(t=!0);let a=mu(l),h=a===((o=l.ownerDocument)==null?void 0:o.body),m=Me(a);if(h){let E=ll(m);return i.concat(m,m.visualViewport||[],is(a)?a:[],E&&t?rs(E):[])}return i.concat(a,rs(a,[],t))}function ll(l){return l.parent&&Object.getPrototypeOf(l.parent)?l.frameElement:null}function vu(l){let i=tr(l),t=parseFloat(i.width)||0,o=parseFloat(i.height)||0,a=gr(l),h=a?l.offsetWidth:t,m=a?l.offsetHeight:o,E=pa(t)!==h||pa(o)!==m;return E&&(t=h,o=m),{width:t,height:o,$:E}}function Qc(l){return Je(l)?l:l.contextElement}function os(l){let i=Qc(l);if(!gr(i))return fr(1);let t=i.getBoundingClientRect(),{width:o,height:a,$:h}=vu(i),m=(h?pa(t.width):t.width)/o,E=(h?pa(t.height):t.height)/a;return(!m||!Number.isFinite(m))&&(m=1),(!E||!Number.isFinite(E))&&(E=1),{x:m,y:E}}var Yy=fr(0);function gu(l){let i=Me(l);return!nl()||!i.visualViewport?Yy:{x:i.visualViewport.offsetLeft,y:i.visualViewport.offsetTop}}function Wy(l,i,t){return i===void 0&&(i=!1),!t||i&&t!==Me(l)?!1:i}function lo(l,i,t,o){i===void 0&&(i=!1),t===void 0&&(t=!1);let a=l.getBoundingClientRect(),h=Qc(l),m=fr(1);i&&(o?Je(o)&&(m=os(o)):m=os(l));let E=Wy(h,t,o)?gu(h):fr(0),N=(a.left+E.x)/m.x,$=(a.top+E.y)/m.y,K=a.width/m.x,q=a.height/m.y;if(h){let nt=Me(h),Q=o&&Je(o)?Me(o):o,rt=nt,dt=ll(rt);for(;dt&&o&&Q!==rt;){let ft=os(dt),Tt=dt.getBoundingClientRect(),St=tr(dt),kt=Tt.left+(dt.clientLeft+parseFloat(St.paddingLeft))*ft.x,Ht=Tt.top+(dt.clientTop+parseFloat(St.paddingTop))*ft.y;N*=ft.x,$*=ft.y,K*=ft.x,q*=ft.y,N+=kt,$+=Ht,rt=Me(dt),dt=ll(rt)}}return so({width:K,height:q,x:N,y:$})}function Jc(l,i){let t=fa(l).scrollLeft;return i?i.left+t:lo(vr(l)).left+t}function bu(l,i,t){t===void 0&&(t=!1);let o=l.getBoundingClientRect(),a=o.left+i.scrollLeft-(t?0:Jc(l,o)),h=o.top+i.scrollTop;return{x:a,y:h}}function jy(l){let{elements:i,rect:t,offsetParent:o,strategy:a}=l,h=a==="fixed",m=vr(o),E=i?ua(i.floating):!1;if(o===m||E&&h)return t;let N={scrollLeft:0,scrollTop:0},$=fr(1),K=fr(0),q=gr(o);if((q||!q&&!h)&&((ao(o)!=="body"||is(m))&&(N=fa(o)),gr(o))){let Q=lo(o);$=os(o),K.x=Q.x+o.clientLeft,K.y=Q.y+o.clientTop}let nt=m&&!q&&!h?bu(m,N,!0):fr(0);return{width:t.width*$.x,height:t.height*$.y,x:t.x*$.x-N.scrollLeft*$.x+K.x+nt.x,y:t.y*$.y-N.scrollTop*$.y+K.y+nt.y}}function Ky(l){return Array.from(l.getClientRects())}function qy(l){let i=vr(l),t=fa(l),o=l.ownerDocument.body,a=Ee(i.scrollWidth,i.clientWidth,o.scrollWidth,o.clientWidth),h=Ee(i.scrollHeight,i.clientHeight,o.scrollHeight,o.clientHeight),m=-t.scrollLeft+Jc(l),E=-t.scrollTop;return tr(o).direction==="rtl"&&(m+=Ee(i.clientWidth,o.clientWidth)-a),{width:a,height:h,x:m,y:E}}function Zy(l,i){let t=Me(l),o=vr(l),a=t.visualViewport,h=o.clientWidth,m=o.clientHeight,E=0,N=0;if(a){h=a.width,m=a.height;let $=nl();(!$||$&&i==="fixed")&&(E=a.offsetLeft,N=a.offsetTop)}return{width:h,height:m,x:E,y:N}}var Xy=new Set(["absolute","fixed"]);function Qy(l,i){let t=lo(l,!0,i==="fixed"),o=t.top+l.clientTop,a=t.left+l.clientLeft,h=gr(l)?os(l):fr(1),m=l.clientWidth*h.x,E=l.clientHeight*h.y,N=a*h.x,$=o*h.y;return{width:m,height:E,x:N,y:$}}function uu(l,i,t){let o;if(i==="viewport")o=Zy(l,t);else if(i==="document")o=qy(vr(l));else if(Je(i))o=Qy(i,t);else{let a=gu(l);o={x:i.x-a.x,y:i.y-a.y,width:i.width,height:i.height}}return so(o)}function yu(l,i){let t=ti(l);return t===i||!Je(t)||no(t)?!1:tr(t).position==="fixed"||yu(t,i)}function Jy(l,i){let t=i.get(l);if(t)return t;let o=rs(l,[],!1).filter(E=>Je(E)&&ao(E)!=="body"),a=null,h=tr(l).position==="fixed",m=h?ti(l):l;for(;Je(m)&&!no(m);){let E=tr(m),N=al(m);!N&&E.position==="fixed"&&(a=null),(h?!N&&!a:!N&&E.position==="static"&&!!a&&Xy.has(a.position)||is(m)&&!N&&yu(l,m))?o=o.filter(K=>K!==m):a=E,m=ti(m)}return i.set(l,o),o}function tE(l){let{element:i,boundary:t,rootBoundary:o,strategy:a}=l,m=[...t==="clippingAncestors"?ua(i)?[]:Jy(i,this._c):[].concat(t),o],E=m[0],N=m.reduce(($,K)=>{let q=uu(i,K,a);return $.top=Ee(q.top,$.top),$.right=Lr(q.right,$.right),$.bottom=Lr(q.bottom,$.bottom),$.left=Ee(q.left,$.left),$},uu(i,E,a));return{width:N.right-N.left,height:N.bottom-N.top,x:N.left,y:N.top}}function eE(l){let{width:i,height:t}=vu(l);return{width:i,height:t}}function rE(l,i,t){let o=gr(i),a=vr(i),h=t==="fixed",m=lo(l,!0,h,i),E={scrollLeft:0,scrollTop:0},N=fr(0);function $(){N.x=Jc(a)}if(o||!o&&!h)if((ao(i)!=="body"||is(a))&&(E=fa(i)),o){let Q=lo(i,!0,h,i);N.x=Q.x+i.clientLeft,N.y=Q.y+i.clientTop}else a&&$();h&&!o&&a&&$();let K=a&&!o&&!h?bu(a,E):fr(0),q=m.left+E.scrollLeft-N.x-K.x,nt=m.top+E.scrollTop-N.y-K.y;return{x:q,y:nt,width:m.width,height:m.height}}function Xc(l){return tr(l).position==="static"}function fu(l,i){if(!gr(l)||tr(l).position==="fixed")return null;if(i)return i(l);let t=l.offsetParent;return vr(l)===t&&(t=t.ownerDocument.body),t}function Eu(l,i){let t=Me(l);if(ua(l))return t;if(!gr(l)){let a=ti(l);for(;a&&!no(a);){if(Je(a)&&!Xc(a))return a;a=ti(a)}return t}let o=fu(l,i);for(;o&&hu(o)&&Xc(o);)o=fu(o,i);return o&&no(o)&&Xc(o)&&!al(o)?t:o||pu(l)||t}var iE=async function(l){let i=this.getOffsetParent||Eu,t=this.getDimensions,o=await t(l.floating);return{reference:rE(l.reference,await i(l.floating),l.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function oE(l){return tr(l).direction==="rtl"}var sE={convertOffsetParentRelativeRectToViewportRelativeRect:jy,getDocumentElement:vr,getClippingRect:tE,getOffsetParent:Eu,getElementRects:iE,getClientRects:Ky,getDimensions:eE,getScale:os,isElement:Je,isRTL:oE};function Tu(l,i){return l.x===i.x&&l.y===i.y&&l.width===i.width&&l.height===i.height}function aE(l,i){let t=null,o,a=vr(l);function h(){var E;clearTimeout(o),(E=t)==null||E.disconnect(),t=null}function m(E,N){E===void 0&&(E=!1),N===void 0&&(N=1),h();let $=l.getBoundingClientRect(),{left:K,top:q,width:nt,height:Q}=$;if(E||i(),!nt||!Q)return;let rt=ma(q),dt=ma(a.clientWidth-(K+nt)),ft=ma(a.clientHeight-(q+Q)),Tt=ma(K),kt={rootMargin:-rt+"px "+-dt+"px "+-ft+"px "+-Tt+"px",threshold:Ee(0,Lr(1,N))||1},Ht=!0;function Ft(Vt){let Kt=Vt[0].intersectionRatio;if(Kt!==N){if(!Ht)return m();Kt?m(!1,Kt):o=setTimeout(()=>{m(!1,1e-7)},1e3)}Kt===1&&!Tu($,l.getBoundingClientRect())&&m(),Ht=!1}try{t=new IntersectionObserver(Ft,{...kt,root:a.ownerDocument})}catch{t=new IntersectionObserver(Ft,kt)}t.observe(l)}return m(!0),h}function xu(l,i,t,o){o===void 0&&(o={});let{ancestorScroll:a=!0,ancestorResize:h=!0,elementResize:m=typeof ResizeObserver=="function",layoutShift:E=typeof IntersectionObserver=="function",animationFrame:N=!1}=o,$=Qc(l),K=a||h?[...$?rs($):[],...rs(i)]:[];K.forEach(Tt=>{a&&Tt.addEventListener("scroll",t,{passive:!0}),h&&Tt.addEventListener("resize",t)});let q=$&&E?aE($,t):null,nt=-1,Q=null;m&&(Q=new ResizeObserver(Tt=>{let[St]=Tt;St&&St.target===$&&Q&&(Q.unobserve(i),cancelAnimationFrame(nt),nt=requestAnimationFrame(()=>{var kt;(kt=Q)==null||kt.observe(i)})),t()}),$&&!N&&Q.observe($),Q.observe(i));let rt,dt=N?lo(l):null;N&&ft();function ft(){let Tt=lo(l);dt&&!Tu(dt,Tt)&&t(),dt=Tt,rt=requestAnimationFrame(ft)}return t(),()=>{var Tt;K.forEach(St=>{a&&St.removeEventListener("scroll",t),h&&St.removeEventListener("resize",t)}),q==null||q(),(Tt=Q)==null||Tt.disconnect(),Q=null,N&&cancelAnimationFrame(rt)}}var Au=au;var Su=nu,_u=su,Iu=lu;var Cu=ou;var ku=(l,i,t)=>{let o=new Map,a={platform:sE,...t},h={...a.platform,_c:o};return iu(l,i,{...a,platform:h})};var cl=l=>{class i extends l{constructor(){super(...arguments);this.isBackdropInvisible=!1;this.backdropElement=null}createBackdrop(a){let h=document.createElement("div");h.classList.add(`${a}-backdrop`);let m=document.createElement("style");m.textContent=`
2122
2122
  .${a}-backdrop {
2123
2123
  position: fixed;
2124
2124
  top: 0;
@@ -2128,7 +2128,7 @@
2128
2128
  background: ${this.isBackdropInvisible?"transparent":"var(--mds-color-theme-common-overlays-secondary-normal)"};
2129
2129
  z-index: ${this.zIndex-1};
2130
2130
  }
2131
- `,h.appendChild(m);let N=document.getElementById(this.backdropAppendTo)||this.parentElement;N==null||N.appendChild(h),this.backdropElement=h}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(a){a&&(this.elementOriginalStyle={zIndex:a.style.zIndex,position:a.style.position},a.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(a).position)||(a.style.position="relative"))}moveElementBackAfterBackdropRemoval(a){!a||!this.elementOriginalStyle||(a.style.zIndex=this.elementOriginalStyle.zIndex,a.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return i};var ss=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(i){this.currentKeydownListener=i,document.addEventListener("keydown",i)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(i){this.stackArray.forEach(t=>{t!==i&&t.setIsFocusTrapActivated(!1)}),this.stack.add(i),this.removeKeydownListener(),this.addKeydownListener(i.handleTabKeydown.bind(i))}static deactivate(i){if(this.stack.has(i)&&(this.stack.delete(i),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};ss.stack=new Set,ss.currentKeydownListener=null;var ll=l=>{class i extends l{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(a){this.isFocusTrapActivated=a}activateFocusTrap(){this.setIsFocusTrapActivated(!0),ss.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),ss.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(a){return a.getClientRects().length===0}hasZeroDimensions(a){let{width:h,height:m}=a.getBoundingClientRect(),{offsetWidth:E,offsetHeight:N}=a;return E+N+m+h===0}isNotVisible(a){return this.hasZeroDimensions(a)||this.hasNoClientRects(a)}hasHiddenStyle(a){let{display:h,opacity:m,visibility:E}=a.style;return h==="none"||m==="0"||E==="hidden"||E==="collapse"}hasComputedHidden(a){let h=getComputedStyle(a);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(a){return a.hasAttribute("hidden")||a.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(a)||this.isNotVisible(a)||this.hasComputedHidden(a)}isDisabled(a){return a.disabled}isNotTabbable(a){return a.getAttribute("tabindex")==="-1"}isInteractiveElement(a){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(a.tagName)||a instanceof HTMLAnchorElement&&a.hasAttribute("href")||a instanceof HTMLInputElement&&a.type!=="hidden"||(a instanceof HTMLAudioElement||a instanceof HTMLVideoElement)&&a.hasAttribute("controls")||(a instanceof HTMLImageElement||a instanceof HTMLObjectElement)&&a.hasAttribute("usemap")||a.hasAttribute("tabindex")&&a.tabIndex>-1)}isFocusable(a){return this.isHidden(a)||this.isNotTabbable(a)||this.isDisabled(a)?!1:this.isInteractiveElement(a)}findFocusable(a,h=new Set){a instanceof HTMLElement&&this.isFocusable(a)&&h.add(a);let m=[];return a.children.length?m=Array.from(a.children):a instanceof HTMLElement&&a.shadowRoot&&(m=Array.from(a.shadowRoot.children)),m.forEach(E=>{let N=E;this.isFocusable(N)&&h.add(N),N.shadowRoot?this.findFocusable(N.shadowRoot,h):N.tagName==="SLOT"?N.assignedElements({flatten:!0}).forEach(K=>{K instanceof HTMLElement&&this.findFocusable(K,h)}):this.findFocusable(N,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(a=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[a]&&(this.focusTrapIndex=a,this.focusableElements[a].focus({preventScroll:!0}))}calculateNextIndex(a,h){let{length:m}=this.focusableElements;if(a===-1)return h>0?0:m-1;let E=a+h;return this.shouldFocusTrapWrap?(E<0&&(E=m-1),E>=m&&(E=0)):(E<0&&(E=0),E>=m&&(E=m-1)),E}getDeepActiveElement(){var h;let a=document.activeElement||document.body;for(;a instanceof HTMLElement&&((h=a.shadowRoot)!=null&&h.activeElement);)a=a.shadowRoot.activeElement;return a||document.body}findElement(a){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(a,h))}isEqualFocusNode(a,h){return a.nodeType>=0?h.isEqualNode(a)&&h===a:!1}trapFocus(a){if(this.setFocusableElements(),this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),m=this.findElement(h);a.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let N=this.focusableElements[this.focusTrapIndex];N.tagName!=="IFRAME"&&N&&(a.preventDefault(),N.focus())}handleTabKeydown(a){this.isFocusTrapActivated&&a.key==="Tab"&&this.trapFocus(a)}}return p([f({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],i.prototype,"shouldFocusTrapWrap",2),i};var cl=l=>{class i extends l{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return i};var _u=G.constructTagName("popover"),Zt={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"},co={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},ho={TONAL:"tonal",CONTRAST:"contrast"},Ct={PLACEMENT:Zt.BOTTOM,TRIGGER:co.CLICK,COLOR:ho.TONAL,OFFSET:4,BOUNDARY:"clippingAncestors",BOUNDARY_ROOT:"viewport",BOUNDARY_PADDING:0,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,DISABLE_ARIA_HAS_POPUP:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_CLOSED:!0,STRATEGY:"absolute",IS_BACKDROP_INVISIBLE:!0};var ei=class{static dispatchPopoverEvent(i,t){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(i){this.dispatchPopoverEvent("shown",i)}static onHidePopover(i){this.dispatchPopoverEvent("hidden",i)}static onCreatedPopover(i){this.dispatchPopoverEvent("created",i)}static onDestroyedPopover(i){this.dispatchPopoverEvent("destroyed",i)}static onEscapeKeyPressed(i){this.dispatchPopoverEvent("closebyescape",i)}static onClickOutside(i){this.dispatchPopoverEvent("closebyoutsideclick",i)}};var Xc=class{constructor(){this.stack=[]}push(i){this.stack.push(i)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(i){this.stack=this.stack.filter(t=>t!==i)}has(i){return this.stack.includes(i)}clear(){this.stack=[]}},Te=new Xc;var eE=H`
2131
+ `,h.appendChild(m);let N=document.getElementById(this.backdropAppendTo)||this.parentElement;N==null||N.appendChild(h),this.backdropElement=h}removeBackdrop(){this.backdropElement&&(this.backdropElement.remove(),this.backdropElement=null)}keepElementAboveBackdrop(a){a&&(this.elementOriginalStyle={zIndex:a.style.zIndex,position:a.style.position},a.style.zIndex=`${this.zIndex}`,["fixed","absolute"].includes(window.getComputedStyle(a).position)||(a.style.position="relative"))}moveElementBackAfterBackdropRemoval(a){!a||!this.elementOriginalStyle||(a.style.zIndex=this.elementOriginalStyle.zIndex,a.style.position=this.elementOriginalStyle.position,this.elementOriginalStyle=void 0)}}return i};var ss=class{static get stackArray(){return Array.from(this.stack)}static addKeydownListener(i){this.currentKeydownListener=i,document.addEventListener("keydown",i)}static removeKeydownListener(){this.currentKeydownListener&&document.removeEventListener("keydown",this.currentKeydownListener)}static activate(i){this.stackArray.forEach(t=>{t!==i&&t.setIsFocusTrapActivated(!1)}),this.stack.add(i),this.removeKeydownListener(),this.addKeydownListener(i.handleTabKeydown.bind(i))}static deactivate(i){if(this.stack.has(i)&&(this.stack.delete(i),this.removeKeydownListener(),this.stack.size>0)){let t=this.stackArray.pop();t&&(t.setIsFocusTrapActivated(!0),this.addKeydownListener(t.handleTabKeydown.bind(t)))}}};ss.stack=new Set,ss.currentKeydownListener=null;var dl=l=>{class i extends l{constructor(){super(...arguments);this.shouldFocusTrapWrap=!0;this.focusTrapIndex=-1;this.focusableElements=[];this.isFocusTrapActivated=!1}setIsFocusTrapActivated(a){this.isFocusTrapActivated=a}activateFocusTrap(){this.setIsFocusTrapActivated(!0),ss.activate(this)}deactivateFocusTrap(){this.setIsFocusTrapActivated(!1),ss.deactivate(this),this.focusTrapIndex=-1}hasNoClientRects(a){return a.getClientRects().length===0}hasZeroDimensions(a){let{width:h,height:m}=a.getBoundingClientRect(),{offsetWidth:E,offsetHeight:N}=a;return E+N+m+h===0}isNotVisible(a){return this.hasZeroDimensions(a)||this.hasNoClientRects(a)}hasHiddenStyle(a){let{display:h,opacity:m,visibility:E}=a.style;return h==="none"||m==="0"||E==="hidden"||E==="collapse"}hasComputedHidden(a){let h=getComputedStyle(a);return h.visibility==="hidden"||h.height==="0"||h.display==="none"}isHidden(a){return a.hasAttribute("hidden")||a.getAttribute("aria-hidden")==="true"||this.hasHiddenStyle(a)||this.isNotVisible(a)||this.hasComputedHidden(a)}isDisabled(a){return a.disabled}isNotTabbable(a){return a.getAttribute("tabindex")==="-1"}isInteractiveElement(a){return!!(new Set(["BUTTON","DETAILS","EMBED","IFRAME","SELECT","TEXTAREA"]).has(a.tagName)||a instanceof HTMLAnchorElement&&a.hasAttribute("href")||a instanceof HTMLInputElement&&a.type!=="hidden"||(a instanceof HTMLAudioElement||a instanceof HTMLVideoElement)&&a.hasAttribute("controls")||(a instanceof HTMLImageElement||a instanceof HTMLObjectElement)&&a.hasAttribute("usemap")||a.hasAttribute("tabindex")&&a.tabIndex>-1)}isFocusable(a){return this.isHidden(a)||this.isNotTabbable(a)||this.isDisabled(a)?!1:this.isInteractiveElement(a)}findFocusable(a,h=new Set){a instanceof HTMLElement&&this.isFocusable(a)&&h.add(a);let m=[];return a.children.length?m=Array.from(a.children):a instanceof HTMLElement&&a.shadowRoot&&(m=Array.from(a.shadowRoot.children)),m.forEach(E=>{let N=E;this.isFocusable(N)&&h.add(N),N.shadowRoot?this.findFocusable(N.shadowRoot,h):N.tagName==="SLOT"?N.assignedElements({flatten:!0}).forEach(K=>{K instanceof HTMLElement&&this.findFocusable(K,h)}):this.findFocusable(N,h)}),[...h]}setFocusableElements(){this.shadowRoot&&(this.focusableElements=this.findFocusable(this.shadowRoot,new Set))}setInitialFocus(a=0){this.setFocusableElements(),!(this.focusableElements.length===0||!this.focusTrap)&&this.focusableElements[a]&&(this.focusTrapIndex=a,this.focusableElements[a].focus({preventScroll:!0}))}calculateNextIndex(a,h){let{length:m}=this.focusableElements;if(a===-1)return h>0?0:m-1;let E=a+h;return this.shouldFocusTrapWrap?(E<0&&(E=m-1),E>=m&&(E=0)):(E<0&&(E=0),E>=m&&(E=m-1)),E}getDeepActiveElement(){var h;let a=document.activeElement||document.body;for(;a instanceof HTMLElement&&((h=a.shadowRoot)!=null&&h.activeElement);)a=a.shadowRoot.activeElement;return a||document.body}findElement(a){return this.focusableElements.findIndex(h=>this.isEqualFocusNode(a,h))}isEqualFocusNode(a,h){return a.nodeType>=0?h.isEqualNode(a)&&h===a:!1}trapFocus(a){if(this.setFocusableElements(),this.focusableElements.length===0)return;let h=this.getDeepActiveElement(),m=this.findElement(h);a.shiftKey?this.focusTrapIndex=this.calculateNextIndex(m,-1):this.focusTrapIndex=this.calculateNextIndex(m,1);let N=this.focusableElements[this.focusTrapIndex];N.tagName!=="IFRAME"&&N&&(a.preventDefault(),N.focus())}handleTabKeydown(a){this.isFocusTrapActivated&&a.key==="Tab"&&this.trapFocus(a)}}return p([u({type:Boolean,reflect:!0,attribute:"should-focus-trap-wrap"})],i.prototype,"shouldFocusTrapWrap",2),i};var hl=l=>{class i extends l{constructor(){super(...arguments);this.isPreventScrollActive=!1;this.previousDocumentBodyStyleOverflow=""}activatePreventScroll(){this.preventScroll&&!this.isPreventScrollActive&&(this.isPreventScrollActive=!0,this.previousDocumentBodyStyleOverflow=document.body.style.overflow,document.body.style.overflow="hidden")}deactivatePreventScroll(){this.isPreventScrollActive&&(this.isPreventScrollActive=!1,document.body.style.overflow=this.previousDocumentBodyStyleOverflow)}}return i};var wu=H.constructTagName("popover"),Xt={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"},co={CLICK:"click",MOUSEENTER:"mouseenter",FOCUSIN:"focusin",MANUAL:"manual"},ho={TONAL:"tonal",CONTRAST:"contrast"},Ct={PLACEMENT:Xt.BOTTOM,TRIGGER:co.CLICK,COLOR:ho.TONAL,OFFSET:4,BOUNDARY:"clippingAncestors",BOUNDARY_ROOT:"viewport",BOUNDARY_PADDING:0,VISIBLE:!1,ARROW:!1,CLOSE_BUTTON:!1,FOCUS_TRAP:!1,INTERACTIVE:!1,PREVENT_SCROLL:!1,HIDE_ON_ESCAPE:!1,HIDE_ON_BLUR:!1,HIDE_ON_CLICK_OUTSIDE:!1,FOCUS_BACK:!1,BACKDROP:!1,FLIP:!0,SIZE:!1,DELAY:"0,0",ROLE:"dialog",Z_INDEX:1e3,DISABLE_ARIA_EXPANDED:!1,DISABLE_ARIA_HAS_POPUP:!1,PROPAGATE_EVENT_ON_ESCAPE:!1,KEEP_CONNECTED_TOOLTIP_CLOSED:!0,STRATEGY:"absolute",IS_BACKDROP_INVISIBLE:!0};var ei=class{static dispatchPopoverEvent(i,t){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:!0}))}static onShowPopover(i){this.dispatchPopoverEvent("shown",i)}static onHidePopover(i){this.dispatchPopoverEvent("hidden",i)}static onCreatedPopover(i){this.dispatchPopoverEvent("created",i)}static onDestroyedPopover(i){this.dispatchPopoverEvent("destroyed",i)}static onEscapeKeyPressed(i){this.dispatchPopoverEvent("closebyescape",i)}static onClickOutside(i){this.dispatchPopoverEvent("closebyoutsideclick",i)}};var td=class{constructor(){this.stack=[]}push(i){this.stack.push(i)}pop(){return this.stack.pop()}peek(){return this.stack[this.stack.length-1]}remove(i){this.stack=this.stack.filter(t=>t!==i)}has(i){return this.stack.includes(i)}clear(){this.stack=[]}},Te=new td;var nE=U`
2132
2132
  :host {
2133
2133
  --mdc-popover-arrow-border-radius: 0.1875rem;
2134
2134
  --mdc-popover-arrow-border: 0.0625rem solid var(--mds-color-theme-outline-secondary-normal);
@@ -2249,21 +2249,21 @@
2249
2249
  border-top-right-radius: var(--mdc-popover-arrow-border-radius);
2250
2250
  border-bottom-left-radius: 100%;
2251
2251
  }
2252
- `,Iu=[eE];var dl=class{constructor(i){this.arrowPixelChange=!1;this.popover=i}setupDelay(){try{let[i,t]=this.popover.delay.split(",").map(o=>{let a=parseInt(o,10);if(Number.isNaN(a)||a<0)throw new Error(`Invalid delay value: ${o}`);return a});return[i,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(i){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let o=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,a=this.popover.offsetHeight||0,h=this.popover.offsetWidth||0;if(t)switch(i.split("-")[0]){case"top":t.style.height=o,t.style.bottom=`calc(-1 * (${o}))`,t.style.left="50%",t.style.width=`${h}px`;break;case"left":t.style.height=`${a}px`,t.style.width=o,t.style.right=`calc(-1.5 * (${o}))`;break;case"right":t.style.height=`${a}px`,t.style.width=o,t.style.left=`calc(-0.5 * (${o}))`;break;case"bottom":default:t.style.height=o,t.style.top=`calc(-1 * (${o}))`,t.style.left="50%",t.style.width=`${h}px`;break}}setupAppendTo(){if(this.popover.appendTo){let i=document.getElementById(this.popover.appendTo);i&&i.appendChild(this.popover)}}updateAriaLabels(){var i,t,o;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((i=this.popover.triggerElement)==null?void 0:i.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((o=this.popover.triggerElement)==null?void 0:o.id)||""))}updateAriaModal(){this.popover.role===tt.DIALOG||this.popover.role===tt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaHasPopupAttribute(){var i,t,o;this.popover.interactive&&!this.popover.disableAriaHasPopup?(t=this.popover.triggerElement)==null||t.setAttribute("aria-haspopup",((i=this.popover.triggerElement)==null?void 0:i.getAttribute("aria-haspopup"))||"dialog"):(o=this.popover.triggerElement)==null||o.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var i,t;this.popover.disableAriaExpanded?(i=this.popover.triggerElement)==null||i.removeAttribute("aria-expanded"):(t=this.popover.triggerElement)==null||t.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(i,t){var K;if(!this.popover.arrowElement)return;let o=t.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[o],{x:h,y:m}=i,E=this.popover.arrowElement.getBoundingClientRect(),N=(K=this.popover.arrowElement.offsetParent)==null?void 0:K.getBoundingClientRect();if(!this.arrowPixelChange){let q=N!=null&&N[a]?12-Math.abs(E[a]-N[a]):0;Math.round(q)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let $=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",o),Object.assign(this.popover.arrowElement.style,{left:h!=null?`${h}px`:"",top:m!=null?`${m}px`:"",[a]:`${-this.popover.arrowElement.offsetHeight/2-$}px`})}updatePopoverStyle(i,t){Object.assign(this.popover.style,{left:`${i}px`,top:`${t}px`})}};var _t=class _t extends nl(cl(ll(W))){constructor(){super();this.id="";this.triggerID="";this.trigger=Ct.TRIGGER;this.placement=Ct.PLACEMENT;this.color=Ct.COLOR;this.visible=Ct.VISIBLE;this.offset=Ct.OFFSET;this.boundary=Ct.BOUNDARY;this.boundaryRoot=Ct.BOUNDARY_ROOT;this.focusTrap=Ct.FOCUS_TRAP;this.preventScroll=Ct.PREVENT_SCROLL;this.showArrow=Ct.ARROW;this.closeButton=Ct.CLOSE_BUTTON;this.interactive=Ct.INTERACTIVE;this.delay=Ct.DELAY;this.hideOnEscape=Ct.HIDE_ON_ESCAPE;this.propagateEventOnEscape=Ct.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=Ct.HIDE_ON_BLUR;this.hideOnOutsideClick=Ct.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=Ct.FOCUS_BACK;this.backdrop=Ct.BACKDROP;this.isBackdropInvisible=Ct.IS_BACKDROP_INVISIBLE;this.flip=Ct.FLIP;this.size=Ct.SIZE;this.zIndex=Ct.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=Ct.STRATEGY;this.role=Ct.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=Ct.DISABLE_ARIA_EXPANDED;this.disableAriaHasPopup=Ct.DISABLE_ARIA_HAS_POPUP;this.keepConnectedTooltipClosed=Ct.KEEP_CONNECTED_TOOLTIP_CLOSED;this.arrowElement=null;this.triggerElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSupressOpening=!1;this.connectedTooltip=null;this.storeConnectedTooltip=()=>{let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);for(let o of t)if(o!==this){this.connectedTooltip=o;return}this.connectedTooltip=null};this.cleanupTrigger=()=>{var h;let a=(((h=this.trigger)==null?void 0:h.split(" "))||[]).filter(m=>Object.values(co).includes(m)).length>0?this.trigger:Ct.TRIGGER;a==="mouseenter"&&(this.interactive?a="mouseenter click":a="mouseenter focusin"),this.trigger=a};this.setupTriggerListeners=()=>{if(this.triggerElement){if(this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.togglePopoverVisible),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.addEventListener("mouseenter",this.show),this.triggerElement.addEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.handleFocusIn),this.interactive||this.triggerElement.addEventListener("focusout",this.handleFocusOut))}};this.removeTriggerListeners=()=>{var o,a,h,m,E;(o=this.triggerElement)==null||o.removeEventListener("click",this.togglePopoverVisible);let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.removeEventListener("mouseenter",this.show),(a=this.triggerElement)==null||a.removeEventListener("mouseenter",this.handleMouseEnter),(h=this.triggerElement)==null||h.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),(m=this.triggerElement)==null||m.removeEventListener("focusin",this.handleFocusIn),(E=this.triggerElement)==null||E.removeEventListener("focusout",this.handleFocusOut)};this.removeAllListeners=()=>{var t;this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),(t=this.triggerElement)==null||t.removeEventListener("keydown",this.onEscapeKeydown)),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Te.peek()!==this)return;let o=t.composedPath(),a=this.contains(t.target)||o.includes(this.triggerElement)||o.includes(this),h=this.backdropElement?o.includes(this.backdropElement):!1;(!a||h)&&(this.hide(),ei.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),ei.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=()=>{this.isHovered=!0,this.show()};this.handleMouseLeave=()=>{this.isHovered=!1,this.startCloseDelay()};this.handleFocusOut=()=>{this.isHovered||this.hide()};this.handleFocusIn=()=>{var t;((t=this.triggerElement)!=null&&t.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSupressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=()=>{this.visible?this.hide():this.show()};this.positionPopover=()=>{if(!this.triggerElement)return;let t=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),o=this.boundaryRoot,a=[Eu({boundary:t,rootBoundary:o,padding:this.boundaryPadding})],h=this.offset;if(this.flip&&a.push(Tu({boundary:t,rootBoundary:o})),this.size){let m=N=>{this.style.setProperty("--mdc-popover-internal-available-height",`${N}px`)},E=this.renderRoot.querySelector('[part="popover-content"]');a.push(xu({boundary:t,rootBoundary:o,apply({availableHeight:N}){E&&(Object.assign(E.style,{maxHeight:`${N}px`,overflowY:"auto"}),m(N))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let m=this.arrowElement.offsetHeight,E=Math.sqrt(2*m**2)/2;h+=E,a.push(Au({element:this.arrowElement,padding:12}))}a.push(yu(h)),this.floatingUICleanupFunction=bu(this.triggerElement,this,async()=>{if(!this.triggerElement)return;let{x:m,y:E,middlewareData:N,placement:$}=await Su(this.triggerElement,this,{placement:this.placement,middleware:a,strategy:this.strategy});this.utils.updatePopoverStyle(m,E),N.arrow&&this.arrowElement&&this.utils.updateArrowStyle(N.arrow,$),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge($)})};this.findClosestPopover=t=>{let o=t;for(;o&&!(o instanceof _t);)o=o.parentElement;return o};this.utils=new dl(this)}setupTriggerRelatedElement(){this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerID}"]`),this.storeConnectedTooltip()}async firstUpdated(t){super.firstUpdated(t),this.utils.setupAppendTo(),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.setupTriggerRelatedElement(),this.cleanupTrigger(),this.setupTriggerListeners(),this.style.zIndex=`${this.zIndex}`,ei.onCreatedPopover(this)}async disconnectedCallback(){var t,o;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(o=this.floatingUICleanupFunction)==null||o.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSupressOpening=!1),ei.onDestroyedPopover(this),Te.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let o=t.get("visible")||!1;await this.isOpenUpdated(o,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.cleanupTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Zt).includes(this.placement)?this.placement:Ct.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(ho).includes(this.color)?this.color:Ct.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("append-to")&&this.utils.setupAppendTo(),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),(t.has("interactive")||t.has("disableAriaHasPopup"))&&this.utils.updateAriaHasPopupAttribute(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),t.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(t,o){var a,h,m,E,N;t===o||!this.triggerElement||(o&&!this.shouldSupressOpening?(Te.peek()!==this&&Te.push(this),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSupressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(this.triggerElement)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),(a=this.triggerElement)==null||a.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),setTimeout(()=>{var $,K;this.interactive&&this.focusTrap&&(($=this.activateFocusTrap)==null||$.call(this),(K=this.setInitialFocus)==null||K.call(this))},0),ei.onShowPopover(this)):(Te.peek()===this&&Te.pop(),(h=this.floatingUICleanupFunction)==null||h.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop()),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),(m=this.triggerElement)==null||m.removeEventListener("keydown",this.onEscapeKeydown)),this.disableAriaExpanded&&this.triggerElement.removeAttribute("aria-expanded"),this.interactive||this.triggerElement.removeAttribute("aria-haspopup"),this.deactivatePreventScroll(),(E=this.deactivateFocusTrap)==null||E.call(this),this.focusBackToTrigger&&((N=this.triggerElement)==null||N.focus()),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSupressOpening=!1),ei.onHidePopover(this)))}render(){return I`
2252
+ `,Nu=[nE];var pl=class{constructor(i){this.arrowPixelChange=!1;this.popover=i}setupDelay(){try{let[i,t]=this.popover.delay.split(",").map(o=>{let a=parseInt(o,10);if(Number.isNaN(a)||a<0)throw new Error(`Invalid delay value: ${o}`);return a});return[i,t]}catch{return this.popover.delay="0,0",[0,0]}}setupHoverBridge(i){let t=this.popover.renderRoot.querySelector(".popover-hover-bridge");Object.assign(t.style,{top:"",left:"",right:"",bottom:""});let o=`calc(${this.popover.showArrow?"0.75rem + ":""}${this.popover.offset}px)`,a=this.popover.offsetHeight||0,h=this.popover.offsetWidth||0;if(t)switch(i.split("-")[0]){case"top":t.style.height=o,t.style.bottom=`calc(-1 * (${o}))`,t.style.left="50%",t.style.width=`${h}px`;break;case"left":t.style.height=`${a}px`,t.style.width=o,t.style.right=`calc(-1.5 * (${o}))`;break;case"right":t.style.height=`${a}px`,t.style.width=o,t.style.left=`calc(-0.5 * (${o}))`;break;case"bottom":default:t.style.height=o,t.style.top=`calc(-1 * (${o}))`,t.style.left="50%",t.style.width=`${h}px`;break}}setupAppendTo(){if(this.popover.appendTo){let i=document.getElementById(this.popover.appendTo);i&&i.appendChild(this.popover)}}updateAriaLabels(){var i,t,o;this.popover.interactive&&this.popover.role&&(this.popover.ariaLabel||(this.popover.ariaLabel=((i=this.popover.triggerElement)==null?void 0:i.ariaLabel)||((t=this.popover.triggerElement)==null?void 0:t.textContent)||""),this.popover.ariaLabelledby||(this.popover.ariaLabelledby=((o=this.popover.triggerElement)==null?void 0:o.id)||""))}updateAriaModal(){this.popover.role===tt.DIALOG||this.popover.role===tt.ALERTDIALOG?this.popover.setAttribute("aria-modal","true"):this.popover.removeAttribute("aria-modal")}updateAriaHasPopupAttribute(){var i,t,o;this.popover.interactive&&!this.popover.disableAriaHasPopup?(t=this.popover.triggerElement)==null||t.setAttribute("aria-haspopup",((i=this.popover.triggerElement)==null?void 0:i.getAttribute("aria-haspopup"))||"dialog"):(o=this.popover.triggerElement)==null||o.removeAttribute("aria-haspopup")}updateAriaExpandedAttribute(){var i,t;this.popover.disableAriaExpanded?(i=this.popover.triggerElement)==null||i.removeAttribute("aria-expanded"):(t=this.popover.triggerElement)==null||t.setAttribute("aria-expanded",`${this.popover.visible}`)}updateArrowStyle(i,t){var K;if(!this.popover.arrowElement)return;let o=t.split("-")[0],a={top:"bottom",right:"left",bottom:"top",left:"right"}[o],{x:h,y:m}=i,E=this.popover.arrowElement.getBoundingClientRect(),N=(K=this.popover.arrowElement.offsetParent)==null?void 0:K.getBoundingClientRect();if(!this.arrowPixelChange){let q=N!=null&&N[a]?12-Math.abs(E[a]-N[a]):0;Math.round(q)===1?this.arrowPixelChange=!0:this.arrowPixelChange=!1}let $=this.arrowPixelChange?.5:0;this.popover.arrowElement.setAttribute("data-side",o),Object.assign(this.popover.arrowElement.style,{left:h!=null?`${h}px`:"",top:m!=null?`${m}px`:"",[a]:`${-this.popover.arrowElement.offsetHeight/2-$}px`})}updatePopoverStyle(i,t){Object.assign(this.popover.style,{left:`${i}px`,top:`${t}px`})}};var _t=class _t extends cl(hl(dl(W))){constructor(){super();this.id="";this.triggerID="";this.trigger=Ct.TRIGGER;this.placement=Ct.PLACEMENT;this.color=Ct.COLOR;this.visible=Ct.VISIBLE;this.offset=Ct.OFFSET;this.boundary=Ct.BOUNDARY;this.boundaryRoot=Ct.BOUNDARY_ROOT;this.focusTrap=Ct.FOCUS_TRAP;this.preventScroll=Ct.PREVENT_SCROLL;this.showArrow=Ct.ARROW;this.closeButton=Ct.CLOSE_BUTTON;this.interactive=Ct.INTERACTIVE;this.delay=Ct.DELAY;this.hideOnEscape=Ct.HIDE_ON_ESCAPE;this.propagateEventOnEscape=Ct.PROPAGATE_EVENT_ON_ESCAPE;this.hideOnBlur=Ct.HIDE_ON_BLUR;this.hideOnOutsideClick=Ct.HIDE_ON_CLICK_OUTSIDE;this.focusBackToTrigger=Ct.FOCUS_BACK;this.backdrop=Ct.BACKDROP;this.isBackdropInvisible=Ct.IS_BACKDROP_INVISIBLE;this.flip=Ct.FLIP;this.size=Ct.SIZE;this.zIndex=Ct.Z_INDEX;this.closeButtonAriaLabel=null;this.strategy=Ct.STRATEGY;this.role=Ct.ROLE;this.ariaLabelledby=null;this.ariaDescribedby=null;this.disableAriaExpanded=Ct.DISABLE_ARIA_EXPANDED;this.disableAriaHasPopup=Ct.DISABLE_ARIA_HAS_POPUP;this.keepConnectedTooltipClosed=Ct.KEEP_CONNECTED_TOOLTIP_CLOSED;this.arrowElement=null;this.triggerElement=null;this.hoverTimer=null;this.isHovered=!1;this.openDelay=0;this.closeDelay=0;this.floatingUICleanupFunction=null;this.shouldSupressOpening=!1;this.connectedTooltip=null;this.storeConnectedTooltip=()=>{let t=this.getRootNode().querySelectorAll(`mdc-tooltip[triggerID="${this.triggerID}"]`);for(let o of t)if(o!==this){this.connectedTooltip=o;return}this.connectedTooltip=null};this.cleanupTrigger=()=>{var h;let a=(((h=this.trigger)==null?void 0:h.split(" "))||[]).filter(m=>Object.values(co).includes(m)).length>0?this.trigger:Ct.TRIGGER;a==="mouseenter"&&(this.interactive?a="mouseenter click":a="mouseenter focusin"),this.trigger=a};this.setupTriggerListeners=()=>{if(this.triggerElement){if(this.trigger.includes("click")&&this.triggerElement.addEventListener("click",this.togglePopoverVisible),this.trigger.includes("mouseenter")){let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.addEventListener("mouseenter",this.show),this.triggerElement.addEventListener("mouseenter",this.handleMouseEnter),this.triggerElement.addEventListener("mouseleave",this.handleMouseLeave),this.addEventListener("mouseenter",this.cancelCloseDelay),this.addEventListener("mouseleave",this.startCloseDelay)}this.trigger.includes("focusin")&&(this.triggerElement.addEventListener("focusin",this.handleFocusIn),this.interactive||this.triggerElement.addEventListener("focusout",this.handleFocusOut))}};this.removeTriggerListeners=()=>{var o,a,h,m,E;(o=this.triggerElement)==null||o.removeEventListener("click",this.togglePopoverVisible);let t=this.renderRoot.querySelector(".popover-hover-bridge");t==null||t.removeEventListener("mouseenter",this.show),(a=this.triggerElement)==null||a.removeEventListener("mouseenter",this.handleMouseEnter),(h=this.triggerElement)==null||h.removeEventListener("mouseleave",this.handleMouseLeave),this.removeEventListener("mouseenter",this.cancelCloseDelay),this.removeEventListener("mouseleave",this.startCloseDelay),(m=this.triggerElement)==null||m.removeEventListener("focusin",this.handleFocusIn),(E=this.triggerElement)==null||E.removeEventListener("focusout",this.handleFocusOut)};this.removeAllListeners=()=>{var t;this.removeTriggerListeners(),this.hideOnOutsideClick&&document.removeEventListener("click",this.onOutsidePopoverClick),this.hideOnEscape&&(this.removeEventListener("keydown",this.onEscapeKeydown),(t=this.triggerElement)==null||t.removeEventListener("keydown",this.onEscapeKeydown)),this.hideOnBlur&&this.removeEventListener("focusout",this.onPopoverFocusOut)};this.onOutsidePopoverClick=t=>{if(Te.peek()!==this)return;let o=t.composedPath(),a=this.contains(t.target)||o.includes(this.triggerElement)||o.includes(this),h=this.backdropElement?o.includes(this.backdropElement):!1;(!a||h)&&(this.hide(),ei.onClickOutside(this))};this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(this.propagateEventOnEscape||t.stopPropagation(),t.preventDefault(),this.hide(),ei.onEscapeKeyPressed(this))};this.onPopoverFocusOut=t=>{this.contains(t.relatedTarget)||this.hide()};this.handleMouseEnter=()=>{this.isHovered=!0,this.show()};this.handleMouseLeave=()=>{this.isHovered=!1,this.startCloseDelay()};this.handleFocusOut=()=>{this.isHovered||this.hide()};this.handleFocusIn=()=>{var t;((t=this.triggerElement)!=null&&t.matches(":focus-visible")||this.isHovered)&&this.show()};this.startCloseDelay=()=>{this.interactive?this.hoverTimer=window.setTimeout(()=>{this.visible=!1},this.closeDelay):this.hide()};this.cancelCloseDelay=()=>{this.hoverTimer&&(window.clearTimeout(this.hoverTimer),this.hoverTimer=null)};this.show=()=>{this.visible||this.shouldSupressOpening||(this.cancelCloseDelay(),this.openDelay>0?setTimeout(()=>{this.visible=!0},this.openDelay):this.visible=!0)};this.hide=()=>{this.closeDelay?setTimeout(()=>{this.visible=!1},this.closeDelay):this.visible=!1};this.togglePopoverVisible=()=>{this.visible?this.hide():this.show()};this.positionPopover=()=>{if(!this.triggerElement)return;let t=!this.boundary||this.boundary==="clippingAncestors"?"clippingAncestors":Array.from(document.querySelectorAll(this.boundary)),o=this.boundaryRoot,a=[Su({boundary:t,rootBoundary:o,padding:this.boundaryPadding})],h=this.offset;if(this.flip&&a.push(_u({boundary:t,rootBoundary:o})),this.size){let m=N=>{this.style.setProperty("--mdc-popover-internal-available-height",`${N}px`)},E=this.renderRoot.querySelector('[part="popover-content"]');a.push(Iu({boundary:t,rootBoundary:o,apply({availableHeight:N}){E&&(Object.assign(E.style,{maxHeight:`${N}px`,overflowY:"auto"}),m(N))},padding:50}))}if(this.showArrow&&(this.arrowElement=this.renderRoot.querySelector(".popover-arrow"),this.arrowElement)){let m=this.arrowElement.offsetHeight,E=Math.sqrt(2*m**2)/2;h+=E,a.push(Cu({element:this.arrowElement,padding:12}))}a.push(Au(h)),this.floatingUICleanupFunction=xu(this.triggerElement,this,async()=>{if(!this.triggerElement)return;let{x:m,y:E,middlewareData:N,placement:$}=await ku(this.triggerElement,this,{placement:this.placement,middleware:a,strategy:this.strategy});this.utils.updatePopoverStyle(m,E),N.arrow&&this.arrowElement&&this.utils.updateArrowStyle(N.arrow,$),this.trigger.includes("mouseenter")&&this.interactive&&this.utils.setupHoverBridge($)})};this.findClosestPopover=t=>{let o=t;for(;o&&!(o instanceof _t);)o=o.parentElement;return o};this.utils=new pl(this)}setupTriggerRelatedElement(){this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerID}"]`),this.storeConnectedTooltip()}async firstUpdated(t){super.firstUpdated(t),this.utils.setupAppendTo(),[this.openDelay,this.closeDelay]=this.utils.setupDelay(),this.setupTriggerRelatedElement(),this.cleanupTrigger(),this.setupTriggerListeners(),this.style.zIndex=`${this.zIndex}`,ei.onCreatedPopover(this)}async disconnectedCallback(){var t,o;super.disconnectedCallback(),this.removeAllListeners(),(t=this.deactivateFocusTrap)==null||t.call(this),this.deactivatePreventScroll(),this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop(),(o=this.floatingUICleanupFunction)==null||o.call(this),this.cancelCloseDelay(),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSupressOpening=!1),ei.onDestroyedPopover(this),Te.remove(this)}async updated(t){if(super.updated(t),t.has("visible")){let o=t.get("visible")||!1;await this.isOpenUpdated(o,this.visible),this.utils.updateAriaExpandedAttribute()}t.has("trigger")&&(this.cleanupTrigger(),this.removeTriggerListeners(),this.setupTriggerListeners()),t.has("placement")&&this.setAttribute("placement",Object.values(Xt).includes(this.placement)?this.placement:Ct.PLACEMENT),t.has("delay")&&([this.openDelay,this.closeDelay]=this.utils.setupDelay()),t.has("color")&&this.setAttribute("color",Object.values(ho).includes(this.color)?this.color:Ct.COLOR),t.has("zIndex")&&this.setAttribute("z-index",`${this.zIndex}`),t.has("append-to")&&this.utils.setupAppendTo(),(t.has("interactive")||t.has("aria-label")||t.has("aria-labelledby"))&&this.utils.updateAriaLabels(),t.has("role")&&(this.role===""&&(this.role=null),this.utils.updateAriaModal()),t.has("disableAriaExpanded")&&this.utils.updateAriaExpandedAttribute(),(t.has("interactive")||t.has("disableAriaHasPopup"))&&this.utils.updateAriaHasPopupAttribute(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap(),t.has("preventScroll")&&(!this.preventScroll&&this.visible?this.deactivatePreventScroll():this.preventScroll&&this.visible&&this.activatePreventScroll())}async isOpenUpdated(t,o){var a,h,m,E,N;t===o||!this.triggerElement||(o&&!this.shouldSupressOpening?(Te.peek()!==this&&Te.push(this),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.visible=!1,this.connectedTooltip.shouldSupressOpening=!0),this.backdrop&&!this.backdropElement&&(this.createBackdrop("popover"),this.keepElementAboveBackdrop(this.triggerElement)),this.positionPopover(),this.hideOnBlur&&(this.addEventListener("focusout",this.onPopoverFocusOut),this.trigger==="click"&&(this.triggerElement.style.pointerEvents="none")),this.hideOnEscape&&(this.addEventListener("keydown",this.onEscapeKeydown),(a=this.triggerElement)==null||a.addEventListener("keydown",this.onEscapeKeydown)),this.activatePreventScroll(),this.hideOnOutsideClick&&document.addEventListener("click",this.onOutsidePopoverClick),setTimeout(()=>{var $,K;this.interactive&&this.focusTrap&&(($=this.activateFocusTrap)==null||$.call(this),(K=this.setInitialFocus)==null||K.call(this))},0),ei.onShowPopover(this)):(Te.peek()===this&&Te.pop(),(h=this.floatingUICleanupFunction)==null||h.call(this),this.backdrop&&(this.moveElementBackAfterBackdropRemoval(this.triggerElement),this.removeBackdrop()),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),(m=this.triggerElement)==null||m.removeEventListener("keydown",this.onEscapeKeydown)),this.disableAriaExpanded&&this.triggerElement.removeAttribute("aria-expanded"),this.interactive||this.triggerElement.removeAttribute("aria-haspopup"),this.deactivatePreventScroll(),(E=this.deactivateFocusTrap)==null||E.call(this),this.focusBackToTrigger&&((N=this.triggerElement)==null||N.focus()),this.keepConnectedTooltipClosed&&this.connectedTooltip&&(this.connectedTooltip.shouldSupressOpening=!1),ei.onHidePopover(this)))}render(){return I`
2253
2253
  <div class="popover-hover-bridge"></div>
2254
2254
  ${this.closeButton?I` <mdc-button
2255
2255
  class="popover-close"
2256
2256
  prefix-icon="cancel-bold"
2257
2257
  variant="tertiary"
2258
2258
  size="20"
2259
- aria-label=${ot(this.closeButtonAriaLabel)||""}
2259
+ aria-label=${st(this.closeButtonAriaLabel)||""}
2260
2260
  @click="${this.hide}"
2261
2261
  ></mdc-button>`:j}
2262
2262
  ${this.showArrow?I`<div class="popover-arrow"></div>`:j}
2263
2263
  <div part="popover-content">
2264
2264
  <slot></slot>
2265
2265
  </div>
2266
- `}};_t.styles=[...W.styles,...Iu],p([f({type:String,reflect:!0})],_t.prototype,"id",2),p([f({type:String,reflect:!0})],_t.prototype,"triggerID",2),p([f({type:String,reflect:!0})],_t.prototype,"trigger",2),p([f({type:String,reflect:!0})],_t.prototype,"placement",2),p([f({type:String,reflect:!0})],_t.prototype,"color",2),p([f({type:Boolean,reflect:!0})],_t.prototype,"visible",2),p([f({type:Number,reflect:!0})],_t.prototype,"offset",2),p([f({type:String,reflect:!0,attribute:"boundary"})],_t.prototype,"boundary",2),p([f({type:String,reflect:!0,attribute:"boundary-root"})],_t.prototype,"boundaryRoot",2),p([f({type:Number,reflect:!0,attribute:"boundary-padding"})],_t.prototype,"boundaryPadding",2),p([f({type:Boolean,reflect:!0,attribute:"focus-trap"})],_t.prototype,"focusTrap",2),p([f({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],_t.prototype,"preventScroll",2),p([f({type:Boolean,reflect:!0,attribute:"show-arrow"})],_t.prototype,"showArrow",2),p([f({type:Boolean,reflect:!0,attribute:"close-button"})],_t.prototype,"closeButton",2),p([f({type:Boolean,reflect:!0})],_t.prototype,"interactive",2),p([f({type:String,reflect:!0})],_t.prototype,"delay",2),p([f({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],_t.prototype,"hideOnEscape",2),p([f({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],_t.prototype,"propagateEventOnEscape",2),p([f({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],_t.prototype,"hideOnBlur",2),p([f({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],_t.prototype,"hideOnOutsideClick",2),p([f({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],_t.prototype,"focusBackToTrigger",2),p([f({type:Boolean,reflect:!0})],_t.prototype,"backdrop",2),p([f({type:String,reflect:!0,attribute:"backdrop-append-to"})],_t.prototype,"backdropAppendTo",2),p([f({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],_t.prototype,"isBackdropInvisible",2),p([f({type:Boolean,reflect:!0})],_t.prototype,"flip",2),p([f({type:Boolean,reflect:!0})],_t.prototype,"size",2),p([f({type:Number,reflect:!0,attribute:"z-index"})],_t.prototype,"zIndex",2),p([f({type:String,reflect:!0,attribute:"append-to"})],_t.prototype,"appendTo",2),p([f({type:String,attribute:"close-button-aria-label",reflect:!0})],_t.prototype,"closeButtonAriaLabel",2),p([f({type:String,reflect:!0,attribute:"strategy"})],_t.prototype,"strategy",2),p([f({type:String,reflect:!0})],_t.prototype,"role",2),p([f({type:String,reflect:!0,attribute:"aria-labelledby"})],_t.prototype,"ariaLabelledby",2),p([f({type:String,reflect:!0,attribute:"aria-describedby"})],_t.prototype,"ariaDescribedby",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],_t.prototype,"disableAriaExpanded",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],_t.prototype,"disableAriaHasPopup",2),p([f({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-closed"})],_t.prototype,"keepConnectedTooltipClosed",2);var Qc=_t,Oe=Qc;var Cu=G.constructTagName("toggletip"),po={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Zt.TOP,CLICK:co.CLICK,SHOW_ARROW:!0};var rE=H`
2266
+ `}};_t.styles=[...W.styles,...Nu],p([u({type:String,reflect:!0})],_t.prototype,"id",2),p([u({type:String,reflect:!0})],_t.prototype,"triggerID",2),p([u({type:String,reflect:!0})],_t.prototype,"trigger",2),p([u({type:String,reflect:!0})],_t.prototype,"placement",2),p([u({type:String,reflect:!0})],_t.prototype,"color",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"visible",2),p([u({type:Number,reflect:!0})],_t.prototype,"offset",2),p([u({type:String,reflect:!0,attribute:"boundary"})],_t.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"boundary-root"})],_t.prototype,"boundaryRoot",2),p([u({type:Number,reflect:!0,attribute:"boundary-padding"})],_t.prototype,"boundaryPadding",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],_t.prototype,"focusTrap",2),p([u({type:Boolean,reflect:!0,attribute:"prevent-scroll"})],_t.prototype,"preventScroll",2),p([u({type:Boolean,reflect:!0,attribute:"show-arrow"})],_t.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],_t.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"interactive",2),p([u({type:String,reflect:!0})],_t.prototype,"delay",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-escape"})],_t.prototype,"hideOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"propagate-event-on-escape"})],_t.prototype,"propagateEventOnEscape",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-blur"})],_t.prototype,"hideOnBlur",2),p([u({type:Boolean,reflect:!0,attribute:"hide-on-outside-click"})],_t.prototype,"hideOnOutsideClick",2),p([u({type:Boolean,reflect:!0,attribute:"focus-back-to-trigger"})],_t.prototype,"focusBackToTrigger",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"backdrop",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],_t.prototype,"backdropAppendTo",2),p([u({type:Boolean,reflect:!0,attribute:"is-backdrop-invisible"})],_t.prototype,"isBackdropInvisible",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"flip",2),p([u({type:Boolean,reflect:!0})],_t.prototype,"size",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],_t.prototype,"zIndex",2),p([u({type:String,reflect:!0,attribute:"append-to"})],_t.prototype,"appendTo",2),p([u({type:String,attribute:"close-button-aria-label",reflect:!0})],_t.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"strategy"})],_t.prototype,"strategy",2),p([u({type:String,reflect:!0})],_t.prototype,"role",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],_t.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],_t.prototype,"ariaDescribedby",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],_t.prototype,"disableAriaExpanded",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],_t.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"keep-connected-tooltip-closed"})],_t.prototype,"keepConnectedTooltipClosed",2);var ed=_t,Oe=ed;var Lu=H.constructTagName("toggletip"),po={CLOSE_BUTTON:!0,CLOSE_BUTTON_ARIA_LABEL:"Close",OFFSET:4,PLACEMENT:Xt.TOP,CLICK:co.CLICK,SHOW_ARROW:!0};var lE=U`
2267
2267
  :host {
2268
2268
  --mdc-toggletip-max-width: 400px;
2269
2269
  --mdc-toggletip-text-color: var(--mds-color-theme-text-primary-normal);
@@ -2293,20 +2293,20 @@
2293
2293
  :host([close-button]:dir(rtl))::part(popover-content) {
2294
2294
  margin-left: 2rem;
2295
2295
  }
2296
- `,ku=[rE];var wi=class extends Oe{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=po.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:po.CLOSE_BUTTON,this.closeButtonAriaLabel=po.CLOSE_BUTTON_ARIA_LABEL,this.trigger=po.CLICK,this.showArrow=po.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,o;return((o=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:o.trim())||""}onPlacementUpdated(){Object.values(Zt).includes(this.placement)||(this.placement=po.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return I`
2296
+ `,Ru=[lE];var wi=class extends Oe{constructor(){super(...arguments);this.currentAnnouncement="";this.placement=po.PLACEMENT}connectedCallback(){var t;super.connectedCallback(),this.closeButton=(t=this.closeButton)!=null?t:po.CLOSE_BUTTON,this.closeButtonAriaLabel=po.CLOSE_BUTTON_ARIA_LABEL,this.trigger=po.CLICK,this.showArrow=po.SHOW_ARROW,this.interactive=!0,this.backdrop=!0,this.hideOnBlur=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0}getToggleTipText(){var t,o;return((o=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:o.trim())||""}onPlacementUpdated(){Object.values(Xt).includes(this.placement)||(this.placement=po.PLACEMENT)}update(t){super.update(t),t.has("placement")&&this.onPlacementUpdated(),t.has("visible")&&(this.currentAnnouncement=this.visible?this.getToggleTipText():"")}render(){return I`
2297
2297
  ${super.render()}
2298
2298
  <mdc-screenreaderannouncer
2299
- identity="${ot(this.screenreaderAnnouncerIdentity)}"
2299
+ identity="${st(this.screenreaderAnnouncerIdentity)}"
2300
2300
  announcement="${this.currentAnnouncement}"
2301
2301
  delay="300"
2302
2302
  >
2303
2303
  </mdc-screenreaderannouncer>
2304
- `}};wi.styles=[...Oe.styles,...ku],p([yn()],wi.prototype,"defaultSlotNodes",2),p([At()],wi.prototype,"currentAnnouncement",2),p([f({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],wi.prototype,"screenreaderAnnouncerIdentity",2),p([f({type:String,reflect:!0})],wi.prototype,"placement",2);var Jc=wi;var wu=G.constructTagName("screenreaderannouncer"),iE={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},as={ARIA_LIVE:iE.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var oE=[H`
2304
+ `}};wi.styles=[...Oe.styles,...Ru],p([Tn()],wi.prototype,"defaultSlotNodes",2),p([At()],wi.prototype,"currentAnnouncement",2),p([u({type:String,reflect:!0,attribute:"screenreader-announcer-identity"})],wi.prototype,"screenreaderAnnouncerIdentity",2),p([u({type:String,reflect:!0})],wi.prototype,"placement",2);var rd=wi;var Mu=H.constructTagName("screenreaderannouncer"),cE={ASSERTIVE:"assertive",POLITE:"polite",OFF:"off"},as={ARIA_LIVE:cE.POLITE,DELAY:150,IDENTITY:"mdc-screenreaderannouncer-identity",TIMEOUT:2e4};var dE=[U`
2305
2305
  :host {
2306
2306
  display: none;
2307
2307
  visibility: hidden;
2308
2308
  }
2309
- `],Nu=oE;var ri=class extends W{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=as.ARIA_LIVE;this.delay=as.DELAY;this.timeout=as.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,o,a,h){var m;if(t.length>0){let E=`mdc-screenreaderannouncer-announcement-${be()}`,N=document.createElement("div");N.id=E,N.ariaLive=h,(m=document.getElementById(this.identity))==null||m.appendChild(N);let $=window.setTimeout(()=>{let K=document.createElement("p");K.textContent=t,N.appendChild(K),this.ariaLiveAnnouncementIds.push(E);let q=window.setTimeout(()=>{var nt;(nt=document.getElementById(E))==null||nt.remove()},a);this.timeOutIds.push(q)},o);this.timeOutIds.push($)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var o;(o=document.getElementById(t))==null||o.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let o=document.createElement("style");o.textContent=`
2309
+ `],Ou=dE;var ri=class extends W{constructor(){super(...arguments);this.announcement="";this.identity="";this.dataAriaLive=as.ARIA_LIVE;this.delay=as.DELAY;this.timeout=as.TIMEOUT;this.timeOutIds=[];this.ariaLiveAnnouncementIds=[]}announce(t,o,a,h){var m;if(t.length>0){let E=`mdc-screenreaderannouncer-announcement-${be()}`,N=document.createElement("div");N.id=E,N.ariaLive=h,(m=document.getElementById(this.identity))==null||m.appendChild(N);let $=window.setTimeout(()=>{let K=document.createElement("p");K.textContent=t,N.appendChild(K),this.ariaLiveAnnouncementIds.push(E);let q=window.setTimeout(()=>{var nt;(nt=document.getElementById(E))==null||nt.remove()},a);this.timeOutIds.push(q)},o);this.timeOutIds.push($)}}clearTimeOutsAndAnnouncements(){this.timeOutIds.forEach(t=>{window.clearTimeout(t)}),this.ariaLiveAnnouncementIds.forEach(t=>{var o;(o=document.getElementById(t))==null||o.remove()})}createAnnouncementAriaLiveRegion(){let t=document.getElementById(this.identity);if(!t){t=document.createElement("div"),t.id=this.identity;let o=document.createElement("style");o.textContent=`
2310
2310
  .mdc-screenreaderannouncer__visually-hidden {
2311
2311
  clip: rect(0 0 0 0);
2312
2312
  clip-path: inset(50%);
@@ -2316,7 +2316,7 @@
2316
2316
  white-space: nowrap;
2317
2317
  width: 1px;
2318
2318
  }
2319
- `,t.appendChild(o),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=as.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=as.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};ri.styles=[...W.styles,...Nu],p([f({type:String,reflect:!0})],ri.prototype,"announcement",2),p([f({type:String,reflect:!0})],ri.prototype,"identity",2),p([f({type:String,reflect:!0,attribute:"data-aria-live"})],ri.prototype,"dataAriaLive",2),p([f({type:Number,reflect:!0})],ri.prototype,"delay",2),p([f({type:Number,reflect:!0})],ri.prototype,"timeout",2);var td=ri;td.register(wu);var sE=td;Jc.register(Cu);var aE=Jc;var re=l=>{class i extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([f({type:String,reflect:!0,attribute:"data-aria-label"})],i.prototype,"dataAriaLabel",2),i};var Pe=l=>{class i extends l{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return i.formAssociated=!0,p([f({reflect:!0,type:String})],i.prototype,"name",2),p([f({reflect:!0,type:String})],i.prototype,"value",2),p([f({reflect:!0,type:String,attribute:"validation-message"})],i.prototype,"validationMessage",2),p([Yr("input")],i.prototype,"inputElement",2),i};var Lu=G.constructTagName("formfieldwrapper"),Wt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Dt={VALIDATION:Wt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},fa={TAGNAME:gt.SPAN,TYPE:st.BODY_MIDSIZE_REGULAR,HEADER_TYPE:st.BODY_MIDSIZE_BOLD};var nE=[Et,H`
2319
+ `,t.appendChild(o),t.classList.add("mdc-screenreaderannouncer__visually-hidden"),document.body.appendChild(t)}}connectedCallback(){super.connectedCallback(),this.identity.length===0&&(this.identity=as.IDENTITY),this.createAnnouncementAriaLiveRegion()}disconnectedCallback(){super.disconnectedCallback(),this.clearTimeOutsAndAnnouncements()}updated(t){t.has("identity")&&this.identity.length===0&&(this.identity=as.IDENTITY,this.createAnnouncementAriaLiveRegion()),t.has("announcement")&&this.announcement.length>0&&(this.announce(this.announcement,this.delay,this.timeout,this.dataAriaLive),this.announcement="")}};ri.styles=[...W.styles,...Ou],p([u({type:String,reflect:!0})],ri.prototype,"announcement",2),p([u({type:String,reflect:!0})],ri.prototype,"identity",2),p([u({type:String,reflect:!0,attribute:"data-aria-live"})],ri.prototype,"dataAriaLive",2),p([u({type:Number,reflect:!0})],ri.prototype,"delay",2),p([u({type:Number,reflect:!0})],ri.prototype,"timeout",2);var id=ri;id.register(Mu);var hE=id;rd.register(Lu);var pE=rd;var re=l=>{class i extends l{constructor(){super(...arguments);this.dataAriaLabel=null}}return p([u({type:String,reflect:!0,attribute:"data-aria-label"})],i.prototype,"dataAriaLabel",2),i};var Pe=l=>{class i extends l{constructor(){super(...arguments);this.name="";this.value="";this.internals=this.attachInternals()}get form(){return this.internals.form}get validity(){return this.internals.validity}get willValidate(){return this.internals.willValidate}setValidity(){this.inputElement&&this.internals.setValidity(this.inputElement.validity,this.inputElement.validationMessage,this.inputElement)}checkValidity(){return this.setValidity(),this.internals.checkValidity()}reportValidity(){return this.setValidity(),this.internals.reportValidity()}}return i.formAssociated=!0,p([u({reflect:!0,type:String})],i.prototype,"name",2),p([u({reflect:!0,type:String})],i.prototype,"value",2),p([u({reflect:!0,type:String,attribute:"validation-message"})],i.prototype,"validationMessage",2),p([Yr("input")],i.prototype,"inputElement",2),i};var Pu=H.constructTagName("formfieldwrapper"),jt={DEFAULT:"default",ERROR:"error",PRIORITY:"priority",SUCCESS:"success",WARNING:"warning"},Dt={VALIDATION:jt.DEFAULT,HELPER_TEXT_ID:"helper-text-id",HEADING_ID:"heading-id",ICON_SIZE:20,INFO_ICON:"info-badge-filled",TOGGLETIP_PLACEMENT:"top"},va={TAGNAME:ut.SPAN,TYPE:ot.BODY_MIDSIZE_REGULAR,HEADER_TYPE:ot.BODY_MIDSIZE_BOLD};var mE=[Et,U`
2320
2320
  :host {
2321
2321
  flex-direction: column;
2322
2322
  align-items: flex-start;
@@ -2375,18 +2375,18 @@
2375
2375
  :host([help-text-type='priority']) .mdc-help-text {
2376
2376
  color: var(--mds-color-theme-text-accent-normal);
2377
2377
  }
2378
- `],Ru=nE;var Mu=l=>({[Wt.ERROR]:"error-legacy-badge-filled",[Wt.WARNING]:"warning-badge-filled",[Wt.SUCCESS]:"check-circle-badge-filled",[Wt.PRIORITY]:"priority-badge-filled",[Wt.DEFAULT]:""})[l]||"";var br=class extends zt(W){constructor(){super(...arguments);this.inputId=`mdc-el-${be()}`;this.required=!1;this.helpTextType=Dt.VALIDATION;this.toggletipPlacement=Dt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?I`<label for="${this.inputId}" id="${Dt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:I` <mdc-text
2378
+ `],Du=mE;var Fu=l=>({[jt.ERROR]:"error-legacy-badge-filled",[jt.WARNING]:"warning-badge-filled",[jt.SUCCESS]:"check-circle-badge-filled",[jt.PRIORITY]:"priority-badge-filled",[jt.DEFAULT]:""})[l]||"";var br=class extends zt(W){constructor(){super(...arguments);this.inputId=`mdc-el-${be()}`;this.required=!1;this.helpTextType=Dt.VALIDATION;this.toggletipPlacement=Dt.TOGGLETIP_PLACEMENT;this.shouldRenderLabel=!0}renderLabelElement(){return this.label?this.shouldRenderLabel?I`<label for="${this.inputId}" id="${Dt.HEADING_ID}" class="mdc-label" part="label">${this.label}</label>`:I` <mdc-text
2379
2379
  id="${Dt.HEADING_ID}"
2380
- tagname="${fa.TAGNAME}"
2381
- type="${fa.HEADER_TYPE}"
2380
+ tagname="${va.TAGNAME}"
2381
+ type="${va.HEADER_TYPE}"
2382
2382
  part="label"
2383
2383
  >${this.label}</mdc-text
2384
- >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=Mu(this.helpTextType||Dt.VALIDATION);return t&&!this.disabled?I`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?I`
2384
+ >`:j}renderHelpTextIcon(){if(!this.helpText)return j;let t=Fu(this.helpTextType||Dt.VALIDATION);return t&&!this.disabled?I`<mdc-icon part="helper-icon" size="1" length-unit="rem" name=${t}></mdc-icon>`:j}renderHelpText(){return this.helpText?I`
2385
2385
  <mdc-text
2386
2386
  id="${Dt.HELPER_TEXT_ID}"
2387
2387
  part="help-text"
2388
- tagname=${fa.TAGNAME}
2389
- type=${fa.TYPE}
2388
+ tagname=${va.TAGNAME}
2389
+ type=${va.TYPE}
2390
2390
  >
2391
2391
  ${this.helpText}
2392
2392
  </mdc-text>
@@ -2398,7 +2398,7 @@
2398
2398
  prefix-icon="${Dt.INFO_ICON}"
2399
2399
  size="${Dt.ICON_SIZE}"
2400
2400
  variant="${Pt.TERTIARY}"
2401
- aria-label="${ot(this.infoIconAriaLabel)}"
2401
+ aria-label="${st(this.infoIconAriaLabel)}"
2402
2402
  id="info-icon-id"
2403
2403
  ></mdc-button>
2404
2404
  <mdc-toggletip
@@ -2412,7 +2412,7 @@
2412
2412
  </div>`:j}renderHelperText(){return this.helpText?I`<div class="mdc-help-text" part="help-text">
2413
2413
  <slot name="help-icon">${this.renderHelpTextIcon()}</slot>
2414
2414
  <slot name="help-text">${this.renderHelpText()}</slot>
2415
- </div>`:j}};br.styles=[...W.styles,...Ru],p([f({reflect:!0,type:String})],br.prototype,"label",2),p([f({type:Boolean,reflect:!0,attribute:"required"})],br.prototype,"required",2),p([f({reflect:!0,attribute:"help-text-type"})],br.prototype,"helpTextType",2),p([f({type:String,reflect:!0,attribute:"help-text"})],br.prototype,"helpText",2),p([f({type:String,reflect:!0,attribute:"toggletip-text"})],br.prototype,"toggletipText",2),p([f({type:String,reflect:!0,attribute:"toggletip-placement"})],br.prototype,"toggletipPlacement",2),p([f({type:String,reflect:!0,attribute:"info-icon-aria-label"})],br.prototype,"infoIconAriaLabel",2);var xe=br;var lE=[H`
2415
+ </div>`:j}};br.styles=[...W.styles,...Du],p([u({reflect:!0,type:String})],br.prototype,"label",2),p([u({type:Boolean,reflect:!0,attribute:"required"})],br.prototype,"required",2),p([u({reflect:!0,attribute:"help-text-type"})],br.prototype,"helpTextType",2),p([u({type:String,reflect:!0,attribute:"help-text"})],br.prototype,"helpText",2),p([u({type:String,reflect:!0,attribute:"toggletip-text"})],br.prototype,"toggletipText",2),p([u({type:String,reflect:!0,attribute:"toggletip-placement"})],br.prototype,"toggletipPlacement",2),p([u({type:String,reflect:!0,attribute:"info-icon-aria-label"})],br.prototype,"infoIconAriaLabel",2);var xe=br;var uE=[U`
2416
2416
  :host {
2417
2417
  --mdc-checkbox-background-color-hover: var(--mds-color-theme-control-inactive-hover);
2418
2418
  --mdc-checkbox-pressed-icon-color: var(--mds-color-theme-control-inactive-pressed);
@@ -2484,7 +2484,7 @@
2484
2484
  flex-direction: column;
2485
2485
  gap: 0.25rem;
2486
2486
  }
2487
- `,...xt(!0)],Ou=lE;var mo=class extends Re(Pe(re(xe))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}handleChange(t){this.toggleState();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return I`
2487
+ `,...xt(!0)],$u=uE;var mo=class extends Re(Pe(re(xe))){constructor(){super(...arguments);this.checked=!1;this.indeterminate=!1;this.autofocus=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="text-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setFormValue(){let t=null;this.checked?t=this.value?this.value:"on":t=null,this.manageRequired(),this.internals.setFormValue(t)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}formResetCallback(){this.checked=!1,this.indeterminate=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}toggleState(){this.disabled||(this.checked=!this.checked,this.indeterminate=!1)}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}handleChange(t){this.toggleState();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}update(t){super.update(t),t.has("checked")&&this.setFormValue()}render(){var t;return I`
2488
2488
  <mdc-staticcheckbox
2489
2489
  class="mdc-focus-ring"
2490
2490
  ?checked="${this.checked}"
@@ -2495,8 +2495,8 @@
2495
2495
  id="${this.inputId}"
2496
2496
  type="checkbox"
2497
2497
  class="input"
2498
- name="${ot(this.name)}"
2499
- value="${ot(this.value)}"
2498
+ name="${st(this.name)}"
2499
+ value="${st(this.value)}"
2500
2500
  ?required="${this.required}"
2501
2501
  .checked="${this.checked}"
2502
2502
  aria-checked="${this.indeterminate?"mixed":this.checked}"
@@ -2504,20 +2504,19 @@
2504
2504
  .disabled="${this.disabled}"
2505
2505
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
2506
2506
  tabindex="${this.disabled?-1:0}"
2507
- aria-describedby="${ot(this.helpText?Dt.HELPER_TEXT_ID:"")}"
2507
+ aria-describedby="${st(this.helpText?Dt.HELPER_TEXT_ID:"")}"
2508
2508
  @change=${this.handleChange}
2509
2509
  @keydown=${this.handleKeyDown}
2510
2510
  />
2511
2511
  </mdc-staticcheckbox>
2512
2512
  ${this.renderLabelAndHelperText()}
2513
- `}};mo.styles=[...xe.styles,...Ou],p([f({type:Boolean,reflect:!0})],mo.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],mo.prototype,"indeterminate",2),p([f({type:Boolean,reflect:!0})],mo.prototype,"autofocus",2);var ed=mo;ed.register(Um);var cE=ed;var Pu=G.constructTagName("chip"),dE={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},ns={COLOR:dE.DEFAULT,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,SIZE:Zi[24],ROLE:tt.BUTTON};var hE=H`
2513
+ `}};mo.styles=[...xe.styles,...$u],p([u({type:Boolean,reflect:!0})],mo.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],mo.prototype,"indeterminate",2),p([u({type:Boolean,reflect:!0})],mo.prototype,"autofocus",2);var od=mo;od.register(Wm);var fE=od;var zu=H.constructTagName("staticchip"),sd={DEFAULT:"default",COBALT:"cobalt",GOLD:"gold",LIME:"lime",MINT:"mint",ORANGE:"orange",PINK:"pink",PURPLE:"purple",SLATE:"slate",VIOLET:"violet"},ml={COLOR:sd.DEFAULT,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:ut.SPAN};var vE=U`
2514
2514
  :host {
2515
2515
  height: 1.5rem;
2516
2516
  gap: 0.25rem;
2517
2517
  padding: 0 0.5rem;
2518
2518
  border-radius: 0.25rem;
2519
2519
  border: 1px solid;
2520
- cursor: pointer;
2521
2520
  white-space: nowrap;
2522
2521
 
2523
2522
  --mdc-chip-color: var(--mds-color-theme-text-primary-normal);
@@ -2529,6 +2528,61 @@
2529
2528
  background-color: var(--mdc-chip-background-color);
2530
2529
  }
2531
2530
 
2531
+ :host([color='cobalt']) {
2532
+ --mdc-chip-border-color: var(--mds-color-theme-outline-theme-normal);
2533
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-cobalt-normal);
2534
+ }
2535
+
2536
+ :host([color='gold']) {
2537
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-gold);
2538
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-gold-normal);
2539
+ }
2540
+
2541
+ :host([color='lime']) {
2542
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-lime);
2543
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-lime-normal);
2544
+ }
2545
+
2546
+ :host([color='mint']) {
2547
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-mint);
2548
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-mint-normal);
2549
+ }
2550
+
2551
+ :host([color='pink']) {
2552
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-pink);
2553
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-pink-normal);
2554
+ }
2555
+
2556
+ :host([color='purple']) {
2557
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-purple);
2558
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-purple-normal);
2559
+ }
2560
+
2561
+ :host([color='orange']) {
2562
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-orange);
2563
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-orange-normal);
2564
+ }
2565
+
2566
+ :host([color='slate']) {
2567
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-slate);
2568
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-slate-normal);
2569
+ }
2570
+
2571
+ :host([color='violet']) {
2572
+ --mdc-chip-border-color: var(--mds-color-theme-outline-label-violet);
2573
+ --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-normal);
2574
+ }
2575
+ `,Vu=[Et,vE];var ns=class extends Yt(W){constructor(){super(...arguments);this.color=ml.COLOR;this.label=""}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2576
+ ${this.renderIcon()}
2577
+ ${this.label?I`<mdc-text part="label" type="${ml.TEXT_TYPE}" tagname="${ml.TAG_NAME}"
2578
+ >${this.label}</mdc-text
2579
+ >`:j}
2580
+ `}};ns.styles=[...W.styles,...Vu],p([u({type:String,reflect:!0})],ns.prototype,"color",2),p([u({type:String})],ns.prototype,"label",2);var ga=ns;var Bu=H.constructTagName("chip"),ls={COLOR:sd.DEFAULT,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:ut.SPAN,SIZE:Zi[24],ROLE:tt.BUTTON};var gE=U`
2581
+ :host {
2582
+ cursor: pointer;
2583
+ height: 1.5rem;
2584
+ }
2585
+
2532
2586
  :host([color='default']:hover) {
2533
2587
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-hover);
2534
2588
  }
@@ -2537,11 +2591,6 @@
2537
2591
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
2538
2592
  }
2539
2593
 
2540
- :host([color='cobalt']) {
2541
- --mdc-chip-border-color: var(--mds-color-theme-outline-theme-normal);
2542
- --mdc-chip-background-color: var(--mds-color-theme-background-label-cobalt-normal);
2543
- }
2544
-
2545
2594
  :host([color='cobalt']:hover) {
2546
2595
  --mdc-chip-background-color: var(--mds-color-theme-background-label-cobalt-hover);
2547
2596
  }
@@ -2550,11 +2599,6 @@
2550
2599
  --mdc-chip-background-color: var(--mds-color-theme-background-label-cobalt-active);
2551
2600
  }
2552
2601
 
2553
- :host([color='gold']) {
2554
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-gold);
2555
- --mdc-chip-background-color: var(--mds-color-theme-background-label-gold-normal);
2556
- }
2557
-
2558
2602
  :host([color='gold']:hover) {
2559
2603
  --mdc-chip-background-color: var(--mds-color-theme-background-label-gold-hover);
2560
2604
  }
@@ -2563,11 +2607,6 @@
2563
2607
  --mdc-chip-background-color: var(--mds-color-theme-background-label-gold-active);
2564
2608
  }
2565
2609
 
2566
- :host([color='lime']) {
2567
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-lime);
2568
- --mdc-chip-background-color: var(--mds-color-theme-background-label-lime-normal);
2569
- }
2570
-
2571
2610
  :host([color='lime']:hover) {
2572
2611
  --mdc-chip-background-color: var(--mds-color-theme-background-label-lime-hover);
2573
2612
  }
@@ -2576,11 +2615,6 @@
2576
2615
  --mdc-chip-background-color: var(--mds-color-theme-background-label-lime-active);
2577
2616
  }
2578
2617
 
2579
- :host([color='mint']) {
2580
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-mint);
2581
- --mdc-chip-background-color: var(--mds-color-theme-background-label-mint-normal);
2582
- }
2583
-
2584
2618
  :host([color='mint']:hover) {
2585
2619
  --mdc-chip-background-color: var(--mds-color-theme-background-label-mint-hover);
2586
2620
  }
@@ -2589,11 +2623,6 @@
2589
2623
  --mdc-chip-background-color: var(--mds-color-theme-background-label-mint-active);
2590
2624
  }
2591
2625
 
2592
- :host([color='pink']) {
2593
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-pink);
2594
- --mdc-chip-background-color: var(--mds-color-theme-background-label-pink-normal);
2595
- }
2596
-
2597
2626
  :host([color='pink']:hover) {
2598
2627
  --mdc-chip-background-color: var(--mds-color-theme-background-label-pink-hover);
2599
2628
  }
@@ -2602,11 +2631,6 @@
2602
2631
  --mdc-chip-background-color: var(--mds-color-theme-background-label-pink-active);
2603
2632
  }
2604
2633
 
2605
- :host([color='purple']) {
2606
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-purple);
2607
- --mdc-chip-background-color: var(--mds-color-theme-background-label-purple-normal);
2608
- }
2609
-
2610
2634
  :host([color='purple']:hover) {
2611
2635
  --mdc-chip-background-color: var(--mds-color-theme-background-label-purple-hover);
2612
2636
  }
@@ -2615,11 +2639,6 @@
2615
2639
  --mdc-chip-background-color: var(--mds-color-theme-background-label-purple-active);
2616
2640
  }
2617
2641
 
2618
- :host([color='orange']) {
2619
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-orange);
2620
- --mdc-chip-background-color: var(--mds-color-theme-background-label-orange-normal);
2621
- }
2622
-
2623
2642
  :host([color='orange']:hover) {
2624
2643
  --mdc-chip-background-color: var(--mds-color-theme-background-label-orange-hover);
2625
2644
  }
@@ -2628,11 +2647,6 @@
2628
2647
  --mdc-chip-background-color: var(--mds-color-theme-background-label-orange-active);
2629
2648
  }
2630
2649
 
2631
- :host([color='slate']) {
2632
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-slate);
2633
- --mdc-chip-background-color: var(--mds-color-theme-background-label-slate-normal);
2634
- }
2635
-
2636
2650
  :host([color='slate']:hover) {
2637
2651
  --mdc-chip-background-color: var(--mds-color-theme-background-label-slate-hover);
2638
2652
  }
@@ -2641,11 +2655,6 @@
2641
2655
  --mdc-chip-background-color: var(--mds-color-theme-background-label-slate-active);
2642
2656
  }
2643
2657
 
2644
- :host([color='violet']) {
2645
- --mdc-chip-border-color: var(--mds-color-theme-outline-label-violet);
2646
- --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-normal);
2647
- }
2648
-
2649
2658
  :host([color='violet']:hover) {
2650
2659
  --mdc-chip-background-color: var(--mds-color-theme-background-label-violet-hover);
2651
2660
  }
@@ -2662,12 +2671,12 @@
2662
2671
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
2663
2672
  cursor: auto;
2664
2673
  }
2665
- `,Du=[Et,hE,...xt()];var ls=class extends te(pe){constructor(){super(...arguments);this.color=ns.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=ns.ROLE,this.size=ns.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2674
+ `,Uu=[Et,gE,...xt()];var cs=class extends Yt(pe){constructor(){super(...arguments);this.color=ls.COLOR;this.label=""}connectedCallback(){super.connectedCallback(),this.role=ls.ROLE,this.size=ls.SIZE,this.active=void 0,this.softDisabled=void 0}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}render(){return I`
2666
2675
  ${this.renderIcon()}
2667
- ${this.label?I`<mdc-text part="label" type="${ns.TEXT_TYPE}" tagname="${ns.TAG_NAME}"
2676
+ ${this.label?I`<mdc-text part="label" type="${ls.TEXT_TYPE}" tagname="${ls.TAG_NAME}"
2668
2677
  >${this.label}</mdc-text
2669
2678
  >`:j}
2670
- `}};ls.styles=[...W.styles,...Du],p([f({type:String,reflect:!0})],ls.prototype,"color",2),p([f({type:String})],ls.prototype,"label",2);var cs=ls;cs.register(Pu);var pE=cs;var Fu=G.constructTagName("coachmark"),uo={COLOR:ho.CONTRAST,TRIGGER:co.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var fo=class extends Oe{constructor(){super(...arguments);this.trigger=uo.TRIGGER;this.showArrow=uo.ARROW;this.closeButton=uo.CLOSE_BUTTON;this.disableAriaExpanded=uo.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=uo.COLOR,this.showArrow=uo.ARROW}};p([f({type:String,reflect:!0})],fo.prototype,"trigger",2),p([f({type:Boolean,attribute:"show-arrow"})],fo.prototype,"showArrow",2),p([f({type:Boolean,reflect:!0,attribute:"close-button"})],fo.prototype,"closeButton",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],fo.prototype,"disableAriaExpanded",2);var rd=fo;rd.register(Fu);var mE=rd;var $u=G.constructTagName("dialog"),uE={DEFAULT:"default",PROMOTIONAL:"promotional"},er={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:uE.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Ni=class{static dispatchDialogEvent(i,t,o=!0){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:o}))}static onShowDialog(i){this.dispatchDialogEvent("shown",i)}static onHideDialog(i){this.dispatchDialogEvent("hidden",i)}static onCloseDialog(i,t=!0){this.dispatchDialogEvent("close",i,t)}static onCreatedDialog(i){this.dispatchDialogEvent("created",i)}static onDestroyedDialog(i){this.dispatchDialogEvent("destroyed",i)}};var fE=H`
2679
+ `}};cs.styles=[...ga.styles,...Uu],p([u({type:String,reflect:!0})],cs.prototype,"color",2),p([u({type:String})],cs.prototype,"label",2);var ds=cs;ds.register(Bu);var bE=ds;var Hu=H.constructTagName("coachmark"),uo={COLOR:ho.CONTRAST,TRIGGER:co.MANUAL,ARROW:!0,CLOSE_BUTTON:!0,DISABLE_ARIA_EXPANDED:!0};var fo=class extends Oe{constructor(){super(...arguments);this.trigger=uo.TRIGGER;this.showArrow=uo.ARROW;this.closeButton=uo.CLOSE_BUTTON;this.disableAriaExpanded=uo.DISABLE_ARIA_EXPANDED}connectedCallback(){super.connectedCallback(),this.color=uo.COLOR,this.showArrow=uo.ARROW}};p([u({type:String,reflect:!0})],fo.prototype,"trigger",2),p([u({type:Boolean,attribute:"show-arrow"})],fo.prototype,"showArrow",2),p([u({type:Boolean,reflect:!0,attribute:"close-button"})],fo.prototype,"closeButton",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-expanded"})],fo.prototype,"disableAriaExpanded",2);var ad=fo;ad.register(Hu);var yE=ad;var Gu=H.constructTagName("dialog"),EE={DEFAULT:"default",PROMOTIONAL:"promotional"},er={VISIBLE:!1,Z_INDEX:1e3,ROLE:"dialog",SIZE:"small",HEADER_TAG_NAME:"h2",DESCRIPTION_TAG_NAME:"p",CANCEL_ICON:"cancel-bold",VARIANT:EE.DEFAULT,DISABLE_ARIA_HAS_POPUP:!1,FOCUS_TRAP:!0};var Ni=class{static dispatchDialogEvent(i,t,o=!0){t.dispatchEvent(new CustomEvent(i,{detail:{show:t.visible},composed:!0,bubbles:o}))}static onShowDialog(i){this.dispatchDialogEvent("shown",i)}static onHideDialog(i){this.dispatchDialogEvent("hidden",i)}static onCloseDialog(i,t=!0){this.dispatchDialogEvent("close",i,t)}static onCreatedDialog(i){this.dispatchDialogEvent("created",i)}static onDestroyedDialog(i){this.dispatchDialogEvent("destroyed",i)}};var TE=U`
2671
2680
  :host {
2672
2681
  --mdc-dialog-primary-background-color: var(--mds-color-theme-background-solid-primary-normal);
2673
2682
  --mdc-dialog-border-color: var(--mds-color-theme-outline-secondary-normal);
@@ -2789,22 +2798,22 @@
2789
2798
  mdc-text::part(text) {
2790
2799
  margin: 0;
2791
2800
  }
2792
- `,zu=[fE];var Bt=class extends nl(cl(ll(Xo(W)))){constructor(){super(...arguments);this.id="";this.visible=er.VISIBLE;this.zIndex=er.Z_INDEX;this.size=er.SIZE;this.variant=er.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=er.HEADER_TAG_NAME;this.descriptionTagName=er.DESCRIPTION_TAG_NAME;this.role=er.ROLE;this.disableAriaHasPopup=er.DISABLE_ARIA_HAS_POPUP;this.focusTrap=er.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,o;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(o=this.deactivateFocusTrap)==null||o.call(this),this.focusBackToTrigger(),Ni.onDestroyedDialog(this)}applyZIndex(){var t;this.style.setProperty("z-index",`${this.zIndex}`),(t=this.backdropElement)==null||t.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),Ni.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let o=t.get("visible");await this.isOpenUpdated(o,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=er.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,o;this.disableAriaHasPopup||(o=this.triggerElement)==null||o.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}closeDialog(){Ni.onCloseDialog(this,!1)}async isOpenUpdated(t,o){var a,h,m,E,N;t!==o&&(o&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(h=this.setInitialFocus)==null||h.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Ni.onShowDialog(this)):!o&&t&&(this.removeBackdrop(),(E=this.triggerElement)==null||E.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(N=this.deactivateFocusTrap)==null||N.call(this),this.focusBackToTrigger(),Ni.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return I`
2801
+ `,Yu=[TE];var Bt=class extends cl(hl(dl(Xo(W)))){constructor(){super(...arguments);this.id="";this.visible=er.VISIBLE;this.zIndex=er.Z_INDEX;this.size=er.SIZE;this.variant=er.VARIANT;this.closeButtonAriaLabel=null;this.ariaLabel=null;this.ariaLabelledby=null;this.ariaDescribedBy=null;this.ariaDescription=null;this.headerTagName=er.HEADER_TAG_NAME;this.descriptionTagName=er.DESCRIPTION_TAG_NAME;this.role=er.ROLE;this.disableAriaHasPopup=er.DISABLE_ARIA_HAS_POPUP;this.focusTrap=er.FOCUS_TRAP;this.preventScroll=!0;this.triggerElement=null;this.lastActiveElement=null;this.onEscapeKeydown=t=>{!this.visible||t.code!=="Escape"||(t.preventDefault(),t.stopPropagation(),this.closeDialog())}}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this.onEscapeKeydown.bind(this))}disconnectedCallback(){var t,o;super.disconnectedCallback(),this.removeEventListener("keydown",this.onEscapeKeydown),this.removeBackdrop(),(t=this.triggerElement)==null||t.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(o=this.deactivateFocusTrap)==null||o.call(this),this.focusBackToTrigger(),Ni.onDestroyedDialog(this)}applyZIndex(){var t;this.style.setProperty("z-index",`${this.zIndex}`),(t=this.backdropElement)==null||t.style.setProperty("z-index",`${this.zIndex-1}`)}async firstUpdated(t){super.firstUpdated(t),this.setAttribute("aria-modal","true"),this.setupAriaLabelledDescribedBy(),this.applyZIndex(),Ni.onCreatedDialog(this)}async updated(t){if(super.updated(t),t.has("triggerId")&&(this.triggerElement=this.getRootNode().querySelector(`[id="${this.triggerId}"]`),this.setupAriaHasPopup()),t.has("visible")){let o=t.get("visible");await this.isOpenUpdated(o,this.visible)}t.has("zIndex")&&(this.zIndex===null&&(this.zIndex=er.Z_INDEX),this.applyZIndex()),t.has("variant")&&this.updateFooterButtonColors(this.variant),(t.has("ariaLabel")||t.has("ariaLabelledBy")||t.has("ariaDescribedBy")||t.has("ariaDescription")||t.has("headerText")||t.has("descriptionText"))&&this.setupAriaLabelledDescribedBy(),t.has("focusTrap")&&!this.focusTrap&&this.visible&&this.deactivateFocusTrap()}setupAriaHasPopup(){var t,o;this.disableAriaHasPopup||(o=this.triggerElement)==null||o.setAttribute("aria-haspopup",((t=this.triggerElement)==null?void 0:t.getAttribute("aria-haspopup"))||"dialog")}setupAriaLabelledDescribedBy(){!this.ariaLabelledby&&!this.ariaLabel&&(this.headerText?this.setAttribute("aria-label",this.headerText):this.triggerId&&this.setAttribute("aria-labelledby",this.triggerId)),!this.ariaDescribedBy&&!this.ariaDescription&&(this.descriptionText?this.setAttribute("aria-description",this.descriptionText):this.triggerId&&this.setAttribute("aria-describedby",this.triggerId))}closeDialog(){Ni.onCloseDialog(this,!1)}async isOpenUpdated(t,o){var a,h,m,E,N;t!==o&&(o&&!t?(this.lastActiveElement=document.activeElement,this.removeBackdrop(),this.createBackdrop("dialog"),this.activatePreventScroll(),await this.updateComplete,this.focusTrap&&((a=this.activateFocusTrap)==null||a.call(this)),(h=this.setInitialFocus)==null||h.call(this),(m=this.triggerElement)==null||m.setAttribute("aria-expanded","true"),Ni.onShowDialog(this)):!o&&t&&(this.removeBackdrop(),(E=this.triggerElement)==null||E.setAttribute("aria-expanded","false"),this.deactivatePreventScroll(),(N=this.deactivateFocusTrap)==null||N.call(this),this.focusBackToTrigger(),Ni.onHideDialog(this)))}focusBackToTrigger(){this.triggerElement?this.triggerElement.focus():this.lastActiveElement&&this.lastActiveElement.focus&&this.lastActiveElement.focus()}render(){return I`
2793
2802
  ${this.headerText?I` <div part="header-section">
2794
2803
  <div part="header">
2795
2804
  <slot name="header-prefix"></slot>
2796
2805
  <mdc-text
2797
2806
  part="header-text"
2798
- tagname="${gt[this.headerTagName.toUpperCase()]}"
2799
- type="${st.BODY_LARGE_BOLD}"
2807
+ tagname="${ut[this.headerTagName.toUpperCase()]}"
2808
+ type="${ot.BODY_LARGE_BOLD}"
2800
2809
  >
2801
2810
  ${this.headerText}
2802
2811
  </mdc-text>
2803
2812
  </div>
2804
2813
  ${this.descriptionText?I`<mdc-text
2805
2814
  part="description-text"
2806
- tagname="${gt[this.descriptionTagName.toUpperCase()]}"
2807
- type="${st.BODY_MIDSIZE_REGULAR}"
2815
+ tagname="${ut[this.descriptionTagName.toUpperCase()]}"
2816
+ type="${ot.BODY_MIDSIZE_REGULAR}"
2808
2817
  >
2809
2818
  ${this.descriptionText}
2810
2819
  </mdc-text>`:j}
@@ -2814,14 +2823,14 @@
2814
2823
  prefix-icon="${er.CANCEL_ICON}"
2815
2824
  variant="${Pt.TERTIARY}"
2816
2825
  size="${Ze[20]}"
2817
- aria-label="${ot(this.closeButtonAriaLabel)||""}"
2826
+ aria-label="${st(this.closeButtonAriaLabel)||""}"
2818
2827
  @click="${this.closeDialog}"
2819
2828
  ></mdc-button>
2820
2829
  <div part="body">
2821
2830
  <slot name="dialog-body"></slot>
2822
2831
  </div>
2823
2832
  ${this.renderFooter()}
2824
- `}};Bt.styles=[...W.styles,...zu],p([f({type:String,reflect:!0})],Bt.prototype,"id",2),p([f({type:String,reflect:!0})],Bt.prototype,"triggerId",2),p([f({type:Boolean,reflect:!0})],Bt.prototype,"visible",2),p([f({type:Number,reflect:!0,attribute:"z-index"})],Bt.prototype,"zIndex",2),p([f({type:String,reflect:!0})],Bt.prototype,"size",2),p([f({type:String,reflect:!0})],Bt.prototype,"variant",2),p([f({type:String,attribute:"close-button-aria-label"})],Bt.prototype,"closeButtonAriaLabel",2),p([f({type:String,reflect:!0,attribute:"aria-label"})],Bt.prototype,"ariaLabel",2),p([f({type:String,reflect:!0,attribute:"aria-labelledby"})],Bt.prototype,"ariaLabelledby",2),p([f({type:String,reflect:!0,attribute:"aria-describedby"})],Bt.prototype,"ariaDescribedBy",2),p([f({type:String,reflect:!0,attribute:"aria-description"})],Bt.prototype,"ariaDescription",2),p([f({type:String,reflect:!0,attribute:"header-text"})],Bt.prototype,"headerText",2),p([f({type:String,reflect:!0,attribute:"description-text"})],Bt.prototype,"descriptionText",2),p([f({type:String,reflect:!0,attribute:"header-tag-name"})],Bt.prototype,"headerTagName",2),p([f({type:String,reflect:!0,attribute:"description-tag-name"})],Bt.prototype,"descriptionTagName",2),p([f({type:String,reflect:!0})],Bt.prototype,"role",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Bt.prototype,"disableAriaHasPopup",2),p([f({type:Boolean,reflect:!0,attribute:"focus-trap"})],Bt.prototype,"focusTrap",2);var id=Bt;id.register($u);var vE=id;var Vu=G.constructTagName("divider"),vo={HORIZONTAL:"horizontal",VERTICAL:"vertical"},va={SOLID:"solid",GRADIENT:"gradient"},rr={POSITIVE:"positive",NEGATIVE:"negative"},ga={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},go={ORIENTATION:vo.HORIZONTAL,VARIANT:va.SOLID,ARROW_DIRECTION:rr.NEGATIVE,BUTTON_DIRECTION:rr.NEGATIVE};var gE=[Et,H`
2833
+ `}};Bt.styles=[...W.styles,...Yu],p([u({type:String,reflect:!0})],Bt.prototype,"id",2),p([u({type:String,reflect:!0})],Bt.prototype,"triggerId",2),p([u({type:Boolean,reflect:!0})],Bt.prototype,"visible",2),p([u({type:Number,reflect:!0,attribute:"z-index"})],Bt.prototype,"zIndex",2),p([u({type:String,reflect:!0})],Bt.prototype,"size",2),p([u({type:String,reflect:!0})],Bt.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],Bt.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Bt.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"aria-labelledby"})],Bt.prototype,"ariaLabelledby",2),p([u({type:String,reflect:!0,attribute:"aria-describedby"})],Bt.prototype,"ariaDescribedBy",2),p([u({type:String,reflect:!0,attribute:"aria-description"})],Bt.prototype,"ariaDescription",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Bt.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"description-text"})],Bt.prototype,"descriptionText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],Bt.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"description-tag-name"})],Bt.prototype,"descriptionTagName",2),p([u({type:String,reflect:!0})],Bt.prototype,"role",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-haspopup"})],Bt.prototype,"disableAriaHasPopup",2),p([u({type:Boolean,reflect:!0,attribute:"focus-trap"})],Bt.prototype,"focusTrap",2);var nd=Bt;nd.register(Gu);var xE=nd;var Wu=H.constructTagName("divider"),vo={HORIZONTAL:"horizontal",VERTICAL:"vertical"},ba={SOLID:"solid",GRADIENT:"gradient"},rr={POSITIVE:"positive",NEGATIVE:"negative"},ya={UP:"arrow-up-regular",DOWN:"arrow-down-regular",LEFT:"arrow-left-regular",RIGHT:"arrow-right-regular"},go={ORIENTATION:vo.HORIZONTAL,VARIANT:ba.SOLID,ARROW_DIRECTION:rr.NEGATIVE,BUTTON_DIRECTION:rr.NEGATIVE};var AE=[Et,U`
2825
2834
  :host {
2826
2835
  --mdc-divider-background-color: var(--mds-color-theme-outline-secondary-normal);
2827
2836
  --mdc-divider-width: 0.0625rem;
@@ -3018,11 +3027,11 @@
3018
3027
  line-height: var(--mdc-divider-text-line-height);
3019
3028
  flex-shrink: 0;
3020
3029
  }
3021
- `],Bu=gE;var Li=class extends W{constructor(){super(...arguments);this.orientation=go.ORIENTATION;this.variant=go.VARIANT;this.arrowDirection=go.ARROW_DIRECTION;this.buttonPosition=go.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(va).includes(t)?t:go.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(vo).includes(t)?t:go.ORIENTATION)}ensureValidDirections(){let t=this.orientation===vo.HORIZONTAL?rr.NEGATIVE:rr.POSITIVE;Object.values(rr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(rr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let o=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",o)}}getArrowIcon(){let t=this.orientation===vo.HORIZONTAL,o=this.arrowDirection===rr.POSITIVE;return t?o?ga.UP:ga.DOWN:o?ga.RIGHT:ga.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),o=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(o.length>1)return;let a=o.some(E=>E.tagName===ta.toUpperCase()),h=o.some(E=>E.tagName===Wr.toUpperCase());a&&!h?this.setAttribute("data-type","mdc-text-divider"):!a&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return I`
3030
+ `],ju=AE;var Li=class extends W{constructor(){super(...arguments);this.orientation=go.ORIENTATION;this.variant=go.VARIANT;this.arrowDirection=go.ARROW_DIRECTION;this.buttonPosition=go.BUTTON_DIRECTION}setVariant(t){this.setAttribute("variant",Object.values(ba).includes(t)?t:go.VARIANT)}setOrientation(t){this.setAttribute("orientation",Object.values(vo).includes(t)?t:go.ORIENTATION)}ensureValidDirections(){let t=this.orientation===vo.HORIZONTAL?rr.NEGATIVE:rr.POSITIVE;Object.values(rr).includes(this.buttonPosition)||(this.buttonPosition=t),Object.values(rr).includes(this.arrowDirection)||(this.arrowDirection=t)}setGrabberButton(){this.ensureValidDirections();let t=this.querySelector("mdc-button");if(t){let o=this.getArrowIcon();t.setAttribute("variant","secondary"),t.setAttribute("prefix-icon",o)}}getArrowIcon(){let t=this.orientation===vo.HORIZONTAL,o=this.arrowDirection===rr.POSITIVE;return t?o?ya.UP:ya.DOWN:o?ya.RIGHT:ya.LEFT}update(t){super.update(t),t.has("orientation")&&this.setOrientation(this.orientation),t.has("variant")&&this.setVariant(this.variant),(t.has("orientation")||t.has("arrowDirection")||t.has("buttonPosition"))&&this.setGrabberButton()}inferDividerType(){var m;let t=(m=this.shadowRoot)==null?void 0:m.querySelector("slot"),o=(t==null?void 0:t.assignedElements({flatten:!0}))||[];if(o.length>1)return;let a=o.some(E=>E.tagName===ea.toUpperCase()),h=o.some(E=>E.tagName===Wr.toUpperCase());a&&!h?this.setAttribute("data-type","mdc-text-divider"):!a&&h&&(this.setAttribute("data-type","mdc-grabber-divider"),this.setGrabberButton())}connectedCallback(){super.connectedCallback(),this.setAttribute("data-type","mdc-primary-divider")}render(){return I`
3022
3031
  <div></div>
3023
3032
  <slot @slotchange=${this.inferDividerType}></slot>
3024
3033
  <div></div>
3025
- `}};Li.styles=[...W.styles,...Bu],p([f({type:String,reflect:!0})],Li.prototype,"orientation",2),p([f({type:String,reflect:!0})],Li.prototype,"variant",2),p([f({type:String,attribute:"arrow-direction",reflect:!0})],Li.prototype,"arrowDirection",2),p([f({type:String,attribute:"button-position",reflect:!0})],Li.prototype,"buttonPosition",2);var od=Li;od.register(Vu);var bE=od;var yE=H`
3034
+ `}};Li.styles=[...W.styles,...ju],p([u({type:String,reflect:!0})],Li.prototype,"orientation",2),p([u({type:String,reflect:!0})],Li.prototype,"variant",2),p([u({type:String,attribute:"arrow-direction",reflect:!0})],Li.prototype,"arrowDirection",2),p([u({type:String,attribute:"button-position",reflect:!0})],Li.prototype,"buttonPosition",2);var ld=Li;ld.register(Wu);var SE=ld;var _E=U`
3026
3035
  :host([selected]) {
3027
3036
  border: 2px solid;
3028
3037
  --mdc-chip-background-color: var(--mds-color-theme-background-label-default-active);
@@ -3044,7 +3053,7 @@
3044
3053
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3045
3054
  cursor: auto;
3046
3055
  }
3047
- `,Uu=[yE];var Hu=G.constructTagName("filterchip"),sd={ICON_NAME:"check-bold",COLOR:"default"};var ba=class extends cs{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=sd.COLOR}setSelected(t){t?(this.iconName=sd.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(t){super.update(t),t.has("selected")&&this.setSelected(this.selected)}};ba.styles=[...cs.styles,...Uu],p([f({type:Boolean,reflect:!0})],ba.prototype,"selected",2);var ad=ba;ad.register(Hu);var EE=ad;var TE=H`
3056
+ `,Ku=[_E];var qu=H.constructTagName("filterchip"),cd={ICON_NAME:"check-bold",COLOR:"default"};var Ea=class extends ds{constructor(){super(...arguments);this.selected=!1}connectedCallback(){super.connectedCallback(),this.color=cd.COLOR}setSelected(t){t?(this.iconName=cd.ICON_NAME,this.setAttribute("aria-pressed","true")):(this.iconName=void 0,this.setAttribute("aria-pressed","false"))}executeAction(){this.selected=!this.selected}update(t){super.update(t),t.has("selected")&&this.setSelected(this.selected)}};Ea.styles=[...ds.styles,...Ku],p([u({type:Boolean,reflect:!0})],Ea.prototype,"selected",2);var dd=Ea;dd.register(qu);var IE=dd;var CE=U`
3048
3057
  :host::part(container) {
3049
3058
  display: flex;
3050
3059
  flex-direction: column;
@@ -3060,18 +3069,18 @@
3060
3069
  :host::part(label-text) {
3061
3070
  font-weight: bold;
3062
3071
  }
3063
- `,Gu=[TE];var hl=class extends re(xe){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return I`
3072
+ `,Zu=[CE];var ul=class extends re(xe){constructor(){super(...arguments);this.isRadio=!1}connectedCallback(){super.connectedCallback(),this.shouldRenderLabel=!1,this.disabled=void 0}render(){var t;return I`
3064
3073
  <div
3065
3074
  part="container"
3066
3075
  role="${this.isRadio?tt.RADIOGROUP:tt.GROUP}"
3067
3076
  aria-labelledby="${Dt.HEADING_ID}"
3068
- aria-describedby="${ot(this.helpText?Dt.HELPER_TEXT_ID:"")}"
3077
+ aria-describedby="${st(this.helpText?Dt.HELPER_TEXT_ID:"")}"
3069
3078
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
3070
3079
  >
3071
3080
  <div part="group-header">${this.renderLabel()} ${this.renderHelperText()}</div>
3072
3081
  <slot></slot>
3073
3082
  </div>
3074
- `}};hl.styles=[...xe.styles,...Gu];var nd=hl;var Yu=G.constructTagName("formfieldgroup");nd.register(Yu);var pl=nd;Qs.register(In);var xE=Qs;var Wu=eo(class extends Ii{constructor(l){if(super(l),l.type!==mr.PROPERTY&&l.type!==mr.ATTRIBUTE&&l.type!==mr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ln(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Ne||i===j)return i;let t=l.element,o=l.name;if(l.type===mr.PROPERTY){if(i===t[o])return Ne}else if(l.type===mr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(o))return Ne}else if(l.type===mr.ATTRIBUTE&&t.getAttribute(o)===i+"")return Ne;return rm(l),i}});xe.register(Lu);var ir=xe;var ju=G.constructTagName("input"),ml={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},ld={OFF:"off",ON:"on"},ds={PASSWORD:"password",TEXT:"text",SEARCH:"search"},Ku={MAX_LENGTH:10,VALIDATION:Wt.ERROR},ii={VALIDATION:Wt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Pt.TERTIARY,CLEAR_BUTTON_SIZE:Ze[20],PREFIX_TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:gt.SPAN,AUTO_COMPLETE:ld.OFF,INPUT_TYPE:ds.TEXT};var AE=[H`
3083
+ `}};ul.styles=[...xe.styles,...Zu];var hd=ul;var Xu=H.constructTagName("formfieldgroup");hd.register(Xu);var fl=hd;Js.register(kn);var kE=Js;var Qu=eo(class extends Ii{constructor(l){if(super(l),l.type!==mr.PROPERTY&&l.type!==mr.ATTRIBUTE&&l.type!==mr.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Mn(l))throw Error("`live` bindings can only contain a single expression")}render(l){return l}update(l,[i]){if(i===Ne||i===j)return i;let t=l.element,o=l.name;if(l.type===mr.PROPERTY){if(i===t[o])return Ne}else if(l.type===mr.BOOLEAN_ATTRIBUTE){if(!!i===t.hasAttribute(o))return Ne}else if(l.type===mr.ATTRIBUTE&&t.getAttribute(o)===i+"")return Ne;return am(l),i}});xe.register(Pu);var ir=xe;var Ju=H.constructTagName("input"),vl={OFF:"off",NONE:"none",ON:"on",SENTENCES:"sentences",WORDS:"words",CHARACTERS:"characters"},pd={OFF:"off",ON:"on"},hs={PASSWORD:"password",TEXT:"text",SEARCH:"search"},tf={MAX_LENGTH:10,VALIDATION:jt.ERROR},ii={VALIDATION:jt.DEFAULT,ICON_SIZE_VALUE:1,ICON_SIZE_UNIT:"rem",CLEAR_BUTTON_ICON:"cancel-bold",CLEAR_BUTTON_VARIANT:Pt.TERTIARY,CLEAR_BUTTON_SIZE:Ze[20],PREFIX_TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,PREFIX_TEXT_TAG:ut.SPAN,AUTO_COMPLETE:pd.OFF,INPUT_TYPE:hs.TEXT};var wE=[U`
3075
3084
  :host {
3076
3085
  --mdc-input-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
3077
3086
  --mdc-input-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -3194,7 +3203,7 @@
3194
3203
  opacity: 0;
3195
3204
  pointer-events: none;
3196
3205
  }
3197
- `,...xt(!0)],qu=AE;var ie=class extends Re(Pe(re(ir))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=ml.OFF;this.autocomplete=ld.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,o,a){super.attributeChangedCallback(t,o,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?I`
3206
+ `,...xt(!0)],ef=wE;var ie=class extends Re(Pe(re(ir))){constructor(){super(...arguments);this.placeholder="";this.readonly=!1;this.trailingButton=!1;this.autocapitalize=vl.OFF;this.autocomplete=pd.OFF;this.clearAriaLabel=""}connectedCallback(){super.connectedCallback(),this.updateComplete.then(()=>{this.inputElement&&(this.setInputValidity(),this.internals.setFormValue(this.inputElement.value))}).catch(t=>{this.onerror&&this.onerror(t)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.value="",this.inputElement.value="",this.setInputValidity(),this.requestUpdate()}formStateRestoreCallback(t){this.value=t}attributeChangedCallback(t,o,a){super.attributeChangedCallback(t,o,a),t==="validation-message"&&this.updateComplete.then(()=>{this.setInputValidity()}).catch(h=>{this.onerror&&this.onerror(h)})}setInputValidity(){this.inputElement.setCustomValidity(""),!this.inputElement.validity.valid&&this.validationMessage&&this.inputElement.setCustomValidity(this.validationMessage),this.setValidity()}updateValue(){this.value=this.inputElement.value,this.internals.setFormValue(this.inputElement.value)}onInput(){this.updateValue(),this.setInputValidity(),this.checkValidity()}onChange(t){this.updateValue(),this.setInputValidity();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}renderLeadingIcon(){return this.leadingIcon?I`
3198
3207
  <mdc-icon
3199
3208
  class="leading-icon"
3200
3209
  part="leading-icon"
@@ -3210,7 +3219,7 @@
3210
3219
  type="${ii.PREFIX_TEXT_TYPE}"
3211
3220
  aria-hidden="true"
3212
3221
  >
3213
- ${this.prefixText.slice(0,Ku.MAX_LENGTH)}
3222
+ ${this.prefixText.slice(0,tf.MAX_LENGTH)}
3214
3223
  </mdc-text>
3215
3224
  `:j}clearInputText(){var t;this.value="",(t=this.inputElement)==null||t.focus(),this.dispatchEvent(new CustomEvent("clear",{bubbles:!0,composed:!0}))}renderTrailingButton(t=!1){let o=t||this.value&&this.trailingButton;return o?I`
3216
3225
  <mdc-button
@@ -3229,22 +3238,22 @@
3229
3238
  part="mdc-input"
3230
3239
  id="${this.inputId}"
3231
3240
  name="${this.name}"
3232
- .value="${Wu(this.value)}"
3241
+ .value="${Qu(this.value)}"
3233
3242
  ?disabled="${this.disabled}"
3234
3243
  ?readonly="${this.readonly}"
3235
3244
  ?required="${this.required}"
3236
3245
  type="${t}"
3237
- aria-describedby="${ot(this.helpText?Dt.HELPER_TEXT_ID:"")}"
3246
+ aria-describedby="${st(this.helpText?Dt.HELPER_TEXT_ID:"")}"
3238
3247
  aria-invalid="${this.helpTextType==="error"?"true":"false"}"
3239
- placeholder=${ot(a)}
3240
- minlength=${ot(this.minlength)}
3241
- maxlength=${ot(this.maxlength)}
3248
+ placeholder=${st(a)}
3249
+ minlength=${st(this.minlength)}
3250
+ maxlength=${st(this.maxlength)}
3242
3251
  autocapitalize=${this.autocapitalize}
3243
3252
  autocomplete=${this.autocomplete}
3244
- dirname=${ot(this.dirname)}
3245
- pattern=${ot(this.pattern)}
3246
- list=${ot(this.list)}
3247
- size=${ot(this.size)}
3253
+ dirname=${st(this.dirname)}
3254
+ pattern=${st(this.pattern)}
3255
+ list=${st(this.list)}
3256
+ size=${st(this.size)}
3248
3257
  @input=${this.onInput}
3249
3258
  @change=${this.onChange}
3250
3259
  @keydown=${this.handleKeyDown}
@@ -3259,7 +3268,7 @@
3259
3268
  <slot name="trailing-button">${this.renderTrailingButton()}</slot>
3260
3269
  </div>
3261
3270
  ${this.helpText?this.renderHelperText():j}
3262
- `}};ie.styles=[...ir.styles,...qu],p([f({type:String})],ie.prototype,"placeholder",2),p([f({type:Boolean})],ie.prototype,"readonly",2),p([f({type:String,attribute:"prefix-text"})],ie.prototype,"prefixText",2),p([f({type:String,attribute:"leading-icon"})],ie.prototype,"leadingIcon",2),p([f({type:Boolean,attribute:"trailing-button"})],ie.prototype,"trailingButton",2),p([f({type:Number})],ie.prototype,"maxlength",2),p([f({type:Number})],ie.prototype,"minlength",2),p([f({type:String})],ie.prototype,"autocapitalize",2),p([f({type:String})],ie.prototype,"autocomplete",2),p([f({type:String})],ie.prototype,"dirname",2),p([f({type:String})],ie.prototype,"pattern",2),p([f({type:String})],ie.prototype,"list",2),p([f({type:Number})],ie.prototype,"size",2),p([f({type:String,attribute:"clear-aria-label"})],ie.prototype,"clearAriaLabel",2);var oi=ie;oi.register(ju);var SE=oi;var _E=H`
3271
+ `}};ie.styles=[...ir.styles,...ef],p([u({type:String})],ie.prototype,"placeholder",2),p([u({type:Boolean})],ie.prototype,"readonly",2),p([u({type:String,attribute:"prefix-text"})],ie.prototype,"prefixText",2),p([u({type:String,attribute:"leading-icon"})],ie.prototype,"leadingIcon",2),p([u({type:Boolean,attribute:"trailing-button"})],ie.prototype,"trailingButton",2),p([u({type:Number})],ie.prototype,"maxlength",2),p([u({type:Number})],ie.prototype,"minlength",2),p([u({type:String})],ie.prototype,"autocapitalize",2),p([u({type:String})],ie.prototype,"autocomplete",2),p([u({type:String})],ie.prototype,"dirname",2),p([u({type:String})],ie.prototype,"pattern",2),p([u({type:String})],ie.prototype,"list",2),p([u({type:Number})],ie.prototype,"size",2),p([u({type:String,attribute:"clear-aria-label"})],ie.prototype,"clearAriaLabel",2);var oi=ie;oi.register(Ju);var NE=oi;var LE=U`
3263
3272
  :host {
3264
3273
  height: 1.5rem;
3265
3274
  gap: 0.25rem;
@@ -3290,9 +3299,9 @@
3290
3299
  --mdc-chip-color: var(--mds-color-theme-text-primary-disabled);
3291
3300
  cursor: auto;
3292
3301
  }
3293
- `,Zu=[Et,_E];var ul=G.constructTagName("inputchip"),fl={TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,CLOSE_ICON:"cancel-bold"};var bo=class extends te(zt(W)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?I` <mdc-icon name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return I`
3302
+ `,rf=[Et,LE];var gl=H.constructTagName("inputchip"),bl={TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:ut.SPAN,CLOSE_ICON:"cancel-bold"};var bo=class extends Yt(zt(W)){constructor(){super(...arguments);this.label="";this.error=!1;this.clearAriaLabel=""}renderIcon(){return this.iconName?I` <mdc-icon part="icon" name="${this.iconName}" length-unit="rem" size="1"></mdc-icon> `:j}handleClose(){this.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))}render(){return I`
3294
3303
  ${this.renderIcon()}
3295
- ${this.label?I`<mdc-text part="label" type="${fl.TEXT_TYPE}" tagname="${fl.TAG_NAME}"
3304
+ ${this.label?I`<mdc-text part="label" type="${bl.TEXT_TYPE}" tagname="${bl.TAG_NAME}"
3296
3305
  >${this.label}</mdc-text
3297
3306
  >`:j}
3298
3307
  <mdc-button
@@ -3300,11 +3309,11 @@
3300
3309
  variant="tertiary"
3301
3310
  part="close-icon"
3302
3311
  aria-label="${this.clearAriaLabel}"
3303
- prefix-icon="${fl.CLOSE_ICON}"
3312
+ prefix-icon="${bl.CLOSE_ICON}"
3304
3313
  size="20"
3305
3314
  @click="${this.handleClose}"
3306
3315
  ></mdc-button>
3307
- `}};bo.styles=[...W.styles,...Zu],p([f({type:String})],bo.prototype,"label",2),p([f({type:Boolean})],bo.prototype,"error",2),p([f({type:String,attribute:"clear-aria-label"})],bo.prototype,"clearAriaLabel",2);var cd=bo;cd.register(ul);var IE=cd;var CE=H`
3316
+ `}};bo.styles=[...W.styles,...rf],p([u({type:String})],bo.prototype,"label",2),p([u({type:Boolean})],bo.prototype,"error",2),p([u({type:String,attribute:"clear-aria-label"})],bo.prototype,"clearAriaLabel",2);var md=bo;md.register(gl);var RE=md;var ME=U`
3308
3317
  :host {
3309
3318
  gap: 0.25rem;
3310
3319
  }
@@ -3362,10 +3371,10 @@
3362
3371
  text-decoration: var(--mds-font-apps-body-small-regular-underline-text-decoration);
3363
3372
  text-transform: var(--mds-font-apps-body-small-regular-underline-text-case);
3364
3373
  }
3365
- `,Xu=[CE];var ya=class extends te(ki){constructor(){super(...arguments);this.size=Om.LINK_SIZE}getIconSize(){switch(this.size){case Gn.SMALL:return Yn.SMALL;case Gn.MIDSIZE:return Yn.MIDSIZE;default:return Yn.LARGE}}render(){return I`
3374
+ `,of=[ME];var Ta=class extends Yt(ki){constructor(){super(...arguments);this.size=$m.LINK_SIZE}getIconSize(){switch(this.size){case Wn.SMALL:return jn.SMALL;case Wn.MIDSIZE:return jn.MIDSIZE;default:return jn.LARGE}}render(){return I`
3366
3375
  <slot></slot>
3367
3376
  ${this.iconName?I` <mdc-icon name=${this.iconName} size=${this.getIconSize()} length-unit="rem"></mdc-icon> `:j}
3368
- `}};ya.styles=[...ki.styles,...Xu],p([f({type:String,reflect:!0})],ya.prototype,"size",2);var Ea=ya;Ea.register(Hn);var kE=Ea;var Qu=G.constructTagName("linkbutton"),hs={12:12,14:14,16:16},ps={SIZE:hs[16],ROLE:tt.BUTTON,INLINE:qo.INLINE,INVERTED:qo.INVERTED};var Ju=l=>{switch(l){case hs[12]:return .75;case hs[14]:return .875;default:return 1}};var wE=H`
3377
+ `}};Ta.styles=[...ki.styles,...of],p([u({type:String,reflect:!0})],Ta.prototype,"size",2);var xa=Ta;xa.register(Yn);var OE=xa;var sf=H.constructTagName("linkbutton"),ps={12:12,14:14,16:16},ms={SIZE:ps[16],ROLE:tt.BUTTON,INLINE:qo.INLINE,INVERTED:qo.INVERTED};var af=l=>{switch(l){case ps[12]:return .75;case ps[14]:return .875;default:return 1}};var PE=U`
3369
3378
  :host {
3370
3379
  --mdc-link-color-disabled: var(--mds-color-theme-text-primary-disabled);
3371
3380
  gap: 0.25rem;
@@ -3428,10 +3437,10 @@
3428
3437
  :host([soft-disabled]) {
3429
3438
  color: var(--mdc-link-color-disabled);
3430
3439
  }
3431
- `,tf=[wE];var yo=class extends te(pe){constructor(){super(...arguments);this.size=ps.SIZE;this.inline=ps.INLINE;this.inverted=ps.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=ps.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(hs).includes(t)?`${t}`:ps.SIZE.toString())}render(){return I`
3440
+ `,nf=[PE];var yo=class extends Yt(pe){constructor(){super(...arguments);this.size=ms.SIZE;this.inline=ms.INLINE;this.inverted=ms.INVERTED}connectedCallback(){super.connectedCallback(),this.active=void 0,this.role=ms.ROLE}update(t){super.update(t),t.has("size")&&this.setSize(this.size)}setSize(t){this.setAttribute("size",Object.values(ps).includes(t)?`${t}`:ms.SIZE.toString())}render(){return I`
3432
3441
  <slot></slot>
3433
- ${this.iconName?I` <mdc-icon name=${this.iconName} size=${Ju(this.size)} length-unit="rem"></mdc-icon> `:j}
3434
- `}};yo.styles=[...Ea.styles,...tf],p([f({type:Number,reflect:!0})],yo.prototype,"size",2),p([f({type:Boolean,reflect:!0})],yo.prototype,"inline",2),p([f({type:Boolean,reflect:!0})],yo.prototype,"inverted",2);var dd=yo;dd.register(Qu);var NE=dd;ki.register(Lm);var LE=ki;var vl=G.constructTagName("listitem"),Ta={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},ef={VARIANT:Ta.FULL_WIDTH};var RE=H`
3442
+ ${this.iconName?I` <mdc-icon name=${this.iconName} size=${af(this.size)} length-unit="rem"></mdc-icon> `:j}
3443
+ `}};yo.styles=[...xa.styles,...nf],p([u({type:Number,reflect:!0})],yo.prototype,"size",2),p([u({type:Boolean,reflect:!0})],yo.prototype,"inline",2),p([u({type:Boolean,reflect:!0})],yo.prototype,"inverted",2);var ud=yo;ud.register(sf);var DE=ud;ki.register(Pm);var FE=ki;var yl=H.constructTagName("listitem"),Aa={FULL_WIDTH:"full-width",INSET_PILL:"inset-pill",INSET_RECTANGLE:"inset-rectangle"},lf={VARIANT:Aa.FULL_WIDTH};var $E=U`
3435
3444
  :host {
3436
3445
  display: flex;
3437
3446
  flex-direction: column;
@@ -3442,11 +3451,11 @@
3442
3451
  flex-direction: column;
3443
3452
  gap: 0rem;
3444
3453
  }
3445
- `,rf=[RE];var xa=class extends W{constructor(){super(),this.addEventListener("keydown",this.handleKeyDown)}connectedCallback(){super.connectedCallback(),this.setAttribute("role",tt.LIST)}handleKeyDown(i){var a;let t=this.getCurrentIndex(i.target),o=this.getNewIndexBasedOnKey(i.key,t,this.listItems.length);o!==void 0&&((a=this.listItems[o])==null||a.focus(),this.resetTabIndexAndSetActiveTabIndex(o))}getCurrentIndex(i){return this.listItems.findIndex(t=>t===i||t===i.parentElement)}getNewIndexBasedOnKey(i,t,o){switch(i){case J.ARROW_DOWN:return(t+1)%o;case J.ARROW_UP:return(t-1+o)%o;case J.HOME:return 0;case J.END:return o-1;default:return}}handleMouseClick(i){let t=this.getCurrentIndex(i.target);this.resetTabIndexAndSetActiveTabIndex(t)}resetTabIndexAndSetActiveTabIndex(i){this.listItems.forEach((t,o)=>{let a=i===o?"0":"-1";t==null||t.setAttribute("tabindex",a)})}firstUpdated(){this.resetTabIndexAndSetActiveTabIndex(0)}render(){return I`
3454
+ `,cf=[$E];var Sa=class extends W{constructor(){super(),this.addEventListener("keydown",this.handleKeyDown)}connectedCallback(){super.connectedCallback(),this.setAttribute("role",tt.LIST)}handleKeyDown(i){var a;let t=this.getCurrentIndex(i.target),o=this.getNewIndexBasedOnKey(i.key,t,this.listItems.length);o!==void 0&&((a=this.listItems[o])==null||a.focus(),this.resetTabIndexAndSetActiveTabIndex(o))}getCurrentIndex(i){return this.listItems.findIndex(t=>t===i||t===i.parentElement)}getNewIndexBasedOnKey(i,t,o){switch(i){case J.ARROW_DOWN:return(t+1)%o;case J.ARROW_UP:return(t-1+o)%o;case J.HOME:return 0;case J.END:return o-1;default:return}}handleMouseClick(i){let t=this.getCurrentIndex(i.target);this.resetTabIndexAndSetActiveTabIndex(t)}resetTabIndexAndSetActiveTabIndex(i){this.listItems.forEach((t,o)=>{let a=i===o?"0":"-1";t==null||t.setAttribute("tabindex",a)})}firstUpdated(){this.resetTabIndexAndSetActiveTabIndex(0)}render(){return I`
3446
3455
  <slot name="list-header"></slot>
3447
3456
  <!-- make the container slot role presentation to keep it ignored in a11y tree -->
3448
3457
  <slot part="container" @click="${this.handleMouseClick}" role="presentation"></slot>
3449
- `}};xa.styles=[...W.styles,...rf],p([Lt({selector:`${vl}:not([disabled])`})],xa.prototype,"listItems",2);var hd=xa;var of=G.constructTagName("list");hd.register(of);var pd=hd;var ME=H`
3458
+ `}};Sa.styles=[...W.styles,...cf],p([Lt({selector:`${yl}:not([disabled])`})],Sa.prototype,"listItems",2);var fd=Sa;var df=H.constructTagName("list");fd.register(df);var vd=fd;var zE=U`
3450
3459
  :host {
3451
3460
  --mdc-listheader-padding: 0.5rem 0.75rem;
3452
3461
  --mdc-listheader-gap: 0.5rem;
@@ -3473,7 +3482,7 @@
3473
3482
  :host::part(postfix-icon) {
3474
3483
  flex-shrink: 0;
3475
3484
  }
3476
- `,sf=[ME];var Ri=class extends W{constructor(){super(...arguments);this.disabled=!1}render(){return I`
3485
+ `,hf=[zE];var Ri=class extends W{constructor(){super(...arguments);this.disabled=!1}render(){return I`
3477
3486
  ${this.prefixIcon?I`<mdc-icon
3478
3487
  part="prefix-icon"
3479
3488
  name="${this.prefixIcon}"
@@ -3492,7 +3501,7 @@
3492
3501
  size="1"
3493
3502
  length-unit="rem"
3494
3503
  ></mdc-icon>`:j}
3495
- `}};Ri.styles=[...W.styles,...sf],p([f({type:String,attribute:"prefix-icon"})],Ri.prototype,"prefixIcon",2),p([f({type:String,attribute:"postfix-icon"})],Ri.prototype,"postfixIcon",2),p([f({type:String,attribute:"header-text"})],Ri.prototype,"headerText",2),p([f({type:Boolean,reflect:!0})],Ri.prototype,"disabled",2);var md=Ri;var af=G.constructTagName("listheader");md.register(af);var OE=md;var or={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var nf=l=>{class i extends l{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(or.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(or.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(o){this.dispatchEvent(new CustomEvent(or.MODIFIED,{detail:{change:o},bubbles:!0,composed:!0}))}}return i};var Aa=class{static dispatchListItemEvent(i,t){t.dispatchEvent(new Event(i,{composed:!0,bubbles:!0}))}static onDisableListItem(i){this.dispatchListItemEvent("disabled",i)}static onEnableListItem(i){this.dispatchListItemEvent("enabled",i)}static onCreatedListItem(i){setTimeout(()=>{this.dispatchListItemEvent("created",i)},0)}static onDestroyedListItem(i){this.dispatchListItemEvent("destroyed",i)}};var PE=H`
3504
+ `}};Ri.styles=[...W.styles,...hf],p([u({type:String,attribute:"prefix-icon"})],Ri.prototype,"prefixIcon",2),p([u({type:String,attribute:"postfix-icon"})],Ri.prototype,"postfixIcon",2),p([u({type:String,attribute:"header-text"})],Ri.prototype,"headerText",2),p([u({type:Boolean,reflect:!0})],Ri.prototype,"disabled",2);var gd=Ri;var pf=H.constructTagName("listheader");gd.register(pf);var VE=gd;var or={CREATED:"created",DESTROYED:"destroyed",MODIFIED:"modified"};var mf=l=>{class i extends l{connectedCallback(){super.connectedCallback(),this.dispatchEvent(new Event(or.CREATED,{bubbles:!0,composed:!0}))}disconnectedCallback(){super.disconnectedCallback(),this.dispatchEvent(new Event(or.DESTROYED,{bubbles:!0,composed:!0}))}dispatchModifiedEvent(o){this.dispatchEvent(new CustomEvent(or.MODIFIED,{detail:{change:o},bubbles:!0,composed:!0}))}}return i};var _a=class{static dispatchListItemEvent(i,t){t.dispatchEvent(new Event(i,{composed:!0,bubbles:!0}))}static onDisableListItem(i){this.dispatchListItemEvent("disabled",i)}static onEnableListItem(i){this.dispatchListItemEvent("enabled",i)}static onCreatedListItem(i){setTimeout(()=>{this.dispatchListItemEvent("created",i)},0)}static onDestroyedListItem(i){this.dispatchListItemEvent("destroyed",i)}};var BE=U`
3496
3505
  :host {
3497
3506
  --mdc-listitem-default-background-color: var(--mds-color-theme-background-primary-ghost);
3498
3507
  --mdc-listitem-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -3593,11 +3602,11 @@
3593
3602
  display: flex;
3594
3603
  flex-direction: row;
3595
3604
  }
3596
- `,lf=[PE,...xt()];var Ve=class extends zt(Xe(nf(W))){constructor(){super();this.variant=ef.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||tt.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===J.ENTER||t.key===J.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}getText(t,o,a){return I`
3605
+ `,uf=[BE,...xt()];var Ve=class extends zt(Xe(mf(W))){constructor(){super();this.variant=lf.VARIANT;this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("click",this.handleClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=this.role||tt.LISTITEM}handleClick(t){this.disabled&&(t.stopImmediatePropagation(),t.preventDefault())}handleKeyDown(t){(t.key===J.ENTER||t.key===J.SPACE)&&(this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}getText(t,o,a){return I`
3597
3606
  <slot name="${t}">
3598
- ${a?I`<mdc-text part="${t}" type="${o}" tagname="${gt.SPAN}">${a}</mdc-text>`:j}
3607
+ ${a?I`<mdc-text part="${t}" type="${o}" tagname="${ut.SPAN}">${a}</mdc-text>`:j}
3599
3608
  </slot>
3600
- `}disableSlottedChildren(t=!1){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(o=>{t?(o.setAttribute("disabled",""),this.dispatchModifiedEvent("disabled"),Aa.onDisableListItem(this)):(o.removeAttribute("disabled"),this.dispatchModifiedEvent("enabled"),Aa.onEnableListItem(this))}),this.setAttribute("aria-disabled",`${t}`)}update(t){super.update(t),t.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled)),t.has("softDisabled")&&this.disableSlottedChildren(this.softDisabled)}renderTrailingControls(){return I`<slot
3609
+ `}disableSlottedChildren(t=!1){[...this.leadingControlsSlot,...this.trailingControlsSlot].forEach(o=>{t?(o.setAttribute("disabled",""),this.dispatchModifiedEvent("disabled"),_a.onDisableListItem(this)):(o.removeAttribute("disabled"),this.dispatchModifiedEvent("enabled"),_a.onEnableListItem(this))}),this.setAttribute("aria-disabled",`${t}`)}update(t){super.update(t),t.has("disabled")&&(this.tabIndex=this.disabled?-1:0,this.disableSlottedChildren(this.disabled)),t.has("softDisabled")&&this.disableSlottedChildren(this.softDisabled)}renderTrailingControls(){return I`<slot
3601
3610
  name="trailing-controls"
3602
3611
  @click=${this.stopEventPropagation}
3603
3612
  @keyup=${this.stopEventPropagation}
@@ -3612,20 +3621,20 @@
3612
3621
  <div part="leading">
3613
3622
  ${this.renderLeadingControls()}
3614
3623
  <div part="leading-text">
3615
- ${this.getText("leading-text-primary-label",st.BODY_MIDSIZE_REGULAR,this.label)}
3616
- ${this.getText("leading-text-secondary-label",st.BODY_SMALL_REGULAR,this.secondaryLabel)}
3617
- ${this.getText("leading-text-tertiary-label",st.BODY_SMALL_REGULAR,this.tertiaryLabel)}
3624
+ ${this.getText("leading-text-primary-label",ot.BODY_MIDSIZE_REGULAR,this.label)}
3625
+ ${this.getText("leading-text-secondary-label",ot.BODY_SMALL_REGULAR,this.secondaryLabel)}
3626
+ ${this.getText("leading-text-tertiary-label",ot.BODY_SMALL_REGULAR,this.tertiaryLabel)}
3618
3627
  </div>
3619
3628
  </div>
3620
3629
  <div part="trailing">
3621
3630
  <div part="trailing-text">
3622
- ${this.getText("trailing-text-side-header",st.BODY_MIDSIZE_REGULAR,this.sideHeaderText)}
3623
- ${this.getText("trailing-text-subline",st.BODY_SMALL_REGULAR,this.sublineText)}
3631
+ ${this.getText("trailing-text-side-header",ot.BODY_MIDSIZE_REGULAR,this.sideHeaderText)}
3632
+ ${this.getText("trailing-text-subline",ot.BODY_SMALL_REGULAR,this.sublineText)}
3624
3633
  </div>
3625
3634
  ${this.renderTrailingControls()}
3626
3635
  </div>
3627
3636
  </slot>
3628
- `}};Ve.styles=[...W.styles,...lf],p([Lt({slot:"leading-controls"})],Ve.prototype,"leadingControlsSlot",2),p([Lt({slot:"trailing-controls"})],Ve.prototype,"trailingControlsSlot",2),p([f({type:String,reflect:!0})],Ve.prototype,"variant",2),p([f({type:String,reflect:!0})],Ve.prototype,"label",2),p([f({type:String,reflect:!0,attribute:"secondary-label"})],Ve.prototype,"secondaryLabel",2),p([f({type:String,reflect:!0,attribute:"tertiary-label"})],Ve.prototype,"tertiaryLabel",2),p([f({type:String,reflect:!0,attribute:"side-header-text"})],Ve.prototype,"sideHeaderText",2),p([f({type:String,reflect:!0,attribute:"subline-text"})],Ve.prototype,"sublineText",2),p([f({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ve.prototype,"softDisabled",2);var si=Ve;si.register(vl);var DE=si;var FE=H`
3637
+ `}};Ve.styles=[...W.styles,...uf],p([Lt({slot:"leading-controls"})],Ve.prototype,"leadingControlsSlot",2),p([Lt({slot:"trailing-controls"})],Ve.prototype,"trailingControlsSlot",2),p([u({type:String,reflect:!0})],Ve.prototype,"variant",2),p([u({type:String,reflect:!0})],Ve.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"secondary-label"})],Ve.prototype,"secondaryLabel",2),p([u({type:String,reflect:!0,attribute:"tertiary-label"})],Ve.prototype,"tertiaryLabel",2),p([u({type:String,reflect:!0,attribute:"side-header-text"})],Ve.prototype,"sideHeaderText",2),p([u({type:String,reflect:!0,attribute:"subline-text"})],Ve.prototype,"sublineText",2),p([u({type:Boolean,reflect:!0,attribute:"soft-disabled"})],Ve.prototype,"softDisabled",2);var si=Ve;si.register(yl);var UE=si;var HE=U`
3629
3638
  :host {
3630
3639
  --mdc-marker-width: 0.25rem;
3631
3640
  --mdc-marker-solid-background-color: var(--mds-color-theme-outline-secondary-normal);
@@ -3650,7 +3659,7 @@
3650
3659
  var(--mdc-marker-striped-background-color) 0.375rem
3651
3660
  );
3652
3661
  }
3653
- `,cf=[FE];var df=G.constructTagName("marker"),hf={SOLID:"solid",STRIPED:"striped"};var Sa=class extends W{constructor(){super(...arguments);this.variant=hf.SOLID}};Sa.styles=[...W.styles,...cf],p([f({type:String,reflect:!0})],Sa.prototype,"variant",2);var ud=Sa;ud.register(df);var $E=ud;var Xt=G.constructTagName("menupopover"),fd={PLACEMENT:Zt.BOTTOM_START,ORIENTATION:"vertical"};var ai=G.constructTagName("menusection"),pf={DIVIDER_VARIANT:"solid"};var Mi=G.constructTagName("sidenavigation"),Mr={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},gl={VARIANT:Mr.FLEXIBLE};var _a=G.constructTagName("menubar"),mf={ORIENTATION:"vertical"};var zE=H`
3662
+ `,ff=[HE];var vf=H.constructTagName("marker"),gf={SOLID:"solid",STRIPED:"striped"};var Ia=class extends W{constructor(){super(...arguments);this.variant=gf.SOLID}};Ia.styles=[...W.styles,...ff],p([u({type:String,reflect:!0})],Ia.prototype,"variant",2);var bd=Ia;bd.register(vf);var GE=bd;var Qt=H.constructTagName("menupopover"),yd={PLACEMENT:Xt.BOTTOM_START,ORIENTATION:"vertical"};var ai=H.constructTagName("menusection"),bf={DIVIDER_VARIANT:"solid"};var Mi=H.constructTagName("sidenavigation"),Mr={FIXED_EXPANDED:"fixed-expanded",FIXED_COLLAPSED:"fixed-collapsed",FLEXIBLE:"flexible",HIDDEN:"hidden"},El={VARIANT:Mr.FLEXIBLE};var Ca=H.constructTagName("menubar"),yf={ORIENTATION:"vertical"};var YE=U`
3654
3663
  :host {
3655
3664
  display: flex;
3656
3665
  }
@@ -3662,7 +3671,7 @@
3662
3671
  :host([aria-orientation='vertical']) {
3663
3672
  flex-direction: column;
3664
3673
  }
3665
- `,uf=[zE];var Ia=class extends W{constructor(){super(),this.addEventListener("click",this.handleClick.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this))}async connectedCallback(){var i;super.connectedCallback(),this.role=tt.MENUBAR,this.ariaOrientation=mf.ORIENTATION,await this.updateComplete,(i=this.menusections)==null||i.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var h,m;let i=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"),t=(m=i==null?void 0:i.assignedElements({flatten:!0}))!=null?m:[],o=[],a=E=>{E.role===tt.MENUITEM&&!E.hasAttribute("disabled")?o.push(E):E.tagName.toLowerCase()===ai&&Array.from(E.children).forEach(a)};return t.forEach(a),o}getVisibleSubMenusOfItems(i){let t=[];return!i||i.length===0||i.forEach(o=>{var m;let a=o.getAttribute("id");if(!a)return;let h=(m=document.querySelector)==null?void 0:m.call(document,`${Xt}[triggerid="${a}"]`);h&&h.visible&&t.push(h)}),t}getAllPopovers(){var a,h;if(!this.menuItems.length)return[];let i=(h=(a=this.menuItems[0])==null?void 0:a.closest(Mi))!=null?h:this;if(!i)return[];let t=[],o=m=>{m.querySelectorAll(`${Xt}`).forEach(E=>{t.push(E)}),m.querySelectorAll("slot").forEach(E=>{E.assignedElements({flatten:!0}).forEach(o)})};return o(i),t}update(i){super.update(i)}firstUpdated(i){super.firstUpdated(i),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}handleClick(i){let t=i.target;if(!t||!this.isTopLevelMenuItem(t))return;let o=this.menuItems.filter(h=>h!==t);this.getVisibleSubMenusOfItems(o).forEach(h=>{h.hide()})}resetTabIndexAndSetActiveTabIndex(i){i.forEach((t,o)=>{let a=o===0?"0":"-1";t==null||t.setAttribute("tabindex",a)})}getCurrentIndex(i){return this.menuItems.findIndex(t=>t===i||t===i.parentElement)}getSubmenu(i){if(i)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===i)}showSubmenu(i){if(!i||!this.menuItems.find(a=>a.getAttribute("id")===i))return;let o=this.getSubmenu(i);o&&o.show()}updatePopoverPlacement(){let i=Zt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",i)})}updateTabIndexAndFocus(i,t,o){var a,h,m;o<0||t<0||(t!==o&&((a=i[t])==null||a.setAttribute("tabindex","-1"),(h=i[o])==null||h.setAttribute("tabindex","0")),(m=i[o])==null||m.focus())}navigateToMenuItem(i,t,o=!1){var m;let{length:a}=this.menuItems;if(a===0)return;let h=i;if(h=t==="prev"?(i-1+a)%a:(i+1)%a,this.updateTabIndexAndFocus(this.menuItems,i,h),o){let E=(m=this.menuItems[h])==null?void 0:m.getAttribute("id");this.getSubmenu(E)&&!this.menuItems[h].hasAttribute("soft-disabled")&&this.showSubmenu(E)}}getKeyWithDirectionFix(i){return window.getComputedStyle(this).direction==="rtl"?i===J.ARROW_LEFT?J.ARROW_RIGHT:i===J.ARROW_RIGHT?J.ARROW_LEFT:i:i}isTopLevelMenuItem(i){var h;let t=i.parentElement;if(!t||i.role!==tt.MENUITEM)return!1;let o=t.tagName.toLowerCase(),a=(h=t.parentElement)==null?void 0:h.tagName.toLowerCase();return o===_a||o===Mi||o===ai&&(a===_a||a===Mi)}isNestedMenuItem(i){return!!i.closest(Xt)&&i.role===tt.MENUITEM}async closeAllMenuPopovers(){let i=[];for(;Te.peek();){let t=Te.pop();t&&(t.hide(),i.push(t))}await Promise.all(i.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(i){if(i.role===tt.MENUITEM){let o=i.closest(Xt),a=o==null?void 0:o.getAttribute("triggerid"),h=this.menuItems.find(m=>m.getAttribute("id")===a);if(h){this.isTopLevelMenuItem(h)&&(o==null||o.hide()),await(o==null?void 0:o.updateComplete);let m=this.getCurrentIndex(h);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(i){if(this.isTopLevelMenuItem(i)&&this.getSubmenu(i.id)&&!i.hasAttribute("soft-disabled"))this.showSubmenu(i.id);else if(this.isNestedMenuItem(i)&&!this.getSubmenu(i.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(i);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(i){let t=i.parentElement;for(;t;){if(t.tagName.toLowerCase()===Xt){let o=t.getAttribute("triggerid"),a=this.menuItems.find(h=>h.getAttribute("id")===o);if(a)return this.isTopLevelMenuItem(a)?this.menuItems.findIndex(h=>h===a):this.getParentMenuItemIndex(a)}t=t.parentElement}return-1}async handleKeyDown(i){let t=this.getCurrentIndex(i.target);switch(this.getKeyWithDirectionFix(i.key)){case J.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case J.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case J.ARROW_LEFT:{let a=t>=0?this.menuItems[t]:i.target;await this.crossMenubarNavigationOnLeft(a);break}case J.ARROW_RIGHT:{let a=t>=0?this.menuItems[t]:i.target;await this.crossMenubarNavigationOnRight(a);break}case J.ARROW_UP:{this.navigateToMenuItem(t,"prev"),i.preventDefault();break}case J.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),i.preventDefault();break}default:break}}render(){return I`<slot role="${tt.GROUP}"></slot>`}};Ia.styles=[...W.styles,...uf],p([Lt({selector:"mdc-menusection",flatten:!0})],Ia.prototype,"menusections",2);var vd=Ia;vd.register(_a);var VE=vd;var Ca=G.constructTagName("menuitem"),ka={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},gd={POSITIVE:"positive",NEGATIVE:"negative"},bd={LEADING:"leading",TRAILING:"trailing"};var BE=H`
3674
+ `,Ef=[YE];var ka=class extends W{constructor(){super(),this.addEventListener("click",this.handleClick.bind(this)),this.addEventListener("keydown",this.handleKeyDown.bind(this))}async connectedCallback(){var i;super.connectedCallback(),this.role=tt.MENUBAR,this.ariaOrientation=yf.ORIENTATION,await this.updateComplete,(i=this.menusections)==null||i.forEach(t=>{t.setAttribute("divider-variant","gradient")})}get menuItems(){var h,m;let i=(h=this.shadowRoot)==null?void 0:h.querySelector("slot"),t=(m=i==null?void 0:i.assignedElements({flatten:!0}))!=null?m:[],o=[],a=E=>{E.role===tt.MENUITEM&&!E.hasAttribute("disabled")?o.push(E):E.tagName.toLowerCase()===ai&&Array.from(E.children).forEach(a)};return t.forEach(a),o}getVisibleSubMenusOfItems(i){let t=[];return!i||i.length===0||i.forEach(o=>{var m;let a=o.getAttribute("id");if(!a)return;let h=(m=document.querySelector)==null?void 0:m.call(document,`${Qt}[triggerid="${a}"]`);h&&h.visible&&t.push(h)}),t}getAllPopovers(){var a,h;if(!this.menuItems.length)return[];let i=(h=(a=this.menuItems[0])==null?void 0:a.closest(Mi))!=null?h:this;if(!i)return[];let t=[],o=m=>{m.querySelectorAll(`${Qt}`).forEach(E=>{t.push(E)}),m.querySelectorAll("slot").forEach(E=>{E.assignedElements({flatten:!0}).forEach(o)})};return o(i),t}update(i){super.update(i)}firstUpdated(i){super.firstUpdated(i),this.resetTabIndexAndSetActiveTabIndex(this.menuItems),this.updatePopoverPlacement()}handleClick(i){let t=i.target;if(!t||!this.isTopLevelMenuItem(t))return;let o=this.menuItems.filter(h=>h!==t);this.getVisibleSubMenusOfItems(o).forEach(h=>{h.hide()})}resetTabIndexAndSetActiveTabIndex(i){i.forEach((t,o)=>{let a=o===0?"0":"-1";t==null||t.setAttribute("tabindex",a)})}getCurrentIndex(i){return this.menuItems.findIndex(t=>t===i||t===i.parentElement)}getSubmenu(i){if(i)return this.getAllPopovers().find(t=>t.getAttribute("triggerid")===i)}showSubmenu(i){if(!i||!this.menuItems.find(a=>a.getAttribute("id")===i))return;let o=this.getSubmenu(i);o&&o.show()}updatePopoverPlacement(){let i=Xt.RIGHT_START;this.getAllPopovers().forEach(t=>{t.setAttribute("placement",i)})}updateTabIndexAndFocus(i,t,o){var a,h,m;o<0||t<0||(t!==o&&((a=i[t])==null||a.setAttribute("tabindex","-1"),(h=i[o])==null||h.setAttribute("tabindex","0")),(m=i[o])==null||m.focus())}navigateToMenuItem(i,t,o=!1){var m;let{length:a}=this.menuItems;if(a===0)return;let h=i;if(h=t==="prev"?(i-1+a)%a:(i+1)%a,this.updateTabIndexAndFocus(this.menuItems,i,h),o){let E=(m=this.menuItems[h])==null?void 0:m.getAttribute("id");this.getSubmenu(E)&&!this.menuItems[h].hasAttribute("soft-disabled")&&this.showSubmenu(E)}}getKeyWithDirectionFix(i){return window.getComputedStyle(this).direction==="rtl"?i===J.ARROW_LEFT?J.ARROW_RIGHT:i===J.ARROW_RIGHT?J.ARROW_LEFT:i:i}isTopLevelMenuItem(i){var h;let t=i.parentElement;if(!t||i.role!==tt.MENUITEM)return!1;let o=t.tagName.toLowerCase(),a=(h=t.parentElement)==null?void 0:h.tagName.toLowerCase();return o===Ca||o===Mi||o===ai&&(a===Ca||a===Mi)}isNestedMenuItem(i){return!!i.closest(Qt)&&i.role===tt.MENUITEM}async closeAllMenuPopovers(){let i=[];for(;Te.peek();){let t=Te.pop();t&&(t.hide(),i.push(t))}await Promise.all(i.map(t=>t.updateComplete))}async crossMenubarNavigationOnLeft(i){if(i.role===tt.MENUITEM){let o=i.closest(Qt),a=o==null?void 0:o.getAttribute("triggerid"),h=this.menuItems.find(m=>m.getAttribute("id")===a);if(h){this.isTopLevelMenuItem(h)&&(o==null||o.hide()),await(o==null?void 0:o.updateComplete);let m=this.getCurrentIndex(h);this.navigateToMenuItem(m,"prev",!0)}}}async crossMenubarNavigationOnRight(i){if(this.isTopLevelMenuItem(i)&&this.getSubmenu(i.id)&&!i.hasAttribute("soft-disabled"))this.showSubmenu(i.id);else if(this.isNestedMenuItem(i)&&!this.getSubmenu(i.id)){await this.closeAllMenuPopovers();let t=this.getParentMenuItemIndex(i);t>=0&&this.navigateToMenuItem(t,"next",!0)}}getParentMenuItemIndex(i){let t=i.parentElement;for(;t;){if(t.tagName.toLowerCase()===Qt){let o=t.getAttribute("triggerid"),a=this.menuItems.find(h=>h.getAttribute("id")===o);if(a)return this.isTopLevelMenuItem(a)?this.menuItems.findIndex(h=>h===a):this.getParentMenuItemIndex(a)}t=t.parentElement}return-1}async handleKeyDown(i){let t=this.getCurrentIndex(i.target);switch(this.getKeyWithDirectionFix(i.key)){case J.HOME:this.updateTabIndexAndFocus(this.menuItems,t,0);break;case J.END:this.updateTabIndexAndFocus(this.menuItems,t,this.menuItems.length-1);break;case J.ARROW_LEFT:{let a=t>=0?this.menuItems[t]:i.target;await this.crossMenubarNavigationOnLeft(a);break}case J.ARROW_RIGHT:{let a=t>=0?this.menuItems[t]:i.target;await this.crossMenubarNavigationOnRight(a);break}case J.ARROW_UP:{this.navigateToMenuItem(t,"prev"),i.preventDefault();break}case J.ARROW_DOWN:{this.navigateToMenuItem(t,"next"),i.preventDefault();break}default:break}}render(){return I`<slot role="${tt.GROUP}"></slot>`}};ka.styles=[...W.styles,...Ef],p([Lt({selector:"mdc-menusection",flatten:!0})],ka.prototype,"menusections",2);var Ed=ka;Ed.register(Ca);var WE=Ed;var wa=H.constructTagName("menuitem"),Na={LEFT:"arrow-left-bold",RIGHT:"arrow-right-bold"},Td={POSITIVE:"positive",NEGATIVE:"negative"},xd={LEADING:"leading",TRAILING:"trailing"};var jE=U`
3666
3675
  :host(:dir(rtl))::part(trailing-arrow),
3667
3676
  :host(:dir(rtl))::part(leading-arrow) {
3668
3677
  transform: rotate(180deg);
@@ -3671,23 +3680,23 @@
3671
3680
  :host::part(leading-arrow) {
3672
3681
  --mdc-icon-size: 1.25rem;
3673
3682
  }
3674
- `,ff=[BE];var Oi=class extends si{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(i){i.key===J.ENTER&&(this.triggerClickEvent(),i.preventDefault())}handleKeyUp(i){i.key===J.SPACE&&(this.triggerClickEvent(),i.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEM,this.variant=Ta.INSET_RECTANGLE}renderTrailingControls(){let i=this.arrowDirection===gd.NEGATIVE?ka.LEFT:ka.RIGHT;return I`
3683
+ `,Tf=[jE];var Oi=class extends si{constructor(){super(),this.addEventListener("keyup",this.handleKeyUp.bind(this))}handleKeyDown(i){i.key===J.ENTER&&(this.triggerClickEvent(),i.preventDefault())}handleKeyUp(i){i.key===J.SPACE&&(this.triggerClickEvent(),i.preventDefault())}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEM,this.variant=Aa.INSET_RECTANGLE}renderTrailingControls(){let i=this.arrowDirection===Td.NEGATIVE?Na.LEFT:Na.RIGHT;return I`
3675
3684
  <slot
3676
3685
  name="trailing-controls"
3677
3686
  @click=${this.stopEventPropagation}
3678
3687
  @keyup=${this.stopEventPropagation}
3679
3688
  @keydown=${this.stopEventPropagation}
3680
3689
  ></slot>
3681
- ${this.arrowPosition===bd.TRAILING?I`<mdc-icon name="${i}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
3682
- `}renderLeadingControls(){let i=this.arrowDirection===gd.POSITIVE?ka.RIGHT:ka.LEFT;return I`
3690
+ ${this.arrowPosition===xd.TRAILING?I`<mdc-icon name="${i}" length-unit="rem" part="trailing-arrow"></mdc-icon>`:j}
3691
+ `}renderLeadingControls(){let i=this.arrowDirection===Td.POSITIVE?Na.RIGHT:Na.LEFT;return I`
3683
3692
  <slot
3684
3693
  name="leading-controls"
3685
3694
  @click=${this.stopEventPropagation}
3686
3695
  @keyup=${this.stopEventPropagation}
3687
3696
  @keydown=${this.stopEventPropagation}
3688
3697
  ></slot>
3689
- ${this.arrowPosition===bd.LEADING?I`<mdc-icon name="${i}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3690
- `}};Oi.styles=[...si.styles,...ff],p([f({type:String,reflect:!0,attribute:"arrow-position"})],Oi.prototype,"arrowPosition",2),p([f({type:String,reflect:!0,attribute:"arrow-direction"})],Oi.prototype,"arrowDirection",2),p([f({type:String,reflect:!0})],Oi.prototype,"name",2),p([f({type:String,reflect:!0})],Oi.prototype,"value",2);var sr=Oi;sr.register(Ca);var UE=sr;var vf=G.constructTagName("statictoggle"),HE={DEFAULT:"default",COMPACT:"compact"},yd={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},gf={compact:.75,default:1.25},bf={SIZE:HE.DEFAULT};var GE=[H`
3698
+ ${this.arrowPosition===xd.LEADING?I`<mdc-icon name="${i}" length-unit="rem" part="leading-arrow"></mdc-icon>`:j}
3699
+ `}};Oi.styles=[...si.styles,...Tf],p([u({type:String,reflect:!0,attribute:"arrow-position"})],Oi.prototype,"arrowPosition",2),p([u({type:String,reflect:!0,attribute:"arrow-direction"})],Oi.prototype,"arrowDirection",2),p([u({type:String,reflect:!0})],Oi.prototype,"name",2),p([u({type:String,reflect:!0})],Oi.prototype,"value",2);var sr=Oi;sr.register(wa);var KE=sr;var xf=H.constructTagName("statictoggle"),qE={DEFAULT:"default",COMPACT:"compact"},Ad={CHECKED:"check-bold",UNCHECKED:"cancel-bold"},Af={compact:.75,default:1.25},Sf={SIZE:qE.DEFAULT};var ZE=[U`
3691
3700
  :host {
3692
3701
  --mdc-statictoggle-width: 3rem;
3693
3702
  --mdc-statictoggle-height: 1.5rem;
@@ -3767,17 +3776,17 @@
3767
3776
  border: var(--mdc-statictoggle-border);
3768
3777
  }
3769
3778
  }
3770
- `],yf=GE;var ms=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.size=bf.SIZE}render(){return I`
3779
+ `],_f=ZE;var us=class extends zt(W){constructor(){super(...arguments);this.checked=!1;this.size=Sf.SIZE}render(){return I`
3771
3780
  <slot></slot>
3772
3781
  <div part="slider">
3773
3782
  <mdc-icon
3774
- name="${this.checked?yd.CHECKED:yd.UNCHECKED}"
3783
+ name="${this.checked?Ad.CHECKED:Ad.UNCHECKED}"
3775
3784
  class="icon"
3776
3785
  length-unit="rem"
3777
- size="${gf[this.size]}"
3786
+ size="${Af[this.size]}"
3778
3787
  ></mdc-icon>
3779
3788
  </div>
3780
- `}};ms.styles=[...W.styles,...yf],p([f({type:Boolean,reflect:!0})],ms.prototype,"checked",2),p([f({type:String,reflect:!0})],ms.prototype,"size",2);var Ed=ms;Ed.register(vf);var YE=Ed;var wa=G.constructTagName("tooltip"),Be={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Pi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Zt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Be.DESCRIPTION};var WE=H`
3789
+ `}};us.styles=[...W.styles,..._f],p([u({type:Boolean,reflect:!0})],us.prototype,"checked",2),p([u({type:String,reflect:!0})],us.prototype,"size",2);var Sd=us;Sd.register(xf);var XE=Sd;var La=H.constructTagName("tooltip"),Be={DESCRIPTION:"description",LABEL:"label",NONE:"none"},Pi={BACKDROP:!1,DELAY:"0,0",OFFSET:4,PLACEMENT:Xt.TOP,SHOW_ARROW:!0,TOOLTIP_TYPE:Be.DESCRIPTION};var QE=U`
3781
3790
  :host {
3782
3791
  --mdc-tooltip-max-width: 400px;
3783
3792
  --mdc-tooltip-padding: 0.75rem;
@@ -3801,27 +3810,27 @@
3801
3810
  :host([color='contrast'])::part(popover-content) {
3802
3811
  color: var(--mdc-tooltip-text-color-contrast);
3803
3812
  }
3804
- `,Ef=[WE];var us=class extends Oe{constructor(){super(...arguments);this.tooltipType=Pi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Pi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Pi.OFFSET,this.placement=this.placement||Pi.PLACEMENT,this.role=tt.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,o;return((o=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:o.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Be).includes(t)?t:Pi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${be()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Be.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Be.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Zt).includes(this.placement)||(this.placement=Pi.PLACEMENT)}onTooltipTypeUpdated(t){let o=t.get("tooltipType");if(Object.values(Be).includes(this.tooltipType)||this.setTooltipType(Pi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Be.DESCRIPTION:o===Be.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Be.LABEL:o===Be.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:o===Be.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):o===Be.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Be.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};us.styles=[...Oe.styles,...Ef],p([f({type:String,attribute:"tooltip-type",reflect:!0})],us.prototype,"tooltipType",2),p([yn()],us.prototype,"defaultSlotNodes",2);var Td=us;Td.register(wa);var jE=Td;var Tf=G.constructTagName("toggle"),Na={DEFAULT:"default",COMPACT:"compact"};var xd={SIZE:Na.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var bl=G.constructTagName("menuitemcheckbox"),La={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},xf={INDICATOR:La.CHECKBOX};var KE=H`
3813
+ `,If=[QE];var fs=class extends Oe{constructor(){super(...arguments);this.tooltipType=Pi.TOOLTIP_TYPE}connectedCallback(){super.connectedCallback(),this.backdrop=!1,this.delay=this.delay||Pi.DELAY,this.focusTrap=!1,this.hideOnBlur=!0,this.hideOnEscape=!0,this.interactive=!1,this.offset=this.offset||Pi.OFFSET,this.placement=this.placement||Pi.PLACEMENT,this.role=tt.TOOLTIP,this.trigger="mouseenter focusin",this.preventScroll=!1,this.flip=!0,this.preventScroll=!1,this.closeButton=!1,this.hideOnOutsideClick=!1,this.focusBackToTrigger=!1,this.size=!1,this.disableAriaExpanded=!0}getTooltipText(){var t,o;return((o=(t=this.defaultSlotNodes)==null?void 0:t.map(a=>a.textContent).join(" "))==null?void 0:o.trim())||""}setTooltipType(t){this.setAttribute("tooltip-type",Object.values(Be).includes(t)?t:Pi.TOOLTIP_TYPE)}async onIdUpdated(){if(this.id.length===0&&(this.id=`mdc-tooltip-${be()}`),await this.updateComplete,this.triggerElement)switch(this.tooltipType){case Be.DESCRIPTION:this.triggerElement.setAttribute("aria-describedby",this.id);break;case Be.LABEL:this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:break}}onPlacementUpdated(){Object.values(Xt).includes(this.placement)||(this.placement=Pi.PLACEMENT)}onTooltipTypeUpdated(t){let o=t.get("tooltipType");if(Object.values(Be).includes(this.tooltipType)||this.setTooltipType(Pi.TOOLTIP_TYPE),this.triggerElement){let a=this.getTooltipText();switch(this.tooltipType){case Be.DESCRIPTION:o===Be.LABEL&&this.triggerElement.removeAttribute("aria-labelledby"),this.triggerElement.setAttribute("aria-describedby",this.id);break;case Be.LABEL:o===Be.DESCRIPTION&&this.triggerElement.removeAttribute("aria-describedby"),this.triggerElement.setAttribute("aria-labelledby",this.id);break;default:o===Be.DESCRIPTION?this.triggerElement.removeAttribute("aria-describedby"):o===Be.LABEL&&this.triggerElement.removeAttribute("aria-labelledby");break}a.length>0&&this.tooltipType!==Be.NONE&&!this.ariaLabel&&(this.ariaLabel=a)}}async update(t){super.update(t),t.has("id")&&await this.onIdUpdated(),t.has("placement")&&this.onPlacementUpdated(),t.has("tooltipType")&&this.onTooltipTypeUpdated(t)}};fs.styles=[...Oe.styles,...If],p([u({type:String,attribute:"tooltip-type",reflect:!0})],fs.prototype,"tooltipType",2),p([Tn()],fs.prototype,"defaultSlotNodes",2);var _d=fs;_d.register(La);var JE=_d;var Cf=H.constructTagName("toggle"),Ra={DEFAULT:"default",COMPACT:"compact"};var Id={SIZE:Ra.DEFAULT,VALIDATION_MESSAGE:"Please toggle this switch if you want to proceed."};var Tl=H.constructTagName("menuitemcheckbox"),Ma={NONE:"none",CHECKBOX:"checkbox",CHECKMARK:"checkmark",TOGGLE:"toggle"},kf={INDICATOR:Ma.CHECKBOX};var tT=U`
3805
3814
  :host::part(checkmark-icon) {
3806
3815
  --mdc-icon-fill-color: currentColor;
3807
3816
  }
3808
3817
  :host .hidden-checkmark {
3809
3818
  visibility: hidden;
3810
3819
  }
3811
- `,Af=[KE];var fs=class extends sr{constructor(){super();this.checked=!1;this.indicator=xf.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===La.CHECKBOX?I`
3820
+ `,wf=[tT];var vs=class extends sr{constructor(){super();this.checked=!1;this.indicator=kf.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMCHECKBOX}handleMouseClick(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`)}staticCheckbox(){return this.indicator===Ma.CHECKBOX?I`
3812
3821
  <mdc-staticcheckbox
3813
3822
  slot="leading-controls"
3814
3823
  ?checked="${this.checked}"
3815
3824
  ?disabled="${this.disabled}"
3816
3825
  ></mdc-staticcheckbox>
3817
- `:j}staticToggle(){return this.indicator===La.TOGGLE?I`
3826
+ `:j}staticToggle(){return this.indicator===Ma.TOGGLE?I`
3818
3827
  <mdc-statictoggle
3819
3828
  slot="trailing-controls"
3820
3829
  ?checked="${this.checked}"
3821
3830
  ?disabled="${this.disabled}"
3822
- size="${Na.COMPACT}"
3831
+ size="${Ra.COMPACT}"
3823
3832
  ></mdc-statictoggle>
3824
- `:j}getCheckmarkIcon(){return this.indicator===La.CHECKMARK?I`
3833
+ `:j}getCheckmarkIcon(){return this.indicator===Ma.CHECKMARK?I`
3825
3834
  <mdc-icon
3826
3835
  slot="trailing-controls"
3827
3836
  name="check-bold"
@@ -3834,34 +3843,34 @@
3834
3843
  ${this.staticCheckbox()}
3835
3844
  <slot name="leading-controls"></slot>
3836
3845
  <div part="leading-text">
3837
- ${this.getText("leading-text-primary-label",st.BODY_MIDSIZE_REGULAR,this.label)}
3838
- ${this.getText("leading-text-secondary-label",st.BODY_SMALL_REGULAR,this.secondaryLabel)}
3839
- ${this.getText("leading-text-tertiary-label",st.BODY_SMALL_REGULAR,this.tertiaryLabel)}
3846
+ ${this.getText("leading-text-primary-label",ot.BODY_MIDSIZE_REGULAR,this.label)}
3847
+ ${this.getText("leading-text-secondary-label",ot.BODY_SMALL_REGULAR,this.secondaryLabel)}
3848
+ ${this.getText("leading-text-tertiary-label",ot.BODY_SMALL_REGULAR,this.tertiaryLabel)}
3840
3849
  </div>
3841
3850
  </div>
3842
3851
  <div part="trailing">
3843
3852
  <div part="trailing-text">
3844
- ${this.getText("trailing-text-side-header",st.BODY_MIDSIZE_REGULAR,this.sideHeaderText)}
3845
- ${this.getText("trailing-text-subline",st.BODY_SMALL_REGULAR,this.sublineText)}
3853
+ ${this.getText("trailing-text-side-header",ot.BODY_MIDSIZE_REGULAR,this.sideHeaderText)}
3854
+ ${this.getText("trailing-text-subline",ot.BODY_SMALL_REGULAR,this.sublineText)}
3846
3855
  </div>
3847
3856
  <slot name="trailing-controls"></slot>
3848
3857
  ${this.staticToggle()} ${this.getCheckmarkIcon()}
3849
3858
  </div>
3850
3859
  </slot>
3851
- `}};fs.styles=[...sr.styles,...Af],p([f({type:Boolean,reflect:!0})],fs.prototype,"checked",2),p([f({type:String,reflect:!0})],fs.prototype,"indicator",2);var Ad=fs;Ad.register(bl);var qE=Ad;var yl=G.constructTagName("menuitemradio"),El={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Sf={INDICATOR:El.RADIO};var ZE=H`
3860
+ `}};vs.styles=[...sr.styles,...wf],p([u({type:Boolean,reflect:!0})],vs.prototype,"checked",2),p([u({type:String,reflect:!0})],vs.prototype,"indicator",2);var Cd=vs;Cd.register(Tl);var eT=Cd;var xl=H.constructTagName("menuitemradio"),Al={NONE:"none",RADIO:"radio",CHECKMARK:"checkmark"},Nf={INDICATOR:Al.RADIO};var rT=U`
3852
3861
  :host::part(checkmark-icon) {
3853
3862
  --mdc-icon-fill-color: currentColor;
3854
3863
  }
3855
3864
  :host .hidden-checkmark {
3856
3865
  visibility: hidden;
3857
3866
  }
3858
- `,_f=[ZE];var vs=class extends sr{constructor(){super();this.checked=!1;this.indicator=Sf.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${ai}, ${Xt}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(o=>{o!==this&&o.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===El.RADIO?I`
3867
+ `,Lf=[rT];var gs=class extends sr{constructor(){super();this.checked=!1;this.indicator=Nf.INDICATOR;this.addEventListener("click",this.handleMouseClick.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.MENUITEMRADIO}getAllRadiosWithinSameGroup(){let t=this.closest(`${ai}, ${Qt}`);return!t||!this.name?[]:Array.from(t.querySelectorAll(`${this.tagName}[name="${this.name}"]`))}updateOtherRadiosCheckedState(){this.getAllRadiosWithinSameGroup().forEach(o=>{o!==this&&o.removeAttribute("checked")})}handleMouseClick(){this.disabled||this.checked||(this.updateOtherRadiosCheckedState(),this.checked=!0,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}update(t){super.update(t),t.has("checked")&&(this.ariaChecked=`${this.checked}`,t.get("checked")===!1&&this.checked&&this.updateOtherRadiosCheckedState())}renderStaticRadio(){return this.indicator===Al.RADIO?I`
3859
3868
  <mdc-staticradio
3860
3869
  slot="leading-controls"
3861
3870
  ?checked="${this.checked}"
3862
3871
  ?disabled="${this.disabled}"
3863
3872
  ></mdc-staticradio>
3864
- `:j}renderCheckmarkIcon(){return this.indicator===El.CHECKMARK?I`
3873
+ `:j}renderCheckmarkIcon(){return this.indicator===Al.CHECKMARK?I`
3865
3874
  <mdc-icon
3866
3875
  slot="trailing-controls"
3867
3876
  name="check-bold"
@@ -3874,21 +3883,21 @@
3874
3883
  ${this.renderStaticRadio()}
3875
3884
  <slot name="leading-controls"></slot>
3876
3885
  <div part="leading-text">
3877
- ${this.getText("leading-text-primary-label",st.BODY_MIDSIZE_REGULAR,this.label)}
3878
- ${this.getText("leading-text-secondary-label",st.BODY_SMALL_REGULAR,this.secondaryLabel)}
3879
- ${this.getText("leading-text-tertiary-label",st.BODY_SMALL_REGULAR,this.tertiaryLabel)}
3886
+ ${this.getText("leading-text-primary-label",ot.BODY_MIDSIZE_REGULAR,this.label)}
3887
+ ${this.getText("leading-text-secondary-label",ot.BODY_SMALL_REGULAR,this.secondaryLabel)}
3888
+ ${this.getText("leading-text-tertiary-label",ot.BODY_SMALL_REGULAR,this.tertiaryLabel)}
3880
3889
  </div>
3881
3890
  </div>
3882
3891
  <div part="trailing">
3883
3892
  <div part="trailing-text">
3884
- ${this.getText("trailing-text-side-header",st.BODY_MIDSIZE_REGULAR,this.sideHeaderText)}
3885
- ${this.getText("trailing-text-subline",st.BODY_SMALL_REGULAR,this.sublineText)}
3893
+ ${this.getText("trailing-text-side-header",ot.BODY_MIDSIZE_REGULAR,this.sideHeaderText)}
3894
+ ${this.getText("trailing-text-subline",ot.BODY_SMALL_REGULAR,this.sublineText)}
3886
3895
  </div>
3887
3896
  <slot name="trailing-controls"></slot>
3888
3897
  ${this.renderCheckmarkIcon()}
3889
3898
  </div>
3890
3899
  </slot>
3891
- `}};vs.styles=[...sr.styles,..._f],p([f({type:Boolean,reflect:!0})],vs.prototype,"checked",2),p([f({type:String,reflect:!0})],vs.prototype,"indicator",2);var Sd=vs;Sd.register(yl);var XE=Sd;var Di=G.constructTagName("navmenuitem"),If={DOT:Qe.DOT,COUNTER:Qe.COUNTER},Cf={RIGHT_ARROW:"arrow-right-bold"},kf={MAX_COUNTER:99,TEXT_TYPE:st.BODY_MIDSIZE_REGULAR,TAG_NAME:gt.SPAN,SIZE:Zi[24],VARIANT:Mr.FLEXIBLE};var QE=H`
3900
+ `}};gs.styles=[...sr.styles,...Lf],p([u({type:Boolean,reflect:!0})],gs.prototype,"checked",2),p([u({type:String,reflect:!0})],gs.prototype,"indicator",2);var kd=gs;kd.register(xl);var iT=kd;var Di=H.constructTagName("navmenuitem"),Rf={DOT:Qe.DOT,COUNTER:Qe.COUNTER},Mf={RIGHT_ARROW:"arrow-right-bold"},Of={MAX_COUNTER:99,TEXT_TYPE:ot.BODY_MIDSIZE_REGULAR,TAG_NAME:ut.SPAN,SIZE:Zi[24],VARIANT:Mr.FLEXIBLE};var oT=U`
3892
3901
  :host::part(popover-content) {
3893
3902
  padding: 0.75rem 0.5rem;
3894
3903
  }
@@ -3896,7 +3905,7 @@
3896
3905
  ::slotted(mdc-divider) {
3897
3906
  margin-block: 0.25rem;
3898
3907
  }
3899
- `,wf=[QE];var Ra=l=>{var t;if(!l)return!1;let i=(t=l.getAttribute("role"))==null?void 0:t.toLowerCase();return i===tt.MENUITEM||i===tt.MENUITEMCHECKBOX||i===tt.MENUITEMRADIO},_d=l=>{var i;return((i=l==null?void 0:l.tagName)==null?void 0:i.toLowerCase())===Xt};var Ma=class extends Oe{constructor(){super();this.placement=fd.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Te.peek()!==this)return;let o=t.composedPath(),a=this.contains(t.target)||o.includes(this.triggerElement)||o.includes(this),h=this.backdropElement?o.includes(this.backdropElement):!1;(!a||h)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=()=>{var t;(t=this.triggerElement)!=null&&t.hasAttribute("soft-disabled")||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let o=t.target;Ra(o)&&(t.stopImmediatePropagation(),o.addEventListener("destroyed",this.handleItemChangeEvent),o.addEventListener("disabled",this.handleItemChangeEvent))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(o=>o.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let o=!1;this.collectMenuItems();let a=t.target,h=this.getCurrentIndex(a);if(h===-1)return;this.resetTabIndexes(h);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case J.HOME:{this.resetTabIndexAndSetFocus(0,h),o=!0;break}case J.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,h),o=!0;break}case J.ARROW_DOWN:{let N=h+1===this.menuItems.length?0:h+1;this.resetTabIndexAndSetFocus(N,h),o=!0;break}case J.ARROW_UP:{let N=h-1===-1?this.menuItems.length-1:h-1;this.resetTabIndexAndSetFocus(N,h),o=!0;break}case J.ARROW_RIGHT:{let N=this.getSubMenuPopoverOfTarget(a);N&&(N.show(),o=!0);break}case J.ARROW_LEFT:{_d(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,h),o=!0);break}case J.ESCAPE:{this.resetTabIndexAndSetFocus(0,h),o=!0;break}case J.ENTER:{this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),o=!0);break}case J.SPACE:{o=!0;break}default:break}o&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let o=!1,a=t.target;switch(t.key){case J.SPACE:{a.matches(`${yl}, ${bl}`)||this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),o=!0);break}default:break}o&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var a,h;let o=t.getAttribute("id");return o?(h=(a=this.parentElement)==null?void 0:a.querySelector)==null?void 0:h.call(a,`${Xt}[triggerid="${o}"]`):null}collectMenuItems(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),o=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=o.map(h=>h.tagName.toLowerCase()===ai?Array.from(h.children).filter(m=>Ra(m)):Ra(h)?h:[]).flat().filter(h=>!!h&&!h.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(h=>this.getSubMenuPopoverOfTarget(h))}getOpenSubMenusOfItems(t){let o=[];return!t||t.length===0||t.forEach(a=>{let h=this.getSubMenuPopoverOfTarget(a);h&&h.visible&&o.push(h)}),o}connectedCallback(){super.connectedCallback(),this.role=tt.MENU,this.ariaOrientation=fd.ORIENTATION,this.backdrop=!1,this.color=ho.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,o){return t===o||!this.triggerElement?Promise.resolve():(o&&(this.backdrop=![Ca,Di].includes(this.triggerElement.tagName.toLowerCase())),o===!1&&this.menuItemsWithSubMenus.forEach(a=>{let h=this.getSubMenuPopoverOfTarget(a);h&&h.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,o))}async firstUpdated(t){var o;await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0),(o=this.triggerElement)==null||o.setAttribute("aria-haspopup",tt.MENU)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(o=>o.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(o=>o===t)}resetTabIndexAndSetFocus(t,o){t!==o&&(this.menuItems[o].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Te.peek()!==t&&_d(Te.peek());){let o=Te.pop();if(o)o.hide();else break}}closeOtherSubMenusOnSameLevel(t){let o=this.menuItemsWithSubMenus.filter(h=>h!==t);this.getOpenSubMenusOfItems(o).forEach(h=>{h.hide()})}fireMenuItemAction(t){t.matches(Ca)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let o=t.target;if(t.stopPropagation(),!(!Ra(o)||!t.isTrusted)){if(this.getSubMenuPopoverOfTarget(o)){this.closeOtherSubMenusOnSameLevel(o);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(o)}}resolveDirectionKey(t,o){if(!o)return t;switch(t){case J.ARROW_LEFT:return J.ARROW_RIGHT;case J.ARROW_RIGHT:return J.ARROW_LEFT;default:return t}}};Ma.styles=[...Oe.styles,...wf],p([f({type:String,reflect:!0})],Ma.prototype,"placement",2);var Id=Ma;Id.register(Xt);var JE=Id;var Tl=class{constructor(i,t,o){this.variant=i,this.expanded=t,this.parentNavTooltipText=o}hasSiblingWithTriggerId(i){var a,h;let t=i==null?void 0:i.getAttribute("id");return t?Array.from((h=(a=i==null?void 0:i.parentElement)==null?void 0:a.children)!=null?h:[]).some(m=>m!==i&&m.tagName.toLowerCase()===Xt&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(i){if(!i)return[];let t=[],o=i;for(;o;){let a=o==null?void 0:o.closest(Xt);if(!a)break;let h=a.getAttribute("triggerid");if(!h)break;let m=document.getElementById(h);if(m&&m.tagName.toLowerCase()===Di)t.push(m),o=m;else break}return t}setCurrentActiveNavMenuItem(i){var h;let t=((h=this.currentActiveNavMenuItem)==null?void 0:h.navId)===(i==null?void 0:i.navId),o=(i==null?void 0:i.disableAriaCurrent)||this.hasSiblingWithTriggerId(i)||(i==null?void 0:i.softDisabled);if(t||o||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(E=>{E.removeAttribute("tooltip-text"),E.removeAttribute("tooltip-placement"),E.removeAttribute("active")})),!i))return;this.currentActiveNavMenuItem=i,i.setAttribute("aria-current","page"),i.setAttribute("active",""),this.getParentNavMenuItems(i).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Zt.BOTTOM),m.setAttribute("active","")})}};Tl.context=Mi;var xl=Tl;var tT=H`
3908
+ `,Pf=[oT];var Oa=l=>{var t;if(!l)return!1;let i=(t=l.getAttribute("role"))==null?void 0:t.toLowerCase();return i===tt.MENUITEM||i===tt.MENUITEMCHECKBOX||i===tt.MENUITEMRADIO},wd=l=>{var i;return((i=l==null?void 0:l.tagName)==null?void 0:i.toLowerCase())===Qt};var Pa=class extends Oe{constructor(){super();this.placement=yd.PLACEMENT;this.menuItems=[];this.menuItemsWithSubMenus=[];this.onOutsidePopoverClick=t=>{if(Te.peek()!==this)return;let o=t.composedPath(),a=this.contains(t.target)||o.includes(this.triggerElement)||o.includes(this),h=this.backdropElement?o.includes(this.backdropElement):!1;(!a||h)&&this.closeAllMenuPopovers()};this.togglePopoverVisible=()=>{var t;(t=this.triggerElement)!=null&&t.hasAttribute("soft-disabled")||(this.visible?this.hide():this.show())};this.handleItemCreation=t=>{let o=t.target;Oa(o)&&(t.stopImmediatePropagation(),o.addEventListener("destroyed",this.handleItemChangeEvent),o.addEventListener("disabled",this.handleItemChangeEvent))};this.handleItemChangeEvent=t=>{t.stopImmediatePropagation(),t.target&&t.type==="destroyed"&&(t.target.removeEventListener("destroyed",this.handleItemChangeEvent),t.target.removeEventListener("disabled",this.handleItemChangeEvent)),this.resetMenuNavigation()};this.resetMenuNavigation=()=>{this.collectMenuItems(),this.menuItems.find(o=>o.getAttribute("tabindex")==="0")||this.resetTabIndexes(0)};this.handleKeyDown=t=>{let o=!1;this.collectMenuItems();let a=t.target,h=this.getCurrentIndex(a);if(h===-1)return;this.resetTabIndexes(h);let m=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(t.key,m)){case J.HOME:{this.resetTabIndexAndSetFocus(0,h),o=!0;break}case J.END:{this.resetTabIndexAndSetFocus(this.menuItems.length-1,h),o=!0;break}case J.ARROW_DOWN:{let N=h+1===this.menuItems.length?0:h+1;this.resetTabIndexAndSetFocus(N,h),o=!0;break}case J.ARROW_UP:{let N=h-1===-1?this.menuItems.length-1:h-1;this.resetTabIndexAndSetFocus(N,h),o=!0;break}case J.ARROW_RIGHT:{let N=this.getSubMenuPopoverOfTarget(a);N&&(N.show(),o=!0);break}case J.ARROW_LEFT:{wd(this.parentElement)&&(this.hide(),this.resetTabIndexAndSetFocus(0,h),o=!0);break}case J.ESCAPE:{this.resetTabIndexAndSetFocus(0,h),o=!0;break}case J.ENTER:{this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),o=!0);break}case J.SPACE:{o=!0;break}default:break}o&&(t.stopPropagation(),t.preventDefault())};this.handleKeyUp=t=>{let o=!1,a=t.target;switch(t.key){case J.SPACE:{a.matches(`${xl}, ${Tl}`)||this.getSubMenuPopoverOfTarget(a)||(this.closeAllMenuPopovers(),this.fireMenuItemAction(a),o=!0);break}default:break}o&&(t.stopPropagation(),t.preventDefault())};this.addEventListener("keydown",this.handleKeyDown),this.addEventListener("keyup",this.handleKeyUp),this.addEventListener("click",this.handleMouseClick),this.addEventListener("created",this.handleItemCreation)}getSubMenuPopoverOfTarget(t){var a,h;let o=t.getAttribute("id");return o?(h=(a=this.parentElement)==null?void 0:a.querySelector)==null?void 0:h.call(a,`${Qt}[triggerid="${o}"]`):null}collectMenuItems(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot"),o=(t==null?void 0:t.assignedElements({flatten:!0}))||[];this.menuItems=o.map(h=>h.tagName.toLowerCase()===ai?Array.from(h.children).filter(m=>Oa(m)):Oa(h)?h:[]).flat().filter(h=>!!h&&!h.hasAttribute("disabled")),this.menuItemsWithSubMenus=this.menuItems.filter(h=>this.getSubMenuPopoverOfTarget(h))}getOpenSubMenusOfItems(t){let o=[];return!t||t.length===0||t.forEach(a=>{let h=this.getSubMenuPopoverOfTarget(a);h&&h.visible&&o.push(h)}),o}connectedCallback(){super.connectedCallback(),this.role=tt.MENU,this.ariaOrientation=yd.ORIENTATION,this.backdrop=!1,this.color=ho.TONAL,this.disableAriaExpanded=!1,this.focusBackToTrigger=!0,this.focusTrap=!0,this.hideOnEscape=!0,this.hideOnOutsideClick=!0,this.interactive=!0,this.showArrow=!1,this.closeButton=!1,this.closeButtonAriaLabel=null}async isOpenUpdated(t,o){return t===o||!this.triggerElement?Promise.resolve():(o&&(this.backdrop=![wa,Di].includes(this.triggerElement.tagName.toLowerCase())),o===!1&&this.menuItemsWithSubMenus.forEach(a=>{let h=this.getSubMenuPopoverOfTarget(a);h&&h.hide()}),this.resetMenuNavigation(),super.isOpenUpdated(t,o))}async firstUpdated(t){var o;await super.firstUpdated(t),this.collectMenuItems(),this.resetTabIndexes(0),(o=this.triggerElement)==null||o.setAttribute("aria-haspopup",tt.MENU)}resetTabIndexes(t){this.menuItems.length>0&&(this.menuItems.forEach(o=>o.setAttribute("tabindex","-1")),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}getCurrentIndex(t){return this.menuItems.findIndex(o=>o===t)}resetTabIndexAndSetFocus(t,o){t!==o&&(this.menuItems[o].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.menuItems[t].focus())}closeAllMenuPopovers(t){for(;Te.peek()!==t&&wd(Te.peek());){let o=Te.pop();if(o)o.hide();else break}}closeOtherSubMenusOnSameLevel(t){let o=this.menuItemsWithSubMenus.filter(h=>h!==t);this.getOpenSubMenusOfItems(o).forEach(h=>{h.hide()})}fireMenuItemAction(t){t.matches(wa)&&t.dispatchEvent(new Event("action",{bubbles:!0,composed:!0}))}handleMouseClick(t){let o=t.target;if(t.stopPropagation(),!(!Oa(o)||!t.isTrusted)){if(this.getSubMenuPopoverOfTarget(o)){this.closeOtherSubMenusOnSameLevel(o);return}this.closeAllMenuPopovers(),this.fireMenuItemAction(o)}}resolveDirectionKey(t,o){if(!o)return t;switch(t){case J.ARROW_LEFT:return J.ARROW_RIGHT;case J.ARROW_RIGHT:return J.ARROW_LEFT;default:return t}}};Pa.styles=[...Oe.styles,...Pf],p([u({type:String,reflect:!0})],Pa.prototype,"placement",2);var Nd=Pa;Nd.register(Qt);var sT=Nd;var Sl=class{constructor(i,t,o){this.variant=i,this.expanded=t,this.parentNavTooltipText=o}hasSiblingWithTriggerId(i){var a,h;let t=i==null?void 0:i.getAttribute("id");return t?Array.from((h=(a=i==null?void 0:i.parentElement)==null?void 0:a.children)!=null?h:[]).some(m=>m!==i&&m.tagName.toLowerCase()===Qt&&m.getAttribute("triggerid")===t):!1}getParentNavMenuItems(i){if(!i)return[];let t=[],o=i;for(;o;){let a=o==null?void 0:o.closest(Qt);if(!a)break;let h=a.getAttribute("triggerid");if(!h)break;let m=document.getElementById(h);if(m&&m.tagName.toLowerCase()===Di)t.push(m),o=m;else break}return t}setCurrentActiveNavMenuItem(i){var h;let t=((h=this.currentActiveNavMenuItem)==null?void 0:h.navId)===(i==null?void 0:i.navId),o=(i==null?void 0:i.disableAriaCurrent)||this.hasSiblingWithTriggerId(i)||(i==null?void 0:i.softDisabled);if(t||o||(this.currentActiveNavMenuItem&&(this.currentActiveNavMenuItem.removeAttribute("aria-current"),this.currentActiveNavMenuItem.removeAttribute("active"),this.getParentNavMenuItems(this.currentActiveNavMenuItem).forEach(E=>{E.removeAttribute("tooltip-text"),E.removeAttribute("tooltip-placement"),E.removeAttribute("active")})),!i))return;this.currentActiveNavMenuItem=i,i.setAttribute("aria-current","page"),i.setAttribute("active",""),this.getParentNavMenuItems(i).forEach(m=>{m.setAttribute("tooltip-text",this.parentNavTooltipText||""),m.setAttribute("tooltip-placement",Xt.BOTTOM),m.setAttribute("active","")})}};Sl.context=Mi;var _l=Sl;var aT=U`
3900
3909
  :host {
3901
3910
  --mdc-sidenavigation-expanded-width: 15rem;
3902
3911
  --mdc-sidenavigation-collapsed-width: 4.5rem;
@@ -3966,7 +3975,7 @@
3966
3975
  :host::part(vertical-divider-button) {
3967
3976
  z-index: var(--mdc-sidenavigation-vertical-divider-button-z-index);
3968
3977
  }
3969
- `,Nf=[tT];var ni=class extends _r{constructor(){super({context:xl.context,initialValue:new xl(gl.VARIANT,!0)});this.variant=gl.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var o;if((o=this.context)!=null&&o.value){let a=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(a)}};this.findNav=(t,o)=>t.find(a=>a.navId===o);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.NAVIGATION}static get Context(){return xl.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Mr.FIXED_EXPANDED:this.expanded=!0;break;case Mr.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Mr.FLEXIBLE&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Di}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Mr).includes(t)?t:gl.VARIANT)}toggleSideNavigation(){this.expanded=!this.expanded,this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===J.SPACE&&t.preventDefault()}render(){var t;return this.variant===Mr.HIDDEN?I``:I`
3978
+ `,Df=[aT];var ni=class extends _r{constructor(){super({context:_l.context,initialValue:new _l(El.VARIANT,!0)});this.variant=El.VARIANT;this.footerText="";this.handleNestedNavMenuItemActiveChange=t=>{var o;if((o=this.context)!=null&&o.value){let a=this.findNav(this.navMenuItems,t.detail.navId);this.context.value.setCurrentActiveNavMenuItem(a)}};this.findNav=(t,o)=>t.find(a=>a.navId===o);this.addEventListener("activechange",this.handleNestedNavMenuItemActiveChange.bind(this))}connectedCallback(){super.connectedCallback(),this.role=tt.NAVIGATION}static get Context(){return _l.context}updated(t){if(super.updated(t),t.has("variant"))switch(this.setVariant(this.variant),this.variant){case Mr.FIXED_EXPANDED:this.expanded=!0;break;case Mr.FIXED_COLLAPSED:this.expanded=!1;break;default:}(t.has("variant")||t.has("expanded"))&&this.updateContext()}firstUpdated(t){super.firstUpdated(t),this.variant===Mr.FLEXIBLE&&this.expanded===void 0&&(this.expanded=!0,this.updateContext())}updateContext(){(this.context.value.variant!==this.variant||this.context.value.expanded!==this.expanded||this.context.value.parentNavTooltipText!==this.parentNavTooltipText)&&(this.context.value.variant=this.variant,this.context.value.expanded=this.expanded,this.context.value.parentNavTooltipText=this.parentNavTooltipText,this.context.updateObservers())}get navMenuItems(){return Array.from(this.querySelectorAll(`${Di}:not([disabled])`))}setVariant(t){this.setAttribute("variant",Object.values(Mr).includes(t)?t:El.VARIANT)}toggleSideNavigation(){this.expanded=!this.expanded,this.dispatchEvent(new CustomEvent("toggle",{detail:{expanded:this.expanded}}))}preventScrollOnSpace(t){t.key===J.SPACE&&t.preventDefault()}render(){var t;return this.variant===Mr.HIDDEN?I``:I`
3970
3979
  <div part="side-navigation-container" id="side-nav-container">
3971
3980
  <div part="scrollable-section" tabindex="-1" @keydown=${this.preventScrollOnSpace}>
3972
3981
  <slot name="scrollable-section">
@@ -3984,7 +3993,7 @@
3984
3993
  </slot>
3985
3994
  <div part="brand-logo-container">
3986
3995
  <slot name="brand-logo"></slot>
3987
- ${this.expanded?I`<mdc-text type=${st.BODY_MIDSIZE_MEDIUM} tagname=${gt.SPAN} part="footer-text"
3996
+ ${this.expanded?I`<mdc-text type=${ot.BODY_MIDSIZE_MEDIUM} tagname=${ut.SPAN} part="footer-text"
3988
3997
  >${this.footerText}</mdc-text
3989
3998
  >`:j}
3990
3999
  </div>
@@ -3993,7 +4002,7 @@
3993
4002
  ${this.variant===Mr.FLEXIBLE?I`<mdc-divider
3994
4003
  part="vertical-divider"
3995
4004
  orientation=${vo.VERTICAL}
3996
- variant=${va.GRADIENT}
4005
+ variant=${ba.GRADIENT}
3997
4006
  arrow-direction=${this.expanded?rr.NEGATIVE:rr.POSITIVE}
3998
4007
  button-position=${rr.POSITIVE}
3999
4008
  >
@@ -4005,7 +4014,7 @@
4005
4014
  aria-controls="side-nav-container"
4006
4015
  ></mdc-button>
4007
4016
  </mdc-divider>`:j}
4008
- `}};ni.styles=[...W.styles,...Nf],p([f({type:String,reflect:!0})],ni.prototype,"variant",2),p([f({type:String,reflect:!0,attribute:"footer-text"})],ni.prototype,"footerText",2),p([f({type:Boolean,reflect:!0})],ni.prototype,"expanded",2),p([f({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],ni.prototype,"grabberBtnAriaLabel",2),p([f({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],ni.prototype,"parentNavTooltipText",2);var Eo=ni;var eT=H`
4017
+ `}};ni.styles=[...W.styles,...Df],p([u({type:String,reflect:!0})],ni.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"footer-text"})],ni.prototype,"footerText",2),p([u({type:Boolean,reflect:!0})],ni.prototype,"expanded",2),p([u({type:String,reflect:!0,attribute:"grabber-btn-aria-label"})],ni.prototype,"grabberBtnAriaLabel",2),p([u({type:String,reflect:!0,attribute:"parent-nav-tooltip-text"})],ni.prototype,"parentNavTooltipText",2);var Eo=ni;var nT=U`
4009
4018
  :host {
4010
4019
  display: flex;
4011
4020
  flex-direction: column;
@@ -4023,16 +4032,16 @@
4023
4032
  :host(:dir(rtl))::part(align-header) {
4024
4033
  padding-right: 1.75rem;
4025
4034
  }
4026
- `,Lf=[eT];var Or=class extends W{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=pf.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=Ir.consume({host:this,context:Eo.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",tt.GROUP)}update(t){var h;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let o=(h=this.sideNavigationContext)==null?void 0:h.value;if(!o)return;let{expanded:a}=o;this.hideHeaderText=!a}renderHeader(){var t,o;return this.headerText?I` <mdc-listheader
4035
+ `,Ff=[nT];var Or=class extends W{constructor(){super(...arguments);this.ariaLabel=null;this.headerText=null;this.showDivider=!1;this.dividerVariant=bf.DIVIDER_VARIANT;this.hideHeaderText=!1;this.sideNavigationContext=Ir.consume({host:this,context:Eo.Context})}connectedCallback(){super.connectedCallback(),this.setAttribute("role",tt.GROUP)}update(t){var h;super.update(t),(t.has("ariaLabel")||t.has("headerText"))&&(!this.ariaLabel||this.ariaLabel===t.get("headerText"))&&(this.ariaLabel=this.headerText||"");let o=(h=this.sideNavigationContext)==null?void 0:h.value;if(!o)return;let{expanded:a}=o;this.hideHeaderText=!a}renderHeader(){var t,o;return this.headerText?I` <mdc-listheader
4027
4036
  part="header ${(o=(t=this.sideNavigationContext)==null?void 0:t.value)!=null&&o.expanded?"align-header":""}"
4028
4037
  header-text="${this.headerText}"
4029
- prefix-icon="${ot(this.prefixIcon)}"
4038
+ prefix-icon="${st(this.prefixIcon)}"
4030
4039
  >
4031
4040
  </mdc-listheader>`:null}render(){return I`
4032
4041
  ${this.hideHeaderText?null:this.renderHeader()}
4033
4042
  <slot part="container"></slot>
4034
4043
  ${this.showDivider?I`<mdc-divider variant="${this.dividerVariant}" part="divider"></mdc-divider>`:null}
4035
- `}};Or.styles=[...W.styles,...Lf],p([f({type:String,reflect:!0,attribute:"aria-label"})],Or.prototype,"ariaLabel",2),p([f({type:String,reflect:!0,attribute:"header-text"})],Or.prototype,"headerText",2),p([f({type:String,attribute:"prefix-icon"})],Or.prototype,"prefixIcon",2),p([f({type:Boolean,reflect:!0,attribute:"show-divider"})],Or.prototype,"showDivider",2),p([f({type:String,reflect:!0,attribute:"divider-variant"})],Or.prototype,"dividerVariant",2),p([f({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Or.prototype,"hideHeaderText",2);var Cd=Or;Cd.register(ai);var rT=Cd;var iT=[Et,H`
4044
+ `}};Or.styles=[...W.styles,...Ff],p([u({type:String,reflect:!0,attribute:"aria-label"})],Or.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Or.prototype,"headerText",2),p([u({type:String,attribute:"prefix-icon"})],Or.prototype,"prefixIcon",2),p([u({type:Boolean,reflect:!0,attribute:"show-divider"})],Or.prototype,"showDivider",2),p([u({type:String,reflect:!0,attribute:"divider-variant"})],Or.prototype,"dividerVariant",2),p([u({type:Boolean,reflect:!0,attribute:"hide-header-text"})],Or.prototype,"hideHeaderText",2);var Ld=Or;Ld.register(ai);var lT=Ld;var cT=[Et,U`
4036
4045
  :host {
4037
4046
  --mdc-navmenuitem-color: var(--mds-color-theme-text-primary-normal);
4038
4047
  --mdc-navmenuitem-disabled-color: var(--mds-color-theme-text-primary-disabled);
@@ -4177,21 +4186,21 @@
4177
4186
  left: -0.75rem;
4178
4187
  top: 0.875rem;
4179
4188
  }
4180
- `,...xt()],Rf=iT;var Ue=class extends te(sr){constructor(){super();this.maxCounter=kf.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=Ir.consume({host:this,context:Eo.Context});this.emitNavMenuItemActiveChange=t=>{let o=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(o)};this.addEventListener("click",this.handleClickEvent.bind(this)),this.addEventListener("focusin",this.renderDynamicTooltip.bind(this)),this.addEventListener("mouseenter",this.renderDynamicTooltip.bind(this)),this.addEventListener("focusout",this.removeTooltip.bind(this)),this.addEventListener("mouseout",this.removeTooltip.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}updated(){var o,a;let t=(o=this.sideNavigationContext)==null?void 0:o.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}removeTooltip(){let t=document.querySelector(`${wa}[triggerid="${this.id}"]`);t&&t.remove()}renderDynamicTooltip(){if(!this.tooltipText)return;this.id||(this.id=`mdc-navmenuitem-${be()}`),this.removeTooltip();let t=document.createElement(wa);t.id=`mdc-navmenuitem-tooltip-${be()}`,t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),this.hasAttribute("slot")&&t.setAttribute("slot",this.getAttribute("slot")||""),this.after(t)}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===Xt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let o=this.iconName.endsWith("-filled"),a=Qi(this.iconName);t?o||(this.prevIconName=this.iconName,this.iconName=`${a}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return I`
4189
+ `,...xt()],$f=cT;var Ue=class extends Yt(sr){constructor(){super();this.maxCounter=Of.MAX_COUNTER;this.ariaLabel=null;this.sideNavigationContext=Ir.consume({host:this,context:Eo.Context});this.emitNavMenuItemActiveChange=t=>{let o=new CustomEvent("activechange",{detail:{navId:this.navId,active:t},bubbles:!0});this.dispatchEvent(o)};this.addEventListener("click",this.handleClickEvent.bind(this)),this.addEventListener("focusin",this.renderDynamicTooltip.bind(this)),this.addEventListener("mouseenter",this.renderDynamicTooltip.bind(this)),this.addEventListener("focusout",this.removeTooltip.bind(this)),this.addEventListener("mouseout",this.removeTooltip.bind(this))}connectedCallback(){super.connectedCallback(),this.variant=void 0,!this.navId&&this.onerror&&this.onerror("[mdc-navmenuitem] navId is required and was not provided."),this.toggleAttribute("in-menupopover",this.isNested())}disconnectedCallback(){super.disconnectedCallback(),this.removeTooltip()}updated(){var o,a;let t=(o=this.sideNavigationContext)==null?void 0:o.value;if(t)if(this.showLabel=this.isNested()?!0:t.expanded,this.showLabel)this.removeAttribute("aria-label");else{let h=(a=this.label)!=null?a:"";this.ariaLabel=this.ariaLabel||h,this.setAttribute("aria-label",h)}}removeTooltip(){let t=document.querySelector(`${La}[triggerid="${this.id}"]`);t&&t.remove()}renderDynamicTooltip(){if(!this.tooltipText)return;this.id||(this.id=`mdc-navmenuitem-${be()}`),this.removeTooltip();let t=document.createElement(La);t.id=`mdc-navmenuitem-tooltip-${be()}`,t.textContent=this.tooltipText,t.setAttribute("triggerid",this.id),t.setAttribute("visible",""),t.setAttribute("show-arrow",""),this.hasAttribute("slot")&&t.setAttribute("slot",this.getAttribute("slot")||""),this.after(t)}isNested(){let t=this.parentElement;for(;t;){if(t.tagName.toLowerCase()===Qt)return!0;t=t.parentElement}return!1}modifyIconName(t){if(!this.iconName)return;let o=this.iconName.endsWith("-filled"),a=Qi(this.iconName);t?o||(this.prevIconName=this.iconName,this.iconName=`${a}-filled`):this.prevIconName&&(this.iconName=this.prevIconName)}handleClickEvent(){this.disabled||this.emitNavMenuItemActiveChange(this.active)}update(t){super.update(t),t.has("active")&&this.modifyIconName(this.active)}renderTextLabel(t){return I`
4181
4190
  <mdc-text
4182
- type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
4183
- tagname=${gt.SPAN}
4191
+ type=${this.active?ot.BODY_MIDSIZE_BOLD:ot.BODY_MIDSIZE_MEDIUM}
4192
+ tagname=${ut.SPAN}
4184
4193
  part="text-container"
4185
4194
  >
4186
4195
  ${t}
4187
4196
  </mdc-text>
4188
4197
  `}renderArrowIcon(t){let o=t?"":"arrow";return I`
4189
- <mdc-icon name=${Cf.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${o}"> </mdc-icon>
4190
- `}renderBadge(t){let o=t?"":"badge";return Object.values(If).includes(this.badgeType)?I`
4198
+ <mdc-icon name=${Mf.RIGHT_ARROW} length-unit="rem" part="trailing-arrow" class="${o}"> </mdc-icon>
4199
+ `}renderBadge(t){let o=t?"":"badge";return Object.values(Rf).includes(this.badgeType)?I`
4191
4200
  <mdc-badge
4192
4201
  class="${o}"
4193
- type="${ot(this.badgeType)}"
4194
- counter="${ot(this.counter)}"
4202
+ type="${st(this.badgeType)}"
4203
+ counter="${st(this.counter)}"
4195
4204
  max-counter="${this.maxCounter}"
4196
4205
  >
4197
4206
  </mdc-badge>
@@ -4202,7 +4211,7 @@
4202
4211
  </div>
4203
4212
  ${this.showLabel?I`${this.renderTextLabel(this.label)}${this.renderBadge(this.showLabel)}`:j}
4204
4213
  ${t!=null&&t.hasSiblingWithTriggerId(this)?this.renderArrowIcon(this.showLabel):j}
4205
- `}};Ue.styles=[...sr.styles,...Rf],p([f({type:Boolean,reflect:!0})],Ue.prototype,"active",2),p([f({type:String,reflect:!0,attribute:"badge-type"})],Ue.prototype,"badgeType",2),p([f({type:Number,reflect:!0})],Ue.prototype,"counter",2),p([f({type:Number,attribute:"max-counter",reflect:!0})],Ue.prototype,"maxCounter",2),p([f({type:String,reflect:!0,attribute:"nav-id"})],Ue.prototype,"navId",2),p([f({type:Boolean,reflect:!0,attribute:"show-label"})],Ue.prototype,"showLabel",2),p([f({type:String,attribute:"aria-label"})],Ue.prototype,"ariaLabel",2),p([f({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Ue.prototype,"disableAriaCurrent",2),p([f({type:String,reflect:!0,attribute:"tooltip-text"})],Ue.prototype,"tooltipText",2);var kd=Ue;kd.register(Di);var oT=kd;var Mf=G.constructTagName("optgroup"),wd="header-id";var sT=H`
4214
+ `}};Ue.styles=[...sr.styles,...$f],p([u({type:Boolean,reflect:!0})],Ue.prototype,"active",2),p([u({type:String,reflect:!0,attribute:"badge-type"})],Ue.prototype,"badgeType",2),p([u({type:Number,reflect:!0})],Ue.prototype,"counter",2),p([u({type:Number,attribute:"max-counter",reflect:!0})],Ue.prototype,"maxCounter",2),p([u({type:String,reflect:!0,attribute:"nav-id"})],Ue.prototype,"navId",2),p([u({type:Boolean,reflect:!0,attribute:"show-label"})],Ue.prototype,"showLabel",2),p([u({type:String,attribute:"aria-label"})],Ue.prototype,"ariaLabel",2),p([u({type:Boolean,reflect:!0,attribute:"disable-aria-current"})],Ue.prototype,"disableAriaCurrent",2),p([u({type:String,reflect:!0,attribute:"tooltip-text"})],Ue.prototype,"tooltipText",2);var Rd=Ue;Rd.register(Di);var dT=Rd;var zf=H.constructTagName("optgroup"),Md="header-id";var hT=U`
4206
4215
  :host {
4207
4216
  --mdc-optgroup-disabled-color: var(--mds-color-theme-text-primary-disabled);
4208
4217
  }
@@ -4215,24 +4224,24 @@
4215
4224
  color: var(--mdc-optgroup-disabled-color);
4216
4225
  cursor: default;
4217
4226
  }
4218
- `,Of=[sT];var gs=class extends re(zt(W)){setDisabledForAllOptions(){this.options.forEach(i=>{this.disabled?i.setAttribute("disabled",""):i.removeAttribute("disabled")})}updated(i){super.updated(i),i.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let i=this.label?I`
4227
+ `,Vf=[hT];var bs=class extends re(zt(W)){setDisabledForAllOptions(){this.options.forEach(i=>{this.disabled?i.setAttribute("disabled",""):i.removeAttribute("disabled")})}updated(i){super.updated(i),i.has("disabled")&&this.setDisabledForAllOptions()}render(){var t;let i=this.label?I`
4219
4228
  <mdc-text
4220
- id="${wd}"
4229
+ id="${Md}"
4221
4230
  part="header-text"
4222
- type="${st.BODY_MIDSIZE_BOLD}"
4223
- tagname="${gt.SPAN}"
4231
+ type="${ot.BODY_MIDSIZE_BOLD}"
4232
+ tagname="${ut.SPAN}"
4224
4233
  >${this.label}</mdc-text
4225
4234
  >
4226
4235
  `:j;return I`
4227
4236
  <div
4228
4237
  role="${tt.GROUP}"
4229
- aria-labelledby="${this.label?wd:""}"
4238
+ aria-labelledby="${this.label?Md:""}"
4230
4239
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4231
4240
  >
4232
4241
  ${i}
4233
4242
  <slot role="${tt.PRESENTATION}"></slot>
4234
4243
  </div>
4235
- `}};gs.styles=[...W.styles,...Of],p([f({type:String,reflect:!0})],gs.prototype,"label",2),p([Lt({selector:"mdc-option"})],gs.prototype,"options",2);var Nd=gs;Nd.register(Mf);var aT=Nd;var Pf="check-bold",li=G.constructTagName("option");var nT=H`
4244
+ `}};bs.styles=[...W.styles,...Vf],p([u({type:String,reflect:!0})],bs.prototype,"label",2),p([Lt({selector:"mdc-option"})],bs.prototype,"options",2);var Od=bs;Od.register(zf);var pT=Od;var Bf="check-bold",li=H.constructTagName("option");var mT=U`
4236
4245
  :host {
4237
4246
  --mdc-option-icon-width: 1rem;
4238
4247
 
@@ -4258,18 +4267,18 @@
4258
4267
  /** 2x of leading and trailing icon width + 2x of column gap on both sides of the label text */
4259
4268
  width: calc(100% - (2 * var(--mdc-option-icon-width)) - (2 * var(--mdc-listitem-column-gap)));
4260
4269
  }
4261
- `,Df=[nT];var To=class extends Pe(si){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=Ta.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&(this.setAttribute("aria-selected",`${this.selected}`),this.dispatchModifiedEvent(this.selected?"selected":"unselected"))}render(){let t=this.prefixIcon?I`
4270
+ `,Uf=[mT];var To=class extends Pe(si){constructor(){super(...arguments);this.selected=!1;this.ariaLabel=null}connectedCallback(){super.connectedCallback(),this.role="option",this.variant=Aa.INSET_RECTANGLE,this.setAttribute("aria-selected",`${this.selected}`),this.setAttribute("aria-disabled",`${!!this.disabled}`),this.name=void 0,this.sideHeaderText=void 0,this.sublineText=void 0}update(t){super.update(t),t.has("selected")&&(this.setAttribute("aria-selected",`${this.selected}`),this.dispatchModifiedEvent(this.selected?"selected":"unselected"))}render(){let t=this.prefixIcon?I`
4262
4271
  <div part="leading-icon">
4263
- <mdc-icon length-unit="rem" slot="leading-controls" name="${ot(this.prefixIcon)}"></mdc-icon>
4272
+ <mdc-icon length-unit="rem" slot="leading-controls" name="${st(this.prefixIcon)}"></mdc-icon>
4264
4273
  </div>
4265
- `:j,o=this.selected?I` <mdc-icon length-unit="rem" slot="trailing-controls" name="${Pf}"></mdc-icon> `:j;return I`
4274
+ `:j,o=this.selected?I` <mdc-icon length-unit="rem" slot="trailing-controls" name="${Bf}"></mdc-icon> `:j;return I`
4266
4275
  ${t}
4267
4276
  <div part="leading-text">
4268
- ${this.getText("leading-text-primary-label",st.BODY_MIDSIZE_REGULAR,this.label)}
4269
- ${this.getText("leading-text-secondary-label",st.BODY_SMALL_REGULAR,this.secondaryLabel)}
4277
+ ${this.getText("leading-text-primary-label",ot.BODY_MIDSIZE_REGULAR,this.label)}
4278
+ ${this.getText("leading-text-secondary-label",ot.BODY_SMALL_REGULAR,this.secondaryLabel)}
4270
4279
  </div>
4271
4280
  <div part="trailing">${o}</div>
4272
- `}};To.styles=[...si.styles,...Df],p([f({type:Boolean,reflect:!0})],To.prototype,"selected",2),p([f({type:String,reflect:!0,attribute:"prefix-icon"})],To.prototype,"prefixIcon",2),p([f({type:String,reflect:!0,attribute:"aria-label"})],To.prototype,"ariaLabel",2);var Ld=To;Ld.register(li);var lT=Ld;var Rd={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Ff=G.constructTagName("password");var xo=class extends oi{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Dt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let o=t||this.value;return o?I`
4281
+ `}};To.styles=[...si.styles,...Uf],p([u({type:Boolean,reflect:!0})],To.prototype,"selected",2),p([u({type:String,reflect:!0,attribute:"prefix-icon"})],To.prototype,"prefixIcon",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],To.prototype,"ariaLabel",2);var Pd=To;Pd.register(li);var uT=Pd;var Dd={HIDE_BOLD:"hide-bold",SHOW_BOLD:"show-bold"},Hf=H.constructTagName("password");var xo=class extends oi{constructor(){super(...arguments);this.showHideButtonAriaLabel="";this.helpTextType=Dt.VALIDATION;this.showPassword=!1}connectedCallback(){super.connectedCallback(),this.trailingButton=!0}toggleShowPassword(){this.showPassword=!this.showPassword}renderTrailingButton(t=!1){let o=t||this.value;return o?I`
4273
4282
  <mdc-button
4274
4283
  part="trailing-button"
4275
4284
  class="own-focus-ring ${o?"":"hidden"}"
@@ -4278,9 +4287,9 @@
4278
4287
  size="${Dt.ICON_SIZE}"
4279
4288
  @click=${this.toggleShowPassword}
4280
4289
  aria-label=${this.showHideButtonAriaLabel}
4281
- prefix-icon=${this.showPassword?Rd.HIDE_BOLD:Rd.SHOW_BOLD}
4290
+ prefix-icon=${this.showPassword?Dd.HIDE_BOLD:Dd.SHOW_BOLD}
4282
4291
  ></mdc-button>
4283
- `:j}renderInputElement(t,o){let a=this.showPassword?ds.TEXT:ds.PASSWORD;return super.renderInputElement(a,o)}};xo.styles=[...oi.styles],p([f({type:String,attribute:"show-hide-button-aria-label"})],xo.prototype,"showHideButtonAriaLabel",2),p([f({type:String,attribute:"help-text-type"})],xo.prototype,"helpTextType",2),p([At()],xo.prototype,"showPassword",2);var Md=xo;Md.register(Ff);var cT=Md;Oe.register(_u);var dT=Oe;var $f=G.constructTagName("progressbar"),Al={DEFAULT:"default",INLINE:"inline"},zf={VARIANT:Al.DEFAULT,VALIDATION:Wt.DEFAULT};var hT=[Et,H`
4292
+ `:j}renderInputElement(t,o){let a=this.showPassword?hs.TEXT:hs.PASSWORD;return super.renderInputElement(a,o)}};xo.styles=[...oi.styles],p([u({type:String,attribute:"show-hide-button-aria-label"})],xo.prototype,"showHideButtonAriaLabel",2),p([u({type:String,attribute:"help-text-type"})],xo.prototype,"helpTextType",2),p([At()],xo.prototype,"showPassword",2);var Fd=xo;Fd.register(Hf);var fT=Fd;Oe.register(wu);var vT=Oe;var Gf=H.constructTagName("progressbar"),Il={DEFAULT:"default",INLINE:"inline"},Yf={VARIANT:Il.DEFAULT,VALIDATION:jt.DEFAULT};var gT=[Et,U`
4284
4293
  :host {
4285
4294
  --mdc-progressbar-background-color: var(--mds-color-theme-control-indicator-inactive-normal);
4286
4295
  --mdc-progressbar-active-background-color: var(--mds-color-theme-control-active-normal);
@@ -4367,7 +4376,7 @@
4367
4376
  border: var(--mdc-progressbar-border);
4368
4377
  }
4369
4378
  }
4370
- `],Vf=hT;var Ao=class extends re(ir){constructor(){super(...arguments);this.variant=zf.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let t=this.getValidationVariant(),o=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return I`
4379
+ `],Wf=gT;var Ao=class extends re(ir){constructor(){super(...arguments);this.variant=Yf.VARIANT;this.value="0";this.error=!1;this.renderProgressbar=()=>{var h;let t=this.getValidationVariant(),o=this.clampedValue>0&&this.clampedValue<100,a=this.error?"100":`${this.clampedValue}`;return I`
4371
4380
  <div
4372
4381
  part="progress-container ${o?"gap":""}"
4373
4382
  role="${tt.PROGRESSBAR}"
@@ -4379,15 +4388,15 @@
4379
4388
  <div part="progress-bar ${t}" style="width: ${a}%"></div>
4380
4389
  <div part="remaining"></div>
4381
4390
  </div>
4382
- `}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${be()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=Wt.ERROR:this.clampedValue===100?this.helpTextType=Wt.SUCCESS:this.helpTextType=Wt.DEFAULT,this.helpTextType}render(){let t=this.variant===Al.INLINE;return I`
4391
+ `}}connectedCallback(){super.connectedCallback(),this.id=`mdc-progressbar-${be()}`,this.disabled=void 0,this.toggletipText=void 0,this.toggletipPlacement=void 0}get clampedValue(){let t=Number(this.value);return Number.isNaN(t)?0:Math.max(0,Math.min(100,t))}getValidationVariant(){return this.error?this.helpTextType=jt.ERROR:this.clampedValue===100?this.helpTextType=jt.SUCCESS:this.helpTextType=jt.DEFAULT,this.helpTextType}render(){let t=this.variant===Il.INLINE;return I`
4383
4392
  ${t?I`<div part="inline-label-container">${this.renderLabelElement()} ${this.renderProgressbar()}</div>`:I`
4384
4393
  <div part="label-container">
4385
4394
  ${this.renderLabelElement()}
4386
- ${this.variant===Al.DEFAULT&&this.label?I`<span part="percentage">${this.clampedValue}%</span>`:""}
4395
+ ${this.variant===Il.DEFAULT&&this.label?I`<span part="percentage">${this.clampedValue}%</span>`:""}
4387
4396
  </div>
4388
4397
  ${this.renderProgressbar()} ${this.renderHelperText()}
4389
4398
  `}
4390
- `}};Ao.styles=[...ir.styles,...Vf],p([f({type:String,reflect:!0})],Ao.prototype,"variant",2),p([f({type:String,reflect:!0})],Ao.prototype,"value",2),p([f({type:Boolean,attribute:"error"})],Ao.prototype,"error",2);var Oa=Ao;Oa.register($f);var pT=Oa;var Bf=G.constructTagName("progressspinner"),Qt={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"},Od={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var Pd=l=>{if(l===0)return 0;let i=l/100*Qt.CIRCUMFERENCE-Qt.GAP_SIZE;return Math.max(i,.1*l)},Uf=l=>{let i=Qt.CIRCUMFERENCE-Pd(l)-2*Qt.GAP_SIZE;return l===0?Qt.CIRCUMFERENCE:i<0?0:i},Hf=l=>l===0?0:Qt.GAP_SIZE*.5,Gf=(l,i)=>{let t=i+Qt.GAP_SIZE*1.5;return l===0?0:t};var mT=H`
4399
+ `}};Ao.styles=[...ir.styles,...Wf],p([u({type:String,reflect:!0})],Ao.prototype,"variant",2),p([u({type:String,reflect:!0})],Ao.prototype,"value",2),p([u({type:Boolean,attribute:"error"})],Ao.prototype,"error",2);var Da=Ao;Da.register(Gf);var bT=Da;var jf=H.constructTagName("progressspinner"),Jt={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"},$d={CHECK_CIRCLE_BOLD:"check-circle-bold",ERROR_LEGACY_FILLED:"error-legacy-filled"};var zd=l=>{if(l===0)return 0;let i=l/100*Jt.CIRCUMFERENCE-Jt.GAP_SIZE;return Math.max(i,.1*l)},Kf=l=>{let i=Jt.CIRCUMFERENCE-zd(l)-2*Jt.GAP_SIZE;return l===0?Jt.CIRCUMFERENCE:i<0?0:i},qf=l=>l===0?0:Jt.GAP_SIZE*.5,Zf=(l,i)=>{let t=i+Jt.GAP_SIZE*1.5;return l===0?0:t};var yT=U`
4391
4400
  :host {
4392
4401
  --mdc-spinner-size: 3rem;
4393
4402
  --mdc-track-color: var(--mds-color-theme-control-indicator-inactive-normal);
@@ -4434,7 +4443,7 @@
4434
4443
  color: var(--mdc-progress-error-color);
4435
4444
  margin: calc(1 / 6 * var(--mdc-spinner-size));
4436
4445
  }
4437
- `,Yf=[mT];var Sl=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 i=Pd(this.clampedValue),t=Uf(this.clampedValue),o=Hf(this.clampedValue),a=Gf(this.clampedValue,i);return I`
4446
+ `,Xf=[yT];var Cl=class extends Da{connectedCallback(){super.connectedCallback(),this.id="",this.disabled=void 0,this.helpTextType=void 0,this.helpText=void 0,this.required=void 0,this.variant=void 0,this.label=void 0}renderProgressSpinner(){var h;let i=zd(this.clampedValue),t=Kf(this.clampedValue),o=qf(this.clampedValue),a=Zf(this.clampedValue,i);return I`
4438
4447
  <div
4439
4448
  part="spinner-container ${this.variant}"
4440
4449
  role="${tt.PROGRESSBAR}"
@@ -4448,18 +4457,18 @@
4448
4457
  part="spinner-track"
4449
4458
  cx="24"
4450
4459
  cy="24"
4451
- r="${Qt.RADIUS}"
4452
- stroke-width="${t===0?0:Qt.STROKE_WIDTH}"
4453
- stroke-dasharray="${t} ${Qt.CIRCUMFERENCE}"
4460
+ r="${Jt.RADIUS}"
4461
+ stroke-width="${t===0?0:Jt.STROKE_WIDTH}"
4462
+ stroke-dasharray="${t} ${Jt.CIRCUMFERENCE}"
4454
4463
  stroke-dashoffset="-${a}"
4455
4464
  />
4456
4465
  <circle
4457
4466
  part="spinner-progress"
4458
4467
  cx="24"
4459
4468
  cy="24"
4460
- r="${Qt.RADIUS}"
4461
- stroke-width="${i===0?0:Qt.STROKE_WIDTH}"
4462
- stroke-dasharray="${i} ${Qt.CIRCUMFERENCE}"
4469
+ r="${Jt.RADIUS}"
4470
+ stroke-width="${i===0?0:Jt.STROKE_WIDTH}"
4471
+ stroke-dasharray="${i} ${Jt.CIRCUMFERENCE}"
4463
4472
  stroke-dashoffset="-${o}"
4464
4473
  />
4465
4474
  </svg>
@@ -4468,19 +4477,19 @@
4468
4477
  <mdc-icon
4469
4478
  part="error-icon"
4470
4479
  aria-label="${(i=this.dataAriaLabel)!=null?i:""}"
4471
- name="${Od.ERROR_LEGACY_FILLED}"
4472
- size="${Qt.ERROR_ICON_SIZE}"
4473
- length-unit="${Qt.ICON_LENGTH_UNIT}"
4480
+ name="${$d.ERROR_LEGACY_FILLED}"
4481
+ size="${Jt.ERROR_ICON_SIZE}"
4482
+ length-unit="${Jt.ICON_LENGTH_UNIT}"
4474
4483
  ></mdc-icon>
4475
4484
  `}renderSuccessState(){var i;return I`
4476
4485
  <mdc-icon
4477
4486
  part="success-icon"
4478
4487
  aria-label="${(i=this.dataAriaLabel)!=null?i:""}"
4479
- name="${Od.CHECK_CIRCLE_BOLD}"
4480
- size="${Qt.SUCCESS_ICON_SIZE}"
4481
- length-unit="${Qt.ICON_LENGTH_UNIT}"
4488
+ name="${$d.CHECK_CIRCLE_BOLD}"
4489
+ size="${Jt.SUCCESS_ICON_SIZE}"
4490
+ length-unit="${Jt.ICON_LENGTH_UNIT}"
4482
4491
  ></mdc-icon>
4483
- `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():I` ${this.renderProgressSpinner()}`}};Sl.styles=[...W.styles,...Yf];var Dd=Sl;Dd.register(Bf);var uT=Dd;var fT=[Et,H`
4492
+ `}render(){return this.error?this.renderErrorState():this.clampedValue===100?this.renderSuccessState():I` ${this.renderProgressSpinner()}`}};Cl.styles=[...W.styles,...Xf];var Vd=Cl;Vd.register(jf);var ET=Vd;var TT=[Et,U`
4484
4493
  :host {
4485
4494
  display: flex;
4486
4495
  flex-direction: row;
@@ -4565,7 +4574,7 @@
4565
4574
  :host::part(required-indicator) {
4566
4575
  display: none;
4567
4576
  }
4568
- `,...xt(!0)],Wf=fT;var bs=class extends Re(Pe(re(xe))){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.updateTabIndex(),this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(o=>{o.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(o=>{this.onerror&&this.onerror(o)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,o){this.updateComplete.then(()=>{t.forEach(a=>{a.setComponentValidity(o)})}).catch(a=>{this.onerror&&this.onerror(a)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let o=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(o,!0);else{let a=o.some(E=>E.required),h=!!o.find(E=>E.checked),m=a&&!h;this.setGroupValidity(o,!m)}this.internals.setFormValue(t)}handleChange(){var a;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(h=>{var E;let m=(E=h.shadowRoot)==null?void 0:E.querySelector("input");m&&(h.checked=!1,m.checked=!1)}),this.checked=!0;let o=(a=this.shadowRoot)==null?void 0:a.querySelector("input");o&&(o.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,o){var a,h;(h=(a=t[o].shadowRoot)==null?void 0:a.querySelector("input"))==null||h.focus(),t[o].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;let a=this.getAllRadiosWithinSameGroup().filter(E=>!E.disabled),h=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let E=(h+1)%a.length;this.updateRadio(a,E)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let E=(h-1+a.length)%a.length;this.updateRadio(a,E)}else t.key===J.SPACE&&this.updateRadio(a,h);this.updateTabIndex(),t.key===J.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),o=t.find(h=>h.checked),a=t.find(h=>!h.disabled);t.forEach(h=>{var E;let m=(E=h.shadowRoot)==null?void 0:E.querySelector("input");m&&(m.tabIndex=-1,(h===o||!o&&h===a)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return I`
4577
+ `,...xt(!0)],Qf=TT;var ys=class extends Re(Pe(re(xe))){constructor(){super(...arguments);this.checked=!1;this.readonly=!1;this.renderLabelAndHelperText=()=>this.label?I`<div class="mdc-radio__label-container">${this.renderLabel()} ${this.renderHelperText()}</div>`:j}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.updateTabIndex(),this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}getAllRadiosWithinSameGroup(){return Array.from(document.querySelectorAll(`mdc-radio[name="${this.name}"]`))}formResetCallback(){this.getAllRadiosWithinSameGroup().forEach(o=>{o.checked=!1}),this.updateComplete.then(()=>{this.setActualFormValue()}).catch(o=>{this.onerror&&this.onerror(o)})}formStateRestoreCallback(t){this.value===t&&t!==""&&(this.checked=!0)}setComponentValidity(t){t?this.internals.setValidity({}):this.required&&!this.checked&&(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()),this.updateTabIndex()}setGroupValidity(t,o){this.updateComplete.then(()=>{t.forEach(a=>{a.setComponentValidity(o)})}).catch(a=>{this.onerror&&this.onerror(a)})}setActualFormValue(){let t="";this.checked?t=this.value?this.value:"on":t=null;let o=this.getAllRadiosWithinSameGroup();if(this.checked)this.setGroupValidity(o,!0);else{let a=o.some(E=>E.required),h=!!o.find(E=>E.checked),m=a&&!h;this.setGroupValidity(o,!m)}this.internals.setFormValue(t)}handleChange(){var a;if(this.disabled||this.readonly)return;this.getAllRadiosWithinSameGroup().forEach(h=>{var E;let m=(E=h.shadowRoot)==null?void 0:E.querySelector("input");m&&(h.checked=!1,m.checked=!1)}),this.checked=!0;let o=(a=this.shadowRoot)==null?void 0:a.querySelector("input");o&&(o.checked=!0),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0}))}updateRadio(t,o){var a,h;(h=(a=t[o].shadowRoot)==null?void 0:a.querySelector("input"))==null||h.focus(),t[o].handleChange()}handleKeyDown(t){var m;if(this.disabled)return;let a=this.getAllRadiosWithinSameGroup().filter(E=>!E.disabled),h=a.indexOf(this);if(["ArrowDown","ArrowRight"].includes(t.key)){let E=(h+1)%a.length;this.updateRadio(a,E)}else if(["ArrowUp","ArrowLeft"].includes(t.key)){let E=(h-1+a.length)%a.length;this.updateRadio(a,E)}else t.key===J.SPACE&&this.updateRadio(a,h);this.updateTabIndex(),t.key===J.ENTER&&((m=this.form)==null||m.requestSubmit())}updateTabIndex(){let t=this.getAllRadiosWithinSameGroup(),o=t.find(h=>h.checked),a=t.find(h=>!h.disabled);t.forEach(h=>{var E;let m=(E=h.shadowRoot)==null?void 0:E.querySelector("input");m&&(m.tabIndex=-1,(h===o||!o&&h===a)&&(m.tabIndex=0))})}update(t){super.update(t),t.has("checked")&&this.setActualFormValue()}render(){var t;return I`
4569
4578
  <mdc-staticradio
4570
4579
  class="mdc-focus-ring"
4571
4580
  ?checked="${this.checked}"
@@ -4577,8 +4586,8 @@
4577
4586
  type="radio"
4578
4587
  role="${tt.RADIO}"
4579
4588
  ?autofocus="${this.autofocus}"
4580
- name="${ot(this.name)}"
4581
- value="${ot(this.value)}"
4589
+ name="${st(this.name)}"
4590
+ value="${st(this.value)}"
4582
4591
  ?required="${this.required}"
4583
4592
  @change=${this.handleChange}
4584
4593
  @keydown=${this.handleKeyDown}
@@ -4587,12 +4596,12 @@
4587
4596
  ?disabled=${this.disabled}
4588
4597
  class="mdc-radio__input"
4589
4598
  aria-checked="${this.checked}"
4590
- aria-describedby="${ot(this.helpText?Dt.HELPER_TEXT_ID:"")}"
4599
+ aria-describedby="${st(this.helpText?Dt.HELPER_TEXT_ID:"")}"
4591
4600
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4592
4601
  />
4593
4602
  </mdc-staticradio>
4594
4603
  ${this.renderLabelAndHelperText()}
4595
- `}};bs.styles=[...xe.styles,...Wf],p([f({type:Boolean,reflect:!0})],bs.prototype,"checked",2),p([f({type:Boolean,reflect:!0})],bs.prototype,"readonly",2);var Fd=bs;var _l=G.constructTagName("radio");Fd.register(_l);var vT=Fd;var Pa=class extends pl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,o,a,h,m;(m=(h=(a=(o=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:o.flatMap(E=>E.assignedElements({flatten:!0})))==null?void 0:a.filter(E=>E.tagName.toLowerCase()===_l||E.tagName.toLowerCase()===Xn))==null?void 0:h.filter(E=>!E.hasAttribute("name")))==null||m.forEach(E=>{E.setAttribute("name",this.name),this.required&&E.setAttribute("required",this.required.toString())})}};Pa.styles=[...pl.styles],p([f({type:String})],Pa.prototype,"name",2);var $d=Pa;var jf=G.constructTagName("radiogroup");$d.register(jf);var gT=$d;var bT=H`
4604
+ `}};ys.styles=[...xe.styles,...Qf],p([u({type:Boolean,reflect:!0})],ys.prototype,"checked",2),p([u({type:Boolean,reflect:!0})],ys.prototype,"readonly",2);var Bd=ys;var kl=H.constructTagName("radio");Bd.register(kl);var xT=Bd;var Fa=class extends fl{constructor(){super();this.name="";this.isRadio=!0}firstUpdated(){var t,o,a,h,m;(m=(h=(a=(o=Array.from(((t=this.shadowRoot)==null?void 0:t.querySelectorAll("slot"))||[]))==null?void 0:o.flatMap(E=>E.assignedElements({flatten:!0})))==null?void 0:a.filter(E=>E.tagName.toLowerCase()===kl||E.tagName.toLowerCase()===Jn))==null?void 0:h.filter(E=>!E.hasAttribute("name")))==null||m.forEach(E=>{E.setAttribute("name",this.name),this.required&&E.setAttribute("required",this.required.toString())})}};Fa.styles=[...fl.styles],p([u({type:String})],Fa.prototype,"name",2);var Ud=Fa;var Jf=H.constructTagName("radiogroup");Ud.register(Jf);var AT=Ud;var ST=U`
4596
4605
  :host::part(filters-container) {
4597
4606
  display: flex;
4598
4607
  gap: 0.25rem;
@@ -4617,7 +4626,7 @@
4617
4626
  position: relative;
4618
4627
  scrollbar-width: none;
4619
4628
  }
4620
- `,Kf=[bT];var qf=G.constructTagName("searchfield"),Da={TYPE:ds.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:ul};var So=class extends oi{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key===J.ESCAPE&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=Da.ICON,this.trailingButton=Da.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(o=>{o.matches(Da.INPUT_CHIP_TAG)||o.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(o=>{o.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return I`
4629
+ `,tv=[ST];var ev=H.constructTagName("searchfield"),$a={TYPE:hs.SEARCH,ICON:"search-bold",CLOSE_BTN:!0,INPUT_CHIP_TAG:gl};var So=class extends oi{constructor(){super(...arguments);this.isInputFocused=!1;this.hasInputChips=!1}handleKeyDown(t){super.handleKeyDown(t),t.key===J.ESCAPE&&this.clearInputText()}connectedCallback(){super.connectedCallback(),this.leadingIcon=$a.ICON,this.trailingButton=$a.CLOSE_BTN,this.helpText=void 0,this.helpTextType=void 0,this.required=void 0,this.validationMessage=void 0,this.prefixText=void 0}renderInputChips(){var t;this.hasInputChips=!!((t=this.inputChips)!=null&&t.length),this.inputChips&&this.inputChips.forEach(o=>{o.matches($a.INPUT_CHIP_TAG)||o.remove()})}firstUpdated(t){this.inputElement.onfocus=()=>{this.isInputFocused=!0},this.inputElement.onblur=()=>{this.isInputFocused=!1},super.firstUpdated(t)}clearInputText(){var t;super.clearInputText(),(t=this.inputChips)==null||t.forEach(o=>{o.dispatchEvent(new CustomEvent("remove",{bubbles:!0,composed:!0}))})}render(){return I`
4621
4630
  ${this.renderLabelElement()}
4622
4631
  <div
4623
4632
  class="${wr({"input-container":!0,"mdc-focus-ring":this.isInputFocused})}"
@@ -4633,11 +4642,11 @@
4633
4642
  >
4634
4643
  <slot name="filters" @slotchange=${this.renderInputChips}></slot>
4635
4644
  </div>
4636
- ${this.renderInputElement(Da.TYPE,this.hasInputChips)}
4645
+ ${this.renderInputElement($a.TYPE,this.hasInputChips)}
4637
4646
  </div>
4638
4647
  ${this.renderTrailingButton(this.hasInputChips)}
4639
4648
  </div>
4640
- `}};So.styles=[...oi.styles,...Kf],p([Lt({slot:"filters"})],So.prototype,"inputChips",2),p([At()],So.prototype,"isInputFocused",2),p([At()],So.prototype,"hasInputChips",2);var zd=So;zd.register(qf);var yT=zd;var Zf=G.constructTagName("select"),Vd={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},Fa="select-base-triggerid",Bd="select-listbox";var ET=H`
4649
+ `}};So.styles=[...oi.styles,...tv],p([Lt({slot:"filters"})],So.prototype,"inputChips",2),p([At()],So.prototype,"isInputFocused",2),p([At()],So.prototype,"hasInputChips",2);var Hd=So;Hd.register(ev);var _T=Hd;var rv=H.constructTagName("select"),Gd={ARROW_UP:"arrow-up-bold",ARROW_DOWN:"arrow-down-bold"},za="select-base-triggerid",Yd="select-listbox";var IT=U`
4641
4650
  :host {
4642
4651
  --mdc-select-background-color: var(--mds-color-theme-background-primary-ghost);
4643
4652
  --mdc-select-background-color-hover: var(--mds-color-theme-background-primary-hover);
@@ -4758,26 +4767,26 @@
4758
4767
  :host([soft-disabled])::part(base-text) {
4759
4768
  color: var(--mdc-select-text-color-disabled);
4760
4769
  }
4761
- `,Xf=[ET,...xt(!0)];var fe=class extends Re(Pe(re(xe))){constructor(){super(...arguments);this.readonly=!1;this.placement=Zt.BOTTOM_START;this.boundary=Ct.BOUNDARY;this.strategy=Ct.STRATEGY;this.popoverZIndex=Ct.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null}getAllValidOptions(){var t;return Array.from(((t=this.slottedListboxes[0])==null?void 0:t.querySelectorAll(`${li}:not([disabled])`))||[])}getFirstValidOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${li}:not([disabled])`)}getLastValidOption(){let t=this.getAllValidOptions();return t.length>0?t[t.length-1]:null}getFirstSelectedOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${li}[selected]:not([disabled])`)}async firstUpdated(t){await this.updateComplete,this.modifyListBoxWrapper();let o=this.getFirstSelectedOption();if(o)this.initialSelectedOption=o,this.setSelectedOption(o);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let a=this.getFirstValidOption();this.setSelectedOption(a),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1),t.has("dataAriaLabel")&&this.modifyListBoxWrapper()}modifyListBoxWrapper(){let t=this.slottedListboxes[0];t&&(t.setAttribute("id",Bd),t.setAttribute("aria-label",this.dataAriaLabel||""),t.setAttribute("aria-labelledby",Fa))}handleOptionsClick(t){let o=t.target;o&&o.tagName===li.toUpperCase()&&!o.hasAttribute("disabled")&&!o.hasAttribute("soft-disabled")&&(this.setSelectedOption(o),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var o,a,h;this.updateSelectedInChildOptions(t),this.updateTabIndexForAllOptions(t),this.selectedOption=t,this.value=(a=(o=this.selectedOption)==null?void 0:o.value)!=null?a:"",this.internals.setFormValue(this.value),(h=this.inputElement)==null||h.setAttribute("value",this.value),this.setInputValidity()}updateTabIndexForAllOptions(t){let o=this.getAllValidOptions(),a=t||o[0];o.forEach(h=>{h.setAttribute("tabindex",h===a?"0":"-1")})}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.getAllValidOptions().forEach(a=>{a!==t&&a.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,o;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(o=this.inputElement)==null||o.setCustomValidity(""),this.setValidity()}formResetCallback(){var o;let t=this.initialSelectedOption||null;((o=this.selectedOption)==null?void 0:o.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var a;let o=this.getAllValidOptions().find(h=>h.value===t||h.label===t);((a=this.selectedOption)==null?void 0:a.value)!==(o==null?void 0:o.value)&&(this.setSelectedOption(o||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case J.ARROW_DOWN:case J.ARROW_UP:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case J.ENTER:case J.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case J.HOME:{this.displayPopover=!0;let o=this.getFirstValidOption();o&&(o==null||o.focus(),this.updateTabIndexForAllOptions(o)),t.preventDefault();break}case J.END:{this.displayPopover=!0;let o=this.getLastValidOption();o&&(o.focus(),this.updateTabIndexForAllOptions(o)),t.preventDefault();break}default:break}}handlePopoverKeydown(t){let o=null;switch(t.key){case J.HOME:{o=this.getFirstValidOption();break}case J.END:{o=this.getLastValidOption();break}case J.ARROW_DOWN:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.min(h+1,a.length-1);o=a[m];break}case J.ARROW_UP:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.max(h-1,0);o=a[m];break}case J.PAGE_DOWN:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.min(h+10,a.length-1);o=a[m];break}case J.PAGE_UP:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.max(h-10,0);o=a[m];break}default:break}o&&(this.focusAndUpdateTabIndexes(o),t.preventDefault(),t.stopPropagation())}focusAndUpdateTabIndexes(t){t&&(t.focus(),this.updateTabIndexForAllOptions(t))}handleNativeInputFocus(){this.visualCombobox.focus()}updateState(){var o;let t=this.getFirstSelectedOption();this.inputElement&&(t?((o=this.selectedOption)==null?void 0:o.value)!==t.value&&this.setSelectedOption(t):this.setSelectedOption(this.placeholder?null:this.getFirstValidOption()))}render(){var t,o,a,h,m,E;return I`
4770
+ `,iv=[IT,...xt(!0)];var fe=class extends Re(Pe(re(xe))){constructor(){super(...arguments);this.readonly=!1;this.placement=Xt.BOTTOM_START;this.boundary=Ct.BOUNDARY;this.strategy=Ct.STRATEGY;this.popoverZIndex=Ct.Z_INDEX;this.displayPopover=!1;this.initialSelectedOption=null}getAllValidOptions(){var t;return Array.from(((t=this.slottedListboxes[0])==null?void 0:t.querySelectorAll(`${li}:not([disabled])`))||[])}getFirstValidOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${li}:not([disabled])`)}getLastValidOption(){let t=this.getAllValidOptions();return t.length>0?t[t.length-1]:null}getFirstSelectedOption(){var t;return(t=this.slottedListboxes[0])==null?void 0:t.querySelector(`${li}[selected]:not([disabled])`)}async firstUpdated(t){await this.updateComplete,this.modifyListBoxWrapper();let o=this.getFirstSelectedOption();if(o)this.initialSelectedOption=o,this.setSelectedOption(o);else if(this.placeholder)this.placeholder&&this.setInputValidity();else{let a=this.getFirstValidOption();this.setSelectedOption(a),this.fireEvents()}this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}updated(t){super.updated(t),(t.has("disabled")||t.has("softDisabled")||t.has("readonly"))&&(this.disabled||this.softDisabled||this.readonly)&&(this.displayPopover=!1),t.has("dataAriaLabel")&&this.modifyListBoxWrapper()}modifyListBoxWrapper(){let t=this.slottedListboxes[0];t&&(t.setAttribute("id",Yd),t.setAttribute("aria-label",this.dataAriaLabel||""),t.setAttribute("aria-labelledby",za))}handleOptionsClick(t){let o=t.target;o&&o.tagName===li.toUpperCase()&&!o.hasAttribute("disabled")&&!o.hasAttribute("soft-disabled")&&(this.setSelectedOption(o),this.displayPopover=!1,this.fireEvents())}setSelectedOption(t){var o,a,h;this.updateSelectedInChildOptions(t),this.updateTabIndexForAllOptions(t),this.selectedOption=t,this.value=(a=(o=this.selectedOption)==null?void 0:o.value)!=null?a:"",this.internals.setFormValue(this.value),(h=this.inputElement)==null||h.setAttribute("value",this.value),this.setInputValidity()}updateTabIndexForAllOptions(t){let o=this.getAllValidOptions(),a=t||o[0];o.forEach(h=>{h.setAttribute("tabindex",h===a?"0":"-1")})}updateSelectedInChildOptions(t){t==null||t.setAttribute("selected","true"),this.getAllValidOptions().forEach(a=>{a!==t&&a.removeAttribute("selected")})}fireEvents(){this.dispatchInput(this.selectedOption),this.dispatchChange(this.selectedOption)}setInputValidity(){var t,o;!this.selectedOption&&this.required&&this.validationMessage?(t=this.inputElement)==null||t.setCustomValidity(this.validationMessage):(o=this.inputElement)==null||o.setCustomValidity(""),this.setValidity()}formResetCallback(){var o;let t=this.initialSelectedOption||null;((o=this.selectedOption)==null?void 0:o.value)!==(t==null?void 0:t.value)&&(this.setSelectedOption(t),this.fireEvents())}formStateRestoreCallback(t){var a;let o=this.getAllValidOptions().find(h=>h.value===t||h.label===t);((a=this.selectedOption)==null?void 0:a.value)!==(o==null?void 0:o.value)&&(this.setSelectedOption(o||null),this.fireEvents())}dispatchChange(t){this.dispatchEvent(new CustomEvent("change",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}dispatchInput(t){this.dispatchEvent(new CustomEvent("input",{detail:{value:t==null?void 0:t.value,label:t==null?void 0:t.label},composed:!0,bubbles:!0}))}handleClickCombobox(t){this.disabled||this.softDisabled||this.readonly||(this.displayPopover=!this.displayPopover,t.stopPropagation())}handleKeydownCombobox(t){if(!(this.disabled||this.softDisabled||this.readonly))switch(t.key){case J.ARROW_DOWN:case J.ARROW_UP:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case J.ENTER:case J.SPACE:this.displayPopover=!0,t.preventDefault(),t.stopPropagation();break;case J.HOME:{this.displayPopover=!0;let o=this.getFirstValidOption();o&&(o==null||o.focus(),this.updateTabIndexForAllOptions(o)),t.preventDefault();break}case J.END:{this.displayPopover=!0;let o=this.getLastValidOption();o&&(o.focus(),this.updateTabIndexForAllOptions(o)),t.preventDefault();break}default:break}}handlePopoverKeydown(t){let o=null;switch(t.key){case J.HOME:{o=this.getFirstValidOption();break}case J.END:{o=this.getLastValidOption();break}case J.ARROW_DOWN:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.min(h+1,a.length-1);o=a[m];break}case J.ARROW_UP:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.max(h-1,0);o=a[m];break}case J.PAGE_DOWN:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.min(h+10,a.length-1);o=a[m];break}case J.PAGE_UP:{let a=this.getAllValidOptions(),h=a.findIndex(E=>E===t.target),m=Math.max(h-10,0);o=a[m];break}default:break}o&&(this.focusAndUpdateTabIndexes(o),t.preventDefault(),t.stopPropagation())}focusAndUpdateTabIndexes(t){t&&(t.focus(),this.updateTabIndexForAllOptions(t))}handleNativeInputFocus(){this.visualCombobox.focus()}updateState(){var o;let t=this.getFirstSelectedOption();this.inputElement&&(t?((o=this.selectedOption)==null?void 0:o.value)!==t.value&&this.setSelectedOption(t):this.setSelectedOption(this.placeholder?null:this.getFirstValidOption()))}render(){var t,o,a,h,m,E;return I`
4762
4771
  ${this.renderLabel()}
4763
4772
  <div part="container">
4764
4773
  <div
4765
- id="${Fa}"
4774
+ id="${za}"
4766
4775
  part="base-container"
4767
4776
  @click="${this.handleClickCombobox}"
4768
4777
  @keydown="${this.handleKeydownCombobox}"
4769
4778
  tabindex="${this.disabled?"-1":"0"}"
4770
4779
  class="${this.disabled?"":"mdc-focus-ring"}"
4771
4780
  role="${tt.COMBOBOX}"
4772
- aria-controls="${Bd}"
4781
+ aria-controls="${Yd}"
4773
4782
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
4774
4783
  aria-labelledby="${this.label?Dt.HEADING_ID:""}"
4775
4784
  aria-expanded="${this.displayPopover?"true":"false"}"
4776
4785
  aria-haspopup="${tt.LISTBOX}"
4777
4786
  aria-required="${this.required?"true":"false"}"
4778
- aria-invalid="${this.helpTextType===Wt.ERROR?"true":"false"}"
4779
- aria-disabled="${ot(this.disabled||this.softDisabled)}"
4780
- aria-readonly="${ot(this.readonly)}"
4787
+ aria-invalid="${this.helpTextType===jt.ERROR?"true":"false"}"
4788
+ aria-disabled="${st(this.disabled||this.softDisabled)}"
4789
+ aria-readonly="${st(this.readonly)}"
4781
4790
  >
4782
4791
  ${(o=this.selectedOption)!=null&&o.prefixIcon?I`<mdc-icon
4783
4792
  length-unit="rem"
@@ -4787,8 +4796,8 @@
4787
4796
  ></mdc-icon>`:j}
4788
4797
  <mdc-text
4789
4798
  part="base-text ${(h=this.selectedOption)!=null&&h.label?"selected":""}"
4790
- type="${st.BODY_MIDSIZE_REGULAR}"
4791
- tagname="${gt.SPAN}"
4799
+ type="${ot.BODY_MIDSIZE_REGULAR}"
4800
+ tagname="${ut.SPAN}"
4792
4801
  >
4793
4802
  ${(E=(m=this.selectedOption)==null?void 0:m.label)!=null?E:this.placeholder}
4794
4803
  </mdc-text>
@@ -4796,7 +4805,7 @@
4796
4805
  <mdc-icon
4797
4806
  size="1"
4798
4807
  length-unit="rem"
4799
- name="${this.displayPopover?Vd.ARROW_UP:Vd.ARROW_DOWN}"
4808
+ name="${this.displayPopover?Gd.ARROW_UP:Gd.ARROW_DOWN}"
4800
4809
  ></mdc-icon>
4801
4810
  </div>
4802
4811
  </div>
@@ -4812,35 +4821,35 @@
4812
4821
  aria-hidden="true"
4813
4822
  @focus=${this.handleNativeInputFocus}
4814
4823
  @invalid=${this.setInputValidity}
4815
- aria-disabled="${ot(this.disabled||this.softDisabled)}"
4824
+ aria-disabled="${st(this.disabled||this.softDisabled)}"
4816
4825
  />
4817
4826
  <mdc-popover
4818
4827
  trigger="manual"
4819
- triggerid="${Fa}"
4828
+ triggerid="${za}"
4820
4829
  @keydown="${this.handlePopoverKeydown}"
4821
4830
  interactive
4822
4831
  ?visible="${this.displayPopover}"
4823
4832
  role=""
4824
4833
  backdrop
4825
- backdrop-append-to="${ot(this.backdropAppendTo)}"
4834
+ backdrop-append-to="${st(this.backdropAppendTo)}"
4826
4835
  hide-on-outside-click
4827
4836
  hide-on-escape
4828
4837
  focus-back-to-trigger
4829
4838
  focus-trap
4830
4839
  size
4831
- boundary="${ot(this.boundary)}"
4832
- strategy="${ot(this.strategy)}"
4840
+ boundary="${st(this.boundary)}"
4841
+ strategy="${st(this.strategy)}"
4833
4842
  placement="${this.placement}"
4834
4843
  @closebyescape="${()=>{this.displayPopover=!1}}"
4835
4844
  @closebyoutsideclick="${()=>{this.displayPopover=!1}}"
4836
- z-index="${ot(this.popoverZIndex)}"
4845
+ z-index="${st(this.popoverZIndex)}"
4837
4846
  exportparts="popover-content"
4838
4847
  >
4839
4848
  <slot @click="${this.handleOptionsClick}"></slot>
4840
4849
  </mdc-popover>
4841
4850
  </div>
4842
4851
  ${this.renderHelperText()}
4843
- `}};fe.styles=[...xe.styles,...Xf],p([f({type:String})],fe.prototype,"placeholder",2),p([f({type:Boolean})],fe.prototype,"readonly",2),p([f({type:String,reflect:!0})],fe.prototype,"placement",2),p([f({type:Boolean,attribute:"soft-disabled",reflect:!0})],fe.prototype,"softDisabled",2),p([f({type:String,reflect:!0,attribute:"boundary"})],fe.prototype,"boundary",2),p([f({type:String,reflect:!0,attribute:"strategy"})],fe.prototype,"strategy",2),p([f({type:Number,reflect:!0,attribute:"popover-z-index"})],fe.prototype,"popoverZIndex",2),p([f({type:String,reflect:!0,attribute:"backdrop-append-to"})],fe.prototype,"backdropAppendTo",2),p([Lt({selector:"mdc-selectlistbox"})],fe.prototype,"slottedListboxes",2),p([Yr(`[id="${Fa}"]`)],fe.prototype,"visualCombobox",2),p([At()],fe.prototype,"selectedOption",2),p([At()],fe.prototype,"displayPopover",2);var Ud=fe;Ud.register(Zf);var TT=Ud;var Hd=class extends W{connectedCallback(){super.connectedCallback(),this.role=tt.LISTBOX}createRenderRoot(){return this}},Gd=Hd;var Qf=G.constructTagName("selectlistbox");Gd.register(Qf);var xT=Gd;Eo.register(Mi);var AT=Eo;var Jf=G.constructTagName("skeleton"),tv={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},ev={VARIANT:tv.RECTANGULAR};var ST=H`
4852
+ `}};fe.styles=[...xe.styles,...iv],p([u({type:String})],fe.prototype,"placeholder",2),p([u({type:Boolean})],fe.prototype,"readonly",2),p([u({type:String,reflect:!0})],fe.prototype,"placement",2),p([u({type:Boolean,attribute:"soft-disabled",reflect:!0})],fe.prototype,"softDisabled",2),p([u({type:String,reflect:!0,attribute:"boundary"})],fe.prototype,"boundary",2),p([u({type:String,reflect:!0,attribute:"strategy"})],fe.prototype,"strategy",2),p([u({type:Number,reflect:!0,attribute:"popover-z-index"})],fe.prototype,"popoverZIndex",2),p([u({type:String,reflect:!0,attribute:"backdrop-append-to"})],fe.prototype,"backdropAppendTo",2),p([Lt({selector:"mdc-selectlistbox"})],fe.prototype,"slottedListboxes",2),p([Yr(`[id="${za}"]`)],fe.prototype,"visualCombobox",2),p([At()],fe.prototype,"selectedOption",2),p([At()],fe.prototype,"displayPopover",2);var Wd=fe;Wd.register(rv);var CT=Wd;var jd=class extends W{connectedCallback(){super.connectedCallback(),this.role=tt.LISTBOX}createRenderRoot(){return this}},Kd=jd;var ov=H.constructTagName("selectlistbox");Kd.register(ov);var kT=Kd;Eo.register(Mi);var wT=Eo;var sv=H.constructTagName("skeleton"),av={BUTTON:"button",CIRCULAR:"circular",RECTANGULAR:"rectangular",ROUNDED:"rounded"},nv={VARIANT:av.RECTANGULAR};var NT=U`
4844
4853
  :host {
4845
4854
  --mdc-skeleton-background-color: var(--mds-color-theme-background-skeleton-normal);
4846
4855
  --mdc-skeleton-height: 100%;
@@ -4877,7 +4886,7 @@
4877
4886
  ::slotted(*) {
4878
4887
  visibility: hidden;
4879
4888
  }
4880
- `,rv=ST;var $a=class extends W{constructor(){super(...arguments);this.variant=ev.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var o;let t=(o=this.shadowRoot)==null?void 0:o.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return I`<slot @slotchange=${this.checkSlotContent}></slot>`}};$a.styles=[...W.styles,rv],p([f({type:String,reflect:!0})],$a.prototype,"variant",2);var Yd=$a;Yd.register(Jf);var _T=Yd;var IT=[Et,H`
4889
+ `,lv=NT;var Va=class extends W{constructor(){super(...arguments);this.variant=nv.VARIANT}connectedCallback(){super.connectedCallback(),this.setAttribute("aria-hidden","true")}firstUpdated(t){super.firstUpdated(t),this.checkSlotContent()}checkSlotContent(){var o;let t=(o=this.shadowRoot)==null?void 0:o.querySelector("slot");t&&(t.assignedNodes().length>0?this.setAttribute("has-content",""):this.removeAttribute("has-content"))}render(){return I`<slot @slotchange=${this.checkSlotContent}></slot>`}};Va.styles=[...W.styles,lv],p([u({type:String,reflect:!0})],Va.prototype,"variant",2);var qd=Va;qd.register(sv);var LT=qd;var RT=[Et,U`
4881
4890
  :host {
4882
4891
  --mdc-spinner-default-color: var(--mds-color-theme-control-active-normal);
4883
4892
  --mdc-spinner-inverted-color: var(--mds-color-theme-inverted-control-active-normal);
@@ -4941,11 +4950,11 @@
4941
4950
  stroke-dashoffset: -292;
4942
4951
  }
4943
4952
  }
4944
- `],iv=IT;var ov=G.constructTagName("spinner"),CT={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},kT={STANDALONE:"standalone",BUTTON:"button"},Il={VARIANT:kT.STANDALONE,SIZE:CT.MIDSIZE,INVERTED:!1};var Fi=class extends W{constructor(){super(...arguments);this.inverted=Il.INVERTED;this.size=Il.SIZE;this.ariaLabel=null;this.variant=Il.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?tt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return I`
4953
+ `],cv=RT;var dv=H.constructTagName("spinner"),MT={LARGE:"large",MIDSIZE:"midsize",SMALL:"small"},OT={STANDALONE:"standalone",BUTTON:"button"},wl={VARIANT:OT.STANDALONE,SIZE:MT.MIDSIZE,INVERTED:!1};var Fi=class extends W{constructor(){super(...arguments);this.inverted=wl.INVERTED;this.size=wl.SIZE;this.ariaLabel=null;this.variant=wl.VARIANT}updated(t){super.updated(t),t.has("ariaLabel")&&(this.role=this.ariaLabel?tt.IMG:null,this.ariaHidden=this.ariaLabel?"false":"true")}render(){return I`
4945
4954
  <svg part="container" viewBox="0 0 100 100">
4946
4955
  <circle part="circle" cx="50" cy="50" r="46"></circle>
4947
4956
  </svg>
4948
- `}};Fi.styles=[...W.styles,...iv],p([f({type:Boolean,reflect:!0})],Fi.prototype,"inverted",2),p([f({type:String,reflect:!0})],Fi.prototype,"size",2),p([f({type:String,attribute:"aria-label"})],Fi.prototype,"ariaLabel",2),p([f({type:String,reflect:!0})],Fi.prototype,"variant",2);var Wd=Fi;Wd.register(ov);var wT=Wd;var NT={COMPLETE:"complete",INCOMPLETE:"incomplete"},jd={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Kd={STATUS:NT.INCOMPLETE,ORIENTATION:jd.HORIZONTAL},sv=G.constructTagName("stepperconnector");var av=G.constructTagName("stepperitem"),qd={INLINE:"inline",STACKED:"stacked"},ci={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},Cl={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},Zd={VARIANT:qd.INLINE,STATUS:ci.NOT_STARTED};var kl=G.constructTagName("stepper"),za={ORIENTATION:jd.HORIZONTAL,VARIANT:qd.INLINE};var wl=class{constructor(i,t){this.orientation=i,this.variant=t}};wl.context=kl;var Nl=wl;var LT=H`
4957
+ `}};Fi.styles=[...W.styles,...cv],p([u({type:Boolean,reflect:!0})],Fi.prototype,"inverted",2),p([u({type:String,reflect:!0})],Fi.prototype,"size",2),p([u({type:String,attribute:"aria-label"})],Fi.prototype,"ariaLabel",2),p([u({type:String,reflect:!0})],Fi.prototype,"variant",2);var Zd=Fi;Zd.register(dv);var PT=Zd;ga.register(zu);var DT=ga;var FT={COMPLETE:"complete",INCOMPLETE:"incomplete"},Xd={VERTICAL:"vertical",HORIZONTAL:"horizontal"},Qd={STATUS:FT.INCOMPLETE,ORIENTATION:Xd.HORIZONTAL},hv=H.constructTagName("stepperconnector");var pv=H.constructTagName("stepperitem"),Jd={INLINE:"inline",STACKED:"stacked"},ci={COMPLETED:"completed",CURRENT:"current",ERROR_CURRENT:"error-current",ERROR_INCOMPLETE:"error-incomplete",NOT_STARTED:"not-started"},Nl={COMPLETED:"check-bold",ERROR:"error-legacy-badge-filled",PENCIL:"edit-bold"},th={VARIANT:Jd.INLINE,STATUS:ci.NOT_STARTED};var Ll=H.constructTagName("stepper"),Ba={ORIENTATION:Xd.HORIZONTAL,VARIANT:Jd.INLINE};var Rl=class{constructor(i,t){this.orientation=i,this.variant=t}};Rl.context=Ll;var Ml=Rl;var $T=U`
4949
4958
  :host {
4950
4959
  gap: 0.5rem;
4951
4960
  }
@@ -4982,7 +4991,7 @@
4982
4991
  padding-top: 0.9375rem;
4983
4992
  margin: 0 -3rem;
4984
4993
  }
4985
- `,nv=[Et,LT];var ys=class extends _r{constructor(){super({context:Nl.context,initialValue:new Nl(za.ORIENTATION,za.VARIANT)});this.orientation=za.ORIENTATION;this.variant=za.VARIANT}connectedCallback(){super.connectedCallback(),this.role=tt.LIST}static get Context(){return Nl.context}updated(t){(t.has("orientation")||t.has("variant"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.orientation!==this.orientation)&&(this.context.value.variant=this.variant,this.context.value.orientation=this.orientation,this.context.updateObservers())}render(){return I` <slot></slot> `}};ys.styles=[...W.styles,...nv],p([f({type:String,reflect:!0})],ys.prototype,"orientation",2),p([f({type:String,reflect:!0})],ys.prototype,"variant",2);var _o=ys;_o.register(kl);var RT=_o;var MT=H`
4994
+ `,mv=[Et,$T];var Es=class extends _r{constructor(){super({context:Ml.context,initialValue:new Ml(Ba.ORIENTATION,Ba.VARIANT)});this.orientation=Ba.ORIENTATION;this.variant=Ba.VARIANT}connectedCallback(){super.connectedCallback(),this.role=tt.LIST}static get Context(){return Ml.context}updated(t){(t.has("orientation")||t.has("variant"))&&this.updateContext()}updateContext(){(this.context.value.variant!==this.variant||this.context.value.orientation!==this.orientation)&&(this.context.value.variant=this.variant,this.context.value.orientation=this.orientation,this.context.updateObservers())}render(){return I` <slot></slot> `}};Es.styles=[...W.styles,...mv],p([u({type:String,reflect:!0})],Es.prototype,"orientation",2),p([u({type:String,reflect:!0})],Es.prototype,"variant",2);var _o=Es;_o.register(Ll);var zT=_o;var VT=U`
4986
4995
  :host {
4987
4996
  --mdc-stepperconnector-complete-background: var(--mds-color-theme-outline-theme-normal);
4988
4997
  --mdc-stepperconnector-incomplete-background: var(--mds-color-theme-outline-primary-normal);
@@ -5017,7 +5026,7 @@
5017
5026
  border-left: 1px solid var(--mdc-stepperconnector-complete-background);
5018
5027
  }
5019
5028
  }
5020
- `,lv=[MT];var Es=class extends W{constructor(){super(...arguments);this.status=Kd.STATUS;this.orientation=Kd.ORIENTATION;this.stepperContext=Ir.consume({host:this,context:_o.Context})}updated(t){var a;super.updated(t);let o=(a=this.stepperContext)==null?void 0:a.value;!o||!o.orientation||(this.orientation=o.orientation)}render(){return I` <div part="connector"></div> `}};Es.styles=[...W.styles,...lv],p([f({type:String,reflect:!0})],Es.prototype,"status",2),p([f({type:String,reflect:!0})],Es.prototype,"orientation",2);var Xd=Es;Xd.register(sv);var OT=Xd;var PT=H`
5029
+ `,uv=[VT];var Ts=class extends W{constructor(){super(...arguments);this.status=Qd.STATUS;this.orientation=Qd.ORIENTATION;this.stepperContext=Ir.consume({host:this,context:_o.Context})}updated(t){var a;super.updated(t);let o=(a=this.stepperContext)==null?void 0:a.value;!o||!o.orientation||(this.orientation=o.orientation)}render(){return I` <div part="connector"></div> `}};Ts.styles=[...W.styles,...uv],p([u({type:String,reflect:!0})],Ts.prototype,"status",2),p([u({type:String,reflect:!0})],Ts.prototype,"orientation",2);var eh=Ts;eh.register(hv);var BT=eh;var UT=U`
5021
5030
  :host {
5022
5031
  gap: 0.5rem;
5023
5032
  border-radius: 0.25rem;
@@ -5174,23 +5183,23 @@
5174
5183
  :host([status='error-incomplete']:active) {
5175
5184
  --mdc-stepperitem-help-text-color: var(--mds-color-theme-text-error-active);
5176
5185
  }
5177
- `,cv=[Et,PT,...xt()];var di=class extends Xe(W){constructor(){super();this.variant=Zd.VARIANT;this.status=Zd.STATUS;this.label="";this.stepperContext=Ir.consume({host:this,context:_o.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let o=(a=this.stepperContext)==null?void 0:a.value;!o||!o.variant||(this.variant=o.variant)}connectedCallback(){super.connectedCallback(),this.role=tt.LISTITEM}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===ci.COMPLETED?I`<mdc-icon part="status-icon" name=${Cl.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===ci.ERROR_CURRENT||this.status===ci.CURRENT?I`<mdc-icon part="status-icon" name=${Cl.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===ci.NOT_STARTED||this.status===ci.ERROR_INCOMPLETE)?I`<mdc-text part="step-number" tagname=${gt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5186
+ `,fv=[Et,UT,...xt()];var di=class extends Xe(W){constructor(){super();this.variant=th.VARIANT;this.status=th.STATUS;this.label="";this.stepperContext=Ir.consume({host:this,context:_o.Context});this.addEventListener("keydown",this.handleKeyDown.bind(this)),this.addEventListener("keyup",this.handleKeyUp.bind(this))}updated(t){var a;super.updated(t);let o=(a=this.stepperContext)==null?void 0:a.value;!o||!o.variant||(this.variant=o.variant)}connectedCallback(){super.connectedCallback(),this.role=tt.LISTITEM}handleKeyDown(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.add("pressed"),t.key===J.ENTER&&this.triggerClickEvent(),t.preventDefault())}triggerClickEvent(){let t=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});this.dispatchEvent(t)}handleKeyUp(t){[J.ENTER,J.SPACE].includes(t.key)&&(this.classList.remove("pressed"),t.key===J.SPACE&&this.triggerClickEvent())}renderStatusIcon(){return this.status===ci.COMPLETED?I`<mdc-icon part="status-icon" name=${Nl.COMPLETED} length-unit="rem" size="1"></mdc-icon>`:this.status===ci.ERROR_CURRENT||this.status===ci.CURRENT?I`<mdc-icon part="status-icon" name=${Nl.PENCIL} length-unit="rem" size="1"></mdc-icon>`:this.stepNumber&&(this.status===ci.NOT_STARTED||this.status===ci.ERROR_INCOMPLETE)?I`<mdc-text part="step-number" tagname=${ut.SPAN} type=${ot.BODY_MIDSIZE_REGULAR}
5178
5187
  >${this.stepNumber}</mdc-text
5179
5188
  >`:j}renderHelpText(){if(!this.helpText)return j;let t=I`<mdc-text
5180
5189
  part="help-text"
5181
- tagname=${gt.SPAN}
5182
- type=${st.BODY_MIDSIZE_REGULAR}
5190
+ tagname=${ut.SPAN}
5191
+ type=${ot.BODY_MIDSIZE_REGULAR}
5183
5192
  >${this.helpText}</mdc-text
5184
5193
  >`;return this.status===ci.ERROR_INCOMPLETE||this.status===ci.ERROR_CURRENT?I`<div part="help-text-container">
5185
- <mdc-icon part="help-icon" name=${Cl.ERROR} length-unit="rem" size="1"></mdc-icon>
5194
+ <mdc-icon part="help-icon" name=${Nl.ERROR} length-unit="rem" size="1"></mdc-icon>
5186
5195
  ${t}
5187
5196
  </div>`:t}render(){return I` <div part="status-container">${this.renderStatusIcon()}</div>
5188
5197
  <div part="label-container">
5189
- ${this.label?I`<mdc-text part="label" tagname=${gt.SPAN} type=${st.BODY_MIDSIZE_REGULAR}
5198
+ ${this.label?I`<mdc-text part="label" tagname=${ut.SPAN} type=${ot.BODY_MIDSIZE_REGULAR}
5190
5199
  >${this.label}</mdc-text
5191
5200
  >`:j}
5192
5201
  ${this.renderHelpText()}
5193
- </div>`}};di.styles=[...W.styles,...cv],p([f({type:String,reflect:!0})],di.prototype,"variant",2),p([f({type:String,reflect:!0})],di.prototype,"status",2),p([f({type:String,reflect:!0})],di.prototype,"label",2),p([f({type:String,reflect:!0,attribute:"help-text"})],di.prototype,"helpText",2),p([f({type:Number,reflect:!0,attribute:"step-number"})],di.prototype,"stepNumber",2);var Qd=di;Qd.register(av);var DT=Qd;var dv=G.constructTagName("tab"),Jd={GLASS:"glass",LINE:"line",PILL:"pill"},Ll={VARIANT:Jd.PILL,ACTIVE:!1};var FT=[Et,H`
5202
+ </div>`}};di.styles=[...W.styles,...fv],p([u({type:String,reflect:!0})],di.prototype,"variant",2),p([u({type:String,reflect:!0})],di.prototype,"status",2),p([u({type:String,reflect:!0})],di.prototype,"label",2),p([u({type:String,reflect:!0,attribute:"help-text"})],di.prototype,"helpText",2),p([u({type:Number,reflect:!0,attribute:"step-number"})],di.prototype,"stepNumber",2);var rh=di;rh.register(pv);var HT=rh;var vv=H.constructTagName("tab"),ih={GLASS:"glass",LINE:"line",PILL:"pill"},Ol={VARIANT:ih.PILL,ACTIVE:!1};var GT=[Et,U`
5194
5203
  :host {
5195
5204
  --mdc-tab-content-gap: 0.5rem;
5196
5205
  --mdc-tab-height: 2rem;
@@ -5432,12 +5441,12 @@
5432
5441
  background-color: var(--mdc-tab-pill-active-background-color-disabled);
5433
5442
  color: var(--mdc-tab-pill-active-color-disabled);
5434
5443
  }
5435
- `,...xt()],hv=FT;var $i=class extends te(pe){constructor(){super(...arguments);this.active=Ll.ACTIVE;this.variant=Ll.VARIANT;this.handleTabActiveChange=t=>{let o=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(o)}}connectedCallback(){super.connectedCallback(),this.role=tt.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${Qi(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(Jd).includes(t)?t:Ll.VARIANT)}setActive(t,o){super.setActive(t,o),this.modifyIconName(o)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return I`
5444
+ `,...xt()],gv=GT;var $i=class extends Yt(pe){constructor(){super(...arguments);this.active=Ol.ACTIVE;this.variant=Ol.VARIANT;this.handleTabActiveChange=t=>{let o=new CustomEvent("activechange",{detail:{tabId:this.tabId,active:t},bubbles:!0});this.dispatchEvent(o)}}connectedCallback(){super.connectedCallback(),this.role=tt.TAB,this.softDisabled=void 0,this.size=void 0,this.type=void 0,this.ariaStateKey="aria-selected",!this.tabId&&this.onerror&&this.onerror("tab id is required")}modifyIconName(t){this.iconName&&(t?(this.prevIconName=this.iconName,this.iconName=`${Qi(this.iconName)}-filled`):this.prevIconName&&(this.iconName=this.prevIconName))}setVariant(t){this.setAttribute("variant",Object.values(ih).includes(t)?t:Ol.VARIANT)}setActive(t,o){super.setActive(t,o),this.modifyIconName(o)}executeAction(){this.handleTabActiveChange(this.active)}update(t){super.update(t),t.has("variant")&&this.setVariant(this.variant)}render(){return I`
5436
5445
  <div part="container">
5437
5446
  ${this.iconName?I` <mdc-icon name="${this.iconName}" size="1" length-unit="rem" part="icon"></mdc-icon>`:j}
5438
5447
  ${this.text?I` <mdc-text
5439
- type=${this.active?st.BODY_MIDSIZE_BOLD:st.BODY_MIDSIZE_MEDIUM}
5440
- tagname=${gt.SPAN}
5448
+ type=${this.active?ot.BODY_MIDSIZE_BOLD:ot.BODY_MIDSIZE_MEDIUM}
5449
+ tagname=${ut.SPAN}
5441
5450
  data-text=${this.text}
5442
5451
  part="text"
5443
5452
  >${this.text}</mdc-text
@@ -5446,7 +5455,7 @@
5446
5455
  <slot name="chip"></slot>
5447
5456
  </div>
5448
5457
  <div part="indicator"></div>
5449
- `}};$i.styles=[...pe.styles,...hv],p([f({type:Boolean,reflect:!0})],$i.prototype,"active",2),p([f({type:String,reflect:!0})],$i.prototype,"text",2),p([f({type:String,reflect:!0})],$i.prototype,"variant",2),p([f({type:String,reflect:!0,attribute:"tab-id"})],$i.prototype,"tabId",2);var ar=$i;ar.register(dv);var $T=ar;var zT=[_n,H`
5458
+ `}};$i.styles=[...pe.styles,...gv],p([u({type:Boolean,reflect:!0})],$i.prototype,"active",2),p([u({type:String,reflect:!0})],$i.prototype,"text",2),p([u({type:String,reflect:!0})],$i.prototype,"variant",2),p([u({type:String,reflect:!0,attribute:"tab-id"})],$i.prototype,"tabId",2);var ar=$i;ar.register(vv);var YT=ar;var WT=[Cn,U`
5450
5459
  :host {
5451
5460
  --mdc-tablist-focus-ring-outer-width: var(--mdc-focus-ring-outer-width);
5452
5461
  --mdc-tablist-gap: 0.5rem;
@@ -5476,16 +5485,16 @@
5476
5485
  :host mdc-button[prefix-icon='arrow-right-regular'] {
5477
5486
  margin-left: var(--mdc-tablist-arrow-button-margin);
5478
5487
  }
5479
- `],pv=[...zT];var mv=G.constructTagName("tablist"),Va={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},Ts={FORWARD:"forward",BACKWARD:"backward"};var Rl=l=>l[0],th=l=>l[l.length-1],uv=(l,i)=>{let t=l.findIndex(o=>i===o)-1;return l[(t+l.length)%l.length]},fv=(l,i)=>{let t=l.findIndex(o=>i===o)+1;return l[t%l.length]},vv=(l,i)=>l.find(t=>t.tabId===i),eh=l=>l.find(i=>i.active);var yr=class extends W{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var a,h,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(E=>E.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(a=Rl(this.tabs))==null?void 0:a.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,o;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(o=this.tabsContainer)==null||o.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let o=vv(this.tabs,this.activeTabId);if(!(o instanceof ar))return;this.setActiveTab(o),t.get("activeTabId")?(this.fireTabChangeEvent(o),await this.focusTab(o)):this.resetTabIndexAndSetNewTabIndex(o)}}fireTabChangeEvent(t){let o=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(o)}async handleFocus(t){if(t.relatedTarget instanceof ar||!(t.target instanceof ar))return;let o=eh(this.tabs||[]);o instanceof ar&&await this.focusTab(o)}handleMousedown(t){t.target instanceof ar&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let o=t.target;o instanceof ar&&(this.setActiveTab(o),await this.focusTab(o),this.activeTabId=o.tabId)}resetTabIndexAndSetNewTabIndex(t){var o;(o=this.tabs)==null||o.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var o;(o=this.tabs)==null||o.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof ar&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let o=t.target;if(!(o instanceof ar)||!this.tabs)return;let a=uv(this.tabs,o),h=fv(this.tabs,o),m=Rl(this.tabs),E=th(this.tabs);switch(t.code){case Va.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?h:a);break;case Va.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:h);break;case Va.HOME:await this.focusTab(m);break;case Va.END:await this.focusTab(E);break;default:}}shouldShowArrowButton(t){return t===Ts.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,o;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=eh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((o=this.notFocusedArrowButton)==null||o.focus())}async handleArrowButtonVisibility(){var q,nt,Q;if(!this.tabs||!this.tabsContainer)return;let t=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof Ji&&(t=!0);let o=Rl(this.tabs),a=th(this.tabs),h=o.getBoundingClientRect().left,m=(nt=this.tabsContainer)==null?void 0:nt.getBoundingClientRect().left,E=a.getBoundingClientRect().right,N=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().right,$=o.getBoundingClientRect().right,K=a.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,E>N?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}$>N?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,K<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var h;let o=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(t===Ts.FORWARD?o:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",o=this.isRtl()?"right":"left",a=h=>I` ${this.shouldShowArrowButton(h)?I`<mdc-button
5488
+ `],bv=[...WT];var yv=H.constructTagName("tablist"),Ua={LEFT:"ArrowLeft",RIGHT:"ArrowRight",HOME:"Home",END:"End"},xs={FORWARD:"forward",BACKWARD:"backward"};var Pl=l=>l[0],oh=l=>l[l.length-1],Ev=(l,i)=>{let t=l.findIndex(o=>i===o)-1;return l[(t+l.length)%l.length]},Tv=(l,i)=>{let t=l.findIndex(o=>i===o)+1;return l[t%l.length]},xv=(l,i)=>l.find(t=>t.tabId===i),sh=l=>l.find(i=>i.active);var yr=class extends W{constructor(){super();this.showForwardArrowButton=!1;this.showBackwardArrowButton=!1;this.addEventListener("keydown",this.handleKeydown.bind(this)),this.addEventListener("activechange",this.handleNestedTabActiveChange)}isRtl(){var t;return((t=document.querySelector("html"))==null?void 0:t.getAttribute("dir"))==="rtl"||window.getComputedStyle(this).direction==="rtl"}async firstUpdated(){var a,h,m;if(!this.tabs)return;if(Array.isArray(this.tabs)&&this.tabs.length===0){this.onerror&&this.onerror("The tablist component must have at least one child tab");return}let t=this.tabs.map(E=>E.tabId);new Set(t).size!==this.tabs.length&&this.onerror&&this.onerror("The tabs inside the tab list must have unique tab ids"),new ResizeObserver(async()=>{await this.handleArrowButtonVisibility()}).observe(this),this.activeTabId||(this.activeTabId=(a=Pl(this.tabs))==null?void 0:a.tabId),(h=this.tabsContainer)==null||h.addEventListener("focusin",this.handleFocus.bind(this)),(m=this.tabsContainer)==null||m.addEventListener("mousedown",this.handleMousedown.bind(this))}disconnectedCallback(){var t,o;super.disconnectedCallback(),(t=this.tabsContainer)==null||t.removeEventListener("focusin",this.handleFocus),(o=this.tabsContainer)==null||o.removeEventListener("mousedown",this.handleMousedown)}async update(t){if(super.update(t),t.has("activeTabId")){if(!this.tabs||!this.activeTabId)return;let o=xv(this.tabs,this.activeTabId);if(!(o instanceof ar))return;this.setActiveTab(o),t.get("activeTabId")?(this.fireTabChangeEvent(o),await this.focusTab(o)):this.resetTabIndexAndSetNewTabIndex(o)}}fireTabChangeEvent(t){let o=new CustomEvent("change",{detail:{tabId:t.tabId}});this.dispatchEvent(o)}async handleFocus(t){if(t.relatedTarget instanceof ar||!(t.target instanceof ar))return;let o=sh(this.tabs||[]);o instanceof ar&&await this.focusTab(o)}handleMousedown(t){t.target instanceof ar&&t.preventDefault()}async handleNestedTabActiveChange(t){t.stopPropagation();let o=t.target;o instanceof ar&&(this.setActiveTab(o),await this.focusTab(o),this.activeTabId=o.tabId)}resetTabIndexAndSetNewTabIndex(t){var o;(o=this.tabs)==null||o.forEach(a=>{a.setAttribute("tabindex",a===t?"0":"-1")})}setActiveTab(t){var o;(o=this.tabs)==null||o.forEach(a=>{a===t?a.setAttribute("active",""):a.removeAttribute("active")})}async focusTab(t){t instanceof ar&&(t!==(document==null?void 0:document.activeElement)&&(this.resetTabIndexAndSetNewTabIndex(t),t.focus()),await this.handleArrowButtonVisibility())}async handleKeydown(t){let o=t.target;if(!(o instanceof ar)||!this.tabs)return;let a=Ev(this.tabs,o),h=Tv(this.tabs,o),m=Pl(this.tabs),E=oh(this.tabs);switch(t.code){case Ua.LEFT:t.preventDefault(),await this.focusTab(this.isRtl()?h:a);break;case Ua.RIGHT:t.preventDefault(),await this.focusTab(this.isRtl()?a:h);break;case Ua.HOME:await this.focusTab(m);break;case Ua.END:await this.focusTab(E);break;default:}}shouldShowArrowButton(t){return t===xs.FORWARD?this.showForwardArrowButton:this.showBackwardArrowButton}async switchFocus(){var t,o;await this.updateComplete,!this.showBackwardArrowButton&&!this.showForwardArrowButton?(t=sh(this.tabs||[]))==null||t.focus():(this.showBackwardArrowButton&&!this.showForwardArrowButton||this.showForwardArrowButton&&!this.showBackwardArrowButton)&&((o=this.notFocusedArrowButton)==null||o.focus())}async handleArrowButtonVisibility(){var q,nt,Q;if(!this.tabs||!this.tabsContainer)return;let t=!1;((q=this.shadowRoot)==null?void 0:q.activeElement)instanceof Ji&&(t=!0);let o=Pl(this.tabs),a=oh(this.tabs),h=o.getBoundingClientRect().left,m=(nt=this.tabsContainer)==null?void 0:nt.getBoundingClientRect().left,E=a.getBoundingClientRect().right,N=(Q=this.tabsContainer)==null?void 0:Q.getBoundingClientRect().right,$=o.getBoundingClientRect().right,K=a.getBoundingClientRect().left;if(!this.isRtl()){h<=m?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,E>N?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus();return}$>N?this.showBackwardArrowButton=!0:this.showBackwardArrowButton=!1,K<m?this.showForwardArrowButton=!0:this.showForwardArrowButton=!1,t&&await this.switchFocus()}async scrollTabs(t){var h;let o=this.isRtl()?-1:1,a=this.isRtl()?1:-1;(h=this.tabsContainer)==null||h.scrollBy({left:this.tabsContainer.clientWidth*(t===xs.FORWARD?o:a),behavior:"instant"}),await this.handleArrowButtonVisibility()}render(){let t=this.isRtl()?"left":"right",o=this.isRtl()?"right":"left",a=h=>I` ${this.shouldShowArrowButton(h)?I`<mdc-button
5480
5489
  variant="tertiary"
5481
- prefix-icon="arrow-${h===Ts.FORWARD?t:o}-regular"
5482
- aria-label="Scroll tabs ${h===Ts.FORWARD?t:o}"
5490
+ prefix-icon="arrow-${h===xs.FORWARD?t:o}-regular"
5491
+ aria-label="Scroll tabs ${h===xs.FORWARD?t:o}"
5483
5492
  @click="${()=>this.scrollTabs(h)}"
5484
5493
  ></mdc-button>`:j}`;return I` ${a("backward")}
5485
- <div class="container" role="${tt.TABLIST}" tabindex="-1" aria-label="${ot(this.dataAriaLabel)}">
5494
+ <div class="container" role="${tt.TABLIST}" tabindex="-1" aria-label="${st(this.dataAriaLabel)}">
5486
5495
  <slot></slot>
5487
5496
  </div>
5488
- ${a(Ts.FORWARD)}`}};yr.styles=[...W.styles,...pv],p([f({type:String,attribute:"active-tab-id",reflect:!0})],yr.prototype,"activeTabId",2),p([f({type:String,attribute:"data-aria-label"})],yr.prototype,"dataAriaLabel",2),p([Yr(".container")],yr.prototype,"tabsContainer",2),p([Yr("mdc-button:not(:focus-visible)")],yr.prototype,"notFocusedArrowButton",2),p([Lt({selector:"mdc-tab"})],yr.prototype,"tabs",2),p([At()],yr.prototype,"showForwardArrowButton",2),p([At()],yr.prototype,"showBackwardArrowButton",2);var rh=yr;rh.register(mv);var VT=rh;var gv=G.constructTagName("textarea"),ih={HARD:"hard",SOFT:"soft"},bv={OFF:"off",ON:"on"},Ml={CHARACTER_COUNTER_TYPE:st.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:ih.SOFT};var BT=[H`
5497
+ ${a(xs.FORWARD)}`}};yr.styles=[...W.styles,...bv],p([u({type:String,attribute:"active-tab-id",reflect:!0})],yr.prototype,"activeTabId",2),p([u({type:String,attribute:"data-aria-label"})],yr.prototype,"dataAriaLabel",2),p([Yr(".container")],yr.prototype,"tabsContainer",2),p([Yr("mdc-button:not(:focus-visible)")],yr.prototype,"notFocusedArrowButton",2),p([Lt({selector:"mdc-tab"})],yr.prototype,"tabs",2),p([At()],yr.prototype,"showForwardArrowButton",2),p([At()],yr.prototype,"showBackwardArrowButton",2);var ah=yr;ah.register(yv);var jT=ah;var Av=H.constructTagName("textarea"),nh={HARD:"hard",SOFT:"soft"},Sv={OFF:"off",ON:"on"},Dl={CHARACTER_COUNTER_TYPE:ot.BODY_MIDSIZE_REGULAR,ROWS:5,COLS:40,WRAP:nh.SOFT};var KT=[U`
5489
5498
  :host {
5490
5499
  --mdc-textarea-disabled-border-color: var(--mds-color-theme-outline-primary-disabled);
5491
5500
  --mdc-textarea-disabled-text-color: var(--mds-color-theme-text-primary-disabled);
@@ -5604,8 +5613,8 @@
5604
5613
  opacity: 0;
5605
5614
  pointer-events: none;
5606
5615
  }
5607
- `,...xt(!0)],yv=BT;var ve=class extends Re(Pe(re(ir))){constructor(){super(...arguments);this.readonly=!1;this.rows=Ml.ROWS;this.cols=Ml.COLS;this.wrap=ih.SOFT;this.autocapitalize=ml.OFF;this.autocomplete=bv.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(o=>{this.onerror&&this.onerror(o)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===Wt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,o,a){super.attributeChangedCallback(t,o,a),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?I`
5608
- <mdc-text part="character-counter" tagname="span" type=${Ml.CHARACTER_COUNTER_TYPE}>
5616
+ `,...xt(!0)],_v=KT;var ve=class extends Re(Pe(re(ir))){constructor(){super(...arguments);this.readonly=!1;this.rows=Dl.ROWS;this.cols=Dl.COLS;this.wrap=nh.SOFT;this.autocapitalize=vl.OFF;this.autocomplete=Sv.OFF;this.characterLimitExceedingFired=!1}get textarea(){return this.inputElement}connectedCallback(){var t;super.connectedCallback(),this.value=((t=this.textContent)==null?void 0:t.trim())||this.value,this.updateComplete.then(()=>{this.textarea&&(this.textarea.checkValidity(),this.setTextareaValidity(),this.internals.setFormValue(this.textarea.value))}).catch(o=>{this.onerror&&this.onerror(o)})}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}setTextareaValidity(){this.required&&this.validationMessage&&this.value===""?this.textarea.setCustomValidity(this.validationMessage):this.maxCharacterLimit&&this.value.length>this.maxCharacterLimit&&this.helpTextType===jt.ERROR&&this.helpText?this.textarea.setCustomValidity(this.helpText):this.textarea.setCustomValidity(""),this.setValidity()}formResetCallback(){this.value="",this.requestUpdate()}formStateRestoreCallback(t){this.value=t}handleValueChange(){this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(t=>{this.onerror&&this.onerror(t)})}updated(t){super.updated(t),t.has("value")&&(this.handleValueChange(),this.handleCharacterOverflowStateChange())}attributeChangedCallback(t,o,a){super.attributeChangedCallback(t,o,a),["maxlength","minlength","required"].includes(t)&&this.updateComplete.then(()=>{this.setTextareaValidity()}).catch(m=>{this.onerror&&this.onerror(m)})}dispatchCharacterOverflowStateChangeEvent(){this.dispatchEvent(new CustomEvent("limitexceeded",{detail:{currentCharacterCount:this.value.length,maxCharacterLimit:this.maxCharacterLimit,value:this.value},bubbles:!0,composed:!0}))}handleCharacterOverflowStateChange(){this.maxCharacterLimit&&(this.value.length>this.maxCharacterLimit&&!this.characterLimitExceedingFired?(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!0):this.value.length<=this.maxCharacterLimit&&this.characterLimitExceedingFired&&(this.dispatchCharacterOverflowStateChangeEvent(),this.characterLimitExceedingFired=!1))}updateValue(){this.value=this.textarea.value,this.internals.setFormValue(this.textarea.value)}onChange(t){this.updateValue();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}renderCharacterCounter(){return this.maxCharacterLimit?I`
5617
+ <mdc-text part="character-counter" tagname="span" type=${Dl.CHARACTER_COUNTER_TYPE}>
5609
5618
  ${this.value.length<10?`0${this.value.length}`:this.value.length}/${this.maxCharacterLimit}
5610
5619
  </mdc-text>
5611
5620
  `:j}renderTextareaFooter(){return!this.helpText&&!this.maxCharacterLimit?j:I` <div part="textarea-footer">${this.renderHelperText()} ${this.renderCharacterCounter()}</div> `}render(){var t;return I`
@@ -5620,23 +5629,23 @@
5620
5629
  ?disabled="${this.disabled}"
5621
5630
  ?readonly="${this.readonly}"
5622
5631
  ?required="${this.required}"
5623
- placeholder=${ot(this.placeholder)}
5624
- rows=${ot(this.rows)}
5625
- cols=${ot(this.cols)}
5626
- wrap=${ot(this.wrap)}
5632
+ placeholder=${st(this.placeholder)}
5633
+ rows=${st(this.rows)}
5634
+ cols=${st(this.cols)}
5635
+ wrap=${st(this.wrap)}
5627
5636
  autocapitalize=${this.autocapitalize}
5628
5637
  autocomplete=${this.autocomplete}
5629
- minlength=${ot(this.minlength)}
5630
- maxlength=${ot(this.maxlength)}
5631
- dirname=${ot(this.dirname)}
5638
+ minlength=${st(this.minlength)}
5639
+ maxlength=${st(this.maxlength)}
5640
+ dirname=${st(this.dirname)}
5632
5641
  @input=${this.updateValue}
5633
5642
  @change=${this.onChange}
5634
- aria-describedby="${ot(this.helpText?Dt.HELPER_TEXT_ID:"")}"
5643
+ aria-describedby="${st(this.helpText?Dt.HELPER_TEXT_ID:"")}"
5635
5644
  aria-invalid="${this.helpTextType==="error"?"true":"false"}"
5636
5645
  ></textarea>
5637
5646
  </div>
5638
5647
  ${this.renderTextareaFooter()}
5639
- `}};ve.styles=[...ir.styles,...yv],p([f({type:String})],ve.prototype,"placeholder",2),p([f({type:Boolean})],ve.prototype,"readonly",2),p([f({type:Number})],ve.prototype,"rows",2),p([f({type:Number})],ve.prototype,"cols",2),p([f({type:String})],ve.prototype,"wrap",2),p([f({type:String})],ve.prototype,"autocapitalize",2),p([f({type:String})],ve.prototype,"autocomplete",2),p([f({type:String})],ve.prototype,"dirname",2),p([f({type:Number})],ve.prototype,"maxlength",2),p([f({type:Number})],ve.prototype,"minlength",2),p([f({type:Number,attribute:"max-character-limit"})],ve.prototype,"maxCharacterLimit",2),p([Yr("textarea")],ve.prototype,"inputElement",2);var oh=ve;oh.register(gv);var UT=oh;var HT=[H`
5648
+ `}};ve.styles=[...ir.styles,..._v],p([u({type:String})],ve.prototype,"placeholder",2),p([u({type:Boolean})],ve.prototype,"readonly",2),p([u({type:Number})],ve.prototype,"rows",2),p([u({type:Number})],ve.prototype,"cols",2),p([u({type:String})],ve.prototype,"wrap",2),p([u({type:String})],ve.prototype,"autocapitalize",2),p([u({type:String})],ve.prototype,"autocomplete",2),p([u({type:String})],ve.prototype,"dirname",2),p([u({type:Number})],ve.prototype,"maxlength",2),p([u({type:Number})],ve.prototype,"minlength",2),p([u({type:Number,attribute:"max-character-limit"})],ve.prototype,"maxCharacterLimit",2),p([Yr("textarea")],ve.prototype,"inputElement",2);var lh=ve;lh.register(Av);var qT=lh;var ZT=[U`
5640
5649
  :host {
5641
5650
  display: block;
5642
5651
  position: relative;
@@ -5650,18 +5659,18 @@
5650
5659
  .typewriter-hidden {
5651
5660
  display: none;
5652
5661
  }
5653
- `],Ev=HT;var Tv=G.constructTagName("typewriter"),Io={VERY_SLOW:240,SLOW:120,NORMAL:60,FAST:20,VERY_FAST:1},hi={TYPE:me.TYPE,TEXT_ELEMENT_TAGNAME:me.TEXT_ELEMENT_TAGNAME,CSS_PART_TEXT:"text",CSS_PART_CONTAINER:"container",CHILDREN:"",SPEED:"normal",CUSTOM_EVENT:{TYPING_COMPLETE:"typing-complete"}};var Er=class extends W{constructor(){super(...arguments);this.type=hi.TYPE;this.tagname=hi.TEXT_ELEMENT_TAGNAME;this.speed=hi.SPEED;this.maxQueueSize=Number.MAX_SAFE_INTEGER;this.displayedText="";this.originalText="";this.currentIndex=0;this.typingTimeout=null;this.pendingTimeouts=new Set;this.textChunkQueue=[];this.previousTextContent="";this.typingComplete=!0}connectedCallback(){super.connectedCallback(),this.createTimeout(()=>{this.captureAndProcessContent()},0)}disconnectedCallback(){this.clearTypingAnimation(),this.clearAllTimeouts(),super.disconnectedCallback()}createTimeout(t,o){let a=window.setTimeout(()=>{this.pendingTimeouts.delete(a),t()},o);return this.pendingTimeouts.add(a),a}clearAllTimeouts(){this.pendingTimeouts.forEach(t=>clearTimeout(t)),this.pendingTimeouts.clear()}clearQueue(){this.textChunkQueue.length=0}addTextChunk(t,o,a){t&&(this.maxQueueSize<Number.MAX_SAFE_INTEGER&&this.textChunkQueue.length>=this.maxQueueSize&&this.textChunkQueue.splice(0,this.textChunkQueue.length-this.maxQueueSize+1),this.textChunkQueue.push({text:t,speed:o,instant:a}),this.processChunkQueue())}addInstantTextChunk(t){this.addTextChunk(t,void 0,!0)}processChunkQueue(){this.textChunkQueue.length>0&&this.processNextChunk()}processNextChunk(){if(this.textChunkQueue.length===0)return;let t=this.textChunkQueue.shift(),o=this.speed;t.speed!==void 0&&(this.speed=t.speed),this.originalText+=t.text,this.typingComplete=!1,t.instant?(this.displayedText=this.originalText,this.currentIndex=this.originalText.length,this.typingComplete=!0,this.requestUpdate(),t.speed!==void 0&&(this.speed=o),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(hi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))):this.startTypingAnimation(()=>{t.speed!==void 0&&(this.speed=o),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(hi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))})}getTypingDelayMs(){let t=this.speed;switch(t){case"slow":return Io.SLOW;case"fast":return Io.FAST;case"very-slow":return Io.VERY_SLOW;case"very-fast":return Io.VERY_FAST;case"normal":return Io.NORMAL;default:{let o=parseInt(t,10);return Number.isNaN(o)?Io.NORMAL:Math.max(10,o)}}}updated(t){super.updated(t),t.has("speed")&&!this.typingComplete&&this.textChunkQueue.length===0&&this.startTypingAnimation()}captureAndProcessContent(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(!t)return;let o=t.assignedNodes().filter(h=>h.nodeType===Node.TEXT_NODE||h.nodeType===Node.ELEMENT_NODE).map(h=>h.textContent||"").join("");o!==this.previousTextContent&&(this.displayedText===""||!o.includes(this.displayedText)?(this.originalText=o,this.displayedText="",this.currentIndex=0,this.typingComplete=!1):(this.originalText=o,this.typingComplete=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{content:this.originalText,isTyping:!this.typingComplete}})),this.previousTextContent=o,this.startTypingAnimation())}startTypingAnimation(t){if(this.clearTypingAnimation(),this.displayedText===this.originalText){this.typingComplete=!0,t&&this.createTimeout(()=>{t()},0);return}this.currentIndex=this.displayedText.length,this.typingComplete=!1;let o=()=>{if(this.currentIndex<this.originalText.length){let a=this.originalText[this.currentIndex],h=this.displayedText+a;h!==this.displayedText&&(this.displayedText=h,this.requestUpdate()),this.currentIndex+=1,this.typingTimeout=window.setTimeout(o,this.getTypingDelayMs())}else this.clearTypingAnimation(),this.typingComplete=!0,t?this.createTimeout(()=>{t()},0):this.createTimeout(()=>{this.dispatchEvent(new CustomEvent(hi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0,detail:{finalContent:this.originalText}}))},0)};this.typingTimeout=window.setTimeout(o,this.getTypingDelayMs())}clearTypingAnimation(){this.typingTimeout!==null&&(clearTimeout(this.typingTimeout),this.typingTimeout=null)}handleSlotChange(){this.captureAndProcessContent()}render(){return I`
5662
+ `],Iv=ZT;var Cv=H.constructTagName("typewriter"),Io={VERY_SLOW:240,SLOW:120,NORMAL:60,FAST:20,VERY_FAST:1},hi={TYPE:me.TYPE,TEXT_ELEMENT_TAGNAME:me.TEXT_ELEMENT_TAGNAME,CSS_PART_TEXT:"text",CSS_PART_CONTAINER:"container",CHILDREN:"",SPEED:"normal",CUSTOM_EVENT:{TYPING_COMPLETE:"typing-complete"}};var Er=class extends W{constructor(){super(...arguments);this.type=hi.TYPE;this.tagname=hi.TEXT_ELEMENT_TAGNAME;this.speed=hi.SPEED;this.maxQueueSize=Number.MAX_SAFE_INTEGER;this.displayedText="";this.originalText="";this.currentIndex=0;this.typingTimeout=null;this.pendingTimeouts=new Set;this.textChunkQueue=[];this.previousTextContent="";this.typingComplete=!0}connectedCallback(){super.connectedCallback(),this.createTimeout(()=>{this.captureAndProcessContent()},0)}disconnectedCallback(){this.clearTypingAnimation(),this.clearAllTimeouts(),super.disconnectedCallback()}createTimeout(t,o){let a=window.setTimeout(()=>{this.pendingTimeouts.delete(a),t()},o);return this.pendingTimeouts.add(a),a}clearAllTimeouts(){this.pendingTimeouts.forEach(t=>clearTimeout(t)),this.pendingTimeouts.clear()}clearQueue(){this.textChunkQueue.length=0}addTextChunk(t,o,a){t&&(this.maxQueueSize<Number.MAX_SAFE_INTEGER&&this.textChunkQueue.length>=this.maxQueueSize&&this.textChunkQueue.splice(0,this.textChunkQueue.length-this.maxQueueSize+1),this.textChunkQueue.push({text:t,speed:o,instant:a}),this.processChunkQueue())}addInstantTextChunk(t){this.addTextChunk(t,void 0,!0)}processChunkQueue(){this.textChunkQueue.length>0&&this.processNextChunk()}processNextChunk(){if(this.textChunkQueue.length===0)return;let t=this.textChunkQueue.shift(),o=this.speed;t.speed!==void 0&&(this.speed=t.speed),this.originalText+=t.text,this.typingComplete=!1,t.instant?(this.displayedText=this.originalText,this.currentIndex=this.originalText.length,this.typingComplete=!0,this.requestUpdate(),t.speed!==void 0&&(this.speed=o),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(hi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))):this.startTypingAnimation(()=>{t.speed!==void 0&&(this.speed=o),this.textChunkQueue.length>0?this.createTimeout(()=>{this.processNextChunk()},0):this.dispatchEvent(new CustomEvent(hi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0}))})}getTypingDelayMs(){let t=this.speed;switch(t){case"slow":return Io.SLOW;case"fast":return Io.FAST;case"very-slow":return Io.VERY_SLOW;case"very-fast":return Io.VERY_FAST;case"normal":return Io.NORMAL;default:{let o=parseInt(t,10);return Number.isNaN(o)?Io.NORMAL:Math.max(10,o)}}}updated(t){super.updated(t),t.has("speed")&&!this.typingComplete&&this.textChunkQueue.length===0&&this.startTypingAnimation()}captureAndProcessContent(){var a;let t=(a=this.shadowRoot)==null?void 0:a.querySelector("slot");if(!t)return;let o=t.assignedNodes().filter(h=>h.nodeType===Node.TEXT_NODE||h.nodeType===Node.ELEMENT_NODE).map(h=>h.textContent||"").join("");o!==this.previousTextContent&&(this.displayedText===""||!o.includes(this.displayedText)?(this.originalText=o,this.displayedText="",this.currentIndex=0,this.typingComplete=!1):(this.originalText=o,this.typingComplete=!1),this.dispatchEvent(new CustomEvent("change",{bubbles:!0,composed:!0,detail:{content:this.originalText,isTyping:!this.typingComplete}})),this.previousTextContent=o,this.startTypingAnimation())}startTypingAnimation(t){if(this.clearTypingAnimation(),this.displayedText===this.originalText){this.typingComplete=!0,t&&this.createTimeout(()=>{t()},0);return}this.currentIndex=this.displayedText.length,this.typingComplete=!1;let o=()=>{if(this.currentIndex<this.originalText.length){let a=this.originalText[this.currentIndex],h=this.displayedText+a;h!==this.displayedText&&(this.displayedText=h,this.requestUpdate()),this.currentIndex+=1,this.typingTimeout=window.setTimeout(o,this.getTypingDelayMs())}else this.clearTypingAnimation(),this.typingComplete=!0,t?this.createTimeout(()=>{t()},0):this.createTimeout(()=>{this.dispatchEvent(new CustomEvent(hi.CUSTOM_EVENT.TYPING_COMPLETE,{bubbles:!0,composed:!0,detail:{finalContent:this.originalText}}))},0)};this.typingTimeout=window.setTimeout(o,this.getTypingDelayMs())}clearTypingAnimation(){this.typingTimeout!==null&&(clearTimeout(this.typingTimeout),this.typingTimeout=null)}handleSlotChange(){this.captureAndProcessContent()}render(){return I`
5654
5663
  <div part="${hi.CSS_PART_CONTAINER}" aria-live="polite" aria-busy="${!this.typingComplete}">
5655
5664
  <mdc-text
5656
5665
  part="${hi.CSS_PART_TEXT}"
5657
5666
  type="${this.type}"
5658
- tagname="${ot(this.tagname)}"
5667
+ tagname="${st(this.tagname)}"
5659
5668
  aria-label="${this.originalText}"
5660
5669
  >${this.displayedText}</mdc-text
5661
5670
  >
5662
5671
  <slot @slotchange=${this.handleSlotChange} class="typewriter-hidden"></slot>
5663
5672
  </div>
5664
- `}};Er.styles=[...W.styles,...Ev],p([f({attribute:"type",reflect:!0,type:String})],Er.prototype,"type",2),p([f({attribute:"tagname",reflect:!0,type:String})],Er.prototype,"tagname",2),p([f({attribute:"speed",reflect:!0})],Er.prototype,"speed",2),p([f({attribute:"max-queue-size",type:Number,reflect:!0})],Er.prototype,"maxQueueSize",2),p([At()],Er.prototype,"displayedText",2),p([At()],Er.prototype,"originalText",2),p([At()],Er.prototype,"typingComplete",2);var sh=Er;sh.register(Tv);var GT=sh;var Ol=G.constructTagName("themeprovider"),ah={THEMECLASS:"mds-theme-stable-darkWebex"};var Pl=class{constructor(i){this.themeclass=i}};Pl.context=Ol;var Dl=Pl;var YT=H`
5673
+ `}};Er.styles=[...W.styles,...Iv],p([u({attribute:"type",reflect:!0,type:String})],Er.prototype,"type",2),p([u({attribute:"tagname",reflect:!0,type:String})],Er.prototype,"tagname",2),p([u({attribute:"speed",reflect:!0})],Er.prototype,"speed",2),p([u({attribute:"max-queue-size",type:Number,reflect:!0})],Er.prototype,"maxQueueSize",2),p([At()],Er.prototype,"displayedText",2),p([At()],Er.prototype,"originalText",2),p([At()],Er.prototype,"typingComplete",2);var ch=Er;ch.register(Cv);var XT=ch;var Fl=H.constructTagName("themeprovider"),dh={THEMECLASS:"mds-theme-stable-darkWebex"};var $l=class{constructor(i){this.themeclass=i}};$l.context=Fl;var zl=$l;var QT=U`
5665
5674
  :host {
5666
5675
  --mdc-themeprovider-color-default: var(--mds-color-theme-text-primary-normal);
5667
5676
  --mdc-themeprovider-font-family: var(--mds-font-family-primary);
@@ -5688,7 +5697,7 @@
5688
5697
  * {
5689
5698
  scrollbar-color: var(--mdc-themeprovider-scrollbar-thumb-color) var(--mdc-themeprovider-scrollbar-track-color);
5690
5699
  }
5691
- `,xv=[YT];var xs=class extends _r{constructor(){super({context:Dl.context,initialValue:new Dl(ah.THEMECLASS)});this.themeclass=ah.THEMECLASS}static get Context(){return Dl.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};xs.styles=[..._r.styles,...xv],p([At()],xs.prototype,"currentThemeClass",2),p([f({type:String})],xs.prototype,"themeclass",2);var nh=xs;nh.register(Ol);var WT=nh;var Av=G.constructTagName("toast"),Ba={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Fl={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},De={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:Ze[20],BUTTON:Wr,PRIMARY_BUTTON:Pt.PRIMARY,SECONDARY_BUTTON:Pt.SECONDARY,TERTIARY_BUTTON:Pt.TERTIARY,VARIANT:Ba.CUSTOM};var Sv=l=>{switch(l){case Ba.SUCCESS:return Fl.SUCCESS_ICON_NAME;case Ba.WARNING:return Fl.WARNING_ICON_NAME;case Ba.ERROR:return Fl.ERROR_ICON_NAME;default:return null}};var jT=H`
5700
+ `,kv=[QT];var As=class extends _r{constructor(){super({context:zl.context,initialValue:new zl(dh.THEMECLASS)});this.themeclass=dh.THEMECLASS}static get Context(){return zl.context}updated(t){super.updated(t),t.has("themeclass")&&(this.setThemeInClassList(),this.currentThemeClass=this.themeclass)}updateContext(){this.context.value.themeclass!==this.themeclass&&(this.context.value.themeclass=this.themeclass,this.context.updateObservers())}setThemeInClassList(){this.currentThemeClass&&this.classList.remove(...this.currentThemeClass.split(" ")),this.themeclass&&this.classList.add(...this.themeclass.split(" "))}};As.styles=[..._r.styles,...kv],p([At()],As.prototype,"currentThemeClass",2),p([u({type:String})],As.prototype,"themeclass",2);var hh=As;hh.register(Fl);var JT=hh;var wv=H.constructTagName("toast"),Ha={CUSTOM:"custom",SUCCESS:"success",WARNING:"warning",ERROR:"error"},Vl={SUCCESS_ICON_NAME:"check-circle-bold",WARNING_ICON_NAME:"warning-bold",ERROR_ICON_NAME:"error-legacy-bold"},De={HEADER_TAG_NAME:"h2",CANCEL_ICON:"cancel-bold",ARROW_UP_BOLD:"arrow-up-bold",ARROW_DOWN_BOLD:"arrow-down-bold",PREFIX_ICON_SIZE:1.5,CLOSE_ICON_SIZE:Ze[20],BUTTON:Wr,PRIMARY_BUTTON:Pt.PRIMARY,SECONDARY_BUTTON:Pt.SECONDARY,TERTIARY_BUTTON:Pt.TERTIARY,VARIANT:Ha.CUSTOM};var Nv=l=>{switch(l){case Ha.SUCCESS:return Vl.SUCCESS_ICON_NAME;case Ha.WARNING:return Vl.WARNING_ICON_NAME;case Ha.ERROR:return Vl.ERROR_ICON_NAME;default:return null}};var tx=U`
5692
5701
  :host {
5693
5702
  --mdc-toast-background-color: var(--mds-color-theme-background-solid-primary-normal);
5694
5703
  --mdc-toast-border-color: var(--mds-color-theme-outline-primary-normal);
@@ -5773,7 +5782,7 @@
5773
5782
  mdc-text::part(text) {
5774
5783
  margin: 0;
5775
5784
  }
5776
- `,_v=[jT];var Ae=class extends Xo(W){constructor(){super(...arguments);this.variant=De.VARIANT;this.headerTagName=De.HEADER_TAG_NAME;this.ariaLabel=null;this.isDetailVisible=!1;this.hasDetailedSlot=!1;this.hasFooterButtons=""}closeToast(){let t=new CustomEvent("close",{bubbles:!0,composed:!0,detail:{id:this.id}});this.dispatchEvent(t)}toggleDetailVisibility(){this.isDetailVisible=!this.isDetailVisible}updateDetailedSlotPresence(){var t,o;this.hasDetailedSlot=(o=(t=this.detailedElements)==null?void 0:t.some(a=>{var h;return(h=a.textContent)==null?void 0:h.trim()}))!=null?o:!1}updateFooterButtonsPresence(){var t,o,a,h;this.hasFooterButtons=((o=(t=this.footerButtonPrimary)==null?void 0:t.length)!=null?o:0)>0||((h=(a=this.footerButtonSecondary)==null?void 0:a.length)!=null?h:0)>0||this.shouldRenderToggleButton()?"has-footer-buttons":""}firstUpdated(t){super.firstUpdated(t),this.updateDetailedSlotPresence()}renderIcon(t){return t?I`
5785
+ `,Lv=[tx];var Ae=class extends Xo(W){constructor(){super(...arguments);this.variant=De.VARIANT;this.headerTagName=De.HEADER_TAG_NAME;this.ariaLabel=null;this.isDetailVisible=!1;this.hasDetailedSlot=!1;this.hasFooterButtons=""}closeToast(){let t=new CustomEvent("close",{bubbles:!0,composed:!0,detail:{id:this.id}});this.dispatchEvent(t)}toggleDetailVisibility(){this.isDetailVisible=!this.isDetailVisible}updateDetailedSlotPresence(){var t,o;this.hasDetailedSlot=(o=(t=this.detailedElements)==null?void 0:t.some(a=>{var h;return(h=a.textContent)==null?void 0:h.trim()}))!=null?o:!1}updateFooterButtonsPresence(){var t,o,a,h;this.hasFooterButtons=((o=(t=this.footerButtonPrimary)==null?void 0:t.length)!=null?o:0)>0||((h=(a=this.footerButtonSecondary)==null?void 0:a.length)!=null?h:0)>0||this.shouldRenderToggleButton()?"has-footer-buttons":""}firstUpdated(t){super.firstUpdated(t),this.updateDetailedSlotPresence()}renderIcon(t){return t?I`
5777
5786
  <mdc-icon
5778
5787
  name="${t}"
5779
5788
  size="${De.PREFIX_ICON_SIZE}"
@@ -5791,7 +5800,7 @@
5791
5800
  <mdc-text
5792
5801
  part="toast-header"
5793
5802
  tagname="${this.headerTagName}"
5794
- type="${st.BODY_LARGE_BOLD}"
5803
+ type="${ot.BODY_LARGE_BOLD}"
5795
5804
  >
5796
5805
  ${this.headerText}
5797
5806
  </mdc-text>
@@ -5809,7 +5818,7 @@
5809
5818
  </div>
5810
5819
  </slot>`}render(){var t;return I`
5811
5820
  <div part="content-container">
5812
- ${this.variant===De.VARIANT?I`<slot name="content-prefix"></slot>`:I`${this.renderIcon((t=Sv(this.variant))!=null?t:"")}`}
5821
+ ${this.variant===De.VARIANT?I`<slot name="content-prefix"></slot>`:I`${this.renderIcon((t=Nv(this.variant))!=null?t:"")}`}
5813
5822
  <div part="toast-content">
5814
5823
  ${this.renderHeader()}
5815
5824
  <slot name="toast-body-normal"></slot>
@@ -5822,12 +5831,12 @@
5822
5831
  prefix-icon="${De.CANCEL_ICON}"
5823
5832
  variant="${De.TERTIARY_BUTTON}"
5824
5833
  size="${De.CLOSE_ICON_SIZE}"
5825
- aria-label="${ot(this.closeButtonAriaLabel)}"
5834
+ aria-label="${st(this.closeButtonAriaLabel)}"
5826
5835
  @click="${this.closeToast}"
5827
5836
  ></mdc-button>
5828
5837
  </div>
5829
5838
  ${this.renderFooter()}
5830
- `}};Ae.styles=[...W.styles,..._v],p([f({type:String,reflect:!0})],Ae.prototype,"variant",2),p([f({type:String,attribute:"close-button-aria-label"})],Ae.prototype,"closeButtonAriaLabel",2),p([f({type:String,reflect:!0,attribute:"header-text"})],Ae.prototype,"headerText",2),p([f({type:String,reflect:!0,attribute:"header-tag-name"})],Ae.prototype,"headerTagName",2),p([f({type:String,reflect:!0,attribute:"aria-label"})],Ae.prototype,"ariaLabel",2),p([f({type:String,reflect:!0,attribute:"show-more-text"})],Ae.prototype,"showMoreText",2),p([f({type:String,reflect:!0,attribute:"show-less-text"})],Ae.prototype,"showLessText",2),p([At()],Ae.prototype,"isDetailVisible",2),p([At()],Ae.prototype,"hasDetailedSlot",2),p([Lt({slot:"toast-body-detailed",flatten:!0})],Ae.prototype,"detailedElements",2),p([At()],Ae.prototype,"hasFooterButtons",2);var lh=Ae;lh.register(Av);var KT=lh;var qT=[Et,H`
5839
+ `}};Ae.styles=[...W.styles,...Lv],p([u({type:String,reflect:!0})],Ae.prototype,"variant",2),p([u({type:String,attribute:"close-button-aria-label"})],Ae.prototype,"closeButtonAriaLabel",2),p([u({type:String,reflect:!0,attribute:"header-text"})],Ae.prototype,"headerText",2),p([u({type:String,reflect:!0,attribute:"header-tag-name"})],Ae.prototype,"headerTagName",2),p([u({type:String,reflect:!0,attribute:"aria-label"})],Ae.prototype,"ariaLabel",2),p([u({type:String,reflect:!0,attribute:"show-more-text"})],Ae.prototype,"showMoreText",2),p([u({type:String,reflect:!0,attribute:"show-less-text"})],Ae.prototype,"showLessText",2),p([At()],Ae.prototype,"isDetailVisible",2),p([At()],Ae.prototype,"hasDetailedSlot",2),p([Lt({slot:"toast-body-detailed",flatten:!0})],Ae.prototype,"detailedElements",2),p([At()],Ae.prototype,"hasFooterButtons",2);var ph=Ae;ph.register(wv);var ex=ph;var rx=[Et,U`
5831
5840
  :host {
5832
5841
  --mdc-toggle-width: 3rem;
5833
5842
  --mdc-toggle-height: 1.5rem;
@@ -5913,7 +5922,7 @@
5913
5922
  :host([disabled]) .mdc-help-text {
5914
5923
  color: var(--mdc-toggle-label-color-disabled);
5915
5924
  }
5916
- `,...xt(!0)],Iv=qT;var As=class extends Re(Pe(re(ir))){constructor(){super(...arguments);this.checked=!1;this.size=xd.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}handleChange(t){this.toggleState();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Na).includes(t)?t:xd.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return I`
5925
+ `,...xt(!0)],Rv=rx;var Ss=class extends Re(Pe(re(ir))){constructor(){super(...arguments);this.checked=!1;this.size=Id.SIZE}connectedCallback(){super.connectedCallback(),this.helpTextType=void 0}firstUpdated(t){this.inputElement&&this.autoFocusOnMount&&(this.elementToAutoFocus=this.inputElement),super.firstUpdated(t)}formResetCallback(){this.checked=!1}formStateRestoreCallback(t){t&&(this.checked=!0)}manageRequired(){!this.checked&&this.required?(this.validationMessage?this.inputElement.setCustomValidity(this.validationMessage):this.inputElement.setCustomValidity(""),this.setValidity()):this.internals.setValidity({})}setFormValue(){let t=null;this.checked?t=this.value?this.value:"isActive":t=null,this.manageRequired(),this.internals.setFormValue(t)}toggleState(){this.disabled||(this.checked=!this.checked)}handleKeyDown(t){var o;t.key===J.ENTER&&((o=this.form)==null||o.requestSubmit())}handleChange(t){this.toggleState();let o=t.constructor;this.dispatchEvent(new o(t.type,t))}setToggleSize(t){this.setAttribute("size",Object.values(Ra).includes(t)?t:Id.SIZE)}update(t){super.update(t),t.has("checked")&&this.setFormValue(),t.has("size")&&this.setToggleSize(this.size)}render(){var t;return I`
5917
5926
  <mdc-statictoggle
5918
5927
  ?checked="${this.checked}"
5919
5928
  ?disabled="${this.disabled}"
@@ -5927,12 +5936,12 @@
5927
5936
  part="toggle-input"
5928
5937
  role="${tt.CHECKBOX}"
5929
5938
  ?required="${this.required}"
5930
- name="${ot(this.name)}"
5931
- value="${ot(this.value)}"
5939
+ name="${st(this.name)}"
5940
+ value="${st(this.value)}"
5932
5941
  .checked="${this.checked}"
5933
5942
  aria-checked="${this.checked}"
5934
5943
  .disabled="${this.disabled}"
5935
- aria-describedby="${ot(this.helpText?Dt.HELPER_TEXT_ID:"")}"
5944
+ aria-describedby="${st(this.helpText?Dt.HELPER_TEXT_ID:"")}"
5936
5945
  aria-label="${(t=this.dataAriaLabel)!=null?t:""}"
5937
5946
  tabindex="${this.disabled?-1:0}"
5938
5947
  @change="${this.handleChange}"
@@ -5940,10 +5949,10 @@
5940
5949
  />
5941
5950
  </mdc-statictoggle>
5942
5951
  ${this.renderLabel()} ${this.renderHelperText()}
5943
- `}};As.styles=[...ir.styles,...Iv],p([f({type:Boolean,reflect:!0})],As.prototype,"checked",2),p([f({type:String,reflect:!0})],As.prototype,"size",2);var ch=As;ch.register(Tf);var ZT=ch;function Co(l,i,t){var h;let o=(h=t.initialDeps)!=null?h:[],a;return()=>{var m,E,N,$;let K;t.key&&((m=t.debug)!=null&&m.call(t))&&(K=Date.now());let q=l();if(!(q.length!==o.length||q.some((rt,dt)=>o[dt]!==rt)))return a;o=q;let Q;if(t.key&&((E=t.debug)!=null&&E.call(t))&&(Q=Date.now()),a=i(...q),t.key&&((N=t.debug)!=null&&N.call(t))){let rt=Math.round((Date.now()-K)*100)/100,dt=Math.round((Date.now()-Q)*100)/100,ut=dt/16,Tt=(St,kt)=>{for(St=String(St);St.length<kt;)St=" "+St;return St};console.info(`%c\u23F1 ${Tt(dt,5)} /${Tt(rt,5)} ms`,`
5952
+ `}};Ss.styles=[...ir.styles,...Rv],p([u({type:Boolean,reflect:!0})],Ss.prototype,"checked",2),p([u({type:String,reflect:!0})],Ss.prototype,"size",2);var mh=Ss;mh.register(Cf);var ix=mh;function Co(l,i,t){var h;let o=(h=t.initialDeps)!=null?h:[],a;return()=>{var m,E,N,$;let K;t.key&&((m=t.debug)!=null&&m.call(t))&&(K=Date.now());let q=l();if(!(q.length!==o.length||q.some((rt,dt)=>o[dt]!==rt)))return a;o=q;let Q;if(t.key&&((E=t.debug)!=null&&E.call(t))&&(Q=Date.now()),a=i(...q),t.key&&((N=t.debug)!=null&&N.call(t))){let rt=Math.round((Date.now()-K)*100)/100,dt=Math.round((Date.now()-Q)*100)/100,ft=dt/16,Tt=(St,kt)=>{for(St=String(St);St.length<kt;)St=" "+St;return St};console.info(`%c\u23F1 ${Tt(dt,5)} /${Tt(rt,5)} ms`,`
5944
5953
  font-size: .6rem;
5945
5954
  font-weight: bold;
5946
- color: hsl(${Math.max(0,Math.min(120-120*ut,120))}deg 100% 31%);`,t==null?void 0:t.key)}return($=t==null?void 0:t.onChange)==null||$.call(t,a),a}}function $l(l,i){if(l===void 0)throw new Error(`Unexpected undefined${i?`: ${i}`:""}`);return l}var Cv=(l,i)=>Math.abs(l-i)<1,kv=(l,i,t)=>{let o;return function(...a){l.clearTimeout(o),o=l.setTimeout(()=>i.apply(this,a),t)}};var XT=l=>l,QT=l=>{let i=Math.max(l.startIndex-l.overscan,0),t=Math.min(l.endIndex+l.overscan,l.count-1),o=[];for(let a=i;a<=t;a++)o.push(a);return o},Nv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=m=>{let{width:E,height:N}=m;i({width:Math.round(E),height:Math.round(N)})};if(a(t.getBoundingClientRect()),!o.ResizeObserver)return()=>{};let h=new o.ResizeObserver(m=>{let E=m[0];if(E!=null&&E.borderBoxSize){let N=E.borderBoxSize[0];if(N){a({width:N.inlineSize,height:N.blockSize});return}}a(t.getBoundingClientRect())});return h.observe(t,{box:"border-box"}),()=>{h.unobserve(t)}},wv={passive:!0};var JT=typeof window>"u"?!0:"onscrollend"in window,Lv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=0,h=l.options.useScrollendEvent&&JT?()=>{}:kv(o,()=>{i(a,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:K,isRtl:q}=l.options;a=K?t.scrollLeft*(q&&-1||1):t.scrollTop,h(),i(a,$)},E=m(!0),N=m(!1);return N(),t.addEventListener("scroll",E,wv),t.addEventListener("scrollend",N,wv),()=>{t.removeEventListener("scroll",E),t.removeEventListener("scrollend",N)}};var tx=(l,i,t)=>{if(i!=null&&i.borderBoxSize){let o=i.borderBoxSize[0];if(o)return Math.round(o[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var Rv=(l,{adjustments:i=0,behavior:t},o)=>{var a,h;let m=l+i;(h=(a=o.scrollElement)==null?void 0:a.scrollTo)==null||h.call(a,{[o.options.horizontal?"left":"top"]:m,behavior:t})},zl=class{constructor(i){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,o=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var a;(a=o())==null||a.disconnect(),t=null},observe:a=>{var h;return(h=o())==null?void 0:h.observe(a,{box:"border-box"})},unobserve:a=>{var h;return(h=o())==null?void 0:h.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([o,a])=>{typeof a>"u"&&delete t[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:XT,rangeExtractor:QT,onChange:()=>{},measureElement:tx,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var o,a;(a=(o=this.options).onChange)==null||a.call(o,this,t)},this.maybeNotify=Co(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var a;var t;let o=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==o){if(this.cleanup(),!o){this.maybeNotify();return}this.scrollElement=o,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(a=(t=this.scrollElement)==null?void 0:t.window)!=null?a:null,this.elementsCache.forEach(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,o)=>{let a=new Map,h=new Map;for(let m=o-1;m>=0;m--){let E=t[m];if(a.has(E.lane))continue;let N=h.get(E.lane);if(N==null||E.end>N.end?h.set(E.lane,E):E.end<N.end&&a.set(E.lane,!0),a.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,E)=>m.end===E.end?m.index-E.index:m.end-E.end)[0]:void 0},this.getMeasurementOptions=Co(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,o,a,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:o,scrollMargin:a,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=Co(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:o,scrollMargin:a,getItemKey:h,enabled:m},E)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(K=>{this.itemSizeCache.set(K.key,K.size)}));let N=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,N);for(let K=N;K<t;K++){let q=h(K),nt=this.options.lanes===1?$[K-1]:this.getFurthestMeasurement($,K),Q=nt?nt.end+this.options.gap:o+a,rt=E.get(q),dt=typeof rt=="number"?rt:this.options.estimateSize(K),ut=Q+dt,Tt=nt?nt.lane:K%this.options.lanes;$[K]={index:K,start:Q,size:dt,end:ut,key:q,lane:Tt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Co(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,o,a)=>this.range=t.length>0&&o>0?ex({measurements:t,outerSize:o,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Co(()=>{let t=null,o=null,a=this.calculateRange();return a&&(t=a.startIndex,o=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,o]},(t,o,a,h,m)=>h===null||m===null?[]:t({startIndex:h,endIndex:m,overscan:o,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let o=this.options.indexAttribute,a=t.getAttribute(o);return a?parseInt(a,10):(console.warn(`Missing attribute name '${o}={index}' on measured element.`),-1)},this._measureElement=(t,o)=>{let a=this.indexFromElement(t),h=this.measurementsCache[a];if(!h)return;let m=h.key,E=this.elementsCache.get(m);E!==t&&(E&&this.observer.unobserve(E),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,o,this))},this.resizeItem=(t,o)=>{var E;let a=this.measurementsCache[t];if(!a)return;let h=(E=this.itemSizeCache.get(a.key))!=null?E:a.size,m=o-h;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,m,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,o)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((o,a)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Co(()=>[this.getIndexes(),this.getMeasurements()],(t,o)=>{let a=[];for(let h=0,m=t.length;h<m;h++){let E=t[h],N=o[E];a.push(N)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let o=this.getMeasurements();if(o.length!==0)return $l(o[Mv(0,o.length-1,a=>$l(o[a]).start,t)])},this.getOffsetForAlignment=(t,o)=>{let a=this.getSize(),h=this.getScrollOffset();o==="auto"&&t>=h+a&&(o="end"),o==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",N=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(N,t),0)},this.getOffsetForIndex=(t,o="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let h=this.getSize(),m=this.getScrollOffset();if(o==="auto")if(a.end>=m+h-this.options.scrollPaddingEnd)o="end";else if(a.start<=m+this.options.scrollPaddingStart)o="start";else return[m,o];let E=a.start-this.options.scrollPaddingStart+(a.size-h)/2;switch(o){case"center":return[this.getOffsetForAlignment(E,o),o];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,o),o];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,o),o]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:o="start",behavior:a}={})=>{this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,o),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:o="auto",behavior:a}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(t,o);if(!h)return;let[m,E]=h;this._scrollToOffset(m,{adjustments:void 0,behavior:a}),a!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[$]=$l(this.getOffsetForIndex(t,E));Cv($,this.getScrollOffset())||this.scrollToIndex(t,{align:E,behavior:a})}else this.scrollToIndex(t,{align:E,behavior:a})}))},this.scrollBy=(t,{behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:o})},this.getTotalSize=()=>{var h;var t;let o=this.getMeasurements(),a;return o.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(h=(t=o[o.length-1])==null?void 0:t.end)!=null?h:0:Math.max(...o.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:o,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:o},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(i)}},Mv=(l,i,t,o)=>{for(;l<=i;){let a=(l+i)/2|0,h=t(a);if(h<o)l=a+1;else if(h>o)i=a-1;else return a}return l>0?l-1:0};function ex({measurements:l,outerSize:i,scrollOffset:t}){let o=l.length-1,h=Mv(0,o,E=>l[E].start,t),m=h;for(;m<o&&l[m].end<t+i;)m++;return{startIndex:h,endIndex:m}}var dh=class{constructor(i,t){this.cleanup=()=>{},(this.host=i).addController(this);let o={...t,onChange:(a,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,h)}};this.virtualizer=new zl(o)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Vl=class extends dh{constructor(i,t){super(i,{observeElementRect:Nv,observeElementOffset:Lv,scrollToFn:Rv,...t})}};var rx=[H`
5955
+ color: hsl(${Math.max(0,Math.min(120-120*ft,120))}deg 100% 31%);`,t==null?void 0:t.key)}return($=t==null?void 0:t.onChange)==null||$.call(t,a),a}}function Bl(l,i){if(l===void 0)throw new Error(`Unexpected undefined${i?`: ${i}`:""}`);return l}var Mv=(l,i)=>Math.abs(l-i)<1,Ov=(l,i,t)=>{let o;return function(...a){l.clearTimeout(o),o=l.setTimeout(()=>i.apply(this,a),t)}};var ox=l=>l,sx=l=>{let i=Math.max(l.startIndex-l.overscan,0),t=Math.min(l.endIndex+l.overscan,l.count-1),o=[];for(let a=i;a<=t;a++)o.push(a);return o},Dv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=m=>{let{width:E,height:N}=m;i({width:Math.round(E),height:Math.round(N)})};if(a(t.getBoundingClientRect()),!o.ResizeObserver)return()=>{};let h=new o.ResizeObserver(m=>{let E=m[0];if(E!=null&&E.borderBoxSize){let N=E.borderBoxSize[0];if(N){a({width:N.inlineSize,height:N.blockSize});return}}a(t.getBoundingClientRect())});return h.observe(t,{box:"border-box"}),()=>{h.unobserve(t)}},Pv={passive:!0};var ax=typeof window>"u"?!0:"onscrollend"in window,Fv=(l,i)=>{let t=l.scrollElement;if(!t)return;let o=l.targetWindow;if(!o)return;let a=0,h=l.options.useScrollendEvent&&ax?()=>{}:Ov(o,()=>{i(a,!1)},l.options.isScrollingResetDelay),m=$=>()=>{let{horizontal:K,isRtl:q}=l.options;a=K?t.scrollLeft*(q&&-1||1):t.scrollTop,h(),i(a,$)},E=m(!0),N=m(!1);return N(),t.addEventListener("scroll",E,Pv),t.addEventListener("scrollend",N,Pv),()=>{t.removeEventListener("scroll",E),t.removeEventListener("scrollend",N)}};var nx=(l,i,t)=>{if(i!=null&&i.borderBoxSize){let o=i.borderBoxSize[0];if(o)return Math.round(o[t.options.horizontal?"inlineSize":"blockSize"])}return Math.round(l.getBoundingClientRect()[t.options.horizontal?"width":"height"])};var $v=(l,{adjustments:i=0,behavior:t},o)=>{var a,h;let m=l+i;(h=(a=o.scrollElement)==null?void 0:a.scrollTo)==null||h.call(a,{[o.options.horizontal?"left":"top"]:m,behavior:t})},Ul=class{constructor(i){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null,o=()=>t||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:t=new this.targetWindow.ResizeObserver(a=>{a.forEach(h=>{this._measureElement(h.target,h)})}));return{disconnect:()=>{var a;(a=o())==null||a.disconnect(),t=null},observe:a=>{var h;return(h=o())==null?void 0:h.observe(a,{box:"border-box"})},unobserve:a=>{var h;return(h=o())==null?void 0:h.unobserve(a)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach(([o,a])=>{typeof a>"u"&&delete t[o]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:ox,rangeExtractor:sx,onChange:()=>{},measureElement:nx,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...t}},this.notify=t=>{var o,a;(a=(o=this.options).onChange)==null||a.call(o,this,t)},this.maybeNotify=Co(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),t=>{this.notify(t)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(t=>t()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var a;var t;let o=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==o){if(this.cleanup(),!o){this.maybeNotify();return}this.scrollElement=o,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(a=(t=this.scrollElement)==null?void 0:t.window)!=null?a:null,this.elementsCache.forEach(h=>{this.observer.observe(h)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,h=>{this.scrollRect=h,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(h,m)=>{this.scrollAdjustments=0,this.scrollDirection=m?this.getScrollOffset()<h?"forward":"backward":null,this.scrollOffset=h,this.isScrolling=m,this.maybeNotify()}))}},this.getSize=()=>{var t;return this.options.enabled?(this.scrollRect=(t=this.scrollRect)!=null?t:this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0)},this.getScrollOffset=()=>{var t;return this.options.enabled?(this.scrollOffset=(t=this.scrollOffset)!=null?t:typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset,this.scrollOffset):(this.scrollOffset=null,0)},this.getFurthestMeasurement=(t,o)=>{let a=new Map,h=new Map;for(let m=o-1;m>=0;m--){let E=t[m];if(a.has(E.lane))continue;let N=h.get(E.lane);if(N==null||E.end>N.end?h.set(E.lane,E):E.end<N.end&&a.set(E.lane,!0),a.size===this.options.lanes)break}return h.size===this.options.lanes?Array.from(h.values()).sort((m,E)=>m.end===E.end?m.index-E.index:m.end-E.end)[0]:void 0},this.getMeasurementOptions=Co(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(t,o,a,h,m)=>(this.pendingMeasuredCacheIndexes=[],{count:t,paddingStart:o,scrollMargin:a,getItemKey:h,enabled:m}),{key:!1}),this.getMeasurements=Co(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:t,paddingStart:o,scrollMargin:a,getItemKey:h,enabled:m},E)=>{if(!m)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(K=>{this.itemSizeCache.set(K.key,K.size)}));let N=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let $=this.measurementsCache.slice(0,N);for(let K=N;K<t;K++){let q=h(K),nt=this.options.lanes===1?$[K-1]:this.getFurthestMeasurement($,K),Q=nt?nt.end+this.options.gap:o+a,rt=E.get(q),dt=typeof rt=="number"?rt:this.options.estimateSize(K),ft=Q+dt,Tt=nt?nt.lane:K%this.options.lanes;$[K]={index:K,start:Q,size:dt,end:ft,key:q,lane:Tt}}return this.measurementsCache=$,$},{key:!1,debug:()=>this.options.debug}),this.calculateRange=Co(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(t,o,a)=>this.range=t.length>0&&o>0?lx({measurements:t,outerSize:o,scrollOffset:a}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=Co(()=>{let t=null,o=null,a=this.calculateRange();return a&&(t=a.startIndex,o=a.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,t,o]},(t,o,a,h,m)=>h===null||m===null?[]:t({startIndex:h,endIndex:m,overscan:o,count:a}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=t=>{let o=this.options.indexAttribute,a=t.getAttribute(o);return a?parseInt(a,10):(console.warn(`Missing attribute name '${o}={index}' on measured element.`),-1)},this._measureElement=(t,o)=>{let a=this.indexFromElement(t),h=this.measurementsCache[a];if(!h)return;let m=h.key,E=this.elementsCache.get(m);E!==t&&(E&&this.observer.unobserve(E),this.observer.observe(t),this.elementsCache.set(m,t)),t.isConnected&&this.resizeItem(a,this.options.measureElement(t,o,this))},this.resizeItem=(t,o)=>{var E;let a=this.measurementsCache[t];if(!a)return;let h=(E=this.itemSizeCache.get(a.key))!=null?E:a.size,m=o-h;m!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(a,m,this):a.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=m,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(a.index),this.itemSizeCache=new Map(this.itemSizeCache.set(a.key,o)),this.notify(!1))},this.measureElement=t=>{if(!t){this.elementsCache.forEach((o,a)=>{o.isConnected||(this.observer.unobserve(o),this.elementsCache.delete(a))});return}this._measureElement(t,void 0)},this.getVirtualItems=Co(()=>[this.getIndexes(),this.getMeasurements()],(t,o)=>{let a=[];for(let h=0,m=t.length;h<m;h++){let E=t[h],N=o[E];a.push(N)}return a},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=t=>{let o=this.getMeasurements();if(o.length!==0)return Bl(o[zv(0,o.length-1,a=>Bl(o[a]).start,t)])},this.getOffsetForAlignment=(t,o)=>{let a=this.getSize(),h=this.getScrollOffset();o==="auto"&&t>=h+a&&(o="end"),o==="end"&&(t-=a);let m=this.options.horizontal?"scrollWidth":"scrollHeight",N=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[m]:this.scrollElement[m]:0)-a;return Math.max(Math.min(N,t),0)},this.getOffsetForIndex=(t,o="auto")=>{t=Math.max(0,Math.min(t,this.options.count-1));let a=this.measurementsCache[t];if(!a)return;let h=this.getSize(),m=this.getScrollOffset();if(o==="auto")if(a.end>=m+h-this.options.scrollPaddingEnd)o="end";else if(a.start<=m+this.options.scrollPaddingStart)o="start";else return[m,o];let E=a.start-this.options.scrollPaddingStart+(a.size-h)/2;switch(o){case"center":return[this.getOffsetForAlignment(E,o),o];case"end":return[this.getOffsetForAlignment(a.end+this.options.scrollPaddingEnd,o),o];default:return[this.getOffsetForAlignment(a.start-this.options.scrollPaddingStart,o),o]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(t,{align:o="start",behavior:a}={})=>{this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(t,o),{adjustments:void 0,behavior:a})},this.scrollToIndex=(t,{align:o="auto",behavior:a}={})=>{t=Math.max(0,Math.min(t,this.options.count-1)),this.cancelScrollToIndex(),a==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let h=this.getOffsetForIndex(t,o);if(!h)return;let[m,E]=h;this._scrollToOffset(m,{adjustments:void 0,behavior:a}),a!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(t))){let[$]=Bl(this.getOffsetForIndex(t,E));Mv($,this.getScrollOffset())||this.scrollToIndex(t,{align:E,behavior:a})}else this.scrollToIndex(t,{align:E,behavior:a})}))},this.scrollBy=(t,{behavior:o}={})=>{this.cancelScrollToIndex(),o==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:o})},this.getTotalSize=()=>{var h;var t;let o=this.getMeasurements(),a;return o.length===0?a=this.options.paddingStart:a=this.options.lanes===1?(h=(t=o[o.length-1])==null?void 0:t.end)!=null?h:0:Math.max(...o.slice(-this.options.lanes).map(m=>m.end)),Math.max(a-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:o,behavior:a})=>{this.options.scrollToFn(t,{behavior:a,adjustments:o},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(i)}},zv=(l,i,t,o)=>{for(;l<=i;){let a=(l+i)/2|0,h=t(a);if(h<o)l=a+1;else if(h>o)i=a-1;else return a}return l>0?l-1:0};function lx({measurements:l,outerSize:i,scrollOffset:t}){let o=l.length-1,h=zv(0,o,E=>l[E].start,t),m=h;for(;m<o&&l[m].end<t+i;)m++;return{startIndex:h,endIndex:m}}var uh=class{constructor(i,t){this.cleanup=()=>{},(this.host=i).addController(this);let o={...t,onChange:(a,h)=>{var m;this.host.updateComplete.then(()=>this.host.requestUpdate()),(m=t.onChange)==null||m.call(t,a,h)}};this.virtualizer=new Ul(o)}getVirtualizer(){return this.virtualizer}async hostConnected(){this.cleanup=this.virtualizer._didMount()}hostUpdated(){this.virtualizer._willUpdate()}hostDisconnected(){this.cleanup()}},Hl=class extends uh{constructor(i,t){super(i,{observeElementRect:Dv,observeElementOffset:Fv,scrollToFn:$v,...t})}};var cx=[U`
5947
5956
  :host::part(scroll) {
5948
5957
  height: 100%;
5949
5958
  width: 100%;
@@ -5953,21 +5962,21 @@
5953
5962
  position: relative;
5954
5963
  width: 100%;
5955
5964
  }
5956
- `],Ov=rx;var Pv=G.constructTagName("virtualizedlist"),Jq=G.constructTagName("virtualizedwrapper"),Dv={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var Ss=class extends W{constructor(){super();this.virtualizerProps=Dv.VIRTUALIZER_PROPS;this.scrollElementRef=On();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new Vl(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var E,N;this.virtualizer=t.getVirtualizer();let{getTotalSize:o,getVirtualItems:a,measureElement:h}=this.virtualizer,m=a();if(m!==this.virtualItems){this.virtualItems=m;let $=a(),K={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(N=(E=$[0])==null?void 0:E.start)!=null?N:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:$,measureElement:h,listStyle:K})}return I`<div part="container" style="height: ${o()}px;">
5965
+ `],Vv=cx;var Bv=H.constructTagName("virtualizedlist"),CZ=H.constructTagName("virtualizedwrapper"),Uv={VIRTUALIZER_PROPS:{count:0,estimateSize:()=>0}};var _s=class extends W{constructor(){super();this.virtualizerProps=Uv.VIRTUALIZER_PROPS;this.scrollElementRef=Dn();this.virtualItems=[];this.virtualizerController=null,this.virtualizer=null,this.setlistdata=null,this.onscroll=null}update(t){super.update(t),t.get("virtualizerProps")&&this.setVirtualizerOptions()}firstUpdated(t){super.firstUpdated(t),this.setVirtualizerOptions()}setVirtualizerOptions(){var t;(t=this.virtualizer)==null||t.setOptions({...this.virtualizer.options,...this.virtualizerProps}),this.requestUpdate()}connectedCallback(){var t;this.virtualizerController=new Hl(this,{count:this.virtualizerProps.count,estimateSize:(t=this.virtualizerProps)==null?void 0:t.estimateSize,getScrollElement:()=>this.scrollElementRef.value||null,...this.virtualizerProps}),super.connectedCallback()}getVirtualizedListWrapper(t){var E,N;this.virtualizer=t.getVirtualizer();let{getTotalSize:o,getVirtualItems:a,measureElement:h}=this.virtualizer,m=a();if(m!==this.virtualItems){this.virtualItems=m;let $=a(),K={position:"absolute",top:0,left:0,width:"100%",transform:`translateY(${(N=(E=$[0])==null?void 0:E.start)!=null?N:0}px)`};this.setlistdata&&this.setlistdata({virtualItems:$,measureElement:h,listStyle:K})}return I`<div part="container" style="height: ${o()}px;">
5957
5966
  <slot></slot>
5958
- </div>`}handleScroll(t){let o=t.constructor;this.dispatchEvent(new o(t.type,t))}render(){return I`<div ${Pn(this.scrollElementRef)} part="scroll" @scroll=${this.handleScroll}>
5967
+ </div>`}handleScroll(t){let o=t.constructor;this.dispatchEvent(new o(t.type,t))}render(){return I`<div ${Fn(this.scrollElementRef)} part="scroll" @scroll=${this.handleScroll}>
5959
5968
  ${this.virtualizerController?this.getVirtualizedListWrapper(this.virtualizerController):I``}
5960
- </div>`}};Ss.styles=[...W.styles,...Ov],p([f({type:Object,attribute:"virtualizerprops"})],Ss.prototype,"virtualizerProps",2),p([f({type:Function,attribute:"setlistdata"})],Ss.prototype,"setlistdata",2);var hh=Ss;hh.register(Pv);var ix=hh;var ox=H`
5969
+ </div>`}};_s.styles=[...W.styles,...Vv],p([u({type:Object,attribute:"virtualizerprops"})],_s.prototype,"virtualizerProps",2),p([u({type:Function,attribute:"setlistdata"})],_s.prototype,"setlistdata",2);var fh=_s;fh.register(Bv);var dx=fh;var hx=U`
5961
5970
  :host {
5962
5971
  display: block;
5963
5972
  }
5964
- `,Fv=[ox];var Bl=class extends W{render(){return I`<p>This is a dummy combobox component!</p>
5965
- <slot></slot>`}};Bl.styles=[...W.styles,...Fv];var ph=Bl;var $v=G.constructTagName("combobox");ph.register($v);var sx=ph;var ax=H`
5973
+ `,Hv=[hx];var Gl=class extends W{render(){return I`<p>This is a dummy combobox component!</p>
5974
+ <slot></slot>`}};Gl.styles=[...W.styles,...Hv];var vh=Gl;var Gv=H.constructTagName("combobox");vh.register(Gv);var px=vh;var mx=U`
5966
5975
  :host {
5967
5976
  display: block;
5968
5977
  }
5969
- `,zv=[ax];var Rt=class extends W{constructor(){super(...arguments);this.range=!1;this.min=0;this.max=100;this.step=1;this.valueLabel="";this.valueLabelStart="";this.valueLabelEnd="";this.ariaLabelStart="";this.ariaValuetextStart="";this.ariaLabelEnd="";this.ariaValuetextEnd="";this.dataAriaValuetext="";this.dataAriaLabel=""}render(){return I`<p>This is a dummy slider component!</p>
5970
- <slot></slot>`}};Rt.styles=[...W.styles,...zv],p([f({type:Boolean})],Rt.prototype,"range",2),p([f({type:Boolean})],Rt.prototype,"disabled",2),p([f({type:Boolean,attribute:"soft-disabled"})],Rt.prototype,"softDisabled",2),p([f({type:String,attribute:"leading-icon"})],Rt.prototype,"leadingIcon",2),p([f({type:String,attribute:"trailing-icon"})],Rt.prototype,"trailingIcon",2),p([f({type:Number})],Rt.prototype,"min",2),p([f({type:Number})],Rt.prototype,"max",2),p([f({type:Number})],Rt.prototype,"value",2),p([f({type:Number,attribute:"value-start"})],Rt.prototype,"valueStart",2),p([f({type:Number,attribute:"value-end"})],Rt.prototype,"valueEnd",2),p([f({type:Number})],Rt.prototype,"step",2),p([f({type:String})],Rt.prototype,"label",2),p([f({type:String,attribute:"label-start"})],Rt.prototype,"labelStart",2),p([f({type:String,attribute:"label-end"})],Rt.prototype,"labelEnd",2),p([f({type:String,attribute:"value-label"})],Rt.prototype,"valueLabel",2),p([f({type:String,attribute:"value-label-start"})],Rt.prototype,"valueLabelStart",2),p([f({type:String,attribute:"value-label-end"})],Rt.prototype,"valueLabelEnd",2),p([f({type:String,attribute:"aria-label-start"})],Rt.prototype,"ariaLabelStart",2),p([f({type:String,attribute:"aria-valuetext-start"})],Rt.prototype,"ariaValuetextStart",2),p([f({type:String,attribute:"aria-label-end"})],Rt.prototype,"ariaLabelEnd",2),p([f({type:String,attribute:"aria-valuetext-end"})],Rt.prototype,"ariaValuetextEnd",2),p([f({type:String})],Rt.prototype,"name",2),p([f({type:String,attribute:"name-start"})],Rt.prototype,"nameStart",2),p([f({type:String,attribute:"name-end"})],Rt.prototype,"nameEnd",2),p([f({type:String,attribute:"data-aria-valuetext"})],Rt.prototype,"dataAriaValuetext",2),p([f({type:String,attribute:"data-aria-label"})],Rt.prototype,"dataAriaLabel",2);var mh=Rt;var Vv=G.constructTagName("slider");mh.register(Vv);var nx=mh;var Bv=l=>{class i extends l{constructor(...a){super(...a);this.handleItemCreation=a=>{let h=a.target;h&&h.addEventListener(or.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===or.DESTROYED){a.target.removeEventListener(or.DESTROYED,this.handleItemRemovedEvent);let h=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(h,"target",{set(){},get:()=>a.target}),this.dispatchEvent(h)}};this.addEventListener(or.CREATED,this.handleItemCreation)}}return i};var Uv=l=>{class i extends l{constructor(...a){super(...a);this.loop=!0;this.propagateAllKeyEvents=!1;this.handleNavigationKeyDown=a=>{let h=!1,m=a.target,E=this.getCurrentIndex(m);if(E===-1)return;this.resetTabIndexes(E);let N=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(a.key,N)){case J.HOME:{this.resetTabIndexAndSetFocus(0,E),h=!0;break}case J.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,E),h=!0;break}case J.ARROW_DOWN:{let K=this.loop?0:E,q=E+1===this.navItems.length?K:E+1;this.resetTabIndexAndSetFocus(q,E),h=!0;break}case J.ARROW_UP:{let K=this.loop?this.navItems.length-1:E,q=E-1===-1?K:E-1;this.resetTabIndexAndSetFocus(q,E),h=!0;break}default:break}h&&!this.propagateAllKeyEvents&&(a.stopPropagation(),a.preventDefault())};this.handleNavigationClick=a=>{let h=this.getCurrentIndex(a.target);this.resetTabIndexes(h)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a),this.resetTabIndexAndSetFocus(0,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(h=>h===a)}resetTabIndexes(a){if(this.navItems.length>0){this.navItems.forEach(m=>m.setAttribute("tabindex","-1"));let h=this.navItems[a]?a:0;this.navItems[h].setAttribute("tabindex","0"),this.navItems[h].focus()}}resetTabIndexAndSetFocus(a,h,m=!0){let{navItems:E}=this;if(E.length===0)return;let N=E[a]?a:0,$=E[N];a===h&&$&&$.getAttribute("tabindex")==="0"||(h!==void 0&&E[h]&&E[h].setAttribute("tabindex","-1"),$.setAttribute("tabindex","0"),m&&$.focus())}resolveDirectionKey(a,h){if(!h)return a;switch(a){case J.ARROW_LEFT:return J.ARROW_RIGHT;case J.ARROW_RIGHT:return J.ARROW_LEFT;default:return a}}}return i};var Hv=(l,i)=>!!(l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING);var lx=l=>!!l,Ul=class{constructor(i,t){this.cache=[];this.itemCreationHandler=i=>{this.addItem(i.target,void 0)};this.itemDestroyHandler=i=>{this.delete(i.target)};this.host=i,i.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||lx,this.host.addEventListener(or.CREATED,this.itemCreationHandler),this.host.addEventListener(or.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(i){this.addItem(i,void 0)}addAt(i,t){this.addItem(i,t)}addItem(i,t=void 0){let o=i;if(this.isValidItem(o)&&!this.cache.includes(o)){let a=t===void 0?this.cache.findIndex(h=>Hv(o,h)):t;a===-1?this.cache.push(o):a>=0&&this.cache.splice(a,0,o)}}delete(i){let t=this.cache.indexOf(i);t!==-1&&this.cache.splice(t,1)}reset(i){this.cache.length=0,this.cache.push(...i||[])}};var cx=H`
5978
+ `,Yv=[mx];var Rt=class extends W{constructor(){super(...arguments);this.range=!1;this.min=0;this.max=100;this.step=1;this.valueLabel="";this.valueLabelStart="";this.valueLabelEnd="";this.ariaLabelStart="";this.ariaValuetextStart="";this.ariaLabelEnd="";this.ariaValuetextEnd="";this.dataAriaValuetext="";this.dataAriaLabel=""}render(){return I`<p>This is a dummy slider component!</p>
5979
+ <slot></slot>`}};Rt.styles=[...W.styles,...Yv],p([u({type:Boolean})],Rt.prototype,"range",2),p([u({type:Boolean})],Rt.prototype,"disabled",2),p([u({type:Boolean,attribute:"soft-disabled"})],Rt.prototype,"softDisabled",2),p([u({type:String,attribute:"leading-icon"})],Rt.prototype,"leadingIcon",2),p([u({type:String,attribute:"trailing-icon"})],Rt.prototype,"trailingIcon",2),p([u({type:Number})],Rt.prototype,"min",2),p([u({type:Number})],Rt.prototype,"max",2),p([u({type:Number})],Rt.prototype,"value",2),p([u({type:Number,attribute:"value-start"})],Rt.prototype,"valueStart",2),p([u({type:Number,attribute:"value-end"})],Rt.prototype,"valueEnd",2),p([u({type:Number})],Rt.prototype,"step",2),p([u({type:String})],Rt.prototype,"label",2),p([u({type:String,attribute:"label-start"})],Rt.prototype,"labelStart",2),p([u({type:String,attribute:"label-end"})],Rt.prototype,"labelEnd",2),p([u({type:String,attribute:"value-label"})],Rt.prototype,"valueLabel",2),p([u({type:String,attribute:"value-label-start"})],Rt.prototype,"valueLabelStart",2),p([u({type:String,attribute:"value-label-end"})],Rt.prototype,"valueLabelEnd",2),p([u({type:String,attribute:"aria-label-start"})],Rt.prototype,"ariaLabelStart",2),p([u({type:String,attribute:"aria-valuetext-start"})],Rt.prototype,"ariaValuetextStart",2),p([u({type:String,attribute:"aria-label-end"})],Rt.prototype,"ariaLabelEnd",2),p([u({type:String,attribute:"aria-valuetext-end"})],Rt.prototype,"ariaValuetextEnd",2),p([u({type:String})],Rt.prototype,"name",2),p([u({type:String,attribute:"name-start"})],Rt.prototype,"nameStart",2),p([u({type:String,attribute:"name-end"})],Rt.prototype,"nameEnd",2),p([u({type:String,attribute:"data-aria-valuetext"})],Rt.prototype,"dataAriaValuetext",2),p([u({type:String,attribute:"data-aria-label"})],Rt.prototype,"dataAriaLabel",2);var gh=Rt;var Wv=H.constructTagName("slider");gh.register(Wv);var ux=gh;var jv=l=>{class i extends l{constructor(...a){super(...a);this.handleItemCreation=a=>{let h=a.target;h&&h.addEventListener(or.DESTROYED,this.handleItemRemovedEvent)};this.handleItemRemovedEvent=a=>{if(a.stopImmediatePropagation(),a.target&&a.type===or.DESTROYED){a.target.removeEventListener(or.DESTROYED,this.handleItemRemovedEvent);let h=new Event(a.type,{bubbles:a.bubbles,composed:a.composed});Object.defineProperty(h,"target",{set(){},get:()=>a.target}),this.dispatchEvent(h)}};this.addEventListener(or.CREATED,this.handleItemCreation)}}return i};var Kv=l=>{class i extends l{constructor(...a){super(...a);this.loop=!0;this.propagateAllKeyEvents=!1;this.handleNavigationKeyDown=a=>{let h=!1,m=a.target,E=this.getCurrentIndex(m);if(E===-1)return;this.resetTabIndexes(E);let N=window.getComputedStyle(this).direction==="rtl";switch(this.resolveDirectionKey(a.key,N)){case J.HOME:{this.resetTabIndexAndSetFocus(0,E),h=!0;break}case J.END:{this.resetTabIndexAndSetFocus(this.navItems.length-1,E),h=!0;break}case J.ARROW_DOWN:{let K=this.loop?0:E,q=E+1===this.navItems.length?K:E+1;this.resetTabIndexAndSetFocus(q,E),h=!0;break}case J.ARROW_UP:{let K=this.loop?this.navItems.length-1:E,q=E-1===-1?K:E-1;this.resetTabIndexAndSetFocus(q,E),h=!0;break}default:break}h&&!this.propagateAllKeyEvents&&(a.stopPropagation(),a.preventDefault())};this.handleNavigationClick=a=>{let h=this.getCurrentIndex(a.target);this.resetTabIndexes(h)};this.addEventListener("keydown",this.handleNavigationKeyDown),this.addEventListener("click",this.handleNavigationClick)}async firstUpdated(a){super.firstUpdated(a),this.resetTabIndexAndSetFocus(0,void 0,!1)}getCurrentIndex(a){return this.navItems.findIndex(h=>h===a)}resetTabIndexes(a){if(this.navItems.length>0){this.navItems.forEach(m=>m.setAttribute("tabindex","-1"));let h=this.navItems[a]?a:0;this.navItems[h].setAttribute("tabindex","0"),this.navItems[h].focus()}}resetTabIndexAndSetFocus(a,h,m=!0){let{navItems:E}=this;if(E.length===0)return;let N=E[a]?a:0,$=E[N];a===h&&$&&$.getAttribute("tabindex")==="0"||(h!==void 0&&E[h]&&E[h].setAttribute("tabindex","-1"),$.setAttribute("tabindex","0"),m&&$.focus())}resolveDirectionKey(a,h){if(!h)return a;switch(a){case J.ARROW_LEFT:return J.ARROW_RIGHT;case J.ARROW_RIGHT:return J.ARROW_LEFT;default:return a}}}return i};var qv=(l,i)=>!!(l.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING);var fx=l=>!!l,Yl=class{constructor(i,t){this.cache=[];this.itemCreationHandler=i=>{this.addItem(i.target,void 0)};this.itemDestroyHandler=i=>{this.delete(i.target)};this.host=i,i.addController(this),this.isValidItem=(t==null?void 0:t.isValidItem)||fx,this.host.addEventListener(or.CREATED,this.itemCreationHandler),this.host.addEventListener(or.DESTROYED,this.itemDestroyHandler)}get items(){return this.cache}hostConnected(){}hostDisconnected(){}add(i){this.addItem(i,void 0)}addAt(i,t){this.addItem(i,t)}addItem(i,t=void 0){let o=i;if(this.isValidItem(o)&&!this.cache.includes(o)){let a=t===void 0?this.cache.findIndex(h=>qv(o,h)):t;a===-1?this.cache.push(o):a>=0&&this.cache.splice(a,0,o)}}delete(i){let t=this.cache.indexOf(i);t!==-1&&this.cache.splice(t,1)}reset(i){this.cache.length=0,this.cache.push(...i||[])}};var vx=U`
5971
5980
  :host {
5972
5981
  --mdc-listbox-max-height: auto;
5973
5982
 
@@ -5984,7 +5993,7 @@
5984
5993
  ::slotted(mdc-option) {
5985
5994
  width: 100%;
5986
5995
  }
5987
- `,Gv=[cx];var ko=class extends Uv(Bv(W)){constructor(){super();this.loop=!1;this.name=void 0;this.value=void 0;this.itemsStore=new Ul(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=tt.LISTBOX}handleModifiedEvent(t){let o=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(o);break;case"disabled":this.itemsStore.delete(o);break;case"selected":this.setSelectedOption(o,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${li}:not([disabled])`)}handleClick(t){let o=t.target;this.isValidItem(o)&&this.setSelectedOption(o)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let o=this.itemsStore.items.find(a=>a.value===this.value);o?this.setSelectedOption(o,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,o=!0,a=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(a&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,o&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(o=>o.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return I`<slot part="container"></slot>`}};ko.styles=[...pd.styles,...Gv],p([f({type:String,reflect:!0})],ko.prototype,"name",2),p([f({type:String,reflect:!0})],ko.prototype,"value",2),p([At()],ko.prototype,"selectedOption",2);var uh=ko;var Yv=G.constructTagName("listbox");uh.register(Yv);var dx=uh;})();
5996
+ `,Zv=[vx];var ko=class extends Kv(jv(W)){constructor(){super();this.loop=!1;this.name=void 0;this.value=void 0;this.itemsStore=new Yl(this,{isValidItem:this.isValidItem});this.handleDestroyEvent=()=>{this.handleNoSelection()};this.addEventListener("click",this.handleClick),this.addEventListener("modified",this.handleModifiedEvent),this.addEventListener("destroyed",this.handleDestroyEvent)}connectedCallback(){super.connectedCallback(),this.role=tt.LISTBOX}handleModifiedEvent(t){let o=t.target;switch(t.detail.change){case"enabled":this.itemsStore.add(o);break;case"disabled":this.itemsStore.delete(o);break;case"selected":this.setSelectedOption(o,!1,!1);break;case"unselected":this.handleNoSelection();break;default:break}}handleNoSelection(){this.getFirstSelectedOption()||(this.selectedOption=void 0,this.value=void 0)}get navItems(){return this.itemsStore.items}isValidItem(t){return t.matches(`${li}:not([disabled])`)}handleClick(t){let o=t.target;this.isValidItem(o)&&this.setSelectedOption(o)}getFirstSelectedOption(){return this.itemsStore.items.find(t=>t.matches("[selected]"))}updated(t){if(t.has("value")){let o=this.itemsStore.items.find(a=>a.value===this.value);o?this.setSelectedOption(o,!1):this.setSelectedOption(null,!1)}}setSelectedOption(t,o=!0,a=!0){t!=null&&t.disabled||t!=null&&t.softDisabled||(a&&this.updateSelectedInChildOptions(t),this.selectedOption=t,this.value=t==null?void 0:t.value,o&&this.fireEvents())}updateSelectedInChildOptions(t){this.itemsStore.items.forEach(o=>o.removeAttribute("selected")),t==null||t.toggleAttribute("selected",!0)}fireEvents(){this.selectedOption&&this.dispatchEvent(new Event("change",{composed:!0,bubbles:!0}))}render(){return I`<slot part="container"></slot>`}};ko.styles=[...vd.styles,...Zv],p([u({type:String,reflect:!0})],ko.prototype,"name",2),p([u({type:String,reflect:!0})],ko.prototype,"value",2),p([At()],ko.prototype,"selectedOption",2);var bh=ko;var Xv=H.constructTagName("listbox");bh.register(Xv);var gx=bh;})();
5988
5997
  /*! Bundled license information:
5989
5998
 
5990
5999
  lottie-web/build/player/lottie_light.js: