proto-ikons-wc 0.0.146 → 0.0.147
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-74bd818f.js +1056 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/proto-ikons-wc.cjs.js +9 -9
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/acura-ikon_119.entry.js +1 -1
- package/dist/esm/index-197e777a.js +1030 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/proto-ikons-wc.js +10 -10
- package/dist/proto-ikons-wc/{p-05b246b7.entry.js → p-9d2e41d1.entry.js} +1 -1
- package/dist/proto-ikons-wc/p-f8ea5e99.js +2 -0
- package/dist/proto-ikons-wc/proto-ikons-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/index-5d5ddef9.js +0 -1704
- package/dist/esm/index-38cd45ae.js +0 -1678
- package/dist/proto-ikons-wc/p-52d2b2fb.js +0 -2
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let e,n=!1,t=!1;const l="slot-fb{display:contents}slot-fb[hidden]{display:none}",o="http://www.w3.org/1999/xlink",s={},i=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(e,n,...t)=>{let l=null,o=null,s=!1,c=!1;const r=[],f=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!i(l))&&(l+=""),s&&c?r[r.length-1].t+=l:r.push(s?u(null,l):l),c=s)};if(f(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}const a=u(e,null);return a.l=n,r.length>0&&(a.o=r),a.i=o,a},u=(e,n)=>({u:0,v:e,t:n,h:null,o:null,l:null,i:null}),f={},a=new WeakMap,d=e=>"sc-"+e.p,y=(e,n,t,l,s,c)=>{if(t!==l){let r=V(e,n),u=n.toLowerCase();if("class"===n){const n=e.classList,o=h(t),s=h(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===n);else{const f=i(l);if((r||f&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?r=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}let a=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,a=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(n)||(a?e.removeAttributeNS(o,n):e.removeAttribute(n)):(!r||4&c||s)&&!f&&(l=!0===l?"":l,a?e.setAttributeNS(o,n,l):e.setAttribute(n,l))}}},v=/\s/,h=e=>e?e.split(v):[],p=(e,n,t,l)=>{const o=11===n.h.nodeType&&n.h.host?n.h.host:n.h,i=e&&e.l||s,c=n.l||s;for(l of $(Object.keys(i)))l in c||y(o,l,i[l],void 0,t,n.u);for(l of $(Object.keys(c)))y(o,l,i[l],c[l],t,n.u)};function $(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}const w=(t,l,o)=>{const s=l.o[o];let i,c,r=0;if(null!==s.t)i=s.h=I.createTextNode(s.t);else{if(n||(n="svg"===s.v),i=s.h=I.createElementNS(n?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.v),n&&"foreignObject"===s.v&&(n=!1),p(null,s,n),s.o)for(r=0;r<s.o.length;++r)c=w(t,s,r),c&&i.appendChild(c);"svg"===s.v?n=!1:"foreignObject"===i.tagName&&(n=!0)}return i["s-hn"]=e,i},m=(e,n,t,l,o,s)=>{let i,c=e;for(;o<=s;++o)l[o]&&(i=w(null,t,o),i&&(l[o].h=i,c.insertBefore(i,n)))},b=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.h;e&&e.remove()}}},g=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),j=(e,t,l=!1)=>{const o=t.h=e.h,s=e.o,i=t.o,c=t.v,r=t.t;null===r?(n="svg"===c||"foreignObject"!==c&&n,p(e,t,n),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,f=0,a=n.length-1,d=n[0],y=n[a],v=l.length-1,h=l[0],p=l[v];for(;c<=a&&r<=v;)if(null==d)d=n[++c];else if(null==y)y=n[--a];else if(null==h)h=l[++r];else if(null==p)p=l[--v];else if(g(d,h,o))j(d,h,o),d=n[++c],h=l[++r];else if(g(y,p,o))j(y,p,o),y=n[--a],p=l[--v];else if(g(d,p,o))j(d,p,o),e.insertBefore(d.h,y.h.nextSibling),d=n[++c],p=l[--v];else if(g(y,h,o))j(y,h,o),e.insertBefore(y.h,d.h),y=n[--a],h=l[++r];else{for(u=-1,f=c;f<=a;++f)if(n[f]&&null!==n[f].i&&n[f].i===h.i){u=f;break}u>=0?(i=n[u],i.v!==h.v?s=w(n&&n[r],t,u):(j(i,h,o),n[u]=void 0,s=i.h),h=l[++r]):(s=w(n&&n[r],t,r),h=l[++r]),s&&d.h.parentNode.insertBefore(s,d.h)}c>a?m(e,null==l[v+1]?null:l[v+1].h,t,l,r,v):r>v&&b(n,c,a)})(o,s,t,i,l):null!==i?(null!==e.t&&(o.textContent=""),m(o,null,t,i,0,i.length-1)):null!==s&&b(s,0,s.length-1),n&&"svg"===c&&(n=!1)):e.t!==r&&(o.data=r)},S=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},k=(e,n)=>{if(e.u|=16,!(4&e.u))return S(e,e.m),le((()=>O(e,n)));e.u|=512},O=(e,n)=>{const t=e.j;return M(void 0,(()=>C(e,t,n)))},M=(e,n)=>x(e)?e.then(n):n(),x=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,C=async(e,n,t)=>{var o;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.S;((e,n)=>{var t;const o=d(n),s=D.get(o);if(e=11===e.nodeType?e:I,s)if("string"==typeof s){let i,r=a.get(e=e.head||e);if(r||a.set(e,r=new Set),!r.has(o)){{i=I.createElement("style"),i.innerHTML=s;const n=null!==(t=J.k)&&void 0!==t?t:c(I);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=l),r&&r.add(o)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s])})(e.$hostElement$.getRootNode(),n)})(e);P(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(o=s["s-p"])&&void 0!==o?o:[],t=()=>E(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},P=(n,t,l,o)=>{try{t=t.render(),n.u&=-17,n.u|=2,((n,t,l=!1)=>{const o=n.$hostElement$,s=n.O||u(null,null),i=(e=>e&&e.v===f)(t)?t:r(null,null,t);if(e=o.tagName,l&&i.l)for(const e of Object.keys(i.l))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.l[e]=o[e]);i.v=null,i.u|=4,n.O=i,i.h=s.h=o,j(s,i,l)})(n,t,o)}catch(e){_(e,n.$hostElement$)}return null},E=e=>{const n=e.$hostElement$,t=e.m;64&e.u||(e.u|=64,N(n),e.M(n),t||A()),e.$&&(e.$(),e.$=void 0),512&e.u&&te((()=>k(e,!1))),e.u&=-517},A=()=>{N(I.documentElement),te((()=>(e=>{const n=J.ce("appload",{detail:{namespace:"proto-ikons-wc"}});return e.dispatchEvent(n),n})(G)))},N=e=>e.classList.add("hydrated"),T=(e,n,t)=>{var l;const o=e.prototype;if(n.C){const s=Object.entries(n.C);if(s.map((([e,[l]])=>{(31&l||2&t&&32&l)&&Object.defineProperty(o,e,{get(){return((e,n)=>W(this).P.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=W(e),s=o.P.get(n),c=o.u,r=o.j;t=((e,n)=>null==e||i(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.C[n][0]),8&c&&void 0!==s||t===s||Number.isNaN(s)&&Number.isNaN(t)||(o.P.set(n,t),r&&2==(18&c)&&k(o,!1))})(this,e,t,n)},configurable:!0,enumerable:!0})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){J.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=W(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.j,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},F=async(e,n,t)=>{let l;if(!(32&n.u)){if(n.u|=32,t.N){if(l=B(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(T(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){_(e)}n.u&=-9,e()}else l=e.constructor,customElements.whenDefined(t.p).then((()=>n.u|=128));if(l.style){let e=l.style;const n=d(t);if(!D.has(n)){const l=()=>{};((e,n,t)=>{let l=D.get(e);Q&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,D.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.m,s=()=>k(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()},L=(e,n={})=>{var t;const o=[],s=n.exclude||[],i=G.customElements,r=I.head,u=r.querySelector("meta[charset]"),f=I.createElement("style"),a=[];let d,y=!0;Object.assign(J,n),J.T=new URL(n.resourcesUrl||"./",I.baseURI).href;let v=!1;if(e.map((e=>{e[1].map((n=>{const t={u:n[0],p:n[1],C:n[2],F:n[3]};4&t.u&&(v=!0),t.C=n[2];const l=t.p,c=class extends HTMLElement{constructor(e){super(e),H(e=this,t)}connectedCallback(){d&&(clearTimeout(d),d=null),y?a.push(this):J.jmp((()=>(e=>{if(!(1&J.u)){const n=W(e),t=n.S,l=()=>{};if(1&n.u)(null==n?void 0:n.j)||(null==n?void 0:n.L)&&n.L.then((()=>{}));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){S(n,n.m=t);break}}t.C&&Object.entries(t.C).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),F(e,n,t)}l()}})(this)))}disconnectedCallback(){J.jmp((()=>(async()=>{if(!(1&J.u)){const e=W(this);(null==e?void 0:e.j)||(null==e?void 0:e.L)&&e.L.then((()=>{}))}})()))}componentOnReady(){return W(this).L}};t.N=e[0],s.includes(l)||i.get(l)||(o.push(l),i.define(l,T(c,t,1)))}))})),o.length>0&&(v&&(f.textContent+=l),f.textContent+=o+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const e=null!==(t=J.k)&&void 0!==t?t:c(I);null!=e&&f.setAttribute("nonce",e),r.insertBefore(f,u?u.nextSibling:r.firstChild)}y=!1,a.length?a.map((e=>e.connectedCallback())):J.jmp((()=>d=setTimeout(A,30)))},R=e=>J.k=e,U=new WeakMap,W=e=>U.get(e),q=(e,n)=>U.set(n.j=e,n),H=(e,n)=>{const t={u:0,$hostElement$:e,S:n,P:new Map};return t.L=new Promise((e=>t.M=e)),e["s-p"]=[],e["s-rc"]=[],U.set(e,t)},V=(e,n)=>n in e,_=(e,n)=>(0,console.error)(e,n),z=new Map,B=e=>{const n=e.p.replace(/-/g,"_"),t=e.N,l=z.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(z.set(t,e),e[n])),_)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},D=new Map,G="undefined"!=typeof window?window:{},I=G.document||{head:{}},J={u:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},K=e=>Promise.resolve(e),Q=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),X=[],Y=[],Z=(e,n)=>l=>{e.push(l),t||(t=!0,n&&4&J.u?te(ne):J.raf(ne))},ee=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){_(e)}e.length=0},ne=()=>{ee(X),ee(Y),(t=X.length>0)&&J.raf(ne)},te=e=>K().then(e),le=Z(Y,!0);export{L as b,r as h,K as p,q as r,R as s}
|