proto-ikons-wc 0.0.131 → 0.0.132
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/acura-ikon_119.cjs.entry.js +1 -1
- package/dist/cjs/{index-85c2e762.js → index-9959af7f.js} +11 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-f27a3666.js → index-73ec75bb.js} +11 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-9981b0d2.js → p-5d547966.js} +1 -1
- package/dist/proto-ikons-wc/{p-ed90c553.entry.js → p-7c7e0b63.entry.js} +1 -1
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
|
@@ -1487,11 +1487,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1487
1487
|
if (cmpTags.length > 0) {
|
|
1488
1488
|
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1489
1489
|
if (hasSlotRelocation) {
|
|
1490
|
-
dataStyles.
|
|
1490
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
1491
1491
|
}
|
|
1492
1492
|
// Add hydration styles
|
|
1493
1493
|
{
|
|
1494
|
-
dataStyles.
|
|
1494
|
+
dataStyles.textContent += cmpTags + HYDRATED_CSS;
|
|
1495
1495
|
}
|
|
1496
1496
|
// If we have styles, add them to the DOM
|
|
1497
1497
|
if (dataStyles.innerHTML.length) {
|
|
@@ -1584,6 +1584,14 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1584
1584
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1585
1585
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1586
1586
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1587
|
+
/**
|
|
1588
|
+
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1589
|
+
* the below, but instead retains a dynamic `import()` statement in the
|
|
1590
|
+
* emitted code.
|
|
1591
|
+
*
|
|
1592
|
+
* See here for details https://esbuild.github.io/api/#glob
|
|
1593
|
+
*/
|
|
1594
|
+
const MODULE_IMPORT_PREFIX = './';
|
|
1587
1595
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1588
1596
|
// loadModuleImport
|
|
1589
1597
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1598,7 +1606,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1598
1606
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1599
1607
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1600
1608
|
/* webpackMode: "lazy" */
|
|
1601
|
-
|
|
1609
|
+
`${MODULE_IMPORT_PREFIX}${bundleId}.entry.js${''}`)); }).then((importedModule) => {
|
|
1602
1610
|
{
|
|
1603
1611
|
cmpModules.set(bundleId, importedModule);
|
|
1604
1612
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-9959af7f.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-
|
|
5
|
+
const index = require('./index-9959af7f.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.12.
|
|
9
|
+
Stencil Client Patch Browser v4.12.3 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const 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));
|
|
@@ -1465,11 +1465,11 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1465
1465
|
if (cmpTags.length > 0) {
|
|
1466
1466
|
// Add styles for `slot-fb` elements if any of our components are using slots outside the Shadow DOM
|
|
1467
1467
|
if (hasSlotRelocation) {
|
|
1468
|
-
dataStyles.
|
|
1468
|
+
dataStyles.textContent += SLOT_FB_CSS;
|
|
1469
1469
|
}
|
|
1470
1470
|
// Add hydration styles
|
|
1471
1471
|
{
|
|
1472
|
-
dataStyles.
|
|
1472
|
+
dataStyles.textContent += cmpTags + HYDRATED_CSS;
|
|
1473
1473
|
}
|
|
1474
1474
|
// If we have styles, add them to the DOM
|
|
1475
1475
|
if (dataStyles.innerHTML.length) {
|
|
@@ -1562,6 +1562,14 @@ const registerHost = (hostElement, cmpMeta) => {
|
|
|
1562
1562
|
const isMemberInElement = (elm, memberName) => memberName in elm;
|
|
1563
1563
|
const consoleError = (e, el) => (0, console.error)(e, el);
|
|
1564
1564
|
const cmpModules = /*@__PURE__*/ new Map();
|
|
1565
|
+
/**
|
|
1566
|
+
* We need to separate out this prefix so that Esbuild doesn't try to resolve
|
|
1567
|
+
* the below, but instead retains a dynamic `import()` statement in the
|
|
1568
|
+
* emitted code.
|
|
1569
|
+
*
|
|
1570
|
+
* See here for details https://esbuild.github.io/api/#glob
|
|
1571
|
+
*/
|
|
1572
|
+
const MODULE_IMPORT_PREFIX = './';
|
|
1565
1573
|
const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
1566
1574
|
// loadModuleImport
|
|
1567
1575
|
const exportName = cmpMeta.$tagName$.replace(/-/g, '_');
|
|
@@ -1576,7 +1584,7 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1576
1584
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1577
1585
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1578
1586
|
/* webpackMode: "lazy" */
|
|
1579
|
-
|
|
1587
|
+
`${MODULE_IMPORT_PREFIX}${bundleId}.entry.js${''}`).then((importedModule) => {
|
|
1580
1588
|
{
|
|
1581
1589
|
cmpModules.set(bundleId, importedModule);
|
|
1582
1590
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-73ec75bb.js';
|
|
2
|
+
export { s as setNonce } from './index-73ec75bb.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-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-73ec75bb.js';
|
|
2
|
+
export { s as setNonce } from './index-73ec75bb.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.12.
|
|
6
|
+
Stencil Client Patch Browser v4.12.3 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
const patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let e,n=!1,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o="http://www.w3.org/1999/xlink",s={},i=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(e,n,...t)=>{let l=null,o=null,s=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!i(l))&&(l+=""),s&&c?r[r.length-1].t+=l:r.push(s?u(null,l):l),c=s)};if(f(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const a=u(e,null);return a.l=n,r.length>0&&(a.o=r),a.i=o,a},u=(e,n)=>({u:0,v:e,t:n,h:null,o:null,l:null,i:null}),f={},a=new WeakMap,d=e=>"sc-"+e.p,y=(e,n,t,l,s,c)=>{if(t!==l){let r=q(e,n),u=n.toLowerCase();if("class"===n){const n=e.classList,o=h(t),s=h(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else{const f=i(l);if((r||f&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?r=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let a=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(a?e.removeAttributeNS(o,n):e.removeAttribute(n)):(!r||4&c||s)&&!f&&(l=!0===l?"":l,a?e.setAttributeNS(o,n,l):e.setAttribute(n,l))}}},v=/\s/,h=e=>e?e.split(v):[],p=(e,n,t,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,i=e&&e.l||s,c=n.l||s;for(l in i)l in c||y(o,l,i[l],void 0,t,n.u);for(l in c)y(o,l,i[l],c[l],t,n.u)},$=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.h=D.createTextNode(s.t);else{if(n||(n="svg"===s.v),i=s.h=D.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.v),n&&"foreignObject"===s.v&&(n=!1),p(null,s,n),s.o)for(r=0;r<s.o.length;++r)c=$(t,s,r),c&&i.appendChild(c);"svg"===s.v?n=!1:"foreignObject"===i.tagName&&(n=!0)}return i["s-hn"]=e,i},w=(e,n,t,l,o,s)=>{let i,c=e;for(;o<=s;++o)l[o]&&(i=$(null,t,o),i&&(l[o].h=i,c.insertBefore(i,n)))},m=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.h;e&&e.remove()}}},b=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),g=(e,t,l=!1)=>{const o=t.h=e.h,s=e.o,i=t.o,c=t.v,r=t.t;null===r?(n="svg"===c||"foreignObject"!==c&&n,p(e,t,n),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,f=0,a=n.length-1,d=n[0],y=n[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=n[++c];else if(null==y)y=n[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(b(d,h,o))g(d,h,o),d=n[++c],h=l[++r];else if(b(y,p,o))g(y,p,o),y=n[--a],p=l[--v];else if(b(d,p,o))g(d,p,o),e.insertBefore(d.h,y.h.nextSibling),d=n[++c],p=l[--v];else if(b(y,h,o))g(y,h,o),e.insertBefore(y.h,d.h),y=n[--a],h=l[++r];else{for(u=-1,f=c;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===h.i){u=f;break}u>=0?(i=n[u],i.v!==h.v?s=$(n&&n[r],t,u):(g(i,h,o),n[u]=void 0,s=i.h),h=l[++r]):(s=$(n&&n[r],t,r),h=l[++r]),s&&d.h.parentNode.insertBefore(s,d.h)}c>a?w(e,null==l[v+1]?null:l[v+1].h,t,l,r,v):r>v&&m(n,c,a)})(o,s,t,i,l):null!==i?(null!==e.t&&(o.textContent=""),w(o,null,t,i,0,i.length-1)):null!==s&&m(s,0,s.length-1),n&&"svg"===c&&(n=!1)):e.t!==r&&(o.data=r)},j=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},S=(e,n)=>{if(e.u|=16,!(4&e.u))return j(e,e.m),ne((()=>k(e,n)));e.u|=512},k=(e,n)=>{const t=e.j;return O(void 0,(()=>x(e,t,n)))},O=(e,n)=>M(e)?e.then(n):n(),M=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,x=async(e,n,t)=>{var o;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.S;((e,n)=>{var t;const o=d(n),s=z.get(o);if(e=11===e.nodeType?e:D,s)if("string"==typeof s){let i,r=a.get(e=e.head||e);if(r||a.set(e,r=new Set),!r.has(o)){{i=D.createElement("style"),i.innerHTML=s;const n=null!==(t=G.k)&&void 0!==t?t:c(D);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.$hostElement$.getRootNode(),n)})(e);C(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>P(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},C=(n,t,l,o)=>{try{t=t.render(),n.u&=-17,n.u|=2,((n,t,l=!1)=>{const o=n.$hostElement$,s=n.O||u(null,null),i=(e=>e&&e.v===f)(t)?t:r(null,null,t);if(e=o.tagName,l&&i.l)for(const e of Object.keys(i.l))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.l[e]=o[e]);i.v=null,i.u|=4,n.O=i,i.h=s.h=o,g(s,i,l)})(n,t,o)}catch(e){H(e,n.$hostElement$)}return null},P=e=>{const n=e.$hostElement$,t=e.m;64&e.u||(e.u|=64,E(n),e.M(n),t||A()),e.$&&(e.$(),e.$=void 0),512&e.u&&ee((()=>S(e,!1))),e.u&=-517},A=()=>{E(D.documentElement),ee((()=>(e=>{const n=G.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(n),n})(B)))},E=e=>e.classList.add("hydrated"),N=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const s=Object.entries(n.C);if(s.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>R(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=R(e),s=o.P.get(n),c=o.u,r=o.j;t=((e,n)=>null==e||i(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==s||t===s||Number.isNaN(s)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&S(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){G.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=R(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},T=(e,n={})=>{var t;const o=[],s=n.exclude||[],i=B.customElements,r=D.head,u=r.querySelector("meta[charset]"),f=D.createElement("style"),a=[];let y,v=!0;Object.assign(G,n),G.N=new URL(n.resourcesUrl||"./",D.baseURI).href;let h=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],p:n[1],C:n[2],T:n[3]};4&t.u&&(h=!0),t.C=n[2];const l=t.p,c=class extends HTMLElement{constructor(e){super(e),W(e=this,t)}connectedCallback(){y&&(clearTimeout(y),y=null),v?a.push(this):G.jmp((()=>(e=>{if(0==(1&G.u)){const n=R(e),t=n.S,l=()=>{};if(1&n.u)(null==n?void 0:n.j)||(null==n?void 0:n.F)&&n.F.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){j(n,n.m=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=_(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(N(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){H(e)}n.u&=-9,e()}if(l.style){let e=l.style;const n=d(t);if(!z.has(n)){const l=()=>{};((e,n,t)=>{let l=z.get(e);J&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,z.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.m,s=()=>S(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.u)){const e=R(this);(null==e?void 0:e.j)||(null==e?void 0:e.F)&&e.F.then((()=>{}))}})()))}componentOnReady(){return R(this).F}};t.L=e[0],s.includes(l)||i.get(l)||(o.push(l),i.define(l,N(c,t,1)))}))})),o.length>0&&(h&&(f.
|
|
1
|
+
let e,n=!1,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o="http://www.w3.org/1999/xlink",s={},i=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(e,n,...t)=>{let l=null,o=null,s=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!i(l))&&(l+=""),s&&c?r[r.length-1].t+=l:r.push(s?u(null,l):l),c=s)};if(f(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const a=u(e,null);return a.l=n,r.length>0&&(a.o=r),a.i=o,a},u=(e,n)=>({u:0,v:e,t:n,h:null,o:null,l:null,i:null}),f={},a=new WeakMap,d=e=>"sc-"+e.p,y=(e,n,t,l,s,c)=>{if(t!==l){let r=q(e,n),u=n.toLowerCase();if("class"===n){const n=e.classList,o=h(t),s=h(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else{const f=i(l);if((r||f&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?r=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let a=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(a?e.removeAttributeNS(o,n):e.removeAttribute(n)):(!r||4&c||s)&&!f&&(l=!0===l?"":l,a?e.setAttributeNS(o,n,l):e.setAttribute(n,l))}}},v=/\s/,h=e=>e?e.split(v):[],p=(e,n,t,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,i=e&&e.l||s,c=n.l||s;for(l in i)l in c||y(o,l,i[l],void 0,t,n.u);for(l in c)y(o,l,i[l],c[l],t,n.u)},$=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.h=D.createTextNode(s.t);else{if(n||(n="svg"===s.v),i=s.h=D.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.v),n&&"foreignObject"===s.v&&(n=!1),p(null,s,n),s.o)for(r=0;r<s.o.length;++r)c=$(t,s,r),c&&i.appendChild(c);"svg"===s.v?n=!1:"foreignObject"===i.tagName&&(n=!0)}return i["s-hn"]=e,i},w=(e,n,t,l,o,s)=>{let i,c=e;for(;o<=s;++o)l[o]&&(i=$(null,t,o),i&&(l[o].h=i,c.insertBefore(i,n)))},m=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.h;e&&e.remove()}}},b=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),g=(e,t,l=!1)=>{const o=t.h=e.h,s=e.o,i=t.o,c=t.v,r=t.t;null===r?(n="svg"===c||"foreignObject"!==c&&n,p(e,t,n),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,f=0,a=n.length-1,d=n[0],y=n[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=n[++c];else if(null==y)y=n[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(b(d,h,o))g(d,h,o),d=n[++c],h=l[++r];else if(b(y,p,o))g(y,p,o),y=n[--a],p=l[--v];else if(b(d,p,o))g(d,p,o),e.insertBefore(d.h,y.h.nextSibling),d=n[++c],p=l[--v];else if(b(y,h,o))g(y,h,o),e.insertBefore(y.h,d.h),y=n[--a],h=l[++r];else{for(u=-1,f=c;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===h.i){u=f;break}u>=0?(i=n[u],i.v!==h.v?s=$(n&&n[r],t,u):(g(i,h,o),n[u]=void 0,s=i.h),h=l[++r]):(s=$(n&&n[r],t,r),h=l[++r]),s&&d.h.parentNode.insertBefore(s,d.h)}c>a?w(e,null==l[v+1]?null:l[v+1].h,t,l,r,v):r>v&&m(n,c,a)})(o,s,t,i,l):null!==i?(null!==e.t&&(o.textContent=""),w(o,null,t,i,0,i.length-1)):null!==s&&m(s,0,s.length-1),n&&"svg"===c&&(n=!1)):e.t!==r&&(o.data=r)},j=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},S=(e,n)=>{if(e.u|=16,!(4&e.u))return j(e,e.m),ne((()=>k(e,n)));e.u|=512},k=(e,n)=>{const t=e.j;return O(void 0,(()=>x(e,t,n)))},O=(e,n)=>M(e)?e.then(n):n(),M=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,x=async(e,n,t)=>{var o;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.S;((e,n)=>{var t;const o=d(n),s=z.get(o);if(e=11===e.nodeType?e:D,s)if("string"==typeof s){let i,r=a.get(e=e.head||e);if(r||a.set(e,r=new Set),!r.has(o)){{i=D.createElement("style"),i.innerHTML=s;const n=null!==(t=G.k)&&void 0!==t?t:c(D);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.$hostElement$.getRootNode(),n)})(e);C(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>P(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},C=(n,t,l,o)=>{try{t=t.render(),n.u&=-17,n.u|=2,((n,t,l=!1)=>{const o=n.$hostElement$,s=n.O||u(null,null),i=(e=>e&&e.v===f)(t)?t:r(null,null,t);if(e=o.tagName,l&&i.l)for(const e of Object.keys(i.l))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.l[e]=o[e]);i.v=null,i.u|=4,n.O=i,i.h=s.h=o,g(s,i,l)})(n,t,o)}catch(e){H(e,n.$hostElement$)}return null},P=e=>{const n=e.$hostElement$,t=e.m;64&e.u||(e.u|=64,E(n),e.M(n),t||A()),e.$&&(e.$(),e.$=void 0),512&e.u&&ee((()=>S(e,!1))),e.u&=-517},A=()=>{E(D.documentElement),ee((()=>(e=>{const n=G.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(n),n})(B)))},E=e=>e.classList.add("hydrated"),N=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const s=Object.entries(n.C);if(s.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>R(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=R(e),s=o.P.get(n),c=o.u,r=o.j;t=((e,n)=>null==e||i(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==s||t===s||Number.isNaN(s)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&S(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){G.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=R(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},T=(e,n={})=>{var t;const o=[],s=n.exclude||[],i=B.customElements,r=D.head,u=r.querySelector("meta[charset]"),f=D.createElement("style"),a=[];let y,v=!0;Object.assign(G,n),G.N=new URL(n.resourcesUrl||"./",D.baseURI).href;let h=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],p:n[1],C:n[2],T:n[3]};4&t.u&&(h=!0),t.C=n[2];const l=t.p,c=class extends HTMLElement{constructor(e){super(e),W(e=this,t)}connectedCallback(){y&&(clearTimeout(y),y=null),v?a.push(this):G.jmp((()=>(e=>{if(0==(1&G.u)){const n=R(e),t=n.S,l=()=>{};if(1&n.u)(null==n?void 0:n.j)||(null==n?void 0:n.F)&&n.F.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){j(n,n.m=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=_(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(N(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){H(e)}n.u&=-9,e()}if(l.style){let e=l.style;const n=d(t);if(!z.has(n)){const l=()=>{};((e,n,t)=>{let l=z.get(e);J&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,z.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.m,s=()=>S(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){G.jmp((()=>(async()=>{if(0==(1&G.u)){const e=R(this);(null==e?void 0:e.j)||(null==e?void 0:e.F)&&e.F.then((()=>{}))}})()))}componentOnReady(){return R(this).F}};t.L=e[0],s.includes(l)||i.get(l)||(o.push(l),i.define(l,N(c,t,1)))}))})),o.length>0&&(h&&(f.textContent+=l),f.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=G.k)&&void 0!==t?t:c(D);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}v=!1,a.length?a.map((e=>e.connectedCallback())):G.jmp((()=>y=setTimeout(A,30)))},F=e=>G.k=e,L=new WeakMap,R=e=>L.get(e),U=(e,n)=>L.set(n.j=e,n),W=(e,n)=>{const t={u:0,$hostElement$:e,S:n,P:new Map};return t.F=new Promise((e=>t.M=e)),e["s-p"]=[],e["s-rc"]=[],L.set(e,t)},q=(e,n)=>n in e,H=(e,n)=>(0,console.error)(e,n),V=new Map,_=e=>{const n=e.p.replace(/-/g,"_"),t=e.L,l=V.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(V.set(t,e),e[n])),H)
|
|
2
2
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},z=new Map,B="undefined"!=typeof window?window:{},D=B.document||{head:{}},G={u:0,N:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},I=e=>Promise.resolve(e),J=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),K=[],Q=[],X=(e,n)=>l=>{e.push(l),t||(t=!0,n&&4&G.u?ee(Z):G.raf(Z))},Y=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){H(e)}e.length=0},Z=()=>{Y(K),Y(Q),(t=K.length>0)&&G.raf(Z)},ee=e=>I().then(e),ne=X(Q,!0);export{T as b,r as h,I as p,U as r,F as s}
|