proto-ikons-wc 0.0.172 → 0.0.174

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-5786646b.js');
5
+ const index = require('./index-d160740c.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.24.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
@@ -79,12 +79,17 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
79
79
  /* webpackExclude: /\.system\.entry\.js$/ */
80
80
  /* webpackMode: "lazy" */
81
81
  `./${bundleId}.entry.js${""}`
82
- )); }).then((importedModule) => {
83
- {
84
- cmpModules.set(bundleId, importedModule);
82
+ )); }).then(
83
+ (importedModule) => {
84
+ {
85
+ cmpModules.set(bundleId, importedModule);
86
+ }
87
+ return importedModule[exportName];
88
+ },
89
+ (e) => {
90
+ consoleError(e, hostRef.$hostElement$);
85
91
  }
86
- return importedModule[exportName];
87
- }, consoleError);
92
+ );
88
93
  };
89
94
 
90
95
  // src/client/client-style.ts
@@ -346,7 +351,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
346
351
  if (styleContainerNode.nodeName === "HEAD") {
347
352
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
348
353
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
349
- styleContainerNode.insertBefore(styleElm, referenceNode2);
354
+ styleContainerNode.insertBefore(
355
+ styleElm,
356
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
357
+ );
350
358
  } else if ("host" in styleContainerNode) {
351
359
  if (supportsConstructableStylesheets) {
352
360
  const stylesheet = new CSSStyleSheet();
@@ -391,7 +399,7 @@ var attachStyles = (hostRef) => {
391
399
  endAttachStyles();
392
400
  };
393
401
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
394
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
402
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
395
403
  if (oldValue !== newValue) {
396
404
  let isProp = isMemberInElement(elm, memberName);
397
405
  let ln = memberName.toLowerCase();
@@ -399,15 +407,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
399
407
  const classList = elm.classList;
400
408
  const oldClasses = parseClassList(oldValue);
401
409
  let newClasses = parseClassList(newValue);
402
- if (elm["s-si"]) {
403
- newClasses.push(elm["s-si"]);
404
- oldClasses.forEach((c) => {
405
- if (c.startsWith(elm["s-si"])) newClasses.push(c);
406
- });
407
- newClasses = [...new Set(newClasses)];
408
- classList.add(...newClasses);
409
- delete elm["s-si"];
410
- } else {
410
+ {
411
411
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
412
412
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
413
413
  }
@@ -460,29 +460,41 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
460
460
  };
461
461
  var parseClassListRegex = /\s/;
462
462
  var parseClassList = (value) => {
463
- if (typeof value === "object" && "baseVal" in value) {
463
+ if (typeof value === "object" && value && "baseVal" in value) {
464
464
  value = value.baseVal;
465
465
  }
466
- if (!value) {
466
+ if (!value || typeof value !== "string") {
467
467
  return [];
468
468
  }
469
469
  return value.split(parseClassListRegex);
470
470
  };
471
471
 
472
472
  // src/runtime/vdom/update-element.ts
473
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
473
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
474
474
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
475
475
  const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
476
476
  const newVnodeAttrs = newVnode.$attrs$ || {};
477
477
  {
478
478
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
479
479
  if (!(memberName in newVnodeAttrs)) {
480
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
480
+ setAccessor(
481
+ elm,
482
+ memberName,
483
+ oldVnodeAttrs[memberName],
484
+ void 0,
485
+ isSvgMode2,
486
+ newVnode.$flags$);
481
487
  }
482
488
  }
483
489
  }
484
490
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
485
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
491
+ setAccessor(
492
+ elm,
493
+ memberName,
494
+ oldVnodeAttrs[memberName],
495
+ newVnodeAttrs[memberName],
496
+ isSvgMode2,
497
+ newVnode.$flags$);
486
498
  }
487
499
  };
488
500
  function sortedAttrNames(attrNames) {
@@ -1004,9 +1016,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1004
1016
  let Cstr;
1005
1017
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
1006
1018
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1007
- const bundleId = cmpMeta.$lazyBundleId$;
1008
- if (bundleId) {
1009
- const CstrImport = loadModule(cmpMeta);
1019
+ {
1020
+ const CstrImport = loadModule(cmpMeta, hostRef);
1010
1021
  if (CstrImport && "then" in CstrImport) {
1011
1022
  const endLoad = uniqueTime();
1012
1023
  Cstr = await CstrImport;
@@ -1028,16 +1039,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1028
1039
  try {
1029
1040
  new Cstr(hostRef);
1030
1041
  } catch (e) {
1031
- consoleError(e);
1042
+ consoleError(e, elm);
1032
1043
  }
1033
1044
  {
1034
1045
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1035
1046
  }
1036
1047
  endNewInstance();
1037
- } else {
1038
- Cstr = elm.constructor;
1039
- const cmpTag = elm.localName;
1040
- customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1041
1048
  }
1042
1049
  if (Cstr && Cstr.style) {
1043
1050
  let style;
@@ -1060,7 +1067,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1060
1067
  schedule();
1061
1068
  }
1062
1069
  };
1063
- var fireConnectedCallback = (instance) => {
1070
+ var fireConnectedCallback = (instance, elm) => {
1064
1071
  };
1065
1072
 
1066
1073
  // src/runtime/connected-callback.ts
@@ -1100,7 +1107,7 @@ var connectedCallback = (elm) => {
1100
1107
  endConnected();
1101
1108
  }
1102
1109
  };
1103
- var disconnectInstance = (instance) => {
1110
+ var disconnectInstance = (instance, elm) => {
1104
1111
  };
1105
1112
  var disconnectedCallback = async (elm) => {
1106
1113
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5786646b.js');
5
+ const index = require('./index-d160740c.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-5786646b.js');
5
+ const index = require('./index-d160740c.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.24.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.25.1 | 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.24.0",
125
+ "version": "4.25.1",
126
126
  "typescriptVersion": "5.5.4"
127
127
  },
128
128
  "collections": [],
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-c097ad36.js';
1
+ import { r as registerInstance, h } from './index-5323137c.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.24.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.25.1 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -57,12 +57,17 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
57
57
  /* webpackExclude: /\.system\.entry\.js$/ */
58
58
  /* webpackMode: "lazy" */
59
59
  `./${bundleId}.entry.js${""}`
60
- ).then((importedModule) => {
61
- {
62
- cmpModules.set(bundleId, importedModule);
60
+ ).then(
61
+ (importedModule) => {
62
+ {
63
+ cmpModules.set(bundleId, importedModule);
64
+ }
65
+ return importedModule[exportName];
66
+ },
67
+ (e) => {
68
+ consoleError(e, hostRef.$hostElement$);
63
69
  }
64
- return importedModule[exportName];
65
- }, consoleError);
70
+ );
66
71
  };
67
72
 
68
73
  // src/client/client-style.ts
@@ -324,7 +329,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
324
329
  if (styleContainerNode.nodeName === "HEAD") {
325
330
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
326
331
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
327
- styleContainerNode.insertBefore(styleElm, referenceNode2);
332
+ styleContainerNode.insertBefore(
333
+ styleElm,
334
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
335
+ );
328
336
  } else if ("host" in styleContainerNode) {
329
337
  if (supportsConstructableStylesheets) {
330
338
  const stylesheet = new CSSStyleSheet();
@@ -369,7 +377,7 @@ var attachStyles = (hostRef) => {
369
377
  endAttachStyles();
370
378
  };
371
379
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
372
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
380
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
373
381
  if (oldValue !== newValue) {
374
382
  let isProp = isMemberInElement(elm, memberName);
375
383
  let ln = memberName.toLowerCase();
@@ -377,15 +385,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
377
385
  const classList = elm.classList;
378
386
  const oldClasses = parseClassList(oldValue);
379
387
  let newClasses = parseClassList(newValue);
380
- if (elm["s-si"]) {
381
- newClasses.push(elm["s-si"]);
382
- oldClasses.forEach((c) => {
383
- if (c.startsWith(elm["s-si"])) newClasses.push(c);
384
- });
385
- newClasses = [...new Set(newClasses)];
386
- classList.add(...newClasses);
387
- delete elm["s-si"];
388
- } else {
388
+ {
389
389
  classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
390
390
  classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
391
391
  }
@@ -438,29 +438,41 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
438
438
  };
439
439
  var parseClassListRegex = /\s/;
440
440
  var parseClassList = (value) => {
441
- if (typeof value === "object" && "baseVal" in value) {
441
+ if (typeof value === "object" && value && "baseVal" in value) {
442
442
  value = value.baseVal;
443
443
  }
444
- if (!value) {
444
+ if (!value || typeof value !== "string") {
445
445
  return [];
446
446
  }
447
447
  return value.split(parseClassListRegex);
448
448
  };
449
449
 
450
450
  // src/runtime/vdom/update-element.ts
451
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
451
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
452
452
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
453
453
  const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
454
454
  const newVnodeAttrs = newVnode.$attrs$ || {};
455
455
  {
456
456
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
457
457
  if (!(memberName in newVnodeAttrs)) {
458
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
458
+ setAccessor(
459
+ elm,
460
+ memberName,
461
+ oldVnodeAttrs[memberName],
462
+ void 0,
463
+ isSvgMode2,
464
+ newVnode.$flags$);
459
465
  }
460
466
  }
461
467
  }
462
468
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
463
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
469
+ setAccessor(
470
+ elm,
471
+ memberName,
472
+ oldVnodeAttrs[memberName],
473
+ newVnodeAttrs[memberName],
474
+ isSvgMode2,
475
+ newVnode.$flags$);
464
476
  }
465
477
  };
466
478
  function sortedAttrNames(attrNames) {
@@ -982,9 +994,8 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
982
994
  let Cstr;
983
995
  if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
984
996
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
985
- const bundleId = cmpMeta.$lazyBundleId$;
986
- if (bundleId) {
987
- const CstrImport = loadModule(cmpMeta);
997
+ {
998
+ const CstrImport = loadModule(cmpMeta, hostRef);
988
999
  if (CstrImport && "then" in CstrImport) {
989
1000
  const endLoad = uniqueTime();
990
1001
  Cstr = await CstrImport;
@@ -1006,16 +1017,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1006
1017
  try {
1007
1018
  new Cstr(hostRef);
1008
1019
  } catch (e) {
1009
- consoleError(e);
1020
+ consoleError(e, elm);
1010
1021
  }
1011
1022
  {
1012
1023
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
1013
1024
  }
1014
1025
  endNewInstance();
1015
- } else {
1016
- Cstr = elm.constructor;
1017
- const cmpTag = elm.localName;
1018
- customElements.whenDefined(cmpTag).then(() => hostRef.$flags$ |= 128 /* isWatchReady */);
1019
1026
  }
1020
1027
  if (Cstr && Cstr.style) {
1021
1028
  let style;
@@ -1038,7 +1045,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1038
1045
  schedule();
1039
1046
  }
1040
1047
  };
1041
- var fireConnectedCallback = (instance) => {
1048
+ var fireConnectedCallback = (instance, elm) => {
1042
1049
  };
1043
1050
 
1044
1051
  // src/runtime/connected-callback.ts
@@ -1078,7 +1085,7 @@ var connectedCallback = (elm) => {
1078
1085
  endConnected();
1079
1086
  }
1080
1087
  };
1081
- var disconnectInstance = (instance) => {
1088
+ var disconnectInstance = (instance, elm) => {
1082
1089
  };
1083
1090
  var disconnectedCallback = async (elm) => {
1084
1091
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-c097ad36.js';
2
- export { s as setNonce } from './index-c097ad36.js';
1
+ import { b as bootstrapLazy } from './index-5323137c.js';
2
+ export { s as setNonce } from './index-5323137c.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-c097ad36.js';
2
- export { s as setNonce } from './index-c097ad36.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-5323137c.js';
2
+ export { s as setNonce } from './index-5323137c.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.24.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.25.1 | MIT Licensed | https://stenciljs.com
7
7
  */
8
8
  var patchBrowser = () => {
9
9
  const importMeta = import.meta.url;
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),l=(t,n)=>{e.set(n.t=t,n)},o=(t,e)=>(0,console.error)(t,e),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:{},f=u.document||{head:{}},a={l:0,o:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,l)=>t.addEventListener(e,n,l),rel:(t,e,n,l)=>t.removeEventListener(e,n,l),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],y=[],w=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.l?$(b):a.raf(b))},v=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},b=()=>{v(m),v(y),(p=m.length>0)&&a.raf(b)},$=t=>h().then(t),g=w(y,!0),S=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,l;return null!=(l=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((e,n)=>{for(var l in n)t(e,l,{get:n[l],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,M=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e,...n)=>{let l=null,o=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)l=e[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!S(l))&&(l+=""),s&&i?r[r.length-1].i+=l:r.push(s?A(null,l):l),i=s)};if(c(n),e){e.key&&(o=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=A(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=o,u},A=(t,e)=>({l:0,m:t,i:e,v:null,h:null,u:null,p:null}),H={},N=(t,e)=>null==t||S(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,T=new WeakMap,D=t=>"sc-"+t.$,F=(t,e,n,l,o,s)=>{if(n!==l){let i=((t,e)=>e in t)(t,e),r=e.toLowerCase();if("class"===e){const e=t.classList,o=L(n);let s=L(l);e.remove(...o.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!o.includes(t))))}else if("key"===e);else{const u=S(l);if((i||u&&null!==l)&&!o)try{if(t.tagName.includes("-"))t[e]!==l&&(t[e]=l);else{const o=null==l?"":l;"list"===e?i=!1:null!=n&&t[e]==o||("function"==typeof t.__lookupSetter__(e)?t[e]=o:t.setAttribute(e,o))}}catch(t){}let f=!1;r!==(r=r.replace(/^xlink\:?/,""))&&(e=r,f=!0),null==l||!1===l?!1===l&&""!==t.getAttribute(e)||(f?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!i||4&s||o)&&!u&&(l=!0===l?"":l,f?t.setAttributeNS(c,e,l):t.setAttribute(e,l))}}},R=/\s/,L=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(R):[]),U=(t,e,n)=>{const l=11===e.v.nodeType&&e.v.host?e.v.host:e.v,o=t&&t.u||{},s=e.u||{};for(const t of V(Object.keys(o)))t in s||F(l,t,o[t],void 0,n,e.l);for(const t of V(Object.keys(s)))F(l,t,o[t],s[t],n,e.l)};function V(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var W=!1,q=(t,e,n)=>{const l=e.h[n];let o,s,i=0;if(null!==l.i)o=l.v=f.createTextNode(l.i);else{if(W||(W="svg"===l.m),o=l.v=f.createElementNS(W?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),W&&"foreignObject"===l.m&&(W=!1),U(null,l,W),l.h)for(i=0;i<l.h.length;++i)s=q(t,l,i),s&&o.appendChild(s);"svg"===l.m?W=!1:"foreignObject"===o.tagName&&(W=!0)}return o["s-hn"]=C,o},G=(t,e,n,l,o,s)=>{let i,r=t;for(;o<=s;++o)l[o]&&(i=q(null,n,o),i&&(l[o].v=i,I(r,i,e)))},_=(t,e,n)=>{for(let l=e;l<=n;++l){const e=t[l];if(e){const t=e.v;t&&t.remove()}}},z=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),B=(t,e,n=!1)=>{const l=e.v=t.v,o=t.h,s=e.h,i=e.m,r=e.i;null===r?(U(t,e,W="svg"===i||"foreignObject"!==i&&W),null!==o&&null!==s?((t,e,n,l,o=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=e.length-1,h=e[0],d=e[a],p=l.length-1,m=l[0],y=l[p];for(;r<=a&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--a];else if(null==m)m=l[++c];else if(null==y)y=l[--p];else if(z(h,m,o))B(h,m,o),h=e[++r],m=l[++c];else if(z(d,y,o))B(d,y,o),d=e[--a],y=l[--p];else if(z(h,y,o))B(h,y,o),I(t,h.v,d.v.nextSibling),h=e[++r],y=l[--p];else if(z(d,m,o))B(d,m,o),I(t,d.v,h.v),d=e[--a],m=l[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].p&&e[f].p===m.p){u=f;break}u>=0?(i=e[u],i.m!==m.m?s=q(e&&e[c],n,u):(B(i,m,o),e[u]=void 0,s=i.v),m=l[++c]):(s=q(e&&e[c],n,c),m=l[++c]),s&&I(h.v.parentNode,s,h.v)}r>a?G(t,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&_(e,r,a)})(l,o,e,s,n):null!==s?(null!==t.i&&(l.textContent=""),G(l,null,e,s,0,s.length-1)):!n&&null!==o&&_(o,0,o.length-1),W&&"svg"===i&&(W=!1)):t.i!==r&&(l.data=r)},I=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),J=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((l=>t.S=()=>{e["s-p"].splice(n-1,1),l()})))}},K=(t,e)=>{if(t.l|=16,!(4&t.l))return J(t,t.j),g((()=>Q(t,e)));t.l|=512},Q=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$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(t,n,e)))},X=(t,e)=>Y(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Y=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Z=async(t,e,n)=>{var l;const o=t.$hostElement$,s=o["s-rc"];n&&(t=>{const e=t.O;((t,e)=>{var n;const l=D(e),o=i.get(l);if(t=11===t.nodeType?t:f,o)if("string"==typeof o){let s,i=T.get(t=t.head||t);if(i||T.set(t,i=new Set),!i.has(l)){{s=document.querySelector(`[sty-id="${l}"]`)||f.createElement("style"),s.innerHTML=o;const i=null!=(n=a.k)?n:j(f);if(null!=i&&s.setAttribute("nonce",i),!(1&e.l))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(o),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=o+e.innerHTML:t.prepend(s)}else t.append(s);1&e.l&&"HEAD"!==t.nodeName&&t.insertBefore(s,null)}4&e.l&&(s.innerHTML+=r),i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o])})(t.$hostElement$.getRootNode(),e)})(t);tt(t,e,o,n),s&&(s.map((t=>t())),o["s-rc"]=void 0);{const e=null!=(l=o["s-p"])?l:[],n=()=>et(t);0===e.length?n():(Promise.all(e).then(n),t.l|=4,e.length=0)}},tt=(t,e,n,l)=>{try{e=e.render(),t.l&=-17,t.l|=2,((t,e,n=!1)=>{const l=t.$hostElement$,o=t.C||A(null,null),s=(t=>t&&t.m===H)(e)?e:P(null,null,e);if(C=l.tagName,n&&s.u)for(const t of Object.keys(s.u))l.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(s.u[t]=l[t]);s.m=null,s.l|=4,t.C=s,s.v=o.v=l,B(o,s,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},et=t=>{const e=t.$hostElement$,n=t.j;64&t.l||(t.l|=64,lt(e),t.M(e),n||nt()),t.S&&(t.S(),t.S=void 0),512&t.l&&$((()=>K(t,!1))),t.l&=-517},nt=()=>{lt(f.documentElement),$((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(u)))},lt=t=>t.classList.add("hydrated"),ot=(t,e,l,o)=>{const s=n(t);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(e),r=s.l,c=s.t;l=N(l,o.A[e][0]),8&r&&void 0!==i||l===i||Number.isNaN(i)&&Number.isNaN(l)||(s.P.set(e,l),c&&2==(18&r)&&K(s,!1))},st=(t,e,l)=>{var o,s;const i=t.prototype;if(e.A){const r=Object.entries(null!=(o=e.A)?o:{});if(r.map((([t,[o]])=>{if(31&o||2&l&&32&o){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.A[t][0]|=2048),r&&(e.A[t][0]|=4096),(1&l||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.A[t][0]))return((t,e)=>n(this).P.get(e))(0,t);const l=n(this),o=l?l.t:i;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&o?this[t]:i.$hostElement$[t];return void 0===n&&i.P.get(t)?s=i.P.get(t):!i.P.get(t)&&n&&i.P.set(t,n),r.call(this,N(s,o)),void ot(this,t,s=32&o?this[t]:i.$hostElement$[t],e)}{if(!(1&l&&4096&e.A[t][0]))return ot(this,t,s,e),void(1&l&&!i.t&&i.H.then((()=>{4096&e.A[t][0]&&i.t[t]!==i.P.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.P.get(t)&&n&&i.P.set(t,n),i.t[t]=N(s,o),ot(this,t,i.t[t],e)};i.t?n():i.H.then((()=>n()))}}})}})),1&l){const l=new Map;i.attributeChangedCallback=function(t,o,s){a.jmp((()=>{var r;const c=l.get(t);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=e.N)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,o,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.N)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return l.set(n,t),n}))]))}}return t},it=(t,l={})=>{var c;const h=[],p=l.exclude||[],m=u.customElements,y=f.head,w=y.querySelector("meta[charset]"),v=f.createElement("style"),b=[];let $,g=!0;Object.assign(a,l),a.o=new URL(l.resourcesUrl||"./",f.baseURI).href;let S=!1;if(t.map((t=>{t[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(t){super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const l={l:0,$hostElement$:t,O:n,P:new Map};l.H=new Promise((t=>l.M=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,l)})(t=this,r)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),$&&(clearTimeout($),$=null),g?b.push(this):a.jmp((()=>(t=>{if(!(1&a.l)){const e=n(t),l=e.O,r=()=>{};if(1&e.l)(null==e?void 0:e.t)||(null==e?void 0:e.H)&&e.H.then((()=>{}));else{e.l|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(e,e.j=n);break}}l.A&&Object.entries(l.A).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let l;if(!(32&e.l)){e.l|=32;{const i=((t,e)=>{const n=t.$.replace(/-/g,"_"),l=t.D;if(!l)return;const i=s.get(l);return i?i[n]:import(`./${l}.entry.js`).then((t=>(s.set(l,t),t[n])),(t=>{o(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};l=await i,t()}else l=i;if(!l)throw Error(`Constructor for "${n.$}#${e.F}" was not found`);l.isProxied||(st(l,n,2),l.isProxied=!0);const r=()=>{};e.l|=8;try{new l(e)}catch(e){o(e,t)}e.l&=-9,r()}if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const e=D(n);if(!i.has(e)){const l=()=>{};((t,e,n)=>{let l=i.get(t);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,i.set(t,l)})(e,t,!!(1&n.l)),l()}}}const r=e.j,c=()=>K(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,e,l)}r()}})(this)))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.l)){const e=n(t);(null==e?void 0:e.t)||(null==e?void 0:e.H)&&e.H.then((()=>{}))}T.has(t)&&T.delete(t),t.shadowRoot&&T.has(t.shadowRoot)&&T.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this);(null==(t=null==e?void 0:e.C)?void 0:t.v)instanceof Node&&!e.C.v.isConnected&&delete e.C.v}))}componentOnReady(){return n(this).H}};r.D=t[0],p.includes(c)||m.get(c)||(h.push(c),m.define(c,st(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 t=null!=(c=a.k)?c:j(f);null!=t&&v.setAttribute("nonce",t),y.insertBefore(v,w?w.nextSibling:y.firstChild)}g=!1,b.length?b.map((t=>t.connectedCallback())):a.jmp((()=>$=setTimeout(nt,30)))},rt=t=>a.k=t;export{it as b,P as h,h as p,l as r,rt as s}