proto-ikons-wc 0.1.25 → 0.1.27
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 +239 -239
- package/dist/cjs/{index-DhNHFZP-.js → index-RmJ6QOjV.js} +44 -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 +2 -2
- package/dist/components/acura-ikon.js +5 -5
- package/dist/components/alfa-romeo-alt-ikon.js +5 -5
- package/dist/components/alfa-romeo-ikon.js +5 -5
- package/dist/components/alien-icon.js +5 -5
- package/dist/components/am-general-ikon.js +5 -5
- package/dist/components/asterisk-icon.js +5 -5
- package/dist/components/aston-martin-alt-ikon.js +5 -5
- package/dist/components/aston-martin-ikon.js +5 -5
- package/dist/components/audi-ikon.js +5 -5
- package/dist/components/barcode-icon.js +5 -5
- package/dist/components/barcode-scan-icon.js +5 -5
- package/dist/components/bash-icon.js +5 -5
- package/dist/components/beaker-icon.js +5 -5
- package/dist/components/bently-ikon.js +5 -5
- package/dist/components/bmw-ikon.js +5 -5
- package/dist/components/bugatti-ikon.js +5 -5
- package/dist/components/buick-ikon.js +5 -5
- package/dist/components/cadillac-ikon.js +5 -5
- package/dist/components/chart-bar-icon.js +5 -5
- package/dist/components/chart-bubble-icon.js +5 -5
- package/dist/components/chart-donut-icon.js +5 -5
- package/dist/components/chart-donuts-icon.js +5 -5
- package/dist/components/check-icon.js +5 -5
- package/dist/components/chevrolet-ikon.js +5 -5
- package/dist/components/chevron-double-left-icon.js +5 -5
- package/dist/components/chrysler-ikon.js +5 -5
- package/dist/components/circular-saw-icon.js +5 -5
- package/dist/components/citroen-ikon.js +5 -5
- package/dist/components/close-icon.js +5 -5
- package/dist/components/daewoo-ikon.js +5 -5
- package/dist/components/dodge-ikon.js +5 -5
- package/dist/components/eagle-ikon.js +5 -5
- package/dist/components/ferrari-ikon.js +5 -5
- package/dist/components/fiat-alt-ikon.js +5 -5
- package/dist/components/fiat-ikon.js +5 -5
- package/dist/components/fingerprint-icon.js +5 -5
- package/dist/components/fire-icon.js +5 -5
- package/dist/components/fisker-ikon.js +5 -5
- package/dist/components/flask-icon.js +5 -5
- package/dist/components/ford-ikon.js +5 -5
- package/dist/components/genesis-ikon.js +5 -5
- package/dist/components/geo-ikon.js +5 -5
- package/dist/components/git-icon.js +5 -5
- package/dist/components/gmc-ikon.js +5 -5
- package/dist/components/honda-ikon.js +5 -5
- package/dist/components/hummer-ikon.js +5 -5
- package/dist/components/hyundai-ikon.js +5 -5
- package/dist/components/infiniti-ikon.js +5 -5
- package/dist/components/isuzu-ikon.js +5 -5
- package/dist/components/jaguar-alt-ikon.js +5 -5
- package/dist/components/jaguar-ikon.js +5 -5
- package/dist/components/java-script-icon.js +5 -5
- package/dist/components/jeep-alt-ikon.js +5 -5
- package/dist/components/jeep-ikon.js +5 -5
- package/dist/components/kia-ikon.js +5 -5
- package/dist/components/lamborghini-alt-ikon.js +5 -5
- package/dist/components/lamborghini-ikon.js +5 -5
- package/dist/components/land-rover-ikon.js +5 -5
- package/dist/components/lexus-ikon.js +5 -5
- package/dist/components/lincoln-ikon.js +5 -5
- package/dist/components/lotus-alt-ikon.js +5 -5
- package/dist/components/lotus-ikon.js +5 -5
- package/dist/components/maserati-ikon.js +5 -5
- package/dist/components/maybach-ikon.js +5 -5
- package/dist/components/mazda-alt-ikon.js +5 -5
- package/dist/components/mazda-ikon.js +5 -5
- package/dist/components/mclaren-alt-ikon.js +5 -5
- package/dist/components/mclaren-ikon.js +5 -5
- package/dist/components/mercedes-benz-alt-ikon.js +5 -5
- package/dist/components/mercedes-benz-ikon.js +5 -5
- package/dist/components/mercury-ikon.js +5 -5
- package/dist/components/mini-alt-ikon.js +5 -5
- package/dist/components/mini-ikon.js +5 -5
- package/dist/components/mitsubishi-ikon.js +5 -5
- package/dist/components/nissan-ikon.js +5 -5
- package/dist/components/oldsmobile-ikon.js +5 -5
- package/dist/components/one-password-icon.js +5 -5
- package/dist/components/opel-ikon.js +5 -5
- package/dist/components/panoz-ikon.js +5 -5
- package/dist/components/paw-icon.js +5 -5
- package/dist/components/peugeot-alt-ikon.js +5 -5
- package/dist/components/peugeot-ikon.js +5 -5
- package/dist/components/plymouth-ikon.js +5 -5
- package/dist/components/pontiac-ikon.js +5 -5
- package/dist/components/porsche-ikon.js +5 -5
- package/dist/components/protocol-icon.js +5 -5
- package/dist/components/pulse-icon.js +5 -5
- package/dist/components/puzzle-icon.js +5 -5
- package/dist/components/qr-code-icon.js +5 -5
- package/dist/components/radio-2-icon.js +5 -5
- package/dist/components/radio-icon.js +5 -5
- package/dist/components/ram-alt-ikon.js +5 -5
- package/dist/components/ram-ikon.js +5 -5
- package/dist/components/refresh-icon.js +5 -5
- package/dist/components/renault-alt-ikon.js +5 -5
- package/dist/components/renault-ikon.js +5 -5
- package/dist/components/rolls-royce-ikon.js +5 -5
- package/dist/components/saab-alt-ikon.js +5 -5
- package/dist/components/saab-ikon.js +5 -5
- package/dist/components/saturn-ikon.js +5 -5
- package/dist/components/scion-ikon.js +5 -5
- package/dist/components/seat-ikon.js +5 -5
- package/dist/components/skoda-ikon.js +5 -5
- package/dist/components/slug-icon.js +5 -5
- package/dist/components/smart-ikon.js +5 -5
- package/dist/components/spider-icon.js +5 -5
- package/dist/components/spyker-alt-ikon.js +5 -5
- package/dist/components/spyker-ikon.js +5 -5
- package/dist/components/subaru-alt-ikon.js +5 -5
- package/dist/components/subaru-ikon.js +5 -5
- package/dist/components/suzuki-ikon.js +5 -5
- package/dist/components/svg-icon.js +5 -5
- package/dist/components/tesla-ikon.js +5 -5
- package/dist/components/toyota-ikon.js +5 -5
- package/dist/components/vector-curve-icon.js +5 -5
- package/dist/components/volkswagen-ikon.js +5 -5
- package/dist/components/volvo-alt-ikon.js +5 -5
- package/dist/components/volvo-ikon.js +5 -5
- package/dist/components/webhook-icon.js +5 -5
- package/dist/esm/acura-ikon_119.entry.js +239 -239
- package/dist/esm/{index-Dv9z6hXe.js → index-COPRcUDP.js} +44 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +3 -3
- package/dist/proto-ikons-wc/{p-13b289f3.entry.js → p-2fc3e5b7.entry.js} +1 -1
- package/dist/proto-ikons-wc/p-COPRcUDP.js +2 -0
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +44 -1
- package/package.json +2 -2
- package/dist/proto-ikons-wc/p-Dv9z6hXe.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var t=Object.defineProperty,e=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],l=function(t,e){for(;t;){const n=Object.getOwnPropertyDescriptor(t,e);if(null==n?void 0:n.get)return n;t=Object.getPrototypeOf(t)}}(Object.getPrototypeOf(t),n)||Object.getOwnPropertyDescriptor(t,n);l&&Object.defineProperty(t,n,{get(){return l.get.call(this)},set(t){l.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.l.has(n)?e.l.get(n):o}}))},n=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,n)=>{n&&(t.__stencil__getHostRef=()=>n,n.i=t,512&n.o.u&&e(t,n))},l=(t,e)=>(0,console.error)(t,e),i=new Map,s=new Map,r="slot-fb{display:contents}slot-fb[hidden]{display:none}",c="http://www.w3.org/1999/xlink",u="undefined"!=typeof window?window:{},a={u:0,h:"",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=!!d&&(()=>!!u.document&&Object.getOwnPropertyDescriptor(u.document.adoptedStyleSheets,"length").writable)(),p=!1,m=[],v=[],b=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&a.u?$(y):a.raf(y))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){l(t)}t.length=0},y=()=>{w(m),w(v),(p=m.length>0)&&a.raf(y)},$=t=>f().then(t),g=b(v,!0),j=t=>"object"==(t=typeof t)||"function"===t;function O(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:()=>E,ok:()=>S,unwrap:()=>C,unwrapErr:()=>M});var S=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=>S(t))):S(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C=t=>{if(t.isOk)return t.value;throw t.value},M=t=>{if(t.isErr)return t.value;throw t.value},x=new WeakMap,P=t=>"sc-"+t.p,N=(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&&!j(o))&&(o+=""),i&&s?r[r.length-1].m+=o:r.push(i?D(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=D(t,null);return u.v=e,r.length>0&&(u.$=r),u.j=l,u},D=(t,e)=>({u:0,O:t,m:e,S:null,$:null,v:null,j:null}),R={},W=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};W("::slotted"),W(":host"),W(":host-context");var A,U=(t,e)=>null==t||j(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,L=(t,e,n,o,l,i)=>{if(n===o)return;let s=((t,e)=>e in t)(t,e),r=e.toLowerCase();if("class"===e){const e=t.classList,l=z(n);let i=z(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=j(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;r!==(r=r.replace(/^xlink\:?/,""))&&(e=r,a=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(a?t.removeAttributeNS(c,e):t.removeAttribute(e)):(!s||4&i||l)&&!u&&1===t.nodeType&&(o=!0===o?"":o,a?t.setAttributeNS(c,e,o):t.setAttribute(e,o))}},T=/\s/,z=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(T):[]),F=(t,e,n)=>{const o=11===e.S.nodeType&&e.S.host?e.S.host:e.S,l=t&&t.v||{},i=e.v||{};for(const t of H(Object.keys(l)))t in i||L(o,t,l[t],void 0,n,e.u);for(const t of H(Object.keys(i)))L(o,t,l[t],i[t],n,e.u)};function H(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var V=!1,q=(t,e,n)=>{const o=e.$[n];let l,i,s=0;if(null!==o.m)l=o.S=u.document.createTextNode(o.m);else{if(V||(V="svg"===o.O),!u.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.S=u.document.createElementNS(V?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.O),V&&"foreignObject"===o.O&&(V=!1),F(null,o,V),o.$)for(s=0;s<o.$.length;++s)i=q(t,o,s),i&&l.appendChild(i);"svg"===o.O?V=!1:"foreignObject"===l.tagName&&(V=!0)}return l["s-hn"]=A,l},G=(t,e,n,o,l,i)=>{let s,r=t;for(;l<=i;++l)o[l]&&(s=q(null,n,l),s&&(o[l].S=s,B(r,s,e)))},I=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.S;t&&t.remove()}}},Y=(t,e,n=!1)=>t.O===e.O&&(n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),_=(t,e,n=!1)=>{const o=e.S=t.S,l=t.$,i=e.$,s=e.O,r=e.m;null===r?(F(t,e,V="svg"===s||"foreignObject"!==s&&V),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(Y(d,m,l))_(d,m,l),d=e[++r],m=o[++c];else if(Y(h,v,l))_(h,v,l),h=e[--f],v=o[--p];else if(Y(d,v,l))_(d,v,l),B(t,d.S,h.S.nextSibling),d=e[++r],v=o[--p];else if(Y(h,m,l))_(h,m,l),B(t,h.S,d.S),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].j&&e[a].j===m.j){u=a;break}u>=0?(s=e[u],s.O!==m.O?i=q(e&&e[c],n,u):(_(s,m,l),e[u]=void 0,i=s.S),m=o[++c]):(i=q(e&&e[c],n,c),m=o[++c]),i&&B(d.S.parentNode,i,d.S)}r>f?G(t,null==o[p+1]?null:o[p+1].S,n,o,c,p):c>p&&I(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.m&&(o.textContent=""),G(o,null,e,i,0,i.length-1)):!n&&null!==l&&I(l,0,l.length-1),V&&"svg"===s&&(V=!1)):t.m!==r&&(o.data=r)},B=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),J=(t,e)=>{if(e&&!t.k&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.k=()=>{e["s-p"].splice(n-1,1),o()})))}},K=(t,e)=>{if(t.u|=16,4&t.u)return void(t.u|=512);J(t,t.C);const n=()=>Q(t,e);if(!e)return g(n);queueMicrotask((()=>{n()}))},Q=(t,e)=>{const n=t.$hostElement$,o=t.i;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 e?(t.M.length&&t.M.forEach((t=>t(n))),l=lt(o,"componentWillLoad",void 0,n)):l=lt(o,"componentWillUpdate",void 0,n),l=X(l,(()=>lt(o,"componentWillRender",void 0,n))),X(l,(()=>tt(t,o,e)))},X=(t,e)=>Z(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),Z=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,tt=async(t,e,n)=>{var o;const l=t.$hostElement$,i=l["s-rc"];n&&(t=>{const e=t.o;((t,e)=>{var n;const o=P(e),l=s.get(o);if(!u.document)return o;if(t=11===t.nodeType?t:u.document,l)if("string"==typeof l){let i,s=x.get(t=t.head||t);if(s||x.set(t,s=new Set),!s.has(o)){{i=u.document.createElement("style"),i.innerHTML=l;const o=null!=(n=a.P)?n:O(u.document);if(null!=o&&i.setAttribute("nonce",o),!(1&e.u))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),h?t.adoptedStyleSheets.unshift(e):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.u&&t.insertBefore(i,null)}4&e.u&&(i.innerHTML+=r),s&&s.add(o)}}else t.adoptedStyleSheets.includes(l)||(h?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);et(t,e,l,n),i&&(i.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>nt(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}},et=(t,e,n,o)=>{try{e=e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.N||D(null,null),i=(t=>t&&t.O===R)(e)?e:N(null,null,e);if(A=o.tagName,n&&i.v)for(const t of Object.keys(i.v))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.v[t]=o[t]);i.O=null,i.u|=4,t.N=i,i.S=l.S=o,_(l,i,n)})(t,e,o)}catch(e){l(e,t.$hostElement$)}return null},nt=t=>{const e=t.$hostElement$,n=t.i,o=t.C;lt(n,"componentDidRender",void 0,e),64&t.u?lt(n,"componentDidUpdate",void 0,e):(t.u|=64,it(e),lt(n,"componentDidLoad",void 0,e),t.D(e),o||ot()),t.k&&(t.k(),t.k=void 0),512&t.u&&$((()=>K(t,!1))),t.u&=-517},ot=()=>{$((()=>(t=>{const e=a.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(u)))},lt=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){l(t,o)}},it=t=>t.classList.add("hydrated"),st=(t,e,o,l)=>{const i=n(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.p}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.l.get(e),r=i.u,c=i.i;if(o=U(o,l.t[e][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.l.set(e,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,e))return;K(i,!1)}},rt=(t,e,o)=>{var l,i;const s=t.prototype;if(e.t){const r=Object.entries(null!=(l=e.t)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:i,set:r}=Object.getOwnPropertyDescriptor(s,t)||{};i&&(e.t[t][0]|=2048),r&&(e.t[t][0]|=4096),(1&o||!i)&&Object.defineProperty(s,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>n(this).l.get(e))(0,t);const o=n(this),l=o?o.i:s;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(s,t,{set(i){const s=n(this);if(s){if(r)return void 0===(32&l?this[t]:s.$hostElement$[t])&&s.l.get(t)&&(i=s.l.get(t)),r.call(this,U(i,l)),void st(this,t,i=32&l?this[t]:s.$hostElement$[t],e);{if(!(1&o&&4096&e.t[t][0]))return st(this,t,i,e),void(1&o&&!s.i&&s.M.push((()=>{4096&e.t[t][0]&&s.i[t]!==s.l.get(t)&&(s.i[t]=i)})));const n=()=>{const n=s.i[t];!s.l.get(t)&&n&&s.l.set(t,n),s.i[t]=U(i,l),st(this,t,s.i[t],e)};s.i?n():s.M.push((()=>{n()}))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){a.jmp((()=>{var c;const u=o.get(t),a=n(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const n=null==a?void 0:a.u;if(a&&n&&!(8&n)&&128&n&&i!==l){const n=a.i,o=null==(c=e.R)?void 0:c[t];null==o||o.forEach((e=>{null!=n[e]&&n[e].call(n,i,l,t)}))}return}const f=r.find((([t])=>t===u));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const d=Object.getOwnPropertyDescriptor(s,u);i==this[u]||d.get&&!d.set||(this[u]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=e.R)?i:{}),...r.filter((([t,e])=>31&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},ct=(t,e)=>{lt(t,"connectedCallback",void 0,e)},ut=(t,e)=>{lt(t,"disconnectedCallback",void 0,e||t)},at=(t,e={})=>{var o;if(!u.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const c=[],f=e.exclude||[],h=u.customElements,p=u.document.head,m=p.querySelector("meta[charset]"),v=u.document.createElement("style"),b=[];let w,y=!0;Object.assign(a,e),a.h=new URL(e.resourcesUrl||"./",u.document.baseURI).href;let $=!1;if(t.map((t=>{t[1].map((e=>{const o={u:e[0],p:e[1],t:e[2],W:e[3]};4&o.u&&($=!0),o.t=e[2];const r=o.p,u=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map,A:new Map};n.U=new Promise((t=>n.D=t)),t["s-p"]=[],t["s-rc"]=[],n.M=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,o)}connectedCallback(){n(this)&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),w&&(clearTimeout(w),w=null),y?b.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const e=n(t);if(!e)return;const o=e.o,r=()=>{};if(1&e.u)(null==e?void 0:e.i)?ct(e.i,t):(null==e?void 0:e.U)&&e.U.then((()=>ct(e.i,t)));else{e.u|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){J(e,e.C=n);break}}o.t&&Object.entries(o.t).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[e]){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.u)){if(e.u|=32,n.L){const s=((t,e)=>{const n=t.p.replace(/-/g,"_"),o=t.L;if(!o)return;const s=i.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{l(t,e.$hostElement$)}))
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.p}#${e.T}" was not found`);o.isProxied||(rt(o,n,2),o.isProxied=!0);const r=()=>{};e.u|=8;try{new o(e)}catch(e){l(e,t)}e.u&=-9,r(),ct(e.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=P(n);if(!s.has(e)){const o=()=>{};((t,e,n)=>{let o=s.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,s.set(t,o)})(e,t,!!(1&n.u)),o()}}}const r=e.C,c=()=>K(e,!0);r&&r["s-rc"]?r["s-rc"].push(c):c()})(t,e,o)}r()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const e=n(t);(null==e?void 0:e.i)?ut(e.i,t):(null==e?void 0:e.U)&&e.U.then((()=>ut(e.i,t)))}x.has(t)&&x.delete(t),t.shadowRoot&&x.has(t.shadowRoot)&&x.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const e=n(this);if(!e)return;const o=b.findIndex((t=>t===this));o>-1&&b.splice(o,1),(null==(t=null==e?void 0:e.N)?void 0:t.S)instanceof Node&&!e.N.S.isConnected&&delete e.N.S}))}componentOnReady(){var t;return null==(t=n(this))?void 0:t.U}};o.L=t[0],f.includes(r)||h.get(r)||(c.push(r),h.define(r,rt(u,o,1)))}))})),c.length>0&&($&&(v.textContent+=r),v.textContent+=c.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",v.innerHTML.length)){v.setAttribute("data-styles","");const t=null!=(o=a.P)?o:O(u.document);null!=t&&v.setAttribute("nonce",t),p.insertBefore(v,m?m.nextSibling:p.firstChild)}y=!1,b.length?b.map((t=>t.connectedCallback())):a.jmp((()=>w=setTimeout(ot,30)))},ft=t=>a.P=t;export{at as b,N as h,f as p,o as r,ft as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-
|
|
1
|
+
import{p as e,b as i}from"./p-COPRcUDP.js";export{s as setNonce}from"./p-COPRcUDP.js";import{g as n}from"./p-DQuL1Twl.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((async e=>(await n(),i([["p-2fc3e5b7",[[256,"acura-ikon",{hex:[1],name:[1],size:[2]}],[256,"alfa-romeo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"alfa-romeo-ikon",{hex:[1],name:[1],size:[2]}],[256,"alien-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"am-general-ikon",{hex:[1],name:[1],size:[2]}],[256,"asterisk-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"aston-martin-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"aston-martin-ikon",{hex:[1],name:[1],size:[2]}],[256,"audi-ikon",{hex:[1],name:[1],size:[2]}],[256,"barcode-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"barcode-scan-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"bash-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"beaker-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"bently-ikon",{hex:[1],name:[1],size:[2]}],[256,"bmw-ikon",{hex:[1],name:[1],size:[2]}],[256,"bugatti-ikon",{hex:[1],name:[1],size:[2]}],[256,"buick-ikon",{hex:[1],name:[1],size:[2]}],[256,"cadillac-ikon",{hex:[1],name:[1],size:[2]}],[256,"chart-bar-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chart-bubble-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chart-donut-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chart-donuts-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"check-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"chevrolet-ikon",{hex:[1],name:[1],size:[2]}],[256,"chevron-double-left-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"chrysler-ikon",{hex:[1],name:[1],size:[2]}],[256,"circular-saw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"citroen-ikon",{hex:[1],name:[1],size:[2]}],[256,"close-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"daewoo-ikon",{hex:[1],name:[1],size:[2]}],[256,"dodge-ikon",{hex:[1],name:[1],size:[2]}],[256,"eagle-ikon",{hex:[1],name:[1],size:[2]}],[256,"ferrari-ikon",{hex:[1],name:[1],size:[2]}],[256,"fiat-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"fiat-ikon",{hex:[1],name:[1],size:[2]}],[256,"fingerprint-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"fire-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"fisker-ikon",{hex:[1],name:[1],size:[2]}],[256,"flask-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"ford-ikon",{hex:[1],name:[1],size:[2]}],[256,"genesis-ikon",{hex:[1],name:[1],size:[2]}],[256,"geo-ikon",{hex:[1],name:[1],size:[2]}],[256,"git-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"gmc-ikon",{hex:[1],name:[1],size:[2]}],[256,"honda-ikon",{hex:[1],name:[1],size:[2]}],[256,"hummer-ikon",{hex:[1],name:[1],size:[2]}],[256,"hyundai-ikon",{hex:[1],name:[1],size:[2]}],[256,"infiniti-ikon",{hex:[1],name:[1],size:[2]}],[256,"isuzu-ikon",{hex:[1],name:[1],size:[2]}],[256,"jaguar-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"jaguar-ikon",{hex:[1],name:[1],size:[2]}],[256,"java-script-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"jeep-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"jeep-ikon",{hex:[1],name:[1],size:[2]}],[256,"kia-ikon",{hex:[1],name:[1],size:[2]}],[256,"lamborghini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"lamborghini-ikon",{hex:[1],name:[1],size:[2]}],[256,"land-rover-ikon",{hex:[1],name:[1],size:[2]}],[256,"lexus-ikon",{hex:[1],name:[1],size:[2]}],[256,"lincoln-ikon",{hex:[1],name:[1],size:[2]}],[256,"lotus-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"lotus-ikon",{hex:[1],name:[1],size:[2]}],[256,"maserati-ikon",{hex:[1],name:[1],size:[2]}],[256,"maybach-ikon",{hex:[1],name:[1],size:[2]}],[256,"mazda-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mazda-ikon",{hex:[1],name:[1],size:[2]}],[256,"mclaren-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mclaren-ikon",{hex:[1],name:[1],size:[2]}],[256,"mercedes-benz-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mercedes-benz-ikon",{hex:[1],name:[1],size:[2]}],[256,"mercury-ikon",{hex:[1],name:[1],size:[2]}],[256,"mini-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"mini-ikon",{hex:[1],name:[1],size:[2]}],[256,"mitsubishi-ikon",{hex:[1],name:[1],size:[2]}],[256,"nissan-ikon",{hex:[1],name:[1],size:[2]}],[256,"oldsmobile-ikon",{hex:[1],name:[1],size:[2]}],[256,"one-password-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"opel-ikon",{hex:[1],name:[1],size:[2]}],[256,"panoz-ikon",{hex:[1],name:[1],size:[2]}],[256,"paw-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"peugeot-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"peugeot-ikon",{hex:[1],name:[1],size:[2]}],[256,"plymouth-ikon",{hex:[1],name:[1],size:[2]}],[256,"pontiac-ikon",{hex:[1],name:[1],size:[2]}],[256,"porsche-ikon",{hex:[1],name:[1],size:[2]}],[256,"protocol-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"pulse-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"puzzle-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"qr-code-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"radio-2-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"radio-icon",{selected:[4],hex:[1],label:[1],name:[1],size:[2]}],[256,"ram-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"ram-ikon",{hex:[1],name:[1],size:[2]}],[256,"refresh-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"renault-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"renault-ikon",{hex:[1],name:[1],size:[2]}],[256,"rolls-royce-ikon",{hex:[1],name:[1],size:[2]}],[256,"saab-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"saab-ikon",{hex:[1],name:[1],size:[2]}],[256,"saturn-ikon",{hex:[1],name:[1],size:[2]}],[256,"scion-ikon",{hex:[1],name:[1],size:[2]}],[256,"seat-ikon",{hex:[1],name:[1],size:[2]}],[256,"skoda-ikon",{hex:[1],name:[1],size:[2]}],[256,"slug-icon",{label:[1],name:[1],size:[2]}],[256,"smart-ikon",{hex:[1],name:[1],size:[2]}],[256,"spider-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"spyker-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"spyker-ikon",{hex:[1],name:[1],size:[2]}],[256,"subaru-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"subaru-ikon",{hex:[1],name:[1],size:[2]}],[256,"suzuki-ikon",{hex:[1],name:[1],size:[2]}],[256,"svg-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"tesla-ikon",{hex:[1],name:[1],size:[2]}],[256,"toyota-ikon",{hex:[1],name:[1],size:[2]}],[256,"vector-curve-icon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"volkswagen-ikon",{hex:[1],name:[1],size:[2]}],[256,"volvo-alt-ikon",{hex:[1],label:[1],name:[1],size:[2]}],[256,"volvo-ikon",{hex:[1],name:[1],size:[2]}],[256,"webhook-icon",{hex:[1],label:[1],name:[1],size:[2]}]]]],e))));
|
|
@@ -125,6 +125,9 @@ export interface AttachInternalsDecorator {
|
|
|
125
125
|
export interface ListenDecorator {
|
|
126
126
|
(eventName: string, opts?: ListenOptions): CustomMethodDecorator<any>;
|
|
127
127
|
}
|
|
128
|
+
export interface ResolveVarFunction {
|
|
129
|
+
<T>(variable: T): string;
|
|
130
|
+
}
|
|
128
131
|
export interface ListenOptions {
|
|
129
132
|
/**
|
|
130
133
|
* Handlers can also be registered for an event other than the host itself.
|
|
@@ -208,6 +211,24 @@ export declare const AttachInternals: AttachInternalsDecorator;
|
|
|
208
211
|
* https://stenciljs.com/docs/events#listen-decorator
|
|
209
212
|
*/
|
|
210
213
|
export declare const Listen: ListenDecorator;
|
|
214
|
+
/**
|
|
215
|
+
* The `resolveVar()` function is a compile-time utility that resolves const variables
|
|
216
|
+
* and object properties to their string literal values. This allows variables to be
|
|
217
|
+
* used in `@Listen` and `@Event` decorators instead of hardcoded strings.
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* ```ts
|
|
221
|
+
* const MY_EVENT = 'myEvent';
|
|
222
|
+
* @Listen(resolveVar(MY_EVENT))
|
|
223
|
+
* ```
|
|
224
|
+
*
|
|
225
|
+
* @example
|
|
226
|
+
* ```ts
|
|
227
|
+
* const EVENTS = { MY_EVENT: 'myEvent' } as const;
|
|
228
|
+
* @Event({ eventName: resolveVar(EVENTS.MY_EVENT) })
|
|
229
|
+
* ```
|
|
230
|
+
*/
|
|
231
|
+
export declare const resolveVar: ResolveVarFunction;
|
|
211
232
|
/**
|
|
212
233
|
* The `@Method()` decorator is used to expose methods on the public API.
|
|
213
234
|
* Class methods decorated with the @Method() decorator can be called directly
|
|
@@ -339,7 +360,7 @@ export declare function forceUpdate(ref: any): void;
|
|
|
339
360
|
* @returns the rendering ref
|
|
340
361
|
*/
|
|
341
362
|
export declare function getRenderingRef(): any;
|
|
342
|
-
export interface HTMLStencilElement extends
|
|
363
|
+
export interface HTMLStencilElement extends HTMLElement {
|
|
343
364
|
componentOnReady(): Promise<this>;
|
|
344
365
|
}
|
|
345
366
|
/**
|
|
@@ -365,6 +386,27 @@ export declare function readTask(task: RafCallback): void;
|
|
|
365
386
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
366
387
|
*/
|
|
367
388
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
389
|
+
export type TagTransformer = (tag: string) => string;
|
|
390
|
+
/**
|
|
391
|
+
* Sets a tag transformer to be used when rendering your custom elements.
|
|
392
|
+
* ```ts
|
|
393
|
+
* setTagTransformer((tag) => {
|
|
394
|
+
* if (tag.startsWith('my-')) return `new-${tag}`
|
|
395
|
+
* return tag;
|
|
396
|
+
* });
|
|
397
|
+
* ```
|
|
398
|
+
* Will mean all your components that start with `my-` are defined instead with `new-my-` prefix.
|
|
399
|
+
*
|
|
400
|
+
* @param transformer the transformer function to use which must return a string.
|
|
401
|
+
*/
|
|
402
|
+
export declare function setTagTransformer(transformer: TagTransformer): void;
|
|
403
|
+
/**
|
|
404
|
+
* Transforms a tag name using a transformer set via `setTagTransformer`
|
|
405
|
+
*
|
|
406
|
+
* @param tag - the tag to transform e.g. `my-tag`
|
|
407
|
+
* @returns the transformed tag e.g. `new-my-tag`
|
|
408
|
+
*/
|
|
409
|
+
export declare function transformTag(tag: string): string;
|
|
368
410
|
/**
|
|
369
411
|
* @deprecated - Use `MixedInCtor` instead:
|
|
370
412
|
* ```ts
|
|
@@ -1747,6 +1789,7 @@ export interface CustomElementsDefineOptions {
|
|
|
1747
1789
|
exclude?: string[];
|
|
1748
1790
|
resourcesUrl?: string;
|
|
1749
1791
|
syncQueue?: boolean;
|
|
1792
|
+
/** @deprecated in-favour of `setTagTransformer` and `transformTag` */
|
|
1750
1793
|
transformTagName?: (tagName: string) => string;
|
|
1751
1794
|
jmp?: (c: Function) => any;
|
|
1752
1795
|
raf?: (c: FrameRequestCallback) => number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-ikons-wc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
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.
|
|
30
|
+
"@stencil/core": "4.39.0"
|
|
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)=>{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=!!f&&(()=>!!c.document&&Object.getOwnPropertyDescriptor(c.document.adoptedStyleSheets,"length").writable)(),h=!1,p=[],m=[],v=(t,e)=>n=>{t.push(n),h||(h=!0,e&&4&u.o?b(y):u.raf(y))},w=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){o(t)}t.length=0},y=()=>{w(p),w(m),(h=p.length>0)&&u.raf(y)},b=t=>a().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:()=>C});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 E=t=>{if(t.isOk)return t.value;throw t.value},C=t=>{if(t.isErr)return t.value;throw t.value},M=new WeakMap,x=t=>"sc-"+t.i,P=(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].u+=o:r.push(i?N(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=N(t,null);return u.h=e,r.length>0&&(u.p=r),u.m=l,u},N=(t,e)=>({o:0,v:t,u:e,$:null,p:null,h:null,m:null}),D={},R=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};R("::slotted"),R(":host"),R(":host-context");var W,A=(t,e)=>null==t||g(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t,U=(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=T(n);let i=T(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))}},L=/\s/,T=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(L):[]),z=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.h||{},i=e.h||{};for(const t of F(Object.keys(l)))t in i||U(o,t,l[t],void 0,n,e.o);for(const t of F(Object.keys(i)))U(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.p[n];let l,i,s=0;if(null!==o.u)l=o.$=c.document.createTextNode(o.u);else{if(H||(H="svg"===o.v),!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.$=c.document.createElementNS(H?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.v),H&&"foreignObject"===o.v&&(H=!1),z(null,o,H),o.p)for(s=0;s<o.p.length;++s)i=V(t,o,s),i&&l.appendChild(i);"svg"===o.v?H=!1:"foreignObject"===l.tagName&&(H=!0)}return l["s-hn"]=W,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].$=s,_(r,s,e)))},G=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;t&&t.remove()}}},I=(t,e,n=!1)=>t.v===e.v&&(n?(n&&!t.m&&e.m&&(t.m=e.m),!0):t.m===e.m),Y=(t,e,n=!1)=>{const o=e.$=t.$,l=t.p,i=e.p,s=e.v,r=e.u;null===r?(z(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(I(d,m,l))Y(d,m,l),d=e[++r],m=o[++c];else if(I(h,v,l))Y(h,v,l),h=e[--f],v=o[--p];else if(I(d,v,l))Y(d,v,l),_(t,d.$,h.$.nextSibling),d=e[++r],v=o[--p];else if(I(h,m,l))Y(h,m,l),_(t,h.$,d.$),h=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].m&&e[a].m===m.m){u=a;break}u>=0?(s=e[u],s.v!==m.v?i=V(e&&e[c],n,u):(Y(s,m,l),e[u]=void 0,i=s.$),m=o[++c]):(i=V(e&&e[c],n,c),m=o[++c]),i&&_(d.$.parentNode,i,d.$)}r>f?q(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&G(e,r,f)})(o,l,e,i,n):null!==i?(null!==t.u&&(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.u!==r&&(o.data=r)},_=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),B=(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 void(t.o|=512);B(t,t.j);const n=()=>K(t,e);if(!e)return $(n);queueMicrotask((()=>{n()}))},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 e?(t.k.length&&t.k.forEach((t=>t(n))),l=ot(o,"componentWillLoad",void 0,n)):l=ot(o,"componentWillUpdate",void 0,n),l=Q(l,(()=>ot(o,"componentWillRender",void 0,n))),Q(l,(()=>Z(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,Z=async(t,e,n)=>{var o;const l=t.$hostElement$,r=l["s-rc"];n&&(t=>{const e=t.O;((t,e)=>{var n;const o=x(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=M.get(t=t.head||t);if(r||M.set(t,r=new Set),!r.has(o)){{i=c.document.createElement("style"),i.innerHTML=l;const o=null!=(n=u.C)?n:S(c.document);if(null!=o&&i.setAttribute("nonce",o),!(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),d?t.adoptedStyleSheets.unshift(e):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)||(d?t.adoptedStyleSheets.push(l):t.adoptedStyleSheets=[...t.adoptedStyleSheets,l])})(t.$hostElement$.getRootNode(),e)})(t);tt(t,e,l,n),r&&(r.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>et(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},tt=(t,e,n,l)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.M||N(null,null),i=(t=>t&&t.v===D)(e)?e:P(null,null,e);if(W=o.tagName,n&&i.h)for(const t of Object.keys(i.h))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.h[t]=o[t]);i.v=null,i.o|=4,t.M=i,i.$=l.$=o,Y(l,i,n)})(t,e,l)}catch(e){o(e,t.$hostElement$)}return null},et=t=>{const e=t.$hostElement$,n=t.t,o=t.j;ot(n,"componentDidRender",void 0,e),64&t.o?ot(n,"componentDidUpdate",void 0,e):(t.o|=64,lt(e),ot(n,"componentDidLoad",void 0,e),t.P(e),o||nt()),t.S&&(t.S(),t.S=void 0),512&t.o&&b((()=>J(t,!1))),t.o&=-517},nt=()=>{b((()=>(t=>{const e=u.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(e),e})(c)))},ot=(t,e,n,l)=>{if(t&&t[e])try{return t[e](n)}catch(t){o(t,l)}},lt=t=>t.classList.add("hydrated"),it=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.i}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const s=i.N.get(n),r=i.o,c=i.t;if(o=A(o,l.D[n][0]),(!(8&r)||void 0===s)&&o!==s&&(!Number.isNaN(s)||!Number.isNaN(o))&&(i.N.set(n,o),c&&2==(18&r))){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(o,s,n))return;J(i,!1)}},st=(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).N.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(s){if(r)return void 0===(32&l?this[t]:s.$hostElement$[t])&&s.N.get(t)&&(i=s.N.get(t)),r.call(this,A(i,l)),void it(this,t,i=32&l?this[t]:s.$hostElement$[t],n);{if(!(1&o&&4096&n.D[t][0]))return it(this,t,i,n),void(1&o&&!s.t&&s.k.push((()=>{4096&n.D[t][0]&&s.t[t]!==s.N.get(t)&&(s.t[t]=i)})));const e=()=>{const e=s.t[t];!s.N.get(t)&&e&&s.N.set(t,e),s.t[t]=A(i,l),it(this,t,s.t[t],n)};s.t?e():s.k.push((()=>{e()}))}}}})}})),1&o){const o=new Map;s.attributeChangedCallback=function(t,l,i){u.jmp((()=>{var c;const u=o.get(t),a=e(this);if(this.hasOwnProperty(u)&&(i=this[u],delete this[u]),s.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==i)return;if(null==u){const e=null==a?void 0:a.o;if(a&&e&&!(8&e)&&128&e&&i!==l){const e=a.t,o=null==(c=n.R)?void 0:c[t];null==o||o.forEach((n=>{null!=e[n]&&e[n].call(e,i,l,t)}))}return}const f=r.find((([t])=>t===u));f&&4&f[1][0]&&(i=null!==i&&"false"!==i);const d=Object.getOwnPropertyDescriptor(s,u);i==this[u]||d.get&&!d.set||(this[u]=i)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=n.R)?i:{}),...r.filter((([t,e])=>31&e[0])).map((([t,e])=>{const n=e[1]||t;return o.set(n,t),n}))]))}}return t},rt=(t,e)=>{ot(t,"connectedCallback",void 0,e)},ct=(t,e)=>{ot(t,"disconnectedCallback",void 0,e||t)},ut=(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],i:n[1],D:n[2],W:n[3]};4&s.o&&($=!0),s.D=n[2];const r=s.i,c=class extends HTMLElement{constructor(t){super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={o:0,$hostElement$:t,O:e,N:new Map,A:new Map};n.U=new Promise((t=>n.P=t)),t["s-p"]=[],t["s-rc"]=[],n.k=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,s)}connectedCallback(){e(this)&&(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);if(!n)return;const s=n.O,r=()=>{};if(1&n.o)(null==n?void 0:n.t)?rt(n.t,t):(null==n?void 0:n.U)&&n.U.then((()=>rt(n.t,t)));else{n.o|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){B(n,n.j=e);break}}s.D&&Object.entries(s.D).map((([e,[n]])=>{if(31&n&&e in t&&t[e]!==Object.prototype[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.L){const i=((t,e)=>{const n=t.i.replace(/-/g,"_"),i=t.L;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.i}#${e.T}" was not found`);s.isProxied||(st(s,n,2),s.isProxied=!0);const r=()=>{};e.o|=8;try{new s(e)}catch(e){o(e,t)}e.o&=-9,r(),rt(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=x(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=()=>J(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)?ct(n.t,t):(null==n?void 0:n.U)&&n.U.then((()=>ct(n.t,t)))}M.has(t)&&M.delete(t),t.shadowRoot&&M.has(t.shadowRoot)&&M.delete(t.shadowRoot)})(this))),u.raf((()=>{var t;const n=e(this);if(!n)return;const o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==n?void 0:n.M)?void 0:t.$)instanceof Node&&!n.M.$.isConnected&&delete n.M.$}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.U}};s.L=t[0],d.includes(r)||h.get(r)||(a.push(r),h.define(r,st(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.C)?r:S(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(nt,30)))},at=t=>u.C=t;export{ut as b,P as h,a as p,n as r,at as s}
|