@micro-lc/preview 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,8 @@
16
16
  }
17
17
  </style>
18
18
  <script src="https://unpkg.com/zone.js"></script>
19
- <script type="module" crossorigin src="./assets/index-Im8nnmAE.js"></script>
19
+ <script type="module" crossorigin src="./assets/index--zmXJhVL.js"></script>
20
+ <link rel="stylesheet" crossorigin href="./assets/index-NQ4PJ7wv.css">
20
21
  </head>
21
22
  <body></body>
22
23
  </html>
@@ -16,7 +16,8 @@
16
16
  }
17
17
  </style>
18
18
  <script src="https://unpkg.com/zone.js"></script>
19
- <script type="module" crossorigin src="./assets/index-eRjzhw12.js"></script>
19
+ <script type="module" crossorigin src="./assets/index-R8L7d4ZR.js"></script>
20
+ <link rel="stylesheet" crossorigin href="./assets/index-AYPpxqPP.css">
20
21
  </head>
21
22
  <body></body>
22
23
  </html>
@@ -1,25 +0,0 @@
1
- var ao=Object.defineProperty;var co=(t,e,n)=>e in t?ao(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var se=(t,e,n)=>(co(t,typeof e!="symbol"?e+"":e,n),n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const c of s.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&r(c)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var uo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};(function(){const t=typeof window<"u",e=typeof document<"u",n=()=>{},r=e?document.querySelector("script[type=esms-options]"):void 0,o=r?JSON.parse(r.innerHTML):{};Object.assign(o,self.esmsInitOptions||{});let s=e?!!o.shimMode:!0;const c=F(s&&o.onimport),f=F(s&&o.resolve);let d=o.fetch?F(o.fetch):fetch;const h=o.meta?F(s&&o.meta):n,y=o.mapOverrides;let k=o.nonce;if(!k&&e){const u=document.querySelector("script[nonce]");u&&(k=u.nonce||u.getAttribute("nonce"))}const S=F(o.onerror||n),O=o.onpolyfill?F(o.onpolyfill):()=>{console.log("%c^^ Module TypeError above is polyfilled and can be ignored ^^","font-weight:900;color:#391")},{revokeBlobURLs:M,noLoadEventRetriggers:C,enforceIntegrity:B}=o;function F(u){return typeof u=="string"?self[u]:u}const j=Array.isArray(o.polyfillEnable)?o.polyfillEnable:[],W=j.includes("css-modules"),G=j.includes("json-modules"),ut=!navigator.userAgentData&&!!navigator.userAgent.match(/Edge\/\d+\.\d+/),le=e?document.baseURI:`${location.protocol}//${location.host}${location.pathname.includes("/")?location.pathname.slice(0,location.pathname.lastIndexOf("/")+1):location.pathname}`,te=(u,p="text/javascript")=>URL.createObjectURL(new Blob([u],{type:p}));let{skip:oe}=o;if(Array.isArray(oe)){const u=oe.map(p=>new URL(p,le).href);oe=p=>u.some(b=>b[b.length-1]==="/"&&p.startsWith(b)||p===b)}else if(typeof oe=="string"){const u=new RegExp(oe);oe=p=>u.test(p)}else oe instanceof RegExp&&(oe=u=>oe.test(u));const wi=u=>setTimeout(()=>{throw u}),Ct=u=>{(self.reportError||t&&window.safari&&console.error||wi)(u),S(u)};function Ve(u){return u?` imported from ${u}`:""}let lt=!1;function _i(){lt=!0}if(!s)if(document.querySelectorAll("script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]").length)s=!0;else{let u=!1;for(const p of document.querySelectorAll("script[type=module],script[type=importmap]"))if(!u)p.type==="module"&&!p.ep&&(u=!0);else if(p.type==="importmap"&&u){lt=!0;break}}const ki=/\\/g;function ft(u){try{if(u.indexOf(":")!==-1)return new URL(u).href}catch{}}function An(u,p){return Se(u,p)||ft(u)||Se("./"+u,p)}function Se(u,p){const b=p.indexOf("#"),$=p.indexOf("?");if(b+$>-2&&(p=p.slice(0,b===-1?$:$===-1||$>b?b:$)),u.indexOf("\\")!==-1&&(u=u.replace(ki,"/")),u[0]==="/"&&u[1]==="/")return p.slice(0,p.indexOf(":")+1)+u;if(u[0]==="."&&(u[1]==="/"||u[1]==="."&&(u[2]==="/"||u.length===2&&(u+="/"))||u.length===1&&(u+="/"))||u[0]==="/"){const w=p.slice(0,p.indexOf(":")+1);if(w==="blob:")throw new TypeError(`Failed to resolve module specifier "${u}". Invalid relative url or base scheme isn't hierarchical.`);let A;if(p[w.length+1]==="/"?w!=="file:"?(A=p.slice(w.length+2),A=A.slice(A.indexOf("/")+1)):A=p.slice(8):A=p.slice(w.length+(p[w.length]==="/")),u[0]==="/")return p.slice(0,p.length-A.length-1)+u;const E=A.slice(0,A.lastIndexOf("/")+1)+u,I=[];let P=-1;for(let x=0;x<E.length;x++){if(P!==-1){E[x]==="/"&&(I.push(E.slice(P,x+1)),P=-1);continue}else if(E[x]==="."){if(E[x+1]==="."&&(E[x+2]==="/"||x+2===E.length)){I.pop(),x+=2;continue}else if(E[x+1]==="/"||x+1===E.length){x+=1;continue}}for(;E[x]==="/";)x++;P=x}return P!==-1&&I.push(E.slice(P)),p.slice(0,p.length-A.length)+I.join("")}}function $n(u,p,b){const $={imports:Object.assign({},b.imports),scopes:Object.assign({},b.scopes)};if(u.imports&&En(u.imports,$.imports,p,b),u.scopes)for(let w in u.scopes){const A=An(w,p);En(u.scopes[w],$.scopes[A]||($.scopes[A]={}),p,b)}return $}function Tt(u,p){if(p[u])return u;let b=u.length;do{const $=u.slice(0,b+1);if($ in p)return $}while((b=u.lastIndexOf("/",b-1))!==-1)}function Sn(u,p){const b=Tt(u,p);if(b){const $=p[b];return $===null?void 0:$+u.slice(b.length)}}function Lt(u,p,b){let $=b&&Tt(b,u.scopes);for(;$;){const w=Sn(p,u.scopes[$]);if(w)return w;$=Tt($.slice(0,$.lastIndexOf("/")),u.scopes)}return Sn(p,u.imports)||p.indexOf(":")!==-1&&p}function En(u,p,b,$){for(let w in u){const A=Se(w,b)||w;if((!s||!y)&&p[A]&&p[A]!==u[A])throw Error(`Rejected map override "${A}" from ${p[A]} to ${u[A]}.`);let E=u[w];if(typeof E!="string")continue;const I=Lt($,Se(E,b)||E,b);if(I){p[A]=I;continue}console.warn(`Mapping "${w}" -> "${u[w]}" does not resolve`)}}let ve=!e&&(0,eval)("u=>import(u)"),qe;const Ai=e&&new Promise(u=>{const p=Object.assign(document.createElement("script"),{src:te("self._d=u=>import(u)"),ep:!0});p.setAttribute("nonce",k),p.addEventListener("load",()=>{if(!(qe=!!(ve=self._d))){let b;window.addEventListener("error",$=>b=$),ve=($,w)=>new Promise((A,E)=>{const I=Object.assign(document.createElement("script"),{type:"module",src:te(`import*as m from'${$}';self._esmsi=m`)});b=void 0,I.ep=!0,k&&I.setAttribute("nonce",k),I.addEventListener("error",P),I.addEventListener("load",P);function P(x){document.head.removeChild(I),self._esmsi?(A(self._esmsi,le),self._esmsi=void 0):(E(!(x instanceof Event)&&x||b&&b.error||new Error(`Error loading ${w&&w.errUrl||$} (${I.src}).`)),b=void 0)}document.head.appendChild(I)})}document.head.removeChild(p),delete self._d,u()}),document.head.appendChild(p)});let dt=!1,ht=!1;const Mt=e&&HTMLScriptElement.supports;let je=Mt&&Mt.name==="supports"&&Mt("importmap"),pt=qe;const xn="import.meta",On='import"x"assert{type:"css"}',$i='import"x"assert{type:"json"}';let Si=Promise.resolve(Ai).then(()=>{if(qe)return e?new Promise(u=>{const p=document.createElement("iframe");p.style.display="none",p.setAttribute("nonce",k);function b({data:I}){Array.isArray(I)&&I[0]==="esms"&&(je=I[1],pt=I[2],ht=I[3],dt=I[4],u(),document.head.removeChild(p),window.removeEventListener("message",b,!1))}window.addEventListener("message",b,!1);const $=`<script nonce=${k||""}>b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"${k}",innerText:\`{"imports":{"x":"\${b('')}"}}\`}));Promise.all([${je?"true,true":`'x',b('${xn}')`}, ${W?`b('${On}'.replace('x',b('','text/css')))`:"false"}, ${G?`b('${$i}'.replace('x',b('{}','text/json')))`:"false"}].map(x =>typeof x==='string'?import(x).then(x =>!!x,()=>false):x)).then(a=>parent.postMessage(['esms'].concat(a),'*'))<\/script>`;let w=!1,A=!1;function E(){if(!w){A=!0;return}const I=p.contentDocument;if(I&&I.head.childNodes.length===0){const P=I.createElement("script");k&&P.setAttribute("nonce",k),P.innerHTML=$.slice(15+(k?k.length:0),-9),I.head.appendChild(P)}}p.onload=E,document.head.appendChild(p),w=!0,"srcdoc"in p?p.srcdoc=$:p.contentDocument.write($),A&&E()}):Promise.all([je||ve(te(xn)).then(()=>pt=!0,n),W&&ve(te(On.replace("x",te("","text/css")))).then(()=>ht=!0,n),G&&ve(te(jsonModulescheck.replace("x",te("{}","text/json")))).then(()=>dt=!0,n)])}),D,mt,Pt,Ge=2<<19;const In=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?function(u,p){const b=u.length;let $=0;for(;$<b;)p[$]=u.charCodeAt($++)}:function(u,p){const b=u.length;let $=0;for(;$<b;){const w=u.charCodeAt($);p[$++]=(255&w)<<8|w>>>8}},Ei="xportmportlassetaromsyncunctionssertvoyiedelecontininstantybreareturdebuggeawaithrwhileforifcatcfinallels";let V,Cn,R;function xi(u,p="@"){V=u,Cn=p;const b=2*V.length+(2<<18);if(b>Ge||!D){for(;b>Ge;)Ge*=2;mt=new ArrayBuffer(Ge),In(Ei,new Uint16Array(mt,16,105)),D=function(E,I,P){var x=new E.Int8Array(P),_=new E.Int16Array(P),a=new E.Int32Array(P),re=new E.Uint8Array(P),Y=new E.Uint16Array(P),J=1024;function ie(){var i=0,l=0,v=0,g=0,m=0,T=0;T=J,J=J+10240|0,x[796]=1,x[795]=0,_[395]=0,_[396]=0,a[67]=a[2],x[797]=0,a[66]=0,x[794]=0,a[68]=T+2048,a[69]=T,x[798]=0,i=(a[3]|0)+-2|0,a[70]=i,l=i+(a[64]<<1)|0,a[71]=l;e:for(;;){if(v=i+2|0,a[70]=v,i>>>0>=l>>>0){m=18;break}n:do switch(_[v>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(!(_[396]|0)&&Xe(v)|0&&!(Z(i+4|0,16,10)|0)&&(_e(),(x[796]|0)==0)){m=9;break e}else m=17;break}case 105:{Xe(v)|0&&!(Z(i+4|0,26,10)|0)&&q(),m=17;break}case 59:{m=17;break}case 47:switch(_[i+4>>1]|0){case 47:{Yt();break n}case 42:{qt(1);break n}default:{m=16;break e}}default:{m=16;break e}}while(!1);(m|0)==17&&(m=0,a[67]=a[70]),i=a[70]|0,l=a[71]|0}(m|0)==9?(i=a[70]|0,a[67]=i,m=19):(m|0)==16?(x[796]=0,a[70]=i,m=19):(m|0)==18&&(x[794]|0?i=0:(i=v,m=19));do if((m|0)==19){e:for(;;){if(l=i+2|0,a[70]=l,i>>>0>=(a[71]|0)>>>0){m=82;break}n:do switch(_[l>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{!(_[396]|0)&&Xe(l)|0&&!(Z(i+4|0,16,10)|0)&&_e(),m=81;break}case 105:{Xe(l)|0&&!(Z(i+4|0,26,10)|0)&&q(),m=81;break}case 99:{Xe(l)|0&&!(Z(i+4|0,36,8)|0)&&Ze(_[i+12>>1]|0)|0&&(x[798]=1),m=81;break}case 40:{g=a[68]|0,l=_[396]|0,m=l&65535,a[g+(m<<3)>>2]=1,v=a[67]|0,_[396]=l+1<<16>>16,a[g+(m<<3)+4>>2]=v,m=81;break}case 41:{if(l=_[396]|0,!(l<<16>>16)){m=36;break e}m=l+-1<<16>>16,_[396]=m,g=_[395]|0,l=g&65535,g<<16>>16&&(a[(a[68]|0)+((m&65535)<<3)>>2]|0)==5&&(l=a[(a[69]|0)+(l+-1<<2)>>2]|0,v=l+4|0,a[v>>2]|0||(a[v>>2]=(a[67]|0)+2),a[l+12>>2]=i+4,_[395]=g+-1<<16>>16),m=81;break}case 123:{m=a[67]|0,g=a[61]|0,i=m;do if((_[m>>1]|0)==41&(g|0)!=0&&(a[g+4>>2]|0)==(m|0))if(l=a[62]|0,a[61]=l,l){a[l+28>>2]=0;break}else{a[57]=0;break}while(!1);g=a[68]|0,v=_[396]|0,m=v&65535,a[g+(m<<3)>>2]=x[798]|0?6:2,_[396]=v+1<<16>>16,a[g+(m<<3)+4>>2]=i,x[798]=0,m=81;break}case 125:{if(i=_[396]|0,!(i<<16>>16)){m=49;break e}g=a[68]|0,m=i+-1<<16>>16,_[396]=m,(a[g+((m&65535)<<3)>>2]|0)==4&&be(),m=81;break}case 39:{Q(39),m=81;break}case 34:{Q(34),m=81;break}case 47:switch(_[i+4>>1]|0){case 47:{Yt();break n}case 42:{qt(1);break n}default:{i=a[67]|0,g=_[i>>1]|0;t:do if(Hi(g)|0)switch(g<<16>>16){case 46:if(((_[i+-2>>1]|0)+-48&65535)<10){m=66;break t}else{m=69;break t}case 43:if((_[i+-2>>1]|0)==43){m=66;break t}else{m=69;break t}case 45:if((_[i+-2>>1]|0)==45){m=66;break t}else{m=69;break t}default:{m=69;break t}}else{switch(g<<16>>16){case 41:if(Di(a[(a[68]|0)+(Y[396]<<3)+4>>2]|0)|0){m=69;break t}else{m=66;break t}case 125:break;default:{m=66;break t}}l=a[68]|0,v=Y[396]|0,!(Fi(a[l+(v<<3)+4>>2]|0)|0)&&(a[l+(v<<3)>>2]|0)!=6?m=66:m=69}while(!1);t:do if((m|0)==66)if(m=0,gt(i)|0)m=69;else{switch(g<<16>>16){case 0:{m=69;break t}case 47:{if(x[797]|0){m=69;break t}break}default:}v=a[3]|0,l=g;do{if(i>>>0<=v>>>0)break;i=i+-2|0,a[67]=i,l=_[i>>1]|0}while(!(Gt(l)|0));if(_t(l)|0){do{if(i>>>0<=v>>>0)break;i=i+-2|0,a[67]=i}while(_t(_[i>>1]|0)|0);if(Ui(i)|0){er(),x[797]=0,m=81;break n}else i=1}else i=1}while(!1);(m|0)==69&&(er(),i=0),x[797]=i,m=81;break n}}case 96:{g=a[68]|0,v=_[396]|0,m=v&65535,a[g+(m<<3)+4>>2]=a[67],_[396]=v+1<<16>>16,a[g+(m<<3)>>2]=3,be(),m=81;break}default:m=81}while(!1);(m|0)==81&&(m=0,a[67]=a[70]),i=a[70]|0}if((m|0)==36){ne(),i=0;break}else if((m|0)==49){ne(),i=0;break}else if((m|0)==82){i=x[794]|0?0:(_[395]|_[396])<<16>>16==0;break}}while(!1);return J=T,i|0}function _e(){var i=0,l=0,v=0,g=0,m=0,T=0,zt=0,Oe=0,Jt=0,Kt=0,Qt=0,Xt=0,H=0,U=0;Oe=a[70]|0,Jt=a[63]|0,U=Oe+12|0,a[70]=U,v=L(1)|0,i=a[70]|0,(i|0)==(U|0)&&!(wt(v)|0)||(H=3);e:do if((H|0)==3){n:do switch(v<<16>>16){case 123:{for(a[70]=i+2,i=L(1)|0,l=a[70]|0;;){if(et(i)|0?(Q(i),i=(a[70]|0)+2|0,a[70]=i):(ye(i)|0,i=a[70]|0),L(1)|0,i=Zn(l,i)|0,i<<16>>16==44&&(a[70]=(a[70]|0)+2,i=L(1)|0),i<<16>>16==125){H=15;break}if(U=l,l=a[70]|0,(l|0)==(U|0)){H=12;break}if(l>>>0>(a[71]|0)>>>0){H=14;break}}if((H|0)==12){ne();break e}else if((H|0)==14){ne();break e}else if((H|0)==15){x[795]=1,a[70]=(a[70]|0)+2;break n}break}case 42:{a[70]=i+2,L(1)|0,U=a[70]|0,Zn(U,U)|0;break}default:{switch(x[796]=0,v<<16>>16){case 100:{switch(Oe=i+14|0,a[70]=Oe,(L(1)|0)<<16>>16){case 97:{l=a[70]|0,!(Z(l+2|0,56,8)|0)&&(m=l+10|0,_t(_[m>>1]|0)|0)&&(a[70]=m,L(0)|0,H=22);break}case 102:{H=22;break}case 99:{l=a[70]|0,!(Z(l+2|0,36,8)|0)&&(g=l+10|0,U=_[g>>1]|0,Ze(U)|0|U<<16>>16==123)&&(a[70]=g,T=L(1)|0,T<<16>>16!=123)&&(Xt=T,H=31);break}default:}t:do if((H|0)==22&&(zt=a[70]|0,(Z(zt+2|0,64,14)|0)==0)){if(v=zt+16|0,l=_[v>>1]|0,!(Ze(l)|0))switch(l<<16>>16){case 40:case 42:break;default:break t}a[70]=v,l=L(1)|0,l<<16>>16==42&&(a[70]=(a[70]|0)+2,l=L(1)|0),l<<16>>16!=40&&(Xt=l,H=31)}while(!1);if((H|0)==31&&(Kt=a[70]|0,ye(Xt)|0,Qt=a[70]|0,Qt>>>0>Kt>>>0)){Fe(i,Oe,Kt,Qt),a[70]=(a[70]|0)+-2;break e}Fe(i,Oe,0,0),a[70]=i+12;break e}case 97:{a[70]=i+10,L(0)|0,i=a[70]|0,H=35;break}case 102:{H=35;break}case 99:{if(!(Z(i+2|0,36,8)|0)&&(l=i+10|0,Gt(_[l>>1]|0)|0)){a[70]=l,U=L(1)|0,H=a[70]|0,ye(U)|0,U=a[70]|0,Fe(H,U,H,U),a[70]=(a[70]|0)+-2;break e}i=i+4|0,a[70]=i;break}case 108:case 118:break;default:break e}if((H|0)==35){a[70]=i+16,i=L(1)|0,i<<16>>16==42&&(a[70]=(a[70]|0)+2,i=L(1)|0),H=a[70]|0,ye(i)|0,U=a[70]|0,Fe(H,U,H,U),a[70]=(a[70]|0)+-2;break e}a[70]=i+6,x[796]=0,v=L(1)|0,i=a[70]|0,v=(ye(v)|0|32)<<16>>16==123,g=a[70]|0,v&&(a[70]=g+2,U=L(1)|0,i=a[70]|0,ye(U)|0);t:for(;l=a[70]|0,(l|0)!=(i|0);){if(Fe(i,l,i,l),l=L(1)|0,v)switch(l<<16>>16){case 93:case 125:break e;default:}if(i=a[70]|0,l<<16>>16!=44){H=51;break}switch(a[70]=i+2,l=L(1)|0,i=a[70]|0,l<<16>>16){case 91:case 123:{H=51;break t}default:}ye(l)|0}if((H|0)==51&&(a[70]=i+-2),!v)break e;a[70]=g+-2;break e}}while(!1);if(U=(L(1)|0)<<16>>16==102,i=a[70]|0,U&&!(Z(i+2|0,50,6)|0))for(a[70]=i+8,ke(Oe,L(1)|0),i=Jt|0?Jt+16|0:232;;){if(i=a[i>>2]|0,!i)break e;a[i+12>>2]=0,a[i+8>>2]=0,i=i+16|0}a[70]=i+-2}while(!1)}function q(){var i=0,l=0,v=0,g=0,m=0,T=0;m=a[70]|0,i=m+12|0,a[70]=i;e:do switch((L(1)|0)<<16>>16){case 40:{if(l=a[68]|0,T=_[396]|0,v=T&65535,a[l+(v<<3)>>2]=5,i=a[70]|0,_[396]=T+1<<16>>16,a[l+(v<<3)+4>>2]=i,(_[a[67]>>1]|0)!=46){switch(a[70]=i+2,T=L(1)|0,Ne(m,a[70]|0,0,i),l=a[61]|0,v=a[69]|0,m=_[395]|0,_[395]=m+1<<16>>16,a[v+((m&65535)<<2)>>2]=l,T<<16>>16){case 39:{Q(39);break}case 34:{Q(34);break}default:{a[70]=(a[70]|0)+-2;break e}}switch(i=(a[70]|0)+2|0,a[70]=i,(L(1)|0)<<16>>16){case 44:{a[70]=(a[70]|0)+2,L(1)|0,m=a[61]|0,a[m+4>>2]=i,T=a[70]|0,a[m+16>>2]=T,x[m+24>>0]=1,a[70]=T+-2;break e}case 41:{_[396]=(_[396]|0)+-1<<16>>16,T=a[61]|0,a[T+4>>2]=i,a[T+12>>2]=(a[70]|0)+2,x[T+24>>0]=1,_[395]=(_[395]|0)+-1<<16>>16;break e}default:{a[70]=(a[70]|0)+-2;break e}}}break}case 46:{if(a[70]=(a[70]|0)+2,(L(1)|0)<<16>>16==109&&(l=a[70]|0,(Z(l+2|0,44,6)|0)==0)){if(i=a[67]|0,!(nr(i)|0)&&(_[i>>1]|0)==46)break e;Ne(m,m,l+8|0,2)}break}case 42:case 39:case 34:{g=18;break}case 123:{if(i=a[70]|0,_[396]|0){a[70]=i+-2;break e}for(;!(i>>>0>=(a[71]|0)>>>0);){if(i=L(1)|0,et(i)|0)Q(i);else if(i<<16>>16==125){g=33;break}i=(a[70]|0)+2|0,a[70]=i}if((g|0)==33&&(a[70]=(a[70]|0)+2),T=(L(1)|0)<<16>>16==102,i=a[70]|0,T&&Z(i+2|0,50,6)|0){ne();break e}if(a[70]=i+8,i=L(1)|0,et(i)|0){ke(m,i);break e}else{ne();break e}}default:(a[70]|0)==(i|0)?a[70]=m+10:g=18}while(!1);do if((g|0)==18){if(_[396]|0){a[70]=(a[70]|0)+-2;break}for(i=a[71]|0,l=a[70]|0;;){if(l>>>0>=i>>>0){g=25;break}if(v=_[l>>1]|0,et(v)|0){g=23;break}T=l+2|0,a[70]=T,l=T}if((g|0)==23){ke(m,v);break}else if((g|0)==25){ne();break}}while(!1)}function ke(i,l){i=i|0,l=l|0;var v=0,g=0;switch(v=(a[70]|0)+2|0,l<<16>>16){case 39:{Q(39),g=5;break}case 34:{Q(34),g=5;break}default:ne()}do if((g|0)==5){if(Ne(i,v,a[70]|0,1),a[70]=(a[70]|0)+2,l=L(0)|0,i=l<<16>>16==97,i?(v=a[70]|0,Z(v+2|0,78,10)|0&&(g=11)):(v=a[70]|0,l<<16>>16==119&&(_[v+2>>1]|0)==105&&(_[v+4>>1]|0)==116&&(_[v+6>>1]|0)==104||(g=11)),(g|0)==11){a[70]=v+-2;break}if(a[70]=v+((i?6:4)<<1),(L(1)|0)<<16>>16!=123){a[70]=v;break}i=a[70]|0,l=i;e:for(;;){switch(a[70]=l+2,l=L(1)|0,l<<16>>16){case 39:{Q(39),a[70]=(a[70]|0)+2,l=L(1)|0;break}case 34:{Q(34),a[70]=(a[70]|0)+2,l=L(1)|0;break}default:l=ye(l)|0}if(l<<16>>16!=58){g=20;break}switch(a[70]=(a[70]|0)+2,(L(1)|0)<<16>>16){case 39:{Q(39);break}case 34:{Q(34);break}default:{g=24;break e}}switch(a[70]=(a[70]|0)+2,(L(1)|0)<<16>>16){case 125:{g=29;break e}case 44:break;default:{g=28;break e}}if(a[70]=(a[70]|0)+2,(L(1)|0)<<16>>16==125){g=29;break}l=a[70]|0}if((g|0)==20){a[70]=v;break}else if((g|0)==24){a[70]=v;break}else if((g|0)==28){a[70]=v;break}else if((g|0)==29){g=a[61]|0,a[g+16>>2]=i,a[g+12>>2]=(a[70]|0)+2;break}}while(!1)}function gt(i){i=i|0;e:do switch(_[i>>1]|0){case 100:switch(_[i+-2>>1]|0){case 105:{i=z(i+-4|0,88,2)|0;break e}case 108:{i=z(i+-4|0,92,3)|0;break e}default:{i=0;break e}}case 101:switch(_[i+-2>>1]|0){case 115:switch(_[i+-4>>1]|0){case 108:{i=Qe(i+-6|0,101)|0;break e}case 97:{i=Qe(i+-6|0,99)|0;break e}default:{i=0;break e}}case 116:{i=z(i+-4|0,98,4)|0;break e}case 117:{i=z(i+-4|0,106,6)|0;break e}default:{i=0;break e}}case 102:{if((_[i+-2>>1]|0)==111&&(_[i+-4>>1]|0)==101)switch(_[i+-6>>1]|0){case 99:{i=z(i+-8|0,118,6)|0;break e}case 112:{i=z(i+-8|0,130,2)|0;break e}default:{i=0;break e}}else i=0;break}case 107:{i=z(i+-2|0,134,4)|0;break}case 110:{i=i+-2|0,Qe(i,105)|0?i=1:i=z(i,142,5)|0;break}case 111:{i=Qe(i+-2|0,100)|0;break}case 114:{i=z(i+-2|0,152,7)|0;break}case 116:{i=z(i+-2|0,166,4)|0;break}case 119:switch(_[i+-2>>1]|0){case 101:{i=Qe(i+-4|0,110)|0;break e}case 111:{i=z(i+-4|0,174,3)|0;break e}default:{i=0;break e}}default:i=0}while(!1);return i|0}function be(){var i=0,l=0,v=0,g=0;l=a[71]|0,v=a[70]|0;e:for(;;){if(i=v+2|0,v>>>0>=l>>>0){l=10;break}switch(_[i>>1]|0){case 96:{l=7;break e}case 36:{if((_[v+4>>1]|0)==123){l=6;break e}break}case 92:{i=v+4|0;break}default:}v=i}(l|0)==6?(i=v+4|0,a[70]=i,l=a[68]|0,g=_[396]|0,v=g&65535,a[l+(v<<3)>>2]=4,_[396]=g+1<<16>>16,a[l+(v<<3)+4>>2]=i):(l|0)==7?(a[70]=i,v=a[68]|0,g=(_[396]|0)+-1<<16>>16,_[396]=g,(a[v+((g&65535)<<3)>>2]|0)!=3&&ne()):(l|0)==10&&(a[70]=i,ne())}function L(i){i=i|0;var l=0,v=0,g=0;v=a[70]|0;e:do{l=_[v>>1]|0;n:do if(l<<16>>16!=47)if(i){if(Ze(l)|0)break;break e}else{if(_t(l)|0)break;break e}else switch(_[v+2>>1]|0){case 47:{Yt();break n}case 42:{qt(i);break n}default:{l=47;break e}}while(!1);g=a[70]|0,v=g+2|0,a[70]=v}while(g>>>0<(a[71]|0)>>>0);return l|0}function Q(i){i=i|0;var l=0,v=0,g=0,m=0;for(m=a[71]|0,l=a[70]|0;;){if(g=l+2|0,l>>>0>=m>>>0){l=9;break}if(v=_[g>>1]|0,v<<16>>16==i<<16>>16){l=10;break}if(v<<16>>16==92)v=l+4|0,(_[v>>1]|0)==13?(l=l+6|0,l=(_[l>>1]|0)==10?l:v):l=v;else if(rr(v)|0){l=9;break}else l=g}(l|0)==9?(a[70]=g,ne()):(l|0)==10&&(a[70]=g)}function Ne(i,l,v,g){i=i|0,l=l|0,v=v|0,g=g|0;var m=0,T=0;m=a[65]|0,a[65]=m+32,T=a[61]|0,a[(T|0?T+28|0:228)>>2]=m,a[62]=T,a[61]=m,a[m+8>>2]=i,(g|0)==2?i=v:i=(g|0)==1?v+2|0:0,a[m+12>>2]=i,a[m>>2]=l,a[m+4>>2]=v,a[m+16>>2]=0,a[m+20>>2]=g,T=(g|0)==1,x[m+24>>0]=T&1,a[m+28>>2]=0,T|(g|0)==2&&(x[795]=1)}function Zn(i,l){i=i|0,l=l|0;var v=0,g=0,m=0,T=0;return v=a[70]|0,g=_[v>>1]|0,T=(i|0)==(l|0),m=T?0:i,T=T?0:l,g<<16>>16==97&&(a[70]=v+4,v=L(1)|0,i=a[70]|0,et(v)|0?(Q(v),l=(a[70]|0)+2|0,a[70]=l):(ye(v)|0,l=a[70]|0),g=L(1)|0,v=a[70]|0),(v|0)!=(i|0)&&Fe(i,l,m,T),g|0}function Ni(){var i=0,l=0,v=0;v=a[71]|0,l=a[70]|0;e:for(;;){if(i=l+2|0,l>>>0>=v>>>0){l=6;break}switch(_[i>>1]|0){case 13:case 10:{l=6;break e}case 93:{l=7;break e}case 92:{i=l+4|0;break}default:}l=i}return(l|0)==6?(a[70]=i,ne(),i=0):(l|0)==7&&(a[70]=i,i=93),i|0}function er(){var i=0,l=0,v=0;e:for(;;){if(i=a[70]|0,l=i+2|0,a[70]=l,i>>>0>=(a[71]|0)>>>0){v=7;break}switch(_[l>>1]|0){case 13:case 10:{v=7;break e}case 47:break e;case 91:{Ni()|0;break}case 92:{a[70]=i+4;break}default:}}(v|0)==7&&ne()}function Fi(i){switch(i=i|0,_[i>>1]|0){case 62:{i=(_[i+-2>>1]|0)==61;break}case 41:case 59:{i=1;break}case 104:{i=z(i+-2|0,200,4)|0;break}case 121:{i=z(i+-2|0,208,6)|0;break}case 101:{i=z(i+-2|0,220,3)|0;break}default:i=0}return i|0}function qt(i){i=i|0;var l=0,v=0,g=0,m=0,T=0;for(m=(a[70]|0)+2|0,a[70]=m,v=a[71]|0;l=m+2|0,!(m>>>0>=v>>>0||(g=_[l>>1]|0,!i&&rr(g)|0));){if(g<<16>>16==42&&(_[m+4>>1]|0)==47){T=8;break}m=l}(T|0)==8&&(a[70]=l,l=m+4|0),a[70]=l}function Z(i,l,v){i=i|0,l=l|0,v=v|0;var g=0,m=0;e:do if(!v)i=0;else{for(;g=x[i>>0]|0,m=x[l>>0]|0,g<<24>>24==m<<24>>24;)if(v=v+-1|0,v)i=i+1|0,l=l+1|0;else{i=0;break e}i=(g&255)-(m&255)|0}while(!1);return i|0}function wt(i){i=i|0;e:do switch(i<<16>>16){case 38:case 37:case 33:{i=1;break}default:if((i&-8)<<16>>16==40|(i+-58&65535)<6)i=1;else{switch(i<<16>>16){case 91:case 93:case 94:{i=1;break e}default:}i=(i+-123&65535)<4}}while(!1);return i|0}function Hi(i){i=i|0;e:do switch(i<<16>>16){case 38:case 37:case 33:break;default:if(!((i+-58&65535)<6|(i+-40&65535)<7&i<<16>>16!=41)){switch(i<<16>>16){case 91:case 94:break e;default:}return i<<16>>16!=125&(i+-123&65535)<4|0}}while(!1);return 1}function tr(i){i=i|0;var l=0;l=_[i>>1]|0;e:do if((l+-9&65535)>=5){switch(l<<16>>16){case 160:case 32:{l=1;break e}default:}if(wt(l)|0)return l<<16>>16!=46|(nr(i)|0)|0;l=0}else l=1;while(!1);return l|0}function Wi(i){i=i|0;var l=0,v=0,g=0,m=0;return v=J,J=J+16|0,g=v,a[g>>2]=0,a[64]=i,l=a[3]|0,m=l+(i<<1)|0,i=m+2|0,_[m>>1]=0,a[g>>2]=i,a[65]=i,a[57]=0,a[61]=0,a[59]=0,a[58]=0,a[63]=0,a[60]=0,J=v,l|0}function Fe(i,l,v,g){i=i|0,l=l|0,v=v|0,g=g|0;var m=0,T=0;m=a[65]|0,a[65]=m+20,T=a[63]|0,a[(T|0?T+16|0:232)>>2]=m,a[63]=m,a[m>>2]=i,a[m+4>>2]=l,a[m+8>>2]=v,a[m+12>>2]=g,a[m+16>>2]=0,x[795]=1}function z(i,l,v){i=i|0,l=l|0,v=v|0;var g=0,m=0;return g=i+(0-v<<1)|0,m=g+2|0,i=a[3]|0,m>>>0>=i>>>0&&!(Z(m,l,v<<1)|0)?(m|0)==(i|0)?i=1:i=tr(g)|0:i=0,i|0}function Ui(i){switch(i=i|0,_[i>>1]|0){case 107:{i=z(i+-2|0,134,4)|0;break}case 101:{(_[i+-2>>1]|0)==117?i=z(i+-4|0,106,6)|0:i=0;break}default:i=0}return i|0}function Qe(i,l){i=i|0,l=l|0;var v=0;return v=a[3]|0,v>>>0<=i>>>0&&(_[i>>1]|0)==l<<16>>16?(v|0)==(i|0)?v=1:v=Gt(_[i+-2>>1]|0)|0:v=0,v|0}function Gt(i){i=i|0;e:do if((i+-9&65535)<5)i=1;else{switch(i<<16>>16){case 32:case 160:{i=1;break e}default:}i=i<<16>>16!=46&(wt(i)|0)}while(!1);return i|0}function Yt(){var i=0,l=0,v=0;i=a[71]|0,v=a[70]|0;e:for(;l=v+2|0,!(v>>>0>=i>>>0);)switch(_[l>>1]|0){case 13:case 10:break e;default:v=l}a[70]=l}function ye(i){for(i=i|0;!(Ze(i)|0||wt(i)|0);)if(i=(a[70]|0)+2|0,a[70]=i,i=_[i>>1]|0,!(i<<16>>16)){i=0;break}return i|0}function Bi(){var i=0;switch(i=a[(a[59]|0)+20>>2]|0,i|0){case 1:{i=-1;break}case 2:{i=-2;break}default:i=i-(a[3]|0)>>1}return i|0}function Di(i){return i=i|0,!(z(i,180,5)|0)&&!(z(i,190,3)|0)?i=z(i,196,2)|0:i=1,i|0}function _t(i){switch(i=i|0,i<<16>>16){case 160:case 32:case 12:case 11:case 9:{i=1;break}default:i=0}return i|0}function nr(i){return i=i|0,(_[i>>1]|0)==46&&(_[i+-2>>1]|0)==46?i=(_[i+-4>>1]|0)==46:i=0,i|0}function Xe(i){return i=i|0,(a[3]|0)==(i|0)?i=1:i=tr(i+-2|0)|0,i|0}function Vi(){var i=0;return i=a[(a[60]|0)+12>>2]|0,i?i=i-(a[3]|0)>>1:i=-1,i|0}function qi(){var i=0;return i=a[(a[59]|0)+12>>2]|0,i?i=i-(a[3]|0)>>1:i=-1,i|0}function Gi(){var i=0;return i=a[(a[60]|0)+8>>2]|0,i?i=i-(a[3]|0)>>1:i=-1,i|0}function Yi(){var i=0;return i=a[(a[59]|0)+16>>2]|0,i?i=i-(a[3]|0)>>1:i=-1,i|0}function zi(){var i=0;return i=a[(a[59]|0)+4>>2]|0,i?i=i-(a[3]|0)>>1:i=-1,i|0}function Ji(){var i=0;return i=a[59]|0,i=a[(i|0?i+28|0:228)>>2]|0,a[59]=i,(i|0)!=0|0}function Ki(){var i=0;return i=a[60]|0,i=a[(i|0?i+16|0:232)>>2]|0,a[60]=i,(i|0)!=0|0}function ne(){x[794]=1,a[66]=(a[70]|0)-(a[3]|0)>>1,a[70]=(a[71]|0)+2}function Ze(i){return i=i|0,(i|128)<<16>>16==160|(i+-9&65535)<5|0}function et(i){return i=i|0,i<<16>>16==39|i<<16>>16==34|0}function Qi(){return(a[(a[59]|0)+8>>2]|0)-(a[3]|0)>>1|0}function Xi(){return(a[(a[60]|0)+4>>2]|0)-(a[3]|0)>>1|0}function rr(i){return i=i|0,i<<16>>16==13|i<<16>>16==10|0}function Zi(){return(a[a[59]>>2]|0)-(a[3]|0)>>1|0}function eo(){return(a[a[60]>>2]|0)-(a[3]|0)>>1|0}function to(){return re[(a[59]|0)+24>>0]|0|0}function no(i){i=i|0,a[3]=i}function ro(){return(x[795]|0)!=0|0}function io(){return(x[796]|0)!=0|0}function oo(){return a[66]|0}function so(i){return i=i|0,J=i+992+15&-16,992}return{su:so,ai:Yi,e:oo,ee:Xi,ele:Vi,els:Gi,es:eo,f:io,id:Bi,ie:zi,ip:to,is:Zi,ms:ro,p:ie,re:Ki,ri:Ji,sa:Wi,se:qi,ses:no,ss:Qi}}(typeof self<"u"?self:uo,{},mt),Pt=D.su(Ge-(2<<17))}const $=V.length+1;D.ses(Pt),D.sa($-1),In(V,new Uint16Array(mt,Pt,$)),D.p()||(R=D.e(),we());const w=[],A=[];for(;D.ri();){const E=D.is(),I=D.ie(),P=D.ai(),x=D.id(),_=D.ss(),a=D.se();let re;D.ip()&&(re=jt(x===-1?E:E+1,V.charCodeAt(x===-1?E-1:E))),w.push({n:re,s:E,e:I,ss:_,se:a,d:x,a:P})}for(;D.re();){const E=D.es(),I=D.ee(),P=D.els(),x=D.ele(),_=V.charCodeAt(E),a=P>=0?V.charCodeAt(P):-1;A.push({s:E,e:I,ls:P,le:x,n:_===34||_===39?jt(E+1,_):V.slice(E,I),ln:P<0?void 0:a===34||a===39?jt(P+1,a):V.slice(P,x)})}return[w,A,!!D.f(),!!D.ms()]}function jt(u,p){R=u;let b="",$=R;for(;;){R>=V.length&&we();const w=V.charCodeAt(R);if(w===p)break;w===92?(b+=V.slice($,R),b+=Oi(),$=R):(w===8232||w===8233||Tn(w)&&we(),++R)}return b+=V.slice($,R++),b}function Oi(){let u=V.charCodeAt(++R);switch(++R,u){case 110:return`
2
- `;case 114:return"\r";case 120:return String.fromCharCode(Rt(2));case 117:return function(){const p=V.charCodeAt(R);let b;return p===123?(++R,b=Rt(V.indexOf("}",R)-R),++R,b>1114111&&we()):b=Rt(4),b<=65535?String.fromCharCode(b):(b-=65536,String.fromCharCode(55296+(b>>10),56320+(1023&b)))}();case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:V.charCodeAt(R)===10&&++R;case 10:return"";case 56:case 57:we();default:if(u>=48&&u<=55){let p=V.substr(R-1,3).match(/^[0-7]+/)[0],b=parseInt(p,8);return b>255&&(p=p.slice(0,-1),b=parseInt(p,8)),R+=p.length-1,u=V.charCodeAt(R),p==="0"&&u!==56&&u!==57||we(),String.fromCharCode(b)}return Tn(u)?"":String.fromCharCode(u)}}function Rt(u){const p=R;let b=0,$=0;for(let w=0;w<u;++w,++R){let A,E=V.charCodeAt(R);if(E!==95){if(E>=97)A=E-97+10;else if(E>=65)A=E-65+10;else{if(!(E>=48&&E<=57))break;A=E-48}if(A>=16)break;$=E,b=16*b+A}else $!==95&&w!==0||we(),$=E}return $!==95&&R-p===u||we(),b}function Tn(u){return u===13||u===10}function we(){throw Object.assign(Error(`Parse error ${Cn}:${V.slice(0,R).split(`
3
- `).length}:${R-V.lastIndexOf(`
4
- `,R-1)}`),{idx:R})}async function Ln(u,p){const b=Se(u,p)||ft(u);return{r:Lt(xe,b||u,p)||Pn(u,p),b:!b&&!ft(u)}}const Mn=f?async(u,p)=>{let b=f(u,p,Nt);return b&&b.then&&(b=await b),b?{r:b,b:!Se(u,p)&&!ft(u)}:Ln(u,p)}:Ln;async function Ee(u,...p){let b=p[p.length-1];return typeof b!="string"&&(b=le),await ze,c&&await c(u,typeof p[1]!="string"?p[1]:{},b),(Je||s||!Re)&&(e&&Wt(!0),s||(Je=!1)),await vt,Fn((await Mn(u,b)).r,{credentials:"same-origin"})}self.importShim=Ee;function Nt(u,p){return Lt(xe,Se(u,p)||u,p)||Pn(u,p)}function Pn(u,p){throw Error(`Unable to resolve specifier '${u}'${Ve(p)}`)}const jn=(u,p=le)=>{p=`${p}`;const b=f&&f(u,p,Nt);return b&&!b.then?b:Nt(u,p)};function Ii(u,p=this.url){return jn(u,p)}Ee.resolve=jn,Ee.getImportMap=()=>JSON.parse(JSON.stringify(xe)),Ee.addImportMap=u=>{if(!s)throw new Error("Unsupported in polyfill mode.");xe=$n(u,le,xe)};const Ye=Ee._r={};Ee._w={};async function Rn(u,p){u.b||p[u.u]||(p[u.u]=1,await u.L,await Promise.all(u.d.map(b=>Rn(b,p))),u.n||(u.n=u.d.some(b=>b.n)))}let xe={imports:{},scopes:{}},Re;const ze=Si.then(()=>{if(Re=o.polyfillEnable!==!0&&qe&&pt&&je&&(!G||dt)&&(!W||ht)&&!lt,e){if(!je){const u=HTMLScriptElement.supports||(p=>p==="classic"||p==="module");HTMLScriptElement.supports=p=>p==="importmap"||u(p)}if(s||!Re)if(new MutationObserver(u=>{for(const p of u)if(p.type==="childList")for(const b of p.addedNodes)b.tagName==="SCRIPT"?(b.type===(s?"module-shim":"module")&&Qn(b,!0),b.type===(s?"importmap-shim":"importmap")&&Kn(b,!0)):b.tagName==="LINK"&&b.rel===(s?"modulepreload-shim":"modulepreload")&&Xn(b)}).observe(document,{childList:!0,subtree:!0}),Wt(),document.readyState==="complete")Dt();else{async function u(){await ze,Wt(),document.readyState==="complete"&&(Dt(),document.removeEventListener("readystatechange",u))}document.addEventListener("readystatechange",u)}}});let vt=ze,Nn=!0,Je=!0;async function Fn(u,p,b,$,w){if(s||(Je=!1),await ze,await vt,c&&await c(u,typeof p!="string"?p:{},""),!s&&Re)return $?null:(await w,ve(b?te(b):u,{errUrl:u||b}));const A=qn(u,p,null,b),E={};if(await Rn(A,E),bt=void 0,Wn(A,E),await w,b&&!s&&!A.n)return $?void 0:(M&&Hn(Object.keys(E)),await ve(te(b),{errUrl:b}));Nn&&!s&&A.n&&$&&(O(),Nn=!1);const I=await ve(!s&&!A.n&&$?A.u:A.b,{errUrl:A.u});return A.s&&(await ve(A.s)).u$_(I),M&&Hn(Object.keys(E)),I}function Hn(u){let p=0;const b=u.length,$=self.requestIdleCallback?self.requestIdleCallback:self.requestAnimationFrame;$(w);function w(){const A=p*100;if(!(A>b)){for(const E of u.slice(A,A+100)){const I=Ye[E];I&&URL.revokeObjectURL(I.b)}p++,$(w)}}}function Ft(u){return`'${u.replace(/'/g,"\\'")}'`}let bt;function Wn(u,p){if(u.b||!p[u.u])return;p[u.u]=0;for(const Y of u.d)Wn(Y,p);const[b,$]=u.a,w=u.S;let A=ut&&bt?`import '${bt}';`:"",E=0,I=0,P=[];function x(Y){for(;P[P.length-1]<Y;){const J=P.pop();A+=`${w.slice(E,J)}, ${Ft(u.r)}`,E=J}A+=w.slice(E,Y),E=Y}for(const{s:Y,ss:J,se:ie,d:_e}of b)if(_e===-1){let q=u.d[I++],ke=q.b,gt=!ke;gt&&((ke=q.s)||(ke=q.s=te(`export function u$_(m){${q.a[1].map(({s:be,e:L},Q)=>{const Ne=q.S[be]==='"'||q.S[be]==="'";return`e$_${Q}=m${Ne?"[":"."}${q.S.slice(be,L)}${Ne?"]":""}`}).join(",")}}${q.a[1].length?`let ${q.a[1].map((be,L)=>`e$_${L}`).join(",")};`:""}export {${q.a[1].map(({s:be,e:L},Q)=>`e$_${Q} as ${q.S.slice(be,L)}`).join(",")}}
5
- //# sourceURL=${q.r}?cycle`))),x(Y-1),A+=`/*${w.slice(Y-1,ie)}*/${Ft(ke)}`,!gt&&q.s&&(A+=`;import*as m$_${I} from'${q.b}';import{u$_ as u$_${I}}from'${q.s}';u$_${I}(m$_${I})`,q.s=void 0),E=ie}else _e===-2?(u.m={url:u.r,resolve:Ii},h(u.m,u.u),x(Y),A+=`importShim._r[${Ft(u.u)}].m`,E=ie):(x(J+6),A+="Shim(",P.push(ie-1),E=Y);u.s&&(A+=`
6
- ;import{u$_}from'${u.s}';try{u$_({${$.filter(Y=>Y.ln).map(({s:Y,e:J,ln:ie})=>`${w.slice(Y,J)}:${ie}`).join(",")}})}catch(_){};
7
- `);function _(Y,J){const ie=J+Y.length,_e=w.indexOf(`
8
- `,ie),q=_e!==-1?_e:w.length;x(ie),A+=new URL(w.slice(ie,q),u.r).href,E=q}let a=w.lastIndexOf(yt),re=w.lastIndexOf(Un);a<E&&(a=-1),re<E&&(re=-1),a!==-1&&(re===-1||re>a)&&_(yt,a),re!==-1&&(_(Un,re),a!==-1&&a>re&&_(yt,a)),x(w.length),a===-1&&(A+=yt+u.r),u.b=bt=te(A),u.S=void 0}const yt=`
9
- //# sourceURL=`,Un=`
10
- //# sourceMappingURL=`,Ci=/^(text|application)\/(x-)?javascript(;|$)/,Ti=/^(application)\/wasm(;|$)/,Li=/^(text|application)\/json(;|$)/,Mi=/^(text|application)\/css(;|$)/,Pi=/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g;let Ht=[],Bn=0;function ji(){if(++Bn>100)return new Promise(u=>Ht.push(u))}function Ri(){Bn--,Ht.length&&Ht.shift()()}async function Dn(u,p,b){if(B&&!p.integrity)throw Error(`No integrity for ${u}${Ve(b)}.`);const $=ji();$&&await $;try{var w=await d(u,p)}catch(A){throw A.message=`Unable to fetch ${u}${Ve(b)} - see network log for details.
11
- `+A.message,A}finally{Ri()}if(!w.ok){const A=new TypeError(`${w.status} ${w.statusText} ${w.url}${Ve(b)}`);throw A.response=w,A}return w}async function Vn(u,p,b){const $=await Dn(u,p,b),w=$.headers.get("content-type");if(Ci.test(w))return{r:$.url,s:await $.text(),t:"js"};if(Ti.test(w)){const A=Ee._w[u]=await WebAssembly.compileStreaming($);let E="",I=0,P="";for(const x of WebAssembly.Module.imports(A))E+=`import * as impt${I} from '${x.module}';
12
- `,P+=`'${x.module}':impt${I++},`;I=0,E+=`const instance = await WebAssembly.instantiate(importShim._w['${u}'], {${P}});
13
- `;for(const x of WebAssembly.Module.exports(A))E+=`const expt${I} = instance['${x.name}'];
14
- `,E+=`export { expt${I++} as "${x.name}" };
15
- `;return{r:$.url,s:E,t:"wasm"}}else{if(Li.test(w))return{r:$.url,s:`export default ${await $.text()}`,t:"json"};if(Mi.test(w))return{r:$.url,s:`var s=new CSSStyleSheet();s.replaceSync(${JSON.stringify((await $.text()).replace(Pi,(A,E="",I,P)=>`url(${E}${An(I||P,u)}${E})`))});export default s;`,t:"css"};throw Error(`Unsupported Content-Type "${w}" loading ${u}${Ve(b)}. Modules must be served with a valid MIME type like application/javascript.`)}}function qn(u,p,b,$){let w=Ye[u];if(w&&!$)return w;if(w={u,r:$?u:void 0,f:void 0,S:void 0,L:void 0,a:void 0,d:void 0,b:void 0,s:void 0,n:!1,t:null,m:null},Ye[u]){let A=0;for(;Ye[w.u+ ++A];);w.u+=A}return Ye[w.u]=w,w.f=(async()=>{if(!$){let A;if({r:w.r,s:$,t:A}=await(Vt[u]||Vn(u,p,b)),A&&!s){if(A==="css"&&!W||A==="json"&&!G)throw Error(`${A}-modules require <script type="esms-options">{ "polyfillEnable": ["${A}-modules"] }<\/script>`);(A==="css"&&!ht||A==="json"&&!dt)&&(w.n=!0)}}try{w.a=xi($,w.u)}catch(A){Ct(A),w.a=[[],[],!1]}return w.S=$,w})(),w.L=w.f.then(async()=>{let A=p;w.d=(await Promise.all(w.a[0].map(async({n:E,d:I})=>{if((I>=0&&!qe||I===-2&&!pt)&&(w.n=!0),I!==-1||!E)return;const{r:P,b:x}=await Mn(E,w.r||w.u);if(x&&(!je||lt)&&(w.n=!0),I===-1)return oe&&oe(P)?{b:P}:(A.integrity&&(A=Object.assign({},A,{integrity:void 0})),qn(P,A,w.r).f)}))).filter(E=>E)}),w}function Wt(u=!1){if(!u)for(const p of document.querySelectorAll(s?"link[rel=modulepreload-shim]":"link[rel=modulepreload]"))Xn(p);for(const p of document.querySelectorAll(s?"script[type=importmap-shim]":"script[type=importmap]"))Kn(p);if(!u)for(const p of document.querySelectorAll(s?"script[type=module-shim]":"script[type=module]"))Qn(p)}function Ut(u){const p={};return u.integrity&&(p.integrity=u.integrity),u.referrerPolicy&&(p.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?p.credentials="include":u.crossOrigin==="anonymous"?p.credentials="omit":p.credentials="same-origin",p}let Gn=Promise.resolve(),Bt=1;function Yn(){--Bt===0&&!C&&(s||!Re)&&document.dispatchEvent(new Event("DOMContentLoaded"))}e&&document.addEventListener("DOMContentLoaded",async()=>{await ze,Yn()});let Ke=1;function Dt(){--Ke===0&&!C&&(s||!Re)&&document.dispatchEvent(new Event("readystatechange"))}const zn=u=>u.nextSibling||u.parentNode&&zn(u.parentNode),Jn=(u,p)=>u.ep||!p&&(!u.src&&!u.innerHTML||!zn(u))||u.getAttribute("noshim")!==null||!(u.ep=!0);function Kn(u,p=Ke>0){if(!Jn(u,p)){if(u.src){if(!s)return;_i()}Je&&(vt=vt.then(async()=>{xe=$n(u.src?await(await Dn(u.src,Ut(u))).json():JSON.parse(u.innerHTML),u.src||le,xe)}).catch(b=>{console.log(b),b instanceof SyntaxError&&(b=new Error(`Unable to parse import map ${b.message} in: ${u.src||u.innerHTML}`)),Ct(b)}),s||(Je=!1))}}function Qn(u,p=Ke>0){if(Jn(u,p))return;const b=u.getAttribute("async")===null&&Ke>0,$=Bt>0;b&&Ke++,$&&Bt++;const w=Fn(u.src||le,Ut(u),!u.src&&u.innerHTML,!s,b&&Gn).then(()=>{s&&u.dispatchEvent(new Event("load"))}).catch(Ct);b&&(Gn=w.then(Dt)),$&&w.then(Yn)}const Vt={};function Xn(u){u.ep||(u.ep=!0,!Vt[u.href]&&(Vt[u.href]=Vn(u.href,Ut(u))))}})();var cn=function(t,e){return cn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},cn(t,e)};function pe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");cn(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function lo(t,e,n,r){function o(s){return s instanceof n?s:new n(function(c){c(s)})}return new(n||(n=Promise))(function(s,c){function f(y){try{h(r.next(y))}catch(k){c(k)}}function d(y){try{h(r.throw(y))}catch(k){c(k)}}function h(y){y.done?s(y.value):o(y.value).then(f,d)}h((r=r.apply(t,e||[])).next())})}function Cr(t,e){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,c;return c={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function f(h){return function(y){return d([h,y])}}function d(h){if(r)throw new TypeError("Generator is already executing.");for(;c&&(c=0,h[0]&&(n=0)),n;)try{if(r=1,o&&(s=h[0]&2?o.return:h[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,h[1])).done)return s;switch(o=0,s&&(h=[h[0]&2,s.value]),h[0]){case 0:case 1:s=h;break;case 4:return n.label++,{value:h[1],done:!1};case 5:n.label++,o=h[1],h=[0];continue;case 7:h=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(h[0]===6||h[0]===2)){n=0;continue}if(h[0]===3&&(!s||h[1]>s[0]&&h[1]<s[3])){n.label=h[1];break}if(h[0]===6&&n.label<s[1]){n.label=s[1],s=h;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(h);break}s[2]&&n.ops.pop(),n.trys.pop();continue}h=e.call(t,n)}catch(y){h=[6,y],o=0}finally{r=s=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}function Le(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ce(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),o,s=[],c;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)s.push(o.value)}catch(f){c={error:f}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(c)throw c.error}}return s}function de(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,s;r<o;r++)(s||!(r in e))&&(s||(s=Array.prototype.slice.call(e,0,r)),s[r]=e[r]);return t.concat(s||Array.prototype.slice.call(e))}function He(t){return this instanceof He?(this.v=t,this):new He(t)}function fo(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(t,e||[]),o,s=[];return o={},c("next"),c("throw"),c("return"),o[Symbol.asyncIterator]=function(){return this},o;function c(S){r[S]&&(o[S]=function(O){return new Promise(function(M,C){s.push([S,O,M,C])>1||f(S,O)})})}function f(S,O){try{d(r[S](O))}catch(M){k(s[0][3],M)}}function d(S){S.value instanceof He?Promise.resolve(S.value.v).then(h,y):k(s[0][2],S)}function h(S){f("next",S)}function y(S){f("throw",S)}function k(S,O){S(O),s.shift(),s.length&&f(s[0][0],s[0][1])}}function ho(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],n;return e?e.call(t):(t=typeof Le=="function"?Le(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(s){n[s]=t[s]&&function(c){return new Promise(function(f,d){c=t[s](c),o(f,d,c.done,c.value)})}}function o(s,c,f,d){Promise.resolve(d).then(function(h){s({value:h,done:f})},c)}}function N(t){return typeof t=="function"}function mn(t){var e=function(r){Error.call(r),r.stack=new Error().stack},n=t(e);return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}var Zt=mn(function(t){return function(n){t(this),this.message=n?n.length+` errors occurred during unsubscription:
16
- `+n.map(function(r,o){return o+1+") "+r.toString()}).join(`
17
- `):"",this.name="UnsubscriptionError",this.errors=n}});function nt(t,e){if(t){var n=t.indexOf(e);0<=n&&t.splice(n,1)}}var ue=function(){function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var e,n,r,o,s;if(!this.closed){this.closed=!0;var c=this._parentage;if(c)if(this._parentage=null,Array.isArray(c))try{for(var f=Le(c),d=f.next();!d.done;d=f.next()){var h=d.value;h.remove(this)}}catch(C){e={error:C}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(e)throw e.error}}else c.remove(this);var y=this.initialTeardown;if(N(y))try{y()}catch(C){s=C instanceof Zt?C.errors:[C]}var k=this._finalizers;if(k){this._finalizers=null;try{for(var S=Le(k),O=S.next();!O.done;O=S.next()){var M=O.value;try{ir(M)}catch(C){s=s??[],C instanceof Zt?s=de(de([],ce(s)),ce(C.errors)):s.push(C)}}}catch(C){r={error:C}}finally{try{O&&!O.done&&(o=S.return)&&o.call(S)}finally{if(r)throw r.error}}}if(s)throw new Zt(s)}},t.prototype.add=function(e){var n;if(e&&e!==this)if(this.closed)ir(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=(n=this._finalizers)!==null&&n!==void 0?n:[]).push(e)}},t.prototype._hasParent=function(e){var n=this._parentage;return n===e||Array.isArray(n)&&n.includes(e)},t.prototype._addParent=function(e){var n=this._parentage;this._parentage=Array.isArray(n)?(n.push(e),n):n?[n,e]:e},t.prototype._removeParent=function(e){var n=this._parentage;n===e?this._parentage=null:Array.isArray(n)&&nt(n,e)},t.prototype.remove=function(e){var n=this._finalizers;n&&nt(n,e),e instanceof t&&e._removeParent(this)},t.EMPTY=function(){var e=new t;return e.closed=!0,e}(),t}(),Tr=ue.EMPTY;function Lr(t){return t instanceof ue||t&&"closed"in t&&N(t.remove)&&N(t.add)&&N(t.unsubscribe)}function ir(t){N(t)?t():t.unsubscribe()}var Mr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},un={setTimeout:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=un.delegate;return o!=null&&o.setTimeout?o.setTimeout.apply(o,de([t,e],ce(n))):setTimeout.apply(void 0,de([t,e],ce(n)))},clearTimeout:function(t){var e=un.delegate;return((e==null?void 0:e.clearTimeout)||clearTimeout)(t)},delegate:void 0};function Pr(t){un.setTimeout(function(){throw t})}function or(){}function $t(t){t()}var vn=function(t){pe(e,t);function e(n){var r=t.call(this)||this;return r.isStopped=!1,n?(r.destination=n,Lr(n)&&n.add(r)):r.destination=bo,r}return e.create=function(n,r,o){return new St(n,r,o)},e.prototype.next=function(n){this.isStopped||this._next(n)},e.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},e.prototype._next=function(n){this.destination.next(n)},e.prototype._error=function(n){try{this.destination.error(n)}finally{this.unsubscribe()}},e.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},e}(ue),po=Function.prototype.bind;function en(t,e){return po.call(t,e)}var mo=function(){function t(e){this.partialObserver=e}return t.prototype.next=function(e){var n=this.partialObserver;if(n.next)try{n.next(e)}catch(r){kt(r)}},t.prototype.error=function(e){var n=this.partialObserver;if(n.error)try{n.error(e)}catch(r){kt(r)}else kt(e)},t.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(n){kt(n)}},t}(),St=function(t){pe(e,t);function e(n,r,o){var s=t.call(this)||this,c;if(N(n)||!n)c={next:n??void 0,error:r??void 0,complete:o??void 0};else{var f;s&&Mr.useDeprecatedNextContext?(f=Object.create(n),f.unsubscribe=function(){return s.unsubscribe()},c={next:n.next&&en(n.next,f),error:n.error&&en(n.error,f),complete:n.complete&&en(n.complete,f)}):c=n}return s.destination=new mo(c),s}return e}(vn);function kt(t){Pr(t)}function vo(t){throw t}var bo={closed:!0,next:or,error:vo,complete:or},bn=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function yn(t){return t}function yo(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return jr(t)}function jr(t){return t.length===0?yn:t.length===1?t[0]:function(n){return t.reduce(function(r,o){return o(r)},n)}}var ee=function(){function t(e){e&&(this._subscribe=e)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(e,n,r){var o=this,s=wo(e)?e:new St(e,n,r);return $t(function(){var c=o,f=c.operator,d=c.source;s.add(f?f.call(s,d):d?o._subscribe(s):o._trySubscribe(s))}),s},t.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(n){e.error(n)}},t.prototype.forEach=function(e,n){var r=this;return n=sr(n),new n(function(o,s){var c=new St({next:function(f){try{e(f)}catch(d){s(d),c.unsubscribe()}},error:s,complete:o});r.subscribe(c)})},t.prototype._subscribe=function(e){var n;return(n=this.source)===null||n===void 0?void 0:n.subscribe(e)},t.prototype[bn]=function(){return this},t.prototype.pipe=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return jr(e)(this)},t.prototype.toPromise=function(e){var n=this;return e=sr(e),new e(function(r,o){var s;n.subscribe(function(c){return s=c},function(c){return o(c)},function(){return r(s)})})},t.create=function(e){return new t(e)},t}();function sr(t){var e;return(e=t??Mr.Promise)!==null&&e!==void 0?e:Promise}function go(t){return t&&N(t.next)&&N(t.error)&&N(t.complete)}function wo(t){return t&&t instanceof vn||go(t)&&Lr(t)}function _o(t){return N(t==null?void 0:t.lift)}function me(t){return function(e){if(_o(e))return e.lift(function(n){try{return t(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function he(t,e,n,r,o){return new ko(t,e,n,r,o)}var ko=function(t){pe(e,t);function e(n,r,o,s,c,f){var d=t.call(this,n)||this;return d.onFinalize=c,d.shouldUnsubscribe=f,d._next=r?function(h){try{r(h)}catch(y){n.error(y)}}:t.prototype._next,d._error=s?function(h){try{s(h)}catch(y){n.error(y)}finally{this.unsubscribe()}}:t.prototype._error,d._complete=o?function(){try{o()}catch(h){n.error(h)}finally{this.unsubscribe()}}:t.prototype._complete,d}return e.prototype.unsubscribe=function(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;t.prototype.unsubscribe.call(this),!r&&((n=this.onFinalize)===null||n===void 0||n.call(this))}},e}(vn),Ao=mn(function(t){return function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),Ot=function(t){pe(e,t);function e(){var n=t.call(this)||this;return n.closed=!1,n.currentObservers=null,n.observers=[],n.isStopped=!1,n.hasError=!1,n.thrownError=null,n}return e.prototype.lift=function(n){var r=new ar(this,this);return r.operator=n,r},e.prototype._throwIfClosed=function(){if(this.closed)throw new Ao},e.prototype.next=function(n){var r=this;$t(function(){var o,s;if(r._throwIfClosed(),!r.isStopped){r.currentObservers||(r.currentObservers=Array.from(r.observers));try{for(var c=Le(r.currentObservers),f=c.next();!f.done;f=c.next()){var d=f.value;d.next(n)}}catch(h){o={error:h}}finally{try{f&&!f.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}}})},e.prototype.error=function(n){var r=this;$t(function(){if(r._throwIfClosed(),!r.isStopped){r.hasError=r.isStopped=!0,r.thrownError=n;for(var o=r.observers;o.length;)o.shift().error(n)}})},e.prototype.complete=function(){var n=this;$t(function(){if(n._throwIfClosed(),!n.isStopped){n.isStopped=!0;for(var r=n.observers;r.length;)r.shift().complete()}})},e.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(e.prototype,"observed",{get:function(){var n;return((n=this.observers)===null||n===void 0?void 0:n.length)>0},enumerable:!1,configurable:!0}),e.prototype._trySubscribe=function(n){return this._throwIfClosed(),t.prototype._trySubscribe.call(this,n)},e.prototype._subscribe=function(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)},e.prototype._innerSubscribe=function(n){var r=this,o=this,s=o.hasError,c=o.isStopped,f=o.observers;return s||c?Tr:(this.currentObservers=null,f.push(n),new ue(function(){r.currentObservers=null,nt(f,n)}))},e.prototype._checkFinalizedStatuses=function(n){var r=this,o=r.hasError,s=r.thrownError,c=r.isStopped;o?n.error(s):c&&n.complete()},e.prototype.asObservable=function(){var n=new ee;return n.source=this,n},e.create=function(n,r){return new ar(n,r)},e}(ee),ar=function(t){pe(e,t);function e(n,r){var o=t.call(this)||this;return o.destination=n,o.source=r,o}return e.prototype.next=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.next)===null||o===void 0||o.call(r,n)},e.prototype.error=function(n){var r,o;(o=(r=this.destination)===null||r===void 0?void 0:r.error)===null||o===void 0||o.call(r,n)},e.prototype.complete=function(){var n,r;(r=(n=this.destination)===null||n===void 0?void 0:n.complete)===null||r===void 0||r.call(n)},e.prototype._subscribe=function(n){var r,o;return(o=(r=this.source)===null||r===void 0?void 0:r.subscribe(n))!==null&&o!==void 0?o:Tr},e}(Ot),cr=function(t){pe(e,t);function e(n){var r=t.call(this)||this;return r._value=n,r}return Object.defineProperty(e.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),e.prototype._subscribe=function(n){var r=t.prototype._subscribe.call(this,n);return!r.closed&&n.next(this._value),r},e.prototype.getValue=function(){var n=this,r=n.hasError,o=n.thrownError,s=n._value;if(r)throw o;return this._throwIfClosed(),s},e.prototype.next=function(n){t.prototype.next.call(this,this._value=n)},e}(Ot),gn={now:function(){return(gn.delegate||Date).now()},delegate:void 0},ge=function(t){pe(e,t);function e(n,r,o){n===void 0&&(n=1/0),r===void 0&&(r=1/0),o===void 0&&(o=gn);var s=t.call(this)||this;return s._bufferSize=n,s._windowTime=r,s._timestampProvider=o,s._buffer=[],s._infiniteTimeWindow=!0,s._infiniteTimeWindow=r===1/0,s._bufferSize=Math.max(1,n),s._windowTime=Math.max(1,r),s}return e.prototype.next=function(n){var r=this,o=r.isStopped,s=r._buffer,c=r._infiniteTimeWindow,f=r._timestampProvider,d=r._windowTime;o||(s.push(n),!c&&s.push(f.now()+d)),this._trimBuffer(),t.prototype.next.call(this,n)},e.prototype._subscribe=function(n){this._throwIfClosed(),this._trimBuffer();for(var r=this._innerSubscribe(n),o=this,s=o._infiniteTimeWindow,c=o._buffer,f=c.slice(),d=0;d<f.length&&!n.closed;d+=s?1:2)n.next(f[d]);return this._checkFinalizedStatuses(n),r},e.prototype._trimBuffer=function(){var n=this,r=n._bufferSize,o=n._timestampProvider,s=n._buffer,c=n._infiniteTimeWindow,f=(c?1:2)*r;if(r<1/0&&f<s.length&&s.splice(0,s.length-f),!c){for(var d=o.now(),h=0,y=1;y<s.length&&s[y]<=d;y+=2)h=y;h&&s.splice(0,h+1)}},e}(Ot),$o=function(t){pe(e,t);function e(n,r){return t.call(this)||this}return e.prototype.schedule=function(n,r){return this},e}(ue),Et={setInterval:function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o=Et.delegate;return o!=null&&o.setInterval?o.setInterval.apply(o,de([t,e],ce(n))):setInterval.apply(void 0,de([t,e],ce(n)))},clearInterval:function(t){var e=Et.delegate;return((e==null?void 0:e.clearInterval)||clearInterval)(t)},delegate:void 0},So=function(t){pe(e,t);function e(n,r){var o=t.call(this,n,r)||this;return o.scheduler=n,o.work=r,o.pending=!1,o}return e.prototype.schedule=function(n,r){var o;if(r===void 0&&(r=0),this.closed)return this;this.state=n;var s=this.id,c=this.scheduler;return s!=null&&(this.id=this.recycleAsyncId(c,s,r)),this.pending=!0,this.delay=r,this.id=(o=this.id)!==null&&o!==void 0?o:this.requestAsyncId(c,this.id,r),this},e.prototype.requestAsyncId=function(n,r,o){return o===void 0&&(o=0),Et.setInterval(n.flush.bind(n,this),o)},e.prototype.recycleAsyncId=function(n,r,o){if(o===void 0&&(o=0),o!=null&&this.delay===o&&this.pending===!1)return r;r!=null&&Et.clearInterval(r)},e.prototype.execute=function(n,r){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var o=this._execute(n,r);if(o)return o;this.pending===!1&&this.id!=null&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(n,r){var o=!1,s;try{this.work(n)}catch(c){o=!0,s=c||new Error("Scheduled action threw falsy error")}if(o)return this.unsubscribe(),s},e.prototype.unsubscribe=function(){if(!this.closed){var n=this,r=n.id,o=n.scheduler,s=o.actions;this.work=this.state=this.scheduler=null,this.pending=!1,nt(s,this),r!=null&&(this.id=this.recycleAsyncId(o,r,null)),this.delay=null,t.prototype.unsubscribe.call(this)}},e}($o),ur=function(){function t(e,n){n===void 0&&(n=t.now),this.schedulerActionCtor=e,this.now=n}return t.prototype.schedule=function(e,n,r){return n===void 0&&(n=0),new this.schedulerActionCtor(this,e).schedule(r,n)},t.now=gn.now,t}(),Eo=function(t){pe(e,t);function e(n,r){r===void 0&&(r=ur.now);var o=t.call(this,n,r)||this;return o.actions=[],o._active=!1,o}return e.prototype.flush=function(n){var r=this.actions;if(this._active){r.push(n);return}var o;this._active=!0;do if(o=n.execute(n.state,n.delay))break;while(n=r.shift());if(this._active=!1,o){for(;n=r.shift();)n.unsubscribe();throw o}},e}(ur),wn=new Eo(So),xo=wn,Oo=new ee(function(t){return t.complete()});function Rr(t){return t&&N(t.schedule)}function Nr(t){return t[t.length-1]}function Io(t){return N(Nr(t))?t.pop():void 0}function Fr(t){return Rr(Nr(t))?t.pop():void 0}var _n=function(t){return t&&typeof t.length=="number"&&typeof t!="function"};function Hr(t){return N(t==null?void 0:t.then)}function Wr(t){return N(t[bn])}function Ur(t){return Symbol.asyncIterator&&N(t==null?void 0:t[Symbol.asyncIterator])}function Br(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function Co(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Dr=Co();function Vr(t){return N(t==null?void 0:t[Dr])}function qr(t){return fo(this,arguments,function(){var n,r,o,s;return Cr(this,function(c){switch(c.label){case 0:n=t.getReader(),c.label=1;case 1:c.trys.push([1,,9,10]),c.label=2;case 2:return[4,He(n.read())];case 3:return r=c.sent(),o=r.value,s=r.done,s?[4,He(void 0)]:[3,5];case 4:return[2,c.sent()];case 5:return[4,He(o)];case 6:return[4,c.sent()];case 7:return c.sent(),[3,2];case 8:return[3,10];case 9:return n.releaseLock(),[7];case 10:return[2]}})})}function Gr(t){return N(t==null?void 0:t.getReader)}function De(t){if(t instanceof ee)return t;if(t!=null){if(Wr(t))return To(t);if(_n(t))return Lo(t);if(Hr(t))return Mo(t);if(Ur(t))return Yr(t);if(Vr(t))return Po(t);if(Gr(t))return jo(t)}throw Br(t)}function To(t){return new ee(function(e){var n=t[bn]();if(N(n.subscribe))return n.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function Lo(t){return new ee(function(e){for(var n=0;n<t.length&&!e.closed;n++)e.next(t[n]);e.complete()})}function Mo(t){return new ee(function(e){t.then(function(n){e.closed||(e.next(n),e.complete())},function(n){return e.error(n)}).then(null,Pr)})}function Po(t){return new ee(function(e){var n,r;try{for(var o=Le(t),s=o.next();!s.done;s=o.next()){var c=s.value;if(e.next(c),e.closed)return}}catch(f){n={error:f}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}e.complete()})}function Yr(t){return new ee(function(e){Ro(t,e).catch(function(n){return e.error(n)})})}function jo(t){return Yr(qr(t))}function Ro(t,e){var n,r,o,s;return lo(this,void 0,void 0,function(){var c,f;return Cr(this,function(d){switch(d.label){case 0:d.trys.push([0,5,6,11]),n=ho(t),d.label=1;case 1:return[4,n.next()];case 2:if(r=d.sent(),!!r.done)return[3,4];if(c=r.value,e.next(c),e.closed)return[2];d.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return f=d.sent(),o={error:f},[3,11];case 6:return d.trys.push([6,,9,10]),r&&!r.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:d.sent(),d.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return e.complete(),[2]}})})}function ae(t,e,n,r,o){r===void 0&&(r=0),o===void 0&&(o=!1);var s=e.schedule(function(){n(),o?t.add(this.schedule(null,r)):this.unsubscribe()},r);if(t.add(s),!o)return s}function zr(t,e){return e===void 0&&(e=0),me(function(n,r){n.subscribe(he(r,function(o){return ae(r,t,function(){return r.next(o)},e)},function(){return ae(r,t,function(){return r.complete()},e)},function(o){return ae(r,t,function(){return r.error(o)},e)}))})}function Jr(t,e){return e===void 0&&(e=0),me(function(n,r){r.add(t.schedule(function(){return n.subscribe(r)},e))})}function No(t,e){return De(t).pipe(Jr(e),zr(e))}function Fo(t,e){return De(t).pipe(Jr(e),zr(e))}function Ho(t,e){return new ee(function(n){var r=0;return e.schedule(function(){r===t.length?n.complete():(n.next(t[r++]),n.closed||this.schedule())})})}function Wo(t,e){return new ee(function(n){var r;return ae(n,e,function(){r=t[Dr](),ae(n,e,function(){var o,s,c;try{o=r.next(),s=o.value,c=o.done}catch(f){n.error(f);return}c?n.complete():n.next(s)},0,!0)}),function(){return N(r==null?void 0:r.return)&&r.return()}})}function Kr(t,e){if(!t)throw new Error("Iterable cannot be null");return new ee(function(n){ae(n,e,function(){var r=t[Symbol.asyncIterator]();ae(n,e,function(){r.next().then(function(o){o.done?n.complete():n.next(o.value)})},0,!0)})})}function Uo(t,e){return Kr(qr(t),e)}function Bo(t,e){if(t!=null){if(Wr(t))return No(t,e);if(_n(t))return Ho(t,e);if(Hr(t))return Fo(t,e);if(Ur(t))return Kr(t,e);if(Vr(t))return Wo(t,e);if(Gr(t))return Uo(t,e)}throw Br(t)}function at(t,e){return e?Bo(t,e):De(t)}function Do(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Fr(t);return at(t,n)}var Qr=mn(function(t){return function(){t(this),this.name="EmptyError",this.message="no elements in sequence"}});function At(t,e){var n=typeof e=="object";return new Promise(function(r,o){var s=!1,c;t.subscribe({next:function(f){c=f,s=!0},error:o,complete:function(){s?r(c):n?r(e.defaultValue):o(new Qr)}})})}function Vo(t,e){var n=typeof e=="object";return new Promise(function(r,o){var s=new St({next:function(c){r(c),s.unsubscribe()},error:o,complete:function(){n?r(e.defaultValue):o(new Qr)}});t.subscribe(s)})}function qo(t){return t instanceof Date&&!isNaN(t)}function fe(t,e){return me(function(n,r){var o=0;n.subscribe(he(r,function(s){r.next(t.call(e,s,o++))}))})}var Go=Array.isArray;function Yo(t,e){return Go(e)?t.apply(void 0,de([],ce(e))):t(e)}function Xr(t){return fe(function(e){return Yo(t,e)})}function zo(t,e,n){return n===void 0&&(n=yn),function(r){lr(e,function(){for(var o=t.length,s=new Array(o),c=o,f=o,d=function(y){lr(e,function(){var k=at(t[y],e),S=!1;k.subscribe(he(r,function(O){s[y]=O,S||(S=!0,f--),f||r.next(n(s.slice()))},function(){--c||r.complete()}))},r)},h=0;h<o;h++)d(h)},r)}}function lr(t,e,n){t?ae(n,t,e):e()}function Jo(t,e,n,r,o,s,c,f){var d=[],h=0,y=0,k=!1,S=function(){k&&!d.length&&!h&&e.complete()},O=function(C){return h<r?M(C):d.push(C)},M=function(C){s&&e.next(C),h++;var B=!1;De(n(C,y++)).subscribe(he(e,function(F){o==null||o(F),s?O(F):e.next(F)},function(){B=!0},void 0,function(){if(B)try{h--;for(var F=function(){var j=d.shift();c?ae(e,c,function(){return M(j)}):M(j)};d.length&&h<r;)F();S()}catch(j){e.error(j)}}))};return t.subscribe(he(e,O,function(){k=!0,S()})),function(){f==null||f()}}function Me(t,e,n){return n===void 0&&(n=1/0),N(e)?Me(function(r,o){return fe(function(s,c){return e(r,s,o,c)})(De(t(r,o)))},n):(typeof e=="number"&&(n=e),me(function(r,o){return Jo(r,o,t,n)}))}var Ko=["addListener","removeListener"],Qo=["addEventListener","removeEventListener"],Xo=["on","off"];function ln(t,e,n,r){if(N(n)&&(r=n,n=void 0),r)return ln(t,e,n).pipe(Xr(r));var o=ce(ts(t)?Qo.map(function(f){return function(d){return t[f](e,d,n)}}):Zo(t)?Ko.map(fr(t,e)):es(t)?Xo.map(fr(t,e)):[],2),s=o[0],c=o[1];if(!s&&_n(t))return Me(function(f){return ln(f,e,n)})(De(t));if(!s)throw new TypeError("Invalid event target");return new ee(function(f){var d=function(){for(var h=[],y=0;y<arguments.length;y++)h[y]=arguments[y];return f.next(1<h.length?h:h[0])};return s(d),function(){return c(d)}})}function fr(t,e){return function(n){return function(r){return t[n](e,r)}}}function Zo(t){return N(t.addListener)&&N(t.removeListener)}function es(t){return N(t.on)&&N(t.off)}function ts(t){return N(t.addEventListener)&&N(t.removeEventListener)}function fn(t,e,n){t===void 0&&(t=0),n===void 0&&(n=xo);var r=-1;return e!=null&&(Rr(e)?n=e:r=e),new ee(function(o){var s=qo(t)?+t-n.now():t;s<0&&(s=0);var c=0;return n.schedule(function(){o.closed||(o.next(c++),0<=r?this.schedule(void 0,r):o.complete())},s)})}function ns(t,e){return t===void 0&&(t=0),e===void 0&&(e=wn),t<0&&(t=0),fn(t,t,e)}var rs=Array.isArray;function is(t){return t.length===1&&rs(t[0])?t[0]:t}function X(t,e){return me(function(n,r){var o=0;n.subscribe(he(r,function(s){return t.call(e,s,o++)&&r.next(s)}))})}function os(t){for(var e,n,r=[],o=1;o<arguments.length;o++)r[o-1]=arguments[o];var s=(e=Fr(r))!==null&&e!==void 0?e:wn,c=(n=r[0])!==null&&n!==void 0?n:null,f=r[1]||1/0;return me(function(d,h){var y=[],k=!1,S=function(C){var B=C.buffer,F=C.subs;F.unsubscribe(),nt(y,C),h.next(B),k&&O()},O=function(){if(y){var C=new ue;h.add(C);var B=[],F={buffer:B,subs:C};y.push(F),ae(C,s,function(){return S(F)},t)}};c!==null&&c>=0?ae(h,s,O,c,!0):k=!0,O();var M=he(h,function(C){var B,F,j=y.slice();try{for(var W=Le(j),G=W.next();!G.done;G=W.next()){var ut=G.value,le=ut.buffer;le.push(C),f<=le.length&&S(ut)}}catch(te){B={error:te}}finally{try{G&&!G.done&&(F=W.return)&&F.call(W)}finally{if(B)throw B.error}}},function(){for(;y!=null&&y.length;)h.next(y.shift().buffer);M==null||M.unsubscribe(),h.complete(),h.unsubscribe()},void 0,function(){return y=null});d.subscribe(M)})}function Zr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=Io(t);return n?yo(Zr.apply(void 0,de([],ce(t))),Xr(n)):me(function(r,o){zo(de([r],ce(is(t))))(o)})}function ss(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Zr.apply(void 0,de([],ce(t)))}function as(t,e){return N(e)?Me(t,e,1):Me(t,1)}function Ce(t){return t<=0?function(){return Oo}:me(function(e,n){var r=0;e.subscribe(he(n,function(o){++r<=t&&(n.next(o),t<=r&&n.complete())}))})}function cs(){return me(function(t,e){var n,r=!1;t.subscribe(he(e,function(o){var s=n;n=o,r&&e.next([s,o]),r=!0}))})}function us(t,e,n){var r=N(t)||e||n?{next:t,error:e,complete:n}:t;return r?me(function(o,s){var c;(c=r.subscribe)===null||c===void 0||c.call(r);var f=!0;o.subscribe(he(s,function(d){var h;(h=r.next)===null||h===void 0||h.call(r,d),s.next(d)},function(){var d;f=!1,(d=r.complete)===null||d===void 0||d.call(r),s.complete()},function(d){var h;f=!1,(h=r.error)===null||h===void 0||h.call(r,d),s.error(d)},function(){var d,h;f&&((d=r.unsubscribe)===null||d===void 0||d.call(r)),(h=r.finalize)===null||h===void 0||h.call(r)}))}):yn}const ls="en",fs=(t,e=ls)=>typeof t=="string"?t:t==null?void 0:t[e];function ds(t){return Object.entries(t).reduce((e,[n,r])=>(e[n]=fs(r),e),{})}const We=(...t)=>{},ei=t=>Array.isArray(t)?t:[t],ti=({document:{baseURI:t},location:{href:e}})=>n=>new URL(n,new URL(t,e)),ni=(t,e)=>{let n=e;return e instanceof URL||(n=t(typeof e=="string"?e:e.url)),n},hs=(t,e)=>{const{href:n,origin:r}=e;return t===r?n.substring(t.length):n},ps=(t,e,n=0)=>{const{selectors:r}=e;return t.querySelector(r[n])};function ms(t){return document.querySelector(t)}const vs=(t,e)=>{const n=e.get(t);if(n){const{css:r,rest:o,subscription:s}=n;o.forEach(c=>{var f;return(f=c.__unfocus_handler)==null?void 0:f.call(c)}),s.unsubscribe(),n.elementToFocus.forEach((c,f)=>{Object.assign(c.style,r[f])})}e.delete(t)},bs=t=>t!==void 0;function ys(t,e,n){const r=new Map,o=ms.bind(t),s=e.pipe(cs(),us(([c])=>{var f;if(c!==void 0){const d=ps(t,c);d!==null&&((f=d.__unfocus_handler)==null||f.call(d),vs(d,r))}}),fe(([,c])=>c),X(bs),fe(c=>{const[f,...d]=c.selectors,h=d.reduce((y,k)=>{var S;const O=o(k);if(O){y.push(O);const M=(S=O.__focus_handler)==null?void 0:S.call(O);M&&"then"in M&&M.catch(We)}return y},[]);return{first:f,next:c,otherElements:h}}),fe(c=>({...c,firstElement:o(c.first)})),X(c=>c.firstElement!==null),fe(c=>{var f,d;return{...c,focus:(d=(f=c.firstElement).__focus_handler)==null?void 0:d.call(f)}}),as(({focus:c,...f})=>(c&&"then"in c?c:Promise.resolve(c??f.firstElement)).then(h=>({focus:h,...f})).catch(()=>({focus:void 0,...f})))).subscribe(({otherElements:c,next:f,firstElement:d,focus:h})=>{const y=Object.keys(f.style),k=new ue,S=ei(h??d).filter(Boolean),O={css:[],elementToFocus:S,rest:c,subscription:k},M=y.reduce((C,B)=>(S.forEach((F,j)=>{var W;C.css[j]=Object.assign((W=C.css[j])!=null?W:{},{[B]:F.style[B]})}),C),O);k.add(n.pipe(X(C=>C==="select"),Ce(1)).subscribe(()=>{S.forEach(C=>{Object.assign(C.style,f.style)})})),r.set(d,M)});return()=>s.unsubscribe()}var gs=Object.defineProperty,ws=(t,e,n)=>e in t?gs(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ae=(t,e,n)=>(ws(t,typeof e!="symbol"?e+"":e,n),n);class _s{constructor(e){Ae(this,"_input"),Ae(this,"_length"),Ae(this,"_idx",0),Ae(this,"_mode",0),Ae(this,"_literals",[]),Ae(this,"_variables",[]),Ae(this,"_braketCount",0),Ae(this,"_done",!1),this._input=e,this._length=e.length}concatToLastLiteral(e){this._literals.push(this._literals.pop().concat(e))}concatToLastVariable(e){this._variables.push(this._variables.pop().concat(e))}get(){const e=[...this._literals],n=Object.assign([],e);return Object.defineProperty(n,"raw",{value:e,writable:!1}),{literals:n,variables:this._variables}}run(){for(this._length===0&&this._literals.push("");this._idx<this._length;){const e=this._input.charAt(this._idx);switch(this._mode){case 0:{this._literals.length===0&&this._literals.push(""),e==="{"&&this._idx+1!==this._length&&this._input.charAt(this._idx+1)==="{"?(this._literals.push(""),this._variables.push(""),this._mode=1,this._idx+=1):this.concatToLastLiteral(e);break}case 1:e==="}"&&this._input.charAt(this._idx+1)==="}"?(this._mode=0,this._idx+=1):this.concatToLastVariable(e);break}this._idx+=1}this._mode===1&&(this._literals.pop(),this.concatToLastLiteral("{{".concat(this._variables.pop()))),this._done=!0}}const ks=t=>{const e=t.trim();if(!(e.startsWith("[")&&e.endsWith("]")))return!1;const n=e.slice(1).slice(0,-1).trim();return Number.parseInt(n).toString(10)===n},As=t=>Number.parseInt(t.trim().slice(1).slice(0,-1).trim());function $s(t,e,n){if(!e.trim())return n?"{{".concat(e,"}}"):"";const r=e.trim().split(".").reduce((o,s)=>{if(Array.isArray(o)&&ks(s))return o[As(s)];if(typeof o=="object"&&o!==null&&s in o)return o[s]},{...t});return typeof r=="string"?r:n?"{{".concat(e,"}}"):""}function Ss(t,e,n=!1){const r=new _s(t);r.run();const o=r.get();let[s]=o.literals;for(let c=0;c<o.variables.length;c++)s=s.concat($s(e,o.variables[c],n)).concat(o.literals[c+1]);return s}const Es=(t,e)=>Object.fromEntries(Object.entries(t).map(([n,r])=>[n,Ss(r,e)]));var ri=(t=>(t[t.Default=0]="Default",t[t.Skip=1]="Skip",t))(ri||{});const dn="__mia_preview_id",xs=1e6,Os={"click-element":0,"ctrl-space":0,"focus-element":0,mousedown:0,mousemove:1,"new-configuration":0,notification:0,options:0,"request-resource":0,"set-source-map":0,"tag-info":0,unload:0,update:0,updated:0};var tn;const xt=window,Ue=xt.trustedTypes,dr=Ue?Ue.createPolicy("lit-html",{createHTML:t=>t}):void 0,hn="$lit$",$e=`lit$${(Math.random()+"").slice(9)}$`,ii="?"+$e,Is=`<${ii}>`,Pe=document,rt=()=>Pe.createComment(""),it=t=>t===null||typeof t!="object"&&typeof t!="function",oi=Array.isArray,Cs=t=>oi(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",nn=`[
18
- \f\r]`,tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,hr=/-->/g,pr=/>/g,Ie=RegExp(`>|${nn}(?:([^\\s"'>=/]+)(${nn}*=${nn}*(?:[^
19
- \f\r"'\`<>=]|("|')|))|$)`,"g"),mr=/'/g,vr=/"/g,si=/^(?:script|style|textarea|title)$/i,Ts=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),Ls=Ts(1),ot=Symbol.for("lit-noChange"),K=Symbol.for("lit-nothing"),br=new WeakMap,Te=Pe.createTreeWalker(Pe,129,null,!1);function ai(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return dr!==void 0?dr.createHTML(e):e}const Ms=(t,e)=>{const n=t.length-1,r=[];let o,s=e===2?"<svg>":"",c=tt;for(let f=0;f<n;f++){const d=t[f];let h,y,k=-1,S=0;for(;S<d.length&&(c.lastIndex=S,y=c.exec(d),y!==null);)S=c.lastIndex,c===tt?y[1]==="!--"?c=hr:y[1]!==void 0?c=pr:y[2]!==void 0?(si.test(y[2])&&(o=RegExp("</"+y[2],"g")),c=Ie):y[3]!==void 0&&(c=Ie):c===Ie?y[0]===">"?(c=o??tt,k=-1):y[1]===void 0?k=-2:(k=c.lastIndex-y[2].length,h=y[1],c=y[3]===void 0?Ie:y[3]==='"'?vr:mr):c===vr||c===mr?c=Ie:c===hr||c===pr?c=tt:(c=Ie,o=void 0);const O=c===Ie&&t[f+1].startsWith("/>")?" ":"";s+=c===tt?d+Is:k>=0?(r.push(h),d.slice(0,k)+hn+d.slice(k)+$e+O):d+$e+(k===-2?(r.push(void 0),f):O)}return[ai(t,s+(t[n]||"<?>")+(e===2?"</svg>":"")),r]};class st{constructor({strings:e,_$litType$:n},r){let o;this.parts=[];let s=0,c=0;const f=e.length-1,d=this.parts,[h,y]=Ms(e,n);if(this.el=st.createElement(h,r),Te.currentNode=this.el.content,n===2){const k=this.el.content,S=k.firstChild;S.remove(),k.append(...S.childNodes)}for(;(o=Te.nextNode())!==null&&d.length<f;){if(o.nodeType===1){if(o.hasAttributes()){const k=[];for(const S of o.getAttributeNames())if(S.endsWith(hn)||S.startsWith($e)){const O=y[c++];if(k.push(S),O!==void 0){const M=o.getAttribute(O.toLowerCase()+hn).split($e),C=/([.?@])?(.*)/.exec(O);d.push({type:1,index:s,name:C[2],strings:M,ctor:C[1]==="."?js:C[1]==="?"?Ns:C[1]==="@"?Fs:It})}else d.push({type:6,index:s})}for(const S of k)o.removeAttribute(S)}if(si.test(o.tagName)){const k=o.textContent.split($e),S=k.length-1;if(S>0){o.textContent=Ue?Ue.emptyScript:"";for(let O=0;O<S;O++)o.append(k[O],rt()),Te.nextNode(),d.push({type:2,index:++s});o.append(k[S],rt())}}}else if(o.nodeType===8)if(o.data===ii)d.push({type:2,index:s});else{let k=-1;for(;(k=o.data.indexOf($e,k+1))!==-1;)d.push({type:7,index:s}),k+=$e.length-1}s++}}static createElement(e,n){const r=Pe.createElement("template");return r.innerHTML=e,r}}function Be(t,e,n=t,r){var o,s,c,f;if(e===ot)return e;let d=r!==void 0?(o=n._$Co)===null||o===void 0?void 0:o[r]:n._$Cl;const h=it(e)?void 0:e._$litDirective$;return(d==null?void 0:d.constructor)!==h&&((s=d==null?void 0:d._$AO)===null||s===void 0||s.call(d,!1),h===void 0?d=void 0:(d=new h(t),d._$AT(t,n,r)),r!==void 0?((c=(f=n)._$Co)!==null&&c!==void 0?c:f._$Co=[])[r]=d:n._$Cl=d),d!==void 0&&(e=Be(t,d._$AS(t,e.values),d,r)),e}class Ps{constructor(e,n){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var n;const{el:{content:r},parts:o}=this._$AD,s=((n=e==null?void 0:e.creationScope)!==null&&n!==void 0?n:Pe).importNode(r,!0);Te.currentNode=s;let c=Te.nextNode(),f=0,d=0,h=o[0];for(;h!==void 0;){if(f===h.index){let y;h.type===2?y=new ct(c,c.nextSibling,this,e):h.type===1?y=new h.ctor(c,h.name,h.strings,this,e):h.type===6&&(y=new Hs(c,this,e)),this._$AV.push(y),h=o[++d]}f!==(h==null?void 0:h.index)&&(c=Te.nextNode(),f++)}return Te.currentNode=Pe,s}v(e){let n=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,n),n+=r.strings.length-2):r._$AI(e[n])),n++}}class ct{constructor(e,n,r,o){var s;this.type=2,this._$AH=K,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=r,this.options=o,this._$Cp=(s=o==null?void 0:o.isConnected)===null||s===void 0||s}get _$AU(){var e,n;return(n=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&n!==void 0?n:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const n=this._$AM;return n!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=n.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,n=this){e=Be(this,e,n),it(e)?e===K||e==null||e===""?(this._$AH!==K&&this._$AR(),this._$AH=K):e!==this._$AH&&e!==ot&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Cs(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==K&&it(this._$AH)?this._$AA.nextSibling.data=e:this.$(Pe.createTextNode(e)),this._$AH=e}g(e){var n;const{values:r,_$litType$:o}=e,s=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=st.createElement(ai(o.h,o.h[0]),this.options)),o);if(((n=this._$AH)===null||n===void 0?void 0:n._$AD)===s)this._$AH.v(r);else{const c=new Ps(s,this),f=c.u(this.options);c.v(r),this.$(f),this._$AH=c}}_$AC(e){let n=br.get(e.strings);return n===void 0&&br.set(e.strings,n=new st(e)),n}T(e){oi(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let r,o=0;for(const s of e)o===n.length?n.push(r=new ct(this.k(rt()),this.k(rt()),this,this.options)):r=n[o],r._$AI(s),o++;o<n.length&&(this._$AR(r&&r._$AB.nextSibling,o),n.length=o)}_$AR(e=this._$AA.nextSibling,n){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,n);e&&e!==this._$AB;){const o=e.nextSibling;e.remove(),e=o}}setConnected(e){var n;this._$AM===void 0&&(this._$Cp=e,(n=this._$AP)===null||n===void 0||n.call(this,e))}}class It{constructor(e,n,r,o,s){this.type=1,this._$AH=K,this._$AN=void 0,this.element=e,this.name=n,this._$AM=o,this.options=s,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=K}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,n=this,r,o){const s=this.strings;let c=!1;if(s===void 0)e=Be(this,e,n,0),c=!it(e)||e!==this._$AH&&e!==ot,c&&(this._$AH=e);else{const f=e;let d,h;for(e=s[0],d=0;d<s.length-1;d++)h=Be(this,f[r+d],n,d),h===ot&&(h=this._$AH[d]),c||(c=!it(h)||h!==this._$AH[d]),h===K?e=K:e!==K&&(e+=(h??"")+s[d+1]),this._$AH[d]=h}c&&!o&&this.j(e)}j(e){e===K?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class js extends It{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===K?void 0:e}}const Rs=Ue?Ue.emptyScript:"";class Ns extends It{constructor(){super(...arguments),this.type=4}j(e){e&&e!==K?this.element.setAttribute(this.name,Rs):this.element.removeAttribute(this.name)}}class Fs extends It{constructor(e,n,r,o,s){super(e,n,r,o,s),this.type=5}_$AI(e,n=this){var r;if((e=(r=Be(this,e,n,0))!==null&&r!==void 0?r:K)===ot)return;const o=this._$AH,s=e===K&&o!==K||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,c=e!==K&&(o===K||s);s&&this.element.removeEventListener(this.name,this,o),c&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var n,r;typeof this._$AH=="function"?this._$AH.call((r=(n=this.options)===null||n===void 0?void 0:n.host)!==null&&r!==void 0?r:this.element,e):this._$AH.handleEvent(e)}}class Hs{constructor(e,n,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Be(this,e)}}const yr=xt.litHtmlPolyfillSupport;yr==null||yr(st,ct),((tn=xt.litHtmlVersions)!==null&&tn!==void 0?tn:xt.litHtmlVersions=[]).push("2.8.0");const Ws=(t,e,n)=>{var r,o;const s=(r=n==null?void 0:n.renderBefore)!==null&&r!==void 0?r:e;let c=s._$litPart$;if(c===void 0){const f=(o=n==null?void 0:n.renderBefore)!==null&&o!==void 0?o:null;s._$litPart$=c=new ct(e.insertBefore(rt(),f),f,void 0,n??{})}return c._$AI(t),c};const Us=t=>{const e=t.charAt(0);return!(e!==t.charAt(t.length-1)||e!=="'"&&e!=='"')};function Bs(t){const e=t.match(/([^.]+)/g);return n=>e.reduce((r,o)=>{let s=o;if(o.startsWith("[")&&o.endsWith("]")){const c=o.slice(1,-1),f=Number.parseInt(c);!Number.isNaN(f)&&f.toString()===c?s=f:(c.startsWith('"')&&c.endsWith('"')||c.startsWith("'")&&c.endsWith("'"))&&(s=c.slice(1,-1))}if(s==="")throw new TypeError("42",{cause:t});return typeof r=="object"&&r!==null?r[s]:void 0},n)}function Ds(t,e={}){return t.reduce((n,r,o)=>{const s=r.trim(),c=Number.parseInt(s),f=Number.parseFloat(s);if(s==="")n[o]=s;else if(Us(s))n[o]=s.slice(1,-1);else if(["true","false"].includes(s))n[o]=s==="true";else if(!Number.isNaN(c)&&c.toString()===s)n[o]=c;else if(!Number.isNaN(f)&&f.toString()===s)n[o]=f;else if(s.startsWith("{")||s.startsWith("["))try{n[o]=JSON.parse(s)}catch(d){if(d instanceof SyntaxError)throw new TypeError("43",{cause:d.message})}else n[o]=Bs(s)(e);return n},[])}function ci(t){return Array.isArray(t)?t:[t]}function Vs(t){const e=typeof t=="string"?[t]:t;return Array.isArray(e)?e:ci(e.uris)}const qs=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function Gs(t){return qs.includes(t.tag)}function Ys(t){return Array.isArray(t)?t:[t]}function ui(t,e,n){if(typeof e!="object"){t.push("".concat(e));return}Ys(e).forEach(r=>{if(typeof r!="object"){t.push("".concat(r));return}const{tag:o,attributes:s={},booleanAttributes:c=[],properties:f={}}=r,d=Gs(r),h="<".concat(o),y=d?"/>":">",k="</".concat(o,">"),S=Object.entries(s).reduce((j,[W,G])=>(j.push("".concat(W,'="').concat(G,'"')),j),[]),O=ci(c),{override:M,props:C}=Object.entries(f).reduce((j,[W,G])=>(n.has(W)?typeof G=="string"&&(j.override[W]=G):j.props[W]=G,j),{override:{},props:{}}),B=Array.from(n.keys()).map(j=>{var W;return".".concat(j,"=${").concat((W=M[j])!=null?W:j,"}")}),F=Object.entries(C).reduce((j,[W,G])=>{switch(typeof G){case"object":case"number":case"boolean":j.push(".".concat(W,"=${").concat(JSON.stringify(G),"}"));break;case"string":j.push(".".concat(W,'=${"').concat(G,'"}'));break}return j},[]);if(t.push([h,S.join(" "),O.join(" "),B.join(" "),F.join(" "),y].join(" ")),!d){const{content:j}=r;j!==void 0&&ui(t,j,n),t.push(k)}})}function zs(t,e=new Set){const n=[];return ui(n,t,e),n.join(" ")}const Js="modulepreload",Ks=function(t,e){return new URL(t,e).href},gr={},Qs=function(e,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link");o=Promise.all(n.map(c=>{if(c=Ks(c,r),c in gr)return;gr[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let k=s.length-1;k>=0;k--){const S=s[k];if(S.href===c&&(!f||S.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const y=document.createElement("link");if(y.rel=f?"stylesheet":Js,f||(y.as="script",y.crossOrigin=""),y.href=c,document.head.appendChild(y),f)return new Promise((k,S)=>{y.addEventListener("load",k),y.addEventListener("error",()=>S(new Error(`Unable to preload CSS for ${c}`)))})}))}return o.then(()=>e()).catch(s=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=s,window.dispatchEvent(c),!c.defaultPrevented)throw s})},li=(t,...e)=>{Qs(()=>import("./errors-xGUFKyGs.js"),__vite__mapDeps([]),import.meta.url).then(({default:n})=>{const r=n[t];r?console.error(r(...e)):console.error(...e)}).catch(n=>{console.error("[micro-lc][composer]: Dynamic import error while importing logger utils - ".concat(n.message))})},Xs=t=>e=>{li("0",t,e.message)},Zs={dynamicImportError:Xs,error:li},ea=Object.freeze(Object.defineProperty({__proto__:null,logger:Zs},Symbol.toStringTag,{value:"Module"}));var ta=ea;const na=()=>{const t=[];return Object.assign(t,{append:e=>{t[t.length-1]+=e},flush:()=>{t.push("")}})},ra=()=>{const t=[""];return Object.assign(t,{append:e=>{t[t.length-1]+=e},flush:()=>{t.push("")}})},ia=(t,e)=>{const n=[...t];return{literals:Object.defineProperty(n,"raw",{get:()=>n}),variables:[...e]}},wr=()=>({braceCnt:0,literals:ra(),mode:0,variables:na()}),oa=t=>{const e=()=>{const r=Array.from(t).reduce((o,s)=>{switch(o.mode){case 2:{if(s==="}"&&o.braceCnt===0){o.mode=0;break}s==="{"?o.braceCnt+=1:s==="}"&&o.braceCnt>0&&(o.braceCnt-=1),o.variables.append(s);break}case 1:{o.literals.append(s),s==="{"?(o.literals.flush(),o.variables.flush(),o.mode=2):o.mode=0;break}case 0:default:s==="$"&&(o.mode=1),o.literals.append(s)}return o},wr());return r.mode===2&&(r.literals.pop(),r.literals.append(r.variables.pop())),r.literals.forEach((o,s,c)=>{s<c.length-1&&(c[s]=o.slice(0,-2))}),r};let n=t.length===0;return{run:()=>{let r;n||(r=e(),n=!0);const{literals:o,variables:s}=r??wr();return ia(o,s)}}},sa=async(t,e="SHA-1")=>window.crypto.subtle.digest(e,new TextEncoder().encode(t)),rn=new Map,aa=async t=>{const e=await sa(t).catch(n=>{ta.logger.error("40",t,n.message)});if(!e||!rn.has(e)){const n=oa(t).run();return e&&rn.set(e,n),n}return rn.get(e)};class on extends ge{}function ca(){const t=[],e=new Proxy({},{get(n,r,o){return typeof r=="string"&&!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=new on),Reflect.get(n,r,o)}});return new Proxy(new on,{get(n,r,o){if(r==="pool")return e;const s=typeof r=="string"?Number.parseInt(r,10):Number.NaN;return Number.isNaN(s)?Reflect.get(n,r,o):(t.at(s)===void 0&&(t[s]=new on),t[s])}})}async function ua(t,{extraProperties:e,context:n={}}={}){const r=Array.isArray(e)?new Set(e):e,o=zs(t,r),s=await aa(o),c=Ds(s.variables,n),f=Ls(s.literals,...c);return(d,h)=>Ws(f,d,h)}async function la(t,e=window,n=console.error){var r;let o=[],s,c={},f=Promise.resolve();if(t.sources){const{sources:d}=t;s=!Array.isArray(d)&&typeof d!="string"?(r=d.importmap)!=null?r:{}:{};try{e.importShim.addImportMap(s)}catch(h){n(h)}o=Vs(d),o.length>0&&(f=Promise.all(o.map(h=>e.importShim(h).then(y=>{c={...c,[h]:y}}).catch(n))))}return f.then(()=>({...t,sources:{importmap:s,modules:c,uris:o}}))}async function fa(t,e,n={}){return ua(t.content,{context:n,extraProperties:new Set(Object.keys(n))}).then(o=>(o(e),null))}const da=t=>{var e;return{data:{message:t.message,name:t.name,stack:(e=t.stack)!=null?e:""},description:"preview.notifications.error.description",message:"preview.notifications.error.message",status:"error"}},fi=(t,e)=>t.send({content:da(e),type:"notification"}),di=t=>"clientX"in t&&"clientY"in t;function _r(t,e){return n=>{di(n)&&t.send({content:{bubbles:!0,cancelable:!1,clientX:n.clientX,clientY:n.clientY},type:e})}}const ha=(t,e)=>t.has(e.tagName)&&e.hasAttribute(dn),pa=(t,e,n)=>{const{document:r}=t;return o=>{let s;if(di(o)){const{clientX:c,clientY:f}=o;s=r.elementsFromPoint(c,f).reduce((d,h)=>{if(ha(n.uppercaseTags,h)){const y=h.getAttribute(dn);d.ids.push(y),d.selectors.push("[".concat(dn,'="').concat(y,'"]'))}return d},{ids:[],selectors:[]})}(n.mode.getValue()==="select"||s===void 0)&&e.send({content:s&&(s.ids.length>0?s:void 0),type:"click-element"})}};var ma=(t,e)=>({postMessage:n=>{t.postMessage(n,(e==null?void 0:e.targetOrigin)??"*",e==null?void 0:e.transfer)}}),hi=(t=>(t.Ack="ack",t.Syn="syn",t))(hi||{}),va=Object.values(hi),sn=t=>t.data,an=t=>e=>e.type===t.toString(),ba=t=>{const e=t.data;return typeof e=="object"&&e!==null&&"type"in e&&typeof e.type=="string"&&"instance"in e&&typeof e.instance=="string"&&"content"in e},ya=()=>{let t="#";for(let e=0;e<3;e++)t+=`0${Math.floor(Math.random()*Math.pow(16,2)/2).toString(16)}`.slice(-2);return t},ga=class{constructor(t,e,n,r){se(this,"__generateId");se(this,"__instance");se(this,"__colors");se(this,"__listener");se(this,"__log");se(this,"__receiver");se(this,"__subscription");se(this,"__okToWrite");se(this,"__write$");se(this,"__recv$");this.__generateId=()=>globalThis.crypto.randomUUID();const o=this.__generateId(),s=new ge,c=ln(e,"message").pipe(X(ba)).subscribe(s);this.__subscription=new ue,this.__subscription.add(c),this.__okToWrite=new ge(1),this.__write$=this.__okToWrite.pipe(Ce(1)),this.__recv$=s.asObservable(),this.__listener=t,this.__log=(r==null?void 0:r.log)&&r.log.bind(this),this.__instance=o;const f=ya();this.__colors={bg:`${f}22`,fg:f},this.__receiver=n,this.__connect(o,r!=null&&r.period?r.period:10)}__connect(t,e){const n=ns(e).subscribe(()=>this.__receiver.postMessage({content:t,instance:t,type:"syn"}));this.__subscription.add(n),this.__subscription.add(this.__recv$.pipe(fe(sn),X(an("ack")),X(({content:r})=>r===t),Ce(1)).subscribe(({instance:r})=>{this.__okToWrite.next(0),this.__subscription.add(this.__recv$.pipe(X(({data:{type:o,instance:s}})=>!va.includes(o)&&s===r)).subscribe(o=>{this.__listener(o);const{data:s}=o;s._id!==void 0&&this.__receiver.postMessage({...s,content:s,instance:t,type:"ack"})})),n.unsubscribe()})),this.__subscription.add(this.__recv$.pipe(fe(sn),X(an("syn")),X(({instance:r})=>r!==t),Ce(1)).subscribe(({content:r})=>{this.__receiver.postMessage({content:r,instance:t,type:"ack"})}))}__write(t,e){const n={};e!==void 0&&(n._id=e),this.__subscription.add(this.__write$.subscribe(()=>{var o;const r=Object.assign(t,{instance:this.__instance,...n});this.__receiver.postMessage(r),(o=this.__log)==null||o.call(this,r)}))}disconnect(){this.__subscription.unsubscribe()}send(t){this.__write(t)}ackSend(t){let e;const n=new Promise(o=>{e=o}),r=this.__generateId();return this.__subscription.add(this.__recv$.pipe(fe(sn),X(an("ack")),X(({_id:o})=>o===r),Ce(1)).subscribe(()=>e())),this.__write(t,r),n}get instance(){return this.__instance}get colors(){return this.__colors}get ready(){return Vo(this.__write$).then(()=>{})}},pi=ga;const wa=()=>({configuration:new ge,focus:new cr(void 0),infos:new ge,mocks:new ge,mode:new cr("select"),notification:new ge,setSourceMap:new ge(1),swSourceMapAck:new ge(1),updated:new Ot,uppercaseTags:new Set}),mi=t=>{let e=0;const n=t.getValue();return n==="interact"?e="select":n==="select"&&(e="interact"),t.next(e),e},_a=t=>e=>{const{data:n}=e;switch(n.type){}},ka=async(t,e)=>{const{navigator:{serviceWorker:n}}=t;return Promise.all([n.register("./service-worker.js"),n.ready.then(r=>{if(!r.active)throw new TypeError("smth went wrong on sw activation");return new pi(_a(),window.navigator.serviceWorker,r.active)})]).then(([,r])=>r)},Aa=(t,e)=>n=>{const{data:r}=n;switch(r.type){case"options":{const{content:{disableOverlay:o,redirectTo:s,timeout:c,run:f}}=r;f&&e.swSourceMapAck.next(0),o&&(Object.defineProperty(t,"__BACKOFFICE_CONFIGURATOR_DISABLE_OVERLAY__",{value:!0}),e.mode.next("interact")),c!==void 0&&Object.defineProperty(t,"__BACKOFFICE_CONFIGURATOR_PREVIEW_TIMEOUT__",{value:c});const{history:d}=t;s&&d.pushState(d.state,"",s);break}case"ctrl-space":mi(e.mode);break;case"new-configuration":e.configuration.next({...r.content,type:"reset"});break;case"update":e.configuration.next({...r.content,type:"update"});break;case"focus-element":e.focus.next(r.content);break;case"set-source-map":{const{content:o}=r;e.setSourceMap.next(Object.entries(o).reduce((s,[c,f])=>{try{const{href:d}=new URL(c,t.location.href),h=typeof f=="string"?{headers:{},query:{},to:f}:f;s[d]={originalFrom:c,...h}}catch{}return s},{}));break}}},$a=(t,e)=>new pi(Aa(t,e),t,ma(t.parent),{log(n){if(t.__BACKOFFICE_CONFIGURATOR_LOG_LEVEL__==="debug"&&console.assert(t.parent!==t),t.__BACKOFFICE_CONFIGURATOR_LOG_LEVEL__==="debug"&&Os[n.type]!==ri.Skip){const r={background:this.colors.bg,color:this.colors.fg};console.groupCollapsed("%c Msg from ".concat(t.origin," (inner) "),Object.entries(r).map(([o,s])=>"".concat(o,": ").concat(s)).join("; ")),console.info("window '".concat(t.origin,"' is sending a message of type %c ").concat(n.type," "),"background: lightgreen; color: darkgreen"),console.log(n.content),console.groupEnd()}}}),Sa=t=>e=>{e.ctrlKey&&e.key===" "&&(e.preventDefault(),mi(t.mode),t.focus.next(void 0))},Ea=t=>typeof t=="object"&&t!==null&&"libraryName"in t&&typeof t.libraryName=="string"&&"components"in t&&Array.isArray(t.components),xa=([t,e])=>at(e.then(n=>[t,n])),Oa=([t,e])=>{const n={label:t.name,properties:{},type:"layout"},{__manifest:r=Promise.resolve(n)}=e,o=r.then(s=>[e,{__manifest:{...n,...s},tag:t}]).catch(()=>[e,{__manifest:n,tag:t}]);return at(o)},Ia=(t,e)=>at(e.map(n=>[n,t.whenDefined(n.name)])).pipe(Me(xa),Me(Oa)),Ca=500,kn=(t,e)=>{e instanceof Error&&fi(t,e)},Ta=(t,e,n)=>e.pipe(Me(([,{__manifest:{label:r,description:o,descriptionLong:s,...c},tag:f}])=>(delete c.mocks,Do({info:{libraryName:f.libraryName,source:f.source,...ds({description:o,descriptionLong:s,label:r}),...c},tag:f.name}))),os(Ca),X(r=>r.length>0)).subscribe({error:r=>kn(t,r),next:r=>n(r)}),La=(t,e,n)=>n.pipe(fe(([,{__manifest:{mocks:r={}},tag:o}])=>[o.name,r])).subscribe({error:r=>kn(t,r),next:r=>{e.mocks.next(r)}});async function vi(t,e,n,{addInfo:r,tags:o}){const{subscription:s}=this;if(n)return la(n,this,c=>{kn(t,c),r([])}).then(c=>{const f=Object.entries(c.sources.modules).reduce((h,[y,k])=>{if(Ea(k.default)){const{components:S,libraryName:O}=k.default,M=S.map(C=>({libraryName:O,name:C,source:y}));h.push(...M)}return h},[]);o.forEach(h=>{f.find(y=>y.name===h)===void 0&&f.push({name:h,source:""})});const d=Ia(this.customElements,f);s.add(Ta(t,d,r)),s.add(La(t,e,d))})}const bi=(t,e)=>{const{document:n}=t;let r=e.firstElementChild;return r===null&&(r=n.createElement("div"),r.style.height="inherit",r.style.display="flex",e.appendChild(r)),r};async function pn(t,e){const n=ca(),{proxyWindow:r=this}=this;return fa({content:t,sources:{importmap:{},modules:{},uris:[]}},bi(this,e),{eventBus:n,proxyWindow:r})}function yi(t){bi(this,t).remove()}var Ma=Object.defineProperty,Pa=(t,e,n)=>e in t?Ma(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,kr=(t,e,n)=>(Pa(t,typeof e!="symbol"?e+"":e,n),n);function Ar(t,e,n){const{properties:r,attributes:o,booleanAttributes:s=[]}=t,c=Object.assign(Object.fromEntries(ei(s).map(d=>[d,!0])),{...o,...r});return e(c).map(({url:d,method:h="GET",notify:y=!1,handler:k=()=>Promise.resolve(new Response)})=>{var S;const O=Es({...d,method:h},c),M=new URL(O.pathname,(S=O.origin)!=null?S:n);return[M.href,h,(C,B)=>k(C,B).finally(()=>{y&&this.notify(gi(h,M))})]})}const ja=(t,e)=>{const{href:n,search:r}=t;return n.replace(/\?$/,"").substring(0,n.length-r.length).match(new RegExp("^".concat(e,"$")))!==null},Ra=(t,e)=>{const{href:n}=t;return n.match(new RegExp("^".concat(e.replace(/\/$/,""),"/")))!==null};class Na extends Map{constructor(e){super(),kr(this,"notify"),kr(this,"__urlMap",new Map),this.notify=e}add(e,n){var r,o;const{method:s,url:c}=e,f=(r=this.get(s))!=null?r:new Map,d=(o=this.__urlMap.get(s))!=null?o:[];f.set(c,n),d.push(c),this.set(s,f),this.__urlMap.set(s,d)}match(e){var n;const{method:r,url:o}=e,s=this.__urlMap.get(r);if(s===void 0)return;const c=s.reduce((f,d,h,y)=>{if(ja(o,d)||Ra(o,d)){if(f===void 0)return h;if(y[f].length<d.length)return h}return f},void 0);if(c!==void 0)return(n=this.get(r))==null?void 0:n.get(s[c])}}const Fa=t=>([e,n,r])=>t.add({method:n,url:e},r);async function $r(t,e,n,r){const o=Fa(t);return Array.isArray(e)?Promise.all(e.map(s=>Ar.call(t,s,n,r)).flat().map(o)).then(We):Promise.all(Ar.call(t,e,n,r).map(o)).then(We)}var Sr;const Er=(Sr=window.__BACKOFFICE_CONFIGURATOR_PREVIEW_TIMEOUT__)!=null?Sr:5e3,Ha=t=>t.includes("-"),xr=t=>({data:{tag:t},description:"preview.notifications.no-webcomponent-definition.description",message:"preview.notifications.no-webcomponent-definition.message",status:"warning"});async function Wa(t,e,n,r=[]){const{location:{href:o},fetch:s}=this,c=ti(this),f=new Na(this.notify.bind(this));await Promise.all(r.map(async h=>{var y;let k=()=>[];const S=await Promise.race([At(fn(Er)),At(e.mocks.pipe(X(([M])=>M===h),Ce(1)))]);if(S===0)this.notify(xr(h));else{const[,{fetch:M}]=S;M!==void 0&&(k=M)}const O=(y=n.get(h))!=null?y:[];return $r(f,O,k,o)})).catch(h=>h instanceof Error&&fi(t,h));const d=async(h,y)=>{var k;const S=ni(c,h),O=f.match({method:(k=y==null?void 0:y.method)!=null?k:"GET",url:S});return O!==void 0?O(S,y).then(M=>M):s(h,y)};if(this.proxyWindow){const h=Object.assign(d,{update:async y=>{let k=()=>[];if(Ha(y.tag)){const S=await Promise.race([At(fn(Er)),At(e.mocks.pipe(X(([O])=>O===y.tag),Ce(1)))]);if(S===0)this.notify(xr(y.tag));else{const[,{fetch:O}]=S;O!==void 0&&(k=O)}}return $r(f,y,k,o)}});this.fetch=h,this.proxyWindow.fetch=h}}function Ua(t,e){const{href:n,origin:r,pathname:o}=new URL(t??"",this.location.href);let s=n;return r===this.location.origin&&(s="{ your domain }".concat(o)),this.notify({data:{nextUrl:s,target:e??"[undefined]"},description:"preview.notifications.navigation-event.description.open",message:"preview.notifications.navigation-event.message",status:"default"}),this}function Ba(t,e,n){const{href:r,origin:o,pathname:s}=new URL(n);let c=r;o===this.location.origin&&(c="".concat(s)),this.notify({data:{nextUrl:c},description:"preview.notifications.navigation-event.description.pushState",message:"preview.notifications.navigation-event.message",status:"default"})}function Da(t,e,n){const{href:r,origin:o,pathname:s,search:c}=new URL(n);let f=r;o===this.location.origin&&(f="".concat(s).concat(c)),this.notify({data:{nextUrl:f},description:"preview.notifications.navigation-event.description.replaceState",message:"preview.notifications.navigation-event.message",status:"info"})}function Va(t){return new Proxy(t,{get:(e,n)=>n==="pushState"?(r,o,s)=>{Ba.call(this,r,o,new URL(s??"",new URL(this.document.baseURI,this.location.href)))}:n==="replaceState"?(r,o,s)=>{Da.call(this,r,o,new URL(s??"",new URL(this.document.baseURI,this.location.href)))}:e[n]})}class Or extends Map{get length(){return this.size}clear(){super.clear()}getItem(e){var n;return(n=super.get(e))!=null?n:null}key(){return null}removeItem(e){super.delete(e)}setItem(e,n){super.set(e,n)}}const qa=t=>t.tagName==="A";function Ga(t){const{prototype:{createElement:e}}=Document;return Document.prototype.createElement=function(r,o){const s=e.call(this,r,o);if(qa(s)){const c=()=>{var f;return t.notify({data:{href:hs(t.location.origin,new URL(s.href,t.location.href)),target:(f=s.getAttribute("target"))!=null?f:"_self"},description:"preview.notifications.anchor.description",message:"preview.notifications.anchor.message",status:"info"})};Object.defineProperty(s,"click",{get(){return c},set:We})}return s},()=>{Document.prototype.createElement=e}}function Ya(t,e){let n=t.fetch.bind(t);const r={notify:y=>e.next(y)},o=new Or,s=new Or,c=Object.assign(t,r),f=new Proxy(c,{get(y,k,S){if(k==="fetch")return n;if(k==="history")return Va.call(y,y.history);if(k==="location")return Object.entries(window.location).reduce((M,[C,B])=>(Object.defineProperty(M,C,{get:()=>B,set:F=>{C==="href"&&typeof F=="string"&&y.notify({data:{nextUrl:F,target:"_self"},description:"preview.notifications.navigation-event.description.location.href",message:"preview.notifications.navigation-event.message",status:"info"})}}),M),{});if(k==="open")return Ua.bind(y);if(k==="localStorage")return o;if(k==="sessionStorage")return s;const O=Reflect.get(y,k);return typeof O!="function"?O:function(...C){return Reflect.apply(O,this===S?t:this,C)}},set(y,k,S){return k==="fetch"?(n=S,!0):Reflect.set(y,k,S)}}),d=Object.assign(c,{proxyWindow:f}),h=Ga(d);return{sandbox:d,unpatch:h}}var za=Object.defineProperty,Ja=(t,e,n)=>e in t?za(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ir=(t,e,n)=>(Ja(t,typeof e!="symbol"?e+"":e,n),n);function Ka(t,e){const{document:n}=t,r=n.createElement("div"),o="";r.style.display=o,r.style.position="fixed",r.style.width="100vw",r.style.height="100%",r.style.backgroundColor="rgba(0, 0, 0, 0.05)",r.style.zIndex="".concat(xs);const s=()=>r.style.display===o,c=()=>s()?r.style.display="none":r.style.display=o,f=e.pipe(X(d=>t.__BACKOFFICE_CONFIGURATOR_DISABLE_OVERLAY__?d==="interact":!0)).subscribe(d=>{switch(d){case"interact":t.dispatchEvent(new Event("mousedown")),r.style.display="none";break;case"select":r.style.display=o;break;case 0:default:c();break}});return n.body.appendChild(r),{cleanup:()=>f.unsubscribe(),overlay:r}}const Qa=t=>{const e=t.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.height="inherit",t.body.appendChild(e),e};function Xa(t,e){const n=t;return Object.assign(t,{bootstrap:vi.bind(n),mocks:{fetch:new Map},postChannel:e,subscription:new ue,unmount:yi.bind(n),update:pn.bind(n)})}class Za{constructor(){Ir(this,"_results",new Map),Ir(this,"_queue",Promise.resolve())}add(e){const r=[...e].map(o=>{let s,c;const f=new Promise((d,h)=>{s=d,c=h});return this._queue=this._queue.then(()=>o()).then(d=>{s(d)}).catch(d=>c(d)),f});return Promise.allSettled(r)}get(e){return this._results.get(e)}}const ec=t=>e=>{e.forEach(n=>{n.status==="rejected"&&t.next({data:{reason:n.reason},description:"preview.notifications.lifecycle.description",message:"preview.notifications.lifecycle.message",status:"error"})})},tc=t=>e=>{t.infos.next(e),e.forEach(({tag:n})=>t.uppercaseTags.add(n.toUpperCase()))},nc=(t,e,n,r)=>{const o=new Za,s=r.configuration.pipe(ss(r.swSourceMapAck)).subscribe(([c])=>{const{configuration:f}=c,{content:d}=f;let h;if(c.type==="reset"){const{contexts:y,tags:k}=c;h=o.add([()=>yi.call(t,e),()=>vi.call(t,n,r,f,{addInfo:tc(r),tags:k}),()=>Wa.call(t,n,r,y,c.tags),()=>pn.call(t,d,e).finally(()=>r.updated.next(0))])}else{const{context:y}=c;h=o.add([()=>{var k,S,O;return(O=(k=t.proxyWindow)==null?void 0:(S=k.fetch).update)==null?void 0:O.call(S,y)},()=>pn.call(t,d,e).finally(()=>r.updated.next(0))])}h.then(ec(r.notification)).catch(We)});return()=>s.unsubscribe()},rc=t=>{const{body:e}=t;e.style.height="100%",e.style.padding="0",e.style.margin="0"},ic=(t,e)=>{const{location:{origin:n,port:r,protocol:o}}=t;return!(n!==e.origin||r!==e.port||o!==e.protocol)},gi=(t,e)=>({data:{method:t,url:e.href.substring(e.origin.length)},description:"preview.notifications.fetch-event.description",message:"preview.notifications.fetch-event.message",status:"info"}),oc=(t,e)=>{const n=ti(t),{document:r,parent:o}=t;if(o===t)return;const s=t.fetch.bind(t);t.fetch=(c,f)=>{var d;const h=ni(n,c);return ic(r,h)&&e.next(gi((d=f==null?void 0:f.method)!=null?d:"GET",h)),s(c,f)}},sc=(t,e,n)=>{rc(t.document),oc(t,n.notification);const{cleanup:r}=Ka(t,n.mode.asObservable()),o=ys(t.document,n.focus.asObservable(),n.mode.asObservable()),s=Qa(t.document),c=Xa(t,e),{sandbox:f,unpatch:d}=Ya(c,n.notification),h=nc(f,s,e,n);return{cleanup:()=>{h(),d(),o(),r()},sandboxedWindow:f}};function ac(t){const e=new ue;return e.add(t.updated.subscribe(()=>this.send({content:{},type:"updated"}))),e.add(t.infos.subscribe(n=>this.send({content:n,type:"tag-info"}))),e.add(t.notification.subscribe(n=>this.send({content:n,type:"notification"}))),e.add(t.mode.subscribe(n=>this.send({content:{mode:n},type:"ctrl-space"}))),()=>{this.send({content:{},type:"unload"}),e.unsubscribe()}}function cc(t){const e=new ue;return e.add(t.setSourceMap.subscribe(n=>{this.ackSend({content:n,type:"set-source-map"}).then(()=>t.swSourceMapAck.next(0)).catch(We)})),()=>e.unsubscribe()}function uc(t,...e){const n=e.map(({type:r,handler:o})=>(t.addEventListener(r,o),()=>t.removeEventListener(r,o)));return()=>{n.forEach(r=>r())}}function lc(t,e){t.addEventListener("unload",()=>{t.subscription.unsubscribe(),e.forEach(n=>n())})}(async t=>{const e=wa(),n=await ka(t),r=$a(t,e),o=cc.call(n,e),s=ac.call(r,e),c=uc(t,{handler:Sa(e),type:"keydown"},{handler:_r(r,"mousemove"),type:"mousemove"},{handler:_r(r,"mousedown"),type:"mousedown"},{handler:pa(t,r,e),type:"mousedown"}),{cleanup:f,sandboxedWindow:d}=sc(t,r,e);lc(d,[f,c,s,o,()=>r.disconnect(),()=>n.send({content:{},type:"unload-client"}),()=>n.disconnect()])})(window).catch(t=>{throw console.error("[preview] Error Boundary: ".concat(String(t))),t});
20
- function __vite__mapDeps(indexes) {
21
- if (!__vite__mapDeps.viteFileDeps) {
22
- __vite__mapDeps.viteFileDeps = []
23
- }
24
- return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
25
- }