@telia-ace/alliance-ui 1.0.0-beta.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/LICENSE.txt +6 -0
- package/README.md +182 -0
- package/dist/check-circle-filled.03dd4fa8.js +5 -0
- package/dist/check-circle-filled.03dd4fa8.js.map +1 -0
- package/dist/chevron-down.ea4a357f.js +5 -0
- package/dist/chevron-down.ea4a357f.js.map +1 -0
- package/dist/close.63145e8b.js +5 -0
- package/dist/close.63145e8b.js.map +1 -0
- package/dist/components/alliance-object-list-head.d.ts +8 -0
- package/dist/components/alliance-object-list-head.js +43 -0
- package/dist/components/alliance-object-list-head.js.map +1 -0
- package/dist/components/alliance-object-list-item.d.ts +6 -0
- package/dist/components/alliance-object-list-item.js +39 -0
- package/dist/components/alliance-object-list-item.js.map +1 -0
- package/dist/components/alliance-object-list-row.d.ts +7 -0
- package/dist/components/alliance-object-list-row.js +64 -0
- package/dist/components/alliance-object-list-row.js.map +1 -0
- package/dist/components/alliance-object-list.d.ts +13 -0
- package/dist/components/alliance-object-list.js +177 -0
- package/dist/components/alliance-object-list.js.map +1 -0
- package/dist/error-filled.e9871460.js +5 -0
- package/dist/error-filled.e9871460.js.map +1 -0
- package/dist/getSvgContent.574747aa.js +14 -0
- package/dist/getSvgContent.574747aa.js.map +1 -0
- package/dist/index.887fae41.js +533 -0
- package/dist/index.887fae41.js.map +1 -0
- package/dist/index.d5c12253.js +212 -0
- package/dist/index.d5c12253.js.map +1 -0
- package/dist/query-assigned-elements.ce962b7d.js +605 -0
- package/dist/query-assigned-elements.ce962b7d.js.map +1 -0
- package/dist/stringCombiner.723baccb.js +50 -0
- package/dist/stringCombiner.723baccb.js.map +1 -0
- package/dist/telia-button-text2.eaccd0fa.js +86 -0
- package/dist/telia-button-text2.eaccd0fa.js.map +1 -0
- package/dist/telia-card-frame2.5a37779b.js +35 -0
- package/dist/telia-card-frame2.5a37779b.js.map +1 -0
- package/dist/telia-divider.234d5cda.js +46 -0
- package/dist/telia-divider.234d5cda.js.map +1 -0
- package/dist/telia-field-assistive-text2.a2e95f9c.js +32 -0
- package/dist/telia-field-assistive-text2.a2e95f9c.js.map +1 -0
- package/dist/telia-field-error2.0224a8ba.js +40 -0
- package/dist/telia-field-error2.0224a8ba.js.map +1 -0
- package/dist/telia-field-valid2.12939372.js +39 -0
- package/dist/telia-field-valid2.12939372.js.map +1 -0
- package/dist/telia-heading2.d678c373.js +70 -0
- package/dist/telia-heading2.d678c373.js.map +1 -0
- package/dist/telia-icon2.d9c217d3.js +68 -0
- package/dist/telia-icon2.d9c217d3.js.map +1 -0
- package/dist/telia-label2.772a27dd.js +36 -0
- package/dist/telia-label2.772a27dd.js.map +1 -0
- package/dist/telia-link2.2dd5d63b.js +51 -0
- package/dist/telia-link2.2dd5d63b.js.map +1 -0
- package/dist/telia-navigation-button2.382f7720.js +44 -0
- package/dist/telia-navigation-button2.382f7720.js.map +1 -0
- package/dist/telia-style-link2.8e4c3e4e.js +55 -0
- package/dist/telia-style-link2.8e4c3e4e.js.map +1 -0
- package/dist/telia-style-navigation-item2.d4c167f1.js +44 -0
- package/dist/telia-style-navigation-item2.d4c167f1.js.map +1 -0
- package/dist/telia-tab-header2.ad6810c2.js +90 -0
- package/dist/telia-tab-header2.ad6810c2.js.map +1 -0
- package/dist/telia-visually-hidden2.eb0b21e9.js +34 -0
- package/dist/telia-visually-hidden2.eb0b21e9.js.map +1 -0
- package/dist/telia-vst2.e5fee7c3.js +41 -0
- package/dist/telia-vst2.e5fee7c3.js.map +1 -0
- package/dist/uniqueId.6afec4c5.js +5 -0
- package/dist/uniqueId.6afec4c5.js.map +1 -0
- package/dist/variables.a6d7935e.js +8 -0
- package/dist/variables.a6d7935e.js.map +1 -0
- package/dist/voca/components/telia-badge.d.ts +1 -0
- package/dist/voca/components/telia-badge.js +35 -0
- package/dist/voca/components/telia-badge.js.map +1 -0
- package/dist/voca/components/telia-button-text.d.ts +1 -0
- package/dist/voca/components/telia-button-text.js +6 -0
- package/dist/voca/components/telia-button-text.js.map +1 -0
- package/dist/voca/components/telia-button.d.ts +1 -0
- package/dist/voca/components/telia-button.js +74 -0
- package/dist/voca/components/telia-button.js.map +1 -0
- package/dist/voca/components/telia-card-frame-link.d.ts +1 -0
- package/dist/voca/components/telia-card-frame-link.js +46 -0
- package/dist/voca/components/telia-card-frame-link.js.map +1 -0
- package/dist/voca/components/telia-card-frame.d.ts +1 -0
- package/dist/voca/components/telia-card-frame.js +4 -0
- package/dist/voca/components/telia-card-frame.js.map +1 -0
- package/dist/voca/components/telia-checkbox.d.ts +1 -0
- package/dist/voca/components/telia-checkbox.js +92 -0
- package/dist/voca/components/telia-checkbox.js.map +1 -0
- package/dist/voca/components/telia-chip-choice.d.ts +1 -0
- package/dist/voca/components/telia-chip-choice.js +68 -0
- package/dist/voca/components/telia-chip-choice.js.map +1 -0
- package/dist/voca/components/telia-chip-filter.d.ts +1 -0
- package/dist/voca/components/telia-chip-filter.js +48 -0
- package/dist/voca/components/telia-chip-filter.js.map +1 -0
- package/dist/voca/components/telia-color-dot.d.ts +1 -0
- package/dist/voca/components/telia-color-dot.js +38 -0
- package/dist/voca/components/telia-color-dot.js.map +1 -0
- package/dist/voca/components/telia-cta-link.d.ts +1 -0
- package/dist/voca/components/telia-cta-link.js +56 -0
- package/dist/voca/components/telia-cta-link.js.map +1 -0
- package/dist/voca/components/telia-date-picker.d.ts +1 -0
- package/dist/voca/components/telia-date-picker.js +528 -0
- package/dist/voca/components/telia-date-picker.js.map +1 -0
- package/dist/voca/components/telia-divider.d.ts +1 -0
- package/dist/voca/components/telia-divider.js +4 -0
- package/dist/voca/components/telia-divider.js.map +1 -0
- package/dist/voca/components/telia-field-assistive-text.d.ts +1 -0
- package/dist/voca/components/telia-field-assistive-text.js +4 -0
- package/dist/voca/components/telia-field-assistive-text.js.map +1 -0
- package/dist/voca/components/telia-field-error.d.ts +1 -0
- package/dist/voca/components/telia-field-error.js +7 -0
- package/dist/voca/components/telia-field-error.js.map +1 -0
- package/dist/voca/components/telia-field-valid.d.ts +1 -0
- package/dist/voca/components/telia-field-valid.js +7 -0
- package/dist/voca/components/telia-field-valid.js.map +1 -0
- package/dist/voca/components/telia-fieldset.d.ts +1 -0
- package/dist/voca/components/telia-fieldset.js +53 -0
- package/dist/voca/components/telia-fieldset.js.map +1 -0
- package/dist/voca/components/telia-focus-trap.d.ts +1 -0
- package/dist/voca/components/telia-focus-trap.js +69 -0
- package/dist/voca/components/telia-focus-trap.js.map +1 -0
- package/dist/voca/components/telia-form.d.ts +1 -0
- package/dist/voca/components/telia-form.js +56 -0
- package/dist/voca/components/telia-form.js.map +1 -0
- package/dist/voca/components/telia-heading.d.ts +1 -0
- package/dist/voca/components/telia-heading.js +4 -0
- package/dist/voca/components/telia-heading.js.map +1 -0
- package/dist/voca/components/telia-icon.d.ts +1 -0
- package/dist/voca/components/telia-icon.js +5 -0
- package/dist/voca/components/telia-icon.js.map +1 -0
- package/dist/voca/components/telia-image.d.ts +1 -0
- package/dist/voca/components/telia-image.js +42 -0
- package/dist/voca/components/telia-image.js.map +1 -0
- package/dist/voca/components/telia-label.d.ts +1 -0
- package/dist/voca/components/telia-label.js +4 -0
- package/dist/voca/components/telia-label.js.map +1 -0
- package/dist/voca/components/telia-link-image.d.ts +1 -0
- package/dist/voca/components/telia-link-image.js +55 -0
- package/dist/voca/components/telia-link-image.js.map +1 -0
- package/dist/voca/components/telia-link.d.ts +1 -0
- package/dist/voca/components/telia-link.js +5 -0
- package/dist/voca/components/telia-link.js.map +1 -0
- package/dist/voca/components/telia-list.d.ts +1 -0
- package/dist/voca/components/telia-list.js +65 -0
- package/dist/voca/components/telia-list.js.map +1 -0
- package/dist/voca/components/telia-logo.d.ts +1 -0
- package/dist/voca/components/telia-logo.js +54 -0
- package/dist/voca/components/telia-logo.js.map +1 -0
- package/dist/voca/components/telia-navigation-button.d.ts +1 -0
- package/dist/voca/components/telia-navigation-button.js +5 -0
- package/dist/voca/components/telia-navigation-button.js.map +1 -0
- package/dist/voca/components/telia-navigation-dropdown.d.ts +1 -0
- package/dist/voca/components/telia-navigation-dropdown.js +68 -0
- package/dist/voca/components/telia-navigation-dropdown.js.map +1 -0
- package/dist/voca/components/telia-navigation-link.d.ts +1 -0
- package/dist/voca/components/telia-navigation-link.js +40 -0
- package/dist/voca/components/telia-navigation-link.js.map +1 -0
- package/dist/voca/components/telia-notification.d.ts +1 -0
- package/dist/voca/components/telia-notification.js +82 -0
- package/dist/voca/components/telia-notification.js.map +1 -0
- package/dist/voca/components/telia-overlay.d.ts +1 -0
- package/dist/voca/components/telia-overlay.js +31 -0
- package/dist/voca/components/telia-overlay.js.map +1 -0
- package/dist/voca/components/telia-p.d.ts +1 -0
- package/dist/voca/components/telia-p.js +45 -0
- package/dist/voca/components/telia-p.js.map +1 -0
- package/dist/voca/components/telia-pictogram.d.ts +1 -0
- package/dist/voca/components/telia-pictogram.js +92 -0
- package/dist/voca/components/telia-pictogram.js.map +1 -0
- package/dist/voca/components/telia-radio-button.d.ts +1 -0
- package/dist/voca/components/telia-radio-button.js +46 -0
- package/dist/voca/components/telia-radio-button.js.map +1 -0
- package/dist/voca/components/telia-select.d.ts +1 -0
- package/dist/voca/components/telia-select.js +114 -0
- package/dist/voca/components/telia-select.js.map +1 -0
- package/dist/voca/components/telia-skeleton.d.ts +1 -0
- package/dist/voca/components/telia-skeleton.js +32 -0
- package/dist/voca/components/telia-skeleton.js.map +1 -0
- package/dist/voca/components/telia-status-badge.d.ts +1 -0
- package/dist/voca/components/telia-status-badge.js +57 -0
- package/dist/voca/components/telia-status-badge.js.map +1 -0
- package/dist/voca/components/telia-style-link.d.ts +1 -0
- package/dist/voca/components/telia-style-link.js +4 -0
- package/dist/voca/components/telia-style-link.js.map +1 -0
- package/dist/voca/components/telia-style-navigation-item.d.ts +1 -0
- package/dist/voca/components/telia-style-navigation-item.js +4 -0
- package/dist/voca/components/telia-style-navigation-item.js.map +1 -0
- package/dist/voca/components/telia-tab-content.d.ts +1 -0
- package/dist/voca/components/telia-tab-content.js +36 -0
- package/dist/voca/components/telia-tab-content.js.map +1 -0
- package/dist/voca/components/telia-tab-header.d.ts +1 -0
- package/dist/voca/components/telia-tab-header.js +6 -0
- package/dist/voca/components/telia-tab-header.js.map +1 -0
- package/dist/voca/components/telia-tab.d.ts +1 -0
- package/dist/voca/components/telia-tab.js +146 -0
- package/dist/voca/components/telia-tab.js.map +1 -0
- package/dist/voca/components/telia-text-input.d.ts +1 -0
- package/dist/voca/components/telia-text-input.js +152 -0
- package/dist/voca/components/telia-text-input.js.map +1 -0
- package/dist/voca/components/telia-text-spacing.d.ts +1 -0
- package/dist/voca/components/telia-text-spacing.js +29 -0
- package/dist/voca/components/telia-text-spacing.js.map +1 -0
- package/dist/voca/components/telia-textarea.d.ts +1 -0
- package/dist/voca/components/telia-textarea.js +111 -0
- package/dist/voca/components/telia-textarea.js.map +1 -0
- package/dist/voca/components/telia-toggle.d.ts +1 -0
- package/dist/voca/components/telia-toggle.js +143 -0
- package/dist/voca/components/telia-toggle.js.map +1 -0
- package/dist/voca/components/telia-visually-hidden.d.ts +1 -0
- package/dist/voca/components/telia-visually-hidden.js +4 -0
- package/dist/voca/components/telia-visually-hidden.js.map +1 -0
- package/dist/voca/foundations/index.d.ts +2 -0
- package/dist/voca/foundations/index.js +15 -0
- package/dist/voca/foundations/index.js.map +1 -0
- package/dist/voca/icons/index.d.ts +1 -0
- package/dist/voca/icons/index.js +336 -0
- package/dist/voca/icons/index.js.map +1 -0
- package/package.json +50 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
const C = { name: "error-filled", svg: '<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" clip-rule="evenodd" d="M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z"/></svg>' };
|
|
2
|
+
export {
|
|
3
|
+
C as e
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=error-filled.e9871460.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error-filled.e9871460.js","sources":["../../node_modules/@teliads/components/dist/components/error-filled.js"],"sourcesContent":["const errorFilled = { \"name\": \"error-filled\", \"svg\": \"<svg viewBox=\\\"0 0 64 64\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" fill=\\\"currentColor\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" d=\\\"M58.2618 43.8838L38.8585 11.5469C37.4136 9.13651 34.8097 7.66134 31.9994 7.66113C29.1891 7.66093 26.585 9.13572 25.1397 11.5459L5.73642 43.8838C4.25367 46.3552 4.21482 49.4331 5.6347 51.9411C7.05459 54.4492 9.71372 55.9997 12.5958 56H51.4024C54.2845 55.9997 56.9436 54.4492 58.3635 51.9411C59.7834 49.4331 59.7446 46.3552 58.2618 43.8838ZM29.9991 36.9772V25.1569C29.9983 24.6198 30.1056 24.0879 30.3148 23.5932C30.486 23.1496 30.753 22.7494 31.0968 22.4209C31.339 22.1704 31.6666 22.0202 32.0145 22C32.5161 22 33.0173 22.3805 33.5182 23.1416C33.7901 23.4771 33.9573 23.8852 33.9991 24.3151V36.1354C33.9991 36.5759 33.6932 36.9969 33.0814 37.3982C32.4994 37.7897 31.814 37.9988 31.1126 37.999C30.3712 37.999 30 37.6584 29.9991 36.9772ZM34.2408 43.9236C34.173 43.4297 33.9757 42.9626 33.669 42.5696C33.1076 41.7469 32.566 41.3355 32.0444 41.3355C31.6396 41.354 31.2573 41.5266 30.9757 41.8179C30.593 42.1852 30.2954 42.6319 30.1039 43.1266C29.874 43.6743 29.7562 44.2625 29.7574 44.8565C29.7574 45.6189 30.1786 46 31.0208 46C31.8022 46.0001 32.5662 45.7697 33.2173 45.3377C33.8996 44.8957 34.2408 44.4243 34.2408 43.9236Z\\\"/></svg>\" };\n\nexport { errorFilled as e };\n"],"names":["errorFilled"],"mappings":"AAAK,MAACA,IAAc,EAAE,MAAQ,gBAAgB,KAAO,4uCAAuvC;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const o = (t = {}) => {
|
|
2
|
+
const { content: l = "", title: e, attributes: a = [] } = t;
|
|
3
|
+
let n = "", i = [
|
|
4
|
+
{ name: "xmlns", value: "http://www.w3.org/2000/svg" },
|
|
5
|
+
{ name: "fill", value: "currentColor" },
|
|
6
|
+
...a
|
|
7
|
+
];
|
|
8
|
+
return e && (n = `<title>${e}</title>`), `<svg ${i.map((r) => `${r.name}="${r.value}"`).join(" ")}>${n}${l}</svg>`;
|
|
9
|
+
}, g = (t) => t.replace(/<(\/?)svg([^>]*)>/g, "").trim();
|
|
10
|
+
export {
|
|
11
|
+
o as c,
|
|
12
|
+
g
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=getSvgContent.574747aa.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSvgContent.574747aa.js","sources":["../../node_modules/@teliads/components/dist/components/getSvgContent.js"],"sourcesContent":["/**\n * Build svg string with needed features like accessibility and custom attributes in svg element.\n */\nconst createSvg = (params = {}) => {\n const { content = '', title, attributes = [] } = params;\n let titleElement = '';\n let attributeCollection = [\n { name: 'xmlns', value: 'http://www.w3.org/2000/svg' },\n { name: 'fill', value: 'currentColor' },\n ...attributes,\n ];\n // If title is defined, add title functionality.\n if (title) {\n titleElement = `<title>${title}</title>`;\n }\n // Create string from array of attributes\n const attributesString = attributeCollection\n .map(item => `${item.name}=\"${item.value}\"`)\n .join(' ');\n return `<svg ${attributesString}>${titleElement}${content}</svg>`;\n};\n\n/**\n * Return content of svg element of full svg component string\n */\nconst getSvgContent = (svgString) => {\n // Remove svg tags\n return svgString.replace(/<(\\/?)svg([^>]*)>/g, '').trim();\n};\n\nexport { createSvg as c, getSvgContent as g };\n"],"names":["createSvg","params","content","title","attributes","titleElement","attributeCollection","item","getSvgContent","svgString"],"mappings":"AAGK,MAACA,IAAY,CAACC,IAAS,OAAO;AACjC,QAAM,EAAE,SAAAC,IAAU,IAAI,OAAAC,GAAO,YAAAC,IAAa,CAAA,EAAI,IAAGH;AACjD,MAAII,IAAe,IACfC,IAAsB;AAAA,IACxB,EAAE,MAAM,SAAS,OAAO,6BAA8B;AAAA,IACtD,EAAE,MAAM,QAAQ,OAAO,eAAgB;AAAA,IACvC,GAAGF;AAAA,EACP;AAEE,SAAID,MACFE,IAAe,UAAUF,cAMpB,QAHkBG,EACtB,IAAI,CAAAC,MAAQ,GAAGA,EAAK,SAASA,EAAK,QAAQ,EAC1C,KAAK,GAAG,KACwBF,IAAeH;AACpD,GAKMM,IAAgB,CAACC,MAEdA,EAAU,QAAQ,sBAAsB,EAAE,EAAE,KAAI;"}
|
|
@@ -0,0 +1,533 @@
|
|
|
1
|
+
const d = {
|
|
2
|
+
allRenderFn: !1,
|
|
3
|
+
cmpDidLoad: !0,
|
|
4
|
+
cmpDidUnload: !1,
|
|
5
|
+
cmpDidUpdate: !0,
|
|
6
|
+
cmpDidRender: !0,
|
|
7
|
+
cmpWillLoad: !0,
|
|
8
|
+
cmpWillUpdate: !0,
|
|
9
|
+
cmpWillRender: !0,
|
|
10
|
+
connectedCallback: !0,
|
|
11
|
+
disconnectedCallback: !0,
|
|
12
|
+
element: !0,
|
|
13
|
+
event: !0,
|
|
14
|
+
hasRenderFn: !0,
|
|
15
|
+
lifecycle: !0,
|
|
16
|
+
hostListener: !0,
|
|
17
|
+
hostListenerTargetWindow: !0,
|
|
18
|
+
hostListenerTargetDocument: !0,
|
|
19
|
+
hostListenerTargetBody: !0,
|
|
20
|
+
hostListenerTargetParent: !1,
|
|
21
|
+
hostListenerTarget: !0,
|
|
22
|
+
member: !0,
|
|
23
|
+
method: !0,
|
|
24
|
+
mode: !0,
|
|
25
|
+
observeAttribute: !0,
|
|
26
|
+
prop: !0,
|
|
27
|
+
propMutable: !0,
|
|
28
|
+
reflect: !0,
|
|
29
|
+
scoped: !0,
|
|
30
|
+
shadowDom: !0,
|
|
31
|
+
slot: !0,
|
|
32
|
+
cssAnnotations: !0,
|
|
33
|
+
state: !0,
|
|
34
|
+
style: !0,
|
|
35
|
+
svg: !0,
|
|
36
|
+
updatable: !0,
|
|
37
|
+
vdomAttribute: !0,
|
|
38
|
+
vdomXlink: !0,
|
|
39
|
+
vdomClass: !0,
|
|
40
|
+
vdomFunctional: !0,
|
|
41
|
+
vdomKey: !0,
|
|
42
|
+
vdomListener: !0,
|
|
43
|
+
vdomRef: !0,
|
|
44
|
+
vdomPropOrAttr: !0,
|
|
45
|
+
vdomRender: !0,
|
|
46
|
+
vdomStyle: !0,
|
|
47
|
+
vdomText: !0,
|
|
48
|
+
watchCallback: !0,
|
|
49
|
+
taskQueue: !0,
|
|
50
|
+
hotModuleReplacement: !1,
|
|
51
|
+
isDebug: !1,
|
|
52
|
+
isDev: !1,
|
|
53
|
+
isTesting: !1,
|
|
54
|
+
hydrateServerSide: !1,
|
|
55
|
+
hydrateClientSide: !1,
|
|
56
|
+
lifecycleDOMEvents: !1,
|
|
57
|
+
lazyLoad: !1,
|
|
58
|
+
profile: !1,
|
|
59
|
+
slotRelocation: !0,
|
|
60
|
+
appendChildSlotFix: !1,
|
|
61
|
+
cloneNodeFix: !1,
|
|
62
|
+
hydratedAttribute: !1,
|
|
63
|
+
hydratedClass: !0,
|
|
64
|
+
safari10: !1,
|
|
65
|
+
scriptDataOpts: !1,
|
|
66
|
+
scopedSlotTextContentFix: !1,
|
|
67
|
+
shadowDomShim: !1,
|
|
68
|
+
slotChildNodesFix: !1,
|
|
69
|
+
invisiblePrehydration: !0,
|
|
70
|
+
propBoolean: !0,
|
|
71
|
+
propNumber: !0,
|
|
72
|
+
propString: !0,
|
|
73
|
+
cssVarShim: !1,
|
|
74
|
+
constructableCSS: !0,
|
|
75
|
+
cmpShouldUpdate: !0,
|
|
76
|
+
devTools: !1,
|
|
77
|
+
dynamicImportShim: !1,
|
|
78
|
+
shadowDelegatesFocus: !0,
|
|
79
|
+
initializeNextTick: !1,
|
|
80
|
+
asyncLoading: !1,
|
|
81
|
+
asyncQueue: !1,
|
|
82
|
+
transformTagName: !1,
|
|
83
|
+
attachStyles: !0
|
|
84
|
+
};
|
|
85
|
+
let v, V, j, ee = !1, w = !1, F = !1, h = !1, _ = null, I = !1;
|
|
86
|
+
const L = typeof window < "u" ? window : {};
|
|
87
|
+
d.cssVarShim && L.CSS;
|
|
88
|
+
const m = L.document || { head: {} }, ot = L.HTMLElement || class {
|
|
89
|
+
}, p = {
|
|
90
|
+
$flags$: 0,
|
|
91
|
+
$resourcesUrl$: "",
|
|
92
|
+
jmp: (e) => e(),
|
|
93
|
+
raf: (e) => requestAnimationFrame(e),
|
|
94
|
+
ael: (e, t, s, n) => e.addEventListener(t, s, n),
|
|
95
|
+
rel: (e, t, s, n) => e.removeEventListener(t, s, n),
|
|
96
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
97
|
+
}, A = d.shadowDomShim && d.shadowDom ? /* @__PURE__ */ (() => (m.head.attachShadow + "").indexOf("[native") > -1)() : !0, ye = /* @__PURE__ */ (() => {
|
|
98
|
+
let e = !1;
|
|
99
|
+
try {
|
|
100
|
+
m.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
101
|
+
get() {
|
|
102
|
+
e = !0;
|
|
103
|
+
}
|
|
104
|
+
}));
|
|
105
|
+
} catch {
|
|
106
|
+
}
|
|
107
|
+
return e;
|
|
108
|
+
})(), me = (e) => Promise.resolve(e), Se = d.constructableCSS ? /* @__PURE__ */ (() => {
|
|
109
|
+
try {
|
|
110
|
+
return new CSSStyleSheet(), typeof new CSSStyleSheet().replace == "function";
|
|
111
|
+
} catch {
|
|
112
|
+
}
|
|
113
|
+
return !1;
|
|
114
|
+
})() : !1, te = (e, t, s, n) => {
|
|
115
|
+
s && s.map(([l, i, o]) => {
|
|
116
|
+
const r = ke(e, l), c = ve(t, o), a = be(l);
|
|
117
|
+
p.ael(r, i, c, a), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => p.rel(r, i, c, a));
|
|
118
|
+
});
|
|
119
|
+
}, ve = (e, t) => (s) => {
|
|
120
|
+
try {
|
|
121
|
+
d.lazyLoad || e.$hostElement$[t](s);
|
|
122
|
+
} catch (n) {
|
|
123
|
+
R(n);
|
|
124
|
+
}
|
|
125
|
+
}, ke = (e, t) => t & 4 ? m : t & 8 ? L : t & 16 ? m.body : e, be = (e) => ye ? {
|
|
126
|
+
passive: (e & 1) !== 0,
|
|
127
|
+
capture: (e & 2) !== 0
|
|
128
|
+
} : (e & 2) !== 0, H = "http://www.w3.org/1999/xlink", S = (e, t = "") => () => {
|
|
129
|
+
}, W = /* @__PURE__ */ new WeakMap(), xe = (e, t, s) => {
|
|
130
|
+
let n = C.get(e);
|
|
131
|
+
Se && s ? (n = n || new CSSStyleSheet(), n.replace(t)) : n = t, C.set(e, n);
|
|
132
|
+
}, Te = (e, t, s, n) => {
|
|
133
|
+
let l = se(t, s), i = C.get(l);
|
|
134
|
+
if (e = e.nodeType === 11 ? e : m, i)
|
|
135
|
+
if (typeof i == "string") {
|
|
136
|
+
e = e.head || e;
|
|
137
|
+
let o = W.get(e), r;
|
|
138
|
+
o || W.set(e, o = /* @__PURE__ */ new Set()), o.has(l) || (r = m.createElement("style"), r.innerHTML = i, e.insertBefore(r, e.querySelector("link")), o && o.add(l));
|
|
139
|
+
} else
|
|
140
|
+
e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
|
|
141
|
+
return l;
|
|
142
|
+
}, Le = (e) => {
|
|
143
|
+
const t = e.$cmpMeta$, s = e.$hostElement$, n = t.$flags$, l = S("attachStyles", t.$tagName$), i = Te(A && s.shadowRoot ? s.shadowRoot : s.getRootNode(), t, e.$modeName$);
|
|
144
|
+
n & 10 && (s["s-sc"] = i, s.classList.add(i + "-h"), n & 2 && s.classList.add(i + "-s")), l();
|
|
145
|
+
}, se = (e, t) => "sc-" + (t && e.$flags$ & 32 ? e.$tagName$ + "-" + t : e.$tagName$), Ee = (e) => tt.map((t) => t(e)).find((t) => !!t), z = {}, Re = "http://www.w3.org/2000/svg", Oe = "http://www.w3.org/1999/xhtml", De = (e) => e != null, M = (e) => (e = typeof e, e === "object" || e === "function"), ne = (e, t, ...s) => {
|
|
146
|
+
let n = null, l = null, i = null, o = !1, r = !1, c = [];
|
|
147
|
+
const a = (f) => {
|
|
148
|
+
for (let u = 0; u < f.length; u++)
|
|
149
|
+
n = f[u], Array.isArray(n) ? a(n) : n != null && typeof n != "boolean" && ((o = typeof e != "function" && !M(n)) && (n = String(n)), o && r ? c[c.length - 1].$text$ += n : c.push(o ? N(null, n) : n), r = o);
|
|
150
|
+
};
|
|
151
|
+
if (a(s), t && (d.isDev && e === "input" && Pe(t), d.vdomKey && t.key && (l = t.key), d.slotRelocation && t.name && (i = t.name), d.vdomClass)) {
|
|
152
|
+
const f = t.className || t.class;
|
|
153
|
+
f && (t.class = typeof f != "object" ? f : Object.keys(f).filter((u) => f[u]).join(" "));
|
|
154
|
+
}
|
|
155
|
+
if (d.isDev && c.some(le) && et(`The <Host> must be the single root component. Make sure:
|
|
156
|
+
- You are NOT using hostData() and <Host> in the same component.
|
|
157
|
+
- <Host> is used once, and it's the single root component of the render() function.`), d.vdomFunctional && typeof e == "function")
|
|
158
|
+
return e(t === null ? {} : t, c, Ae);
|
|
159
|
+
const $ = N(e, null);
|
|
160
|
+
return $.$attrs$ = t, c.length > 0 && ($.$children$ = c), d.vdomKey && ($.$key$ = l), d.slotRelocation && ($.$name$ = i), $;
|
|
161
|
+
}, N = (e, t) => {
|
|
162
|
+
const s = {
|
|
163
|
+
$flags$: 0,
|
|
164
|
+
$tag$: e,
|
|
165
|
+
$text$: t,
|
|
166
|
+
$elm$: null,
|
|
167
|
+
$children$: null
|
|
168
|
+
};
|
|
169
|
+
return d.vdomAttribute && (s.$attrs$ = null), d.vdomKey && (s.$key$ = null), d.slotRelocation && (s.$name$ = null), s;
|
|
170
|
+
}, we = {}, le = (e) => e && e.$tag$ === we, Ae = {
|
|
171
|
+
forEach: (e, t) => e.map(K).forEach(t),
|
|
172
|
+
map: (e, t) => e.map(K).map(t).map(Ne)
|
|
173
|
+
}, K = (e) => ({
|
|
174
|
+
vattrs: e.$attrs$,
|
|
175
|
+
vchildren: e.$children$,
|
|
176
|
+
vkey: e.$key$,
|
|
177
|
+
vname: e.$name$,
|
|
178
|
+
vtag: e.$tag$,
|
|
179
|
+
vtext: e.$text$
|
|
180
|
+
}), Ne = (e) => {
|
|
181
|
+
if (typeof e.vtag == "function") {
|
|
182
|
+
const s = Object.assign({}, e.vattrs);
|
|
183
|
+
return e.vkey && (s.key = e.vkey), e.vname && (s.name = e.vname), ne(e.vtag, s, ...e.vchildren || []);
|
|
184
|
+
}
|
|
185
|
+
const t = N(e.vtag, e.vtext);
|
|
186
|
+
return t.$attrs$ = e.vattrs, t.$children$ = e.vchildren, t.$key$ = e.vkey, t.$name$ = e.vname, t;
|
|
187
|
+
}, Pe = (e) => {
|
|
188
|
+
const t = Object.keys(e), s = t.indexOf("value");
|
|
189
|
+
if (s === -1)
|
|
190
|
+
return;
|
|
191
|
+
const n = t.indexOf("type"), l = t.indexOf("min"), i = t.indexOf("max"), o = t.indexOf("step");
|
|
192
|
+
(s < n || s < l || s < i || s < o) && he('The "value" prop of <input> should be set after "min", "max", "type" and "step"');
|
|
193
|
+
}, q = (e, t, s, n, l, i) => {
|
|
194
|
+
if (s !== n) {
|
|
195
|
+
let o = G(e, t), r = t.toLowerCase();
|
|
196
|
+
if (t === "class") {
|
|
197
|
+
const c = e.classList, a = Q(s), $ = Q(n);
|
|
198
|
+
c.remove(...a.filter((f) => f && !$.includes(f))), c.add(...$.filter((f) => f && !a.includes(f)));
|
|
199
|
+
} else if (t === "style") {
|
|
200
|
+
for (const c in s)
|
|
201
|
+
(!n || n[c] == null) && (c.includes("-") ? e.style.removeProperty(c) : e.style[c] = "");
|
|
202
|
+
for (const c in n)
|
|
203
|
+
(!s || n[c] !== s[c]) && (c.includes("-") ? e.style.setProperty(c, n[c]) : e.style[c] = n[c]);
|
|
204
|
+
} else if (t !== "key")
|
|
205
|
+
if (t === "ref")
|
|
206
|
+
n && n(e);
|
|
207
|
+
else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n")
|
|
208
|
+
t[2] === "-" ? t = t.slice(3) : G(L, r) ? t = r.slice(2) : t = r[2] + t.slice(3), s && p.rel(e, t, s, !1), n && p.ael(e, t, n, !1);
|
|
209
|
+
else {
|
|
210
|
+
const c = M(n);
|
|
211
|
+
if ((o || c && n !== null) && !l)
|
|
212
|
+
try {
|
|
213
|
+
if (e.tagName.includes("-"))
|
|
214
|
+
e[t] = n;
|
|
215
|
+
else {
|
|
216
|
+
let $ = n == null ? "" : n;
|
|
217
|
+
t === "list" ? o = !1 : (s == null || e[t] != $) && (e[t] = $);
|
|
218
|
+
}
|
|
219
|
+
} catch {
|
|
220
|
+
}
|
|
221
|
+
let a = !1;
|
|
222
|
+
r !== (r = r.replace(/^xlink\:?/, "")) && (t = r, a = !0), n == null || n === !1 ? (n !== !1 || e.getAttribute(t) === "") && (a ? e.removeAttributeNS(H, t) : e.removeAttribute(t)) : (!o || i & 4 || l) && !c && (n = n === !0 ? "" : n, a ? e.setAttributeNS(H, t, n) : e.setAttribute(t, n));
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}, Ce = /\s/, Q = (e) => e ? e.split(Ce) : [], oe = (e, t, s, n) => {
|
|
226
|
+
const l = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || z, o = t.$attrs$ || z;
|
|
227
|
+
for (n in i)
|
|
228
|
+
n in o || q(l, n, i[n], void 0, s, t.$flags$);
|
|
229
|
+
for (n in o)
|
|
230
|
+
q(l, n, i[n], o[n], s, t.$flags$);
|
|
231
|
+
}, P = (e, t, s, n) => {
|
|
232
|
+
let l = t.$children$[s], i = 0, o, r, c;
|
|
233
|
+
if (ee || (F = !0, l.$tag$ === "slot" && (v && n.classList.add(v + "-s"), l.$flags$ |= l.$children$ ? 2 : 1)), l.$text$ !== null)
|
|
234
|
+
o = l.$elm$ = m.createTextNode(l.$text$);
|
|
235
|
+
else if (l.$flags$ & 1)
|
|
236
|
+
o = l.$elm$ = m.createTextNode("");
|
|
237
|
+
else {
|
|
238
|
+
if (h || (h = l.$tag$ === "svg"), o = l.$elm$ = m.createElementNS(h ? Re : Oe, l.$flags$ & 2 ? "slot-fb" : l.$tag$), h && l.$tag$ === "foreignObject" && (h = !1), oe(null, l, h), De(v) && o["s-si"] !== v && o.classList.add(o["s-si"] = v), l.$children$)
|
|
239
|
+
for (i = 0; i < l.$children$.length; ++i)
|
|
240
|
+
r = P(e, l, i, o), r && o.appendChild(r);
|
|
241
|
+
l.$tag$ === "svg" ? h = !1 : o.tagName === "foreignObject" && (h = !0);
|
|
242
|
+
}
|
|
243
|
+
return o["s-hn"] = j, l.$flags$ & 3 && (o["s-sr"] = !0, o["s-cr"] = V, o["s-sn"] = l.$name$ || "", c = e && e.$children$ && e.$children$[s], c && c.$tag$ === l.$tag$ && e.$elm$ && T(e.$elm$, !1)), o;
|
|
244
|
+
}, T = (e, t) => {
|
|
245
|
+
p.$flags$ |= 1;
|
|
246
|
+
const s = e.childNodes;
|
|
247
|
+
for (let n = s.length - 1; n >= 0; n--) {
|
|
248
|
+
const l = s[n];
|
|
249
|
+
l["s-hn"] !== j && l["s-ol"] && (ce(l).insertBefore(l, U(l)), l["s-ol"].remove(), l["s-ol"] = void 0, F = !0), t && T(l, t);
|
|
250
|
+
}
|
|
251
|
+
p.$flags$ &= -2;
|
|
252
|
+
}, ie = (e, t, s, n, l, i) => {
|
|
253
|
+
let o = e["s-cr"] && e["s-cr"].parentNode || e, r;
|
|
254
|
+
for (o.shadowRoot && o.tagName === j && (o = o.shadowRoot); l <= i; ++l)
|
|
255
|
+
n[l] && (r = P(null, s, l, e), r && (n[l].$elm$ = r, o.insertBefore(r, U(t))));
|
|
256
|
+
}, re = (e, t, s, n, l) => {
|
|
257
|
+
for (; t <= s; ++t)
|
|
258
|
+
(n = e[t]) && (l = n.$elm$, fe(n), w = !0, l["s-ol"] ? l["s-ol"].remove() : T(l, !0), l.remove());
|
|
259
|
+
}, je = (e, t, s, n) => {
|
|
260
|
+
let l = 0, i = 0, o = 0, r = 0, c = t.length - 1, a = t[0], $ = t[c], f = n.length - 1, u = n[0], g = n[f], x, O;
|
|
261
|
+
for (; l <= c && i <= f; )
|
|
262
|
+
if (a == null)
|
|
263
|
+
a = t[++l];
|
|
264
|
+
else if ($ == null)
|
|
265
|
+
$ = t[--c];
|
|
266
|
+
else if (u == null)
|
|
267
|
+
u = n[++i];
|
|
268
|
+
else if (g == null)
|
|
269
|
+
g = n[--f];
|
|
270
|
+
else if (D(a, u))
|
|
271
|
+
k(a, u), a = t[++l], u = n[++i];
|
|
272
|
+
else if (D($, g))
|
|
273
|
+
k($, g), $ = t[--c], g = n[--f];
|
|
274
|
+
else if (D(a, g))
|
|
275
|
+
(a.$tag$ === "slot" || g.$tag$ === "slot") && T(a.$elm$.parentNode, !1), k(a, g), e.insertBefore(a.$elm$, $.$elm$.nextSibling), a = t[++l], g = n[--f];
|
|
276
|
+
else if (D($, u))
|
|
277
|
+
(a.$tag$ === "slot" || g.$tag$ === "slot") && T($.$elm$.parentNode, !1), k($, u), e.insertBefore($.$elm$, a.$elm$), $ = t[--c], u = n[++i];
|
|
278
|
+
else {
|
|
279
|
+
for (o = -1, r = l; r <= c; ++r)
|
|
280
|
+
if (t[r] && t[r].$key$ !== null && t[r].$key$ === u.$key$) {
|
|
281
|
+
o = r;
|
|
282
|
+
break;
|
|
283
|
+
}
|
|
284
|
+
o >= 0 ? (O = t[o], O.$tag$ !== u.$tag$ ? x = P(t && t[i], s, o, e) : (k(O, u), t[o] = void 0, x = O.$elm$), u = n[++i]) : (x = P(t && t[i], s, i, e), u = n[++i]), x && ce(a.$elm$).insertBefore(x, U(a.$elm$));
|
|
285
|
+
}
|
|
286
|
+
l > c ? ie(e, n[f + 1] == null ? null : n[f + 1].$elm$, s, n, i, f) : i > f && re(t, l, c);
|
|
287
|
+
}, D = (e, t) => e.$tag$ === t.$tag$ ? e.$tag$ === "slot" ? e.$name$ === t.$name$ : e.$key$ === t.$key$ : !1, U = (e) => e && e["s-ol"] || e, ce = (e) => (e["s-ol"] ? e["s-ol"] : e).parentNode, k = (e, t) => {
|
|
288
|
+
const s = t.$elm$ = e.$elm$, n = e.$children$, l = t.$children$, i = t.$tag$, o = t.$text$;
|
|
289
|
+
let r;
|
|
290
|
+
o === null ? (h = i === "svg" ? !0 : i === "foreignObject" ? !1 : h, i === "slot" || oe(e, t, h), n !== null && l !== null ? je(s, n, t, l) : l !== null ? (e.$text$ !== null && (s.textContent = ""), ie(s, null, t, l, 0, l.length - 1)) : n !== null && re(n, 0, n.length - 1), h && i === "svg" && (h = !1)) : (r = s["s-cr"]) ? r.parentNode.textContent = o : e.$text$ !== o && (s.data = o);
|
|
291
|
+
}, ae = (e) => {
|
|
292
|
+
let t = e.childNodes, s, n, l, i, o, r;
|
|
293
|
+
for (n = 0, l = t.length; n < l; n++)
|
|
294
|
+
if (s = t[n], s.nodeType === 1) {
|
|
295
|
+
if (s["s-sr"]) {
|
|
296
|
+
for (o = s["s-sn"], s.hidden = !1, i = 0; i < l; i++)
|
|
297
|
+
if (r = t[i].nodeType, t[i]["s-hn"] !== s["s-hn"] || o !== "") {
|
|
298
|
+
if (r === 1 && o === t[i].getAttribute("slot")) {
|
|
299
|
+
s.hidden = !0;
|
|
300
|
+
break;
|
|
301
|
+
}
|
|
302
|
+
} else if (r === 1 || r === 3 && t[i].textContent.trim() !== "") {
|
|
303
|
+
s.hidden = !0;
|
|
304
|
+
break;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
ae(s);
|
|
308
|
+
}
|
|
309
|
+
}, y = [], $e = (e) => {
|
|
310
|
+
let t, s, n, l, i, o, r = 0, c = e.childNodes, a = c.length;
|
|
311
|
+
for (; r < a; r++) {
|
|
312
|
+
if (t = c[r], t["s-sr"] && (s = t["s-cr"]) && s.parentNode)
|
|
313
|
+
for (n = s.parentNode.childNodes, l = t["s-sn"], o = n.length - 1; o >= 0; o--)
|
|
314
|
+
s = n[o], !s["s-cn"] && !s["s-nr"] && s["s-hn"] !== t["s-hn"] && (X(s, l) ? (i = y.find(($) => $.$nodeToRelocate$ === s), w = !0, s["s-sn"] = s["s-sn"] || l, i ? i.$slotRefNode$ = t : y.push({
|
|
315
|
+
$slotRefNode$: t,
|
|
316
|
+
$nodeToRelocate$: s
|
|
317
|
+
}), s["s-sr"] && y.map(($) => {
|
|
318
|
+
X($.$nodeToRelocate$, s["s-sn"]) && (i = y.find((f) => f.$nodeToRelocate$ === s), i && !$.$slotRefNode$ && ($.$slotRefNode$ = i.$slotRefNode$));
|
|
319
|
+
})) : y.some(($) => $.$nodeToRelocate$ === s) || y.push({
|
|
320
|
+
$nodeToRelocate$: s
|
|
321
|
+
}));
|
|
322
|
+
t.nodeType === 1 && $e(t);
|
|
323
|
+
}
|
|
324
|
+
}, X = (e, t) => e.nodeType === 1 ? e.getAttribute("slot") === null && t === "" || e.getAttribute("slot") === t : e["s-sn"] === t ? !0 : t === "", fe = (e) => {
|
|
325
|
+
e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(fe);
|
|
326
|
+
}, Ie = (e, t) => {
|
|
327
|
+
const s = e.$hostElement$, n = e.$cmpMeta$, l = e.$vnode$ || N(null, null), i = le(t) ? t : ne(null, null, t);
|
|
328
|
+
j = s.tagName, n.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, n.$attrsToReflect$.map(([o, r]) => i.$attrs$[r] = s[o])), i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = l.$elm$ = s.shadowRoot || s, v = s["s-sc"], V = s["s-cr"], ee = A && (n.$flags$ & 1) !== 0, w = !1, k(l, i);
|
|
329
|
+
{
|
|
330
|
+
if (p.$flags$ |= 1, F) {
|
|
331
|
+
$e(i.$elm$);
|
|
332
|
+
let o, r, c, a, $, f, u = 0;
|
|
333
|
+
for (; u < y.length; u++)
|
|
334
|
+
o = y[u], r = o.$nodeToRelocate$, r["s-ol"] || (c = m.createTextNode(""), c["s-nr"] = r, r.parentNode.insertBefore(r["s-ol"] = c, r));
|
|
335
|
+
for (u = 0; u < y.length; u++)
|
|
336
|
+
if (o = y[u], r = o.$nodeToRelocate$, o.$slotRefNode$) {
|
|
337
|
+
for (a = o.$slotRefNode$.parentNode, $ = o.$slotRefNode$.nextSibling, c = r["s-ol"]; c = c.previousSibling; )
|
|
338
|
+
if (f = c["s-nr"], f && f["s-sn"] === r["s-sn"] && a === f.parentNode && (f = f.nextSibling, !f || !f["s-nr"])) {
|
|
339
|
+
$ = f;
|
|
340
|
+
break;
|
|
341
|
+
}
|
|
342
|
+
(!$ && a !== r.parentNode || r.nextSibling !== $) && r !== $ && (!r["s-hn"] && r["s-ol"] && (r["s-hn"] = r["s-ol"].parentNode.nodeName), a.insertBefore(r, $));
|
|
343
|
+
} else
|
|
344
|
+
r.nodeType === 1 && (r.hidden = !0);
|
|
345
|
+
}
|
|
346
|
+
w && ae(i.$elm$), p.$flags$ &= -2, y.length = 0;
|
|
347
|
+
}
|
|
348
|
+
}, Be = (e) => d.lazyLoad ? E(e).$hostElement$ : e, it = (e, t, s) => {
|
|
349
|
+
const n = Be(e);
|
|
350
|
+
return {
|
|
351
|
+
emit: (l) => (d.isDev && !n.isConnected && he(`The "${t}" event was emitted, but the dispatcher node is no longer connected to the dom.`), Fe(n, t, {
|
|
352
|
+
bubbles: !!(s & 4),
|
|
353
|
+
composed: !!(s & 2),
|
|
354
|
+
cancelable: !!(s & 1),
|
|
355
|
+
detail: l
|
|
356
|
+
}))
|
|
357
|
+
};
|
|
358
|
+
}, Fe = (e, t, s) => {
|
|
359
|
+
const n = p.ce(t, s);
|
|
360
|
+
return e.dispatchEvent(n), n;
|
|
361
|
+
}, Me = (e, t) => {
|
|
362
|
+
}, de = (e, t) => (e.$flags$ |= 16, Me(e, e.$ancestorComponent$), lt(() => Ue(e, t))), Ue = (e, t) => {
|
|
363
|
+
const s = e.$hostElement$, n = S("scheduleUpdate", e.$cmpMeta$.$tagName$), l = s;
|
|
364
|
+
let i;
|
|
365
|
+
return t ? i = b(l, "componentWillLoad") : i = b(l, "componentWillUpdate"), i = Y(i, () => b(l, "componentWillRender")), n(), Y(i, () => _e(e, l, t));
|
|
366
|
+
}, _e = async (e, t, s) => {
|
|
367
|
+
const n = e.$hostElement$, l = S("update", e.$cmpMeta$.$tagName$);
|
|
368
|
+
n["s-rc"], s && Le(e);
|
|
369
|
+
const i = S("render", e.$cmpMeta$.$tagName$);
|
|
370
|
+
He(e, t, n), i(), l(), We(e);
|
|
371
|
+
}, He = (e, t, s) => {
|
|
372
|
+
try {
|
|
373
|
+
_ = t, t = t.render && t.render(), e.$flags$ &= -17, e.$flags$ |= 2, (d.hasRenderFn || d.reflect) && (d.vdomRender || d.reflect) && (d.hydrateServerSide || Ie(e, t));
|
|
374
|
+
} catch (r) {
|
|
375
|
+
R(r, e.$hostElement$);
|
|
376
|
+
}
|
|
377
|
+
return _ = null, null;
|
|
378
|
+
}, We = (e) => {
|
|
379
|
+
const t = e.$cmpMeta$.$tagName$, s = e.$hostElement$, n = S("postUpdate", t), l = s;
|
|
380
|
+
e.$ancestorComponent$, b(l, "componentDidRender"), e.$flags$ & 64 ? (b(l, "componentDidUpdate"), n()) : (e.$flags$ |= 64, b(l, "componentDidLoad"), n());
|
|
381
|
+
}, b = (e, t, s) => {
|
|
382
|
+
if (e && e[t])
|
|
383
|
+
try {
|
|
384
|
+
return e[t](s);
|
|
385
|
+
} catch (n) {
|
|
386
|
+
R(n);
|
|
387
|
+
}
|
|
388
|
+
}, Y = (e, t) => e && e.then ? e.then(t) : t(), ze = (e, t) => e != null && !M(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 2 ? parseFloat(e) : t & 1 ? String(e) : e : e, Ke = (e, t) => E(e).$instanceValues$.get(t), qe = (e, t, s, n) => {
|
|
389
|
+
const l = E(e), i = e, o = l.$instanceValues$.get(t), r = l.$flags$, c = i;
|
|
390
|
+
s = ze(s, n.$members$[t][0]);
|
|
391
|
+
const a = Number.isNaN(o) && Number.isNaN(s);
|
|
392
|
+
if (s !== o && !a) {
|
|
393
|
+
l.$instanceValues$.set(t, s);
|
|
394
|
+
{
|
|
395
|
+
if (n.$watchers$ && r & 128) {
|
|
396
|
+
const f = n.$watchers$[t];
|
|
397
|
+
f && f.map((u) => {
|
|
398
|
+
try {
|
|
399
|
+
c[u](s, o, t);
|
|
400
|
+
} catch (g) {
|
|
401
|
+
R(g, i);
|
|
402
|
+
}
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
if ((r & 18) === 2) {
|
|
406
|
+
if (c.componentShouldUpdate && c.componentShouldUpdate(s, o, t) === !1)
|
|
407
|
+
return;
|
|
408
|
+
de(l, !1);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}, Qe = (e, t, s) => {
|
|
413
|
+
if (t.$members$) {
|
|
414
|
+
e.watchers && (t.$watchers$ = e.watchers);
|
|
415
|
+
const n = Object.entries(t.$members$), l = e.prototype;
|
|
416
|
+
n.map(([i, [o]]) => {
|
|
417
|
+
(o & 31 || o & 32) && Object.defineProperty(l, i, {
|
|
418
|
+
get() {
|
|
419
|
+
return Ke(this, i);
|
|
420
|
+
},
|
|
421
|
+
set(r) {
|
|
422
|
+
qe(this, i, r, t);
|
|
423
|
+
},
|
|
424
|
+
configurable: !0,
|
|
425
|
+
enumerable: !0
|
|
426
|
+
});
|
|
427
|
+
});
|
|
428
|
+
{
|
|
429
|
+
const i = /* @__PURE__ */ new Map();
|
|
430
|
+
l.attributeChangedCallback = function(o, r, c) {
|
|
431
|
+
p.jmp(() => {
|
|
432
|
+
const a = i.get(o);
|
|
433
|
+
if (this.hasOwnProperty(a))
|
|
434
|
+
c = this[a], delete this[a];
|
|
435
|
+
else if (l.hasOwnProperty(a) && typeof this[a] == "number" && this[a] == c)
|
|
436
|
+
return;
|
|
437
|
+
this[a] = c === null && typeof this[a] == "boolean" ? !1 : c;
|
|
438
|
+
});
|
|
439
|
+
}, e.observedAttributes = n.filter(([o, r]) => r[0] & 15).map(([o, r]) => {
|
|
440
|
+
const c = r[1] || o;
|
|
441
|
+
return i.set(c, o), r[0] & 512 && t.$attrsToReflect$.push([o, c]), c;
|
|
442
|
+
});
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
return e;
|
|
446
|
+
}, Xe = async (e, t, s, n, l) => {
|
|
447
|
+
if ((t.$flags$ & 32) === 0 && (l = e.constructor, t.$flags$ |= 32, customElements.whenDefined(s.$tagName$).then(() => t.$flags$ |= 128), l.style)) {
|
|
448
|
+
let o = l.style;
|
|
449
|
+
typeof o != "string" && (o = o[t.$modeName$ = Ee(e)]);
|
|
450
|
+
const r = se(s, t.$modeName$);
|
|
451
|
+
if (!C.has(r)) {
|
|
452
|
+
const c = S("registerStyles", s.$tagName$);
|
|
453
|
+
xe(r, o, !!(s.$flags$ & 1)), c();
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
t.$ancestorComponent$, (() => de(t, !0))();
|
|
457
|
+
}, Ye = (e) => {
|
|
458
|
+
}, Ge = (e) => {
|
|
459
|
+
if ((p.$flags$ & 1) === 0) {
|
|
460
|
+
const t = E(e), s = t.$cmpMeta$, n = S("connectedCallback", s.$tagName$);
|
|
461
|
+
t.$flags$ & 1 ? (te(e, t, s.$listeners$), Ye(t.$lazyInstance$)) : (t.$flags$ |= 1, s.$flags$ & 12 && Je(e), s.$members$ && Object.entries(s.$members$).map(([l, [i]]) => {
|
|
462
|
+
if (i & 31 && e.hasOwnProperty(l)) {
|
|
463
|
+
const o = e[l];
|
|
464
|
+
delete e[l], e[l] = o;
|
|
465
|
+
}
|
|
466
|
+
}), Xe(e, t, s)), n();
|
|
467
|
+
}
|
|
468
|
+
}, Je = (e) => {
|
|
469
|
+
const t = e["s-cr"] = m.createComment("");
|
|
470
|
+
t["s-cn"] = !0, e.insertBefore(t, e.firstChild);
|
|
471
|
+
}, Ze = (e) => {
|
|
472
|
+
if ((p.$flags$ & 1) === 0) {
|
|
473
|
+
const t = E(e);
|
|
474
|
+
t.$rmListeners$ && (t.$rmListeners$.map((s) => s()), t.$rmListeners$ = void 0);
|
|
475
|
+
}
|
|
476
|
+
}, rt = (e, t) => {
|
|
477
|
+
const s = {
|
|
478
|
+
$flags$: t[0],
|
|
479
|
+
$tagName$: t[1]
|
|
480
|
+
};
|
|
481
|
+
d.member && (s.$members$ = t[2]), d.hostListener && (s.$listeners$ = t[3]), d.watchCallback && (s.$watchers$ = e.$watchers$), d.reflect && (s.$attrsToReflect$ = []), d.shadowDom && !A && s.$flags$ & 1 && (s.$flags$ |= 8);
|
|
482
|
+
const n = e.prototype.connectedCallback, l = e.prototype.disconnectedCallback;
|
|
483
|
+
return Object.assign(e.prototype, {
|
|
484
|
+
__registerHost() {
|
|
485
|
+
Ve(this, s);
|
|
486
|
+
},
|
|
487
|
+
connectedCallback() {
|
|
488
|
+
Ge(this), d.connectedCallback && n && n.call(this);
|
|
489
|
+
},
|
|
490
|
+
disconnectedCallback() {
|
|
491
|
+
Ze(this), d.disconnectedCallback && l && l.call(this);
|
|
492
|
+
},
|
|
493
|
+
__attachShadow() {
|
|
494
|
+
A ? d.shadowDelegatesFocus ? this.attachShadow({
|
|
495
|
+
mode: "open",
|
|
496
|
+
delegatesFocus: !!(s.$flags$ & 16)
|
|
497
|
+
}) : this.attachShadow({ mode: "open" }) : this.shadowRoot = this;
|
|
498
|
+
}
|
|
499
|
+
}), e.is = s.$tagName$, Qe(e, s);
|
|
500
|
+
}, ct = (e, t) => t, ue = /* @__PURE__ */ new WeakMap(), E = (e) => ue.get(e), Ve = (e, t) => {
|
|
501
|
+
const s = {
|
|
502
|
+
$flags$: 0,
|
|
503
|
+
$hostElement$: e,
|
|
504
|
+
$cmpMeta$: t,
|
|
505
|
+
$instanceValues$: /* @__PURE__ */ new Map()
|
|
506
|
+
};
|
|
507
|
+
return d.isDev && (s.$renderCount$ = 0), d.method && d.lazyLoad && (s.$onInstancePromise$ = new Promise((n) => s.$onInstanceResolve$ = n)), d.asyncLoading && (s.$onReadyPromise$ = new Promise((n) => s.$onReadyResolve$ = n), e["s-p"] = [], e["s-rc"] = []), te(e, s, t.$listeners$), ue.set(e, s);
|
|
508
|
+
}, G = (e, t) => t in e, R = (e, t) => (0, console.error)(e, t), pe = d.isTesting ? ["STENCIL:"] : [
|
|
509
|
+
"%cstencil",
|
|
510
|
+
"color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
|
|
511
|
+
], et = (...e) => console.error(...pe, ...e), he = (...e) => console.warn(...pe, ...e), C = /* @__PURE__ */ new Map(), tt = [], J = [], ge = [], st = (e, t) => (s) => {
|
|
512
|
+
e.push(s), I || (I = !0, t && p.$flags$ & 4 ? nt(B) : p.raf(B));
|
|
513
|
+
}, Z = (e) => {
|
|
514
|
+
for (let t = 0; t < e.length; t++)
|
|
515
|
+
try {
|
|
516
|
+
e[t](performance.now());
|
|
517
|
+
} catch (s) {
|
|
518
|
+
R(s);
|
|
519
|
+
}
|
|
520
|
+
e.length = 0;
|
|
521
|
+
}, B = () => {
|
|
522
|
+
Z(J), Z(ge), (I = J.length > 0) && p.raf(B);
|
|
523
|
+
}, nt = (e) => me().then(e), lt = /* @__PURE__ */ st(ge, !0);
|
|
524
|
+
d.isDev, d.isTesting;
|
|
525
|
+
export {
|
|
526
|
+
ct as F,
|
|
527
|
+
ot as H,
|
|
528
|
+
we as a,
|
|
529
|
+
it as c,
|
|
530
|
+
ne as h,
|
|
531
|
+
rt as p
|
|
532
|
+
};
|
|
533
|
+
//# sourceMappingURL=index.887fae41.js.map
|