proto-icons-wc 0.0.412 → 0.0.413
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/icon-proofs.cjs.entry.js +1 -1
- package/dist/cjs/{index-859cbc1e.js → index-cf8d19f0.js} +2 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/proto-icons-wc.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/esm/icon-proofs.entry.js +1 -1
- package/dist/esm/{index-ebd99e79.js → index-87f7ba38.js} +2 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/proto-icons-wc.js +3 -3
- package/dist/proto-icons-wc/p-6b05c8e0.js +2 -0
- package/dist/proto-icons-wc/{p-3d1bddf5.entry.js → p-8876cab8.entry.js} +1 -1
- package/dist/proto-icons-wc/proto-icons-wc.esm.js +1 -1
- package/package.json +2 -2
- package/dist/proto-icons-wc/p-169573e4.js +0 -2
|
@@ -841,6 +841,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
841
841
|
*/
|
|
842
842
|
const enqueue = (maybePromise, fn) => maybePromise instanceof Promise ? maybePromise.then(fn) : fn();
|
|
843
843
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
844
|
+
var _a;
|
|
844
845
|
const elm = hostRef.$hostElement$;
|
|
845
846
|
const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
|
|
846
847
|
const rc = elm['s-rc'];
|
|
@@ -862,7 +863,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
862
863
|
endRender();
|
|
863
864
|
endUpdate();
|
|
864
865
|
{
|
|
865
|
-
const childrenPromises = elm['s-p'];
|
|
866
|
+
const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
|
|
866
867
|
const postUpdate = () => postUpdateComponent(hostRef);
|
|
867
868
|
if (childrenPromises.length === 0) {
|
|
868
869
|
postUpdate();
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cf8d19f0.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Esm v3.
|
|
8
|
+
Stencil Client Patch Esm v3.3.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchEsm = () => {
|
|
11
11
|
return index.promiseResolve();
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cf8d19f0.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v3.
|
|
8
|
+
Stencil Client Patch Browser v3.3.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('proto-icons-wc.cjs.js', document.baseURI).href));
|
|
@@ -819,6 +819,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
819
819
|
*/
|
|
820
820
|
const enqueue = (maybePromise, fn) => maybePromise instanceof Promise ? maybePromise.then(fn) : fn();
|
|
821
821
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
822
|
+
var _a;
|
|
822
823
|
const elm = hostRef.$hostElement$;
|
|
823
824
|
const endUpdate = createTime('update', hostRef.$cmpMeta$.$tagName$);
|
|
824
825
|
const rc = elm['s-rc'];
|
|
@@ -840,7 +841,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
840
841
|
endRender();
|
|
841
842
|
endUpdate();
|
|
842
843
|
{
|
|
843
|
-
const childrenPromises = elm['s-p'];
|
|
844
|
+
const childrenPromises = (_a = elm['s-p']) !== null && _a !== void 0 ? _a : [];
|
|
844
845
|
const postUpdate = () => postUpdateComponent(hostRef);
|
|
845
846
|
if (childrenPromises.length === 0) {
|
|
846
847
|
postUpdate();
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-87f7ba38.js';
|
|
2
|
+
export { s as setNonce } from './index-87f7ba38.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Esm v3.
|
|
5
|
+
Stencil Client Patch Esm v3.3.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchEsm = () => {
|
|
8
8
|
return promiseResolve();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-87f7ba38.js';
|
|
2
|
+
export { s as setNonce } from './index-87f7ba38.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v3.
|
|
5
|
+
Stencil Client Patch Browser v3.3.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let n,e,t=!1,l=!1;const o={},s=n=>"object"==(n=typeof n)||"function"===n;function c(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(n,e,...t)=>{let l=null,o=!1,c=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&c?r[r.length-1].t+=l:r.push(o?i(null,l):l),c=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=i(n,null);return a.l=e,r.length>0&&(a.o=r),a},i=(n,e)=>({i:0,u:n,t:e,$:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.m,d=(n,e,t,l,o,c)=>{if(t!==l){let r=W(n,e);if(e.toLowerCase(),"class"===e){const e=n.classList,o=m(t),s=m(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else{const i=s(l);if((r||i&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?r=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!r||4&c||o)&&!i&&n.setAttribute(e,l=!0===l?"":l)}}},$=/\s/,m=n=>n?n.split($):[],p=(n,e,t,l)=>{const s=11===e.$.nodeType&&e.$.host?e.$.host:e.$,c=n&&n.l||o,r=e.l||o;for(l in c)l in r||d(s,l,c[l],void 0,t,e.i);for(l in r)d(s,l,c[l],r[l],t,e.i)},w=(e,l,o)=>{const s=l.o[o];let c,r,i=0;if(null!==s.t)c=s.$=z.createTextNode(s.t);else{if(t||(t="svg"===s.u),c=s.$=z.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),t&&"foreignObject"===s.u&&(t=!1),p(null,s,t),null!=n&&c["s-si"]!==n&&c.classList.add(c["s-si"]=n),s.o)for(i=0;i<s.o.length;++i)r=w(e,s,i),r&&c.appendChild(r);"svg"===s.u?t=!1:"foreignObject"===c.tagName&&(t=!0)}return c},y=(n,t,l,o,s,c)=>{let r,i=n;for(i.shadowRoot&&i.tagName===e&&(i=i.shadowRoot);s<=c;++s)o[s]&&(r=w(null,l,s),r&&(o[s].$=r,i.insertBefore(r,t)))},h=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.$;n&&n.remove()}}},v=(n,e)=>n.u===e.u,b=(n,e)=>{const l=e.$=n.$,o=n.o,s=e.o,c=e.u,r=e.t;null===r?(t="svg"===c||"foreignObject"!==c&&t,p(n,e,t),null!==o&&null!==s?((n,e,t,l)=>{let o,s=0,c=0,r=e.length-1,i=e[0],u=e[r],a=l.length-1,f=l[0],d=l[a];for(;s<=r&&c<=a;)null==i?i=e[++s]:null==u?u=e[--r]:null==f?f=l[++c]:null==d?d=l[--a]:v(i,f)?(b(i,f),i=e[++s],f=l[++c]):v(u,d)?(b(u,d),u=e[--r],d=l[--a]):v(i,d)?(b(i,d),n.insertBefore(i.$,u.$.nextSibling),i=e[++s],d=l[--a]):v(u,f)?(b(u,f),n.insertBefore(u.$,i.$),u=e[--r],f=l[++c]):(o=w(e&&e[c],t,c),f=l[++c],o&&i.$.parentNode.insertBefore(o,i.$));s>r?y(n,null==l[a+1]?null:l[a+1].$,t,l,c,a):c>a&&h(e,s,r)})(l,o,e,s):null!==s?(null!==n.t&&(l.textContent=""),y(l,null,e,s,0,s.length-1)):null!==o&&h(o,0,o.length-1),t&&"svg"===c&&(t=!1)):n.t!==r&&(l.data=r)},g=(n,e)=>{e&&!n.p&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.p=e)))},S=(n,e)=>{if(n.i|=16,!(4&n.i))return g(n,n.h),Z((()=>j(n,e)));n.i|=512},j=(n,e)=>{const t=n.v;return O(void 0,(()=>M(n,t,e)))},O=(n,e)=>n instanceof Promise?n.then(e):e(),M=async(n,e,t)=>{var l;const o=n.g,s=o["s-rc"];t&&(n=>{const e=n.S,t=n.g,l=e.i,o=((n,e)=>{var t;let l=f(e);const o=V.get(l);if(n=11===n.nodeType?n:z,o)if("string"==typeof o){let e,s=a.get(n=n.head||n);if(s||a.set(n,s=new Set),!s.has(l)){{e=z.createElement("style"),e.innerHTML=o;const l=null!==(t=B.j)&&void 0!==t?t:c(z);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);k(n,e),s&&(s.map((n=>n())),o["s-rc"]=void 0);{const e=null!==(l=o["s-p"])&&void 0!==l?l:[],t=()=>C(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},k=(t,l)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l)=>{const o=t.g,s=t.O||i(null,null),c=(n=>n&&n.u===u)(l)?l:r(null,null,l);e=o.tagName,c.u=null,c.i|=4,t.O=c,c.$=s.$=o.shadowRoot||o,n=o["s-sc"],b(s,c)})(t,l)}catch(n){q(n,t.g)}return null},C=n=>{const e=n.g,t=n.h;64&n.i||(n.i|=64,x(e),n.M(e),t||P()),n.p&&(n.p(),n.p=void 0),512&n.i&&Y((()=>S(n,!1))),n.i&=-517},P=()=>{x(z.documentElement),Y((()=>(n=>{const e=B.ce("appload",{detail:{namespace:"proto-icons-wc"}});return n.dispatchEvent(e),e})(_)))},x=n=>n.classList.add("hydrated"),E=(n,e,t)=>{if(e.k){const l=Object.entries(e.k),o=n.prototype;l.map((([n,[e]])=>{(31&e||2&t&&32&e)&&Object.defineProperty(o,n,{get(){return((n,e)=>L(this).C.get(e))(0,n)},set(e){((n,e,t)=>{const l=L(n),o=l.C.get(e),c=l.i,r=l.v;t=(n=>(null==n||s(n),n))(t),8&c&&void 0!==o||t===o||Number.isNaN(o)&&Number.isNaN(t)||(l.C.set(e,t),r&&2==(18&c)&&S(l,!1))})(this,n,e)},configurable:!0,enumerable:!0})}))}return n},N=(n,e={})=>{var t;const l=[],o=e.exclude||[],s=_.customElements,r=z.head,i=r.querySelector("meta[charset]"),u=z.createElement("style"),a=[];let d,$=!0;Object.assign(B,e),B.P=new URL(e.resourcesUrl||"./",z.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],m:e[1],k:e[2],N:e[3]};t.k=e[2];const c=t.m,r=class extends HTMLElement{constructor(n){super(n),U(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),$?a.push(this):B.jmp((()=>(n=>{if(0==(1&B.i)){const e=L(n),t=e.S,l=()=>{};if(!(1&e.i)){e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){g(e,e.h=t);break}}t.k&&Object.entries(t.k).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t,l,o)=>{if(0==(32&e.i)){e.i|=32;{if((o=H(t)).then){const n=()=>{};o=await o,n()}o.isProxied||(E(o,t,2),o.isProxied=!0);const n=()=>{};e.i|=8;try{new o(e)}catch(n){q(n)}e.i&=-9,n()}if(o.style){let n=o.style;const e=f(t);if(!V.has(e)){const l=()=>{};((n,e,t)=>{let l=V.get(n);G&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,V.set(n,l)})(e,n,!!(1&t.i)),l()}}}const s=e.h,c=()=>S(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,e,t)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>{}))}componentOnReady(){return L(this).T}};t.A=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,E(r,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=B.j)&&void 0!==t?t:c(z);null!=n&&u.setAttribute("nonce",n),r.insertBefore(u,i?i.nextSibling:r.firstChild)}$=!1,a.length?a.map((n=>n.connectedCallback())):B.jmp((()=>d=setTimeout(P,30)))},T=n=>B.j=n,A=new WeakMap,L=n=>A.get(n),R=(n,e)=>A.set(e.v=n,e),U=(n,e)=>{const t={i:0,g:n,S:e,C:new Map};return t.T=new Promise((n=>t.M=n)),n["s-p"]=[],n["s-rc"]=[],A.set(n,t)},W=(n,e)=>e in n,q=(n,e)=>(0,console.error)(n,e),F=new Map,H=n=>{const e=n.m.replace(/-/g,"_"),t=n.A,l=F.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(F.set(t,n),n[e])),q)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,P:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},D=n=>Promise.resolve(n),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),I=[],J=[],K=(n,e)=>t=>{n.push(t),l||(l=!0,e&&4&B.i?Y(X):B.raf(X))},Q=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){q(n)}n.length=0},X=()=>{Q(I),Q(J),(l=I.length>0)&&B.raf(X)},Y=n=>D().then(n),Z=K(J,!0);export{N as b,r as h,D as p,R as r,T as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,h as o}from"./p-
|
|
1
|
+
import{r as l,h as o}from"./p-6b05c8e0.js";const r={"arrow-up":"M5.3 10.7l1.4 1.4L11 7.8V20h2V7.8l4.3 4.3 1.4-1.4L12 4z","arrow-down":"M18.7 13.3l-1.4-1.4-4.3 4.3V4h-2v12.2l-4.3-4.3-1.4 1.4L12 20z",left:"M14 17.4L8.6 12 14 6.6 15.4 8l-4 4 4 4z",right:"M10 17.4L8.6 16l4-4-4-4L10 6.6l5.4 5.4z",up:"M16 15.4l-4-4-4 4L6.6 14 12 8.6l5.4 5.4z",down:"M12 15.4L6.6 10 8 8.6l4 4 4-4 1.4 1.4z",more:"M12 14a2 2 0 100-4 2 2 0 000 4zm-6 0a2 2 0 100-4 2 2 0 000 4zm12 0a2 2 0 100-4 2 2 0 000 4z"},e=Object.keys(r),t=class{constructor(t){l(this,t),this.icons=[...e,"pad"],this.protoIcon=(l,e,t=24)=>{const i=r[l];return o("svg",{width:t,height:t,viewBox:"0 0 24 24",role:"img","aria-labelledby":"title"},o("title",null,l),o("g",{fill:e},o("path",{d:i})),o("path",{d:"M0 0h24v24H0z",fill:"none"}))},this.iconRow=l=>{const{colors:r,icons:e,protoIcon:t}=this;return o("div",{class:"proof"},o("div",{class:"label"},l,t("down","currentColor")),o("hr",null),o("div",{class:"row"},e.map((o=>t(o,r[o],l)))))},this.colors={},this.sizes=[24]}render(){const{sizes:l}=this;return o("div",{class:"page"},o("h1",null,"Icon Proofs"),o("div",{class:"sheet"},l.map((l=>this.iconRow(l)))),";")}};t.style=".page{color:var(--clrs-navy);font-family:'Roboto', 'Helvetica Neue', Arial, sans-serif;-webkit-font-smoothing:antialiased}.sheet{display:flex;flex-direction:column;margin:16px}.proof{display:flex;flex-direction:column;margin-bottom:32px}.proof svg{fill:var(--cx-icon-fill, '#111111')}.label{font-size:24px;font-weight:bold;color:var(--clrs-red);display:flex;flex-direction:row;align-items:center}.row{display:flex;flex-direction:row;flex-wrap:wrap}h1{color:var(--clrs-red);text-transform:uppercase;font-size:4em;font-weight:100;text-align:center}hr{margin-left:0;margin-right:0}";export{t as icon_proofs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,b as e}from"./p-
|
|
1
|
+
import{p as o,b as e}from"./p-6b05c8e0.js";export{s as setNonce}from"./p-6b05c8e0.js";(()=>{const s=import.meta.url,e={};return""!==s&&(e.resourcesUrl=new URL(".",s).href),o(e)})().then((o=>e([["p-8876cab8",[[1,"icon-proofs",{colors:[16],sizes:[16]}]]]],o)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proto-icons-wc",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.413",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"format": "prettier --write src"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@stencil/core": "3.
|
|
28
|
+
"@stencil/core": "3.3.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"cspell": "6.31.1",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
let n,e,t=!1,l=!1;const o={},s=n=>"object"==(n=typeof n)||"function"===n;function c(n){var e,t,l;return null!==(l=null===(t=null===(e=n.head)||void 0===e?void 0:e.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(n,e,...t)=>{let l=null,o=!1,c=!1;const r=[],u=e=>{for(let t=0;t<e.length;t++)l=e[t],Array.isArray(l)?u(l):null!=l&&"boolean"!=typeof l&&((o="function"!=typeof n&&!s(l))&&(l+=""),o&&c?r[r.length-1].t+=l:r.push(o?i(null,l):l),c=o)};if(u(t),e){const n=e.className||e.class;n&&(e.class="object"!=typeof n?n:Object.keys(n).filter((e=>n[e])).join(" "))}const a=i(n,null);return a.l=e,r.length>0&&(a.o=r),a},i=(n,e)=>({i:0,u:n,t:e,$:null,o:null,l:null}),u={},a=new WeakMap,f=n=>"sc-"+n.m,d=(n,e,t,l,o,c)=>{if(t!==l){let r=W(n,e);if(e.toLowerCase(),"class"===e){const e=n.classList,o=m(t),s=m(l);e.remove(...o.filter((n=>n&&!s.includes(n)))),e.add(...s.filter((n=>n&&!o.includes(n))))}else{const i=s(l);if((r||i&&null!==l)&&!o)try{if(n.tagName.includes("-"))n[e]=l;else{const o=null==l?"":l;"list"===e?r=!1:null!=t&&n[e]==o||(n[e]=o)}}catch(n){}null==l||!1===l?!1===l&&""!==n.getAttribute(e)||n.removeAttribute(e):(!r||4&c||o)&&!i&&n.setAttribute(e,l=!0===l?"":l)}}},$=/\s/,m=n=>n?n.split($):[],p=(n,e,t,l)=>{const s=11===e.$.nodeType&&e.$.host?e.$.host:e.$,c=n&&n.l||o,r=e.l||o;for(l in c)l in r||d(s,l,c[l],void 0,t,e.i);for(l in r)d(s,l,c[l],r[l],t,e.i)},w=(e,l,o)=>{const s=l.o[o];let c,r,i=0;if(null!==s.t)c=s.$=z.createTextNode(s.t);else{if(t||(t="svg"===s.u),c=s.$=z.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",s.u),t&&"foreignObject"===s.u&&(t=!1),p(null,s,t),null!=n&&c["s-si"]!==n&&c.classList.add(c["s-si"]=n),s.o)for(i=0;i<s.o.length;++i)r=w(e,s,i),r&&c.appendChild(r);"svg"===s.u?t=!1:"foreignObject"===c.tagName&&(t=!0)}return c},y=(n,t,l,o,s,c)=>{let r,i=n;for(i.shadowRoot&&i.tagName===e&&(i=i.shadowRoot);s<=c;++s)o[s]&&(r=w(null,l,s),r&&(o[s].$=r,i.insertBefore(r,t)))},h=(n,e,t)=>{for(let l=e;l<=t;++l){const e=n[l];if(e){const n=e.$;n&&n.remove()}}},v=(n,e)=>n.u===e.u,b=(n,e)=>{const l=e.$=n.$,o=n.o,s=e.o,c=e.u,r=e.t;null===r?(t="svg"===c||"foreignObject"!==c&&t,p(n,e,t),null!==o&&null!==s?((n,e,t,l)=>{let o,s=0,c=0,r=e.length-1,i=e[0],u=e[r],a=l.length-1,f=l[0],d=l[a];for(;s<=r&&c<=a;)null==i?i=e[++s]:null==u?u=e[--r]:null==f?f=l[++c]:null==d?d=l[--a]:v(i,f)?(b(i,f),i=e[++s],f=l[++c]):v(u,d)?(b(u,d),u=e[--r],d=l[--a]):v(i,d)?(b(i,d),n.insertBefore(i.$,u.$.nextSibling),i=e[++s],d=l[--a]):v(u,f)?(b(u,f),n.insertBefore(u.$,i.$),u=e[--r],f=l[++c]):(o=w(e&&e[c],t,c),f=l[++c],o&&i.$.parentNode.insertBefore(o,i.$));s>r?y(n,null==l[a+1]?null:l[a+1].$,t,l,c,a):c>a&&h(e,s,r)})(l,o,e,s):null!==s?(null!==n.t&&(l.textContent=""),y(l,null,e,s,0,s.length-1)):null!==o&&h(o,0,o.length-1),t&&"svg"===c&&(t=!1)):n.t!==r&&(l.data=r)},g=(n,e)=>{e&&!n.p&&e["s-p"]&&e["s-p"].push(new Promise((e=>n.p=e)))},S=(n,e)=>{if(n.i|=16,!(4&n.i))return g(n,n.h),Z((()=>j(n,e)));n.i|=512},j=(n,e)=>{const t=n.v;return O(void 0,(()=>M(n,t,e)))},O=(n,e)=>n instanceof Promise?n.then(e):e(),M=async(n,e,t)=>{const l=n.g,o=l["s-rc"];t&&(n=>{const e=n.S,t=n.g,l=e.i,o=((n,e)=>{var t;let l=f(e);const o=V.get(l);if(n=11===n.nodeType?n:z,o)if("string"==typeof o){let e,s=a.get(n=n.head||n);if(s||a.set(n,s=new Set),!s.has(l)){{e=z.createElement("style"),e.innerHTML=o;const l=null!==(t=B.j)&&void 0!==t?t:c(z);null!=l&&e.setAttribute("nonce",l),n.insertBefore(e,n.querySelector("link"))}s&&s.add(l)}}else n.adoptedStyleSheets.includes(o)||(n.adoptedStyleSheets=[...n.adoptedStyleSheets,o]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),e);10&l&&(t["s-sc"]=o,t.classList.add(o+"-h"))})(n);k(n,e),o&&(o.map((n=>n())),l["s-rc"]=void 0);{const e=l["s-p"],t=()=>C(n);0===e.length?t():(Promise.all(e).then(t),n.i|=4,e.length=0)}},k=(t,l)=>{try{l=l.render(),t.i&=-17,t.i|=2,((t,l)=>{const o=t.g,s=t.O||i(null,null),c=(n=>n&&n.u===u)(l)?l:r(null,null,l);e=o.tagName,c.u=null,c.i|=4,t.O=c,c.$=s.$=o.shadowRoot||o,n=o["s-sc"],b(s,c)})(t,l)}catch(n){q(n,t.g)}return null},C=n=>{const e=n.g,t=n.h;64&n.i||(n.i|=64,x(e),n.M(e),t||P()),n.p&&(n.p(),n.p=void 0),512&n.i&&Y((()=>S(n,!1))),n.i&=-517},P=()=>{x(z.documentElement),Y((()=>(n=>{const e=B.ce("appload",{detail:{namespace:"proto-icons-wc"}});return n.dispatchEvent(e),e})(_)))},x=n=>n.classList.add("hydrated"),E=(n,e,t)=>{if(e.k){const l=Object.entries(e.k),o=n.prototype;l.map((([n,[e]])=>{(31&e||2&t&&32&e)&&Object.defineProperty(o,n,{get(){return((n,e)=>L(this).C.get(e))(0,n)},set(e){((n,e,t)=>{const l=L(n),o=l.C.get(e),c=l.i,r=l.v;t=(n=>(null==n||s(n),n))(t),8&c&&void 0!==o||t===o||Number.isNaN(o)&&Number.isNaN(t)||(l.C.set(e,t),r&&2==(18&c)&&S(l,!1))})(this,n,e)},configurable:!0,enumerable:!0})}))}return n},N=(n,e={})=>{var t;const l=[],o=e.exclude||[],s=_.customElements,r=z.head,i=r.querySelector("meta[charset]"),u=z.createElement("style"),a=[];let d,$=!0;Object.assign(B,e),B.P=new URL(e.resourcesUrl||"./",z.baseURI).href,n.map((n=>{n[1].map((e=>{const t={i:e[0],m:e[1],k:e[2],N:e[3]};t.k=e[2];const c=t.m,r=class extends HTMLElement{constructor(n){super(n),U(n=this,t),1&t.i&&n.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),$?a.push(this):B.jmp((()=>(n=>{if(0==(1&B.i)){const e=L(n),t=e.S,l=()=>{};if(!(1&e.i)){e.i|=1;{let t=n;for(;t=t.parentNode||t.host;)if(t["s-p"]){g(e,e.h=t);break}}t.k&&Object.entries(t.k).map((([e,[t]])=>{if(31&t&&n.hasOwnProperty(e)){const t=n[e];delete n[e],n[e]=t}})),(async(n,e,t,l,o)=>{if(0==(32&e.i)){e.i|=32;{if((o=H(t)).then){const n=()=>{};o=await o,n()}o.isProxied||(E(o,t,2),o.isProxied=!0);const n=()=>{};e.i|=8;try{new o(e)}catch(n){q(n)}e.i&=-9,n()}if(o.style){let n=o.style;const e=f(t);if(!V.has(e)){const l=()=>{};((n,e,t)=>{let l=V.get(n);G&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=e:l.replaceSync(e)):l=e,V.set(n,l)})(e,n,!!(1&t.i)),l()}}}const s=e.h,c=()=>S(e,!0);s&&s["s-rc"]?s["s-rc"].push(c):c()})(0,e,t)}l()}})(this)))}disconnectedCallback(){B.jmp((()=>{}))}componentOnReady(){return L(this).T}};t.A=n[0],o.includes(c)||s.get(c)||(l.push(c),s.define(c,E(r,t,1)))}))}));{u.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",u.setAttribute("data-styles","");const n=null!==(t=B.j)&&void 0!==t?t:c(z);null!=n&&u.setAttribute("nonce",n),r.insertBefore(u,i?i.nextSibling:r.firstChild)}$=!1,a.length?a.map((n=>n.connectedCallback())):B.jmp((()=>d=setTimeout(P,30)))},T=n=>B.j=n,A=new WeakMap,L=n=>A.get(n),R=(n,e)=>A.set(e.v=n,e),U=(n,e)=>{const t={i:0,g:n,S:e,C:new Map};return t.T=new Promise((n=>t.M=n)),n["s-p"]=[],n["s-rc"]=[],A.set(n,t)},W=(n,e)=>e in n,q=(n,e)=>(0,console.error)(n,e),F=new Map,H=n=>{const e=n.m.replace(/-/g,"_"),t=n.A,l=F.get(t);return l?l[e]:import(`./${t}.entry.js`).then((n=>(F.set(t,n),n[e])),q)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},V=new Map,_="undefined"!=typeof window?window:{},z=_.document||{head:{}},B={i:0,P:"",jmp:n=>n(),raf:n=>requestAnimationFrame(n),ael:(n,e,t,l)=>n.addEventListener(e,t,l),rel:(n,e,t,l)=>n.removeEventListener(e,t,l),ce:(n,e)=>new CustomEvent(n,e)},D=n=>Promise.resolve(n),G=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(n){}return!1})(),I=[],J=[],K=(n,e)=>t=>{n.push(t),l||(l=!0,e&&4&B.i?Y(X):B.raf(X))},Q=n=>{for(let e=0;e<n.length;e++)try{n[e](performance.now())}catch(n){q(n)}n.length=0},X=()=>{Q(I),Q(J),(l=I.length>0)&&B.raf(X)},Y=n=>D().then(n),Z=K(J,!0);export{N as b,r as h,D as p,R as r,T as s}
|