proto-ikons-wc 0.1.1 → 0.1.2

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.
@@ -0,0 +1,2 @@
1
+ var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},o=(t,e)=>(0,console.error)(t,e),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="http://www.w3.org/1999/xlink",c="undefined"!=typeof window?window:{},u={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},a=t=>Promise.resolve(t),f=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),d=!1,h=[],p=[],m=(t,e)=>n=>{t.push(n),d||(d=!0,e&&4&u.o?y(w):u.raf(w))},v=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},w=()=>{v(h),v(p),(d=h.length>0)&&u.raf(w)},y=t=>a().then(t),b=m(p,!0),$=t=>"object"==(t=typeof t)||"function"===t;function g(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>j,map:()=>k,ok:()=>S,unwrap:()=>C,unwrapErr:()=>E});var S=t=>({isOk:!0,isErr:!1,value:t}),j=t=>({isOk:!1,isErr:!0,value:t});function k(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>S(t))):S(n)}if(t.isErr)return j(t.value);throw"should never get here"}var O,C=t=>{if(t.isOk)return t.value;throw t.value},E=t=>{if(t.isErr)return t.value;throw t.value},M=(t,e,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!$(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?x(null,o):o),s=i)};if(c(n),e){e.key&&(l=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=x(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},x=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),P={},D=(t,e)=>null==t||$(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,W=new WeakMap,A=t=>"sc-"+t.$,N=(t,e,n,o,l,i)=>{if(n===o)return;let s=((t,e)=>e in t)(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=U(n);let i=U(o);e.remove(...l.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!l.includes(t))))}else if("key"===e);else{const u=$(o);if((s||u&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?s=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!s||4&i||l)&&!u&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(r,e,o):t.setAttribute(e,o))}},R=/\s/,U=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(R):[]),L=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},i=e.u||{};for(const t of T(Object.keys(l)))t in i||N(o,t,l[t],void 0,n,e.o);for(const t of T(Object.keys(i)))N(o,t,l[t],i[t],n,e.o)};function T(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var F=!1,H=(t,e,n)=>{const o=e.h[n];let l,i,s=0;if(null!==o.i)l=o.v=c.document.createTextNode(o.i);else{if(F||(F="svg"===o.m),!c.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(l=o.v=c.document.createElementNS(F?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),F&&"foreignObject"===o.m&&(F=!1),L(null,o,F),o.h)for(s=0;s<o.h.length;++s)i=H(t,o,s),i&&l.appendChild(i);"svg"===o.m?F=!1:"foreignObject"===l.tagName&&(F=!0)}return l["s-hn"]=O,l},z=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=H(null,n,l),s&&(o[l].v=s,I(r,s,e)))},V=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;t&&t.remove()}}},q=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),G=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,i=e.h,s=e.m,r=e.i;null===r?(L(t,e,F="svg"===s||"foreignObject"!==s&&F),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(q(d,m,l))G(d,m,l),d=e[++r],m=o[++c];else if(q(h,v,l))G(h,v,l),h=e[--f],v=o[--p];else if(q(d,v,l))G(d,v,l),I(t,d.v,h.v.nextSibling),d=e[++r],v=o[--p];else if(q(h,m,l))G(h,m,l),I(t,h.v,d.v),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(s=e[u],s.m!==m.m?i=H(e&&e[c],n,u):(G(s,m,l),e[u]=void 0,i=s.v),m=o[++c]):(i=H(e&&e[c],n,c),m=o[++c]),i&&I(d.v.parentNode,i,d.v)}r>f?z(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&V(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.i&&(o.textContent=""),z(o,null,e,i,0,i.length-1)):!n&&null!==l&&V(l,0,l.length-1),F&&"svg"===s&&(F=!1)):t.i!==r&&(o.data=r)},I=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Y=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},_=(t,e)=>{if(t.o|=16,!(4&t.o))return Y(t,t.j),b((()=>B(t,e)));t.o|=512},B=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.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 l;return l=et(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),l=J(l,(()=>et(o,"componentWillRender",void 0,n))),J(l,(()=>Q(t,o,e)))},J=(t,e)=>K(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),K=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Q=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.k;((t,e)=>{var n;const o=A(e),l=i.get(o);if(!c.document)return o;if(t=11===t.nodeType?t:c.document,l)if("string"==typeof l){let i,r=W.get(t=t.head||t);if(r||W.set(t,r=new Set),!r.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||c.document.createElement("style"),i.innerHTML=l;const s=null!=(n=u.O)?n:g(c.document);if(null!=s&&i.setAttribute("nonce",s),!(1&e.o))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(i,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(f){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(i)}else t.append(i);1&e.o&&t.insertBefore(i,null)}4&e.o&&(i.innerHTML+=s),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);X(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Z(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},X=(t,e,n,l)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.C||x(null,null),i=(t=>t&&t.m===P)(e)?e:M(null,null,e);if(O=o.tagName,n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.C=i,i.v=l.v=o,G(l,i,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},Z=t=>{const e=t.$hostElement$,n=t.t,o=t.j;et(n,"componentDidRender",void 0,e),64&t.o?et(n,"componentDidUpdate",void 0,e):(t.o|=64,nt(e),et(n,"componentDidLoad",void 0,e),t.M(e),o||tt()),t.S&&(t.S(),t.S=void 0),512&t.o&&y((()=>_(t,!1))),t.o&=-517},tt=()=>{y((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(c)))},et=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,l)}},nt=t=>t.classList.add("hydrated"),ot=(t,n,o,l)=>{const i=e(t);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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 s=i.P.get(n),r=i.o,c=i.t;if(o=D(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;_(i,!1)}},lt=(t,n,o)=>{var l,i;const s=t.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.D[t][0]|=2048),r&&(n.D[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.D[t][0]))return((t,n)=>e(this).P.get(n))(0,t);const o=e(this),l=o?o.t:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=e(this);if(r){const e=32&l?this[t]:s.$hostElement$[t];return void 0===e&&s.P.get(t)?i=s.P.get(t):!s.P.get(t)&&e&&s.P.set(t,e),r.call(this,D(i,l)),void ot(this,t,i=32&l?this[t]:s.$hostElement$[t],n)}{if(!(1&o&&4096&n.D[t][0]))return ot(this,t,i,n),void(1&o&&!s.t&&s.W.then((()=>{4096&n.D[t][0]&&s.t[t]!==s.P.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.P.get(t)&&e&&s.P.set(t,e),s.t[t]=D(i,l),ot(this,t,s.t[t],n)};s.t?e():s.W.then((()=>e()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=e(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const e=o.t,s=null==(r=n.A)?void 0:r[t];null==s||s.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.A)?i:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},it=(t,e)=>{et(t,"connectedCallback",void 0,e)},st=(t,e)=>{et(t,"disconnectedCallback",void 0,e||t)},rt=(t,n={})=>{var r;if(!c.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const a=[],d=n.exclude||[],h=c.customElements,p=c.document.head,m=p.querySelector("meta[charset]"),v=c.document.createElement("style"),w=[];let y,b=!0;Object.assign(u,n),u.l=new URL(n.resourcesUrl||"./",c.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((n=>{const s={o:n[0],$:n[1],D:n[2],N:n[3]};4&s.o&&($=!0),s.D=n[2];const r=s.$,c=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,k:e,P:new Map};n.W=new Promise((t=>n.M=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,s)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),y&&(clearTimeout(y),y=null),b?w.push(this):u.jmp((()=>(t=>{if(!(1&u.o)){const n=e(t),s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?it(n.t,t):(null==n?void 0:n.W)&&n.W.then((()=>it(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){Y(n,n.j=e);break}}s.D&&Object.entries(s.D).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let s;if(!(32&e.o)){if(e.o|=32,n.R){const i=((t,e)=>{const n=t.$.replace(/-/g,"_"),i=t.R;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(l.set(i,t),t[n])),(t=>{o(t,e.$hostElement$)}))
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};s=await i,t()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${e.U}" was not found`);s.isProxied||(lt(s,n,2),s.isProxied=!0);const r=()=>{};e.o|=8;try{new s(e)}catch(e){o(e,t)}e.o&=-9,r(),it(e.t,t)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=A(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);f&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.j,c=()=>_(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,s)}r()}})(this)))}disconnectedCallback(){u.jmp((()=>(async t=>{if(!(1&u.o)){const n=e(t);(null==n?void 0:n.t)?st(n.t,t):(null==n?void 0:n.W)&&n.W.then((()=>st(n.t,t)))}W.has(t)&&W.delete(t),t.shadowRoot&&W.has(t.shadowRoot)&&W.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const n=e(this),o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==n?void 0:n.C)?void 0:t.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return e(this).W}};s.R=t[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,lt(c,s,1)))}))})),a.length>0&&($&&(v.textContent+=s),v.textContent+=a.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(r=u.O)?r:g(c.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}b=!1,w.length?w.map((t=>t.connectedCallback())):u.jmp((()=>y=setTimeout(tt,30)))},ct=t=>u.O=t;export{rt as b,M as h,a as p,n as r,ct as s}
@@ -1 +1 @@
1
- import{p as e,b as i}from"./p-c4de96f6.js";export{s as setNonce}from"./p-c4de96f6.js";import{g as n}from"./p-e1255160.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-0d3d2423",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}],[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[0,"audi-ikon",{hex:[1],name:[1],size:[2]}],[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bently-ikon",{hex:[1],name:[1],size:[2]}],[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[0,"buick-ikon",{hex:[1],name:[1],size:[2]}],[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ford-ikon",{hex:[1],name:[1],size:[2]}],[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[0,"geo-ikon",{hex:[1],name:[1],size:[2]}],[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[0,"honda-ikon",{hex:[1],name:[1],size:[2]}],[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[0,"kia-ikon",{hex:[1],name:[1],size:[2]}],[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mini-ikon",{hex:[1],name:[1],size:[2]}],[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"opel-ikon",{hex:[1],name:[1],size:[2]}],[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-ikon",{hex:[1],name:[1],size:[2]}],[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-ikon",{hex:[1],name:[1],size:[2]}],[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"saab-ikon",{hex:[1],name:[1],size:[2]}],[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[0,"scion-ikon",{hex:[1],name:[1],size:[2]}],[0,"seat-ikon",{hex:[1],name:[1],size:[2]}],[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[0,"slug-icon",{label:[1],name:[1],size:[2]}],[0,"smart-ikon",{hex:[1],name:[1],size:[2]}],[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
1
+ import{p as e,b as i}from"./p-c5e0683b.js";export{s as setNonce}from"./p-c5e0683b.js";import{g as n}from"./p-e1255160.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-99f94268",[[0,"acura-ikon",{hex:[1],name:[1],size:[2]}],[0,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[0,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[0,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[0,"audi-ikon",{hex:[1],name:[1],size:[2]}],[0,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"bently-ikon",{hex:[1],name:[1],size:[2]}],[0,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[0,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[0,"buick-ikon",{hex:[1],name:[1],size:[2]}],[0,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[0,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[0,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[0,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[0,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[0,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[0,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[0,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[0,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[0,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[0,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ford-ikon",{hex:[1],name:[1],size:[2]}],[0,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[0,"geo-ikon",{hex:[1],name:[1],size:[2]}],[0,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[0,"honda-ikon",{hex:[1],name:[1],size:[2]}],[0,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[0,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[0,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[0,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[0,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[0,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[0,"kia-ikon",{hex:[1],name:[1],size:[2]}],[0,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[0,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[0,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[0,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[0,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[0,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[0,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[0,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[0,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[0,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[0,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"mini-ikon",{hex:[1],name:[1],size:[2]}],[0,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[0,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[0,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[0,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"opel-ikon",{hex:[1],name:[1],size:[2]}],[0,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[0,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[0,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[0,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[0,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[0,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"ram-ikon",{hex:[1],name:[1],size:[2]}],[0,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"renault-ikon",{hex:[1],name:[1],size:[2]}],[0,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[0,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"saab-ikon",{hex:[1],name:[1],size:[2]}],[0,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[0,"scion-ikon",{hex:[1],name:[1],size:[2]}],[0,"seat-ikon",{hex:[1],name:[1],size:[2]}],[0,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[0,"slug-icon",{label:[1],name:[1],size:[2]}],[0,"smart-ikon",{hex:[1],name:[1],size:[2]}],[0,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[0,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[0,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[0,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[0,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[0,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[0,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[0,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[0,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "proto-ikons-wc",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "format": "prettier --write src cSpell.json"
28
28
  },
29
29
  "dependencies": {
30
- "@stencil/core": "4.27.0"
30
+ "@stencil/core": "4.27.1"
31
31
  },
32
32
  "license": "MIT",
33
33
  "devDependencies": {
@@ -1,2 +0,0 @@
1
- var t=Object.defineProperty,e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},n=(t,e)=>{t.__stencil__getHostRef=()=>e,e.t=t},o=(t,e)=>(0,console.error)(t,e),l=new Map,i=new Map,s="slot-fb{display:contents}slot-fb[hidden]{display:none}",r="http://www.w3.org/1999/xlink",c="undefined"!=typeof window?window:{},u=c.document||{head:{}},a={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},f=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),h=!1,p=[],m=[],v=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&a.o?b(w):a.raf(w))},y=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},w=()=>{y(p),y(m),(h=p.length>0)&&a.raf(w)},b=t=>f().then(t),$=v(m,!0),g=t=>"object"==(t=typeof t)||"function"===t;function S(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>O,ok:()=>j,unwrap:()=>E,unwrapErr:()=>x});var j=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function O(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>j(t))):j(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,E=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},M=(t,e,...n)=>{let o=null,l=null,i=!1,s=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!g(o))&&(o+=""),i&&s?r[r.length-1].i+=o:r.push(i?P(null,o):o),s=i)};if(c(n),e){e.key&&(l=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=P(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},P=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),D={},R=(t,e)=>null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t,A=new WeakMap,L=t=>"sc-"+t.$,N=(t,e,n,o,l,i)=>{if(n===o)return;let s=((t,e)=>e in t)(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=U(n);let i=U(o);e.remove(...l.filter((t=>t&&!i.includes(t)))),e.add(...i.filter((t=>t&&!l.includes(t))))}else if("key"===e);else{const u=g(o);if((s||u&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?s=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(r,e):t.removeAttribute(e)):(!s||4&i||l)&&!u&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(r,e,o):t.setAttribute(e,o))}},T=/\s/,U=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(T):[]),W=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},i=e.u||{};for(const t of F(Object.keys(l)))t in i||N(o,t,l[t],void 0,n,e.o);for(const t of F(Object.keys(i)))N(o,t,l[t],i[t],n,e.o)};function F(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var H=!1,V=(t,e,n)=>{const o=e.h[n];let l,i,s=0;if(null!==o.i)l=o.v=u.createTextNode(o.i);else{if(H||(H="svg"===o.m),l=o.v=u.createElementNS(H?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),H&&"foreignObject"===o.m&&(H=!1),W(null,o,H),o.h)for(s=0;s<o.h.length;++s)i=V(t,o,s),i&&l.appendChild(i);"svg"===o.m?H=!1:"foreignObject"===l.tagName&&(H=!0)}return l["s-hn"]=C,l},q=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=V(null,n,l),s&&(o[l].v=s,B(r,s,e)))},G=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;t&&t.remove()}}},_=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),z=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,i=e.h,s=e.m,r=e.i;null===r?(W(t,e,H="svg"===s||"foreignObject"!==s&&H),null!==l&&null!==i?((t,e,n,o,l=!1)=>{let i,s,r=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(_(d,m,l))z(d,m,l),d=e[++r],m=o[++c];else if(_(h,v,l))z(h,v,l),h=e[--f],v=o[--p];else if(_(d,v,l))z(d,v,l),B(t,d.v,h.v.nextSibling),d=e[++r],v=o[--p];else if(_(h,m,l))z(h,m,l),B(t,h.v,d.v),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(s=e[u],s.m!==m.m?i=V(e&&e[c],n,u):(z(s,m,l),e[u]=void 0,i=s.v),m=o[++c]):(i=V(e&&e[c],n,c),m=o[++c]),i&&B(d.v.parentNode,i,d.v)}r>f?q(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&G(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.i&&(o.textContent=""),q(o,null,e,i,0,i.length-1)):!n&&null!==l&&G(l,0,l.length-1),H&&"svg"===s&&(H=!1)):t.i!==r&&(o.data=r)},B=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),I=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},J=(t,e)=>{if(t.o|=16,!(4&t.o))return I(t,t.j),$((()=>K(t,e)));t.o|=512},K=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.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 l;return l=nt(o,e?"componentWillLoad":"componentWillUpdate",void 0,n),l=Q(l,(()=>nt(o,"componentWillRender",void 0,n))),Q(l,(()=>Y(t,o,e)))},Q=(t,e)=>X(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),X=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Y=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.k;((t,e)=>{var n;const o=L(e),l=i.get(o);if(t=11===t.nodeType?t:u,l)if("string"==typeof l){let i,r=A.get(t=t.head||t);if(r||A.set(t,r=new Set),!r.has(o)){{i=document.querySelector(`[sty-id="${o}"]`)||u.createElement("style"),i.innerHTML=l;const s=null!=(n=a.O)?n:S(u);if(null!=s&&i.setAttribute("nonce",s),!(1&e.o))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(i,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(i)}else t.append(i);1&e.o&&t.insertBefore(i,null)}4&e.o&&(i.innerHTML+=s),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);Z(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>tt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Z=(t,e,n,l)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.C||P(null,null),i=(t=>t&&t.m===D)(e)?e:M(null,null,e);if(C=o.tagName,n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.C=i,i.v=l.v=o,z(l,i,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},tt=t=>{const e=t.$hostElement$,n=t.t,o=t.j;nt(n,"componentDidRender",void 0,e),64&t.o?nt(n,"componentDidUpdate",void 0,e):(t.o|=64,ot(e),nt(n,"componentDidLoad",void 0,e),t.M(e),o||et()),t.S&&(t.S(),t.S=void 0),512&t.o&&b((()=>J(t,!1))),t.o&=-517},et=()=>{b((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(c)))},nt=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,l)}},ot=t=>t.classList.add("hydrated"),lt=(t,n,o,l)=>{const i=e(t);if(!i)throw Error(`Couldn't find host element for "${l.$}" 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 s=i.P.get(n),r=i.o,c=i.t;if(o=R(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.P.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;J(i,!1)}},it=(t,n,o)=>{var l,i;const s=t.prototype;if(n.D){const r=Object.entries(null!=(l=n.D)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(n.D[t][0]|=2048),r&&(n.D[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&n.D[t][0]))return((t,n)=>e(this).P.get(n))(0,t);const o=e(this),l=o?o.t:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=e(this);if(r){const e=32&l?this[t]:s.$hostElement$[t];return void 0===e&&s.P.get(t)?i=s.P.get(t):!s.P.get(t)&&e&&s.P.set(t,e),r.call(this,R(i,l)),void lt(this,t,i=32&l?this[t]:s.$hostElement$[t],n)}{if(!(1&o&&4096&n.D[t][0]))return lt(this,t,i,n),void(1&o&&!s.t&&s.R.then((()=>{4096&n.D[t][0]&&s.t[t]!==s.P.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.P.get(t)&&e&&s.P.set(t,e),s.t[t]=R(i,l),lt(this,t,s.t[t],n)};s.t?e():s.R.then((()=>e()))}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){a.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))i=this[c],delete this[c];else{if(s.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==i)return;if(null==c){const o=e(this),s=null==o?void 0:o.o;if(s&&!(8&s)&&128&s&&i!==l){const e=o.t,s=null==(r=n.A)?void 0:r[t];null==s||s.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(s,c);(i=(null!==i||"boolean"!=typeof this[c])&&i)===this[c]||u.get&&!u.set||(this[c]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.A)?i:{}),...r.filter((([t,e])=>15&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},st=(t,e)=>{nt(t,"connectedCallback",void 0,e)},rt=(t,e)=>{nt(t,"disconnectedCallback",void 0,e||t)},ct=(t,n={})=>{var r;const f=[],h=n.exclude||[],p=c.customElements,m=u.head,v=m.querySelector("meta[charset]"),y=u.createElement("style"),w=[];let b,$=!0;Object.assign(a,n),a.l=new URL(n.resourcesUrl||"./",u.baseURI).href;let g=!1;if(t.map((t=>{t[1].map((n=>{const s={o:n[0],$:n[1],D:n[2],L:n[3]};4&s.o&&(g=!0),s.D=n[2];const r=s.$,c=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,k:e,P:new Map};n.R=new Promise((t=>n.M=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,s)}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),$?w.push(this):a.jmp((()=>(t=>{if(!(1&a.o)){const n=e(t),s=n.k,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?st(n.t,t):(null==n?void 0:n.R)&&n.R.then((()=>st(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){I(n,n.j=e);break}}s.D&&Object.entries(s.D).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let s;if(!(32&e.o)){if(e.o|=32,n.N){const i=((t,e)=>{const n=t.$.replace(/-/g,"_"),i=t.N;if(!i)return;const s=l.get(i);return s?s[n]:import(`./${i}.entry.js`).then((t=>(l.set(i,t),t[n])),(t=>{o(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(i&&"then"in i){const t=()=>{};s=await i,t()}else s=i;if(!s)throw Error(`Constructor for "${n.$}#${e.T}" was not found`);s.isProxied||(it(s,n,2),s.isProxied=!0);const r=()=>{};e.o|=8;try{new s(e)}catch(e){o(e,t)}e.o&=-9,r(),st(e.t,t)}else s=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(s&&s.style){let t;"string"==typeof s.style&&(t=s.style);const e=L(n);if(!i.has(e)){const o=()=>{};((t,e,n)=>{let o=i.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,i.set(t,o)})(e,t,!!(1&n.o)),o()}}}const r=e.j,c=()=>J(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,n,s)}r()}})(this)))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.o)){const n=e(t);(null==n?void 0:n.t)?rt(n.t,t):(null==n?void 0:n.R)&&n.R.then((()=>rt(n.t,t)))}A.has(t)&&A.delete(t),t.shadowRoot&&A.has(t.shadowRoot)&&A.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const n=e(this),o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==n?void 0:n.C)?void 0:t.v)instanceof Node&&!n.C.v.isConnected&&delete n.C.v}))}componentOnReady(){return e(this).R}};s.N=t[0],h.includes(r)||p.get(r)||(f.push(r),p.define(r,it(c,s,1)))}))})),f.length>0&&(g&&(y.textContent+=s),y.textContent+=f.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const t=null!=(r=a.O)?r:S(u);null!=t&&y.setAttribute("nonce",t),m.insertBefore(y,v?v.nextSibling:m.firstChild)}$=!1,w.length?w.map((t=>t.connectedCallback())):a.jmp((()=>b=setTimeout(et,30)))},ut=t=>a.O=t;export{ct as b,M as h,f as p,n as r,ut as s}