@govbr-ds/webcomponents 2.0.0-next.3 → 2.0.0-next.32
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/README.md +339 -0
- package/dist/cjs/app-globals-XonOcHUG.js +11 -0
- package/dist/cjs/app-globals-XonOcHUG.js.map +1 -0
- package/dist/cjs/br-avatar.cjs.entry.js +129 -0
- package/dist/cjs/br-avatar.cjs.entry.js.map +1 -0
- package/dist/cjs/br-avatar.entry.cjs.js.map +1 -0
- package/dist/cjs/br-breadcrumb.cjs.entry.js +308 -0
- package/dist/cjs/br-breadcrumb.cjs.entry.js.map +1 -0
- package/dist/cjs/br-breadcrumb.entry.cjs.js.map +1 -0
- package/dist/cjs/br-button.br-icon.entry.cjs.js.map +1 -0
- package/dist/cjs/br-button_2.cjs.entry.js +2506 -0
- package/dist/cjs/br-button_2.cjs.entry.js.map +1 -0
- package/dist/cjs/br-checkbox.cjs.entry.js +148 -0
- package/dist/cjs/br-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/br-checkbox.entry.cjs.js.map +1 -0
- package/dist/cjs/br-checkgroup.cjs.entry.js +116 -0
- package/dist/cjs/br-checkgroup.cjs.entry.js.map +1 -0
- package/dist/cjs/br-checkgroup.entry.cjs.js.map +1 -0
- package/dist/cjs/br-collapse.cjs.entry.js +99 -0
- package/dist/cjs/br-collapse.cjs.entry.js.map +1 -0
- package/dist/cjs/br-collapse.entry.cjs.js.map +1 -0
- package/dist/cjs/br-divider.cjs.entry.js +85 -0
- package/dist/cjs/br-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/br-divider.entry.cjs.js.map +1 -0
- package/dist/cjs/br-dropdown.cjs.entry.js +108 -0
- package/dist/cjs/br-dropdown.cjs.entry.js.map +1 -0
- package/dist/cjs/br-dropdown.entry.cjs.js.map +1 -0
- package/dist/cjs/br-input.br-radio.entry.cjs.js.map +1 -0
- package/dist/cjs/br-input_2.cjs.entry.js +393 -0
- package/dist/cjs/br-input_2.cjs.entry.js.map +1 -0
- package/dist/cjs/br-item.cjs.entry.js +224 -0
- package/dist/cjs/br-item.cjs.entry.js.map +1 -0
- package/dist/cjs/br-item.entry.cjs.js.map +1 -0
- package/dist/cjs/br-list.cjs.entry.js +89 -0
- package/dist/cjs/br-list.cjs.entry.js.map +1 -0
- package/dist/cjs/br-list.entry.cjs.js.map +1 -0
- package/dist/cjs/br-loading.cjs.entry.js +57 -0
- package/dist/cjs/br-loading.cjs.entry.js.map +1 -0
- package/dist/cjs/br-loading.entry.cjs.js.map +1 -0
- package/dist/cjs/br-message.cjs.entry.js +113 -0
- package/dist/cjs/br-message.cjs.entry.js.map +1 -0
- package/dist/cjs/br-message.entry.cjs.js.map +1 -0
- package/dist/cjs/br-select.cjs.entry.js +304 -0
- package/dist/cjs/br-select.cjs.entry.js.map +1 -0
- package/dist/cjs/br-select.entry.cjs.js.map +1 -0
- package/dist/cjs/br-switch.cjs.entry.js +122 -0
- package/dist/cjs/br-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/br-switch.entry.cjs.js.map +1 -0
- package/dist/cjs/br-tag.cjs.entry.js +197 -0
- package/dist/cjs/br-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/br-tag.entry.cjs.js.map +1 -0
- package/dist/cjs/br-textarea.cjs.entry.js +121 -0
- package/dist/cjs/br-textarea.cjs.entry.js.map +1 -0
- package/dist/cjs/br-textarea.entry.cjs.js.map +1 -0
- package/dist/cjs/br-upload.cjs.entry.js +150 -0
- package/dist/cjs/br-upload.cjs.entry.js.map +1 -0
- package/dist/cjs/br-upload.entry.cjs.js.map +1 -0
- package/dist/cjs/index-C5PKqcRm.js +2349 -0
- package/dist/cjs/index-C5PKqcRm.js.map +1 -0
- package/dist/cjs/index.cjs.js +8 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +19 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/webcomponents.cjs.js +52 -0
- package/dist/cjs/webcomponents.cjs.js.map +1 -0
- package/dist/collection/assets/wc.svg +1 -0
- package/dist/collection/collection-manifest.json +31 -0
- package/dist/collection/components/avatar/avatar.css +1 -0
- package/dist/collection/components/avatar/avatar.js +343 -0
- package/dist/collection/components/avatar/avatar.js.map +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +1 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +390 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/collection/components/button/button.css +1 -0
- package/dist/collection/components/button/button.js +315 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.css +1 -0
- package/dist/collection/components/checkbox/checkbox.js +415 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/checkgroup/checkgroup.css +1 -0
- package/dist/collection/components/checkgroup/checkgroup.js +237 -0
- package/dist/collection/components/checkgroup/checkgroup.js.map +1 -0
- package/dist/collection/components/collapse/collapse.css +1 -0
- package/dist/collection/components/collapse/collapse.js +300 -0
- package/dist/collection/components/collapse/collapse.js.map +1 -0
- package/dist/collection/components/divider/divider.css +1 -0
- package/dist/collection/components/divider/divider.js +261 -0
- package/dist/collection/components/divider/divider.js.map +1 -0
- package/dist/collection/components/dropdown/dropdown.css +1 -0
- package/dist/collection/components/dropdown/dropdown.js +220 -0
- package/dist/collection/components/dropdown/dropdown.js.map +1 -0
- package/dist/collection/components/icon/icon.css +1 -0
- package/dist/collection/components/icon/icon.js +242 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/input/input.css +1 -0
- package/dist/collection/components/input/input.js +762 -0
- package/dist/collection/components/input/input.js.map +1 -0
- package/dist/collection/components/item/item.css +1 -0
- package/dist/collection/components/item/item.js +505 -0
- package/dist/collection/components/item/item.js.map +1 -0
- package/dist/collection/components/list/list.css +1 -0
- package/dist/collection/components/list/list.js +176 -0
- package/dist/collection/components/list/list.js.map +1 -0
- package/dist/collection/components/loading/loading.css +1 -0
- package/dist/collection/components/loading/loading.js +166 -0
- package/dist/collection/components/loading/loading.js.map +1 -0
- package/dist/collection/components/message/message.css +1 -0
- package/dist/collection/components/message/message.js +315 -0
- package/dist/collection/components/message/message.js.map +1 -0
- package/dist/collection/components/radio/radio.css +1 -0
- package/dist/collection/components/radio/radio.js +335 -0
- package/dist/collection/components/radio/radio.js.map +1 -0
- package/dist/collection/components/select/select.css +1 -0
- package/dist/collection/components/select/select.js +538 -0
- package/dist/collection/components/select/select.js.map +1 -0
- package/dist/collection/components/switch/switch.css +1 -0
- package/dist/collection/components/switch/switch.js +387 -0
- package/dist/collection/components/switch/switch.js.map +1 -0
- package/dist/collection/components/tag/tag.css +1 -0
- package/dist/collection/components/tag/tag.js +497 -0
- package/dist/collection/components/tag/tag.js.map +1 -0
- package/dist/collection/components/textarea/textarea.css +1 -0
- package/dist/collection/components/textarea/textarea.js +373 -0
- package/dist/collection/components/textarea/textarea.js.map +1 -0
- package/dist/collection/components/upload/upload.css +1 -0
- package/dist/collection/components/upload/upload.js +263 -0
- package/dist/collection/components/upload/upload.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/pages/components/breadcrumb/index.js +18 -0
- package/dist/collection/pages/components/button/index.js +18 -0
- package/dist/collection/pages/components/checkbox/index.js +18 -0
- package/dist/collection/pages/components/checkgroup/index.js +20 -0
- package/dist/collection/pages/components/collapse/index.js +18 -0
- package/dist/collection/pages/components/divider/index.js +18 -0
- package/dist/collection/pages/components/dropdown/index.js +18 -0
- package/dist/collection/pages/components/icon/index.js +18 -0
- package/dist/collection/pages/components/input/index.js +27 -0
- package/dist/collection/pages/components/item/index.js +18 -0
- package/dist/collection/pages/components/list/index.js +19 -0
- package/dist/collection/pages/components/message/index.js +47 -0
- package/dist/collection/pages/components/radio/index.js +19 -0
- package/dist/collection/pages/components/select/index.js +18 -0
- package/dist/collection/pages/components/switch/index.js +18 -0
- package/dist/collection/pages/components/tag/index.js +18 -0
- package/dist/collection/pages/components/textarea/index.js +19 -0
- package/dist/collection/pages/components/upload/index.js +19 -0
- package/dist/collection/pages/scripts/menu.js +263 -0
- package/dist/collection/pages/scripts/pageLoader.js +192 -0
- package/dist/collection/utils/interfaces.js +2 -0
- package/dist/collection/utils/interfaces.js.map +1 -0
- package/dist/collection/value-accessors/angular-value-accessor-config.js +40 -0
- package/dist/collection/value-accessors/angular-value-accessor-config.js.map +1 -0
- package/dist/collection/value-accessors/index.js +6 -0
- package/dist/collection/value-accessors/index.js.map +1 -0
- package/dist/collection/value-accessors/vue-model-config.js +21 -0
- package/dist/collection/value-accessors/vue-model-config.js.map +1 -0
- package/dist/components/br-avatar.d.ts +11 -0
- package/dist/components/br-avatar.js +208 -0
- package/dist/components/br-avatar.js.map +1 -0
- package/dist/components/br-breadcrumb.d.ts +11 -0
- package/dist/components/br-breadcrumb.js +465 -0
- package/dist/components/br-breadcrumb.js.map +1 -0
- package/dist/components/br-button.d.ts +11 -0
- package/dist/components/br-button.js +12 -0
- package/dist/components/br-button.js.map +1 -0
- package/dist/components/br-checkbox.d.ts +11 -0
- package/dist/components/br-checkbox.js +12 -0
- package/dist/components/br-checkbox.js.map +1 -0
- package/dist/components/br-checkgroup.d.ts +11 -0
- package/dist/components/br-checkgroup.js +178 -0
- package/dist/components/br-checkgroup.js.map +1 -0
- package/dist/components/br-collapse.d.ts +11 -0
- package/dist/components/br-collapse.js +179 -0
- package/dist/components/br-collapse.js.map +1 -0
- package/dist/components/br-divider.d.ts +11 -0
- package/dist/components/br-divider.js +139 -0
- package/dist/components/br-divider.js.map +1 -0
- package/dist/components/br-dropdown.d.ts +11 -0
- package/dist/components/br-dropdown.js +165 -0
- package/dist/components/br-dropdown.js.map +1 -0
- package/dist/components/br-icon.d.ts +11 -0
- package/dist/components/br-icon.js +12 -0
- package/dist/components/br-icon.js.map +1 -0
- package/dist/components/br-input.d.ts +11 -0
- package/dist/components/br-input.js +12 -0
- package/dist/components/br-input.js.map +1 -0
- package/dist/components/br-item.d.ts +11 -0
- package/dist/components/br-item.js +12 -0
- package/dist/components/br-item.js.map +1 -0
- package/dist/components/br-list.d.ts +11 -0
- package/dist/components/br-list.js +12 -0
- package/dist/components/br-list.js.map +1 -0
- package/dist/components/br-loading.d.ts +11 -0
- package/dist/components/br-loading.js +116 -0
- package/dist/components/br-loading.js.map +1 -0
- package/dist/components/br-message.d.ts +11 -0
- package/dist/components/br-message.js +196 -0
- package/dist/components/br-message.js.map +1 -0
- package/dist/components/br-radio.d.ts +11 -0
- package/dist/components/br-radio.js +12 -0
- package/dist/components/br-radio.js.map +1 -0
- package/dist/components/br-select.d.ts +11 -0
- package/dist/components/br-select.js +441 -0
- package/dist/components/br-select.js.map +1 -0
- package/dist/components/br-switch.d.ts +11 -0
- package/dist/components/br-switch.js +180 -0
- package/dist/components/br-switch.js.map +1 -0
- package/dist/components/br-tag.d.ts +11 -0
- package/dist/components/br-tag.js +310 -0
- package/dist/components/br-tag.js.map +1 -0
- package/dist/components/br-textarea.d.ts +11 -0
- package/dist/components/br-textarea.js +199 -0
- package/dist/components/br-textarea.js.map +1 -0
- package/dist/components/br-upload.d.ts +11 -0
- package/dist/components/br-upload.js +251 -0
- package/dist/components/br-upload.js.map +1 -0
- package/dist/components/index.d.ts +76 -0
- package/dist/components/index.js +46 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/p-4n7uz3ik.js +173 -0
- package/dist/components/p-4n7uz3ik.js.map +1 -0
- package/dist/components/p-B27qgEvJ.js +284 -0
- package/dist/components/p-B27qgEvJ.js.map +1 -0
- package/dist/components/p-BPq5El3u.js +2269 -0
- package/dist/components/p-BPq5El3u.js.map +1 -0
- package/dist/components/p-D02C28Eq.js +2042 -0
- package/dist/components/p-D02C28Eq.js.map +1 -0
- package/dist/components/p-D27CYIFW.js +153 -0
- package/dist/components/p-D27CYIFW.js.map +1 -0
- package/dist/components/p-D6xl9W7Q.js +385 -0
- package/dist/components/p-D6xl9W7Q.js.map +1 -0
- package/dist/components/p-DGRJ0cGS.js +197 -0
- package/dist/components/p-DGRJ0cGS.js.map +1 -0
- package/dist/components/p-Dt9PiOfU.js +129 -0
- package/dist/components/p-Dt9PiOfU.js.map +1 -0
- package/dist/custom-docs/docs-utils.js +123 -0
- package/dist/custom-docs/docs-utils.js.map +1 -0
- package/dist/custom-docs/markdown-css-props.js +25 -0
- package/dist/custom-docs/markdown-css-props.js.map +1 -0
- package/dist/custom-docs/markdown-dependencies.js +58 -0
- package/dist/custom-docs/markdown-dependencies.js.map +1 -0
- package/dist/custom-docs/markdown-events-all.js +28 -0
- package/dist/custom-docs/markdown-events-all.js.map +1 -0
- package/dist/custom-docs/markdown-events.js +33 -0
- package/dist/custom-docs/markdown-events.js.map +1 -0
- package/dist/custom-docs/markdown-examples.js +22 -0
- package/dist/custom-docs/markdown-examples.js.map +1 -0
- package/dist/custom-docs/markdown-methods-all.js +27 -0
- package/dist/custom-docs/markdown-methods-all.js.map +1 -0
- package/dist/custom-docs/markdown-methods.js +55 -0
- package/dist/custom-docs/markdown-methods.js.map +1 -0
- package/dist/custom-docs/markdown-overview.js +20 -0
- package/dist/custom-docs/markdown-overview.js.map +1 -0
- package/dist/custom-docs/markdown-parts.js +29 -0
- package/dist/custom-docs/markdown-parts.js.map +1 -0
- package/dist/custom-docs/markdown-props-all.js +53 -0
- package/dist/custom-docs/markdown-props-all.js.map +1 -0
- package/dist/custom-docs/markdown-props.js +56 -0
- package/dist/custom-docs/markdown-props.js.map +1 -0
- package/dist/custom-docs/markdown-sections.js +29 -0
- package/dist/custom-docs/markdown-sections.js.map +1 -0
- package/dist/custom-docs/markdown-slots-all.js +21 -0
- package/dist/custom-docs/markdown-slots-all.js.map +1 -0
- package/dist/custom-docs/markdown-slots.js +29 -0
- package/dist/custom-docs/markdown-slots.js.map +1 -0
- package/dist/custom-docs/output-docs.js +150 -0
- package/dist/custom-docs/output-docs.js.map +1 -0
- package/dist/custom-docs/path.js +205 -0
- package/dist/custom-docs/path.js.map +1 -0
- package/dist/custom-docs/sort-markdown-tables.js +33 -0
- package/dist/custom-docs/sort-markdown-tables.js.map +1 -0
- package/dist/esm/app-globals-BmgwYwlE.js +9 -0
- package/dist/esm/app-globals-BmgwYwlE.js.map +1 -0
- package/dist/esm/br-avatar.entry.js +127 -0
- package/dist/esm/br-avatar.entry.js.map +1 -0
- package/dist/esm/br-breadcrumb.entry.js +306 -0
- package/dist/esm/br-breadcrumb.entry.js.map +1 -0
- package/dist/esm/br-button.br-icon.entry.js.map +1 -0
- package/dist/esm/br-button_2.entry.js +2503 -0
- package/dist/esm/br-button_2.entry.js.map +1 -0
- package/dist/esm/br-checkbox.entry.js +146 -0
- package/dist/esm/br-checkbox.entry.js.map +1 -0
- package/dist/esm/br-checkgroup.entry.js +114 -0
- package/dist/esm/br-checkgroup.entry.js.map +1 -0
- package/dist/esm/br-collapse.entry.js +97 -0
- package/dist/esm/br-collapse.entry.js.map +1 -0
- package/dist/esm/br-divider.entry.js +83 -0
- package/dist/esm/br-divider.entry.js.map +1 -0
- package/dist/esm/br-dropdown.entry.js +106 -0
- package/dist/esm/br-dropdown.entry.js.map +1 -0
- package/dist/esm/br-input.br-radio.entry.js.map +1 -0
- package/dist/esm/br-input_2.entry.js +390 -0
- package/dist/esm/br-input_2.entry.js.map +1 -0
- package/dist/esm/br-item.entry.js +222 -0
- package/dist/esm/br-item.entry.js.map +1 -0
- package/dist/esm/br-list.entry.js +87 -0
- package/dist/esm/br-list.entry.js.map +1 -0
- package/dist/esm/br-loading.entry.js +55 -0
- package/dist/esm/br-loading.entry.js.map +1 -0
- package/dist/esm/br-message.entry.js +111 -0
- package/dist/esm/br-message.entry.js.map +1 -0
- package/dist/esm/br-select.entry.js +302 -0
- package/dist/esm/br-select.entry.js.map +1 -0
- package/dist/esm/br-switch.entry.js +120 -0
- package/dist/esm/br-switch.entry.js.map +1 -0
- package/dist/esm/br-tag.entry.js +195 -0
- package/dist/esm/br-tag.entry.js.map +1 -0
- package/dist/esm/br-textarea.entry.js +119 -0
- package/dist/esm/br-textarea.entry.js.map +1 -0
- package/dist/esm/br-upload.entry.js +148 -0
- package/dist/esm/br-upload.entry.js.map +1 -0
- package/dist/esm/index-CAyrQrUt.js +2339 -0
- package/dist/esm/index-CAyrQrUt.js.map +1 -0
- package/dist/esm/index.js +6 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/webcomponents.js +48 -0
- package/dist/esm/webcomponents.js.map +1 -0
- package/dist/esm-es5/app-globals-BmgwYwlE.js +9 -0
- package/dist/esm-es5/app-globals-BmgwYwlE.js.map +1 -0
- package/dist/esm-es5/br-avatar.entry.js +148 -0
- package/dist/esm-es5/br-avatar.entry.js.map +1 -0
- package/dist/esm-es5/br-breadcrumb.entry.js +419 -0
- package/dist/esm-es5/br-breadcrumb.entry.js.map +1 -0
- package/dist/esm-es5/br-button.br-icon.entry.js.map +1 -0
- package/dist/esm-es5/br-button_2.entry.js +2387 -0
- package/dist/esm-es5/br-button_2.entry.js.map +1 -0
- package/dist/esm-es5/br-checkbox.entry.js +274 -0
- package/dist/esm-es5/br-checkbox.entry.js.map +1 -0
- package/dist/esm-es5/br-checkgroup.entry.js +150 -0
- package/dist/esm-es5/br-checkgroup.entry.js.map +1 -0
- package/dist/esm-es5/br-collapse.entry.js +270 -0
- package/dist/esm-es5/br-collapse.entry.js.map +1 -0
- package/dist/esm-es5/br-divider.entry.js +109 -0
- package/dist/esm-es5/br-divider.entry.js.map +1 -0
- package/dist/esm-es5/br-dropdown.entry.js +272 -0
- package/dist/esm-es5/br-dropdown.entry.js.map +1 -0
- package/dist/esm-es5/br-input.br-radio.entry.js.map +1 -0
- package/dist/esm-es5/br-input_2.entry.js +511 -0
- package/dist/esm-es5/br-input_2.entry.js.map +1 -0
- package/dist/esm-es5/br-item.entry.js +246 -0
- package/dist/esm-es5/br-item.entry.js.map +1 -0
- package/dist/esm-es5/br-list.entry.js +114 -0
- package/dist/esm-es5/br-list.entry.js.map +1 -0
- package/dist/esm-es5/br-loading.entry.js +86 -0
- package/dist/esm-es5/br-loading.entry.js.map +1 -0
- package/dist/esm-es5/br-message.entry.js +143 -0
- package/dist/esm-es5/br-message.entry.js.map +1 -0
- package/dist/esm-es5/br-select.entry.js +517 -0
- package/dist/esm-es5/br-select.entry.js.map +1 -0
- package/dist/esm-es5/br-switch.entry.js +243 -0
- package/dist/esm-es5/br-switch.entry.js.map +1 -0
- package/dist/esm-es5/br-tag.entry.js +250 -0
- package/dist/esm-es5/br-tag.entry.js.map +1 -0
- package/dist/esm-es5/br-textarea.entry.js +285 -0
- package/dist/esm-es5/br-textarea.entry.js.map +1 -0
- package/dist/esm-es5/br-upload.entry.js +229 -0
- package/dist/esm-es5/br-upload.entry.js.map +1 -0
- package/dist/esm-es5/index-CAyrQrUt.js +2740 -0
- package/dist/esm-es5/index-CAyrQrUt.js.map +1 -0
- package/dist/esm-es5/index.js +7 -0
- package/dist/esm-es5/index.js.map +1 -0
- package/dist/esm-es5/loader.js +393 -0
- package/dist/esm-es5/loader.js.map +1 -0
- package/dist/esm-es5/webcomponents.js +423 -0
- package/dist/esm-es5/webcomponents.js.map +1 -0
- package/dist/hydrate/index.d.ts +259 -0
- package/dist/hydrate/index.js +24297 -0
- package/dist/hydrate/index.mjs +24291 -0
- package/dist/hydrate/package.json +12 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +5 -0
- package/dist/loader/index.cjs.js +5 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +5 -0
- package/dist/loader/index.js +6 -0
- package/dist/stencil.config.js +175 -0
- package/dist/stencil.config.js.map +1 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/docs-utils.d.ts +7 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-css-props.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-dependencies.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-events-all.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-events.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-examples.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-methods-all.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-methods.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-overview.d.ts +6 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-parts.d.ts +7 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-props-all.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-props.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-sections.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-slots-all.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/markdown-slots.d.ts +7 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/output-docs.d.ts +2 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/path.d.ts +36 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/custom-docs/sort-markdown-tables.d.ts +1 -0
- package/dist/types/builds/govbr-ds/bibliotecas/wbc/govbr-ds-wbc/packages/webcomponents/.stencil/packages/webcomponents/stencil.config.d.ts +2 -0
- package/dist/types/components/avatar/avatar.d.ts +74 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +158 -0
- package/dist/types/components/button/button.d.ts +67 -0
- package/dist/types/components/checkbox/checkbox.d.ts +88 -0
- package/dist/types/components/checkgroup/checkgroup.d.ts +52 -0
- package/dist/types/components/collapse/collapse.d.ts +50 -0
- package/dist/types/components/divider/divider.d.ts +34 -0
- package/dist/types/components/dropdown/dropdown.d.ts +67 -0
- package/dist/types/components/icon/icon.d.ts +61 -0
- package/dist/types/components/input/input.d.ts +158 -0
- package/dist/types/components/item/item.d.ts +102 -0
- package/dist/types/components/list/list.d.ts +37 -0
- package/dist/types/components/loading/loading.d.ts +37 -0
- package/dist/types/components/message/message.d.ts +75 -0
- package/dist/types/components/radio/radio.d.ts +77 -0
- package/dist/types/components/select/select.d.ts +93 -0
- package/dist/types/components/switch/switch.d.ts +80 -0
- package/dist/types/components/tag/tag.d.ts +95 -0
- package/dist/types/components/textarea/textarea.d.ts +70 -0
- package/dist/types/components/upload/upload.d.ts +66 -0
- package/dist/types/components.d.ts +2160 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/stencil-public-runtime.d.ts +1681 -0
- package/dist/types/utils/interfaces.d.ts +3 -0
- package/dist/types/value-accessors/angular-value-accessor-config.d.ts +6 -0
- package/dist/types/value-accessors/index.d.ts +2 -0
- package/dist/types/value-accessors/vue-model-config.d.ts +2 -0
- package/dist/webcomponents/br-avatar.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-breadcrumb.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-button.br-icon.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-checkbox.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-checkgroup.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-collapse.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-divider.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-dropdown.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-input.br-radio.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-item.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-list.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-loading.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-message.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-select.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-switch.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-tag.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-textarea.entry.esm.js.map +1 -0
- package/dist/webcomponents/br-upload.entry.esm.js.map +1 -0
- package/dist/webcomponents/index.esm.js +6 -0
- package/dist/webcomponents/index.esm.js.map +1 -0
- package/dist/webcomponents/loader.esm.js.map +1 -0
- package/dist/webcomponents/p-06f7eeff.system.entry.js +254 -0
- package/dist/webcomponents/p-06f7eeff.system.entry.js.map +1 -0
- package/dist/webcomponents/p-0b4b4c3c.system.entry.js +235 -0
- package/dist/webcomponents/p-0b4b4c3c.system.entry.js.map +1 -0
- package/dist/webcomponents/p-0baea87b.system.entry.js +157 -0
- package/dist/webcomponents/p-0baea87b.system.entry.js.map +1 -0
- package/dist/webcomponents/p-15208deb.system.entry.js +282 -0
- package/dist/webcomponents/p-15208deb.system.entry.js.map +1 -0
- package/dist/webcomponents/p-1dcPc0rI.system.js.map +1 -0
- package/dist/webcomponents/p-24ffcc2b.system.entry.js +524 -0
- package/dist/webcomponents/p-24ffcc2b.system.entry.js.map +1 -0
- package/dist/webcomponents/p-27378f51.system.entry.js +251 -0
- package/dist/webcomponents/p-27378f51.system.entry.js.map +1 -0
- package/dist/webcomponents/p-37837c94.entry.js +144 -0
- package/dist/webcomponents/p-37837c94.entry.js.map +1 -0
- package/dist/webcomponents/p-3a508420.system.entry.js +425 -0
- package/dist/webcomponents/p-3a508420.system.entry.js.map +1 -0
- package/dist/webcomponents/p-3f0965c1.entry.js +168 -0
- package/dist/webcomponents/p-3f0965c1.entry.js.map +1 -0
- package/dist/webcomponents/p-4c5b3ba6.entry.js +254 -0
- package/dist/webcomponents/p-4c5b3ba6.entry.js.map +1 -0
- package/dist/webcomponents/p-5417fc76.system.entry.js +121 -0
- package/dist/webcomponents/p-5417fc76.system.entry.js.map +1 -0
- package/dist/webcomponents/p-55be3a1b.entry.js +87 -0
- package/dist/webcomponents/p-55be3a1b.entry.js.map +1 -0
- package/dist/webcomponents/p-58c537dc.system.entry.js +155 -0
- package/dist/webcomponents/p-58c537dc.system.entry.js.map +1 -0
- package/dist/webcomponents/p-5e68b68a.system.entry.js +515 -0
- package/dist/webcomponents/p-5e68b68a.system.entry.js.map +1 -0
- package/dist/webcomponents/p-64088f4f.entry.js +398 -0
- package/dist/webcomponents/p-64088f4f.entry.js.map +1 -0
- package/dist/webcomponents/p-689dffab.entry.js +257 -0
- package/dist/webcomponents/p-689dffab.entry.js.map +1 -0
- package/dist/webcomponents/p-6b505a38.system.entry.js +293 -0
- package/dist/webcomponents/p-6b505a38.system.entry.js.map +1 -0
- package/dist/webcomponents/p-6e166dac.entry.js +166 -0
- package/dist/webcomponents/p-6e166dac.entry.js.map +1 -0
- package/dist/webcomponents/p-703d9fdd.entry.js +209 -0
- package/dist/webcomponents/p-703d9fdd.entry.js.map +1 -0
- package/dist/webcomponents/p-70b7a2e1.system.entry.js +93 -0
- package/dist/webcomponents/p-70b7a2e1.system.entry.js.map +1 -0
- package/dist/webcomponents/p-817f83ec.entry.js +148 -0
- package/dist/webcomponents/p-817f83ec.entry.js.map +1 -0
- package/dist/webcomponents/p-8326e9aa.entry.js +110 -0
- package/dist/webcomponents/p-8326e9aa.entry.js.map +1 -0
- package/dist/webcomponents/p-91c947d6.entry.js +152 -0
- package/dist/webcomponents/p-91c947d6.entry.js.map +1 -0
- package/dist/webcomponents/p-9e243fa3.entry.js +2361 -0
- package/dist/webcomponents/p-9e243fa3.entry.js.map +1 -0
- package/dist/webcomponents/p-B5mVBvvI.system.js.map +1 -0
- package/dist/webcomponents/p-B90gByRD.system.js.map +1 -0
- package/dist/webcomponents/p-BNl1VeC2.system.js.map +1 -0
- package/dist/webcomponents/p-BeMhoFbq.system.js.map +1 -0
- package/dist/webcomponents/p-Bhwl8CRi.system.js +433 -0
- package/dist/webcomponents/p-Bhwl8CRi.system.js.map +1 -0
- package/dist/webcomponents/p-BmSBn_cM.system.js +14 -0
- package/dist/webcomponents/p-BmSBn_cM.system.js.map +1 -0
- package/dist/webcomponents/p-BmgwYwlE.js +8 -0
- package/dist/webcomponents/p-BmgwYwlE.js.map +1 -0
- package/dist/webcomponents/p-BqvdZkL7.system.js.map +1 -0
- package/dist/webcomponents/p-CAyrQrUt.js +2265 -0
- package/dist/webcomponents/p-CAyrQrUt.js.map +1 -0
- package/dist/webcomponents/p-CMdFJ4qj.system.js +2512 -0
- package/dist/webcomponents/p-CMdFJ4qj.system.js.map +1 -0
- package/dist/webcomponents/p-C_4ySWyP.system.js.map +1 -0
- package/dist/webcomponents/p-Ct3ex90V.system.js.map +1 -0
- package/dist/webcomponents/p-D86s8ueb.system.js.map +1 -0
- package/dist/webcomponents/p-DFVDihQu.system.js.map +1 -0
- package/dist/webcomponents/p-Dde15d6z.system.js.map +1 -0
- package/dist/webcomponents/p-IsnpLreB.system.js +12 -0
- package/dist/webcomponents/p-IsnpLreB.system.js.map +1 -0
- package/dist/webcomponents/p-MDfQKKJ3.system.js.map +1 -0
- package/dist/webcomponents/p-YAlbMep3.system.js.map +1 -0
- package/dist/webcomponents/p-be24a356.entry.js +357 -0
- package/dist/webcomponents/p-be24a356.entry.js.map +1 -0
- package/dist/webcomponents/p-c17f8737.entry.js +104 -0
- package/dist/webcomponents/p-c17f8737.entry.js.map +1 -0
- package/dist/webcomponents/p-c50854a2.system.entry.js +151 -0
- package/dist/webcomponents/p-c50854a2.system.entry.js.map +1 -0
- package/dist/webcomponents/p-c51e88c5.system.entry.js +280 -0
- package/dist/webcomponents/p-c51e88c5.system.entry.js.map +1 -0
- package/dist/webcomponents/p-cc4c57d8.entry.js +144 -0
- package/dist/webcomponents/p-cc4c57d8.entry.js.map +1 -0
- package/dist/webcomponents/p-d335142c.entry.js +467 -0
- package/dist/webcomponents/p-d335142c.entry.js.map +1 -0
- package/dist/webcomponents/p-da852ece.system.entry.js +278 -0
- package/dist/webcomponents/p-da852ece.system.entry.js.map +1 -0
- package/dist/webcomponents/p-daf44e2e.system.entry.js +116 -0
- package/dist/webcomponents/p-daf44e2e.system.entry.js.map +1 -0
- package/dist/webcomponents/p-de7e8ab8.entry.js +163 -0
- package/dist/webcomponents/p-de7e8ab8.entry.js.map +1 -0
- package/dist/webcomponents/p-df5400e2.entry.js +140 -0
- package/dist/webcomponents/p-df5400e2.entry.js.map +1 -0
- package/dist/webcomponents/p-dwDliNFd.system.js.map +1 -0
- package/dist/webcomponents/p-fa6f51fa.system.entry.js +251 -0
- package/dist/webcomponents/p-fa6f51fa.system.entry.js.map +1 -0
- package/dist/webcomponents/p-fcb2845b.system.entry.js +2386 -0
- package/dist/webcomponents/p-fcb2845b.system.entry.js.map +1 -0
- package/dist/webcomponents/p-mh9IZoxC.system.js.map +1 -0
- package/dist/webcomponents/p-s9klvrRa.system.js.map +1 -0
- package/dist/webcomponents/p-thasv5yZ.system.js.map +1 -0
- package/dist/webcomponents/p-usq43hTj.system.js.map +1 -0
- package/dist/webcomponents/p-wytm5zt0.system.js.map +1 -0
- package/dist/webcomponents/webcomponents.esm.js +295 -0
- package/dist/webcomponents/webcomponents.esm.js.map +1 -0
- package/dist/webcomponents/webcomponents.js +127 -0
- package/package.json +18 -95
- package/README.md +0 -157
- package/dist/webcomponents.common.js +0 -24619
- package/dist/webcomponents.common.js.map +0 -1
- package/dist/webcomponents.umd.js +0 -24630
- package/dist/webcomponents.umd.js.map +0 -1
- package/dist/webcomponents.umd.min.js +0 -10
- package/dist/webcomponents.umd.min.js.map +0 -1
|
@@ -0,0 +1,2042 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Construído com @govbr-ds/webcomponents
|
|
3
|
+
*/
|
|
4
|
+
const e = "webcomponents";
|
|
5
|
+
|
|
6
|
+
const t = /* webcomponents */ {
|
|
7
|
+
hydratedSelectorName: "hydrated",
|
|
8
|
+
lazyLoad: false,
|
|
9
|
+
updatable: true
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/*
|
|
13
|
+
Stencil Client Platform v4.28.2 | MIT Licensed | https://stenciljs.com
|
|
14
|
+
*/ var n = Object.defineProperty;
|
|
15
|
+
|
|
16
|
+
var __export = (e, t) => {
|
|
17
|
+
for (var l in t) n(e, l, {
|
|
18
|
+
get: t[l],
|
|
19
|
+
enumerable: true
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
24
|
+
var reWireGetterSetter = (e, t) => {
|
|
25
|
+
var n;
|
|
26
|
+
const l = t.t;
|
|
27
|
+
const i = Object.entries((n = l.l) != null ? n : {});
|
|
28
|
+
i.map((([n, [l]]) => {
|
|
29
|
+
if (l & 31 /* Prop */ || l & 32 /* State */) {
|
|
30
|
+
const l = e[n];
|
|
31
|
+
const i = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), n);
|
|
32
|
+
Object.defineProperty(e, n, {
|
|
33
|
+
get() {
|
|
34
|
+
return i.get.call(this);
|
|
35
|
+
},
|
|
36
|
+
set(e) {
|
|
37
|
+
i.set.call(this, e);
|
|
38
|
+
},
|
|
39
|
+
configurable: true,
|
|
40
|
+
enumerable: true
|
|
41
|
+
});
|
|
42
|
+
e[n] = t.i.has(n) ? t.i.get(n) : l;
|
|
43
|
+
}
|
|
44
|
+
}));
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
// src/client/client-host-ref.ts
|
|
48
|
+
var getHostRef = e => {
|
|
49
|
+
if (e.__stencil__getHostRef) {
|
|
50
|
+
return e.__stencil__getHostRef();
|
|
51
|
+
}
|
|
52
|
+
return void 0;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var registerHost = (e, t) => {
|
|
56
|
+
const n = {
|
|
57
|
+
o: 0,
|
|
58
|
+
$hostElement$: e,
|
|
59
|
+
t,
|
|
60
|
+
i: new Map
|
|
61
|
+
};
|
|
62
|
+
{
|
|
63
|
+
n.u = new Promise((e => n.v = e));
|
|
64
|
+
e["s-p"] = [];
|
|
65
|
+
e["s-rc"] = [];
|
|
66
|
+
}
|
|
67
|
+
const l = n;
|
|
68
|
+
e.__stencil__getHostRef = () => l;
|
|
69
|
+
{
|
|
70
|
+
reWireGetterSetter(e, n);
|
|
71
|
+
}
|
|
72
|
+
return l;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
var isMemberInElement = (e, t) => t in e;
|
|
76
|
+
|
|
77
|
+
var consoleError = (e, t) => (0, console.error)(e, t)
|
|
78
|
+
// src/client/client-style.ts
|
|
79
|
+
;
|
|
80
|
+
|
|
81
|
+
var l = new Map;
|
|
82
|
+
|
|
83
|
+
// src/runtime/runtime-constants.ts
|
|
84
|
+
var i = "r";
|
|
85
|
+
|
|
86
|
+
var r = "o";
|
|
87
|
+
|
|
88
|
+
var o = "s";
|
|
89
|
+
|
|
90
|
+
var s = "t";
|
|
91
|
+
|
|
92
|
+
var f = "c";
|
|
93
|
+
|
|
94
|
+
var a = "s-id";
|
|
95
|
+
|
|
96
|
+
var c = "sty-id";
|
|
97
|
+
|
|
98
|
+
var u = "c-id";
|
|
99
|
+
|
|
100
|
+
var v = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
101
|
+
|
|
102
|
+
var d = "http://www.w3.org/1999/xlink";
|
|
103
|
+
|
|
104
|
+
var p = [ "formAssociatedCallback", "formResetCallback", "formDisabledCallback", "formStateRestoreCallback" ];
|
|
105
|
+
|
|
106
|
+
var $ = typeof window !== "undefined" ? window : {};
|
|
107
|
+
|
|
108
|
+
var m = $.HTMLElement || class {};
|
|
109
|
+
|
|
110
|
+
var b = {
|
|
111
|
+
o: 0,
|
|
112
|
+
h: "",
|
|
113
|
+
jmp: e => e(),
|
|
114
|
+
raf: e => requestAnimationFrame(e),
|
|
115
|
+
ael: (e, t, n, l) => e.addEventListener(t, n, l),
|
|
116
|
+
rel: (e, t, n, l) => e.removeEventListener(t, n, l),
|
|
117
|
+
ce: (e, t) => new CustomEvent(e, t)
|
|
118
|
+
};
|
|
119
|
+
|
|
120
|
+
var g = (() => {
|
|
121
|
+
var e;
|
|
122
|
+
let t = false;
|
|
123
|
+
try {
|
|
124
|
+
(e = $.document) == null ? void 0 : e.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
125
|
+
get() {
|
|
126
|
+
t = true;
|
|
127
|
+
}
|
|
128
|
+
}));
|
|
129
|
+
} catch (e) {}
|
|
130
|
+
return t;
|
|
131
|
+
})();
|
|
132
|
+
|
|
133
|
+
var promiseResolve = e => Promise.resolve(e);
|
|
134
|
+
|
|
135
|
+
var y = (() => {
|
|
136
|
+
try {
|
|
137
|
+
new CSSStyleSheet;
|
|
138
|
+
return typeof (new CSSStyleSheet).replaceSync === "function";
|
|
139
|
+
} catch (e) {}
|
|
140
|
+
return false;
|
|
141
|
+
})();
|
|
142
|
+
|
|
143
|
+
var S = false;
|
|
144
|
+
|
|
145
|
+
var w = [];
|
|
146
|
+
|
|
147
|
+
var O = [];
|
|
148
|
+
|
|
149
|
+
var queueTask = (e, t) => n => {
|
|
150
|
+
e.push(n);
|
|
151
|
+
if (!S) {
|
|
152
|
+
S = true;
|
|
153
|
+
if (t && b.o & 4 /* queueSync */) {
|
|
154
|
+
nextTick(flush);
|
|
155
|
+
} else {
|
|
156
|
+
b.raf(flush);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
var consume = e => {
|
|
162
|
+
for (let t = 0; t < e.length; t++) {
|
|
163
|
+
try {
|
|
164
|
+
e[t](performance.now());
|
|
165
|
+
} catch (e) {
|
|
166
|
+
consoleError(e);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
e.length = 0;
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
var flush = () => {
|
|
173
|
+
consume(w);
|
|
174
|
+
{
|
|
175
|
+
consume(O);
|
|
176
|
+
if (S = w.length > 0) {
|
|
177
|
+
b.raf(flush);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
var nextTick = e => promiseResolve().then(e);
|
|
183
|
+
|
|
184
|
+
var j = queueTask(O, true);
|
|
185
|
+
|
|
186
|
+
// src/runtime/asset-path.ts
|
|
187
|
+
var getAssetPath = e => {
|
|
188
|
+
const t = new URL(e, b.h);
|
|
189
|
+
return t.origin !== $.location.origin ? t.href : t.pathname;
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
var setAssetPath = e => b.h = e;
|
|
193
|
+
|
|
194
|
+
var isComplexType = e => {
|
|
195
|
+
e = typeof e;
|
|
196
|
+
return e === "object" || e === "function";
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
200
|
+
function queryNonceMetaTagContent(e) {
|
|
201
|
+
var t, n, l;
|
|
202
|
+
return (l = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? l : void 0;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// src/utils/result.ts
|
|
206
|
+
var N = {};
|
|
207
|
+
|
|
208
|
+
__export(N, {
|
|
209
|
+
err: () => err,
|
|
210
|
+
map: () => map,
|
|
211
|
+
ok: () => ok,
|
|
212
|
+
unwrap: () => unwrap,
|
|
213
|
+
unwrapErr: () => unwrapErr
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
var ok = e => ({
|
|
217
|
+
isOk: true,
|
|
218
|
+
isErr: false,
|
|
219
|
+
value: e
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
var err = e => ({
|
|
223
|
+
isOk: false,
|
|
224
|
+
isErr: true,
|
|
225
|
+
value: e
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
function map(e, t) {
|
|
229
|
+
if (e.isOk) {
|
|
230
|
+
const n = t(e.value);
|
|
231
|
+
if (n instanceof Promise) {
|
|
232
|
+
return n.then((e => ok(e)));
|
|
233
|
+
} else {
|
|
234
|
+
return ok(n);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
if (e.isErr) {
|
|
238
|
+
const t = e.value;
|
|
239
|
+
return err(t);
|
|
240
|
+
}
|
|
241
|
+
throw "should never get here";
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
var unwrap = e => {
|
|
245
|
+
if (e.isOk) {
|
|
246
|
+
return e.value;
|
|
247
|
+
} else {
|
|
248
|
+
throw e.value;
|
|
249
|
+
}
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
var unwrapErr = e => {
|
|
253
|
+
if (e.isErr) {
|
|
254
|
+
return e.value;
|
|
255
|
+
} else {
|
|
256
|
+
throw e.value;
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
var getSlottedChildNodes = e => {
|
|
261
|
+
const t = [];
|
|
262
|
+
for (let n = 0; n < e.length; n++) {
|
|
263
|
+
const l = e[n]["s-nr"] || void 0;
|
|
264
|
+
if (l && l.isConnected) {
|
|
265
|
+
t.push(l);
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
return t;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
function getHostSlotNodes(e, t, n) {
|
|
272
|
+
let l = 0;
|
|
273
|
+
let i = [];
|
|
274
|
+
let r;
|
|
275
|
+
for (;l < e.length; l++) {
|
|
276
|
+
r = e[l];
|
|
277
|
+
if (r["s-sr"] && (!t || r["s-hn"] === t) && (n === void 0 || getSlotName(r) === n)) {
|
|
278
|
+
i.push(r);
|
|
279
|
+
if (typeof n !== "undefined") return i;
|
|
280
|
+
}
|
|
281
|
+
i = [ ...i, ...getHostSlotNodes(r.childNodes, t, n) ];
|
|
282
|
+
}
|
|
283
|
+
return i;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
var addSlotRelocateNode = (e, t, n, l) => {
|
|
287
|
+
if (e["s-ol"] && e["s-ol"].isConnected) {
|
|
288
|
+
return;
|
|
289
|
+
}
|
|
290
|
+
const i = document.createTextNode("");
|
|
291
|
+
i["s-nr"] = e;
|
|
292
|
+
if (!t["s-cr"] || !t["s-cr"].parentNode) return;
|
|
293
|
+
const r = t["s-cr"].parentNode;
|
|
294
|
+
const o = internalCall(r, "appendChild");
|
|
295
|
+
if (typeof l !== "undefined") {
|
|
296
|
+
i["s-oo"] = l;
|
|
297
|
+
const e = internalCall(r, "childNodes");
|
|
298
|
+
const t = [ i ];
|
|
299
|
+
e.forEach((e => {
|
|
300
|
+
if (e["s-nr"]) t.push(e);
|
|
301
|
+
}));
|
|
302
|
+
t.sort(((e, t) => {
|
|
303
|
+
if (!e["s-oo"] || e["s-oo"] < (t["s-oo"] || 0)) return -1; else if (!t["s-oo"] || t["s-oo"] < e["s-oo"]) return 1;
|
|
304
|
+
return 0;
|
|
305
|
+
}));
|
|
306
|
+
t.forEach((e => o.call(r, e)));
|
|
307
|
+
} else {
|
|
308
|
+
o.call(r, i);
|
|
309
|
+
}
|
|
310
|
+
e["s-ol"] = i;
|
|
311
|
+
e["s-sh"] = t["s-hn"];
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
var getSlotName = e => typeof e["s-sn"] === "string" ? e["s-sn"] : e.nodeType === 1 && e.getAttribute("slot") || void 0;
|
|
315
|
+
|
|
316
|
+
function patchSlotNode(e) {
|
|
317
|
+
if (e.assignedElements || e.assignedNodes || !e["s-sr"]) return;
|
|
318
|
+
const assignedFactory = t => function(e) {
|
|
319
|
+
const n = [];
|
|
320
|
+
const l = this["s-sn"];
|
|
321
|
+
if (e == null ? void 0 : e.flatten) {
|
|
322
|
+
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 `);
|
|
323
|
+
}
|
|
324
|
+
const i = this["s-cr"].parentElement;
|
|
325
|
+
const r = i.__childNodes ? i.childNodes : getSlottedChildNodes(i.childNodes);
|
|
326
|
+
r.forEach((e => {
|
|
327
|
+
if (l === getSlotName(e)) {
|
|
328
|
+
n.push(e);
|
|
329
|
+
}
|
|
330
|
+
}));
|
|
331
|
+
if (t) {
|
|
332
|
+
return n.filter((e => e.nodeType === 1 /* ElementNode */));
|
|
333
|
+
}
|
|
334
|
+
return n;
|
|
335
|
+
}.bind(e);
|
|
336
|
+
e.assignedElements = assignedFactory(true);
|
|
337
|
+
e.assignedNodes = assignedFactory(false);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
function dispatchSlotChangeEvent(e) {
|
|
341
|
+
e.dispatchEvent(new CustomEvent("slotchange", {
|
|
342
|
+
bubbles: false,
|
|
343
|
+
cancelable: false,
|
|
344
|
+
composed: false
|
|
345
|
+
}));
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
function findSlotFromSlottedNode(e, t) {
|
|
349
|
+
var n;
|
|
350
|
+
t = t || ((n = e["s-ol"]) == null ? void 0 : n.parentElement);
|
|
351
|
+
if (!t) return {
|
|
352
|
+
slotNode: null,
|
|
353
|
+
slotName: ""
|
|
354
|
+
};
|
|
355
|
+
const l = e["s-sn"] = getSlotName(e) || "";
|
|
356
|
+
const i = internalCall(t, "childNodes");
|
|
357
|
+
const r = getHostSlotNodes(i, t.tagName, l)[0];
|
|
358
|
+
return {
|
|
359
|
+
slotNode: r,
|
|
360
|
+
slotName: l
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
var patchSlottedNode = e => {
|
|
365
|
+
if (!e || e.__nextSibling !== void 0 || !globalThis.Node) return;
|
|
366
|
+
patchNextSibling(e);
|
|
367
|
+
patchPreviousSibling(e);
|
|
368
|
+
patchParentNode(e);
|
|
369
|
+
if (e.nodeType === Node.ELEMENT_NODE) {
|
|
370
|
+
patchNextElementSibling(e);
|
|
371
|
+
patchPreviousElementSibling(e);
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
var patchNextSibling = e => {
|
|
376
|
+
if (!e || e.__nextSibling) return;
|
|
377
|
+
patchHostOriginalAccessor("nextSibling", e);
|
|
378
|
+
Object.defineProperty(e, "nextSibling", {
|
|
379
|
+
get: function() {
|
|
380
|
+
var e;
|
|
381
|
+
const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.childNodes;
|
|
382
|
+
const n = t == null ? void 0 : t.indexOf(this);
|
|
383
|
+
if (t && n > -1) {
|
|
384
|
+
return t[n + 1];
|
|
385
|
+
}
|
|
386
|
+
return this.__nextSibling;
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
var patchNextElementSibling = e => {
|
|
392
|
+
if (!e || e.__nextElementSibling) return;
|
|
393
|
+
patchHostOriginalAccessor("nextElementSibling", e);
|
|
394
|
+
Object.defineProperty(e, "nextElementSibling", {
|
|
395
|
+
get: function() {
|
|
396
|
+
var e;
|
|
397
|
+
const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.children;
|
|
398
|
+
const n = t == null ? void 0 : t.indexOf(this);
|
|
399
|
+
if (t && n > -1) {
|
|
400
|
+
return t[n + 1];
|
|
401
|
+
}
|
|
402
|
+
return this.__nextElementSibling;
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
var patchPreviousSibling = e => {
|
|
408
|
+
if (!e || e.__previousSibling) return;
|
|
409
|
+
patchHostOriginalAccessor("previousSibling", e);
|
|
410
|
+
Object.defineProperty(e, "previousSibling", {
|
|
411
|
+
get: function() {
|
|
412
|
+
var e;
|
|
413
|
+
const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.childNodes;
|
|
414
|
+
const n = t == null ? void 0 : t.indexOf(this);
|
|
415
|
+
if (t && n > -1) {
|
|
416
|
+
return t[n - 1];
|
|
417
|
+
}
|
|
418
|
+
return this.__previousSibling;
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
var patchPreviousElementSibling = e => {
|
|
424
|
+
if (!e || e.__previousElementSibling) return;
|
|
425
|
+
patchHostOriginalAccessor("previousElementSibling", e);
|
|
426
|
+
Object.defineProperty(e, "previousElementSibling", {
|
|
427
|
+
get: function() {
|
|
428
|
+
var e;
|
|
429
|
+
const t = (e = this["s-ol"]) == null ? void 0 : e.parentNode.children;
|
|
430
|
+
const n = t == null ? void 0 : t.indexOf(this);
|
|
431
|
+
if (t && n > -1) {
|
|
432
|
+
return t[n - 1];
|
|
433
|
+
}
|
|
434
|
+
return this.__previousElementSibling;
|
|
435
|
+
}
|
|
436
|
+
});
|
|
437
|
+
};
|
|
438
|
+
|
|
439
|
+
var patchParentNode = e => {
|
|
440
|
+
if (!e || e.__parentNode) return;
|
|
441
|
+
patchHostOriginalAccessor("parentNode", e);
|
|
442
|
+
Object.defineProperty(e, "parentNode", {
|
|
443
|
+
get: function() {
|
|
444
|
+
var e;
|
|
445
|
+
return ((e = this["s-ol"]) == null ? void 0 : e.parentNode) || this.__parentNode;
|
|
446
|
+
},
|
|
447
|
+
set: function(e) {
|
|
448
|
+
this.__parentNode = e;
|
|
449
|
+
}
|
|
450
|
+
});
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
var C = [ "children", "nextElementSibling", "previousElementSibling" ];
|
|
454
|
+
|
|
455
|
+
var k = [ "childNodes", "firstChild", "lastChild", "nextSibling", "previousSibling", "textContent", "parentNode" ];
|
|
456
|
+
|
|
457
|
+
function patchHostOriginalAccessor(e, t) {
|
|
458
|
+
let n;
|
|
459
|
+
if (C.includes(e)) {
|
|
460
|
+
n = Object.getOwnPropertyDescriptor(Element.prototype, e);
|
|
461
|
+
} else if (k.includes(e)) {
|
|
462
|
+
n = Object.getOwnPropertyDescriptor(Node.prototype, e);
|
|
463
|
+
}
|
|
464
|
+
if (!n) {
|
|
465
|
+
n = Object.getOwnPropertyDescriptor(t, e);
|
|
466
|
+
}
|
|
467
|
+
if (n) Object.defineProperty(t, "__" + e, n);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
function internalCall(e, t) {
|
|
471
|
+
if ("__" + t in e) {
|
|
472
|
+
const n = e["__" + t];
|
|
473
|
+
if (typeof n !== "function") return n;
|
|
474
|
+
return n.bind(e);
|
|
475
|
+
} else {
|
|
476
|
+
if (typeof e[t] !== "function") return e[t];
|
|
477
|
+
return e[t].bind(e);
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
var createTime = (e, t = "") => {
|
|
482
|
+
{
|
|
483
|
+
return () => {};
|
|
484
|
+
}
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
var h = (e, t, ...n) => {
|
|
488
|
+
let l = null;
|
|
489
|
+
let i = null;
|
|
490
|
+
let r = false;
|
|
491
|
+
let o = false;
|
|
492
|
+
const s = [];
|
|
493
|
+
const walk = t => {
|
|
494
|
+
for (let n = 0; n < t.length; n++) {
|
|
495
|
+
l = t[n];
|
|
496
|
+
if (Array.isArray(l)) {
|
|
497
|
+
walk(l);
|
|
498
|
+
} else if (l != null && typeof l !== "boolean") {
|
|
499
|
+
if (r = typeof e !== "function" && !isComplexType(l)) {
|
|
500
|
+
l = String(l);
|
|
501
|
+
}
|
|
502
|
+
if (r && o) {
|
|
503
|
+
s[s.length - 1].p += l;
|
|
504
|
+
} else {
|
|
505
|
+
s.push(r ? newVNode(null, l) : l);
|
|
506
|
+
}
|
|
507
|
+
o = r;
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
walk(n);
|
|
512
|
+
if (t) {
|
|
513
|
+
if (t.key) {
|
|
514
|
+
i = t.key;
|
|
515
|
+
}
|
|
516
|
+
{
|
|
517
|
+
const e = t.className || t.class;
|
|
518
|
+
if (e) {
|
|
519
|
+
t.class = typeof e !== "object" ? e : Object.keys(e).filter((t => e[t])).join(" ");
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
if (typeof e === "function") {
|
|
524
|
+
return e(t === null ? {} : t, s, x);
|
|
525
|
+
}
|
|
526
|
+
const f = newVNode(e, null);
|
|
527
|
+
f.$ = t;
|
|
528
|
+
if (s.length > 0) {
|
|
529
|
+
f.m = s;
|
|
530
|
+
}
|
|
531
|
+
{
|
|
532
|
+
f.S = i;
|
|
533
|
+
}
|
|
534
|
+
return f;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
var newVNode = (e, t) => {
|
|
538
|
+
const n = {
|
|
539
|
+
o: 0,
|
|
540
|
+
O: e,
|
|
541
|
+
p: t,
|
|
542
|
+
j: null,
|
|
543
|
+
m: null
|
|
544
|
+
};
|
|
545
|
+
{
|
|
546
|
+
n.$ = null;
|
|
547
|
+
}
|
|
548
|
+
{
|
|
549
|
+
n.S = null;
|
|
550
|
+
}
|
|
551
|
+
return n;
|
|
552
|
+
};
|
|
553
|
+
|
|
554
|
+
var E = {};
|
|
555
|
+
|
|
556
|
+
var isHost = e => e && e.O === E;
|
|
557
|
+
|
|
558
|
+
var x = {
|
|
559
|
+
forEach: (e, t) => e.map(convertToPublic).forEach(t),
|
|
560
|
+
map: (e, t) => e.map(convertToPublic).map(t).map(convertToPrivate)
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
var convertToPublic = e => ({
|
|
564
|
+
vattrs: e.$,
|
|
565
|
+
vchildren: e.m,
|
|
566
|
+
vkey: e.S,
|
|
567
|
+
vname: e.N,
|
|
568
|
+
vtag: e.O,
|
|
569
|
+
vtext: e.p
|
|
570
|
+
});
|
|
571
|
+
|
|
572
|
+
var convertToPrivate = e => {
|
|
573
|
+
if (typeof e.vtag === "function") {
|
|
574
|
+
const t = {
|
|
575
|
+
...e.vattrs
|
|
576
|
+
};
|
|
577
|
+
if (e.vkey) {
|
|
578
|
+
t.key = e.vkey;
|
|
579
|
+
}
|
|
580
|
+
if (e.vname) {
|
|
581
|
+
t.name = e.vname;
|
|
582
|
+
}
|
|
583
|
+
return h(e.vtag, t, ...e.vchildren || []);
|
|
584
|
+
}
|
|
585
|
+
const t = newVNode(e.vtag, e.vtext);
|
|
586
|
+
t.$ = e.vattrs;
|
|
587
|
+
t.m = e.vchildren;
|
|
588
|
+
t.S = e.vkey;
|
|
589
|
+
t.N = e.vname;
|
|
590
|
+
return t;
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
// src/runtime/client-hydrate.ts
|
|
594
|
+
var initializeClientHydrate = (e, t, n, l) => {
|
|
595
|
+
const i = createTime("hydrateClient", t);
|
|
596
|
+
const r = e.shadowRoot;
|
|
597
|
+
const o = [];
|
|
598
|
+
const s = [];
|
|
599
|
+
const f = [];
|
|
600
|
+
const c = r ? [] : null;
|
|
601
|
+
const u = newVNode(t, null);
|
|
602
|
+
u.j = e;
|
|
603
|
+
if ($.document && (!b.C || !b.C.size)) {
|
|
604
|
+
initializeDocumentHydrate($.document.body, b.C = new Map);
|
|
605
|
+
}
|
|
606
|
+
e[a] = n;
|
|
607
|
+
e.removeAttribute(a);
|
|
608
|
+
l.k = clientHydrate(u, o, s, c, e, e, n, f);
|
|
609
|
+
let v = 0;
|
|
610
|
+
const d = o.length;
|
|
611
|
+
let p;
|
|
612
|
+
for (v; v < d; v++) {
|
|
613
|
+
p = o[v];
|
|
614
|
+
const n = p.A + "." + p._;
|
|
615
|
+
const l = b.C.get(n);
|
|
616
|
+
const i = p.j;
|
|
617
|
+
if (!r) {
|
|
618
|
+
i["s-hn"] = t.toUpperCase();
|
|
619
|
+
if (p.O === "slot") {
|
|
620
|
+
i["s-cr"] = e["s-cr"];
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
if (p.O === "slot") {
|
|
624
|
+
p.N = p.j["s-sn"] || p.j["name"] || null;
|
|
625
|
+
if (p.m) {
|
|
626
|
+
p.o |= 2 /* isSlotFallback */;
|
|
627
|
+
if (!p.j.childNodes.length) {
|
|
628
|
+
p.m.forEach((e => {
|
|
629
|
+
p.j.appendChild(e.j);
|
|
630
|
+
}));
|
|
631
|
+
}
|
|
632
|
+
} else {
|
|
633
|
+
p.o |= 1 /* isSlotReference */;
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
if (l && l.isConnected) {
|
|
637
|
+
if (r && l["s-en"] === "") {
|
|
638
|
+
l.parentNode.insertBefore(i, l.nextSibling);
|
|
639
|
+
}
|
|
640
|
+
l.parentNode.removeChild(l);
|
|
641
|
+
if (!r) {
|
|
642
|
+
i["s-oo"] = parseInt(p._);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
b.C.delete(n);
|
|
646
|
+
}
|
|
647
|
+
const m = [];
|
|
648
|
+
const g = f.length;
|
|
649
|
+
let y = 0;
|
|
650
|
+
let S;
|
|
651
|
+
let w;
|
|
652
|
+
let O;
|
|
653
|
+
let j;
|
|
654
|
+
for (y; y < g; y++) {
|
|
655
|
+
S = f[y];
|
|
656
|
+
if (!S || !S.length) continue;
|
|
657
|
+
O = S.length;
|
|
658
|
+
w = 0;
|
|
659
|
+
for (w; w < O; w++) {
|
|
660
|
+
j = S[w];
|
|
661
|
+
if (!m[j.hostId]) {
|
|
662
|
+
m[j.hostId] = b.C.get(j.hostId);
|
|
663
|
+
}
|
|
664
|
+
if (!m[j.hostId]) continue;
|
|
665
|
+
const e = m[j.hostId];
|
|
666
|
+
if (!e.shadowRoot || !r) {
|
|
667
|
+
j.slot["s-cr"] = e["s-cr"];
|
|
668
|
+
if (!j.slot["s-cr"] && e.shadowRoot) {
|
|
669
|
+
j.slot["s-cr"] = e;
|
|
670
|
+
} else {
|
|
671
|
+
j.slot["s-cr"] = (e.__childNodes || e.childNodes)[0];
|
|
672
|
+
}
|
|
673
|
+
addSlotRelocateNode(j.node, j.slot, false, j.node["s-oo"]);
|
|
674
|
+
{
|
|
675
|
+
patchSlottedNode(j.node);
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
if (e.shadowRoot && j.node.parentElement !== e) {
|
|
679
|
+
e.appendChild(j.node);
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
if (r && !r.childNodes.length) {
|
|
684
|
+
let t = 0;
|
|
685
|
+
const n = c.length;
|
|
686
|
+
if (n) {
|
|
687
|
+
for (t; t < n; t++) {
|
|
688
|
+
r.appendChild(c[t]);
|
|
689
|
+
}
|
|
690
|
+
Array.from(e.childNodes).forEach((e => {
|
|
691
|
+
if (typeof e["s-sn"] !== "string") {
|
|
692
|
+
if (e.nodeType === 1 /* ElementNode */ && e.slot && e.hidden) {
|
|
693
|
+
e.removeAttribute("hidden");
|
|
694
|
+
} else if (e.nodeType === 8 /* CommentNode */ || e.nodeType === 3 /* TextNode */ && !e.wholeText.trim()) {
|
|
695
|
+
e.parentNode.removeChild(e);
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
}));
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
b.C.delete(e["s-id"]);
|
|
702
|
+
l.$hostElement$ = e;
|
|
703
|
+
i();
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
var clientHydrate = (e, t, n, l, r, a, c, v = []) => {
|
|
707
|
+
let d;
|
|
708
|
+
let p;
|
|
709
|
+
let $;
|
|
710
|
+
let m;
|
|
711
|
+
if (a.nodeType === 1 /* ElementNode */) {
|
|
712
|
+
d = a.getAttribute(u);
|
|
713
|
+
if (d) {
|
|
714
|
+
p = d.split(".");
|
|
715
|
+
if (p[0] === c || p[0] === "0") {
|
|
716
|
+
$ = createSimpleVNode({
|
|
717
|
+
o: 0,
|
|
718
|
+
A: p[0],
|
|
719
|
+
_: p[1],
|
|
720
|
+
H: p[2],
|
|
721
|
+
M: p[3],
|
|
722
|
+
O: a.tagName.toLowerCase(),
|
|
723
|
+
j: a,
|
|
724
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
|
725
|
+
// won't try to reconcile them. Classes set on the node will be blown away.
|
|
726
|
+
$: {
|
|
727
|
+
class: a.className || ""
|
|
728
|
+
}
|
|
729
|
+
});
|
|
730
|
+
t.push($);
|
|
731
|
+
a.removeAttribute(u);
|
|
732
|
+
if (!e.m) {
|
|
733
|
+
e.m = [];
|
|
734
|
+
}
|
|
735
|
+
const i = $.j.getAttribute("s-sn");
|
|
736
|
+
if (typeof i === "string") {
|
|
737
|
+
if ($.O === "slot-fb") {
|
|
738
|
+
addSlot(i, p[2], $, a, e, t, n, l, v);
|
|
739
|
+
}
|
|
740
|
+
$.j["s-sn"] = i;
|
|
741
|
+
$.j.removeAttribute("s-sn");
|
|
742
|
+
}
|
|
743
|
+
if ($.M !== void 0) {
|
|
744
|
+
e.m[$.M] = $;
|
|
745
|
+
}
|
|
746
|
+
e = $;
|
|
747
|
+
if (l && $.H === "0") {
|
|
748
|
+
l[$.M] = $.j;
|
|
749
|
+
}
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
if (a.shadowRoot) {
|
|
753
|
+
for (m = a.shadowRoot.childNodes.length - 1; m >= 0; m--) {
|
|
754
|
+
clientHydrate(e, t, n, l, r, a.shadowRoot.childNodes[m], c, v);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
const i = a.__childNodes || a.childNodes;
|
|
758
|
+
for (m = i.length - 1; m >= 0; m--) {
|
|
759
|
+
clientHydrate(e, t, n, l, r, i[m], c, v);
|
|
760
|
+
}
|
|
761
|
+
} else if (a.nodeType === 8 /* CommentNode */) {
|
|
762
|
+
p = a.nodeValue.split(".");
|
|
763
|
+
if (p[1] === c || p[1] === "0") {
|
|
764
|
+
d = p[0];
|
|
765
|
+
$ = createSimpleVNode({
|
|
766
|
+
A: p[1],
|
|
767
|
+
_: p[2],
|
|
768
|
+
H: p[3],
|
|
769
|
+
M: p[4] || "0",
|
|
770
|
+
j: a,
|
|
771
|
+
$: null,
|
|
772
|
+
m: null,
|
|
773
|
+
S: null,
|
|
774
|
+
N: null,
|
|
775
|
+
O: null,
|
|
776
|
+
p: null
|
|
777
|
+
});
|
|
778
|
+
if (d === s) {
|
|
779
|
+
$.j = findCorrespondingNode(a, 3 /* TextNode */);
|
|
780
|
+
if ($.j && $.j.nodeType === 3 /* TextNode */) {
|
|
781
|
+
$.p = $.j.textContent;
|
|
782
|
+
t.push($);
|
|
783
|
+
a.remove();
|
|
784
|
+
if (c === $.A) {
|
|
785
|
+
if (!e.m) {
|
|
786
|
+
e.m = [];
|
|
787
|
+
}
|
|
788
|
+
e.m[$.M] = $;
|
|
789
|
+
}
|
|
790
|
+
if (l && $.H === "0") {
|
|
791
|
+
l[$.M] = $.j;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
} else if (d === f) {
|
|
795
|
+
$.j = findCorrespondingNode(a, 8 /* CommentNode */);
|
|
796
|
+
if ($.j && $.j.nodeType === 8 /* CommentNode */) {
|
|
797
|
+
t.push($);
|
|
798
|
+
a.remove();
|
|
799
|
+
}
|
|
800
|
+
} else if ($.A === c) {
|
|
801
|
+
if (d === o) {
|
|
802
|
+
const i = a["s-sn"] = p[5] || "";
|
|
803
|
+
addSlot(i, p[2], $, a, e, t, n, l, v);
|
|
804
|
+
} else if (d === i) {
|
|
805
|
+
if (l) {
|
|
806
|
+
a.remove();
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
} else if (e && e.O === "style") {
|
|
812
|
+
const t = newVNode(null, a.textContent);
|
|
813
|
+
t.j = a;
|
|
814
|
+
t.M = "0";
|
|
815
|
+
e.m = [ t ];
|
|
816
|
+
} else {
|
|
817
|
+
if (a.nodeType === 3 /* TextNode */ && !a.wholeText.trim()) {
|
|
818
|
+
a.remove();
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
return e;
|
|
822
|
+
};
|
|
823
|
+
|
|
824
|
+
var initializeDocumentHydrate = (e, t) => {
|
|
825
|
+
if (e.nodeType === 1 /* ElementNode */) {
|
|
826
|
+
const n = e[a] || e.getAttribute(a);
|
|
827
|
+
if (n) {
|
|
828
|
+
t.set(n, e);
|
|
829
|
+
}
|
|
830
|
+
let l = 0;
|
|
831
|
+
if (e.shadowRoot) {
|
|
832
|
+
for (;l < e.shadowRoot.childNodes.length; l++) {
|
|
833
|
+
initializeDocumentHydrate(e.shadowRoot.childNodes[l], t);
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
const i = e.__childNodes || e.childNodes;
|
|
837
|
+
for (l = 0; l < i.length; l++) {
|
|
838
|
+
initializeDocumentHydrate(i[l], t);
|
|
839
|
+
}
|
|
840
|
+
} else if (e.nodeType === 8 /* CommentNode */) {
|
|
841
|
+
const n = e.nodeValue.split(".");
|
|
842
|
+
if (n[0] === r) {
|
|
843
|
+
t.set(n[1] + "." + n[2], e);
|
|
844
|
+
e.nodeValue = "";
|
|
845
|
+
e["s-en"] = n[3];
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
};
|
|
849
|
+
|
|
850
|
+
var createSimpleVNode = e => {
|
|
851
|
+
const t = {
|
|
852
|
+
o: 0,
|
|
853
|
+
A: null,
|
|
854
|
+
_: null,
|
|
855
|
+
H: null,
|
|
856
|
+
M: "0",
|
|
857
|
+
j: null,
|
|
858
|
+
$: null,
|
|
859
|
+
m: null,
|
|
860
|
+
S: null,
|
|
861
|
+
N: null,
|
|
862
|
+
O: null,
|
|
863
|
+
p: null
|
|
864
|
+
};
|
|
865
|
+
return {
|
|
866
|
+
...t,
|
|
867
|
+
...e
|
|
868
|
+
};
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
function addSlot(e, t, n, l, i, r, o, s, f) {
|
|
872
|
+
l["s-sr"] = true;
|
|
873
|
+
n.N = e || null;
|
|
874
|
+
n.O = "slot";
|
|
875
|
+
const a = (i == null ? void 0 : i.j) ? i.j["s-id"] || i.j.getAttribute("s-id") : "";
|
|
876
|
+
if (s && $.document) {
|
|
877
|
+
const r = n.j = $.document.createElement(n.O);
|
|
878
|
+
if (n.N) {
|
|
879
|
+
n.j.setAttribute("name", e);
|
|
880
|
+
}
|
|
881
|
+
if (a && a !== n.A) {
|
|
882
|
+
i.j.insertBefore(r, i.j.children[0]);
|
|
883
|
+
} else {
|
|
884
|
+
l.parentNode.insertBefore(n.j, l);
|
|
885
|
+
}
|
|
886
|
+
addSlottedNodes(f, t, e, l, n.A);
|
|
887
|
+
l.remove();
|
|
888
|
+
if (n.H === "0") {
|
|
889
|
+
s[n.M] = n.j;
|
|
890
|
+
}
|
|
891
|
+
} else {
|
|
892
|
+
const o = n.j;
|
|
893
|
+
const s = a && a !== n.A && i.j.shadowRoot;
|
|
894
|
+
addSlottedNodes(f, t, e, l, s ? a : n.A);
|
|
895
|
+
patchSlotNode(l);
|
|
896
|
+
if (s) {
|
|
897
|
+
i.j.insertBefore(o, i.j.children[0]);
|
|
898
|
+
}
|
|
899
|
+
r.push(n);
|
|
900
|
+
}
|
|
901
|
+
o.push(n);
|
|
902
|
+
if (!i.m) {
|
|
903
|
+
i.m = [];
|
|
904
|
+
}
|
|
905
|
+
i.m[n.M] = n;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
var addSlottedNodes = (e, t, n, l, i) => {
|
|
909
|
+
let r = l.nextSibling;
|
|
910
|
+
e[t] = e[t] || [];
|
|
911
|
+
while (r && ((r["getAttribute"] && r.getAttribute("slot") || r["s-sn"]) === n || n === "" && !r["s-sn"] && (r.nodeType === 8 /* CommentNode */ && r.nodeValue.indexOf(".") !== 1 || r.nodeType === 3 /* TextNode */))) {
|
|
912
|
+
r["s-sn"] = n;
|
|
913
|
+
e[t].push({
|
|
914
|
+
slot: l,
|
|
915
|
+
node: r,
|
|
916
|
+
hostId: i
|
|
917
|
+
});
|
|
918
|
+
r = r.nextSibling;
|
|
919
|
+
}
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
var findCorrespondingNode = (e, t) => {
|
|
923
|
+
let n = e;
|
|
924
|
+
do {
|
|
925
|
+
n = n.nextSibling;
|
|
926
|
+
} while (n && (n.nodeType !== t || !n.nodeValue));
|
|
927
|
+
return n;
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
var parsePropertyValue = (e, t) => {
|
|
931
|
+
if (e != null && !isComplexType(e)) {
|
|
932
|
+
if (t & 4 /* Boolean */) {
|
|
933
|
+
return e === "false" ? false : e === "" || !!e;
|
|
934
|
+
}
|
|
935
|
+
if (t & 2 /* Number */) {
|
|
936
|
+
return parseFloat(e);
|
|
937
|
+
}
|
|
938
|
+
if (t & 1 /* String */) {
|
|
939
|
+
return String(e);
|
|
940
|
+
}
|
|
941
|
+
return e;
|
|
942
|
+
}
|
|
943
|
+
return e;
|
|
944
|
+
};
|
|
945
|
+
|
|
946
|
+
var getElement = e => e
|
|
947
|
+
// src/runtime/event-emitter.ts
|
|
948
|
+
;
|
|
949
|
+
|
|
950
|
+
var createEvent = (e, t, n) => {
|
|
951
|
+
const l = getElement(e);
|
|
952
|
+
return {
|
|
953
|
+
emit: e => emitEvent(l, t, {
|
|
954
|
+
bubbles: true,
|
|
955
|
+
composed: true,
|
|
956
|
+
cancelable: true,
|
|
957
|
+
detail: e
|
|
958
|
+
})
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
var emitEvent = (e, t, n) => {
|
|
963
|
+
const l = b.ce(t, n);
|
|
964
|
+
e.dispatchEvent(l);
|
|
965
|
+
return l;
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
var A = new WeakMap;
|
|
969
|
+
|
|
970
|
+
var registerStyle = (e, t, n) => {
|
|
971
|
+
let i = l.get(e);
|
|
972
|
+
if (y && n) {
|
|
973
|
+
i = i || new CSSStyleSheet;
|
|
974
|
+
if (typeof i === "string") {
|
|
975
|
+
i = t;
|
|
976
|
+
} else {
|
|
977
|
+
i.replaceSync(t);
|
|
978
|
+
}
|
|
979
|
+
} else {
|
|
980
|
+
i = t;
|
|
981
|
+
}
|
|
982
|
+
l.set(e, i);
|
|
983
|
+
};
|
|
984
|
+
|
|
985
|
+
var addStyle = (e, t, n) => {
|
|
986
|
+
var i;
|
|
987
|
+
const r = getScopeId(t);
|
|
988
|
+
const o = l.get(r);
|
|
989
|
+
if (!$.document) {
|
|
990
|
+
return r;
|
|
991
|
+
}
|
|
992
|
+
e = e.nodeType === 11 /* DocumentFragment */ ? e : $.document;
|
|
993
|
+
if (o) {
|
|
994
|
+
if (typeof o === "string") {
|
|
995
|
+
e = e.head || e;
|
|
996
|
+
let n = A.get(e);
|
|
997
|
+
let l;
|
|
998
|
+
if (!n) {
|
|
999
|
+
A.set(e, n = new Set);
|
|
1000
|
+
}
|
|
1001
|
+
if (!n.has(r)) {
|
|
1002
|
+
if (e.host && (l = e.querySelector(`[${c}="${r}"]`))) {
|
|
1003
|
+
l.innerHTML = o;
|
|
1004
|
+
} else {
|
|
1005
|
+
l = document.querySelector(`[${c}="${r}"]`) || $.document.createElement("style");
|
|
1006
|
+
l.innerHTML = o;
|
|
1007
|
+
const n = (i = b.I) != null ? i : queryNonceMetaTagContent($.document);
|
|
1008
|
+
if (n != null) {
|
|
1009
|
+
l.setAttribute("nonce", n);
|
|
1010
|
+
}
|
|
1011
|
+
if (!(t.o & 1 /* shadowDomEncapsulation */)) {
|
|
1012
|
+
if (e.nodeName === "HEAD") {
|
|
1013
|
+
const t = e.querySelectorAll("link[rel=preconnect]");
|
|
1014
|
+
const n = t.length > 0 ? t[t.length - 1].nextSibling : e.querySelector("style");
|
|
1015
|
+
e.insertBefore(l, (n == null ? void 0 : n.parentNode) === e ? n : null);
|
|
1016
|
+
} else if ("host" in e) {
|
|
1017
|
+
if (y) {
|
|
1018
|
+
const t = new CSSStyleSheet;
|
|
1019
|
+
t.replaceSync(o);
|
|
1020
|
+
e.adoptedStyleSheets = [ t, ...e.adoptedStyleSheets ];
|
|
1021
|
+
} else {
|
|
1022
|
+
const t = e.querySelector("style");
|
|
1023
|
+
if (t) {
|
|
1024
|
+
t.innerHTML = o + t.innerHTML;
|
|
1025
|
+
} else {
|
|
1026
|
+
e.prepend(l);
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
} else {
|
|
1030
|
+
e.append(l);
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
if (t.o & 1 /* shadowDomEncapsulation */) {
|
|
1034
|
+
e.insertBefore(l, null);
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
if (t.o & 4 /* hasSlotRelocation */) {
|
|
1038
|
+
l.innerHTML += v;
|
|
1039
|
+
}
|
|
1040
|
+
if (n) {
|
|
1041
|
+
n.add(r);
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
} else if (!e.adoptedStyleSheets.includes(o)) {
|
|
1045
|
+
e.adoptedStyleSheets = [ ...e.adoptedStyleSheets, o ];
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
return r;
|
|
1049
|
+
};
|
|
1050
|
+
|
|
1051
|
+
var attachStyles = e => {
|
|
1052
|
+
const t = e.t;
|
|
1053
|
+
const n = e.$hostElement$;
|
|
1054
|
+
const l = t.o;
|
|
1055
|
+
const i = createTime("attachStyles", t.U);
|
|
1056
|
+
const r = addStyle(n.shadowRoot ? n.shadowRoot : n.getRootNode(), t);
|
|
1057
|
+
if (l & 10 /* needsScopedEncapsulation */ && l & 2 /* scopedCssEncapsulation */ || l & 128 /* shadowNeedsScopedCss */) {
|
|
1058
|
+
n["s-sc"] = r;
|
|
1059
|
+
n.classList.add(r + "-h");
|
|
1060
|
+
}
|
|
1061
|
+
i();
|
|
1062
|
+
};
|
|
1063
|
+
|
|
1064
|
+
var getScopeId = (e, t) => "sc-" + e.U;
|
|
1065
|
+
|
|
1066
|
+
var convertScopedToShadow = e => e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
1067
|
+
|
|
1068
|
+
var hydrateScopedToShadow = () => {
|
|
1069
|
+
if (!$.document) {
|
|
1070
|
+
return;
|
|
1071
|
+
}
|
|
1072
|
+
const e = $.document.querySelectorAll(`[${c}]`);
|
|
1073
|
+
let t = 0;
|
|
1074
|
+
for (;t < e.length; t++) {
|
|
1075
|
+
registerStyle(e[t].getAttribute(c), convertScopedToShadow(e[t].innerHTML), true);
|
|
1076
|
+
}
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
var setAccessor = (e, t, n, l, i, r, o) => {
|
|
1080
|
+
if (n === l) {
|
|
1081
|
+
return;
|
|
1082
|
+
}
|
|
1083
|
+
let s = isMemberInElement(e, t);
|
|
1084
|
+
let f = t.toLowerCase();
|
|
1085
|
+
if (t === "class") {
|
|
1086
|
+
const t = e.classList;
|
|
1087
|
+
const i = parseClassList(n);
|
|
1088
|
+
let r = parseClassList(l);
|
|
1089
|
+
if (e["s-si"] && o) {
|
|
1090
|
+
r.push(e["s-si"]);
|
|
1091
|
+
i.forEach((t => {
|
|
1092
|
+
if (t.startsWith(e["s-si"])) r.push(t);
|
|
1093
|
+
}));
|
|
1094
|
+
r = [ ...new Set(r) ];
|
|
1095
|
+
t.add(...r);
|
|
1096
|
+
} else {
|
|
1097
|
+
t.remove(...i.filter((e => e && !r.includes(e))));
|
|
1098
|
+
t.add(...r.filter((e => e && !i.includes(e))));
|
|
1099
|
+
}
|
|
1100
|
+
} else if (t === "style") {
|
|
1101
|
+
{
|
|
1102
|
+
for (const t in n) {
|
|
1103
|
+
if (!l || l[t] == null) {
|
|
1104
|
+
if (t.includes("-")) {
|
|
1105
|
+
e.style.removeProperty(t);
|
|
1106
|
+
} else {
|
|
1107
|
+
e.style[t] = "";
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
}
|
|
1112
|
+
for (const t in l) {
|
|
1113
|
+
if (!n || l[t] !== n[t]) {
|
|
1114
|
+
if (t.includes("-")) {
|
|
1115
|
+
e.style.setProperty(t, l[t]);
|
|
1116
|
+
} else {
|
|
1117
|
+
e.style[t] = l[t];
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
} else if (t === "key") ; else if (t === "ref") {
|
|
1122
|
+
if (l) {
|
|
1123
|
+
l(e);
|
|
1124
|
+
}
|
|
1125
|
+
} else if (!e.__lookupSetter__(t) && t[0] === "o" && t[1] === "n") {
|
|
1126
|
+
if (t[2] === "-") {
|
|
1127
|
+
t = t.slice(3);
|
|
1128
|
+
} else if (isMemberInElement($, f)) {
|
|
1129
|
+
t = f.slice(2);
|
|
1130
|
+
} else {
|
|
1131
|
+
t = f[2] + t.slice(3);
|
|
1132
|
+
}
|
|
1133
|
+
if (n || l) {
|
|
1134
|
+
const i = t.endsWith(H);
|
|
1135
|
+
t = t.replace(M, "");
|
|
1136
|
+
if (n) {
|
|
1137
|
+
b.rel(e, t, n, i);
|
|
1138
|
+
}
|
|
1139
|
+
if (l) {
|
|
1140
|
+
b.ael(e, t, l, i);
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
} else {
|
|
1144
|
+
const o = isComplexType(l);
|
|
1145
|
+
if ((s || o && l !== null) && true) {
|
|
1146
|
+
try {
|
|
1147
|
+
if (!e.tagName.includes("-")) {
|
|
1148
|
+
const i = l == null ? "" : l;
|
|
1149
|
+
if (t === "list") {
|
|
1150
|
+
s = false;
|
|
1151
|
+
} else if (n == null || e[t] != i) {
|
|
1152
|
+
if (typeof e.__lookupSetter__(t) === "function") {
|
|
1153
|
+
e[t] = i;
|
|
1154
|
+
} else {
|
|
1155
|
+
e.setAttribute(t, i);
|
|
1156
|
+
}
|
|
1157
|
+
}
|
|
1158
|
+
} else if (e[t] !== l) {
|
|
1159
|
+
e[t] = l;
|
|
1160
|
+
}
|
|
1161
|
+
} catch (e) {}
|
|
1162
|
+
}
|
|
1163
|
+
let a = false;
|
|
1164
|
+
{
|
|
1165
|
+
if (f !== (f = f.replace(/^xlink\:?/, ""))) {
|
|
1166
|
+
t = f;
|
|
1167
|
+
a = true;
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
if (l == null || l === false) {
|
|
1171
|
+
if (l !== false || e.getAttribute(t) === "") {
|
|
1172
|
+
if (a) {
|
|
1173
|
+
e.removeAttributeNS(d, t);
|
|
1174
|
+
} else {
|
|
1175
|
+
e.removeAttribute(t);
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
} else if ((!s || r & 4 /* isHost */ || i) && !o && e.nodeType === 1 /* ElementNode */) {
|
|
1179
|
+
l = l === true ? "" : l;
|
|
1180
|
+
if (a) {
|
|
1181
|
+
e.setAttributeNS(d, t, l);
|
|
1182
|
+
} else {
|
|
1183
|
+
e.setAttribute(t, l);
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
var _ = /\s/;
|
|
1190
|
+
|
|
1191
|
+
var parseClassList = e => {
|
|
1192
|
+
if (typeof e === "object" && e && "baseVal" in e) {
|
|
1193
|
+
e = e.baseVal;
|
|
1194
|
+
}
|
|
1195
|
+
if (!e || typeof e !== "string") {
|
|
1196
|
+
return [];
|
|
1197
|
+
}
|
|
1198
|
+
return e.split(_);
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1201
|
+
var H = "Capture";
|
|
1202
|
+
|
|
1203
|
+
var M = new RegExp(H + "$");
|
|
1204
|
+
|
|
1205
|
+
// src/runtime/vdom/update-element.ts
|
|
1206
|
+
var updateElement = (e, t, n, l) => {
|
|
1207
|
+
const i = t.j.nodeType === 11 /* DocumentFragment */ && t.j.host ? t.j.host : t.j;
|
|
1208
|
+
const r = e && e.$ || {};
|
|
1209
|
+
const o = t.$ || {};
|
|
1210
|
+
{
|
|
1211
|
+
for (const e of sortedAttrNames(Object.keys(r))) {
|
|
1212
|
+
if (!(e in o)) {
|
|
1213
|
+
setAccessor(i, e, r[e], void 0, n, t.o, l);
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
for (const e of sortedAttrNames(Object.keys(o))) {
|
|
1218
|
+
setAccessor(i, e, r[e], o[e], n, t.o, l);
|
|
1219
|
+
}
|
|
1220
|
+
};
|
|
1221
|
+
|
|
1222
|
+
function sortedAttrNames(e) {
|
|
1223
|
+
return e.includes("ref") ?
|
|
1224
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
1225
|
+
[ ...e.filter((e => e !== "ref")), "ref" ] :
|
|
1226
|
+
// no need to sort, return the original array
|
|
1227
|
+
e;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
var I;
|
|
1231
|
+
|
|
1232
|
+
var U = false;
|
|
1233
|
+
|
|
1234
|
+
var D = false;
|
|
1235
|
+
|
|
1236
|
+
var createElm = (e, t, n) => {
|
|
1237
|
+
const l = t.m[n];
|
|
1238
|
+
let i = 0;
|
|
1239
|
+
let r;
|
|
1240
|
+
let o;
|
|
1241
|
+
if (l.p !== null) {
|
|
1242
|
+
r = l.j = $.document.createTextNode(l.p);
|
|
1243
|
+
} else {
|
|
1244
|
+
if (!$.document) {
|
|
1245
|
+
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.");
|
|
1246
|
+
}
|
|
1247
|
+
r = l.j = $.document.createElement(l.O);
|
|
1248
|
+
{
|
|
1249
|
+
updateElement(null, l, D);
|
|
1250
|
+
}
|
|
1251
|
+
if (l.m) {
|
|
1252
|
+
for (i = 0; i < l.m.length; ++i) {
|
|
1253
|
+
o = createElm(e, l, i);
|
|
1254
|
+
if (o) {
|
|
1255
|
+
r.appendChild(o);
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
r["s-hn"] = I;
|
|
1261
|
+
return r;
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
var relocateToHostRoot = e => {
|
|
1265
|
+
b.o |= 1 /* isTmpDisconnected */;
|
|
1266
|
+
const t = e.closest(I.toLowerCase());
|
|
1267
|
+
if (t != null) {
|
|
1268
|
+
const n = Array.from(t.__childNodes || t.childNodes).find((e => e["s-cr"]));
|
|
1269
|
+
const l = Array.from(e.__childNodes || e.childNodes);
|
|
1270
|
+
for (const e of n ? l.reverse() : l) {
|
|
1271
|
+
if (e["s-sh"] != null) {
|
|
1272
|
+
insertBefore(t, e, n != null ? n : null);
|
|
1273
|
+
e["s-sh"] = void 0;
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
b.o &= -2 /* isTmpDisconnected */;
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
var addVnodes = (e, t, n, l, i, r) => {
|
|
1281
|
+
let o = e;
|
|
1282
|
+
let s;
|
|
1283
|
+
if (o.shadowRoot && o.tagName === I) {
|
|
1284
|
+
o = o.shadowRoot;
|
|
1285
|
+
}
|
|
1286
|
+
for (;i <= r; ++i) {
|
|
1287
|
+
if (l[i]) {
|
|
1288
|
+
s = createElm(null, n, i);
|
|
1289
|
+
if (s) {
|
|
1290
|
+
l[i].j = s;
|
|
1291
|
+
insertBefore(o, s, t);
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
};
|
|
1296
|
+
|
|
1297
|
+
var removeVnodes = (e, t, n) => {
|
|
1298
|
+
for (let l = t; l <= n; ++l) {
|
|
1299
|
+
const t = e[l];
|
|
1300
|
+
if (t) {
|
|
1301
|
+
const e = t.j;
|
|
1302
|
+
nullifyVNodeRefs(t);
|
|
1303
|
+
if (e) {
|
|
1304
|
+
e.remove();
|
|
1305
|
+
}
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
var updateChildren = (e, t, n, l, i = false) => {
|
|
1311
|
+
let r = 0;
|
|
1312
|
+
let o = 0;
|
|
1313
|
+
let s = 0;
|
|
1314
|
+
let f = 0;
|
|
1315
|
+
let a = t.length - 1;
|
|
1316
|
+
let c = t[0];
|
|
1317
|
+
let u = t[a];
|
|
1318
|
+
let v = l.length - 1;
|
|
1319
|
+
let d = l[0];
|
|
1320
|
+
let p = l[v];
|
|
1321
|
+
let $;
|
|
1322
|
+
let m;
|
|
1323
|
+
while (r <= a && o <= v) {
|
|
1324
|
+
if (c == null) {
|
|
1325
|
+
c = t[++r];
|
|
1326
|
+
} else if (u == null) {
|
|
1327
|
+
u = t[--a];
|
|
1328
|
+
} else if (d == null) {
|
|
1329
|
+
d = l[++o];
|
|
1330
|
+
} else if (p == null) {
|
|
1331
|
+
p = l[--v];
|
|
1332
|
+
} else if (isSameVnode(c, d, i)) {
|
|
1333
|
+
patch(c, d, i);
|
|
1334
|
+
c = t[++r];
|
|
1335
|
+
d = l[++o];
|
|
1336
|
+
} else if (isSameVnode(u, p, i)) {
|
|
1337
|
+
patch(u, p, i);
|
|
1338
|
+
u = t[--a];
|
|
1339
|
+
p = l[--v];
|
|
1340
|
+
} else if (isSameVnode(c, p, i)) {
|
|
1341
|
+
patch(c, p, i);
|
|
1342
|
+
insertBefore(e, c.j, u.j.nextSibling);
|
|
1343
|
+
c = t[++r];
|
|
1344
|
+
p = l[--v];
|
|
1345
|
+
} else if (isSameVnode(u, d, i)) {
|
|
1346
|
+
patch(u, d, i);
|
|
1347
|
+
insertBefore(e, u.j, c.j);
|
|
1348
|
+
u = t[--a];
|
|
1349
|
+
d = l[++o];
|
|
1350
|
+
} else {
|
|
1351
|
+
s = -1;
|
|
1352
|
+
{
|
|
1353
|
+
for (f = r; f <= a; ++f) {
|
|
1354
|
+
if (t[f] && t[f].S !== null && t[f].S === d.S) {
|
|
1355
|
+
s = f;
|
|
1356
|
+
break;
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
if (s >= 0) {
|
|
1361
|
+
m = t[s];
|
|
1362
|
+
if (m.O !== d.O) {
|
|
1363
|
+
$ = createElm(t && t[o], n, s);
|
|
1364
|
+
} else {
|
|
1365
|
+
patch(m, d, i);
|
|
1366
|
+
t[s] = void 0;
|
|
1367
|
+
$ = m.j;
|
|
1368
|
+
}
|
|
1369
|
+
d = l[++o];
|
|
1370
|
+
} else {
|
|
1371
|
+
$ = createElm(t && t[o], n, o);
|
|
1372
|
+
d = l[++o];
|
|
1373
|
+
}
|
|
1374
|
+
if ($) {
|
|
1375
|
+
{
|
|
1376
|
+
insertBefore(c.j.parentNode, $, c.j);
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
if (r > a) {
|
|
1382
|
+
addVnodes(e, l[v + 1] == null ? null : l[v + 1].j, n, l, o, v);
|
|
1383
|
+
} else if (o > v) {
|
|
1384
|
+
removeVnodes(t, r, a);
|
|
1385
|
+
}
|
|
1386
|
+
};
|
|
1387
|
+
|
|
1388
|
+
var isSameVnode = (e, t, n = false) => {
|
|
1389
|
+
if (e.O === t.O) {
|
|
1390
|
+
if (!n) {
|
|
1391
|
+
return e.S === t.S;
|
|
1392
|
+
}
|
|
1393
|
+
if (n && !e.S && t.S) {
|
|
1394
|
+
e.S = t.S;
|
|
1395
|
+
}
|
|
1396
|
+
return true;
|
|
1397
|
+
}
|
|
1398
|
+
return false;
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
var patch = (e, n, l = false) => {
|
|
1402
|
+
const i = n.j = e.j;
|
|
1403
|
+
const r = e.m;
|
|
1404
|
+
const o = n.m;
|
|
1405
|
+
const s = n.O;
|
|
1406
|
+
const f = n.p;
|
|
1407
|
+
if (f === null) {
|
|
1408
|
+
{
|
|
1409
|
+
if (s === "slot" && !U) {
|
|
1410
|
+
if (e.N !== n.N) {
|
|
1411
|
+
n.j["s-sn"] = n.N || "";
|
|
1412
|
+
relocateToHostRoot(n.j.parentElement);
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
updateElement(e, n, D, l);
|
|
1416
|
+
}
|
|
1417
|
+
if (r !== null && o !== null) {
|
|
1418
|
+
updateChildren(i, r, n, o, l);
|
|
1419
|
+
} else if (o !== null) {
|
|
1420
|
+
if (e.p !== null) {
|
|
1421
|
+
i.textContent = "";
|
|
1422
|
+
}
|
|
1423
|
+
addVnodes(i, null, n, o, 0, o.length - 1);
|
|
1424
|
+
} else if (
|
|
1425
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
1426
|
+
!l && t.updatable && r !== null) {
|
|
1427
|
+
removeVnodes(r, 0, r.length - 1);
|
|
1428
|
+
}
|
|
1429
|
+
} else if (e.p !== f) {
|
|
1430
|
+
i.data = f;
|
|
1431
|
+
}
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
var nullifyVNodeRefs = e => {
|
|
1435
|
+
{
|
|
1436
|
+
e.$ && e.$.ref && e.$.ref(null);
|
|
1437
|
+
e.m && e.m.map(nullifyVNodeRefs);
|
|
1438
|
+
}
|
|
1439
|
+
};
|
|
1440
|
+
|
|
1441
|
+
var insertBefore = (e, t, n) => {
|
|
1442
|
+
if (typeof t["s-sn"] === "string") {
|
|
1443
|
+
if (e.getRootNode().nodeType !== 11 /* DOCUMENT_FRAGMENT_NODE */) {
|
|
1444
|
+
patchParentNode(t);
|
|
1445
|
+
}
|
|
1446
|
+
e.insertBefore(t, n);
|
|
1447
|
+
const {slotNode: l} = findSlotFromSlottedNode(t);
|
|
1448
|
+
if (l) dispatchSlotChangeEvent(l);
|
|
1449
|
+
return t;
|
|
1450
|
+
}
|
|
1451
|
+
if (e.__insertBefore) {
|
|
1452
|
+
return e.__insertBefore(t, n);
|
|
1453
|
+
} else {
|
|
1454
|
+
return e == null ? void 0 : e.insertBefore(t, n);
|
|
1455
|
+
}
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
var renderVdom = (e, t, n = false) => {
|
|
1459
|
+
var l;
|
|
1460
|
+
const i = e.$hostElement$;
|
|
1461
|
+
const r = e.t;
|
|
1462
|
+
const o = e.k || newVNode(null, null);
|
|
1463
|
+
const s = isHost(t) ? t : h(null, null, t);
|
|
1464
|
+
I = i.tagName;
|
|
1465
|
+
if (r.D) {
|
|
1466
|
+
s.$ = s.$ || {};
|
|
1467
|
+
r.D.map((([e, t]) => s.$[t] = i[e]));
|
|
1468
|
+
}
|
|
1469
|
+
if (n && s.$) {
|
|
1470
|
+
for (const e of Object.keys(s.$)) {
|
|
1471
|
+
if (i.hasAttribute(e) && ![ "key", "ref", "style", "class" ].includes(e)) {
|
|
1472
|
+
s.$[e] = i[e];
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
s.O = null;
|
|
1477
|
+
s.o |= 4 /* isHost */;
|
|
1478
|
+
e.k = s;
|
|
1479
|
+
s.j = o.j = i.shadowRoot || i;
|
|
1480
|
+
U = !!(r.o & 1 /* shadowDomEncapsulation */) && !(r.o & 128 /* shadowNeedsScopedCss */);
|
|
1481
|
+
patch(o, s, n);
|
|
1482
|
+
if (r.o & 2 /* scopedCssEncapsulation */) {
|
|
1483
|
+
const e = s.j.__childNodes || s.j.childNodes;
|
|
1484
|
+
for (const t of e) {
|
|
1485
|
+
if (t["s-hn"] !== I && !t["s-sh"]) {
|
|
1486
|
+
if (n && t["s-ih"] == null) {
|
|
1487
|
+
t["s-ih"] = (l = t.hidden) != null ? l : false;
|
|
1488
|
+
}
|
|
1489
|
+
t.hidden = true;
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
};
|
|
1494
|
+
|
|
1495
|
+
// src/runtime/update-component.ts
|
|
1496
|
+
var attachToAncestor = (e, t) => {
|
|
1497
|
+
if (t && !e.R && t["s-p"]) {
|
|
1498
|
+
const n = t["s-p"].push(new Promise((l => e.R = () => {
|
|
1499
|
+
t["s-p"].splice(n - 1, 1);
|
|
1500
|
+
l();
|
|
1501
|
+
})));
|
|
1502
|
+
}
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
var scheduleUpdate = (e, t) => {
|
|
1506
|
+
{
|
|
1507
|
+
e.o |= 16 /* isQueuedForUpdate */;
|
|
1508
|
+
}
|
|
1509
|
+
if (e.o & 4 /* isWaitingForChildren */) {
|
|
1510
|
+
e.o |= 512 /* needsRerender */;
|
|
1511
|
+
return;
|
|
1512
|
+
}
|
|
1513
|
+
attachToAncestor(e, e.W);
|
|
1514
|
+
const dispatch = () => dispatchHooks(e, t);
|
|
1515
|
+
return j(dispatch);
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1518
|
+
var dispatchHooks = (e, t) => {
|
|
1519
|
+
const n = e.$hostElement$;
|
|
1520
|
+
const l = createTime("scheduleUpdate", e.t.U);
|
|
1521
|
+
const i = n;
|
|
1522
|
+
if (!i) {
|
|
1523
|
+
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`);
|
|
1524
|
+
}
|
|
1525
|
+
let r;
|
|
1526
|
+
if (t) {
|
|
1527
|
+
emitLifecycleEvent(n, "componentWillLoad");
|
|
1528
|
+
r = safeCall(i, "componentWillLoad", void 0, n);
|
|
1529
|
+
} else {
|
|
1530
|
+
emitLifecycleEvent(n, "componentWillUpdate");
|
|
1531
|
+
r = safeCall(i, "componentWillUpdate", void 0, n);
|
|
1532
|
+
}
|
|
1533
|
+
emitLifecycleEvent(n, "componentWillRender");
|
|
1534
|
+
r = enqueue(r, (() => safeCall(i, "componentWillRender", void 0, n)));
|
|
1535
|
+
l();
|
|
1536
|
+
return enqueue(r, (() => updateComponent(e, i, t)));
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
var enqueue = (e, t) => isPromisey(e) ? e.then(t).catch((e => {
|
|
1540
|
+
console.error(e);
|
|
1541
|
+
t();
|
|
1542
|
+
})) : t();
|
|
1543
|
+
|
|
1544
|
+
var isPromisey = e => e instanceof Promise || e && e.then && typeof e.then === "function";
|
|
1545
|
+
|
|
1546
|
+
var updateComponent = async (e, t, n) => {
|
|
1547
|
+
var l;
|
|
1548
|
+
const i = e.$hostElement$;
|
|
1549
|
+
const r = createTime("update", e.t.U);
|
|
1550
|
+
const o = i["s-rc"];
|
|
1551
|
+
if (n) {
|
|
1552
|
+
attachStyles(e);
|
|
1553
|
+
}
|
|
1554
|
+
const s = createTime("render", e.t.U);
|
|
1555
|
+
{
|
|
1556
|
+
callRender(e, t, i, n);
|
|
1557
|
+
}
|
|
1558
|
+
if (o) {
|
|
1559
|
+
o.map((e => e()));
|
|
1560
|
+
i["s-rc"] = void 0;
|
|
1561
|
+
}
|
|
1562
|
+
s();
|
|
1563
|
+
r();
|
|
1564
|
+
{
|
|
1565
|
+
const t = (l = i["s-p"]) != null ? l : [];
|
|
1566
|
+
const postUpdate = () => postUpdateComponent(e);
|
|
1567
|
+
if (t.length === 0) {
|
|
1568
|
+
postUpdate();
|
|
1569
|
+
} else {
|
|
1570
|
+
Promise.all(t).then(postUpdate);
|
|
1571
|
+
e.o |= 4 /* isWaitingForChildren */;
|
|
1572
|
+
t.length = 0;
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
|
|
1577
|
+
var callRender = (e, t, n, l) => {
|
|
1578
|
+
try {
|
|
1579
|
+
t = t.render();
|
|
1580
|
+
{
|
|
1581
|
+
e.o &= -17 /* isQueuedForUpdate */;
|
|
1582
|
+
}
|
|
1583
|
+
{
|
|
1584
|
+
e.o |= 2 /* hasRendered */;
|
|
1585
|
+
}
|
|
1586
|
+
{
|
|
1587
|
+
{
|
|
1588
|
+
{
|
|
1589
|
+
renderVdom(e, t, l);
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
} catch (t) {
|
|
1594
|
+
consoleError(t, e.$hostElement$);
|
|
1595
|
+
}
|
|
1596
|
+
return null;
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
var postUpdateComponent = e => {
|
|
1600
|
+
const t = e.t.U;
|
|
1601
|
+
const n = e.$hostElement$;
|
|
1602
|
+
const l = createTime("postUpdate", t);
|
|
1603
|
+
const i = n;
|
|
1604
|
+
const r = e.W;
|
|
1605
|
+
safeCall(i, "componentDidRender", void 0, n);
|
|
1606
|
+
emitLifecycleEvent(n, "componentDidRender");
|
|
1607
|
+
if (!(e.o & 64 /* hasLoadedComponent */)) {
|
|
1608
|
+
e.o |= 64 /* hasLoadedComponent */;
|
|
1609
|
+
{
|
|
1610
|
+
addHydratedFlag(n);
|
|
1611
|
+
}
|
|
1612
|
+
safeCall(i, "componentDidLoad", void 0, n);
|
|
1613
|
+
emitLifecycleEvent(n, "componentDidLoad");
|
|
1614
|
+
l();
|
|
1615
|
+
{
|
|
1616
|
+
e.v(n);
|
|
1617
|
+
if (!r) {
|
|
1618
|
+
appDidLoad();
|
|
1619
|
+
}
|
|
1620
|
+
}
|
|
1621
|
+
} else {
|
|
1622
|
+
safeCall(i, "componentDidUpdate", void 0, n);
|
|
1623
|
+
emitLifecycleEvent(n, "componentDidUpdate");
|
|
1624
|
+
l();
|
|
1625
|
+
}
|
|
1626
|
+
{
|
|
1627
|
+
if (e.R) {
|
|
1628
|
+
e.R();
|
|
1629
|
+
e.R = void 0;
|
|
1630
|
+
}
|
|
1631
|
+
if (e.o & 512 /* needsRerender */) {
|
|
1632
|
+
nextTick((() => scheduleUpdate(e, false)));
|
|
1633
|
+
}
|
|
1634
|
+
e.o &= -517;
|
|
1635
|
+
}
|
|
1636
|
+
};
|
|
1637
|
+
|
|
1638
|
+
var appDidLoad = t => {
|
|
1639
|
+
nextTick((() => emitEvent($, "appload", {
|
|
1640
|
+
detail: {
|
|
1641
|
+
namespace: e
|
|
1642
|
+
}
|
|
1643
|
+
})));
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
var safeCall = (e, t, n, l) => {
|
|
1647
|
+
if (e && e[t]) {
|
|
1648
|
+
try {
|
|
1649
|
+
return e[t](n);
|
|
1650
|
+
} catch (e) {
|
|
1651
|
+
consoleError(e, l);
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
return void 0;
|
|
1655
|
+
};
|
|
1656
|
+
|
|
1657
|
+
var emitLifecycleEvent = (t, n) => {
|
|
1658
|
+
{
|
|
1659
|
+
emitEvent(t, "stencil_" + n, {
|
|
1660
|
+
bubbles: true,
|
|
1661
|
+
composed: true,
|
|
1662
|
+
detail: {
|
|
1663
|
+
namespace: e
|
|
1664
|
+
}
|
|
1665
|
+
});
|
|
1666
|
+
}
|
|
1667
|
+
};
|
|
1668
|
+
|
|
1669
|
+
var addHydratedFlag = e => {
|
|
1670
|
+
var n;
|
|
1671
|
+
return e.classList.add((n = t.hydratedSelectorName) != null ? n : "hydrated");
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
// src/runtime/set-value.ts
|
|
1675
|
+
var getValue = (e, t) => getHostRef(e).i.get(t);
|
|
1676
|
+
|
|
1677
|
+
var setValue = (e, t, n, l) => {
|
|
1678
|
+
const i = getHostRef(e);
|
|
1679
|
+
const r = e;
|
|
1680
|
+
const o = i.i.get(t);
|
|
1681
|
+
const s = i.o;
|
|
1682
|
+
const f = r;
|
|
1683
|
+
n = parsePropertyValue(n, l.l[t][0]);
|
|
1684
|
+
const a = Number.isNaN(o) && Number.isNaN(n);
|
|
1685
|
+
const c = n !== o && !a;
|
|
1686
|
+
if (c) {
|
|
1687
|
+
i.i.set(t, n);
|
|
1688
|
+
{
|
|
1689
|
+
if (l.L && s & 128 /* isWatchReady */) {
|
|
1690
|
+
const e = l.L[t];
|
|
1691
|
+
if (e) {
|
|
1692
|
+
e.map((e => {
|
|
1693
|
+
try {
|
|
1694
|
+
f[e](n, o, t);
|
|
1695
|
+
} catch (e) {
|
|
1696
|
+
consoleError(e, r);
|
|
1697
|
+
}
|
|
1698
|
+
}));
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
if ((s & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1702
|
+
if (f.componentShouldUpdate) {
|
|
1703
|
+
if (f.componentShouldUpdate(n, o, t) === false) {
|
|
1704
|
+
return;
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
scheduleUpdate(i, false);
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
// src/runtime/proxy-component.ts
|
|
1714
|
+
var proxyComponent = (e, n, l) => {
|
|
1715
|
+
var i, r;
|
|
1716
|
+
const o = e.prototype;
|
|
1717
|
+
if (n.o & 64 /* formAssociated */ && l & 1 /* isElementConstructor */) {
|
|
1718
|
+
p.forEach((e => {
|
|
1719
|
+
const t = o[e];
|
|
1720
|
+
Object.defineProperty(o, e, {
|
|
1721
|
+
value(...n) {
|
|
1722
|
+
const l = getHostRef(this);
|
|
1723
|
+
const i = this;
|
|
1724
|
+
if (!i) {
|
|
1725
|
+
l.u.then((t => {
|
|
1726
|
+
const l = t[e];
|
|
1727
|
+
typeof l === "function" && l.call(t, ...n);
|
|
1728
|
+
}));
|
|
1729
|
+
} else {
|
|
1730
|
+
const e = t;
|
|
1731
|
+
typeof e === "function" && e.call(i, ...n);
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
});
|
|
1735
|
+
}));
|
|
1736
|
+
}
|
|
1737
|
+
if (n.l || (n.L || e.watchers)) {
|
|
1738
|
+
if (e.watchers && !n.L) {
|
|
1739
|
+
n.L = e.watchers;
|
|
1740
|
+
}
|
|
1741
|
+
const l = Object.entries((i = n.l) != null ? i : {});
|
|
1742
|
+
l.map((([e, [t]]) => {
|
|
1743
|
+
if (t & 31 /* Prop */ || t & 32 /* State */) {
|
|
1744
|
+
const {get: l, set: i} = Object.getOwnPropertyDescriptor(o, e) || {};
|
|
1745
|
+
if (l) n.l[e][0] |= 2048 /* Getter */;
|
|
1746
|
+
if (i) n.l[e][0] |= 4096 /* Setter */;
|
|
1747
|
+
{
|
|
1748
|
+
Object.defineProperty(o, e, {
|
|
1749
|
+
get() {
|
|
1750
|
+
{
|
|
1751
|
+
return l ? l.apply(this) : getValue(this, e);
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1754
|
+
configurable: true,
|
|
1755
|
+
enumerable: true
|
|
1756
|
+
});
|
|
1757
|
+
}
|
|
1758
|
+
Object.defineProperty(o, e, {
|
|
1759
|
+
set(l) {
|
|
1760
|
+
const r = getHostRef(this);
|
|
1761
|
+
if (i) {
|
|
1762
|
+
const o = t & 32 /* State */ ? this[e] : r.$hostElement$[e];
|
|
1763
|
+
if (typeof o === "undefined" && r.i.get(e)) {
|
|
1764
|
+
l = r.i.get(e);
|
|
1765
|
+
} else if (!r.i.get(e) && o) {
|
|
1766
|
+
r.i.set(e, o);
|
|
1767
|
+
}
|
|
1768
|
+
i.apply(this, [ parsePropertyValue(l, t) ]);
|
|
1769
|
+
l = t & 32 /* State */ ? this[e] : r.$hostElement$[e];
|
|
1770
|
+
setValue(this, e, l, n);
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
{
|
|
1774
|
+
setValue(this, e, l, n);
|
|
1775
|
+
return;
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
});
|
|
1779
|
+
}
|
|
1780
|
+
}));
|
|
1781
|
+
{
|
|
1782
|
+
const i = new Map;
|
|
1783
|
+
o.attributeChangedCallback = function(e, l, r) {
|
|
1784
|
+
b.jmp((() => {
|
|
1785
|
+
var s;
|
|
1786
|
+
const f = i.get(e);
|
|
1787
|
+
if (this.hasOwnProperty(f) && t.lazyLoad) ; else if (o.hasOwnProperty(f) && typeof this[f] === "number" && // cast type to number to avoid TS compiler issues
|
|
1788
|
+
this[f] == r) {
|
|
1789
|
+
return;
|
|
1790
|
+
} else if (f == null) {
|
|
1791
|
+
const t = getHostRef(this);
|
|
1792
|
+
const i = t == null ? void 0 : t.o;
|
|
1793
|
+
if (i && !(i & 8 /* isConstructingInstance */) && i & 128 /* isWatchReady */ && r !== l) {
|
|
1794
|
+
const t = this;
|
|
1795
|
+
const i = t;
|
|
1796
|
+
const o = (s = n.L) == null ? void 0 : s[e];
|
|
1797
|
+
o == null ? void 0 : o.forEach((t => {
|
|
1798
|
+
if (i[t] != null) {
|
|
1799
|
+
i[t].call(i, r, l, e);
|
|
1800
|
+
}
|
|
1801
|
+
}));
|
|
1802
|
+
}
|
|
1803
|
+
return;
|
|
1804
|
+
}
|
|
1805
|
+
const a = Object.getOwnPropertyDescriptor(o, f);
|
|
1806
|
+
r = r === null && typeof this[f] === "boolean" ? false : r;
|
|
1807
|
+
if (r !== this[f] && (!a.get || !!a.set)) {
|
|
1808
|
+
this[f] = r;
|
|
1809
|
+
}
|
|
1810
|
+
}));
|
|
1811
|
+
};
|
|
1812
|
+
e.observedAttributes = Array.from(
|
|
1813
|
+
new Set([ ...Object.keys((r = n.L) != null ? r : {}), ...l.filter((([e, t]) => t[0] & 15 /* HasAttribute */)).map((([e, t]) => {
|
|
1814
|
+
var l;
|
|
1815
|
+
const r = t[1] || e;
|
|
1816
|
+
i.set(r, e);
|
|
1817
|
+
if (t[0] & 512 /* ReflectAttr */) {
|
|
1818
|
+
(l = n.D) == null ? void 0 : l.push([ e, r ]);
|
|
1819
|
+
}
|
|
1820
|
+
return r;
|
|
1821
|
+
})) ]));
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
return e;
|
|
1825
|
+
};
|
|
1826
|
+
|
|
1827
|
+
// src/runtime/initialize-component.ts
|
|
1828
|
+
var initializeComponent = async (e, t, n, i) => {
|
|
1829
|
+
let r;
|
|
1830
|
+
if ((t.o & 32 /* hasInitializedComponent */) === 0) {
|
|
1831
|
+
t.o |= 32 /* hasInitializedComponent */;
|
|
1832
|
+
{
|
|
1833
|
+
r = e.constructor;
|
|
1834
|
+
const n = e.localName;
|
|
1835
|
+
customElements.whenDefined(n).then((() => t.o |= 128 /* isWatchReady */));
|
|
1836
|
+
}
|
|
1837
|
+
if (r && r.style) {
|
|
1838
|
+
let e;
|
|
1839
|
+
if (typeof r.style === "string") {
|
|
1840
|
+
e = r.style;
|
|
1841
|
+
}
|
|
1842
|
+
const t = getScopeId(n);
|
|
1843
|
+
if (!l.has(t)) {
|
|
1844
|
+
const l = createTime("registerStyles", n.U);
|
|
1845
|
+
registerStyle(t, e, !!(n.o & 1 /* shadowDomEncapsulation */));
|
|
1846
|
+
l();
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
const o = t.W;
|
|
1851
|
+
const schedule = () => scheduleUpdate(t, true);
|
|
1852
|
+
if (o && o["s-rc"]) {
|
|
1853
|
+
o["s-rc"].push(schedule);
|
|
1854
|
+
} else {
|
|
1855
|
+
schedule();
|
|
1856
|
+
}
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
var fireConnectedCallback = (e, t) => {};
|
|
1860
|
+
|
|
1861
|
+
// src/runtime/connected-callback.ts
|
|
1862
|
+
var connectedCallback = e => {
|
|
1863
|
+
if ((b.o & 1 /* isTmpDisconnected */) === 0) {
|
|
1864
|
+
const n = getHostRef(e);
|
|
1865
|
+
const l = n.t;
|
|
1866
|
+
const i = createTime("connectedCallback", l.U);
|
|
1867
|
+
if (!(n.o & 1 /* hasConnected */)) {
|
|
1868
|
+
n.o |= 1 /* hasConnected */;
|
|
1869
|
+
let i;
|
|
1870
|
+
{
|
|
1871
|
+
i = e.getAttribute(a);
|
|
1872
|
+
if (i) {
|
|
1873
|
+
if (l.o & 1 /* shadowDomEncapsulation */) {
|
|
1874
|
+
const t = addStyle(e.shadowRoot, l);
|
|
1875
|
+
e.classList.remove(t + "-h", t + "-s");
|
|
1876
|
+
}
|
|
1877
|
+
initializeClientHydrate(e, l.U, i, n);
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
{
|
|
1881
|
+
let t = e;
|
|
1882
|
+
while (t = t.parentNode || t.host) {
|
|
1883
|
+
if (t.nodeType === 1 /* ElementNode */ && t.hasAttribute("s-id") && t["s-p"] || t["s-p"]) {
|
|
1884
|
+
attachToAncestor(n, n.W = t);
|
|
1885
|
+
break;
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
if (l.l) {
|
|
1890
|
+
Object.entries(l.l).map((([t, [n]]) => {
|
|
1891
|
+
if (n & 31 /* Prop */ && e.hasOwnProperty(t)) {
|
|
1892
|
+
const n = e[t];
|
|
1893
|
+
delete e[t];
|
|
1894
|
+
e[t] = n;
|
|
1895
|
+
}
|
|
1896
|
+
}));
|
|
1897
|
+
}
|
|
1898
|
+
if (t.initializeNextTick) {
|
|
1899
|
+
nextTick((() => initializeComponent(e, n, l)));
|
|
1900
|
+
} else {
|
|
1901
|
+
initializeComponent(e, n, l);
|
|
1902
|
+
}
|
|
1903
|
+
} else {
|
|
1904
|
+
addHostEventListeners(e, n, l.P);
|
|
1905
|
+
if (n == null ? void 0 : n.F) ; else if (n == null ? void 0 : n.u) {
|
|
1906
|
+
n.u.then((() => fireConnectedCallback()));
|
|
1907
|
+
}
|
|
1908
|
+
}
|
|
1909
|
+
i();
|
|
1910
|
+
}
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
var disconnectedCallback = async e => {
|
|
1914
|
+
if ((b.o & 1 /* isTmpDisconnected */) === 0) {
|
|
1915
|
+
const t = getHostRef(e);
|
|
1916
|
+
{
|
|
1917
|
+
if (t.q) {
|
|
1918
|
+
t.q.map((e => e()));
|
|
1919
|
+
t.q = void 0;
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
}
|
|
1923
|
+
if (A.has(e)) {
|
|
1924
|
+
A.delete(e);
|
|
1925
|
+
}
|
|
1926
|
+
if (e.shadowRoot && A.has(e.shadowRoot)) {
|
|
1927
|
+
A.delete(e.shadowRoot);
|
|
1928
|
+
}
|
|
1929
|
+
};
|
|
1930
|
+
|
|
1931
|
+
var proxyCustomElement = (e, t) => {
|
|
1932
|
+
const n = {
|
|
1933
|
+
o: t[0],
|
|
1934
|
+
U: t[1]
|
|
1935
|
+
};
|
|
1936
|
+
{
|
|
1937
|
+
n.l = t[2];
|
|
1938
|
+
}
|
|
1939
|
+
{
|
|
1940
|
+
n.P = t[3];
|
|
1941
|
+
}
|
|
1942
|
+
{
|
|
1943
|
+
n.L = e.L;
|
|
1944
|
+
}
|
|
1945
|
+
{
|
|
1946
|
+
n.D = [];
|
|
1947
|
+
}
|
|
1948
|
+
{
|
|
1949
|
+
hydrateScopedToShadow();
|
|
1950
|
+
}
|
|
1951
|
+
const l = e.prototype.connectedCallback;
|
|
1952
|
+
const i = e.prototype.disconnectedCallback;
|
|
1953
|
+
Object.assign(e.prototype, {
|
|
1954
|
+
__hasHostListenerAttached: false,
|
|
1955
|
+
__registerHost() {
|
|
1956
|
+
registerHost(this, n);
|
|
1957
|
+
},
|
|
1958
|
+
connectedCallback() {
|
|
1959
|
+
if (!this.__hasHostListenerAttached) {
|
|
1960
|
+
const e = getHostRef(this);
|
|
1961
|
+
addHostEventListeners(this, e, n.P);
|
|
1962
|
+
this.__hasHostListenerAttached = true;
|
|
1963
|
+
}
|
|
1964
|
+
connectedCallback(this);
|
|
1965
|
+
if (l) {
|
|
1966
|
+
l.call(this);
|
|
1967
|
+
}
|
|
1968
|
+
},
|
|
1969
|
+
disconnectedCallback() {
|
|
1970
|
+
disconnectedCallback(this);
|
|
1971
|
+
if (i) {
|
|
1972
|
+
i.call(this);
|
|
1973
|
+
}
|
|
1974
|
+
},
|
|
1975
|
+
__attachShadow() {
|
|
1976
|
+
{
|
|
1977
|
+
if (!this.shadowRoot) {
|
|
1978
|
+
{
|
|
1979
|
+
this.attachShadow({
|
|
1980
|
+
mode: "open"
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
} else {
|
|
1984
|
+
if (this.shadowRoot.mode !== "open") {
|
|
1985
|
+
throw new Error(`Unable to re-use existing shadow root for ${n.U}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
});
|
|
1991
|
+
e.is = n.U;
|
|
1992
|
+
return proxyComponent(e, n, 1 /* isElementConstructor */ | 2 /* proxyState */);
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1995
|
+
var addHostEventListeners = (e, t, n, l) => {
|
|
1996
|
+
if (n && $.document) {
|
|
1997
|
+
n.map((([n, l, i]) => {
|
|
1998
|
+
const r = getHostListenerTarget($.document, e, n);
|
|
1999
|
+
const o = hostListenerProxy(t, i);
|
|
2000
|
+
const s = hostListenerOpts(n);
|
|
2001
|
+
b.ael(r, l, o, s);
|
|
2002
|
+
(t.q = t.q || []).push((() => b.rel(r, l, o, s)));
|
|
2003
|
+
}));
|
|
2004
|
+
}
|
|
2005
|
+
};
|
|
2006
|
+
|
|
2007
|
+
var hostListenerProxy = (e, t) => n => {
|
|
2008
|
+
try {
|
|
2009
|
+
{
|
|
2010
|
+
e.$hostElement$[t](n);
|
|
2011
|
+
}
|
|
2012
|
+
} catch (t) {
|
|
2013
|
+
consoleError(t, e.$hostElement$);
|
|
2014
|
+
}
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
var getHostListenerTarget = (e, t, n) => {
|
|
2018
|
+
if (n & 4 /* TargetDocument */) {
|
|
2019
|
+
return e;
|
|
2020
|
+
}
|
|
2021
|
+
if (n & 8 /* TargetWindow */) {
|
|
2022
|
+
return $;
|
|
2023
|
+
}
|
|
2024
|
+
return t;
|
|
2025
|
+
};
|
|
2026
|
+
|
|
2027
|
+
var hostListenerOpts = e => g ? {
|
|
2028
|
+
passive: (e & 1 /* Passive */) !== 0,
|
|
2029
|
+
capture: (e & 2 /* Capture */) !== 0
|
|
2030
|
+
} : (e & 2 /* Capture */) !== 0
|
|
2031
|
+
// src/runtime/nonce.ts
|
|
2032
|
+
;
|
|
2033
|
+
|
|
2034
|
+
var setNonce = e => b.I = e
|
|
2035
|
+
// src/runtime/platform-options.ts
|
|
2036
|
+
;
|
|
2037
|
+
|
|
2038
|
+
var setPlatformOptions = e => Object.assign(b, e);
|
|
2039
|
+
|
|
2040
|
+
export { m as H, setNonce as a, setPlatformOptions as b, createEvent as c, E as d, getAssetPath as g, h, proxyCustomElement as p, setAssetPath as s };
|
|
2041
|
+
//# sourceMappingURL=p-D02C28Eq.js.map
|
|
2042
|
+
//# sourceMappingURL=p-D02C28Eq.js.map
|