proto-ikons-wc 0.0.169 → 0.0.171

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2383e620.js');
5
+ const index = require('./index-44dd3e76.js');
6
6
 
7
7
  const acuraIkonCss = "";
8
8
  const AcuraIkonStyle0 = acuraIkonCss;
@@ -24,7 +24,7 @@ const NAMESPACE = 'proto-ikons-wc';
24
24
  const BUILD = /* proto-ikons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: true, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.23.1 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.23.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -33,7 +33,6 @@ var __export = (target, all) => {
33
33
  };
34
34
 
35
35
  // src/utils/constants.ts
36
- var EMPTY_OBJ = {};
37
36
  var SVG_NS = "http://www.w3.org/2000/svg";
38
37
  var HTML_NS = "http://www.w3.org/1999/xhtml";
39
38
 
@@ -354,8 +353,8 @@ var parseClassList = (value) => {
354
353
  // src/runtime/vdom/update-element.ts
355
354
  var updateElement = (oldVnode, newVnode, isSvgMode2) => {
356
355
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
357
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
358
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
356
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
357
+ const newVnodeAttrs = newVnode.$attrs$ || {};
359
358
  {
360
359
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
361
360
  if (!(memberName in newVnodeAttrs)) {
@@ -1094,6 +1093,12 @@ var disconnectedCallback = async (elm) => {
1094
1093
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1095
1094
  }
1096
1095
  }
1096
+ if (rootAppliedStyles.has(elm)) {
1097
+ rootAppliedStyles.delete(elm);
1098
+ }
1099
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1100
+ rootAppliedStyles.delete(elm.shadowRoot);
1101
+ }
1097
1102
  };
1098
1103
 
1099
1104
  // src/runtime/bootstrap-lazy.ts
@@ -1152,6 +1157,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1152
1157
  }
1153
1158
  disconnectedCallback() {
1154
1159
  plt.jmp(() => disconnectedCallback(this));
1160
+ plt.raf(() => {
1161
+ var _a3;
1162
+ const hostRef = getHostRef(this);
1163
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1164
+ delete hostRef.$vnode$.$elm$;
1165
+ }
1166
+ });
1155
1167
  }
1156
1168
  componentOnReady() {
1157
1169
  return getHostRef(this).$onReadyPromise$;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2383e620.js');
5
+ const index = require('./index-44dd3e76.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-2383e620.js');
5
+ const index = require('./index-44dd3e76.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.23.1 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.23.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-ikons-wc.cjs.js', document.baseURI).href));
@@ -122,7 +122,7 @@
122
122
  ],
123
123
  "compiler": {
124
124
  "name": "@stencil/core",
125
- "version": "4.23.1",
125
+ "version": "4.23.2",
126
126
  "typescriptVersion": "5.5.4"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-e13c118f.js';
1
+ import { r as registerInstance, h } from './index-a17b2977.js';
2
2
 
3
3
  const acuraIkonCss = "";
4
4
  const AcuraIkonStyle0 = acuraIkonCss;
@@ -2,7 +2,7 @@ const NAMESPACE = 'proto-ikons-wc';
2
2
  const BUILD = /* proto-ikons-wc */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: false, slot: false, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: true, watchCallback: false };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.23.1 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.23.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -11,7 +11,6 @@ var __export = (target, all) => {
11
11
  };
12
12
 
13
13
  // src/utils/constants.ts
14
- var EMPTY_OBJ = {};
15
14
  var SVG_NS = "http://www.w3.org/2000/svg";
16
15
  var HTML_NS = "http://www.w3.org/1999/xhtml";
17
16
 
@@ -332,8 +331,8 @@ var parseClassList = (value) => {
332
331
  // src/runtime/vdom/update-element.ts
333
332
  var updateElement = (oldVnode, newVnode, isSvgMode2) => {
334
333
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
335
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
336
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
334
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
335
+ const newVnodeAttrs = newVnode.$attrs$ || {};
337
336
  {
338
337
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
339
338
  if (!(memberName in newVnodeAttrs)) {
@@ -1072,6 +1071,12 @@ var disconnectedCallback = async (elm) => {
1072
1071
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1073
1072
  }
1074
1073
  }
1074
+ if (rootAppliedStyles.has(elm)) {
1075
+ rootAppliedStyles.delete(elm);
1076
+ }
1077
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1078
+ rootAppliedStyles.delete(elm.shadowRoot);
1079
+ }
1075
1080
  };
1076
1081
 
1077
1082
  // src/runtime/bootstrap-lazy.ts
@@ -1130,6 +1135,13 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1130
1135
  }
1131
1136
  disconnectedCallback() {
1132
1137
  plt.jmp(() => disconnectedCallback(this));
1138
+ plt.raf(() => {
1139
+ var _a3;
1140
+ const hostRef = getHostRef(this);
1141
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1142
+ delete hostRef.$vnode$.$elm$;
1143
+ }
1144
+ });
1133
1145
  }
