@ezeep/ezeep-js 1.0.267 → 1.0.269
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-D7ISNeUi.js +16 -0
- package/dist/cjs/ezeep.cjs.js +43 -12
- package/dist/cjs/ezp-auth_15.cjs.entry.js +27992 -26047
- package/dist/cjs/index-dv_gozsq.js +4694 -0
- package/dist/cjs/loader.cjs.js +7 -17
- package/dist/collection/collection-manifest.json +19 -18
- package/dist/collection/components/ezp-auth/ezp-auth.js +266 -245
- package/dist/collection/components/ezp-backdrop/ezp-backdrop.js +93 -81
- package/dist/collection/components/ezp-dialog/ezp-dialog.js +226 -210
- package/dist/collection/components/ezp-icon/ezp-icon.js +117 -102
- package/dist/collection/components/ezp-icon-button/ezp-icon-button.js +181 -159
- package/dist/collection/components/ezp-input/ezp-input.css +5 -5
- package/dist/collection/components/ezp-input/ezp-input.js +227 -205
- package/dist/collection/components/ezp-label/ezp-label.css +5 -5
- package/dist/collection/components/ezp-label/ezp-label.js +151 -132
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.css +5 -5
- package/dist/collection/components/ezp-printer-selection/ezp-printer-selection.js +1134 -1107
- package/dist/collection/components/ezp-printing/ezp-printing.css +183 -125
- package/dist/collection/components/ezp-printing/ezp-printing.js +872 -807
- package/dist/collection/components/ezp-select/ezp-select.css +4 -4
- package/dist/collection/components/ezp-select/ezp-select.js +376 -351
- package/dist/collection/components/ezp-status/ezp-status.css +5 -5
- package/dist/collection/components/ezp-status/ezp-status.js +238 -223
- package/dist/collection/components/ezp-stepper/ezp-stepper.css +5 -5
- package/dist/collection/components/ezp-stepper/ezp-stepper.js +256 -243
- package/dist/collection/components/ezp-text-button/ezp-text-button.js +196 -174
- package/dist/collection/components/ezp-upload/ezp-upload.js +134 -141
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.css +5 -5
- package/dist/collection/components/ezp-user-menu/ezp-user-menu.js +180 -185
- package/dist/collection/services/auth.js +133 -133
- package/dist/collection/services/print.js +167 -167
- package/dist/collection/services/user.js +16 -16
- package/dist/collection/shared/global.js +7 -7
- package/dist/collection/types/shared/types.d.ts +1 -0
- package/dist/collection/utils/utils.js +89 -89
- package/dist/components/auth.js +1 -0
- package/dist/components/ezp-auth.d.ts +11 -0
- package/dist/components/ezp-auth.js +1 -0
- package/dist/components/ezp-auth2.js +1 -0
- package/dist/components/ezp-backdrop.d.ts +11 -0
- package/dist/components/ezp-backdrop.js +1 -0
- package/dist/components/ezp-backdrop2.js +1 -0
- package/dist/components/ezp-dialog.d.ts +11 -0
- package/dist/components/ezp-dialog.js +1 -0
- package/dist/components/ezp-dialog2.js +1 -0
- package/dist/components/ezp-icon-button.d.ts +11 -0
- package/dist/components/ezp-icon-button.js +1 -0
- package/dist/components/ezp-icon-button2.js +1 -0
- package/dist/components/ezp-icon.d.ts +11 -0
- package/dist/components/ezp-icon.js +1 -0
- package/dist/components/ezp-icon2.js +1 -0
- package/dist/components/ezp-input.d.ts +11 -0
- package/dist/components/ezp-input.js +1 -0
- package/dist/components/ezp-input2.js +1 -0
- package/dist/components/ezp-label.d.ts +11 -0
- package/dist/components/ezp-label.js +1 -0
- package/dist/components/ezp-label2.js +1 -0
- package/dist/components/ezp-printer-selection.d.ts +11 -0
- package/dist/components/ezp-printer-selection.js +1 -0
- package/dist/components/ezp-printer-selection2.js +1 -0
- package/dist/components/ezp-printing.d.ts +11 -0
- package/dist/components/ezp-printing.js +1 -0
- package/dist/components/ezp-select.d.ts +11 -0
- package/dist/components/ezp-select.js +1 -0
- package/dist/components/ezp-select2.js +1 -0
- package/dist/components/ezp-status.d.ts +11 -0
- package/dist/components/ezp-status.js +1 -0
- package/dist/components/ezp-status2.js +1 -0
- package/dist/components/ezp-stepper.d.ts +11 -0
- package/dist/components/ezp-stepper.js +1 -0
- package/dist/components/ezp-stepper2.js +1 -0
- package/dist/components/ezp-text-button.d.ts +11 -0
- package/dist/components/ezp-text-button.js +1 -0
- package/dist/components/ezp-text-button2.js +1 -0
- package/dist/components/ezp-upload.d.ts +11 -0
- package/dist/components/ezp-upload.js +1 -0
- package/dist/components/ezp-upload2.js +1 -0
- package/dist/components/ezp-user-menu.d.ts +11 -0
- package/dist/components/ezp-user-menu.js +1 -0
- package/dist/components/ezp-user-menu2.js +1 -0
- package/dist/components/i18next.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/directives/angular-component-lib/utils.ts +33 -14
- package/dist/directives/proxies.ts +231 -111
- package/dist/esm/app-globals-CpP67t2l.js +14 -0
- package/dist/esm/ezeep.js +41 -12
- package/dist/esm/ezp-auth_15.entry.js +27996 -26049
- package/dist/esm/index-BTfWEHH9.js +4677 -0
- package/dist/esm/loader.js +7 -15
- package/dist/esm-es5/app-globals-CpP67t2l.js +1 -0
- package/dist/esm-es5/ezeep.js +1 -1
- package/dist/esm-es5/ezp-auth_15.entry.js +2 -2
- package/dist/esm-es5/index-BTfWEHH9.js +13 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/ezeep/ezeep.esm.js +1 -1
- package/dist/ezeep/ezeep.js +16 -19
- package/dist/ezeep/p-2177b8f4.system.entry.js +7 -0
- package/dist/ezeep/p-5ok9OZMg.system.js +1 -0
- package/dist/ezeep/p-BTfWEHH9.js +2 -0
- package/dist/ezeep/p-CfQRcOh8.system.js +1 -0
- package/dist/ezeep/p-CpP67t2l.js +1 -0
- package/dist/ezeep/p-DhXN1yGM.system.js +13 -0
- package/dist/ezeep/p-de8f6583.entry.js +1 -0
- package/dist/ezeep/types/shared/types.d.ts +1 -0
- package/dist/types/components/ezp-auth/ezp-auth.d.ts +20 -20
- package/dist/types/components/ezp-backdrop/ezp-backdrop.d.ts +7 -7
- package/dist/types/components/ezp-dialog/ezp-dialog.d.ts +38 -38
- package/dist/types/components/ezp-icon/ezp-icon.d.ts +24 -24
- package/dist/types/components/ezp-icon-button/ezp-icon-button.d.ts +23 -23
- package/dist/types/components/ezp-input/ezp-input.d.ts +38 -38
- package/dist/types/components/ezp-label/ezp-label.d.ts +21 -21
- package/dist/types/components/ezp-printer-selection/ezp-printer-selection.d.ts +116 -116
- package/dist/types/components/ezp-printing/ezp-printing.d.ts +83 -83
- package/dist/types/components/ezp-select/ezp-select.d.ts +80 -80
- package/dist/types/components/ezp-status/ezp-status.d.ts +40 -40
- package/dist/types/components/ezp-stepper/ezp-stepper.d.ts +65 -65
- package/dist/types/components/ezp-text-button/ezp-text-button.d.ts +25 -25
- package/dist/types/components/ezp-upload/ezp-upload.d.ts +38 -38
- package/dist/types/components/ezp-user-menu/ezp-user-menu.d.ts +43 -43
- package/dist/types/components.d.ts +493 -50
- package/dist/types/services/auth.d.ts +27 -27
- package/dist/types/services/print.d.ts +32 -32
- package/dist/types/services/user.d.ts +4 -4
- package/dist/types/shared/types.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +335 -40
- package/dist/types/utils/utils.d.ts +6 -6
- package/loader/cdn.js +1 -2
- package/loader/index.cjs.js +1 -2
- package/loader/index.d.ts +13 -1
- package/loader/index.es2017.js +1 -2
- package/loader/index.js +1 -2
- package/package.json +10 -10
- package/www/build/ezeep.esm.js +1 -1
- package/www/build/ezeep.js +16 -19
- package/www/build/p-2177b8f4.system.entry.js +7 -0
- package/www/build/p-256870db.js +1 -0
- package/www/build/p-5ok9OZMg.system.js +1 -0
- package/www/build/p-BTfWEHH9.js +2 -0
- package/www/build/p-CfQRcOh8.system.js +1 -0
- package/www/build/p-CpP67t2l.js +1 -0
- package/www/build/p-DhXN1yGM.system.js +13 -0
- package/www/build/p-de8f6583.entry.js +1 -0
- package/www/index.html +1 -1
- package/dist/cjs/app-globals-53afb196.js +0 -15
- package/dist/cjs/index-1f953145.js +0 -1482
- package/dist/custom-elements/index.d.ts +0 -129
- package/dist/custom-elements/index.js +0 -34555
- package/dist/esm/app-globals-28960cbc.js +0 -13
- package/dist/esm/index-3ac1b749.js +0 -1450
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/app-globals-28960cbc.js +0 -1
- package/dist/esm-es5/index-3ac1b749.js +0 -1
- package/dist/ezeep/p-0cc2026d.system.js +0 -1
- package/dist/ezeep/p-312f40d7.js +0 -1
- package/dist/ezeep/p-4a7d6c3a.system.entry.js +0 -7
- package/dist/ezeep/p-84bd195a.system.js +0 -1
- package/dist/ezeep/p-a4d37138.js +0 -1
- package/dist/ezeep/p-ded04529.system.js +0 -1
- package/dist/ezeep/p-e20ee337.entry.js +0 -1
- package/loader/package.json +0 -10
- package/www/build/p-0cc2026d.system.js +0 -1
- package/www/build/p-312f40d7.js +0 -1
- package/www/build/p-4a7d6c3a.system.entry.js +0 -7
- package/www/build/p-84bd195a.system.js +0 -1
- package/www/build/p-a4d37138.js +0 -1
- package/www/build/p-ded04529.system.js +0 -1
- package/www/build/p-e20ee337.entry.js +0 -1
- /package/dist/ezeep/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
- /package/www/build/{p-50ea2036.system.js → p-YWpyar7R.system.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,n,e,r){function i(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,o){function u(t){try{a(r.next(t))}catch(t){o(t)}}function c(t){try{a(r["throw"](t))}catch(t){o(t)}}function a(t){t.done?e(t.value):i(t.value).then(u,c)}a((r=r.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,u=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return u.next=c(0),u["throw"]=c(1),u["return"]=c(2),typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function c(t){return function(n){return a([t,n])}}function a(c){if(r)throw new TypeError("Generator is already executing.");while(u&&(u=0,c[0]&&(e=0)),e)try{if(r=1,i&&(o=c[0]&2?i["return"]:c[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,c[1])).done)return o;if(i=0,o)c=[c[0]&2,o.value];switch(c[0]){case 0:case 1:o=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;i=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(o=e.trys,o=o.length>0&&o[o.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){e.label=c[1];break}if(c[0]===6&&e.label<o[1]){e.label=o[1];o=c;break}if(o&&e.label<o[2]){e.label=o[2];e.ops.push(c);break}if(o[2])e.ops.pop();e.trys.pop();continue}c=n.call(t,e)}catch(t){c=[6,t];i=0}finally{r=o=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var n=this;var e=function(){return __awaiter(n,void 0,void 0,(function(){var t;return __generator(this,(function(n){t=new FontFace("Inter","url(https://rsms.me/inter/font-files/Inter-roman.var.woff2)",{style:"normal",weight:"400 600"});t.load().then((function(){document.fonts.add(t)}));return[2]}))}))};var r=e||function(){};var i=t("g",r)}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const t="ezeep",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!1,hostListenerTargetDocument:!0,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propChangeCallback:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!0,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!0,slotChildNodesFix:!1,slotRelocation:!1,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!0};var n={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},o=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(o||{}),s=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(s||{}),r="type",i="value",l="serialized:";function c(t,e,n){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,e);if(o&&(!n||o.get))return o;t=Object.getPrototypeOf(t)}}var a,u,f=(t,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((e.state||e.prop)&&(31&s||32&s)){const e=t[o],s=c(Object.getPrototypeOf(t),o,!0)||Object.getOwnPropertyDescriptor(t,o);s&&Object.defineProperty(t,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),n.i.has(o)?t[o]=n.i.get(o):void 0!==e&&(t[o]=e)}}))},d=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},h=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&f(t,n))},p=(t,n)=>{const o={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(o.m=0),e.method&&e.lazyLoad&&(o.v=new Promise((t=>o.$=t))),e.asyncLoading&&(o.S=new Promise((t=>o.j=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(o.O=[]);const s=o;return t.__stencil__getHostRef=()=>s,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&f(t,o),s},m=(t,e)=>e in t,v=(t,e)=>(a||console.error)(t,e),g=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],$=(...t)=>console.error(...g,...t),b=(...t)=>console.warn(...g,...t),y=(...t)=>console.info(...g,...t),w=new Map,S=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void $(`Trying to lazily load component <${t.C}> with style mode "${n.k}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&w.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||w.set(r,t),t[s])),(t=>{v(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},j=new Map,x=[],O="s-id",C="sty-id",_="c-id",E="_stencilDocData",k={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",T="http://www.w3.org/1999/xlink",L=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},M=R.HTMLElement||class{},A={u:0,N:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},D=e.shadowDom,I=t=>Promise.resolve(t),H=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),F=!!H&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),P=0,U=!1,z=[],B=[],V=[],W=(t,e)=>n=>{t.push(n),U||(U=!0,e&&4&A.u?q(X):A.raf(X))},Y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){v(t)}t.length=0},J=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){v(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},X=()=>{if(e.asyncQueue&&P++,Y(z),e.asyncQueue){const t=2==(6&A.u)?performance.now()+14*Math.ceil(.1*P):1/0;J(B,t),J(V,t),B.length>0&&(V.push(...B),B.length=0),(U=z.length+B.length+V.length>0)?A.raf(X):P=0}else Y(B),(U=z.length>0)&&A.raf(X)},q=t=>I().then(t),K=W(z,!1),Q=W(B,!0),G=t=>{const e=new URL(t,A.N);return e.origin!==R.location.origin?e.href:e.pathname};function Z(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const o=this.attachShadow(n);void 0===u&&(u=null),u&&(F?o.adoptedStyleSheets.push(u):o.adoptedStyleSheets=[...o.adoptedStyleSheets,u])}var tt=t=>{const e=Tt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&nt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!ot(t,it(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Tt(t,"childNodes").length&&tt(t)}},et=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function nt(t,e,n){let o,s=0,r=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||it(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...nt(o.childNodes,e,n)]}return r}var ot=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)it(s)!==e||!n&&s["s-sr"]||o.push(s);return o},st=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,rt=(t,n,o,s)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=Tt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Tt(i,"childNodes"),e=[r];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>l.call(i,t)))}else l.call(i,r);t["s-ol"]=r,t["s-sh"]=n["s-hn"]},it=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function lt(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:et(s.childNodes)).forEach((t=>{o===it(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function ct(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function at(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=it(t)||"";return{slotNode:nt(Tt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ut=t=>{ft(t),dt(t),mt(t),pt(t),bt(t),vt(t),gt(t),$t(t),yt(t),wt(t),ht(t)},ft=t=>{if(t.__cloneNode)return;const n=t.__cloneNode=t.cloneNode;t.cloneNode=function(t){const o=!!e.shadowDom&&this.shadowRoot&&D,s=n.call(this,!!o&&t);if(e.slot&&!o&&t){let t,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)t=i[o]["s-nr"],n=r.every((t=>!i[o][t])),t&&(e.appendChildSlotFix&&s.__appendChild?s.__appendChild(t.cloneNode(!0)):s.appendChild(t.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},dt=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=at(t,this);if(n){rt(t,n);const o=ot(n,e),s=o[o.length-1],r=Tt(s,"parentNode"),i=Tt(r,"insertBefore")(t,s.nextSibling);return ct(n),tt(this),i}return this.__appendChild(t)})},ht=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&nt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void tt(this)):this.__removeChild(t)})},pt=t=>{t.__prepend||(t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=it(e))||"",o=nt(Tt(this,"childNodes"),this.tagName,n)[0];if(o){rt(e,o,!0);const t=ot(o,n)[0],s=Tt(t,"parentNode"),r=Tt(s,"insertBefore")(e,Tt(t,"nextSibling"));return ct(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},mt=t=>{t.__append||(t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))})},vt=t=>{if(t.__insertAdjacentHTML)return;const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},gt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},$t=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=at(t,this),s=this.__childNodes?this.childNodes:et(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(r=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){rt(t,o);const n=Tt(e,"parentNode");Tt(n,"insertBefore")(t,e),ct(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},bt=t=>{if(t.__insertAdjacentElement)return;const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},yt=t=>{Nt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:et(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},wt=t=>{class e extends Array{item(t){return this[t]}}Nt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Nt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Nt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Nt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...et(this.__childNodes)),t}})},St=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(jt(t),Ot(t),_t(t),t.nodeType===Node.ELEMENT_NODE&&(xt(t),Ct(t)))},jt=t=>{t&&!t.__nextSibling&&(Nt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},xt=t=>{t&&!t.__nextElementSibling&&(Nt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},Ot=t=>{t&&!t.__previousSibling&&(Nt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},Ct=t=>{t&&!t.__previousElementSibling&&(Nt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},_t=t=>{t&&!t.__parentNode&&(Nt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},Et=["children","nextElementSibling","previousElementSibling"],kt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Nt(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Et.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):kt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Tt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var Lt=0,Rt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${Lt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Mt(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var At=new WeakMap,Dt=(t,e,n)=>{let o=j.get(t);H&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,j.set(t,o)},It=(t,n,o)=>{var s,r,i;const l=Ft(n,o),c=j.get(l);if(!e.attachStyles||!R.document)return l;if(t=11===t.nodeType?t:R.document,c)if("string"==typeof c){let o,i=At.get(t=t.head||t);i||At.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${C}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=A.T)?s:Mt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(C,l),!(1&n.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(o,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(H){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),F?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n&&!e.hotModuleReplacement?n.textContent=c+n.textContent:t.prepend(o)}else t.append(o);1&n.u&&t.insertBefore(o,null),4&n.u&&(o.textContent+=N),i&&i.add(l)}}else if(e.constructableCSS){let n=At.get(t);if(n||At.set(t,n=new Set),!n.has(l)){const o=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let s;if(c.constructor===o.CSSStyleSheet)s=c;else{s=new o.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}if(F?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],n.add(l),e.hydrateClientSide&&"host"in t){const e=t.querySelector(`[${C}="${l}"]`);e&&Q((()=>e.remove()))}}}return l},Ht=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Rt("attachStyles",n.C),i=It(e.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.k);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ft=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Pt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Ut=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${C}]`);let e=0;for(;e<t.length;e++)Dt(t[e].getAttribute(C),Pt(t[e].innerHTML),!0)},zt=t=>"object"==(t=typeof t)||"function"===t,Bt=(t,n,...o)=>{"string"==typeof t&&(t=to(t));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof t&&!zt(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&$("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].L+=s:a.push(l?Vt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Kt(n),e.vdomKey&&n.key&&(r=n.key),e.slotRelocation&&n.name&&(i=n.name),e.vdomClass)){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}if(e.isDev&&a.some(Yt)&&$("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),e.vdomFunctional&&"function"==typeof t)return t(null===n?{}:n,a,Jt);const f=Vt(t,null);return f.R=n,a.length>0&&(f.M=a),e.vdomKey&&(f.A=r),e.slotRelocation&&(f.D=i),f},Vt=(t,n)=>{const o={u:0,I:t,L:null!=n?n:null,F:null,M:null};return e.vdomAttribute&&(o.R=null),e.vdomKey&&(o.A=null),e.slotRelocation&&(o.D=null),o},Wt={},Yt=t=>t&&t.I===Wt,Jt={forEach:(t,e)=>t.map(Xt).forEach(e),map:(t,e)=>t.map(Xt).map(e).map(qt)},Xt=t=>({vattrs:t.R,vchildren:t.M,vkey:t.A,vname:t.D,vtag:t.I,vtext:t.L}),qt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Bt(t.vtag,e,...t.vchildren||[])}const e=Vt(t.vtag,t.vtext);return e.R=t.vattrs,e.M=t.vchildren,e.A=t.vkey,e.D=t.vname,e},Kt=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const o=e.indexOf("type"),s=e.indexOf("min"),r=e.indexOf("max"),i=e.indexOf("step");(n<o||n<s||n<r||n<i)&&b('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Qt=(t,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(_),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Zt({u:0,P:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),F:i,R:{class:i.className||""}}),n.push(f),i.removeAttribute(_),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.R.class+=" "+h);const r=f.F.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(te(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.F["s-sn"]=r,f.F.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.F)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)Qt(t,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)Qt(t,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=Zt({P:u[1],U:u[2],B:u[3],V:u[4]||"0",F:i,R:null,M:null,A:null,D:null,I:null,L:null}),"t"===a?(f.F=ne(i,3),f.F&&3===f.F.nodeType&&(f.L=f.F.textContent,n.push(f),i.remove(),l===f.P&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.F))):"c"===a?(f.F=ne(i,8),f.F&&8===f.F.nodeType&&(n.push(f),i.remove())):f.P===l&&("s"===a?te(i["s-sn"]=u[5]||"",u[2],f,i,t,n,o,s,c):"r"===a&&(e.shadowDom&&s?i.remove():e.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(t&&"style"===t.I){const e=Vt(null,i.textContent);e.F=i,e.V="0",t.M=[e]}return t},Gt=(t,e)=>{if(1===t.nodeType){const n=t[O]||t.getAttribute(O);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Gt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Gt(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Zt=t=>({u:0,P:null,U:null,B:null,V:"0",F:null,R:null,M:null,A:null,D:null,I:null,L:null,...t});function te(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.D=t||null,o.I="slot";const u=(null==r?void 0:r.F)?r.F["s-id"]||r.F.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.F=R.document.createElement(o.I);o.D&&o.F.setAttribute("name",t),r.F.shadowRoot&&u&&u!==o.P?Tt(r.F,"insertBefore")(e,Tt(r.F,"children")[0]):Tt(Tt(s,"parentNode"),"insertBefore")(e,s),ee(a,n,t,s,o.P),s.remove(),"0"===o.B&&(c[o.V]=o.F)}else{const e=o.F,i=u&&u!==o.P&&r.F.shadowRoot;ee(a,n,t,s,i?u:o.P),lt(s),i&&r.F.insertBefore(e,r.F.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var ee=(t,e,n,o,s)=>{var r,i;let l=o.nextSibling;if(t[e]=t[e]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},ne=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},oe=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),se="-shadowcsshost",re="-shadowcssslotted",ie="-shadowcsscontext",le=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ce=RegExp("("+se+le,"gim"),ae=RegExp("("+ie+le,"gim"),ue=RegExp("("+re+le,"gim"),fe=se+"-no-combinator",de=/-shadowcsshost-no-combinator([^\s]*)/,he=[/::shadow/g,/::content/g],pe=/__part-(\d+)__/g,me=/-shadowcsshost/gim,ve=t=>{const e=oe(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},ge=/\/\*\s*[\s\S]*?\*\//g,$e=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,be=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ye=/([{}])/g,we=/(^.*?[^\\])??((:+)(.*)|$)/,Se="%BLOCK%",je=(t,e)=>{const n=xe(t);let o=0;return n.escapedString.replace(be,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+Se)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=e({selector:s,content:r});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${i}`}))},xe=t=>{const e=t.split(ye),n=[],o=[];let s=0,r=[];for(let t=0;t<e.length;t++){const i=e[t];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(Se),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(Se)),{escapedString:n.join(""),blocks:o}},Oe=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),o=[];for(let s=0;s<e.length;s++){const r=e[s].trim();if(!r)break;o.push(n(fe,r,t[3]))}return o.join(",")}return fe+t[3]})),Ce=(t,e,n)=>t+e.replace(se,"")+n,_e=(t,e,n)=>e.indexOf(se)>-1?Ce(t,e,n):t+e+n+", "+e+" "+t+n,Ee=(t,e)=>t.replace(we,((t,n="",o,s="",r="")=>n+e+s+r)),ke=(t,e,n,o)=>je(t,(t=>{let s=t.selector,r=t.content;return"@"!==t.selector[0]?s=((t,e,n,o)=>t.split(",").map((t=>o&&t.indexOf("."+o)>-1?t.trim():((t,e)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(e).test(t))(t,e)?((t,e,n)=>{const o="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),s=t=>{let s=t.trim();if(!s)return"";if(t.indexOf(fe)>-1)s=((t,e,n)=>{if(me.lastIndex=0,me.test(t)){const e="."+n;return t.replace(de,((t,n)=>Ee(n,e))).replace(me,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(me,"");e.length>0&&(s=Ee(e,o))}return s},r=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,o)=>{const s=`__part-${n}__`;return e.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((t,o)=>{const s=`__ph-${n}__`;return e.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,o,s)=>{const r=`__ph-${n}__`;return e.push(s),n++,o+r})),placeholders:e}})(t);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=r.content).indexOf(fe)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(fe)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(pe)&&(u||f.indexOf(fe)>-1),l+=u?s(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(r.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(r=ke(t.content,e,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Ne=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Te=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match($e)||[])(t);t=(t=>t.replace(ge,""))(t);const r=[];{const e=t=>{const e=`/*!@___${r.length}___*/`;return r.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=je(t,(t=>"@"!==t.selector[0]?e(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=je(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(ue,((...t)=>{if(t[2]){const e=t[2].trim(),s=n+e+t[3];let r="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return fe+t[3]})),{selectors:o,cssText:t}})(t=(t=>Oe(t,ae,_e))(t=(t=>Oe(t,ce,Ce))(t=(t=>{const e=[];t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const o=`__supports_${e.length}__`;return e.push(n),`@supports selector(${o})`}));const n=ve("::slotted"),o=ve(":host"),s=ve(":host-context");return t=t.replace(s,"$1"+ie).replace(o,"$1"+se).replace(n,"$1"+re),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>he.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=ke(t,e,n,o)),{cssText:(t=(t=Ne(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Ne(t.orgSelector,n),updatedSelector:Ne(t.updatedSelector,n)})))}})(t,e,n,o);return t=[i.cssText,...s].join("\n"),r.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),i.slottedSelectors.forEach((e=>{const n=RegExp(oe(e.orgSelector)+"(?=\\s*[,{]|$)","g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return je(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=e.exec(n));){const e=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return t.selector=n.join(", "),t}))})(t)},Le=t=>x.map((e=>e(t))).find((t=>!!t)),Re=t=>{if(!t)return;const e=Object.keys(t);if(0===e.length)return;let n=!1;for(const o of e){if(n)break;for(const e of t[o])if("string"==typeof e){n=!0;break}}if(!n)return t;const o={};for(const n of e)o[n]=t[n].map((t=>"string"==typeof t?{[t]:0}:t));return o},Me=class t{static fromLocalValue(e){const n=e[r],o=i in e?e[i]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,r=t.fromLocalValue(s);e.set(o,r)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const e of o)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(r))return!1;const e=t[r];return!!Object.values({...o,...s}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(i))}};var Ae,De,Ie,He=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(l)?t=function(t){return"string"==typeof t&&t.startsWith(l)?Me.fromLocalValue(JSON.parse(function(t){const e=atob(t),n=new Uint8Array(e.length);for(let t=0;t<e.length;t++)n[t]=e.charCodeAt(t);return(new TextDecoder).decode(n)}(t.slice(11)))):t}(t):null==t||zt(t)?t:e.propBoolean&&4&n?(e.formAssociated&&o&&"string"==typeof t||"false"!==t)&&(""===t||!!t):e.propNumber&&2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:e.propString&&1&n?t+"":t,Fe=t=>{var n;return e.lazyLoad?null==(n=d(t))?void 0:n.$hostElement$:t},Pe=(t,n,o)=>{const s=Fe(t);return{emit:t=>(e.isDev&&!s.isConnected&&b(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Ue(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},Ue=(t,e,n)=>{const o=A.ce(e,n);return t.dispatchEvent(o),o},ze=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=m(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Ve(o);let i=Ve(s);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];i.push(e),r.forEach((t=>{t.startsWith(e)&&i.push(t)})),i=[...new Set(i)].filter((t=>t)),n.add(...i)}else n.remove(...r.filter((t=>t&&!i.includes(t)))),n.add(...i.filter((t=>t&&!r.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in o)s&&null!=s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)s&&hn(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr&&"a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let r;if(e.member){const e=d(t);if(e&&e.o&&e.o.t){const t=e.o.t[o];t&&t[1]&&(r=t[1])}}return r||(r=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(r)||t.removeAttribute(r):t.setAttribute(r,!0===s?"":s))}if(e.vdomPropOrAttr&&"p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}if(e.vdomPropOrAttr){const l=zt(s);if((c||l&&null!==s)&&!r)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let u=!1;e.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(T,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(T,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):m(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(We);n=n.replace(Ye,""),o&&A.rel(t,n,o,e),s&&A.ael(t,n,s,e)}},Be=/\s/,Ve=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Be):[]),We="Capture",Ye=RegExp(We+"$"),Je=(t,n,o,s)=>{const r=11===n.F.nodeType&&n.F.host?n.F.host:n.F,i=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of Xe(Object.keys(i)))t in l||ze(r,t,i[t],void 0,o,n.u,s);for(const t of Xe(Object.keys(l)))ze(r,t,i[t],l[t],o,n.u,s)};function Xe(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var qe=!1,Ke=!1,Qe=!1,Ge=!1,Ze=[],tn=[],en=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!qe&&(Qe=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.F&&$(`The JSX ${null!==r.L?`"${r.L}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),e.vdomText&&null!=r.L)i=r.F=R.document.createTextNode(r.L);else if(e.slotRelocation&&1&r.u)i=r.F=e.isDebug||e.hydrateServerSide?gn(r):R.document.createTextNode(""),e.vdomAttribute&&Je(null,r,Ge);else{if(e.svg&&!Ge&&(Ge="svg"===r.I),!R.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(i=r.F=e.svg?R.document.createElementNS(Ge?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!qe&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!qe&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Ge&&"foreignObject"===r.I&&(Ge=!1),e.vdomAttribute&&Je(null,r,Ge),(e.scoped||e.hydrateServerSide)&&null!=Ae&&void 0!==Ae&&i["s-si"]!==Ae&&i.classList.add(i["s-si"]=Ae),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=en(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Ge=!1:"foreignObject"===i.tagName&&(Ge=!0))}return i["s-hn"]=Ie,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=De,i["s-sn"]=r.D||"",i["s-rf"]=null==(s=r.R)?void 0:s.ref,lt(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.F&&nn(t.F),(e.scoped||e.hydrateServerSide)&&mn(De,i,n.F,null==t?void 0:t.F)),i},nn=t=>{A.u|=1;const e=t.closest(Ie.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(pn(e,t,null!=n?n:null),t["s-sh"]=void 0,Qe=!0)}A.u&=-2},on=(t,e)=>{A.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ie&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Ie&&o["s-ol"]&&(pn(cn(o).parentNode,o,cn(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Qe=!0),e&&on(o,e)}A.u&=-2},sn=(t,n,o,s,r,i)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ie&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=en(null,o,r),l&&(s[r].F=l,pn(c,l,e.slotRelocation?cn(n):n)))},rn=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.F;dn(n),t&&(e.slotRelocation&&(Ke=!0,t["s-ol"]?t["s-ol"].remove():on(t,!0)),t.remove())}}},ln=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.D===n.D:e.vdomKey&&!o?t.A===n.A:(o&&!t.A&&n.A&&(t.A=n.A),!0)),cn=t=>t&&t["s-ol"]||t,an=(t,n,o=!1)=>{const s=n.F=t.F,r=t.M,i=n.M,l=n.I,c=n.L;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.L!==c&&(s.data=c):(e.svg&&(Ge="svg"===l||"foreignObject"!==l&&Ge),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!qe&&t.D!==n.D&&(n.F["s-sn"]=n.D||"",nn(n.F.parentElement)),Je(t,n,Ge,o)),e.updatable&&null!==r&&null!==i?((t,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];const $="template"===o.I?t.content:t;for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(ln(h,v,r))an(h,v,r),h=n[++c],v=s[++a];else if(ln(p,g,r))an(p,g,r),p=n[--d],g=s[--m];else if(ln(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||on(h.F.parentNode,!1),an(h,g,r),pn($,h.F,p.F.nextSibling),h=n[++c],g=s[--m];else if(ln(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||on(p.F.parentNode,!1),an(p,v,r),pn($,p.F,h.F),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=en(n&&n[a],o,u):(an(l,v,r),n[u]=void 0,i=l.F),v=s[++a]):(i=en(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?pn(cn(h.F).parentNode,i,cn(h.F)):pn(h.F.parentNode,i,h.F))}c>d?sn(t,null==s[m+1]?null:s[m+1].F,o,s,a,m):e.updatable&&a>m&&rn(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.L&&(s.textContent=""),sn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?rn(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Ge&&"svg"===l&&(Ge=!1))},un=[],fn=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(st(e,s)){let n=un.find((t=>t.W===e));Ke=!0,e["s-sn"]=e["s-sn"]||s,n?(n.W["s-sh"]=t["s-hn"],n.Y=t):(e["s-sh"]=t["s-hn"],un.push({Y:t,W:e})),e["s-sr"]&&un.map((t=>{st(t.W,e["s-sn"])&&(n=un.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else un.some((t=>t.W===e))||un.push({W:e})}1===t.nodeType&&fn(t)}},dn=t=>{e.vdomRef&&(t.R&&t.R.ref&&Ze.push((()=>t.R.ref(null))),t.M&&t.M.map(dn))},hn=(t,n)=>{e.vdomRef&&tn.push((()=>t(n)))},pn=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])mn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&_t(n),t.insertBefore(n,o);const{slotNode:r}=at(n);return r&&!s&&ct(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function mn(t,e,n,o){var s,r;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===l&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var vn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||Vt(null,null),d=Yt(n)?n:Bt(null,null,n);if(Ie=a.tagName,e.isDev&&Array.isArray(n)&&n.some(Yt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ie.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(e.reflect&&u.X&&(d.R=d.R||{},u.X.forEach((([n,o])=>{d.R[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.R)for(const t of Object.keys(d.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.R[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.F=f.F=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Ae=a["s-sc"]),qe=D&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(De=a["s-cr"],Ke=!1),an(f,d,o),e.slotRelocation){if(A.u|=1,Qe){fn(d.F);for(const t of un){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?$n(n):R.document.createTextNode("");t["s-nr"]=n,pn(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of un){const n=t.W,c=t.Y;if(1===n.nodeType&&o&&(n["s-ih"]=null!=(s=n.hidden)&&s),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&s&&1===s.nodeType){let e=null==(r=n["s-ol"])?void 0:r.previousSibling;for(;e;){let o=null!=(i=e["s-nr"])?i:null;if(o&&o["s-sn"]===n["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===n||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){s=o;break}}e=e.previousSibling}}if((!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s){if(pn(t,n,s,o),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=R.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,pn(n.parentNode,t,n,o),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(l=n["s-ih"])&&l)}n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(n.hidden=!0)}}Ke&&tt(d.F),A.u&=-2,un.length=0}if(e.slotRelocation&&!qe&&!(1&u.u)&&a["s-cr"]){const t=d.F.__childNodes||d.F.childNodes;for(const e of t)if(e["s-hn"]!==Ie&&!e["s-sh"])if(o&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),1===e.nodeType)e.hidden=!0;else if(3===e.nodeType&&e.nodeValue.trim()){const t=R.document.createComment("s-nt-"+e.nodeValue);t["s-sn"]=e["s-sn"],pn(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}De=void 0,e.vdomRef&&(Ze.forEach((t=>t())),Ze.length=0,tn.forEach((t=>t())),tn.length=0)},gn=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.D?' name="'+t.D+'"':""}> (host=${Ie.toLowerCase()})`)},$n=t=>{var e;return null==(e=R.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},bn=(t,n)=>{if(e.asyncLoading&&n&&!t.q&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.q=()=>{n["s-p"].splice(e-1,1),o()})))}},yn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);bn(t,t.K);const o=()=>wn(t,n);if(!n)return e.taskQueue?Q(o):o();queueMicrotask((()=>{o()}))},wn=(t,n)=>{const o=t.$hostElement$,s=Rt("scheduleUpdate",t.o.C),r=e.lazyLoad?t.l:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n?(e.lazyLoad&&(e.slotRelocation&&t.G&&(t.G=!1,Nn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>Nn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),Tn(o,"componentWillLoad"),i=Nn(r,"componentWillLoad",void 0,o)):(Tn(o,"componentWillUpdate"),i=Nn(r,"componentWillUpdate",void 0,o)),Tn(o,"componentWillRender"),i=Sn(i,(()=>Nn(r,"componentWillRender",void 0,o))),s(),Sn(i,(()=>xn(t,r,n)))},Sn=(t,e)=>jn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,xn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Rt("update",t.o.C),l=r["s-rc"];e.style&&o&&Ht(t);const c=Rt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await Cn(t,n,r,o):Cn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Rn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){v(t,r)}if(e.asyncLoading&&l&&(l.map((t=>t())),r["s-rc"]=void 0),c(),i(),e.asyncLoading){const e=null!=(s=r["s-p"])?s:[],n=()=>_n(t);0===e.length?n():(Promise.all(e).then(n).catch(n),t.u|=4,e.length=0)}else _n(t)},On=null,Cn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(On=n,n=(r||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||i)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>vn(t,e,s)));vn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){v(e,t.$hostElement$)}return On=null,null},_n=t=>{const n=t.o.C,o=t.$hostElement$,s=Rt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),Nn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),Tn(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),Nn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),Tn(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&Ln(o),e.isDev&&(t.u|=2048),Nn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),Tn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||kn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&q((()=>yn(t,!1))),t.u&=-517)},En=t=>{var o;if(e.updatable&&(n.isBrowser||n.isTesting)){const e=d(t),n=null==(o=null==e?void 0:e.$hostElement$)?void 0:o.isConnected;return n&&2==(18&e.u)&&yn(e,!1),n}return!1},kn=n=>{var o;e.asyncQueue&&(A.u|=2),q((()=>Ue(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=A.tt)?void 0:o.size)&&A.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},Nn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){v(t,o)}},Tn=(n,o)=>{e.lifecycleDOMEvents&&Ue(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},Ln=t=>{var n,o;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(o=e.hydratedSelectorName)?o:"hydrated",""):void 0},Rn=t=>{const e=t.children;if(null!=e)for(let t=0,n=e.length;t<n;t++){const n=e[t];"function"==typeof n.connectedCallback&&n.connectedCallback(),Rn(n)}},Mn=(t,e)=>d(t).i.get(e),An=(t,n,o,s)=>{const r=d(t);if(!r)return;if(e.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(e.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const i=e.lazyLoad?r.$hostElement$:t,l=r.i.get(n),c=r.u,a=e.lazyLoad?r.l:i;if(o=He(o,s.t[n][0],e.formAssociated&&!!(64&s.u)),!(e.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),e.serializer&&e.reflect&&s.X&&s.et&&s.et[n]){const t=t=>{let e=o;for(const o of s.et[n]){const[[s]]=Object.entries(o);e=t[s](e,n)}r.p.set(n,e)};a?t(a):r.O.push((()=>{t(r.l)}))}if(e.isDev&&(1024&r.u?b(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&b(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),e.propChangeCallback&&s.nt){const t=s.nt[n];t&&t.map((t=>{try{const[[e,s]]=Object.entries(t);(128&c||1&s)&&(a?a[e](o,l,n):r.O.push((()=>{r.l[e](o,l,n)})))}catch(t){v(t,i)}}))}if(e.updatable&&2&c){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n)&&!(16&c))return;16&c||yn(r,!1)}}},Dn=(t,n,o)=>{var s,r;const i=t.prototype;if(e.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&o&&L.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=d(this),i=e.lazyLoad?null==r?void 0:r.l:this;if(i){const s=e.lazyLoad?i[t]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.S)||s.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...o)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.nt&&(n.nt=Re(t.watchers)),t.deserializers&&!n.ot&&(n.ot=t.deserializers),t.serializers&&!n.et&&(n.et=t.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([t,[s]])=>{if((e.prop||e.state)&&(31&s||(!e.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=c(i,t)||{};r&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&o||!r)&&Object.defineProperty(i,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return Mn(this,t);const e=d(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):Mn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=d(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||b(`@Prop() "${t}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[t]:i.$hostElement$[t])&&i.i.get(t)&&(r=i.i.get(t)),l.call(this,He(r,s,e.formAssociated&&!!(64&n.u))),void An(this,t,r=32&s?this[t]:i.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&o&&4096&n.t[t][0]))return An(this,t,r,n),void(1&o&&!i.l&&i.O.push((()=>{4096&n.t[t][0]&&i.l[t]!==i.i.get(t)&&(i.l[t]=r)})));const l=()=>{const o=i.l[t];!i.i.get(t)&&o&&i.i.set(t,o),i.l[t]=He(r,s,e.formAssociated&&!!(64&n.u)),An(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else An(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=d(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(t,s,r){A.jmp((()=>{var c;const a=o.get(t),u=d(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(r=this[a],delete this[a]),e.deserializer&&n.ot&&n.ot[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ot[a]){const[[n]]=Object.entries(o);e.lazyLoad?u.l?t(n,u.l):u.O.push((()=>{t(n,u.l)})):t(n,this)}return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&r!==s){const i=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.nt)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=i[n]&&(128&o||1&l)&&i[n].call(i,r,s,t)}))}return}const f=l.find((([t])=>t===a)),h=f&&4&f[1][0],p=h&&null===r&&void 0===this[a];h&&(r=null!==r&&"false"!==r);const m=Object.getOwnPropertyDescriptor(i,a);p||r==this[a]||m.get&&!m.set||(this[a]=r)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.nt)?r:{}),...l.filter((([t,e])=>31&e[0])).map((([t,s])=>{var r;const i=s[1]||t;return o.set(i,t),e.reflect&&512&s[0]&&(null==(r=n.X)||r.push([t,i])),i}))]))}}return t},In=async(t,n,o,s)=>{let r;try{if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&o._){const i=S(o,n,s);if(i&&"then"in i){const t=((t,n)=>e.profile&&performance.mark?(0===performance.getEntriesByName(t,"mark").length&&performance.mark(t),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,t)}):()=>{})(`st:load:${o.C}:${n.k}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.k}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=Re(r.watchers),o.et=r.serializers,o.ot=r.deserializers),Dn(r,o,2),r.isProxied=!0);const l=Rt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){v(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Hn(n.l,t)}else r=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&r&&r.style){let i;"string"==typeof r.style?i=r.style:e.mode&&"string"!=typeof r.style&&(n.k=Le(t),n.k&&(i=r.style[n.k]),e.hydrateServerSide&&n.k&&t.setAttribute("s-mode",n.k));const l=Ft(o,n.k);if(!j.has(l)||e.hotModuleReplacement&&s){const t=Rt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Te(i,l)),Dt(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>yn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()}catch(o){v(o,t),e.asyncLoading&&n.q&&(n.q(),n.q=void 0),e.asyncLoading&&n.j&&n.j(t)}},Hn=(t,n)=>{e.lazyLoad&&Nn(t,"connectedCallback",void 0,n)},Fn=t=>{if(!(1&A.u)){const n=d(t);if(!n)return;const o=n.o,s=Rt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Yn(t,n,o.st,!0),1&n.u)Yn(t,n,o.st,!1),(null==n?void 0:n.l)?Hn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Hn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(O),s)){if(e.shadowDom&&D&&1&o.u){const n=e.mode?It(t.shadowRoot,o,t.getAttribute("s-mode")):It(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=Ft(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Rt("hydrateClient",n),u=t.shadowRoot,f=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Vt(n,null);let g;if(v.F=t,e.scoped){const e=s.o;e&&10&e.u&&t["s-sc"]?(g=t["s-sc"],t.classList.add(g+"-h")):t["s-sc"]&&delete t["s-sc"]}!R.document||A.tt&&A.tt.size||Gt(R.document.body,A.tt=new Map),t[O]=o,t.removeAttribute(O),s.J=Qt(v,f,h,m,t,t,o,p);let $=0;const b=f.length;let y;for(;$<b;$++){y=f[$];const o=y.P+"."+y.U,s=A.tt.get(o),i=y.F;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.F.shadowRoot){const t=d(y.F);if(t){const n=Ft(t.o,e.mode?y.F.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=to(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.D=y.F["s-sn"]||y.F.name||null,y.M?(y.u|=2,y.F.childNodes.length||y.M.forEach((t=>{y.F.appendChild(t.F)}))):y.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),u||(i["s-oo"]=parseInt(y.U))),s&&!s["s-id"]&&A.tt.delete(o)}const w=[],S=p.length;let j,x,C,_,E=0,k=0;for(;E<S;E++)if(j=p[E],j&&j.length)for(C=j.length,x=0;x<C;x++){if(_=j[x],w[_.hostId]||(w[_.hostId]=A.tt.get(_.hostId)),!w[_.hostId])continue;const t=w[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[x-1])?void 0:i.node)?void 0:l.nextSibling),t.shadowRoot&&u||(_.slot["s-cr"]||(_.slot["s-cr"]=t["s-cr"],_.slot["s-cr"]=!_.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),rt(_.node,_.slot,!1,_.node["s-oo"]||k),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&St(_.node)),k=(_.node["s-oo"]||k)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.F.parentElement.classList.add(g+"-s")})),e.shadowDom&&u&&!u.childNodes.length){let e=0;const n=m.length;if(n){for(;e<n;e++){const t=m[e];t&&u.appendChild(t)}Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):8!==t.nodeType||t.nodeValue||t.parentNode.removeChild(t))}))}}s.$hostElement$=t,a()})(t,o.C,s,n)}if(e.slotRelocation&&!s&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&o.u)&&Pn(t),e.asyncLoading){let o=t;for(;o=o.parentNode||o.host;)if(e.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){bn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?q((()=>In(t,n,o))):In(t,n,o)}s()}},Pn=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,pn(t,n,t.firstChild)},Un=(t,n)=>{e.lazyLoad&&Nn(t,"disconnectedCallback",void 0,n||t)},zn=async t=>{if(!(1&A.u)){const n=d(t);e.hostListener&&(null==n?void 0:n.rt)&&(n.rt.map((t=>t())),n.rt=void 0),e.lazyLoad?(null==n?void 0:n.l)?Un(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Un(n.l,t))):Un(t)}At.has(t)&&At.delete(t),t.shadowRoot&&At.has(t.shadowRoot)&&At.delete(t.shadowRoot)},Bn=(t,n)=>{const o={u:n[0],C:n[1]};try{e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=Re(t.nt),o.ot=t.ot,o.et=t.et),e.reflect&&(o.X=[]),e.shadowDom&&!D&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u?e.experimentalSlotFixes?ut(t.prototype):(e.slotChildNodesFix&&wt(t.prototype),e.cloneNodeFix&&ft(t.prototype),e.appendChildSlotFix&&dt(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&yt(t.prototype)):e.cloneNodeFix&&ft(t.prototype),e.hydrateClientSide&&e.shadowDom&&Ut();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){p(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=d(this);if(!t)return;Yn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Fn(this),s&&s.call(this)},disconnectedCallback(){zn(this),r&&r.call(this)},__attachShadow(){if(D)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(this,o);else this.shadowRoot=this}}),Object.defineProperty(t,"is",{value:o.C,configurable:!0}),Dn(t,o,3)}catch(e){return v(e),t}},Vn=(t,n={})=>{var o;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=R.stencil=R.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=d(t);if(!e)return;const n=e.u,o=e.$hostElement$;return{renderCount:e.m,flags:{hasRendered:!!(2&n),hasConnected:!!(1&n),isWaitingForChildren:!!(4&n),isConstructingInstance:!!(8&n),isQueuedForUpdate:!!(16&n),hasInitializedComponent:!!(32&n),hasLoadedComponent:!!(64&n),isWatchReady:!!(128&n),isListenReady:!!(256&n),needsRerender:!!(512&n)},instanceValues:e.i,serializerValues:e.p,ancestorComponent:e.K,hostElement:o,lazyInstance:e.l,vnode:e.J,modeName:e.k,fetchedCbList:e.O,onReadyPromise:e.S,onReadyResolve:e.j,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.q,queuedListeners:e.Z,rmListeners:e.rt,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!R.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Rt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),f=[];let h,m=!0;Object.assign(A,n),A.N=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(A.u|=4),e.hydrateClientSide&&(A.u|=2),e.hydrateClientSide&&e.shadowDom&&Ut();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c;const a={u:o[0],C:o[1],t:o[2],st:o[3]};4&a.u&&(v=!0),e.member&&(a.t=o[2]),e.hostListener&&(a.st=o[3]),e.reflect&&(a.X=[]),e.propChangeCallback&&(a.nt=Re(o[4]),a.et=null!=(s=o[5])?s:{},a.ot=null!=(c=o[6])?c:{}),e.shadowDom&&!D&&1&a.u&&(a.u|=8);const u=e.transformTagName&&n.transformTagName?n.transformTagName(a.C):to(a.C),g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),p(t=this,a),e.shadowDom&&1&a.u)if(D)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${a.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Z.call(t,a);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=d(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Yn(this,t,a.st,!1)),h&&(clearTimeout(h),h=null),m?f.push(this):A.jmp((()=>Fn(this))))}disconnectedCallback(){A.jmp((()=>zn(this))),A.raf((()=>{var t;const e=d(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.F)instanceof Node&&!e.J.F.isConnected&&delete e.J.F}))}componentOnReady(){var t;return null==(t=d(this))?void 0:t.S}};!(1&a.u)&&256&a.u?e.experimentalSlotFixes?ut(g.prototype):(e.slotChildNodesFix&&wt(g.prototype),e.cloneNodeFix&&ft(g.prototype),e.appendChildSlotFix&&dt(g.prototype),e.scopedSlotTextContentFix&&2&a.u&&yt(g.prototype)):e.cloneNodeFix&&ft(g.prototype),e.formAssociated&&64&a.u&&(g.formAssociated=!0),e.hotModuleReplacement&&(g.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=d(t);o&&(o.u=1,In(t,o,e,n))})(this,a,t)}),a._=t[0],i.includes(u)||l.get(u)||(r.push(u),l.define(u,Dn(g,a,1)))}))})),r.length>0&&(e.slotRelocation&&v&&(u.textContent+=N),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(o=A.T)?o:Mt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,f.length?f.map((t=>t.connectedCallback())):A.jmp(e.profile?()=>h=setTimeout(kn,30,"timeout"):()=>h=setTimeout(kn,30)),s()},Wn=(t,e)=>e,Yn=(t,n,o,s)=>{e.hostListener&&o&&R.document&&(e.hostListenerTargetParent&&(o=o.filter(s?([t])=>32&t:([t])=>!(32&t))),o.map((([o,s,r])=>{const i=e.hostListenerTarget?Xn(R.document,t,o):t,l=Jn(n,r),c=qn(o);A.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>A.rel(i,s,l,c)))})))},Jn=(t,n)=>o=>{var s;try{e.lazyLoad?256&t.u?null==(s=t.l)||s[n](o):(t.Z=t.Z||[]).push([n,o]):t.$hostElement$[n](o)}catch(e){v(e,t.$hostElement$)}},Xn=(t,n,o)=>e.hostListenerTargetDocument&&4&o?t:e.hostListenerTargetWindow&&8&o?R:e.hostListenerTargetBody&&16&o?t.body:e.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,qn=t=>({passive:!!(1&t),capture:!!(2&t)}),Kn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Qn=t=>A.T=t,Gn=new WeakMap,Zn=void 0;function to(t){return Zn?Zn(t):t}function eo(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)}var no=(t,e,n,o)=>{var s;null!=e&&(null!=e["s-nr"]&&o.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(s=e.shadowRoot)?void 0:s.childNodes)||[])].forEach((e=>{const s=d(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||oo(t,e,s.J,n,{nodeIds:0}),no(t,e,n,o)}))},oo=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(O,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{so(t,n,s,r,e,o)}))}if(e&&n&&n.F&&!e.hasAttribute(_)){const t=e.parentElement;if(t&&t.childNodes){const o=Array.from(t.childNodes),s=o.find((t=>8===t.nodeType&&t["s-sr"]));if(s){const t=o.indexOf(e)-1;n.F.setAttribute(_,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},so=(t,e,n,o,s,r)=>{const i=e.F;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(_,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const e=i.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);pn(e,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=e.M){const r=s+1;e.M.forEach(((e,s)=>{so(t,e,n,o,r,s)}))}},ro=Object.freeze({__proto__:null,BUILD:e,Build:n,Env:{},Fragment:Wn,H:M,HTMLElement:M,HYDRATED_STYLE_ID:C,Host:Wt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Kn)},NAMESPACE:t,STENCIL_DEV_MODE:g,addHostEventListeners:Yn,bootstrapLazy:Vn,cmpModules:w,connectedCallback:Fn,consoleDevError:$,consoleDevInfo:y,consoleDevWarn:b,consoleError:v,createEvent:Pe,defineCustomElement:(t,e)=>{customElements.define(to(e[1]),Bn(t,e))},disconnectedCallback:zn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Le(t),n=d(t);if(n&&n.k!==e){const o=n.o,s=t["s-sc"],r=Ft(o,e),i=t.constructor.style[e],l=o.u;i&&(j.has(r)||Dt(r,i,!!(1&l)),n.k=e,t.classList.remove(s+"-h",s+"-s"),Ht(n),En(t))}}},forceUpdate:En,getAssetPath:G,getElement:Fe,getHostRef:d,getMode:t=>{var e;return null==(e=d(t))?void 0:e.k},getRenderingRef:()=>On,getValue:Mn,h:Bt,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=E in t?t[E]:{...k};n.staticComponents=new Set(e);const o=[];no(t,t.body,n,o),o.forEach((e=>{var o;if(null!=e&&e["s-nr"]){const s=e["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(_,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,pn(s.parentNode,n,s)}else if(8===s.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,s.parentNode.insertBefore(e,s)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:m,jsx:eo,jsxDEV:function(t,e,n){const o=e||{},{children:s,...r}=o;let i=r;return void 0===n||"key"in r||(i={...r,key:n}),i&&0===Object.keys(i).length&&(i=null),void 0!==s?Array.isArray(s)?Bt(t,i,...s):Bt(t,i,s):Bt(t,i)},jsxs:function(t,e,n){return eo(t,e,n)},loadModule:S,modeResolutionChain:x,needsScopedSSR:()=>!1,nextTick:q,normalizeWatchers:Re,parsePropertyValue:He,plt:A,postUpdateComponent:_n,promiseResolve:I,proxyComponent:Dn,proxyCustomElement:Bn,readTask:K,registerHost:p,registerInstance:h,render:function(t,e){let n=Gn.get(e);n||(n={u:0,o:{u:0,C:e.tagName},$hostElement$:e},Gn.set(e,n)),vn(n,t)},renderVdom:vn,setAssetPath:t=>A.N=t,setErrorHandler:t=>a=t,setMode:t=>x.push(t),setNonce:Qn,setPlatformHelpers:t=>{Object.assign(A,t)},setPlatformOptions:t=>Object.assign(A,t),setScopedSSR:()=>{},setTagTransformer:function(t){Zn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Zn=t},setValue:An,styles:j,supportsConstructableStylesheets:H,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:F,supportsShadow:D,transformTag:to,win:R,writeTask:Q});export{e as B,Wn as F,M as H,t as N,ro as S,Pe as a,Vn as b,y as c,Wt as d,G as e,Fe as g,Bt as h,I as p,h as r,Qn as s,R as w}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function l(e){try{o(i.next(e))}catch(e){a(e)}}function s(e){try{o(i["throw"](e))}catch(e){a(e)}}function o(e){e.done?n(e.value):r(e.value).then(l,s)}o((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,l=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return l.next=s(0),l["throw"]=s(1),l["return"]=s(2),typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(e){return function(t){return o([e,t])}}function o(s){if(i)throw new TypeError("Generator is already executing.");while(l&&(l=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-DhXN1yGM.system.js","./p-5ok9OZMg.system.js"],(function(e,t){"use strict";var n,i,r,a,l,s,o,c;return{setters:[function(t){n=t.p;i=t.B;r=t.c;a=t.w;l=t.N;s=t.H;o=t.b;e("setNonce",t.s)},function(e){c=e.g}],execute:function(){var e=this;var u=function(){if(i.isDev&&!i.isTesting){r("Running in development mode.")}if(i.cloneNodeFix){p(s.prototype)}var e=i.scriptDataOpts?a.document&&Array.from(a.document.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(l,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===l})):null;var o=t.meta.url;var c=i.scriptDataOpts?(e||{})["data-opts"]||{}:{};if(o!==""){c.resourcesUrl=new URL(".",o).href}return n(c)};var p=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var n=t.call(this,false);var i=this.childNodes;if(e){for(var r=0;r<i.length;r++){if(i[r].nodeType!==2){n.appendChild(i[r].cloneNode(true))}}}return n}};u().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,c()];case 1:e.sent();return[2,o([["p-2177b8f4.system",[[257,"ezp-printing",{clientid:[1],redirecturi:[1],filename:[1025],fileurl:[1],filetype:[1],custom:[4],hidelogin:[4],hidemenu:[4],hideheader:[4],authapihosturl:[1],printapihosturl:[1],theme:[1],fileid:[1],appearance:[1],trigger:[1],language:[1],code:[1],filedata:[1],seamless:[4],printOpen:[32],authOpen:[32],onlyGetSasUri:[32],noDocumentOpen:[32],systemAppearance:[32],files:[32],open:[64],logOut:[64],getSasUri:[64],getAuthUri:[64],setAuthRefreshToken:[64],checkAuth:[64]},[[0,"printCancel","listenPrintCancel"],[0,"printSubmit","listenPrintSubmit"],[0,"authCancel","listenAuthCancel"],[0,"userCancel","listenUserCancel"],[0,"authSuccess","listenAuthSuccess"],[0,"uploadFile","listenUploadFile"],[0,"dialogClose","listenDialogClose"],[0,"dialogAction","listenDialogAction"],[0,"logout","listenLogout"]],{filedata:[{watchFileData:0}],filename:[{watchFilename:0}],fileurl:[{watchFileUrl:0}],language:[{watchLanguage:0}]}],[1,"ezp-printer-selection",{clientID:[1,"client-i-d"],redirectURI:[1,"redirect-u-r-i"],filename:[1025],fileurl:[1],filetype:[1025],fileid:[1025],files:[16],hidemenu:[4],hideheader:[4],seamless:[4],loading:[32],printProcessing:[32],pageRangeInvalid:[32],uploading:[32],preparingUpload:[32],printSuccess:[32],printFailed:[32],notSupported:[32],noPrinters:[32],hubDriverError:[32],userMenuOpen:[32],printStopped:[32],userName:[32],printers:[32],selectedPrinter:[32],printerConfig:[32],selectedPrinterConfig:[32],selectedProperties:[32],paperid:[32],currentFileIndex:[32],totalFiles:[32],failedFiles:[32],successfulFiles:[32],partialSuccess:[32]},[[0,"inputValueChanged","listenInputValueChanged"],[0,"selectSelection","listenSelectSelection"],[0,"stepperChanged","listenStepperChanged"],[0,"userMenuClosure","listenUserMenuClosure"],[0,"logoutEmitter","listenLogout"],[0,"statusCancel","listenStatusCancel"],[0,"statusClose","listenStatusClose"],[0,"statusRetry","listenStatusRetry"]]],[1,"ezp-auth",{clientID:[1025,"client-i-d"],redirectURI:[1025,"redirect-u-r-i"],hidelogin:[4],trigger:[1],code:[1],auth:[32],authURI:[32],accessToken:[32]},[[0,"dialogAction","listenDialogAction"],[0,"dialogClose","listenDialogClose"],[0,"statusCancel","listenStatusCancel"]]],[1,"ezp-upload",{selectedFiles:[32],dragging:[32]},[[1,"dragenter","handleDragEnter"],[0,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[0,"drop","handleDrop"],[4,"printCancel","listenPrintCancel"]]],[1,"ezp-dialog",{heading:[1],description:[1],action:[1],iconName:[1,"icon-name"],iconSize:[1,"icon-size"],iconFramed:[4,"icon-framed"],instance:[1]}],[1,"ezp-user-menu",{name:[1],open:[1028]},null,{open:[{watchOpen:0}]}],[1,"ezp-select",{icon:[1],label:[1],optionFlow:[1,"option-flow"],options:[16],placeholder:[1],preSelected:[8,"pre-selected"],toggleFlow:[1,"toggle-flow"],disabled:[4],expanded:[32],selected:[32]},null,{expanded:[{watchExpanded:0}],preSelected:[{preSelectedChanged:0}]}],[1,"ezp-input",{label:[1],value:[1032],type:[1],icon:[1],suffix:[513],eventType:[1,"event-type"],placeholder:[1],focused:[32]}],[1,"ezp-stepper",{icon:[1],label:[1],max:[2],min:[2],canDecrease:[32],canIncrease:[32],focused:[32],value:[32]},null,{value:[{watchValue:0}]}],[1,"ezp-status",{description:[1],processing:[4],instance:[1],icon:[1],cancel:[8],close:[8],retry:[8]}],[1,"ezp-backdrop",{visible:[1028]},[[0,"animationend","listenAnimationEnd"]]],[1,"ezp-text-button",{blank:[4],disabled:[4],href:[1],level:[1],label:[1],type:[1],small:[4]}],[1,"ezp-icon-button",{blank:[4],disabled:[4],href:[1],icon:[1],level:[1],type:[1]}],[1,"ezp-icon",{name:[1],size:[1],framed:[4]}],[1,"ezp-label",{ellipsis:[4],level:[1],noWrap:[4,"no-wrap"],text:[1],weight:[1]}]]]],t)]}}))}))}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const t=(async()=>{const t=new FontFace("Inter","url(https://rsms.me/inter/font-files/Inter-roman.var.woff2)",{style:"normal",weight:"400 600"});t.load().then((()=>{document.fonts.add(t)}))})||(()=>{});export{t as g}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function f(r){try{u(t.next(r))}catch(r){a(r)}}function o(r){try{u(t["throw"](r))}catch(r){a(r)}}function u(r){r.done?n(r.value):i(r.value).then(f,o)}u((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,f=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return f.next=o(0),f["throw"]=o(1),f["return"]=o(2),typeof Symbol==="function"&&(f[Symbol.iterator]=function(){return this}),f;function o(r){return function(e){return u([r,e])}}function u(o){if(t)throw new TypeError("Generator is already executing.");while(f&&(f=0,o[0]&&(n=0)),n)try{if(t=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(r,n)}catch(r){o=[6,r];i=0}finally{t=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(r,e){var n={};for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0)n[t]=r[t];if(r!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,t=Object.getOwnPropertySymbols(r);i<t.length;i++){if(e.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i]))n[t[i]]=r[t[i]]}return n};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;var t=r("N","ezeep");var i=r("B",{allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,constructableCSS:true,cssAnnotations:true,deserializer:false,devTools:false,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:false,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:false,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:true,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propChangeCallback:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,serializer:false,shadowDelegatesFocus:false,shadowDom:true,shadowSlotAssignmentManual:false,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:true,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true});var a={};var f={isDev:i.isDev?true:false,isBrowser:true,isServer:false,isTesting:i.isTesting?true:false};var o="http://www.w3.org/2000/svg";var u="http://www.w3.org/1999/xhtml";var s=function(r){r["Undefined"]="undefined";r["Null"]="null";r["String"]="string";r["Number"]="number";r["SpecialNumber"]="number";r["Boolean"]="boolean";r["BigInt"]="bigint";return r}(s||{});var l=function(r){r["Array"]="array";r["Date"]="date";r["Map"]="map";r["Object"]="object";r["RegularExpression"]="regexp";r["Set"]="set";r["Channel"]="channel";r["Symbol"]="symbol";return r}(l||{});var v="type";var c="value";var d="serialized:";function h(r,e,n){var t=typeof HTMLElement!=="undefined"?HTMLElement.prototype:null;while(r&&r!==t){var i=Object.getOwnPropertyDescriptor(r,e);if(i&&(!n||i.get))return i;r=Object.getPrototypeOf(r)}return void 0}var p=function(r,e){var n;var t=e.t;var a=Object.entries((n=t.i)!=null?n:{});a.map((function(n){var t=n[0],a=n[1][0];if((i.state||i.prop)&&(a&31||a&32)){var f=r[t];var o=h(Object.getPrototypeOf(r),t,true)||Object.getOwnPropertyDescriptor(r,t);if(o){Object.defineProperty(r,t,{get:function(){return o.get.call(this)},set:function(r){o.set.call(this,r)},configurable:true,enumerable:true})}if(e.o.has(t)){r[t]=e.o.get(t)}else if(f!==void 0){r[t]=f}}}))};var m=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var g=r("r",(function(r,e){if(!e)return;r.__stencil__getHostRef=function(){return e};e.u=r;if(e.t.l&512&&(i.state||i.prop)){p(r,e)}}));var y=function(r,e){var n={l:0,$hostElement$:r,t:e,o:new Map,v:new Map};if(i.isDev){n.p=0}if(i.method&&i.lazyLoad){n.m=new Promise((function(r){return n._=r}))}if(i.asyncLoading){n.$=new Promise((function(r){return n.S=r}));r["s-p"]=[];r["s-rc"]=[]}if(i.lazyLoad){n.j=[]}var t=n;r.__stencil__getHostRef=function(){return t};if(!i.lazyLoad&&e.l&512&&(i.state||i.prop)){p(r,n)}return t};var b=function(r,e){return e in r};var _;var w=function(r,e){return(_||console.error)(r,e)};var $=i.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var S=function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return console.error.apply(console,__spreadArray(__spreadArray([],$,false),r,false))};var j=function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return console.warn.apply(console,__spreadArray(__spreadArray([],$,false),r,false))};var O=r("c",(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return console.info.apply(console,__spreadArray(__spreadArray([],$,false),r,false))}));var x=function(r){return _=r};var C=new Map;var A=function(r,n,t){var a=r.O.replace(/-/g,"_");var f=r.C;if(i.isDev&&typeof f!=="string"){S("Trying to lazily load component <".concat(r.O,'> with style mode "').concat(n.A,'", but it does not exist.'));return void 0}else if(!f){return void 0}var o=!i.hotModuleReplacement?C.get(f):false;if(o){return o[a]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(f,".entry.js").concat(i.hotModuleReplacement&&t?"?s-hmr="+t:"")).then((function(r){if(!i.hotModuleReplacement){C.set(f,r)}return r[a]}),(function(r){w(r,n.$hostElement$)}))};var E=new Map;var k=[];var T=function(r){};var N=function(){return false};var R="r";var L="o";var M="s";var D="t";var I="c";var H="s-id";var P="sty-id";var F="c-id";var U="{visibility:hidden}.hydrated{visibility:inherit}";var z="_stencilDocData";var B={hostIds:0,rootLevelIds:0,staticComponents:new Set};var W="slot-fb{display:contents}slot-fb[hidden]{display:none}";var V="http://www.w3.org/1999/xlink";var Y=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var J=r("w",typeof window!=="undefined"?window:{});var X=r("H",J.HTMLElement||function(){function r(){}return r}());var q={l:0,k:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var K=function(r){Object.assign(q,r)};var Q=i.shadowDom;var G=function(){var r;var e=false;try{(r=J.document)==null?void 0:r.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(r){}return e}();var Z=r("p",(function(r){return Promise.resolve(r)}));var rr=i.constructableCSS?function(){try{if(!J.document.adoptedStyleSheets){return false}new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}():false;var er=rr?function(){return!!J.document&&Object.getOwnPropertyDescriptor(J.document.adoptedStyleSheets,"length").writable}():false;var nr=0;var tr=false;var ir=[];var ar=[];var fr=[];var or=function(r,e){return function(n){r.push(n);if(!tr){tr=true;if(e&&q.l&4){vr(lr)}else{q.raf(lr)}}}};var ur=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){w(r)}}r.length=0};var sr=function(r,e){var n=0;var t=0;while(n<r.length&&(t=performance.now())<e){try{r[n++](t)}catch(r){w(r)}}if(n===r.length){r.length=0}else if(n!==0){r.splice(0,n)}};var lr=function(){if(i.asyncQueue){nr++}ur(ir);if(i.asyncQueue){var r=(q.l&6)===2?performance.now()+14*Math.ceil(nr*(1/10)):Infinity;sr(ar,r);sr(fr,r);if(ar.length>0){fr.push.apply(fr,ar);ar.length=0}if(tr=ir.length+ar.length+fr.length>0){q.raf(lr)}else{nr=0}}else{ur(ar);if(tr=ir.length>0){q.raf(lr)}}};var vr=function(r){return Z().then(r)};var cr=or(ir,false);var dr=or(ar,true);var hr=r("e",(function(r){var e=new URL(r,q.k);return e.origin!==J.location.origin?e.href:e.pathname}));var pr=function(r){return q.k=r};function mr(r){return void 0}var gr;function yr(r){var e;var n={mode:"open"};if(i.shadowDelegatesFocus){n.delegatesFocus=!!(r.l&16)}if(i.shadowSlotAssignmentManual){var t=!!(r.l&1024);if(t){n.slotAssignment="manual"}}var a=this.attachShadow(n);if(gr===void 0)gr=(e=mr())!=null?e:null;if(gr){if(er){a.adoptedStyleSheets.push(gr)}else{a.adoptedStyleSheets=__spreadArray(__spreadArray([],a.adoptedStyleSheets,true),[gr],false)}}}var br=function(r){var e=Kr(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){wr(e,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if($r(r,Or(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var n=0;for(n=0;n<e.length;n++){var t=e[n];if(t.nodeType===1&&Kr(t,"childNodes").length){br(t)}}};var _r=function(r){var e=[];for(var n=0;n<r.length;n++){var t=r[n]["s-nr"]||void 0;if(t&&t.isConnected){e.push(t)}}return e};function wr(r,e,n){var t=0;var i=[];var a;for(;t<r.length;t++){a=r[t];if(a["s-sr"]&&(!e||a["s-hn"]===e)&&(n===void 0||Or(a)===n)){i.push(a);if(typeof n!=="undefined")return i}i=__spreadArray(__spreadArray([],i,true),wr(a.childNodes,e,n),true)}return i}var $r=function(r,e,n){if(n===void 0){n=true}var t=[];if(n&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(Or(i)===e&&(n||!i["s-sr"]))t.push(i)}return t};var Sr=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var jr=function(r,e,n,t){if(r["s-ol"]&&r["s-ol"].isConnected){return}var a=document.createTextNode("");a["s-nr"]=r;if(!e["s-cr"]||!e["s-cr"].parentNode)return;var f=e["s-cr"].parentNode;var o=n?Kr(f,"prepend"):Kr(f,"appendChild");if(i.hydrateClientSide&&typeof t!=="undefined"){a["s-oo"]=t;var u=Kr(f,"childNodes");var s=[a];u.forEach((function(r){if(r["s-nr"])s.push(r)}));s.sort((function(r,e){if(!r["s-oo"]||r["s-oo"]<(e["s-oo"]||0))return-1;else if(!e["s-oo"]||e["s-oo"]<r["s-oo"])return 1;return 0}));s.forEach((function(r){return o.call(f,r)}))}else{o.call(f,a)}r["s-ol"]=a;r["s-sh"]=e["s-hn"]};var Or=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function xr(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var e=function(e){return function(r){var n=[];var t=this["s-sn"];if(r==null?void 0:r.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var i=this["s-cr"].parentElement;var a=i.__childNodes?i.childNodes:_r(i.childNodes);a.forEach((function(r){if(t===Or(r)){n.push(r)}}));if(e){return n.filter((function(r){return r.nodeType===1}))}return n}.bind(r)};r.assignedElements=e(true);r.assignedNodes=e(false)}function Cr(r){r.dispatchEvent(new CustomEvent("slotchange",{bubbles:false,cancelable:false,composed:false}))}function Ar(r,e){var n;e=e||((n=r["s-ol"])==null?void 0:n.parentElement);if(!e)return{slotNode:null,slotName:""};var t=r["s-sn"]=Or(r)||"";var i=Kr(e,"childNodes");var a=wr(i,e.tagName,t)[0];return{slotNode:a,slotName:t}}var Er=function(r){kr(r);Tr(r);Lr(r);Rr(r);Hr(r);Mr(r);Dr(r);Ir(r);Pr(r);Fr(r);Nr(r)};var kr=function(r){if(r.__cloneNode)return;var e=r.__cloneNode=r.cloneNode;r.cloneNode=function(r){var n=this;var t=i.shadowDom?n.shadowRoot&&Q:false;var a=e.call(n,t?r:false);if(i.slot&&!t&&r){var f=0;var o=void 0,u=void 0;var s=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"];var l=this.__childNodes||this.childNodes;for(;f<l.length;f++){o=l[f]["s-nr"];u=s.every((function(r){return!l[f][r]}));if(o){if(i.appendChildSlotFix&&a.__appendChild){a.__appendChild(o.cloneNode(true))}else{a.appendChild(o.cloneNode(true))}}if(u){a.appendChild(l[f].cloneNode(true))}}}return a}};var Tr=function(r){if(r.__appendChild)return;r.__appendChild=r.appendChild;r.appendChild=function(r){var e=Ar(r,this),n=e.slotName,t=e.slotNode;if(t){jr(r,t);var i=$r(t,n);var a=i[i.length-1];var f=Kr(a,"parentNode");var o=Kr(f,"insertBefore")(r,a.nextSibling);Cr(t);br(this);return o}return this.__appendChild(r)}};var Nr=function(r){if(r.__removeChild)return;r.__removeChild=r.removeChild;r.removeChild=function(r){if(r&&typeof r["s-sn"]!=="undefined"){var e=this.__childNodes||this.childNodes;var n=wr(e,this.tagName,r["s-sn"]);if(n&&r.isConnected){r.remove();br(this);return}}return this.__removeChild(r)}};var Rr=function(r){if(r.__prepend)return;r.__prepend=r.prepend;r.prepend=function(){var e=this;var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}n.forEach((function(n){if(typeof n==="string"){n=e.ownerDocument.createTextNode(n)}var t=(n["s-sn"]=Or(n))||"";var i=Kr(e,"childNodes");var a=wr(i,e.tagName,t)[0];if(a){jr(n,a,true);var f=$r(a,t);var o=f[0];var u=Kr(o,"parentNode");var s=Kr(u,"insertBefore")(n,Kr(o,"nextSibling"));Cr(a);return s}if(n.nodeType===1&&!!n.getAttribute("slot")){n.hidden=true}return r.__prepend(n)}))}};var Lr=function(r){if(r.__append)return;r.__append=r.append;r.append=function(){var r=this;var e=[];for(var n=0;n<arguments.length;n++){e[n]=arguments[n]}e.forEach((function(e){if(typeof e==="string"){e=r.ownerDocument.createTextNode(e)}r.appendChild(e)}))}};var Mr=function(r){if(r.__insertAdjacentHTML)return;var e=r.insertAdjacentHTML;r.insertAdjacentHTML=function(r,n){if(r!=="afterbegin"&&r!=="beforeend"){return e.call(this,r,n)}var t=this.ownerDocument.createElement("_");var i;t.innerHTML=n;if(r==="afterbegin"){while(i=t.firstChild){this.prepend(i)}}else if(r==="beforeend"){while(i=t.firstChild){this.append(i)}}}};var Dr=function(r){r.insertAdjacentText=function(r,e){this.insertAdjacentHTML(r,e)}};var Ir=function(r){if(r.__insertBefore)return;var e=r;if(e.__insertBefore)return;e.__insertBefore=r.insertBefore;r.insertBefore=function(r,e){var n=this;var t=Ar(r,this),i=t.slotName,a=t.slotNode;var f=this.__childNodes?this.childNodes:_r(this.childNodes);if(a){var o=false;f.forEach((function(t){if(t===e||e===null){o=true;if(e===null||i!==e["s-sn"]){n.appendChild(r);return}if(i===e["s-sn"]){jr(r,a);var f=Kr(e,"parentNode");Kr(f,"insertBefore")(r,e);Cr(a)}return}}));if(o)return r}var u=e==null?void 0:e.__parentNode;if(u&&!this.isSameNode(u)){return this.appendChild(r)}return this.__insertBefore(r,e)}};var Hr=function(r){if(r.__insertAdjacentElement)return;var e=r.insertAdjacentElement;r.insertAdjacentElement=function(r,n){if(r!=="afterbegin"&&r!=="beforeend"){return e.call(this,r,n)}if(r==="afterbegin"){this.prepend(n);return n}else if(r==="beforeend"){this.append(n);return n}return n}};var Pr=function(r){qr("textContent",r);Object.defineProperty(r,"textContent",{get:function(){var r="";var e=this.__childNodes?this.childNodes:_r(this.childNodes);e.forEach((function(e){return r+=e.textContent||""}));return r},set:function(r){var e=this.__childNodes?this.childNodes:_r(this.childNodes);e.forEach((function(r){if(r["s-ol"])r["s-ol"].remove();r.remove()}));this.insertAdjacentHTML("beforeend",r)}})};var Fr=function(r){var e=function(r){__extends(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}e.prototype.item=function(r){return this[r]};return e}(Array);qr("children",r);Object.defineProperty(r,"children",{get:function(){return this.childNodes.filter((function(r){return r.nodeType===1}))}});Object.defineProperty(r,"childElementCount",{get:function(){return this.children.length}});qr("firstChild",r);Object.defineProperty(r,"firstChild",{get:function(){return this.childNodes[0]}});qr("lastChild",r);Object.defineProperty(r,"lastChild",{get:function(){return this.childNodes[this.childNodes.length-1]}});qr("childNodes",r);Object.defineProperty(r,"childNodes",{get:function(){var r=new e;r.push.apply(r,_r(this.__childNodes));return r}})};var Ur=function(r){if(!r||r.__nextSibling!==void 0||!globalThis.Node)return;zr(r);Wr(r);Yr(r);if(r.nodeType===Node.ELEMENT_NODE){Br(r);Vr(r)}};var zr=function(r){if(!r||r.__nextSibling)return;qr("nextSibling",r);Object.defineProperty(r,"nextSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.childNodes;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n+1]}return this.__nextSibling}})};var Br=function(r){if(!r||r.__nextElementSibling)return;qr("nextElementSibling",r);Object.defineProperty(r,"nextElementSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.children;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n+1]}return this.__nextElementSibling}})};var Wr=function(r){if(!r||r.__previousSibling)return;qr("previousSibling",r);Object.defineProperty(r,"previousSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.childNodes;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n-1]}return this.__previousSibling}})};var Vr=function(r){if(!r||r.__previousElementSibling)return;qr("previousElementSibling",r);Object.defineProperty(r,"previousElementSibling",{get:function(){var r;var e=(r=this["s-ol"])==null?void 0:r.parentNode.children;var n=e==null?void 0:e.indexOf(this);if(e&&n>-1){return e[n-1]}return this.__previousElementSibling}})};var Yr=function(r){if(!r||r.__parentNode)return;qr("parentNode",r);Object.defineProperty(r,"parentNode",{get:function(){var r;return((r=this["s-ol"])==null?void 0:r.parentNode)||this.__parentNode},set:function(r){this.__parentNode=r}})};var Jr=["children","nextElementSibling","previousElementSibling"];var Xr=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function qr(r,e){if(!globalThis.Node||!globalThis.Element){return}var n;if(Jr.includes(r)){n=Object.getOwnPropertyDescriptor(Element.prototype,r)}else if(Xr.includes(r)){n=Object.getOwnPropertyDescriptor(Node.prototype,r)}if(!n){n=Object.getOwnPropertyDescriptor(e,r)}if(n)Object.defineProperty(e,"__"+r,n)}function Kr(r,e){if("__"+e in r){var n=r["__"+e];if(typeof n!=="function")return n;return n.bind(r)}else{if(typeof r[e]!=="function")return r[e];return r[e].bind(r)}}var Qr=0;var Gr=function(r,e){if(e===void 0){e=""}if(i.profile&&performance.mark){var n="st:".concat(r,":").concat(e,":").concat(Qr++);performance.mark(n);return function(){return performance.measure("[Stencil] ".concat(r,"() <").concat(e,">"),n)}}else{return function(){return}}};var Zr=function(r,e){if(i.profile&&performance.mark){if(performance.getEntriesByName(r,"mark").length===0){performance.mark(r)}return function(){if(performance.getEntriesByName(e,"measure").length===0){performance.measure(e,r)}}}else{return function(){return}}};var re=function(r){var e;var n=m(r);if(!n){return void 0}var t=n.l;var i=n.$hostElement$;return e={renderCount:n.p,flags:{hasRendered:!!(t&2),hasConnected:!!(t&1),isWaitingForChildren:!!(t&4),isConstructingInstance:!!(t&8),isQueuedForUpdate:!!(t&16),hasInitializedComponent:!!(t&32),hasLoadedComponent:!!(t&64),isWatchReady:!!(t&128),isListenReady:!!(t&256),needsRerender:!!(t&512)},instanceValues:n.o,serializerValues:n.v,ancestorComponent:n.T,hostElement:i,lazyInstance:n.u,vnode:n.N,modeName:n.A,fetchedCbList:n.j,onReadyPromise:n.$,onReadyResolve:n.S,onInstancePromise:n.m,onInstanceResolve:n._,onRenderResolve:n.R,queuedListeners:n.L,rmListeners:n.M},e["s-id"]=i["s-id"],e["s-cr"]=i["s-cr"],e["s-lr"]=i["s-lr"],e["s-p"]=i["s-p"],e["s-rc"]=i["s-rc"],e["s-sc"]=i["s-sc"],e};var ee=function(){if(i.devTools){var r=J.stencil=J.stencil||{};var e=r.inspect;r.inspect=function(r){var n=re(r);if(!n&&typeof e==="function"){n=e(r)}return n}}};function ne(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var te=new WeakMap;var ie=function(r,e,n){var t=E.get(r);if(rr&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}E.set(r,t)};var ae=function(r,e,n){var t,a,f;var o=oe(e,n);var u=E.get(o);if(!i.attachStyles||!J.document){return o}r=r.nodeType===11?r:J.document;if(u){if(typeof u==="string"){r=r.head||r;var s=te.get(r);var l=void 0;if(!s){te.set(r,s=new Set)}var v=(i.hydrateClientSide||i.hotModuleReplacement)&&r.querySelector("[".concat(P,'="').concat(o,'"]'));if(v){v.textContent=u}else if(!s.has(o)){l=J.document.createElement("style");l.textContent=u;var c=(t=q.D)!=null?t:ne(J.document);if(c!=null){l.setAttribute("nonce",c)}if((i.hydrateServerSide||i.hotModuleReplacement)&&(e.l&2||e.l&128||e.l&1)){l.setAttribute(P,o)}if(!(e.l&1)){if(r.nodeName==="HEAD"){var d=r.querySelectorAll("link[rel=preconnect]");var h=d.length>0?d[d.length-1].nextSibling:r.querySelector("style");r.insertBefore(l,(h==null?void 0:h.parentNode)===r?h:null)}else if("host"in r){if(rr){var p=(a=r.defaultView)!=null?a:r.ownerDocument.defaultView;var m=new p.CSSStyleSheet;m.replaceSync(u);if(er){r.adoptedStyleSheets.unshift(m)}else{r.adoptedStyleSheets=__spreadArray([m],r.adoptedStyleSheets,true)}}else{var g=r.querySelector("style");if(g&&!i.hotModuleReplacement){g.textContent=u+g.textContent}else{r.prepend(l)}}}else{r.append(l)}}if(e.l&1){r.insertBefore(l,null)}if(e.l&4){l.textContent+=W}if(s){s.add(o)}}}else if(i.constructableCSS){var s=te.get(r);if(!s){te.set(r,s=new Set)}if(!s.has(o)){var p=(f=r.defaultView)!=null?f:r.ownerDocument.defaultView;var m=void 0;if(u.constructor===p.CSSStyleSheet){m=u}else{m=new p.CSSStyleSheet;for(var y=0;y<u.cssRules.length;y++){m.insertRule(u.cssRules[y].cssText,y)}}if(er){r.adoptedStyleSheets.push(m)}else{r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[m],false)}s.add(o);if(i.hydrateClientSide&&"host"in r){var b=r.querySelector("[".concat(P,'="').concat(o,'"]'));if(b){dr((function(){return b.remove()}))}}}}}return o};var fe=function(r){var e=r.t;var n=r.$hostElement$;var t=e.l;var a=Gr("attachStyles",e.O);var f=ae(i.shadowDom&&Q&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e,r.A);if((i.shadowDom||i.scoped)&&i.cssAnnotations&&t&10){n["s-sc"]=f;n.classList.add(f+"-h")}a()};var oe=function(r,e){return"sc-"+(i.mode&&e&&r.l&32?r.O+"-"+e:r.O)};var ue=function(r){return r.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var se=function(){if(!J.document){return}var r=J.document.querySelectorAll("[".concat(P,"]"));var e=0;for(;e<r.length;e++){ie(r[e].getAttribute(P),ue(r[e].innerHTML),true)}};var le=function(r){return r!=null&&r!==void 0};var ve=function(r){r=typeof r;return r==="object"||r==="function"};var ce=r("h",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}if(typeof r==="string"){r=ni(r)}var a=null;var f=null;var o=null;var u=false;var s=false;var l=[];var v=function(e){for(var n=0;n<e.length;n++){a=e[n];if(Array.isArray(a)){v(a)}else if(a!=null&&typeof a!=="boolean"){if(u=typeof r!=="function"&&!ve(a)){a=String(a)}else if(i.isDev&&typeof r!=="function"&&a.l===void 0){S("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.")}if(u&&s){l[l.length-1].I+=a}else{l.push(u?de(null,a):a)}s=u}}};v(n);if(e){if(i.isDev&&r==="input"){be(e)}if(i.vdomKey&&e.key){f=e.key}if(i.slotRelocation&&e.name){o=e.name}if(i.vdomClass){var c=e.className||e.class;if(c){e.class=typeof c!=="object"?c:Object.keys(c).filter((function(r){return c[r]})).join(" ")}}}if(i.isDev&&l.some(pe)){S("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function.")}if(i.vdomFunctional&&typeof r==="function"){return r(e===null?{}:e,l,me)}var d=de(r,null);d.P=e;if(l.length>0){d.F=l}if(i.vdomKey){d.U=f}if(i.slotRelocation){d.B=o}return d}));var de=function(r,e){var n={l:0,W:r,I:e!=null?e:null,V:null,F:null};if(i.vdomAttribute){n.P=null}if(i.vdomKey){n.U=null}if(i.slotRelocation){n.B=null}return n};var he=r("d",{});var pe=function(r){return r&&r.W===he};var me={forEach:function(r,e){return r.map(ge).forEach(e)},map:function(r,e){return r.map(ge).map(e).map(ye)}};var ge=function(r){return{vattrs:r.P,vchildren:r.F,vkey:r.U,vname:r.B,vtag:r.W,vtext:r.I}};var ye=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return ce.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=de(r.vtag,r.vtext);n.P=r.vattrs;n.F=r.vchildren;n.U=r.vkey;n.B=r.vname;return n};var be=function(r){var e=Object.keys(r);var n=e.indexOf("value");if(n===-1){return}var t=e.indexOf("type");var i=e.indexOf("min");var a=e.indexOf("max");var f=e.indexOf("step");if(n<t||n<i||n<a||n<f){j('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var _e=function(r,e,n,t){var a,f,o,u;var s=Gr("hydrateClient",e);var l=r.shadowRoot;var v=[];var c=[];var d=[];var h=i.shadowDom&&l?[]:null;var p=de(e,null);p.V=r;var g;if(i.scoped){var y=t.t;if(y&&y.l&10&&r["s-sc"]){g=r["s-sc"];r.classList.add(g+"-h")}else if(r["s-sc"]){delete r["s-sc"]}}if(J.document&&(!q.Y||!q.Y.size)){$e(J.document.body,q.Y=new Map)}r[H]=n;r.removeAttribute(H);t.N=we(p,v,c,h,r,r,n,d);var b=0;var _=v.length;var w;for(b;b<_;b++){w=v[b];var $=w.J+"."+w.X;var S=q.Y.get($);var j=w.V;if(!l){j["s-hn"]=ni(e).toUpperCase();if(w.W==="slot"){j["s-cr"]=r["s-cr"]}}else if(((a=w.W)==null?void 0:a.toString().includes("-"))&&w.W!=="slot-fb"&&!w.V.shadowRoot){var y=m(w.V);if(y){var O=oe(y.t,i.mode?w.V.getAttribute("s-mode"):void 0);var x=J.document.querySelector('style[sty-id="'.concat(O,'"]'));if(x){h.unshift(x.cloneNode(true))}}}if(w.W==="slot"){w.B=w.V["s-sn"]||w.V["name"]||null;if(w.F){w.l|=2;if(!w.V.childNodes.length){w.F.forEach((function(r){w.V.appendChild(r.V)}))}}else{w.l|=1}}if(S&&S.isConnected){if(S.parentElement.shadowRoot&&S["s-en"]===""){S.parentNode.insertBefore(j,S.nextSibling)}S.parentNode.removeChild(S);if(!l){j["s-oo"]=parseInt(w.X)}}if(S&&!S["s-id"]){q.Y.delete($)}}var C=[];var A=d.length;var E=0;var k;var T;var N;var R;var L=0;for(E;E<A;E++){k=d[E];if(!k||!k.length)continue;N=k.length;T=0;for(T;T<N;T++){R=k[T];if(!C[R.hostId]){C[R.hostId]=q.Y.get(R.hostId)}if(!C[R.hostId])continue;var M=C[R.hostId];if(M.shadowRoot&&R.node.parentElement!==M){M.insertBefore(R.node,(o=(f=k[T-1])==null?void 0:f.node)==null?void 0:o.nextSibling)}if(!M.shadowRoot||!l){if(!R.slot["s-cr"]){R.slot["s-cr"]=M["s-cr"];if(!R.slot["s-cr"]&&M.shadowRoot){R.slot["s-cr"]=M}else{R.slot["s-cr"]=(M.__childNodes||M.childNodes)[0]}}jr(R.node,R.slot,false,R.node["s-oo"]||L);if(((u=R.node.parentElement)==null?void 0:u.shadowRoot)&&R.node["getAttribute"]&&R.node.getAttribute("slot")){R.node.removeAttribute("slot")}if(i.experimentalSlotFixes){Ur(R.node)}}L=(R.node["s-oo"]||L)+1}}if(i.scoped&&g&&c.length){c.forEach((function(r){r.V.parentElement.classList.add(g+"-s")}))}if(i.shadowDom&&l&&!l.childNodes.length){var D=0;var I=h.length;if(I){for(D;D<I;D++){var j=h[D];if(j){l.appendChild(j)}}Array.from(r.childNodes).forEach((function(r){if(typeof r["s-en"]!=="string"&&typeof r["s-sn"]!=="string"){if(r.nodeType===1&&r.slot&&r.hidden){r.removeAttribute("hidden")}else if(r.nodeType===8&&!r.nodeValue){r.parentNode.removeChild(r)}}}))}}t.$hostElement$=r;s()};var we=function(r,e,n,t,a,f,o,u){if(u===void 0){u=[]}var s;var l;var v;var c;var d=a["s-sc"];if(f.nodeType===1){s=f.getAttribute(F);if(s){l=s.split(".");if(l[0]===o||l[0]==="0"){v=Se({l:0,J:l[0],X:l[1],q:l[2],K:l[3],W:f.tagName.toLowerCase(),V:f,P:{class:f.className||""}});e.push(v);f.removeAttribute(F);if(!r.F){r.F=[]}if(i.scoped&&d&&l[0]===o){f["s-si"]=d;v.P.class+=" "+d}var h=v.V.getAttribute("s-sn");if(typeof h==="string"){if(v.W==="slot-fb"){je(h,l[2],v,f,r,e,n,t,u);if(i.scoped&&d){f.classList.add(d)}}v.V["s-sn"]=h;v.V.removeAttribute("s-sn")}if(v.K!==void 0){r.F[v.K]=v}r=v;if(t&&v.q==="0"){t[v.K]=v.V}}}if(f.shadowRoot){for(c=f.shadowRoot.childNodes.length-1;c>=0;c--){we(r,e,n,t,a,f.shadowRoot.childNodes[c],o,u)}}var p=f.__childNodes||f.childNodes;for(c=p.length-1;c>=0;c--){we(r,e,n,t,a,p[c],o,u)}}else if(f.nodeType===8){l=f.nodeValue.split(".");if(l[1]===o||l[1]==="0"){s=l[0];v=Se({J:l[1],X:l[2],q:l[3],K:l[4]||"0",V:f,P:null,F:null,U:null,B:null,W:null,I:null});if(s===D){v.V=xe(f,3);if(v.V&&v.V.nodeType===3){v.I=v.V.textContent;e.push(v);f.remove();if(o===v.J){if(!r.F){r.F=[]}r.F[v.K]=v}if(t&&v.q==="0"){t[v.K]=v.V}}}else if(s===I){v.V=xe(f,8);if(v.V&&v.V.nodeType===8){e.push(v);f.remove()}}else if(v.J===o){if(s===M){var h=f["s-sn"]=l[5]||"";je(h,l[2],v,f,r,e,n,t,u)}else if(s===R){if(i.shadowDom&&t){f.remove()}else if(i.slotRelocation){a["s-cr"]=f;f["s-cn"]=true}}}}}else if(r&&r.W==="style"){var m=de(null,f.textContent);m.V=f;m.K="0";r.F=[m]}return r};var $e=function(r,e){if(r.nodeType===1){var n=r[H]||r.getAttribute(H);if(n){e.set(n,r)}var t=0;if(r.shadowRoot){for(;t<r.shadowRoot.childNodes.length;t++){$e(r.shadowRoot.childNodes[t],e)}}var i=r.__childNodes||r.childNodes;for(t=0;t<i.length;t++){$e(i[t],e)}}else if(r.nodeType===8){var a=r.nodeValue.split(".");if(a[0]===L){e.set(a[1]+"."+a[2],r);r.nodeValue="";r["s-en"]=a[3]}}};var Se=function(r){var e={l:0,J:null,X:null,q:null,K:"0",V:null,P:null,F:null,U:null,B:null,W:null,I:null};return __assign(__assign({},e),r)};function je(r,e,n,t,a,f,o,u,s){t["s-sr"]=true;n.B=r||null;n.W="slot";var l=(a==null?void 0:a.V)?a.V["s-id"]||a.V.getAttribute("s-id"):"";if(i.shadowDom&&u&&J.document){var v=n.V=J.document.createElement(n.W);if(n.B){n.V.setAttribute("name",r)}if(a.V.shadowRoot&&l&&l!==n.J){Kr(a.V,"insertBefore")(v,Kr(a.V,"children")[0])}else{Kr(Kr(t,"parentNode"),"insertBefore")(v,t)}Oe(s,e,r,t,n.J);t.remove();if(n.q==="0"){u[n.K]=n.V}}else{var v=n.V;var c=l&&l!==n.J&&a.V.shadowRoot;Oe(s,e,r,t,c?l:n.J);xr(t);if(c){a.V.insertBefore(v,a.V.children[0])}}f.push(n);o.push(n);if(!a.F){a.F=[]}a.F[n.K]=n}var Oe=function(r,e,n,t,i){var a,f;var o=t.nextSibling;r[e]=r[e]||[];if(!o||((a=o.nodeValue)==null?void 0:a.startsWith(M+".")))return;do{if(o&&((o["getAttribute"]&&o.getAttribute("slot")||o["s-sn"])===n||n===""&&!o["s-sn"]&&(!o["getAttribute"]||!o.getAttribute("slot"))&&(o.nodeType===8||o.nodeType===3))){o["s-sn"]=n;r[e].push({slot:t,node:o,hostId:i})}o=o==null?void 0:o.nextSibling}while(o&&!((f=o.nodeValue)==null?void 0:f.startsWith(M+".")))};var xe=function(r,e){var n=r;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n};var Ce=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright Google Inc. All Rights Reserved.
|
|
6
|
+
*
|
|
7
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
8
|
+
* found in the LICENSE file at https://angular.io/license
|
|
9
|
+
*
|
|
10
|
+
* This file is a port of shadowCSS from `webcomponents.js` to TypeScript.
|
|
11
|
+
* https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
|
|
12
|
+
* https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
|
|
13
|
+
*/var Ae=function(r){var e=[];var n=0;r=r.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,(function(r,t){var i="__part-".concat(n,"__");e.push(t);n++;return i}));r=r.replace(/(\[[^\]]*\])/g,(function(r,t){var i="__ph-".concat(n,"__");e.push(t);n++;return i}));var t=r.replace(/(:nth-[-\w]+)(\([^)]+\))/g,(function(r,t,i){var a="__ph-".concat(n,"__");e.push(i);n++;return t+a}));var i={content:t,placeholders:e};return i};var Ee=function(r,e){e=e.replace(/__part-(\d+)__/g,(function(e,n){return r[+n]}));return e.replace(/__ph-(\d+)__/g,(function(e,n){return r[+n]}))};var ke="-shadowcsshost";var Te="-shadowcssslotted";var Ne="-shadowcsscontext";var Re=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)";var Le=new RegExp("("+ke+Re,"gim");var Me=new RegExp("("+Ne+Re,"gim");var De=new RegExp("("+Te+Re,"gim");var Ie=ke+"-no-combinator";var He=/-shadowcsshost-no-combinator([^\s]*)/;var Pe=[/::shadow/g,/::content/g];var Fe=/__part-(\d+)__/g;var Ue="([>\\s~+[.,{:][\\s\\S]*)?$";var ze=/-shadowcsshost/gim;var Be=function(r){var e=Ce(r);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(e,"))(").concat(e,"\\b)"),"g")};var We=/\/\*\s*[\s\S]*?\*\//g;var Ve=function(r){return r.replace(We,"")};var Ye=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;var Je=function(r){return r.match(Ye)||[]};var Xe=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;var qe=/([{}])/g;var Ke=/(^.*?[^\\])??((:+)(.*)|$)/;var Qe="{";var Ge="}";var Ze="%BLOCK%";var rn=function(r,e){var n=en(r);var t=0;return n.escapedString.replace(Xe,(function(){var r=[];for(var i=0;i<arguments.length;i++){r[i]=arguments[i]}var a=r[2];var f="";var o=r[4];var u="";if(o&&o.startsWith("{"+Ze)){f=n.blocks[t++];o=o.substring(Ze.length+1);u="{"}var s={selector:a,content:f};var l=e(s);return"".concat(r[1]).concat(l.selector).concat(r[3]).concat(u).concat(l.content).concat(o)}))};var en=function(r){var e=r.split(qe);var n=[];var t=[];var i=0;var a=[];for(var f=0;f<e.length;f++){var o=e[f];if(o===Ge){i--}if(i>0){a.push(o)}else{if(a.length>0){t.push(a.join(""));n.push(Ze);a=[]}n.push(o)}if(o===Qe){i++}}if(a.length>0){t.push(a.join(""));n.push(Ze)}var u={escapedString:n.join(""),blocks:t};return u};var nn=function(r){var e=[];r=r.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,(function(r,n){var t="__supports_".concat(e.length,"__");e.push(n);return"@supports selector(".concat(t,")")}));var n=Be("::slotted");var t=Be(":host");var i=Be(":host-context");r=r.replace(i,"$1".concat(Ne)).replace(t,"$1".concat(ke)).replace(n,"$1".concat(Te));e.forEach((function(e,n){r=r.replace("__supports_".concat(n,"__"),e)}));return r};var tn=function(r,e,n){return r.replace(e,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}if(r[2]){var t=r[2].split(",");var i=[];for(var a=0;a<t.length;a++){var f=t[a].trim();if(!f)break;i.push(n(Ie,f,r[3]))}return i.join(",")}else{return Ie+r[3]}}))};var an=function(r,e,n){return r+e.replace(ke,"")+n};var fn=function(r){return tn(r,Le,an)};var on=function(r,e,n){if(e.indexOf(ke)>-1){return an(r,e,n)}else{return r+e+n+", "+e+" "+r+n}};var un=function(r,e){var n="."+e+" > ";var t=[];r=r.replace(De,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}if(r[2]){var i=r[2].trim();var a=r[3];var f=n+i+a;var o="";for(var u=r[4]-1;u>=0;u--){var s=r[5][u];if(s==="}"||s===","){break}o=s+o}var l=(o+f).trim();var v="".concat(o.trimEnd()).concat(f.trim()).trim();if(l!==v){var c="".concat(v,", ").concat(l);t.push({orgSelector:l,updatedSelector:c})}return f}else{return Ie+r[3]}}));return{selectors:t,cssText:r}};var sn=function(r){return tn(r,Me,on)};var ln=function(r){return Pe.reduce((function(r,e){return r.replace(e," ")}),r)};var vn=function(r){var e=/\[/g;var n=/\]/g;r=r.replace(e,"\\[").replace(n,"\\]");return new RegExp("^("+r+")"+Ue,"m")};var cn=function(r,e){var n=vn(e);return!n.test(r)};var dn=function(r,e){return r.replace(Ke,(function(r,n,t,i,a){if(n===void 0){n=""}if(i===void 0){i=""}if(a===void 0){a=""}return n+e+i+a}))};var hn=function(r,e,n){ze.lastIndex=0;if(ze.test(r)){var t=".".concat(n);return r.replace(He,(function(r,e){return dn(e,t)})).replace(ze,t+" ")}return e+" "+r};var pn=function(r,e,n){var t=/\[is=([^\]]*)\]/g;e=e.replace(t,(function(r){var e=[];for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}return e[0]}));var i="."+e;var a=function(r){var t=r.trim();if(!t){return""}if(r.indexOf(Ie)>-1){t=hn(r,e,n)}else{var a=r.replace(ze,"");if(a.length>0){t=dn(a,i)}}return t};var f=Ae(r);r=f.content;var o="";var u=0;var s;var l=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;var v=r.indexOf(Ie)>-1;var c=!v;while((s=l.exec(r))!==null){var d=s[1];var h=r.slice(u,s.index).trim();c=c||h.indexOf(Ie)>-1;var p=c?a(h):h;o+="".concat(p," ").concat(d," ");u=l.lastIndex}var m=r.substring(u);c=!m.match(Fe)&&(c||m.indexOf(Ie)>-1);o+=c?a(m):m;return Ee(f.placeholders,o)};var mn=function(r,e,n,t){return r.split(",").map((function(r){if(t&&r.indexOf("."+t)>-1){return r.trim()}if(cn(r,e)){return pn(r,e,n).trim()}else{return r.trim()}})).join(", ")};var gn=function(r,e,n,t,i){return rn(r,(function(r){var i=r.selector;var a=r.content;if(r.selector[0]!=="@"){i=mn(r.selector,e,n,t)}else if(r.selector.startsWith("@media")||r.selector.startsWith("@supports")||r.selector.startsWith("@page")||r.selector.startsWith("@document")){a=gn(r.content,e,n,t)}var f={selector:i.replace(/\s{2,}/g," ").trim(),content:a};return f}))};var yn=function(r,e,n,t,i){r=nn(r);r=fn(r);r=sn(r);var a=un(r,t);r=a.cssText;r=ln(r);if(e){r=gn(r,e,n,t)}r=bn(r,n);r=r.replace(/>\s*\*\s+([^{, ]+)/gm," $1 ");return{cssText:r.trim(),slottedSelectors:a.selectors.map((function(r){return{orgSelector:bn(r.orgSelector,n),updatedSelector:bn(r.updatedSelector,n)}}))}};var bn=function(r,e){return r.replace(/-shadowcsshost-no-combinator/g,".".concat(e))};var _n=function(r){var e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return rn(r,(function(r){if(r.selector[0]==="@"){return r}var n=r.selector.split(",").map((function(n){var t=[n.trim()];var i;while((i=e.exec(n))!==null){var a=i[1].trimEnd();var f=i[2].trim().split(/\s+/);var o=i[3]||"";var u=f.flatMap((function(e){if(!r.selector.includes('[part~="'.concat(e,'"]'))){return['[part~="'.concat(e,'"]')]}return[]})).join("");var s="".concat(a," ").concat(u).concat(o);if(!!u&&s!==n.trim()){t.push(s)}}return t.join(", ")}));r.selector=n.join(", ");return r}))};var wn=function(r,e,n){var t=e+"-h";var i=e+"-s";var a=Je(r);r=Ve(r);var f=[];{var o=function(r){var e="/*!@___".concat(f.length,"___*/");var n="/*!@".concat(r.selector,"*/");f.push({placeholder:e,comment:n});r.selector=e+r.selector;return r};r=rn(r,(function(r){if(r.selector[0]!=="@"){return o(r)}else if(r.selector.startsWith("@media")||r.selector.startsWith("@supports")||r.selector.startsWith("@page")||r.selector.startsWith("@document")){r.content=rn(r.content,o);return r}return r}))}var u=yn(r,e,t,i);r=__spreadArray([u.cssText],a,true).join("\n");{f.forEach((function(e){var n=e.placeholder,t=e.comment;r=r.replace(n,t)}))}u.slottedSelectors.forEach((function(e){var n=new RegExp(Ce(e.orgSelector)+"(?=\\s*[,{]|$)","g");r=r.replace(n,e.updatedSelector)}));r=_n(r);return r};var $n=function(r){return k.map((function(e){return e(r)})).find((function(r){return!!r}))};var Sn=function(r){return k.push(r)};var jn=function(r){var e;return(e=m(r))==null?void 0:e.A};var On=function(r){if(!r)return void 0;var e=Object.keys(r);if(e.length===0)return void 0;var n=false;for(var t=0,i=e;t<i.length;t++){var a=i[t];if(n)break;for(var f=0,o=r[a];f<o.length;f++){var u=o[f];if(typeof u==="string"){n=true;break}}}if(!n)return r;var s={};for(var l=0,v=e;l<v.length;l++){var a=v[l];s[a]=r[a].map((function(r){var e;return typeof r==="string"?(e={},e[r]=0,e):r}))}return s};var xn=function(){function r(){}r.fromLocalValue=function(e){var n=e[v];var t=c in e?e[c]:void 0;switch(n){case"string":return t;case"boolean":return t;case"bigint":return BigInt(t);case"undefined":return void 0;case"null":return null;case"number":if(t==="NaN")return NaN;if(t==="-0")return-0;if(t==="Infinity")return Infinity;if(t==="-Infinity")return-Infinity;return t;case"array":return t.map((function(e){return r.fromLocalValue(e)}));case"date":return new Date(t);case"map":var i=new Map;for(var a=0,f=t;a<f.length;a++){var o=f[a],u=o[0],s=o[1];var l=typeof u==="object"&&u!==null?r.fromLocalValue(u):u;var d=r.fromLocalValue(s);i.set(l,d)}return i;case"object":var h={};for(var p=0,m=t;p<m.length;p++){var g=m[p],u=g[0],s=g[1];h[u]=r.fromLocalValue(s)}return h;case"regexp":var y=t.pattern,b=t.flags;return new RegExp(y,b);case"set":var _=new Set;for(var w=0,$=t;w<$.length;w++){var S=$[w];_.add(r.fromLocalValue(S))}return _;case"symbol":return Symbol(t);default:throw new Error("Unsupported type: ".concat(n))}};r.fromLocalValueArray=function(e){return e.map((function(e){return r.fromLocalValue(e)}))};r.isLocalValueObject=function(r){if(typeof r!=="object"||r===null){return false}if(!r.hasOwnProperty(v)){return false}var e=r[v];var n=Object.values(__assign(__assign({},s),l)).includes(e);if(!n){return false}if(e!=="null"&&e!=="undefined"){return r.hasOwnProperty(c)}return true};return r}();function Cn(r){var e=atob(r);var n=new Uint8Array(e.length);for(var t=0;t<e.length;t++){n[t]=e.charCodeAt(t)}return(new TextDecoder).decode(n)}function An(r){if(typeof r!=="string"||!r.startsWith(d)){return r}return xn.fromLocalValue(JSON.parse(Cn(r.slice(d.length))))}var En=function(r,e,n){if((i.hydrateClientSide||i.hydrateServerSide)&&typeof r==="string"&&r.startsWith(d)){r=An(r);return r}if(r!=null&&!ve(r)){if(i.propBoolean&&e&4){if(i.formAssociated&&n&&typeof r==="string"){return r===""||!!r}else{return r==="false"?false:r===""||!!r}}if(i.propNumber&&e&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(i.propString&&e&1){return String(r)}return r}return r};var kn=r("g",(function(r){var e;return i.lazyLoad?(e=m(r))==null?void 0:e.$hostElement$:r}));var Tn=r("a",(function(r,e,n){var t=kn(r);return{emit:function(r){if(i.isDev&&!t.isConnected){j('The "'.concat(e,'" event was emitted, but the dispatcher node is no longer connected to the dom.'))}return Nn(t,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:r})}}}));var Nn=function(r,e,n){var t=q.ce(e,n);r.dispatchEvent(t);return t};var Rn=function(r,e,n,t,a,f,o){if(n===t){return}var u=b(r,e);var s=e.toLowerCase();if(i.vdomClass&&e==="class"){var l=r.classList;var v=Mn(n);var c=Mn(t);if(i.hydrateClientSide&&(r["s-si"]||r["s-sc"])&&o){var d=r["s-sc"]||r["s-si"];c.push(d);v.forEach((function(r){if(r.startsWith(d))c.push(r)}));c=__spreadArray([],new Set(c),true).filter((function(r){return r}));l.add.apply(l,c)}else{l.remove.apply(l,v.filter((function(r){return r&&!c.includes(r)})));l.add.apply(l,c.filter((function(r){return r&&!v.includes(r)})))}}else if(i.vdomStyle&&e==="style"){if(i.updatable){for(var h in n){if(!t||t[h]==null){if(!i.hydrateServerSide&&h.includes("-")){r.style.removeProperty(h)}else{r.style[h]=""}}}}for(var h in t){if(!n||t[h]!==n[h]){if(!i.hydrateServerSide&&h.includes("-")){r.style.setProperty(h,t[h])}else{r.style[h]=t[h]}}}}else if(i.vdomKey&&e==="key");else if(i.vdomRef&&e==="ref"){if(t){ot(t,r)}}else if(i.vdomListener&&(i.lazyLoad?!u:!r.__lookupSetter__(e))&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(b(J,s)){e=s.slice(2)}else{e=s[2]+e.slice(3)}if(n||t){var p=e.endsWith(Dn);e=e.replace(In,"");if(n){q.rel(r,e,n,p)}if(t){q.ael(r,e,t,p)}}}else if(i.vdomPropOrAttr&&e[0]==="a"&&e.startsWith("attr:")){var g=e.slice(5);var y=void 0;if(i.member){var _=m(r);if(_&&_.t&&_.t.i){var w=_.t.i[g];if(w&&w[1]){y=w[1]}}}if(!y){y=g.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}if(t==null||t===false){if(t!==false||r.getAttribute(y)===""){r.removeAttribute(y)}}else{r.setAttribute(y,t===true?"":t)}return}else if(i.vdomPropOrAttr&&e[0]==="p"&&e.startsWith("prop:")){var g=e.slice(5);try{r[g]=t}catch(r){}return}else if(i.vdomPropOrAttr){var $=ve(t);if((u||$&&t!==null)&&!a){try{if(!r.tagName.includes("-")){var S=t==null?"":t;if(e==="list"){u=false}else if(n==null||r[e]!==S){if(typeof r.__lookupSetter__(e)==="function"){r[e]=S}else{r.setAttribute(e,S)}}}else if(r[e]!==t){r[e]=t}}catch(r){}}var j=false;if(i.vdomXlink){if(s!==(s=s.replace(/^xlink\:?/,""))){e=s;j=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(i.vdomXlink&&j){r.removeAttributeNS(V,e)}else{r.removeAttribute(e)}}}else if((!u||f&4||a)&&!$&&r.nodeType===1){t=t===true?"":t;if(i.vdomXlink&&j){r.setAttributeNS(V,e,t)}else{r.setAttribute(e,t)}}}};var Ln=/\s/;var Mn=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(Ln)};var Dn="Capture";var In=new RegExp(Dn+"$");var Hn=function(r,e,n,t){var a=e.V.nodeType===11&&e.V.host?e.V.host:e.V;var f=r&&r.P||{};var o=e.P||{};if(i.updatable){for(var u=0,s=Pn(Object.keys(f));u<s.length;u++){var l=s[u];if(!(l in o)){Rn(a,l,f[l],void 0,n,e.l,t)}}}for(var v=0,c=Pn(Object.keys(o));v<c.length;v++){var l=c[v];Rn(a,l,f[l],o[l],n,e.l,t)}};function Pn(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var Fn;var Un;var zn;var Bn=false;var Wn=false;var Vn=false;var Yn=false;var Jn=[];var Xn=[];var qn=function(r,e,n){var t;var a=e.F[n];var f=0;var s;var l;var v;if(i.slotRelocation&&!Bn){Vn=true;if(a.W==="slot"){a.l|=a.F?2:1}}if(i.isDev&&a.V){S("The JSX ".concat(a.I!==null?'"'.concat(a.I,'" text'):'"'.concat(a.W,'" element')," node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes"))}if(i.vdomText&&a.I!=null){s=a.V=J.document.createTextNode(a.I)}else if(i.slotRelocation&&a.l&1){s=a.V=i.isDebug||i.hydrateServerSide?ct(a):J.document.createTextNode("");if(i.vdomAttribute){Hn(null,a,Yn)}}else{if(i.svg&&!Yn){Yn=a.W==="svg"}if(!J.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.")}s=a.V=i.svg?J.document.createElementNS(Yn?o:u,!Bn&&i.slotRelocation&&a.l&2?"slot-fb":a.W):J.document.createElement(!Bn&&i.slotRelocation&&a.l&2?"slot-fb":a.W);if(i.svg&&Yn&&a.W==="foreignObject"){Yn=false}if(i.vdomAttribute){Hn(null,a,Yn)}if((i.scoped||i.hydrateServerSide&&128)&&le(Fn)&&s["s-si"]!==Fn){s.classList.add(s["s-si"]=Fn)}if(a.F){var c=a.W==="template"?s.content:s;for(f=0;f<a.F.length;++f){l=qn(r,a,f);if(l){c.appendChild(l)}}}if(i.svg){if(a.W==="svg"){Yn=false}else if(s.tagName==="foreignObject"){Yn=true}}}s["s-hn"]=zn;if(i.slotRelocation){if(a.l&(2|1)){s["s-sr"]=true;s["s-cr"]=Un;s["s-sn"]=a.B||"";s["s-rf"]=(t=a.P)==null?void 0:t.ref;xr(s);v=r&&r.F&&r.F[n];if(v&&v.W===a.W&&r.V){Kn(r.V)}if(i.scoped||i.hydrateServerSide&&128){lt(Un,s,e.V,r==null?void 0:r.V)}}}return s};var Kn=function(r){q.l|=1;var e=r.closest(zn.toLowerCase());if(e!=null){var n=Array.from(e.__childNodes||e.childNodes).find((function(r){return r["s-cr"]}));var t=Array.from(r.__childNodes||r.childNodes);for(var i=0,a=n?t.reverse():t;i<a.length;i++){var f=a[i];if(f["s-sh"]!=null){st(e,f,n!=null?n:null);f["s-sh"]=void 0;Vn=true}}}q.l&=-2};var Qn=function(r,e){q.l|=1;var n=Array.from(r.__childNodes||r.childNodes);if(r["s-sr"]){var t=r;while(t=t.nextSibling){if(t&&t["s-sn"]===r["s-sn"]&&t["s-sh"]===zn){n.push(t)}}}for(var i=n.length-1;i>=0;i--){var a=n[i];if(a["s-hn"]!==zn&&a["s-ol"]){st(nt(a).parentNode,a,nt(a));a["s-ol"].remove();a["s-ol"]=void 0;a["s-sh"]=void 0;Vn=true}if(e){Qn(a,e)}}q.l&=-2};var Gn=function(r,e,n,t,a,f){var o=i.slotRelocation&&r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(i.shadowDom&&o.shadowRoot&&o.tagName===zn){o=o.shadowRoot}if(n.W==="template"){o=o.content}for(;a<=f;++a){if(t[a]){u=qn(null,n,a);if(u){t[a].V=u;st(o,u,i.slotRelocation?nt(e):e)}}}};var Zn=function(r,e,n){for(var t=e;t<=n;++t){var a=r[t];if(a){var f=a.V;ft(a);if(f){if(i.slotRelocation){Wn=true;if(f["s-ol"]){f["s-ol"].remove()}else{Qn(f,true)}}f.remove()}}}};var rt=function(r,e,n,t,a){if(a===void 0){a=false}var f=0;var o=0;var u=0;var s=0;var l=e.length-1;var v=e[0];var c=e[l];var d=t.length-1;var h=t[0];var p=t[d];var m;var g;var y=n.W==="template"?r.content:r;while(f<=l&&o<=d){if(v==null){v=e[++f]}else if(c==null){c=e[--l]}else if(h==null){h=t[++o]}else if(p==null){p=t[--d]}else if(et(v,h,a)){tt(v,h,a);v=e[++f];h=t[++o]}else if(et(c,p,a)){tt(c,p,a);c=e[--l];p=t[--d]}else if(et(v,p,a)){if(i.slotRelocation&&(v.W==="slot"||p.W==="slot")){Qn(v.V.parentNode,false)}tt(v,p,a);st(y,v.V,c.V.nextSibling);v=e[++f];p=t[--d]}else if(et(c,h,a)){if(i.slotRelocation&&(v.W==="slot"||p.W==="slot")){Qn(c.V.parentNode,false)}tt(c,h,a);st(y,c.V,v.V);c=e[--l];h=t[++o]}else{u=-1;if(i.vdomKey){for(s=f;s<=l;++s){if(e[s]&&e[s].U!==null&&e[s].U===h.U){u=s;break}}}if(i.vdomKey&&u>=0){g=e[u];if(g.W!==h.W){m=qn(e&&e[o],n,u)}else{tt(g,h,a);e[u]=void 0;m=g.V}h=t[++o]}else{m=qn(e&&e[o],n,o);h=t[++o]}if(m){if(i.slotRelocation){st(nt(v.V).parentNode,m,nt(v.V))}else{st(v.V.parentNode,m,v.V)}}}}if(f>l){Gn(r,t[d+1]==null?null:t[d+1].V,n,t,o,d)}else if(i.updatable&&o>d){Zn(e,f,l)}};var et=function(r,e,n){if(n===void 0){n=false}if(r.W===e.W){if(i.slotRelocation&&r.W==="slot"){return r.B===e.B}if(i.vdomKey&&!n){return r.U===e.U}if(n&&!r.U&&e.U){r.U=e.U}return true}return false};var nt=function(r){return r&&r["s-ol"]||r};var tt=function(r,e,n){if(n===void 0){n=false}var t=e.V=r.V;var a=r.F;var f=e.F;var o=e.W;var u=e.I;var s;if(!i.vdomText||u==null){if(i.svg){Yn=o==="svg"?true:o==="foreignObject"?false:Yn}if(i.vdomAttribute||i.reflect){if(i.slot&&o==="slot"&&!Bn){if(r.B!==e.B){e.V["s-sn"]=e.B||"";Kn(e.V.parentElement)}}Hn(r,e,Yn,n)}if(i.updatable&&a!==null&&f!==null){rt(t,a,e,f,n)}else if(f!==null){if(i.updatable&&i.vdomText&&r.I!==null){t.textContent=""}Gn(t,null,e,f,0,f.length-1)}else if(!n&&i.updatable&&a!==null){Zn(a,0,a.length-1)}else if(i.hydrateClientSide&&n&&i.updatable&&a!==null&&f===null){e.F=a}if(i.svg&&Yn&&o==="svg"){Yn=false}}else if(i.vdomText&&i.slotRelocation&&(s=t["s-cr"])){s.parentNode.textContent=u}else if(i.vdomText&&r.I!==u){t.data=u}};var it=[];var at=function(r){var e;var n;var t;var i=r.__childNodes||r.childNodes;for(var a=0,f=i;a<f.length;a++){var o=f[a];if(o["s-sr"]&&(e=o["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;var u=o["s-sn"];var s=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==o["s-hn"]&&(!e["s-sh"]||e["s-sh"]!==o["s-hn"])){if(Sr(e,u)){var r=it.find((function(r){return r.G===e}));Wn=true;e["s-sn"]=e["s-sn"]||u;if(r){r.G["s-sh"]=o["s-hn"];r.Z=o}else{e["s-sh"]=o["s-hn"];it.push({Z:o,G:e})}if(e["s-sr"]){it.map((function(n){if(Sr(n.G,e["s-sn"])){r=it.find((function(r){return r.G===e}));if(r&&!n.Z){n.Z=r.Z}}}))}}else if(!it.some((function(r){return r.G===e}))){it.push({G:e})}}};for(t=n.length-1;t>=0;t--){s()}}if(o.nodeType===1){at(o)}}};var ft=function(r){if(i.vdomRef){if(r.P&&r.P.ref){Jn.push((function(){return r.P.ref(null)}))}r.F&&r.F.map(ft)}};var ot=function(r,e){if(i.vdomRef){Xn.push((function(){return r(e)}))}};var ut=function(){if(i.vdomRef){Jn.forEach((function(r){return r()}));Jn.length=0;Xn.forEach((function(r){return r()}));Xn.length=0}};var st=function(r,e,n,t){if(i.slotRelocation){if(i.scoped&&typeof e["s-sn"]==="string"&&!!e["s-sr"]&&!!e["s-cr"]){lt(e["s-cr"],e,r,e.parentElement)}else if(typeof e["s-sn"]==="string"){if(i.experimentalSlotFixes&&r.getRootNode().nodeType!==11){Yr(e)}r.insertBefore(e,n);var a=Ar(e).slotNode;if(a&&!t)Cr(a);return e}}if(r.__insertBefore){return r.__insertBefore(e,n)}else{return r==null?void 0:r.insertBefore(e,n)}};function lt(r,e,n,t){var i,a;var f;if(r&&typeof e["s-sn"]==="string"&&!!e["s-sr"]&&r.parentNode&&r.parentNode["s-sc"]&&(f=e["s-si"]||r.parentNode["s-sc"])){var o=e["s-sn"];var u=e["s-hn"];(i=n.classList)==null?void 0:i.add(f+"-s");if(t&&((a=t.classList)==null?void 0:a.contains(f+"-s"))){var s=(t.__childNodes||t.childNodes)[0];var l=false;while(s){if(s["s-sn"]!==o&&s["s-hn"]===u&&!!s["s-sr"]){l=true;break}s=s.nextSibling}if(!l)t.classList.remove(f+"-s")}}}var vt=function(r,e,n){if(n===void 0){n=false}var t,a,f,o,u;var s=r.$hostElement$;var l=r.t;var v=r.N||de(null,null);var c=pe(e);var d=c?e:ce(null,null,e);zn=s.tagName;if(i.isDev&&Array.isArray(e)&&e.some(pe)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'.concat(zn.toLowerCase(),'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n '))}if(i.reflect&&l.rr){d.P=d.P||{};l.rr.forEach((function(e){var n=e[0],t=e[1];if(i.serializer&&r.v.has(n)){d.P[t]=r.v.get(n)}else{d.P[t]=s[n]}}))}if(n&&d.P){for(var h=0,p=Object.keys(d.P);h<p.length;h++){var m=p[h];if(s.hasAttribute(m)&&!["key","ref","style","class"].includes(m)){d.P[m]=s[m]}}}d.W=null;d.l|=4;r.N=d;d.V=v.V=i.shadowDom?s.shadowRoot||s:s;if(i.scoped||i.shadowDom){Fn=s["s-sc"]}Bn=Q&&!!(l.l&1)&&!(l.l&128);if(i.slotRelocation){Un=s["s-cr"];Wn=false}tt(v,d,n);if(i.slotRelocation){q.l|=1;if(Vn){at(d.V);for(var g=0,y=it;g<y.length;g++){var b=y[g];var _=b.G;if(!_["s-ol"]&&J.document){var w=i.isDebug||i.hydrateServerSide?dt(_):J.document.createTextNode("");w["s-nr"]=_;st(_.parentNode,_["s-ol"]=w,_,n)}}for(var $=0,S=it;$<S.length;$++){var b=S[$];var _=b.G;var j=b.Z;if(_.nodeType===1&&n){_["s-ih"]=(t=_.hidden)!=null?t:false}if(j){var O=j.parentNode;var x=j.nextSibling;if(!i.hydrateServerSide&&x&&x.nodeType===1){var w=(a=_["s-ol"])==null?void 0:a.previousSibling;while(w){var C=(f=w["s-nr"])!=null?f:null;if(C&&C["s-sn"]===_["s-sn"]&&O===(C.__parentNode||C.parentNode)){C=C.nextSibling;while(C===_||(C==null?void 0:C["s-sr"])){C=C==null?void 0:C.nextSibling}if(!C||!C["s-nr"]){x=C;break}}w=w.previousSibling}}var A=_.__parentNode||_.parentNode;var E=_.__nextSibling||_.nextSibling;if(!x&&O!==A||E!==x){if(_!==x){st(O,_,x,n);if(_.nodeType===8&&_.nodeValue.startsWith("s-nt-")){var k=J.document.createTextNode(_.nodeValue.replace(/^s-nt-/,""));k["s-hn"]=_["s-hn"];k["s-sn"]=_["s-sn"];k["s-sh"]=_["s-sh"];k["s-sr"]=_["s-sr"];k["s-ol"]=_["s-ol"];k["s-ol"]["s-nr"]=k;st(_.parentNode,k,_,n);_.parentNode.removeChild(_)}if(_.nodeType===1&&_.tagName!=="SLOT-FB"){_.hidden=(o=_["s-ih"])!=null?o:false}}}_&&typeof j["s-rf"]==="function"&&j["s-rf"](j)}else if(_.nodeType===1){_.hidden=true}}}if(Wn){br(d.V)}q.l&=-2;it.length=0}if(i.slotRelocation&&!Bn&&!(l.l&1)&&s["s-cr"]){var T=d.V.__childNodes||d.V.childNodes;for(var N=0,R=T;N<R.length;N++){var L=R[N];if(L["s-hn"]!==zn&&!L["s-sh"]){if(n&&L["s-ih"]==null){L["s-ih"]=(u=L.hidden)!=null?u:false}if(L.nodeType===1){L.hidden=true}else if(L.nodeType===3&&!!L.nodeValue.trim()){var M=J.document.createComment("s-nt-"+L.nodeValue);M["s-sn"]=L["s-sn"];st(L.parentNode,M,L,n);L.parentNode.removeChild(L)}}}}Un=void 0;ut()};var ct=function(r){var e;return(e=J.document)==null?void 0:e.createComment("<slot".concat(r.B?' name="'+r.B+'"':"","> (host=").concat(zn.toLowerCase(),")"))};var dt=function(r){var e;return(e=J.document)==null?void 0:e.createComment("org-location for "+(r.localName?"<".concat(r.localName,"> (host=").concat(r["s-hn"],")"):"[".concat(r.textContent,"]")))};var ht=function(r,e){if(i.asyncLoading&&e&&!r.R&&e["s-p"]){var n=e["s-p"].push(new Promise((function(t){return r.R=function(){e["s-p"].splice(n-1,1);t()}})))}};var pt=function(r,e){if(i.taskQueue&&i.updatable){r.l|=16}if(i.asyncLoading&&r.l&4){r.l|=512;return}ht(r,r.T);var n=function(){return mt(r,e)};if(e){queueMicrotask((function(){n()}));return}return i.taskQueue?dr(n):n()};var mt=function(r,e){var n=r.$hostElement$;var t=Gr("scheduleUpdate",r.t.O);var a=i.lazyLoad?r.u:n;if(!a){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var f;if(e){if(i.lazyLoad){if(i.slotRelocation&&r.er){r.er=false;xt(a,"connectedCallback",void 0,n)}if(i.hostListener){r.l|=256;if(r.L){r.L.map((function(r){var e=r[0],t=r[1];return xt(a,e,t,n)}));r.L=void 0}}if(r.j.length){r.j.forEach((function(r){return r(n)}))}}Ct(n,"componentWillLoad");f=xt(a,"componentWillLoad",void 0,n)}else{Ct(n,"componentWillUpdate");f=xt(a,"componentWillUpdate",void 0,n)}Ct(n,"componentWillRender");f=gt(f,(function(){return xt(a,"componentWillRender",void 0,n)}));t();return gt(f,(function(){return bt(r,a,e)}))};var gt=function(r,e){return yt(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var yt=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var bt=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,a,f,o,u,s,l;return __generator(this,(function(v){switch(v.label){case 0:a=r.$hostElement$;f=Gr("update",r.t.O);o=a["s-rc"];if(i.style&&t){fe(r)}u=Gr("render",r.t.O);if(i.isDev){r.l|=1024}if(!i.hydrateServerSide)return[3,2];return[4,wt(r,e,a,t)];case 1:v.sent();return[3,3];case 2:wt(r,e,a,t);v.label=3;case 3:if(i.isDev){r.p=r.p===void 0?1:r.p+1;r.l&=-1025}if(i.hydrateServerSide){try{Et(a);if(t){if(r.t.l&1){a["s-en"]=""}else if(r.t.l&2){a["s-en"]="c"}}}catch(r){w(r,a)}}if(i.asyncLoading&&o){o.map((function(r){return r()}));a["s-rc"]=void 0}u();f();if(i.asyncLoading){s=(n=a["s-p"])!=null?n:[];l=function(){return St(r)};if(s.length===0){l()}else{Promise.all(s).then(l).catch(l);r.l|=4;s.length=0}}else{St(r)}return[2]}}))}))};var _t=null;var wt=function(r,e,n,t){var a=i.allRenderFn?true:false;var f=i.lazyLoad?true:false;var o=i.taskQueue?true:false;var u=i.updatable?true:false;try{_t=e;e=a?e.render():e.render&&e.render();if(u&&o){r.l&=-17}if(u||f){r.l|=2}if(i.hasRenderFn||i.reflect){if(i.vdomRender||i.reflect){if(i.hydrateServerSide){return Promise.resolve(e).then((function(e){return vt(r,e,t)}))}else{vt(r,e,t)}}else{var s=n.shadowRoot;if(r.t.l&1){s.textContent=e}else{n.textContent=e}}}}catch(e){w(e,r.$hostElement$)}_t=null;return null};var $t=function(){return _t};var St=function(r){var e=r.t.O;var n=r.$hostElement$;var t=Gr("postUpdate",e);var a=i.lazyLoad?r.u:n;var f=r.T;if(i.isDev){r.l|=1024}xt(a,"componentDidRender",void 0,n);if(i.isDev){r.l&=-1025}Ct(n,"componentDidRender");if(!(r.l&64)){r.l|=64;if(i.asyncLoading&&i.cssAnnotations){At(n)}if(i.isDev){r.l|=2048}xt(a,"componentDidLoad",void 0,n);if(i.isDev){r.l&=-2049}Ct(n,"componentDidLoad");t();if(i.asyncLoading){r.S(n);if(!f){Ot(e)}}}else{if(i.isDev){r.l|=1024}xt(a,"componentDidUpdate",void 0,n);if(i.isDev){r.l&=-1025}Ct(n,"componentDidUpdate");t()}if(i.method&&i.lazyLoad){r._(n)}if(i.asyncLoading){if(r.R){r.R();r.R=void 0}if(r.l&512){vr((function(){return pt(r,false)}))}r.l&=-517}};var jt=function(r){var e;if(i.updatable&&(f.isBrowser||f.isTesting)){var n=m(r);var t=(e=n==null?void 0:n.$hostElement$)==null?void 0:e.isConnected;if(t&&(n.l&(2|16))===2){pt(n,false)}return t}return false};var Ot=function(r){var e;if(i.asyncQueue){q.l|=2}vr((function(){return Nn(J,"appload",{detail:{namespace:t}})}));if(i.hydrateClientSide){if((e=q.Y)==null?void 0:e.size){q.Y.clear()}}if(i.profile&&performance.measure){performance.measure("[Stencil] ".concat(t," initial load (by ").concat(r,")"),"st:app:start")}};var xt=function(r,e,n,t){if(r&&r[e]){try{return r[e](n)}catch(r){w(r,t)}}return void 0};var Ct=function(r,e){if(i.lifecycleDOMEvents){Nn(r,"stencil_"+e,{bubbles:true,composed:true,detail:{namespace:t}})}};var At=function(r){var e,n;return i.hydratedClass?r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated"):i.hydratedAttribute?r.setAttribute((n=i.hydratedSelectorName)!=null?n:"hydrated",""):void 0};var Et=function(r){var e=r.children;if(e!=null){for(var n=0,t=e.length;n<t;n++){var i=e[n];if(typeof i.connectedCallback==="function"){i.connectedCallback()}Et(i)}}};var kt=function(r,e){return m(r).o.get(e)};var Tt=function(r,e,n,t){var a=m(r);if(!a){return}if(i.lazyLoad&&!a){throw new Error("Couldn't find host element for \"".concat(t.O,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}if(i.serializer&&a.v.has(e)&&a.v.get(e)===n){return}var f=i.lazyLoad?a.$hostElement$:r;var o=a.o.get(e);var u=a.l;var s=i.lazyLoad?a.u:f;n=En(n,t.i[e][0],i.formAssociated&&!!(t.l&64));var l=Number.isNaN(o)&&Number.isNaN(n);var v=n!==o&&!l;if((!i.lazyLoad||!(u&8)||o===void 0)&&v){a.o.set(e,n);if(i.serializer&&i.reflect&&t.rr){if(t.nr&&t.nr[e]){var c=function(r){var i=n;for(var f=0,o=t.nr[e];f<o.length;f++){var u=o[f];var s=Object.entries(u)[0][0];i=r[s](i,e)}a.v.set(e,i)};if(s){c(s)}else{a.j.push((function(){c(a.u)}))}}}if(i.isDev){if(a.l&1024){j('The state/prop "'.concat(e,'" changed during rendering. This can potentially lead to infinite-loops and other bugs.'),"\nElement",f,"\nNew value",n,"\nOld value",o)}else if(a.l&2048){j('The state/prop "'.concat(e,'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"'),"\nElement",f,"\nNew value",n,"\nOld value",o)}}if(i.propChangeCallback&&t.tr){var d=t.tr[e];if(d){d.map((function(r){try{var t=Object.entries(r)[0],i=t[0],l=t[1];if(u&128||l&1){if(!s){a.j.push((function(){a.u[i](n,o,e)}))}else{s[i](n,o,e)}}}catch(r){w(r,f)}}))}}if(i.updatable&&u&2){if(s.componentShouldUpdate){var h=s.componentShouldUpdate(n,o,e);if(h===false&&!(u&16)){return}}if(!(u&16)){pt(a,false)}}}};var Nt=function(r,e,n){var t,a;var f=r.prototype;if(i.isTesting){if(f.__stencilAugmented){return}f.__stencilAugmented=true}if(i.formAssociated&&e.l&64&&n&1){Y.forEach((function(r){var e=f[r];Object.defineProperty(f,r,{value:function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}var a;var f=m(this);var o=i.lazyLoad?f==null?void 0:f.u:this;if(!o){(a=f==null?void 0:f.$)==null?void 0:a.then((function(e){var t=e[r];typeof t==="function"&&t.call.apply(t,__spreadArray([e],n,false))}))}else{var u=i.lazyLoad?o[r]:e;typeof u==="function"&&u.call.apply(u,__spreadArray([o],n,false))}}})}))}if(i.member&&e.i||i.propChangeCallback){if(i.propChangeCallback){if(r.watchers&&!e.tr){e.tr=On(r.watchers)}if(r.deserializers&&!e.ir){e.ir=r.deserializers}if(r.serializers&&!e.nr){e.nr=r.serializers}}var o=Object.entries((t=e.i)!=null?t:{});o.map((function(r){var t=r[0],a=r[1][0];if((i.prop||i.state)&&(a&31||(!i.lazyLoad||n&2)&&a&32)){var o=h(f,t)||{},u=o.get,s=o.set;if(u)e.i[t][0]|=2048;if(s)e.i[t][0]|=4096;if(n&1||!u){Object.defineProperty(f,t,{get:function(){if(i.lazyLoad){if((e.i[t][0]&2048)===0){return kt(this,t)}var r=m(this);var n=r?r.u:f;if(!n)return;return n[t]}if(!i.lazyLoad){return u?u.apply(this):kt(this,t)}},configurable:true,enumerable:true})}Object.defineProperty(f,t,{set:function(r){var f=this;var o=m(this);if(!o){return}if(i.isDev){if((n&1)===0&&(e.i[t][0]&4096)===0&&(o&&o.l&8)===0&&(a&31)!==0&&(a&1024)===0){j('@Prop() "'.concat(t,'" on <').concat(e.O,"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability"))}}if(s){var u=a&32?this[t]:o.$hostElement$[t];if(typeof u==="undefined"&&o.o.get(t)){r=o.o.get(t)}s.apply(this,[En(r,a,i.formAssociated&&!!(e.l&64))]);r=a&32?this[t]:o.$hostElement$[t];Tt(this,t,r,e);return}if(!i.lazyLoad){Tt(this,t,r,e);return}if(i.lazyLoad){if((n&1)===0||(e.i[t][0]&4096)===0){Tt(this,t,r,e);if(n&1&&!o.u){o.j.push((function(){if(e.i[t][0]&4096&&o.u[t]!==o.o.get(t)){o.u[t]=r}}))}return}var l=function(){var n=o.u[t];if(!o.o.get(t)&&n){o.o.set(t,n)}o.u[t]=En(r,a,i.formAssociated&&!!(e.l&64));Tt(f,t,o.u[t],e)};if(o.u){l()}else{o.j.push((function(){l()}))}}}})}else if(i.lazyLoad&&i.method&&n&1&&a&64){Object.defineProperty(f,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=m(this);return(n=i==null?void 0:i.m)==null?void 0:n.then((function(){var e;return(e=i.u)==null?void 0:e[t].apply(e,r)}))}})}}));if(i.observeAttribute&&(!i.lazyLoad||n&1)){var u=new Map;f.attributeChangedCallback=function(r,n,t){var a=this;q.jmp((function(){var s;var l=u.get(r);var v=m(a);if(i.serializer&&v.v.has(l)&&v.v.get(l)===t){return}if(a.hasOwnProperty(l)&&i.lazyLoad){t=a[l];delete a[l]}if(i.deserializer&&e.ir&&e.ir[l]){var c=function(r,e){var n=e==null?void 0:e[r](t,l);if(n!==a[l]){a[l]=n}};var d=function(r){var e=Object.entries(r)[0][0];if(i.lazyLoad){if(v.u){c(e,v.u)}else{v.j.push((function(){c(e,v.u)}))}}else{c(e,a)}};for(var h=0,p=e.ir[l];h<p.length;h++){var g=p[h];d(g)}return}else if(f.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==t){return}else if(l==null){var y=v==null?void 0:v.l;if(v&&y&&!(y&8)&&t!==n){var b=i.lazyLoad?v.$hostElement$:a;var _=i.lazyLoad?v.u:b;var w=(s=e.tr)==null?void 0:s[r];w==null?void 0:w.forEach((function(e){var i=Object.entries(e)[0],a=i[0],f=i[1];if(_[a]!=null&&(y&128||f&1)){_[a].call(_,t,n,r)}}))}return}var $=o.find((function(r){var e=r[0];return e===l}));var S=$&&$[1][0]&4;var j=S&&t===null&&a[l]===void 0;if(S){t=t===null||t==="false"?false:true}var O=Object.getOwnPropertyDescriptor(f,l);if(!j&&t!=a[l]&&(!O.get||!!O.set)){a[l]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=e.tr)!=null?a:{}),true),o.filter((function(r){var e=r[0],n=r[1];return n[0]&31})).map((function(r){var n=r[0],t=r[1];var a;var f=t[1]||n;u.set(f,n);if(i.reflect&&t[0]&512){(a=e.rr)==null?void 0:a.push([n,f])}return f})),true)))}}return r};var Rt=function(r,e,t,a){return __awaiter(n,void 0,void 0,(function(){var n,f,o,u,s,l,v,c,d,h,p,m,g;return __generator(this,(function(y){switch(y.label){case 0:y.trys.push([0,7,,8]);if(!((e.l&32)===0))return[3,6];e.l|=32;f=t.C;if(!(i.lazyLoad&&f))return[3,4];o=A(t,e,a);if(!(o&&"then"in o))return[3,2];u=Zr("st:load:".concat(t.O,":").concat(e.A),"[Stencil] Load module for <".concat(t.O,">"));return[4,o];case 1:n=y.sent();u();return[3,3];case 2:n=o;y.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.O,"#").concat(e.A,'" was not found'))}if(i.member&&!n.isProxied){if(i.propChangeCallback){t.tr=On(n.watchers);t.nr=n.serializers;t.ir=n.deserializers}Nt(n,t,2);n.isProxied=true}s=Gr("createInstance",t.O);if(i.member){e.l|=8}try{new n(e)}catch(e){w(e,r)}if(i.member){e.l&=-9}if(i.propChangeCallback){e.l|=128}s();l=i.slotRelocation&&t.l&4;if(!l){Lt(e.u,r)}else{e.er=true}return[3,5];case 4:n=r.constructor;v=r.localName;customElements.whenDefined(v).then((function(){return e.l|=128}));y.label=5;case 5:if(i.style&&n&&n.style){c=void 0;if(typeof n.style==="string"){c=n.style}else if(i.mode&&typeof n.style!=="string"){e.A=$n(r);if(e.A){c=n.style[e.A]}if(i.hydrateServerSide&&e.A){r.setAttribute("s-mode",e.A)}}d=oe(t,e.A);if(!E.has(d)||i.hotModuleReplacement&&a){h=Gr("registerStyles",t.O);if(i.hydrateServerSide&&i.shadowDom){if(t.l&128){c=wn(c,d)}}ie(d,c,!!(t.l&1));h()}}y.label=6;case 6:p=e.T;m=function(){return pt(e,true)};if(i.asyncLoading&&p&&p["s-rc"]){p["s-rc"].push(m)}else{m()}return[3,8];case 7:g=y.sent();w(g,r);if(i.asyncLoading&&e.R){e.R();e.R=void 0}if(i.asyncLoading&&e.S){e.S(r)}return[3,8];case 8:return[2]}}))}))};var Lt=function(r,e){if(i.lazyLoad){xt(r,"connectedCallback",void 0,e)}};var Mt=function(r){if((q.l&1)===0){var e=m(r);if(!e){return}var n=e.t;var t=Gr("connectedCallback",n.O);if(i.hostListenerTargetParent){Vt(r,e,n.ar,true)}if(!(e.l&1)){e.l|=1;var a=void 0;if(i.hydrateClientSide){a=r.getAttribute(H);if(a){if(i.shadowDom&&Q&&n.l&1){var f=i.mode?ae(r.shadowRoot,n,r.getAttribute("s-mode")):ae(r.shadowRoot,n);r.classList.remove(f+"-h",f+"-s")}else if(i.scoped&&n.l&2){var f=oe(n,i.mode?r.getAttribute("s-mode"):void 0);r["s-sc"]=f}_e(r,n.O,a,e)}}if(i.slotRelocation&&!a){if(i.hydrateServerSide||(i.slot||i.shadowDom)&&n.l&(4|8)){Dt(r)}}if(i.asyncLoading){var o=r;while(o=o.parentNode||o.host){if(i.hydrateClientSide&&o.nodeType===1&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){ht(e,e.T=o);break}}}if(i.prop&&!i.hydrateServerSide&&n.i){Object.entries(n.i).map((function(e){var n=e[0],t=e[1][0];if(t&31&&Object.prototype.hasOwnProperty.call(r,n)){var i=r[n];delete r[n];r[n]=i}}))}if(i.initializeNextTick){vr((function(){return Rt(r,e,n)}))}else{Rt(r,e,n)}}else{Vt(r,e,n.ar,false);if(e==null?void 0:e.u){Lt(e.u,r)}else if(e==null?void 0:e.$){e.$.then((function(){return Lt(e.u,r)}))}}t()}};var Dt=function(r){if(!J.document){return}var e=r["s-cr"]=J.document.createComment(i.isDebug?"content-ref (host=".concat(r.localName,")"):"");e["s-cn"]=true;st(r,e,r.firstChild)};var It=function(r,e){if(i.lazyLoad){xt(r,"disconnectedCallback",void 0,e||r)}};var Ht=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((q.l&1)===0){e=m(r);if(i.hostListener){if(e==null?void 0:e.M){e.M.map((function(r){return r()}));e.M=void 0}}if(!i.lazyLoad){It(r)}else if(e==null?void 0:e.u){It(e.u,r)}else if(e==null?void 0:e.$){e.$.then((function(){return It(e.u,r)}))}}if(te.has(r)){te.delete(r)}if(r.shadowRoot&&te.has(r.shadowRoot)){te.delete(r.shadowRoot)}return[2]}))}))};var Pt=function(r,e){customElements.define(ni(e[1]),Ft(r,e))};var Ft=function(r,e){var n={l:e[0],O:e[1]};try{if(i.member){n.i=e[2]}if(i.hostListener){n.ar=e[3]}if(i.propChangeCallback){n.tr=On(r.tr);n.ir=r.ir;n.nr=r.nr}if(i.reflect){n.rr=[]}if(i.shadowDom&&!Q&&n.l&1){n.l|=8}if(!(n.l&1)&&n.l&256){if(i.experimentalSlotFixes){Er(r.prototype)}else{if(i.slotChildNodesFix){Fr(r.prototype)}if(i.cloneNodeFix){kr(r.prototype)}if(i.appendChildSlotFix){Tr(r.prototype)}if(i.scopedSlotTextContentFix&&n.l&2){Pr(r.prototype)}}}else if(i.cloneNodeFix){kr(r.prototype)}if(i.hydrateClientSide&&i.shadowDom){se()}var t=r.prototype.connectedCallback;var a=r.prototype.disconnectedCallback;Object.assign(r.prototype,{__hasHostListenerAttached:false,__registerHost:function(){y(this,n)},connectedCallback:function(){if(!this.__hasHostListenerAttached){var r=m(this);if(!r){return}Vt(this,r,n.ar,false);this.__hasHostListenerAttached=true}Mt(this);if(t){t.call(this)}},disconnectedCallback:function(){Ht(this);if(a){a.call(this)}},__attachShadow:function(){if(Q){if(!this.shadowRoot){yr.call(this,n)}else{if(this.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(n.O,"! Mode is set to ").concat(this.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}else{this.shadowRoot=this}}});Object.defineProperty(r,"is",{value:n.O,configurable:true});return Nt(r,n,1|2)}catch(e){w(e);return r}};var Ut=function(r){if(i.style&&i.mode&&!i.lazyLoad){var e=$n(r);var n=m(r);if(n&&n.A!==e){var t=n.t;var a=r["s-sc"];var f=oe(t,e);var o=r.constructor.style[e];var u=t.l;if(o){if(!E.has(f)){ie(f,o,!!(u&1))}n.A=e;r.classList.remove(a+"-h",a+"-s");fe(n);jt(r)}}}};var zt=function(r,e,n){var t=m(r);if(!t){return}t.l=1;Rt(r,t,e,n)};var Bt=r("b",(function(r,e){if(e===void 0){e={}}var n;if(i.profile&&performance.mark){performance.mark("st:app:start")}ee();if(!J.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=Gr("bootstrapLazy");var a=[];var f=e.exclude||[];var o=J.customElements;var u=J.document.head;var s=u.querySelector("meta[charset]");var l=J.document.createElement("style");var v=[];var c;var d=true;Object.assign(q,e);q.k=new URL(e.resourcesUrl||"./",J.document.baseURI).href;if(i.asyncQueue){if(e.syncQueue){q.l|=4}}if(i.hydrateClientSide){q.l|=2}if(i.hydrateClientSide&&i.shadowDom){se()}var h=false;r.map((function(r){r[1].map((function(n){var t,u;var s={l:n[0],O:n[1],i:n[2],ar:n[3]};if(s.l&4){h=true}if(i.member){s.i=n[2]}if(i.hostListener){s.ar=n[3]}if(i.reflect){s.rr=[]}if(i.propChangeCallback){s.tr=On(n[4]);s.nr=(t=n[5])!=null?t:{};s.ir=(u=n[6])!=null?u:{}}if(i.shadowDom&&!Q&&s.l&1){s.l|=8}var l=i.transformTagName&&e.transformTagName?e.transformTagName(s.O):ni(s.O);var p=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;y(e,s);if(i.shadowDom&&s.l&1){if(Q){if(!e.shadowRoot){yr.call(e,s)}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(s.O,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}else if(!i.hydrateServerSide&&!("shadowRoot"in e)){e.shadowRoot=e}}return n}e.prototype.connectedCallback=function(){var r=this;var e=m(this);if(!e){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Vt(this,e,s.ar,false)}if(c){clearTimeout(c);c=null}if(d){v.push(this)}else{q.jmp((function(){return Mt(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;q.jmp((function(){return Ht(r)}));q.raf((function(){var e;var n=m(r);if(!n){return}var t=v.findIndex((function(e){return e===r}));if(t>-1){v.splice(t,1)}if(((e=n==null?void 0:n.N)==null?void 0:e.V)instanceof Node&&!n.N.V.isConnected){delete n.N.V}}))};e.prototype.componentOnReady=function(){var r;return(r=m(this))==null?void 0:r.$};return e}(HTMLElement);if(!(s.l&1)&&s.l&256){if(i.experimentalSlotFixes){Er(p.prototype)}else{if(i.slotChildNodesFix){Fr(p.prototype)}if(i.cloneNodeFix){kr(p.prototype)}if(i.appendChildSlotFix){Tr(p.prototype)}if(i.scopedSlotTextContentFix&&s.l&2){Pr(p.prototype)}}}else if(i.cloneNodeFix){kr(p.prototype)}if(i.formAssociated&&s.l&64){p.formAssociated=true}if(i.hotModuleReplacement){p.prototype["s-hmr"]=function(r){zt(this,s,r)}}s.C=r[0];if(!f.includes(l)&&!o.get(l)){a.push(l);o.define(l,Nt(p,s,1))}}))}));if(a.length>0){if(i.slotRelocation&&h){l.textContent+=W}if(i.invisiblePrehydration&&(i.hydratedClass||i.hydratedAttribute)){l.textContent+=a.sort()+U}if(l.innerHTML.length){l.setAttribute("data-styles","");var p=(n=q.D)!=null?n:ne(J.document);if(p!=null){l.setAttribute("nonce",p)}u.insertBefore(l,s?s.nextSibling:u.firstChild)}}d=false;if(v.length){v.map((function(r){return r.connectedCallback()}))}else{if(i.profile){q.jmp((function(){return c=setTimeout(Ot,30,"timeout")}))}else{q.jmp((function(){return c=setTimeout(Ot,30)}))}}t()}));var Wt=r("F",(function(r,e){return e}));var Vt=function(r,e,n,t){if(i.hostListener&&n&&J.document){if(i.hostListenerTargetParent){if(t){n=n.filter((function(r){var e=r[0];return e&32}))}else{n=n.filter((function(r){var e=r[0];return!(e&32)}))}}n.map((function(n){var t=n[0],a=n[1],f=n[2];var o=i.hostListenerTarget?Jt(J.document,r,t):r;var u=Yt(e,f);var s=Xt(t);q.ael(o,a,u,s);(e.M=e.M||[]).push((function(){return q.rel(o,a,u,s)}))}))}};var Yt=function(r,e){return function(n){var t;try{if(i.lazyLoad){if(r.l&256){(t=r.u)==null?void 0:t[e](n)}else{(r.L=r.L||[]).push([e,n])}}else{r.$hostElement$[e](n)}}catch(e){w(e,r.$hostElement$)}}};var Jt=function(r,e,n){if(i.hostListenerTargetDocument&&n&4){return r}if(i.hostListenerTargetWindow&&n&8){return J}if(i.hostListenerTargetBody&&n&16){return r.body}if(i.hostListenerTargetParent&&n&32&&e.parentElement){return e.parentElement}return e};var Xt=function(r){return G?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var qt=i.lazyLoad?function(){function r(){}return r}():globalThis.HTMLElement||function(){function r(){}return r}();function Kt(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r.reduceRight((function(r,e){return e(r)}),qt)}var Qt=r("s",(function(r){return q.D=r}));var Gt=function(r){return Object.assign(q,r)};var Zt=new WeakMap;function ri(r,e){var n=Zt.get(e);if(!n){var t={l:0,O:e.tagName};n={l:0,t:t,$hostElement$:e};Zt.set(e,n)}vt(n,r)}var ei=void 0;function ni(r){if(!ei)return r;return ei(r)}function ti(r){if(ei){console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n ")}ei=r}function ii(r,e,n,t,i,a){var f=e||{};var o=f.children,u=__rest(f,["children"]);var s=u;if(n!==void 0&&!("key"in u)){s=__assign(__assign({},u),{key:n})}if(s&&Object.keys(s).length===0){s=null}if(o!==void 0){if(Array.isArray(o)){return ce.apply(void 0,__spreadArray([r,s],o,false))}if(typeof o==="object"&&o!==null&&"l"in o){return ce(r,s,o)}return ce(r,s,o)}return ce(r,s)}function ai(r,e,n){var t=e||{};var i=t.children,a=__rest(t,["children"]);var f=a;if(n!==void 0&&!("key"in a)){f=__assign(__assign({},a),{key:n})}if(f&&Object.keys(f).length===0){f=null}if(i!==void 0){if(Array.isArray(i)){return ce.apply(void 0,__spreadArray([r,f],i,false))}if(typeof i==="object"&&i!==null&&"l"in i){return ce(r,f,i)}return ce(r,f,i)}return ce(r,f)}function fi(r,e,n){return ai(r,e,n)}var oi=function(r,e){if(r!=null){var n=z in r?r[z]:__assign({},B);n.staticComponents=new Set(e);var t=[];ui(r,r.body,n,t);t.forEach((function(e){var t;if(e!=null&&e["s-nr"]){var i=e["s-nr"];var a=i["s-host-id"];var f=i["s-node-id"];var o="".concat(a,".").concat(f);if(a==null){a=0;n.rootLevelIds++;f=n.rootLevelIds;o="".concat(a,".").concat(f);if(i.nodeType===1){i.setAttribute(F,o);if(typeof i["s-sn"]==="string"&&!i.getAttribute("slot")){i.setAttribute("s-sn",i["s-sn"])}}else if(i.nodeType===3){if(a===0){var u=(t=i.nodeValue)==null?void 0:t.trim();if(u===""){e.remove();return}}var s=r.createComment(o);s.nodeValue="".concat(D,".").concat(o);st(i.parentNode,s,i)}else if(i.nodeType===8){var s=r.createComment(o);s.nodeValue="".concat(I,".").concat(o);i.parentNode.insertBefore(s,i)}}var l="".concat(L,".").concat(o);var v=e.parentElement;if(v){if(v["s-en"]===""){l+="."}else if(v["s-en"]==="c"){l+=".c"}}e.nodeValue=l}}))}};var ui=function(r,e,n,t){var i;if(e==null){return}if(e["s-nr"]!=null){t.push(e)}if(e.nodeType===1){var a=__spreadArray(__spreadArray([],Array.from(e.childNodes),true),Array.from(((i=e.shadowRoot)==null?void 0:i.childNodes)||[]),true);a.forEach((function(e){var i=m(e);if(i!=null&&!n.staticComponents.has(e.nodeName.toLowerCase())){var a={nodeIds:0};si(r,e,i.N,n,a)}ui(r,e,n,t)}))}};var si=function(r,e,n,t,i){if(n!=null){var a=++t.hostIds;e.setAttribute(H,a);if(e["s-cr"]!=null){e["s-cr"].nodeValue="".concat(R,".").concat(a)}if(n.F!=null){var f=0;n.F.forEach((function(e,n){li(r,e,i,a,f,n)}))}if(e&&n&&n.V&&!e.hasAttribute(F)){var o=e.parentElement;if(o&&o.childNodes){var u=Array.from(o.childNodes);var s=u.find((function(r){return r.nodeType===8&&r["s-sr"]}));if(s){var l=u.indexOf(e)-1;n.V.setAttribute(F,"".concat(s["s-host-id"],".").concat(s["s-node-id"],".0.").concat(l))}}}}};var li=function(r,e,n,t,i,a){var f=e.V;if(f==null){return}var o=n.nodeIds++;var u="".concat(t,".").concat(o,".").concat(i,".").concat(a);f["s-host-id"]=t;f["s-node-id"]=o;if(f.nodeType===1){f.setAttribute(F,u);if(typeof f["s-sn"]==="string"&&!f.getAttribute("slot")){f.setAttribute("s-sn",f["s-sn"])}}else if(f.nodeType===3){var s=f.parentNode;var l=s==null?void 0:s.nodeName;if(l!=="STYLE"&&l!=="SCRIPT"){var v="".concat(D,".").concat(u);var c=r.createComment(v);st(s,c,f)}}else if(f.nodeType===8){if(f["s-sr"]){var d=f["s-sn"]||"";var h="".concat(M,".").concat(u,".").concat(d);f.nodeValue=h}}if(e.F!=null){var p=i+1;e.F.forEach((function(e,i){li(r,e,n,t,p,i)}))}};var vi=Object.freeze({__proto__:null,BUILD:i,Build:f,Env:a,Fragment:Wt,H:X,HTMLElement:X,HYDRATED_STYLE_ID:P,Host:he,Mixin:Kt,NAMESPACE:t,STENCIL_DEV_MODE:$,addHostEventListeners:Vt,bootstrapLazy:Bt,cmpModules:C,connectedCallback:Mt,consoleDevError:S,consoleDevInfo:O,consoleDevWarn:j,consoleError:w,createEvent:Tn,defineCustomElement:Pt,disconnectedCallback:Ht,forceModeUpdate:Ut,forceUpdate:jt,getAssetPath:hr,getElement:kn,getHostRef:m,getMode:jn,getRenderingRef:$t,getValue:kt,h:ce,insertVdomAnnotations:oi,isMemberInElement:b,jsx:ai,jsxDEV:ii,jsxs:fi,loadModule:A,modeResolutionChain:k,needsScopedSSR:N,nextTick:vr,normalizeWatchers:On,parsePropertyValue:En,plt:q,postUpdateComponent:St,promiseResolve:Z,proxyComponent:Nt,proxyCustomElement:Ft,readTask:cr,registerHost:y,registerInstance:g,render:ri,renderVdom:vt,setAssetPath:pr,setErrorHandler:x,setMode:Sn,setNonce:Qt,setPlatformHelpers:K,setPlatformOptions:Gt,setScopedSSR:T,setTagTransformer:ti,setValue:Tt,styles:E,supportsConstructableStylesheets:rr,supportsListenerOptions:G,supportsMutableAdoptedStyleSheets:er,supportsShadow:Q,transformTag:ni,win:J,writeTask:dr});r("S",vi)}}}));
|