@jumpgroup/jump-design-system 0.0.2 → 0.1.1
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/app-button.cjs.entry.js +1 -1
- package/dist/cjs/app-button.cjs.entry.js.map +1 -1
- package/dist/cjs/app-icon.cjs.entry.js +1 -1
- package/dist/cjs/app-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/{index-95f2f619.js → index-168ed626.js} +21 -11
- package/dist/cjs/index-168ed626.js.map +1 -0
- package/dist/cjs/jump-design-system.cjs.js +2 -5
- package/dist/cjs/jump-design-system.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -10
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/app-button/app-button.js +1 -1
- package/dist/collection/components/app-button/app-button.stories.js +1 -1
- package/dist/collection/components/app-button/test/app-button.e2e.js +10 -0
- package/dist/collection/components/app-button/test/app-button.e2e.js.map +1 -0
- package/dist/collection/components/app-button/test/app-button.spec.js +18 -0
- package/dist/collection/components/app-button/test/app-button.spec.js.map +1 -0
- package/dist/collection/components/app-icon/app-icon.js +2 -2
- package/dist/collection/components/app-icon/app-icon.stories.js +1 -1
- package/dist/collection/components/app-icon/test/app-icon.e2e.js +10 -0
- package/dist/collection/components/app-icon/test/app-icon.e2e.js.map +1 -0
- package/dist/collection/components/app-icon/test/app-icon.spec.js +18 -0
- package/dist/collection/components/app-icon/test/app-icon.spec.js.map +1 -0
- package/dist/collection/utils/utils.spec.js +16 -0
- package/dist/collection/utils/utils.spec.js.map +1 -0
- package/dist/components/app-button.js.map +1 -1
- package/dist/components/app-icon.js.map +1 -1
- package/dist/esm/app-button.entry.js +1 -1
- package/dist/esm/app-button.entry.js.map +1 -1
- package/dist/esm/app-icon.entry.js +1 -1
- package/dist/esm/app-icon.entry.js.map +1 -1
- package/dist/esm/{index-4c9cac2b.js → index-330d1de1.js} +21 -11
- package/dist/esm/index-330d1de1.js.map +1 -0
- package/dist/esm/jump-design-system.js +3 -6
- package/dist/esm/jump-design-system.js.map +1 -1
- package/dist/esm/loader.js +2 -11
- package/dist/esm/loader.js.map +1 -1
- package/dist/jump-design-system/jump-design-system.esm.js +1 -1
- package/dist/jump-design-system/jump-design-system.esm.js.map +1 -1
- package/dist/jump-design-system/p-28b9ffd5.js +3 -0
- package/dist/jump-design-system/p-28b9ffd5.js.map +1 -0
- package/dist/jump-design-system/{p-08fde855.entry.js → p-90bb231d.entry.js} +2 -2
- package/dist/jump-design-system/p-90bb231d.entry.js.map +1 -0
- package/dist/jump-design-system/{p-771ebb2a.entry.js → p-e8515cce.entry.js} +2 -2
- package/dist/jump-design-system/p-e8515cce.entry.js.map +1 -0
- package/dist/jump-design-system-elements.json +70 -0
- package/dist/types/stencil-public-runtime.d.ts +2 -0
- package/package.json +18 -17
- package/dist/cjs/index-95f2f619.js.map +0 -1
- package/dist/esm/index-4c9cac2b.js.map +0 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/jump-design-system/p-08fde855.entry.js.map +0 -1
- package/dist/jump-design-system/p-771ebb2a.entry.js.map +0 -1
- package/dist/jump-design-system/p-fce83307.js +0 -3
- package/dist/jump-design-system/p-fce83307.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"jump-design-system.js","mappings":";;;AAAA;AACA;AACA;
|
|
1
|
+
{"file":"jump-design-system.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAyB3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;AChCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.0.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,18 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { s as setNonce } from './index-
|
|
3
|
-
|
|
4
|
-
/*
|
|
5
|
-
Stencil Client Patch Esm v3.2.2 | MIT Licensed | https://stenciljs.com
|
|
6
|
-
*/
|
|
7
|
-
const patchEsm = () => {
|
|
8
|
-
return promiseResolve();
|
|
9
|
-
};
|
|
1
|
+
import { b as bootstrapLazy } from './index-330d1de1.js';
|
|
2
|
+
export { s as setNonce } from './index-330d1de1.js';
|
|
10
3
|
|
|
11
4
|
const defineCustomElements = (win, options) => {
|
|
12
5
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
|
-
return patchEsm().then(() => {
|
|
14
6
|
return bootstrapLazy([["app-button",[[4,"app-button",{"disabled":[4],"variant":[513],"outline":[516],"size":[513],"pill":[516],"text":[516],"onlyIcon":[516,"only-icon"]}]]],["app-icon",[[0,"app-icon",{"name":[1],"class":[1]}]]]], options);
|
|
15
|
-
});
|
|
16
7
|
};
|
|
17
8
|
|
|
18
9
|
export { defineCustomElements };
|
package/dist/esm/loader.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"loader.js","mappings":";;;
|
|
1
|
+
{"file":"loader.js","mappings":";;;AAGY,MAAC,oBAAoB,GAAG,CAAC,GAAG,EAAE,OAAO,KAAK;AACtD,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC;AAE9D,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D;;;;","names":[],"sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = (win, options) => {\n if (typeof window === 'undefined') return Promise.resolve();\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"version":3}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as o,b as
|
|
1
|
+
import{p as o,b as n}from"./p-28b9ffd5.js";export{s as setNonce}from"./p-28b9ffd5.js";const t=()=>{const n=import.meta.url;const t={};if(n!==""){t.resourcesUrl=new URL(".",n).href}return o(t)};t().then((o=>n([["p-90bb231d",[[4,"app-button",{disabled:[4],variant:[513],outline:[516],size:[513],pill:[516],text:[516],onlyIcon:[516,"only-icon"]}]]],["p-e8515cce",[[0,"app-icon",{name:[1],class:[1]}]]]],o)));
|
|
2
2
|
//# sourceMappingURL=jump-design-system.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","disabled","variant","outline","size","pill","text","onlyIcon","name","class"],"sources":["
|
|
1
|
+
{"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","options","bootstrapLazy","disabled","variant","outline","size","pill","text","onlyIcon","name","class"],"sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.0.1 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"sFAKA,MAAMA,EAAe,KAyBjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACnBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACrD,CACI,OAAOC,EAAeJ,EAAK,EC/B/BH,IAAeQ,MAAKC,GAEXC,EAAc,gCAA8B,CAAAC,SAAS,IAAAC,QAAA,MAAAC,QAAA,MAAAC,KAAA,MAAAC,KAAA,MAAAC,KAAA,MAAAC,SAAA,oDAAAC,KAAA,IAAAC,MAAA,SAAAV"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
const t="jump-design-system";let e;let n;let s=false;let l=false;let o=false;let c=false;let i=false;const f=(t,e="")=>{{return()=>{}}};const r=(t,e)=>{{return()=>{}}};const u="{visibility:hidden}.hydrated{visibility:inherit}";const a={};const d=t=>{t=typeof t;return t==="object"||t==="function"};function $(t){var e,n,s;return(s=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&s!==void 0?s:undefined}const h=(t,e,...n)=>{let s=null;let l=null;let o=false;let c=false;const i=[];const f=e=>{for(let n=0;n<e.length;n++){s=e[n];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!d(s)){s=String(s)}if(o&&c){i[i.length-1].t+=s}else{i.push(o?p(null,s):s)}c=o}}};f(n);if(e){if(e.name){l=e.name}{const t=e.className||e.class;if(t){e.class=typeof t!=="object"?t:Object.keys(t).filter((e=>t[e])).join(" ")}}}const r=p(t,null);r.l=e;if(i.length>0){r.o=i}{r.i=l}return r};const p=(t,e)=>{const n={u:0,$:t,t:e,h:null,o:null};{n.l=null}{n.i=null}return n};const y={};const m=t=>t&&t.$===y;const b=(t,e)=>{if(t!=null&&!d(t)){if(e&4){return t==="false"?false:t===""||!!t}if(e&1){return String(t)}return t}return t};const w=(t,e,n)=>{const s=St.ce(e,n);t.dispatchEvent(s);return s};const S=new WeakMap;const g=(t,e,n)=>{let s=mt.get(t);if(vt&&n){s=s||new CSSStyleSheet;if(typeof s==="string"){s=e}else{s.replaceSync(e)}}else{s=e}mt.set(t,s)};const v=(t,e,n)=>{var s;const l=k(e);const o=mt.get(l);t=t.nodeType===11?t:wt;if(o){if(typeof o==="string"){t=t.head||t;let e=S.get(t);let n;if(!e){S.set(t,e=new Set)}if(!e.has(l)){{n=wt.createElement("style");n.innerHTML=o;const e=(s=St.p)!==null&&s!==void 0?s:$(wt);if(e!=null){n.setAttribute("nonce",e)}t.insertBefore(n,t.querySelector("link"))}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const j=t=>{const e=t.m;const n=t.S;const s=f("attachStyles",e.g);v(n.getRootNode(),e);s()};const k=(t,e)=>"sc-"+t.g;const M=(t,e,n,s,l,o)=>{if(n!==s){let c=$t(t,e);e.toLowerCase();if(e==="class"){const e=t.classList;const l=O(n);const o=O(s);e.remove(...l.filter((t=>t&&!o.includes(t))));e.add(...o.filter((t=>t&&!l.includes(t))))}else{const i=d(s);if((c||i&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(e==="list"){c=false}else if(n==null||t[e]!=l){t[e]=l}}else{t[e]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(e)===""){{t.removeAttribute(e)}}}else if((!c||o&4||l)&&!i){s=s===true?"":s;{t.setAttribute(e,s)}}}}};const C=/\s/;const O=t=>!t?[]:t.split(C);const P=(t,e,n,s)=>{const l=e.h.nodeType===11&&e.h.host?e.h.host:e.h;const o=t&&t.l||a;const c=e.l||a;{for(s in o){if(!(s in c)){M(l,s,o[s],undefined,n,e.u)}}}for(s in c){M(l,s,o[s],c[s],n,e.u)}};const R=(t,l,i,f)=>{const r=l.o[i];let u=0;let a;let d;let $;if(!s){o=true;if(r.$==="slot"){r.u|=r.o?2:1}}if(r.t!==null){a=r.h=wt.createTextNode(r.t)}else if(r.u&1){a=r.h=wt.createTextNode("")}else{a=r.h=wt.createElement(r.u&2?"slot-fb":r.$);{P(null,r,c)}if(r.o){for(u=0;u<r.o.length;++u){d=R(t,r,u);if(d){a.appendChild(d)}}}}{a["s-hn"]=n;if(r.u&(2|1)){a["s-sr"]=true;a["s-cr"]=e;a["s-sn"]=r.i||"";$=t&&t.o&&t.o[i];if($&&$.$===r.$&&t.h){T(t.h,false)}}}return a};const T=(t,e)=>{St.u|=1;const s=t.childNodes;for(let t=s.length-1;t>=0;t--){const l=s[t];if(l["s-hn"]!==n&&l["s-ol"]){A(l).insertBefore(l,L(l));l["s-ol"].remove();l["s-ol"]=undefined;o=true}if(e){T(l,e)}}St.u&=~1};const N=(t,e,n,s,l,o)=>{let c=t["s-cr"]&&t["s-cr"].parentNode||t;let i;for(;l<=o;++l){if(s[l]){i=R(null,n,l);if(i){s[l].h=i;c.insertBefore(i,L(e))}}}};const U=(t,e,n)=>{for(let s=e;s<=n;++s){const e=t[s];if(e){const t=e.h;if(t){{l=true;if(t["s-ol"]){t["s-ol"].remove()}else{T(t,true)}}t.remove()}}}};const x=(t,e,n,s)=>{let l=0;let o=0;let c=e.length-1;let i=e[0];let f=e[c];let r=s.length-1;let u=s[0];let a=s[r];let d;while(l<=c&&o<=r){if(i==null){i=e[++l]}else if(f==null){f=e[--c]}else if(u==null){u=s[++o]}else if(a==null){a=s[--r]}else if(E(i,u)){H(i,u);i=e[++l];u=s[++o]}else if(E(f,a)){H(f,a);f=e[--c];a=s[--r]}else if(E(i,a)){if(i.$==="slot"||a.$==="slot"){T(i.h.parentNode,false)}H(i,a);t.insertBefore(i.h,f.h.nextSibling);i=e[++l];a=s[--r]}else if(E(f,u)){if(i.$==="slot"||a.$==="slot"){T(f.h.parentNode,false)}H(f,u);t.insertBefore(f.h,i.h);f=e[--c];u=s[++o]}else{{d=R(e&&e[o],n,o);u=s[++o]}if(d){{A(i.h).insertBefore(d,L(i.h))}}}}if(l>c){N(t,s[r+1]==null?null:s[r+1].h,n,s,o,r)}else if(o>r){U(e,l,c)}};const E=(t,e)=>{if(t.$===e.$){if(t.$==="slot"){return t.i===e.i}return true}return false};const L=t=>t&&t["s-ol"]||t;const A=t=>(t["s-ol"]?t["s-ol"]:t).parentNode;const H=(t,e)=>{const n=e.h=t.h;const s=t.o;const l=e.o;const o=e.$;const i=e.t;let f;if(i===null){{if(o==="slot");else{P(t,e,c)}}if(s!==null&&l!==null){x(n,s,e,l)}else if(l!==null){if(t.t!==null){n.textContent=""}N(n,null,e,l,0,l.length-1)}else if(s!==null){U(s,0,s.length-1)}}else if(f=n["s-cr"]){f.parentNode.textContent=i}else if(t.t!==i){n.data=i}};const W=t=>{const e=t.childNodes;let n;let s;let l;let o;let c;let i;for(s=0,l=e.length;s<l;s++){n=e[s];if(n.nodeType===1){if(n["s-sr"]){c=n["s-sn"];n.hidden=false;for(o=0;o<l;o++){i=e[o].nodeType;if(e[o]["s-hn"]!==n["s-hn"]||c!==""){if(i===1&&c===e[o].getAttribute("slot")){n.hidden=true;break}}else{if(i===1||i===3&&e[o].textContent.trim()!==""){n.hidden=true;break}}}}W(n)}}};const q=[];const D=t=>{let e;let n;let s;let o;let c;let i;let f=0;const r=t.childNodes;const u=r.length;for(;f<u;f++){e=r[f];if(e["s-sr"]&&(n=e["s-cr"])&&n.parentNode){s=n.parentNode.childNodes;o=e["s-sn"];for(i=s.length-1;i>=0;i--){n=s[i];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==e["s-hn"]){if(F(n,o)){c=q.find((t=>t.v===n));l=true;n["s-sn"]=n["s-sn"]||o;if(c){c.j=e}else{q.push({j:e,v:n})}if(n["s-sr"]){q.map((t=>{if(F(t.v,n["s-sn"])){c=q.find((t=>t.v===n));if(c&&!t.j){t.j=c.j}}}))}}else if(!q.some((t=>t.v===n))){q.push({v:n})}}}}if(e.nodeType===1){D(e)}}};const F=(t,e)=>{if(t.nodeType===1){if(t.getAttribute("slot")===null&&e===""){return true}if(t.getAttribute("slot")===e){return true}return false}if(t["s-sn"]===e){return true}return e===""};const I=(t,c)=>{const i=t.S;const f=t.m;const r=t.k||p(null,null);const u=m(c)?c:h(null,null,c);n=i.tagName;if(f.M){u.l=u.l||{};f.M.map((([t,e])=>u.l[e]=i[t]))}u.$=null;u.u|=4;t.k=u;u.h=r.h=i;{e=i["s-cr"];s=(f.u&1)!==0;l=false}H(r,u);{St.u|=1;if(o){D(u.h);let t;let e;let n;let s;let l;let o;let c=0;for(;c<q.length;c++){t=q[c];e=t.v;if(!e["s-ol"]){n=wt.createTextNode("");n["s-nr"]=e;e.parentNode.insertBefore(e["s-ol"]=n,e)}}for(c=0;c<q.length;c++){t=q[c];e=t.v;if(t.j){s=t.j.parentNode;l=t.j.nextSibling;n=e["s-ol"];while(n=n.previousSibling){o=n["s-nr"];if(o&&o["s-sn"]===e["s-sn"]&&s===o.parentNode){o=o.nextSibling;if(!o||!o["s-nr"]){l=o;break}}}if(!l&&s!==e.parentNode||e.nextSibling!==l){if(e!==l){if(!e["s-hn"]&&e["s-ol"]){e["s-hn"]=e["s-ol"].parentNode.nodeName}s.insertBefore(e,l)}}}else{if(e.nodeType===1){e.hidden=true}}}}if(l){W(u.h)}St.u&=~1;q.length=0}};const V=(t,e)=>{if(e&&!t.C&&e["s-p"]){e["s-p"].push(new Promise((e=>t.C=e)))}};const _=(t,e)=>{{t.u|=16}if(t.u&4){t.u|=512;return}V(t,t.O);const n=()=>z(t,e);return Rt(n)};const z=(t,e)=>{const n=f("scheduleUpdate",t.m.g);const s=t.P;let l;n();return B(l,(()=>J(t,s,e)))};const B=(t,e)=>G(t)?t.then(e):e();const G=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const J=async(t,e,n)=>{var s;const l=t.S;const o=f("update",t.m.g);const c=l["s-rc"];if(n){j(t)}const i=f("render",t.m.g);{K(t,e)}if(c){c.map((t=>t()));l["s-rc"]=undefined}i();o();{const e=(s=l["s-p"])!==null&&s!==void 0?s:[];const n=()=>Q(t);if(e.length===0){n()}else{Promise.all(e).then(n);t.u|=4;e.length=0}}};const K=(t,e,n)=>{try{e=e.render();{t.u&=~16}{t.u|=2}{{{I(t,e)}}}}catch(e){ht(e,t.S)}return null};const Q=t=>{const e=t.m.g;const n=t.S;const s=f("postUpdate",e);const l=t.P;const o=t.O;if(!(t.u&64)){t.u|=64;{Z(n)}{Y(l,"componentDidLoad")}s();{t.R(n);if(!o){X()}}}else{s()}{if(t.C){t.C();t.C=undefined}if(t.u&512){Pt((()=>_(t,false)))}t.u&=~(4|512)}};const X=e=>{{Z(wt.documentElement)}Pt((()=>w(bt,"appload",{detail:{namespace:t}})))};const Y=(t,e,n)=>{if(t&&t[e]){try{return t[e](n)}catch(t){ht(t)}}return undefined};const Z=t=>t.classList.add("hydrated");const tt=(t,e)=>ut(t).T.get(e);const et=(t,e,n,s)=>{const l=ut(t);const o=l.T.get(e);const c=l.u;const i=l.P;n=b(n,s.N[e][0]);const f=Number.isNaN(o)&&Number.isNaN(n);const r=n!==o&&!f;if((!(c&8)||o===undefined)&&r){l.T.set(e,n);if(i){if((c&(2|16))===2){_(l,false)}}}};const nt=(t,e,n)=>{if(e.N){const s=Object.entries(e.N);const l=t.prototype;s.map((([t,[s]])=>{if(s&31||n&2&&s&32){Object.defineProperty(l,t,{get(){return tt(this,t)},set(n){et(this,t,n,e)},configurable:true,enumerable:true})}}));if(n&1){const n=new Map;l.attributeChangedCallback=function(t,e,s){St.jmp((()=>{const e=n.get(t);if(this.hasOwnProperty(e)){s=this[e];delete this[e]}else if(l.hasOwnProperty(e)&&typeof this[e]==="number"&&this[e]==s){return}this[e]=s===null&&typeof this[e]==="boolean"?false:s}))};t.observedAttributes=s.filter((([t,e])=>e[0]&15)).map((([t,s])=>{const l=s[1]||t;n.set(l,t);if(s[0]&512){e.M.push([t,l])}return l}))}}return t};const st=async(t,e,n,s,l)=>{if((e.u&32)===0){e.u|=32;{l=yt(n);if(l.then){const t=r();l=await l;t()}if(!l.isProxied){nt(l,n,2);l.isProxied=true}const t=f("createInstance",n.g);{e.u|=8}try{new l(e)}catch(t){ht(t)}{e.u&=~8}t()}if(l.style){let t=l.style;const e=k(n);if(!mt.has(e)){const s=f("registerStyles",n.g);g(e,t,!!(n.u&1));s()}}}const o=e.O;const c=()=>_(e,true);if(o&&o["s-rc"]){o["s-rc"].push(c)}else{c()}};const lt=t=>{if((St.u&1)===0){const e=ut(t);const n=e.m;const s=f("connectedCallback",n.g);if(!(e.u&1)){e.u|=1;{if(n.u&(4|8)){ot(t)}}{let n=t;while(n=n.parentNode||n.host){if(n["s-p"]){V(e,e.O=n);break}}}if(n.N){Object.entries(n.N).map((([e,[n]])=>{if(n&31&&t.hasOwnProperty(e)){const n=t[e];delete t[e];t[e]=n}}))}{st(t,e,n)}}s()}};const ot=t=>{const e=t["s-cr"]=wt.createComment("");e["s-cn"]=true;t.insertBefore(e,t.firstChild)};const ct=t=>{if((St.u&1)===0){ut(t)}};const it=(t,e={})=>{var n;const s=f();const l=[];const o=e.exclude||[];const c=bt.customElements;const i=wt.head;const r=i.querySelector("meta[charset]");const a=wt.createElement("style");const d=[];let h;let p=true;Object.assign(St,e);St.U=new URL(e.resourcesUrl||"./",wt.baseURI).href;t.map((t=>{t[1].map((e=>{const n={u:e[0],g:e[1],N:e[2],L:e[3]};{n.N=e[2]}{n.M=[]}const s=n.g;const i=class extends HTMLElement{constructor(t){super(t);t=this;dt(t,n)}connectedCallback(){if(h){clearTimeout(h);h=null}if(p){d.push(this)}else{St.jmp((()=>lt(this)))}}disconnectedCallback(){St.jmp((()=>ct(this)))}componentOnReady(){return ut(this).A}};n.H=t[0];if(!o.includes(s)&&!c.get(s)){l.push(s);c.define(s,nt(i,n,1))}}))}));{a.innerHTML=l+u;a.setAttribute("data-styles","");const t=(n=St.p)!==null&&n!==void 0?n:$(wt);if(t!=null){a.setAttribute("nonce",t)}i.insertBefore(a,r?r.nextSibling:i.firstChild)}p=false;if(d.length){d.map((t=>t.connectedCallback()))}else{{St.jmp((()=>h=setTimeout(X,30)))}}s()};const ft=t=>St.p=t;const rt=new WeakMap;const ut=t=>rt.get(t);const at=(t,e)=>rt.set(e.P=t,e);const dt=(t,e)=>{const n={u:0,S:t,m:e,T:new Map};{n.A=new Promise((t=>n.R=t));t["s-p"]=[];t["s-rc"]=[]}return rt.set(t,n)};const $t=(t,e)=>e in t;const ht=(t,e)=>(0,console.error)(t,e);const pt=new Map;const yt=(t,e,n)=>{const s=t.g.replace(/-/g,"_");const l=t.H;const o=pt.get(l);if(o){return o[s]}
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{pt.set(l,t)}return t[s]}),ht)};const mt=new Map;const bt=typeof window!=="undefined"?window:{};const wt=bt.document||{head:{}};const St={u:0,U:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,s)=>t.addEventListener(e,n,s),rel:(t,e,n,s)=>t.removeEventListener(e,n,s),ce:(t,e)=>new CustomEvent(t,e)};const gt=t=>Promise.resolve(t);const vt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const jt=[];const kt=[];const Mt=(t,e)=>n=>{t.push(n);if(!i){i=true;if(e&&St.u&4){Pt(Ot)}else{St.raf(Ot)}}};const Ct=t=>{for(let e=0;e<t.length;e++){try{t[e](performance.now())}catch(t){ht(t)}}t.length=0};const Ot=()=>{Ct(jt);{Ct(kt);if(i=jt.length>0){St.raf(Ot)}}};const Pt=t=>gt().then(t);const Rt=Mt(kt,true);export{y as H,it as b,h,gt as p,at as r,ft as s};
|
|
3
|
+
//# sourceMappingURL=p-28b9ffd5.js.map
|