proto-tinker-wc 0.1.127 → 0.1.128
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-CFAhDdE8.js → index-D6RzfWG1.js} +1 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-tinker-wc.cjs.js +2 -2
- package/dist/cjs/proto-tinker.cjs.entry.js +5 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components/proto-tinker.js +1 -1
- package/dist/esm/{index-BjwLblhT.js → index-B4E56p68.js} +1 -4
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-tinker-wc.js +3 -3
- package/dist/esm/proto-tinker.entry.js +5 -2
- package/dist/proto-tinker-wc/{p-f3a962fd.entry.js → p-83b20867.entry.js} +1 -1
- package/dist/proto-tinker-wc/p-B4E56p68.js +2 -0
- package/dist/proto-tinker-wc/proto-tinker-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/proto-tinker-wc/p-BjwLblhT.js +0 -2
|
@@ -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.40.
|
|
8
|
+
Stencil Client Platform v4.40.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
var __create = Object.create;
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
@@ -480,9 +480,6 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
|
480
480
|
var promiseResolve = (v) => Promise.resolve(v);
|
|
481
481
|
var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
|
|
482
482
|
try {
|
|
483
|
-
if (!win.document.adoptedStyleSheets) {
|
|
484
|
-
return false;
|
|
485
|
-
}
|
|
486
483
|
new CSSStyleSheet();
|
|
487
484
|
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
488
485
|
} catch (e) {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D6RzfWG1.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.40.
|
|
8
|
+
Stencil Client Patch Browser v4.40.0 | 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-
|
|
3
|
+
var index = require('./index-D6RzfWG1.js');
|
|
4
4
|
|
|
5
5
|
const Radio = props => {
|
|
6
6
|
const hex = props.hex || 'currentColor';
|
|
@@ -474,7 +474,10 @@ const Header = props => {
|
|
|
474
474
|
return (index.h("h1", { class: "mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red" }, props.label));
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
const shadowCss = () => `@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji'
|
|
477
|
+
const shadowCss = () => `@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
|
|
478
|
+
'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)),
|
|
479
|
+
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),
|
|
480
|
+
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}`;
|
|
478
481
|
|
|
479
482
|
const ProtoTinker = class {
|
|
480
483
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as t from"@stencil/core/internal/client";import{h as e,proxyCustomElement as a,HTMLElement as r,transformTag as l}from"@stencil/core/internal/client";const n=t=>{const a=t.hex||"currentColor",r=t.selected||!1,l=t.size||24;return e("svg",{class:t.class,width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"radio")," ",e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},o=[{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)),s={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"},i={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},c=Object.keys(s),d=t=>!("isConnected"in t)||t.isConnected,f=(()=>{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&&d(e)}));t.set(e,a)}})(...e)}),2e3)}})(),p=t.forceUpdate,g=t.getRenderingRef,h=(t,e)=>{const a=t.indexOf(e);a>=0&&(t[a]=t[t.length-1],t.length--)},u="proto-tinker-wc::app-data",b=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const a=()=>(t=>"function"==typeof t?t():t)(t)??{},r=a();let l=new Map(Object.entries(r));const n="undefined"!=typeof Proxy,o=n?null:{},s={dispose:[],get:[],set:[],reset:[]},i=new Map,c=()=>{l=new Map(Object.entries(a())),n||b(),s.reset.forEach((t=>t()))},d=t=>(s.get.forEach((e=>e(t))),l.get(t)),f=(t,a)=>{const r=l.get(t);e(a,r,t)&&(l.set(t,a),n||u(t),s.set.forEach((e=>e(t,a,r))))},p=n?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)=>(f(e,a),!0)}):(b(),o),g=(t,e)=>(s[t].push(e),()=>{h(s[t],e)});function u(t){!n&&o&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:()=>d(t),set(e){f(t,e)}}))}function b(){if(n||!o)return;const t=new Set(l.keys());for(const e of Object.keys(o))t.has(e)||delete o[e];for(const e of t)u(e)}return{state:p,get:d,set:f,on:g,onChange:(t,e)=>{const r=(a,r)=>{a===t&&e(r)},l=()=>{const r=a();e(r[t])},n=g("set",r),o=g("reset",l);return i.set(e,{setHandler:r,resetHandler:l,propName:t}),()=>{n(),o(),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&&(h(s.set,a.setHandler),h(s.reset,a.resetHandler),i.delete(e))}}})({count:0,pick:"bada55",values:[...o]},void 0);return t.use((()=>{if("function"!=typeof g||"function"!=typeof p)return{};const t=p,e=g,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)}f(a)},reset:()=>{a.forEach((e=>{e.forEach((e=>{const a=e.deref();a&&t(a)}))})),f(a)}}})()),t})(),{state:v}=b,x=()=>{const{count:t,pick:e,values:a}=v;(t=>{const e=JSON.stringify(t);localStorage.setItem(u,e)})({count:t,pick:e,values:a})},m={initApp:()=>{const t=(()=>{const t=localStorage.getItem(u);return t?JSON.parse(t):void 0})();if(t){const{count:e,pick:a,values:r}=t;v.count=e,v.pick=a,v.values=r}},refresh:()=>{const t=o.map((()=>Math.floor(100*Math.random())));v.count=v.count+1,v.values=t,x()},reset:()=>{v.count=0,v.values=[...o],x()},updatePick:t=>{v.pick=t,x()}},C=t=>{const{actions:a,state:r}=t,{pick:l}=r;return e("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},c.map((t=>{const r=(t=>s[t]||i[t])(t),o=l===t;return e("div",{"aria-label":t,"aria-checked":o?"true":"false",role:"radio",onClick:()=>{a.updatePick(t)}},e(n,{hex:r,selected:o,label:t}))})))},w=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"chevron-double-left"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},y=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"close"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},k=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"refresh"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},M=t=>{const{actions:a,state:r}=t,{count:l}=r;return e("div",{class:"mb-10px mt-3 flex items-center"},e("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{a.refresh()}},e(k,{label:"Refresh"})),e("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{a.reset()}},e(y,{label:"Reset"})),e("span",{class:"flex items-center"},e(w,{size:28}),e("span",{class:"italic"},"click a button... ",e("sup",null,l))))},z=()=>e("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.18"),L=t=>{const{state:a}=t,{values:r,pick:l,count:n}=a;return e("div",{class:"flex"},e("div",{class:"flex flex-col"},e("div",{class:"flex"},e("span",{class:"mr-10px font-bold"},"color:"),e("span",{class:"italic text-clrs-slate4"},l)),e("div",{class:"mt-5px flex"},e("span",{class:"mr-10px font-bold"},"sample:"),e("span",{class:"italic text-clrs-slate4"},""+(n>0?r:"...")))),e(z,null))},S=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"fingerprint"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},j="eswat2",O=()=>e("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":j,target:"blank",title:j},e(S,{label:"eswat2"})),A=t=>e("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},t.label),H=a(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tag="proto-tinker"}componentDidLoad(){m.initApp()}render(){return e("div",{key:"8ce0faa12c39b5b7ebc87c2f8d00dade936e3ded",id:"app",class:"ds1-main relative"},e(A,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),e(O,{key:"919ca01768ea309609ec6be67fede120434d723e"}),e(M,{key:"e8220f685b6b44e3d7ccd1bf644d3f98219d7310",actions:m,state:v}),e(C,{key:"463901312bdd5ee72715de3e2fc47ad364902f40",actions:m,state:v}),e("hr",{key:"35ba2812a3b068b21b5252c5f07d0b5dc2f18527",class:"ml-0 mr-0"}),e(L,{key:"df047e0968a8267a031b87fd733c454911771fe0",state:v}))}static get style(){return"@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\\n '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)),\\n 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),\\n 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}"}},[1,"proto-tinker",{tag:[1]}]),E=H,B=function(){"undefined"!=typeof customElements&&["proto-tinker"].forEach((t=>{"proto-tinker"===t&&(customElements.get(l(t))||customElements.define(l(t),H))}))};export{E as ProtoTinker,B as defineCustomElement}
|
|
1
|
+
import*as t from"@stencil/core/internal/client";import{h as e,proxyCustomElement as a,HTMLElement as r,transformTag as l}from"@stencil/core/internal/client";const n=t=>{const a=t.hex||"currentColor",r=t.selected||!1,l=t.size||24;return e("svg",{class:t.class,width:l,height:l,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"radio")," ",e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},o=[{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)),s={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"},i={slate:"#708090",slate4:"#4e5964",white:"#ffffff"},c=Object.keys(s),d=t=>!("isConnected"in t)||t.isConnected,f=(()=>{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&&d(e)}));t.set(e,a)}})(...e)}),2e3)}})(),p=t.forceUpdate,g=t.getRenderingRef,h=(t,e)=>{const a=t.indexOf(e);a>=0&&(t[a]=t[t.length-1],t.length--)},u="proto-tinker-wc::app-data",b=(()=>{const t=((t,e=(t,e)=>t!==e)=>{const a=()=>(t=>"function"==typeof t?t():t)(t)??{},r=a();let l=new Map(Object.entries(r));const n="undefined"!=typeof Proxy,o=n?null:{},s={dispose:[],get:[],set:[],reset:[]},i=new Map,c=()=>{l=new Map(Object.entries(a())),n||b(),s.reset.forEach((t=>t()))},d=t=>(s.get.forEach((e=>e(t))),l.get(t)),f=(t,a)=>{const r=l.get(t);e(a,r,t)&&(l.set(t,a),n||u(t),s.set.forEach((e=>e(t,a,r))))},p=n?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)=>(f(e,a),!0)}):(b(),o),g=(t,e)=>(s[t].push(e),()=>{h(s[t],e)});function u(t){!n&&o&&(Object.prototype.hasOwnProperty.call(o,t)||Object.defineProperty(o,t,{configurable:!0,enumerable:!0,get:()=>d(t),set(e){f(t,e)}}))}function b(){if(n||!o)return;const t=new Set(l.keys());for(const e of Object.keys(o))t.has(e)||delete o[e];for(const e of t)u(e)}return{state:p,get:d,set:f,on:g,onChange:(t,e)=>{const r=(a,r)=>{a===t&&e(r)},l=()=>{const r=a();e(r[t])},n=g("set",r),o=g("reset",l);return i.set(e,{setHandler:r,resetHandler:l,propName:t}),()=>{n(),o(),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&&(h(s.set,a.setHandler),h(s.reset,a.resetHandler),i.delete(e))}}})({count:0,pick:"bada55",values:[...o]},void 0);return t.use((()=>{if("function"!=typeof g||"function"!=typeof p)return{};const t=p,e=g,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)}f(a)},reset:()=>{a.forEach((e=>{e.forEach((e=>{const a=e.deref();a&&t(a)}))})),f(a)}}})()),t})(),{state:v}=b,x=()=>{const{count:t,pick:e,values:a}=v;(t=>{const e=JSON.stringify(t);localStorage.setItem(u,e)})({count:t,pick:e,values:a})},m={initApp:()=>{const t=(()=>{const t=localStorage.getItem(u);return t?JSON.parse(t):void 0})();if(t){const{count:e,pick:a,values:r}=t;v.count=e,v.pick=a,v.values=r}},refresh:()=>{const t=o.map((()=>Math.floor(100*Math.random())));v.count=v.count+1,v.values=t,x()},reset:()=>{v.count=0,v.values=[...o],x()},updatePick:t=>{v.pick=t,x()}},C=t=>{const{actions:a,state:r}=t,{pick:l}=r;return e("div",{id:"toolbar",class:"flex flex-wrap",role:"radiogroup"},c.map((t=>{const r=(t=>s[t]||i[t])(t),o=l===t;return e("div",{"aria-label":t,"aria-checked":o?"true":"false",role:"radio",onClick:()=>{a.updatePick(t)}},e(n,{hex:r,selected:o,label:t}))})))},w=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"chevron-double-left"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},y=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"close"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},k=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"refresh"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},M=t=>{const{actions:a,state:r}=t,{count:l}=r;return e("div",{class:"mb-10px mt-3 flex items-center"},e("button",{"aria-label":"Refresh",class:"ds1-button data-button bg-clrs-blue",onClick:()=>{a.refresh()}},e(k,{label:"Refresh"})),e("button",{"aria-label":"Reset",class:"ds1-button data-button bg-clrs-red",onClick:()=>{a.reset()}},e(y,{label:"Reset"})),e("span",{class:"flex items-center"},e(w,{size:28}),e("span",{class:"italic"},"click a button... ",e("sup",null,l))))},z=()=>e("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.18"),L=t=>{const{state:a}=t,{values:r,pick:l,count:n}=a;return e("div",{class:"flex"},e("div",{class:"flex flex-col"},e("div",{class:"flex"},e("span",{class:"mr-10px font-bold"},"color:"),e("span",{class:"italic text-clrs-slate4"},l)),e("div",{class:"mt-5px flex"},e("span",{class:"mr-10px font-bold"},"sample:"),e("span",{class:"italic text-clrs-slate4"},""+(n>0?r:"...")))),e(z,null))},S=t=>{const a=t.hex||"currentColor",r=t.size||24;return e("svg",{class:t.class,width:r,height:r,viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t.label||"fingerprint"),e("g",{fill:a},e("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"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},j="eswat2",O=()=>e("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":j,target:"blank",title:j},e(S,{label:"eswat2"})),A=t=>e("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},t.label),H=a(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.tag="proto-tinker"}componentDidLoad(){m.initApp()}render(){return e("div",{key:"8ce0faa12c39b5b7ebc87c2f8d00dade936e3ded",id:"app",class:"ds1-main relative"},e(A,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),e(O,{key:"919ca01768ea309609ec6be67fede120434d723e"}),e(M,{key:"e8220f685b6b44e3d7ccd1bf644d3f98219d7310",actions:m,state:v}),e(C,{key:"463901312bdd5ee72715de3e2fc47ad364902f40",actions:m,state:v}),e("hr",{key:"35ba2812a3b068b21b5252c5f07d0b5dc2f18527",class:"ml-0 mr-0"}),e(L,{key:"df047e0968a8267a031b87fd733c454911771fe0",state:v}))}static get style(){return"@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n '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)),\n 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),\n 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}"}},[1,"proto-tinker",{tag:[1]}]),E=H,B=function(){"undefined"!=typeof customElements&&["proto-tinker"].forEach((t=>{"proto-tinker"===t&&(customElements.get(l(t))||customElements.define(l(t),H))}))};export{E as ProtoTinker,B as defineCustomElement}
|
|
@@ -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.40.
|
|
6
|
+
Stencil Client Platform v4.40.0 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var __create = Object.create;
|
|
9
9
|
var __defProp = Object.defineProperty;
|
|
@@ -478,9 +478,6 @@ var supportsListenerOptions = /* @__PURE__ */ (() => {
|
|
|
478
478
|
var promiseResolve = (v) => Promise.resolve(v);
|
|
479
479
|
var supportsConstructableStylesheets = BUILD.constructableCSS ? /* @__PURE__ */ (() => {
|
|
480
480
|
try {
|
|
481
|
-
if (!win.document.adoptedStyleSheets) {
|
|
482
|
-
return false;
|
|
483
|
-
}
|
|
484
481
|
new CSSStyleSheet();
|
|
485
482
|
return typeof new CSSStyleSheet().replaceSync === "function";
|
|
486
483
|
} catch (e) {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-B4E56p68.js';
|
|
2
|
+
export { s as setNonce } from './index-B4E56p68.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-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-B4E56p68.js';
|
|
2
|
+
export { s as setNonce } from './index-B4E56p68.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.40.
|
|
6
|
+
Stencil Client Patch Browser v4.40.0 | 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-
|
|
1
|
+
import { h, S as StencilCore, r as registerInstance } from './index-B4E56p68.js';
|
|
2
2
|
|
|
3
3
|
const Radio = props => {
|
|
4
4
|
const hex = props.hex || 'currentColor';
|
|
@@ -472,7 +472,10 @@ const Header = props => {
|
|
|
472
472
|
return (h("h1", { class: "mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red" }, props.label));
|
|
473
473
|
};
|
|
474
474
|
|
|
475
|
-
const shadowCss = () => `@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji'
|
|
475
|
+
const shadowCss = () => `@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
|
|
476
|
+
'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)),
|
|
477
|
+
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),
|
|
478
|
+
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}`;
|
|
476
479
|
|
|
477
480
|
const ProtoTinker = class {
|
|
478
481
|
constructor(hostRef) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,S as e,r as a}from"./p-BjwLblhT.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"}))},L="eswat2",z=()=>t("a",{class:"absolute right-8 top-8 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":L,target:"blank",title:L},t(M,{label:"eswat2"})),j=e=>t("h1",{class:"mb-11 ml-0 mr-0 mt-11 text-center text-6xl font-thin uppercase text-clrs-red"},e.label),S=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(j,{key:"d1a5aba6e4221c2f233f8675a4d5cd81aab4d93d",label:"tinker wc"}),t(z,{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}))}};S.style="@layer properties; @layer theme,base,components,utilities; @layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\\n '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)),\\n 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),\\n 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{S as proto_tinker}
|
|
1
|
+
import{h as t,S as e,r as a}from"./p-B4E56p68.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',\n '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)),\n 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),\n 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,s,o,i,r,l,c,a,u,f,h,d,p,m,v,g,b,$,y=Object.create,w=Object.defineProperty,S=Object.getOwnPropertyDescriptor,O=Object.getOwnPropertyNames,x=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty,E=t=>{throw TypeError(t)},k=(t,e)=>function(){return e||(0,t[O(t)[0]])((e={exports:{}}).exports,e),e.exports},C=(t,e,n)=>e.has(t)||E("Cannot "+n),N=(t,e,n)=>(C(t,e,"read from private field"),n?n.call(t):e.get(t)),_=(t,e,n)=>e.has(t)?E("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),M=(t,e,n)=>(C(t,e,"write to private field"),e.set(t,n),n),T=(t,e,n)=>(C(t,e,"access private method"),n),R=k({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=s(t,n)),e instanceof RegExp&&(e=s(e,n));var i=o(t,e,n);return i&&{start:i[0],end:i[1],pre:n.slice(0,i[0]),body:n.slice(i[0]+t.length,i[1]),post:n.slice(i[1]+e.length)}}function s(t,e){var n=e.match(t);return n?n[0]:null}function o(t,e,n){var s,o,i,r,l,c=n.indexOf(t),a=n.indexOf(e,c+1),u=c;if(c>=0&&a>0){if(t===e)return[c,a];for(s=[],i=n.length;u>=0&&!l;)u==c?(s.push(u),c=n.indexOf(t,u+1)):1==s.length?l=[s.pop(),a]:((o=s.pop())<i&&(i=o,r=a),a=n.indexOf(e,u+1)),u=c<a&&c>=0?c:a;s.length&&(l=[i,r])}return l}e.exports=n,n.range=o}}),L=k({"node_modules/brace-expansion/index.js"(t,e){var n=R();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(i).split("\\,").join(r).split("\\.").join(l)}(t),!0).map(a)):[]};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",r="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function a(t){return t.split(s).join("\\").split(o).join("{").split(i).join("}").split(r).join(",").split(l).join(".")}function u(t){if(!t)return[""];var e=[],s=n("{","}",t);if(!s)return t.split(",");var o=s.body,i=s.post,r=s.pre.split(",");r[r.length-1]+="{"+o+"}";var l=u(i);return i.length&&(r[r.length-1]+=l.shift(),r.push.apply(r,l)),e.push.apply(e,r),e}function f(t){return"{"+t+"}"}function h(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function p(t,e){return t>=e}function m(t,e){var s=[],o=n("{","}",t);if(!o)return[t];var r=o.pre,l=o.post.length?m(o.post,!1):[""];if(/\$$/.test(o.pre))for(var a=0;a<l.length;a++)s.push(R=r+"{"+o.body+"}"+l[a]);else{var v,g,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),$=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),y=b||$,w=o.body.indexOf(",")>=0;if(!y&&!w)return o.post.match(/,(?!,).*\}/)?m(t=o.pre+"{"+o.body+i+o.post):[t];if(y)v=o.body.split(/\.\./);else if(1===(v=u(o.body)).length&&1===(v=m(v[0],!1).map(f)).length)return l.map((function(t){return o.pre+v[0]+t}));if(y){var S=c(v[0]),O=c(v[1]),x=Math.max(v[0].length,v[1].length),j=3==v.length?Math.abs(c(v[2])):1,E=d;O<S&&(j*=-1,E=p);var k=v.some(h);g=[];for(var C=S;E(C,O);C+=j){var N;if($)"\\"===(N=String.fromCharCode(C))&&(N="");else if(N=C+"",k){var _=x-N.length;if(_>0){var M=Array(_+1).join("0");N=C<0?"-"+M+N.slice(1):M+N}}g.push(N)}}else{g=[];for(var T=0;T<v.length;T++)g.push.apply(g,m(v[T],!1))}for(T=0;T<g.length;T++)for(a=0;a<l.length;a++){var R=r+g[T]+l[a];(!e||y||R)&&s.push(R)}}return s}}}),A={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},P=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(P||{}),D=(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))(D||{}),I="type",W="value",z="serialized:",H=(t,n)=>{var s;Object.entries(null!=(s=n.o.t)?s:{}).map((([s,[o]])=>{if((e.state||e.prop)&&(31&o||32&o)){const e=t[s],o=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),s)||Object.getOwnPropertyDescriptor(t,s);o&&Object.defineProperty(t,s,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),t[s]=n.i.has(s)?n.i.get(s):e}}))},F=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},B=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&H(t,n))},U=(t,n)=>{const s={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(s.m=0),e.method&&e.lazyLoad&&(s.v=new Promise((t=>s.$=t))),e.asyncLoading&&(s.S=new Promise((t=>s.O=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(s.j=[]);const o=s;return t.__stencil__getHostRef=()=>o,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&H(t,s),o},V=(t,e)=>e in t,G=(t,e)=>(n||console.error)(t,e),Y=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],J=(...t)=>console.error(...Y,...t),Z=(...t)=>console.warn(...Y,...t),X=(...t)=>console.info(...Y,...t),q=new Map,K=(t,n,s)=>{const o=t.k.replace(/-/g,"_"),i=t.C;if(e.isDev&&"string"!=typeof i)return void J(`Trying to lazily load component <${t.k}> with style mode "${n.N}", but it does not exist.`);if(!i)return;const r=!e.hotModuleReplacement&&q.get(i);return r?r[o]:import(`./${i}.entry.js${e.hotModuleReplacement&&s?"?s-hmr="+s:""}`).then((t=>(e.hotModuleReplacement||q.set(i,t),t[o])),(t=>{G(t,n.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Q=new Map,tt=[],et="s-id",nt="sty-id",st="c-id",ot="_stencilDocData",it={hostIds:0,rootLevelIds:0,staticComponents:new Set},rt="slot-fb{display:contents}slot-fb[hidden]{display:none}",lt="http://www.w3.org/1999/xlink",ct=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],at="undefined"!=typeof window?window:{},ut=at.HTMLElement||class{},ft={u:0,_:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},ht=e.shadowDom,dt=t=>Promise.resolve(t),pt=!!e.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),mt=!!pt&&(()=>!!at.document&&Object.getOwnPropertyDescriptor(at.document.adoptedStyleSheets,"length").writable)(),vt=0,gt=!1,bt=[],$t=[],yt=[],wt=(t,e)=>n=>{t.push(n),gt||(gt=!0,e&&4&ft.u?jt(xt):ft.raf(xt))},St=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){G(t)}t.length=0},Ot=(t,e)=>{let n=0,s=0;for(;n<t.length&&(s=performance.now())<e;)try{t[n++](s)}catch(t){G(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},xt=()=>{if(e.asyncQueue&&vt++,St(bt),e.asyncQueue){const t=2==(6&ft.u)?performance.now()+14*Math.ceil(.1*vt):1/0;Ot($t,t),Ot(yt,t),$t.length>0&&(yt.push(...$t),$t.length=0),(gt=bt.length+$t.length+yt.length>0)?ft.raf(xt):vt=0}else St($t),(gt=bt.length>0)&&ft.raf(xt)},jt=t=>dt().then(t),Et=wt(bt,!1),kt=wt($t,!0),Ct=t=>"object"==(t=typeof t)||"function"===t,Nt=((t,e,n)=>(n=null!=t?y(x(t)):{},((t,e,n,s)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of O(e))j.call(t,n)||undefined===n||w(t,n,{get:()=>e[n],enumerable:!(s=S(e,n))||s.enumerable});return t})(w(n,"default",{value:t,enumerable:!0}),t)))(L()),_t=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},Mt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Tt=t=>t.replace(/[[\]\\-]/g,"\\$&"),Rt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Lt=t=>t.join(""),At=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const s=[],o=[];let i=n+1,r=!1,l=!1,c=!1,a=!1,u=n,f="";t:for(;i<t.length;){const e=t.charAt(i);if("!"!==e&&"^"!==e||i!==n+1){if("]"===e&&r&&!c){u=i+1;break}if(r=!0,"\\"!==e||c){if("["===e&&!c)for(const[e,[r,c,a]]of Object.entries(Mt))if(t.startsWith(e,i)){if(f)return["$.",!1,t.length-n,!0];i+=e.length,a?o.push(r):s.push(r),l=l||c;continue t}c=!1,f?(e>f?s.push(Tt(f)+"-"+Tt(e)):e===f&&s.push(Tt(e)),f="",i++):t.startsWith("-]",i+1)?(s.push(Tt(e+"-")),i+=2):t.startsWith("-",i+1)?(f=e,i+=2):(s.push(Tt(e)),i++)}else c=!0,i++}else a=!0,i++}if(u<i)return["",!1,0,!1];if(!s.length&&!o.length)return["$.",!1,t.length-n,!0];if(0===o.length&&1===s.length&&/^\\?.$/.test(s[0])&&!a){const t=2===s[0].length?s[0].slice(-1):s[0];return[Rt(t),!1,u-n,!1]}const h="["+(a?"^":"")+Lt(s)+"]",d="["+(a?"":"^")+Lt(o)+"]";return[s.length&&o.length?"("+h+"|"+d+")":s.length?h:d,l,u-n,!0]},Pt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),Dt=new Set(["!","?","+","*","@"]),It=t=>Dt.has(t),Wt="(?!\\.)",zt=new Set(["[","."]),Ht=new Set(["..","."]),Ft=new Set("().*{}+?[]^$\\!"),Bt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ut="[^/]",Vt=Ut+"*?",Gt=Ut+"+?",Yt=class t{constructor(t,e,n={}){_(this,p),((t,e,n)=>{((t,e,n)=>{e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),_(this,s),_(this,o),_(this,i,!1),_(this,r,[]),_(this,l),_(this,c),_(this,a),_(this,u,!1),_(this,f),_(this,h),_(this,d,!1),this.type=t,t&&M(this,o,!0),M(this,l,e),M(this,s,N(this,l)?N(N(this,l),s):this),M(this,f,N(this,s)===this?n:N(N(this,s),f)),M(this,a,N(this,s)===this?[]:N(N(this,s),a)),"!"!==t||N(N(this,s),u)||N(this,a).push(this),M(this,c,N(this,l)?N(N(this,l),r).length:0)}get hasMagic(){if(void 0!==N(this,o))return N(this,o);for(const t of N(this,r))if("string"!=typeof t&&(t.type||t.hasMagic))return M(this,o,!0);return N(this,o)}toString(){return void 0!==N(this,h)?N(this,h):M(this,h,this.type?this.type+"("+N(this,r).map((t=>t+"")).join("|")+")":N(this,r).map((t=>t+"")).join(""))}push(...e){for(const n of e)if(""!==n){if("string"!=typeof n&&!(n instanceof t&&N(n,l)===this))throw Error("invalid part: "+n);N(this,r).push(n)}}toJSON(){var t;const e=null===this.type?N(this,r).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...N(this,r).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===N(this,s)||N(N(this,s),u)&&"!"===(null==(t=N(this,l))?void 0:t.type))&&e.push({}),e}isStart(){var e;if(N(this,s)===this)return!0;if(!(null==(e=N(this,l))?void 0:e.isStart()))return!1;if(0===N(this,c))return!0;const n=N(this,l);for(let e=0;e<N(this,c);e++){const s=N(n,r)[e];if(!(s instanceof t&&"!"===s.type))return!1}return!0}isEnd(){var t,e,n;if(N(this,s)===this)return!0;if("!"===(null==(t=N(this,l))?void 0:t.type))return!0;if(!(null==(e=N(this,l))?void 0:e.isEnd()))return!1;if(!this.type)return null==(n=N(this,l))?void 0:n.isEnd();const o=N(this,l)?N(N(this,l),r).length:0;return N(this,c)===o-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(e){const n=new t(this.type,e);for(const t of N(this,r))n.copyIn(t);return n}static fromGlob(e,n={}){var s;const o=new t(null,void 0,n);return T(s=t,v,g).call(s,e,o,0,n),o}toMMPattern(){if(this!==N(this,s))return N(this,s).toMMPattern();const t=""+this,[e,n,i,r]=this.toRegExpSource();if(!(i||N(this,o)||N(this,f).nocase&&!N(this,f).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return n;const l=(N(this,f).nocase?"i":"")+(r?"u":"");return Object.assign(RegExp(`^${e}$`,l),{_src:e,_glob:t})}get options(){return N(this,f)}toRegExpSource(e){var n;const c=null!=e?e:!!N(this,f).dot;if(N(this,s)===this&&T(this,p,m).call(this),!this.type){const a=this.isStart()&&this.isEnd(),f=N(this,r).map((n=>{var s;const[r,l,c,u]="string"==typeof n?T(s=t,v,$).call(s,n,N(this,o),a):n.toRegExpSource(e);return M(this,o,N(this,o)||c),M(this,i,N(this,i)||u),r})).join("");let h="";if(this.isStart()&&"string"==typeof N(this,r)[0]&&(1!==N(this,r).length||!Ht.has(N(this,r)[0]))){const t=zt,n=c&&t.has(f.charAt(0))||f.startsWith("\\.")&&t.has(f.charAt(2))||f.startsWith("\\.\\.")&&t.has(f.charAt(4)),s=!c&&!e&&t.has(f.charAt(0));h=n?"(?!(?:^|/)\\.\\.?(?:$|/))":s?Wt:""}let d="";return this.isEnd()&&N(N(this,s),u)&&"!"===(null==(n=N(this,l))?void 0:n.type)&&(d="(?:$|\\/)"),[h+f+d,Pt(f),M(this,o,!!N(this,o)),N(this,i)]}const a="*"===this.type||"+"===this.type,h="!"===this.type?"(?:(?!(?:":"(?:";let g=T(this,p,b).call(this,c);if(this.isStart()&&this.isEnd()&&!g&&"!"!==this.type){const t=""+this;return M(this,r,[t]),this.type=null,M(this,o,void 0),[t,Pt(""+this),!1,!1]}let y=!a||e||c?"":T(this,p,b).call(this,!0);y===g&&(y=""),y&&(g=`(?:${g})(?:${y})*?`);let w="";return w="!"===this.type&&N(this,d)?(this.isStart()&&!c?Wt:"")+Gt:h+g+("!"===this.type?"))"+(!this.isStart()||c||e?"":Wt)+Vt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&y?")":"*"===this.type&&y?")?":")"+this.type),[w,Pt(g),M(this,o,!!N(this,o)),N(this,i)]}};s=new WeakMap,o=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakMap,u=new WeakMap,f=new WeakMap,h=new WeakMap,d=new WeakMap,p=new WeakSet,m=function(){if(this!==N(this,s))throw Error("should only call on root");if(N(this,u))return this;let t;for(M(this,u,!0);t=N(this,a).pop();){if("!"!==t.type)continue;let e=t,n=N(e,l);for(;n;){for(let s=N(e,c)+1;!n.type&&s<N(n,r).length;s++)for(const e of N(t,r)){if("string"==typeof e)throw Error("string part in extglob AST??");e.copyIn(N(n,r)[s])}e=n,n=N(e,l)}}return this},v=new WeakSet,g=function(t,e,n,s){var i,l;let c=!1,a=!1,u=-1,f=!1;if(null===e.type){let o=n,r="";for(;o<t.length;){const n=t.charAt(o++);if(c||"\\"===n)c=!c,r+=n;else if(a)o===u+1?"^"!==n&&"!"!==n||(f=!0):"]"!==n||o===u+2&&f||(a=!1),r+=n;else if("["!==n)if(s.noext||!It(n)||"("!==t.charAt(o))r+=n;else{e.push(r),r="";const l=new Yt(n,e);o=T(i=Yt,v,g).call(i,t,l,o,s),e.push(l)}else a=!0,u=o,f=!1,r+=n}return e.push(r),o}let h=n+1,p=new Yt(null,e);const m=[];let b="";for(;h<t.length;){const n=t.charAt(h++);if(c||"\\"===n)c=!c,b+=n;else if(a)h===u+1?"^"!==n&&"!"!==n||(f=!0):"]"!==n||h===u+2&&f||(a=!1),b+=n;else if("["!==n)if(It(n)&&"("===t.charAt(h)){p.push(b),b="";const e=new Yt(n,p);p.push(e),h=T(l=Yt,v,g).call(l,t,e,h,s)}else if("|"!==n){if(")"===n)return""===b&&0===N(e,r).length&&M(e,d,!0),p.push(b),b="",e.push(...m,p),h;b+=n}else p.push(b),b="",m.push(p),p=new Yt(null,e);else a=!0,u=h,f=!1,b+=n}return e.type=null,M(e,o,void 0),M(e,r,[t.substring(n-1)]),h},b=function(t){return N(this,r).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[n,s,o,r]=e.toRegExpSource(t);return M(this,i,N(this,i)||r),n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},$=function(t,e,n=!1){let s=!1,o="",i=!1;for(let r=0;r<t.length;r++){const l=t.charAt(r);if(s)s=!1,o+=(Ft.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,s,l,c]=At(t,r);if(l){o+=n,i=i||s,r+=l-1,e=e||c;continue}}"*"!==l?"?"!==l?o+=Bt(l):(o+=Ut,e=!0):(o+=n&&"*"===t?Gt:Vt,e=!0)}else r===t.length-1?o+="\\\\":s=!0}return[o,Pt(t),!!e,i]},_(Yt,v);var Jt=Yt,Zt=(t,e,n={})=>(_t(e),!(!n.nocomment&&"#"===e.charAt(0))&&new we(e,n).match(t)),Xt=/^\*+([^+@!?\*\[\(]*)$/,qt=t=>e=>!e.startsWith(".")&&e.endsWith(t),Kt=t=>e=>e.endsWith(t),Qt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),te=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),ee=/^\*+\.\*+$/,ne=t=>!t.startsWith(".")&&t.includes("."),se=t=>"."!==t&&".."!==t&&t.includes("."),oe=/^\.\*+$/,ie=t=>"."!==t&&".."!==t&&t.startsWith("."),re=/^\*+$/,le=t=>0!==t.length&&!t.startsWith("."),ce=t=>0!==t.length&&"."!==t&&".."!==t,ae=/^\?+([^+@!?\*\[\(]*)?$/,ue=([t,e=""])=>{const n=pe([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},fe=([t,e=""])=>{const n=me([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},he=([t,e=""])=>{const n=me([t]);return e?t=>n(t)&&t.endsWith(e):n},de=([t,e=""])=>{const n=pe([t]);return e?t=>n(t)&&t.endsWith(e):n},pe=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},me=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},ve="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";Zt.sep="win32"===ve?"\\":"/";var ge=Symbol("globstar **");Zt.GLOBSTAR=ge,Zt.filter=(t,e={})=>n=>Zt(n,t,e);var be=(t,e={})=>Object.assign({},t,e);Zt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return Zt;const e=Zt;return Object.assign(((n,s,o={})=>e(n,s,be(t,o))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,be(t,n))}static defaults(n){return e.defaults(be(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,s={}){super(e,n,be(t,s))}static fromGlob(n,s={}){return e.AST.fromGlob(n,be(t,s))}},unescape:(n,s={})=>e.unescape(n,be(t,s)),escape:(n,s={})=>e.escape(n,be(t,s)),filter:(n,s={})=>e.filter(n,be(t,s)),defaults:n=>e.defaults(be(t,n)),makeRe:(n,s={})=>e.makeRe(n,be(t,s)),braceExpand:(n,s={})=>e.braceExpand(n,be(t,s)),match:(n,s,o={})=>e.match(n,s,be(t,o)),sep:e.sep,GLOBSTAR:ge})};var $e=(t,e={})=>(_t(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,Nt.default)(t));Zt.braceExpand=$e,Zt.makeRe=(t,e={})=>new we(t,e).makeRe(),Zt.match=(t,e,n={})=>{const s=new we(e,n);return t=t.filter((t=>s.match(t))),s.options.nonull&&!t.length&&t.push(e),t};var ye=/[?*]|[+@!]\(.*?\)|\[|\]/,we=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){_t(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||ve,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let s=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&ye.test(t[2])||ye.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,s),this.set=s.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const s=t[n];1===n&&""===s&&""===t[0]||"."!==s&&""!==s||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const s=t[n-1];s&&"."!==s&&".."!==s&&"**"!==s&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let s=-1;for(;-1!==(s=n.indexOf("**",s+1));){let o=s;for(;"**"===n[o+1];)o++;o>s&&n.splice(s+1,o-s);const i=n[s+2],r=n[s+3];if(".."!==n[s+1])continue;if(!i||"."===i||".."===i||!r||"."===r||".."===r)continue;e=!0,n.splice(s,1);const l=n.slice(0);l[s]="**",t.push(l),s--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const s=n[t];1===t&&""===s&&""===n[0]||"."!==s&&""!==s||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let o=0;for(;-1!==(o=n.indexOf("..",o+1));){const t=n[o-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(o-1,2,...1===o&&"**"===n[o+1]?["."]:[]),0===n.length&&n.push(""),o-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const s=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);s&&(t[e]=s,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let s=0,o=0,i=[],r="";for(;s<t.length&&o<e.length;)if(t[s]===e[o])i.push("b"===r?e[o]:t[s]),s++,o++;else if(n&&"**"===t[s]&&e[o]===t[s+1])i.push(t[s]),s++;else if(n&&"**"===e[o]&&t[s]===e[o+1])i.push(e[o]),o++;else if("*"!==t[s]||!e[o]||!this.options.dot&&e[o].startsWith(".")||"**"===e[o]){if("*"!==e[o]||!t[s]||!this.options.dot&&t[s].startsWith(".")||"**"===t[s])return!1;if("a"===r)return!1;r="b",i.push(e[o]),s++,o++}else{if("b"===r)return!1;r="a",i.push(t[s]),s++,o++}return t.length===e.length&&i}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let s=0;s<t.length&&"!"===t.charAt(s);s++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const s=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),s=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),o="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),i=s?3:n?0:void 0,r=!o&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:o?0:void 0;if("number"==typeof i&&"number"==typeof r){const[n,s]=[t[i],e[r]];n.toLowerCase()===s.toLowerCase()&&(e[r]=n,r>i?e=e.slice(r):i>r&&(t=t.slice(i)))}}const{optimizationLevel:o=1}=this.options;o>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,r=0,l=t.length,c=e.length;i<l&&r<c;i++,r++){this.debug("matchOne loop");var a=e[r],u=t[i];if(this.debug(e,a,u),!1===a)return!1;if(a===ge){this.debug("GLOBSTAR",[e,a,u]);var f=i,h=r+1;if(h===c){for(this.debug("** at the end");i<l;i++)if("."===t[i]||".."===t[i]||!s.dot&&"."===t[i].charAt(0))return!1;return!0}for(;f<l;){var d=t[f];if(this.debug("\nglobstar while",t,f,e,h,d),this.matchOne(t.slice(f),e.slice(h),n))return this.debug("globstar found match!",f,l,d),!0;if("."===d||".."===d||!s.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,f,e,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!n||(this.debug("\n>>> no match, partial?",t,f,e,h),f!==l))}let o;if("string"==typeof a?(o=u===a,this.debug("string match",a,u,o)):(o=a.test(u),this.debug("pattern match",a,u,o)),!o)return!1}if(i===l&&r===c)return!0;if(i===l)return n;if(r===c)return i===l-1&&""===t[i];throw Error("wtf?")}braceExpand(){return $e(this.pattern,this.options)}parse(t){_t(t);const e=this.options;if("**"===t)return ge;if(""===t)return"";let n,s=null;(n=t.match(re))?s=e.dot?ce:le:(n=t.match(Xt))?s=(e.nocase?e.dot?te:Qt:e.dot?Kt:qt)(n[1]):(n=t.match(ae))?s=(e.nocase?e.dot?fe:ue:e.dot?he:de)(n):(n=t.match(ee))?s=e.dot?se:ne:(n=t.match(oe))&&(s=ie);const o=Jt.fromGlob(t,this.options).toMMPattern();return s&&"object"==typeof o&&Reflect.defineProperty(o,"test",{value:s}),o}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",s=new Set(e.nocase?["i"]:[]);let o=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))s.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===ge?ge:t._src}));return e.forEach(((t,s)=>{const o=e[s+1],i=e[s-1];t===ge&&i!==ge&&(void 0===i?void 0!==o&&o!==ge?e[s+1]="(?:\\/|"+n+"\\/)?"+o:e[s]=n:void 0===o?e[s-1]=i+"(?:\\/|"+n+")?":o!==ge&&(e[s-1]=i+"(?:\\/|\\/"+n+"\\/)"+o,e[s+1]=ge))})),e.filter((t=>t!==ge)).join("/")})).join("|");const[i,r]=t.length>1?["(?:",")"]:["",""];o="^"+i+o+r+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=RegExp(o,[...s].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const s=this.slashSplit(t);this.debug(this.pattern,"split",s);const o=this.set;this.debug(this.pattern,"set",o);let i=s[s.length-1];if(!i)for(let t=s.length-2;!i&&t>=0;t--)i=s[t];for(let t=0;t<o.length;t++){const r=o[t];let l=s;if(n.matchBase&&1===r.length&&(l=[i]),this.matchOne(l,r,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return Zt.defaults(t).Minimatch}};function Se(t){var e,n,s;return null!=(s=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}Zt.AST=Jt,Zt.Minimatch=we,Zt.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),Zt.unescape=Pt;var Oe=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),xe=class t{static fromLocalValue(e){const n=e[I],s=W in e?e[W]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[n,o]of s){const s="object"==typeof n&&null!==n?t.fromLocalValue(n):n,i=t.fromLocalValue(o);e.set(s,i)}return e;case"object":const o={};for(const[e,n]of s)o[e]=t.fromLocalValue(n);return o;case"regexp":const{pattern:i,flags:r}=s;return RegExp(i,r);case"set":const l=new Set;for(const e of s)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(s);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(I))return!1;const e=t[I];return!!Object.values({...P,...D}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(W))}};((t,e)=>{for(var n in e)w(t,n,{get:e[n],enumerable:!0})})({},{err:()=>Ee,map:()=>ke,ok:()=>je,unwrap:()=>Ne,unwrapErr:()=>_e});var je=t=>({isOk:!0,isErr:!1,value:t}),Ee=t=>({isOk:!1,isErr:!0,value:t});function ke(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>je(t))):je(n)}if(t.isErr)return Ee(t.value);throw"should never get here"}var Ce,Ne=t=>{if(t.isOk)return t.value;throw t.value},_e=t=>{if(t.isErr)return t.value;throw t.value};function Me(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===Ce&&(Ce=null),Ce&&(mt?s.adoptedStyleSheets.push(Ce):s.adoptedStyleSheets=[...s.adoptedStyleSheets,Ce])}var Te=t=>{const e=un(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&Le(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!Ae(t,Ie(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&un(t,"childNodes").length&&Te(t)}},Re=t=>{const e=[];for(let n=0;n<t.length;n++){const s=t[n]["s-nr"]||void 0;s&&s.isConnected&&e.push(s)}return e};function Le(t,e,n){let s,o=0,i=[];for(;o<t.length;o++){if(s=t[o],s["s-sr"]&&(!e||s["s-hn"]===e)&&(void 0===n||Ie(s)===n)&&(i.push(s),void 0!==n))return i;i=[...i,...Le(s.childNodes,e,n)]}return i}var Ae=(t,e,n=!0)=>{const s=[];(n&&t["s-sr"]||!t["s-sr"])&&s.push(t);let o=t;for(;o=o.nextSibling;)Ie(o)!==e||!n&&o["s-sr"]||s.push(o);return s},Pe=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,De=(t,n,s,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const r=n["s-cr"].parentNode,l=un(r,s?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==o){i["s-oo"]=o;const t=un(r,"childNodes"),e=[i];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(r,t)))}else l.call(r,i);t["s-ol"]=i,t["s-sh"]=n["s-hn"]},Ie=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function We(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],s=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 o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:Re(o.childNodes)).forEach((t=>{s===Ie(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function ze(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function He(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const s=t["s-sn"]=Ie(t)||"";return{slotNode:Le(un(e,"childNodes"),e.tagName,s)[0],slotName:s}}var Fe=t=>{Be(t),Ue(t),Ye(t),Ge(t),qe(t),Je(t),Ze(t),Xe(t),Ke(t),Qe(t),Ve(t)},Be=t=>{const n=t.cloneNode;t.cloneNode=function(t){const s=!!e.shadowDom&&this.shadowRoot&&ht,o=n.call(this,!!s&&t);if(e.slot&&!s&&t){let t,n,s=0;const i=["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"],r=this.__childNodes||this.childNodes;for(;s<r.length;s++)t=r[s]["s-nr"],n=i.every((t=>!r[s][t])),t&&(e.appendChildSlotFix&&o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(r[s].cloneNode(!0))}return o}},Ue=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=He(t,this);if(n){De(t,n);const s=Ae(n,e),o=s[s.length-1],i=un(o,"parentNode"),r=un(i,"insertBefore")(t,o.nextSibling);return ze(n),Te(this),r}return this.__appendChild(t)}},Ve=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&Le(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void Te(this)):this.__removeChild(t)}},Ge=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=Ie(e))||"",s=Le(un(this,"childNodes"),this.tagName,n)[0];if(s){De(e,s,!0);const t=Ae(s,n)[0],o=un(t,"parentNode"),i=un(o,"insertBefore")(e,un(t,"nextSibling"));return ze(s),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},Ye=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},Je=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const s=this.ownerDocument.createElement("_");let o;if(s.innerHTML=n,"afterbegin"===t)for(;o=s.firstChild;)this.prepend(o);else if("beforeend"===t)for(;o=s.firstChild;)this.append(o)}},Ze=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},Xe=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:s}=He(t,this),o=this.__childNodes?this.childNodes:Re(this.childNodes);if(s){let i=!1;if(o.forEach((o=>{if(o!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){De(t,s);const n=un(e,"parentNode");un(n,"insertBefore")(t,e),ze(s)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},qe=t=>{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}},Ke=t=>{an("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:Re(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:Re(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},Qe=t=>{class e extends Array{item(t){return this[t]}}an("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),an("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),an("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),an("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...Re(this.__childNodes)),t}})},tn=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(en(t),sn(t),rn(t),t.nodeType===Node.ELEMENT_NODE&&(nn(t),on(t)))},en=t=>{t&&!t.__nextSibling&&(an("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}}))},nn=t=>{t&&!t.__nextElementSibling&&(an("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}}))},sn=t=>{t&&!t.__previousSibling&&(an("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}}))},on=t=>{t&&!t.__previousElementSibling&&(an("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}}))},rn=t=>{t&&!t.__parentNode&&(an("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}}))},ln=["children","nextElementSibling","previousElementSibling"],cn=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function an(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;ln.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):cn.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function un(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 fn=0,hn=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${fn++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}},dn=new WeakMap,pn=(t,e,n)=>{let s=Q.get(t);pt&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,Q.set(t,s)},mn=(t,n,s)=>{var o,i,r;const l=gn(n,s),c=Q.get(l);if(!e.attachStyles||!at.document)return l;if(t=11===t.nodeType?t:at.document,c)if("string"==typeof c){let s,r=dn.get(t=t.head||t);r||dn.set(t,r=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${nt}="${l}"]`);if(a)a.innerHTML=c;else if(!r.has(l)){s=at.document.createElement("style"),s.innerHTML=c;const a=null!=(o=ft.M)?o:Se(at.document);if(null!=a&&s.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&s.setAttribute(nt,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(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(pt){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),mt?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=c+e.innerHTML:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.innerHTML+=rt),r&&r.add(l)}}else if(e.constructableCSS){let e=dn.get(t);if(e||dn.set(t,e=new Set),!e.has(l)){const n=null!=(r=t.defaultView)?r:t.ownerDocument.defaultView;let s;if(c.constructor===n.CSSStyleSheet)s=c;else{s=new n.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}mt?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],e.add(l)}}return l},vn=t=>{const n=t.o,s=t.$hostElement$,o=n.u,i=hn("attachStyles",n.k),r=mn(e.shadowDom&&ht&&s.shadowRoot?s.shadowRoot:s.getRootNode(),n,t.N);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&o&&(s["s-sc"]=r,s.classList.add(r+"-h")),i()},gn=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.k+"-"+n:t.k),bn=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$n=()=>{if(!at.document)return;const t=at.document.querySelectorAll(`[${nt}]`);let e=0;for(;e<t.length;e++)pn(t[e].getAttribute(nt),bn(t[e].innerHTML),!0)},yn=(t,n,...s)=>{"string"==typeof t&&(t=jo(t));let o=null,i=null,r=null,l=!1,c=!1;const a=[],u=n=>{for(let s=0;s<n.length;s++)o=n[s],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!Ct(o))?o+="":e.isDev&&"function"!=typeof t&&void 0===o.u&&J("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].T+=o:a.push(l?wn(null,o):o),c=l)};if(u(s),n&&(e.isDev&&"input"===t&&kn(n),e.vdomKey&&n.key&&(i=n.key),e.slotRelocation&&n.name&&(r=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(On)&&J("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,xn);const f=wn(t,null);return f.R=n,a.length>0&&(f.L=a),e.vdomKey&&(f.A=i),e.slotRelocation&&(f.P=r),f},wn=(t,n)=>{const s={u:0,D:t,T:n,I:null,L:null};return e.vdomAttribute&&(s.R=null),e.vdomKey&&(s.A=null),e.slotRelocation&&(s.P=null),s},Sn={},On=t=>t&&t.D===Sn,xn={forEach:(t,e)=>t.map(jn).forEach(e),map:(t,e)=>t.map(jn).map(e).map(En)},jn=t=>({vattrs:t.R,vchildren:t.L,vkey:t.A,vname:t.P,vtag:t.D,vtext:t.T}),En=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),yn(t.vtag,e,...t.vchildren||[])}const e=wn(t.vtag,t.vtext);return e.R=t.vattrs,e.L=t.vchildren,e.A=t.vkey,e.P=t.vname,e},kn=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const s=e.indexOf("type"),o=e.indexOf("min"),i=e.indexOf("max"),r=e.indexOf("step");(n<s||n<o||n<i||n<r)&&Z('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Cn=(t,n,s,o,i,r,l,c=[])=>{let a,u,f,h;const d=i["s-sc"];if(1===r.nodeType){if(a=r.getAttribute(st),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=_n({u:0,W:u[0],F:u[1],B:u[2],U:u[3],D:r.tagName.toLowerCase(),I:r,R:{class:r.className||""}}),n.push(f),r.removeAttribute(st),t.L||(t.L=[]),e.scoped&&d&&u[0]===l&&(r["s-si"]=d,f.R.class+=" "+d);const i=f.I.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===f.D&&(Mn(i,u[2],f,r,t,n,s,o,c),e.scoped&&d&&r.classList.add(d)),f.I["s-sn"]=i,f.I.removeAttribute("s-sn")),void 0!==f.U&&(t.L[f.U]=f),t=f,o&&"0"===f.B&&(o[f.U]=f.I)}if(r.shadowRoot)for(h=r.shadowRoot.childNodes.length-1;h>=0;h--)Cn(t,n,s,o,i,r.shadowRoot.childNodes[h],l,c);const p=r.__childNodes||r.childNodes;for(h=p.length-1;h>=0;h--)Cn(t,n,s,o,i,p[h],l,c)}else if(8===r.nodeType)u=r.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=_n({W:u[1],F:u[2],B:u[3],U:u[4]||"0",I:r,R:null,L:null,A:null,P:null,D:null,T:null}),"t"===a?(f.I=Pn(r,3),f.I&&3===f.I.nodeType&&(f.T=f.I.textContent,n.push(f),r.remove(),l===f.W&&(t.L||(t.L=[]),t.L[f.U]=f),o&&"0"===f.B&&(o[f.U]=f.I))):"c"===a?(f.I=Pn(r,8),f.I&&8===f.I.nodeType&&(n.push(f),r.remove())):f.W===l&&("s"===a?Mn(r["s-sn"]=u[5]||"",u[2],f,r,t,n,s,o,c):"r"===a&&(e.shadowDom&&o?r.remove():e.slotRelocation&&(i["s-cr"]=r,r["s-cn"]=!0))));else if(t&&"style"===t.D){const e=wn(null,r.textContent);e.I=r,e.U="0",t.L=[e]}return t},Nn=(t,e)=>{if(1===t.nodeType){const n=t[et]||t.getAttribute(et);n&&e.set(n,t);let s=0;if(t.shadowRoot)for(;s<t.shadowRoot.childNodes.length;s++)Nn(t.shadowRoot.childNodes[s],e);const o=t.__childNodes||t.childNodes;for(s=0;s<o.length;s++)Nn(o[s],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])}},_n=t=>({u:0,W:null,F:null,B:null,U:"0",I:null,R:null,L:null,A:null,P:null,D:null,T:null,...t});function Mn(t,n,s,o,i,r,l,c,a){o["s-sr"]=!0,s.P=t||null,s.D="slot";const u=(null==i?void 0:i.I)?i.I["s-id"]||i.I.getAttribute("s-id"):"";if(e.shadowDom&&c&&at.document){const e=s.I=at.document.createElement(s.D);s.P&&s.I.setAttribute("name",t),i.I.shadowRoot&&u&&u!==s.W?un(i.I,"insertBefore")(e,un(i.I,"children")[0]):un(un(o,"parentNode"),"insertBefore")(e,o),An(a,n,t,o,s.W),o.remove(),"0"===s.B&&(c[s.U]=s.I)}else{const e=s.I,r=u&&u!==s.W&&i.I.shadowRoot;An(a,n,t,o,r?u:s.W),We(o),r&&i.I.insertBefore(e,i.I.children[0])}r.push(s),l.push(s),i.L||(i.L=[]),i.L[s.U]=s}var Tn,Rn,Ln,An=(t,e,n,s,o)=>{var i,r;let l=s.nextSibling;if(t[e]=t[e]||[],l&&!(null==(i=l.nodeValue)?void 0:i.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:s,node:l,hostId:o})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))},Pn=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Dn="-shadowcsshost",In="-shadowcssslotted",Wn="-shadowcsscontext",zn=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Hn=RegExp("("+Dn+zn,"gim"),Fn=RegExp("("+Wn+zn,"gim"),Bn=RegExp("("+In+zn,"gim"),Un=Dn+"-no-combinator",Vn=/-shadowcsshost-no-combinator([^\s]*)/,Gn=[/::shadow/g,/::content/g],Yn=/__part-(\d+)__/g,Jn=/-shadowcsshost/gim,Zn=t=>{const e=Oe(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},Xn=Zn("::slotted"),qn=Zn(":host"),Kn=Zn(":host-context"),Qn=/\/\*\s*[\s\S]*?\*\//g,ts=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,es=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ns=/([{}])/g,ss=/(^.*?[^\\])??((:+)(.*)|$)/,os="%BLOCK%",is=(t,e)=>{const n=rs(t);let s=0;return n.escapedString.replace(es,((...t)=>{const o=t[2];let i="",r=t[4],l="";r&&r.startsWith("{"+os)&&(i=n.blocks[s++],r=r.substring(8),l="{");const c=e({selector:o,content:i});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${r}`}))},rs=t=>{const e=t.split(ns),n=[],s=[];let o=0,i=[];for(let t=0;t<e.length;t++){const r=e[t];"}"===r&&o--,o>0?i.push(r):(i.length>0&&(s.push(i.join("")),n.push(os),i=[]),n.push(r)),"{"===r&&o++}return i.length>0&&(s.push(i.join("")),n.push(os)),{escapedString:n.join(""),blocks:s}},ls=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),s=[];for(let o=0;o<e.length;o++){const i=e[o].trim();if(!i)break;s.push(n(Un,i,t[3]))}return s.join(",")}return Un+t[3]})),cs=(t,e,n)=>t+e.replace(Dn,"")+n,as=(t,e,n)=>e.indexOf(Dn)>-1?cs(t,e,n):t+e+n+", "+e+" "+t+n,us=(t,e)=>t.replace(ss,((t,n="",s,o="",i="")=>n+e+o+i)),fs=(t,e,n,s)=>is(t,(t=>{let o=t.selector,i=t.content;return"@"!==t.selector[0]?o=((t,e,n,s)=>t.split(",").map((t=>s&&t.indexOf("."+s)>-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 s="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),o=t=>{let o=t.trim();if(!o)return"";if(t.indexOf(Un)>-1)o=((t,e,n)=>{if(Jn.lastIndex=0,Jn.test(t)){const e="."+n;return t.replace(Vn,((t,n)=>us(n,e))).replace(Jn,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(Jn,"");e.length>0&&(o=us(e,s))}return o},i=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,s)=>{const o=`__part-${n}__`;return e.push(s),n++,o}))).replace(/(\[[^\]]*\])/g,((t,s)=>{const o=`__ph-${n}__`;return e.push(s),n++,o}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,s,o)=>{const i=`__ph-${n}__`;return e.push(o),n++,s+i})),placeholders:e}})(t);let r,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=i.content).indexOf(Un)>-1);for(;null!==(r=a.exec(t));){const e=r[1],n=t.slice(c,r.index).trim();u=u||n.indexOf(Un)>-1,l+=`${u?o(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(Yn)&&(u||f.indexOf(Un)>-1),l+=u?o(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(i.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,s):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(i=fs(t.content,e,n,s)),{selector:o.replace(/\s{2,}/g," ").trim(),content:i}})),hs=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),ds=(t,e)=>{const n=e+"-h",s=e+"-s",o=(t=>t.match(ts)||[])(t);t=(t=>t.replace(Qn,""))(t);const i=[];{const e=t=>{const e=`/*!@___${i.length}___*/`;return i.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=is(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=is(t.content,e),t):t))}const r=((t,e,n,s)=>{const o=((t,e)=>{const n="."+e+" > ",s=[];return t=t.replace(Bn,((...t)=>{if(t[2]){const e=t[2].trim(),o=n+e+t[3];let i="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;i=n+i}const r=(i+o).trim(),l=`${i.trimEnd()}${o.trim()}`.trim();return r!==l&&s.push({orgSelector:r,updatedSelector:`${l}, ${r}`}),o}return Un+t[3]})),{selectors:s,cssText:t}})(t=(t=>ls(t,Fn,as))(t=(t=>ls(t,Hn,cs))(t=(t=>{const e=[];return t=(t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const s=`__supports_${e.length}__`;return e.push(n),`@supports selector(${s})`}))).replace(Kn,"$1"+Wn).replace(qn,"$1"+Dn).replace(Xn,"$1"+In),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),s);return t=(t=>Gn.reduce(((t,e)=>t.replace(e," ")),t))(t=o.cssText),e&&(t=fs(t,e,n,s)),{cssText:(t=(t=hs(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:o.selectors.map((t=>({orgSelector:hs(t.orgSelector,n),updatedSelector:hs(t.updatedSelector,n)})))}})(t,e,n,s);return t=[r.cssText,...o].join("\n"),i.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),r.slottedSelectors.forEach((e=>{const n=RegExp(Oe(e.orgSelector),"g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return is(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const s=[n.trim()];let o;for(;null!==(o=e.exec(n));){const e=o[1].trimEnd(),i=o[2].trim().split(/\s+/),r=o[3]||"",l=i.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${r}`;l&&c!==n.trim()&&s.push(c)}return s.join(", ")}));return t.selector=n.join(", "),t}))})(t)},ps=t=>tt.map((e=>e(t))).find((t=>!!t)),ms=(t,n,s)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(z)?t=function(t){return"string"==typeof t&&t.startsWith(z)?xe.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Ct(t)?t:e.propBoolean&&4&n?(e.formAssociated&&s&&"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,vs=t=>{var n;return e.lazyLoad?null==(n=F(t))?void 0:n.$hostElement$:t},gs=(t,e,n)=>{const s=ft.ce(e,n);return t.dispatchEvent(s),s},bs=(t,n,s,o,i,r,l)=>{if(s===o)return;let c=V(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,i=ys(s);let r=ys(o);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];r.push(e),i.forEach((t=>{t.startsWith(e)&&r.push(t)})),r=[...new Set(r)].filter((t=>t)),n.add(...r)}else n.remove(...i.filter((t=>t&&!r.includes(t)))),n.add(...r.filter((t=>t&&!i.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in s)o&&null!=o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)s&&o[n]===s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)o&&o(t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr){const l=Ct(o);if((c||l&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const e=null==o?"":o;"list"===n?c=!1:null!=s&&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==o||!1===o?!1===o&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(lt,n):t.removeAttribute(n)):(!c||4&r||i)&&!l&&1===t.nodeType&&(o=!0===o?"":o,e.vdomXlink&&u?t.setAttributeNS(lt,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):V(at,a)?a.slice(2):a[2]+n.slice(3),s||o){const e=n.endsWith(ws);n=n.replace(Ss,""),s&&ft.rel(t,n,s,e),o&&ft.ael(t,n,o,e)}},$s=/\s/,ys=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split($s):[]),ws="Capture",Ss=RegExp(ws+"$"),Os=(t,n,s,o)=>{const i=11===n.I.nodeType&&n.I.host?n.I.host:n.I,r=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of xs(Object.keys(r)))t in l||bs(i,t,r[t],void 0,s,n.u,o);for(const t of xs(Object.keys(l)))bs(i,t,r[t],l[t],s,n.u,o)};function xs(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var js=!1,Es=!1,ks=!1,Cs=!1,Ns=(t,n,s)=>{var o;const i=n.L[s];let r,l,c,a=0;if(e.slotRelocation&&!js&&(ks=!0,"slot"===i.D&&(i.u|=i.L?2:1)),e.isDev&&i.I&&J(`The JSX ${null!==i.T?`"${i.T}" text`:`"${i.D}" 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!==i.T)r=i.I=at.document.createTextNode(i.T);else if(e.slotRelocation&&1&i.u)r=i.I=e.isDebug||e.hydrateServerSide?Bs(i):at.document.createTextNode(""),e.vdomAttribute&&Os(null,i,Cs);else{if(e.svg&&!Cs&&(Cs="svg"===i.D),!at.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(r=i.I=e.svg?at.document.createElementNS(Cs?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!js&&e.slotRelocation&&2&i.u?"slot-fb":i.D):at.document.createElement(!js&&e.slotRelocation&&2&i.u?"slot-fb":i.D),e.svg&&Cs&&"foreignObject"===i.D&&(Cs=!1),e.vdomAttribute&&Os(null,i,Cs),(e.scoped||e.hydrateServerSide)&&null!=Tn&&void 0!==Tn&&r["s-si"]!==Tn&&r.classList.add(r["s-si"]=Tn),i.L){const e="template"===i.D?r.content:r;for(a=0;a<i.L.length;++a)l=Ns(t,i,a),l&&e.appendChild(l)}e.svg&&("svg"===i.D?Cs=!1:"foreignObject"===r.tagName&&(Cs=!0))}return r["s-hn"]=Ln,e.slotRelocation&&3&i.u&&(r["s-sr"]=!0,r["s-cr"]=Rn,r["s-sn"]=i.P||"",r["s-rf"]=null==(o=i.R)?void 0:o.ref,We(r),c=t&&t.L&&t.L[s],c&&c.D===i.D&&t.I&&(e.experimentalSlotFixes?_s(t.I):Ms(t.I,!1)),(e.scoped||e.hydrateServerSide)&&Hs(Rn,r,n.I,null==t?void 0:t.I)),r},_s=t=>{ft.u|=1;const e=t.closest(Ln.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),s=Array.from(t.__childNodes||t.childNodes);for(const t of n?s.reverse():s)null!=t["s-sh"]&&(zs(e,t,null!=n?n:null),t["s-sh"]=void 0,ks=!0)}ft.u&=-2},Ms=(t,n)=>{ft.u|=1;const s=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]&&e.experimentalSlotFixes){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ln&&s.push(e)}for(let t=s.length-1;t>=0;t--){const e=s[t];e["s-hn"]!==Ln&&e["s-ol"]&&(zs(As(e).parentNode,e,As(e)),e["s-ol"].remove(),e["s-ol"]=void 0,e["s-sh"]=void 0,ks=!0),n&&Ms(e,n)}ft.u&=-2},Ts=(t,n,s,o,i,r)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ln&&(c=c.shadowRoot),"template"===s.D&&(c=c.content);i<=r;++i)o[i]&&(l=Ns(null,s,i),l&&(o[i].I=l,zs(c,l,e.slotRelocation?As(n):n)))},Rs=(t,n,s)=>{for(let o=n;o<=s;++o){const n=t[o];if(n){const t=n.I;Ws(n),t&&(e.slotRelocation&&(Es=!0,t["s-ol"]?t["s-ol"].remove():Ms(t,!0)),t.remove())}}},Ls=(t,n,s=!1)=>t.D===n.D&&(e.slotRelocation&&"slot"===t.D?t.P===n.P:e.vdomKey&&!s?t.A===n.A:(s&&!t.A&&n.A&&(t.A=n.A),!0)),As=t=>t&&t["s-ol"]||t,Ps=(t,n,s=!1)=>{const o=n.I=t.I,i=t.L,r=n.L,l=n.D,c=n.T;let a;e.vdomText&&null!==c?e.vdomText&&e.slotRelocation&&(a=o["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.T!==c&&(o.data=c):(e.svg&&(Cs="svg"===l||"foreignObject"!==l&&Cs),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!js&&e.experimentalSlotFixes&&t.P!==n.P&&(n.I["s-sn"]=n.P||"",_s(n.I.parentElement)),Os(t,n,Cs,s)),e.updatable&&null!==i&&null!==r?((t,n,s,o,i=!1)=>{let r,l,c=0,a=0,u=0,f=0,h=n.length-1,d=n[0],p=n[h],m=o.length-1,v=o[0],g=o[m];const b="template"===s.D?t.content:t;for(;c<=h&&a<=m;)if(null==d)d=n[++c];else if(null==p)p=n[--h];else if(null==v)v=o[++a];else if(null==g)g=o[--m];else if(Ls(d,v,i))Ps(d,v,i),d=n[++c],v=o[++a];else if(Ls(p,g,i))Ps(p,g,i),p=n[--h],g=o[--m];else if(Ls(d,g,i))!e.slotRelocation||"slot"!==d.D&&"slot"!==g.D||Ms(d.I.parentNode,!1),Ps(d,g,i),zs(b,d.I,p.I.nextSibling),d=n[++c],g=o[--m];else if(Ls(p,v,i))!e.slotRelocation||"slot"!==d.D&&"slot"!==g.D||Ms(p.I.parentNode,!1),Ps(p,v,i),zs(b,p.I,d.I),p=n[--h],v=o[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=h;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.D!==v.D?r=Ns(n&&n[a],s,u):(Ps(l,v,i),n[u]=void 0,r=l.I),v=o[++a]):(r=Ns(n&&n[a],s,a),v=o[++a]),r&&(e.slotRelocation?zs(As(d.I).parentNode,r,As(d.I)):zs(d.I.parentNode,r,d.I))}c>h?Ts(t,null==o[m+1]?null:o[m+1].I,s,o,a,m):e.updatable&&a>m&&Rs(n,c,h)})(o,i,n,r,s):null!==r?(e.updatable&&e.vdomText&&null!==t.T&&(o.textContent=""),Ts(o,null,n,r,0,r.length-1)):!s&&e.updatable&&null!==i?Rs(i,0,i.length-1):e.hydrateClientSide&&s&&e.updatable&&null!==i&&null===r&&(n.L=i),e.svg&&Cs&&"svg"===l&&(Cs=!1))},Ds=[],Is=t=>{let n,s,o;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){s=n.parentNode.__childNodes||n.parentNode.childNodes;const i=t["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||e.experimentalSlotFixes&&n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(Pe(n,i)){let e=Ds.find((t=>t.V===n));Es=!0,n["s-sn"]=n["s-sn"]||i,e?(e.V["s-sh"]=t["s-hn"],e.G=t):(n["s-sh"]=t["s-hn"],Ds.push({G:t,V:n})),n["s-sr"]&&Ds.map((t=>{Pe(t.V,n["s-sn"])&&(e=Ds.find((t=>t.V===n)),e&&!t.G&&(t.G=e.G))}))}else Ds.some((t=>t.V===n))||Ds.push({V:n})}1===t.nodeType&&Is(t)}},Ws=t=>{e.vdomRef&&(t.R&&t.R.ref&&t.R.ref(null),t.L&&t.L.map(Ws))},zs=(t,n,s)=>{if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Hs(n["s-cr"],n,t,n.parentElement);else if(e.experimentalSlotFixes&&"string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&rn(n),t.insertBefore(n,s);const{slotNode:e}=He(n);return e&&ze(e),n}return e.experimentalSlotFixes&&t.__insertBefore?t.__insertBefore(n,s):null==t?void 0:t.insertBefore(n,s)};function Hs(t,e,n,s){var o,i;let r;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(r=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(o=n.classList)||o.add(r+"-s"),s&&(null==(i=s.classList)?void 0:i.contains(r+"-s"))){let e=(s.__childNodes||s.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||s.classList.remove(r+"-s")}}}var Fs=(t,n,s=!1)=>{var o,i,r,l,c;const a=t.$hostElement$,u=t.o,f=t.Y||wn(null,null),h=On(n)?n:yn(null,null,n);if(Ln=a.tagName,e.isDev&&Array.isArray(n)&&n.some(On))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ln.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.J&&(h.R=h.R||{},u.J.forEach((([n,s])=>{h.R[s]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),s&&h.R)for(const t of Object.keys(h.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.R[t]=a[t]);if(h.D=null,h.u|=4,t.Y=h,h.I=f.I=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Tn=a["s-sc"]),js=ht&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(Rn=a["s-cr"],Es=!1),Ps(f,h,s),e.slotRelocation){if(ft.u|=1,ks){Is(h.I);for(const t of Ds){const n=t.V;if(!n["s-ol"]&&at.document){const t=e.isDebug||e.hydrateServerSide?Us(n):at.document.createTextNode("");t["s-nr"]=n,zs(n.parentNode,n["s-ol"]=t,n)}}for(const t of Ds){const n=t.V,c=t.G;if(1===n.nodeType&&s&&(n["s-ih"]=null!=(o=n.hidden)&&o),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&(!e.experimentalSlotFixes||s&&1===s.nodeType)){let e=null==(i=n["s-ol"])?void 0:i.previousSibling;for(;e;){let o=null!=(r=e["s-nr"])?r: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}}(!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s&&(e.experimentalSlotFixes||n["s-hn"]||!n["s-ol"]||(n["s-hn"]=n["s-ol"].parentNode.nodeName),zs(t,n,s),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)}}Es&&Te(h.I),ft.u&=-2,Ds.length=0}if(e.experimentalScopedSlotChanges&&2&u.u){const t=h.I.__childNodes||h.I.childNodes;for(const e of t)e["s-hn"]===Ln||e["s-sh"]||1!==e.nodeType||(s&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),e.hidden=!0)}Rn=void 0},Bs=t=>{var e;return null==(e=at.document)?void 0:e.createComment(`<slot${t.P?' name="'+t.P+'"':""}> (host=${Ln.toLowerCase()})`)},Us=t=>{var e;return null==(e=at.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},Vs=(t,n)=>{if(e.asyncLoading&&n&&!t.Z&&n["s-p"]){const e=n["s-p"].push(new Promise((s=>t.Z=()=>{n["s-p"].splice(e-1,1),s()})))}},Gs=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);Vs(t,t.X);const s=()=>Ys(t,n);if(!n)return e.taskQueue?kt(s):s();queueMicrotask((()=>{s()}))},Ys=(t,n)=>{const s=t.$hostElement$,o=hn("scheduleUpdate",t.o.k),i=e.lazyLoad?t.l:s;if(!i)throw Error(`Can't render component <${s.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 r;return n?(e.lazyLoad&&(e.hostListener&&(t.u|=256,t.q&&(t.q.map((([t,e])=>no(i,t,e,s))),t.q=void 0)),t.j.length&&t.j.forEach((t=>t(s)))),so(s,"componentWillLoad"),r=no(i,"componentWillLoad",void 0,s)):(so(s,"componentWillUpdate"),r=no(i,"componentWillUpdate",void 0,s)),so(s,"componentWillRender"),r=Js(r,(()=>no(i,"componentWillRender",void 0,s))),o(),Js(r,(()=>Xs(t,i,n)))},Js=(t,e)=>Zs(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Zs=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Xs=async(t,n,s)=>{var o;const i=t.$hostElement$,r=hn("update",t.o.k),l=i["s-rc"];e.style&&s&&vn(t);const c=hn("render",t.o.k);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await Ks(t,n,i,s):Ks(t,n,i,s),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{io(i),s&&(1&t.o.u?i["s-en"]="":2&t.o.u&&(i["s-en"]="c"))}catch(t){G(t,i)}if(e.asyncLoading&&l&&(l.map((t=>t())),i["s-rc"]=void 0),c(),r(),e.asyncLoading){const e=null!=(o=i["s-p"])?o:[],n=()=>Qs(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}else Qs(t)},qs=null,Ks=(t,n,s,o)=>{const i=!!e.allRenderFn,r=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(qs=n,n=(i||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||r)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>Fs(t,e,o)));Fs(t,n,o)}else 1&t.o.u?s.shadowRoot.textContent=n:s.textContent=n}catch(e){G(e,t.$hostElement$)}return qs=null,null},Qs=t=>{const n=t.o.k,s=t.$hostElement$,o=hn("postUpdate",n),i=e.lazyLoad?t.l:s,r=t.X;e.isDev&&(t.u|=1024),no(i,"componentDidRender",void 0,s),e.isDev&&(t.u&=-1025),so(s,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),no(i,"componentDidUpdate",void 0,s),e.isDev&&(t.u&=-1025),so(s,"componentDidUpdate"),o()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&oo(s),e.isDev&&(t.u|=2048),no(i,"componentDidLoad",void 0,s),e.isDev&&(t.u&=-2049),so(s,"componentDidLoad"),o(),e.asyncLoading&&(t.O(s),r||eo(n))),e.method&&e.lazyLoad&&t.$(s),e.asyncLoading&&(t.Z&&(t.Z(),t.Z=void 0),512&t.u&&jt((()=>Gs(t,!1))),t.u&=-517)},to=t=>{var n;if(e.updatable&&(A.isBrowser||A.isTesting)){const e=F(t),s=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return s&&2==(18&e.u)&&Gs(e,!1),s}return!1},eo=n=>{var s;e.asyncQueue&&(ft.u|=2),jt((()=>gs(at,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(s=ft.K)?void 0:s.size)&&ft.K.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},no=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){G(t,s)}},so=(n,s)=>{e.lifecycleDOMEvents&&gs(n,"stencil_"+s,{bubbles:!0,composed:!0,detail:{namespace:t}})},oo=t=>{var n,s;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(s=e.hydratedSelectorName)?s:"hydrated",""):void 0},io=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(),io(n)}},ro=(t,e)=>F(t).i.get(e),lo=(t,n,s,o)=>{const i=F(t);if(!i)return;if(e.lazyLoad&&!i)throw Error(`Couldn't find host element for "${o.k}" 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&&i.p.has(n)&&i.p.get(n)===s)return;const r=e.lazyLoad?i.$hostElement$:t,l=i.i.get(n),c=i.u,a=e.lazyLoad?i.l:r;if(s=ms(s,o.t[n][0],e.formAssociated&&!!(64&o.u)),!(e.lazyLoad&&8&c&&void 0!==l||s===l||Number.isNaN(l)&&Number.isNaN(s))){if(i.i.set(n,s),e.serializer&&e.reflect&&o.J&&a&&o.tt&&o.tt[n]){let t=s;for(const e of o.tt[n]){const[[s]]=Object.entries(e);t=a[s](t,n)}i.p.set(n,t)}if(e.isDev&&(1024&i.u?Z(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",r,"\nNew value",s,"\nOld value",l):2048&i.u&&Z(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",r,"\nNew value",s,"\nOld value",l)),e.propChangeCallback&&o.et){const t=o.et[n];t&&t.map((t=>{try{const[[e,o]]=Object.entries(t);(128&c||1&o)&&(a?a[e](s,l,n):i.j.push((()=>{i.l[e](s,l,n)})))}catch(t){G(t,r)}}))}if(e.updatable&&2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(s,l,n))return;Gs(i,!1)}}},co=(t,n,s)=>{var o,i;const r=t.prototype;if(e.isTesting){if(r.__stencilAugmented)return;r.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&s&&ct.forEach((t=>{const n=r[t];Object.defineProperty(r,t,{value(...s){var o;const i=F(this),r=e.lazyLoad?null==i?void 0:i.l:this;if(r){const o=e.lazyLoad?r[t]:n;"function"==typeof o&&o.call(r,...s)}else null==(o=null==i?void 0:i.S)||o.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...s)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.et&&(n.et=t.watchers),t.deserializers&&!n.nt&&(n.nt=t.deserializers),t.serializers&&!n.tt&&(n.tt=t.serializers));const l=Object.entries(null!=(o=n.t)?o:{});if(l.map((([t,[o]])=>{if((e.prop||e.state)&&(31&o||(!e.lazyLoad||2&s)&&32&o)){const{get:i,set:l}=Object.getOwnPropertyDescriptor(r,t)||{};i&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&s||!i)&&Object.defineProperty(r,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return ro(this,t);const e=F(this),s=e?e.l:r;if(!s)return;return s[t]}if(!e.lazyLoad)return i?i.apply(this):ro(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(i){const r=F(this);if(r){if(e.isDev&&(1&s||4096&n.t[t][0]||0!==(r&&8&r.u)||!(31&o)||1024&o||Z(`@Prop() "${t}" on <${n.k}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&o?this[t]:r.$hostElement$[t])&&r.i.get(t)&&(i=r.i.get(t)),l.call(this,ms(i,o,e.formAssociated&&!!(64&n.u))),void lo(this,t,i=32&o?this[t]:r.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&s&&4096&n.t[t][0]))return lo(this,t,i,n),void(1&s&&!r.l&&r.j.push((()=>{4096&n.t[t][0]&&r.l[t]!==r.i.get(t)&&(r.l[t]=i)})));const l=()=>{const s=r.l[t];!r.i.get(t)&&s&&r.i.set(t,s),r.l[t]=ms(i,o,e.formAssociated&&!!(64&n.u)),lo(this,t,r.l[t],n)};r.l?l():r.j.push((()=>{l()}))}}else lo(this,t,i,n)}}})}else e.lazyLoad&&e.method&&1&s&&64&o&&Object.defineProperty(r,t,{value(...e){var n;const s=F(this);return null==(n=null==s?void 0:s.v)?void 0:n.then((()=>{var n;return null==(n=s.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&s)){const s=new Map;r.attributeChangedCallback=function(t,o,i){ft.jmp((()=>{var c;const a=s.get(t),u=F(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===i)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(i=this[a],delete this[a]),e.deserializer&&n.nt&&n.nt[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](i,a);n!==this[a]&&(this[a]=n)};for(const s of n.nt[a]){const[[n]]=Object.entries(s);e.lazyLoad?u.l?t(n,u.l):u.j.push((()=>{t(n,u.l)})):t(n,this)}return}if(r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==i)return;if(null==a){const s=null==u?void 0:u.u;if(u&&s&&!(8&s)&&i!==o){const r=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.et)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=r[n]&&(128&s||1&l)&&r[n].call(r,i,o,t)}))}return}const f=l.find((([t])=>t===a));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,a);i==this[a]||h.get&&!h.set||(this[a]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.et)?i:{}),...l.filter((([t,e])=>31&e[0])).map((([t,o])=>{var i;const r=o[1]||t;return s.set(r,t),e.reflect&&512&o[0]&&(null==(i=n.J)||i.push([t,r])),r}))]))}}return t},ao=async(t,n,s,o)=>{let i;if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&s.C){const r=K(s,n,o);if(r&&"then"in r){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:${s.k}:${n.N}`,`[Stencil] Load module for <${s.k}>`);i=await r,t()}else i=r;if(!i)throw Error(`Constructor for "${s.k}#${n.N}" was not found`);e.member&&!i.isProxied&&(e.propChangeCallback&&(s.et=i.watchers,s.tt=i.serializers,s.nt=i.deserializers),co(i,s,2),i.isProxied=!0);const l=hn("createInstance",s.k);e.member&&(n.u|=8);try{new i(n)}catch(e){G(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),uo(n.l,t)}else i=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&i&&i.style){let r;"string"==typeof i.style?r=i.style:e.mode&&"string"!=typeof i.style&&(n.N=ps(t),n.N&&(r=i.style[n.N]),e.hydrateServerSide&&n.N&&t.setAttribute("s-mode",n.N));const l=gn(s,n.N);if(!Q.has(l)||e.hotModuleReplacement&&o){const t=hn("registerStyles",s.k);e.hydrateServerSide&&e.shadowDom&&128&s.u&&(r=ds(r,l)),pn(l,r,!!(1&s.u)),t()}}}const r=n.X,l=()=>Gs(n,!0);e.asyncLoading&&r&&r["s-rc"]?r["s-rc"].push(l):l()},uo=(t,n)=>{e.lazyLoad&&no(t,"connectedCallback",void 0,n)},fo=t=>{if(!(1&ft.u)){const n=F(t);if(!n)return;const s=n.o,o=hn("connectedCallback",s.k);if(e.hostListenerTargetParent&&bo(t,n,s.st,!0),1&n.u)bo(t,n,s.st,!1),(null==n?void 0:n.l)?uo(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>uo(n.l,t)));else{let o;if(n.u|=1,e.hydrateClientSide&&(o=t.getAttribute(et),o)){if(e.shadowDom&&ht&&1&s.u){const n=e.mode?mn(t.shadowRoot,s,t.getAttribute("s-mode")):mn(t.shadowRoot,s);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&s.u){const n=gn(s,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,s,o)=>{var i,r,l,c;const a=hn("hydrateClient",n),u=t.shadowRoot,f=[],h=[],d=[],p=e.shadowDom&&u?[]:null,m=wn(n,null);let v;if(m.I=t,e.scoped){const e=o.o;e&&10&e.u&&t["s-sc"]?(v=t["s-sc"],t.classList.add(v+"-h")):t["s-sc"]&&delete t["s-sc"]}!at.document||ft.K&&ft.K.size||Nn(at.document.body,ft.K=new Map),t[et]=s,t.removeAttribute(et),o.Y=Cn(m,f,h,p,t,t,s,d);let g=0;const b=f.length;let $;for(;g<b;g++){$=f[g];const s=$.W+"."+$.F,o=ft.K.get(s),r=$.I;if(u){if((null==(i=$.D)?void 0:(""+i).includes("-"))&&"slot-fb"!==$.D&&!$.I.shadowRoot){const n=F($.I);if(n){const s=gn(n.o,e.mode?$.I.getAttribute("s-mode"):void 0),o=at.document.querySelector(`style[sty-id="${s}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else r["s-hn"]=jo(n).toUpperCase(),"slot"===$.D&&(r["s-cr"]=t["s-cr"]);"slot"===$.D&&($.P=$.I["s-sn"]||$.I.name||null,$.L?($.u|=2,$.I.childNodes.length||$.L.forEach((t=>{$.I.appendChild(t.I)}))):$.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(r,o.nextSibling),o.parentNode.removeChild(o),u||(r["s-oo"]=parseInt($.F))),o&&!o["s-id"]&&ft.K.delete(s)}const y=[],w=d.length;let S,O,x,j,E=0,k=0;for(;E<w;E++)if(S=d[E],S&&S.length)for(x=S.length,O=0;O<x;O++){if(j=S[O],y[j.hostId]||(y[j.hostId]=ft.K.get(j.hostId)),!y[j.hostId])continue;const t=y[j.hostId];t.shadowRoot&&j.node.parentElement!==t&&t.insertBefore(j.node,null==(l=null==(r=S[O-1])?void 0:r.node)?void 0:l.nextSibling),t.shadowRoot&&u||(j.slot["s-cr"]||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),De(j.node,j.slot,!1,j.node["s-oo"]||k),(null==(c=j.node.parentElement)?void 0:c.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot"),e.experimentalSlotFixes&&tn(j.node)),k=(j.node["s-oo"]||k)+1}if(e.scoped&&v&&h.length&&h.forEach((t=>{t.I.parentElement.classList.add(v+"-s")})),e.shadowDom&&u){let e=0;const n=p.length;if(n){for(;e<n;e++){const t=p[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))}))}}o.$hostElement$=t,a()})(t,s.k,o,n)}if(e.slotRelocation&&!o&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&s.u)&&ho(t),e.asyncLoading){let s=t;for(;s=s.parentNode||s.host;)if(e.hydrateClientSide&&1===s.nodeType&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){Vs(n,n.X=s);break}}e.prop&&!e.hydrateServerSide&&s.t&&Object.entries(s.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?jt((()=>ao(t,n,s))):ao(t,n,s)}o()}},ho=t=>{if(!at.document)return;const n=t["s-cr"]=at.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,zs(t,n,t.firstChild)},po=(t,n)=>{e.lazyLoad&&no(t,"disconnectedCallback",void 0,n||t)},mo=async t=>{if(!(1&ft.u)){const n=F(t);e.hostListener&&(null==n?void 0:n.ot)&&(n.ot.map((t=>t())),n.ot=void 0),e.lazyLoad?(null==n?void 0:n.l)?po(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>po(n.l,t))):po(t)}dn.has(t)&&dn.delete(t),t.shadowRoot&&dn.has(t.shadowRoot)&&dn.delete(t.shadowRoot)},vo=(t,n)=>{const s={u:n[0],k:n[1]};e.member&&(s.t=n[2]),e.hostListener&&(s.st=n[3]),e.propChangeCallback&&(s.et=t.et,s.nt=t.nt,s.tt=t.tt),e.reflect&&(s.J=[]),e.shadowDom&&!ht&&1&s.u&&(s.u|=8),!(1&s.u)&&256&s.u&&(e.experimentalSlotFixes?Fe(t.prototype):(e.slotChildNodesFix&&Qe(t.prototype),e.cloneNodeFix&&Be(t.prototype),e.appendChildSlotFix&&Ue(t.prototype),e.scopedSlotTextContentFix&&2&s.u&&Ke(t.prototype))),e.hydrateClientSide&&e.shadowDom&&$n();const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){U(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=F(this);if(!t)return;bo(this,t,s.st,!1),this.__hasHostListenerAttached=!0}fo(this),o&&o.call(this)},disconnectedCallback(){mo(this),i&&i.call(this)},__attachShadow(){if(ht)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${s.k}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Me.call(this,s);else this.shadowRoot=this}}),t.is=s.k,co(t,s,3)},go=(t,n={})=>{var s;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=at.stencil=at.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=F(t);if(!e)return;const n=e.u,s=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.X,hostElement:s,lazyInstance:e.l,vnode:e.Y,modeName:e.N,fetchedCbList:e.j,onReadyPromise:e.S,onReadyResolve:e.O,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.Z,queuedListeners:e.q,rmListeners:e.ot,"s-id":s["s-id"],"s-cr":s["s-cr"],"s-lr":s["s-lr"],"s-p":s["s-p"],"s-rc":s["s-rc"],"s-sc":s["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!at.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=hn("bootstrapLazy"),i=[],r=n.exclude||[],l=at.customElements,c=at.document.head,a=c.querySelector("meta[charset]"),u=at.document.createElement("style"),f=[];let h,d=!0;Object.assign(ft,n),ft._=new URL(n.resourcesUrl||"./",at.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(ft.u|=4),e.hydrateClientSide&&(ft.u|=2),e.hydrateClientSide&&e.shadowDom&&$n();let p=!1;if(t.map((t=>{t[1].map((s=>{var o,c,a;const u={u:s[0],k:s[1],t:s[2],st:s[3]};4&u.u&&(p=!0),e.member&&(u.t=s[2]),e.hostListener&&(u.st=s[3]),e.reflect&&(u.J=[]),e.propChangeCallback&&(u.et=null!=(o=s[4])?o:{},u.tt=null!=(c=s[5])?c:{},u.nt=null!=(a=s[6])?a:{}),e.shadowDom&&!ht&&1&u.u&&(u.u|=8);const m=e.transformTagName&&n.transformTagName?n.transformTagName(u.k):jo(u.k),v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,U(t=this,u),e.shadowDom&&1&u.u)if(ht)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Me.call(t,u);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=F(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,bo(this,t,u.st,!1)),h&&(clearTimeout(h),h=null),d?f.push(this):ft.jmp((()=>fo(this))))}disconnectedCallback(){ft.jmp((()=>mo(this))),ft.raf((()=>{var t;const e=F(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.Y)?void 0:t.I)instanceof Node&&!e.Y.I.isConnected&&delete e.Y.I}))}componentOnReady(){var t;return null==(t=F(this))?void 0:t.S}};!(1&u.u)&&256&u.u&&(e.experimentalSlotFixes?Fe(v.prototype):(e.slotChildNodesFix&&Qe(v.prototype),e.cloneNodeFix&&Be(v.prototype),e.appendChildSlotFix&&Ue(v.prototype),e.scopedSlotTextContentFix&&2&u.u&&Ke(v.prototype))),e.formAssociated&&64&u.u&&(v.formAssociated=!0),e.hotModuleReplacement&&(v.prototype["s-hmr"]=function(t){((t,e,n)=>{const s=F(t);s&&(s.u=1,ao(t,s,e,n))})(this,u,t)}),u.C=t[0],r.includes(m)||l.get(m)||(i.push(m),l.define(m,co(v,u,1)))}))})),i.length>0&&(p&&(u.textContent+=rt),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(s=ft.M)?s:Se(at.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):ft.jmp(e.profile?()=>h=setTimeout(eo,30,"timeout"):()=>h=setTimeout(eo,30)),o()},bo=(t,n,s,o)=>{e.hostListener&&s&&at.document&&(e.hostListenerTargetParent&&(s=s.filter(o?([t])=>32&t:([t])=>!(32&t))),s.map((([s,o,i])=>{const r=e.hostListenerTarget?yo(at.document,t,s):t,l=$o(n,i),c=wo(s);ft.ael(r,o,l,c),(n.ot=n.ot||[]).push((()=>ft.rel(r,o,l,c)))})))},$o=(t,n)=>s=>{var o;try{e.lazyLoad?256&t.u?null==(o=t.l)||o[n](s):(t.q=t.q||[]).push([n,s]):t.$hostElement$[n](s)}catch(e){G(e,t.$hostElement$)}},yo=(t,n,s)=>e.hostListenerTargetDocument&&4&s?t:e.hostListenerTargetWindow&&8&s?at:e.hostListenerTargetBody&&16&s?t.body:e.hostListenerTargetParent&&32&s&&n.parentElement?n.parentElement:n,wo=t=>({passive:!!(1&t),capture:!!(2&t)}),So=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Oo=t=>ft.M=t,xo=void 0;function jo(t){return xo?xo(t):t}var Eo=(t,e,n,s)=>{var o;null!=e&&(null!=e["s-nr"]&&s.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(o=e.shadowRoot)?void 0:o.childNodes)||[])].forEach((e=>{const o=F(e);null==o||n.staticComponents.has(e.nodeName.toLowerCase())||ko(t,e,o.Y,n,{nodeIds:0}),Eo(t,e,n,s)}))},ko=(t,e,n,s,o)=>{if(null!=n){const i=++s.hostIds;if(e.setAttribute(et,i),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+i),null!=n.L){const e=0;n.L.forEach(((n,s)=>{Co(t,n,o,i,e,s)}))}if(e&&n&&n.I&&!e.hasAttribute(st)){const t=e.parentElement;if(t&&t.childNodes){const s=Array.from(t.childNodes),o=s.find((t=>8===t.nodeType&&t["s-sr"]));if(o){const t=s.indexOf(e)-1;n.I.setAttribute(st,`${o["s-host-id"]}.${o["s-node-id"]}.0.${t}`)}}}}},Co=(t,e,n,s,o,i)=>{const r=e.I;if(null==r)return;const l=n.nodeIds++,c=`${s}.${l}.${o}.${i}`;if(r["s-host-id"]=s,r["s-node-id"]=l,1===r.nodeType)r.setAttribute(st,c),"string"!=typeof r["s-sn"]||r.getAttribute("slot")||r.setAttribute("s-sn",r["s-sn"]);else if(3===r.nodeType){const e=r.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);zs(e,n,r)}}else 8===r.nodeType&&r["s-sr"]&&(r.nodeValue=`s.${c}.${r["s-sn"]||""}`);if(null!=e.L){const i=o+1;e.L.forEach(((e,o)=>{Co(t,e,n,s,i,o)}))}},No=Object.freeze({__proto__:null,BUILD:e,Build:A,Env:{},Fragment:(t,e)=>e,H:ut,HTMLElement:ut,HYDRATED_STYLE_ID:nt,Host:Sn,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),So)},NAMESPACE:t,STENCIL_DEV_MODE:Y,addHostEventListeners:bo,bootstrapLazy:go,cmpModules:q,connectedCallback:fo,consoleDevError:J,consoleDevInfo:X,consoleDevWarn:Z,consoleError:G,createEvent:(t,n,s)=>{const o=vs(t);return{emit:t=>(e.isDev&&!o.isConnected&&Z(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),gs(o,n,{bubbles:!!(4&s),composed:!!(2&s),cancelable:!!(1&s),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(jo(e[1]),vo(t,e))},disconnectedCallback:mo,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=ps(t),n=F(t);if(n&&n.N!==e){const s=n.o,o=t["s-sc"],i=gn(s,e),r=t.constructor.style[e],l=s.u;r&&(Q.has(i)||pn(i,r,!!(1&l)),n.N=e,t.classList.remove(o+"-h",o+"-s"),vn(n),to(t))}}},forceUpdate:to,getAssetPath:t=>{const e=new URL(t,ft._);return e.origin!==at.location.origin?e.href:e.pathname},getElement:vs,getHostRef:F,getMode:t=>{var e;return null==(e=F(t))?void 0:e.N},getRenderingRef:()=>qs,getValue:ro,h:yn,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=ot in t?t[ot]:{...it};n.staticComponents=new Set(e);const s=[];Eo(t,t.body,n,s),s.forEach((e=>{var s;if(null!=e&&e["s-nr"]){const o=e["s-nr"];let i=o["s-host-id"],r=o["s-node-id"],l=`${i}.${r}`;if(null==i)if(i=0,n.rootLevelIds++,r=n.rootLevelIds,l=`${i}.${r}`,1===o.nodeType)o.setAttribute(st,l),"string"!=typeof o["s-sn"]||o.getAttribute("slot")||o.setAttribute("s-sn",o["s-sn"]);else if(3===o.nodeType){if(0===i&&""===(null==(s=o.nodeValue)?void 0:s.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,zs(o.parentNode,n,o)}else if(8===o.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,o.parentNode.insertBefore(e,o)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:V,loadModule:K,modeResolutionChain:tt,needsScopedSSR:()=>!1,nextTick:jt,parsePropertyValue:ms,plt:ft,postUpdateComponent:Qs,promiseResolve:dt,proxyComponent:co,proxyCustomElement:vo,readTask:Et,registerHost:U,registerInstance:B,render:function(t,e){Fs({o:{u:0,k:e.tagName},$hostElement$:e},t)},renderVdom:Fs,setAssetPath:t=>ft._=t,setErrorHandler:t=>n=t,setMode:t=>tt.push(t),setNonce:Oo,setPlatformHelpers:t=>{Object.assign(ft,t)},setPlatformOptions:t=>Object.assign(ft,t),setScopedSSR:()=>{},setTagTransformer:function(t){xo&&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 "),xo=t},setValue:lo,styles:Q,supportsConstructableStylesheets:pt,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:mt,supportsShadow:ht,transformTag:jo,win:at,writeTask:kt});export{e as B,ut as H,t as N,No as S,go as b,X as c,yn as h,dt as p,B as r,Oo as s,at as w}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,B as n,c as
|
|
1
|
+
import{p as t,B as n,c as e,w as r,N as a,H as o,b as i}from"./p-B4E56p68.js";export{s as setNonce}from"./p-B4E56p68.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 n=t.call(this,!1),e=this.childNodes;if(s)for(let s=0;s<e.length;s++)2!==e[s].nodeType&&n.appendChild(e[s].cloneNode(!0));return n}};(()=>{n.isDev&&!n.isTesting&&e("Running in development mode."),n.cloneNodeFix&&m(o.prototype);const s=n.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,i=import.meta.url,p=n.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-83b20867",[[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.
|
|
3
|
+
"version": "0.1.128",
|
|
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.40.
|
|
31
|
+
"@stencil/core": "4.40.0",
|
|
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,s,o,i,r,l,c,a,u,f,h,d,p,m,v,g,b,$,y=Object.create,w=Object.defineProperty,S=Object.getOwnPropertyDescriptor,O=Object.getOwnPropertyNames,x=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty,E=t=>{throw TypeError(t)},k=(t,e)=>function(){return e||(0,t[O(t)[0]])((e={exports:{}}).exports,e),e.exports},C=(t,e,n)=>e.has(t)||E("Cannot "+n),N=(t,e,n)=>(C(t,e,"read from private field"),n?n.call(t):e.get(t)),_=(t,e,n)=>e.has(t)?E("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,n),M=(t,e,n)=>(C(t,e,"write to private field"),e.set(t,n),n),T=(t,e,n)=>(C(t,e,"access private method"),n),R=k({"node_modules/balanced-match/index.js"(t,e){function n(t,e,n){t instanceof RegExp&&(t=s(t,n)),e instanceof RegExp&&(e=s(e,n));var i=o(t,e,n);return i&&{start:i[0],end:i[1],pre:n.slice(0,i[0]),body:n.slice(i[0]+t.length,i[1]),post:n.slice(i[1]+e.length)}}function s(t,e){var n=e.match(t);return n?n[0]:null}function o(t,e,n){var s,o,i,r,l,c=n.indexOf(t),a=n.indexOf(e,c+1),u=c;if(c>=0&&a>0){if(t===e)return[c,a];for(s=[],i=n.length;u>=0&&!l;)u==c?(s.push(u),c=n.indexOf(t,u+1)):1==s.length?l=[s.pop(),a]:((o=s.pop())<i&&(i=o,r=a),a=n.indexOf(e,u+1)),u=c<a&&c>=0?c:a;s.length&&(l=[i,r])}return l}e.exports=n,n.range=o}}),L=k({"node_modules/brace-expansion/index.js"(t,e){var n=R();e.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),m(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(i).split("\\,").join(r).split("\\.").join(l)}(t),!0).map(a)):[]};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",i="\0CLOSE"+Math.random()+"\0",r="\0COMMA"+Math.random()+"\0",l="\0PERIOD"+Math.random()+"\0";function c(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function a(t){return t.split(s).join("\\").split(o).join("{").split(i).join("}").split(r).join(",").split(l).join(".")}function u(t){if(!t)return[""];var e=[],s=n("{","}",t);if(!s)return t.split(",");var o=s.body,i=s.post,r=s.pre.split(",");r[r.length-1]+="{"+o+"}";var l=u(i);return i.length&&(r[r.length-1]+=l.shift(),r.push.apply(r,l)),e.push.apply(e,r),e}function f(t){return"{"+t+"}"}function h(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function p(t,e){return t>=e}function m(t,e){var s=[],o=n("{","}",t);if(!o)return[t];var r=o.pre,l=o.post.length?m(o.post,!1):[""];if(/\$$/.test(o.pre))for(var a=0;a<l.length;a++)s.push(R=r+"{"+o.body+"}"+l[a]);else{var v,g,b=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),$=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),y=b||$,w=o.body.indexOf(",")>=0;if(!y&&!w)return o.post.match(/,(?!,).*\}/)?m(t=o.pre+"{"+o.body+i+o.post):[t];if(y)v=o.body.split(/\.\./);else if(1===(v=u(o.body)).length&&1===(v=m(v[0],!1).map(f)).length)return l.map((function(t){return o.pre+v[0]+t}));if(y){var S=c(v[0]),O=c(v[1]),x=Math.max(v[0].length,v[1].length),j=3==v.length?Math.abs(c(v[2])):1,E=d;O<S&&(j*=-1,E=p);var k=v.some(h);g=[];for(var C=S;E(C,O);C+=j){var N;if($)"\\"===(N=String.fromCharCode(C))&&(N="");else if(N=C+"",k){var _=x-N.length;if(_>0){var M=Array(_+1).join("0");N=C<0?"-"+M+N.slice(1):M+N}}g.push(N)}}else{g=[];for(var T=0;T<v.length;T++)g.push.apply(g,m(v[T],!1))}for(T=0;T<g.length;T++)for(a=0;a<l.length;a++){var R=r+g[T]+l[a];(!e||y||R)&&s.push(R)}}return s}}}),A={isDev:!!e.isDev,isBrowser:!0,isServer:!1,isTesting:!!e.isTesting},P=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(P||{}),D=(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))(D||{}),I="type",W="value",z="serialized:",H=(t,n)=>{var s;Object.entries(null!=(s=n.o.t)?s:{}).map((([s,[o]])=>{if((e.state||e.prop)&&(31&o||32&o)){const e=t[s],o=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),s)||Object.getOwnPropertyDescriptor(t,s);o&&Object.defineProperty(t,s,{get(){return o.get.call(this)},set(t){o.set.call(this,t)},configurable:!0,enumerable:!0}),t[s]=n.i.has(s)?n.i.get(s):e}}))},F=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},B=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.l=t,512&n.o.u&&(e.state||e.prop)&&H(t,n))},U=(t,n)=>{const s={u:0,$hostElement$:t,o:n,i:new Map,p:new Map};e.isDev&&(s.m=0),e.method&&e.lazyLoad&&(s.v=new Promise((t=>s.$=t))),e.asyncLoading&&(s.S=new Promise((t=>s.O=t)),t["s-p"]=[],t["s-rc"]=[]),e.lazyLoad&&(s.j=[]);const o=s;return t.__stencil__getHostRef=()=>o,!e.lazyLoad&&512&n.u&&(e.state||e.prop)&&H(t,s),o},V=(t,e)=>e in t,G=(t,e)=>(n||console.error)(t,e),Y=e.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],J=(...t)=>console.error(...Y,...t),Z=(...t)=>console.warn(...Y,...t),X=(...t)=>console.info(...Y,...t),q=new Map,K=(t,n,s)=>{const o=t.k.replace(/-/g,"_"),i=t.C;if(e.isDev&&"string"!=typeof i)return void J(`Trying to lazily load component <${t.k}> with style mode "${n.N}", but it does not exist.`);if(!i)return;const r=!e.hotModuleReplacement&&q.get(i);return r?r[o]:import(`./${i}.entry.js${e.hotModuleReplacement&&s?"?s-hmr="+s:""}`).then((t=>(e.hotModuleReplacement||q.set(i,t),t[o])),(t=>{G(t,n.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},Q=new Map,tt=[],et="s-id",nt="sty-id",st="c-id",ot="_stencilDocData",it={hostIds:0,rootLevelIds:0,staticComponents:new Set},rt="slot-fb{display:contents}slot-fb[hidden]{display:none}",lt="http://www.w3.org/1999/xlink",ct=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],at="undefined"!=typeof window?window:{},ut=at.HTMLElement||class{},ft={u:0,_:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)},ht=e.shadowDom,dt=t=>Promise.resolve(t),pt=!!e.constructableCSS&&(()=>{try{return!!at.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),mt=!!pt&&(()=>!!at.document&&Object.getOwnPropertyDescriptor(at.document.adoptedStyleSheets,"length").writable)(),vt=0,gt=!1,bt=[],$t=[],yt=[],wt=(t,e)=>n=>{t.push(n),gt||(gt=!0,e&&4&ft.u?jt(xt):ft.raf(xt))},St=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){G(t)}t.length=0},Ot=(t,e)=>{let n=0,s=0;for(;n<t.length&&(s=performance.now())<e;)try{t[n++](s)}catch(t){G(t)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},xt=()=>{if(e.asyncQueue&&vt++,St(bt),e.asyncQueue){const t=2==(6&ft.u)?performance.now()+14*Math.ceil(.1*vt):1/0;Ot($t,t),Ot(yt,t),$t.length>0&&(yt.push(...$t),$t.length=0),(gt=bt.length+$t.length+yt.length>0)?ft.raf(xt):vt=0}else St($t),(gt=bt.length>0)&&ft.raf(xt)},jt=t=>dt().then(t),Et=wt(bt,!1),kt=wt($t,!0),Ct=t=>"object"==(t=typeof t)||"function"===t,Nt=((t,e,n)=>(n=null!=t?y(x(t)):{},((t,e,n,s)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let n of O(e))j.call(t,n)||undefined===n||w(t,n,{get:()=>e[n],enumerable:!(s=S(e,n))||s.enumerable});return t})(w(n,"default",{value:t,enumerable:!0}),t)))(L()),_t=t=>{if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")},Mt={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Tt=t=>t.replace(/[[\]\\-]/g,"\\$&"),Rt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Lt=t=>t.join(""),At=(t,e)=>{const n=e;if("["!==t.charAt(n))throw Error("not in a brace expression");const s=[],o=[];let i=n+1,r=!1,l=!1,c=!1,a=!1,u=n,f="";t:for(;i<t.length;){const e=t.charAt(i);if("!"!==e&&"^"!==e||i!==n+1){if("]"===e&&r&&!c){u=i+1;break}if(r=!0,"\\"!==e||c){if("["===e&&!c)for(const[e,[r,c,a]]of Object.entries(Mt))if(t.startsWith(e,i)){if(f)return["$.",!1,t.length-n,!0];i+=e.length,a?o.push(r):s.push(r),l=l||c;continue t}c=!1,f?(e>f?s.push(Tt(f)+"-"+Tt(e)):e===f&&s.push(Tt(e)),f="",i++):t.startsWith("-]",i+1)?(s.push(Tt(e+"-")),i+=2):t.startsWith("-",i+1)?(f=e,i+=2):(s.push(Tt(e)),i++)}else c=!0,i++}else a=!0,i++}if(u<i)return["",!1,0,!1];if(!s.length&&!o.length)return["$.",!1,t.length-n,!0];if(0===o.length&&1===s.length&&/^\\?.$/.test(s[0])&&!a){const t=2===s[0].length?s[0].slice(-1):s[0];return[Rt(t),!1,u-n,!1]}const h="["+(a?"^":"")+Lt(s)+"]",d="["+(a?"":"^")+Lt(o)+"]";return[s.length&&o.length?"("+h+"|"+d+")":s.length?h:d,l,u-n,!0]},Pt=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1"),Dt=new Set(["!","?","+","*","@"]),It=t=>Dt.has(t),Wt="(?!\\.)",zt=new Set(["[","."]),Ht=new Set(["..","."]),Ft=new Set("().*{}+?[]^$\\!"),Bt=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ut="[^/]",Vt=Ut+"*?",Gt=Ut+"+?",Yt=class t{constructor(t,e,n={}){_(this,p),((t,e,n)=>{((t,e,n)=>{e in t?w(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,e+"",n)})(this,"type"),_(this,s),_(this,o),_(this,i,!1),_(this,r,[]),_(this,l),_(this,c),_(this,a),_(this,u,!1),_(this,f),_(this,h),_(this,d,!1),this.type=t,t&&M(this,o,!0),M(this,l,e),M(this,s,N(this,l)?N(N(this,l),s):this),M(this,f,N(this,s)===this?n:N(N(this,s),f)),M(this,a,N(this,s)===this?[]:N(N(this,s),a)),"!"!==t||N(N(this,s),u)||N(this,a).push(this),M(this,c,N(this,l)?N(N(this,l),r).length:0)}get hasMagic(){if(void 0!==N(this,o))return N(this,o);for(const t of N(this,r))if("string"!=typeof t&&(t.type||t.hasMagic))return M(this,o,!0);return N(this,o)}toString(){return void 0!==N(this,h)?N(this,h):M(this,h,this.type?this.type+"("+N(this,r).map((t=>t+"")).join("|")+")":N(this,r).map((t=>t+"")).join(""))}push(...e){for(const n of e)if(""!==n){if("string"!=typeof n&&!(n instanceof t&&N(n,l)===this))throw Error("invalid part: "+n);N(this,r).push(n)}}toJSON(){var t;const e=null===this.type?N(this,r).slice().map((t=>"string"==typeof t?t:t.toJSON())):[this.type,...N(this,r).map((t=>t.toJSON()))];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===N(this,s)||N(N(this,s),u)&&"!"===(null==(t=N(this,l))?void 0:t.type))&&e.push({}),e}isStart(){var e;if(N(this,s)===this)return!0;if(!(null==(e=N(this,l))?void 0:e.isStart()))return!1;if(0===N(this,c))return!0;const n=N(this,l);for(let e=0;e<N(this,c);e++){const s=N(n,r)[e];if(!(s instanceof t&&"!"===s.type))return!1}return!0}isEnd(){var t,e,n;if(N(this,s)===this)return!0;if("!"===(null==(t=N(this,l))?void 0:t.type))return!0;if(!(null==(e=N(this,l))?void 0:e.isEnd()))return!1;if(!this.type)return null==(n=N(this,l))?void 0:n.isEnd();const o=N(this,l)?N(N(this,l),r).length:0;return N(this,c)===o-1}copyIn(t){this.push("string"==typeof t?t:t.clone(this))}clone(e){const n=new t(this.type,e);for(const t of N(this,r))n.copyIn(t);return n}static fromGlob(e,n={}){var s;const o=new t(null,void 0,n);return T(s=t,v,g).call(s,e,o,0,n),o}toMMPattern(){if(this!==N(this,s))return N(this,s).toMMPattern();const t=""+this,[e,n,i,r]=this.toRegExpSource();if(!(i||N(this,o)||N(this,f).nocase&&!N(this,f).nocaseMagicOnly&&t.toUpperCase()!==t.toLowerCase()))return n;const l=(N(this,f).nocase?"i":"")+(r?"u":"");return Object.assign(RegExp(`^${e}$`,l),{_src:e,_glob:t})}get options(){return N(this,f)}toRegExpSource(e){var n;const c=null!=e?e:!!N(this,f).dot;if(N(this,s)===this&&T(this,p,m).call(this),!this.type){const a=this.isStart()&&this.isEnd(),f=N(this,r).map((n=>{var s;const[r,l,c,u]="string"==typeof n?T(s=t,v,$).call(s,n,N(this,o),a):n.toRegExpSource(e);return M(this,o,N(this,o)||c),M(this,i,N(this,i)||u),r})).join("");let h="";if(this.isStart()&&"string"==typeof N(this,r)[0]&&(1!==N(this,r).length||!Ht.has(N(this,r)[0]))){const t=zt,n=c&&t.has(f.charAt(0))||f.startsWith("\\.")&&t.has(f.charAt(2))||f.startsWith("\\.\\.")&&t.has(f.charAt(4)),s=!c&&!e&&t.has(f.charAt(0));h=n?"(?!(?:^|/)\\.\\.?(?:$|/))":s?Wt:""}let d="";return this.isEnd()&&N(N(this,s),u)&&"!"===(null==(n=N(this,l))?void 0:n.type)&&(d="(?:$|\\/)"),[h+f+d,Pt(f),M(this,o,!!N(this,o)),N(this,i)]}const a="*"===this.type||"+"===this.type,h="!"===this.type?"(?:(?!(?:":"(?:";let g=T(this,p,b).call(this,c);if(this.isStart()&&this.isEnd()&&!g&&"!"!==this.type){const t=""+this;return M(this,r,[t]),this.type=null,M(this,o,void 0),[t,Pt(""+this),!1,!1]}let y=!a||e||c?"":T(this,p,b).call(this,!0);y===g&&(y=""),y&&(g=`(?:${g})(?:${y})*?`);let w="";return w="!"===this.type&&N(this,d)?(this.isStart()&&!c?Wt:"")+Gt:h+g+("!"===this.type?"))"+(!this.isStart()||c||e?"":Wt)+Vt+")":"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&y?")":"*"===this.type&&y?")?":")"+this.type),[w,Pt(g),M(this,o,!!N(this,o)),N(this,i)]}};s=new WeakMap,o=new WeakMap,i=new WeakMap,r=new WeakMap,l=new WeakMap,c=new WeakMap,a=new WeakMap,u=new WeakMap,f=new WeakMap,h=new WeakMap,d=new WeakMap,p=new WeakSet,m=function(){if(this!==N(this,s))throw Error("should only call on root");if(N(this,u))return this;let t;for(M(this,u,!0);t=N(this,a).pop();){if("!"!==t.type)continue;let e=t,n=N(e,l);for(;n;){for(let s=N(e,c)+1;!n.type&&s<N(n,r).length;s++)for(const e of N(t,r)){if("string"==typeof e)throw Error("string part in extglob AST??");e.copyIn(N(n,r)[s])}e=n,n=N(e,l)}}return this},v=new WeakSet,g=function(t,e,n,s){var i,l;let c=!1,a=!1,u=-1,f=!1;if(null===e.type){let o=n,r="";for(;o<t.length;){const n=t.charAt(o++);if(c||"\\"===n)c=!c,r+=n;else if(a)o===u+1?"^"!==n&&"!"!==n||(f=!0):"]"!==n||o===u+2&&f||(a=!1),r+=n;else if("["!==n)if(s.noext||!It(n)||"("!==t.charAt(o))r+=n;else{e.push(r),r="";const l=new Yt(n,e);o=T(i=Yt,v,g).call(i,t,l,o,s),e.push(l)}else a=!0,u=o,f=!1,r+=n}return e.push(r),o}let h=n+1,p=new Yt(null,e);const m=[];let b="";for(;h<t.length;){const n=t.charAt(h++);if(c||"\\"===n)c=!c,b+=n;else if(a)h===u+1?"^"!==n&&"!"!==n||(f=!0):"]"!==n||h===u+2&&f||(a=!1),b+=n;else if("["!==n)if(It(n)&&"("===t.charAt(h)){p.push(b),b="";const e=new Yt(n,p);p.push(e),h=T(l=Yt,v,g).call(l,t,e,h,s)}else if("|"!==n){if(")"===n)return""===b&&0===N(e,r).length&&M(e,d,!0),p.push(b),b="",e.push(...m,p),h;b+=n}else p.push(b),b="",m.push(p),p=new Yt(null,e);else a=!0,u=h,f=!1,b+=n}return e.type=null,M(e,o,void 0),M(e,r,[t.substring(n-1)]),h},b=function(t){return N(this,r).map((e=>{if("string"==typeof e)throw Error("string type in extglob ast??");const[n,s,o,r]=e.toRegExpSource(t);return M(this,i,N(this,i)||r),n})).filter((t=>!(this.isStart()&&this.isEnd()&&!t))).join("|")},$=function(t,e,n=!1){let s=!1,o="",i=!1;for(let r=0;r<t.length;r++){const l=t.charAt(r);if(s)s=!1,o+=(Ft.has(l)?"\\":"")+l;else if("\\"!==l){if("["===l){const[n,s,l,c]=At(t,r);if(l){o+=n,i=i||s,r+=l-1,e=e||c;continue}}"*"!==l?"?"!==l?o+=Bt(l):(o+=Ut,e=!0):(o+=n&&"*"===t?Gt:Vt,e=!0)}else r===t.length-1?o+="\\\\":s=!0}return[o,Pt(t),!!e,i]},_(Yt,v);var Jt=Yt,Zt=(t,e,n={})=>(_t(e),!(!n.nocomment&&"#"===e.charAt(0))&&new we(e,n).match(t)),Xt=/^\*+([^+@!?\*\[\(]*)$/,qt=t=>e=>!e.startsWith(".")&&e.endsWith(t),Kt=t=>e=>e.endsWith(t),Qt=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),te=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),ee=/^\*+\.\*+$/,ne=t=>!t.startsWith(".")&&t.includes("."),se=t=>"."!==t&&".."!==t&&t.includes("."),oe=/^\.\*+$/,ie=t=>"."!==t&&".."!==t&&t.startsWith("."),re=/^\*+$/,le=t=>0!==t.length&&!t.startsWith("."),ce=t=>0!==t.length&&"."!==t&&".."!==t,ae=/^\?+([^+@!?\*\[\(]*)?$/,ue=([t,e=""])=>{const n=pe([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},fe=([t,e=""])=>{const n=me([t]);return e?(e=e.toLowerCase(),t=>n(t)&&t.toLowerCase().endsWith(e)):n},he=([t,e=""])=>{const n=me([t]);return e?t=>n(t)&&t.endsWith(e):n},de=([t,e=""])=>{const n=pe([t]);return e?t=>n(t)&&t.endsWith(e):n},pe=([t])=>{const e=t.length;return t=>t.length===e&&!t.startsWith(".")},me=([t])=>{const e=t.length;return t=>t.length===e&&"."!==t&&".."!==t},ve="object"==typeof process&&process?"object"==typeof process.env&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";Zt.sep="win32"===ve?"\\":"/";var ge=Symbol("globstar **");Zt.GLOBSTAR=ge,Zt.filter=(t,e={})=>n=>Zt(n,t,e);var be=(t,e={})=>Object.assign({},t,e);Zt.defaults=t=>{if(!t||"object"!=typeof t||!Object.keys(t).length)return Zt;const e=Zt;return Object.assign(((n,s,o={})=>e(n,s,be(t,o))),{Minimatch:class extends e.Minimatch{constructor(e,n={}){super(e,be(t,n))}static defaults(n){return e.defaults(be(t,n)).Minimatch}},AST:class extends e.AST{constructor(e,n,s={}){super(e,n,be(t,s))}static fromGlob(n,s={}){return e.AST.fromGlob(n,be(t,s))}},unescape:(n,s={})=>e.unescape(n,be(t,s)),escape:(n,s={})=>e.escape(n,be(t,s)),filter:(n,s={})=>e.filter(n,be(t,s)),defaults:n=>e.defaults(be(t,n)),makeRe:(n,s={})=>e.makeRe(n,be(t,s)),braceExpand:(n,s={})=>e.braceExpand(n,be(t,s)),match:(n,s,o={})=>e.match(n,s,be(t,o)),sep:e.sep,GLOBSTAR:ge})};var $e=(t,e={})=>(_t(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,Nt.default)(t));Zt.braceExpand=$e,Zt.makeRe=(t,e={})=>new we(t,e).makeRe(),Zt.match=(t,e,n={})=>{const s=new we(e,n);return t=t.filter((t=>s.match(t))),s.options.nonull&&!t.length&&t.push(e),t};var ye=/[?*]|[+@!]\(.*?\)|\[|\]/,we=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,e={}){_t(t),this.options=e=e||{},this.pattern=t,this.platform=e.platform||ve,this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!e.windowsPathsNoEscape||!1===e.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!e.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!e.nonegate,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==e.windowsNoMagicRoot?e.windowsNoMagicRoot:!(!this.isWindows||!this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(const t of this.set)for(const e of t)if("string"!=typeof e)return!0;return!1}debug(...t){}make(){const t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],e.debug&&(this.debug=(...t)=>console.error(...t)),this.debug(this.pattern,this.globSet);const n=this.globSet.map((t=>this.slashSplit(t)));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let s=this.globParts.map((t=>{if(this.isWindows&&this.windowsNoMagicRoot){const e=!(""!==t[0]||""!==t[1]||"?"!==t[2]&&ye.test(t[2])||ye.test(t[3])),n=/^[a-z]:/i.test(t[0]);if(e)return[...t.slice(0,4),...t.slice(4).map((t=>this.parse(t)))];if(n)return[t[0],...t.slice(1).map((t=>this.parse(t)))]}return t.map((t=>this.parse(t)))}));if(this.debug(this.pattern,s),this.set=s.filter((t=>-1===t.indexOf(!1))),this.isWindows)for(let t=0;t<this.set.length;t++){const e=this.set[t];""===e[0]&&""===e[1]&&"?"===this.globParts[t][2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])&&(e[2]="?")}this.debug(this.pattern,this.set)}preprocess(t){if(this.options.noglobstar)for(let e=0;e<t.length;e++)for(let n=0;n<t[e].length;n++)"**"===t[e][n]&&(t[e][n]="*");const{optimizationLevel:e=1}=this.options;return e>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=e>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map((t=>{let e=-1;for(;-1!==(e=t.indexOf("**",e+1));){let n=e;for(;"**"===t[n+1];)n++;n!==e&&t.splice(e,n-e)}return t}))}levelOneOptimize(t){return t.map((t=>0===(t=t.reduce(((t,e)=>{const n=t[t.length-1];return"**"===e&&"**"===n?t:".."===e&&n&&".."!==n&&"."!==n&&"**"!==n?(t.pop(),t):(t.push(e),t)}),[])).length?[""]:t))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let e=!1;do{if(e=!1,!this.preserveMultipleSlashes){for(let n=1;n<t.length-1;n++){const s=t[n];1===n&&""===s&&""===t[0]||"."!==s&&""!==s||(e=!0,t.splice(n,1),n--)}"."!==t[0]||2!==t.length||"."!==t[1]&&""!==t[1]||(e=!0,t.pop())}let n=0;for(;-1!==(n=t.indexOf("..",n+1));){const s=t[n-1];s&&"."!==s&&".."!==s&&"**"!==s&&(e=!0,t.splice(n-1,2),n-=2)}}while(e);return 0===t.length?[""]:t}firstPhasePreProcess(t){let e=!1;do{e=!1;for(let n of t){let s=-1;for(;-1!==(s=n.indexOf("**",s+1));){let o=s;for(;"**"===n[o+1];)o++;o>s&&n.splice(s+1,o-s);const i=n[s+2],r=n[s+3];if(".."!==n[s+1])continue;if(!i||"."===i||".."===i||!r||"."===r||".."===r)continue;e=!0,n.splice(s,1);const l=n.slice(0);l[s]="**",t.push(l),s--}if(!this.preserveMultipleSlashes){for(let t=1;t<n.length-1;t++){const s=n[t];1===t&&""===s&&""===n[0]||"."!==s&&""!==s||(e=!0,n.splice(t,1),t--)}"."!==n[0]||2!==n.length||"."!==n[1]&&""!==n[1]||(e=!0,n.pop())}let o=0;for(;-1!==(o=n.indexOf("..",o+1));){const t=n[o-1];t&&"."!==t&&".."!==t&&"**"!==t&&(e=!0,n.splice(o-1,2,...1===o&&"**"===n[o+1]?["."]:[]),0===n.length&&n.push(""),o-=2)}}}while(e);return t}secondPhasePreProcess(t){for(let e=0;e<t.length-1;e++)for(let n=e+1;n<t.length;n++){const s=this.partsMatch(t[e],t[n],!this.preserveMultipleSlashes);s&&(t[e]=s,t[n]=[])}return t.filter((t=>t.length))}partsMatch(t,e,n=!1){let s=0,o=0,i=[],r="";for(;s<t.length&&o<e.length;)if(t[s]===e[o])i.push("b"===r?e[o]:t[s]),s++,o++;else if(n&&"**"===t[s]&&e[o]===t[s+1])i.push(t[s]),s++;else if(n&&"**"===e[o]&&t[s]===e[o+1])i.push(e[o]),o++;else if("*"!==t[s]||!e[o]||!this.options.dot&&e[o].startsWith(".")||"**"===e[o]){if("*"!==e[o]||!t[s]||!this.options.dot&&t[s].startsWith(".")||"**"===t[s])return!1;if("a"===r)return!1;r="b",i.push(e[o]),s++,o++}else{if("b"===r)return!1;r="a",i.push(t[s]),s++,o++}return t.length===e.length&&i}parseNegate(){if(this.nonegate)return;const t=this.pattern;let e=!1,n=0;for(let s=0;s<t.length&&"!"===t.charAt(s);s++)e=!e,n++;n&&(this.pattern=t.slice(n)),this.negate=e}matchOne(t,e,n=!1){const s=this.options;if(this.isWindows){const n="string"==typeof t[0]&&/^[a-z]:$/i.test(t[0]),s=!n&&""===t[0]&&""===t[1]&&"?"===t[2]&&/^[a-z]:$/i.test(t[3]),o="string"==typeof e[0]&&/^[a-z]:$/i.test(e[0]),i=s?3:n?0:void 0,r=!o&&""===e[0]&&""===e[1]&&"?"===e[2]&&"string"==typeof e[3]&&/^[a-z]:$/i.test(e[3])?3:o?0:void 0;if("number"==typeof i&&"number"==typeof r){const[n,s]=[t[i],e[r]];n.toLowerCase()===s.toLowerCase()&&(e[r]=n,r>i?e=e.slice(r):i>r&&(t=t.slice(i)))}}const{optimizationLevel:o=1}=this.options;o>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,r=0,l=t.length,c=e.length;i<l&&r<c;i++,r++){this.debug("matchOne loop");var a=e[r],u=t[i];if(this.debug(e,a,u),!1===a)return!1;if(a===ge){this.debug("GLOBSTAR",[e,a,u]);var f=i,h=r+1;if(h===c){for(this.debug("** at the end");i<l;i++)if("."===t[i]||".."===t[i]||!s.dot&&"."===t[i].charAt(0))return!1;return!0}for(;f<l;){var d=t[f];if(this.debug("\nglobstar while",t,f,e,h,d),this.matchOne(t.slice(f),e.slice(h),n))return this.debug("globstar found match!",f,l,d),!0;if("."===d||".."===d||!s.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,f,e,h);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!n||(this.debug("\n>>> no match, partial?",t,f,e,h),f!==l))}let o;if("string"==typeof a?(o=u===a,this.debug("string match",a,u,o)):(o=a.test(u),this.debug("pattern match",a,u,o)),!o)return!1}if(i===l&&r===c)return!0;if(i===l)return n;if(r===c)return i===l-1&&""===t[i];throw Error("wtf?")}braceExpand(){return $e(this.pattern,this.options)}parse(t){_t(t);const e=this.options;if("**"===t)return ge;if(""===t)return"";let n,s=null;(n=t.match(re))?s=e.dot?ce:le:(n=t.match(Xt))?s=(e.nocase?e.dot?te:Qt:e.dot?Kt:qt)(n[1]):(n=t.match(ae))?s=(e.nocase?e.dot?fe:ue:e.dot?he:de)(n):(n=t.match(ee))?s=e.dot?se:ne:(n=t.match(oe))&&(s=ie);const o=Jt.fromGlob(t,this.options).toMMPattern();return s&&"object"==typeof o&&Reflect.defineProperty(o,"test",{value:s}),o}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const t=this.set;if(!t.length)return this.regexp=!1,this.regexp;const e=this.options,n=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",s=new Set(e.nocase?["i"]:[]);let o=t.map((t=>{const e=t.map((t=>{if(t instanceof RegExp)for(const e of t.flags.split(""))s.add(e);return"string"==typeof t?(t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))(t):t===ge?ge:t._src}));return e.forEach(((t,s)=>{const o=e[s+1],i=e[s-1];t===ge&&i!==ge&&(void 0===i?void 0!==o&&o!==ge?e[s+1]="(?:\\/|"+n+"\\/)?"+o:e[s]=n:void 0===o?e[s-1]=i+"(?:\\/|"+n+")?":o!==ge&&(e[s-1]=i+"(?:\\/|\\/"+n+"\\/)"+o,e[s+1]=ge))})),e.filter((t=>t!==ge)).join("/")})).join("|");const[i,r]=t.length>1?["(?:",")"]:["",""];o="^"+i+o+r+"$",this.negate&&(o="^(?!"+o+").+$");try{this.regexp=RegExp(o,[...s].join(""))}catch(t){this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,e=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;const n=this.options;this.isWindows&&(t=t.split("\\").join("/"));const s=this.slashSplit(t);this.debug(this.pattern,"split",s);const o=this.set;this.debug(this.pattern,"set",o);let i=s[s.length-1];if(!i)for(let t=s.length-2;!i&&t>=0;t--)i=s[t];for(let t=0;t<o.length;t++){const r=o[t];let l=s;if(n.matchBase&&1===r.length&&(l=[i]),this.matchOne(l,r,e))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate}static defaults(t){return Zt.defaults(t).Minimatch}};function Se(t){var e,n,s;return null!=(s=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?s:void 0}Zt.AST=Jt,Zt.Minimatch=we,Zt.escape=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&"),Zt.unescape=Pt;var Oe=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),xe=class t{static fromLocalValue(e){const n=e[I],s=W in e?e[W]:void 0;switch(n){case"string":case"boolean":return s;case"bigint":return BigInt(s);case"undefined":return;case"null":return null;case"number":return"NaN"===s?NaN:"-0"===s?-0:"Infinity"===s?1/0:"-Infinity"===s?-1/0:s;case"array":return s.map((e=>t.fromLocalValue(e)));case"date":return new Date(s);case"map":const e=new Map;for(const[n,o]of s){const s="object"==typeof n&&null!==n?t.fromLocalValue(n):n,i=t.fromLocalValue(o);e.set(s,i)}return e;case"object":const o={};for(const[e,n]of s)o[e]=t.fromLocalValue(n);return o;case"regexp":const{pattern:i,flags:r}=s;return RegExp(i,r);case"set":const l=new Set;for(const e of s)l.add(t.fromLocalValue(e));return l;case"symbol":return Symbol(s);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(I))return!1;const e=t[I];return!!Object.values({...P,...D}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(W))}};((t,e)=>{for(var n in e)w(t,n,{get:e[n],enumerable:!0})})({},{err:()=>Ee,map:()=>ke,ok:()=>je,unwrap:()=>Ne,unwrapErr:()=>_e});var je=t=>({isOk:!0,isErr:!1,value:t}),Ee=t=>({isOk:!1,isErr:!0,value:t});function ke(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>je(t))):je(n)}if(t.isErr)return Ee(t.value);throw"should never get here"}var Ce,Ne=t=>{if(t.isOk)return t.value;throw t.value},_e=t=>{if(t.isErr)return t.value;throw t.value};function Me(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===Ce&&(Ce=null),Ce&&(mt?s.adoptedStyleSheets.push(Ce):s.adoptedStyleSheets=[...s.adoptedStyleSheets,Ce])}var Te=t=>{const e=un(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&Le(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!Ae(t,Ie(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&un(t,"childNodes").length&&Te(t)}},Re=t=>{const e=[];for(let n=0;n<t.length;n++){const s=t[n]["s-nr"]||void 0;s&&s.isConnected&&e.push(s)}return e};function Le(t,e,n){let s,o=0,i=[];for(;o<t.length;o++){if(s=t[o],s["s-sr"]&&(!e||s["s-hn"]===e)&&(void 0===n||Ie(s)===n)&&(i.push(s),void 0!==n))return i;i=[...i,...Le(s.childNodes,e,n)]}return i}var Ae=(t,e,n=!0)=>{const s=[];(n&&t["s-sr"]||!t["s-sr"])&&s.push(t);let o=t;for(;o=o.nextSibling;)Ie(o)!==e||!n&&o["s-sr"]||s.push(o);return s},Pe=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,De=(t,n,s,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const i=document.createTextNode("");if(i["s-nr"]=t,!n["s-cr"]||!n["s-cr"].parentNode)return;const r=n["s-cr"].parentNode,l=un(r,s?"prepend":"appendChild");if(e.hydrateClientSide&&void 0!==o){i["s-oo"]=o;const t=un(r,"childNodes"),e=[i];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(r,t)))}else l.call(r,i);t["s-ol"]=i,t["s-sh"]=n["s-hn"]},Ie=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function We(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],s=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 o=this["s-cr"].parentElement;return(o.__childNodes?o.childNodes:Re(o.childNodes)).forEach((t=>{s===Ie(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function ze(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function He(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const s=t["s-sn"]=Ie(t)||"";return{slotNode:Le(un(e,"childNodes"),e.tagName,s)[0],slotName:s}}var Fe=t=>{Be(t),Ue(t),Ye(t),Ge(t),qe(t),Je(t),Ze(t),Xe(t),Ke(t),Qe(t),Ve(t)},Be=t=>{const n=t.cloneNode;t.cloneNode=function(t){const s=!!e.shadowDom&&this.shadowRoot&&ht,o=n.call(this,!!s&&t);if(e.slot&&!s&&t){let t,n,s=0;const i=["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"],r=this.__childNodes||this.childNodes;for(;s<r.length;s++)t=r[s]["s-nr"],n=i.every((t=>!r[s][t])),t&&(e.appendChildSlotFix&&o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),n&&o.appendChild(r[s].cloneNode(!0))}return o}},Ue=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=He(t,this);if(n){De(t,n);const s=Ae(n,e),o=s[s.length-1],i=un(o,"parentNode"),r=un(i,"insertBefore")(t,o.nextSibling);return ze(n),Te(this),r}return this.__appendChild(t)}},Ve=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&Le(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void Te(this)):this.__removeChild(t)}},Ge=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=Ie(e))||"",s=Le(un(this,"childNodes"),this.tagName,n)[0];if(s){De(e,s,!0);const t=Ae(s,n)[0],o=un(t,"parentNode"),i=un(o,"insertBefore")(e,un(t,"nextSibling"));return ze(s),i}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},Ye=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},Je=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const s=this.ownerDocument.createElement("_");let o;if(s.innerHTML=n,"afterbegin"===t)for(;o=s.firstChild;)this.prepend(o);else if("beforeend"===t)for(;o=s.firstChild;)this.append(o)}},Ze=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},Xe=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:s}=He(t,this),o=this.__childNodes?this.childNodes:Re(this.childNodes);if(s){let i=!1;if(o.forEach((o=>{if(o!==e&&null!==e);else{if(i=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){De(t,s);const n=un(e,"parentNode");un(n,"insertBefore")(t,e),ze(s)}}})),i)return t}const i=null==e?void 0:e.__parentNode;return i&&!this.isSameNode(i)?this.appendChild(t):this.__insertBefore(t,e)})},qe=t=>{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}},Ke=t=>{an("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:Re(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:Re(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},Qe=t=>{class e extends Array{item(t){return this[t]}}an("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),an("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),an("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),an("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...Re(this.__childNodes)),t}})},tn=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(en(t),sn(t),rn(t),t.nodeType===Node.ELEMENT_NODE&&(nn(t),on(t)))},en=t=>{t&&!t.__nextSibling&&(an("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}}))},nn=t=>{t&&!t.__nextElementSibling&&(an("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}}))},sn=t=>{t&&!t.__previousSibling&&(an("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}}))},on=t=>{t&&!t.__previousElementSibling&&(an("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}}))},rn=t=>{t&&!t.__parentNode&&(an("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}}))},ln=["children","nextElementSibling","previousElementSibling"],cn=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function an(t,e){if(!globalThis.Node||!globalThis.Element)return;let n;ln.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):cn.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function un(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 fn=0,hn=(t,n="")=>{if(e.profile&&performance.mark){const e=`st:${t}:${n}:${fn++}`;return performance.mark(e),()=>performance.measure(`[Stencil] ${t}() <${n}>`,e)}return()=>{}},dn=new WeakMap,pn=(t,e,n)=>{let s=Q.get(t);pt&&n?(s=s||new CSSStyleSheet,"string"==typeof s?s=e:s.replaceSync(e)):s=e,Q.set(t,s)},mn=(t,n,s)=>{var o,i,r;const l=gn(n,s),c=Q.get(l);if(!e.attachStyles||!at.document)return l;if(t=11===t.nodeType?t:at.document,c)if("string"==typeof c){let s,r=dn.get(t=t.head||t);r||dn.set(t,r=new Set);const a=(e.hydrateClientSide||e.hotModuleReplacement)&&t.querySelector(`[${nt}="${l}"]`);if(a)a.innerHTML=c;else if(!r.has(l)){s=at.document.createElement("style"),s.innerHTML=c;const a=null!=(o=ft.M)?o:Se(at.document);if(null!=a&&s.setAttribute("nonce",a),(e.hydrateServerSide||e.hotModuleReplacement)&&(2&n.u||128&n.u||1&n.u)&&s.setAttribute(nt,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(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(pt){const e=new(null!=(i=t.defaultView)?i:t.ownerDocument.defaultView).CSSStyleSheet;e.replaceSync(c),mt?t.adoptedStyleSheets.unshift(e):t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=c+e.innerHTML:t.prepend(s)}else t.append(s);1&n.u&&t.insertBefore(s,null),4&n.u&&(s.innerHTML+=rt),r&&r.add(l)}}else if(e.constructableCSS){let e=dn.get(t);if(e||dn.set(t,e=new Set),!e.has(l)){const n=null!=(r=t.defaultView)?r:t.ownerDocument.defaultView;let s;if(c.constructor===n.CSSStyleSheet)s=c;else{s=new n.CSSStyleSheet;for(let t=0;t<c.cssRules.length;t++)s.insertRule(c.cssRules[t].cssText,t)}mt?t.adoptedStyleSheets.push(s):t.adoptedStyleSheets=[...t.adoptedStyleSheets,s],e.add(l)}}return l},vn=t=>{const n=t.o,s=t.$hostElement$,o=n.u,i=hn("attachStyles",n.k),r=mn(e.shadowDom&&ht&&s.shadowRoot?s.shadowRoot:s.getRootNode(),n,t.N);(e.shadowDom||e.scoped)&&e.cssAnnotations&&10&o&&(s["s-sc"]=r,s.classList.add(r+"-h")),i()},gn=(t,n)=>"sc-"+(e.mode&&n&&32&t.u?t.k+"-"+n:t.k),bn=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),$n=()=>{if(!at.document)return;const t=at.document.querySelectorAll(`[${nt}]`);let e=0;for(;e<t.length;e++)pn(t[e].getAttribute(nt),bn(t[e].innerHTML),!0)},yn=(t,n,...s)=>{"string"==typeof t&&(t=jo(t));let o=null,i=null,r=null,l=!1,c=!1;const a=[],u=n=>{for(let s=0;s<n.length;s++)o=n[s],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((l="function"!=typeof t&&!Ct(o))?o+="":e.isDev&&"function"!=typeof t&&void 0===o.u&&J("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].T+=o:a.push(l?wn(null,o):o),c=l)};if(u(s),n&&(e.isDev&&"input"===t&&kn(n),e.vdomKey&&n.key&&(i=n.key),e.slotRelocation&&n.name&&(r=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(On)&&J("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,xn);const f=wn(t,null);return f.R=n,a.length>0&&(f.L=a),e.vdomKey&&(f.A=i),e.slotRelocation&&(f.P=r),f},wn=(t,n)=>{const s={u:0,D:t,T:n,I:null,L:null};return e.vdomAttribute&&(s.R=null),e.vdomKey&&(s.A=null),e.slotRelocation&&(s.P=null),s},Sn={},On=t=>t&&t.D===Sn,xn={forEach:(t,e)=>t.map(jn).forEach(e),map:(t,e)=>t.map(jn).map(e).map(En)},jn=t=>({vattrs:t.R,vchildren:t.L,vkey:t.A,vname:t.P,vtag:t.D,vtext:t.T}),En=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),yn(t.vtag,e,...t.vchildren||[])}const e=wn(t.vtag,t.vtext);return e.R=t.vattrs,e.L=t.vchildren,e.A=t.vkey,e.P=t.vname,e},kn=t=>{const e=Object.keys(t),n=e.indexOf("value");if(-1===n)return;const s=e.indexOf("type"),o=e.indexOf("min"),i=e.indexOf("max"),r=e.indexOf("step");(n<s||n<o||n<i||n<r)&&Z('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},Cn=(t,n,s,o,i,r,l,c=[])=>{let a,u,f,h;const d=i["s-sc"];if(1===r.nodeType){if(a=r.getAttribute(st),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=_n({u:0,W:u[0],F:u[1],B:u[2],U:u[3],D:r.tagName.toLowerCase(),I:r,R:{class:r.className||""}}),n.push(f),r.removeAttribute(st),t.L||(t.L=[]),e.scoped&&d&&u[0]===l&&(r["s-si"]=d,f.R.class+=" "+d);const i=f.I.getAttribute("s-sn");"string"==typeof i&&("slot-fb"===f.D&&(Mn(i,u[2],f,r,t,n,s,o,c),e.scoped&&d&&r.classList.add(d)),f.I["s-sn"]=i,f.I.removeAttribute("s-sn")),void 0!==f.U&&(t.L[f.U]=f),t=f,o&&"0"===f.B&&(o[f.U]=f.I)}if(r.shadowRoot)for(h=r.shadowRoot.childNodes.length-1;h>=0;h--)Cn(t,n,s,o,i,r.shadowRoot.childNodes[h],l,c);const p=r.__childNodes||r.childNodes;for(h=p.length-1;h>=0;h--)Cn(t,n,s,o,i,p[h],l,c)}else if(8===r.nodeType)u=r.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=_n({W:u[1],F:u[2],B:u[3],U:u[4]||"0",I:r,R:null,L:null,A:null,P:null,D:null,T:null}),"t"===a?(f.I=Pn(r,3),f.I&&3===f.I.nodeType&&(f.T=f.I.textContent,n.push(f),r.remove(),l===f.W&&(t.L||(t.L=[]),t.L[f.U]=f),o&&"0"===f.B&&(o[f.U]=f.I))):"c"===a?(f.I=Pn(r,8),f.I&&8===f.I.nodeType&&(n.push(f),r.remove())):f.W===l&&("s"===a?Mn(r["s-sn"]=u[5]||"",u[2],f,r,t,n,s,o,c):"r"===a&&(e.shadowDom&&o?r.remove():e.slotRelocation&&(i["s-cr"]=r,r["s-cn"]=!0))));else if(t&&"style"===t.D){const e=wn(null,r.textContent);e.I=r,e.U="0",t.L=[e]}return t},Nn=(t,e)=>{if(1===t.nodeType){const n=t[et]||t.getAttribute(et);n&&e.set(n,t);let s=0;if(t.shadowRoot)for(;s<t.shadowRoot.childNodes.length;s++)Nn(t.shadowRoot.childNodes[s],e);const o=t.__childNodes||t.childNodes;for(s=0;s<o.length;s++)Nn(o[s],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])}},_n=t=>({u:0,W:null,F:null,B:null,U:"0",I:null,R:null,L:null,A:null,P:null,D:null,T:null,...t});function Mn(t,n,s,o,i,r,l,c,a){o["s-sr"]=!0,s.P=t||null,s.D="slot";const u=(null==i?void 0:i.I)?i.I["s-id"]||i.I.getAttribute("s-id"):"";if(e.shadowDom&&c&&at.document){const e=s.I=at.document.createElement(s.D);s.P&&s.I.setAttribute("name",t),i.I.shadowRoot&&u&&u!==s.W?un(i.I,"insertBefore")(e,un(i.I,"children")[0]):un(un(o,"parentNode"),"insertBefore")(e,o),An(a,n,t,o,s.W),o.remove(),"0"===s.B&&(c[s.U]=s.I)}else{const e=s.I,r=u&&u!==s.W&&i.I.shadowRoot;An(a,n,t,o,r?u:s.W),We(o),r&&i.I.insertBefore(e,i.I.children[0])}r.push(s),l.push(s),i.L||(i.L=[]),i.L[s.U]=s}var Tn,Rn,Ln,An=(t,e,n,s,o)=>{var i,r;let l=s.nextSibling;if(t[e]=t[e]||[],l&&!(null==(i=l.nodeValue)?void 0:i.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:s,node:l,hostId:o})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))},Pn=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Dn="-shadowcsshost",In="-shadowcssslotted",Wn="-shadowcsscontext",zn=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",Hn=RegExp("("+Dn+zn,"gim"),Fn=RegExp("("+Wn+zn,"gim"),Bn=RegExp("("+In+zn,"gim"),Un=Dn+"-no-combinator",Vn=/-shadowcsshost-no-combinator([^\s]*)/,Gn=[/::shadow/g,/::content/g],Yn=/__part-(\d+)__/g,Jn=/-shadowcsshost/gim,Zn=t=>{const e=Oe(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")},Xn=Zn("::slotted"),qn=Zn(":host"),Kn=Zn(":host-context"),Qn=/\/\*\s*[\s\S]*?\*\//g,ts=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,es=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,ns=/([{}])/g,ss=/(^.*?[^\\])??((:+)(.*)|$)/,os="%BLOCK%",is=(t,e)=>{const n=rs(t);let s=0;return n.escapedString.replace(es,((...t)=>{const o=t[2];let i="",r=t[4],l="";r&&r.startsWith("{"+os)&&(i=n.blocks[s++],r=r.substring(8),l="{");const c=e({selector:o,content:i});return`${t[1]}${c.selector}${t[3]}${l}${c.content}${r}`}))},rs=t=>{const e=t.split(ns),n=[],s=[];let o=0,i=[];for(let t=0;t<e.length;t++){const r=e[t];"}"===r&&o--,o>0?i.push(r):(i.length>0&&(s.push(i.join("")),n.push(os),i=[]),n.push(r)),"{"===r&&o++}return i.length>0&&(s.push(i.join("")),n.push(os)),{escapedString:n.join(""),blocks:s}},ls=(t,e,n)=>t.replace(e,((...t)=>{if(t[2]){const e=t[2].split(","),s=[];for(let o=0;o<e.length;o++){const i=e[o].trim();if(!i)break;s.push(n(Un,i,t[3]))}return s.join(",")}return Un+t[3]})),cs=(t,e,n)=>t+e.replace(Dn,"")+n,as=(t,e,n)=>e.indexOf(Dn)>-1?cs(t,e,n):t+e+n+", "+e+" "+t+n,us=(t,e)=>t.replace(ss,((t,n="",s,o="",i="")=>n+e+o+i)),fs=(t,e,n,s)=>is(t,(t=>{let o=t.selector,i=t.content;return"@"!==t.selector[0]?o=((t,e,n,s)=>t.split(",").map((t=>s&&t.indexOf("."+s)>-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 s="."+(e=e.replace(/\[is=([^\]]*)\]/g,((t,...e)=>e[0]))),o=t=>{let o=t.trim();if(!o)return"";if(t.indexOf(Un)>-1)o=((t,e,n)=>{if(Jn.lastIndex=0,Jn.test(t)){const e="."+n;return t.replace(Vn,((t,n)=>us(n,e))).replace(Jn,e+" ")}return e+" "+t})(t,e,n);else{const e=t.replace(Jn,"");e.length>0&&(o=us(e,s))}return o},i=(t=>{const e=[];let n=0;return{content:(t=(t=t.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((t,s)=>{const o=`__part-${n}__`;return e.push(s),n++,o}))).replace(/(\[[^\]]*\])/g,((t,s)=>{const o=`__ph-${n}__`;return e.push(s),n++,o}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((t,s,o)=>{const i=`__ph-${n}__`;return e.push(o),n++,s+i})),placeholders:e}})(t);let r,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((t=i.content).indexOf(Un)>-1);for(;null!==(r=a.exec(t));){const e=r[1],n=t.slice(c,r.index).trim();u=u||n.indexOf(Un)>-1,l+=`${u?o(n):n} ${e} `,c=a.lastIndex}const f=t.substring(c);return u=!f.match(Yn)&&(u||f.indexOf(Un)>-1),l+=u?o(f):f,((t,e)=>(e=e.replace(/__part-(\d+)__/g,((e,n)=>t[+n]))).replace(/__ph-(\d+)__/g,((e,n)=>t[+n])))(i.placeholders,l)})(t,e,n).trim():t.trim())).join(", "))(t.selector,e,n,s):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(i=fs(t.content,e,n,s)),{selector:o.replace(/\s{2,}/g," ").trim(),content:i}})),hs=(t,e)=>t.replace(/-shadowcsshost-no-combinator/g,"."+e),ds=(t,e)=>{const n=e+"-h",s=e+"-s",o=(t=>t.match(ts)||[])(t);t=(t=>t.replace(Qn,""))(t);const i=[];{const e=t=>{const e=`/*!@___${i.length}___*/`;return i.push({placeholder:e,comment:`/*!@${t.selector}*/`}),t.selector=e+t.selector,t};t=is(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=is(t.content,e),t):t))}const r=((t,e,n,s)=>{const o=((t,e)=>{const n="."+e+" > ",s=[];return t=t.replace(Bn,((...t)=>{if(t[2]){const e=t[2].trim(),o=n+e+t[3];let i="";for(let e=t[4]-1;e>=0;e--){const n=t[5][e];if("}"===n||","===n)break;i=n+i}const r=(i+o).trim(),l=`${i.trimEnd()}${o.trim()}`.trim();return r!==l&&s.push({orgSelector:r,updatedSelector:`${l}, ${r}`}),o}return Un+t[3]})),{selectors:s,cssText:t}})(t=(t=>ls(t,Fn,as))(t=(t=>ls(t,Hn,cs))(t=(t=>{const e=[];return t=(t=t.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((t,n)=>{const s=`__supports_${e.length}__`;return e.push(n),`@supports selector(${s})`}))).replace(Kn,"$1"+Wn).replace(qn,"$1"+Dn).replace(Xn,"$1"+In),e.forEach(((e,n)=>{t=t.replace(`__supports_${n}__`,e)})),t})(t))),s);return t=(t=>Gn.reduce(((t,e)=>t.replace(e," ")),t))(t=o.cssText),e&&(t=fs(t,e,n,s)),{cssText:(t=(t=hs(t,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:o.selectors.map((t=>({orgSelector:hs(t.orgSelector,n),updatedSelector:hs(t.updatedSelector,n)})))}})(t,e,n,s);return t=[r.cssText,...o].join("\n"),i.forEach((({placeholder:e,comment:n})=>{t=t.replace(e,n)})),r.slottedSelectors.forEach((e=>{const n=RegExp(Oe(e.orgSelector),"g");t=t.replace(n,e.updatedSelector)})),t=(t=>{const e=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return is(t,(t=>{if("@"===t.selector[0])return t;const n=t.selector.split(",").map((n=>{const s=[n.trim()];let o;for(;null!==(o=e.exec(n));){const e=o[1].trimEnd(),i=o[2].trim().split(/\s+/),r=o[3]||"",l=i.flatMap((e=>t.selector.includes(`[part~="${e}"]`)?[]:[`[part~="${e}"]`])).join(""),c=`${e} ${l}${r}`;l&&c!==n.trim()&&s.push(c)}return s.join(", ")}));return t.selector=n.join(", "),t}))})(t)},ps=t=>tt.map((e=>e(t))).find((t=>!!t)),ms=(t,n,s)=>(e.hydrateClientSide||e.hydrateServerSide)&&"string"==typeof t&&t.startsWith(z)?t=function(t){return"string"==typeof t&&t.startsWith(z)?xe.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||Ct(t)?t:e.propBoolean&&4&n?(e.formAssociated&&s&&"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,vs=t=>{var n;return e.lazyLoad?null==(n=F(t))?void 0:n.$hostElement$:t},gs=(t,e,n)=>{const s=ft.ce(e,n);return t.dispatchEvent(s),s},bs=(t,n,s,o,i,r,l)=>{if(s===o)return;let c=V(t,n),a=n.toLowerCase();if(e.vdomClass&&"class"===n){const n=t.classList,i=ys(s);let r=ys(o);if(e.hydrateClientSide&&(t["s-si"]||t["s-sc"])&&l){const e=t["s-sc"]||t["s-si"];r.push(e),i.forEach((t=>{t.startsWith(e)&&r.push(t)})),r=[...new Set(r)].filter((t=>t)),n.add(...r)}else n.remove(...i.filter((t=>t&&!r.includes(t)))),n.add(...r.filter((t=>t&&!i.includes(t))))}else if(e.vdomStyle&&"style"===n){if(e.updatable)for(const n in s)o&&null!=o[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in o)s&&o[n]===s[n]||(!e.hydrateServerSide&&n.includes("-")?t.style.setProperty(n,o[n]):t.style[n]=o[n])}else if(e.vdomKey&&"key"===n);else if(e.vdomRef&&"ref"===n)o&&o(t);else if(!e.vdomListener||(e.lazyLoad?c:t.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(e.vdomPropOrAttr){const l=Ct(o);if((c||l&&null!==o)&&!i)try{if(t.tagName.includes("-"))t[n]!==o&&(t[n]=o);else{const e=null==o?"":o;"list"===n?c=!1:null!=s&&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==o||!1===o?!1===o&&""!==t.getAttribute(n)||(e.vdomXlink&&u?t.removeAttributeNS(lt,n):t.removeAttribute(n)):(!c||4&r||i)&&!l&&1===t.nodeType&&(o=!0===o?"":o,e.vdomXlink&&u?t.setAttributeNS(lt,n,o):t.setAttribute(n,o))}}else if(n="-"===n[2]?n.slice(3):V(at,a)?a.slice(2):a[2]+n.slice(3),s||o){const e=n.endsWith(ws);n=n.replace(Ss,""),s&&ft.rel(t,n,s,e),o&&ft.ael(t,n,o,e)}},$s=/\s/,ys=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split($s):[]),ws="Capture",Ss=RegExp(ws+"$"),Os=(t,n,s,o)=>{const i=11===n.I.nodeType&&n.I.host?n.I.host:n.I,r=t&&t.R||{},l=n.R||{};if(e.updatable)for(const t of xs(Object.keys(r)))t in l||bs(i,t,r[t],void 0,s,n.u,o);for(const t of xs(Object.keys(l)))bs(i,t,r[t],l[t],s,n.u,o)};function xs(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var js=!1,Es=!1,ks=!1,Cs=!1,Ns=(t,n,s)=>{var o;const i=n.L[s];let r,l,c,a=0;if(e.slotRelocation&&!js&&(ks=!0,"slot"===i.D&&(i.u|=i.L?2:1)),e.isDev&&i.I&&J(`The JSX ${null!==i.T?`"${i.T}" text`:`"${i.D}" 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!==i.T)r=i.I=at.document.createTextNode(i.T);else if(e.slotRelocation&&1&i.u)r=i.I=e.isDebug||e.hydrateServerSide?Bs(i):at.document.createTextNode(""),e.vdomAttribute&&Os(null,i,Cs);else{if(e.svg&&!Cs&&(Cs="svg"===i.D),!at.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(r=i.I=e.svg?at.document.createElementNS(Cs?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!js&&e.slotRelocation&&2&i.u?"slot-fb":i.D):at.document.createElement(!js&&e.slotRelocation&&2&i.u?"slot-fb":i.D),e.svg&&Cs&&"foreignObject"===i.D&&(Cs=!1),e.vdomAttribute&&Os(null,i,Cs),(e.scoped||e.hydrateServerSide)&&null!=Tn&&void 0!==Tn&&r["s-si"]!==Tn&&r.classList.add(r["s-si"]=Tn),i.L){const e="template"===i.D?r.content:r;for(a=0;a<i.L.length;++a)l=Ns(t,i,a),l&&e.appendChild(l)}e.svg&&("svg"===i.D?Cs=!1:"foreignObject"===r.tagName&&(Cs=!0))}return r["s-hn"]=Ln,e.slotRelocation&&3&i.u&&(r["s-sr"]=!0,r["s-cr"]=Rn,r["s-sn"]=i.P||"",r["s-rf"]=null==(o=i.R)?void 0:o.ref,We(r),c=t&&t.L&&t.L[s],c&&c.D===i.D&&t.I&&(e.experimentalSlotFixes?_s(t.I):Ms(t.I,!1)),(e.scoped||e.hydrateServerSide)&&Hs(Rn,r,n.I,null==t?void 0:t.I)),r},_s=t=>{ft.u|=1;const e=t.closest(Ln.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),s=Array.from(t.__childNodes||t.childNodes);for(const t of n?s.reverse():s)null!=t["s-sh"]&&(zs(e,t,null!=n?n:null),t["s-sh"]=void 0,ks=!0)}ft.u&=-2},Ms=(t,n)=>{ft.u|=1;const s=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]&&e.experimentalSlotFixes){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Ln&&s.push(e)}for(let t=s.length-1;t>=0;t--){const e=s[t];e["s-hn"]!==Ln&&e["s-ol"]&&(zs(As(e).parentNode,e,As(e)),e["s-ol"].remove(),e["s-ol"]=void 0,e["s-sh"]=void 0,ks=!0),n&&Ms(e,n)}ft.u&=-2},Ts=(t,n,s,o,i,r)=>{let l,c=e.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(e.shadowDom&&c.shadowRoot&&c.tagName===Ln&&(c=c.shadowRoot),"template"===s.D&&(c=c.content);i<=r;++i)o[i]&&(l=Ns(null,s,i),l&&(o[i].I=l,zs(c,l,e.slotRelocation?As(n):n)))},Rs=(t,n,s)=>{for(let o=n;o<=s;++o){const n=t[o];if(n){const t=n.I;Ws(n),t&&(e.slotRelocation&&(Es=!0,t["s-ol"]?t["s-ol"].remove():Ms(t,!0)),t.remove())}}},Ls=(t,n,s=!1)=>t.D===n.D&&(e.slotRelocation&&"slot"===t.D?t.P===n.P:e.vdomKey&&!s?t.A===n.A:(s&&!t.A&&n.A&&(t.A=n.A),!0)),As=t=>t&&t["s-ol"]||t,Ps=(t,n,s=!1)=>{const o=n.I=t.I,i=t.L,r=n.L,l=n.D,c=n.T;let a;e.vdomText&&null!==c?e.vdomText&&e.slotRelocation&&(a=o["s-cr"])?a.parentNode.textContent=c:e.vdomText&&t.T!==c&&(o.data=c):(e.svg&&(Cs="svg"===l||"foreignObject"!==l&&Cs),(e.vdomAttribute||e.reflect)&&(e.slot&&"slot"===l&&!js&&e.experimentalSlotFixes&&t.P!==n.P&&(n.I["s-sn"]=n.P||"",_s(n.I.parentElement)),Os(t,n,Cs,s)),e.updatable&&null!==i&&null!==r?((t,n,s,o,i=!1)=>{let r,l,c=0,a=0,u=0,f=0,h=n.length-1,d=n[0],p=n[h],m=o.length-1,v=o[0],g=o[m];const b="template"===s.D?t.content:t;for(;c<=h&&a<=m;)if(null==d)d=n[++c];else if(null==p)p=n[--h];else if(null==v)v=o[++a];else if(null==g)g=o[--m];else if(Ls(d,v,i))Ps(d,v,i),d=n[++c],v=o[++a];else if(Ls(p,g,i))Ps(p,g,i),p=n[--h],g=o[--m];else if(Ls(d,g,i))!e.slotRelocation||"slot"!==d.D&&"slot"!==g.D||Ms(d.I.parentNode,!1),Ps(d,g,i),zs(b,d.I,p.I.nextSibling),d=n[++c],g=o[--m];else if(Ls(p,v,i))!e.slotRelocation||"slot"!==d.D&&"slot"!==g.D||Ms(p.I.parentNode,!1),Ps(p,v,i),zs(b,p.I,d.I),p=n[--h],v=o[++a];else{if(u=-1,e.vdomKey)for(f=c;f<=h;++f)if(n[f]&&null!==n[f].A&&n[f].A===v.A){u=f;break}e.vdomKey&&u>=0?(l=n[u],l.D!==v.D?r=Ns(n&&n[a],s,u):(Ps(l,v,i),n[u]=void 0,r=l.I),v=o[++a]):(r=Ns(n&&n[a],s,a),v=o[++a]),r&&(e.slotRelocation?zs(As(d.I).parentNode,r,As(d.I)):zs(d.I.parentNode,r,d.I))}c>h?Ts(t,null==o[m+1]?null:o[m+1].I,s,o,a,m):e.updatable&&a>m&&Rs(n,c,h)})(o,i,n,r,s):null!==r?(e.updatable&&e.vdomText&&null!==t.T&&(o.textContent=""),Ts(o,null,n,r,0,r.length-1)):!s&&e.updatable&&null!==i?Rs(i,0,i.length-1):e.hydrateClientSide&&s&&e.updatable&&null!==i&&null===r&&(n.L=i),e.svg&&Cs&&"svg"===l&&(Cs=!1))},Ds=[],Is=t=>{let n,s,o;const i=t.__childNodes||t.childNodes;for(const t of i){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){s=n.parentNode.__childNodes||n.parentNode.childNodes;const i=t["s-sn"];for(o=s.length-1;o>=0;o--)if(n=s[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||e.experimentalSlotFixes&&n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(Pe(n,i)){let e=Ds.find((t=>t.V===n));Es=!0,n["s-sn"]=n["s-sn"]||i,e?(e.V["s-sh"]=t["s-hn"],e.G=t):(n["s-sh"]=t["s-hn"],Ds.push({G:t,V:n})),n["s-sr"]&&Ds.map((t=>{Pe(t.V,n["s-sn"])&&(e=Ds.find((t=>t.V===n)),e&&!t.G&&(t.G=e.G))}))}else Ds.some((t=>t.V===n))||Ds.push({V:n})}1===t.nodeType&&Is(t)}},Ws=t=>{e.vdomRef&&(t.R&&t.R.ref&&t.R.ref(null),t.L&&t.L.map(Ws))},zs=(t,n,s)=>{if(e.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])Hs(n["s-cr"],n,t,n.parentElement);else if(e.experimentalSlotFixes&&"string"==typeof n["s-sn"]){11!==t.getRootNode().nodeType&&rn(n),t.insertBefore(n,s);const{slotNode:e}=He(n);return e&&ze(e),n}return e.experimentalSlotFixes&&t.__insertBefore?t.__insertBefore(n,s):null==t?void 0:t.insertBefore(n,s)};function Hs(t,e,n,s){var o,i;let r;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(r=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],l=e["s-hn"];if(null==(o=n.classList)||o.add(r+"-s"),s&&(null==(i=s.classList)?void 0:i.contains(r+"-s"))){let e=(s.__childNodes||s.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||s.classList.remove(r+"-s")}}}var Fs=(t,n,s=!1)=>{var o,i,r,l,c;const a=t.$hostElement$,u=t.o,f=t.Y||wn(null,null),h=On(n)?n:yn(null,null,n);if(Ln=a.tagName,e.isDev&&Array.isArray(n)&&n.some(On))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${Ln.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.J&&(h.R=h.R||{},u.J.forEach((([n,s])=>{h.R[s]=e.serializer&&t.p.has(n)?t.p.get(n):a[n]}))),s&&h.R)for(const t of Object.keys(h.R))a.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(h.R[t]=a[t]);if(h.D=null,h.u|=4,t.Y=h,h.I=f.I=e.shadowDom&&a.shadowRoot||a,(e.scoped||e.shadowDom)&&(Tn=a["s-sc"]),js=ht&&!!(1&u.u)&&!(128&u.u),e.slotRelocation&&(Rn=a["s-cr"],Es=!1),Ps(f,h,s),e.slotRelocation){if(ft.u|=1,ks){Is(h.I);for(const t of Ds){const n=t.V;if(!n["s-ol"]&&at.document){const t=e.isDebug||e.hydrateServerSide?Us(n):at.document.createTextNode("");t["s-nr"]=n,zs(n.parentNode,n["s-ol"]=t,n)}}for(const t of Ds){const n=t.V,c=t.G;if(1===n.nodeType&&s&&(n["s-ih"]=null!=(o=n.hidden)&&o),c){const t=c.parentNode;let s=c.nextSibling;if(!e.hydrateServerSide&&(!e.experimentalSlotFixes||s&&1===s.nodeType)){let e=null==(i=n["s-ol"])?void 0:i.previousSibling;for(;e;){let o=null!=(r=e["s-nr"])?r: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}}(!s&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==s)&&n!==s&&(e.experimentalSlotFixes||n["s-hn"]||!n["s-ol"]||(n["s-hn"]=n["s-ol"].parentNode.nodeName),zs(t,n,s),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)}}Es&&Te(h.I),ft.u&=-2,Ds.length=0}if(e.experimentalScopedSlotChanges&&2&u.u){const t=h.I.__childNodes||h.I.childNodes;for(const e of t)e["s-hn"]===Ln||e["s-sh"]||1!==e.nodeType||(s&&null==e["s-ih"]&&(e["s-ih"]=null!=(c=e.hidden)&&c),e.hidden=!0)}Rn=void 0},Bs=t=>{var e;return null==(e=at.document)?void 0:e.createComment(`<slot${t.P?' name="'+t.P+'"':""}> (host=${Ln.toLowerCase()})`)},Us=t=>{var e;return null==(e=at.document)?void 0:e.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`))},Vs=(t,n)=>{if(e.asyncLoading&&n&&!t.Z&&n["s-p"]){const e=n["s-p"].push(new Promise((s=>t.Z=()=>{n["s-p"].splice(e-1,1),s()})))}},Gs=(t,n)=>{if(e.taskQueue&&e.updatable&&(t.u|=16),e.asyncLoading&&4&t.u)return void(t.u|=512);Vs(t,t.X);const s=()=>Ys(t,n);if(!n)return e.taskQueue?kt(s):s();queueMicrotask((()=>{s()}))},Ys=(t,n)=>{const s=t.$hostElement$,o=hn("scheduleUpdate",t.o.k),i=e.lazyLoad?t.l:s;if(!i)throw Error(`Can't render component <${s.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 r;return n?(e.lazyLoad&&(e.hostListener&&(t.u|=256,t.q&&(t.q.map((([t,e])=>no(i,t,e,s))),t.q=void 0)),t.j.length&&t.j.forEach((t=>t(s)))),so(s,"componentWillLoad"),r=no(i,"componentWillLoad",void 0,s)):(so(s,"componentWillUpdate"),r=no(i,"componentWillUpdate",void 0,s)),so(s,"componentWillRender"),r=Js(r,(()=>no(i,"componentWillRender",void 0,s))),o(),Js(r,(()=>Xs(t,i,n)))},Js=(t,e)=>Zs(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Zs=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Xs=async(t,n,s)=>{var o;const i=t.$hostElement$,r=hn("update",t.o.k),l=i["s-rc"];e.style&&s&&vn(t);const c=hn("render",t.o.k);if(e.isDev&&(t.u|=1024),e.hydrateServerSide?await Ks(t,n,i,s):Ks(t,n,i,s),e.isDev&&(t.m=void 0===t.m?1:t.m+1,t.u&=-1025),e.hydrateServerSide)try{io(i),s&&(1&t.o.u?i["s-en"]="":2&t.o.u&&(i["s-en"]="c"))}catch(t){G(t,i)}if(e.asyncLoading&&l&&(l.map((t=>t())),i["s-rc"]=void 0),c(),r(),e.asyncLoading){const e=null!=(o=i["s-p"])?o:[],n=()=>Qs(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}else Qs(t)},qs=null,Ks=(t,n,s,o)=>{const i=!!e.allRenderFn,r=!!e.lazyLoad,l=!!e.taskQueue,c=!!e.updatable;try{if(qs=n,n=(i||n.render)&&n.render(),c&&l&&(t.u&=-17),(c||r)&&(t.u|=2),e.hasRenderFn||e.reflect)if(e.vdomRender||e.reflect){if(e.hydrateServerSide)return Promise.resolve(n).then((e=>Fs(t,e,o)));Fs(t,n,o)}else 1&t.o.u?s.shadowRoot.textContent=n:s.textContent=n}catch(e){G(e,t.$hostElement$)}return qs=null,null},Qs=t=>{const n=t.o.k,s=t.$hostElement$,o=hn("postUpdate",n),i=e.lazyLoad?t.l:s,r=t.X;e.isDev&&(t.u|=1024),no(i,"componentDidRender",void 0,s),e.isDev&&(t.u&=-1025),so(s,"componentDidRender"),64&t.u?(e.isDev&&(t.u|=1024),no(i,"componentDidUpdate",void 0,s),e.isDev&&(t.u&=-1025),so(s,"componentDidUpdate"),o()):(t.u|=64,e.asyncLoading&&e.cssAnnotations&&oo(s),e.isDev&&(t.u|=2048),no(i,"componentDidLoad",void 0,s),e.isDev&&(t.u&=-2049),so(s,"componentDidLoad"),o(),e.asyncLoading&&(t.O(s),r||eo(n))),e.method&&e.lazyLoad&&t.$(s),e.asyncLoading&&(t.Z&&(t.Z(),t.Z=void 0),512&t.u&&jt((()=>Gs(t,!1))),t.u&=-517)},to=t=>{var n;if(e.updatable&&(A.isBrowser||A.isTesting)){const e=F(t),s=null==(n=null==e?void 0:e.$hostElement$)?void 0:n.isConnected;return s&&2==(18&e.u)&&Gs(e,!1),s}return!1},eo=n=>{var s;e.asyncQueue&&(ft.u|=2),jt((()=>gs(at,"appload",{detail:{namespace:t}}))),e.hydrateClientSide&&(null==(s=ft.K)?void 0:s.size)&&ft.K.clear(),e.profile&&performance.measure&&performance.measure(`[Stencil] ${t} initial load (by ${n})`,"st:app:start")},no=(t,e,n,s)=>{if(t&&t[e])try{return t[e](n)}catch(t){G(t,s)}},so=(n,s)=>{e.lifecycleDOMEvents&&gs(n,"stencil_"+s,{bubbles:!0,composed:!0,detail:{namespace:t}})},oo=t=>{var n,s;return e.hydratedClass?t.classList.add(null!=(n=e.hydratedSelectorName)?n:"hydrated"):e.hydratedAttribute?t.setAttribute(null!=(s=e.hydratedSelectorName)?s:"hydrated",""):void 0},io=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(),io(n)}},ro=(t,e)=>F(t).i.get(e),lo=(t,n,s,o)=>{const i=F(t);if(!i)return;if(e.lazyLoad&&!i)throw Error(`Couldn't find host element for "${o.k}" 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&&i.p.has(n)&&i.p.get(n)===s)return;const r=e.lazyLoad?i.$hostElement$:t,l=i.i.get(n),c=i.u,a=e.lazyLoad?i.l:r;if(s=ms(s,o.t[n][0],e.formAssociated&&!!(64&o.u)),!(e.lazyLoad&&8&c&&void 0!==l||s===l||Number.isNaN(l)&&Number.isNaN(s))){if(i.i.set(n,s),e.serializer&&e.reflect&&o.J&&a&&o.tt&&o.tt[n]){let t=s;for(const e of o.tt[n]){const[[s]]=Object.entries(e);t=a[s](t,n)}i.p.set(n,t)}if(e.isDev&&(1024&i.u?Z(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",r,"\nNew value",s,"\nOld value",l):2048&i.u&&Z(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",r,"\nNew value",s,"\nOld value",l)),e.propChangeCallback&&o.et){const t=o.et[n];t&&t.map((t=>{try{const[[e,o]]=Object.entries(t);(128&c||1&o)&&(a?a[e](s,l,n):i.j.push((()=>{i.l[e](s,l,n)})))}catch(t){G(t,r)}}))}if(e.updatable&&2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(s,l,n))return;Gs(i,!1)}}},co=(t,n,s)=>{var o,i;const r=t.prototype;if(e.isTesting){if(r.__stencilAugmented)return;r.__stencilAugmented=!0}if(e.formAssociated&&64&n.u&&1&s&&ct.forEach((t=>{const n=r[t];Object.defineProperty(r,t,{value(...s){var o;const i=F(this),r=e.lazyLoad?null==i?void 0:i.l:this;if(r){const o=e.lazyLoad?r[t]:n;"function"==typeof o&&o.call(r,...s)}else null==(o=null==i?void 0:i.S)||o.then((e=>{const n=e[t];"function"==typeof n&&n.call(e,...s)}))}})})),e.member&&n.t||e.propChangeCallback){e.propChangeCallback&&(t.watchers&&!n.et&&(n.et=t.watchers),t.deserializers&&!n.nt&&(n.nt=t.deserializers),t.serializers&&!n.tt&&(n.tt=t.serializers));const l=Object.entries(null!=(o=n.t)?o:{});if(l.map((([t,[o]])=>{if((e.prop||e.state)&&(31&o||(!e.lazyLoad||2&s)&&32&o)){const{get:i,set:l}=Object.getOwnPropertyDescriptor(r,t)||{};i&&(n.t[t][0]|=2048),l&&(n.t[t][0]|=4096),(1&s||!i)&&Object.defineProperty(r,t,{get(){if(e.lazyLoad){if(!(2048&n.t[t][0]))return ro(this,t);const e=F(this),s=e?e.l:r;if(!s)return;return s[t]}if(!e.lazyLoad)return i?i.apply(this):ro(this,t)},configurable:!0,enumerable:!0}),Object.defineProperty(r,t,{set(i){const r=F(this);if(r){if(e.isDev&&(1&s||4096&n.t[t][0]||0!==(r&&8&r.u)||!(31&o)||1024&o||Z(`@Prop() "${t}" on <${n.k}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&o?this[t]:r.$hostElement$[t])&&r.i.get(t)&&(i=r.i.get(t)),l.call(this,ms(i,o,e.formAssociated&&!!(64&n.u))),void lo(this,t,i=32&o?this[t]:r.$hostElement$[t],n);if(e.lazyLoad){if(e.lazyLoad){if(!(1&s&&4096&n.t[t][0]))return lo(this,t,i,n),void(1&s&&!r.l&&r.j.push((()=>{4096&n.t[t][0]&&r.l[t]!==r.i.get(t)&&(r.l[t]=i)})));const l=()=>{const s=r.l[t];!r.i.get(t)&&s&&r.i.set(t,s),r.l[t]=ms(i,o,e.formAssociated&&!!(64&n.u)),lo(this,t,r.l[t],n)};r.l?l():r.j.push((()=>{l()}))}}else lo(this,t,i,n)}}})}else e.lazyLoad&&e.method&&1&s&&64&o&&Object.defineProperty(r,t,{value(...e){var n;const s=F(this);return null==(n=null==s?void 0:s.v)?void 0:n.then((()=>{var n;return null==(n=s.l)?void 0:n[t](...e)}))}})})),e.observeAttribute&&(!e.lazyLoad||1&s)){const s=new Map;r.attributeChangedCallback=function(t,o,i){ft.jmp((()=>{var c;const a=s.get(t),u=F(this);if(e.serializer&&u.p.has(a)&&u.p.get(a)===i)return;if(this.hasOwnProperty(a)&&e.lazyLoad&&(i=this[a],delete this[a]),e.deserializer&&n.nt&&n.nt[a]){const t=(t,e)=>{const n=null==e?void 0:e[t](i,a);n!==this[a]&&(this[a]=n)};for(const s of n.nt[a]){const[[n]]=Object.entries(s);e.lazyLoad?u.l?t(n,u.l):u.j.push((()=>{t(n,u.l)})):t(n,this)}return}if(r.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==i)return;if(null==a){const s=null==u?void 0:u.u;if(u&&s&&!(8&s)&&i!==o){const r=e.lazyLoad?u.l:e.lazyLoad?u.$hostElement$:this,l=null==(c=n.et)?void 0:c[t];null==l||l.forEach((e=>{const[[n,l]]=Object.entries(e);null!=r[n]&&(128&s||1&l)&&r[n].call(r,i,o,t)}))}return}const f=l.find((([t])=>t===a));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const h=Object.getOwnPropertyDescriptor(r,a);i==this[a]||h.get&&!h.set||(this[a]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.et)?i:{}),...l.filter((([t,e])=>31&e[0])).map((([t,o])=>{var i;const r=o[1]||t;return s.set(r,t),e.reflect&&512&o[0]&&(null==(i=n.J)||i.push([t,r])),r}))]))}}return t},ao=async(t,n,s,o)=>{let i;if(!(32&n.u)){if(n.u|=32,e.lazyLoad&&s.C){const r=K(s,n,o);if(r&&"then"in r){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:${s.k}:${n.N}`,`[Stencil] Load module for <${s.k}>`);i=await r,t()}else i=r;if(!i)throw Error(`Constructor for "${s.k}#${n.N}" was not found`);e.member&&!i.isProxied&&(e.propChangeCallback&&(s.et=i.watchers,s.tt=i.serializers,s.nt=i.deserializers),co(i,s,2),i.isProxied=!0);const l=hn("createInstance",s.k);e.member&&(n.u|=8);try{new i(n)}catch(e){G(e,t)}e.member&&(n.u&=-9),e.propChangeCallback&&(n.u|=128),l(),uo(n.l,t)}else i=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(e.style&&i&&i.style){let r;"string"==typeof i.style?r=i.style:e.mode&&"string"!=typeof i.style&&(n.N=ps(t),n.N&&(r=i.style[n.N]),e.hydrateServerSide&&n.N&&t.setAttribute("s-mode",n.N));const l=gn(s,n.N);if(!Q.has(l)||e.hotModuleReplacement&&o){const t=hn("registerStyles",s.k);e.hydrateServerSide&&e.shadowDom&&128&s.u&&(r=ds(r,l)),pn(l,r,!!(1&s.u)),t()}}}const r=n.X,l=()=>Gs(n,!0);e.asyncLoading&&r&&r["s-rc"]?r["s-rc"].push(l):l()},uo=(t,n)=>{e.lazyLoad&&no(t,"connectedCallback",void 0,n)},fo=t=>{if(!(1&ft.u)){const n=F(t);if(!n)return;const s=n.o,o=hn("connectedCallback",s.k);if(e.hostListenerTargetParent&&bo(t,n,s.st,!0),1&n.u)bo(t,n,s.st,!1),(null==n?void 0:n.l)?uo(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>uo(n.l,t)));else{let o;if(n.u|=1,e.hydrateClientSide&&(o=t.getAttribute(et),o)){if(e.shadowDom&&ht&&1&s.u){const n=e.mode?mn(t.shadowRoot,s,t.getAttribute("s-mode")):mn(t.shadowRoot,s);t.classList.remove(n+"-h",n+"-s")}else if(e.scoped&&2&s.u){const n=gn(s,e.mode?t.getAttribute("s-mode"):void 0);t["s-sc"]=n}((t,n,s,o)=>{var i,r,l,c;const a=hn("hydrateClient",n),u=t.shadowRoot,f=[],h=[],d=[],p=e.shadowDom&&u?[]:null,m=wn(n,null);let v;if(m.I=t,e.scoped){const e=o.o;e&&10&e.u&&t["s-sc"]?(v=t["s-sc"],t.classList.add(v+"-h")):t["s-sc"]&&delete t["s-sc"]}!at.document||ft.K&&ft.K.size||Nn(at.document.body,ft.K=new Map),t[et]=s,t.removeAttribute(et),o.Y=Cn(m,f,h,p,t,t,s,d);let g=0;const b=f.length;let $;for(;g<b;g++){$=f[g];const s=$.W+"."+$.F,o=ft.K.get(s),r=$.I;if(u){if((null==(i=$.D)?void 0:(""+i).includes("-"))&&"slot-fb"!==$.D&&!$.I.shadowRoot){const n=F($.I);if(n){const s=gn(n.o,e.mode?$.I.getAttribute("s-mode"):void 0),o=at.document.querySelector(`style[sty-id="${s}"]`);o&&t.shadowRoot.append(o.cloneNode(!0))}}}else r["s-hn"]=jo(n).toUpperCase(),"slot"===$.D&&(r["s-cr"]=t["s-cr"]);"slot"===$.D&&($.P=$.I["s-sn"]||$.I.name||null,$.L?($.u|=2,$.I.childNodes.length||$.L.forEach((t=>{$.I.appendChild(t.I)}))):$.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(r,o.nextSibling),o.parentNode.removeChild(o),u||(r["s-oo"]=parseInt($.F))),o&&!o["s-id"]&&ft.K.delete(s)}const y=[],w=d.length;let S,O,x,j,E=0,k=0;for(;E<w;E++)if(S=d[E],S&&S.length)for(x=S.length,O=0;O<x;O++){if(j=S[O],y[j.hostId]||(y[j.hostId]=ft.K.get(j.hostId)),!y[j.hostId])continue;const t=y[j.hostId];t.shadowRoot&&j.node.parentElement!==t&&t.insertBefore(j.node,null==(l=null==(r=S[O-1])?void 0:r.node)?void 0:l.nextSibling),t.shadowRoot&&u||(j.slot["s-cr"]||(j.slot["s-cr"]=t["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),De(j.node,j.slot,!1,j.node["s-oo"]||k),(null==(c=j.node.parentElement)?void 0:c.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot"),e.experimentalSlotFixes&&tn(j.node)),k=(j.node["s-oo"]||k)+1}if(e.scoped&&v&&h.length&&h.forEach((t=>{t.I.parentElement.classList.add(v+"-s")})),e.shadowDom&&u){let e=0;const n=p.length;if(n){for(;e<n;e++){const t=p[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))}))}}o.$hostElement$=t,a()})(t,s.k,o,n)}if(e.slotRelocation&&!o&&(e.hydrateServerSide||(e.slot||e.shadowDom)&&12&s.u)&&ho(t),e.asyncLoading){let s=t;for(;s=s.parentNode||s.host;)if(e.hydrateClientSide&&1===s.nodeType&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){Vs(n,n.X=s);break}}e.prop&&!e.hydrateServerSide&&s.t&&Object.entries(s.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?jt((()=>ao(t,n,s))):ao(t,n,s)}o()}},ho=t=>{if(!at.document)return;const n=t["s-cr"]=at.document.createComment(e.isDebug?`content-ref (host=${t.localName})`:"");n["s-cn"]=!0,zs(t,n,t.firstChild)},po=(t,n)=>{e.lazyLoad&&no(t,"disconnectedCallback",void 0,n||t)},mo=async t=>{if(!(1&ft.u)){const n=F(t);e.hostListener&&(null==n?void 0:n.ot)&&(n.ot.map((t=>t())),n.ot=void 0),e.lazyLoad?(null==n?void 0:n.l)?po(n.l,t):(null==n?void 0:n.S)&&n.S.then((()=>po(n.l,t))):po(t)}dn.has(t)&&dn.delete(t),t.shadowRoot&&dn.has(t.shadowRoot)&&dn.delete(t.shadowRoot)},vo=(t,n)=>{const s={u:n[0],k:n[1]};e.member&&(s.t=n[2]),e.hostListener&&(s.st=n[3]),e.propChangeCallback&&(s.et=t.et,s.nt=t.nt,s.tt=t.tt),e.reflect&&(s.J=[]),e.shadowDom&&!ht&&1&s.u&&(s.u|=8),!(1&s.u)&&256&s.u&&(e.experimentalSlotFixes?Fe(t.prototype):(e.slotChildNodesFix&&Qe(t.prototype),e.cloneNodeFix&&Be(t.prototype),e.appendChildSlotFix&&Ue(t.prototype),e.scopedSlotTextContentFix&&2&s.u&&Ke(t.prototype))),e.hydrateClientSide&&e.shadowDom&&$n();const o=t.prototype.connectedCallback,i=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__hasHostListenerAttached:!1,__registerHost(){U(this,s)},connectedCallback(){if(!this.__hasHostListenerAttached){const t=F(this);if(!t)return;bo(this,t,s.st,!1),this.__hasHostListenerAttached=!0}fo(this),o&&o.call(this)},disconnectedCallback(){mo(this),i&&i.call(this)},__attachShadow(){if(ht)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${s.k}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Me.call(this,s);else this.shadowRoot=this}}),t.is=s.k,co(t,s,3)},go=(t,n={})=>{var s;if(e.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(e.devTools){const t=at.stencil=at.stencil||{},e=t.inspect;t.inspect=t=>{let n=(t=>{const e=F(t);if(!e)return;const n=e.u,s=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.X,hostElement:s,lazyInstance:e.l,vnode:e.Y,modeName:e.N,fetchedCbList:e.j,onReadyPromise:e.S,onReadyResolve:e.O,onInstancePromise:e.v,onInstanceResolve:e.$,onRenderResolve:e.Z,queuedListeners:e.q,rmListeners:e.ot,"s-id":s["s-id"],"s-cr":s["s-cr"],"s-lr":s["s-lr"],"s-p":s["s-p"],"s-rc":s["s-rc"],"s-sc":s["s-sc"]}})(t);return n||"function"!=typeof e||(n=e(t)),n}}})(),!at.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=hn("bootstrapLazy"),i=[],r=n.exclude||[],l=at.customElements,c=at.document.head,a=c.querySelector("meta[charset]"),u=at.document.createElement("style"),f=[];let h,d=!0;Object.assign(ft,n),ft._=new URL(n.resourcesUrl||"./",at.document.baseURI).href,e.asyncQueue&&n.syncQueue&&(ft.u|=4),e.hydrateClientSide&&(ft.u|=2),e.hydrateClientSide&&e.shadowDom&&$n();let p=!1;if(t.map((t=>{t[1].map((s=>{var o,c,a;const u={u:s[0],k:s[1],t:s[2],st:s[3]};4&u.u&&(p=!0),e.member&&(u.t=s[2]),e.hostListener&&(u.st=s[3]),e.reflect&&(u.J=[]),e.propChangeCallback&&(u.et=null!=(o=s[4])?o:{},u.tt=null!=(c=s[5])?c:{},u.nt=null!=(a=s[6])?a:{}),e.shadowDom&&!ht&&1&u.u&&(u.u|=8);const m=e.transformTagName&&n.transformTagName?n.transformTagName(u.k):jo(u.k),v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,U(t=this,u),e.shadowDom&&1&u.u)if(ht)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else Me.call(t,u);else e.hydrateServerSide||"shadowRoot"in t||(t.shadowRoot=t)}connectedCallback(){const t=F(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,bo(this,t,u.st,!1)),h&&(clearTimeout(h),h=null),d?f.push(this):ft.jmp((()=>fo(this))))}disconnectedCallback(){ft.jmp((()=>mo(this))),ft.raf((()=>{var t;const e=F(this);if(!e)return;const n=f.findIndex((t=>t===this));n>-1&&f.splice(n,1),(null==(t=null==e?void 0:e.Y)?void 0:t.I)instanceof Node&&!e.Y.I.isConnected&&delete e.Y.I}))}componentOnReady(){var t;return null==(t=F(this))?void 0:t.S}};!(1&u.u)&&256&u.u&&(e.experimentalSlotFixes?Fe(v.prototype):(e.slotChildNodesFix&&Qe(v.prototype),e.cloneNodeFix&&Be(v.prototype),e.appendChildSlotFix&&Ue(v.prototype),e.scopedSlotTextContentFix&&2&u.u&&Ke(v.prototype))),e.formAssociated&&64&u.u&&(v.formAssociated=!0),e.hotModuleReplacement&&(v.prototype["s-hmr"]=function(t){((t,e,n)=>{const s=F(t);s&&(s.u=1,ao(t,s,e,n))})(this,u,t)}),u.C=t[0],r.includes(m)||l.get(m)||(i.push(m),l.define(m,co(v,u,1)))}))})),i.length>0&&(p&&(u.textContent+=rt),e.invisiblePrehydration&&(e.hydratedClass||e.hydratedAttribute)&&(u.textContent+=i.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const t=null!=(s=ft.M)?s:Se(at.document);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,a?a.nextSibling:c.firstChild)}d=!1,f.length?f.map((t=>t.connectedCallback())):ft.jmp(e.profile?()=>h=setTimeout(eo,30,"timeout"):()=>h=setTimeout(eo,30)),o()},bo=(t,n,s,o)=>{e.hostListener&&s&&at.document&&(e.hostListenerTargetParent&&(s=s.filter(o?([t])=>32&t:([t])=>!(32&t))),s.map((([s,o,i])=>{const r=e.hostListenerTarget?yo(at.document,t,s):t,l=$o(n,i),c=wo(s);ft.ael(r,o,l,c),(n.ot=n.ot||[]).push((()=>ft.rel(r,o,l,c)))})))},$o=(t,n)=>s=>{var o;try{e.lazyLoad?256&t.u?null==(o=t.l)||o[n](s):(t.q=t.q||[]).push([n,s]):t.$hostElement$[n](s)}catch(e){G(e,t.$hostElement$)}},yo=(t,n,s)=>e.hostListenerTargetDocument&&4&s?t:e.hostListenerTargetWindow&&8&s?at:e.hostListenerTargetBody&&16&s?t.body:e.hostListenerTargetParent&&32&s&&n.parentElement?n.parentElement:n,wo=t=>({passive:!!(1&t),capture:!!(2&t)}),So=e.lazyLoad?class{}:globalThis.HTMLElement||class{},Oo=t=>ft.M=t,xo=void 0;function jo(t){return xo?xo(t):t}var Eo=(t,e,n,s)=>{var o;null!=e&&(null!=e["s-nr"]&&s.push(e),1===e.nodeType)&&[...Array.from(e.childNodes),...Array.from((null==(o=e.shadowRoot)?void 0:o.childNodes)||[])].forEach((e=>{const o=F(e);null==o||n.staticComponents.has(e.nodeName.toLowerCase())||ko(t,e,o.Y,n,{nodeIds:0}),Eo(t,e,n,s)}))},ko=(t,e,n,s,o)=>{if(null!=n){const i=++s.hostIds;if(e.setAttribute(et,i),null!=e["s-cr"]&&(e["s-cr"].nodeValue="r."+i),null!=n.L){const e=0;n.L.forEach(((n,s)=>{Co(t,n,o,i,e,s)}))}if(e&&n&&n.I&&!e.hasAttribute(st)){const t=e.parentElement;if(t&&t.childNodes){const s=Array.from(t.childNodes),o=s.find((t=>8===t.nodeType&&t["s-sr"]));if(o){const t=s.indexOf(e)-1;n.I.setAttribute(st,`${o["s-host-id"]}.${o["s-node-id"]}.0.${t}`)}}}}},Co=(t,e,n,s,o,i)=>{const r=e.I;if(null==r)return;const l=n.nodeIds++,c=`${s}.${l}.${o}.${i}`;if(r["s-host-id"]=s,r["s-node-id"]=l,1===r.nodeType)r.setAttribute(st,c),"string"!=typeof r["s-sn"]||r.getAttribute("slot")||r.setAttribute("s-sn",r["s-sn"]);else if(3===r.nodeType){const e=r.parentNode,n=null==e?void 0:e.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=t.createComment("t."+c);zs(e,n,r)}}else 8===r.nodeType&&r["s-sr"]&&(r.nodeValue=`s.${c}.${r["s-sn"]||""}`);if(null!=e.L){const i=o+1;e.L.forEach(((e,o)=>{Co(t,e,n,s,i,o)}))}},No=Object.freeze({__proto__:null,BUILD:e,Build:A,Env:{},Fragment:(t,e)=>e,H:ut,HTMLElement:ut,HYDRATED_STYLE_ID:nt,Host:Sn,Mixin:function(...t){return t.reduceRight(((t,e)=>e(t)),So)},NAMESPACE:t,STENCIL_DEV_MODE:Y,addHostEventListeners:bo,bootstrapLazy:go,cmpModules:q,connectedCallback:fo,consoleDevError:J,consoleDevInfo:X,consoleDevWarn:Z,consoleError:G,createEvent:(t,n,s)=>{const o=vs(t);return{emit:t=>(e.isDev&&!o.isConnected&&Z(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),gs(o,n,{bubbles:!!(4&s),composed:!!(2&s),cancelable:!!(1&s),detail:t}))}},defineCustomElement:(t,e)=>{customElements.define(jo(e[1]),vo(t,e))},disconnectedCallback:mo,forceModeUpdate:t=>{if(e.style&&e.mode&&!e.lazyLoad){const e=ps(t),n=F(t);if(n&&n.N!==e){const s=n.o,o=t["s-sc"],i=gn(s,e),r=t.constructor.style[e],l=s.u;r&&(Q.has(i)||pn(i,r,!!(1&l)),n.N=e,t.classList.remove(o+"-h",o+"-s"),vn(n),to(t))}}},forceUpdate:to,getAssetPath:t=>{const e=new URL(t,ft._);return e.origin!==at.location.origin?e.href:e.pathname},getElement:vs,getHostRef:F,getMode:t=>{var e;return null==(e=F(t))?void 0:e.N},getRenderingRef:()=>qs,getValue:ro,h:yn,insertVdomAnnotations:(t,e)=>{if(null!=t){const n=ot in t?t[ot]:{...it};n.staticComponents=new Set(e);const s=[];Eo(t,t.body,n,s),s.forEach((e=>{var s;if(null!=e&&e["s-nr"]){const o=e["s-nr"];let i=o["s-host-id"],r=o["s-node-id"],l=`${i}.${r}`;if(null==i)if(i=0,n.rootLevelIds++,r=n.rootLevelIds,l=`${i}.${r}`,1===o.nodeType)o.setAttribute(st,l),"string"!=typeof o["s-sn"]||o.getAttribute("slot")||o.setAttribute("s-sn",o["s-sn"]);else if(3===o.nodeType){if(0===i&&""===(null==(s=o.nodeValue)?void 0:s.trim()))return void e.remove();const n=t.createComment(l);n.nodeValue="t."+l,zs(o.parentNode,n,o)}else if(8===o.nodeType){const e=t.createComment(l);e.nodeValue="c."+l,o.parentNode.insertBefore(e,o)}let c="o."+l;const a=e.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),e.nodeValue=c}}))}},isMemberInElement:V,loadModule:K,modeResolutionChain:tt,needsScopedSSR:()=>!1,nextTick:jt,parsePropertyValue:ms,plt:ft,postUpdateComponent:Qs,promiseResolve:dt,proxyComponent:co,proxyCustomElement:vo,readTask:Et,registerHost:U,registerInstance:B,render:function(t,e){Fs({o:{u:0,k:e.tagName},$hostElement$:e},t)},renderVdom:Fs,setAssetPath:t=>ft._=t,setErrorHandler:t=>n=t,setMode:t=>tt.push(t),setNonce:Oo,setPlatformHelpers:t=>{Object.assign(ft,t)},setPlatformOptions:t=>Object.assign(ft,t),setScopedSSR:()=>{},setTagTransformer:function(t){xo&&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 "),xo=t},setValue:lo,styles:Q,supportsConstructableStylesheets:pt,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:mt,supportsShadow:ht,transformTag:jo,win:at,writeTask:kt});export{e as B,ut as H,t as N,No as S,go as b,X as c,yn as h,dt as p,B as r,Oo as s,at as w}
|