proto-tinker-wc 0.1.138 → 0.1.139

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.
@@ -5,7 +5,7 @@ const BUILD = /* proto-tinker-wc */ { allRenderFn: true, appendChildSlotFix: fal
5
5
  const Env = /* proto-tinker-wc */ {};
6
6
 
7
7
  /*
8
- Stencil Client Platform v4.41.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Platform v4.41.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var Build = {
@@ -2298,7 +2298,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
2298
2298
  }
2299
2299
  } else if (BUILD.vdomKey && memberName === "key") ; else if (BUILD.vdomRef && memberName === "ref") {
2300
2300
  if (newValue) {
2301
- newValue(elm);
2301
+ queueRefAttachment(newValue, elm);
2302
2302
  }
2303
2303
  } else if (BUILD.vdomListener && (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
2304
2304
  if (memberName[2] === "-") {
@@ -2427,6 +2427,8 @@ var useNativeShadowDom = false;
2427
2427
  var checkSlotFallbackVisibility = false;
2428
2428
  var checkSlotRelocate = false;
2429
2429
  var isSvgMode = false;
2430
+ var refCallbacksToRemove = [];
2431
+ var refCallbacksToAttach = [];
2430
2432
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
2431
2433
  var _a;
2432
2434
  const newVNode2 = newParentVNode.$children$[childIndex];
@@ -2813,10 +2815,25 @@ var markSlotContentForRelocation = (elm) => {
2813
2815
  };
2814
2816
  var nullifyVNodeRefs = (vNode) => {
2815
2817
  if (BUILD.vdomRef) {
2816
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
2818
+ if (vNode.$attrs$ && vNode.$attrs$.ref) {
2819
+ refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
2820
+ }
2817
2821
  vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
2818
2822
  }
2819
2823
  };
2824
+ var queueRefAttachment = (refCallback, elm) => {
2825
+ if (BUILD.vdomRef) {
2826
+ refCallbacksToAttach.push(() => refCallback(elm));
2827
+ }
2828
+ };
2829
+ var flushQueuedRefCallbacks = () => {
2830
+ if (BUILD.vdomRef) {
2831
+ refCallbacksToRemove.forEach((cb) => cb());
2832
+ refCallbacksToRemove.length = 0;
2833
+ refCallbacksToAttach.forEach((cb) => cb());
2834
+ refCallbacksToAttach.length = 0;
2835
+ }
2836
+ };
2820
2837
  var insertBefore = (parent, newNode, reference, isInitialLoad) => {
2821
2838
  if (BUILD.slotRelocation) {
2822
2839
  if (BUILD.scoped && typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
@@ -3005,6 +3022,7 @@ render() {
3005
3022
  }
3006
3023
  }
3007
3024
  contentRef = void 0;
3025
+ flushQueuedRefCallbacks();
3008
3026
  };
3009
3027
  var slotReferenceDebugNode = (slotVNode) => {
3010
3028
  var _a;
@@ -3339,13 +3357,22 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
3339
3357
  if ((!BUILD.lazyLoad || !(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
3340
3358
  hostRef.$instanceValues$.set(propName, newVal);
3341
3359
  if (BUILD.serializer && BUILD.reflect && cmpMeta.$attrsToReflect$) {
3342
- if (instance && cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
3343
- let attrVal = newVal;
3344
- for (const serializer of cmpMeta.$serializers$[propName]) {
3345
- const [[methodName]] = Object.entries(serializer);
3346
- attrVal = instance[methodName](attrVal, propName);
3360
+ if (cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
3361
+ const runSerializer = (inst) => {
3362
+ let attrVal = newVal;
3363
+ for (const serializer of cmpMeta.$serializers$[propName]) {
3364
+ const [[methodName]] = Object.entries(serializer);
3365
+ attrVal = inst[methodName](attrVal, propName);
3366
+ }
3367
+ hostRef.$serializerValues$.set(propName, attrVal);
3368
+ };
3369
+ if (instance) {
3370
+ runSerializer(instance);
3371
+ } else {
3372
+ hostRef.$fetchedCbList$.push(() => {
3373
+ runSerializer(hostRef.$lazyInstance$);
3374
+ });
3347
3375
  }
3348
- hostRef.$serializerValues$.set(propName, attrVal);
3349
3376
  }
3350
3377
  }
3351
3378
  if (BUILD.isDev) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BgscrsyI.js');
3
+ var index = require('./index-V4ZCQQRL.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BgscrsyI.js');
3
+ var index = require('./index-V4ZCQQRL.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
7
7
  /*
8
- Stencil Client Patch Browser v4.41.2 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.41.3 | MIT Licensed | https://stenciljs.com
9
9
  */
10
10
 
11
11
  var patchBrowser = () => {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BgscrsyI.js');
3
+ var index = require('./index-V4ZCQQRL.js');
4
4
 
5
5
  const Radio = props => {
6
6
  const hex = props.hex || 'currentColor';
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.41.2",
7
+ "version": "4.41.3",
8
8
  "typescriptVersion": "5.8.3"
9
9
  },
10
10
  "collections": [],
@@ -3,7 +3,7 @@ const BUILD = /* proto-tinker-wc */ { allRenderFn: true, appendChildSlotFix: fal
3
3
  const Env = /* proto-tinker-wc */ {};
4
4
 
5
5
  /*
6
- Stencil Client Platform v4.41.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Platform v4.41.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var Build = {
@@ -2296,7 +2296,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
2296
2296
  }
2297
2297
  } else if (BUILD.vdomKey && memberName === "key") ; else if (BUILD.vdomRef && memberName === "ref") {
2298
2298
  if (newValue) {
2299
- newValue(elm);
2299
+ queueRefAttachment(newValue, elm);
2300
2300
  }
2301
2301
  } else if (BUILD.vdomListener && (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === "o" && memberName[1] === "n") {
2302
2302
  if (memberName[2] === "-") {
@@ -2425,6 +2425,8 @@ var useNativeShadowDom = false;
2425
2425
  var checkSlotFallbackVisibility = false;
2426
2426
  var checkSlotRelocate = false;
2427
2427
  var isSvgMode = false;
2428
+ var refCallbacksToRemove = [];
2429
+ var refCallbacksToAttach = [];
2428
2430
  var createElm = (oldParentVNode, newParentVNode, childIndex) => {
2429
2431
  var _a;
2430
2432
  const newVNode2 = newParentVNode.$children$[childIndex];
@@ -2811,10 +2813,25 @@ var markSlotContentForRelocation = (elm) => {
2811
2813
  };
2812
2814
  var nullifyVNodeRefs = (vNode) => {
2813
2815
  if (BUILD.vdomRef) {
2814
- vNode.$attrs$ && vNode.$attrs$.ref && vNode.$attrs$.ref(null);
2816
+ if (vNode.$attrs$ && vNode.$attrs$.ref) {
2817
+ refCallbacksToRemove.push(() => vNode.$attrs$.ref(null));
2818
+ }
2815
2819
  vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
2816
2820
  }
2817
2821
  };
2822
+ var queueRefAttachment = (refCallback, elm) => {
2823
+ if (BUILD.vdomRef) {
2824
+ refCallbacksToAttach.push(() => refCallback(elm));
2825
+ }
2826
+ };
2827
+ var flushQueuedRefCallbacks = () => {
2828
+ if (BUILD.vdomRef) {
2829
+ refCallbacksToRemove.forEach((cb) => cb());
2830
+ refCallbacksToRemove.length = 0;
2831
+ refCallbacksToAttach.forEach((cb) => cb());
2832
+ refCallbacksToAttach.length = 0;
2833
+ }
2834
+ };
2818
2835
  var insertBefore = (parent, newNode, reference, isInitialLoad) => {
2819
2836
  if (BUILD.slotRelocation) {
2820
2837
  if (BUILD.scoped && typeof newNode["s-sn"] === "string" && !!newNode["s-sr"] && !!newNode["s-cr"]) {
@@ -3003,6 +3020,7 @@ render() {
3003
3020
  }
3004
3021
  }
3005
3022
  contentRef = void 0;
3023
+ flushQueuedRefCallbacks();
3006
3024
  };
3007
3025
  var slotReferenceDebugNode = (slotVNode) => {
3008
3026
  var _a;
@@ -3337,13 +3355,22 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
3337
3355
  if ((!BUILD.lazyLoad || !(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
3338
3356
  hostRef.$instanceValues$.set(propName, newVal);
3339
3357
  if (BUILD.serializer && BUILD.reflect && cmpMeta.$attrsToReflect$) {
3340
- if (instance && cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
3341
- let attrVal = newVal;
3342
- for (const serializer of cmpMeta.$serializers$[propName]) {
3343
- const [[methodName]] = Object.entries(serializer);
3344
- attrVal = instance[methodName](attrVal, propName);
3358
+ if (cmpMeta.$serializers$ && cmpMeta.$serializers$[propName]) {
3359
+ const runSerializer = (inst) => {
3360
+ let attrVal = newVal;
3361
+ for (const serializer of cmpMeta.$serializers$[propName]) {
3362
+ const [[methodName]] = Object.entries(serializer);
3363
+ attrVal = inst[methodName](attrVal, propName);
3364
+ }
3365
+ hostRef.$serializerValues$.set(propName, attrVal);
3366
+ };
3367
+ if (instance) {
3368
+ runSerializer(instance);
3369
+ } else {
3370
+ hostRef.$fetchedCbList$.push(() => {
3371
+ runSerializer(hostRef.$lazyInstance$);
3372
+ });
3345
3373
  }
3346
- hostRef.$serializerValues$.set(propName, attrVal);
3347
3374
  }
3348
3375
  }
3349
3376
  if (BUILD.isDev) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-DK5EpBb9.js';
2
- export { s as setNonce } from './index-DK5EpBb9.js';
1
+ import { b as bootstrapLazy } from './index-CxY1iR5w.js';
2
+ export { s as setNonce } from './index-CxY1iR5w.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-DK5EpBb9.js';
2
- export { s as setNonce } from './index-DK5EpBb9.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-CxY1iR5w.js';
2
+ export { s as setNonce } from './index-CxY1iR5w.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.41.2 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.41.3 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
@@ -1,4 +1,4 @@
1
- import { h, S as StencilCore, r as registerInstance } from './index-DK5EpBb9.js';
1
+ import { h, S as StencilCore, r as registerInstance } from './index-CxY1iR5w.js';
2
2
 
3
3
  const Radio = props => {
4
4
  const hex = props.hex || 'currentColor';
@@ -1 +1 @@
1
- import{h as t,S as e,r as a}from"./p-DK5EpBb9.js";const r=e=>{const a=e.hex||"currentColor",r=e.selected||!1,l=e.size||24;return t("svg",{class:e.class,width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"radio")," ",t("g",{fill:a},t("path",r?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},l=[{id:1,height:400,width:100,x:10,y:10,drop:20},{id:2,height:356,width:100,x:120,y:32,drop:20},{id:3,height:312,width:100,x:230,y:54,drop:20},{id:4,height:268,width:100,x:340,y:76,drop:20},{id:5,height:224,width:100,x:450,y:98,drop:20}].map((()=>0)),o={bada55:"#bada55",navy:"#001f3f",blue:"#0074d9",aqua:"#7fdbff",teal:"#39cccc",olive:"#3d9970",green:"#2ecc40",lime:"#01ff70",yellow:"#ffdc00",orange:"#ff851b",red:"#ff4136",maroon:"#85144b",fuchsia:"#f012be",purple:"#b10dc9",black:"#111111",gray:"#aaaaaa",silver:"#dddddd"},n={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},s=Object.keys(o),i=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys()){const a=t.get(e).filter((t=>{const e=t.deref();return e&&(!("isConnected"in(a=e))||a.isConnected);var a}));t.set(e,a)}})(...e)}),2e3)}})(),c=e.forceUpdate,d=e.getRenderingRef,f=(t,e)=>{const a=t.indexOf(e);a>=0&&(t[a]=t[t.length-1],t.length--)},p="proto-tinker-wc::app-data",h=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const a=()=>{return("function"==typeof(e=t)?e():e)??{};var e},r=a();let l=new Map(Object.entries(r));const o="undefined"!=typeof Proxy,n=o?null:{},s={dispose:[],get:[],set:[],reset:[]},i=new Map,c=()=>{l=new Map(Object.entries(a())),o||u(),s.reset.forEach((t=>t()))},d=t=>(s.get.forEach((e=>e(t))),l.get(t)),p=(t,a)=>{const r=l.get(t);e(a,r,t)&&(l.set(t,a),o||b(t),s.set.forEach((e=>e(t,a,r))))},h=o?new Proxy(r,{get:(t,e)=>d(e),ownKeys:()=>Array.from(l.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>l.has(e),set:(t,e,a)=>(p(e,a),!0)}):(u(),n),g=(t,e)=>(s[t].push(e),()=>{f(s[t],e)});function b(t){!o&&n&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:()=>d(t),set(e){p(t,e)}}))}function u(){if(o||!n)return;const t=new Set(l.keys());for(const e of Object.keys(n))t.has(e)||delete n[e];for(const e of t)b(e)}return{state:h,get:d,set:p,on:g,onChange:(t,e)=>{const r=(a,r)=>{a===t&&e(r)},l=()=>{const r=a();e(r[t])},o=g("set",r),n=g("reset",l);return i.set(e,{setHandler:r,resetHandler:l,propName:t}),()=>{o(),n(),i.delete(e)}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(g("set",e.set)),e.get&&t.push(g("get",e.get)),e.reset&&t.push(g("reset",e.reset)),e.dispose&&t.push(g("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{s.dispose.forEach((t=>t())),c()},reset:c,forceUpdate:t=>{const e=l.get(t);s.set.forEach((a=>a(t,e,e)))},removeListener:(t,e)=>{const a=i.get(e);a&&a.propName===t&&(f(s.set,a.setHandler),f(s.reset,a.resetHandler),i.delete(e))}}})({count:0,pick:"bada55",values:[...l]},void 0);return t.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const t=c,e=d,a=new Map;return{dispose:()=>a.clear(),get:t=>{const r=e();r&&((t,e,a)=>{let r=t.get(e);r||(r=[],t.set(e,r)),r.some((t=>t.deref()===a))||r.push(new WeakRef(a))})(a,t,r)},set:e=>{const r=a.get(e);if(r){const l=r.filter((e=>{const a=e.deref();return!!a&&t(a)}));a.set(e,l)}i(a)},reset:()=>{a.forEach((e=>{e.forEach((e=>{const a=e.deref();a&&t(a)}))})),i(a)}}})()),t})(),{state:g}=h,b=()=>{const{count:t,pick:e,values:a}=g;(t=>{const e=JSON.stringify(t);localStorage.setItem(p,e)})({count:t,pick:e,values:a})},u={initApp:()=>{const t=(()=>{const t=localStorage.getItem(p);return t?JSON.parse(t):void 0})();if(t){const{count:e,pick:a,values:r}=t;g.count=e,g.pick=a,g.values=r}},refresh:()=>{const t=l.map((()=>Math.floor(100*Math.random())));g.count=g.count+1,g.values=t,b()},reset:()=>{g.count=0,g.values=[...l],b()},updatePick:t=>{g.pick=t,b()}},v=e=>{const{actions:a,state:l}=e,{pick:i}=l;return t("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},s.map((e=>{const l=(t=>o[t]||n[t])(e),s=i===e;return t("div",{"aria-label":e,"aria-checked":s?"true":"false",role:"radio",onClick:()=>{a.updatePick(e)}},t(r,{hex:l,selected:s,label:e}))})))},x=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"chevron-double-left"),t("g",{fill:a},t("path",{d:"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},m=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"close"),t("g",{fill:a},t("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},C=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"refresh"),t("g",{fill:a},t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},w=e=>{const{actions:a,state:r}=e,{count:l}=r;return t("div",{class:"mb-10px mt-3 flex items-center"},t("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{a.refresh()}},t(C,{label:"Refresh"})),t("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{a.reset()}},t(m,{label:"Reset"})),t("span",{class:"flex items-center"},t(x,{size:28}),t("span",{class:"italic"},"click a button... ",t("sup",null,l))))},y=()=>t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.18"),k=e=>{const{state:a}=e,{values:r,pick:l,count:o}=a;return t("div",{class:"flex"},t("div",{class:"flex flex-col"},t("div",{class:"flex"},t("span",{class:"mr-10px font-bold"},"color:"),t("span",{class:"italic text-clrs-slate4"},l)),t("div",{class:"mt-5px flex"},t("span",{class:"mr-10px font-bold"},"sample:"),t("span",{class:"italic text-clrs-slate4"},`${o>0?r:"..."}`))),t(y,null))},M=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"fingerprint"),t("g",{fill:a},t("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},z="eswat2",L=()=>t("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":z,target:"blank",title:z},t(M,{label:"eswat2"})),S=e=>t("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},e.label),j=class{constructor(t){a(this,t),this.tag="proto-tinker"}componentDidLoad(){u.initApp()}render(){return t("div",{key:"8ce0faa12c39b5b7ebc87c2f8d00dade936e3ded",id:"app",class:"ds1-main relative"},t(S,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),t(L,{key:"919ca01768ea309609ec6be67fede120434d723e"}),t(w,{key:"e8220f685b6b44e3d7ccd1bf644d3f98219d7310",actions:u,state:g}),t(v,{key:"463901312bdd5ee72715de3e2fc47ad364902f40",actions:u,state:g}),t("hr",{key:"35ba2812a3b068b21b5252c5f07d0b5dc2f18527",class:"ml-0 mr-0"}),t(k,{key:"df047e0968a8267a031b87fd733c454911771fe0",state:g}))}};j.style="@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';--spacing:0.25rem;--text-xs:0.75rem;--text-xs--line-height:calc(1 / 0.75);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-thin:100;--font-weight-bold:700}}@layer utilities{.absolute{position:absolute}.relative{position:relative}.top-8{top:calc(var(--spacing) * 8)}.right-8{right:calc(var(--spacing) * 8)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-5px{margin-top:5px}.mt-11{margin-top:calc(var(--spacing) * 11)}.mr-0{margin-right:calc(var(--spacing) * 0)}.mr-10px{margin-right:10px}.mb-10px{margin-bottom:10px}.mb-11{margin-bottom:calc(var(--spacing) * 11)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-auto{margin-left:auto}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.border-solid{--tw-border-style:solid;border-style:solid}.border-clrs-slate{border-color:var(--clrs-slate, #708090)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.bg-clrs-red{background-color:var(--clrs-red, #ff4136)}.p-4{padding:calc(var(--spacing) * 4)}.text-center{text-align:center}.align-top{vertical-align:top}.font-sans{font-family:var(--font-sans)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading, var(--text-6xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.text-clrs-gray{color:var(--clrs-gray, #aaaaaa)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-slate4{color:var(--clrs-slate4, #4e5964)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:text-clrs-navy{&:hover{@media (hover: hover){color:var(--clrs-navy, #001f3f)}}}.active\\:bg-clrs-gray{&:active{background-color:var(--clrs-gray, #aaaaaa)}}}@layer components{.ds1-main{display:flex;flex-direction:column;padding:calc(var(--spacing) * 4);font-family:var(--font-sans);color:var(--clrs-navy, #001f3f);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ds1-button{display:flex;align-items:center;--tw-border-style:solid;border-style:solid;border-color:var(--clrs-slate, #708090);color:var(--clrs-white, #ffffff);&:active{background-color:var(--clrs-gray, #aaaaaa)}&:active{color:var(--clrs-navy, #001f3f)}}}.data-button{border-radius:5px;border-width:1px;padding:5px;margin:0px;margin-right:5px;cursor:pointer}";export{j as proto_tinker}
1
+ import{h as t,S as e,r as a}from"./p-CxY1iR5w.js";const r=e=>{const a=e.hex||"currentColor",r=e.selected||!1,l=e.size||24;return t("svg",{class:e.class,width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"radio")," ",t("g",{fill:a},t("path",r?{d:"M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},l=[{id:1,height:400,width:100,x:10,y:10,drop:20},{id:2,height:356,width:100,x:120,y:32,drop:20},{id:3,height:312,width:100,x:230,y:54,drop:20},{id:4,height:268,width:100,x:340,y:76,drop:20},{id:5,height:224,width:100,x:450,y:98,drop:20}].map((()=>0)),o={bada55:"#bada55",navy:"#001f3f",blue:"#0074d9",aqua:"#7fdbff",teal:"#39cccc",olive:"#3d9970",green:"#2ecc40",lime:"#01ff70",yellow:"#ffdc00",orange:"#ff851b",red:"#ff4136",maroon:"#85144b",fuchsia:"#f012be",purple:"#b10dc9",black:"#111111",gray:"#aaaaaa",silver:"#dddddd"},n={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},s=Object.keys(o),i=(()=>{let t;return(...e)=>{t&&clearTimeout(t),t=setTimeout((()=>{t=0,(t=>{for(let e of t.keys()){const a=t.get(e).filter((t=>{const e=t.deref();return e&&(!("isConnected"in(a=e))||a.isConnected);var a}));t.set(e,a)}})(...e)}),2e3)}})(),c=e.forceUpdate,d=e.getRenderingRef,f=(t,e)=>{const a=t.indexOf(e);a>=0&&(t[a]=t[t.length-1],t.length--)},p="proto-tinker-wc::app-data",h=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const a=()=>{return("function"==typeof(e=t)?e():e)??{};var e},r=a();let l=new Map(Object.entries(r));const o="undefined"!=typeof Proxy,n=o?null:{},s={dispose:[],get:[],set:[],reset:[]},i=new Map,c=()=>{l=new Map(Object.entries(a())),o||u(),s.reset.forEach((t=>t()))},d=t=>(s.get.forEach((e=>e(t))),l.get(t)),p=(t,a)=>{const r=l.get(t);e(a,r,t)&&(l.set(t,a),o||b(t),s.set.forEach((e=>e(t,a,r))))},h=o?new Proxy(r,{get:(t,e)=>d(e),ownKeys:()=>Array.from(l.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(t,e)=>l.has(e),set:(t,e,a)=>(p(e,a),!0)}):(u(),n),g=(t,e)=>(s[t].push(e),()=>{f(s[t],e)});function b(t){!o&&n&&(Object.prototype.hasOwnProperty.call(n,t)||Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:()=>d(t),set(e){p(t,e)}}))}function u(){if(o||!n)return;const t=new Set(l.keys());for(const e of Object.keys(n))t.has(e)||delete n[e];for(const e of t)b(e)}return{state:h,get:d,set:p,on:g,onChange:(t,e)=>{const r=(a,r)=>{a===t&&e(r)},l=()=>{const r=a();e(r[t])},o=g("set",r),n=g("reset",l);return i.set(e,{setHandler:r,resetHandler:l,propName:t}),()=>{o(),n(),i.delete(e)}},use:(...t)=>{const e=t.reduce(((t,e)=>(e.set&&t.push(g("set",e.set)),e.get&&t.push(g("get",e.get)),e.reset&&t.push(g("reset",e.reset)),e.dispose&&t.push(g("dispose",e.dispose)),t)),[]);return()=>e.forEach((t=>t()))},dispose:()=>{s.dispose.forEach((t=>t())),c()},reset:c,forceUpdate:t=>{const e=l.get(t);s.set.forEach((a=>a(t,e,e)))},removeListener:(t,e)=>{const a=i.get(e);a&&a.propName===t&&(f(s.set,a.setHandler),f(s.reset,a.resetHandler),i.delete(e))}}})({count:0,pick:"bada55",values:[...l]},void 0);return t.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const t=c,e=d,a=new Map;return{dispose:()=>a.clear(),get:t=>{const r=e();r&&((t,e,a)=>{let r=t.get(e);r||(r=[],t.set(e,r)),r.some((t=>t.deref()===a))||r.push(new WeakRef(a))})(a,t,r)},set:e=>{const r=a.get(e);if(r){const l=r.filter((e=>{const a=e.deref();return!!a&&t(a)}));a.set(e,l)}i(a)},reset:()=>{a.forEach((e=>{e.forEach((e=>{const a=e.deref();a&&t(a)}))})),i(a)}}})()),t})(),{state:g}=h,b=()=>{const{count:t,pick:e,values:a}=g;(t=>{const e=JSON.stringify(t);localStorage.setItem(p,e)})({count:t,pick:e,values:a})},u={initApp:()=>{const t=(()=>{const t=localStorage.getItem(p);return t?JSON.parse(t):void 0})();if(t){const{count:e,pick:a,values:r}=t;g.count=e,g.pick=a,g.values=r}},refresh:()=>{const t=l.map((()=>Math.floor(100*Math.random())));g.count=g.count+1,g.values=t,b()},reset:()=>{g.count=0,g.values=[...l],b()},updatePick:t=>{g.pick=t,b()}},v=e=>{const{actions:a,state:l}=e,{pick:i}=l;return t("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},s.map((e=>{const l=(t=>o[t]||n[t])(e),s=i===e;return t("div",{"aria-label":e,"aria-checked":s?"true":"false",role:"radio",onClick:()=>{a.updatePick(e)}},t(r,{hex:l,selected:s,label:e}))})))},x=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"chevron-double-left"),t("g",{fill:a},t("path",{d:"M18.41,7.41L17,6L11,12L17,18L18.41,16.59L13.83,12L18.41,7.41M12.41,7.41L11,6L5,12L11,18L12.41,16.59L7.83,12L12.41,7.41Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},m=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"close"),t("g",{fill:a},t("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},C=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"refresh"),t("g",{fill:a},t("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99\n 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65\n 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35\n 2.35z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},w=e=>{const{actions:a,state:r}=e,{count:l}=r;return t("div",{class:"mb-10px mt-3 flex items-center"},t("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{a.refresh()}},t(C,{label:"Refresh"})),t("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{a.reset()}},t(m,{label:"Reset"})),t("span",{class:"flex items-center"},t(x,{size:28}),t("span",{class:"italic"},"click a button... ",t("sup",null,l))))},y=()=>t("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.18"),k=e=>{const{state:a}=e,{values:r,pick:l,count:o}=a;return t("div",{class:"flex"},t("div",{class:"flex flex-col"},t("div",{class:"flex"},t("span",{class:"mr-10px font-bold"},"color:"),t("span",{class:"italic text-clrs-slate4"},l)),t("div",{class:"mt-5px flex"},t("span",{class:"mr-10px font-bold"},"sample:"),t("span",{class:"italic text-clrs-slate4"},`${o>0?r:"..."}`))),t(y,null))},M=e=>{const a=e.hex||"currentColor",r=e.size||24;return t("svg",{class:e.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},t("title",null,e.label||"fingerprint"),t("g",{fill:a},t("path",{d:"M17.81,4.47C17.73,4.47 17.65,4.45 17.58,4.41C15.66,3.42 14,3\n 12,3C10.03,3 8.15,3.47 6.44,4.41C6.2,4.54 5.9,4.45 5.76,4.21C5.63,3.97\n 5.72,3.66 5.96,3.53C7.82,2.5 9.86,2 12,2C14.14,2 16,2.47\n 18.04,3.5C18.29,3.65 18.38,3.95 18.25,4.19C18.16,4.37 18,4.47\n 17.81,4.47M3.5,9.72C3.4,9.72 3.3,9.69 3.21,9.63C3,9.47 2.93,9.16\n 3.09,8.93C4.08,7.53 5.34,6.43 6.84,5.66C10,4.04 14,4.03\n 17.15,5.65C18.65,6.42 19.91,7.5 20.9,8.9C21.06,9.12 21,9.44\n 20.78,9.6C20.55,9.76 20.24,9.71 20.08,9.5C19.18,8.22 18.04,7.23\n 16.69,6.54C13.82,5.07 10.15,5.07 7.29,6.55C5.93,7.25 4.79,8.25\n 3.89,9.5C3.81,9.65 3.66,9.72 3.5,9.72M9.75,21.79C9.62,21.79 9.5,21.74\n 9.4,21.64C8.53,20.77 8.06,20.21 7.39,19C6.7,17.77 6.34,16.27\n 6.34,14.66C6.34,11.69 8.88,9.27 12,9.27C15.12,9.27 17.66,11.69\n 17.66,14.66A0.5,0.5 0 0,1 17.16,15.16A0.5,0.5 0 0,1\n 16.66,14.66C16.66,12.24 14.57,10.27 12,10.27C9.43,10.27 7.34,12.24\n 7.34,14.66C7.34,16.1 7.66,17.43 8.27,18.5C8.91,19.66 9.35,20.15\n 10.12,20.93C10.31,21.13 10.31,21.44 10.12,21.64C10,21.74 9.88,21.79\n 9.75,21.79M16.92,19.94C15.73,19.94 14.68,19.64 13.82,19.05C12.33,18.04\n 11.44,16.4 11.44,14.66A0.5,0.5 0 0,1 11.94,14.16A0.5,0.5 0 0,1\n 12.44,14.66C12.44,16.07 13.16,17.4 14.38,18.22C15.09,18.7 15.92,18.93\n 16.92,18.93C17.16,18.93 17.56,18.9 17.96,18.83C18.23,18.78 18.5,18.96\n 18.54,19.24C18.59,19.5 18.41,19.77 18.13,19.82C17.56,19.93 17.06,19.94\n 16.92,19.94M14.91,22C14.87,22 14.82,22 14.78,22C13.19,21.54 12.15,20.95\n 11.06,19.88C9.66,18.5 8.89,16.64 8.89,14.66C8.89,13.04 10.27,11.72\n 11.97,11.72C13.67,11.72 15.05,13.04 15.05,14.66C15.05,15.73 16,16.6\n 17.13,16.6C18.28,16.6 19.21,15.73 19.21,14.66C19.21,10.89 15.96,7.83\n 11.96,7.83C9.12,7.83 6.5,9.41 5.35,11.86C4.96,12.67 4.76,13.62\n 4.76,14.66C4.76,15.44 4.83,16.67 5.43,18.27C5.53,18.53 5.4,18.82\n 5.14,18.91C4.88,19 4.59,18.87 4.5,18.62C4,17.31 3.77,16\n 3.77,14.66C3.77,13.46 4,12.37 4.45,11.42C5.78,8.63 8.73,6.82\n 11.96,6.82C16.5,6.82 20.21,10.33 20.21,14.65C20.21,16.27 18.83,17.59\n 17.13,17.59C15.43,17.59 14.05,16.27 14.05,14.65C14.05,13.58 13.12,12.71\n 11.97,12.71C10.82,12.71 9.89,13.58 9.89,14.65C9.89,16.36 10.55,17.96\n 11.76,19.16C12.71,20.1 13.62,20.62 15.03,21C15.3,21.08 15.45,21.36\n 15.38,21.62C15.33,21.85 15.12,22 14.91,22Z"})),t("path",{d:"M0 0h24v24H0z",fill:"none"}))},z="eswat2",L=()=>t("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":z,target:"blank",title:z},t(M,{label:"eswat2"})),S=e=>t("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},e.label),j=class{constructor(t){a(this,t),this.tag="proto-tinker"}componentDidLoad(){u.initApp()}render(){return t("div",{key:"8ce0faa12c39b5b7ebc87c2f8d00dade936e3ded",id:"app",class:"ds1-main relative"},t(S,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),t(L,{key:"919ca01768ea309609ec6be67fede120434d723e"}),t(w,{key:"e8220f685b6b44e3d7ccd1bf644d3f98219d7310",actions:u,state:g}),t(v,{key:"463901312bdd5ee72715de3e2fc47ad364902f40",actions:u,state:g}),t("hr",{key:"35ba2812a3b068b21b5252c5f07d0b5dc2f18527",class:"ml-0 mr-0"}),t(k,{key:"df047e0968a8267a031b87fd733c454911771fe0",state:g}))}};j.style="@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';--spacing:0.25rem;--text-xs:0.75rem;--text-xs--line-height:calc(1 / 0.75);--text-6xl:3.75rem;--text-6xl--line-height:1;--font-weight-thin:100;--font-weight-bold:700}}@layer utilities{.absolute{position:absolute}.relative{position:relative}.top-8{top:calc(var(--spacing) * 8)}.right-8{right:calc(var(--spacing) * 8)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-5px{margin-top:5px}.mt-11{margin-top:calc(var(--spacing) * 11)}.mr-0{margin-right:calc(var(--spacing) * 0)}.mr-10px{margin-right:10px}.mb-10px{margin-bottom:10px}.mb-11{margin-bottom:calc(var(--spacing) * 11)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-auto{margin-left:auto}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.border-solid{--tw-border-style:solid;border-style:solid}.border-clrs-slate{border-color:var(--clrs-slate, #708090)}.bg-clrs-blue{background-color:var(--clrs-blue, #0074d9)}.bg-clrs-red{background-color:var(--clrs-red, #ff4136)}.p-4{padding:calc(var(--spacing) * 4)}.text-center{text-align:center}.align-top{vertical-align:top}.font-sans{font-family:var(--font-sans)}.text-6xl{font-size:var(--text-6xl);line-height:var(--tw-leading, var(--text-6xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading, var(--text-xs--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-thin{--tw-font-weight:var(--font-weight-thin);font-weight:var(--font-weight-thin)}.text-clrs-gray{color:var(--clrs-gray, #aaaaaa)}.text-clrs-navy{color:var(--clrs-navy, #001f3f)}.text-clrs-red{color:var(--clrs-red, #ff4136)}.text-clrs-slate4{color:var(--clrs-slate4, #4e5964)}.text-clrs-white{color:var(--clrs-white, #ffffff)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:text-clrs-navy{&:hover{@media (hover: hover){color:var(--clrs-navy, #001f3f)}}}.active\\:bg-clrs-gray{&:active{background-color:var(--clrs-gray, #aaaaaa)}}}@layer components{.ds1-main{display:flex;flex-direction:column;padding:calc(var(--spacing) * 4);font-family:var(--font-sans);color:var(--clrs-navy, #001f3f);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ds1-button{display:flex;align-items:center;--tw-border-style:solid;border-style:solid;border-color:var(--clrs-slate, #708090);color:var(--clrs-white, #ffffff);&:active{background-color:var(--clrs-gray, #aaaaaa)}&:active{color:var(--clrs-navy, #001f3f)}}}.data-button{border-radius:5px;border-width:1px;padding:5px;margin:0px;margin-right:5px;cursor:pointer}";export{j as proto_tinker}
@@ -0,0 +1,2 @@
1
+ const t="proto-tinker-wc",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,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:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propChangeCallback:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1};var n,o,s={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},r=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(r||{}),i=(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))(i||{}),l="type",c="value",a="serialized:",u=(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=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),o)||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}),t[o]=n.i.has(o)?n.i.get(o):e}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&u(t,n))},h=(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)&&u(t,o),s},p=(t,e)=>e in t,m=(t,e)=>(n||console.error)(t,e),v=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],g=(...t)=>console.error(...v,...t),$=(...t)=>console.warn(...v,...t),b=(...t)=>console.info(...v,...t),y=new Map,S=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void g(`Trying to lazily load component <${t.C}> with style mode "${n.N}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&y.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||y.set(r,t),t[s])),(t=>{m(t,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,j=[],x="s-id",O="sty-id",C="c-id",_="_stencilDocData",E={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",T=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},L=R.HTMLElement||class{},M={u:0,k:"",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,A=t=>Promise.resolve(t),I=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),H=!!I&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),P=0,F=!1,U=[],B=[],V=[],z=(t,e)=>n=>{t.push(n),F||(F=!0,e&&4&M.u?X(J):M.raf(J))},W=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){m(t)}t.length=0},Y=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){m(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},J=()=>{if(e.asyncQueue&&P++,W(U),e.asyncQueue){const t=2==(6&M.u)?performance.now()+14*Math.ceil(.1*P):1/0;Y(B,t),Y(V,t),B.length>0&&(V.push(...B),B.length=0),(F=U.length+B.length+V.length>0)?M.raf(J):P=0}else W(B),(F=U.length>0)&&M.raf(J)},X=t=>A().then(t),q=z(U,!1),K=z(B,!0);function Q(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const s=this.attachShadow(n);void 0===o&&(o=null),o&&(H?s.adoptedStyleSheets.push(o):s.adoptedStyleSheets=[...s.adoptedStyleSheets,o])}var G=t=>{const e=Nt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&tt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!et(t,st(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Nt(t,"childNodes").length&&G(t)}},Z=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 tt(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||st(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...tt(o.childNodes,e,n)]}return r}var et=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)st(s)!==e||!n&&s["s-sr"]||o.push(s);return o},nt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,ot=(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=Nt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Nt(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"]},st=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function rt(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:Z(s.childNodes)).forEach((t=>{o===st(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function it(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function lt(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"]=st(t)||"";return{slotNode:tt(Nt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ct=t=>{at(t),ut(t),ht(t),dt(t),gt(t),pt(t),mt(t),vt(t),$t(t),bt(t),ft(t)},at=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}},ut=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=lt(t,this);if(n){ot(t,n);const o=et(n,e),s=o[o.length-1],r=Nt(s,"parentNode"),i=Nt(r,"insertBefore")(t,s.nextSibling);return it(n),G(this),i}return this.__appendChild(t)})},ft=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&tt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void G(this)):this.__removeChild(t)})},dt=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"]=st(e))||"",o=tt(Nt(this,"childNodes"),this.tagName,n)[0];if(o){ot(e,o,!0);const t=et(o,n)[0],s=Nt(t,"parentNode"),r=Nt(s,"insertBefore")(e,Nt(t,"nextSibling"));return it(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},ht=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)}))})},pt=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)}},mt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},vt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=lt(t,this),s=this.__childNodes?this.childNodes:Z(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"]){ot(t,o);const n=Nt(e,"parentNode");Nt(n,"insertBefore")(t,e),it(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},gt=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}},$t=t=>{Et("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},bt=t=>{class e extends Array{item(t){return this[t]}}Et("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Et("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Et("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Et("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...Z(this.__childNodes)),t}})},yt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(St(t),jt(t),Ot(t),t.nodeType===Node.ELEMENT_NODE&&(wt(t),xt(t)))},St=t=>{t&&!t.__nextSibling&&(Et("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}}))},wt=t=>{t&&!t.__nextElementSibling&&(Et("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}}))},jt=t=>{t&&!t.__previousSibling&&(Et("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}}))},xt=t=>{t&&!t.__previousElementSibling&&(Et("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}}))},Ot=t=>{t&&!t.__parentNode&&(Et("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}}))},Ct=["children","nextElementSibling","previousElementSibling"],_t=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Et(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Ct.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):_t.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Nt(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 kt=0,Tt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${kt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(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 Lt=new WeakMap,Mt=(t,e,n)=>{let o=w.get(t);I&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,w.set(t,o)},Dt=(t,n,o)=>{var s,r,i;const l=It(n,o),c=w.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=Lt.get(t=t.head||t);i||Lt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${O}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=M.T)?s:Rt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(O,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(I){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),H?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=c+e.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 e=Lt.get(t);if(e||Lt.set(t,e=new Set),!e.has(l)){const n=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let o;if(c.constructor===n.CSSStyleSheet)o=c;else{o=new n.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}H?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(l)}}return l},At=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Tt("attachStyles",n.C),i=Dt(e.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.N);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},It=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ht=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Pt=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${O}]`);let e=0;for(;e<t.length;e++)Mt(t[e].getAttribute(O),Ht(t[e].innerHTML),!0)},Ft=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...o)=>{"string"==typeof t&&(t=Xn(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&&!Ft(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&g("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].R+=s:a.push(l?Bt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Xt(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(zt)&&g("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,Wt);const f=Bt(t,null);return f.L=n,a.length>0&&(f.M=a),e.vdomKey&&(f.D=r),e.slotRelocation&&(f.A=i),f},Bt=(t,n)=>{const o={u:0,I:t,R:null!=n?n:null,P:null,M:null};return e.vdomAttribute&&(o.L=null),e.vdomKey&&(o.D=null),e.slotRelocation&&(o.A=null),o},Vt={},zt=t=>t&&t.I===Vt,Wt={forEach:(t,e)=>t.map(Yt).forEach(e),map:(t,e)=>t.map(Yt).map(e).map(Jt)},Yt=t=>({vattrs:t.L,vchildren:t.M,vkey:t.D,vname:t.A,vtag:t.I,vtext:t.R}),Jt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Ut(t.vtag,e,...t.vchildren||[])}const e=Bt(t.vtag,t.vtext);return e.L=t.vattrs,e.M=t.vchildren,e.D=t.vkey,e.A=t.vname,e},Xt=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)&&$('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(C),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Qt({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),P:i,L:{class:i.className||""}}),n.push(f),i.removeAttribute(C),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.L.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(Gt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.P)}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=Qt({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:i,L:null,M:null,D:null,A:null,I:null,R:null}),"t"===a?(f.P=oe(i,3),f.P&&3===f.P.nodeType&&(f.R=f.P.textContent,n.push(f),i.remove(),l===f.F&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=oe(i,8),f.P&&8===f.P.nodeType&&(n.push(f),i.remove())):f.F===l&&("s"===a?Gt(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=Bt(null,i.textContent);e.P=i,e.V="0",t.M=[e]}return t},Kt=(t,e)=>{if(1===t.nodeType){const n=t[x]||t.getAttribute(x);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Kt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Kt(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])}},Qt=t=>({u:0,F:null,U:null,B:null,V:"0",P:null,L:null,M:null,D:null,A:null,I:null,R:null,...t});function Gt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.A=t||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.P=R.document.createElement(o.I);o.A&&o.P.setAttribute("name",t),r.P.shadowRoot&&u&&u!==o.F?Nt(r.P,"insertBefore")(e,Nt(r.P,"children")[0]):Nt(Nt(s,"parentNode"),"insertBefore")(e,s),ne(a,n,t,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const e=o.P,i=u&&u!==o.F&&r.P.shadowRoot;ne(a,n,t,s,i?u:o.F),rt(s),i&&r.P.insertBefore(e,r.P.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var Zt,te,ee,ne=(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.")))},oe=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},se=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),re="-shadowcsshost",ie="-shadowcssslotted",le="-shadowcsscontext",ce=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ae=RegExp("("+re+ce,"gim"),ue=RegExp("("+le+ce,"gim"),fe=RegExp("("+ie+ce,"gim"),de=re+"-no-combinator",he=/-shadowcsshost-no-combinator([^\s]*)/,pe=[/::shadow/g,/::content/g],me=/__part-(\d+)__/g,ve=/-shadowcsshost/gim,ge=t=>{const e=se(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},$e=/\/\*\s*[\s\S]*?\*\//g,be=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ye=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Se=/([{}])/g,we=/(^.*?[^\\])??((:+)(.*)|$)/,je="%BLOCK%",xe=(t,e)=>{const n=Oe(t);let o=0;return n.escapedString.replace(ye,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+je)&&(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}`}))},Oe=t=>{const e=t.split(Se),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(je),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(je)),{escapedString:n.join(""),blocks:o}},Ce=(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(de,r,t[3]))}return o.join(",")}return de+t[3]})),_e=(t,e,n)=>t+e.replace(re,"")+n,Ee=(t,e,n)=>e.indexOf(re)>-1?_e(t,e,n):t+e+n+", "+e+" "+t+n,Ne=(t,e)=>t.replace(we,((t,n="",o,s="",r="")=>n+e+s+r)),ke=(t,e,n,o)=>xe(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(de)>-1)s=((t,e,n)=>{if(ve.lastIndex=0,ve.test(t)){const e="."+n;return t.replace(he,((t,n)=>Ne(n,e))).replace(ve,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(ve,"");e.length>0&&(s=Ne(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(de)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(de)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(me)&&(u||f.indexOf(de)>-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}})),Te=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Re=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(be)||[])(t);t=(t=>t.replace($e,""))(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=xe(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=xe(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(fe,((...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 de+t[3]})),{selectors:o,cssText:t}})(t=(t=>Ce(t,ue,Ee))(t=(t=>Ce(t,ae,_e))(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=ge("::slotted"),o=ge(":host"),s=ge(":host-context");return t=t.replace(s,"$1"+le).replace(o,"$1"+re).replace(n,"$1"+ie),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>pe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=ke(t,e,n,o)),{cssText:(t=(t=Te(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Te(t.orgSelector,n),updatedSelector:Te(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(se(e.orgSelector),"g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return xe(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=>j.map((e=>e(t))).find((t=>!!t)),Me=class t{static fromLocalValue(e){const n=e[l],o=c in e?e[c]: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(l))return!1;const e=t[l];return!!Object.values({...r,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(c))}},De=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(a)?t=function(t){return"string"==typeof t&&t.startsWith(a)?Me.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Ft(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,Ae=t=>{var n;return e.lazyLoad?null==(n=f(t))?void 0:n.$hostElement$:t},Ie=(t,e,n)=>{const o=M.ce(e,n);return t.dispatchEvent(o),o},He=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=p(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Fe(o);let i=Fe(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&&an(s,t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr){const l=Ft(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(k,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(k,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):p(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Ue);n=n.replace(Be,""),o&&M.rel(t,n,o,e),s&&M.ael(t,n,s,e)}},Pe=/\s/,Fe=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Pe):[]),Ue="Capture",Be=RegExp(Ue+"$"),Ve=(t,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,i=t&&t.L||{},l=n.L||{};if(e.updatable)for(const t of ze(Object.keys(i)))t in l||He(r,t,i[t],void 0,o,n.u,s);for(const t of ze(Object.keys(l)))He(r,t,i[t],l[t],o,n.u,s)};function ze(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var We=!1,Ye=!1,Je=!1,Xe=!1,qe=[],Ke=[],Qe=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!We&&(Je=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.P&&g(`The JSX ${null!==r.R?`"${r.R}" 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.R)i=r.P=R.document.createTextNode(r.R);else if(e.slotRelocation&&1&r.u)i=r.P=e.isDebug||e.hydrateServerSide?hn(r):R.document.createTextNode(""),e.vdomAttribute&&Ve(null,r,Xe);else{if(e.svg&&!Xe&&(Xe="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.P=e.svg?R.document.createElementNS(Xe?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!We&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!We&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Xe&&"foreignObject"===r.I&&(Xe=!1),e.vdomAttribute&&Ve(null,r,Xe),(e.scoped||e.hydrateServerSide)&&null!=Zt&&void 0!==Zt&&i["s-si"]!==Zt&&i.classList.add(i["s-si"]=Zt),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=Qe(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Xe=!1:"foreignObject"===i.tagName&&(Xe=!0))}return i["s-hn"]=ee,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=te,i["s-sn"]=r.A||"",i["s-rf"]=null==(s=r.L)?void 0:s.ref,rt(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.P&&Ge(t.P),(e.scoped||e.hydrateServerSide)&&fn(te,i,n.P,null==t?void 0:t.P)),i},Ge=t=>{M.u|=1;const e=t.closest(ee.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"]&&(un(e,t,null!=n?n:null),t["s-sh"]=void 0,Je=!0)}M.u&=-2},Ze=(t,e)=>{M.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"]===ee&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==ee&&o["s-ol"]&&(un(on(o).parentNode,o,on(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Je=!0),e&&Ze(o,e)}M.u&=-2},tn=(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===ee&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=Qe(null,o,r),l&&(s[r].P=l,un(c,l,e.slotRelocation?on(n):n)))},en=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.P;cn(n),t&&(e.slotRelocation&&(Ye=!0,t["s-ol"]?t["s-ol"].remove():Ze(t,!0)),t.remove())}}},nn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.A===n.A:e.vdomKey&&!o?t.D===n.D:(o&&!t.D&&n.D&&(t.D=n.D),!0)),on=t=>t&&t["s-ol"]||t,sn=(t,n,o=!1)=>{const s=n.P=t.P,r=t.M,i=n.M,l=n.I,c=n.R;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.R!==c&&(s.data=c):(e.svg&&(Xe="svg"===l||"foreignObject"!==l&&Xe),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!We&&t.A!==n.A&&(n.P["s-sn"]=n.A||"",Ge(n.P.parentElement)),Ve(t,n,Xe,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(nn(h,v,r))sn(h,v,r),h=n[++c],v=s[++a];else if(nn(p,g,r))sn(p,g,r),p=n[--d],g=s[--m];else if(nn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||Ze(h.P.parentNode,!1),sn(h,g,r),un($,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(nn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||Ze(p.P.parentNode,!1),sn(p,v,r),un($,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].D&&n[f].D===v.D){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=Qe(n&&n[a],o,u):(sn(l,v,r),n[u]=void 0,i=l.P),v=s[++a]):(i=Qe(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?un(on(h.P).parentNode,i,on(h.P)):un(h.P.parentNode,i,h.P))}c>d?tn(t,null==s[m+1]?null:s[m+1].P,o,s,a,m):e.updatable&&a>m&&en(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.R&&(s.textContent=""),tn(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?en(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Xe&&"svg"===l&&(Xe=!1))},rn=[],ln=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(nt(e,s)){let n=rn.find((t=>t.W===e));Ye=!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"],rn.push({Y:t,W:e})),e["s-sr"]&&rn.map((t=>{nt(t.W,e["s-sn"])&&(n=rn.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else rn.some((t=>t.W===e))||rn.push({W:e})}1===t.nodeType&&ln(t)}},cn=t=>{e.vdomRef&&(t.L&&t.L.ref&&qe.push((()=>t.L.ref(null))),t.M&&t.M.map(cn))},an=(t,n)=>{e.vdomRef&&Ke.push((()=>t(n)))},un=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])fn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ot(n),t.insertBefore(n,o);const{slotNode:r}=lt(n);return r&&!s&&it(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function fn(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 dn=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||Bt(null,null),d=zt(n)?n:Ut(null,null,n);if(ee=a.tagName,e.isDev&&Array.isArray(n)&&n.some(zt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${ee.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.L=d.L||{},u.X.forEach((([n,o])=>{d.L[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.L)for(const t of Object.keys(d.L))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.L[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.P=f.P=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Zt=a["s-sc"]),We=D&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(te=a["s-cr"],Ye=!1),sn(f,d,o),e.slotRelocation){if(M.u|=1,Je){ln(d.P);for(const t of rn){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?pn(n):R.document.createTextNode("");t["s-nr"]=n,un(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of rn){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(un(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,un(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)}}Ye&&G(d.P),M.u&=-2,rn.length=0}if(e.slotRelocation&&!We&&!(1&u.u)&&a["s-cr"]){const t=d.P.__childNodes||d.P.childNodes;for(const e of t)if(e["s-hn"]!==ee&&!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"],un(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}te=void 0,e.vdomRef&&(qe.forEach((t=>t())),qe.length=0,Ke.forEach((t=>t())),Ke.length=0)},hn=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.A?' name="'+t.A+'"':""}> (host=${ee.toLowerCase()})`)},pn=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}]`))},mn=(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()})))}},vn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);mn(t,t.K);const o=()=>gn(t,n);if(!n)return e.taskQueue?K(o):o();queueMicrotask((()=>{o()}))},gn=(t,n)=>{const o=t.$hostElement$,s=Tt("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,Cn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>Cn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),_n(o,"componentWillLoad"),i=Cn(r,"componentWillLoad",void 0,o)):(_n(o,"componentWillUpdate"),i=Cn(r,"componentWillUpdate",void 0,o)),_n(o,"componentWillRender"),i=$n(i,(()=>Cn(r,"componentWillRender",void 0,o))),s(),$n(i,(()=>yn(t,r,n)))},$n=(t,e)=>bn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),bn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,yn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Tt("update",t.o.C),l=r["s-rc"];e.style&&o&&At(t);const c=Tt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await wn(t,n,r,o):wn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Nn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){m(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=()=>jn(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}else jn(t)},Sn=null,wn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(Sn=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=>dn(t,e,s)));dn(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){m(e,t.$hostElement$)}return Sn=null,null},jn=t=>{const n=t.o.C,o=t.$hostElement$,s=Tt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),Cn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),_n(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),Cn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),_n(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&En(o),e.isDev&&(t.u|=2048),Cn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),_n(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||On(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&X((()=>vn(t,!1))),t.u&=-517)},xn=t=>{var n;if(e.updatable&&(s.isBrowser||s.isTesting)){const e=f(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&vn(e,!1),o}return!1},On=n=>{var o;e.asyncQueue&&(M.u|=2),X((()=>Ie(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=M.tt)?void 0:o.size)&&M.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},Cn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){m(t,o)}},_n=(n,o)=>{e.lifecycleDOMEvents&&Ie(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},En=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},Nn=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(),Nn(n)}},kn=(t,e)=>f(t).i.get(e),Tn=(t,n,o,s)=>{const r=f(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=De(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?$(`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&&$(`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){m(t,i)}}))}if(e.updatable&&2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n))return;vn(r,!1)}}},Rn=(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&&T.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=f(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=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}=Object.getOwnPropertyDescriptor(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 kn(this,t);const e=f(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):kn(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=f(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||$(`@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,De(r,s,e.formAssociated&&!!(64&n.u))),void Tn(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 Tn(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]=De(r,s,e.formAssociated&&!!(64&n.u)),Tn(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else Tn(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=f(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){M.jmp((()=>{var c;const a=o.get(t),u=f(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 d=l.find((([t])=>t===a));d&&4&d[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(i,a);r==this[a]||h.get&&!h.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},Ln=async(t,n,o,s)=>{let r;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.N}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.N}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=r.watchers,o.et=r.serializers,o.ot=r.deserializers),Rn(r,o,2),r.isProxied=!0);const l=Tt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){m(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Mn(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.N=Le(t),n.N&&(i=r.style[n.N]),e.hydrateServerSide&&n.N&&t.setAttribute("s-mode",n.N));const l=It(o,n.N);if(!w.has(l)||e.hotModuleReplacement&&s){const t=Tt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Re(i,l)),Mt(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>vn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()},Mn=(t,n)=>{e.lazyLoad&&Cn(t,"connectedCallback",void 0,n)},Dn=t=>{if(!(1&M.u)){const n=f(t);if(!n)return;const o=n.o,s=Tt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Un(t,n,o.st,!0),1&n.u)Un(t,n,o.st,!1),(null==n?void 0:n.l)?Mn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Mn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(x),s)){if(e.shadowDom&&D&&1&o.u){const n=e.mode?Dt(t.shadowRoot,o,t.getAttribute("s-mode")):Dt(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=It(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Tt("hydrateClient",n),u=t.shadowRoot,d=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Bt(n,null);let g;if(v.P=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||M.tt&&M.tt.size||Kt(R.document.body,M.tt=new Map),t[x]=o,t.removeAttribute(x),s.J=qt(v,d,h,m,t,t,o,p);let $=0;const b=d.length;let y;for(;$<b;$++){y=d[$];const o=y.F+"."+y.U,s=M.tt.get(o),i=y.P;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.P.shadowRoot){const t=f(y.P);if(t){const n=It(t.o,e.mode?y.P.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Xn(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.A=y.P["s-sn"]||y.P.name||null,y.M?(y.u|=2,y.P.childNodes.length||y.M.forEach((t=>{y.P.appendChild(t.P)}))):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"]&&M.tt.delete(o)}const S=[],w=p.length;let j,O,C,_,E=0,N=0;for(;E<w;E++)if(j=p[E],j&&j.length)for(C=j.length,O=0;O<C;O++){if(_=j[O],S[_.hostId]||(S[_.hostId]=M.tt.get(_.hostId)),!S[_.hostId])continue;const t=S[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[O-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]),ot(_.node,_.slot,!1,_.node["s-oo"]||N),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&yt(_.node)),N=(_.node["s-oo"]||N)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.P.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)&&An(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"]){mn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?X((()=>Ln(t,n,o))):Ln(t,n,o)}s()}},An=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,un(t,n,t.firstChild)},In=(t,n)=>{e.lazyLoad&&Cn(t,"disconnectedCallback",void 0,n||t)},Hn=async t=>{if(!(1&M.u)){const n=f(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)?In(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>In(n.l,t))):In(t)}Lt.has(t)&&Lt.delete(t),t.shadowRoot&&Lt.has(t.shadowRoot)&&Lt.delete(t.shadowRoot)},Pn=(t,n)=>{const o={u:n[0],C:n[1]};e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=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?ct(t.prototype):(e.slotChildNodesFix&&bt(t.prototype),e.cloneNodeFix&&at(t.prototype),e.appendChildSlotFix&&ut(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&$t(t.prototype)):e.cloneNodeFix&&at(t.prototype),e.hydrateClientSide&&e.shadowDom&&Pt();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){h(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=f(this);if(!t)return;Un(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Dn(this),s&&s.call(this)},disconnectedCallback(){Hn(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 Q.call(this,o);else this.shadowRoot=this}}),t.is=o.C,Rn(t,o,3)},Fn=(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=f(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.N,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=Tt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),d=[];let p,m=!0;Object.assign(M,n),M.k=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(M.u|=4),e.hydrateClientSide&&(M.u|=2),e.hydrateClientSide&&e.shadowDom&&Pt();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c,a;const u={u:o[0],C:o[1],t:o[2],st:o[3]};4&u.u&&(v=!0),e.member&&(u.t=o[2]),e.hostListener&&(u.st=o[3]),e.reflect&&(u.X=[]),e.propChangeCallback&&(u.nt=null!=(s=o[4])?s:{},u.et=null!=(c=o[5])?c:{},u.ot=null!=(a=o[6])?a:{}),e.shadowDom&&!D&&1&u.u&&(u.u|=8);const g=e.transformTagName&&n.transformTagName?n.transformTagName(u.C):Xn(u.C),$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),h(t=this,u),e.shadowDom&&1&u.u)if(D)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Q.call(t,u);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=f(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Un(this,t,u.st,!1)),p&&(clearTimeout(p),p=null),m?d.push(this):M.jmp((()=>Dn(this))))}disconnectedCallback(){M.jmp((()=>Hn(this))),M.raf((()=>{var t;const e=f(this);if(!e)return;const n=d.findIndex((t=>t===this));n>-1&&d.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.P)instanceof Node&&!e.J.P.isConnected&&delete e.J.P}))}componentOnReady(){var t;return null==(t=f(this))?void 0:t.S}};!(1&u.u)&&256&u.u?e.experimentalSlotFixes?ct($.prototype):(e.slotChildNodesFix&&bt($.prototype),e.cloneNodeFix&&at($.prototype),e.appendChildSlotFix&&ut($.prototype),e.scopedSlotTextContentFix&&2&u.u&&$t($.prototype)):e.cloneNodeFix&&at($.prototype),e.formAssociated&&64&u.u&&($.formAssociated=!0),e.hotModuleReplacement&&($.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=f(t);o&&(o.u=1,Ln(t,o,e,n))})(this,u,t)}),u._=t[0],i.includes(g)||l.get(g)||(r.push(g),l.define(g,Rn($,u,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=M.T)?o:Rt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,d.length?d.map((t=>t.connectedCallback())):M.jmp(e.profile?()=>p=setTimeout(On,30,"timeout"):()=>p=setTimeout(On,30)),s()},Un=(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?Vn(R.document,t,o):t,l=Bn(n,r),c=zn(o);M.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>M.rel(i,s,l,c)))})))},Bn=(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){m(e,t.$hostElement$)}},Vn=(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,zn=t=>({passive:!!(1&t),capture:!!(2&t)}),Wn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Yn=t=>M.T=t,Jn=void 0;function Xn(t){return Jn?Jn(t):t}function qn(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)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)}var Kn=(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=f(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||Qn(t,e,s.J,n,{nodeIds:0}),Kn(t,e,n,o)}))},Qn=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(x,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{Gn(t,n,s,r,e,o)}))}if(e&&n&&n.P&&!e.hasAttribute(C)){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.P.setAttribute(C,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},Gn=(t,e,n,o,s,r)=>{const i=e.P;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,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);un(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)=>{Gn(t,e,n,o,r,s)}))}},Zn=Object.freeze({__proto__:null,BUILD:e,Build:s,Env:{},Fragment:(t,e)=>e,H:L,HTMLElement:L,HYDRATED_STYLE_ID:O,Host:Vt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Wn)},NAMESPACE:t,STENCIL_DEV_MODE:v,addHostEventListeners:Un,bootstrapLazy:Fn,cmpModules:y,connectedCallback:Dn,consoleDevError:g,consoleDevInfo:b,consoleDevWarn:$,consoleError:m,createEvent:(t,n,o)=>{const s=Ae(t);return{emit:t=>(e.isDev&&!s.isConnected&&$(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Ie(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(Xn(e[1]),Pn(t,e))},disconnectedCallback:Hn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Le(t),n=f(t);if(n&&n.N!==e){const o=n.o,s=t["s-sc"],r=It(o,e),i=t.constructor.style[e],l=o.u;i&&(w.has(r)||Mt(r,i,!!(1&l)),n.N=e,t.classList.remove(s+"-h",s+"-s"),At(n),xn(t))}}},forceUpdate:xn,getAssetPath:t=>{const e=new URL(t,M.k);return e.origin!==R.location.origin?e.href:e.pathname},getElement:Ae,getHostRef:f,getMode:t=>{var e;return null==(e=f(t))?void 0:e.N},getRenderingRef:()=>Sn,getValue:kn,h:Ut,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=_ in t?t[_]:{...E};n.staticComponents=new Set(e);const o=[];Kn(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(C,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,un(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:p,jsx:qn,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)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)},jsxs:function(t,e,n){return qn(t,e,n)},loadModule:S,modeResolutionChain:j,needsScopedSSR:()=>!1,nextTick:X,parsePropertyValue:De,plt:M,postUpdateComponent:jn,promiseResolve:A,proxyComponent:Rn,proxyCustomElement:Pn,readTask:q,registerHost:h,registerInstance:d,render:function(t,e){dn({o:{u:0,C:e.tagName},$hostElement$:e},t)},renderVdom:dn,setAssetPath:t=>M.k=t,setErrorHandler:t=>n=t,setMode:t=>j.push(t),setNonce:Yn,setPlatformHelpers:t=>{Object.assign(M,t)},setPlatformOptions:t=>Object.assign(M,t),setScopedSSR:()=>{},setTagTransformer:function(t){Jn&&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 "),Jn=t},setValue:Tn,styles:w,supportsConstructableStylesheets:I,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:H,supportsShadow:D,transformTag:Xn,win:R,writeTask:K});export{e as B,L as H,t as N,Zn as S,Fn as b,b as c,Ut as h,A as p,d as r,Yn as s,R as w}
@@ -1 +1 @@
1
- import{p as t,B as e,c as n,w as a,N as r,H as o,b as i}from"./p-DK5EpBb9.js";export{s as setNonce}from"./p-DK5EpBb9.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const e=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&e.appendChild(n[s].cloneNode(!0));return e}};(()=>{e.isDev&&!e.isTesting&&n("Running in development mode."),e.cloneNodeFix&&m(o.prototype);const s=e.scriptDataOpts?a.document&&Array.from(a.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,i=import.meta.url,p=e.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-4e035e7a",[[1,"proto-tinker",{tag:[1]}]]]],s))));
1
+ import{p as t,B as e,c as n,w as r,N as a,H as i,b as o}from"./p-CxY1iR5w.js";export{s as setNonce}from"./p-CxY1iR5w.js";import{g as p}from"./p-DQuL1Twl.js";var m=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const e=t.call(this,!1),n=this.childNodes;if(s)for(let s=0;s<n.length;s++)2!==n[s].nodeType&&e.appendChild(n[s].cloneNode(!0));return e}};(()=>{e.isDev&&!e.isTesting&&n("Running in development mode."),e.cloneNodeFix&&m(i.prototype);const s=e.scriptDataOpts?r.document&&Array.from(r.document.querySelectorAll("script")).find((s=>new RegExp(`/${a}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===a)):null,o=import.meta.url,p=e.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==o&&(p.resourcesUrl=new URL(".",o).href),t(p)})().then((async s=>(await p(),o([["p-7ef38745",[[1,"proto-tinker",{tag:[1]}]]]],s))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-tinker-wc",
3
- "version": "0.1.138",
3
+ "version": "0.1.139",
4
4
  "description": "prototype - simple demo built from Stencil & Tailwind",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  "format": "prettier --write src"
29
29
  },
30
30
  "dependencies": {
31
- "@stencil/core": "4.41.2",
31
+ "@stencil/core": "4.41.3",
32
32
  "@stencil/store": "2.2.2"
33
33
  },
34
34
  "devDependencies": {
@@ -1,2 +0,0 @@
1
- const t="proto-tinker-wc",e={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,constructableCSS:!0,cssAnnotations:!0,deserializer:!1,devTools:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,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:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!1,propChangeCallback:!1,propMutable:!1,propNumber:!1,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,serializer:!1,shadowDelegatesFocus:!1,shadowDom:!0,shadowSlotAssignmentManual:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1};var n,o,s={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},r=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(r||{}),i=(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))(i||{}),l="type",c="value",a="serialized:",u=(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=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),o)||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}),t[o]=n.i.has(o)?n.i.get(o):e}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},d=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&u(t,n))},h=(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)&&u(t,o),s},p=(t,e)=>e in t,m=(t,e)=>(n||console.error)(t,e),v=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],g=(...t)=>console.error(...v,...t),$=(...t)=>console.warn(...v,...t),b=(...t)=>console.info(...v,...t),y=new Map,S=(t,n,o)=>{const s=t.C.replace(/-/g,"_"),r=t._;if(e.isDev&&"string"!=typeof r)return void g(`Trying to lazily load component <${t.C}> with style mode "${n.N}", but it does not exist.`);if(!r)return;const i=!e.hotModuleReplacement&&y.get(r);return i?i[s]:import(`./${r}.entry.js${e.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((t=>(e.hotModuleReplacement||y.set(r,t),t[s])),(t=>{m(t,n.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},w=new Map,j=[],x="s-id",O="sty-id",C="c-id",_="_stencilDocData",E={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",T=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},L=R.HTMLElement||class{},M={u:0,k:"",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,A=t=>Promise.resolve(t),I=!!e.constructableCSS&&(()=>{try{return!!R.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),H=!!I&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),P=0,F=!1,U=[],B=[],V=[],z=(t,e)=>n=>{t.push(n),F||(F=!0,e&&4&M.u?X(J):M.raf(J))},W=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){m(t)}t.length=0},Y=(t,e)=>{let n=0,o=0;for(;n<t.length&&(o=performance.now())<e;)try{t[n++](o)}catch(t){m(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},J=()=>{if(e.asyncQueue&&P++,W(U),e.asyncQueue){const t=2==(6&M.u)?performance.now()+14*Math.ceil(.1*P):1/0;Y(B,t),Y(V,t),B.length>0&&(V.push(...B),B.length=0),(F=U.length+B.length+V.length>0)?M.raf(J):P=0}else W(B),(F=U.length>0)&&M.raf(J)},X=t=>A().then(t),q=z(U,!1),K=z(B,!0);function Q(t){const n={mode:"open"};e.shadowDelegatesFocus&&(n.delegatesFocus=!!(16&t.u)),e.shadowSlotAssignmentManual&&1024&t.u&&(n.slotAssignment="manual");const s=this.attachShadow(n);void 0===o&&(o=null),o&&(H?s.adoptedStyleSheets.push(o):s.adoptedStyleSheets=[...s.adoptedStyleSheets,o])}var G=t=>{const e=Nt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&tt(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!et(t,st(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&Nt(t,"childNodes").length&&G(t)}},Z=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 tt(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||st(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...tt(o.childNodes,e,n)]}return r}var et=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)st(s)!==e||!n&&s["s-sr"]||o.push(s);return o},nt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,ot=(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=Nt(i,o?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const t=Nt(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"]},st=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function rt(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:Z(s.childNodes)).forEach((t=>{o===st(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function it(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function lt(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"]=st(t)||"";return{slotNode:tt(Nt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var ct=t=>{at(t),ut(t),ht(t),dt(t),gt(t),pt(t),mt(t),vt(t),$t(t),bt(t),ft(t)},at=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}},ut=t=>{t.__appendChild||(t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=lt(t,this);if(n){ot(t,n);const o=et(n,e),s=o[o.length-1],r=Nt(s,"parentNode"),i=Nt(r,"insertBefore")(t,s.nextSibling);return it(n),G(this),i}return this.__appendChild(t)})},ft=t=>{t.__removeChild||(t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&tt(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void G(this)):this.__removeChild(t)})},dt=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"]=st(e))||"",o=tt(Nt(this,"childNodes"),this.tagName,n)[0];if(o){ot(e,o,!0);const t=et(o,n)[0],s=Nt(t,"parentNode"),r=Nt(s,"insertBefore")(e,Nt(t,"nextSibling"));return it(o),r}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))})},ht=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)}))})},pt=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)}},mt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},vt=t=>{t.__insertBefore||t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=lt(t,this),s=this.__childNodes?this.childNodes:Z(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"]){ot(t,o);const n=Nt(e,"parentNode");Nt(n,"insertBefore")(t,e),it(o)}}})),r)return t}const r=null==e?void 0:e.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(t):this.__insertBefore(t,e)})},gt=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}},$t=t=>{Et("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:Z(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},bt=t=>{class e extends Array{item(t){return this[t]}}Et("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),Et("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),Et("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Et("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...Z(this.__childNodes)),t}})},yt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(St(t),jt(t),Ot(t),t.nodeType===Node.ELEMENT_NODE&&(wt(t),xt(t)))},St=t=>{t&&!t.__nextSibling&&(Et("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}}))},wt=t=>{t&&!t.__nextElementSibling&&(Et("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}}))},jt=t=>{t&&!t.__previousSibling&&(Et("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}}))},xt=t=>{t&&!t.__previousElementSibling&&(Et("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}}))},Ot=t=>{t&&!t.__parentNode&&(Et("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}}))},Ct=["children","nextElementSibling","previousElementSibling"],_t=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Et(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;Ct.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):_t.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function Nt(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 kt=0,Tt=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${kt++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}};function Rt(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 Lt=new WeakMap,Mt=(t,e,n)=>{let o=w.get(t);I&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,w.set(t,o)},Dt=(t,n,o)=>{var s,r,i;const l=It(n,o),c=w.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=Lt.get(t=t.head||t);i||Lt.set(t,i=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${O}="${l}"]`);if(a)a.textContent=c;else if(!i.has(l)){o=R.document.createElement("style"),o.textContent=c;const a=null!=(s=M.T)?s:Rt(R.document);if(null!=a&&o.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&o.setAttribute(O,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(I){const e=new(null!=(r=t.defaultView)?r:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),H?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.textContent=c+e.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 e=Lt.get(t);if(e||Lt.set(t,e=new Set),!e.has(l)){const n=null!=(i=t.defaultView)?i:t.ownerDocument.defaultView;let o;if(c.constructor===n.CSSStyleSheet)o=c;else{o=new n.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)o.insertRule(c.cssRules[t].cssText,t)}H?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],e.add(l)}}return l},At=t=>{const n=t.o,o=t.$hostElement$,s=n.u,r=Tt("attachStyles",n.C),i=Dt(e.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,t.N);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},It=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.C+"-"+n:t.C),Ht=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Pt=()=>{if(!R.document)return;const t=R.document.querySelectorAll(`[${O}]`);let e=0;for(;e<t.length;e++)Mt(t[e].getAttribute(O),Ht(t[e].innerHTML),!0)},Ft=t=>"object"==(t=typeof t)||"function"===t,Ut=(t,n,...o)=>{"string"==typeof t&&(t=Wn(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&&!Ft(s))?s+="":e.isDev&&"function"!=typeof t&&void 0===s.u&&g("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].R+=s:a.push(l?Bt(null,s):s),c=l)};if(u(o),n&&(e.isDev&&"input"===t&&Xt(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(zt)&&g("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,Wt);const f=Bt(t,null);return f.L=n,a.length>0&&(f.M=a),e.vdomKey&&(f.D=r),e.slotRelocation&&(f.A=i),f},Bt=(t,n)=>{const o={u:0,I:t,R:null!=n?n:null,P:null,M:null};return e.vdomAttribute&&(o.L=null),e.vdomKey&&(o.D=null),e.slotRelocation&&(o.A=null),o},Vt={},zt=t=>t&&t.I===Vt,Wt={forEach:(t,e)=>t.map(Yt).forEach(e),map:(t,e)=>t.map(Yt).map(e).map(Jt)},Yt=t=>({vattrs:t.L,vchildren:t.M,vkey:t.D,vname:t.A,vtag:t.I,vtext:t.R}),Jt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Ut(t.vtag,e,...t.vchildren||[])}const e=Bt(t.vtag,t.vtext);return e.L=t.vattrs,e.M=t.vchildren,e.D=t.vkey,e.A=t.vname,e},Xt=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)&&$('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(C),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=Qt({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),P:i,L:{class:i.className||""}}),n.push(f),i.removeAttribute(C),t.M||(t.M=[]),e.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.L.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(Gt(r,u[2],f,i,t,n,o,s,c),e.scoped&&h&&i.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(t.M[f.V]=f),t=f,s&&"0"===f.B&&(s[f.V]=f.P)}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=Qt({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:i,L:null,M:null,D:null,A:null,I:null,R:null}),"t"===a?(f.P=oe(i,3),f.P&&3===f.P.nodeType&&(f.R=f.P.textContent,n.push(f),i.remove(),l===f.F&&(t.M||(t.M=[]),t.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=oe(i,8),f.P&&8===f.P.nodeType&&(n.push(f),i.remove())):f.F===l&&("s"===a?Gt(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=Bt(null,i.textContent);e.P=i,e.V="0",t.M=[e]}return t},Kt=(t,e)=>{if(1===t.nodeType){const n=t[x]||t.getAttribute(x);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)Kt(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)Kt(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])}},Qt=t=>({u:0,F:null,U:null,B:null,V:"0",P:null,L:null,M:null,D:null,A:null,I:null,R:null,...t});function Gt(t,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.A=t||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(e.shadowDom&&c&&R.document){const e=o.P=R.document.createElement(o.I);o.A&&o.P.setAttribute("name",t),r.P.shadowRoot&&u&&u!==o.F?Nt(r.P,"insertBefore")(e,Nt(r.P,"children")[0]):Nt(Nt(s,"parentNode"),"insertBefore")(e,s),ne(a,n,t,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const e=o.P,i=u&&u!==o.F&&r.P.shadowRoot;ne(a,n,t,s,i?u:o.F),rt(s),i&&r.P.insertBefore(e,r.P.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var Zt,te,ee,ne=(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.")))},oe=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},se=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),re="-shadowcsshost",ie="-shadowcssslotted",le="-shadowcsscontext",ce=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",ae=RegExp("("+re+ce,"gim"),ue=RegExp("("+le+ce,"gim"),fe=RegExp("("+ie+ce,"gim"),de=re+"-no-combinator",he=/-shadowcsshost-no-combinator([^\s]*)/,pe=[/::shadow/g,/::content/g],me=/__part-(\d+)__/g,ve=/-shadowcsshost/gim,ge=t=>{const e=se(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},$e=/\/\*\s*[\s\S]*?\*\//g,be=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,ye=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Se=/([{}])/g,we=/(^.*?[^\\])??((:+)(.*)|$)/,je="%BLOCK%",xe=(t,e)=>{const n=Oe(t);let o=0;return n.escapedString.replace(ye,((...t)=>{const s=t[2];let r="",i=t[4],l="";i&&i.startsWith("{"+je)&&(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}`}))},Oe=t=>{const e=t.split(Se),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(je),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(je)),{escapedString:n.join(""),blocks:o}},Ce=(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(de,r,t[3]))}return o.join(",")}return de+t[3]})),_e=(t,e,n)=>t+e.replace(re,"")+n,Ee=(t,e,n)=>e.indexOf(re)>-1?_e(t,e,n):t+e+n+", "+e+" "+t+n,Ne=(t,e)=>t.replace(we,((t,n="",o,s="",r="")=>n+e+s+r)),ke=(t,e,n,o)=>xe(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(de)>-1)s=((t,e,n)=>{if(ve.lastIndex=0,ve.test(t)){const e="."+n;return t.replace(he,((t,n)=>Ne(n,e))).replace(ve,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(ve,"");e.length>0&&(s=Ne(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(de)>-1);for(;null!==(i=a.exec(t));){const e=i[1],n=t.slice(c,i.index).trim();u=u||n.indexOf(de)>-1,l+=`${u?s(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(me)&&(u||f.indexOf(de)>-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}})),Te=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),Re=(t,e)=>{const n=e+"-h",o=e+"-s",s=(t=>t.match(be)||[])(t);t=(t=>t.replace($e,""))(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=xe(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=xe(t.content,e),t):t))}const i=((t,e,n,o)=>{const s=((t,e)=>{const n="."+e+" > ",o=[];return t=t.replace(fe,((...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 de+t[3]})),{selectors:o,cssText:t}})(t=(t=>Ce(t,ue,Ee))(t=(t=>Ce(t,ae,_e))(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=ge("::slotted"),o=ge(":host"),s=ge(":host-context");return t=t.replace(s,"$1"+le).replace(o,"$1"+re).replace(n,"$1"+ie),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),o);return t=(t=>pe.reduce(((t,e)=>t.replace(e," ")),t))(t=s.cssText),e&&(t=ke(t,e,n,o)),{cssText:(t=(t=Te(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((t=>({orgSelector:Te(t.orgSelector,n),updatedSelector:Te(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(se(e.orgSelector),"g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return xe(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=>j.map((e=>e(t))).find((t=>!!t)),Me=class t{static fromLocalValue(e){const n=e[l],o=c in e?e[c]: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(l))return!1;const e=t[l];return!!Object.values({...r,...i}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(c))}},De=(t,n,o)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(a)?t=function(t){return"string"==typeof t&&t.startsWith(a)?Me.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Ft(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,Ae=t=>{var n;return e.lazyLoad?null==(n=f(t))?void 0:n.$hostElement$:t},Ie=(t,e,n)=>{const o=M.ce(e,n);return t.dispatchEvent(o),o},He=(t,n,o,s,r,i,l)=>{if(o===s)return;let c=p(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,r=Fe(o);let i=Fe(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&&s(t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr){const l=Ft(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(k,n):t.removeAttribute(n)):(!c||4&i||r)&&!l&&1===t.nodeType&&(s=!0===s?"":s,e.vdomXlink&&u?t.setAttributeNS(k,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):p(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const e=n.endsWith(Ue);n=n.replace(Be,""),o&&M.rel(t,n,o,e),s&&M.ael(t,n,s,e)}},Pe=/\s/,Fe=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Pe):[]),Ue="Capture",Be=RegExp(Ue+"$"),Ve=(t,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,i=t&&t.L||{},l=n.L||{};if(e.updatable)for(const t of ze(Object.keys(i)))t in l||He(r,t,i[t],void 0,o,n.u,s);for(const t of ze(Object.keys(l)))He(r,t,i[t],l[t],o,n.u,s)};function ze(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var We=!1,Ye=!1,Je=!1,Xe=!1,qe=(t,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(e.slotRelocation&&!We&&(Je=!0,"slot"===r.I&&(r.u|=r.M?2:1)),e.isDev&&r.P&&g(`The JSX ${null!==r.R?`"${r.R}" 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.R)i=r.P=R.document.createTextNode(r.R);else if(e.slotRelocation&&1&r.u)i=r.P=e.isDebug||e.hydrateServerSide?un(r):R.document.createTextNode(""),e.vdomAttribute&&Ve(null,r,Xe);else{if(e.svg&&!Xe&&(Xe="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.P=e.svg?R.document.createElementNS(Xe?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!We&&e.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!We&&e.slotRelocation&&2&r.u?"slot-fb":r.I),e.svg&&Xe&&"foreignObject"===r.I&&(Xe=!1),e.vdomAttribute&&Ve(null,r,Xe),(e.scoped||e.hydrateServerSide)&&null!=Zt&&void 0!==Zt&&i["s-si"]!==Zt&&i.classList.add(i["s-si"]=Zt),r.M){const e="template"===r.I?i.content:i;for(a=0;a<r.M.length;++a)l=qe(t,r,a),l&&e.appendChild(l)}e.svg&&("svg"===r.I?Xe=!1:"foreignObject"===i.tagName&&(Xe=!0))}return i["s-hn"]=ee,e.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=te,i["s-sn"]=r.A||"",i["s-rf"]=null==(s=r.L)?void 0:s.ref,rt(i),c=t&&t.M&&t.M[o],c&&c.I===r.I&&t.P&&Ke(t.P),(e.scoped||e.hydrateServerSide)&&cn(te,i,n.P,null==t?void 0:t.P)),i},Ke=t=>{M.u|=1;const e=t.closest(ee.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"]&&(ln(e,t,null!=n?n:null),t["s-sh"]=void 0,Je=!0)}M.u&=-2},Qe=(t,e)=>{M.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"]===ee&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==ee&&o["s-ol"]&&(ln(en(o).parentNode,o,en(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Je=!0),e&&Qe(o,e)}M.u&=-2},Ge=(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===ee&&(c=c.shadowRoot),"template"===o.I&&(c=c.content);r<=i;++r)s[r]&&(l=qe(null,o,r),l&&(s[r].P=l,ln(c,l,e.slotRelocation?en(n):n)))},Ze=(t,n,o)=>{for(let s=n;s<=o;++s){const n=t[s];if(n){const t=n.P;rn(n),t&&(e.slotRelocation&&(Ye=!0,t["s-ol"]?t["s-ol"].remove():Qe(t,!0)),t.remove())}}},tn=(t,n,o=!1)=>t.I===n.I&&(e.slotRelocation&&"slot"===t.I?t.A===n.A:e.vdomKey&&!o?t.D===n.D:(o&&!t.D&&n.D&&(t.D=n.D),!0)),en=t=>t&&t["s-ol"]||t,nn=(t,n,o=!1)=>{const s=n.P=t.P,r=t.M,i=n.M,l=n.I,c=n.R;let a;e.vdomText&&null!=c?e.vdomText&&e.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.R!==c&&(s.data=c):(e.svg&&(Xe="svg"===l||"foreignObject"!==l&&Xe),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!We&&t.A!==n.A&&(n.P["s-sn"]=n.A||"",Ke(n.P.parentElement)),Ve(t,n,Xe,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(tn(h,v,r))nn(h,v,r),h=n[++c],v=s[++a];else if(tn(p,g,r))nn(p,g,r),p=n[--d],g=s[--m];else if(tn(h,g,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||Qe(h.P.parentNode,!1),nn(h,g,r),ln($,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(tn(p,v,r))!e.slotRelocation||"slot"!==h.I&&"slot"!==g.I||Qe(p.P.parentNode,!1),nn(p,v,r),ln($,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].D&&n[f].D===v.D){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=qe(n&&n[a],o,u):(nn(l,v,r),n[u]=void 0,i=l.P),v=s[++a]):(i=qe(n&&n[a],o,a),v=s[++a]),i&&(e.slotRelocation?ln(en(h.P).parentNode,i,en(h.P)):ln(h.P.parentNode,i,h.P))}c>d?Ge(t,null==s[m+1]?null:s[m+1].P,o,s,a,m):e.updatable&&a>m&&Ze(n,c,d)})(s,r,n,i,o):null!==i?(e.updatable&&e.vdomText&&null!==t.R&&(s.textContent=""),Ge(s,null,n,i,0,i.length-1)):!o&&e.updatable&&null!==r?Ze(r,0,r.length-1):e.hydrateClientSide&&o&&e.updatable&&null!==r&&null===i&&(n.M=r),e.svg&&Xe&&"svg"===l&&(Xe=!1))},on=[],sn=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(nt(e,s)){let n=on.find((t=>t.W===e));Ye=!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"],on.push({Y:t,W:e})),e["s-sr"]&&on.map((t=>{nt(t.W,e["s-sn"])&&(n=on.find((t=>t.W===e)),n&&!t.Y&&(t.Y=n.Y))}))}else on.some((t=>t.W===e))||on.push({W:e})}1===t.nodeType&&sn(t)}},rn=t=>{e.vdomRef&&(t.L&&t.L.ref&&t.L.ref(null),t.M&&t.M.map(rn))},ln=(t,n,o,s)=>{if(e.slotRelocation)if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])cn(n["s-cr"],n,t,n.parentElement);else if("string"==typeof n["s-sn"]){e.experimentalSlotFixes&&11!==t.getRootNode().nodeType&&Ot(n),t.insertBefore(n,o);const{slotNode:r}=lt(n);return r&&!s&&it(r),n}return t.__insertBefore?t.__insertBefore(n,o):null==t?void 0:t.insertBefore(n,o)};function cn(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 an=(t,n,o=!1)=>{var s,r,i,l,c;const a=t.$hostElement$,u=t.o,f=t.J||Bt(null,null),d=zt(n)?n:Ut(null,null,n);if(ee=a.tagName,e.isDev&&Array.isArray(n)&&n.some(zt))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${ee.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.L=d.L||{},u.X.forEach((([n,o])=>{d.L[o]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),o&&d.L)for(const t of Object.keys(d.L))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(d.L[t]=a[t]);if(d.I=null,d.u|=4,t.J=d,d.P=f.P=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Zt=a["s-sc"]),We=D&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(te=a["s-cr"],Ye=!1),nn(f,d,o),e.slotRelocation){if(M.u|=1,Je){sn(d.P);for(const t of on){const n=t.W;if(!n["s-ol"]&&R.document){const t=e.isDebug||e.hydrateServerSide?fn(n):R.document.createTextNode("");t["s-nr"]=n,ln(n.parentNode,n["s-ol"]=t,n,o)}}for(const t of on){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(ln(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,ln(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)}}Ye&&G(d.P),M.u&=-2,on.length=0}if(e.slotRelocation&&!We&&!(1&u.u)&&a["s-cr"]){const t=d.P.__childNodes||d.P.childNodes;for(const e of t)if(e["s-hn"]!==ee&&!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"],ln(e.parentNode,t,e,o),e.parentNode.removeChild(e)}}te=void 0},un=t=>{var e;return null==(e=R.document)?void 0:e.createComment(`<slot${t.A?' name="'+t.A+'"':""}> (host=${ee.toLowerCase()})`)},fn=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}]`))},dn=(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()})))}},hn=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);dn(t,t.K);const o=()=>pn(t,n);if(!n)return e.taskQueue?K(o):o();queueMicrotask((()=>{o()}))},pn=(t,n)=>{const o=t.$hostElement$,s=Tt("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,jn(r,"connectedCallback",void 0,o)),e.hostListener&&(t.u|=256,t.Z&&(t.Z.map((([t,e])=>jn(r,t,e,o))),t.Z=void 0)),t.O.length&&t.O.forEach((t=>t(o)))),xn(o,"componentWillLoad"),i=jn(r,"componentWillLoad",void 0,o)):(xn(o,"componentWillUpdate"),i=jn(r,"componentWillUpdate",void 0,o)),xn(o,"componentWillRender"),i=mn(i,(()=>jn(r,"componentWillRender",void 0,o))),s(),mn(i,(()=>gn(t,r,n)))},mn=(t,e)=>vn(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),vn=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,gn=async(t,n,o)=>{var s;const r=t.$hostElement$,i=Tt("update",t.o.C),l=r["s-rc"];e.style&&o&&At(t);const c=Tt("render",t.o.C);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await bn(t,n,r,o):bn(t,n,r,o),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{Cn(r),o&&(1&t.o.u?r["s-en"]="":2&t.o.u&&(r["s-en"]="c"))}catch(t){m(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=()=>yn(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}else yn(t)},$n=null,bn=(t,n,o,s)=>{const r=!!e.allRenderFn,i=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if($n=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=>an(t,e,s)));an(t,n,s)}else 1&t.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(e){m(e,t.$hostElement$)}return $n=null,null},yn=t=>{const n=t.o.C,o=t.$hostElement$,s=Tt("postUpdate",n),r=e.lazyLoad?t.l:o,i=t.K;e.isDev&&(t.u|=1024),jn(r,"componentDidRender",void 0,o),e.isDev&&(t.u&=-1025),xn(o,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),jn(r,"componentDidUpdate",void 0,o),e.isDev&&(t.u&=-1025),xn(o,"componentDidUpdate"),s()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&On(o),e.isDev&&(t.u|=2048),jn(r,"componentDidLoad",void 0,o),e.isDev&&(t.u&=-2049),xn(o,"componentDidLoad"),s(),e.asyncLoading&&(t.j(o),i||wn(n))),e.method&&e.lazyLoad&&t.$(o),e.asyncLoading&&(t.q&&(t.q(),t.q=void 0),512&t.u&&X((()=>hn(t,!1))),t.u&=-517)},Sn=t=>{var n;if(e.updatable&&(s.isBrowser||s.isTesting)){const e=f(t),o=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return o&&2==(18&e.u)&&hn(e,!1),o}return!1},wn=n=>{var o;e.asyncQueue&&(M.u|=2),X((()=>Ie(R,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(o=M.tt)?void 0:o.size)&&M.tt.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},jn=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){m(t,o)}},xn=(n,o)=>{e.lifecycleDOMEvents&&Ie(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:t}})},On=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},Cn=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(),Cn(n)}},_n=(t,e)=>f(t).i.get(e),En=(t,n,o,s)=>{const r=f(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=De(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&&a&&s.et&&s.et[n]){let t=o;for(const e of s.et[n]){const[[o]]=Object.entries(e);t=a[o](t,n)}r.p.set(n,t)}if(e.isDev&&(1024&r.u?$(`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&&$(`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){m(t,i)}}))}if(e.updatable&&2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n))return;hn(r,!1)}}},Nn=(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&&T.forEach((t=>{const n=i[t];Object.defineProperty(i,t,{value(...o){var s;const r=f(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=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}=Object.getOwnPropertyDescriptor(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 _n(this,t);const e=f(this),o=e?e.l:i;if(!o)return;return o[t]}if(!e.lazyLoad)return r?r.apply(this):_n(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(r){const i=f(this);if(i){if(e.isDev&&(1&o||4096&n.t[t][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||$(`@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,De(r,s,e.formAssociated&&!!(64&n.u))),void En(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 En(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]=De(r,s,e.formAssociated&&!!(64&n.u)),En(this,t,i.l[t],n)};i.l?l():i.O.push((()=>{l()}))}}else En(this,t,r,n)}}})}else e.lazyLoad&&e.method&&1&o&&64&s&&Object.defineProperty(i,t,{value(...e){var n;const o=f(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){M.jmp((()=>{var c;const a=o.get(t),u=f(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 d=l.find((([t])=>t===a));d&&4&d[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(i,a);r==this[a]||h.get&&!h.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},kn=async(t,n,o,s)=>{let r;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.N}`,`[Stencil] Load module for <${o.C}>`);r=await i,t()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.N}" was not found`);e.member&&!r.isProxied&&(e.propChangeCallback&&(o.nt=r.watchers,o.et=r.serializers,o.ot=r.deserializers),Nn(r,o,2),r.isProxied=!0);const l=Tt("createInstance",o.C);e.member&&(n.u|=8);try{new r(n)}catch(e){m(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),e.slotRelocation&&4&o.u?n.G=!0:Tn(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.N=Le(t),n.N&&(i=r.style[n.N]),e.hydrateServerSide&&n.N&&t.setAttribute("s-mode",n.N));const l=It(o,n.N);if(!w.has(l)||e.hotModuleReplacement&&s){const t=Tt("registerStyles",o.C);e.hydrateServerSide&&e.shadowDom&&128&o.u&&(i=Re(i,l)),Mt(l,i,!!(1&o.u)),t()}}}const i=n.K,l=()=>hn(n,!0);e.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()},Tn=(t,n)=>{e.lazyLoad&&jn(t,"connectedCallback",void 0,n)},Rn=t=>{if(!(1&M.u)){const n=f(t);if(!n)return;const o=n.o,s=Tt("connectedCallback",o.C);if(e.hostListenerTargetParent&&Hn(t,n,o.st,!0),1&n.u)Hn(t,n,o.st,!1),(null==n?void 0:n.l)?Tn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Tn(n.l,t)));else{let s;if(n.u|=1,e.hydrateClientSide&&(s=t.getAttribute(x),s)){if(e.shadowDom&&D&&1&o.u){const n=e.mode?Dt(t.shadowRoot,o,t.getAttribute("s-mode")):Dt(t.shadowRoot,o);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&o.u){const n=It(o,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,o,s)=>{var r,i,l,c;const a=Tt("hydrateClient",n),u=t.shadowRoot,d=[],h=[],p=[],m=e.shadowDom&&u?[]:null,v=Bt(n,null);let g;if(v.P=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||M.tt&&M.tt.size||Kt(R.document.body,M.tt=new Map),t[x]=o,t.removeAttribute(x),s.J=qt(v,d,h,m,t,t,o,p);let $=0;const b=d.length;let y;for(;$<b;$++){y=d[$];const o=y.F+"."+y.U,s=M.tt.get(o),i=y.P;if(u){if((null==(r=y.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==y.I&&!y.P.shadowRoot){const t=f(y.P);if(t){const n=It(t.o,e.mode?y.P.getAttribute("s-mode"):void 0),o=R.document.querySelector(`style[sty-id="${n}"]`);o&&m.unshift(o.cloneNode(!0))}}}else i["s-hn"]=Wn(n).toUpperCase(),"slot"===y.I&&(i["s-cr"]=t["s-cr"]);"slot"===y.I&&(y.A=y.P["s-sn"]||y.P.name||null,y.M?(y.u|=2,y.P.childNodes.length||y.M.forEach((t=>{y.P.appendChild(t.P)}))):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"]&&M.tt.delete(o)}const S=[],w=p.length;let j,O,C,_,E=0,N=0;for(;E<w;E++)if(j=p[E],j&&j.length)for(C=j.length,O=0;O<C;O++){if(_=j[O],S[_.hostId]||(S[_.hostId]=M.tt.get(_.hostId)),!S[_.hostId])continue;const t=S[_.hostId];t.shadowRoot&&_.node.parentElement!==t&&t.insertBefore(_.node,null==(l=null==(i=j[O-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]),ot(_.node,_.slot,!1,_.node["s-oo"]||N),(null==(c=_.node.parentElement)?void 0:c.shadowRoot)&&_.node.getAttribute&&_.node.getAttribute("slot")&&_.node.removeAttribute("slot"),e.experimentalSlotFixes&&yt(_.node)),N=(_.node["s-oo"]||N)+1}if(e.scoped&&g&&h.length&&h.forEach((t=>{t.P.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)&&Ln(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"]){dn(n,n.K=o);break}}e.prop&&!e.hydrateServerSide&&o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),e.initializeNextTick?X((()=>kn(t,n,o))):kn(t,n,o)}s()}},Ln=t=>{if(!R.document)return;const n=t["s-cr"]=R.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,ln(t,n,t.firstChild)},Mn=(t,n)=>{e.lazyLoad&&jn(t,"disconnectedCallback",void 0,n||t)},Dn=async t=>{if(!(1&M.u)){const n=f(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)?Mn(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>Mn(n.l,t))):Mn(t)}Lt.has(t)&&Lt.delete(t),t.shadowRoot&&Lt.has(t.shadowRoot)&&Lt.delete(t.shadowRoot)},An=(t,n)=>{const o={u:n[0],C:n[1]};e.member&&(o.t=n[2]),e.hostListener&&(o.st=n[3]),e.propChangeCallback&&(o.nt=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?ct(t.prototype):(e.slotChildNodesFix&&bt(t.prototype),e.cloneNodeFix&&at(t.prototype),e.appendChildSlotFix&&ut(t.prototype),e.scopedSlotTextContentFix&&2&o.u&&$t(t.prototype)):e.cloneNodeFix&&at(t.prototype),e.hydrateClientSide&&e.shadowDom&&Pt();const s=t.prototype.connectedCallback,r=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){h(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=f(this);if(!t)return;Hn(this,t,o.st,!1),this.__hasHostListenerAttached=!0}Rn(this),s&&s.call(this)},disconnectedCallback(){Dn(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 Q.call(this,o);else this.shadowRoot=this}}),t.is=o.C,Nn(t,o,3)},In=(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=f(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.N,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=Tt("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),d=[];let p,m=!0;Object.assign(M,n),M.k=new URL(n.resourcesUrl||"./",R.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(M.u|=4),e.hydrateClientSide&&(M.u|=2),e.hydrateClientSide&&e.shadowDom&&Pt();let v=!1;if(t.map((t=>{t[1].map((o=>{var s,c,a;const u={u:o[0],C:o[1],t:o[2],st:o[3]};4&u.u&&(v=!0),e.member&&(u.t=o[2]),e.hostListener&&(u.st=o[3]),e.reflect&&(u.X=[]),e.propChangeCallback&&(u.nt=null!=(s=o[4])?s:{},u.et=null!=(c=o[5])?c:{},u.ot=null!=(a=o[6])?a:{}),e.shadowDom&&!D&&1&u.u&&(u.u|=8);const g=e.transformTagName&&n.transformTagName?n.transformTagName(u.C):Wn(u.C),$=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){if(super(t),h(t=this,u),e.shadowDom&&1&u.u)if(D)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.C}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Q.call(t,u);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=f(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Hn(this,t,u.st,!1)),p&&(clearTimeout(p),p=null),m?d.push(this):M.jmp((()=>Rn(this))))}disconnectedCallback(){M.jmp((()=>Dn(this))),M.raf((()=>{var t;const e=f(this);if(!e)return;const n=d.findIndex((t=>t===this));n>-1&&d.splice(n,1),(null==(t=null==e?void 0:e.J)?void 0:t.P)instanceof Node&&!e.J.P.isConnected&&delete e.J.P}))}componentOnReady(){var t;return null==(t=f(this))?void 0:t.S}};!(1&u.u)&&256&u.u?e.experimentalSlotFixes?ct($.prototype):(e.slotChildNodesFix&&bt($.prototype),e.cloneNodeFix&&at($.prototype),e.appendChildSlotFix&&ut($.prototype),e.scopedSlotTextContentFix&&2&u.u&&$t($.prototype)):e.cloneNodeFix&&at($.prototype),e.formAssociated&&64&u.u&&($.formAssociated=!0),e.hotModuleReplacement&&($.prototype["s-hmr"]=function(t){((t,e,n)=>{const o=f(t);o&&(o.u=1,kn(t,o,e,n))})(this,u,t)}),u._=t[0],i.includes(g)||l.get(g)||(r.push(g),l.define(g,Nn($,u,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=M.T)?o:Rt(R.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,d.length?d.map((t=>t.connectedCallback())):M.jmp(e.profile?()=>p=setTimeout(wn,30,"timeout"):()=>p=setTimeout(wn,30)),s()},Hn=(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?Fn(R.document,t,o):t,l=Pn(n,r),c=Un(o);M.ael(i,s,l,c),(n.rt=n.rt||[]).push((()=>M.rel(i,s,l,c)))})))},Pn=(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){m(e,t.$hostElement$)}},Fn=(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,Un=t=>({passive:!!(1&t),capture:!!(2&t)}),Bn=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Vn=t=>M.T=t,zn=void 0;function Wn(t){return zn?zn(t):t}function Yn(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)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)}var Jn=(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=f(e);null==s||n.staticComponents.has(e.nodeName.toLowerCase())||Xn(t,e,s.J,n,{nodeIds:0}),Jn(t,e,n,o)}))},Xn=(t,e,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(e.setAttribute(x,r),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+r),null!=n.M){const e=0;n.M.forEach(((n,o)=>{qn(t,n,s,r,e,o)}))}if(e&&n&&n.P&&!e.hasAttribute(C)){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.P.setAttribute(C,`${s["s-host-id"]}.${s["s-node-id"]}.0.${t}`)}}}}},qn=(t,e,n,o,s,r)=>{const i=e.P;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,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);ln(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)=>{qn(t,e,n,o,r,s)}))}},Kn=Object.freeze({__proto__:null,BUILD:e,Build:s,Env:{},Fragment:(t,e)=>e,H:L,HTMLElement:L,HYDRATED_STYLE_ID:O,Host:Vt,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),Bn)},NAMESPACE:t,STENCIL_DEV_MODE:v,addHostEventListeners:Hn,bootstrapLazy:In,cmpModules:y,connectedCallback:Rn,consoleDevError:g,consoleDevInfo:b,consoleDevWarn:$,consoleError:m,createEvent:(t,n,o)=>{const s=Ae(t);return{emit:t=>(e.isDev&&!s.isConnected&&$(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Ie(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(Wn(e[1]),An(t,e))},disconnectedCallback:Dn,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=Le(t),n=f(t);if(n&&n.N!==e){const o=n.o,s=t["s-sc"],r=It(o,e),i=t.constructor.style[e],l=o.u;i&&(w.has(r)||Mt(r,i,!!(1&l)),n.N=e,t.classList.remove(s+"-h",s+"-s"),At(n),Sn(t))}}},forceUpdate:Sn,getAssetPath:t=>{const e=new URL(t,M.k);return e.origin!==R.location.origin?e.href:e.pathname},getElement:Ae,getHostRef:f,getMode:t=>{var e;return null==(e=f(t))?void 0:e.N},getRenderingRef:()=>$n,getValue:_n,h:Ut,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=_ in t?t[_]:{...E};n.staticComponents=new Set(e);const o=[];Jn(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(C,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,ln(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:p,jsx:Yn,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)?Ut(t,i,...s):Ut(t,i,s):Ut(t,i)},jsxs:function(t,e,n){return Yn(t,e,n)},loadModule:S,modeResolutionChain:j,needsScopedSSR:()=>!1,nextTick:X,parsePropertyValue:De,plt:M,postUpdateComponent:yn,promiseResolve:A,proxyComponent:Nn,proxyCustomElement:An,readTask:q,registerHost:h,registerInstance:d,render:function(t,e){an({o:{u:0,C:e.tagName},$hostElement$:e},t)},renderVdom:an,setAssetPath:t=>M.k=t,setErrorHandler:t=>n=t,setMode:t=>j.push(t),setNonce:Vn,setPlatformHelpers:t=>{Object.assign(M,t)},setPlatformOptions:t=>Object.assign(M,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:En,styles:w,supportsConstructableStylesheets:I,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:H,supportsShadow:D,transformTag:Wn,win:R,writeTask:K});export{e as B,L as H,t as N,Kn as S,In as b,b as c,Ut as h,A as p,d as r,Vn as s,R as w}