1134
1146
  componentOnReady() {
1135
1147
  return getHostRef(this).$onReadyPromise$;
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-e13c118f.js';
2
- export { s as setNonce } from './index-e13c118f.js';
1
+ import { b as bootstrapLazy } from './index-a17b2977.js';
2
+ export { s as setNonce } from './index-a17b2977.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-e13c118f.js';
2
- export { s as setNonce } from './index-e13c118f.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-a17b2977.js';
2
+ export { s as setNonce } from './index-a17b2977.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.23.1 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.23.2 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>{t.set(n.t=e,n)},o=(e,t)=>(0,console.error)(e,t),s=new Map,i=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),m=!1,p=[],w=[],y=(e,t)=>n=>{e.push(n),m||(m=!0,t&&4&f.l?$(b):f.raf(b))},v=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){o(e)}e.length=0},b=()=>{v(p),v(w),(m=p.length>0)&&f.raf(b)},$=e=>h().then(e),g=y(w,!0),S=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return k(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},x=e=>{if(e.isErr)return e.value;throw e.value},P=(e,t,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!S(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?A(null,l):l),i=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=A(e,null);return u.u=t,r.length>0&&(u.h=r),u.m=o,u},A=(e,t)=>({l:0,p:e,i:t,v:null,h:null,u:null,m:null}),H={},N=(e,t,n,l,o,s)=>{if(n!==l){let i=((e,t)=>t in e)(e,t),r=t.toLowerCase();if("class"===t){const t=e.classList,o=D(n);let s=D(l);e["s-si"]?(s.push(e["s-si"]),o.forEach((t=>{t.startsWith(e["s-si"])&&s.push(t)})),s=[...new Set(s)],t.add(...s),delete e["s-si"]):(t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e)))))}else if("key"===t);else{const u=S(l);if((i||u&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let a=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(t=r,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(c,t):e.removeAttribute(t)):(!i||4&s||o)&&!u&&(l=!0===l?"":l,a?e.setAttributeNS(c,t,l):e.setAttribute(t,l))}}},T=/\s/,D=e=>("object"==typeof e&&"baseVal"in e&&(e=e.baseVal),e?e.split(T):[]),F=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||{},s=t.u||{};for(const e of R(Object.keys(o)))e in s||N(l,e,o[e],void 0,n,t.l);for(const e of R(Object.keys(s)))N(l,e,o[e],s[e],n,t.l)};function R(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var L=!1,U=(e,t,n)=>{const l=t.h[n];let o,s,i=0;if(null!==l.i)o=l.v=a.createTextNode(l.i);else{if(L||(L="svg"===l.p),o=l.v=a.createElementNS(L?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.p),L&&"foreignObject"===l.p&&(L=!1),F(null,l,L),l.h)for(i=0;i<l.h.length;++i)s=U(e,l,i),s&&o.appendChild(s);"svg"===l.p?L=!1:"foreignObject"===o.tagName&&(L=!0)}return o["s-hn"]=C,o},V=(e,t,n,l,o,s)=>{let i,r=e;for(;o<=s;++o)l[o]&&(i=U(null,n,o),i&&(l[o].v=i,_(r,i,t)))},W=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;e&&e.remove()}}},q=(e,t,n=!1)=>e.p===t.p&&(n?(n&&!e.m&&t.m&&(e.m=t.m),!0):e.m===t.m),G=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,i=t.p,r=t.i;null===r?(F(e,t,L="svg"===i||"foreignObject"!==i&&L),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],m=l.length-1,p=l[0],w=l[m];for(;r<=f&&c<=m;)if(null==h)h=t[++r];else if(null==d)d=t[--f];else if(null==p)p=l[++c];else if(null==w)w=l[--m];else if(q(h,p,o))G(h,p,o),h=t[++r],p=l[++c];else if(q(d,w,o))G(d,w,o),d=t[--f],w=l[--m];else if(q(h,w,o))G(h,w,o),_(e,h.v,d.v.nextSibling),h=t[++r],w=l[--m];else if(q(d,p,o))G(d,p,o),_(e,d.v,h.v),d=t[--f],p=l[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].m&&t[a].m===p.m){u=a;break}u>=0?(i=t[u],i.p!==p.p?s=U(t&&t[c],n,u):(G(i,p,o),t[u]=void 0,s=i.v),p=l[++c]):(s=U(t&&t[c],n,c),p=l[++c]),s&&_(h.v.parentNode,s,h.v)}r>f?V(e,null==l[m+1]?null:l[m+1].v,n,l,c,m):c>m&&W(t,r,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),V(l,null,t,s,0,s.length-1)):!n&&null!==o&&W(o,0,o.length-1),L&&"svg"===i&&(L=!1)):e.i!==r&&(l.data=r)},_=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),z=(e,t)=>null==e||S(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e,B=new WeakMap,I=e=>"sc-"+e.$,J=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},K=(e,t)=>{if(e.l|=16,!(4&e.l))return J(e,e.j),g((()=>Q(e,t)));e.l|=512},Q=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.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`);return X(void 0,(()=>Z(e,n,t)))},X=(e,t)=>Y(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Y=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,Z=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O;((e,t)=>{var n;const l=I(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,i=B.get(e=e.head||e);if(i||B.set(e,i=new Set),!i.has(l)){{s=document.querySelector(`[sty-id="${l}"]`)||a.createElement("style"),s.innerHTML=o;const i=null!=(n=f.k)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&t.l))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(s,n)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(o),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=o+t.innerHTML:e.prepend(s)}else e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=r),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.$hostElement$.getRootNode(),t)})(e);ee(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>te(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},ee=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.C||A(null,null),s=(e=>e&&e.p===H)(t)?t:P(null,null,t);if(C=l.tagName,n&&s.u)for(const e of Object.keys(s.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(s.u[e]=l[e]);s.p=null,s.l|=4,e.C=s,s.v=o.v=l,G(o,s,n)})(e,t,l)}catch(t){o(t,e.$hostElement$)}return null},te=e=>{const t=e.$hostElement$,n=e.j;64&e.l||(e.l|=64,le(t),e.M(t),n||ne()),e.S&&(e.S(),e.S=void 0),512&e.l&&$((()=>K(e,!1))),e.l&=-517},ne=()=>{le(a.documentElement),$((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(t),t})(u)))},le=e=>e.classList.add("hydrated"),oe=(e,t,l,o)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${o.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=s.P.get(t),r=s.l,c=s.t;l=z(l,o.A[t][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.P.set(t,l),c&&2==(18&r)&&K(s,!1))},se=(e,t,l)=>{var o,s;const i=e.prototype;if(t.A){const r=Object.entries(null!=(o=t.A)?o:{});if(r.map((([e,[o]])=>{if(31&o||2&l&&32&o)if(2048&o){if(1&l&&2048&o&&(Object.defineProperty(i,e,{get(){const t=n(this),l=t?t.t:i;if(l)return l[e]},configurable:!0,enumerable:!0}),4096&o)){const l=Object.getOwnPropertyDescriptor(i,e).set;Object.defineProperty(i,e,{set(o){const s=n(this);if(l){const n=s.$hostElement$[e];return!s.P.get(e)&&n&&s.P.set(e,n),l.call(this,z(o,t.A[e][0])),void oe(this,e,s.$hostElement$[e],t)}if(!s)return;const i=()=>{const n=s.t[e];!s.P.get(e)&&n&&s.P.set(e,n),s.t[e]=z(o,t.A[e][0]),oe(this,e,s.t[e],t)};s.t?i():s.H.then((()=>i()))}})}}else Object.defineProperty(i,e,{get(){return((e,t)=>n(this).P.get(t))(0,e)},set(n){oe(this,e,n,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.N)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);u.get&&!u.set||(this[c]=(null!==s||"boolean"!=typeof this[c])&&s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.N)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,t])=>{const n=t[1]||e;return l.set(n,e),n}))]))}}return e},ie=(e,l={})=>{var c;const h=[],m=l.exclude||[],p=u.customElements,w=a.head,y=w.querySelector("meta[charset]"),v=a.createElement("style"),b=[];let $,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{const r={l:l[0],$:l[1],A:l[2],T:l[3]};4&r.l&&(S=!0),r.A=l[2];const c=r.$,u=class extends HTMLElement{constructor(e){super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,P:new Map};l.H=new Promise((e=>l.M=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,r)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),$&&(clearTimeout($),$=null),g?b.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.O,r=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.H)&&t.H.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(t,t.j=n);break}}l.A&&Object.entries(l.A).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.D){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.D;if(!n)return;const l=s.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(s.set(n,e),e[t])),o)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.$}#${t.F}" was not found`);l.isProxied||(se(l,n,2),l.isProxied=!0);const i=()=>{};t.l|=8;try{new l(t)}catch(e){o(e)}t.l&=-9,i()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=I(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const r=t.j,c=()=>K(t,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(e,t,l)}r()}})(this)))}disconnectedCallback(){f.jmp((()=>(async e=>{if(!(1&f.l)){const t=n(e);(null==t?void 0:t.t)||(null==t?void 0:t.H)&&t.H.then((()=>{}))}B.has(e)&&B.delete(e),e.shadowRoot&&B.has(e.shadowRoot)&&B.delete(e.shadowRoot)})(this))),f.raf((()=>{var e;const t=n(this);(null==(e=null==t?void 0:t.C)?void 0:e.v)instanceof Node&&!t.C.v.isConnected&&delete t.C.v}))}componentOnReady(){return n(this).H}};r.D=e[0],m.includes(c)||p.get(c)||(h.push(c),p.define(c,se(u,r,1)))}))})),h.length>0&&(S&&(v.textContent+=r),v.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const e=null!=(c=f.k)?c:j(a);null!=e&&v.setAttribute("nonce",e),w.insertBefore(v,y?y.nextSibling:w.firstChild)}g=!1,b.length?b.map((e=>e.connectedCallback())):f.jmp((()=>$=setTimeout(ne,30)))},re=e=>f.k=e;export{ie as b,P as h,h as p,l as r,re as s}