proto-autos-wc 0.1.118 → 0.1.120

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.
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-B_Sspfrn.js';
2
- export { s as setNonce } from './index-B_Sspfrn.js';
1
+ import { b as bootstrapLazy } from './index-CUeCNkv1.js';
2
+ export { s as setNonce } from './index-CUeCNkv1.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-B_Sspfrn.js';
2
- export { s as setNonce } from './index-B_Sspfrn.js';
1
+ import { p as promiseResolve, B as BUILD, c as consoleDevInfo, w as win, N as NAMESPACE, H, b as bootstrapLazy } from './index-CUeCNkv1.js';
2
+ export { s as setNonce } from './index-CUeCNkv1.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
@@ -7,13 +7,40 @@ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
7
7
  */
8
8
 
9
9
  var patchBrowser = () => {
10
+ if (BUILD.isDev && !BUILD.isTesting) {
11
+ consoleDevInfo("Running in development mode.");
12
+ }
13
+ if (BUILD.cloneNodeFix) {
14
+ patchCloneNodeFix(H.prototype);
15
+ }
16
+ const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll("script")).find(
17
+ (s) => new RegExp(`/${NAMESPACE}(\\.esm)?\\.js($|\\?|#)`).test(s.src) || s.getAttribute("data-stencil-namespace") === NAMESPACE
18
+ ) : null;
10
19
  const importMeta = import.meta.url;
11
- const opts = {};
20
+ const opts = BUILD.scriptDataOpts ? (scriptElm || {})["data-opts"] || {} : {};
12
21
  if (importMeta !== "") {
13
22
  opts.resourcesUrl = new URL(".", importMeta).href;
14
23
  }
15
24
  return promiseResolve(opts);
16
25
  };
26
+ var patchCloneNodeFix = (HTMLElementPrototype) => {
27
+ const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;
28
+ HTMLElementPrototype.cloneNode = function(deep) {
29
+ if (this.nodeName === "TEMPLATE") {
30
+ return nativeCloneNodeFn.call(this, deep);
31
+ }
32
+ const clonedNode = nativeCloneNodeFn.call(this, false);
33
+ const srcChildNodes = this.childNodes;
34
+ if (deep) {
35
+ for (let i = 0; i < srcChildNodes.length; i++) {
36
+ if (srcChildNodes[i].nodeType !== 2) {
37
+ clonedNode.appendChild(srcChildNodes[i].cloneNode(true));
38
+ }
39
+ }
40
+ }
41
+ return clonedNode;
42
+ };
43
+ };
17
44
 
