q2-tecton-elements 1.58.2 → 1.58.3
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/bundle-report.json +440 -434
- package/dist/cjs/app-globals-V2Kpy_OQ.js +8 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -0
- package/dist/cjs/click-elsewhere.cjs.entry.js +1 -1
- package/dist/cjs/{index-zMAVnBYO.js → index-JnAD7tEB.js} +24 -147
- package/dist/cjs/index-JnAD7tEB.js.map +1 -0
- package/dist/cjs/{index-DRPUzMCR.js → index-rwi7bp0v.js} +35 -3
- package/dist/cjs/index-rwi7bp0v.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/q2-action-group_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-action-sheet.cjs.entry.js +2 -2
- package/dist/cjs/q2-avatar.cjs.entry.js +1 -1
- package/dist/cjs/q2-badge_7.cjs.entry.js +3 -3
- package/dist/cjs/q2-calendar.cjs.entry.js +2 -2
- package/dist/cjs/q2-card.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-carousel.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-area.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-bar.cjs.entry.js +2 -2
- package/dist/cjs/q2-chart-donut.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/q2-context.cjs.entry.js +2 -2
- package/dist/cjs/q2-currency.cjs.entry.js +1 -1
- package/dist/cjs/q2-data-table.cjs.entry.js +2 -2
- package/dist/cjs/q2-detail.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-dropdown.cjs.entry.js +5 -3
- package/dist/cjs/q2-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-dropdown.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-editable-field.cjs.entry.js +2 -2
- package/dist/cjs/q2-example.cjs.entry.js +1 -1
- package/dist/cjs/q2-file-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-form.cjs.entry.js +1 -1
- package/dist/cjs/q2-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid-area.cjs.entry.js +1 -1
- package/dist/cjs/q2-grid.cjs.entry.js +1 -1
- package/dist/cjs/q2-item.cjs.entry.js +2 -2
- package/dist/cjs/q2-legend.cjs.entry.js +1 -1
- package/dist/cjs/q2-link_2.cjs.entry.js +2 -2
- package/dist/cjs/q2-loading-element.cjs.entry.js +2 -2
- package/dist/cjs/q2-loc.cjs.entry.js +2 -2
- package/dist/cjs/q2-message.cjs.entry.js +2 -2
- package/dist/cjs/q2-modal.cjs.entry.js +2 -2
- package/dist/cjs/q2-month-picker.cjs.entry.js +2 -2
- package/dist/cjs/q2-optgroup.cjs.entry.js +2 -2
- package/dist/cjs/q2-option-list.q2-popover.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-option-list_2.cjs.entry.js +20 -15
- package/dist/cjs/q2-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-option.cjs.entry.js +2 -2
- package/dist/cjs/q2-pagination.cjs.entry.js +2 -2
- package/dist/cjs/q2-pill.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio-group.cjs.entry.js +2 -2
- package/dist/cjs/q2-radio.cjs.entry.js +2 -2
- package/dist/cjs/q2-relative-time.cjs.entry.js +2 -2
- package/dist/cjs/q2-section.cjs.entry.js +2 -2
- package/dist/cjs/q2-select.cjs.entry.js +44 -4
- package/dist/cjs/q2-select.cjs.entry.js.map +1 -1
- package/dist/cjs/q2-select.entry.cjs.js.map +1 -1
- package/dist/cjs/q2-stepper-pane.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper-vertical.cjs.entry.js +2 -2
- package/dist/cjs/q2-stepper.cjs.entry.js +2 -2
- package/dist/cjs/q2-tag.cjs.entry.js +2 -2
- package/dist/cjs/q2-tecton-elements.cjs.js +4 -24
- package/dist/cjs/q2-tecton-elements.cjs.js.map +1 -1
- package/dist/cjs/q2-textarea.cjs.entry.js +2 -2
- package/dist/cjs/q2-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/{shapes-DDw2Fhwn.js → shapes-CUFxQAvI.js} +3 -3
- package/dist/cjs/{shapes-DDw2Fhwn.js.map → shapes-CUFxQAvI.js.map} +1 -1
- package/dist/cjs/tecton-tab-pane.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js +3 -1
- package/dist/collection/components/q2-dropdown/q2-dropdown.js.map +1 -1
- package/dist/collection/components/q2-popover/q2-popover.js +19 -14
- package/dist/collection/components/q2-popover/q2-popover.js.map +1 -1
- package/dist/collection/components/q2-select/q2-select.js +42 -2
- package/dist/collection/components/q2-select/q2-select.js.map +1 -1
- package/dist/collection/utils/index.js +34 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/components/index2.js +32 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/q2-dropdown.js +3 -1
- package/dist/components/q2-dropdown.js.map +1 -1
- package/dist/components/q2-popover2.js +19 -14
- package/dist/components/q2-popover2.js.map +1 -1
- package/dist/components/q2-select2.js +43 -3
- package/dist/components/q2-select2.js.map +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js +6 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/esm/click-elsewhere.entry.js +1 -1
- package/dist/esm/{index-C7zSUT3M.js → index-COzomxjJ.js} +25 -146
- package/dist/esm/index-COzomxjJ.js.map +1 -0
- package/dist/esm/{index-y0xcWkDl.js → index-EcLnUn1d.js} +35 -4
- package/dist/esm/index-EcLnUn1d.js.map +1 -0
- package/dist/esm/loader.js +3 -2
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/q2-action-group_2.entry.js +2 -2
- package/dist/esm/q2-action-sheet.entry.js +2 -2
- package/dist/esm/q2-avatar.entry.js +1 -1
- package/dist/esm/q2-badge_7.entry.js +3 -3
- package/dist/esm/q2-calendar.entry.js +2 -2
- package/dist/esm/q2-card.entry.js +2 -2
- package/dist/esm/q2-carousel-pane.entry.js +2 -2
- package/dist/esm/q2-carousel.entry.js +2 -2
- package/dist/esm/q2-chart-area.entry.js +2 -2
- package/dist/esm/q2-chart-bar.entry.js +2 -2
- package/dist/esm/q2-chart-donut.entry.js +2 -2
- package/dist/esm/q2-checkbox-group.entry.js +2 -2
- package/dist/esm/q2-checkbox.entry.js +2 -2
- package/dist/esm/q2-context.entry.js +2 -2
- package/dist/esm/q2-currency.entry.js +1 -1
- package/dist/esm/q2-data-table.entry.js +2 -2
- package/dist/esm/q2-detail.entry.js +2 -2
- package/dist/esm/q2-dropdown-item.entry.js +2 -2
- package/dist/esm/q2-dropdown.entry.js +5 -3
- package/dist/esm/q2-dropdown.entry.js.map +1 -1
- package/dist/esm/q2-editable-field.entry.js +2 -2
- package/dist/esm/q2-example.entry.js +1 -1
- package/dist/esm/q2-file-picker.entry.js +2 -2
- package/dist/esm/q2-form.entry.js +1 -1
- package/dist/esm/q2-formatted-text.entry.js +1 -1
- package/dist/esm/q2-grid-area.entry.js +1 -1
- package/dist/esm/q2-grid.entry.js +1 -1
- package/dist/esm/q2-item.entry.js +2 -2
- package/dist/esm/q2-legend.entry.js +1 -1
- package/dist/esm/q2-link_2.entry.js +2 -2
- package/dist/esm/q2-loading-element.entry.js +2 -2
- package/dist/esm/q2-loc.entry.js +2 -2
- package/dist/esm/q2-message.entry.js +2 -2
- package/dist/esm/q2-modal.entry.js +2 -2
- package/dist/esm/q2-month-picker.entry.js +2 -2
- package/dist/esm/q2-optgroup.entry.js +2 -2
- package/dist/esm/q2-option-list.q2-popover.entry.js.map +1 -1
- package/dist/esm/q2-option-list_2.entry.js +20 -15
- package/dist/esm/q2-option-list_2.entry.js.map +1 -1
- package/dist/esm/q2-option.entry.js +2 -2
- package/dist/esm/q2-pagination.entry.js +2 -2
- package/dist/esm/q2-pill.entry.js +2 -2
- package/dist/esm/q2-radio-group.entry.js +2 -2
- package/dist/esm/q2-radio.entry.js +2 -2
- package/dist/esm/q2-relative-time.entry.js +2 -2
- package/dist/esm/q2-section.entry.js +2 -2
- package/dist/esm/q2-select.entry.js +44 -4
- package/dist/esm/q2-select.entry.js.map +1 -1
- package/dist/esm/q2-stepper-pane.entry.js +2 -2
- package/dist/esm/q2-stepper-vertical.entry.js +2 -2
- package/dist/esm/q2-stepper.entry.js +2 -2
- package/dist/esm/q2-tag.entry.js +2 -2
- package/dist/esm/q2-tecton-elements.js +4 -24
- package/dist/esm/q2-tecton-elements.js.map +1 -1
- package/dist/esm/q2-textarea.entry.js +2 -2
- package/dist/esm/q2-tooltip.entry.js +2 -2
- package/dist/esm/{shapes-DO0UnuKe.js → shapes-BrIjALih.js} +3 -3
- package/dist/esm/{shapes-DO0UnuKe.js.map → shapes-BrIjALih.js.map} +1 -1
- package/dist/esm/tecton-tab-pane.entry.js +1 -1
- package/dist/jest.setup.js +11 -0
- package/dist/jest.setup.js.map +1 -1
- package/dist/q2-tecton-elements/app-globals-DQuL1Twl.js +5 -0
- package/dist/q2-tecton-elements/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/q2-tecton-elements/click-elsewhere.entry.js +1 -1
- package/dist/q2-tecton-elements/{index-C7zSUT3M.js → index-COzomxjJ.js} +465 -585
- package/dist/q2-tecton-elements/index-COzomxjJ.js.map +1 -0
- package/dist/q2-tecton-elements/{index-y0xcWkDl.js → index-EcLnUn1d.js} +72 -47
- package/dist/q2-tecton-elements/index-EcLnUn1d.js.map +1 -0
- package/dist/q2-tecton-elements/loader.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-action-group_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-action-sheet.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-avatar.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-badge_7.entry.js +53 -53
- package/dist/q2-tecton-elements/q2-calendar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-card.entry.js +35 -35
- package/dist/q2-tecton-elements/q2-carousel-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-carousel.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-area.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-bar.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-chart-donut.entry.js +10 -10
- package/dist/q2-tecton-elements/q2-checkbox-group.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-checkbox.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-context.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-currency.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-data-table.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-detail.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-dropdown-item.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-dropdown.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-dropdown.entry.js +16 -14
- package/dist/q2-tecton-elements/q2-dropdown.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-editable-field.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-example.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-file-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-form.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-formatted-text.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-grid-area.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-grid.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-item.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-legend.entry.js +1 -1
- package/dist/q2-tecton-elements/q2-link_2.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loading-element.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-loc.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-message.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-modal.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-month-picker.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-optgroup.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-option-list.q2-popover.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js +52 -47
- package/dist/q2-tecton-elements/q2-option-list_2.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-option.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-pagination.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-pill.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-radio-group.entry.js +24 -24
- package/dist/q2-tecton-elements/q2-radio.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-relative-time.entry.js +5 -5
- package/dist/q2-tecton-elements/q2-section.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-select.entry.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-select.entry.js +43 -4
- package/dist/q2-tecton-elements/q2-select.entry.js.map +1 -1
- package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-stepper.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-tag.entry.js +2 -2
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js +11 -31
- package/dist/q2-tecton-elements/q2-tecton-elements.esm.js.map +1 -1
- package/dist/q2-tecton-elements/q2-textarea.entry.js +4 -4
- package/dist/q2-tecton-elements/q2-tooltip.entry.js +2 -2
- package/dist/q2-tecton-elements/{shapes-DO0UnuKe.js → shapes-BrIjALih.js} +3 -3
- package/dist/q2-tecton-elements/{shapes-DO0UnuKe.js.map → shapes-BrIjALih.js.map} +1 -1
- package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +1 -1
- package/dist/types/builds/q2e/development/tecton/tecton/packages/q2-tecton-elements/.stencil/jest.setup.d.ts +9 -0
- package/dist/types/components/q2-select/q2-select.d.ts +4 -0
- package/dist/types/stencil-public-runtime.d.ts +1 -1
- package/dist/types/utils/index.d.ts +2 -0
- package/package.json +4 -4
- package/dist/cjs/index-DRPUzMCR.js.map +0 -1
- package/dist/cjs/index-zMAVnBYO.js.map +0 -1
- package/dist/esm/index-C7zSUT3M.js.map +0 -1
- package/dist/esm/index-y0xcWkDl.js.map +0 -1
- package/dist/q2-tecton-elements/index-C7zSUT3M.js.map +0 -1
- package/dist/q2-tecton-elements/index-y0xcWkDl.js.map +0 -1
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
const e = "q2-tecton-elements";
|
|
2
2
|
|
|
3
3
|
const t = /* q2-tecton-elements */ {
|
|
4
|
-
experimentalSlotFixes: true,
|
|
5
4
|
hydratedSelectorName: "stencil-hydrated",
|
|
6
5
|
lazyLoad: true,
|
|
7
6
|
slotRelocation: true,
|
|
8
7
|
updatable: true
|
|
9
8
|
};
|
|
10
9
|
|
|
11
|
-
const globalScripts = () => {};
|
|
12
|
-
|
|
13
|
-
const n = "";
|
|
14
|
-
|
|
15
10
|
/*
|
|
16
|
-
Stencil Client Platform v4.
|
|
17
|
-
*/ var
|
|
11
|
+
Stencil Client Platform v4.32.0 | MIT Licensed | https://stenciljs.com
|
|
12
|
+
*/ var n = Object.defineProperty;
|
|
18
13
|
|
|
19
14
|
var __export = (e, t) => {
|
|
20
|
-
for (var
|
|
21
|
-
get: t[
|
|
15
|
+
for (var r in t) n(e, r, {
|
|
16
|
+
get: t[r],
|
|
22
17
|
enumerable: true
|
|
23
18
|
});
|
|
24
19
|
};
|
|
@@ -26,7 +21,7 @@ var __export = (e, t) => {
|
|
|
26
21
|
// src/utils/constants.ts
|
|
27
22
|
var r = "http://www.w3.org/2000/svg";
|
|
28
23
|
|
|
29
|
-
var
|
|
24
|
+
var o = "http://www.w3.org/1999/xhtml";
|
|
30
25
|
|
|
31
26
|
// src/client/client-host-ref.ts
|
|
32
27
|
var getHostRef = e => {
|
|
@@ -56,9 +51,9 @@ var registerHost = (e, t) => {
|
|
|
56
51
|
e["s-p"] = [];
|
|
57
52
|
e["s-rc"] = [];
|
|
58
53
|
}
|
|
59
|
-
const
|
|
60
|
-
e.__stencil__getHostRef = () =>
|
|
61
|
-
return
|
|
54
|
+
const r = n;
|
|
55
|
+
e.__stencil__getHostRef = () => r;
|
|
56
|
+
return r;
|
|
62
57
|
};
|
|
63
58
|
|
|
64
59
|
var isMemberInElement = (e, t) => t in e;
|
|
@@ -67,35 +62,37 @@ var consoleError = (e, t) => (0, console.error)(e, t)
|
|
|
67
62
|
// src/client/client-load-module.ts
|
|
68
63
|
;
|
|
69
64
|
|
|
70
|
-
var
|
|
65
|
+
var l = new Map;
|
|
71
66
|
|
|
72
67
|
var loadModule = (e, t, n) => {
|
|
73
|
-
const
|
|
74
|
-
const
|
|
75
|
-
if (!
|
|
68
|
+
const r = e._$$tagName$$_.replace(/-/g, "_");
|
|
69
|
+
const o = e._$$lazyBundleId$$_;
|
|
70
|
+
if (!o) {
|
|
76
71
|
return void 0;
|
|
77
72
|
}
|
|
78
|
-
const
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
73
|
+
const i = l.get(o);
|
|
74
|
+
if (i) {
|
|
75
|
+
return i[r];
|
|
81
76
|
}
|
|
82
77
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/ return import(
|
|
83
78
|
/* @vite-ignore */
|
|
84
79
|
/* webpackInclude: /\.entry\.js$/ */
|
|
85
80
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
86
81
|
/* webpackMode: "lazy" */
|
|
87
|
-
`./${
|
|
82
|
+
`./${o}.entry.js${""}`).then((e => {
|
|
88
83
|
{
|
|
89
|
-
|
|
84
|
+
l.set(o, e);
|
|
90
85
|
}
|
|
91
|
-
return e[
|
|
86
|
+
return e[r];
|
|
92
87
|
}), (e => {
|
|
93
88
|
consoleError(e, t.$hostElement$);
|
|
94
89
|
}));
|
|
95
90
|
};
|
|
96
91
|
|
|
97
92
|
// src/client/client-style.ts
|
|
98
|
-
var
|
|
93
|
+
var i = new Map;
|
|
94
|
+
|
|
95
|
+
var s = "sty-id";
|
|
99
96
|
|
|
100
97
|
var f = "{visibility:hidden}[stencil-hydrated]{visibility:inherit}";
|
|
101
98
|
|
|
@@ -105,19 +102,17 @@ var c = "http://www.w3.org/1999/xlink";
|
|
|
105
102
|
|
|
106
103
|
var u = typeof window !== "undefined" ? window : {};
|
|
107
104
|
|
|
108
|
-
var v =
|
|
109
|
-
|
|
110
|
-
var d = {
|
|
105
|
+
var v = {
|
|
111
106
|
_$$flags$$_: 0,
|
|
112
107
|
_$$resourcesUrl$$_: "",
|
|
113
108
|
jmp: e => e(),
|
|
114
109
|
raf: e => requestAnimationFrame(e),
|
|
115
|
-
ael: (e, t, n,
|
|
116
|
-
rel: (e, t, n,
|
|
110
|
+
ael: (e, t, n, r) => e.addEventListener(t, n, r),
|
|
111
|
+
rel: (e, t, n, r) => e.removeEventListener(t, n, r),
|
|
117
112
|
ce: (e, t) => new CustomEvent(e, t)
|
|
118
113
|
};
|
|
119
114
|
|
|
120
|
-
var
|
|
115
|
+
var d = (() => {
|
|
121
116
|
var e;
|
|
122
117
|
let t = false;
|
|
123
118
|
try {
|
|
@@ -132,7 +127,7 @@ var p = (() => {
|
|
|
132
127
|
|
|
133
128
|
var promiseResolve = e => Promise.resolve(e);
|
|
134
129
|
|
|
135
|
-
var
|
|
130
|
+
var p = (() => {
|
|
136
131
|
try {
|
|
137
132
|
new CSSStyleSheet;
|
|
138
133
|
return typeof (new CSSStyleSheet).replaceSync === "function";
|
|
@@ -140,20 +135,20 @@ var m = (() => {
|
|
|
140
135
|
return false;
|
|
141
136
|
})();
|
|
142
137
|
|
|
143
|
-
var
|
|
138
|
+
var m = false;
|
|
144
139
|
|
|
145
|
-
var
|
|
140
|
+
var y = [];
|
|
146
141
|
|
|
147
142
|
var w = [];
|
|
148
143
|
|
|
149
144
|
var queueTask = (e, t) => n => {
|
|
150
145
|
e.push(n);
|
|
151
|
-
if (!
|
|
152
|
-
|
|
153
|
-
if (t &&
|
|
146
|
+
if (!m) {
|
|
147
|
+
m = true;
|
|
148
|
+
if (t && v._$$flags$$_ & 4 /* queueSync */) {
|
|
154
149
|
nextTick(flush);
|
|
155
150
|
} else {
|
|
156
|
-
|
|
151
|
+
v.raf(flush);
|
|
157
152
|
}
|
|
158
153
|
}
|
|
159
154
|
};
|
|
@@ -170,22 +165,22 @@ var consume = e => {
|
|
|
170
165
|
};
|
|
171
166
|
|
|
172
167
|
var flush = () => {
|
|
173
|
-
consume(
|
|
168
|
+
consume(y);
|
|
174
169
|
{
|
|
175
170
|
consume(w);
|
|
176
|
-
if (
|
|
177
|
-
|
|
171
|
+
if (m = y.length > 0) {
|
|
172
|
+
v.raf(flush);
|
|
178
173
|
}
|
|
179
174
|
}
|
|
180
175
|
};
|
|
181
176
|
|
|
182
177
|
var nextTick = e => promiseResolve().then(e);
|
|
183
178
|
|
|
184
|
-
var
|
|
179
|
+
var b = queueTask(w, true);
|
|
185
180
|
|
|
186
181
|
// src/runtime/asset-path.ts
|
|
187
182
|
var getAssetPath = e => {
|
|
188
|
-
const t = new URL(e,
|
|
183
|
+
const t = new URL(e, v._$$resourcesUrl$$_);
|
|
189
184
|
return t.origin !== u.location.origin ? t.href : t.pathname;
|
|
190
185
|
};
|
|
191
186
|
|
|
@@ -196,17 +191,17 @@ var isComplexType = e => {
|
|
|
196
191
|
|
|
197
192
|
// src/utils/query-nonce-meta-tag-content.ts
|
|
198
193
|
function queryNonceMetaTagContent(e) {
|
|
199
|
-
var t, n,
|
|
200
|
-
return (
|
|
194
|
+
var t, n, r;
|
|
195
|
+
return (r = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? r : void 0;
|
|
201
196
|
}
|
|
202
197
|
|
|
203
198
|
// src/utils/regular-expression.ts
|
|
204
199
|
var escapeRegExpSpecialCharacters = e => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
205
200
|
|
|
206
201
|
// src/utils/result.ts
|
|
207
|
-
var
|
|
202
|
+
var g = {};
|
|
208
203
|
|
|
209
|
-
__export(
|
|
204
|
+
__export(g, {
|
|
210
205
|
err: () => err,
|
|
211
206
|
map: () => map,
|
|
212
207
|
ok: () => ok,
|
|
@@ -258,17 +253,6 @@ var unwrapErr = e => {
|
|
|
258
253
|
}
|
|
259
254
|
};
|
|
260
255
|
|
|
261
|
-
function createShadowRoot(e) {
|
|
262
|
-
const t = this.attachShadow({
|
|
263
|
-
mode: "open"
|
|
264
|
-
});
|
|
265
|
-
if (m) {
|
|
266
|
-
const e = new CSSStyleSheet;
|
|
267
|
-
e.replaceSync(n);
|
|
268
|
-
t.adoptedStyleSheets.push(e);
|
|
269
|
-
}
|
|
270
|
-
}
|
|
271
|
-
|
|
272
256
|
var updateFallbackSlotVisibility = e => {
|
|
273
257
|
const t = internalCall(e, "childNodes");
|
|
274
258
|
if (e.tagName && e.tagName.includes("-") && e["s-cr"] && e.tagName !== "SLOT-FB") {
|
|
@@ -294,37 +278,36 @@ var updateFallbackSlotVisibility = e => {
|
|
|
294
278
|
var getSlottedChildNodes = e => {
|
|
295
279
|
const t = [];
|
|
296
280
|
for (let n = 0; n < e.length; n++) {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
299
|
-
t.push(
|
|
281
|
+
const r = e[n]["s-nr"] || void 0;
|
|
282
|
+
if (r && r.isConnected) {
|
|
283
|
+
t.push(r);
|
|
300
284
|
}
|
|
301
285
|
}
|
|
302
286
|
return t;
|
|
303
287
|
};
|
|
304
288
|
|
|
305
289
|
function getHostSlotNodes(e, t, n) {
|
|
306
|
-
let
|
|
307
|
-
let
|
|
290
|
+
let r = 0;
|
|
291
|
+
let o = [];
|
|
308
292
|
let l;
|
|
309
|
-
for (;
|
|
310
|
-
l = e[
|
|
311
|
-
if (l["s-sr"] && (!t || l["s-hn"] === t) &&
|
|
312
|
-
|
|
313
|
-
if (typeof n !== "undefined") return r;
|
|
293
|
+
for (;r < e.length; r++) {
|
|
294
|
+
l = e[r];
|
|
295
|
+
if (l["s-sr"] && (!t || l["s-hn"] === t) && n === void 0) {
|
|
296
|
+
o.push(l);
|
|
314
297
|
}
|
|
315
|
-
|
|
298
|
+
o = [ ...o, ...getHostSlotNodes(l.childNodes, t, n) ];
|
|
316
299
|
}
|
|
317
|
-
return
|
|
300
|
+
return o;
|
|
318
301
|
}
|
|
319
302
|
|
|
320
303
|
var getSlotChildSiblings = (e, t, n = true) => {
|
|
321
|
-
const
|
|
322
|
-
if (n && e["s-sr"] || !e["s-sr"])
|
|
323
|
-
let
|
|
324
|
-
while (
|
|
325
|
-
if (getSlotName(
|
|
304
|
+
const r = [];
|
|
305
|
+
if (n && e["s-sr"] || !e["s-sr"]) r.push(e);
|
|
306
|
+
let o = e;
|
|
307
|
+
while (o = o.nextSibling) {
|
|
308
|
+
if (getSlotName(o) === t && (n || !o["s-sr"])) r.push(o);
|
|
326
309
|
}
|
|
327
|
-
return
|
|
310
|
+
return r;
|
|
328
311
|
};
|
|
329
312
|
|
|
330
313
|
var isNodeLocatedInSlot = (e, t) => {
|
|
@@ -349,14 +332,14 @@ function patchSlotNode(e) {
|
|
|
349
332
|
if (e.assignedElements || e.assignedNodes || !e["s-sr"]) return;
|
|
350
333
|
const assignedFactory = t => function(e) {
|
|
351
334
|
const n = [];
|
|
352
|
-
const
|
|
335
|
+
const r = this["s-sn"];
|
|
353
336
|
if (e == null ? void 0 : e.flatten) {
|
|
354
|
-
console.error(`\n Flattening is not supported for Stencil non-shadow slots
|
|
337
|
+
console.error(`\n Flattening is not supported for Stencil non-shadow slots. \n You can use \`.childNodes\` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n `);
|
|
355
338
|
}
|
|
356
|
-
const
|
|
357
|
-
const l =
|
|
339
|
+
const o = this["s-cr"].parentElement;
|
|
340
|
+
const l = o.__childNodes ? o.childNodes : getSlottedChildNodes(o.childNodes);
|
|
358
341
|
l.forEach((e => {
|
|
359
|
-
if (
|
|
342
|
+
if (r === getSlotName(e)) {
|
|
360
343
|
n.push(e);
|
|
361
344
|
}
|
|
362
345
|
}));
|
|
@@ -369,61 +352,6 @@ function patchSlotNode(e) {
|
|
|
369
352
|
e.assignedNodes = assignedFactory(false);
|
|
370
353
|
}
|
|
371
354
|
|
|
372
|
-
function dispatchSlotChangeEvent(e) {
|
|
373
|
-
e.dispatchEvent(new CustomEvent("slotchange", {
|
|
374
|
-
bubbles: false,
|
|
375
|
-
cancelable: false,
|
|
376
|
-
composed: false
|
|
377
|
-
}));
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
function findSlotFromSlottedNode(e, t) {
|
|
381
|
-
var n;
|
|
382
|
-
t = t || ((n = e["s-ol"]) == null ? void 0 : n.parentElement);
|
|
383
|
-
if (!t) return {
|
|
384
|
-
slotNode: null,
|
|
385
|
-
slotName: ""
|
|
386
|
-
};
|
|
387
|
-
const o = e["s-sn"] = getSlotName(e) || "";
|
|
388
|
-
const r = internalCall(t, "childNodes");
|
|
389
|
-
const l = getHostSlotNodes(r, t.tagName, o)[0];
|
|
390
|
-
return {
|
|
391
|
-
slotNode: l,
|
|
392
|
-
slotName: o
|
|
393
|
-
};
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
var patchParentNode = e => {
|
|
397
|
-
if (!e || e.__parentNode) return;
|
|
398
|
-
patchHostOriginalAccessor("parentNode", e);
|
|
399
|
-
Object.defineProperty(e, "parentNode", {
|
|
400
|
-
get: function() {
|
|
401
|
-
var e;
|
|
402
|
-
return ((e = this["s-ol"]) == null ? void 0 : e.parentNode) || this.__parentNode;
|
|
403
|
-
},
|
|
404
|
-
set: function(e) {
|
|
405
|
-
this.__parentNode = e;
|
|
406
|
-
}
|
|
407
|
-
});
|
|
408
|
-
};
|
|
409
|
-
|
|
410
|
-
var $ = [ "children", "nextElementSibling", "previousElementSibling" ];
|
|
411
|
-
|
|
412
|
-
var N = [ "childNodes", "firstChild", "lastChild", "nextSibling", "previousSibling", "textContent", "parentNode" ];
|
|
413
|
-
|
|
414
|
-
function patchHostOriginalAccessor(e, t) {
|
|
415
|
-
let n;
|
|
416
|
-
if ($.includes(e)) {
|
|
417
|
-
n = Object.getOwnPropertyDescriptor(Element.prototype, e);
|
|
418
|
-
} else if (N.includes(e)) {
|
|
419
|
-
n = Object.getOwnPropertyDescriptor(Node.prototype, e);
|
|
420
|
-
}
|
|
421
|
-
if (!n) {
|
|
422
|
-
n = Object.getOwnPropertyDescriptor(t, e);
|
|
423
|
-
}
|
|
424
|
-
if (n) Object.defineProperty(t, "__" + e, n);
|
|
425
|
-
}
|
|
426
|
-
|
|
427
355
|
function internalCall(e, t) {
|
|
428
356
|
if ("__" + t in e) {
|
|
429
357
|
const n = e["__" + t];
|
|
@@ -448,25 +376,25 @@ var uniqueTime = (e, t) => {
|
|
|
448
376
|
};
|
|
449
377
|
|
|
450
378
|
var h = (e, t, ...n) => {
|
|
451
|
-
let o = null;
|
|
452
379
|
let r = null;
|
|
380
|
+
let o = null;
|
|
453
381
|
let l = null;
|
|
454
382
|
let i = false;
|
|
455
383
|
let s = false;
|
|
456
384
|
const f = [];
|
|
457
385
|
const walk = t => {
|
|
458
386
|
for (let n = 0; n < t.length; n++) {
|
|
459
|
-
|
|
460
|
-
if (Array.isArray(
|
|
461
|
-
walk(
|
|
462
|
-
} else if (
|
|
463
|
-
if (i = typeof e !== "function" && !isComplexType(
|
|
464
|
-
|
|
387
|
+
r = t[n];
|
|
388
|
+
if (Array.isArray(r)) {
|
|
389
|
+
walk(r);
|
|
390
|
+
} else if (r != null && typeof r !== "boolean") {
|
|
391
|
+
if (i = typeof e !== "function" && !isComplexType(r)) {
|
|
392
|
+
r = String(r);
|
|
465
393
|
}
|
|
466
394
|
if (i && s) {
|
|
467
|
-
f[f.length - 1]._$$text$$_ +=
|
|
395
|
+
f[f.length - 1]._$$text$$_ += r;
|
|
468
396
|
} else {
|
|
469
|
-
f.push(i ? newVNode(null,
|
|
397
|
+
f.push(i ? newVNode(null, r) : r);
|
|
470
398
|
}
|
|
471
399
|
s = i;
|
|
472
400
|
}
|
|
@@ -475,7 +403,7 @@ var h = (e, t, ...n) => {
|
|
|
475
403
|
walk(n);
|
|
476
404
|
if (t) {
|
|
477
405
|
if (t.key) {
|
|
478
|
-
|
|
406
|
+
o = t.key;
|
|
479
407
|
}
|
|
480
408
|
if (t.name) {
|
|
481
409
|
l = t.name;
|
|
@@ -488,7 +416,7 @@ var h = (e, t, ...n) => {
|
|
|
488
416
|
}
|
|
489
417
|
}
|
|
490
418
|
if (typeof e === "function") {
|
|
491
|
-
return e(t === null ? {} : t, f,
|
|
419
|
+
return e(t === null ? {} : t, f, S);
|
|
492
420
|
}
|
|
493
421
|
const a = newVNode(e, null);
|
|
494
422
|
a._$$attrs$$_ = t;
|
|
@@ -496,7 +424,7 @@ var h = (e, t, ...n) => {
|
|
|
496
424
|
a._$$children$$_ = f;
|
|
497
425
|
}
|
|
498
426
|
{
|
|
499
|
-
a._$$key$$_ =
|
|
427
|
+
a._$$key$$_ = o;
|
|
500
428
|
}
|
|
501
429
|
{
|
|
502
430
|
a._$$name$$_ = l;
|
|
@@ -524,11 +452,11 @@ var newVNode = (e, t) => {
|
|
|
524
452
|
return n;
|
|
525
453
|
};
|
|
526
454
|
|
|
527
|
-
var
|
|
455
|
+
var $ = {};
|
|
528
456
|
|
|
529
|
-
var isHost = e => e && e._$$tag$$_ ===
|
|
457
|
+
var isHost = e => e && e._$$tag$$_ === $;
|
|
530
458
|
|
|
531
|
-
var
|
|
459
|
+
var S = {
|
|
532
460
|
forEach: (e, t) => e.map(convertToPublic).forEach(t),
|
|
533
461
|
map: (e, t) => e.map(convertToPublic).map(t).map(convertToPrivate)
|
|
534
462
|
};
|
|
@@ -577,12 +505,10 @@ createSupportsRuleRe(":host");
|
|
|
577
505
|
|
|
578
506
|
createSupportsRuleRe(":host-context");
|
|
579
507
|
|
|
580
|
-
var parsePropertyValue = (e, t
|
|
508
|
+
var parsePropertyValue = (e, t) => {
|
|
581
509
|
if (e != null && !isComplexType(e)) {
|
|
582
510
|
if (t & 4 /* Boolean */) {
|
|
583
|
-
|
|
584
|
-
return e === "false" ? false : e === "" || !!e;
|
|
585
|
-
}
|
|
511
|
+
return e === "false" ? false : e === "" || !!e;
|
|
586
512
|
}
|
|
587
513
|
if (t & 2 /* Number */) {
|
|
588
514
|
return typeof e === "string" ? parseFloat(e) : typeof e === "number" ? e : NaN;
|
|
@@ -600,9 +526,9 @@ var getElement = e => getHostRef(e).$hostElement$
|
|
|
600
526
|
;
|
|
601
527
|
|
|
602
528
|
var createEvent = (e, t, n) => {
|
|
603
|
-
const
|
|
529
|
+
const r = getElement(e);
|
|
604
530
|
return {
|
|
605
|
-
emit: e => emitEvent(
|
|
531
|
+
emit: e => emitEvent(r, t, {
|
|
606
532
|
bubbles: !!(n & 4 /* Bubbles */),
|
|
607
533
|
composed: !!(n & 2 /* Composed */),
|
|
608
534
|
cancelable: !!(n & 1 /* Cancellable */),
|
|
@@ -612,49 +538,49 @@ var createEvent = (e, t, n) => {
|
|
|
612
538
|
};
|
|
613
539
|
|
|
614
540
|
var emitEvent = (e, t, n) => {
|
|
615
|
-
const
|
|
616
|
-
e.dispatchEvent(
|
|
617
|
-
return
|
|
541
|
+
const r = v.ce(t, n);
|
|
542
|
+
e.dispatchEvent(r);
|
|
543
|
+
return r;
|
|
618
544
|
};
|
|
619
545
|
|
|
620
|
-
var
|
|
546
|
+
var j = new WeakMap;
|
|
621
547
|
|
|
622
548
|
var registerStyle = (e, t, n) => {
|
|
623
|
-
let
|
|
624
|
-
if (
|
|
625
|
-
|
|
626
|
-
if (typeof
|
|
627
|
-
|
|
549
|
+
let r = i.get(e);
|
|
550
|
+
if (p && n) {
|
|
551
|
+
r = r || new CSSStyleSheet;
|
|
552
|
+
if (typeof r === "string") {
|
|
553
|
+
r = t;
|
|
628
554
|
} else {
|
|
629
|
-
|
|
555
|
+
r.replaceSync(t);
|
|
630
556
|
}
|
|
631
557
|
} else {
|
|
632
|
-
|
|
558
|
+
r = t;
|
|
633
559
|
}
|
|
634
|
-
|
|
560
|
+
i.set(e, r);
|
|
635
561
|
};
|
|
636
562
|
|
|
637
563
|
var addStyle = (e, t, n) => {
|
|
638
|
-
var
|
|
639
|
-
const
|
|
640
|
-
const l =
|
|
564
|
+
var r;
|
|
565
|
+
const o = getScopeId(t);
|
|
566
|
+
const l = i.get(o);
|
|
641
567
|
if (!u.document) {
|
|
642
|
-
return
|
|
568
|
+
return o;
|
|
643
569
|
}
|
|
644
570
|
e = e.nodeType === 11 /* DocumentFragment */ ? e : u.document;
|
|
645
571
|
if (l) {
|
|
646
572
|
if (typeof l === "string") {
|
|
647
573
|
e = e.head || e;
|
|
648
|
-
let n =
|
|
574
|
+
let n = j.get(e);
|
|
649
575
|
let i;
|
|
650
576
|
if (!n) {
|
|
651
|
-
|
|
577
|
+
j.set(e, n = new Set);
|
|
652
578
|
}
|
|
653
|
-
if (!n.has(
|
|
579
|
+
if (!n.has(o)) {
|
|
654
580
|
{
|
|
655
|
-
i = u.document.createElement("style");
|
|
581
|
+
i = document.querySelector(`[${s}="${o}"]`) || u.document.createElement("style");
|
|
656
582
|
i.innerHTML = l;
|
|
657
|
-
const n = (
|
|
583
|
+
const n = (r = v._$$nonce$$_) != null ? r : queryNonceMetaTagContent(u.document);
|
|
658
584
|
if (n != null) {
|
|
659
585
|
i.setAttribute("nonce", n);
|
|
660
586
|
}
|
|
@@ -664,7 +590,7 @@ var addStyle = (e, t, n) => {
|
|
|
664
590
|
const n = t.length > 0 ? t[t.length - 1].nextSibling : e.querySelector("style");
|
|
665
591
|
e.insertBefore(i, (n == null ? void 0 : n.parentNode) === e ? n : null);
|
|
666
592
|
} else if ("host" in e) {
|
|
667
|
-
if (
|
|
593
|
+
if (p) {
|
|
668
594
|
const t = new CSSStyleSheet;
|
|
669
595
|
t.replaceSync(l);
|
|
670
596
|
e.adoptedStyleSheets = [ t, ...e.adoptedStyleSheets ];
|
|
@@ -688,49 +614,49 @@ var addStyle = (e, t, n) => {
|
|
|
688
614
|
i.innerHTML += a;
|
|
689
615
|
}
|
|
690
616
|
if (n) {
|
|
691
|
-
n.add(
|
|
617
|
+
n.add(o);
|
|
692
618
|
}
|
|
693
619
|
}
|
|
694
620
|
} else if (!e.adoptedStyleSheets.includes(l)) {
|
|
695
621
|
e.adoptedStyleSheets = [ ...e.adoptedStyleSheets, l ];
|
|
696
622
|
}
|
|
697
623
|
}
|
|
698
|
-
return
|
|
624
|
+
return o;
|
|
699
625
|
};
|
|
700
626
|
|
|
701
627
|
var attachStyles = e => {
|
|
702
628
|
const t = e._$$cmpMeta$$_;
|
|
703
629
|
const n = e.$hostElement$;
|
|
704
|
-
const
|
|
705
|
-
const
|
|
630
|
+
const r = t._$$flags$$_;
|
|
631
|
+
const o = createTime("attachStyles", t._$$tagName$$_);
|
|
706
632
|
const l = addStyle(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
|
|
707
|
-
if (
|
|
633
|
+
if (r & 10 /* needsScopedEncapsulation */) {
|
|
708
634
|
n["s-sc"] = l;
|
|
709
635
|
n.classList.add(l + "-h");
|
|
710
636
|
}
|
|
711
|
-
|
|
637
|
+
o();
|
|
712
638
|
};
|
|
713
639
|
|
|
714
640
|
var getScopeId = (e, t) => "sc-" + e._$$tagName$$_;
|
|
715
641
|
|
|
716
|
-
var setAccessor = (e, t, n,
|
|
717
|
-
if (n ===
|
|
642
|
+
var setAccessor = (e, t, n, r, o, l, i) => {
|
|
643
|
+
if (n === r) {
|
|
718
644
|
return;
|
|
719
645
|
}
|
|
720
646
|
let s = isMemberInElement(e, t);
|
|
721
647
|
let f = t.toLowerCase();
|
|
722
648
|
if (t === "class") {
|
|
723
649
|
const t = e.classList;
|
|
724
|
-
const
|
|
725
|
-
let l = parseClassList(
|
|
650
|
+
const o = parseClassList(n);
|
|
651
|
+
let l = parseClassList(r);
|
|
726
652
|
{
|
|
727
|
-
t.remove(...
|
|
728
|
-
t.add(...l.filter((e => e && !
|
|
653
|
+
t.remove(...o.filter((e => e && !l.includes(e))));
|
|
654
|
+
t.add(...l.filter((e => e && !o.includes(e))));
|
|
729
655
|
}
|
|
730
656
|
} else if (t === "style") {
|
|
731
657
|
{
|
|
732
658
|
for (const t in n) {
|
|
733
|
-
if (!
|
|
659
|
+
if (!r || r[t] == null) {
|
|
734
660
|
if (t.includes("-")) {
|
|
735
661
|
e.style.removeProperty(t);
|
|
736
662
|
} else {
|
|
@@ -739,18 +665,18 @@ var setAccessor = (e, t, n, o, r, l, i) => {
|
|
|
739
665
|
}
|
|
740
666
|
}
|
|
741
667
|
}
|
|
742
|
-
for (const t in
|
|
743
|
-
if (!n ||
|
|
668
|
+
for (const t in r) {
|
|
669
|
+
if (!n || r[t] !== n[t]) {
|
|
744
670
|
if (t.includes("-")) {
|
|
745
|
-
e.style.setProperty(t,
|
|
671
|
+
e.style.setProperty(t, r[t]);
|
|
746
672
|
} else {
|
|
747
|
-
e.style[t] =
|
|
673
|
+
e.style[t] = r[t];
|
|
748
674
|
}
|
|
749
675
|
}
|
|
750
676
|
}
|
|
751
677
|
} else if (t === "key") ; else if (t === "ref") {
|
|
752
|
-
if (
|
|
753
|
-
|
|
678
|
+
if (r) {
|
|
679
|
+
r(e);
|
|
754
680
|
}
|
|
755
681
|
} else if (!s && t[0] === "o" && t[1] === "n") {
|
|
756
682
|
if (t[2] === "-") {
|
|
@@ -760,33 +686,33 @@ var setAccessor = (e, t, n, o, r, l, i) => {
|
|
|
760
686
|
} else {
|
|
761
687
|
t = f[2] + t.slice(3);
|
|
762
688
|
}
|
|
763
|
-
if (n ||
|
|
764
|
-
const
|
|
765
|
-
t = t.replace(
|
|
689
|
+
if (n || r) {
|
|
690
|
+
const o = t.endsWith(k);
|
|
691
|
+
t = t.replace(N, "");
|
|
766
692
|
if (n) {
|
|
767
|
-
|
|
693
|
+
v.rel(e, t, n, o);
|
|
768
694
|
}
|
|
769
|
-
if (
|
|
770
|
-
|
|
695
|
+
if (r) {
|
|
696
|
+
v.ael(e, t, r, o);
|
|
771
697
|
}
|
|
772
698
|
}
|
|
773
699
|
} else {
|
|
774
|
-
const i = isComplexType(
|
|
775
|
-
if ((s || i &&
|
|
700
|
+
const i = isComplexType(r);
|
|
701
|
+
if ((s || i && r !== null) && !o) {
|
|
776
702
|
try {
|
|
777
703
|
if (!e.tagName.includes("-")) {
|
|
778
|
-
const
|
|
704
|
+
const o = r == null ? "" : r;
|
|
779
705
|
if (t === "list") {
|
|
780
706
|
s = false;
|
|
781
|
-
} else if (n == null || e[t] !=
|
|
707
|
+
} else if (n == null || e[t] != o) {
|
|
782
708
|
if (typeof e.__lookupSetter__(t) === "function") {
|
|
783
|
-
e[t] =
|
|
709
|
+
e[t] = o;
|
|
784
710
|
} else {
|
|
785
|
-
e.setAttribute(t,
|
|
711
|
+
e.setAttribute(t, o);
|
|
786
712
|
}
|
|
787
713
|
}
|
|
788
|
-
} else if (e[t] !==
|
|
789
|
-
e[t] =
|
|
714
|
+
} else if (e[t] !== r) {
|
|
715
|
+
e[t] = r;
|
|
790
716
|
}
|
|
791
717
|
} catch (e) {}
|
|
792
718
|
}
|
|
@@ -797,26 +723,26 @@ var setAccessor = (e, t, n, o, r, l, i) => {
|
|
|
797
723
|
a = true;
|
|
798
724
|
}
|
|
799
725
|
}
|
|
800
|
-
if (
|
|
801
|
-
if (
|
|
726
|
+
if (r == null || r === false) {
|
|
727
|
+
if (r !== false || e.getAttribute(t) === "") {
|
|
802
728
|
if (a) {
|
|
803
729
|
e.removeAttributeNS(c, t);
|
|
804
730
|
} else {
|
|
805
731
|
e.removeAttribute(t);
|
|
806
732
|
}
|
|
807
733
|
}
|
|
808
|
-
} else if ((!s || l & 4 /* isHost */ ||
|
|
809
|
-
|
|
734
|
+
} else if ((!s || l & 4 /* isHost */ || o) && !i && e.nodeType === 1 /* ElementNode */) {
|
|
735
|
+
r = r === true ? "" : r;
|
|
810
736
|
if (a) {
|
|
811
|
-
e.setAttributeNS(c, t,
|
|
737
|
+
e.setAttributeNS(c, t, r);
|
|
812
738
|
} else {
|
|
813
|
-
e.setAttribute(t,
|
|
739
|
+
e.setAttribute(t, r);
|
|
814
740
|
}
|
|
815
741
|
}
|
|
816
742
|
}
|
|
817
743
|
};
|
|
818
744
|
|
|
819
|
-
var
|
|
745
|
+
var O = /\s/;
|
|
820
746
|
|
|
821
747
|
var parseClassList = e => {
|
|
822
748
|
if (typeof e === "object" && e && "baseVal" in e) {
|
|
@@ -825,27 +751,27 @@ var parseClassList = e => {
|
|
|
825
751
|
if (!e || typeof e !== "string") {
|
|
826
752
|
return [];
|
|
827
753
|
}
|
|
828
|
-
return e.split(
|
|
754
|
+
return e.split(O);
|
|
829
755
|
};
|
|
830
756
|
|
|
831
|
-
var
|
|
757
|
+
var k = "Capture";
|
|
832
758
|
|
|
833
|
-
var
|
|
759
|
+
var N = new RegExp(k + "$");
|
|
834
760
|
|
|
835
761
|
// src/runtime/vdom/update-element.ts
|
|
836
|
-
var updateElement = (e, t, n,
|
|
837
|
-
const
|
|
762
|
+
var updateElement = (e, t, n, r) => {
|
|
763
|
+
const o = t._$$elm$$_.nodeType === 11 /* DocumentFragment */ && t._$$elm$$_.host ? t._$$elm$$_.host : t._$$elm$$_;
|
|
838
764
|
const l = e && e._$$attrs$$_ || {};
|
|
839
765
|
const i = t._$$attrs$$_ || {};
|
|
840
766
|
{
|
|
841
767
|
for (const e of sortedAttrNames(Object.keys(l))) {
|
|
842
768
|
if (!(e in i)) {
|
|
843
|
-
setAccessor(
|
|
769
|
+
setAccessor(o, e, l[e], void 0, n, t._$$flags$$_);
|
|
844
770
|
}
|
|
845
771
|
}
|
|
846
772
|
}
|
|
847
773
|
for (const e of sortedAttrNames(Object.keys(i))) {
|
|
848
|
-
setAccessor(
|
|
774
|
+
setAccessor(o, e, l[e], i[e], n, t._$$flags$$_);
|
|
849
775
|
}
|
|
850
776
|
};
|
|
851
777
|
|
|
@@ -857,27 +783,27 @@ function sortedAttrNames(e) {
|
|
|
857
783
|
e;
|
|
858
784
|
}
|
|
859
785
|
|
|
860
|
-
var
|
|
786
|
+
var C;
|
|
861
787
|
|
|
862
|
-
var
|
|
788
|
+
var E;
|
|
863
789
|
|
|
864
|
-
var
|
|
790
|
+
var M = false;
|
|
865
791
|
|
|
866
|
-
var
|
|
792
|
+
var R = false;
|
|
867
793
|
|
|
868
|
-
var
|
|
794
|
+
var x = false;
|
|
869
795
|
|
|
870
|
-
var
|
|
796
|
+
var T = false;
|
|
871
797
|
|
|
872
|
-
var createElm = (e, n,
|
|
798
|
+
var createElm = (e, n, l) => {
|
|
873
799
|
var i;
|
|
874
|
-
const s = n._$$children$$_[
|
|
800
|
+
const s = n._$$children$$_[l];
|
|
875
801
|
let f = 0;
|
|
876
802
|
let a;
|
|
877
803
|
let c;
|
|
878
804
|
let v;
|
|
879
|
-
if (!
|
|
880
|
-
|
|
805
|
+
if (!M) {
|
|
806
|
+
x = true;
|
|
881
807
|
if (s._$$tag$$_ === "slot") {
|
|
882
808
|
s._$$flags$$_ |= s._$$children$$_ ?
|
|
883
809
|
// slot element has fallback content
|
|
@@ -894,21 +820,21 @@ var createElm = (e, n, o) => {
|
|
|
894
820
|
} else if (s._$$flags$$_ & 1 /* isSlotReference */) {
|
|
895
821
|
a = s._$$elm$$_ = slotReferenceDebugNode(s);
|
|
896
822
|
{
|
|
897
|
-
updateElement(null, s,
|
|
823
|
+
updateElement(null, s, T);
|
|
898
824
|
}
|
|
899
825
|
} else {
|
|
900
|
-
if (!
|
|
901
|
-
|
|
826
|
+
if (!T) {
|
|
827
|
+
T = s._$$tag$$_ === "svg";
|
|
902
828
|
}
|
|
903
829
|
if (!u.document) {
|
|
904
830
|
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");
|
|
905
831
|
}
|
|
906
|
-
a = s._$$elm$$_ = u.document.createElementNS(
|
|
907
|
-
if (
|
|
908
|
-
|
|
832
|
+
a = s._$$elm$$_ = u.document.createElementNS(T ? r : o, !M && t.slotRelocation && s._$$flags$$_ & 2 /* isSlotFallback */ ? "slot-fb" : s._$$tag$$_);
|
|
833
|
+
if (T && s._$$tag$$_ === "foreignObject") {
|
|
834
|
+
T = false;
|
|
909
835
|
}
|
|
910
836
|
{
|
|
911
|
-
updateElement(null, s,
|
|
837
|
+
updateElement(null, s, T);
|
|
912
838
|
}
|
|
913
839
|
if (s._$$children$$_) {
|
|
914
840
|
for (f = 0; f < s._$$children$$_.length; ++f) {
|
|
@@ -920,24 +846,24 @@ var createElm = (e, n, o) => {
|
|
|
920
846
|
}
|
|
921
847
|
{
|
|
922
848
|
if (s._$$tag$$_ === "svg") {
|
|
923
|
-
|
|
849
|
+
T = false;
|
|
924
850
|
} else if (a.tagName === "foreignObject") {
|
|
925
|
-
|
|
851
|
+
T = true;
|
|
926
852
|
}
|
|
927
853
|
}
|
|
928
854
|
}
|
|
929
|
-
a["s-hn"] =
|
|
855
|
+
a["s-hn"] = E;
|
|
930
856
|
{
|
|
931
857
|
if (s._$$flags$$_ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
932
858
|
a["s-sr"] = true;
|
|
933
|
-
a["s-cr"] =
|
|
859
|
+
a["s-cr"] = C;
|
|
934
860
|
a["s-sn"] = s._$$name$$_ || "";
|
|
935
861
|
a["s-rf"] = (i = s._$$attrs$$_) == null ? void 0 : i.ref;
|
|
936
862
|
patchSlotNode(a);
|
|
937
|
-
v = e && e._$$children$$_ && e._$$children$$_[
|
|
863
|
+
v = e && e._$$children$$_ && e._$$children$$_[l];
|
|
938
864
|
if (v && v._$$tag$$_ === s._$$tag$$_ && e._$$elm$$_) {
|
|
939
865
|
{
|
|
940
|
-
|
|
866
|
+
putBackInOriginalLocation(e._$$elm$$_, false);
|
|
941
867
|
}
|
|
942
868
|
}
|
|
943
869
|
}
|
|
@@ -945,61 +871,36 @@ var createElm = (e, n, o) => {
|
|
|
945
871
|
return a;
|
|
946
872
|
};
|
|
947
873
|
|
|
948
|
-
var
|
|
949
|
-
|
|
950
|
-
const
|
|
951
|
-
|
|
952
|
-
const
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
}
|
|
962
|
-
d._$$flags$$_ &= -2 /* isTmpDisconnected */;
|
|
963
|
-
};
|
|
964
|
-
|
|
965
|
-
var putBackInOriginalLocation = (e, n) => {
|
|
966
|
-
d._$$flags$$_ |= 1 /* isTmpDisconnected */;
|
|
967
|
-
const o = Array.from(e.__childNodes || e.childNodes);
|
|
968
|
-
if (e["s-sr"] && t.experimentalSlotFixes) {
|
|
969
|
-
let t = e;
|
|
970
|
-
while (t = t.nextSibling) {
|
|
971
|
-
if (t && t["s-sn"] === e["s-sn"] && t["s-sh"] === M) {
|
|
972
|
-
o.push(t);
|
|
973
|
-
}
|
|
874
|
+
var putBackInOriginalLocation = (e, t) => {
|
|
875
|
+
v._$$flags$$_ |= 1 /* isTmpDisconnected */;
|
|
876
|
+
const n = Array.from(e.__childNodes || e.childNodes);
|
|
877
|
+
for (let e = n.length - 1; e >= 0; e--) {
|
|
878
|
+
const r = n[e];
|
|
879
|
+
if (r["s-hn"] !== E && r["s-ol"]) {
|
|
880
|
+
insertBefore(referenceNode(r).parentNode, r, referenceNode(r));
|
|
881
|
+
r["s-ol"].remove();
|
|
882
|
+
r["s-ol"] = void 0;
|
|
883
|
+
r["s-sh"] = void 0;
|
|
884
|
+
x = true;
|
|
974
885
|
}
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
const t = o[e];
|
|
978
|
-
if (t["s-hn"] !== M && t["s-ol"]) {
|
|
979
|
-
insertBefore(referenceNode(t).parentNode, t, referenceNode(t));
|
|
980
|
-
t["s-ol"].remove();
|
|
981
|
-
t["s-ol"] = void 0;
|
|
982
|
-
t["s-sh"] = void 0;
|
|
983
|
-
F = true;
|
|
984
|
-
}
|
|
985
|
-
if (n) {
|
|
986
|
-
putBackInOriginalLocation(t, n);
|
|
886
|
+
if (t) {
|
|
887
|
+
putBackInOriginalLocation(r, t);
|
|
987
888
|
}
|
|
988
889
|
}
|
|
989
|
-
|
|
890
|
+
v._$$flags$$_ &= -2 /* isTmpDisconnected */;
|
|
990
891
|
};
|
|
991
892
|
|
|
992
|
-
var addVnodes = (e, t, n,
|
|
893
|
+
var addVnodes = (e, t, n, r, o, l) => {
|
|
993
894
|
let i = e["s-cr"] && e["s-cr"].parentNode || e;
|
|
994
895
|
let s;
|
|
995
|
-
if (i.shadowRoot && i.tagName ===
|
|
896
|
+
if (i.shadowRoot && i.tagName === E) {
|
|
996
897
|
i = i.shadowRoot;
|
|
997
898
|
}
|
|
998
|
-
for (;
|
|
999
|
-
if (o
|
|
1000
|
-
s = createElm(null, n,
|
|
899
|
+
for (;o <= l; ++o) {
|
|
900
|
+
if (r[o]) {
|
|
901
|
+
s = createElm(null, n, o);
|
|
1001
902
|
if (s) {
|
|
1002
|
-
o
|
|
903
|
+
r[o]._$$elm$$_ = s;
|
|
1003
904
|
insertBefore(i, s, referenceNode(t));
|
|
1004
905
|
}
|
|
1005
906
|
}
|
|
@@ -1007,14 +908,14 @@ var addVnodes = (e, t, n, o, r, l) => {
|
|
|
1007
908
|
};
|
|
1008
909
|
|
|
1009
910
|
var removeVnodes = (e, t, n) => {
|
|
1010
|
-
for (let
|
|
1011
|
-
const t = e[
|
|
911
|
+
for (let r = t; r <= n; ++r) {
|
|
912
|
+
const t = e[r];
|
|
1012
913
|
if (t) {
|
|
1013
914
|
const e = t._$$elm$$_;
|
|
1014
915
|
nullifyVNodeRefs(t);
|
|
1015
916
|
if (e) {
|
|
1016
917
|
{
|
|
1017
|
-
|
|
918
|
+
R = true;
|
|
1018
919
|
if (e["s-ol"]) {
|
|
1019
920
|
e["s-ol"].remove();
|
|
1020
921
|
} else {
|
|
@@ -1027,7 +928,7 @@ var removeVnodes = (e, t, n) => {
|
|
|
1027
928
|
}
|
|
1028
929
|
};
|
|
1029
930
|
|
|
1030
|
-
var updateChildren = (e, t, n,
|
|
931
|
+
var updateChildren = (e, t, n, r, o = false) => {
|
|
1031
932
|
let l = 0;
|
|
1032
933
|
let i = 0;
|
|
1033
934
|
let s = 0;
|
|
@@ -1035,9 +936,9 @@ var updateChildren = (e, t, n, o, r = false) => {
|
|
|
1035
936
|
let a = t.length - 1;
|
|
1036
937
|
let c = t[0];
|
|
1037
938
|
let u = t[a];
|
|
1038
|
-
let v =
|
|
1039
|
-
let d =
|
|
1040
|
-
let p =
|
|
939
|
+
let v = r.length - 1;
|
|
940
|
+
let d = r[0];
|
|
941
|
+
let p = r[v];
|
|
1041
942
|
let m;
|
|
1042
943
|
let y;
|
|
1043
944
|
while (l <= a && i <= v) {
|
|
@@ -1046,33 +947,33 @@ var updateChildren = (e, t, n, o, r = false) => {
|
|
|
1046
947
|
} else if (u == null) {
|
|
1047
948
|
u = t[--a];
|
|
1048
949
|
} else if (d == null) {
|
|
1049
|
-
d =
|
|
950
|
+
d = r[++i];
|
|
1050
951
|
} else if (p == null) {
|
|
1051
|
-
p =
|
|
1052
|
-
} else if (isSameVnode(c, d,
|
|
1053
|
-
patch(c, d,
|
|
952
|
+
p = r[--v];
|
|
953
|
+
} else if (isSameVnode(c, d, o)) {
|
|
954
|
+
patch(c, d, o);
|
|
1054
955
|
c = t[++l];
|
|
1055
|
-
d =
|
|
1056
|
-
} else if (isSameVnode(u, p,
|
|
1057
|
-
patch(u, p,
|
|
956
|
+
d = r[++i];
|
|
957
|
+
} else if (isSameVnode(u, p, o)) {
|
|
958
|
+
patch(u, p, o);
|
|
1058
959
|
u = t[--a];
|
|
1059
|
-
p =
|
|
1060
|
-
} else if (isSameVnode(c, p,
|
|
960
|
+
p = r[--v];
|
|
961
|
+
} else if (isSameVnode(c, p, o)) {
|
|
1061
962
|
if (c._$$tag$$_ === "slot" || p._$$tag$$_ === "slot") {
|
|
1062
963
|
putBackInOriginalLocation(c._$$elm$$_.parentNode, false);
|
|
1063
964
|
}
|
|
1064
|
-
patch(c, p,
|
|
965
|
+
patch(c, p, o);
|
|
1065
966
|
insertBefore(e, c._$$elm$$_, u._$$elm$$_.nextSibling);
|
|
1066
967
|
c = t[++l];
|
|
1067
|
-
p =
|
|
1068
|
-
} else if (isSameVnode(u, d,
|
|
968
|
+
p = r[--v];
|
|
969
|
+
} else if (isSameVnode(u, d, o)) {
|
|
1069
970
|
if (c._$$tag$$_ === "slot" || p._$$tag$$_ === "slot") {
|
|
1070
971
|
putBackInOriginalLocation(u._$$elm$$_.parentNode, false);
|
|
1071
972
|
}
|
|
1072
|
-
patch(u, d,
|
|
973
|
+
patch(u, d, o);
|
|
1073
974
|
insertBefore(e, u._$$elm$$_, c._$$elm$$_);
|
|
1074
975
|
u = t[--a];
|
|
1075
|
-
d =
|
|
976
|
+
d = r[++i];
|
|
1076
977
|
} else {
|
|
1077
978
|
s = -1;
|
|
1078
979
|
{
|
|
@@ -1088,14 +989,14 @@ var updateChildren = (e, t, n, o, r = false) => {
|
|
|
1088
989
|
if (y._$$tag$$_ !== d._$$tag$$_) {
|
|
1089
990
|
m = createElm(t && t[i], n, s);
|
|
1090
991
|
} else {
|
|
1091
|
-
patch(y, d,
|
|
992
|
+
patch(y, d, o);
|
|
1092
993
|
t[s] = void 0;
|
|
1093
994
|
m = y._$$elm$$_;
|
|
1094
995
|
}
|
|
1095
|
-
d =
|
|
996
|
+
d = r[++i];
|
|
1096
997
|
} else {
|
|
1097
998
|
m = createElm(t && t[i], n, i);
|
|
1098
|
-
d =
|
|
999
|
+
d = r[++i];
|
|
1099
1000
|
}
|
|
1100
1001
|
if (m) {
|
|
1101
1002
|
{
|
|
@@ -1105,7 +1006,7 @@ var updateChildren = (e, t, n, o, r = false) => {
|
|
|
1105
1006
|
}
|
|
1106
1007
|
}
|
|
1107
1008
|
if (l > a) {
|
|
1108
|
-
addVnodes(e,
|
|
1009
|
+
addVnodes(e, r[v + 1] == null ? null : r[v + 1]._$$elm$$_, n, r, i, v);
|
|
1109
1010
|
} else if (i > v) {
|
|
1110
1011
|
removeVnodes(t, l, a);
|
|
1111
1012
|
}
|
|
@@ -1129,8 +1030,8 @@ var isSameVnode = (e, t, n = false) => {
|
|
|
1129
1030
|
|
|
1130
1031
|
var referenceNode = e => e && e["s-ol"] || e;
|
|
1131
1032
|
|
|
1132
|
-
var patch = (e, n,
|
|
1133
|
-
const
|
|
1033
|
+
var patch = (e, n, r = false) => {
|
|
1034
|
+
const o = n._$$elm$$_ = e._$$elm$$_;
|
|
1134
1035
|
const l = e._$$children$$_;
|
|
1135
1036
|
const i = n._$$children$$_;
|
|
1136
1037
|
const s = n._$$tag$$_;
|
|
@@ -1138,79 +1039,73 @@ var patch = (e, n, o = false) => {
|
|
|
1138
1039
|
let a;
|
|
1139
1040
|
if (f === null) {
|
|
1140
1041
|
{
|
|
1141
|
-
|
|
1042
|
+
T = s === "svg" ? true : s === "foreignObject" ? false : T;
|
|
1142
1043
|
}
|
|
1143
1044
|
{
|
|
1144
|
-
|
|
1145
|
-
if (e._$$name$$_ !== n._$$name$$_) {
|
|
1146
|
-
n._$$elm$$_["s-sn"] = n._$$name$$_ || "";
|
|
1147
|
-
relocateToHostRoot(n._$$elm$$_.parentElement);
|
|
1148
|
-
}
|
|
1149
|
-
}
|
|
1150
|
-
updateElement(e, n, L);
|
|
1045
|
+
updateElement(e, n, T);
|
|
1151
1046
|
}
|
|
1152
1047
|
if (l !== null && i !== null) {
|
|
1153
|
-
updateChildren(
|
|
1048
|
+
updateChildren(o, l, n, i, r);
|
|
1154
1049
|
} else if (i !== null) {
|
|
1155
1050
|
if (e._$$text$$_ !== null) {
|
|
1156
|
-
|
|
1051
|
+
o.textContent = "";
|
|
1157
1052
|
}
|
|
1158
|
-
addVnodes(
|
|
1053
|
+
addVnodes(o, null, n, i, 0, i.length - 1);
|
|
1159
1054
|
} else if (
|
|
1160
1055
|
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
1161
|
-
!
|
|
1056
|
+
!r && t.updatable && l !== null) {
|
|
1162
1057
|
removeVnodes(l, 0, l.length - 1);
|
|
1163
1058
|
}
|
|
1164
|
-
if (
|
|
1165
|
-
|
|
1059
|
+
if (T && s === "svg") {
|
|
1060
|
+
T = false;
|
|
1166
1061
|
}
|
|
1167
|
-
} else if (a =
|
|
1062
|
+
} else if (a = o["s-cr"]) {
|
|
1168
1063
|
a.parentNode.textContent = f;
|
|
1169
1064
|
} else if (e._$$text$$_ !== f) {
|
|
1170
|
-
|
|
1065
|
+
o.data = f;
|
|
1171
1066
|
}
|
|
1172
1067
|
};
|
|
1173
1068
|
|
|
1174
|
-
var
|
|
1069
|
+
var L = [];
|
|
1175
1070
|
|
|
1176
1071
|
var markSlotContentForRelocation = e => {
|
|
1177
1072
|
let t;
|
|
1178
1073
|
let n;
|
|
1179
|
-
let
|
|
1180
|
-
const
|
|
1181
|
-
for (const e of
|
|
1074
|
+
let r;
|
|
1075
|
+
const o = e.__childNodes || e.childNodes;
|
|
1076
|
+
for (const e of o) {
|
|
1182
1077
|
if (e["s-sr"] && (t = e["s-cr"]) && t.parentNode) {
|
|
1183
1078
|
n = t.parentNode.__childNodes || t.parentNode.childNodes;
|
|
1184
|
-
const
|
|
1185
|
-
for (
|
|
1186
|
-
t = n[
|
|
1187
|
-
if (!t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] &&
|
|
1188
|
-
if (isNodeLocatedInSlot(t,
|
|
1189
|
-
let n =
|
|
1190
|
-
|
|
1191
|
-
t["s-sn"] = t["s-sn"] ||
|
|
1079
|
+
const o = e["s-sn"];
|
|
1080
|
+
for (r = n.length - 1; r >= 0; r--) {
|
|
1081
|
+
t = n[r];
|
|
1082
|
+
if (!t["s-cn"] && !t["s-nr"] && t["s-hn"] !== e["s-hn"] && true) {
|
|
1083
|
+
if (isNodeLocatedInSlot(t, o)) {
|
|
1084
|
+
let n = L.find((e => e._$$nodeToRelocate$$_ === t));
|
|
1085
|
+
R = true;
|
|
1086
|
+
t["s-sn"] = t["s-sn"] || o;
|
|
1192
1087
|
if (n) {
|
|
1193
1088
|
n._$$nodeToRelocate$$_["s-sh"] = e["s-hn"];
|
|
1194
1089
|
n._$$slotRefNode$$_ = e;
|
|
1195
1090
|
} else {
|
|
1196
1091
|
t["s-sh"] = e["s-hn"];
|
|
1197
|
-
|
|
1092
|
+
L.push({
|
|
1198
1093
|
_$$slotRefNode$$_: e,
|
|
1199
1094
|
_$$nodeToRelocate$$_: t
|
|
1200
1095
|
});
|
|
1201
1096
|
}
|
|
1202
1097
|
if (t["s-sr"]) {
|
|
1203
|
-
|
|
1098
|
+
L.map((e => {
|
|
1204
1099
|
if (isNodeLocatedInSlot(e._$$nodeToRelocate$$_, t["s-sn"])) {
|
|
1205
|
-
n =
|
|
1100
|
+
n = L.find((e => e._$$nodeToRelocate$$_ === t));
|
|
1206
1101
|
if (n && !e._$$slotRefNode$$_) {
|
|
1207
1102
|
e._$$slotRefNode$$_ = n._$$slotRefNode$$_;
|
|
1208
1103
|
}
|
|
1209
1104
|
}
|
|
1210
1105
|
}));
|
|
1211
1106
|
}
|
|
1212
|
-
} else if (!
|
|
1213
|
-
|
|
1107
|
+
} else if (!L.some((e => e._$$nodeToRelocate$$_ === t))) {
|
|
1108
|
+
L.push({
|
|
1214
1109
|
_$$nodeToRelocate$$_: t
|
|
1215
1110
|
});
|
|
1216
1111
|
}
|
|
@@ -1231,56 +1126,45 @@ var nullifyVNodeRefs = e => {
|
|
|
1231
1126
|
};
|
|
1232
1127
|
|
|
1233
1128
|
var insertBefore = (e, t, n) => {
|
|
1234
|
-
|
|
1235
|
-
if (e.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
|
|
1236
|
-
patchParentNode(t);
|
|
1237
|
-
}
|
|
1238
|
-
e.insertBefore(t, n);
|
|
1239
|
-
const {slotNode: o} = findSlotFromSlottedNode(t);
|
|
1240
|
-
if (o) dispatchSlotChangeEvent(o);
|
|
1241
|
-
return t;
|
|
1242
|
-
}
|
|
1243
|
-
if (e.__insertBefore) {
|
|
1244
|
-
return e.__insertBefore(t, n);
|
|
1245
|
-
} else {
|
|
1129
|
+
{
|
|
1246
1130
|
return e == null ? void 0 : e.insertBefore(t, n);
|
|
1247
1131
|
}
|
|
1248
1132
|
};
|
|
1249
1133
|
|
|
1250
1134
|
var renderVdom = (e, t, n = false) => {
|
|
1251
|
-
var
|
|
1252
|
-
const
|
|
1253
|
-
const
|
|
1254
|
-
const
|
|
1255
|
-
const
|
|
1256
|
-
const
|
|
1257
|
-
|
|
1258
|
-
if (
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
}
|
|
1262
|
-
if (n &&
|
|
1263
|
-
for (const e of Object.keys(
|
|
1264
|
-
if (
|
|
1265
|
-
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
e._$$vnode$$_ =
|
|
1272
|
-
|
|
1273
|
-
|
|
1135
|
+
var r, o, l, i;
|
|
1136
|
+
const s = e.$hostElement$;
|
|
1137
|
+
const f = e._$$cmpMeta$$_;
|
|
1138
|
+
const a = e._$$vnode$$_ || newVNode(null, null);
|
|
1139
|
+
const c = isHost(t);
|
|
1140
|
+
const d = c ? t : h(null, null, t);
|
|
1141
|
+
E = s.tagName;
|
|
1142
|
+
if (f._$$attrsToReflect$$_) {
|
|
1143
|
+
d._$$attrs$$_ = d._$$attrs$$_ || {};
|
|
1144
|
+
f._$$attrsToReflect$$_.map((([e, t]) => d._$$attrs$$_[t] = s[e]));
|
|
1145
|
+
}
|
|
1146
|
+
if (n && d._$$attrs$$_) {
|
|
1147
|
+
for (const e of Object.keys(d._$$attrs$$_)) {
|
|
1148
|
+
if (s.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e)) {
|
|
1149
|
+
d._$$attrs$$_[e] = s[e];
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
d._$$tag$$_ = null;
|
|
1154
|
+
d._$$flags$$_ |= 4 /* isHost */;
|
|
1155
|
+
e._$$vnode$$_ = d;
|
|
1156
|
+
d._$$elm$$_ = a._$$elm$$_ = s.shadowRoot || s;
|
|
1157
|
+
M = !!(f._$$flags$$_ & 1 /* shadowDomEncapsulation */) && !(f._$$flags$$_ & 128 /* shadowNeedsScopedCss */);
|
|
1274
1158
|
{
|
|
1275
|
-
|
|
1276
|
-
|
|
1159
|
+
C = s["s-cr"];
|
|
1160
|
+
R = false;
|
|
1277
1161
|
}
|
|
1278
|
-
patch(
|
|
1162
|
+
patch(a, d, n);
|
|
1279
1163
|
{
|
|
1280
|
-
|
|
1281
|
-
if (
|
|
1282
|
-
markSlotContentForRelocation(
|
|
1283
|
-
for (const e of
|
|
1164
|
+
v._$$flags$$_ |= 1 /* isTmpDisconnected */;
|
|
1165
|
+
if (x) {
|
|
1166
|
+
markSlotContentForRelocation(d._$$elm$$_);
|
|
1167
|
+
for (const e of L) {
|
|
1284
1168
|
const t = e._$$nodeToRelocate$$_;
|
|
1285
1169
|
if (!t["s-ol"] && u.document) {
|
|
1286
1170
|
const e = originalLocationDebugNode(t);
|
|
@@ -1288,23 +1172,23 @@ var renderVdom = (e, t, n = false) => {
|
|
|
1288
1172
|
insertBefore(t.parentNode, t["s-ol"] = e, t);
|
|
1289
1173
|
}
|
|
1290
1174
|
}
|
|
1291
|
-
for (const e of
|
|
1175
|
+
for (const e of L) {
|
|
1292
1176
|
const t = e._$$nodeToRelocate$$_;
|
|
1293
1177
|
const s = e._$$slotRefNode$$_;
|
|
1294
1178
|
if (s) {
|
|
1295
1179
|
const e = s.parentNode;
|
|
1296
1180
|
let n = s.nextSibling;
|
|
1297
|
-
|
|
1298
|
-
let l = (
|
|
1181
|
+
{
|
|
1182
|
+
let l = (r = t["s-ol"]) == null ? void 0 : r.previousSibling;
|
|
1299
1183
|
while (l) {
|
|
1300
|
-
let
|
|
1301
|
-
if (
|
|
1302
|
-
|
|
1303
|
-
while (
|
|
1304
|
-
|
|
1184
|
+
let r = (o = l["s-nr"]) != null ? o : null;
|
|
1185
|
+
if (r && r["s-sn"] === t["s-sn"] && e === (r.__parentNode || r.parentNode)) {
|
|
1186
|
+
r = r.nextSibling;
|
|
1187
|
+
while (r === t || (r == null ? void 0 : r["s-sr"])) {
|
|
1188
|
+
r = r == null ? void 0 : r.nextSibling;
|
|
1305
1189
|
}
|
|
1306
|
-
if (!
|
|
1307
|
-
n =
|
|
1190
|
+
if (!r || !r["s-nr"]) {
|
|
1191
|
+
n = r;
|
|
1308
1192
|
break;
|
|
1309
1193
|
}
|
|
1310
1194
|
}
|
|
@@ -1315,6 +1199,9 @@ var renderVdom = (e, t, n = false) => {
|
|
|
1315
1199
|
const f = t.__nextSibling || t.nextSibling;
|
|
1316
1200
|
if (!n && e !== i || f !== n) {
|
|
1317
1201
|
if (t !== n) {
|
|
1202
|
+
if (!t["s-hn"] && t["s-ol"]) {
|
|
1203
|
+
t["s-hn"] = t["s-ol"].parentNode.nodeName;
|
|
1204
|
+
}
|
|
1318
1205
|
insertBefore(e, t, n);
|
|
1319
1206
|
if (t.nodeType === 1 /* ElementNode */ && t.tagName !== "SLOT-FB") {
|
|
1320
1207
|
t.hidden = (l = t["s-ih"]) != null ? l : false;
|
|
@@ -1332,29 +1219,18 @@ var renderVdom = (e, t, n = false) => {
|
|
|
1332
1219
|
}
|
|
1333
1220
|
}
|
|
1334
1221
|
}
|
|
1335
|
-
if (
|
|
1336
|
-
updateFallbackSlotVisibility(
|
|
1337
|
-
}
|
|
1338
|
-
d._$$flags$$_ &= -2 /* isTmpDisconnected */;
|
|
1339
|
-
U.length = 0;
|
|
1340
|
-
}
|
|
1341
|
-
if (a._$$flags$$_ & 2 /* scopedCssEncapsulation */) {
|
|
1342
|
-
const e = p._$$elm$$_.__childNodes || p._$$elm$$_.childNodes;
|
|
1343
|
-
for (const t of e) {
|
|
1344
|
-
if (t["s-hn"] !== M && !t["s-sh"]) {
|
|
1345
|
-
if (n && t["s-ih"] == null) {
|
|
1346
|
-
t["s-ih"] = (s = t.hidden) != null ? s : false;
|
|
1347
|
-
}
|
|
1348
|
-
t.hidden = true;
|
|
1349
|
-
}
|
|
1222
|
+
if (R) {
|
|
1223
|
+
updateFallbackSlotVisibility(d._$$elm$$_);
|
|
1350
1224
|
}
|
|
1225
|
+
v._$$flags$$_ &= -2 /* isTmpDisconnected */;
|
|
1226
|
+
L.length = 0;
|
|
1351
1227
|
}
|
|
1352
|
-
|
|
1228
|
+
C = void 0;
|
|
1353
1229
|
};
|
|
1354
1230
|
|
|
1355
1231
|
var slotReferenceDebugNode = e => {
|
|
1356
1232
|
var t;
|
|
1357
|
-
return (t = u.document) == null ? void 0 : t.createComment(`<slot${e._$$name$$_ ? ' name="' + e._$$name$$_ + '"' : ""}> (host=${
|
|
1233
|
+
return (t = u.document) == null ? void 0 : t.createComment(`<slot${e._$$name$$_ ? ' name="' + e._$$name$$_ + '"' : ""}> (host=${E.toLowerCase()})`);
|
|
1358
1234
|
};
|
|
1359
1235
|
|
|
1360
1236
|
var originalLocationDebugNode = e => {
|
|
@@ -1365,9 +1241,9 @@ var originalLocationDebugNode = e => {
|
|
|
1365
1241
|
// src/runtime/update-component.ts
|
|
1366
1242
|
var attachToAncestor = (e, t) => {
|
|
1367
1243
|
if (t && !e._$$onRenderResolve$$_ && t["s-p"]) {
|
|
1368
|
-
const n = t["s-p"].push(new Promise((
|
|
1244
|
+
const n = t["s-p"].push(new Promise((r => e._$$onRenderResolve$$_ = () => {
|
|
1369
1245
|
t["s-p"].splice(n - 1, 1);
|
|
1370
|
-
|
|
1246
|
+
r();
|
|
1371
1247
|
})));
|
|
1372
1248
|
}
|
|
1373
1249
|
};
|
|
@@ -1382,14 +1258,14 @@ var scheduleUpdate = (e, t) => {
|
|
|
1382
1258
|
}
|
|
1383
1259
|
attachToAncestor(e, e._$$ancestorComponent$$_);
|
|
1384
1260
|
const dispatch = () => dispatchHooks(e, t);
|
|
1385
|
-
return
|
|
1261
|
+
return b(dispatch);
|
|
1386
1262
|
};
|
|
1387
1263
|
|
|
1388
1264
|
var dispatchHooks = (e, t) => {
|
|
1389
1265
|
const n = e.$hostElement$;
|
|
1390
|
-
const
|
|
1391
|
-
const
|
|
1392
|
-
if (!
|
|
1266
|
+
const r = createTime("scheduleUpdate", e._$$cmpMeta$$_._$$tagName$$_);
|
|
1267
|
+
const o = e._$$lazyInstance$$_;
|
|
1268
|
+
if (!o) {
|
|
1393
1269
|
throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);
|
|
1394
1270
|
}
|
|
1395
1271
|
let l;
|
|
@@ -1397,20 +1273,20 @@ var dispatchHooks = (e, t) => {
|
|
|
1397
1273
|
{
|
|
1398
1274
|
e._$$flags$$_ |= 256 /* isListenReady */;
|
|
1399
1275
|
if (e._$$queuedListeners$$_) {
|
|
1400
|
-
e._$$queuedListeners$$_.map((([e, t]) => safeCall(
|
|
1276
|
+
e._$$queuedListeners$$_.map((([e, t]) => safeCall(o, e, t, n)));
|
|
1401
1277
|
e._$$queuedListeners$$_ = void 0;
|
|
1402
1278
|
}
|
|
1403
1279
|
}
|
|
1404
1280
|
emitLifecycleEvent(n, "componentWillLoad");
|
|
1405
|
-
l = safeCall(
|
|
1281
|
+
l = safeCall(o, "componentWillLoad", void 0, n);
|
|
1406
1282
|
} else {
|
|
1407
1283
|
emitLifecycleEvent(n, "componentWillUpdate");
|
|
1408
|
-
l = safeCall(
|
|
1284
|
+
l = safeCall(o, "componentWillUpdate", void 0, n);
|
|
1409
1285
|
}
|
|
1410
1286
|
emitLifecycleEvent(n, "componentWillRender");
|
|
1411
|
-
l = enqueue(l, (() => safeCall(
|
|
1412
|
-
|
|
1413
|
-
return enqueue(l, (() => updateComponent(e,
|
|
1287
|
+
l = enqueue(l, (() => safeCall(o, "componentWillRender", void 0, n)));
|
|
1288
|
+
r();
|
|
1289
|
+
return enqueue(l, (() => updateComponent(e, o, t)));
|
|
1414
1290
|
};
|
|
1415
1291
|
|
|
1416
1292
|
var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
|
|
@@ -1421,25 +1297,25 @@ var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
|
|
|
1421
1297
|
var isPromisey = e => e instanceof Promise || e && e.then && typeof e.then === "function";
|
|
1422
1298
|
|
|
1423
1299
|
var updateComponent = async (e, t, n) => {
|
|
1424
|
-
var
|
|
1425
|
-
const
|
|
1300
|
+
var r;
|
|
1301
|
+
const o = e.$hostElement$;
|
|
1426
1302
|
const l = createTime("update", e._$$cmpMeta$$_._$$tagName$$_);
|
|
1427
|
-
const i =
|
|
1303
|
+
const i = o["s-rc"];
|
|
1428
1304
|
if (n) {
|
|
1429
1305
|
attachStyles(e);
|
|
1430
1306
|
}
|
|
1431
1307
|
const s = createTime("render", e._$$cmpMeta$$_._$$tagName$$_);
|
|
1432
1308
|
{
|
|
1433
|
-
callRender(e, t,
|
|
1309
|
+
callRender(e, t, o, n);
|
|
1434
1310
|
}
|
|
1435
1311
|
if (i) {
|
|
1436
1312
|
i.map((e => e()));
|
|
1437
|
-
|
|
1313
|
+
o["s-rc"] = void 0;
|
|
1438
1314
|
}
|
|
1439
1315
|
s();
|
|
1440
1316
|
l();
|
|
1441
1317
|
{
|
|
1442
|
-
const t = (
|
|
1318
|
+
const t = (r = o["s-p"]) != null ? r : [];
|
|
1443
1319
|
const postUpdate = () => postUpdateComponent(e);
|
|
1444
1320
|
if (t.length === 0) {
|
|
1445
1321
|
postUpdate();
|
|
@@ -1451,7 +1327,7 @@ var updateComponent = async (e, t, n) => {
|
|
|
1451
1327
|
}
|
|
1452
1328
|
};
|
|
1453
1329
|
|
|
1454
|
-
var callRender = (e, t, n,
|
|
1330
|
+
var callRender = (e, t, n, r) => {
|
|
1455
1331
|
try {
|
|
1456
1332
|
t = t.render && t.render();
|
|
1457
1333
|
{
|
|
@@ -1463,7 +1339,7 @@ var callRender = (e, t, n, o) => {
|
|
|
1463
1339
|
{
|
|
1464
1340
|
{
|
|
1465
1341
|
{
|
|
1466
|
-
renderVdom(e, t,
|
|
1342
|
+
renderVdom(e, t, r);
|
|
1467
1343
|
}
|
|
1468
1344
|
}
|
|
1469
1345
|
}
|
|
@@ -1476,19 +1352,19 @@ var callRender = (e, t, n, o) => {
|
|
|
1476
1352
|
var postUpdateComponent = e => {
|
|
1477
1353
|
const t = e._$$cmpMeta$$_._$$tagName$$_;
|
|
1478
1354
|
const n = e.$hostElement$;
|
|
1479
|
-
const
|
|
1480
|
-
const
|
|
1355
|
+
const r = createTime("postUpdate", t);
|
|
1356
|
+
const o = e._$$lazyInstance$$_;
|
|
1481
1357
|
const l = e._$$ancestorComponent$$_;
|
|
1482
|
-
safeCall(
|
|
1358
|
+
safeCall(o, "componentDidRender", void 0, n);
|
|
1483
1359
|
emitLifecycleEvent(n, "componentDidRender");
|
|
1484
1360
|
if (!(e._$$flags$$_ & 64 /* hasLoadedComponent */)) {
|
|
1485
1361
|
e._$$flags$$_ |= 64 /* hasLoadedComponent */;
|
|
1486
1362
|
{
|
|
1487
1363
|
addHydratedFlag(n);
|
|
1488
1364
|
}
|
|
1489
|
-
safeCall(
|
|
1365
|
+
safeCall(o, "componentDidLoad", void 0, n);
|
|
1490
1366
|
emitLifecycleEvent(n, "componentDidLoad");
|
|
1491
|
-
|
|
1367
|
+
r();
|
|
1492
1368
|
{
|
|
1493
1369
|
e._$$onReadyResolve$$_(n);
|
|
1494
1370
|
if (!l) {
|
|
@@ -1496,9 +1372,9 @@ var postUpdateComponent = e => {
|
|
|
1496
1372
|
}
|
|
1497
1373
|
}
|
|
1498
1374
|
} else {
|
|
1499
|
-
safeCall(
|
|
1375
|
+
safeCall(o, "componentDidUpdate", void 0, n);
|
|
1500
1376
|
emitLifecycleEvent(n, "componentDidUpdate");
|
|
1501
|
-
|
|
1377
|
+
r();
|
|
1502
1378
|
}
|
|
1503
1379
|
{
|
|
1504
1380
|
e._$$onInstanceResolve$$_(n);
|
|
@@ -1523,12 +1399,12 @@ var appDidLoad = t => {
|
|
|
1523
1399
|
})));
|
|
1524
1400
|
};
|
|
1525
1401
|
|
|
1526
|
-
var safeCall = (e, t, n,
|
|
1402
|
+
var safeCall = (e, t, n, r) => {
|
|
1527
1403
|
if (e && e[t]) {
|
|
1528
1404
|
try {
|
|
1529
1405
|
return e[t](n);
|
|
1530
1406
|
} catch (e) {
|
|
1531
|
-
consoleError(e,
|
|
1407
|
+
consoleError(e, r);
|
|
1532
1408
|
}
|
|
1533
1409
|
}
|
|
1534
1410
|
return void 0;
|
|
@@ -1554,23 +1430,23 @@ var addHydratedFlag = e => {
|
|
|
1554
1430
|
// src/runtime/set-value.ts
|
|
1555
1431
|
var getValue = (e, t) => getHostRef(e)._$$instanceValues$$_.get(t);
|
|
1556
1432
|
|
|
1557
|
-
var setValue = (e, t, n,
|
|
1558
|
-
const
|
|
1559
|
-
if (!
|
|
1560
|
-
throw new Error(`Couldn't find host element for "${
|
|
1433
|
+
var setValue = (e, t, n, r) => {
|
|
1434
|
+
const o = getHostRef(e);
|
|
1435
|
+
if (!o) {
|
|
1436
|
+
throw new Error(`Couldn't find host element for "${r._$$tagName$$_}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);
|
|
1561
1437
|
}
|
|
1562
|
-
const l =
|
|
1563
|
-
const i =
|
|
1564
|
-
const s =
|
|
1565
|
-
const f =
|
|
1566
|
-
n = parsePropertyValue(n,
|
|
1438
|
+
const l = o.$hostElement$;
|
|
1439
|
+
const i = o._$$instanceValues$$_.get(t);
|
|
1440
|
+
const s = o._$$flags$$_;
|
|
1441
|
+
const f = o._$$lazyInstance$$_;
|
|
1442
|
+
n = parsePropertyValue(n, r._$$members$$_[t][0]);
|
|
1567
1443
|
const a = Number.isNaN(i) && Number.isNaN(n);
|
|
1568
1444
|
const c = n !== i && !a;
|
|
1569
1445
|
if ((!(s & 8 /* isConstructingInstance */) || i === void 0) && c) {
|
|
1570
|
-
|
|
1446
|
+
o._$$instanceValues$$_.set(t, n);
|
|
1571
1447
|
if (f) {
|
|
1572
|
-
if (
|
|
1573
|
-
const e =
|
|
1448
|
+
if (r._$$watchers$$_ && s & 128 /* isWatchReady */) {
|
|
1449
|
+
const e = r._$$watchers$$_[t];
|
|
1574
1450
|
if (e) {
|
|
1575
1451
|
e.map((e => {
|
|
1576
1452
|
try {
|
|
@@ -1587,27 +1463,27 @@ var setValue = (e, t, n, o) => {
|
|
|
1587
1463
|
return;
|
|
1588
1464
|
}
|
|
1589
1465
|
}
|
|
1590
|
-
scheduleUpdate(
|
|
1466
|
+
scheduleUpdate(o, false);
|
|
1591
1467
|
}
|
|
1592
1468
|
}
|
|
1593
1469
|
}
|
|
1594
1470
|
};
|
|
1595
1471
|
|
|
1596
1472
|
// src/runtime/proxy-component.ts
|
|
1597
|
-
var proxyComponent = (e, n,
|
|
1598
|
-
var
|
|
1473
|
+
var proxyComponent = (e, n, r) => {
|
|
1474
|
+
var o, l;
|
|
1599
1475
|
const i = e.prototype;
|
|
1600
1476
|
if (n._$$members$$_ || (n._$$watchers$$_ || e.watchers)) {
|
|
1601
1477
|
if (e.watchers && !n._$$watchers$$_) {
|
|
1602
1478
|
n._$$watchers$$_ = e.watchers;
|
|
1603
1479
|
}
|
|
1604
|
-
const s = Object.entries((
|
|
1480
|
+
const s = Object.entries((o = n._$$members$$_) != null ? o : {});
|
|
1605
1481
|
s.map((([e, [t]]) => {
|
|
1606
|
-
if (t & 31 /* Prop */ ||
|
|
1607
|
-
const {get:
|
|
1608
|
-
if (
|
|
1482
|
+
if (t & 31 /* Prop */ || r & 2 /* proxyState */ && t & 32 /* State */) {
|
|
1483
|
+
const {get: o, set: l} = Object.getOwnPropertyDescriptor(i, e) || {};
|
|
1484
|
+
if (o) n._$$members$$_[e][0] |= 2048 /* Getter */;
|
|
1609
1485
|
if (l) n._$$members$$_[e][0] |= 4096 /* Setter */;
|
|
1610
|
-
if (
|
|
1486
|
+
if (r & 1 /* isElementConstructor */ || !o) {
|
|
1611
1487
|
Object.defineProperty(i, e, {
|
|
1612
1488
|
get() {
|
|
1613
1489
|
{
|
|
@@ -1615,9 +1491,9 @@ var proxyComponent = (e, n, o) => {
|
|
|
1615
1491
|
return getValue(this, e);
|
|
1616
1492
|
}
|
|
1617
1493
|
const t = getHostRef(this);
|
|
1618
|
-
const
|
|
1619
|
-
if (!
|
|
1620
|
-
return
|
|
1494
|
+
const r = t ? t._$$lazyInstance$$_ : i;
|
|
1495
|
+
if (!r) return;
|
|
1496
|
+
return r[e];
|
|
1621
1497
|
}
|
|
1622
1498
|
},
|
|
1623
1499
|
configurable: true,
|
|
@@ -1625,38 +1501,38 @@ var proxyComponent = (e, n, o) => {
|
|
|
1625
1501
|
});
|
|
1626
1502
|
}
|
|
1627
1503
|
Object.defineProperty(i, e, {
|
|
1628
|
-
set(
|
|
1504
|
+
set(o) {
|
|
1629
1505
|
const i = getHostRef(this);
|
|
1630
1506
|
if (l) {
|
|
1631
|
-
const
|
|
1632
|
-
if (typeof
|
|
1633
|
-
|
|
1634
|
-
} else if (!i._$$instanceValues$$_.get(e) &&
|
|
1635
|
-
i._$$instanceValues$$_.set(e,
|
|
1507
|
+
const r = t & 32 /* State */ ? this[e] : i.$hostElement$[e];
|
|
1508
|
+
if (typeof r === "undefined" && i._$$instanceValues$$_.get(e)) {
|
|
1509
|
+
o = i._$$instanceValues$$_.get(e);
|
|
1510
|
+
} else if (!i._$$instanceValues$$_.get(e) && r) {
|
|
1511
|
+
i._$$instanceValues$$_.set(e, r);
|
|
1636
1512
|
}
|
|
1637
|
-
l.apply(this, [ parsePropertyValue(
|
|
1638
|
-
|
|
1639
|
-
setValue(this, e,
|
|
1513
|
+
l.apply(this, [ parsePropertyValue(o, t) ]);
|
|
1514
|
+
o = t & 32 /* State */ ? this[e] : i.$hostElement$[e];
|
|
1515
|
+
setValue(this, e, o, n);
|
|
1640
1516
|
return;
|
|
1641
1517
|
}
|
|
1642
1518
|
{
|
|
1643
|
-
if ((
|
|
1644
|
-
setValue(this, e,
|
|
1645
|
-
if (
|
|
1519
|
+
if ((r & 1 /* isElementConstructor */) === 0 || (n._$$members$$_[e][0] & 4096 /* Setter */) === 0) {
|
|
1520
|
+
setValue(this, e, o, n);
|
|
1521
|
+
if (r & 1 /* isElementConstructor */ && !i._$$lazyInstance$$_) {
|
|
1646
1522
|
i._$$onReadyPromise$$_.then((() => {
|
|
1647
1523
|
if (n._$$members$$_[e][0] & 4096 /* Setter */ && i._$$lazyInstance$$_[e] !== i._$$instanceValues$$_.get(e)) {
|
|
1648
|
-
i._$$lazyInstance$$_[e] =
|
|
1524
|
+
i._$$lazyInstance$$_[e] = o;
|
|
1649
1525
|
}
|
|
1650
1526
|
}));
|
|
1651
1527
|
}
|
|
1652
1528
|
return;
|
|
1653
1529
|
}
|
|
1654
1530
|
const setterSetVal = () => {
|
|
1655
|
-
const
|
|
1656
|
-
if (!i._$$instanceValues$$_.get(e) &&
|
|
1657
|
-
i._$$instanceValues$$_.set(e,
|
|
1531
|
+
const r = i._$$lazyInstance$$_[e];
|
|
1532
|
+
if (!i._$$instanceValues$$_.get(e) && r) {
|
|
1533
|
+
i._$$instanceValues$$_.set(e, r);
|
|
1658
1534
|
}
|
|
1659
|
-
i._$$lazyInstance$$_[e] = parsePropertyValue(
|
|
1535
|
+
i._$$lazyInstance$$_[e] = parsePropertyValue(o, t);
|
|
1660
1536
|
setValue(this, e, i._$$lazyInstance$$_[e], n);
|
|
1661
1537
|
};
|
|
1662
1538
|
if (i._$$lazyInstance$$_) {
|
|
@@ -1667,25 +1543,25 @@ var proxyComponent = (e, n, o) => {
|
|
|
1667
1543
|
}
|
|
1668
1544
|
}
|
|
1669
1545
|
});
|
|
1670
|
-
} else if (
|
|
1546
|
+
} else if (r & 1 /* isElementConstructor */ && t & 64 /* Method */) {
|
|
1671
1547
|
Object.defineProperty(i, e, {
|
|
1672
1548
|
value(...t) {
|
|
1673
1549
|
var n;
|
|
1674
|
-
const
|
|
1675
|
-
return (n =
|
|
1550
|
+
const r = getHostRef(this);
|
|
1551
|
+
return (n = r == null ? void 0 : r._$$onInstancePromise$$_) == null ? void 0 : n.then((() => {
|
|
1676
1552
|
var n;
|
|
1677
|
-
return (n =
|
|
1553
|
+
return (n = r._$$lazyInstance$$_) == null ? void 0 : n[e](...t);
|
|
1678
1554
|
}));
|
|
1679
1555
|
}
|
|
1680
1556
|
});
|
|
1681
1557
|
}
|
|
1682
1558
|
}));
|
|
1683
|
-
if (
|
|
1684
|
-
const
|
|
1685
|
-
i.attributeChangedCallback = function(e,
|
|
1686
|
-
|
|
1559
|
+
if (r & 1 /* isElementConstructor */) {
|
|
1560
|
+
const r = new Map;
|
|
1561
|
+
i.attributeChangedCallback = function(e, o, l) {
|
|
1562
|
+
v.jmp((() => {
|
|
1687
1563
|
var s;
|
|
1688
|
-
const f =
|
|
1564
|
+
const f = r.get(e);
|
|
1689
1565
|
if (this.hasOwnProperty(f) && t.lazyLoad) {
|
|
1690
1566
|
l = this[f];
|
|
1691
1567
|
delete this[f];
|
|
@@ -1694,13 +1570,13 @@ var proxyComponent = (e, n, o) => {
|
|
|
1694
1570
|
return;
|
|
1695
1571
|
} else if (f == null) {
|
|
1696
1572
|
const t = getHostRef(this);
|
|
1697
|
-
const
|
|
1698
|
-
if (
|
|
1699
|
-
const
|
|
1573
|
+
const r = t == null ? void 0 : t._$$flags$$_;
|
|
1574
|
+
if (r && !(r & 8 /* isConstructingInstance */) && r & 128 /* isWatchReady */ && l !== o) {
|
|
1575
|
+
const r = t._$$lazyInstance$$_;
|
|
1700
1576
|
const i = (s = n._$$watchers$$_) == null ? void 0 : s[e];
|
|
1701
1577
|
i == null ? void 0 : i.forEach((t => {
|
|
1702
|
-
if (
|
|
1703
|
-
|
|
1578
|
+
if (r[t] != null) {
|
|
1579
|
+
r[t].call(r, l, o, e);
|
|
1704
1580
|
}
|
|
1705
1581
|
}));
|
|
1706
1582
|
}
|
|
@@ -1715,11 +1591,11 @@ var proxyComponent = (e, n, o) => {
|
|
|
1715
1591
|
};
|
|
1716
1592
|
e.observedAttributes = Array.from(
|
|
1717
1593
|
new Set([ ...Object.keys((l = n._$$watchers$$_) != null ? l : {}), ...s.filter((([e, t]) => t[0] & 15 /* HasAttribute */)).map((([e, t]) => {
|
|
1718
|
-
var
|
|
1594
|
+
var o;
|
|
1719
1595
|
const l = t[1] || e;
|
|
1720
|
-
|
|
1596
|
+
r.set(l, e);
|
|
1721
1597
|
if (t[0] & 512 /* ReflectAttr */) {
|
|
1722
|
-
(
|
|
1598
|
+
(o = n._$$attrsToReflect$$_) == null ? void 0 : o.push([ e, l ]);
|
|
1723
1599
|
}
|
|
1724
1600
|
return l;
|
|
1725
1601
|
})) ]));
|
|
@@ -1729,36 +1605,36 @@ var proxyComponent = (e, n, o) => {
|
|
|
1729
1605
|
};
|
|
1730
1606
|
|
|
1731
1607
|
// src/runtime/initialize-component.ts
|
|
1732
|
-
var initializeComponent = async (e, t, n,
|
|
1733
|
-
let
|
|
1608
|
+
var initializeComponent = async (e, t, n, r) => {
|
|
1609
|
+
let o;
|
|
1734
1610
|
if ((t._$$flags$$_ & 32 /* hasInitializedComponent */) === 0) {
|
|
1735
1611
|
t._$$flags$$_ |= 32 /* hasInitializedComponent */;
|
|
1736
|
-
const
|
|
1737
|
-
if (
|
|
1738
|
-
const
|
|
1739
|
-
if (
|
|
1612
|
+
const r = n._$$lazyBundleId$$_;
|
|
1613
|
+
if (r) {
|
|
1614
|
+
const r = loadModule(n, t);
|
|
1615
|
+
if (r && "then" in r) {
|
|
1740
1616
|
const e = uniqueTime();
|
|
1741
|
-
|
|
1617
|
+
o = await r;
|
|
1742
1618
|
e();
|
|
1743
1619
|
} else {
|
|
1744
|
-
|
|
1620
|
+
o = r;
|
|
1745
1621
|
}
|
|
1746
|
-
if (!
|
|
1622
|
+
if (!o) {
|
|
1747
1623
|
throw new Error(`Constructor for "${n._$$tagName$$_}#${t._$$modeName$$_}" was not found`);
|
|
1748
1624
|
}
|
|
1749
|
-
if (!
|
|
1625
|
+
if (!o.isProxied) {
|
|
1750
1626
|
{
|
|
1751
|
-
n._$$watchers$$_ =
|
|
1627
|
+
n._$$watchers$$_ = o.watchers;
|
|
1752
1628
|
}
|
|
1753
|
-
proxyComponent(
|
|
1754
|
-
|
|
1629
|
+
proxyComponent(o, n, 2 /* proxyState */);
|
|
1630
|
+
o.isProxied = true;
|
|
1755
1631
|
}
|
|
1756
1632
|
const l = createTime("createInstance", n._$$tagName$$_);
|
|
1757
1633
|
{
|
|
1758
1634
|
t._$$flags$$_ |= 8 /* isConstructingInstance */;
|
|
1759
1635
|
}
|
|
1760
1636
|
try {
|
|
1761
|
-
new
|
|
1637
|
+
new o(t);
|
|
1762
1638
|
} catch (t) {
|
|
1763
1639
|
consoleError(t, e);
|
|
1764
1640
|
}
|
|
@@ -1771,20 +1647,20 @@ var initializeComponent = async (e, t, n, o) => {
|
|
|
1771
1647
|
l();
|
|
1772
1648
|
fireConnectedCallback(t._$$lazyInstance$$_, e);
|
|
1773
1649
|
} else {
|
|
1774
|
-
|
|
1650
|
+
o = e.constructor;
|
|
1775
1651
|
const n = e.localName;
|
|
1776
1652
|
customElements.whenDefined(n).then((() => t._$$flags$$_ |= 128 /* isWatchReady */));
|
|
1777
1653
|
}
|
|
1778
|
-
if (
|
|
1654
|
+
if (o && o.style) {
|
|
1779
1655
|
let e;
|
|
1780
|
-
if (typeof
|
|
1781
|
-
e =
|
|
1656
|
+
if (typeof o.style === "string") {
|
|
1657
|
+
e = o.style;
|
|
1782
1658
|
}
|
|
1783
1659
|
const t = getScopeId(n);
|
|
1784
|
-
if (!
|
|
1785
|
-
const
|
|
1660
|
+
if (!i.has(t)) {
|
|
1661
|
+
const r = createTime("registerStyles", n._$$tagName$$_);
|
|
1786
1662
|
registerStyle(t, e, !!(n._$$flags$$_ & 1 /* shadowDomEncapsulation */));
|
|
1787
|
-
|
|
1663
|
+
r();
|
|
1788
1664
|
}
|
|
1789
1665
|
}
|
|
1790
1666
|
}
|
|
@@ -1805,10 +1681,10 @@ var fireConnectedCallback = (e, t) => {
|
|
|
1805
1681
|
|
|
1806
1682
|
// src/runtime/connected-callback.ts
|
|
1807
1683
|
var connectedCallback = e => {
|
|
1808
|
-
if ((
|
|
1684
|
+
if ((v._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
|
|
1809
1685
|
const t = getHostRef(e);
|
|
1810
1686
|
const n = t._$$cmpMeta$$_;
|
|
1811
|
-
const
|
|
1687
|
+
const r = createTime("connectedCallback", n._$$tagName$$_);
|
|
1812
1688
|
if (!(t._$$flags$$_ & 1 /* hasConnected */)) {
|
|
1813
1689
|
t._$$flags$$_ |= 1 /* hasConnected */;
|
|
1814
1690
|
{
|
|
@@ -1846,7 +1722,7 @@ var connectedCallback = e => {
|
|
|
1846
1722
|
t._$$onReadyPromise$$_.then((() => fireConnectedCallback(t._$$lazyInstance$$_, e)));
|
|
1847
1723
|
}
|
|
1848
1724
|
}
|
|
1849
|
-
|
|
1725
|
+
r();
|
|
1850
1726
|
}
|
|
1851
1727
|
};
|
|
1852
1728
|
|
|
@@ -1866,7 +1742,7 @@ var disconnectInstance = (e, t) => {
|
|
|
1866
1742
|
};
|
|
1867
1743
|
|
|
1868
1744
|
var disconnectedCallback = async e => {
|
|
1869
|
-
if ((
|
|
1745
|
+
if ((v._$$flags$$_ & 1 /* isTmpDisconnected */) === 0) {
|
|
1870
1746
|
const t = getHostRef(e);
|
|
1871
1747
|
{
|
|
1872
1748
|
if (t._$$rmListeners$$_) {
|
|
@@ -1880,11 +1756,11 @@ var disconnectedCallback = async e => {
|
|
|
1880
1756
|
t._$$onReadyPromise$$_.then((() => disconnectInstance(t._$$lazyInstance$$_, e)));
|
|
1881
1757
|
}
|
|
1882
1758
|
}
|
|
1883
|
-
if (
|
|
1884
|
-
|
|
1759
|
+
if (j.has(e)) {
|
|
1760
|
+
j.delete(e);
|
|
1885
1761
|
}
|
|
1886
|
-
if (e.shadowRoot &&
|
|
1887
|
-
|
|
1762
|
+
if (e.shadowRoot && j.has(e.shadowRoot)) {
|
|
1763
|
+
j.delete(e.shadowRoot);
|
|
1888
1764
|
}
|
|
1889
1765
|
};
|
|
1890
1766
|
|
|
@@ -1895,58 +1771,62 @@ var bootstrapLazy = (e, t = {}) => {
|
|
|
1895
1771
|
console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");
|
|
1896
1772
|
return;
|
|
1897
1773
|
}
|
|
1898
|
-
const
|
|
1899
|
-
const
|
|
1774
|
+
const r = createTime();
|
|
1775
|
+
const o = [];
|
|
1900
1776
|
const l = t.exclude || [];
|
|
1901
1777
|
const i = u.customElements;
|
|
1902
1778
|
const s = u.document.head;
|
|
1903
1779
|
const c = s.querySelector("meta[charset]");
|
|
1904
|
-
const
|
|
1780
|
+
const d = u.document.createElement("style");
|
|
1905
1781
|
const p = [];
|
|
1906
1782
|
let m;
|
|
1907
1783
|
let y = true;
|
|
1908
|
-
Object.assign(
|
|
1909
|
-
|
|
1910
|
-
let
|
|
1784
|
+
Object.assign(v, t);
|
|
1785
|
+
v._$$resourcesUrl$$_ = new URL(t.resourcesUrl || "./", u.document.baseURI).href;
|
|
1786
|
+
let w = false;
|
|
1911
1787
|
e.map((e => {
|
|
1912
1788
|
e[1].map((t => {
|
|
1913
1789
|
var n;
|
|
1914
|
-
const
|
|
1790
|
+
const r = {
|
|
1915
1791
|
_$$flags$$_: t[0],
|
|
1916
1792
|
_$$tagName$$_: t[1],
|
|
1917
1793
|
_$$members$$_: t[2],
|
|
1918
1794
|
_$$listeners$$_: t[3]
|
|
1919
1795
|
};
|
|
1920
|
-
if (
|
|
1921
|
-
|
|
1796
|
+
if (r._$$flags$$_ & 4 /* hasSlotRelocation */) {
|
|
1797
|
+
w = true;
|
|
1922
1798
|
}
|
|
1923
1799
|
{
|
|
1924
|
-
|
|
1800
|
+
r._$$members$$_ = t[2];
|
|
1925
1801
|
}
|
|
1926
1802
|
{
|
|
1927
|
-
|
|
1803
|
+
r._$$listeners$$_ = t[3];
|
|
1928
1804
|
}
|
|
1929
1805
|
{
|
|
1930
|
-
|
|
1806
|
+
r._$$attrsToReflect$$_ = [];
|
|
1931
1807
|
}
|
|
1932
1808
|
{
|
|
1933
|
-
|
|
1809
|
+
r._$$watchers$$_ = (n = t[4]) != null ? n : {};
|
|
1934
1810
|
}
|
|
1935
|
-
const s =
|
|
1811
|
+
const s = r._$$tagName$$_;
|
|
1936
1812
|
const f = class extends HTMLElement {
|
|
1937
1813
|
// StencilLazyHost
|
|
1938
1814
|
constructor(e) {
|
|
1939
1815
|
super(e);
|
|
1940
1816
|
this.hasRegisteredEventListeners = false;
|
|
1941
1817
|
e = this;
|
|
1942
|
-
registerHost(e,
|
|
1943
|
-
if (
|
|
1818
|
+
registerHost(e, r);
|
|
1819
|
+
if (r._$$flags$$_ & 1 /* shadowDomEncapsulation */) {
|
|
1944
1820
|
{
|
|
1945
1821
|
if (!e.shadowRoot) {
|
|
1946
|
-
|
|
1822
|
+
{
|
|
1823
|
+
e.attachShadow({
|
|
1824
|
+
mode: "open"
|
|
1825
|
+
});
|
|
1826
|
+
}
|
|
1947
1827
|
} else {
|
|
1948
1828
|
if (e.shadowRoot.mode !== "open") {
|
|
1949
|
-
throw new Error(`Unable to re-use existing shadow root for ${
|
|
1829
|
+
throw new Error(`Unable to re-use existing shadow root for ${r._$$tagName$$_}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`);
|
|
1950
1830
|
}
|
|
1951
1831
|
}
|
|
1952
1832
|
}
|
|
@@ -1956,7 +1836,7 @@ var bootstrapLazy = (e, t = {}) => {
|
|
|
1956
1836
|
const e = getHostRef(this);
|
|
1957
1837
|
if (!this.hasRegisteredEventListeners) {
|
|
1958
1838
|
this.hasRegisteredEventListeners = true;
|
|
1959
|
-
addHostEventListeners(this, e,
|
|
1839
|
+
addHostEventListeners(this, e, r._$$listeners$$_);
|
|
1960
1840
|
}
|
|
1961
1841
|
if (m) {
|
|
1962
1842
|
clearTimeout(m);
|
|
@@ -1965,12 +1845,12 @@ var bootstrapLazy = (e, t = {}) => {
|
|
|
1965
1845
|
if (y) {
|
|
1966
1846
|
p.push(this);
|
|
1967
1847
|
} else {
|
|
1968
|
-
|
|
1848
|
+
v.jmp((() => connectedCallback(this)));
|
|
1969
1849
|
}
|
|
1970
1850
|
}
|
|
1971
1851
|
disconnectedCallback() {
|
|
1972
|
-
|
|
1973
|
-
|
|
1852
|
+
v.jmp((() => disconnectedCallback(this)));
|
|
1853
|
+
v.raf((() => {
|
|
1974
1854
|
var e;
|
|
1975
1855
|
const t = getHostRef(this);
|
|
1976
1856
|
const n = p.findIndex((e => e === this));
|
|
@@ -1986,27 +1866,27 @@ var bootstrapLazy = (e, t = {}) => {
|
|
|
1986
1866
|
return getHostRef(this)._$$onReadyPromise$$_;
|
|
1987
1867
|
}
|
|
1988
1868
|
};
|
|
1989
|
-
|
|
1869
|
+
r._$$lazyBundleId$$_ = e[0];
|
|
1990
1870
|
if (!l.includes(s) && !i.get(s)) {
|
|
1991
|
-
|
|
1992
|
-
i.define(s, proxyComponent(f,
|
|
1871
|
+
o.push(s);
|
|
1872
|
+
i.define(s, proxyComponent(f, r, 1 /* isElementConstructor */));
|
|
1993
1873
|
}
|
|
1994
1874
|
}));
|
|
1995
1875
|
}));
|
|
1996
|
-
if (
|
|
1997
|
-
if (
|
|
1998
|
-
|
|
1876
|
+
if (o.length > 0) {
|
|
1877
|
+
if (w) {
|
|
1878
|
+
d.textContent += a;
|
|
1999
1879
|
}
|
|
2000
1880
|
{
|
|
2001
|
-
|
|
1881
|
+
d.textContent += o.sort() + f;
|
|
2002
1882
|
}
|
|
2003
|
-
if (
|
|
2004
|
-
|
|
2005
|
-
const e = (n =
|
|
1883
|
+
if (d.innerHTML.length) {
|
|
1884
|
+
d.setAttribute("data-styles", "");
|
|
1885
|
+
const e = (n = v._$$nonce$$_) != null ? n : queryNonceMetaTagContent(u.document);
|
|
2006
1886
|
if (e != null) {
|
|
2007
|
-
|
|
1887
|
+
d.setAttribute("nonce", e);
|
|
2008
1888
|
}
|
|
2009
|
-
s.insertBefore(
|
|
1889
|
+
s.insertBefore(d, c ? c.nextSibling : s.firstChild);
|
|
2010
1890
|
}
|
|
2011
1891
|
}
|
|
2012
1892
|
y = false;
|
|
@@ -2014,33 +1894,33 @@ var bootstrapLazy = (e, t = {}) => {
|
|
|
2014
1894
|
p.map((e => e.connectedCallback()));
|
|
2015
1895
|
} else {
|
|
2016
1896
|
{
|
|
2017
|
-
|
|
1897
|
+
v.jmp((() => m = setTimeout(appDidLoad, 30)));
|
|
2018
1898
|
}
|
|
2019
1899
|
}
|
|
2020
|
-
|
|
1900
|
+
r();
|
|
2021
1901
|
};
|
|
2022
1902
|
|
|
2023
1903
|
// src/runtime/fragment.ts
|
|
2024
1904
|
var Fragment = (e, t) => t;
|
|
2025
1905
|
|
|
2026
|
-
var addHostEventListeners = (e, t, n,
|
|
1906
|
+
var addHostEventListeners = (e, t, n, r) => {
|
|
2027
1907
|
if (n && u.document) {
|
|
2028
|
-
n.map((([n,
|
|
1908
|
+
n.map((([n, r, o]) => {
|
|
2029
1909
|
const l = getHostListenerTarget(u.document, e, n);
|
|
2030
|
-
const i = hostListenerProxy(t,
|
|
1910
|
+
const i = hostListenerProxy(t, o);
|
|
2031
1911
|
const s = hostListenerOpts(n);
|
|
2032
|
-
|
|
2033
|
-
(t._$$rmListeners$$_ = t._$$rmListeners$$_ || []).push((() =>
|
|
1912
|
+
v.ael(l, r, i, s);
|
|
1913
|
+
(t._$$rmListeners$$_ = t._$$rmListeners$$_ || []).push((() => v.rel(l, r, i, s)));
|
|
2034
1914
|
}));
|
|
2035
1915
|
}
|
|
2036
1916
|
};
|
|
2037
1917
|
|
|
2038
1918
|
var hostListenerProxy = (e, t) => n => {
|
|
2039
|
-
var
|
|
1919
|
+
var r;
|
|
2040
1920
|
try {
|
|
2041
1921
|
{
|
|
2042
1922
|
if (e._$$flags$$_ & 256 /* isListenReady */) {
|
|
2043
|
-
(
|
|
1923
|
+
(r = e._$$lazyInstance$$_) == null ? void 0 : r[t](n);
|
|
2044
1924
|
} else {
|
|
2045
1925
|
(e._$$queuedListeners$$_ = e._$$queuedListeners$$_ || []).push([ t, n ]);
|
|
2046
1926
|
}
|
|
@@ -2057,15 +1937,15 @@ var getHostListenerTarget = (e, t, n) => {
|
|
|
2057
1937
|
return t;
|
|
2058
1938
|
};
|
|
2059
1939
|
|
|
2060
|
-
var hostListenerOpts = e =>
|
|
1940
|
+
var hostListenerOpts = e => d ? {
|
|
2061
1941
|
passive: (e & 1 /* Passive */) !== 0,
|
|
2062
1942
|
capture: (e & 2 /* Capture */) !== 0
|
|
2063
1943
|
} : (e & 2 /* Capture */) !== 0
|
|
2064
1944
|
// src/runtime/nonce.ts
|
|
2065
1945
|
;
|
|
2066
1946
|
|
|
2067
|
-
var setNonce = e =>
|
|
1947
|
+
var setNonce = e => v._$$nonce$$_ = e;
|
|
2068
1948
|
|
|
2069
|
-
export { Fragment as F,
|
|
2070
|
-
//# sourceMappingURL=index-
|
|
2071
|
-
//# sourceMappingURL=index-
|
|
1949
|
+
export { Fragment as F, $ as H, getAssetPath as a, bootstrapLazy as b, createEvent as c, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1950
|
+
//# sourceMappingURL=index-COzomxjJ.js.map
|
|
1951
|
+
//# sourceMappingURL=index-COzomxjJ.js.map
|