proto-ikons-wc 0.0.102 → 0.0.104
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-cb69468d.js → index-ff45e4e4.js} +4 -7
- package/dist/cjs/loader.cjs.js +2 -11
- package/dist/cjs/proto-ikons-wc.cjs.js +2 -5
- package/dist/collection/collection-manifest.json +120 -120
- package/dist/collection/components/acura-ikon/acura-ikon.js +1 -1
- package/dist/collection/components/alfa-romeo-alt-ikon/alfa-romeo-alt-ikon.js +1 -1
- package/dist/collection/components/alfa-romeo-ikon/alfa-romeo-ikon.js +1 -1
- package/dist/collection/components/alien-icon/alien-icon.js +1 -1
- package/dist/collection/components/am-general-ikon/am-general-ikon.js +1 -1
- package/dist/collection/components/asterisk-icon/asterisk-icon.js +1 -1
- package/dist/collection/components/aston-martin-alt-ikon/aston-martin-alt-ikon.js +1 -1
- package/dist/collection/components/aston-martin-ikon/aston-martin-ikon.js +1 -1
- package/dist/collection/components/audi-ikon/audi-ikon.js +1 -1
- package/dist/collection/components/barcode-icon/barcode-icon.js +1 -1
- package/dist/collection/components/barcode-scan-icon/barcode-scan-icon.js +1 -1
- package/dist/collection/components/bash-icon/bash-icon.js +1 -1
- package/dist/collection/components/beaker-icon/beaker-icon.js +1 -1
- package/dist/collection/components/bently-ikon/bently-ikon.js +1 -1
- package/dist/collection/components/bmw-ikon/bmw-ikon.js +1 -1
- package/dist/collection/components/bugatti-ikon/bugatti-ikon.js +1 -1
- package/dist/collection/components/buick-ikon/buick-ikon.js +1 -1
- package/dist/collection/components/cadillac-ikon/cadillac-ikon.js +1 -1
- package/dist/collection/components/chart-bar-icon/chart-bar-icon.js +1 -1
- package/dist/collection/components/chart-bubble-icon/chart-bubble-icon.js +1 -1
- package/dist/collection/components/chart-donut-icon/chart-donut-icon.js +1 -1
- package/dist/collection/components/chart-donuts-icon/chart-donuts-icon.js +1 -1
- package/dist/collection/components/check-icon/check-icon.js +1 -1
- package/dist/collection/components/chevrolet-ikon/chevrolet-ikon.js +1 -1
- package/dist/collection/components/chevron-double-left-icon/chevron-double-left-icon.js +1 -1
- package/dist/collection/components/chrysler-ikon/chrysler-ikon.js +1 -1
- package/dist/collection/components/circular-saw-icon/circular-saw-icon.js +1 -1
- package/dist/collection/components/citroen-ikon/citroen-ikon.js +1 -1
- package/dist/collection/components/close-icon/close-icon.js +1 -1
- package/dist/collection/components/daewoo-ikon/daewoo-ikon.js +1 -1
- package/dist/collection/components/dodge-ikon/dodge-ikon.js +1 -1
- package/dist/collection/components/eagle-ikon/eagle-ikon.js +1 -1
- package/dist/collection/components/ferrari-ikon/ferrari-ikon.js +1 -1
- package/dist/collection/components/fiat-alt-ikon/fiat-alt-ikon.js +1 -1
- package/dist/collection/components/fiat-ikon/fiat-ikon.js +1 -1
- package/dist/collection/components/fingerprint-icon/fingerprint-icon.js +1 -1
- package/dist/collection/components/fire-icon/fire-icon.js +1 -1
- package/dist/collection/components/fisker-ikon/fisker-ikon.js +1 -1
- package/dist/collection/components/flask-icon/flask-icon.js +1 -1
- package/dist/collection/components/ford-ikon/ford-ikon.js +1 -1
- package/dist/collection/components/genesis-ikon/genesis-ikon.js +1 -1
- package/dist/collection/components/geo-ikon/geo-ikon.js +1 -1
- package/dist/collection/components/git-icon/git-icon.js +1 -1
- package/dist/collection/components/gmc-ikon/gmc-ikon.js +1 -1
- package/dist/collection/components/honda-ikon/honda-ikon.js +1 -1
- package/dist/collection/components/hummer-ikon/hummer-ikon.js +1 -1
- package/dist/collection/components/hyundai-ikon/hyundai-ikon.js +1 -1
- package/dist/collection/components/infiniti-ikon/infiniti-ikon.js +1 -1
- package/dist/collection/components/isuzu-ikon/isuzu-ikon.js +1 -1
- package/dist/collection/components/jaguar-alt-ikon/jaguar-alt-ikon.js +1 -1
- package/dist/collection/components/jaguar-ikon/jaguar-ikon.js +1 -1
- package/dist/collection/components/java-script-icon/java-script-icon.js +1 -1
- package/dist/collection/components/jeep-alt-ikon/jeep-alt-ikon.js +1 -1
- package/dist/collection/components/jeep-ikon/jeep-ikon.js +1 -1
- package/dist/collection/components/kia-ikon/kia-ikon.js +1 -1
- package/dist/collection/components/lamborghini-alt-ikon/lamborghini-alt-ikon.js +1 -1
- package/dist/collection/components/lamborghini-ikon/lamborghini-ikon.js +1 -1
- package/dist/collection/components/land-rover-ikon/land-rover-ikon.js +1 -1
- package/dist/collection/components/lexus-ikon/lexus-ikon.js +1 -1
- package/dist/collection/components/lincoln-ikon/lincoln-ikon.js +1 -1
- package/dist/collection/components/lotus-alt-ikon/lotus-alt-ikon.js +1 -1
- package/dist/collection/components/lotus-ikon/lotus-ikon.js +1 -1
- package/dist/collection/components/maserati-ikon/maserati-ikon.js +1 -1
- package/dist/collection/components/maybach-ikon/maybach-ikon.js +1 -1
- package/dist/collection/components/mazda-alt-ikon/mazda-alt-ikon.js +1 -1
- package/dist/collection/components/mazda-ikon/mazda-ikon.js +1 -1
- package/dist/collection/components/mclaren-alt-ikon/mclaren-alt-ikon.js +1 -1
- package/dist/collection/components/mclaren-ikon/mclaren-ikon.js +1 -1
- package/dist/collection/components/mercedes-benz-alt-ikon/mercedes-benz-alt-ikon.js +1 -1
- package/dist/collection/components/mercedes-benz-ikon/mercedes-benz-ikon.js +1 -1
- package/dist/collection/components/mercury-ikon/mercury-ikon.js +1 -1
- package/dist/collection/components/mini-alt-ikon/mini-alt-ikon.js +1 -1
- package/dist/collection/components/mini-ikon/mini-ikon.js +1 -1
- package/dist/collection/components/mitsubishi-ikon/mitsubishi-ikon.js +1 -1
- package/dist/collection/components/nissan-ikon/nissan-ikon.js +1 -1
- package/dist/collection/components/oldsmobile-ikon/oldsmobile-ikon.js +1 -1
- package/dist/collection/components/one-password-icon/one-password-icon.js +1 -1
- package/dist/collection/components/opel-ikon/opel-ikon.js +1 -1
- package/dist/collection/components/panoz-ikon/panoz-ikon.js +1 -1
- package/dist/collection/components/paw-icon/paw-icon.js +1 -1
- package/dist/collection/components/peugeot-alt-ikon/peugeot-alt-ikon.js +1 -1
- package/dist/collection/components/peugeot-ikon/peugeot-ikon.js +1 -1
- package/dist/collection/components/plymouth-ikon/plymouth-ikon.js +1 -1
- package/dist/collection/components/pontiac-ikon/pontiac-ikon.js +1 -1
- package/dist/collection/components/porsche-ikon/porsche-ikon.js +1 -1
- package/dist/collection/components/protocol-icon/protocol-icon.js +1 -1
- package/dist/collection/components/pulse-icon/pulse-icon.js +1 -1
- package/dist/collection/components/puzzle-icon/puzzle-icon.js +1 -1
- package/dist/collection/components/qr-code-icon/qr-code-icon.js +1 -1
- package/dist/collection/components/radio-2-icon/radio-2-icon.js +1 -1
- package/dist/collection/components/radio-icon/radio-icon.js +1 -1
- package/dist/collection/components/ram-alt-ikon/ram-alt-ikon.js +1 -1
- package/dist/collection/components/ram-ikon/ram-ikon.js +1 -1
- package/dist/collection/components/refresh-icon/refresh-icon.js +1 -1
- package/dist/collection/components/renault-alt-ikon/renault-alt-ikon.js +1 -1
- package/dist/collection/components/renault-ikon/renault-ikon.js +1 -1
- package/dist/collection/components/rolls-royce-ikon/rolls-royce-ikon.js +1 -1
- package/dist/collection/components/saab-alt-ikon/saab-alt-ikon.js +1 -1
- package/dist/collection/components/saab-ikon/saab-ikon.js +1 -1
- package/dist/collection/components/saturn-ikon/saturn-ikon.js +1 -1
- package/dist/collection/components/scion-ikon/scion-ikon.js +1 -1
- package/dist/collection/components/seat-ikon/seat-ikon.js +1 -1
- package/dist/collection/components/skoda-ikon/skoda-ikon.js +1 -1
- package/dist/collection/components/slug-icon/slug-icon.js +1 -1
- package/dist/collection/components/smart-ikon/smart-ikon.js +1 -1
- package/dist/collection/components/spider-icon/spider-icon.js +1 -1
- package/dist/collection/components/spyker-alt-ikon/spyker-alt-ikon.js +1 -1
- package/dist/collection/components/spyker-ikon/spyker-ikon.js +1 -1
- package/dist/collection/components/subaru-alt-ikon/subaru-alt-ikon.js +1 -1
- package/dist/collection/components/subaru-ikon/subaru-ikon.js +1 -1
- package/dist/collection/components/suzuki-ikon/suzuki-ikon.js +1 -1
- package/dist/collection/components/svg-icon/svg-icon.js +1 -1
- package/dist/collection/components/tesla-ikon/tesla-ikon.js +1 -1
- package/dist/collection/components/toyota-ikon/toyota-ikon.js +1 -1
- package/dist/collection/components/vector-curve-icon/vector-curve-icon.js +1 -1
- package/dist/collection/components/volkswagen-ikon/volkswagen-ikon.js +1 -1
- package/dist/collection/components/volvo-alt-ikon/volvo-alt-ikon.js +1 -1
- package/dist/collection/components/volvo-ikon/volvo-ikon.js +1 -1
- package/dist/collection/components/webhook-icon/webhook-icon.js +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/{index-4f1da0b9.js → index-df7a8676.js} +4 -7
- package/dist/esm/loader.js +3 -12
- package/dist/esm/proto-ikons-wc.js +3 -6
- package/dist/proto-ikons-wc/{p-95a4afc5.entry.js → p-bb3bda22.entry.js} +1 -1
- package/dist/proto-ikons-wc/p-fec9146f.js +2 -0
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +3 -3
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/proto-ikons-wc/p-f7a459ae.js +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let t=!1,n=!1;const e="http://www.w3.org/1999/xlink",l={},o=t=>"object"==(t=typeof t)||"function"===t;function s(t){var n,e,l;return null!==(l=null===(e=null===(n=t.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(t,n,...e)=>{let l=null,s=!1,i=!1;const r=[],u=n=>{for(let e=0;e<n.length;e++)l=n[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),n){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}const a=c(t,null);return a.l=n,r.length>0&&(a.o=r),a},c=(t,n)=>({i:0,u:t,t:n,p:null,o:null,l:null}),r={},u=new WeakMap,a=t=>"sc-"+t.h,f=(t,n,l,s,i,c)=>{if(l!==s){let r=U(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,e=p(l),o=p(s);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else{const a=o(s);if((r||a&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]=s;else{const e=null==s?"":s;"list"===n?r=!1:null!=l&&t[n]==e||(t[n]=e)}}catch(t){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,f=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(f?t.removeAttributeNS(e,n):t.removeAttribute(n)):(!r||4&c||i)&&!a&&(s=!0===s?"":s,f?t.setAttributeNS(e,n,s):t.setAttribute(n,s))}}},d=/\s/,p=t=>t?t.split(d):[],h=(t,n,e,o)=>{const s=11===n.p.nodeType&&n.p.host?n.p.host:n.p,i=t&&t.l||l,c=n.l||l;for(o in i)o in c||f(s,o,i[o],void 0,e,n.i);for(o in c)f(s,o,i[o],c[o],e,n.i)},w=(n,e,l)=>{const o=e.o[l];let s,i,c=0;if(null!==o.t)s=o.p=z.createTextNode(o.t);else{if(t||(t="svg"===o.u),s=o.p=z.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.u),t&&"foreignObject"===o.u&&(t=!1),h(null,o,t),o.o)for(c=0;c<o.o.length;++c)i=w(n,o,c),i&&s.appendChild(i);"svg"===o.u?t=!1:"foreignObject"===s.tagName&&(t=!0)}return s},$=(t,n,e,l,o,s)=>{let i,c=t;for(;o<=s;++o)l[o]&&(i=w(null,e,o),i&&(l[o].p=i,c.insertBefore(i,n)))},y=(t,n,e)=>{for(let l=n;l<=e;++l){const n=t[l];if(n){const t=n.p;t&&t.remove()}}},m=(t,n)=>t.u===n.u,v=(n,e)=>{const l=e.p=n.p,o=n.o,s=e.o,i=e.u,c=e.t;null===c?(t="svg"===i||"foreignObject"!==i&&t,h(n,e,t),null!==o&&null!==s?((t,n,e,l)=>{let o,s=0,i=0,c=n.length-1,r=n[0],u=n[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=n[++s]:null==u?u=n[--c]:null==f?f=l[++i]:null==d?d=l[--a]:m(r,f)?(v(r,f),r=n[++s],f=l[++i]):m(u,d)?(v(u,d),u=n[--c],d=l[--a]):m(r,d)?(v(r,d),t.insertBefore(r.p,u.p.nextSibling),r=n[++s],d=l[--a]):m(u,f)?(v(u,f),t.insertBefore(u.p,r.p),u=n[--c],f=l[++i]):(o=w(n&&n[i],e,i),f=l[++i],o&&r.p.parentNode.insertBefore(o,r.p));s>c?$(t,null==l[a+1]?null:l[a+1].p,e,l,i,a):i>a&&y(n,s,c)})(l,o,e,s):null!==s?(null!==n.t&&(l.textContent=""),$(l,null,e,s,0,s.length-1)):null!==o&&y(o,0,o.length-1),t&&"svg"===i&&(t=!1)):n.t!==c&&(l.data=c)},b=(t,n)=>{n&&!t.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>t.$=n)))},g=(t,n)=>{if(t.i|=16,!(4&t.i))return b(t,t.m),Z((()=>S(t,n)));t.i|=512},S=(t,n)=>{const e=t.v;return j(void 0,(()=>O(t,e,n)))},j=(t,n)=>k(t)?t.then(n):n(),k=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,O=async(t,n,e)=>{var l;const o=t.g,i=o["s-rc"];e&&(t=>{const n=t.S;((t,n)=>{var e;const l=a(n),o=V.get(l);if(t=11===t.nodeType?t:z,o)if("string"==typeof o){let n,i=u.get(t=t.head||t);if(i||u.set(t,i=new Set),!i.has(l)){{n=z.createElement("style"),n.innerHTML=o;const l=null!==(e=B.j)&&void 0!==e?e:s(z);null!=l&&n.setAttribute("nonce",l),t.insertBefore(n,t.querySelector("link"))}i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o])})(t.g.getRootNode(),n)})(t);M(t,n),i&&(i.map((t=>t())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>x(t);0===n.length?e():(Promise.all(n).then(e),t.i|=4,n.length=0)}},M=(t,n)=>{try{n=n.render(),t.i&=-17,t.i|=2,((t,n)=>{const e=t.g,l=t.k||c(null,null),o=(t=>t&&t.u===r)(n)?n:i(null,null,n);o.u=null,o.i|=4,t.k=o,o.p=l.p=e,v(l,o)})(t,n)}catch(n){W(n,t.g)}return null},x=t=>{const n=t.g,e=t.m;64&t.i||(t.i|=64,P(n),t.O(n),e||C()),t.$&&(t.$(),t.$=void 0),512&t.i&&Y((()=>g(t,!1))),t.i&=-517},C=()=>{P(z.documentElement),Y((()=>(t=>{const n=B.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(n),n})(_)))},P=t=>t.classList.add("hydrated"),E=(t,n,e)=>{if(n.M){const l=Object.entries(n.M),s=t.prototype;if(l.map((([t,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,t,{get(){return((t,n)=>F(this).C.get(n))(0,t)},set(e){((t,n,e,l)=>{const s=F(t),i=s.C.get(n),c=s.i,r=s.v;e=((t,n)=>null==t||o(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?parseFloat(t):1&n?t+"":t)(e,l.M[n][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.C.set(n,e),r&&2==(18&c)&&g(s,!1))})(this,t,e,n)},configurable:!0,enumerable:!0})})),1&e){const n=new Map;s.attributeChangedCallback=function(t,e,l){B.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(s.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},t.observedAttributes=l.filter((([t,n])=>15&n[0])).map((([t,e])=>{const l=e[1]||t;return n.set(l,t),l}))}}return t},N=(t,n={})=>{var e;const l=[],o=n.exclude||[],i=_.customElements,c=z.head,r=c.querySelector("meta[charset]"),u=z.createElement("style"),f=[];let d,p=!0;Object.assign(B,n),B.P=new URL(n.resourcesUrl||"./",z.baseURI).href,t.map((t=>{t[1].map((n=>{const e={i:n[0],h:n[1],M:n[2],N:n[3]};e.M=n[2];const s=e.h,c=class extends HTMLElement{constructor(t){super(t),R(t=this,e)}connectedCallback(){d&&(clearTimeout(d),d=null),p?f.push(this):B.jmp((()=>(t=>{if(0==(1&B.i)){const n=F(t),e=n.S,l=()=>{};if(!(1&n.i)){n.i|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){b(n,n.m=e);break}}e.M&&Object.entries(e.M).map((([n,[e]])=>{if(31&e&&t.hasOwnProperty(n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e,l,o)=>{if(0==(32&n.i)){n.i|=32;{if((o=H(e)).then){const t=()=>{};o=await o,t()}o.isProxied||(E(o,e,2),o.isProxied=!0);const t=()=>{};n.i|=8;try{new o(n)}catch(t){W(t)}n.i&=-9,t()}if(o.style){let t=o.style;const n=a(e);if(!V.has(n)){const l=()=>{};((t,n,e)=>{let l=V.get(t);G&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,V.set(t,l)})(n,t,!!(1&e.i)),l()}}}const s=n.m,i=()=>g(n,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,n,e)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>{}))}componentOnReady(){return F(this).T}};e.A=t[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,E(c,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const t=null!==(e=B.j)&&void 0!==e?e:s(z);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,r?r.nextSibling:c.firstChild)}p=!1,f.length?f.map((t=>t.connectedCallback())):B.jmp((()=>d=setTimeout(C,30)))},T=t=>B.j=t,A=new WeakMap,F=t=>A.get(t),L=(t,n)=>A.set(n.v=t,n),R=(t,n)=>{const e={i:0,g:t,S:n,C:new Map};return e.T=new Promise((t=>e.O=t)),t["s-p"]=[],t["s-rc"]=[],A.set(t,e)},U=(t,n)=>n in t,W=(t,n)=>(0,console.error)(t,n),q=new Map,H=t=>{const n=t.h.replace(/-/g,"_"),e=t.A,l=q.get(e);return l?l[n]:import(`./${e}.entry.js`).then((t=>(q.set(e,t),t[n])),W)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,P:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,l)=>t.addEventListener(n,e,l),rel:(t,n,e,l)=>t.removeEventListener(n,e,l),ce:(t,n)=>new CustomEvent(t,n)},D=t=>Promise.resolve(t),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),I=[],J=[],K=(t,e)=>l=>{t.push(l),n||(n=!0,e&&4&B.i?Y(X):B.raf(X))},Q=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){W(t)}t.length=0},X=()=>{Q(I),Q(J),(n=I.length>0)&&B.raf(X)},Y=t=>D().then(t),Z=K(J,!0);export{N as b,i as h,D as p,L as r,T as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as i}from"./p-
|
|
1
|
+
import{p as e,b as i}from"./p-fec9146f.js";export{s as setNonce}from"./p-fec9146f.js";(()=>{const i=import.meta.url,n={};return""!==i&&(n.resourcesUrl=new URL(".",i).href),e(n)})().then((e=>i([["p-bb3bda22",[[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)));
|
|
@@ -1289,7 +1289,7 @@ export declare namespace JSXBase {
|
|
|
1289
1289
|
clipPathUnits?: number | string;
|
|
1290
1290
|
'clip-rule'?: number | string;
|
|
1291
1291
|
'color-interpolation'?: number | string;
|
|
1292
|
-
'color-interpolation-filters'?: 'auto' | '
|
|
1292
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
|
|
1293
1293
|
'color-profile'?: number | string;
|
|
1294
1294
|
'color-rendering'?: number | string;
|
|
1295
1295
|
contentScriptType?: number | string;
|
package/loader/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface CustomElementsDefineOptions {
|
|
|
8
8
|
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
9
|
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
10
|
}
|
|
11
|
-
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions):
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
12
|
export declare function applyPolyfills(): Promise<void>;
|
|
13
13
|
|
|
14
14
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-ikons-wc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.104",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"format": "prettier --write src cSpell.json"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@stencil/core": "
|
|
30
|
+
"@stencil/core": "4.0.2"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"typescript": "5.1.
|
|
34
|
+
"typescript": "5.1.6"
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},__assign.apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@",VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.slice(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let t=!1,n=!1;const e="http://www.w3.org/1999/xlink",l={},o=t=>"object"==(t=typeof t)||"function"===t;function s(t){var n,e,l;return null!==(l=null===(e=null===(n=t.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===e?void 0:e.getAttribute("content"))&&void 0!==l?l:void 0}const i=(t,n,...e)=>{let l=null,s=!1,i=!1;const r=[],u=n=>{for(let e=0;e<n.length;e++)l=n[e],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof t&&!o(l))&&(l+=""),s&&i?r[r.length-1].t+=l:r.push(s?c(null,l):l),i=s)};if(u(e),n){const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}const a=c(t,null);return a.l=n,r.length>0&&(a.o=r),a},c=(t,n)=>({i:0,u:t,t:n,p:null,o:null,l:null}),r={},u=new WeakMap,a=t=>"sc-"+t.h,f=(t,n,l,s,i,c)=>{if(l!==s){let r=U(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,e=p(l),o=p(s);n.remove(...e.filter((t=>t&&!o.includes(t)))),n.add(...o.filter((t=>t&&!e.includes(t))))}else{const a=o(s);if((r||a&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]=s;else{const e=null==s?"":s;"list"===n?r=!1:null!=l&&t[n]==e||(t[n]=e)}}catch(t){}let f=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,f=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(f?t.removeAttributeNS(e,n):t.removeAttribute(n)):(!r||4&c||i)&&!a&&(s=!0===s?"":s,f?t.setAttributeNS(e,n,s):t.setAttribute(n,s))}}},d=/\s/,p=t=>t?t.split(d):[],h=(t,n,e,o)=>{const s=11===n.p.nodeType&&n.p.host?n.p.host:n.p,i=t&&t.l||l,c=n.l||l;for(o in i)o in c||f(s,o,i[o],void 0,e,n.i);for(o in c)f(s,o,i[o],c[o],e,n.i)},w=(n,e,l)=>{const o=e.o[l];let s,i,c=0;if(null!==o.t)s=o.p=z.createTextNode(o.t);else{if(t||(t="svg"===o.u),s=o.p=z.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.u),t&&"foreignObject"===o.u&&(t=!1),h(null,o,t),o.o)for(c=0;c<o.o.length;++c)i=w(n,o,c),i&&s.appendChild(i);"svg"===o.u?t=!1:"foreignObject"===s.tagName&&(t=!0)}return s},$=(t,n,e,l,o,s)=>{let i,c=t;for(;o<=s;++o)l[o]&&(i=w(null,e,o),i&&(l[o].p=i,c.insertBefore(i,n)))},y=(t,n,e)=>{for(let l=n;l<=e;++l){const n=t[l];if(n){const t=n.p;t&&t.remove()}}},m=(t,n)=>t.u===n.u,v=(n,e)=>{const l=e.p=n.p,o=n.o,s=e.o,i=e.u,c=e.t;null===c?(t="svg"===i||"foreignObject"!==i&&t,h(n,e,t),null!==o&&null!==s?((t,n,e,l)=>{let o,s=0,i=0,c=n.length-1,r=n[0],u=n[c],a=l.length-1,f=l[0],d=l[a];for(;s<=c&&i<=a;)null==r?r=n[++s]:null==u?u=n[--c]:null==f?f=l[++i]:null==d?d=l[--a]:m(r,f)?(v(r,f),r=n[++s],f=l[++i]):m(u,d)?(v(u,d),u=n[--c],d=l[--a]):m(r,d)?(v(r,d),t.insertBefore(r.p,u.p.nextSibling),r=n[++s],d=l[--a]):m(u,f)?(v(u,f),t.insertBefore(u.p,r.p),u=n[--c],f=l[++i]):(o=w(n&&n[i],e,i),f=l[++i],o&&r.p.parentNode.insertBefore(o,r.p));s>c?$(t,null==l[a+1]?null:l[a+1].p,e,l,i,a):i>a&&y(n,s,c)})(l,o,e,s):null!==s?(null!==n.t&&(l.textContent=""),$(l,null,e,s,0,s.length-1)):null!==o&&y(o,0,o.length-1),t&&"svg"===i&&(t=!1)):n.t!==c&&(l.data=c)},b=(t,n)=>{n&&!t.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>t.$=n)))},g=(t,n)=>{if(t.i|=16,!(4&t.i))return b(t,t.m),Z((()=>S(t,n)));t.i|=512},S=(t,n)=>{const e=t.v;return j(void 0,(()=>O(t,e,n)))},j=(t,n)=>k(t)?t.then(n):n(),k=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,O=async(t,n,e)=>{var l;const o=t.g,i=o["s-rc"];e&&(t=>{const n=t.S;((t,n)=>{var e;let l=a(n);const o=V.get(l);if(t=11===t.nodeType?t:z,o)if("string"==typeof o){let n,i=u.get(t=t.head||t);if(i||u.set(t,i=new Set),!i.has(l)){{n=z.createElement("style"),n.innerHTML=o;const l=null!==(e=B.j)&&void 0!==e?e:s(z);null!=l&&n.setAttribute("nonce",l),t.insertBefore(n,t.querySelector("link"))}i&&i.add(l)}}else t.adoptedStyleSheets.includes(o)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,o])})(t.g.getRootNode(),n)})(t);M(t,n),i&&(i.map((t=>t())),o["s-rc"]=void 0);{const n=null!==(l=o["s-p"])&&void 0!==l?l:[],e=()=>x(t);0===n.length?e():(Promise.all(n).then(e),t.i|=4,n.length=0)}},M=(t,n)=>{try{n=n.render(),t.i&=-17,t.i|=2,((t,n)=>{const e=t.g,l=t.k||c(null,null),o=(t=>t&&t.u===r)(n)?n:i(null,null,n);o.u=null,o.i|=4,t.k=o,o.p=l.p=e,v(l,o)})(t,n)}catch(n){W(n,t.g)}return null},x=t=>{const n=t.g,e=t.m;64&t.i||(t.i|=64,P(n),t.O(n),e||C()),t.$&&(t.$(),t.$=void 0),512&t.i&&Y((()=>g(t,!1))),t.i&=-517},C=()=>{P(z.documentElement),Y((()=>(t=>{const n=B.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return t.dispatchEvent(n),n})(_)))},P=t=>t.classList.add("hydrated"),E=(t,n,e)=>{if(n.M){const l=Object.entries(n.M),s=t.prototype;if(l.map((([t,[l]])=>{(31&l||2&e&&32&l)&&Object.defineProperty(s,t,{get(){return((t,n)=>F(this).C.get(n))(0,t)},set(e){((t,n,e,l)=>{const s=F(t),i=s.C.get(n),c=s.i,r=s.v;e=((t,n)=>null==t||o(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?parseFloat(t):1&n?t+"":t)(e,l.M[n][0]),8&c&&void 0!==i||e===i||Number.isNaN(i)&&Number.isNaN(e)||(s.C.set(n,e),r&&2==(18&c)&&g(s,!1))})(this,t,e,n)},configurable:!0,enumerable:!0})})),1&e){const n=new Map;s.attributeChangedCallback=function(t,e,l){B.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e))l=this[e],delete this[e];else if(s.hasOwnProperty(e)&&"number"==typeof this[e]&&this[e]==l)return;this[e]=(null!==l||"boolean"!=typeof this[e])&&l}))},t.observedAttributes=l.filter((([t,n])=>15&n[0])).map((([t,e])=>{const l=e[1]||t;return n.set(l,t),l}))}}return t},N=(t,n={})=>{var e;const l=[],o=n.exclude||[],i=_.customElements,c=z.head,r=c.querySelector("meta[charset]"),u=z.createElement("style"),f=[];let d,p=!0;Object.assign(B,n),B.P=new URL(n.resourcesUrl||"./",z.baseURI).href,t.map((t=>{t[1].map((n=>{const e={i:n[0],h:n[1],M:n[2],N:n[3]};e.M=n[2];const s=e.h,c=class extends HTMLElement{constructor(t){super(t),R(t=this,e)}connectedCallback(){d&&(clearTimeout(d),d=null),p?f.push(this):B.jmp((()=>(t=>{if(0==(1&B.i)){const n=F(t),e=n.S,l=()=>{};if(!(1&n.i)){n.i|=1;{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){b(n,n.m=e);break}}e.M&&Object.entries(e.M).map((([n,[e]])=>{if(31&e&&t.hasOwnProperty(n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e,l,o)=>{if(0==(32&n.i)){n.i|=32;{if((o=H(e)).then){const t=()=>{};o=await o,t()}o.isProxied||(E(o,e,2),o.isProxied=!0);const t=()=>{};n.i|=8;try{new o(n)}catch(t){W(t)}n.i&=-9,t()}if(o.style){let t=o.style;const n=a(e);if(!V.has(n)){const l=()=>{};((t,n,e)=>{let l=V.get(t);G&&e?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,V.set(t,l)})(n,t,!!(1&e.i)),l()}}}const s=n.m,i=()=>g(n,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,n,e)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>{}))}componentOnReady(){return F(this).T}};e.A=t[0],o.includes(s)||i.get(s)||(l.push(s),i.define(s,E(c,e,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const t=null!==(e=B.j)&&void 0!==e?e:s(z);null!=t&&u.setAttribute("nonce",t),c.insertBefore(u,r?r.nextSibling:c.firstChild)}p=!1,f.length?f.map((t=>t.connectedCallback())):B.jmp((()=>d=setTimeout(C,30)))},T=t=>B.j=t,A=new WeakMap,F=t=>A.get(t),L=(t,n)=>A.set(n.v=t,n),R=(t,n)=>{const e={i:0,g:t,S:n,C:new Map};return e.T=new Promise((t=>e.O=t)),t["s-p"]=[],t["s-rc"]=[],A.set(t,e)},U=(t,n)=>n in t,W=(t,n)=>(0,console.error)(t,n),q=new Map,H=t=>{const n=t.h.replace(/-/g,"_"),e=t.A,l=q.get(e);return l?l[n]:import(`./${e}.entry.js`).then((t=>(q.set(e,t),t[n])),W)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,P:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,l)=>t.addEventListener(n,e,l),rel:(t,n,e,l)=>t.removeEventListener(n,e,l),ce:(t,n)=>new CustomEvent(t,n)},D=t=>Promise.resolve(t),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),I=[],J=[],K=(t,e)=>l=>{t.push(l),n||(n=!0,e&&4&B.i?Y(X):B.raf(X))},Q=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){W(t)}t.length=0},X=()=>{Q(I),Q(J),(n=I.length>0)&&B.raf(X)},Y=t=>D().then(t),Z=K(J,!0);export{N as b,i as h,D as p,L as r,T as s}
|