18
45
  patchBrowser().then(async (options) => {
19
46
  await globalScripts();
@@ -1,4 +1,4 @@
1
- import { g as getRenderingRef, f as forceUpdate, h, r as registerInstance } from './index-B_Sspfrn.js';
1
+ import { S as StencilCore, h, r as registerInstance } from './index-CUeCNkv1.js';
2
2
 
3
3
  const KEY = 'proto-autos';
4
4
  const DATA = 'data';
@@ -21,12 +21,13 @@ const bag = {
21
21
  };
22
22
 
23
23
  const appendToMap = (map, propName, value) => {
24
- const items = map.get(propName);
25
- if (!items) {
26
- map.set(propName, [value]);
24
+ let refs = map.get(propName);
25
+ if (!refs) {
26
+ refs = [];
27
+ map.set(propName, refs);
27
28
  }
28
- else if (!items.includes(value)) {
29
- items.push(value);
29
+ if (!refs.some((ref) => ref.deref() === value)) {
30
+ refs.push(new WeakRef(value));
30
31
  }
31
32
  };
32
33
  const debounce = (fn, ms) => {
@@ -54,33 +55,54 @@ const debounce = (fn, ms) => {
54
55
  const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
55
56
  const cleanupElements = debounce((map) => {
56
57
  for (let key of map.keys()) {
57
- map.set(key, map.get(key).filter(isConnected));
58
+ const refs = map.get(key).filter((ref) => {
59
+ const elm = ref.deref();
60
+ return elm && isConnected(elm);
61
+ });
62
+ map.set(key, refs);
58
63
  }
59
64
  }, 2_000);
65
+ const core = StencilCore;
66
+ const forceUpdate = core.forceUpdate;
67
+ const getRenderingRef = core.getRenderingRef;
60
68
  const stencilSubscription = () => {
61
- if (typeof getRenderingRef !== 'function') {
69
+ if (typeof getRenderingRef !== 'function' || typeof forceUpdate !== 'function') {
62
70
  // If we are not in a stencil project, we do nothing.
63
71
  // This function is not really exported by @stencil/core.
64
72
  return {};
65
73
  }
74
+ const ensureForceUpdate = forceUpdate;
75
+ const ensureGetRenderingRef = getRenderingRef;
66
76
  const elmsToUpdate = new Map();
67
77
  return {
68
78
  dispose: () => elmsToUpdate.clear(),
69
79
  get: (propName) => {
70
- const elm = getRenderingRef();
80
+ const elm = ensureGetRenderingRef();
71
81
  if (elm) {
72
82
  appendToMap(elmsToUpdate, propName, elm);
73
83
  }
74
84
  },
75
85
  set: (propName) => {
76
- const elements = elmsToUpdate.get(propName);
77
- if (elements) {
78
- elmsToUpdate.set(propName, elements.filter(forceUpdate));
86
+ const refs = elmsToUpdate.get(propName);
87
+ if (refs) {
88
+ const nextRefs = refs.filter((ref) => {
89
+ const elm = ref.deref();
90
+ if (!elm)
91
+ return false;
92
+ return ensureForceUpdate(elm);
93
+ });
94
+ elmsToUpdate.set(propName, nextRefs);
79
95
  }
80
96
  cleanupElements(elmsToUpdate);
81
97
  },
82
98
  reset: () => {
83
- elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
99
+ elmsToUpdate.forEach((refs) => {
100
+ refs.forEach((ref) => {
101
+ const elm = ref.deref();
102
+ if (elm)
103
+ ensureForceUpdate(elm);
104
+ });
105
+ });
84
106
  cleanupElements(elmsToUpdate);
85
107
  },
86
108
  };
@@ -88,8 +110,11 @@ const stencilSubscription = () => {
88
110
 
89
111
  const unwrap = (val) => (typeof val === 'function' ? val() : val);
90
112
  const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
91
- const unwrappedState = unwrap(defaultState);
92
- let states = new Map(Object.entries(unwrappedState ?? {}));
113
+ const resolveDefaultState = () => (unwrap(defaultState) ?? {});
114
+ const initialState = resolveDefaultState();
115
+ let states = new Map(Object.entries(initialState));
116
+ const proxyAvailable = typeof Proxy !== 'undefined';
117
+ const plainState = proxyAvailable ? null : {};
93
118
  const handlers = {
94
119
  dispose: [],
95
120
  get: [],
@@ -101,7 +126,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
101
126
  const reset = () => {
102
127
  // When resetting the state, the default state may be a function - unwrap it to invoke it.
103
128
  // otherwise, the state won't be properly reset
104
- states = new Map(Object.entries(unwrap(defaultState) ?? {}));
129
+ states = new Map(Object.entries(resolveDefaultState()));
130
+ if (!proxyAvailable) {
131
+ syncPlainStateKeys();
132
+ }
105
133
  handlers.reset.forEach((cb) => cb());
106
134
  };
107
135
  const dispose = () => {
@@ -118,12 +146,14 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
118
146
  const oldValue = states.get(propName);
119
147
  if (shouldUpdate(value, oldValue, propName)) {
120
148
  states.set(propName, value);
149
+ if (!proxyAvailable) {
150
+ ensurePlainProperty(propName);
151
+ }
121
152
  handlers.set.forEach((cb) => cb(propName, value, oldValue));
122
153
  }
123
154
  };
124
- const state = (typeof Proxy === 'undefined'
125
- ? {}
126
- : new Proxy(unwrappedState, {
155
+ const state = (proxyAvailable
156
+ ? new Proxy(initialState, {
127
157
  get(_, propName) {
128
158
  return get(propName);
129
159
  },
@@ -143,7 +173,11 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
143
173
  set(propName, value);
144
174
  return true;
145
175
  },
146
- }));
176
+ })
177
+ : (() => {
178
+ syncPlainStateKeys();
179
+ return plainState;
180
+ })());
147
181
  const on = (eventName, callback) => {
148
182
  handlers[eventName].push(callback);
149
183
  return () => {
@@ -156,7 +190,10 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
156
190
  cb(newValue);
157
191
  }
158
192
  };
159
- const resetHandler = () => cb(unwrap(defaultState)[propName]);
193
+ const resetHandler = () => {
194
+ const snapshot = resolveDefaultState();
195
+ cb(snapshot[propName]);
196
+ };
160
197
  // Register the handlers
161
198
  const unSet = on('set', setHandler);
162
199
  const unReset = on('reset', resetHandler);
@@ -199,6 +236,38 @@ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) =>
199
236
  changeListeners.delete(listener);
200
237
  }
201
238
  };
239
+ function ensurePlainProperty(key) {
240
+ if (proxyAvailable || !plainState) {
241
+ return;
242
+ }
243
+ if (Object.prototype.hasOwnProperty.call(plainState, key)) {
244
+ return;
245
+ }
246
+ Object.defineProperty(plainState, key, {
247
+ configurable: true,
248
+ enumerable: true,
249
+ get() {
250
+ return get(key);
251
+ },
252
+ set(value) {
253
+ set(key, value);
254
+ },
255
+ });
256
+ }
257
+ function syncPlainStateKeys() {
258
+ if (proxyAvailable || !plainState) {
259
+ return;
260
+ }
261
+ const knownKeys = new Set(states.keys());
262
+ for (const key of Object.keys(plainState)) {
263
+ if (!knownKeys.has(key)) {
264
+ delete plainState[key];
265
+ }
266
+ }
267
+ for (const key of knownKeys) {
268
+ ensurePlainProperty(key);
269
+ }
270
+ }
202
271
  return {
203
272
  state,
204
273
  get,
@@ -808,7 +877,7 @@ const actions = {
808
877
  };
809
878
 
810
879
  // WARNING: generated file...
811
- const TW_VERSION = '4.1.17';
880
+ const TW_VERSION = '4.1.18';
812
881
 
813
882
  const tw = (...classes) => {
814
883
  return classes.filter(Boolean).join(' ');
@@ -901,7 +970,7 @@ const ToolBar = _props => {
901
970
  : 'bg-clrs-yellow text-clrs-navy'), onClick: () => actions.updatePick(indx), title: `${dealer.name} (${dealer.vehicles.length})` }, indx + 1))))));
902
971
  };
903
972
 
904
- const shadowCss = () => `/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
973
+ const shadowCss = () => `/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
905
974
  @layer properties;
906
975
  @layer theme, base, components, utilities;
907
976
  @layer theme {
@@ -0,0 +1,2 @@
1
+ const e="proto-autos-wc",t={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,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!1,vdomRender:!0,vdomStyle:!1,vdomText:!0,vdomXlink:!1};var n,o=Object.defineProperty,s={isDev:!!t.isDev,isBrowser:!0,isServer:!1,isTesting:!!t.isTesting},r=(e=>(e.Undefined="undefined",e.Null="null",e.String="string",e.Number="number",e.SpecialNumber="number",e.Boolean="boolean",e.BigInt="bigint",e))(r||{}),i=(e=>(e.Array="array",e.Date="date",e.Map="map",e.Object="object",e.RegularExpression="regexp",e.Set="set",e.Channel="channel",e.Symbol="symbol",e))(i||{}),l="type",c="value",a="serialized:",u=(e,n)=>{var o;Object.entries(null!=(o=n.o.t)?o:{}).map((([o,[s]])=>{if((t.state||t.prop)&&(31&s||32&s)){const t=e[o],s=function(e,t){for(;e;){const n=Object.getOwnPropertyDescriptor(e,t);if(null==n?void 0:n.get)return n;e=Object.getPrototypeOf(e)}}(Object.getPrototypeOf(e),o)||Object.getOwnPropertyDescriptor(e,o);s&&Object.defineProperty(e,o,{get(){return s.get.call(this)},set(e){s.set.call(this,e)},configurable:!0,enumerable:!0}),e[o]=n.i.has(o)?n.i.get(o):t}}))},f=e=>{if(e.__stencil__getHostRef)return e.__stencil__getHostRef()},d=(e,n)=>{n&&(e.__stencil__getHostRef=()=>n,n.l=e,512&n.o.u&&(t.state||t.prop)&&u(e,n))},h=(e,n)=>{const o={u:0,$hostElement$:e,o:n,i:new Map,p:new Map};t.isDev&&(o.m=0),t.method&&t.lazyLoad&&(o.v=new Promise((e=>o.$=e))),t.asyncLoading&&(o.S=new Promise((e=>o.O=e)),e["s-p"]=[],e["s-rc"]=[]),t.lazyLoad&&(o.j=[]);const s=o;return e.__stencil__getHostRef=()=>s,!t.lazyLoad&&512&n.u&&(t.state||t.prop)&&u(e,o),s},p=(e,t)=>t in e,m=(e,t)=>(n||console.error)(e,t),v=t.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],g=(...e)=>console.error(...v,...e),$=(...e)=>console.warn(...v,...e),b=(...e)=>console.info(...v,...e),y=new Map,w=(e,n,o)=>{const s=e.C.replace(/-/g,"_"),r=e._;if(t.isDev&&"string"!=typeof r)return void g(`Trying to lazily load component <${e.C}> with style mode "${n.N}", but it does not exist.`);if(!r)return;const i=!t.hotModuleReplacement&&y.get(r);return i?i[s]:import(`./${r}.entry.js${t.hotModuleReplacement&&o?"?s-hmr="+o:""}`).then((e=>(t.hotModuleReplacement||y.set(r,e),e[s])),(e=>{m(e,n.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/},S=new Map,x=[],O="s-id",j="sty-id",C="c-id",_="_stencilDocData",E={hostIds:0,rootLevelIds:0,staticComponents:new Set},N="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",T=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],R="undefined"!=typeof window?window:{},L=R.HTMLElement||class{},M={u:0,k:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},D=t.shadowDom,A=e=>Promise.resolve(e),I=!!t.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),P=!!I&&(()=>!!R.document&&Object.getOwnPropertyDescriptor(R.document.adoptedStyleSheets,"length").writable)(),H=0,F=!1,U=[],B=[],z=[],V=(e,t)=>n=>{e.push(n),F||(F=!0,t&&4&M.u?X(J):M.raf(J))},W=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){m(e)}e.length=0},Y=(e,t)=>{let n=0,o=0;for(;n<e.length&&(o=performance.now())<t;)try{e[n++](o)}catch(e){m(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},J=()=>{if(t.asyncQueue&&H++,W(U),t.asyncQueue){const e=2==(6&M.u)?performance.now()+14*Math.ceil(.1*H):1/0;Y(B,e),Y(z,e),B.length>0&&(z.push(...B),B.length=0),(F=U.length+B.length+z.length>0)?M.raf(J):H=0}else W(B),(F=U.length>0)&&M.raf(J)},X=e=>A().then(e),q=V(U,!1),K=V(B,!0),Q=e=>"object"==(e=typeof e)||"function"===e;function G(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var Z=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),ee=class e{static fromLocalValue(t){const n=t[l],o=c in t?t[c]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((t=>e.fromLocalValue(t)));case"date":return new Date(o);case"map":const t=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?e.fromLocalValue(n):n,r=e.fromLocalValue(s);t.set(o,r)}return t;case"object":const s={};for(const[t,n]of o)s[t]=e.fromLocalValue(n);return s;case"regexp":const{pattern:r,flags:i}=o;return RegExp(r,i);case"set":const l=new Set;for(const t of o)l.add(e.fromLocalValue(t));return l;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(t){return t.map((t=>e.fromLocalValue(t)))}static isLocalValueObject(e){if("object"!=typeof e||null===e)return!1;if(!e.hasOwnProperty(l))return!1;const t=e[l];return!!Object.values({...r,...i}).includes(t)&&("null"===t||"undefined"===t||e.hasOwnProperty(c))}};((e,t)=>{for(var n in t)o(e,n,{get:t[n],enumerable:!0})})({},{err:()=>ne,map:()=>oe,ok:()=>te,unwrap:()=>re,unwrapErr:()=>ie});var te=e=>({isOk:!0,isErr:!1,value:e}),ne=e=>({isOk:!1,isErr:!0,value:e});function oe(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>te(e))):te(n)}if(e.isErr)return ne(e.value);throw"should never get here"}var se,re=e=>{if(e.isOk)return e.value;throw e.value},ie=e=>{if(e.isErr)return e.value;throw e.value};function le(e){const n=this.attachShadow(t.shadowDelegatesFocus?{mode:"open",delegatesFocus:!!(16&e.u)}:{mode:"open"});void 0===se&&(se=null),se&&(P?n.adoptedStyleSheets.push(se):n.adoptedStyleSheets=[...n.adoptedStyleSheets,se])}var ce=e=>{const t=He(e,"childNodes");e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&"SLOT-FB"!==e.tagName&&ue(t,e.tagName).forEach((e=>{1===e.nodeType&&"SLOT-FB"===e.tagName&&(e.hidden=!!fe(e,pe(e),!1).length)}));let n=0;for(n=0;n<t.length;n++){const e=t[n];1===e.nodeType&&He(e,"childNodes").length&&ce(e)}},ae=e=>{const t=[];for(let n=0;n<e.length;n++){const o=e[n]["s-nr"]||void 0;o&&o.isConnected&&t.push(o)}return t};function ue(e,t,n){let o,s=0,r=[];for(;s<e.length;s++){if(o=e[s],o["s-sr"]&&(!t||o["s-hn"]===t)&&(void 0===n||pe(o)===n)&&(r.push(o),void 0!==n))return r;r=[...r,...ue(o.childNodes,t,n)]}return r}var fe=(e,t,n=!0)=>{const o=[];(n&&e["s-sr"]||!e["s-sr"])&&o.push(e);let s=e;for(;s=s.nextSibling;)pe(s)!==t||!n&&s["s-sr"]||o.push(s);return o},de=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,he=(e,n,o,s)=>{if(e["s-ol"]&&e["s-ol"].isConnected)return;const r=document.createTextNode("");if(r["s-nr"]=e,!n["s-cr"]||!n["s-cr"].parentNode)return;const i=n["s-cr"].parentNode,l=He(i,o?"prepend":"appendChild");if(t.hydrateClientSide&&void 0!==s){r["s-oo"]=s;const e=He(i,"childNodes"),t=[r];e.forEach((e=>{e["s-nr"]&&t.push(e)})),t.sort(((e,t)=>!e["s-oo"]||e["s-oo"]<(t["s-oo"]||0)?-1:!t["s-oo"]||t["s-oo"]<e["s-oo"]?1:0)),t.forEach((e=>l.call(i,e)))}else l.call(i,r);e["s-ol"]=r,e["s-sh"]=n["s-hn"]},pe=e=>"string"==typeof e["s-sn"]?e["s-sn"]:1===e.nodeType&&e.getAttribute("slot")||void 0;function me(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;const t=t=>function(e){const n=[],o=this["s-sn"];(null==e?void 0:e.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:ae(s.childNodes)).forEach((e=>{o===pe(e)&&n.push(e)})),t?n.filter((e=>1===e.nodeType)):n}.bind(e);e.assignedElements=t(!0),e.assignedNodes=t(!1)}function ve(e){e.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function ge(e,t){var n;if(!(t=t||(null==(n=e["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=e["s-sn"]=pe(e)||"";return{slotNode:ue(He(t,"childNodes"),t.tagName,o)[0],slotName:o}}var $e=e=>{be(e),ye(e),xe(e),Se(e),_e(e),Oe(e),je(e),Ce(e),Ee(e),Ne(e),we(e)},be=e=>{const n=e.cloneNode;e.cloneNode=function(e){const o=!!t.shadowDom&&this.shadowRoot&&D,s=n.call(this,!!o&&e);if(t.slot&&!o&&e){let e,n,o=0;const r=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si","s-rf","s-scs"],i=this.__childNodes||this.childNodes;for(;o<i.length;o++)e=i[o]["s-nr"],n=r.every((e=>!i[o][e])),e&&(t.appendChildSlotFix&&s.__appendChild?s.__appendChild(e.cloneNode(!0)):s.appendChild(e.cloneNode(!0))),n&&s.appendChild(i[o].cloneNode(!0))}return s}},ye=e=>{e.__appendChild=e.appendChild,e.appendChild=function(e){const{slotName:t,slotNode:n}=ge(e,this);if(n){he(e,n);const o=fe(n,t),s=o[o.length-1],r=He(s,"parentNode"),i=He(r,"insertBefore")(e,s.nextSibling);return ve(n),ce(this),i}return this.__appendChild(e)}},we=e=>{e.__removeChild=e.removeChild,e.removeChild=function(e){return e&&void 0!==e["s-sn"]&&ue(this.__childNodes||this.childNodes,this.tagName,e["s-sn"])&&e.isConnected?(e.remove(),void ce(this)):this.__removeChild(e)}},Se=e=>{e.__prepend=e.prepend,e.prepend=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t));const n=(t["s-sn"]=pe(t))||"",o=ue(He(this,"childNodes"),this.tagName,n)[0];if(o){he(t,o,!0);const e=fe(o,n)[0],s=He(e,"parentNode"),r=He(s,"insertBefore")(t,He(e,"nextSibling"));return ve(o),r}return 1===t.nodeType&&t.getAttribute("slot")&&(t.hidden=!0),e.__prepend(t)}))}},xe=e=>{e.__append=e.append,e.append=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e)),this.appendChild(e)}))}},Oe=e=>{const t=e.insertAdjacentHTML;e.insertAdjacentHTML=function(e,n){if("afterbegin"!==e&&"beforeend"!==e)return t.call(this,e,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===e)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===e)for(;s=o.firstChild;)this.append(s)}},je=e=>{e.insertAdjacentText=function(e,t){this.insertAdjacentHTML(e,t)}},Ce=e=>{e.__insertBefore||(e.__insertBefore=e.insertBefore,e.insertBefore=function(e,t){const{slotName:n,slotNode:o}=ge(e,this),s=this.__childNodes?this.childNodes:ae(this.childNodes);if(o){let r=!1;if(s.forEach((s=>{if(s!==t&&null!==t);else{if(r=!0,null===t||n!==t["s-sn"])return void this.appendChild(e);if(n===t["s-sn"]){he(e,o);const n=He(t,"parentNode");He(n,"insertBefore")(e,t),ve(o)}}})),r)return e}const r=null==t?void 0:t.__parentNode;return r&&!this.isSameNode(r)?this.appendChild(e):this.__insertBefore(e,t)})},_e=e=>{const t=e.insertAdjacentElement;e.insertAdjacentElement=function(e,n){return"afterbegin"!==e&&"beforeend"!==e?t.call(this,e,n):"afterbegin"===e?(this.prepend(n),n):"beforeend"===e?(this.append(n),n):n}},Ee=e=>{Pe("textContent",e),Object.defineProperty(e,"textContent",{get:function(){let e="";return(this.__childNodes?this.childNodes:ae(this.childNodes)).forEach((t=>e+=t.textContent||"")),e},set:function(e){(this.__childNodes?this.childNodes:ae(this.childNodes)).forEach((e=>{e["s-ol"]&&e["s-ol"].remove(),e.remove()})),this.insertAdjacentHTML("beforeend",e)}})},Ne=e=>{class t extends Array{item(e){return this[e]}}Pe("children",e),Object.defineProperty(e,"children",{get(){return this.childNodes.filter((e=>1===e.nodeType))}}),Object.defineProperty(e,"childElementCount",{get(){return this.children.length}}),Pe("firstChild",e),Object.defineProperty(e,"firstChild",{get(){return this.childNodes[0]}}),Pe("lastChild",e),Object.defineProperty(e,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),Pe("childNodes",e),Object.defineProperty(e,"childNodes",{get(){const e=new t;return e.push(...ae(this.__childNodes)),e}})},ke=e=>{e&&void 0===e.__nextSibling&&globalThis.Node&&(Te(e),Le(e),De(e),e.nodeType===Node.ELEMENT_NODE&&(Re(e),Me(e)))},Te=e=>{e&&!e.__nextSibling&&(Pe("nextSibling",e),Object.defineProperty(e,"nextSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextSibling}}))},Re=e=>{e&&!e.__nextElementSibling&&(Pe("nextElementSibling",e),Object.defineProperty(e,"nextElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n+1]:this.__nextElementSibling}}))},Le=e=>{e&&!e.__previousSibling&&(Pe("previousSibling",e),Object.defineProperty(e,"previousSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.childNodes,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousSibling}}))},Me=e=>{e&&!e.__previousElementSibling&&(Pe("previousElementSibling",e),Object.defineProperty(e,"previousElementSibling",{get:function(){var e;const t=null==(e=this["s-ol"])?void 0:e.parentNode.children,n=null==t?void 0:t.indexOf(this);return t&&n>-1?t[n-1]:this.__previousElementSibling}}))},De=e=>{e&&!e.__parentNode&&(Pe("parentNode",e),Object.defineProperty(e,"parentNode",{get:function(){var e;return(null==(e=this["s-ol"])?void 0:e.parentNode)||this.__parentNode},set:function(e){this.__parentNode=e}}))},Ae=["children","nextElementSibling","previousElementSibling"],Ie=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function Pe(e,t){if(!globalThis.Node||!globalThis.Element)return;let n;Ae.includes(e)?n=Object.getOwnPropertyDescriptor(Element.prototype,e):Ie.includes(e)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,e)),n||(n=Object.getOwnPropertyDescriptor(t,e)),n&&Object.defineProperty(t,"__"+e,n)}function He(e,t){if("__"+t in e){const n=e["__"+t];return"function"!=typeof n?n:n.bind(e)}return"function"!=typeof e[t]?e[t]:e[t].bind(e)}var Fe=0,Ue=(e,n="")=>{if(t.profile&&performance.mark){const t=`st:${e}:${n}:${Fe++}`;return performance.mark(t),()=>performance.measure(`[Stencil] ${e}() <${n}>`,t)}return()=>{}},Be=new WeakMap,ze=(e,t,n)=>{let o=S.get(e);I&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,S.set(e,o)},Ve=(e,n,o)=>{var s;const r=Ye(n,o),i=S.get(r);if(!t.attachStyles||!R.document)return r;if(e=11===e.nodeType?e:R.document,i)if("string"==typeof i){let o,l=Be.get(e=e.head||e);if(l||Be.set(e,l=new Set),!l.has(r)){if(t.hydrateClientSide&&e.host&&(o=e.querySelector(`[${j}="${r}"]`)))o.innerHTML=i;else{o=R.document.createElement("style"),o.innerHTML=i;const l=null!=(s=M.T)?s:G(R.document);if(null!=l&&o.setAttribute("nonce",l),(t.hydrateServerSide||t.hotModuleReplacement)&&(2&n.u||128&n.u)&&o.setAttribute(j,r),!(1&n.u))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(o,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(I){const t=new CSSStyleSheet;t.replaceSync(i),P?e.adoptedStyleSheets.unshift(t):e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=i+t.innerHTML:e.prepend(o)}else e.append(o);1&n.u&&e.insertBefore(o,null)}4&n.u&&(o.innerHTML+=N),l&&l.add(r)}}else t.constructableCSS&&!e.adoptedStyleSheets.includes(i)&&(P?e.adoptedStyleSheets.push(i):e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},We=e=>{const n=e.o,o=e.$hostElement$,s=n.u,r=Ue("attachStyles",n.C),i=Ve(t.shadowDom&&D&&o.shadowRoot?o.shadowRoot:o.getRootNode(),n,e.N);(t.shadowDom||t.scoped)&&t.cssAnnotations&&10&s&&(o["s-sc"]=i,o.classList.add(i+"-h")),r()},Ye=(e,n)=>"sc-"+(t.mode&&n&&32&e.u?e.C+"-"+n:e.C),Je=e=>e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Xe=()=>{if(!R.document)return;const e=R.document.querySelectorAll(`[${j}]`);let t=0;for(;t<e.length;t++)ze(e[t].getAttribute(j),Je(e[t].innerHTML),!0)},qe=(e,n,...o)=>{"string"==typeof e&&(e=eo(e));let s=null,r=null,i=null,l=!1,c=!1;const a=[],u=n=>{for(let o=0;o<n.length;o++)s=n[o],Array.isArray(s)?u(s):null!=s&&"boolean"!=typeof s&&((l="function"!=typeof e&&!Q(s))?s+="":t.isDev&&"function"!=typeof e&&void 0===s.u&&g("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),l&&c?a[a.length-1].R+=s:a.push(l?Ke(null,s):s),c=l)};if(u(o),n&&(t.isDev&&"input"===e&&nt(n),t.vdomKey&&n.key&&(r=n.key),t.slotRelocation&&n.name&&(i=n.name),t.vdomClass)){const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}if(t.isDev&&a.some(Ge)&&g("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),t.vdomFunctional&&"function"==typeof e)return e(null===n?{}:n,a,Ze);const f=Ke(e,null);return f.L=n,a.length>0&&(f.M=a),t.vdomKey&&(f.D=r),t.slotRelocation&&(f.A=i),f},Ke=(e,n)=>{const o={u:0,I:e,R:n,P:null,M:null};return t.vdomAttribute&&(o.L=null),t.vdomKey&&(o.D=null),t.slotRelocation&&(o.A=null),o},Qe={},Ge=e=>e&&e.I===Qe,Ze={forEach:(e,t)=>e.map(et).forEach(t),map:(e,t)=>e.map(et).map(t).map(tt)},et=e=>({vattrs:e.L,vchildren:e.M,vkey:e.D,vname:e.A,vtag:e.I,vtext:e.R}),tt=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),qe(e.vtag,t,...e.vchildren||[])}const t=Ke(e.vtag,e.vtext);return t.L=e.vattrs,t.M=e.vchildren,t.D=e.vkey,t.A=e.vname,t},nt=e=>{const t=Object.keys(e),n=t.indexOf("value");if(-1===n)return;const o=t.indexOf("type"),s=t.indexOf("min"),r=t.indexOf("max"),i=t.indexOf("step");(n<o||n<s||n<r||n<i)&&$('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},ot=(e,n,o,s,r,i,l,c=[])=>{let a,u,f,d;const h=r["s-sc"];if(1===i.nodeType){if(a=i.getAttribute(C),a&&(u=a.split("."),u[0]===l||"0"===u[0])){f=rt({u:0,F:u[0],U:u[1],B:u[2],V:u[3],I:i.tagName.toLowerCase(),P:i,L:{class:i.className||""}}),n.push(f),i.removeAttribute(C),e.M||(e.M=[]),t.scoped&&h&&u[0]===l&&(i["s-si"]=h,f.L.class+=" "+h);const r=f.P.getAttribute("s-sn");"string"==typeof r&&("slot-fb"===f.I&&(it(r,u[2],f,i,e,n,o,s,c),t.scoped&&h&&i.classList.add(h)),f.P["s-sn"]=r,f.P.removeAttribute("s-sn")),void 0!==f.V&&(e.M[f.V]=f),e=f,s&&"0"===f.B&&(s[f.V]=f.P)}if(i.shadowRoot)for(d=i.shadowRoot.childNodes.length-1;d>=0;d--)ot(e,n,o,s,r,i.shadowRoot.childNodes[d],l,c);const p=i.__childNodes||i.childNodes;for(d=p.length-1;d>=0;d--)ot(e,n,o,s,r,p[d],l,c)}else if(8===i.nodeType)u=i.nodeValue.split("."),(u[1]===l||"0"===u[1])&&(a=u[0],f=rt({F:u[1],U:u[2],B:u[3],V:u[4]||"0",P:i,L:null,M:null,D:null,A:null,I:null,R:null}),"t"===a?(f.P=ft(i,3),f.P&&3===f.P.nodeType&&(f.R=f.P.textContent,n.push(f),i.remove(),l===f.F&&(e.M||(e.M=[]),e.M[f.V]=f),s&&"0"===f.B&&(s[f.V]=f.P))):"c"===a?(f.P=ft(i,8),f.P&&8===f.P.nodeType&&(n.push(f),i.remove())):f.F===l&&("s"===a?it(i["s-sn"]=u[5]||"",u[2],f,i,e,n,o,s,c):"r"===a&&(t.shadowDom&&s?i.remove():t.slotRelocation&&(r["s-cr"]=i,i["s-cn"]=!0))));else if(e&&"style"===e.I){const t=Ke(null,i.textContent);t.P=i,t.V="0",e.M=[t]}else 3!==i.nodeType||i.wholeText.trim()||i["s-nr"]||i.remove();return e},st=(e,t)=>{if(1===e.nodeType){const n=e[O]||e.getAttribute(O);n&&t.set(n,e);let o=0;if(e.shadowRoot)for(;o<e.shadowRoot.childNodes.length;o++)st(e.shadowRoot.childNodes[o],t);const s=e.__childNodes||e.childNodes;for(o=0;o<s.length;o++)st(s[o],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},rt=e=>({u:0,F:null,U:null,B:null,V:"0",P:null,L:null,M:null,D:null,A:null,I:null,R:null,...e});function it(e,n,o,s,r,i,l,c,a){s["s-sr"]=!0,o.A=e||null,o.I="slot";const u=(null==r?void 0:r.P)?r.P["s-id"]||r.P.getAttribute("s-id"):"";if(t.shadowDom&&c&&R.document){const t=o.P=R.document.createElement(o.I);o.A&&o.P.setAttribute("name",e),r.P.shadowRoot&&u&&u!==o.F?He(r.P,"insertBefore")(t,He(r.P,"children")[0]):He(He(s,"parentNode"),"insertBefore")(t,s),ut(a,n,e,s,o.F),s.remove(),"0"===o.B&&(c[o.V]=o.P)}else{const t=o.P,i=u&&u!==o.F&&r.P.shadowRoot;ut(a,n,e,s,i?u:o.F),me(s),i&&r.P.insertBefore(t,r.P.children[0])}i.push(o),l.push(o),r.M||(r.M=[]),r.M[o.V]=o}var lt,ct,at,ut=(e,t,n,o,s)=>{var r,i;let l=o.nextSibling;if(e[t]=e[t]||[],l&&!(null==(r=l.nodeValue)?void 0:r.startsWith("s.")))do{!l||(l.getAttribute&&l.getAttribute("slot")||l["s-sn"])!==n&&(""!==n||l["s-sn"]||l.getAttribute&&l.getAttribute("slot")||8!==l.nodeType&&3!==l.nodeType)||(l["s-sn"]=n,e[t].push({slot:o,node:l,hostId:s})),l=null==l?void 0:l.nextSibling}while(l&&!(null==(i=l.nodeValue)?void 0:i.startsWith("s.")))},ft=(e,t)=>{let n=e;do{n=n.nextSibling}while(n&&(n.nodeType!==t||!n.nodeValue));return n},dt="-shadowcsshost",ht="-shadowcssslotted",pt="-shadowcsscontext",mt=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",vt=RegExp("("+dt+mt,"gim"),gt=RegExp("("+pt+mt,"gim"),$t=RegExp("("+ht+mt,"gim"),bt=dt+"-no-combinator",yt=/-shadowcsshost-no-combinator([^\s]*)/,wt=[/::shadow/g,/::content/g],St=/__part-(\d+)__/g,xt=/-shadowcsshost/gim,Ot=e=>{const t=Z(e);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,"g")},jt=Ot("::slotted"),Ct=Ot(":host"),_t=Ot(":host-context"),Et=/\/\*\s*[\s\S]*?\*\//g,Nt=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,kt=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,Tt=/([{}])/g,Rt=/(^.*?[^\\])??((:+)(.*)|$)/,Lt="%BLOCK%",Mt=(e,t)=>{const n=Dt(e);let o=0;return n.escapedString.replace(kt,((...e)=>{const s=e[2];let r="",i=e[4],l="";i&&i.startsWith("{"+Lt)&&(r=n.blocks[o++],i=i.substring(8),l="{");const c=t({selector:s,content:r});return`${e[1]}${c.selector}${e[3]}${l}${c.content}${i}`}))},Dt=e=>{const t=e.split(Tt),n=[],o=[];let s=0,r=[];for(let e=0;e<t.length;e++){const i=t[e];"}"===i&&s--,s>0?r.push(i):(r.length>0&&(o.push(r.join("")),n.push(Lt),r=[]),n.push(i)),"{"===i&&s++}return r.length>0&&(o.push(r.join("")),n.push(Lt)),{escapedString:n.join(""),blocks:o}},At=(e,t,n)=>e.replace(t,((...e)=>{if(e[2]){const t=e[2].split(","),o=[];for(let s=0;s<t.length;s++){const r=t[s].trim();if(!r)break;o.push(n(bt,r,e[3]))}return o.join(",")}return bt+e[3]})),It=(e,t,n)=>e+t.replace(dt,"")+n,Pt=(e,t,n)=>t.indexOf(dt)>-1?It(e,t,n):e+t+n+", "+t+" "+e+n,Ht=(e,t)=>e.replace(Rt,((e,n="",o,s="",r="")=>n+t+s+r)),Ft=(e,t,n,o)=>Mt(e,(e=>{let s=e.selector,r=e.content;return"@"!==e.selector[0]?s=((e,t,n,o)=>e.split(",").map((e=>o&&e.indexOf("."+o)>-1?e.trim():((e,t)=>!(e=>(e=e.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),RegExp("^("+e+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(t).test(e))(e,t)?((e,t,n)=>{const o="."+(t=t.replace(/\[is=([^\]]*)\]/g,((e,...t)=>t[0]))),s=e=>{let s=e.trim();if(!s)return"";if(e.indexOf(bt)>-1)s=((e,t,n)=>{if(xt.lastIndex=0,xt.test(e)){const t="."+n;return e.replace(yt,((e,n)=>Ht(n,t))).replace(xt,t+" ")}return t+" "+e})(e,t,n);else{const t=e.replace(xt,"");t.length>0&&(s=Ht(t,o))}return s},r=(e=>{const t=[];let n=0;return{content:(e=(e=e.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g,((e,o)=>{const s=`__part-${n}__`;return t.push(o),n++,s}))).replace(/(\[[^\]]*\])/g,((e,o)=>{const s=`__ph-${n}__`;return t.push(o),n++,s}))).replace(/(:nth-[-\w]+)(\([^)]+\))/g,((e,o,s)=>{const r=`__ph-${n}__`;return t.push(s),n++,o+r})),placeholders:t}})(e);let i,l="",c=0;const a=/( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;let u=!((e=r.content).indexOf(bt)>-1);for(;null!==(i=a.exec(e));){const t=i[1],n=e.slice(c,i.index).trim();u=u||n.indexOf(bt)>-1,l+=`${u?s(n):n} ${t} `,c=a.lastIndex}const f=e.substring(c);return u=!f.match(St)&&(u||f.indexOf(bt)>-1),l+=u?s(f):f,((e,t)=>(t=t.replace(/__part-(\d+)__/g,((t,n)=>e[+n]))).replace(/__ph-(\d+)__/g,((t,n)=>e[+n])))(r.placeholders,l)})(e,t,n).trim():e.trim())).join(", "))(e.selector,t,n,o):(e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document"))&&(r=Ft(e.content,t,n,o)),{selector:s.replace(/\s{2,}/g," ").trim(),content:r}})),Ut=(e,t)=>e.replace(/-shadowcsshost-no-combinator/g,"."+t),Bt=(e,t)=>{const n=t+"-h",o=t+"-s",s=(e=>e.match(Nt)||[])(e);e=(e=>e.replace(Et,""))(e);const r=[];{const t=e=>{const t=`/*!@___${r.length}___*/`;return r.push({placeholder:t,comment:`/*!@${e.selector}*/`}),e.selector=t+e.selector,e};e=Mt(e,(e=>"@"!==e.selector[0]?t(e):e.selector.startsWith("@media")||e.selector.startsWith("@supports")||e.selector.startsWith("@page")||e.selector.startsWith("@document")?(e.content=Mt(e.content,t),e):e))}const i=((e,t,n,o)=>{const s=((e,t)=>{const n="."+t+" > ",o=[];return e=e.replace($t,((...e)=>{if(e[2]){const t=e[2].trim(),s=n+t+e[3];let r="";for(let t=e[4]-1;t>=0;t--){const n=e[5][t];if("}"===n||","===n)break;r=n+r}const i=(r+s).trim(),l=`${r.trimEnd()}${s.trim()}`.trim();return i!==l&&o.push({orgSelector:i,updatedSelector:`${l}, ${i}`}),s}return bt+e[3]})),{selectors:o,cssText:e}})(e=(e=>At(e,gt,Pt))(e=(e=>At(e,vt,It))(e=(e=>{const t=[];return e=(e=e.replace(/@supports\s+selector\s*\(\s*([^)]*)\s*\)/g,((e,n)=>{const o=`__supports_${t.length}__`;return t.push(n),`@supports selector(${o})`}))).replace(_t,"$1"+pt).replace(Ct,"$1"+dt).replace(jt,"$1"+ht),t.forEach(((t,n)=>{e=e.replace(`__supports_${n}__`,t)})),e})(e))),o);return e=(e=>wt.reduce(((e,t)=>e.replace(t," ")),e))(e=s.cssText),t&&(e=Ft(e,t,n,o)),{cssText:(e=(e=Ut(e,n)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:s.selectors.map((e=>({orgSelector:Ut(e.orgSelector,n),updatedSelector:Ut(e.updatedSelector,n)})))}})(e,t,n,o);return e=[i.cssText,...s].join("\n"),r.forEach((({placeholder:t,comment:n})=>{e=e.replace(t,n)})),i.slottedSelectors.forEach((t=>{const n=RegExp(Z(t.orgSelector),"g");e=e.replace(n,t.updatedSelector)})),e=(e=>{const t=/([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;return Mt(e,(e=>{if("@"===e.selector[0])return e;const n=e.selector.split(",").map((n=>{const o=[n.trim()];let s;for(;null!==(s=t.exec(n));){const t=s[1].trimEnd(),r=s[2].trim().split(/\s+/),i=s[3]||"",l=r.flatMap((t=>e.selector.includes(`[part~="${t}"]`)?[]:[`[part~="${t}"]`])).join(""),c=`${t} ${l}${i}`;l&&c!==n.trim()&&o.push(c)}return o.join(", ")}));return e.selector=n.join(", "),e}))})(e)},zt=e=>x.map((t=>t(e))).find((e=>!!e)),Vt=(e,n,o)=>(t.hydrateClientSide||t.hydrateServerSide)&&"string"==typeof e&&e.startsWith(a)?e=function(e){return"string"==typeof e&&e.startsWith(a)?ee.fromLocalValue(JSON.parse(atob(e.slice(11)))):e}(e):null==e||Q(e)?e:t.propBoolean&&4&n?(t.formAssociated&&o&&"string"==typeof e||"false"!==e)&&(""===e||!!e):t.propNumber&&2&n?"string"==typeof e?parseFloat(e):"number"==typeof e?e:NaN:t.propString&&1&n?e+"":e,Wt=e=>{var n;return t.lazyLoad?null==(n=f(e))?void 0:n.$hostElement$:e},Yt=(e,t,n)=>{const o=M.ce(t,n);return e.dispatchEvent(o),o},Jt=(e,n,o,s,r,i,l)=>{if(o===s)return;let c=p(e,n),a=n.toLowerCase();if(t.vdomClass&&"class"===n){const n=e.classList,r=qt(o);let i=qt(s);if(t.hydrateClientSide&&(e["s-si"]||e["s-sc"])&&l){const t=e["s-sc"]||e["s-si"];i.push(t),r.forEach((e=>{e.startsWith(t)&&i.push(e)})),i=[...new Set(i)].filter((e=>e)),n.add(...i)}else n.remove(...r.filter((e=>e&&!i.includes(e)))),n.add(...i.filter((e=>e&&!r.includes(e))))}else if(t.vdomStyle&&"style"===n){if(t.updatable)for(const n in o)s&&null!=s[n]||(!t.hydrateServerSide&&n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in s)o&&s[n]===o[n]||(!t.hydrateServerSide&&n.includes("-")?e.style.setProperty(n,s[n]):e.style[n]=s[n])}else if(t.vdomKey&&"key"===n);else if(t.vdomRef&&"ref"===n)s&&s(e);else if(!t.vdomListener||(t.lazyLoad?c:e.__lookupSetter__(n))||"o"!==n[0]||"n"!==n[1]){if(t.vdomPropOrAttr){const l=Q(s);if((c||l&&null!==s)&&!r)try{if(e.tagName.includes("-"))e[n]!==s&&(e[n]=s);else{const t=null==s?"":s;"list"===n?c=!1:null!=o&&e[n]==t||("function"==typeof e.__lookupSetter__(n)?e[n]=t:e.setAttribute(n,t))}}catch(e){}let u=!1;t.vdomXlink&&a!==(a=a.replace(/^xlink\:?/,""))&&(n=a,u=!0),null==s||!1===s?!1===s&&""!==e.getAttribute(n)||(t.vdomXlink&&u?e.removeAttributeNS(k,n):e.removeAttribute(n)):(!c||4&i||r)&&!l&&1===e.nodeType&&(s=!0===s?"":s,t.vdomXlink&&u?e.setAttributeNS(k,n,s):e.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):p(R,a)?a.slice(2):a[2]+n.slice(3),o||s){const t=n.endsWith(Kt);n=n.replace(Qt,""),o&&M.rel(e,n,o,t),s&&M.ael(e,n,s,t)}},Xt=/\s/,qt=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(Xt):[]),Kt="Capture",Qt=RegExp(Kt+"$"),Gt=(e,n,o,s)=>{const r=11===n.P.nodeType&&n.P.host?n.P.host:n.P,i=e&&e.L||{},l=n.L||{};if(t.updatable)for(const e of Zt(Object.keys(i)))e in l||Jt(r,e,i[e],void 0,o,n.u,s);for(const e of Zt(Object.keys(l)))Jt(r,e,i[e],l[e],o,n.u,s)};function Zt(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var en=!1,tn=!1,nn=!1,on=!1,sn=(e,n,o)=>{var s;const r=n.M[o];let i,l,c,a=0;if(t.slotRelocation&&!en&&(nn=!0,"slot"===r.I&&(r.u|=r.M?2:1)),t.isDev&&r.P&&g(`The JSX ${null!==r.R?`"${r.R}" text`:`"${r.I}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),t.vdomText&&null!==r.R)i=r.P=R.document.createTextNode(r.R);else if(t.slotRelocation&&1&r.u)i=r.P=t.isDebug||t.hydrateServerSide?bn(r):R.document.createTextNode(""),t.vdomAttribute&&Gt(null,r,on);else{if(t.svg&&!on&&(on="svg"===r.I),!R.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(i=r.P=t.svg?R.document.createElementNS(on?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!en&&t.slotRelocation&&2&r.u?"slot-fb":r.I):R.document.createElement(!en&&t.slotRelocation&&2&r.u?"slot-fb":r.I),t.svg&&on&&"foreignObject"===r.I&&(on=!1),t.vdomAttribute&&Gt(null,r,on),(t.scoped||t.hydrateServerSide)&&null!=lt&&void 0!==lt&&i["s-si"]!==lt&&i.classList.add(i["s-si"]=lt),r.M)for(a=0;a<r.M.length;++a)l=sn(e,r,a),l&&i.appendChild(l);t.svg&&("svg"===r.I?on=!1:"foreignObject"===i.tagName&&(on=!0))}return i["s-hn"]=at,t.slotRelocation&&3&r.u&&(i["s-sr"]=!0,i["s-cr"]=ct,i["s-sn"]=r.A||"",i["s-rf"]=null==(s=r.L)?void 0:s.ref,me(i),c=e&&e.M&&e.M[o],c&&c.I===r.I&&e.P&&(t.experimentalSlotFixes?rn(e.P):ln(e.P,!1)),(t.scoped||t.hydrateServerSide)&&gn(ct,i,n.P,null==e?void 0:e.P)),i},rn=e=>{M.u|=1;const t=e.closest(at.toLowerCase());if(null!=t){const n=Array.from(t.__childNodes||t.childNodes).find((e=>e["s-cr"])),o=Array.from(e.__childNodes||e.childNodes);for(const e of n?o.reverse():o)null!=e["s-sh"]&&(vn(t,e,null!=n?n:null),e["s-sh"]=void 0,nn=!0)}M.u&=-2},ln=(e,n)=>{M.u|=1;const o=Array.from(e.__childNodes||e.childNodes);if(e["s-sr"]&&t.experimentalSlotFixes){let t=e;for(;t=t.nextSibling;)t&&t["s-sn"]===e["s-sn"]&&t["s-sh"]===at&&o.push(t)}for(let e=o.length-1;e>=0;e--){const t=o[e];t["s-hn"]!==at&&t["s-ol"]&&(vn(fn(t).parentNode,t,fn(t)),t["s-ol"].remove(),t["s-ol"]=void 0,t["s-sh"]=void 0,nn=!0),n&&ln(t,n)}M.u&=-2},cn=(e,n,o,s,r,i)=>{let l,c=t.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;for(t.shadowDom&&c.shadowRoot&&c.tagName===at&&(c=c.shadowRoot);r<=i;++r)s[r]&&(l=sn(null,o,r),l&&(s[r].P=l,vn(c,l,t.slotRelocation?fn(n):n)))},an=(e,n,o)=>{for(let s=n;s<=o;++s){const n=e[s];if(n){const e=n.P;mn(n),e&&(t.slotRelocation&&(tn=!0,e["s-ol"]?e["s-ol"].remove():ln(e,!0)),e.remove())}}},un=(e,n,o=!1)=>e.I===n.I&&(t.slotRelocation&&"slot"===e.I?e.A===n.A:t.vdomKey&&!o?e.D===n.D:(o&&!e.D&&n.D&&(e.D=n.D),!0)),fn=e=>e&&e["s-ol"]||e,dn=(e,n,o=!1)=>{const s=n.P=e.P,r=e.M,i=n.M,l=n.I,c=n.R;let a;t.vdomText&&null!==c?t.vdomText&&t.slotRelocation&&(a=s["s-cr"])?a.parentNode.textContent=c:t.vdomText&&e.R!==c&&(s.data=c):(t.svg&&(on="svg"===l||"foreignObject"!==l&&on),(t.vdomAttribute||t.reflect)&&(t.slot&&"slot"===l&&!en&&t.experimentalSlotFixes&&e.A!==n.A&&(n.P["s-sn"]=n.A||"",rn(n.P.parentElement)),Gt(e,n,on,o)),t.updatable&&null!==r&&null!==i?((e,n,o,s,r=!1)=>{let i,l,c=0,a=0,u=0,f=0,d=n.length-1,h=n[0],p=n[d],m=s.length-1,v=s[0],g=s[m];for(;c<=d&&a<=m;)if(null==h)h=n[++c];else if(null==p)p=n[--d];else if(null==v)v=s[++a];else if(null==g)g=s[--m];else if(un(h,v,r))dn(h,v,r),h=n[++c],v=s[++a];else if(un(p,g,r))dn(p,g,r),p=n[--d],g=s[--m];else if(un(h,g,r))!t.slotRelocation||"slot"!==h.I&&"slot"!==g.I||ln(h.P.parentNode,!1),dn(h,g,r),vn(e,h.P,p.P.nextSibling),h=n[++c],g=s[--m];else if(un(p,v,r))!t.slotRelocation||"slot"!==h.I&&"slot"!==g.I||ln(p.P.parentNode,!1),dn(p,v,r),vn(e,p.P,h.P),p=n[--d],v=s[++a];else{if(u=-1,t.vdomKey)for(f=c;f<=d;++f)if(n[f]&&null!==n[f].D&&n[f].D===v.D){u=f;break}t.vdomKey&&u>=0?(l=n[u],l.I!==v.I?i=sn(n&&n[a],o,u):(dn(l,v,r),n[u]=void 0,i=l.P),v=s[++a]):(i=sn(n&&n[a],o,a),v=s[++a]),i&&(t.slotRelocation?vn(fn(h.P).parentNode,i,fn(h.P)):vn(h.P.parentNode,i,h.P))}c>d?cn(e,null==s[m+1]?null:s[m+1].P,o,s,a,m):t.updatable&&a>m&&an(n,c,d)})(s,r,n,i,o):null!==i?(t.updatable&&t.vdomText&&null!==e.R&&(s.textContent=""),cn(s,null,n,i,0,i.length-1)):!o&&t.updatable&&null!==r?an(r,0,r.length-1):t.hydrateClientSide&&o&&t.updatable&&null!==r&&null===i&&(n.M=r),t.svg&&on&&"svg"===l&&(on=!1))},hn=[],pn=e=>{let n,o,s;const r=e.__childNodes||e.childNodes;for(const e of r){if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){o=n.parentNode.__childNodes||n.parentNode.childNodes;const r=e["s-sn"];for(s=o.length-1;s>=0;s--)if(n=o[s],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||t.experimentalSlotFixes&&n["s-sh"]&&n["s-sh"]===e["s-hn"]))if(de(n,r)){let t=hn.find((e=>e.W===n));tn=!0,n["s-sn"]=n["s-sn"]||r,t?(t.W["s-sh"]=e["s-hn"],t.Y=e):(n["s-sh"]=e["s-hn"],hn.push({Y:e,W:n})),n["s-sr"]&&hn.map((e=>{de(e.W,n["s-sn"])&&(t=hn.find((e=>e.W===n)),t&&!e.Y&&(e.Y=t.Y))}))}else hn.some((e=>e.W===n))||hn.push({W:n})}1===e.nodeType&&pn(e)}},mn=e=>{t.vdomRef&&(e.L&&e.L.ref&&e.L.ref(null),e.M&&e.M.map(mn))},vn=(e,n,o)=>{if(t.scoped&&"string"==typeof n["s-sn"]&&n["s-sr"]&&n["s-cr"])gn(n["s-cr"],n,e,n.parentElement);else if(t.experimentalSlotFixes&&"string"==typeof n["s-sn"]){11!==e.getRootNode().nodeType&&De(n),e.insertBefore(n,o);const{slotNode:t}=ge(n);return t&&ve(t),n}return t.experimentalSlotFixes&&e.__insertBefore?e.__insertBefore(n,o):null==e?void 0:e.insertBefore(n,o)};function gn(e,t,n,o){var s,r;let i;if(e&&"string"==typeof t["s-sn"]&&t["s-sr"]&&e.parentNode&&e.parentNode["s-sc"]&&(i=t["s-si"]||e.parentNode["s-sc"])){const e=t["s-sn"],l=t["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(r=o.classList)?void 0:r.contains(i+"-s"))){let t=(o.__childNodes||o.childNodes)[0],n=!1;for(;t;){if(t["s-sn"]!==e&&t["s-hn"]===l&&t["s-sr"]){n=!0;break}t=t.nextSibling}n||o.classList.remove(i+"-s")}}}var $n=(e,n,o=!1)=>{var s,r,i,l,c;const a=e.$hostElement$,u=e.o,f=e.J||Ke(null,null),d=Ge(n)?n:qe(null,null,n);if(at=a.tagName,t.isDev&&Array.isArray(n)&&n.some(Ge))throw Error(`The <Host> must be the single root component.\nLooks like the render() function of "${at.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(t.reflect&&u.X&&(d.L=d.L||{},u.X.forEach((([n,o])=>{d.L[o]=t.serializer&&e.p.has(n)?e.p.get(n):a[n]}))),o&&d.L)for(const e of Object.keys(d.L))a.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(d.L[e]=a[e]);if(d.I=null,d.u|=4,e.J=d,d.P=f.P=t.shadowDom&&a.shadowRoot||a,(t.scoped||t.shadowDom)&&(lt=a["s-sc"]),en=D&&!!(1&u.u)&&!(128&u.u),t.slotRelocation&&(ct=a["s-cr"],tn=!1),dn(f,d,o),t.slotRelocation){if(M.u|=1,nn){pn(d.P);for(const e of hn){const n=e.W;if(!n["s-ol"]&&R.document){const e=t.isDebug||t.hydrateServerSide?yn(n):R.document.createTextNode("");e["s-nr"]=n,vn(n.parentNode,n["s-ol"]=e,n)}}for(const e of hn){const n=e.W,c=e.Y;if(c){const e=c.parentNode;let o=c.nextSibling;if(!t.hydrateServerSide&&(!t.experimentalSlotFixes||o&&1===o.nodeType)){let t=null==(s=n["s-ol"])?void 0:s.previousSibling;for(;t;){let s=null!=(r=t["s-nr"])?r:null;if(s&&s["s-sn"]===n["s-sn"]&&e===(s.__parentNode||s.parentNode)){for(s=s.nextSibling;s===n||(null==s?void 0:s["s-sr"]);)s=null==s?void 0:s.nextSibling;if(!s||!s["s-nr"]){o=s;break}}t=t.previousSibling}}(!o&&e!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o&&(t.experimentalSlotFixes||n["s-hn"]||!n["s-ol"]||(n["s-hn"]=n["s-ol"].parentNode.nodeName),vn(e,n,o),1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)),n&&"function"==typeof c["s-rf"]&&c["s-rf"](c)}else 1===n.nodeType&&(o&&(n["s-ih"]=null!=(l=n.hidden)&&l),n.hidden=!0)}}tn&&ce(d.P),M.u&=-2,hn.length=0}if(t.experimentalScopedSlotChanges&&2&u.u){const e=d.P.__childNodes||d.P.childNodes;for(const t of e)t["s-hn"]===at||t["s-sh"]||1!==t.nodeType||(o&&null==t["s-ih"]&&(t["s-ih"]=null!=(c=t.hidden)&&c),t.hidden=!0)}ct=void 0},bn=e=>{var t;return null==(t=R.document)?void 0:t.createComment(`<slot${e.A?' name="'+e.A+'"':""}> (host=${at.toLowerCase()})`)},yn=e=>{var t;return null==(t=R.document)?void 0:t.createComment("org-location for "+(e.localName?`<${e.localName}> (host=${e["s-hn"]})`:`[${e.textContent}]`))},wn=(e,n)=>{if(t.asyncLoading&&n&&!e.q&&n["s-p"]){const t=n["s-p"].push(new Promise((o=>e.q=()=>{n["s-p"].splice(t-1,1),o()})))}},Sn=(e,n)=>{if(t.taskQueue&&t.updatable&&(e.u|=16),t.asyncLoading&&4&e.u)return void(e.u|=512);wn(e,e.K);const o=()=>xn(e,n);if(!n)return t.taskQueue?K(o):o();queueMicrotask((()=>{o()}))},xn=(e,n)=>{const o=e.$hostElement$,s=Ue("scheduleUpdate",e.o.C),r=t.lazyLoad?e.l:o;if(!r)throw Error(`Can't render component <${o.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return n?(t.lazyLoad&&(t.hostListener&&(e.u|=256,e.G&&(e.G.map((([e,t])=>Rn(r,e,t,o))),e.G=void 0)),e.j.length&&e.j.forEach((e=>e(o)))),Ln(o,"componentWillLoad"),i=Rn(r,"componentWillLoad",void 0,o)):(Ln(o,"componentWillUpdate"),i=Rn(r,"componentWillUpdate",void 0,o)),Ln(o,"componentWillRender"),i=On(i,(()=>Rn(r,"componentWillRender",void 0,o))),s(),On(i,(()=>Cn(e,r,n)))},On=(e,t)=>jn(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),jn=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Cn=async(e,n,o)=>{var s;const r=e.$hostElement$,i=Ue("update",e.o.C),l=r["s-rc"];t.style&&o&&We(e);const c=Ue("render",e.o.C);if(t.isDev&&(e.u|=1024),t.hydrateServerSide?await En(e,n,r,o):En(e,n,r,o),t.isDev&&(e.m=void 0===e.m?1:e.m+1,e.u&=-1025),t.hydrateServerSide)try{Dn(r),o&&(1&e.o.u?r["s-en"]="":2&e.o.u&&(r["s-en"]="c"))}catch(e){m(e,r)}if(t.asyncLoading&&l&&(l.map((e=>e())),r["s-rc"]=void 0),c(),i(),t.asyncLoading){const t=null!=(s=r["s-p"])?s:[],n=()=>Nn(e);0===t.length?n():(Promise.all(t).then(n),e.u|=4,t.length=0)}else Nn(e)},_n=null,En=(e,n,o,s)=>{const r=!!t.allRenderFn,i=!!t.lazyLoad,l=!!t.taskQueue,c=!!t.updatable;try{if(_n=n,n=(r||n.render)&&n.render(),c&&l&&(e.u&=-17),(c||i)&&(e.u|=2),t.hasRenderFn||t.reflect)if(t.vdomRender||t.reflect){if(t.hydrateServerSide)return Promise.resolve(n).then((t=>$n(e,t,s)));$n(e,n,s)}else 1&e.o.u?o.shadowRoot.textContent=n:o.textContent=n}catch(t){m(t,e.$hostElement$)}return _n=null,null},Nn=e=>{const n=e.o.C,o=e.$hostElement$,s=Ue("postUpdate",n),r=t.lazyLoad?e.l:o,i=e.K;t.isDev&&(e.u|=1024),Rn(r,"componentDidRender",void 0,o),t.isDev&&(e.u&=-1025),Ln(o,"componentDidRender"),64&e.u?(t.isDev&&(e.u|=1024),Rn(r,"componentDidUpdate",void 0,o),t.isDev&&(e.u&=-1025),Ln(o,"componentDidUpdate"),s()):(e.u|=64,t.asyncLoading&&t.cssAnnotations&&Mn(o),t.isDev&&(e.u|=2048),Rn(r,"componentDidLoad",void 0,o),t.isDev&&(e.u&=-2049),Ln(o,"componentDidLoad"),s(),t.asyncLoading&&(e.O(o),i||Tn(n))),t.method&&t.lazyLoad&&e.$(o),t.asyncLoading&&(e.q&&(e.q(),e.q=void 0),512&e.u&&X((()=>Sn(e,!1))),e.u&=-517)},kn=e=>{var n;if(t.updatable&&(s.isBrowser||s.isTesting)){const t=f(e),o=null==(n=null==t?void 0:t.$hostElement$)?void 0:n.isConnected;return o&&2==(18&t.u)&&Sn(t,!1),o}return!1},Tn=n=>{var o;t.asyncQueue&&(M.u|=2),X((()=>Yt(R,"appload",{detail:{namespace:e}}))),t.hydrateClientSide&&(null==(o=M.Z)?void 0:o.size)&&M.Z.clear(),t.profile&&performance.measure&&performance.measure(`[Stencil] ${e} initial load (by ${n})`,"st:app:start")},Rn=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){m(e,o)}},Ln=(n,o)=>{t.lifecycleDOMEvents&&Yt(n,"stencil_"+o,{bubbles:!0,composed:!0,detail:{namespace:e}})},Mn=e=>{var n,o;return t.hydratedClass?e.classList.add(null!=(n=t.hydratedSelectorName)?n:"hydrated"):t.hydratedAttribute?e.setAttribute(null!=(o=t.hydratedSelectorName)?o:"hydrated",""):void 0},Dn=e=>{const t=e.children;if(null!=t)for(let e=0,n=t.length;e<n;e++){const n=t[e];"function"==typeof n.connectedCallback&&n.connectedCallback(),Dn(n)}},An=(e,t)=>f(e).i.get(t),In=(e,n,o,s)=>{const r=f(e);if(!r)return;if(t.lazyLoad&&!r)throw Error(`Couldn't find host element for "${s.C}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);if(t.serializer&&r.p.has(n)&&r.p.get(n)===o)return;const i=t.lazyLoad?r.$hostElement$:e,l=r.i.get(n),c=r.u,a=t.lazyLoad?r.l:i;if(o=Vt(o,s.t[n][0],t.formAssociated&&!!(64&s.u)),!(t.lazyLoad&&8&c&&void 0!==l||o===l||Number.isNaN(l)&&Number.isNaN(o))){if(r.i.set(n,o),t.serializer&&t.reflect&&s.X&&a&&s.ee&&s.ee[n]){let e=o;for(const t of s.ee[n])e=a[t](e,n);r.p.set(n,e)}if(t.isDev&&(1024&r.u?$(`The state/prop "${n}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",i,"\nNew value",o,"\nOld value",l):2048&r.u&&$(`The state/prop "${n}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",i,"\nNew value",o,"\nOld value",l)),!t.lazyLoad||a){if(t.propChangeCallback&&s.te&&128&c){const e=s.te[n];e&&e.map((e=>{try{a[e](o,l,n)}catch(e){m(e,i)}}))}if(t.updatable&&2==(18&c)){if(a.componentShouldUpdate&&!1===a.componentShouldUpdate(o,l,n))return;Sn(r,!1)}}}},Pn=(e,n,o)=>{var s,r;const i=e.prototype;if(t.isTesting){if(i.__stencilAugmented)return;i.__stencilAugmented=!0}if(t.formAssociated&&64&n.u&&1&o&&T.forEach((e=>{const n=i[e];Object.defineProperty(i,e,{value(...o){var s;const r=f(this),i=t.lazyLoad?null==r?void 0:r.l:this;if(i){const s=t.lazyLoad?i[e]:n;"function"==typeof s&&s.call(i,...o)}else null==(s=null==r?void 0:r.S)||s.then((t=>{const n=t[e];"function"==typeof n&&n.call(t,...o)}))}})})),t.member&&n.t||t.propChangeCallback){t.propChangeCallback&&(e.watchers&&!n.te&&(n.te=e.watchers),e.deserializers&&!n.ne&&(n.ne=e.deserializers),e.serializers&&!n.ee&&(n.ee=e.serializers));const l=Object.entries(null!=(s=n.t)?s:{});if(l.map((([e,[s]])=>{if((t.prop||t.state)&&(31&s||(!t.lazyLoad||2&o)&&32&s)){const{get:r,set:l}=Object.getOwnPropertyDescriptor(i,e)||{};r&&(n.t[e][0]|=2048),l&&(n.t[e][0]|=4096),(1&o||!r)&&Object.defineProperty(i,e,{get(){if(t.lazyLoad){if(!(2048&n.t[e][0]))return An(this,e);const t=f(this),o=t?t.l:i;if(!o)return;return o[e]}if(!t.lazyLoad)return r?r.apply(this):An(this,e)},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(r){const i=f(this);if(i){if(t.isDev&&(1&o||4096&n.t[e][0]||0!==(i&&8&i.u)||!(31&s)||1024&s||$(`@Prop() "${e}" on <${n.C}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)),l)return void 0===(32&s?this[e]:i.$hostElement$[e])&&i.i.get(e)&&(r=i.i.get(e)),l.call(this,Vt(r,s,t.formAssociated&&!!(64&n.u))),void In(this,e,r=32&s?this[e]:i.$hostElement$[e],n);if(t.lazyLoad){if(t.lazyLoad){if(!(1&o&&4096&n.t[e][0]))return In(this,e,r,n),void(1&o&&!i.l&&i.j.push((()=>{4096&n.t[e][0]&&i.l[e]!==i.i.get(e)&&(i.l[e]=r)})));const l=()=>{const o=i.l[e];!i.i.get(e)&&o&&i.i.set(e,o),i.l[e]=Vt(r,s,t.formAssociated&&!!(64&n.u)),In(this,e,i.l[e],n)};i.l?l():i.j.push((()=>{l()}))}}else In(this,e,r,n)}}})}else t.lazyLoad&&t.method&&1&o&&64&s&&Object.defineProperty(i,e,{value(...t){var n;const o=f(this);return null==(n=null==o?void 0:o.v)?void 0:n.then((()=>{var n;return null==(n=o.l)?void 0:n[e](...t)}))}})})),t.observeAttribute&&(!t.lazyLoad||1&o)){const o=new Map;i.attributeChangedCallback=function(e,s,r){M.jmp((()=>{var c;const a=o.get(e),u=f(this);if(t.serializer&&u.p.has(a)&&u.p.get(a)===r)return;if(this.hasOwnProperty(a)&&t.lazyLoad&&(r=this[a],delete this[a]),t.deserializer&&n.ne&&n.ne[a]){const e=(e,t)=>{const n=null==t?void 0:t[e](r,a);n!==this[a]&&(this[a]=n)};for(const o of n.ne[a])t.lazyLoad?u.l?e(o,u.l):u.j.push((()=>{e(o,u.l)})):e(o,this);return}if(i.hasOwnProperty(a)&&"number"==typeof this[a]&&this[a]==r)return;if(null==a){const o=null==u?void 0:u.u;if(u&&o&&!(8&o)&&128&o&&r!==s){const o=t.lazyLoad?u.l:t.lazyLoad?u.$hostElement$:this,i=null==(c=n.te)?void 0:c[e];null==i||i.forEach((t=>{null!=o[t]&&o[t].call(o,r,s,e)}))}return}const d=l.find((([e])=>e===a));d&&4&d[1][0]&&(r=null!==r&&"false"!==r);const h=Object.getOwnPropertyDescriptor(i,a);r==this[a]||h.get&&!h.set||(this[a]=r)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=n.te)?r:{}),...l.filter((([e,t])=>31&t[0])).map((([e,s])=>{var r;const i=s[1]||e;return o.set(i,e),t.reflect&&512&s[0]&&(null==(r=n.X)||r.push([e,i])),i}))]))}}return e},Hn=async(e,n,o,s)=>{let r;if(!(32&n.u)){if(n.u|=32,t.lazyLoad&&o._){const i=w(o,n,s);if(i&&"then"in i){const e=((e,n)=>t.profile&&performance.mark?(0===performance.getEntriesByName(e,"mark").length&&performance.mark(e),()=>{0===performance.getEntriesByName(n,"measure").length&&performance.measure(n,e)}):()=>{})(`st:load:${o.C}:${n.N}`,`[Stencil] Load module for <${o.C}>`);r=await i,e()}else r=i;if(!r)throw Error(`Constructor for "${o.C}#${n.N}" was not found`);t.member&&!r.isProxied&&(t.propChangeCallback&&(o.te=r.watchers,o.ee=r.serializers,o.ne=r.deserializers),Pn(r,o,2),r.isProxied=!0);const l=Ue("createInstance",o.C);t.member&&(n.u|=8);try{new r(n)}catch(t){m(t,e)}t.member&&(n.u&=-9),t.propChangeCallback&&(n.u|=128),l(),Fn(n.l,e)}else r=e.constructor,customElements.whenDefined(e.localName).then((()=>n.u|=128));if(t.style&&r&&r.style){let s;"string"==typeof r.style?s=r.style:t.mode&&"string"!=typeof r.style&&(n.N=zt(e),n.N&&(s=r.style[n.N]),t.hydrateServerSide&&n.N&&e.setAttribute("s-mode",n.N));const i=Ye(o,n.N);if(!S.has(i)){const e=Ue("registerStyles",o.C);t.hydrateServerSide&&t.shadowDom&&128&o.u&&(s=Bt(s,i)),ze(i,s,!!(1&o.u)),e()}}}const i=n.K,l=()=>Sn(n,!0);t.asyncLoading&&i&&i["s-rc"]?i["s-rc"].push(l):l()},Fn=(e,n)=>{t.lazyLoad&&Rn(e,"connectedCallback",void 0,n)},Un=e=>{if(!(1&M.u)){const n=f(e);if(!n)return;const o=n.o,s=Ue("connectedCallback",o.C);if(t.hostListenerTargetParent&&Jn(e,n,o.oe,!0),1&n.u)Jn(e,n,o.oe,!1),(null==n?void 0:n.l)?Fn(n.l,e):(null==n?void 0:n.S)&&n.S.then((()=>Fn(n.l,e)));else{let s;if(n.u|=1,t.hydrateClientSide&&(s=e.getAttribute(O),s)){if(t.shadowDom&&D&&1&o.u){const n=t.mode?Ve(e.shadowRoot,o,e.getAttribute("s-mode")):Ve(e.shadowRoot,o);e.classList.remove(n+"-h",n+"-s")}else if(t.scoped&&2&o.u){const n=Ye(o,t.mode?e.getAttribute("s-mode"):void 0);e["s-sc"]=n}((e,n,o,s)=>{var r,i;const l=Ue("hydrateClient",n),c=e.shadowRoot,a=[],u=[],d=[],h=t.shadowDom&&c?[]:null,p=Ke(n,null);let m;if(p.P=e,t.scoped){const t=s.o;t&&10&t.u&&e["s-sc"]?(m=e["s-sc"],e.classList.add(m+"-h")):e["s-sc"]&&delete e["s-sc"]}!R.document||M.Z&&M.Z.size||st(R.document.body,M.Z=new Map),e[O]=o,e.removeAttribute(O),s.J=ot(p,a,u,h,e,e,o,d);let v=0;const g=a.length;let $;for(;v<g;v++){$=a[v];const o=$.F+"."+$.U,s=M.Z.get(o),i=$.P;if(c){if((null==(r=$.I)?void 0:(""+r).includes("-"))&&"slot-fb"!==$.I&&!$.P.shadowRoot){const n=f($.P);if(n){const o=Ye(n.o,t.mode?$.P.getAttribute("s-mode"):void 0),s=R.document.querySelector(`style[sty-id="${o}"]`);s&&e.shadowRoot.append(s.cloneNode(!0))}}}else i["s-hn"]=eo(n).toUpperCase(),"slot"===$.I&&(i["s-cr"]=e["s-cr"]);"slot"===$.I&&($.A=$.P["s-sn"]||$.P.name||null,$.M?($.u|=2,$.P.childNodes.length||$.M.forEach((e=>{$.P.appendChild(e.P)}))):$.u|=1),s&&s.isConnected&&(s.parentElement.shadowRoot&&""===s["s-en"]&&s.parentNode.insertBefore(i,s.nextSibling),s.parentNode.removeChild(s),c||(i["s-oo"]=parseInt($.U))),s&&!s["s-id"]&&M.Z.delete(o)}const b=[],y=d.length;let w,S,x,j,C=0;for(;C<y;C++)if(w=d[C],w&&w.length)for(x=w.length,S=0;S<x;S++){if(j=w[S],b[j.hostId]||(b[j.hostId]=M.Z.get(j.hostId)),!b[j.hostId])continue;const e=b[j.hostId];e.shadowRoot&&j.node.parentElement!==e&&e.appendChild(j.node),e.shadowRoot&&c||(j.slot["s-cr"]||(j.slot["s-cr"]=e["s-cr"],j.slot["s-cr"]=!j.slot["s-cr"]&&e.shadowRoot?e:(e.__childNodes||e.childNodes)[0]),he(j.node,j.slot,!1,j.node["s-oo"]),(null==(i=j.node.parentElement)?void 0:i.shadowRoot)&&j.node.getAttribute&&j.node.getAttribute("slot")&&j.node.removeAttribute("slot"),t.experimentalSlotFixes&&ke(j.node))}if(t.scoped&&m&&u.length&&u.forEach((e=>{e.P.parentElement.classList.add(m+"-s")})),t.shadowDom&&c){let t=0;const n=h.length;if(n){for(;t<n;t++){const e=h[t];e&&c.appendChild(e)}Array.from(e.childNodes).forEach((e=>{"string"!=typeof e["s-en"]&&"string"!=typeof e["s-sn"]&&(1===e.nodeType&&e.slot&&e.hidden?e.removeAttribute("hidden"):(8===e.nodeType&&!e.nodeValue||3===e.nodeType&&!e.wholeText.trim())&&e.parentNode.removeChild(e))}))}}s.$hostElement$=e,l()})(e,o.C,s,n)}if(t.slotRelocation&&!s&&(t.hydrateServerSide||(t.slot||t.shadowDom)&&12&o.u)&&Bn(e),t.asyncLoading){let o=e;for(;o=o.parentNode||o.host;)if(t.hydrateClientSide&&1===o.nodeType&&o.hasAttribute("s-id")&&o["s-p"]||o["s-p"]){wn(n,n.K=o);break}}t.prop&&!t.hydrateServerSide&&o.t&&Object.entries(o.t).map((([t,[n]])=>{if(31&n&&t in e&&e[t]!==Object.prototype[t]){const n=e[t];delete e[t],e[t]=n}})),t.initializeNextTick?X((()=>Hn(e,n,o))):Hn(e,n,o)}s()}},Bn=e=>{if(!R.document)return;const n=e["s-cr"]=R.document.createComment(t.isDebug?`content-ref (host=${e.localName})`:"");n["s-cn"]=!0,vn(e,n,e.firstChild)},zn=(e,n)=>{t.lazyLoad&&Rn(e,"disconnectedCallback",void 0,n||e)},Vn=async e=>{if(!(1&M.u)){const n=f(e);t.hostListener&&(null==n?void 0:n.se)&&(n.se.map((e=>e())),n.se=void 0),t.lazyLoad?(null==n?void 0:n.l)?zn(n.l,e):(null==n?void 0:n.S)&&n.S.then((()=>zn(n.l,e))):zn(e)}Be.has(e)&&Be.delete(e),e.shadowRoot&&Be.has(e.shadowRoot)&&Be.delete(e.shadowRoot)},Wn=(e,n)=>{const o={u:n[0],C:n[1]};t.member&&(o.t=n[2]),t.hostListener&&(o.oe=n[3]),t.propChangeCallback&&(o.te=e.te,o.ne=e.ne,o.ee=e.ee),t.reflect&&(o.X=[]),t.shadowDom&&!D&&1&o.u&&(o.u|=8),!(1&o.u)&&256&o.u&&(t.experimentalSlotFixes?$e(e.prototype):(t.slotChildNodesFix&&Ne(e.prototype),t.cloneNodeFix&&be(e.prototype),t.appendChildSlotFix&&ye(e.prototype),t.scopedSlotTextContentFix&&2&o.u&&Ee(e.prototype))),t.hydrateClientSide&&t.shadowDom&&Xe();const s=e.prototype.connectedCallback,r=e.prototype.disconnectedCallback;return Object.assign(e.prototype,{__hasHostListenerAttached:!1,__registerHost(){h(this,o)},connectedCallback(){if(!this.__hasHostListenerAttached){const e=f(this);if(!e)return;Jn(this,e,o.oe,!1),this.__hasHostListenerAttached=!0}Un(this),s&&s.call(this)},disconnectedCallback(){Vn(this),r&&r.call(this)},__attachShadow(){if(D)if(this.shadowRoot){if("open"!==this.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${o.C}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else le.call(this,o);else this.shadowRoot=this}}),e.is=o.C,Pn(e,o,3)},Yn=(e,n={})=>{var o;if(t.profile&&performance.mark&&performance.mark("st:app:start"),(()=>{if(t.devTools){const e=R.stencil=R.stencil||{},t=e.inspect;e.inspect=e=>{let n=(e=>{const t=f(e);if(!t)return;const n=t.u,o=t.$hostElement$;return{renderCount:t.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:t.i,serializerValues:t.p,ancestorComponent:t.K,hostElement:o,lazyInstance:t.l,vnode:t.J,modeName:t.N,fetchedCbList:t.j,onReadyPromise:t.S,onReadyResolve:t.O,onInstancePromise:t.v,onInstanceResolve:t.$,onRenderResolve:t.q,queuedListeners:t.G,rmListeners:t.se,"s-id":o["s-id"],"s-cr":o["s-cr"],"s-lr":o["s-lr"],"s-p":o["s-p"],"s-rc":o["s-rc"],"s-sc":o["s-sc"]}})(e);return n||"function"!=typeof t||(n=t(e)),n}}})(),!R.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const s=Ue("bootstrapLazy"),r=[],i=n.exclude||[],l=R.customElements,c=R.document.head,a=c.querySelector("meta[charset]"),u=R.document.createElement("style"),d=[];let p,m=!0;Object.assign(M,n),M.k=new URL(n.resourcesUrl||"./",R.document.baseURI).href,t.asyncQueue&&n.syncQueue&&(M.u|=4),t.hydrateClientSide&&(M.u|=2),t.hydrateClientSide&&t.shadowDom&&Xe();let v=!1;if(e.map((e=>{e[1].map((o=>{var s,c,a;const u={u:o[0],C:o[1],t:o[2],oe:o[3]};4&u.u&&(v=!0),t.member&&(u.t=o[2]),t.hostListener&&(u.oe=o[3]),t.reflect&&(u.X=[]),t.propChangeCallback&&(u.te=null!=(s=o[4])?s:{},u.ee=null!=(c=o[5])?c:{},u.ne=null!=(a=o[6])?a:{}),t.shadowDom&&!D&&1&u.u&&(u.u|=8);const g=t.transformTagName&&n.transformTagName?n.transformTagName(u.C):eo(u.C),$=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,h(e=this,u),t.shadowDom&&1&u.u)if(D)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.C}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else le.call(e,u);else t.hydrateServerSide||"shadowRoot"in e||(e.shadowRoot=e)}connectedCallback(){const e=f(this);e&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Jn(this,e,u.oe,!1)),p&&(clearTimeout(p),p=null),m?d.push(this):M.jmp((()=>Un(this))))}disconnectedCallback(){M.jmp((()=>Vn(this))),M.raf((()=>{var e;const t=f(this);if(!t)return;const n=d.findIndex((e=>e===this));n>-1&&d.splice(n,1),(null==(e=null==t?void 0:t.J)?void 0:e.P)instanceof Node&&!t.J.P.isConnected&&delete t.J.P}))}componentOnReady(){var e;return null==(e=f(this))?void 0:e.S}};!(1&u.u)&&256&u.u&&(t.experimentalSlotFixes?$e($.prototype):(t.slotChildNodesFix&&Ne($.prototype),t.cloneNodeFix&&be($.prototype),t.appendChildSlotFix&&ye($.prototype),t.scopedSlotTextContentFix&&2&u.u&&Ee($.prototype))),t.formAssociated&&64&u.u&&($.formAssociated=!0),t.hotModuleReplacement&&($.prototype["s-hmr"]=function(e){((e,t,n)=>{const o=f(e);o&&(o.u=1,Hn(e,o,t,n))})(this,u,e)}),u._=e[0],i.includes(g)||l.get(g)||(r.push(g),l.define(g,Pn($,u,1)))}))})),r.length>0&&(v&&(u.textContent+=N),t.invisiblePrehydration&&(t.hydratedClass||t.hydratedAttribute)&&(u.textContent+=r.sort()+"{visibility:hidden}.hydrated{visibility:inherit}"),u.innerHTML.length)){u.setAttribute("data-styles","");const e=null!=(o=M.T)?o:G(R.document);null!=e&&u.setAttribute("nonce",e),c.insertBefore(u,a?a.nextSibling:c.firstChild)}m=!1,d.length?d.map((e=>e.connectedCallback())):M.jmp(t.profile?()=>p=setTimeout(Tn,30,"timeout"):()=>p=setTimeout(Tn,30)),s()},Jn=(e,n,o,s)=>{t.hostListener&&o&&R.document&&(t.hostListenerTargetParent&&(o=o.filter(s?([e])=>32&e:([e])=>!(32&e))),o.map((([o,s,r])=>{const i=t.hostListenerTarget?qn(R.document,e,o):e,l=Xn(n,r),c=Kn(o);M.ael(i,s,l,c),(n.se=n.se||[]).push((()=>M.rel(i,s,l,c)))})))},Xn=(e,n)=>o=>{var s;try{t.lazyLoad?256&e.u?null==(s=e.l)||s[n](o):(e.G=e.G||[]).push([n,o]):e.$hostElement$[n](o)}catch(t){m(t,e.$hostElement$)}},qn=(e,n,o)=>t.hostListenerTargetDocument&&4&o?e:t.hostListenerTargetWindow&&8&o?R:t.hostListenerTargetBody&&16&o?e.body:t.hostListenerTargetParent&&32&o&&n.parentElement?n.parentElement:n,Kn=e=>({passive:!!(1&e),capture:!!(2&e)}),Qn=t.lazyLoad?class{}:globalThis.HTMLElement||class{},Gn=e=>M.T=e,Zn=void 0;function eo(e){return Zn?Zn(e):e}var to=(e,t,n,o)=>{var s;null!=t&&(null!=t["s-nr"]&&o.push(t),1===t.nodeType)&&[...Array.from(t.childNodes),...Array.from((null==(s=t.shadowRoot)?void 0:s.childNodes)||[])].forEach((t=>{const s=f(t);null==s||n.staticComponents.has(t.nodeName.toLowerCase())||no(e,t,s.J,n,{nodeIds:0}),to(e,t,n,o)}))},no=(e,t,n,o,s)=>{if(null!=n){const r=++o.hostIds;if(t.setAttribute(O,r),null!=t["s-cr"]&&(t["s-cr"].nodeValue="r."+r),null!=n.M){const t=0;n.M.forEach(((n,o)=>{oo(e,n,s,r,t,o)}))}if(t&&n&&n.P&&!t.hasAttribute(C)){const e=t.parentElement;if(e&&e.childNodes){const o=Array.from(e.childNodes),s=o.find((e=>8===e.nodeType&&e["s-sr"]));if(s){const e=o.indexOf(t)-1;n.P.setAttribute(C,`${s["s-host-id"]}.${s["s-node-id"]}.0.${e}`)}}}}},oo=(e,t,n,o,s,r)=>{const i=t.P;if(null==i)return;const l=n.nodeIds++,c=`${o}.${l}.${s}.${r}`;if(i["s-host-id"]=o,i["s-node-id"]=l,1===i.nodeType)i.setAttribute(C,c),"string"!=typeof i["s-sn"]||i.getAttribute("slot")||i.setAttribute("s-sn",i["s-sn"]);else if(3===i.nodeType){const t=i.parentNode,n=null==t?void 0:t.nodeName;if("STYLE"!==n&&"SCRIPT"!==n){const n=e.createComment("t."+c);vn(t,n,i)}}else 8===i.nodeType&&i["s-sr"]&&(i.nodeValue=`s.${c}.${i["s-sn"]||""}`);if(null!=t.M){const r=s+1;t.M.forEach(((t,s)=>{oo(e,t,n,o,r,s)}))}},so=Object.freeze({__proto__:null,BUILD:t,Build:s,Env:{},Fragment:(e,t)=>t,H:L,HTMLElement:L,HYDRATED_STYLE_ID:j,Host:Qe,Mixin:function(...e){return e.reduceRight(((e,t)=>t(e)),Qn)},NAMESPACE:e,STENCIL_DEV_MODE:v,addHostEventListeners:Jn,bootstrapLazy:Yn,cmpModules:y,connectedCallback:Un,consoleDevError:g,consoleDevInfo:b,consoleDevWarn:$,consoleError:m,createEvent:(e,n,o)=>{const s=Wt(e);return{emit:e=>(t.isDev&&!s.isConnected&&$(`The "${n}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Yt(s,n,{bubbles:!!(4&o),composed:!!(2&o),cancelable:!!(1&o),detail:e}))}},defineCustomElement:(e,t)=>{customElements.define(eo(t[1]),Wn(e,t))},disconnectedCallback:Vn,forceModeUpdate:e=>{if(t.style&&t.mode&&!t.lazyLoad){const t=zt(e),n=f(e);if(n&&n.N!==t){const o=n.o,s=e["s-sc"],r=Ye(o,t),i=e.constructor.style[t],l=o.u;i&&(S.has(r)||ze(r,i,!!(1&l)),n.N=t,e.classList.remove(s+"-h",s+"-s"),We(n),kn(e))}}},forceUpdate:kn,getAssetPath:e=>{const t=new URL(e,M.k);return t.origin!==R.location.origin?t.href:t.pathname},getElement:Wt,getHostRef:f,getMode:e=>{var t;return null==(t=f(e))?void 0:t.N},getRenderingRef:()=>_n,getValue:An,h:qe,insertVdomAnnotations:(e,t)=>{if(null!=e){const n=_ in e?e[_]:{...E};n.staticComponents=new Set(t);const o=[];to(e,e.body,n,o),o.forEach((t=>{var o;if(null!=t&&t["s-nr"]){const s=t["s-nr"];let r=s["s-host-id"],i=s["s-node-id"],l=`${r}.${i}`;if(null==r)if(r=0,n.rootLevelIds++,i=n.rootLevelIds,l=`${r}.${i}`,1===s.nodeType)s.setAttribute(C,l),"string"!=typeof s["s-sn"]||s.getAttribute("slot")||s.setAttribute("s-sn",s["s-sn"]);else if(3===s.nodeType){if(0===r&&""===(null==(o=s.nodeValue)?void 0:o.trim()))return void t.remove();const n=e.createComment(l);n.nodeValue="t."+l,vn(s.parentNode,n,s)}else if(8===s.nodeType){const t=e.createComment(l);t.nodeValue="c."+l,s.parentNode.insertBefore(t,s)}let c="o."+l;const a=t.parentElement;a&&(""===a["s-en"]?c+=".":"c"===a["s-en"]&&(c+=".c")),t.nodeValue=c}}))}},isMemberInElement:p,loadModule:w,modeResolutionChain:x,needsScopedSSR:()=>!1,nextTick:X,parsePropertyValue:Vt,plt:M,postUpdateComponent:Nn,promiseResolve:A,proxyComponent:Pn,proxyCustomElement:Wn,readTask:q,registerHost:h,registerInstance:d,render:function(e,t){$n({o:{u:0,C:t.tagName},$hostElement$:t},e)},renderVdom:$n,setAssetPath:e=>M.k=e,setErrorHandler:e=>n=e,setMode:e=>x.push(e),setNonce:Gn,setPlatformHelpers:e=>{Object.assign(M,e)},setPlatformOptions:e=>Object.assign(M,e),setScopedSSR:()=>{},setTagTransformer:function(e){Zn&&console.warn("\n A tagTransformer has already been set. \n Overwriting it may lead to error and unexpected results if your components have already been defined.\n "),Zn=e},setValue:In,styles:S,supportsConstructableStylesheets:I,supportsListenerOptions:!0,supportsMutableAdoptedStyleSheets:P,supportsShadow:D,transformTag:eo,win:R,writeTask:K});export{t as B,L as H,e as N,so as S,Yn as b,b as c,qe as h,A as p,d as r,Gn as s,R as w}
@@ -0,0 +1 @@
1
+ import{S as n,h as e,r}from"./p-CUeCNkv1.js";const t="proto-autos",o="data",a="pick",i=n=>{const e=localStorage.getItem(n?`${t}-${n}`:t);return e?JSON.parse(e):void 0},l=(n,e)=>{const r=n?`${t}-${n}`:t,o=JSON.stringify(e);localStorage.setItem(r,o)},s=(()=>{let n;return(...e)=>{n&&clearTimeout(n),n=setTimeout((()=>{n=0,(n=>{for(let e of n.keys()){const r=n.get(e).filter((n=>{const e=n.deref();return e&&(!("isConnected"in(r=e))||r.isConnected);var r}));n.set(e,r)}})(...e)}),2e3)}})(),c=n.forceUpdate,d=n.getRenderingRef,u=(n,e)=>{const r=n.indexOf(e);r>=0&&(n[r]=n[n.length-1],n.length--)};var f=function(){function n(n,e){for(var r=0;r<e.length;r++){var t=e[r];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(e,r,t){return r&&n(e.prototype,r),t&&n(e,t),e}}();function h(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}var g=function(){function n(){var e=this;h(this,n),this.interceptors=[],this.fetch=function(){for(var n=arguments.length,r=Array(n),t=0;t<n;t++)r[t]=arguments[t];return e.interceptorWrapper.apply(e,[fetch].concat(r))}}return f(n,[{key:"addInterceptors",value:function(n){var e=this,r=[];return Array.isArray(n)?n.map((function(n){return r.push(e.interceptors.length),e.interceptors.push(n)})):n instanceof Object&&(r.push(this.interceptors.length),this.interceptors.push(n)),this.updateInterceptors(),function(){return e.removeInterceptors(r)}}},{key:"removeInterceptors",value:function(n){var e=this;Array.isArray(n)&&(n.map((function(n){return e.interceptors.splice(n,1)})),this.updateInterceptors())}},{key:"updateInterceptors",value:function(){this.reversedInterceptors=this.interceptors.reduce((function(n,e){return[e].concat(n)}),[])}},{key:"clearInterceptors",value:function(){this.interceptors=[],this.updateInterceptors()}},{key:"interceptorWrapper",value:function(n){for(var e=arguments.length,r=Array(e>1?e-1:0),t=1;t<e;t++)r[t-1]=arguments[t];var o=Promise.resolve(r);return this.reversedInterceptors.forEach((function(n){var e=n.request,t=n.requestError;(e||t)&&(o=o.then((function(){return e.apply(void 0,r)}),t))})),o=o.then((function(){return n.apply(void 0,r)})),this.reversedInterceptors.forEach((function(n){var e=n.response,r=n.responseError;(e||r)&&(o=o.then(e,r))})),o}}]),n}(),b=function(){function n(e){var r=e.url,t=e.interceptors,o=e.headers,a=e.onStart,i=e.onEnd,l=e.omitEmptyVariables,s=void 0!==l&&l,c=e.requestOptions,d=void 0===c?{}:c;h(this,n);var u=function(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?n:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return u.requestObject=Object.assign({},{method:"POST",headers:Object.assign({},{Accept:"application/json","Content-Type":"application/json"},o),credentials:"same-origin"},d),u.url=r,u.omitEmptyVariables=s,u.requestQueueLength=0,u.EnumMap={},u.callbacks={onStart:a,onEnd:i},u.addInterceptors(t),u}return function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}(n,g),f(n,[{key:"query",value:function(n){var e,r=this,t=n.operationName,o=n.query,a=n.variables,i=n.opts,l=void 0===i?{}:i,s=n.requestOptions,c=Object.assign({},this.requestObject,void 0===s?{}:s);return e=this.omitEmptyVariables||l.omitEmptyVariables?this.doOmitEmptyVariables(a):a,c.body=JSON.stringify({operationName:t,query:o,variables:e}),this.onStart(),this.fetch(this.url,c).then((function(n){return n.ok?n.json():{errors:[{message:n.statusText,stack:n}]}})).then((function(n){var e=n.data,t=n.errors;return new Promise((function(n,o){return r.onEnd(),e?Object.keys(e).every((function(n){return!e[n]}))?o(t):n({data:e,errors:t}):o(t||[{}])}))}))}},{key:"getUrl",value:function(){return this.url}},{key:"setUrl",value:function(n){this.url=n}},{key:"getEnumTypes",value:function(n){var e=this,r={},t=n.filter((function(n){return!e.EnumMap[n]||(r[n]=e.EnumMap[n],!1)}));if(!t.length)return new Promise((function(n){n({data:r})}));var o="\n query {\n "+t.map((function(n){return n+': __type(name: "'+n+'") {\n ...EnumFragment\n }'})).join("\n")+"\n }\n \n fragment EnumFragment on __Type {\n kind\n description\n enumValues {\n name\n description\n }\n }",a=Object.assign({},this.requestObject);return a.body=JSON.stringify({query:o}),this.onStart(),this.fetch(this.url,a).then((function(n){return n.ok?n.json():{errors:[{message:n.statusText,stack:n}]}})).then((function(n){var t=n.data,o=n.errors;return new Promise((function(n,a){if(e.onEnd(),!t)return a(o||[{message:"Do not get any data."}]);if(Object.keys(t).every((function(n){return!t[n]}))&&o&&o.length)return a(o);var i=Object.assign(r,t);return Object.keys(t).map((function(n){return e.EnumMap[n]=t[n],n})),n({data:i,errors:o})}))}))}},{key:"onStart",value:function(){this.requestQueueLength++,this.requestQueueLength>1||!this.callbacks.onStart||this.callbacks.onStart(this.requestQueueLength)}},{key:"onEnd",value:function(){this.requestQueueLength--,!this.requestQueueLength&&this.callbacks.onEnd&&this.callbacks.onEnd(this.requestQueueLength)}},{key:"doOmitEmptyVariables",value:function(n){var e=this,r={};return Object.keys(n).map((function(t){var o=n[t];return"string"==typeof o&&0===o.length||null==o||(r[t]=o instanceof Object?e.doOmitEmptyVariables(o):o),t})),r}}]),n}();const v={loading:!1,error:void 0,data:void 0,pick:0,dealer:void 0},{state:m}=(()=>{const n=((n,e=(n,e)=>n!==e)=>{const r=()=>{return("function"==typeof(e=n)?e():e)??{};var e},t=r();let o=new Map(Object.entries(t));const a="undefined"!=typeof Proxy,i=a?null:{},l={dispose:[],get:[],set:[],reset:[]},s=new Map,c=()=>{o=new Map(Object.entries(r())),a||v(),l.reset.forEach((n=>n()))},d=n=>(l.get.forEach((e=>e(n))),o.get(n)),f=(n,r)=>{const t=o.get(n);e(r,t,n)&&(o.set(n,r),a||b(n),l.set.forEach((e=>e(n,r,t))))},h=a?new Proxy(t,{get:(n,e)=>d(e),ownKeys:()=>Array.from(o.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(n,e)=>o.has(e),set:(n,e,r)=>(f(e,r),!0)}):(v(),i),g=(n,e)=>(l[n].push(e),()=>{u(l[n],e)});function b(n){!a&&i&&(Object.prototype.hasOwnProperty.call(i,n)||Object.defineProperty(i,n,{configurable:!0,enumerable:!0,get:()=>d(n),set(e){f(n,e)}}))}function v(){if(a||!i)return;const n=new Set(o.keys());for(const e of Object.keys(i))n.has(e)||delete i[e];for(const e of n)b(e)}return{state:h,get:d,set:f,on:g,onChange:(n,e)=>{const t=(r,t)=>{r===n&&e(t)},o=()=>{const t=r();e(t[n])},a=g("set",t),i=g("reset",o);return s.set(e,{setHandler:t,resetHandler:o,propName:n}),()=>{a(),i(),s.delete(e)}},use:(...n)=>{const e=n.reduce(((n,e)=>(e.set&&n.push(g("set",e.set)),e.get&&n.push(g("get",e.get)),e.reset&&n.push(g("reset",e.reset)),e.dispose&&n.push(g("dispose",e.dispose)),n)),[]);return()=>e.forEach((n=>n()))},dispose:()=>{l.dispose.forEach((n=>n())),c()},reset:c,forceUpdate:n=>{const e=o.get(n);l.set.forEach((r=>r(n,e,e)))},removeListener:(n,e)=>{const r=s.get(e);r&&r.propName===n&&(u(l.set,r.setHandler),u(l.reset,r.resetHandler),s.delete(e))}}})(v,void 0);return n.use((()=>{if("function"!=typeof d||"function"!=typeof c)return{};const n=c,e=d,r=new Map;return{dispose:()=>r.clear(),get:n=>{const t=e();t&&((n,e,r)=>{let t=n.get(e);t||(t=[],n.set(e,t)),t.some((n=>n.deref()===r))||t.push(new WeakRef(r))})(r,n,t)},set:e=>{const t=r.get(e);if(t){const o=t.filter((e=>{const r=e.deref();return!!r&&n(r)}));r.set(e,o)}s(r)},reset:()=>{r.forEach((e=>{e.forEach((e=>{const r=e.deref();r&&n(r)}))})),s(r)}}})()),n})(),p=(n=!1)=>{m.loading=n,m.error=void 0,m.pick=0,m.data=void 0,m.dealer=void 0},w=n=>{if(n){const{pick:e}=m;m.dealer=null!=e?n.list[e]:void 0,m.data=n,m.loading=!1}else m.data=void 0,m.loading=!1},y=n=>{const{data:e}=m;e&&void 0!==n?(m.pick=n,m.dealer=e.list[n]):(m.pick=0,m.dealer=void 0)};var x=new b({url:"https://gt-forza.vercel.app/graphql"});const k=()=>{p(!0),l(a,0),x.query({operationName:"Uuid",query:"\n query Uuid($count: Int!) {\n uuid(count: $count)\n }\n",variables:{count:1}}).then((n=>{const e=n.data.uuid[0];x.query({operationName:"Solution",query:"\n query Solution($id: String!) {\n solution(id: $id) {\n id\n data {\n dealers {\n dealerId\n name\n vehicles {\n vin\n year\n make\n model\n color\n }\n }\n }\n }\n }\n",variables:{id:e}}).then((n=>{const r=JSON.parse(JSON.stringify(n.data.solution.data.dealers)),t={id:e,list:r};l(o,t),w(t)}))}))},j=()=>{p();const n=i(o),e=i(a);n?(w(n),e&&y(e)):k()},O=k,S=n=>{l(a,n),y(n)},z=(...n)=>n.filter(Boolean).join(" "),C=n=>{const{value:r}=n,{dealerId:t,name:o,vehicles:a}=r||{},i=a?a.length:0;return e("div",{class:z("flex flex-wrap content-center","mb-4 rounded-lg bg-blue-200 p-4","border border-solid border-blue-400")},e("label",{class:"text-xl font-bold"},o?`${o} `:"",e("sup",null,i||"")),e("label",{class:"ml-auto self-center text-right text-sm"},t||""))},E=/^\#[0-9]*/,N=n=>null!=n.match(E),$=n=>2554===n,I=n=>n>2010,T=n=>{const{vin:r,make:t,model:o,year:a,color:i}=n.value||{};return e("div",{class:z("flex align-middle","mb-1 rounded-lg p-4","border border-solid",$(a)?"border-clrs-navy bg-clrs-navy text-clrs-white":N(o)?"border-yellow-600 bg-yellow-300":I(a)?"border-green-600 bg-green-200":"border-gray-600 bg-gray-300")},e("div",{class:"mr-1.5 flex flex-col"},e("label",{class:"mb-2 text-xs"},r||""),e("label",{class:"text-lg font-bold"},t||""),e("label",{class:"mb-2 text-sm italic"},o||""),e("label",null,a||"",", ",i||""),e("label",null,$(a)?"- exotic... [ Sierra 117 ]":N(o)?"- track only...":"")),e("proto-ikon-loader",{class:"ikon ml-auto self-center",name:t,label:t.toLowerCase()}))},q=n=>{const{list:r}=n,t=r.length;return 0===t?"":e("div",{class:"flex flex-col"},t?r.map((n=>e(T,{value:n}))):"")},A=n=>{const{dealer:r}=n,{vehicles:t}=r||{vehicles:[]},o=t;return r?e("div",{class:"flex flex-col"},e(C,{value:r}),e(q,{list:o})):""},P="eswat2",U=()=>e("a",{class:"absolute right-0 top-0 text-clrs-gray hover:text-clrs-navy",href:"https://eswat2.dev","aria-label":P,target:"blank",title:P},e("proto-ikon-loader",{name:"fingerprint",size:24,label:"eswat2"})),M=()=>e("div",{class:"mb-4 mr-2 mt-2 flex flex-row"},e("label",{class:"ml-auto align-top text-xs italic text-clrs-slate4"},"Tailwind ","4.1.18")),J=n=>{const{label:r}=n;return e("h1",{class:z("text-center uppercase text-clrs-red","mb-11 ml-0 mr-0 mt-11","text-6xl font-thin")},r)},_=n=>{const r=n.hex||"currentColor",t=n.label||"loading...",o=n.size||24;return e("svg",{class:z(n.class||"","animate-spin"),width:o,height:o,fill:"none",viewBox:"0 0 24 24",role:"img","aria-label":"title"},e("title",null,t),e("g",null,e("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:r,"stroke-width":"4"}),e("path",{class:"opacity-75",fill:r,d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),e("path",{d:"M0 0h24v24H0z",fill:"none"}))},D=()=>{const{loading:n,pick:r,data:t}=m||{},{list:o}=t||{list:[]},a=o.length-1;return n?"":e("div",{class:"flex"},e("div",{class:"refresh hover:text-clrs-red md:w-auto",onClick:()=>O()},e("proto-ikon-loader",{name:"refresh",size:24})),e("div",{class:z("ml-auto inline-flex justify-end","border border-solid border-gray-600","rounded-md")},o.map(((n,t)=>e("button",{class:z("h-8 w-8 border-none font-bold",0==t?"rounded-bl-md rounded-br-none rounded-tl-md rounded-tr-none":t==a?"rounded-bl-none rounded-br-md rounded-tl-none rounded-tr-md":"rounded-none",r==t?"bg-clrs-red text-white":"bg-clrs-yellow text-clrs-navy"),onClick:()=>S(t),title:`${n.name} (${n.vehicles.length})`},t+1)))))},H=class{constructor(n){r(this,n),this.tag="proto-autos"}componentDidLoad(){j()}render(){const{loading:n,dealer:r}=m;return e("main",{key:"eb918bee95389cd4c78c6a7b3134ada507c5a042",id:"app",class:"ds1-main relative"},e(U,{key:"efa617ee04ddd6c58650d1cf4d00f899c3520efa"}),e(J,{key:"6762516c1c9fc2d4490e9343d75f4f09f657fae6",label:"Auto Dealers"}),e(D,{key:"ce1aeeb560729f66726b859d6f9d5a4a410703b1"}),n?e(_,null):e("hr",{class:z("mb-4 ml-0 mr-0 mt-4","border-solid border-gray-300","border-b-0 border-l-0 border-r-0")}),e(A,{key:"63ef8ba16a60533a147c06e126442e9f2481f8fe",dealer:r}),e(M,{key:"00d32c34fcf933386a5e5f920e09f02f95dbfbf1"}))}};H.style="/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */\n@layer properties;\n@layer theme, base, components, utilities;\n@layer theme {\n :root,\n :host {\n --font-sans:\n ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n --color-yellow-300: oklch(90.5% 0.182 98.111);\n --color-yellow-600: oklch(68.1% 0.162 75.834);\n --color-green-200: oklch(92.5% 0.084 155.995);\n --color-green-600: oklch(62.7% 0.194 149.214);\n --color-blue-200: oklch(88.2% 0.059 254.128);\n --color-blue-400: oklch(70.7% 0.165 254.624);\n --color-gray-300: oklch(87.2% 0.01 258.338);\n --color-gray-600: oklch(44.6% 0.03 256.802);\n --color-white: #fff;\n --spacing: 0.25rem;\n --text-xs: 0.75rem;\n --text-xs--line-height: calc(1 / 0.75);\n --text-sm: 0.875rem;\n --text-sm--line-height: calc(1.25 / 0.875);\n --text-lg: 1.125rem;\n --text-lg--line-height: calc(1.75 / 1.125);\n --text-xl: 1.25rem;\n --text-xl--line-height: calc(1.75 / 1.25);\n --text-6xl: 3.75rem;\n --text-6xl--line-height: 1;\n --font-weight-thin: 100;\n --font-weight-bold: 700;\n --radius-md: 0.375rem;\n --radius-lg: 0.5rem;\n --animate-spin: spin 1s linear infinite;\n }\n}\n@layer utilities {\n .absolute {\n position: absolute;\n }\n .relative {\n position: relative;\n }\n .top-0 {\n top: calc(var(--spacing) * 0);\n }\n .right-0 {\n right: calc(var(--spacing) * 0);\n }\n .m-6 {\n margin: calc(var(--spacing) * 6);\n }\n .mt-2 {\n margin-top: calc(var(--spacing) * 2);\n }\n .mt-4 {\n margin-top: calc(var(--spacing) * 4);\n }\n .mt-11 {\n margin-top: calc(var(--spacing) * 11);\n }\n .mr-0 {\n margin-right: calc(var(--spacing) * 0);\n }\n .mr-1.5 {\n margin-right: calc(var(--spacing) * 1.5);\n }\n .mr-2 {\n margin-right: calc(var(--spacing) * 2);\n }\n .mb-1 {\n margin-bottom: calc(var(--spacing) * 1);\n }\n .mb-2 {\n margin-bottom: calc(var(--spacing) * 2);\n }\n .mb-4 {\n margin-bottom: calc(var(--spacing) * 4);\n }\n .mb-11 {\n margin-bottom: calc(var(--spacing) * 11);\n }\n .ml-0 {\n margin-left: calc(var(--spacing) * 0);\n }\n .ml-auto {\n margin-left: auto;\n }\n .flex {\n display: flex;\n }\n .inline-flex {\n display: inline-flex;\n }\n .h-8 {\n height: calc(var(--spacing) * 8);\n }\n .w-8 {\n width: calc(var(--spacing) * 8);\n }\n .animate-spin {\n animation: var(--animate-spin);\n }\n .flex-col {\n flex-direction: column;\n }\n .flex-row {\n flex-direction: row;\n }\n .flex-wrap {\n flex-wrap: wrap;\n }\n .content-center {\n align-content: center;\n }\n .justify-end {\n justify-content: flex-end;\n }\n .self-center {\n align-self: center;\n }\n .rounded-lg {\n border-radius: var(--radius-lg);\n }\n .rounded-md {\n border-radius: var(--radius-md);\n }\n .rounded-none {\n border-radius: 0;\n }\n .rounded-tl-md {\n border-top-left-radius: var(--radius-md);\n }\n .rounded-tl-none {\n border-top-left-radius: 0;\n }\n .rounded-tr-md {\n border-top-right-radius: var(--radius-md);\n }\n .rounded-tr-none {\n border-top-right-radius: 0;\n }\n .rounded-br-md {\n border-bottom-right-radius: var(--radius-md);\n }\n .rounded-br-none {\n border-bottom-right-radius: 0;\n }\n .rounded-bl-md {\n border-bottom-left-radius: var(--radius-md);\n }\n .rounded-bl-none {\n border-bottom-left-radius: 0;\n }\n .border {\n border-style: var(--tw-border-style);\n border-width: 1px;\n }\n .border-r-0 {\n border-right-style: var(--tw-border-style);\n border-right-width: 0px;\n }\n .border-b-0 {\n border-bottom-style: var(--tw-border-style);\n border-bottom-width: 0px;\n }\n .border-l-0 {\n border-left-style: var(--tw-border-style);\n border-left-width: 0px;\n }\n .border-none {\n --tw-border-style: none;\n border-style: none;\n }\n .border-solid {\n --tw-border-style: solid;\n border-style: solid;\n }\n .border-blue-400 {\n border-color: var(--color-blue-400);\n }\n .border-clrs-navy {\n border-color: var(--clrs-navy, #001f3f);\n }\n .border-gray-300 {\n border-color: var(--color-gray-300);\n }\n .border-gray-600 {\n border-color: var(--color-gray-600);\n }\n .border-green-600 {\n border-color: var(--color-green-600);\n }\n .border-yellow-600 {\n border-color: var(--color-yellow-600);\n }\n .bg-blue-200 {\n background-color: var(--color-blue-200);\n }\n .bg-clrs-navy {\n background-color: var(--clrs-navy, #001f3f);\n }\n .bg-clrs-red {\n background-color: var(--clrs-red, #ff4136);\n }\n .bg-clrs-yellow {\n background-color: var(--clrs-yellow, #ffdc00);\n }\n .bg-gray-300 {\n background-color: var(--color-gray-300);\n }\n .bg-green-200 {\n background-color: var(--color-green-200);\n }\n .bg-yellow-300 {\n background-color: var(--color-yellow-300);\n }\n .p-4 {\n padding: calc(var(--spacing) * 4);\n }\n .text-center {\n text-align: center;\n }\n .text-right {\n text-align: right;\n }\n .align-middle {\n vertical-align: middle;\n }\n .align-top {\n vertical-align: top;\n }\n .font-sans {\n font-family: var(--font-sans);\n }\n .text-6xl {\n font-size: var(--text-6xl);\n line-height: var(--tw-leading, var(--text-6xl--line-height));\n }\n .text-lg {\n font-size: var(--text-lg);\n line-height: var(--tw-leading, var(--text-lg--line-height));\n }\n .text-sm {\n font-size: var(--text-sm);\n line-height: var(--tw-leading, var(--text-sm--line-height));\n }\n .text-xl {\n font-size: var(--text-xl);\n line-height: var(--tw-leading, var(--text-xl--line-height));\n }\n .text-xs {\n font-size: var(--text-xs);\n line-height: var(--tw-leading, var(--text-xs--line-height));\n }\n .font-bold {\n --tw-font-weight: var(--font-weight-bold);\n font-weight: var(--font-weight-bold);\n }\n .font-thin {\n --tw-font-weight: var(--font-weight-thin);\n font-weight: var(--font-weight-thin);\n }\n .text-clrs-gray {\n color: var(--clrs-gray, #aaaaaa);\n }\n .text-clrs-navy {\n color: var(--clrs-navy, #001f3f);\n }\n .text-clrs-red {\n color: var(--clrs-red, #ff4136);\n }\n .text-clrs-slate4 {\n color: var(--clrs-slate4, #4e5964);\n }\n .text-clrs-white {\n color: var(--clrs-white, #ffffff);\n }\n .text-white {\n color: var(--color-white);\n }\n .uppercase {\n text-transform: uppercase;\n }\n .italic {\n font-style: italic;\n }\n .opacity-25 {\n opacity: 25%;\n }\n .opacity-75 {\n opacity: 75%;\n }\n .shadow {\n --tw-shadow:\n 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));\n box-shadow:\n var(--tw-inset-shadow), var(--tw-inset-ring-shadow),\n var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);\n }\n .hover:text-clrs-navy {\n &:hover {\n @media (hover: hover) {\n color: var(--clrs-navy, #001f3f);\n }\n }\n }\n .hover:text-clrs-red {\n &:hover {\n @media (hover: hover) {\n color: var(--clrs-red, #ff4136);\n }\n }\n }\n .md:w-auto {\n @media (width >= 48rem) {\n width: auto;\n }\n }\n}\n@layer components {\n .ds1-main {\n margin: calc(var(--spacing) * 6);\n display: flex;\n flex-direction: column;\n font-family: var(--font-sans);\n color: var(--clrs-navy, #001f3f);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n}\n.ikon {\n height: 96px;\n width: 96px;\n}\n@media (min-width: 500px) {\n .ikon {\n height: 144px;\n width: 144px;\n }\n}\n@media (min-width: 700px) {\n .ikon {\n height: 192px;\n width: 192px;\n }\n}\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n@layer properties {\n @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or\n ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n *,\n ::before,\n ::after,\n ::backdrop {\n --tw-border-style: solid;\n --tw-font-weight: initial;\n --tw-shadow: 0 0 #0000;\n --tw-shadow-color: initial;\n --tw-shadow-alpha: 100%;\n --tw-inset-shadow: 0 0 #0000;\n --tw-inset-shadow-color: initial;\n --tw-inset-shadow-alpha: 100%;\n --tw-ring-color: initial;\n --tw-ring-shadow: 0 0 #0000;\n --tw-inset-ring-color: initial;\n --tw-inset-ring-shadow: 0 0 #0000;\n --tw-ring-inset: initial;\n --tw-ring-offset-width: 0px;\n --tw-ring-offset-color: #fff;\n --tw-ring-offset-shadow: 0 0 #0000;\n }\n }\n}\n";export{H as proto_autos}
@@ -1 +1 @@
1
- import{p as o,b as p}from"./p-B_Sspfrn.js";export{s as setNonce}from"./p-B_Sspfrn.js";import{g as r}from"./p-DQuL1Twl.js";(()=>{const s=import.meta.url,p={};return""!==s&&(p.resourcesUrl=new URL(".",s).href),o(p)})().then((async s=>(await r(),p([["p-51d95483",[[257,"proto-autos",{tag:[1]}]]]],s))));
1
+ import{p as t,B as a,c as e,w as n,N as r,H as o,b as i}from"./p-CUeCNkv1.js";export{s as setNonce}from"./p-CUeCNkv1.js";import{g as p}from"./p-DQuL1Twl.js";var c=s=>{const t=s.cloneNode;s.cloneNode=function(s){if("TEMPLATE"===this.nodeName)return t.call(this,s);const a=t.call(this,!1),e=this.childNodes;if(s)for(let s=0;s<e.length;s++)2!==e[s].nodeType&&a.appendChild(e[s].cloneNode(!0));return a}};(()=>{a.isDev&&!a.isTesting&&e("Running in development mode."),a.cloneNodeFix&&c(o.prototype);const s=a.scriptDataOpts?n.document&&Array.from(n.document.querySelectorAll("script")).find((s=>new RegExp(`/${r}(\\.esm)?\\.js($|\\?|#)`).test(s.src)||s.getAttribute("data-stencil-namespace")===r)):null,i=import.meta.url,p=a.scriptDataOpts&&(s||{})["data-opts"]||{};return""!==i&&(p.resourcesUrl=new URL(".",i).href),t(p)})().then((async s=>(await p(),i([["p-d8159ca8",[[257,"proto-autos",{tag:[1]}]]]],s))));
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -1,3 +1,3 @@
1
- declare const TW_VERSION = "4.1.17";
1
+ declare const TW_VERSION = "4.1.18";
2
2
  export { TW_VERSION };
3
3
  export default TW_VERSION;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-autos-wc",
3
- "version": "0.1.118",
3
+ "version": "0.1.120",
4
4
  "description": "prototype - a simple GraphQL demo rendered in Stencil and Tailwind",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@stencil/core": "4.39.0",
31
- "@stencil/store": "2.2.1",
31
+ "@stencil/store": "2.2.2",
32
32
  "fetchql": "3.0.0"
33
33
  },
34
34
  "license": "MIT",
@@ -36,12 +36,12 @@
36
36
  "autoprefixer": "10.4.22",
37
37
  "concurrently": "9.2.1",
38
38
  "cspell": "9.4.0",
39
- "eslint": "9.39.1",
39
+ "eslint": "9.39.2",
40
40
  "postcss": "8.5.6",
41
41
  "prettier": "3.7.4",
42
42
  "prettier-plugin-tailwindcss": "0.7.2",
43
43
  "proto-tailwindcss-clrs": "0.0.453",
44
- "tailwindcss": "4.1.17",
44
+ "tailwindcss": "4.1.18",
45
45
  "typescript": "5.9.3",
46
46
  "workbox-build": "7.4.0"
47
47
  },