@beeq/core 1.12.1 → 1.12.2-beta.0
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/beeq/beeq.esm.js +44 -1
- package/dist/beeq/beeq.esm.js.map +1 -1
- package/dist/beeq/index.esm.js +69 -1
- package/dist/{components/p-Bi6ozE0v.js → beeq/p-1011ae42.entry.js} +89 -2
- package/dist/beeq/{p-e394c440.entry.js.map → p-1011ae42.entry.js.map} +1 -1
- package/dist/beeq/p-110c262d.entry.js +173 -0
- package/dist/beeq/{p-b4a612db.entry.js.map → p-110c262d.entry.js.map} +1 -1
- package/dist/beeq/p-11671252.entry.js +128 -0
- package/dist/beeq/{p-a7a74198.entry.js.map → p-11671252.entry.js.map} +1 -1
- package/dist/beeq/p-11fcb99b.entry.js +281 -0
- package/dist/beeq/{p-5e186220.entry.js.map → p-11fcb99b.entry.js.map} +1 -1
- package/dist/beeq/p-1aba3eec.entry.js +150 -0
- package/dist/beeq/{p-3c491238.entry.js.map → p-1aba3eec.entry.js.map} +1 -1
- package/dist/beeq/p-20162842.entry.js +151 -0
- package/dist/beeq/{p-8cd20d85.entry.js.map → p-20162842.entry.js.map} +1 -1
- package/dist/beeq/p-3a4c4de9.entry.js +188 -0
- package/dist/beeq/{p-28c6cdbc.entry.js.map → p-3a4c4de9.entry.js.map} +1 -1
- package/dist/beeq/p-426fd908.entry.js +215 -0
- package/dist/beeq/{p-8fd716b1.entry.js.map → p-426fd908.entry.js.map} +1 -1
- package/dist/beeq/p-47571092.entry.js +289 -0
- package/dist/beeq/{p-e39e3d9c.entry.js.map → p-47571092.entry.js.map} +1 -1
- package/dist/beeq/p-49e90223.entry.js +86 -0
- package/dist/beeq/{p-63f1dcd2.entry.js.map → p-49e90223.entry.js.map} +1 -1
- package/dist/beeq/p-4b00a155.entry.js +747 -0
- package/dist/beeq/{p-f477b7ac.entry.js.map → p-4b00a155.entry.js.map} +1 -1
- package/dist/beeq/p-54ddd09f.entry.js +392 -0
- package/dist/beeq/{p-59cb331c.entry.js.map → p-54ddd09f.entry.js.map} +1 -1
- package/dist/{components/p-OA6hhXnT.js → beeq/p-6b68123f.entry.js} +246 -2
- package/dist/beeq/{p-fa3d23bf.entry.js.map → p-6b68123f.entry.js.map} +1 -1
- package/dist/beeq/p-6d708caf.entry.js +339 -0
- package/dist/beeq/{p-ce124fba.entry.js.map → p-6d708caf.entry.js.map} +1 -1
- package/dist/beeq/p-70607940.entry.js +174 -0
- package/dist/beeq/{p-552d3e73.entry.js.map → p-70607940.entry.js.map} +1 -1
- package/dist/beeq/p-72c376a9.entry.js +165 -0
- package/dist/beeq/{p-6cac6da2.entry.js.map → p-72c376a9.entry.js.map} +1 -1
- package/dist/beeq/p-78bbd845.entry.js +109 -0
- package/dist/beeq/{p-be1b3e87.entry.js.map → p-78bbd845.entry.js.map} +1 -1
- package/dist/beeq/p-8012f01d.entry.js +556 -0
- package/dist/beeq/{p-ecef6efa.entry.js.map → p-8012f01d.entry.js.map} +1 -1
- package/dist/beeq/p-8b5934a3.entry.js +158 -0
- package/dist/beeq/{p-c414e7c0.entry.js.map → p-8b5934a3.entry.js.map} +1 -1
- package/dist/beeq/p-94c2081a.entry.js +681 -0
- package/dist/beeq/{p-bb23c2d0.entry.js.map → p-94c2081a.entry.js.map} +1 -1
- package/dist/beeq/p-95979cb0.entry.js +289 -0
- package/dist/beeq/{p-76d65605.entry.js.map → p-95979cb0.entry.js.map} +1 -1
- package/dist/beeq/p-978b2249.entry.js +196 -0
- package/dist/beeq/{p-22e2de76.entry.js.map → p-978b2249.entry.js.map} +1 -1
- package/dist/beeq/p-9a78587d.entry.js +138 -0
- package/dist/beeq/{p-258e890f.entry.js.map → p-9a78587d.entry.js.map} +1 -1
- package/dist/beeq/p-B4sM1t6Z.js +8 -1
- package/dist/beeq/p-BNvWMggA.js +23 -1
- package/dist/beeq/p-BRMw_HGf.js +8 -1
- package/dist/beeq/p-BRbYDZoo.js +10 -1
- package/dist/beeq/p-BcPwGxIn.js +9 -1
- package/dist/beeq/p-BsSDkLU5.js +26 -1
- package/dist/beeq/p-BtYhUEAn.js +9 -0
- package/dist/beeq/p-BtYhUEAn.js.map +1 -0
- package/dist/beeq/p-C33fRBEf.js +151 -1
- package/dist/beeq/p-CCNjsDdb.js +88 -1
- package/dist/beeq/p-CVw85-WU.js +64 -1
- package/dist/beeq/p-Cau9SvT4.js +12 -1
- package/dist/beeq/p-CmKvDWiL.js +1782 -1
- package/dist/beeq/p-CpKQ7XUL.js +284 -1
- package/dist/beeq/p-D0hQxkOP.js +2816 -0
- package/dist/beeq/p-D0hQxkOP.js.map +1 -0
- package/dist/beeq/p-D1A0LpG_.js +10 -1
- package/dist/beeq/p-DdvbF5yL.js +119 -1
- package/dist/beeq/p-DnkZCdMA.js +8 -1
- package/dist/beeq/p-Ds7rcaFH.js +65 -1
- package/dist/beeq/p-Dx-CEPSQ.js +13 -1
- package/dist/beeq/p-_RvVpeh2.js +29 -1
- package/dist/beeq/p-ac7cd72b.entry.js +322 -0
- package/dist/beeq/{p-8a5e127b.entry.js.map → p-ac7cd72b.entry.js.map} +1 -1
- package/dist/beeq/p-ae85a23a.entry.js +408 -0
- package/dist/beeq/{p-a9cc76af.entry.js.map → p-ae85a23a.entry.js.map} +1 -1
- package/dist/beeq/p-b0f9a0cb.entry.js +296 -0
- package/dist/beeq/{p-043a472a.entry.js.map → p-b0f9a0cb.entry.js.map} +1 -1
- package/dist/beeq/p-b194e120.entry.js +293 -0
- package/dist/beeq/{p-5b3cd481.entry.js.map → p-b194e120.entry.js.map} +1 -1
- package/dist/beeq/p-b2858324.entry.js +210 -0
- package/dist/beeq/{p-dfd80d40.entry.js.map → p-b2858324.entry.js.map} +1 -1
- package/dist/beeq/p-c34fc2c7.entry.js +351 -0
- package/dist/beeq/{p-039f7907.entry.js.map → p-c34fc2c7.entry.js.map} +1 -1
- package/dist/beeq/p-c630a8b8.entry.js +442 -0
- package/dist/beeq/{p-d4ffd9f1.entry.js.map → p-c630a8b8.entry.js.map} +1 -1
- package/dist/beeq/p-cb9b1edc.entry.js +232 -0
- package/dist/beeq/{p-20de0359.entry.js.map → p-cb9b1edc.entry.js.map} +1 -1
- package/dist/beeq/p-cc6b349e.entry.js +172 -0
- package/dist/beeq/{p-904e521c.entry.js.map → p-cc6b349e.entry.js.map} +1 -1
- package/dist/beeq/p-d0edfaa5.entry.js +388 -0
- package/dist/beeq/{p-90b0fef1.entry.js.map → p-d0edfaa5.entry.js.map} +1 -1
- package/dist/beeq/{p-be1b3e87.entry.js → p-db09cc1e.entry.js} +83 -2
- package/dist/beeq/{p-1b988f57.entry.js.map → p-db09cc1e.entry.js.map} +1 -1
- package/dist/beeq/p-f6d82c39.entry.js +206 -0
- package/dist/beeq/{p-52334e53.entry.js.map → p-f6d82c39.entry.js.map} +1 -1
- package/dist/beeq/p-f83010e9.entry.js +118 -0
- package/dist/beeq/{p-8e9d8445.entry.js.map → p-f83010e9.entry.js.map} +1 -1
- package/dist/beeq/p-f97c679f.entry.js +233 -0
- package/dist/beeq/{p-55b686b4.entry.js.map → p-f97c679f.entry.js.map} +1 -1
- package/dist/beeq/{p-63f1dcd2.entry.js → p-ff327b98.entry.js} +116 -2
- package/dist/beeq/{p-47404d61.entry.js.map → p-ff327b98.entry.js.map} +1 -1
- package/dist/beeq/p-ff73f344.entry.js +396 -0
- package/dist/beeq/{p-50cbee50.entry.js.map → p-ff73f344.entry.js.map} +1 -1
- package/dist/beeq/p-lysmVw2n.js +12 -1
- package/dist/beeq/p-uqkxeAeG.js +88 -1
- package/dist/beeq/p-zh4P02Kn.js +21 -1
- package/dist/beeq.html-custom-data.json +80 -80
- package/dist/cjs/app-globals-BY_z0SzA.js +12 -0
- package/dist/cjs/app-globals-BY_z0SzA.js.map +1 -0
- package/dist/cjs/beeq.cjs.js +3 -2
- package/dist/cjs/beeq.cjs.js.map +1 -1
- package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
- package/dist/cjs/bq-alert.cjs.entry.js +2 -2
- package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-avatar.cjs.entry.js +2 -2
- package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-badge.cjs.entry.js +1 -1
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-button_2.cjs.entry.js +2 -2
- package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-card.cjs.entry.js +2 -2
- package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dialog.cjs.entry.js +2 -2
- package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-divider.cjs.entry.js +1 -1
- package/dist/cjs/bq-drawer.cjs.entry.js +2 -2
- package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-dropdown_2.cjs.entry.js +3 -3
- package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-empty-state.cjs.entry.js +2 -2
- package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-input.cjs.entry.js +2 -2
- package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-notification.cjs.entry.js +2 -2
- package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
- package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option-list_2.cjs.entry.js +3 -3
- package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-option.cjs.entry.js +1 -1
- package/dist/cjs/bq-page-title.cjs.entry.js +2 -2
- package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-progress.cjs.entry.js +2 -2
- package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-radio.cjs.entry.js +1 -1
- package/dist/cjs/bq-select.cjs.entry.js +2 -2
- package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-side-menu.cjs.entry.js +1 -1
- package/dist/cjs/bq-slider.cjs.entry.js +1 -1
- package/dist/cjs/bq-spinner.cjs.entry.js +2 -2
- package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-status.cjs.entry.js +2 -2
- package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-step-item.cjs.entry.js +2 -2
- package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-steps.cjs.entry.js +1 -1
- package/dist/cjs/bq-switch.cjs.entry.js +2 -2
- package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/bq-tab.cjs.entry.js +2 -2
- package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-textarea.cjs.entry.js +2 -2
- package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-toast.cjs.entry.js +2 -2
- package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/bq-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/{index-Cnm84YLJ.js → index-BwvwUnfB.js} +21 -15
- package/dist/cjs/index-BwvwUnfB.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
- package/dist/collection/components/select/bq-select.js +2 -2
- package/dist/collection/components/select/scss/bq-select.css +1 -1
- package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
- package/dist/collection/components/tag/scss/bq-tag.css +1 -1
- package/dist/components/bq-accordion-group.js +157 -1
- package/dist/components/bq-accordion-group.js.map +1 -1
- package/dist/components/bq-accordion.js +444 -1
- package/dist/components/bq-accordion.js.map +1 -1
- package/dist/components/bq-alert.js +354 -1
- package/dist/components/bq-alert.js.map +1 -1
- package/dist/components/bq-avatar.js +206 -1
- package/dist/components/bq-avatar.js.map +1 -1
- package/dist/components/bq-badge.js +8 -1
- package/dist/components/bq-breadcrumb-item.js +129 -1
- package/dist/components/bq-breadcrumb-item.js.map +1 -1
- package/dist/components/bq-breadcrumb.js +138 -1
- package/dist/components/bq-breadcrumb.js.map +1 -1
- package/dist/components/bq-button.js +8 -1
- package/dist/components/bq-card.js +118 -1
- package/dist/components/bq-card.js.map +1 -1
- package/dist/components/bq-checkbox.js +314 -1
- package/dist/components/bq-checkbox.js.map +1 -1
- package/dist/components/bq-date-picker.js +1113 -1
- package/dist/components/bq-date-picker.js.map +1 -1
- package/dist/components/bq-dialog.js +347 -1
- package/dist/components/bq-dialog.js.map +1 -1
- package/dist/components/bq-divider.js +8 -1
- package/dist/components/bq-drawer.js +356 -1
- package/dist/components/bq-drawer.js.map +1 -1
- package/dist/components/bq-dropdown.js +8 -1
- package/dist/components/bq-empty-state.js +192 -1
- package/dist/components/bq-empty-state.js.map +1 -1
- package/dist/components/bq-icon.js +8 -1
- package/dist/components/bq-input.js +502 -1
- package/dist/components/bq-input.js.map +1 -1
- package/dist/components/bq-notification.js +381 -1
- package/dist/components/bq-notification.js.map +1 -1
- package/dist/components/bq-option-group.js +104 -1
- package/dist/components/bq-option-group.js.map +1 -1
- package/dist/components/bq-option-list.js +8 -1
- package/dist/components/bq-option.js +200 -1
- package/dist/components/bq-option.js.map +1 -1
- package/dist/components/bq-page-title.js +150 -1
- package/dist/components/bq-page-title.js.map +1 -1
- package/dist/components/bq-panel.js +8 -1
- package/dist/components/bq-progress.js +220 -1
- package/dist/components/bq-progress.js.map +1 -1
- package/dist/components/bq-radio-group.js +457 -1
- package/dist/components/bq-radio-group.js.map +1 -1
- package/dist/components/bq-radio.js +219 -1
- package/dist/components/bq-radio.js.map +1 -1
- package/dist/components/bq-select.js +794 -1
- package/dist/components/bq-select.js.map +1 -1
- package/dist/components/bq-side-menu-item.js +181 -1
- package/dist/components/bq-side-menu-item.js.map +1 -1
- package/dist/components/bq-side-menu.js +200 -1
- package/dist/components/bq-side-menu.js.map +1 -1
- package/dist/components/bq-slider.js +443 -1
- package/dist/components/bq-slider.js.map +1 -1
- package/dist/components/bq-spinner.js +248 -1
- package/dist/components/bq-spinner.js.map +1 -1
- package/dist/components/bq-status.js +119 -1
- package/dist/components/bq-status.js.map +1 -1
- package/dist/components/bq-step-item.js +236 -1
- package/dist/components/bq-step-item.js.map +1 -1
- package/dist/components/bq-steps.js +175 -1
- package/dist/components/bq-steps.js.map +1 -1
- package/dist/components/bq-switch.js +330 -1
- package/dist/components/bq-switch.js.map +1 -1
- package/dist/components/bq-tab-group.js +273 -1
- package/dist/components/bq-tab-group.js.map +1 -1
- package/dist/components/bq-tab.js +248 -1
- package/dist/components/bq-tab.js.map +1 -1
- package/dist/components/bq-tag.js +8 -1
- package/dist/components/bq-textarea.js +393 -1
- package/dist/components/bq-textarea.js.map +1 -1
- package/dist/components/bq-toast.js +281 -1
- package/dist/components/bq-toast.js.map +1 -1
- package/dist/components/bq-tooltip.js +8 -1
- package/dist/components/index.js +149 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/p-B4sM1t6Z.js +8 -1
- package/dist/components/p-B4sM1t6Z.js.map +1 -1
- package/dist/components/p-BRMw_HGf.js +8 -1
- package/dist/components/p-BRMw_HGf.js.map +1 -1
- package/dist/components/p-BRbYDZoo.js +10 -1
- package/dist/components/p-BRbYDZoo.js.map +1 -1
- package/dist/components/p-BcPwGxIn.js +9 -1
- package/dist/components/p-BcPwGxIn.js.map +1 -1
- package/dist/components/p-BsSDkLU5.js +26 -1
- package/dist/components/p-BsSDkLU5.js.map +1 -1
- package/dist/{beeq/p-8cd20d85.entry.js → components/p-C8_OKNHL.js} +221 -2
- package/dist/components/{p-CAtQYujR.js.map → p-C8_OKNHL.js.map} +1 -1
- package/dist/components/p-C97BzPa8.js +177 -0
- package/dist/components/{p-DhVt1fuD.js.map → p-C97BzPa8.js.map} +1 -1
- package/dist/components/p-CMejKLsB.js +248 -0
- package/dist/components/{p-SKH1pCPg.js.map → p-CMejKLsB.js.map} +1 -1
- package/dist/components/p-CVw85-WU.js +64 -1
- package/dist/components/p-CVw85-WU.js.map +1 -1
- package/dist/{beeq/p-55b686b4.entry.js → components/p-CXLw0i9p.js} +291 -2
- package/dist/components/{p-OA6hhXnT.js.map → p-CXLw0i9p.js.map} +1 -1
- package/dist/components/p-CmKvDWiL.js +1782 -1
- package/dist/components/p-CmKvDWiL.js.map +1 -1
- package/dist/components/p-D1A0LpG_.js +10 -1
- package/dist/components/p-D1A0LpG_.js.map +1 -1
- package/dist/{beeq/p-ecef6efa.entry.js → components/p-DBPU_cIr.js} +334 -2
- package/dist/components/{p-yO5LAmkd.js.map → p-DBPU_cIr.js.map} +1 -1
- package/dist/components/p-DDCN9O42.js +2669 -0
- package/dist/components/p-DDCN9O42.js.map +1 -0
- package/dist/components/p-DHhUeR-_.js +377 -0
- package/dist/components/{p-qVvRSuP7.js.map → p-DHhUeR-_.js.map} +1 -1
- package/dist/components/p-DSqLegVR.js +100 -0
- package/dist/components/{p-C6pBQ61U.js.map → p-DSqLegVR.js.map} +1 -1
- package/dist/components/p-DdvbF5yL.js +119 -1
- package/dist/components/p-DdvbF5yL.js.map +1 -1
- package/dist/components/p-DnkZCdMA.js +8 -1
- package/dist/components/p-DnkZCdMA.js.map +1 -1
- package/dist/components/p-Dx-CEPSQ.js +13 -1
- package/dist/components/p-Dx-CEPSQ.js.map +1 -1
- package/dist/{beeq/p-fa3d23bf.entry.js → components/p-YyF6_fWE.js} +381 -2
- package/dist/components/{p-Bi6ozE0v.js.map → p-YyF6_fWE.js.map} +1 -1
- package/dist/components/p-_RvVpeh2.js +29 -1
- package/dist/components/p-_RvVpeh2.js.map +1 -1
- package/dist/components/p-lysmVw2n.js +12 -1
- package/dist/components/p-lysmVw2n.js.map +1 -1
- package/dist/components/p-qOL6hl5s.js +298 -0
- package/dist/components/{p-GGFtAwfJ.js.map → p-qOL6hl5s.js.map} +1 -1
- package/dist/components/p-uqkxeAeG.js +88 -1
- package/dist/components/p-uqkxeAeG.js.map +1 -1
- package/dist/components/p-zh4P02Kn.js +21 -1
- package/dist/components/p-zh4P02Kn.js.map +1 -1
- package/dist/custom-elements.json +1514 -1514
- package/dist/esm/app-globals-BtYhUEAn.js +10 -0
- package/dist/esm/app-globals-BtYhUEAn.js.map +1 -0
- package/dist/esm/beeq.js +3 -2
- package/dist/esm/beeq.js.map +1 -1
- package/dist/esm/bq-accordion-group.entry.js +2 -2
- package/dist/esm/bq-accordion-group.entry.js.map +1 -1
- package/dist/esm/bq-accordion.entry.js +1 -1
- package/dist/esm/bq-alert.entry.js +2 -2
- package/dist/esm/bq-alert.entry.js.map +1 -1
- package/dist/esm/bq-avatar.entry.js +2 -2
- package/dist/esm/bq-avatar.entry.js.map +1 -1
- package/dist/esm/bq-badge.entry.js +1 -1
- package/dist/esm/bq-breadcrumb-item.entry.js +2 -2
- package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
- package/dist/esm/bq-breadcrumb.entry.js +2 -2
- package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
- package/dist/esm/bq-button_2.entry.js +2 -2
- package/dist/esm/bq-button_2.entry.js.map +1 -1
- package/dist/esm/bq-card.entry.js +2 -2
- package/dist/esm/bq-card.entry.js.map +1 -1
- package/dist/esm/bq-checkbox.entry.js +2 -2
- package/dist/esm/bq-checkbox.entry.js.map +1 -1
- package/dist/esm/bq-date-picker.entry.js +2 -2
- package/dist/esm/bq-date-picker.entry.js.map +1 -1
- package/dist/esm/bq-dialog.entry.js +2 -2
- package/dist/esm/bq-dialog.entry.js.map +1 -1
- package/dist/esm/bq-divider.entry.js +1 -1
- package/dist/esm/bq-drawer.entry.js +2 -2
- package/dist/esm/bq-drawer.entry.js.map +1 -1
- package/dist/esm/bq-dropdown_2.entry.js +3 -3
- package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
- package/dist/esm/bq-empty-state.entry.js +2 -2
- package/dist/esm/bq-empty-state.entry.js.map +1 -1
- package/dist/esm/bq-input.entry.js +2 -2
- package/dist/esm/bq-input.entry.js.map +1 -1
- package/dist/esm/bq-notification.entry.js +2 -2
- package/dist/esm/bq-notification.entry.js.map +1 -1
- package/dist/esm/bq-option-group.entry.js +2 -2
- package/dist/esm/bq-option-group.entry.js.map +1 -1
- package/dist/esm/bq-option-list_2.entry.js +3 -3
- package/dist/esm/bq-option-list_2.entry.js.map +1 -1
- package/dist/esm/bq-option.entry.js +1 -1
- package/dist/esm/bq-page-title.entry.js +2 -2
- package/dist/esm/bq-page-title.entry.js.map +1 -1
- package/dist/esm/bq-progress.entry.js +2 -2
- package/dist/esm/bq-progress.entry.js.map +1 -1
- package/dist/esm/bq-radio-group.entry.js +1 -1
- package/dist/esm/bq-radio.entry.js +1 -1
- package/dist/esm/bq-select.entry.js +2 -2
- package/dist/esm/bq-select.entry.js.map +1 -1
- package/dist/esm/bq-side-menu-item.entry.js +2 -2
- package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
- package/dist/esm/bq-side-menu.entry.js +1 -1
- package/dist/esm/bq-slider.entry.js +1 -1
- package/dist/esm/bq-spinner.entry.js +2 -2
- package/dist/esm/bq-spinner.entry.js.map +1 -1
- package/dist/esm/bq-status.entry.js +2 -2
- package/dist/esm/bq-status.entry.js.map +1 -1
- package/dist/esm/bq-step-item.entry.js +2 -2
- package/dist/esm/bq-step-item.entry.js.map +1 -1
- package/dist/esm/bq-steps.entry.js +1 -1
- package/dist/esm/bq-switch.entry.js +2 -2
- package/dist/esm/bq-switch.entry.js.map +1 -1
- package/dist/esm/bq-tab-group.entry.js +1 -1
- package/dist/esm/bq-tab.entry.js +2 -2
- package/dist/esm/bq-tab.entry.js.map +1 -1
- package/dist/esm/bq-textarea.entry.js +2 -2
- package/dist/esm/bq-textarea.entry.js.map +1 -1
- package/dist/esm/bq-toast.entry.js +2 -2
- package/dist/esm/bq-toast.entry.js.map +1 -1
- package/dist/esm/bq-tooltip.entry.js +1 -1
- package/dist/esm/{index-BIw6Ac7W.js → index-D0hQxkOP.js} +22 -15
- package/dist/esm/index-D0hQxkOP.js.map +1 -0
- package/dist/esm/loader.js +3 -2
- package/dist/esm/loader.js.map +1 -1
- package/dist/hydrate/index.js +4 -10
- package/dist/hydrate/index.mjs +4 -10
- package/dist/stencil.config.js +1 -0
- package/dist/stencil.config.js.map +1 -1
- package/package.json +1 -1
- package/dist/beeq/p-039f7907.entry.js +0 -6
- package/dist/beeq/p-043a472a.entry.js +0 -6
- package/dist/beeq/p-1b988f57.entry.js +0 -6
- package/dist/beeq/p-20de0359.entry.js +0 -6
- package/dist/beeq/p-22e2de76.entry.js +0 -6
- package/dist/beeq/p-258e890f.entry.js +0 -6
- package/dist/beeq/p-28c6cdbc.entry.js +0 -6
- package/dist/beeq/p-3c491238.entry.js +0 -6
- package/dist/beeq/p-47404d61.entry.js +0 -6
- package/dist/beeq/p-50cbee50.entry.js +0 -6
- package/dist/beeq/p-52334e53.entry.js +0 -6
- package/dist/beeq/p-552d3e73.entry.js +0 -6
- package/dist/beeq/p-59cb331c.entry.js +0 -6
- package/dist/beeq/p-5b3cd481.entry.js +0 -6
- package/dist/beeq/p-5e186220.entry.js +0 -6
- package/dist/beeq/p-6cac6da2.entry.js +0 -6
- package/dist/beeq/p-76d65605.entry.js +0 -6
- package/dist/beeq/p-8a5e127b.entry.js +0 -6
- package/dist/beeq/p-8e9d8445.entry.js +0 -6
- package/dist/beeq/p-8fd716b1.entry.js +0 -6
- package/dist/beeq/p-904e521c.entry.js +0 -6
- package/dist/beeq/p-90b0fef1.entry.js +0 -6
- package/dist/beeq/p-BIw6Ac7W.js +0 -7
- package/dist/beeq/p-BIw6Ac7W.js.map +0 -1
- package/dist/beeq/p-a7a74198.entry.js +0 -6
- package/dist/beeq/p-a9cc76af.entry.js +0 -6
- package/dist/beeq/p-b4a612db.entry.js +0 -6
- package/dist/beeq/p-bb23c2d0.entry.js +0 -6
- package/dist/beeq/p-c414e7c0.entry.js +0 -6
- package/dist/beeq/p-ce124fba.entry.js +0 -6
- package/dist/beeq/p-d4ffd9f1.entry.js +0 -6
- package/dist/beeq/p-dfd80d40.entry.js +0 -6
- package/dist/beeq/p-e394c440.entry.js +0 -6
- package/dist/beeq/p-e39e3d9c.entry.js +0 -6
- package/dist/beeq/p-f477b7ac.entry.js +0 -6
- package/dist/cjs/index-Cnm84YLJ.js.map +0 -1
- package/dist/components/p-C6pBQ61U.js +0 -6
- package/dist/components/p-CAtQYujR.js +0 -6
- package/dist/components/p-CCQ_5HvV.js +0 -6
- package/dist/components/p-CCQ_5HvV.js.map +0 -1
- package/dist/components/p-DhVt1fuD.js +0 -6
- package/dist/components/p-GGFtAwfJ.js +0 -6
- package/dist/components/p-SKH1pCPg.js +0 -6
- package/dist/components/p-qVvRSuP7.js +0 -6
- package/dist/components/p-yO5LAmkd.js +0 -6
- package/dist/esm/index-BIw6Ac7W.js.map +0 -1
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/jest.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/packages/beeq/stencil.config.d.ts +0 -0
- /package/dist/types/{home/runner/work/BEEQ/BEEQ → Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System}/.stencil/tailwind.config.d.ts +0 -0
|
@@ -0,0 +1,2669 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built by Endavans
|
|
3
|
+
* © https://beeq.design - Apache 2 License.
|
|
4
|
+
*/
|
|
5
|
+
const t = "beeq";
|
|
6
|
+
|
|
7
|
+
const e = /* beeq */ {
|
|
8
|
+
hotModuleReplacement: false,
|
|
9
|
+
hydratedSelectorName: "hydrated",
|
|
10
|
+
lazyLoad: false,
|
|
11
|
+
shadowDom: true,
|
|
12
|
+
state: true,
|
|
13
|
+
updatable: true
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/*
|
|
17
|
+
Stencil Client Platform v4.41.3 | MIT Licensed | https://stenciljs.com
|
|
18
|
+
*/
|
|
19
|
+
// src/utils/constants.ts
|
|
20
|
+
var n = "http://www.w3.org/2000/svg";
|
|
21
|
+
|
|
22
|
+
var r = "http://www.w3.org/1999/xhtml";
|
|
23
|
+
|
|
24
|
+
var i = (t => {
|
|
25
|
+
t["Undefined"] = "undefined";
|
|
26
|
+
t["Null"] = "null";
|
|
27
|
+
t["String"] = "string";
|
|
28
|
+
t["Number"] = "number";
|
|
29
|
+
t["SpecialNumber"] = "number";
|
|
30
|
+
t["Boolean"] = "boolean";
|
|
31
|
+
t["BigInt"] = "bigint";
|
|
32
|
+
return t;
|
|
33
|
+
})(i || {});
|
|
34
|
+
|
|
35
|
+
var s = (t => {
|
|
36
|
+
t["Array"] = "array";
|
|
37
|
+
t["Date"] = "date";
|
|
38
|
+
t["Map"] = "map";
|
|
39
|
+
t["Object"] = "object";
|
|
40
|
+
t["RegularExpression"] = "regexp";
|
|
41
|
+
t["Set"] = "set";
|
|
42
|
+
t["Channel"] = "channel";
|
|
43
|
+
t["Symbol"] = "symbol";
|
|
44
|
+
return t;
|
|
45
|
+
})(s || {});
|
|
46
|
+
|
|
47
|
+
var l = "type";
|
|
48
|
+
|
|
49
|
+
var o = "value";
|
|
50
|
+
|
|
51
|
+
var f = "serialized:";
|
|
52
|
+
|
|
53
|
+
var reWireGetterSetter = (t, e) => {
|
|
54
|
+
var n;
|
|
55
|
+
const r = e.t;
|
|
56
|
+
const i = Object.entries((n = r.i) != null ? n : {});
|
|
57
|
+
i.map((([n, [r]]) => {
|
|
58
|
+
if (r & 31 /* Prop */ || r & 32 /* State */) {
|
|
59
|
+
const r = t[n];
|
|
60
|
+
const i = getPropertyDescriptor(Object.getPrototypeOf(t), n) || Object.getOwnPropertyDescriptor(t, n);
|
|
61
|
+
if (i) {
|
|
62
|
+
Object.defineProperty(t, n, {
|
|
63
|
+
get() {
|
|
64
|
+
return i.get.call(this);
|
|
65
|
+
},
|
|
66
|
+
set(t) {
|
|
67
|
+
i.set.call(this, t);
|
|
68
|
+
},
|
|
69
|
+
configurable: true,
|
|
70
|
+
enumerable: true
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
t[n] = e.l.has(n) ? e.l.get(n) : r;
|
|
74
|
+
}
|
|
75
|
+
}));
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
function getPropertyDescriptor(t, e) {
|
|
79
|
+
while (t) {
|
|
80
|
+
const n = Object.getOwnPropertyDescriptor(t, e);
|
|
81
|
+
if (n == null ? void 0 : n.get) return n;
|
|
82
|
+
t = Object.getPrototypeOf(t);
|
|
83
|
+
}
|
|
84
|
+
return void 0;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// src/client/client-host-ref.ts
|
|
88
|
+
var getHostRef = t => {
|
|
89
|
+
if (t.__stencil__getHostRef) {
|
|
90
|
+
return t.__stencil__getHostRef();
|
|
91
|
+
}
|
|
92
|
+
return void 0;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
var registerHost = (t, n) => {
|
|
96
|
+
const r = {
|
|
97
|
+
o: 0,
|
|
98
|
+
$hostElement$: t,
|
|
99
|
+
t: n,
|
|
100
|
+
l: new Map,
|
|
101
|
+
u: new Map
|
|
102
|
+
};
|
|
103
|
+
{
|
|
104
|
+
r.v = new Promise((t => r.h = t));
|
|
105
|
+
t["s-p"] = [];
|
|
106
|
+
t["s-rc"] = [];
|
|
107
|
+
}
|
|
108
|
+
const i = r;
|
|
109
|
+
t.__stencil__getHostRef = () => i;
|
|
110
|
+
if (n.o & 512 /* hasModernPropertyDecls */ && e.state) {
|
|
111
|
+
reWireGetterSetter(t, r);
|
|
112
|
+
}
|
|
113
|
+
return i;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
var isMemberInElement = (t, e) => e in t;
|
|
117
|
+
|
|
118
|
+
var consoleError = (t, e) => (0, console.error)(t, e)
|
|
119
|
+
// src/client/client-style.ts
|
|
120
|
+
;
|
|
121
|
+
|
|
122
|
+
var a = new Map;
|
|
123
|
+
|
|
124
|
+
// src/runtime/runtime-constants.ts
|
|
125
|
+
var c = "r";
|
|
126
|
+
|
|
127
|
+
var u = "o";
|
|
128
|
+
|
|
129
|
+
var d = "s";
|
|
130
|
+
|
|
131
|
+
var v = "t";
|
|
132
|
+
|
|
133
|
+
var p = "c";
|
|
134
|
+
|
|
135
|
+
var b = "s-id";
|
|
136
|
+
|
|
137
|
+
var g = "sty-id";
|
|
138
|
+
|
|
139
|
+
var m = "c-id";
|
|
140
|
+
|
|
141
|
+
var $ = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
142
|
+
|
|
143
|
+
var y = "http://www.w3.org/1999/xlink";
|
|
144
|
+
|
|
145
|
+
var S = [ "formAssociatedCallback", "formResetCallback", "formDisabledCallback", "formStateRestoreCallback" ];
|
|
146
|
+
|
|
147
|
+
var w = typeof window !== "undefined" ? window : {};
|
|
148
|
+
|
|
149
|
+
var j = w.HTMLElement || class {};
|
|
150
|
+
|
|
151
|
+
var O = {
|
|
152
|
+
o: 0,
|
|
153
|
+
p: "",
|
|
154
|
+
jmp: t => t(),
|
|
155
|
+
raf: t => requestAnimationFrame(t),
|
|
156
|
+
ael: (t, e, n, r) => t.addEventListener(e, n, r),
|
|
157
|
+
rel: (t, e, n, r) => t.removeEventListener(e, n, r),
|
|
158
|
+
ce: (t, e) => new CustomEvent(t, e)
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
var N = e.shadowDom;
|
|
162
|
+
|
|
163
|
+
var C = (() => {
|
|
164
|
+
var t;
|
|
165
|
+
let e = false;
|
|
166
|
+
try {
|
|
167
|
+
(t = w.document) == null ? void 0 : t.addEventListener("e", null, Object.defineProperty({}, "passive", {
|
|
168
|
+
get() {
|
|
169
|
+
e = true;
|
|
170
|
+
}
|
|
171
|
+
}));
|
|
172
|
+
} catch (t) {}
|
|
173
|
+
return e;
|
|
174
|
+
})();
|
|
175
|
+
|
|
176
|
+
var promiseResolve = t => Promise.resolve(t);
|
|
177
|
+
|
|
178
|
+
var x = (() => {
|
|
179
|
+
try {
|
|
180
|
+
if (!w.document.adoptedStyleSheets) {
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
183
|
+
new CSSStyleSheet;
|
|
184
|
+
return typeof (new CSSStyleSheet).replaceSync === "function";
|
|
185
|
+
} catch (t) {}
|
|
186
|
+
return false;
|
|
187
|
+
})();
|
|
188
|
+
|
|
189
|
+
var A = x ? (() => !!w.document && Object.getOwnPropertyDescriptor(w.document.adoptedStyleSheets, "length").writable)() : false;
|
|
190
|
+
|
|
191
|
+
var E = false;
|
|
192
|
+
|
|
193
|
+
var k = [];
|
|
194
|
+
|
|
195
|
+
var H = [];
|
|
196
|
+
|
|
197
|
+
var queueTask = (t, e) => n => {
|
|
198
|
+
t.push(n);
|
|
199
|
+
if (!E) {
|
|
200
|
+
E = true;
|
|
201
|
+
if (e && O.o & 4 /* queueSync */) {
|
|
202
|
+
nextTick(flush);
|
|
203
|
+
} else {
|
|
204
|
+
O.raf(flush);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
var consume = t => {
|
|
210
|
+
for (let e = 0; e < t.length; e++) {
|
|
211
|
+
try {
|
|
212
|
+
t[e](performance.now());
|
|
213
|
+
} catch (t) {
|
|
214
|
+
consoleError(t);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
t.length = 0;
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
var flush = () => {
|
|
221
|
+
consume(k);
|
|
222
|
+
{
|
|
223
|
+
consume(H);
|
|
224
|
+
if (E = k.length > 0) {
|
|
225
|
+
O.raf(flush);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
var nextTick = t => promiseResolve().then(t);
|
|
231
|
+
|
|
232
|
+
var I = queueTask(H, true);
|
|
233
|
+
|
|
234
|
+
// src/runtime/asset-path.ts
|
|
235
|
+
var getAssetPath = t => {
|
|
236
|
+
const e = new URL(t, O.p);
|
|
237
|
+
return e.origin !== w.location.origin ? e.href : e.pathname;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
var setAssetPath = t => O.p = t
|
|
241
|
+
// src/utils/style.ts
|
|
242
|
+
;
|
|
243
|
+
|
|
244
|
+
function createStyleSheetIfNeededAndSupported(t) {
|
|
245
|
+
return void 0;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// src/utils/shadow-root.ts
|
|
249
|
+
var M;
|
|
250
|
+
|
|
251
|
+
function createShadowRoot(t) {
|
|
252
|
+
var e;
|
|
253
|
+
const n = {
|
|
254
|
+
mode: "open"
|
|
255
|
+
};
|
|
256
|
+
{
|
|
257
|
+
n.delegatesFocus = !!(t.o & 16 /* shadowDelegatesFocus */);
|
|
258
|
+
}
|
|
259
|
+
const r = this.attachShadow(n);
|
|
260
|
+
if (M === void 0) M = (e = createStyleSheetIfNeededAndSupported()) != null ? e : null;
|
|
261
|
+
if (M) {
|
|
262
|
+
if (A) {
|
|
263
|
+
r.adoptedStyleSheets.push(M);
|
|
264
|
+
} else {
|
|
265
|
+
r.adoptedStyleSheets = [ ...r.adoptedStyleSheets, M ];
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
var updateFallbackSlotVisibility = t => {
|
|
271
|
+
const e = internalCall(t, "childNodes");
|
|
272
|
+
if (t.tagName && t.tagName.includes("-") && t["s-cr"] && t.tagName !== "SLOT-FB") {
|
|
273
|
+
getHostSlotNodes(e, t.tagName).forEach((t => {
|
|
274
|
+
if (t.nodeType === 1 /* ElementNode */ && t.tagName === "SLOT-FB") {
|
|
275
|
+
if (getSlotChildSiblings(t, getSlotName(t), false).length) {
|
|
276
|
+
t.hidden = true;
|
|
277
|
+
} else {
|
|
278
|
+
t.hidden = false;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}));
|
|
282
|
+
}
|
|
283
|
+
let n = 0;
|
|
284
|
+
for (n = 0; n < e.length; n++) {
|
|
285
|
+
const t = e[n];
|
|
286
|
+
if (t.nodeType === 1 /* ElementNode */ && internalCall(t, "childNodes").length) {
|
|
287
|
+
updateFallbackSlotVisibility(t);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
var getSlottedChildNodes = t => {
|
|
293
|
+
const e = [];
|
|
294
|
+
for (let n = 0; n < t.length; n++) {
|
|
295
|
+
const r = t[n]["s-nr"] || void 0;
|
|
296
|
+
if (r && r.isConnected) {
|
|
297
|
+
e.push(r);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
return e;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
function getHostSlotNodes(t, e, n) {
|
|
304
|
+
let r = 0;
|
|
305
|
+
let i = [];
|
|
306
|
+
let s;
|
|
307
|
+
for (;r < t.length; r++) {
|
|
308
|
+
s = t[r];
|
|
309
|
+
if (s["s-sr"] && (!e || s["s-hn"] === e) && (n === void 0 || getSlotName(s) === n)) {
|
|
310
|
+
i.push(s);
|
|
311
|
+
if (typeof n !== "undefined") return i;
|
|
312
|
+
}
|
|
313
|
+
i = [ ...i, ...getHostSlotNodes(s.childNodes, e, n) ];
|
|
314
|
+
}
|
|
315
|
+
return i;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
var getSlotChildSiblings = (t, e, n = true) => {
|
|
319
|
+
const r = [];
|
|
320
|
+
if (n && t["s-sr"] || !t["s-sr"]) r.push(t);
|
|
321
|
+
let i = t;
|
|
322
|
+
while (i = i.nextSibling) {
|
|
323
|
+
if (getSlotName(i) === e && (n || !i["s-sr"])) r.push(i);
|
|
324
|
+
}
|
|
325
|
+
return r;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
var addSlotRelocateNode = (t, e, n, r) => {
|
|
329
|
+
if (t["s-ol"] && t["s-ol"].isConnected) {
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
const i = document.createTextNode("");
|
|
333
|
+
i["s-nr"] = t;
|
|
334
|
+
if (!e["s-cr"] || !e["s-cr"].parentNode) return;
|
|
335
|
+
const s = e["s-cr"].parentNode;
|
|
336
|
+
const l = n ? internalCall(s, "prepend") : internalCall(s, "appendChild");
|
|
337
|
+
if (typeof r !== "undefined") {
|
|
338
|
+
i["s-oo"] = r;
|
|
339
|
+
const t = internalCall(s, "childNodes");
|
|
340
|
+
const e = [ i ];
|
|
341
|
+
t.forEach((t => {
|
|
342
|
+
if (t["s-nr"]) e.push(t);
|
|
343
|
+
}));
|
|
344
|
+
e.sort(((t, e) => {
|
|
345
|
+
if (!t["s-oo"] || t["s-oo"] < (e["s-oo"] || 0)) return -1; else if (!e["s-oo"] || e["s-oo"] < t["s-oo"]) return 1;
|
|
346
|
+
return 0;
|
|
347
|
+
}));
|
|
348
|
+
e.forEach((t => l.call(s, t)));
|
|
349
|
+
} else {
|
|
350
|
+
l.call(s, i);
|
|
351
|
+
}
|
|
352
|
+
t["s-ol"] = i;
|
|
353
|
+
t["s-sh"] = e["s-hn"];
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
var getSlotName = t => typeof t["s-sn"] === "string" ? t["s-sn"] : t.nodeType === 1 && t.getAttribute("slot") || void 0;
|
|
357
|
+
|
|
358
|
+
function patchSlotNode(t) {
|
|
359
|
+
if (t.assignedElements || t.assignedNodes || !t["s-sr"]) return;
|
|
360
|
+
const assignedFactory = e => function(t) {
|
|
361
|
+
const n = [];
|
|
362
|
+
const r = this["s-sn"];
|
|
363
|
+
if (t == null ? void 0 : t.flatten) {
|
|
364
|
+
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 `);
|
|
365
|
+
}
|
|
366
|
+
const i = this["s-cr"].parentElement;
|
|
367
|
+
const s = i.__childNodes ? i.childNodes : getSlottedChildNodes(i.childNodes);
|
|
368
|
+
s.forEach((t => {
|
|
369
|
+
if (r === getSlotName(t)) {
|
|
370
|
+
n.push(t);
|
|
371
|
+
}
|
|
372
|
+
}));
|
|
373
|
+
if (e) {
|
|
374
|
+
return n.filter((t => t.nodeType === 1 /* ElementNode */));
|
|
375
|
+
}
|
|
376
|
+
return n;
|
|
377
|
+
}.bind(t);
|
|
378
|
+
t.assignedElements = assignedFactory(true);
|
|
379
|
+
t.assignedNodes = assignedFactory(false);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
function dispatchSlotChangeEvent(t) {
|
|
383
|
+
t.dispatchEvent(new CustomEvent("slotchange", {
|
|
384
|
+
bubbles: false,
|
|
385
|
+
cancelable: false,
|
|
386
|
+
composed: false
|
|
387
|
+
}));
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
function findSlotFromSlottedNode(t, e) {
|
|
391
|
+
var n;
|
|
392
|
+
e = e || ((n = t["s-ol"]) == null ? void 0 : n.parentElement);
|
|
393
|
+
if (!e) return {
|
|
394
|
+
slotNode: null,
|
|
395
|
+
slotName: ""
|
|
396
|
+
};
|
|
397
|
+
const r = t["s-sn"] = getSlotName(t) || "";
|
|
398
|
+
const i = internalCall(e, "childNodes");
|
|
399
|
+
const s = getHostSlotNodes(i, e.tagName, r)[0];
|
|
400
|
+
return {
|
|
401
|
+
slotNode: s,
|
|
402
|
+
slotName: r
|
|
403
|
+
};
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
// src/runtime/dom-extras.ts
|
|
407
|
+
var patchPseudoShadowDom = t => {
|
|
408
|
+
patchCloneNode(t);
|
|
409
|
+
patchSlotAppendChild(t);
|
|
410
|
+
patchSlotAppend(t);
|
|
411
|
+
patchSlotPrepend(t);
|
|
412
|
+
patchSlotInsertAdjacentElement(t);
|
|
413
|
+
patchSlotInsertAdjacentHTML(t);
|
|
414
|
+
patchSlotInsertAdjacentText(t);
|
|
415
|
+
patchInsertBefore(t);
|
|
416
|
+
patchTextContent(t);
|
|
417
|
+
patchChildSlotNodes(t);
|
|
418
|
+
patchSlotRemoveChild(t);
|
|
419
|
+
};
|
|
420
|
+
|
|
421
|
+
var patchCloneNode = t => {
|
|
422
|
+
if (t.__cloneNode) return;
|
|
423
|
+
const e = t.__cloneNode = t.cloneNode;
|
|
424
|
+
t.cloneNode = function(t) {
|
|
425
|
+
const n = this;
|
|
426
|
+
const r = n.shadowRoot && N;
|
|
427
|
+
const i = e.call(n, r ? t : false);
|
|
428
|
+
if (!r && t) {
|
|
429
|
+
let t = 0;
|
|
430
|
+
let e, n;
|
|
431
|
+
const r = [ "s-id", "s-cr", "s-lr", "s-rc", "s-sc", "s-p", "s-cn", "s-sr", "s-sn", "s-hn", "s-ol", "s-nr", "s-si", "s-rf", "s-scs" ];
|
|
432
|
+
const s = this.__childNodes || this.childNodes;
|
|
433
|
+
for (;t < s.length; t++) {
|
|
434
|
+
e = s[t]["s-nr"];
|
|
435
|
+
n = r.every((e => !s[t][e]));
|
|
436
|
+
if (e) {
|
|
437
|
+
if (i.__appendChild) {
|
|
438
|
+
i.__appendChild(e.cloneNode(true));
|
|
439
|
+
} else {
|
|
440
|
+
i.appendChild(e.cloneNode(true));
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
if (n) {
|
|
444
|
+
i.appendChild(s[t].cloneNode(true));
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
return i;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
var patchSlotAppendChild = t => {
|
|
453
|
+
if (t.__appendChild) return;
|
|
454
|
+
t.__appendChild = t.appendChild;
|
|
455
|
+
t.appendChild = function(t) {
|
|
456
|
+
const {slotName: e, slotNode: n} = findSlotFromSlottedNode(t, this);
|
|
457
|
+
if (n) {
|
|
458
|
+
addSlotRelocateNode(t, n);
|
|
459
|
+
const r = getSlotChildSiblings(n, e);
|
|
460
|
+
const i = r[r.length - 1];
|
|
461
|
+
const s = internalCall(i, "parentNode");
|
|
462
|
+
const l = internalCall(s, "insertBefore")(t, i.nextSibling);
|
|
463
|
+
dispatchSlotChangeEvent(n);
|
|
464
|
+
updateFallbackSlotVisibility(this);
|
|
465
|
+
return l;
|
|
466
|
+
}
|
|
467
|
+
return this.__appendChild(t);
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
|
|
471
|
+
var patchSlotRemoveChild = t => {
|
|
472
|
+
if (t.__removeChild) return;
|
|
473
|
+
t.__removeChild = t.removeChild;
|
|
474
|
+
t.removeChild = function(t) {
|
|
475
|
+
if (t && typeof t["s-sn"] !== "undefined") {
|
|
476
|
+
const e = this.__childNodes || this.childNodes;
|
|
477
|
+
const n = getHostSlotNodes(e, this.tagName, t["s-sn"]);
|
|
478
|
+
if (n && t.isConnected) {
|
|
479
|
+
t.remove();
|
|
480
|
+
updateFallbackSlotVisibility(this);
|
|
481
|
+
return;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
return this.__removeChild(t);
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
var patchSlotPrepend = t => {
|
|
489
|
+
if (t.__prepend) return;
|
|
490
|
+
t.__prepend = t.prepend;
|
|
491
|
+
t.prepend = function(...e) {
|
|
492
|
+
e.forEach((e => {
|
|
493
|
+
if (typeof e === "string") {
|
|
494
|
+
e = this.ownerDocument.createTextNode(e);
|
|
495
|
+
}
|
|
496
|
+
const n = (e["s-sn"] = getSlotName(e)) || "";
|
|
497
|
+
const r = internalCall(this, "childNodes");
|
|
498
|
+
const i = getHostSlotNodes(r, this.tagName, n)[0];
|
|
499
|
+
if (i) {
|
|
500
|
+
addSlotRelocateNode(e, i, true);
|
|
501
|
+
const t = getSlotChildSiblings(i, n);
|
|
502
|
+
const r = t[0];
|
|
503
|
+
const s = internalCall(r, "parentNode");
|
|
504
|
+
const l = internalCall(s, "insertBefore")(e, internalCall(r, "nextSibling"));
|
|
505
|
+
dispatchSlotChangeEvent(i);
|
|
506
|
+
return l;
|
|
507
|
+
}
|
|
508
|
+
if (e.nodeType === 1 && !!e.getAttribute("slot")) {
|
|
509
|
+
e.hidden = true;
|
|
510
|
+
}
|
|
511
|
+
return t.__prepend(e);
|
|
512
|
+
}));
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
var patchSlotAppend = t => {
|
|
517
|
+
if (t.__append) return;
|
|
518
|
+
t.__append = t.append;
|
|
519
|
+
t.append = function(...t) {
|
|
520
|
+
t.forEach((t => {
|
|
521
|
+
if (typeof t === "string") {
|
|
522
|
+
t = this.ownerDocument.createTextNode(t);
|
|
523
|
+
}
|
|
524
|
+
this.appendChild(t);
|
|
525
|
+
}));
|
|
526
|
+
};
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
var patchSlotInsertAdjacentHTML = t => {
|
|
530
|
+
if (t.__insertAdjacentHTML) return;
|
|
531
|
+
const e = t.insertAdjacentHTML;
|
|
532
|
+
t.insertAdjacentHTML = function(t, n) {
|
|
533
|
+
if (t !== "afterbegin" && t !== "beforeend") {
|
|
534
|
+
return e.call(this, t, n);
|
|
535
|
+
}
|
|
536
|
+
const r = this.ownerDocument.createElement("_");
|
|
537
|
+
let i;
|
|
538
|
+
r.innerHTML = n;
|
|
539
|
+
if (t === "afterbegin") {
|
|
540
|
+
while (i = r.firstChild) {
|
|
541
|
+
this.prepend(i);
|
|
542
|
+
}
|
|
543
|
+
} else if (t === "beforeend") {
|
|
544
|
+
while (i = r.firstChild) {
|
|
545
|
+
this.append(i);
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
var patchSlotInsertAdjacentText = t => {
|
|
552
|
+
t.insertAdjacentText = function(t, e) {
|
|
553
|
+
this.insertAdjacentHTML(t, e);
|
|
554
|
+
};
|
|
555
|
+
};
|
|
556
|
+
|
|
557
|
+
var patchInsertBefore = t => {
|
|
558
|
+
if (t.__insertBefore) return;
|
|
559
|
+
const e = t;
|
|
560
|
+
if (e.__insertBefore) return;
|
|
561
|
+
e.__insertBefore = t.insertBefore;
|
|
562
|
+
t.insertBefore = function(t, e) {
|
|
563
|
+
const {slotName: n, slotNode: r} = findSlotFromSlottedNode(t, this);
|
|
564
|
+
const i = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
565
|
+
if (r) {
|
|
566
|
+
let s = false;
|
|
567
|
+
i.forEach((i => {
|
|
568
|
+
if (i === e || e === null) {
|
|
569
|
+
s = true;
|
|
570
|
+
if (e === null || n !== e["s-sn"]) {
|
|
571
|
+
this.appendChild(t);
|
|
572
|
+
return;
|
|
573
|
+
}
|
|
574
|
+
if (n === e["s-sn"]) {
|
|
575
|
+
addSlotRelocateNode(t, r);
|
|
576
|
+
const n = internalCall(e, "parentNode");
|
|
577
|
+
internalCall(n, "insertBefore")(t, e);
|
|
578
|
+
dispatchSlotChangeEvent(r);
|
|
579
|
+
}
|
|
580
|
+
return;
|
|
581
|
+
}
|
|
582
|
+
}));
|
|
583
|
+
if (s) return t;
|
|
584
|
+
}
|
|
585
|
+
const s = e == null ? void 0 : e.__parentNode;
|
|
586
|
+
if (s && !this.isSameNode(s)) {
|
|
587
|
+
return this.appendChild(t);
|
|
588
|
+
}
|
|
589
|
+
return this.__insertBefore(t, e);
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
|
|
593
|
+
var patchSlotInsertAdjacentElement = t => {
|
|
594
|
+
if (t.__insertAdjacentElement) return;
|
|
595
|
+
const e = t.insertAdjacentElement;
|
|
596
|
+
t.insertAdjacentElement = function(t, n) {
|
|
597
|
+
if (t !== "afterbegin" && t !== "beforeend") {
|
|
598
|
+
return e.call(this, t, n);
|
|
599
|
+
}
|
|
600
|
+
if (t === "afterbegin") {
|
|
601
|
+
this.prepend(n);
|
|
602
|
+
return n;
|
|
603
|
+
} else if (t === "beforeend") {
|
|
604
|
+
this.append(n);
|
|
605
|
+
return n;
|
|
606
|
+
}
|
|
607
|
+
return n;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
|
|
611
|
+
var patchTextContent = t => {
|
|
612
|
+
patchHostOriginalAccessor("textContent", t);
|
|
613
|
+
Object.defineProperty(t, "textContent", {
|
|
614
|
+
get: function() {
|
|
615
|
+
let t = "";
|
|
616
|
+
const e = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
617
|
+
e.forEach((e => t += e.textContent || ""));
|
|
618
|
+
return t;
|
|
619
|
+
},
|
|
620
|
+
set: function(t) {
|
|
621
|
+
const e = this.__childNodes ? this.childNodes : getSlottedChildNodes(this.childNodes);
|
|
622
|
+
e.forEach((t => {
|
|
623
|
+
if (t["s-ol"]) t["s-ol"].remove();
|
|
624
|
+
t.remove();
|
|
625
|
+
}));
|
|
626
|
+
this.insertAdjacentHTML("beforeend", t);
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
};
|
|
630
|
+
|
|
631
|
+
var patchChildSlotNodes = t => {
|
|
632
|
+
class e extends Array {
|
|
633
|
+
item(t) {
|
|
634
|
+
return this[t];
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
patchHostOriginalAccessor("children", t);
|
|
638
|
+
Object.defineProperty(t, "children", {
|
|
639
|
+
get() {
|
|
640
|
+
return this.childNodes.filter((t => t.nodeType === 1));
|
|
641
|
+
}
|
|
642
|
+
});
|
|
643
|
+
Object.defineProperty(t, "childElementCount", {
|
|
644
|
+
get() {
|
|
645
|
+
return this.children.length;
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
patchHostOriginalAccessor("firstChild", t);
|
|
649
|
+
Object.defineProperty(t, "firstChild", {
|
|
650
|
+
get() {
|
|
651
|
+
return this.childNodes[0];
|
|
652
|
+
}
|
|
653
|
+
});
|
|
654
|
+
patchHostOriginalAccessor("lastChild", t);
|
|
655
|
+
Object.defineProperty(t, "lastChild", {
|
|
656
|
+
get() {
|
|
657
|
+
return this.childNodes[this.childNodes.length - 1];
|
|
658
|
+
}
|
|
659
|
+
});
|
|
660
|
+
patchHostOriginalAccessor("childNodes", t);
|
|
661
|
+
Object.defineProperty(t, "childNodes", {
|
|
662
|
+
get() {
|
|
663
|
+
const t = new e;
|
|
664
|
+
t.push(...getSlottedChildNodes(this.__childNodes));
|
|
665
|
+
return t;
|
|
666
|
+
}
|
|
667
|
+
});
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
var patchSlottedNode = t => {
|
|
671
|
+
if (!t || t.__nextSibling !== void 0 || !globalThis.Node) return;
|
|
672
|
+
patchNextSibling(t);
|
|
673
|
+
patchPreviousSibling(t);
|
|
674
|
+
patchParentNode(t);
|
|
675
|
+
if (t.nodeType === Node.ELEMENT_NODE) {
|
|
676
|
+
patchNextElementSibling(t);
|
|
677
|
+
patchPreviousElementSibling(t);
|
|
678
|
+
}
|
|
679
|
+
};
|
|
680
|
+
|
|
681
|
+
var patchNextSibling = t => {
|
|
682
|
+
if (!t || t.__nextSibling) return;
|
|
683
|
+
patchHostOriginalAccessor("nextSibling", t);
|
|
684
|
+
Object.defineProperty(t, "nextSibling", {
|
|
685
|
+
get: function() {
|
|
686
|
+
var t;
|
|
687
|
+
const e = (t = this["s-ol"]) == null ? void 0 : t.parentNode.childNodes;
|
|
688
|
+
const n = e == null ? void 0 : e.indexOf(this);
|
|
689
|
+
if (e && n > -1) {
|
|
690
|
+
return e[n + 1];
|
|
691
|
+
}
|
|
692
|
+
return this.__nextSibling;
|
|
693
|
+
}
|
|
694
|
+
});
|
|
695
|
+
};
|
|
696
|
+
|
|
697
|
+
var patchNextElementSibling = t => {
|
|
698
|
+
if (!t || t.__nextElementSibling) return;
|
|
699
|
+
patchHostOriginalAccessor("nextElementSibling", t);
|
|
700
|
+
Object.defineProperty(t, "nextElementSibling", {
|
|
701
|
+
get: function() {
|
|
702
|
+
var t;
|
|
703
|
+
const e = (t = this["s-ol"]) == null ? void 0 : t.parentNode.children;
|
|
704
|
+
const n = e == null ? void 0 : e.indexOf(this);
|
|
705
|
+
if (e && n > -1) {
|
|
706
|
+
return e[n + 1];
|
|
707
|
+
}
|
|
708
|
+
return this.__nextElementSibling;
|
|
709
|
+
}
|
|
710
|
+
});
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
var patchPreviousSibling = t => {
|
|
714
|
+
if (!t || t.__previousSibling) return;
|
|
715
|
+
patchHostOriginalAccessor("previousSibling", t);
|
|
716
|
+
Object.defineProperty(t, "previousSibling", {
|
|
717
|
+
get: function() {
|
|
718
|
+
var t;
|
|
719
|
+
const e = (t = this["s-ol"]) == null ? void 0 : t.parentNode.childNodes;
|
|
720
|
+
const n = e == null ? void 0 : e.indexOf(this);
|
|
721
|
+
if (e && n > -1) {
|
|
722
|
+
return e[n - 1];
|
|
723
|
+
}
|
|
724
|
+
return this.__previousSibling;
|
|
725
|
+
}
|
|
726
|
+
});
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
var patchPreviousElementSibling = t => {
|
|
730
|
+
if (!t || t.__previousElementSibling) return;
|
|
731
|
+
patchHostOriginalAccessor("previousElementSibling", t);
|
|
732
|
+
Object.defineProperty(t, "previousElementSibling", {
|
|
733
|
+
get: function() {
|
|
734
|
+
var t;
|
|
735
|
+
const e = (t = this["s-ol"]) == null ? void 0 : t.parentNode.children;
|
|
736
|
+
const n = e == null ? void 0 : e.indexOf(this);
|
|
737
|
+
if (e && n > -1) {
|
|
738
|
+
return e[n - 1];
|
|
739
|
+
}
|
|
740
|
+
return this.__previousElementSibling;
|
|
741
|
+
}
|
|
742
|
+
});
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
var patchParentNode = t => {
|
|
746
|
+
if (!t || t.__parentNode) return;
|
|
747
|
+
patchHostOriginalAccessor("parentNode", t);
|
|
748
|
+
Object.defineProperty(t, "parentNode", {
|
|
749
|
+
get: function() {
|
|
750
|
+
var t;
|
|
751
|
+
return ((t = this["s-ol"]) == null ? void 0 : t.parentNode) || this.__parentNode;
|
|
752
|
+
},
|
|
753
|
+
set: function(t) {
|
|
754
|
+
this.__parentNode = t;
|
|
755
|
+
}
|
|
756
|
+
});
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
var _ = [ "children", "nextElementSibling", "previousElementSibling" ];
|
|
760
|
+
|
|
761
|
+
var D = [ "childNodes", "firstChild", "lastChild", "nextSibling", "previousSibling", "textContent", "parentNode" ];
|
|
762
|
+
|
|
763
|
+
function patchHostOriginalAccessor(t, e) {
|
|
764
|
+
if (!globalThis.Node || !globalThis.Element) {
|
|
765
|
+
return;
|
|
766
|
+
}
|
|
767
|
+
let n;
|
|
768
|
+
if (_.includes(t)) {
|
|
769
|
+
n = Object.getOwnPropertyDescriptor(Element.prototype, t);
|
|
770
|
+
} else if (D.includes(t)) {
|
|
771
|
+
n = Object.getOwnPropertyDescriptor(Node.prototype, t);
|
|
772
|
+
}
|
|
773
|
+
if (!n) {
|
|
774
|
+
n = Object.getOwnPropertyDescriptor(e, t);
|
|
775
|
+
}
|
|
776
|
+
if (n) Object.defineProperty(e, "__" + t, n);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
function internalCall(t, e) {
|
|
780
|
+
if ("__" + e in t) {
|
|
781
|
+
const n = t["__" + e];
|
|
782
|
+
if (typeof n !== "function") return n;
|
|
783
|
+
return n.bind(t);
|
|
784
|
+
} else {
|
|
785
|
+
if (typeof t[e] !== "function") return t[e];
|
|
786
|
+
return t[e].bind(t);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
var createTime = (t, e = "") => {
|
|
791
|
+
{
|
|
792
|
+
return () => {};
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
// src/utils/query-nonce-meta-tag-content.ts
|
|
797
|
+
function queryNonceMetaTagContent(t) {
|
|
798
|
+
var e, n, r;
|
|
799
|
+
return (r = (n = (e = t.head) == null ? void 0 : e.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? r : void 0;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
// src/runtime/styles.ts
|
|
803
|
+
var R = new WeakMap;
|
|
804
|
+
|
|
805
|
+
var registerStyle = (t, e, n) => {
|
|
806
|
+
let r = a.get(t);
|
|
807
|
+
if (x && n) {
|
|
808
|
+
r = r || new CSSStyleSheet;
|
|
809
|
+
if (typeof r === "string") {
|
|
810
|
+
r = e;
|
|
811
|
+
} else {
|
|
812
|
+
r.replaceSync(e);
|
|
813
|
+
}
|
|
814
|
+
} else {
|
|
815
|
+
r = e;
|
|
816
|
+
}
|
|
817
|
+
a.set(t, r);
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
var addStyle = (t, e, n) => {
|
|
821
|
+
var r, i, s;
|
|
822
|
+
const l = getScopeId(e);
|
|
823
|
+
const o = a.get(l);
|
|
824
|
+
if (!w.document) {
|
|
825
|
+
return l;
|
|
826
|
+
}
|
|
827
|
+
t = t.nodeType === 11 /* DocumentFragment */ ? t : w.document;
|
|
828
|
+
if (o) {
|
|
829
|
+
if (typeof o === "string") {
|
|
830
|
+
t = t.head || t;
|
|
831
|
+
let n = R.get(t);
|
|
832
|
+
let s;
|
|
833
|
+
if (!n) {
|
|
834
|
+
R.set(t, n = new Set);
|
|
835
|
+
}
|
|
836
|
+
const f = t.querySelector(`[${g}="${l}"]`);
|
|
837
|
+
if (f) {
|
|
838
|
+
f.textContent = o;
|
|
839
|
+
} else if (!n.has(l)) {
|
|
840
|
+
s = w.document.createElement("style");
|
|
841
|
+
s.textContent = o;
|
|
842
|
+
const f = (r = O.m) != null ? r : queryNonceMetaTagContent(w.document);
|
|
843
|
+
if (f != null) {
|
|
844
|
+
s.setAttribute("nonce", f);
|
|
845
|
+
}
|
|
846
|
+
if (!(e.o & 1 /* shadowDomEncapsulation */)) {
|
|
847
|
+
if (t.nodeName === "HEAD") {
|
|
848
|
+
const e = t.querySelectorAll("link[rel=preconnect]");
|
|
849
|
+
const n = e.length > 0 ? e[e.length - 1].nextSibling : t.querySelector("style");
|
|
850
|
+
t.insertBefore(s, (n == null ? void 0 : n.parentNode) === t ? n : null);
|
|
851
|
+
} else if ("host" in t) {
|
|
852
|
+
if (x) {
|
|
853
|
+
const e = (i = t.defaultView) != null ? i : t.ownerDocument.defaultView;
|
|
854
|
+
const n = new e.CSSStyleSheet;
|
|
855
|
+
n.replaceSync(o);
|
|
856
|
+
if (A) {
|
|
857
|
+
t.adoptedStyleSheets.unshift(n);
|
|
858
|
+
} else {
|
|
859
|
+
t.adoptedStyleSheets = [ n, ...t.adoptedStyleSheets ];
|
|
860
|
+
}
|
|
861
|
+
} else {
|
|
862
|
+
const e = t.querySelector("style");
|
|
863
|
+
if (e) {
|
|
864
|
+
e.textContent = o + e.textContent;
|
|
865
|
+
} else {
|
|
866
|
+
t.prepend(s);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
} else {
|
|
870
|
+
t.append(s);
|
|
871
|
+
}
|
|
872
|
+
}
|
|
873
|
+
if (e.o & 1 /* shadowDomEncapsulation */) {
|
|
874
|
+
t.insertBefore(s, null);
|
|
875
|
+
}
|
|
876
|
+
if (e.o & 4 /* hasSlotRelocation */) {
|
|
877
|
+
s.textContent += $;
|
|
878
|
+
}
|
|
879
|
+
if (n) {
|
|
880
|
+
n.add(l);
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
} else {
|
|
884
|
+
let e = R.get(t);
|
|
885
|
+
if (!e) {
|
|
886
|
+
R.set(t, e = new Set);
|
|
887
|
+
}
|
|
888
|
+
if (!e.has(l)) {
|
|
889
|
+
const n = (s = t.defaultView) != null ? s : t.ownerDocument.defaultView;
|
|
890
|
+
let r;
|
|
891
|
+
if (o.constructor === n.CSSStyleSheet) {
|
|
892
|
+
r = o;
|
|
893
|
+
} else {
|
|
894
|
+
r = new n.CSSStyleSheet;
|
|
895
|
+
for (let t = 0; t < o.cssRules.length; t++) {
|
|
896
|
+
r.insertRule(o.cssRules[t].cssText, t);
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
if (A) {
|
|
900
|
+
t.adoptedStyleSheets.push(r);
|
|
901
|
+
} else {
|
|
902
|
+
t.adoptedStyleSheets = [ ...t.adoptedStyleSheets, r ];
|
|
903
|
+
}
|
|
904
|
+
e.add(l);
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
return l;
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
var attachStyles = t => {
|
|
912
|
+
const e = t.t;
|
|
913
|
+
const n = t.$hostElement$;
|
|
914
|
+
const r = e.o;
|
|
915
|
+
const i = createTime("attachStyles", e.$);
|
|
916
|
+
const s = addStyle(n.shadowRoot ? n.shadowRoot : n.getRootNode(), e);
|
|
917
|
+
if (r & 10 /* needsScopedEncapsulation */) {
|
|
918
|
+
n["s-sc"] = s;
|
|
919
|
+
n.classList.add(s + "-h");
|
|
920
|
+
}
|
|
921
|
+
i();
|
|
922
|
+
};
|
|
923
|
+
|
|
924
|
+
var getScopeId = (t, e) => "sc-" + t.$;
|
|
925
|
+
|
|
926
|
+
var convertScopedToShadow = t => t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g, "$1{");
|
|
927
|
+
|
|
928
|
+
var hydrateScopedToShadow = () => {
|
|
929
|
+
if (!w.document) {
|
|
930
|
+
return;
|
|
931
|
+
}
|
|
932
|
+
const t = w.document.querySelectorAll(`[${g}]`);
|
|
933
|
+
let e = 0;
|
|
934
|
+
for (;e < t.length; e++) {
|
|
935
|
+
registerStyle(t[e].getAttribute(g), convertScopedToShadow(t[e].innerHTML), true);
|
|
936
|
+
}
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
var isComplexType = t => {
|
|
940
|
+
t = typeof t;
|
|
941
|
+
return t === "object" || t === "function";
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
// src/runtime/vdom/h.ts
|
|
945
|
+
var h = (t, e, ...n) => {
|
|
946
|
+
if (typeof t === "string") {
|
|
947
|
+
t = transformTag(t);
|
|
948
|
+
}
|
|
949
|
+
let r = null;
|
|
950
|
+
let i = null;
|
|
951
|
+
let s = false;
|
|
952
|
+
let l = false;
|
|
953
|
+
const o = [];
|
|
954
|
+
const walk = e => {
|
|
955
|
+
for (let n = 0; n < e.length; n++) {
|
|
956
|
+
r = e[n];
|
|
957
|
+
if (Array.isArray(r)) {
|
|
958
|
+
walk(r);
|
|
959
|
+
} else if (r != null && typeof r !== "boolean") {
|
|
960
|
+
if (s = typeof t !== "function" && !isComplexType(r)) {
|
|
961
|
+
r = String(r);
|
|
962
|
+
}
|
|
963
|
+
if (s && l) {
|
|
964
|
+
o[o.length - 1].S += r;
|
|
965
|
+
} else {
|
|
966
|
+
o.push(s ? newVNode(null, r) : r);
|
|
967
|
+
}
|
|
968
|
+
l = s;
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
};
|
|
972
|
+
walk(n);
|
|
973
|
+
if (e) {
|
|
974
|
+
if (e.key) {
|
|
975
|
+
i = e.key;
|
|
976
|
+
}
|
|
977
|
+
{
|
|
978
|
+
const t = e.className || e.class;
|
|
979
|
+
if (t) {
|
|
980
|
+
e.class = typeof t !== "object" ? t : Object.keys(t).filter((e => t[e])).join(" ");
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
if (typeof t === "function") {
|
|
985
|
+
return t(e === null ? {} : e, o, T);
|
|
986
|
+
}
|
|
987
|
+
const f = newVNode(t, null);
|
|
988
|
+
f.j = e;
|
|
989
|
+
if (o.length > 0) {
|
|
990
|
+
f.O = o;
|
|
991
|
+
}
|
|
992
|
+
{
|
|
993
|
+
f.N = i;
|
|
994
|
+
}
|
|
995
|
+
return f;
|
|
996
|
+
};
|
|
997
|
+
|
|
998
|
+
var newVNode = (t, e) => {
|
|
999
|
+
const n = {
|
|
1000
|
+
o: 0,
|
|
1001
|
+
C: t,
|
|
1002
|
+
// Normalize undefined to null to prevent rendering "undefined" as text
|
|
1003
|
+
S: e != null ? e : null,
|
|
1004
|
+
A: null,
|
|
1005
|
+
O: null
|
|
1006
|
+
};
|
|
1007
|
+
{
|
|
1008
|
+
n.j = null;
|
|
1009
|
+
}
|
|
1010
|
+
{
|
|
1011
|
+
n.N = null;
|
|
1012
|
+
}
|
|
1013
|
+
return n;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
var L = {};
|
|
1017
|
+
|
|
1018
|
+
var isHost = t => t && t.C === L;
|
|
1019
|
+
|
|
1020
|
+
var T = {
|
|
1021
|
+
forEach: (t, e) => t.map(convertToPublic).forEach(e),
|
|
1022
|
+
map: (t, e) => t.map(convertToPublic).map(e).map(convertToPrivate)
|
|
1023
|
+
};
|
|
1024
|
+
|
|
1025
|
+
var convertToPublic = t => ({
|
|
1026
|
+
vattrs: t.j,
|
|
1027
|
+
vchildren: t.O,
|
|
1028
|
+
vkey: t.N,
|
|
1029
|
+
vname: t.k,
|
|
1030
|
+
vtag: t.C,
|
|
1031
|
+
vtext: t.S
|
|
1032
|
+
});
|
|
1033
|
+
|
|
1034
|
+
var convertToPrivate = t => {
|
|
1035
|
+
if (typeof t.vtag === "function") {
|
|
1036
|
+
const e = {
|
|
1037
|
+
...t.vattrs
|
|
1038
|
+
};
|
|
1039
|
+
if (t.vkey) {
|
|
1040
|
+
e.key = t.vkey;
|
|
1041
|
+
}
|
|
1042
|
+
if (t.vname) {
|
|
1043
|
+
e.name = t.vname;
|
|
1044
|
+
}
|
|
1045
|
+
return h(t.vtag, e, ...t.vchildren || []);
|
|
1046
|
+
}
|
|
1047
|
+
const e = newVNode(t.vtag, t.vtext);
|
|
1048
|
+
e.j = t.vattrs;
|
|
1049
|
+
e.O = t.vchildren;
|
|
1050
|
+
e.N = t.vkey;
|
|
1051
|
+
e.k = t.vname;
|
|
1052
|
+
return e;
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
// src/runtime/client-hydrate.ts
|
|
1056
|
+
var initializeClientHydrate = (t, e, n, r) => {
|
|
1057
|
+
var i, s, l, o;
|
|
1058
|
+
const f = createTime("hydrateClient", e);
|
|
1059
|
+
const a = t.shadowRoot;
|
|
1060
|
+
const c = [];
|
|
1061
|
+
const u = [];
|
|
1062
|
+
const d = [];
|
|
1063
|
+
const v = a ? [] : null;
|
|
1064
|
+
const p = newVNode(e, null);
|
|
1065
|
+
p.A = t;
|
|
1066
|
+
if (w.document && (!O.H || !O.H.size)) {
|
|
1067
|
+
initializeDocumentHydrate(w.document.body, O.H = new Map);
|
|
1068
|
+
}
|
|
1069
|
+
t[b] = n;
|
|
1070
|
+
t.removeAttribute(b);
|
|
1071
|
+
r.I = clientHydrate(p, c, u, v, t, t, n, d);
|
|
1072
|
+
let g = 0;
|
|
1073
|
+
const m = c.length;
|
|
1074
|
+
let $;
|
|
1075
|
+
for (g; g < m; g++) {
|
|
1076
|
+
$ = c[g];
|
|
1077
|
+
const n = $.M + "." + $._;
|
|
1078
|
+
const r = O.H.get(n);
|
|
1079
|
+
const s = $.A;
|
|
1080
|
+
if (!a) {
|
|
1081
|
+
s["s-hn"] = transformTag(e).toUpperCase();
|
|
1082
|
+
if ($.C === "slot") {
|
|
1083
|
+
s["s-cr"] = t["s-cr"];
|
|
1084
|
+
}
|
|
1085
|
+
} else if (((i = $.C) == null ? void 0 : i.toString().includes("-")) && $.C !== "slot-fb" && !$.A.shadowRoot) {
|
|
1086
|
+
const t = getHostRef($.A);
|
|
1087
|
+
if (t) {
|
|
1088
|
+
const e = getScopeId(t.t);
|
|
1089
|
+
const n = w.document.querySelector(`style[sty-id="${e}"]`);
|
|
1090
|
+
if (n) {
|
|
1091
|
+
v.unshift(n.cloneNode(true));
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
if ($.C === "slot") {
|
|
1096
|
+
$.k = $.A["s-sn"] || $.A["name"] || null;
|
|
1097
|
+
if ($.O) {
|
|
1098
|
+
$.o |= 2 /* isSlotFallback */;
|
|
1099
|
+
if (!$.A.childNodes.length) {
|
|
1100
|
+
$.O.forEach((t => {
|
|
1101
|
+
$.A.appendChild(t.A);
|
|
1102
|
+
}));
|
|
1103
|
+
}
|
|
1104
|
+
} else {
|
|
1105
|
+
$.o |= 1 /* isSlotReference */;
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
if (r && r.isConnected) {
|
|
1109
|
+
if (r.parentElement.shadowRoot && r["s-en"] === "") {
|
|
1110
|
+
r.parentNode.insertBefore(s, r.nextSibling);
|
|
1111
|
+
}
|
|
1112
|
+
r.parentNode.removeChild(r);
|
|
1113
|
+
if (!a) {
|
|
1114
|
+
s["s-oo"] = parseInt($._);
|
|
1115
|
+
}
|
|
1116
|
+
}
|
|
1117
|
+
if (r && !r["s-id"]) {
|
|
1118
|
+
O.H.delete(n);
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
const y = [];
|
|
1122
|
+
const S = d.length;
|
|
1123
|
+
let j = 0;
|
|
1124
|
+
let N;
|
|
1125
|
+
let C;
|
|
1126
|
+
let x;
|
|
1127
|
+
let A;
|
|
1128
|
+
let E = 0;
|
|
1129
|
+
for (j; j < S; j++) {
|
|
1130
|
+
N = d[j];
|
|
1131
|
+
if (!N || !N.length) continue;
|
|
1132
|
+
x = N.length;
|
|
1133
|
+
C = 0;
|
|
1134
|
+
for (C; C < x; C++) {
|
|
1135
|
+
A = N[C];
|
|
1136
|
+
if (!y[A.hostId]) {
|
|
1137
|
+
y[A.hostId] = O.H.get(A.hostId);
|
|
1138
|
+
}
|
|
1139
|
+
if (!y[A.hostId]) continue;
|
|
1140
|
+
const t = y[A.hostId];
|
|
1141
|
+
if (t.shadowRoot && A.node.parentElement !== t) {
|
|
1142
|
+
t.insertBefore(A.node, (l = (s = N[C - 1]) == null ? void 0 : s.node) == null ? void 0 : l.nextSibling);
|
|
1143
|
+
}
|
|
1144
|
+
if (!t.shadowRoot || !a) {
|
|
1145
|
+
if (!A.slot["s-cr"]) {
|
|
1146
|
+
A.slot["s-cr"] = t["s-cr"];
|
|
1147
|
+
if (!A.slot["s-cr"] && t.shadowRoot) {
|
|
1148
|
+
A.slot["s-cr"] = t;
|
|
1149
|
+
} else {
|
|
1150
|
+
A.slot["s-cr"] = (t.__childNodes || t.childNodes)[0];
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
addSlotRelocateNode(A.node, A.slot, false, A.node["s-oo"] || E);
|
|
1154
|
+
if (((o = A.node.parentElement) == null ? void 0 : o.shadowRoot) && A.node["getAttribute"] && A.node.getAttribute("slot")) {
|
|
1155
|
+
A.node.removeAttribute("slot");
|
|
1156
|
+
}
|
|
1157
|
+
{
|
|
1158
|
+
patchSlottedNode(A.node);
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
E = (A.node["s-oo"] || E) + 1;
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
if (a && !a.childNodes.length) {
|
|
1165
|
+
let e = 0;
|
|
1166
|
+
const n = v.length;
|
|
1167
|
+
if (n) {
|
|
1168
|
+
for (e; e < n; e++) {
|
|
1169
|
+
const t = v[e];
|
|
1170
|
+
if (t) {
|
|
1171
|
+
a.appendChild(t);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
Array.from(t.childNodes).forEach((t => {
|
|
1175
|
+
if (typeof t["s-en"] !== "string" && typeof t["s-sn"] !== "string") {
|
|
1176
|
+
if (t.nodeType === 1 /* ElementNode */ && t.slot && t.hidden) {
|
|
1177
|
+
t.removeAttribute("hidden");
|
|
1178
|
+
} else if (t.nodeType === 8 /* CommentNode */ && !t.nodeValue) {
|
|
1179
|
+
t.parentNode.removeChild(t);
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}));
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
r.$hostElement$ = t;
|
|
1186
|
+
f();
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
var clientHydrate = (t, e, n, r, i, s, l, o = []) => {
|
|
1190
|
+
let f;
|
|
1191
|
+
let a;
|
|
1192
|
+
let u;
|
|
1193
|
+
let b;
|
|
1194
|
+
if (s.nodeType === 1 /* ElementNode */) {
|
|
1195
|
+
f = s.getAttribute(m);
|
|
1196
|
+
if (f) {
|
|
1197
|
+
a = f.split(".");
|
|
1198
|
+
if (a[0] === l || a[0] === "0") {
|
|
1199
|
+
u = createSimpleVNode({
|
|
1200
|
+
o: 0,
|
|
1201
|
+
M: a[0],
|
|
1202
|
+
_: a[1],
|
|
1203
|
+
D: a[2],
|
|
1204
|
+
R: a[3],
|
|
1205
|
+
C: s.tagName.toLowerCase(),
|
|
1206
|
+
A: s,
|
|
1207
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` patch
|
|
1208
|
+
// won't try to reconcile them. Classes set on the node will be blown away.
|
|
1209
|
+
j: {
|
|
1210
|
+
class: s.className || ""
|
|
1211
|
+
}
|
|
1212
|
+
});
|
|
1213
|
+
e.push(u);
|
|
1214
|
+
s.removeAttribute(m);
|
|
1215
|
+
if (!t.O) {
|
|
1216
|
+
t.O = [];
|
|
1217
|
+
}
|
|
1218
|
+
const i = u.A.getAttribute("s-sn");
|
|
1219
|
+
if (typeof i === "string") {
|
|
1220
|
+
if (u.C === "slot-fb") {
|
|
1221
|
+
addSlot(i, a[2], u, s, t, e, n, r, o);
|
|
1222
|
+
}
|
|
1223
|
+
u.A["s-sn"] = i;
|
|
1224
|
+
u.A.removeAttribute("s-sn");
|
|
1225
|
+
}
|
|
1226
|
+
if (u.R !== void 0) {
|
|
1227
|
+
t.O[u.R] = u;
|
|
1228
|
+
}
|
|
1229
|
+
t = u;
|
|
1230
|
+
if (r && u.D === "0") {
|
|
1231
|
+
r[u.R] = u.A;
|
|
1232
|
+
}
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
if (s.shadowRoot) {
|
|
1236
|
+
for (b = s.shadowRoot.childNodes.length - 1; b >= 0; b--) {
|
|
1237
|
+
clientHydrate(t, e, n, r, i, s.shadowRoot.childNodes[b], l, o);
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
const c = s.__childNodes || s.childNodes;
|
|
1241
|
+
for (b = c.length - 1; b >= 0; b--) {
|
|
1242
|
+
clientHydrate(t, e, n, r, i, c[b], l, o);
|
|
1243
|
+
}
|
|
1244
|
+
} else if (s.nodeType === 8 /* CommentNode */) {
|
|
1245
|
+
a = s.nodeValue.split(".");
|
|
1246
|
+
if (a[1] === l || a[1] === "0") {
|
|
1247
|
+
f = a[0];
|
|
1248
|
+
u = createSimpleVNode({
|
|
1249
|
+
M: a[1],
|
|
1250
|
+
_: a[2],
|
|
1251
|
+
D: a[3],
|
|
1252
|
+
R: a[4] || "0",
|
|
1253
|
+
A: s,
|
|
1254
|
+
j: null,
|
|
1255
|
+
O: null,
|
|
1256
|
+
N: null,
|
|
1257
|
+
k: null,
|
|
1258
|
+
C: null,
|
|
1259
|
+
S: null
|
|
1260
|
+
});
|
|
1261
|
+
if (f === v) {
|
|
1262
|
+
u.A = findCorrespondingNode(s, 3 /* TextNode */);
|
|
1263
|
+
if (u.A && u.A.nodeType === 3 /* TextNode */) {
|
|
1264
|
+
u.S = u.A.textContent;
|
|
1265
|
+
e.push(u);
|
|
1266
|
+
s.remove();
|
|
1267
|
+
if (l === u.M) {
|
|
1268
|
+
if (!t.O) {
|
|
1269
|
+
t.O = [];
|
|
1270
|
+
}
|
|
1271
|
+
t.O[u.R] = u;
|
|
1272
|
+
}
|
|
1273
|
+
if (r && u.D === "0") {
|
|
1274
|
+
r[u.R] = u.A;
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
} else if (f === p) {
|
|
1278
|
+
u.A = findCorrespondingNode(s, 8 /* CommentNode */);
|
|
1279
|
+
if (u.A && u.A.nodeType === 8 /* CommentNode */) {
|
|
1280
|
+
e.push(u);
|
|
1281
|
+
s.remove();
|
|
1282
|
+
}
|
|
1283
|
+
} else if (u.M === l) {
|
|
1284
|
+
if (f === d) {
|
|
1285
|
+
const i = s["s-sn"] = a[5] || "";
|
|
1286
|
+
addSlot(i, a[2], u, s, t, e, n, r, o);
|
|
1287
|
+
} else if (f === c) {
|
|
1288
|
+
if (r) {
|
|
1289
|
+
s.remove();
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
} else if (t && t.C === "style") {
|
|
1295
|
+
const e = newVNode(null, s.textContent);
|
|
1296
|
+
e.A = s;
|
|
1297
|
+
e.R = "0";
|
|
1298
|
+
t.O = [ e ];
|
|
1299
|
+
}
|
|
1300
|
+
return t;
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
var initializeDocumentHydrate = (t, e) => {
|
|
1304
|
+
if (t.nodeType === 1 /* ElementNode */) {
|
|
1305
|
+
const n = t[b] || t.getAttribute(b);
|
|
1306
|
+
if (n) {
|
|
1307
|
+
e.set(n, t);
|
|
1308
|
+
}
|
|
1309
|
+
let r = 0;
|
|
1310
|
+
if (t.shadowRoot) {
|
|
1311
|
+
for (;r < t.shadowRoot.childNodes.length; r++) {
|
|
1312
|
+
initializeDocumentHydrate(t.shadowRoot.childNodes[r], e);
|
|
1313
|
+
}
|
|
1314
|
+
}
|
|
1315
|
+
const i = t.__childNodes || t.childNodes;
|
|
1316
|
+
for (r = 0; r < i.length; r++) {
|
|
1317
|
+
initializeDocumentHydrate(i[r], e);
|
|
1318
|
+
}
|
|
1319
|
+
} else if (t.nodeType === 8 /* CommentNode */) {
|
|
1320
|
+
const n = t.nodeValue.split(".");
|
|
1321
|
+
if (n[0] === u) {
|
|
1322
|
+
e.set(n[1] + "." + n[2], t);
|
|
1323
|
+
t.nodeValue = "";
|
|
1324
|
+
t["s-en"] = n[3];
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
var createSimpleVNode = t => {
|
|
1330
|
+
const e = {
|
|
1331
|
+
o: 0,
|
|
1332
|
+
M: null,
|
|
1333
|
+
_: null,
|
|
1334
|
+
D: null,
|
|
1335
|
+
R: "0",
|
|
1336
|
+
A: null,
|
|
1337
|
+
j: null,
|
|
1338
|
+
O: null,
|
|
1339
|
+
N: null,
|
|
1340
|
+
k: null,
|
|
1341
|
+
C: null,
|
|
1342
|
+
S: null
|
|
1343
|
+
};
|
|
1344
|
+
return {
|
|
1345
|
+
...e,
|
|
1346
|
+
...t
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
|
|
1350
|
+
function addSlot(t, e, n, r, i, s, l, o, f) {
|
|
1351
|
+
r["s-sr"] = true;
|
|
1352
|
+
n.k = t || null;
|
|
1353
|
+
n.C = "slot";
|
|
1354
|
+
const a = (i == null ? void 0 : i.A) ? i.A["s-id"] || i.A.getAttribute("s-id") : "";
|
|
1355
|
+
if (o && w.document) {
|
|
1356
|
+
const s = n.A = w.document.createElement(n.C);
|
|
1357
|
+
if (n.k) {
|
|
1358
|
+
n.A.setAttribute("name", t);
|
|
1359
|
+
}
|
|
1360
|
+
if (i.A.shadowRoot && a && a !== n.M) {
|
|
1361
|
+
internalCall(i.A, "insertBefore")(s, internalCall(i.A, "children")[0]);
|
|
1362
|
+
} else {
|
|
1363
|
+
internalCall(internalCall(r, "parentNode"), "insertBefore")(s, r);
|
|
1364
|
+
}
|
|
1365
|
+
addSlottedNodes(f, e, t, r, n.M);
|
|
1366
|
+
r.remove();
|
|
1367
|
+
if (n.D === "0") {
|
|
1368
|
+
o[n.R] = n.A;
|
|
1369
|
+
}
|
|
1370
|
+
} else {
|
|
1371
|
+
const s = n.A;
|
|
1372
|
+
const l = a && a !== n.M && i.A.shadowRoot;
|
|
1373
|
+
addSlottedNodes(f, e, t, r, l ? a : n.M);
|
|
1374
|
+
patchSlotNode(r);
|
|
1375
|
+
if (l) {
|
|
1376
|
+
i.A.insertBefore(s, i.A.children[0]);
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
s.push(n);
|
|
1380
|
+
l.push(n);
|
|
1381
|
+
if (!i.O) {
|
|
1382
|
+
i.O = [];
|
|
1383
|
+
}
|
|
1384
|
+
i.O[n.R] = n;
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
var addSlottedNodes = (t, e, n, r, i) => {
|
|
1388
|
+
var s, l;
|
|
1389
|
+
let o = r.nextSibling;
|
|
1390
|
+
t[e] = t[e] || [];
|
|
1391
|
+
if (!o || ((s = o.nodeValue) == null ? void 0 : s.startsWith(d + "."))) return;
|
|
1392
|
+
do {
|
|
1393
|
+
if (o && ((o["getAttribute"] && o.getAttribute("slot") || o["s-sn"]) === n || n === "" && !o["s-sn"] && (!o["getAttribute"] || !o.getAttribute("slot")) && (o.nodeType === 8 /* CommentNode */ || o.nodeType === 3 /* TextNode */))) {
|
|
1394
|
+
o["s-sn"] = n;
|
|
1395
|
+
t[e].push({
|
|
1396
|
+
slot: r,
|
|
1397
|
+
node: o,
|
|
1398
|
+
hostId: i
|
|
1399
|
+
});
|
|
1400
|
+
}
|
|
1401
|
+
o = o == null ? void 0 : o.nextSibling;
|
|
1402
|
+
} while (o && !((l = o.nodeValue) == null ? void 0 : l.startsWith(d + ".")));
|
|
1403
|
+
};
|
|
1404
|
+
|
|
1405
|
+
var findCorrespondingNode = (t, e) => {
|
|
1406
|
+
let n = t;
|
|
1407
|
+
do {
|
|
1408
|
+
n = n.nextSibling;
|
|
1409
|
+
} while (n && (n.nodeType !== e || !n.nodeValue));
|
|
1410
|
+
return n;
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
// src/utils/remote-value.ts
|
|
1414
|
+
var U = class t {
|
|
1415
|
+
/**
|
|
1416
|
+
* Deserializes a LocalValue serialized object back to its original JavaScript representation
|
|
1417
|
+
*
|
|
1418
|
+
* @param serialized The serialized LocalValue object
|
|
1419
|
+
* @returns The original JavaScript value/object
|
|
1420
|
+
*/
|
|
1421
|
+
static fromLocalValue(e) {
|
|
1422
|
+
const n = e[l];
|
|
1423
|
+
const r = o in e ? e[o] : void 0;
|
|
1424
|
+
switch (n) {
|
|
1425
|
+
case "string" /* String */ :
|
|
1426
|
+
return r;
|
|
1427
|
+
|
|
1428
|
+
case "boolean" /* Boolean */ :
|
|
1429
|
+
return r;
|
|
1430
|
+
|
|
1431
|
+
case "bigint" /* BigInt */ :
|
|
1432
|
+
return BigInt(r);
|
|
1433
|
+
|
|
1434
|
+
case "undefined" /* Undefined */ :
|
|
1435
|
+
return void 0;
|
|
1436
|
+
|
|
1437
|
+
case "null" /* Null */ :
|
|
1438
|
+
return null;
|
|
1439
|
+
|
|
1440
|
+
case "number" /* Number */ :
|
|
1441
|
+
if (r === "NaN") return NaN;
|
|
1442
|
+
if (r === "-0") return -0;
|
|
1443
|
+
if (r === "Infinity") return Infinity;
|
|
1444
|
+
if (r === "-Infinity") return -Infinity;
|
|
1445
|
+
return r;
|
|
1446
|
+
|
|
1447
|
+
case "array" /* Array */ :
|
|
1448
|
+
return r.map((e => t.fromLocalValue(e)));
|
|
1449
|
+
|
|
1450
|
+
case "date" /* Date */ :
|
|
1451
|
+
return new Date(r);
|
|
1452
|
+
|
|
1453
|
+
case "map" /* Map */ :
|
|
1454
|
+
const e = new Map;
|
|
1455
|
+
for (const [n, i] of r) {
|
|
1456
|
+
const r = typeof n === "object" && n !== null ? t.fromLocalValue(n) : n;
|
|
1457
|
+
const s = t.fromLocalValue(i);
|
|
1458
|
+
e.set(r, s);
|
|
1459
|
+
}
|
|
1460
|
+
return e;
|
|
1461
|
+
|
|
1462
|
+
case "object" /* Object */ :
|
|
1463
|
+
const i = {};
|
|
1464
|
+
for (const [e, n] of r) {
|
|
1465
|
+
i[e] = t.fromLocalValue(n);
|
|
1466
|
+
}
|
|
1467
|
+
return i;
|
|
1468
|
+
|
|
1469
|
+
case "regexp" /* RegularExpression */ :
|
|
1470
|
+
const {pattern: s, flags: l} = r;
|
|
1471
|
+
return new RegExp(s, l);
|
|
1472
|
+
|
|
1473
|
+
case "set" /* Set */ :
|
|
1474
|
+
const o = new Set;
|
|
1475
|
+
for (const e of r) {
|
|
1476
|
+
o.add(t.fromLocalValue(e));
|
|
1477
|
+
}
|
|
1478
|
+
return o;
|
|
1479
|
+
|
|
1480
|
+
case "symbol" /* Symbol */ :
|
|
1481
|
+
return Symbol(r);
|
|
1482
|
+
|
|
1483
|
+
default:
|
|
1484
|
+
throw new Error(`Unsupported type: ${n}`);
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* Utility method to deserialize multiple LocalValues at once
|
|
1489
|
+
*
|
|
1490
|
+
* @param serializedValues Array of serialized LocalValue objects
|
|
1491
|
+
* @returns Array of deserialized JavaScript values
|
|
1492
|
+
*/ static fromLocalValueArray(e) {
|
|
1493
|
+
return e.map((e => t.fromLocalValue(e)));
|
|
1494
|
+
}
|
|
1495
|
+
/**
|
|
1496
|
+
* Verifies if the given object matches the structure of a serialized LocalValue
|
|
1497
|
+
*
|
|
1498
|
+
* @param obj Object to verify
|
|
1499
|
+
* @returns boolean indicating if the object has LocalValue structure
|
|
1500
|
+
*/ static isLocalValueObject(t) {
|
|
1501
|
+
if (typeof t !== "object" || t === null) {
|
|
1502
|
+
return false;
|
|
1503
|
+
}
|
|
1504
|
+
if (!t.hasOwnProperty(l)) {
|
|
1505
|
+
return false;
|
|
1506
|
+
}
|
|
1507
|
+
const e = t[l];
|
|
1508
|
+
const n = Object.values({
|
|
1509
|
+
...i,
|
|
1510
|
+
...s
|
|
1511
|
+
}).includes(e);
|
|
1512
|
+
if (!n) {
|
|
1513
|
+
return false;
|
|
1514
|
+
}
|
|
1515
|
+
if (e !== "null" /* Null */ && e !== "undefined" /* Undefined */) {
|
|
1516
|
+
return t.hasOwnProperty(o);
|
|
1517
|
+
}
|
|
1518
|
+
return true;
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
// src/utils/serialize.ts
|
|
1523
|
+
function deserializeProperty(t) {
|
|
1524
|
+
if (typeof t !== "string" || !t.startsWith(f)) {
|
|
1525
|
+
return t;
|
|
1526
|
+
}
|
|
1527
|
+
return U.fromLocalValue(JSON.parse(atob(t.slice(f.length))));
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
// src/runtime/parse-property-value.ts
|
|
1531
|
+
var parsePropertyValue = (t, e, n) => {
|
|
1532
|
+
if (typeof t === "string" && t.startsWith(f)) {
|
|
1533
|
+
t = deserializeProperty(t);
|
|
1534
|
+
return t;
|
|
1535
|
+
}
|
|
1536
|
+
if (t != null && !isComplexType(t)) {
|
|
1537
|
+
if (e & 4 /* Boolean */) {
|
|
1538
|
+
if (n && typeof t === "string") {
|
|
1539
|
+
return t === "" || !!t;
|
|
1540
|
+
} else {
|
|
1541
|
+
return t === "false" ? false : t === "" || !!t;
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
if (e & 2 /* Number */) {
|
|
1545
|
+
return typeof t === "string" ? parseFloat(t) : typeof t === "number" ? t : NaN;
|
|
1546
|
+
}
|
|
1547
|
+
if (e & 1 /* String */) {
|
|
1548
|
+
return String(t);
|
|
1549
|
+
}
|
|
1550
|
+
return t;
|
|
1551
|
+
}
|
|
1552
|
+
return t;
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
var getElement = t => t;
|
|
1556
|
+
|
|
1557
|
+
// src/runtime/event-emitter.ts
|
|
1558
|
+
var createEvent = (t, e, n) => {
|
|
1559
|
+
const r = getElement(t);
|
|
1560
|
+
return {
|
|
1561
|
+
emit: t => emitEvent(r, e, {
|
|
1562
|
+
bubbles: true,
|
|
1563
|
+
composed: true,
|
|
1564
|
+
cancelable: true,
|
|
1565
|
+
detail: t
|
|
1566
|
+
})
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
var emitEvent = (t, e, n) => {
|
|
1571
|
+
const r = O.ce(e, n);
|
|
1572
|
+
t.dispatchEvent(r);
|
|
1573
|
+
return r;
|
|
1574
|
+
};
|
|
1575
|
+
|
|
1576
|
+
var setAccessor = (t, e, n, r, i, s, l) => {
|
|
1577
|
+
if (n === r) {
|
|
1578
|
+
return;
|
|
1579
|
+
}
|
|
1580
|
+
let o = isMemberInElement(t, e);
|
|
1581
|
+
let f = e.toLowerCase();
|
|
1582
|
+
if (e === "class") {
|
|
1583
|
+
const e = t.classList;
|
|
1584
|
+
const i = parseClassList(n);
|
|
1585
|
+
let s = parseClassList(r);
|
|
1586
|
+
if ((t["s-si"] || t["s-sc"]) && l) {
|
|
1587
|
+
const n = t["s-sc"] || t["s-si"];
|
|
1588
|
+
s.push(n);
|
|
1589
|
+
i.forEach((t => {
|
|
1590
|
+
if (t.startsWith(n)) s.push(t);
|
|
1591
|
+
}));
|
|
1592
|
+
s = [ ...new Set(s) ].filter((t => t));
|
|
1593
|
+
e.add(...s);
|
|
1594
|
+
} else {
|
|
1595
|
+
e.remove(...i.filter((t => t && !s.includes(t))));
|
|
1596
|
+
e.add(...s.filter((t => t && !i.includes(t))));
|
|
1597
|
+
}
|
|
1598
|
+
} else if (e === "style") {
|
|
1599
|
+
{
|
|
1600
|
+
for (const e in n) {
|
|
1601
|
+
if (!r || r[e] == null) {
|
|
1602
|
+
if (e.includes("-")) {
|
|
1603
|
+
t.style.removeProperty(e);
|
|
1604
|
+
} else {
|
|
1605
|
+
t.style[e] = "";
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
for (const e in r) {
|
|
1611
|
+
if (!n || r[e] !== n[e]) {
|
|
1612
|
+
if (e.includes("-")) {
|
|
1613
|
+
t.style.setProperty(e, r[e]);
|
|
1614
|
+
} else {
|
|
1615
|
+
t.style[e] = r[e];
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
} else if (e === "key") ; else if (e === "ref") {
|
|
1620
|
+
if (r) {
|
|
1621
|
+
queueRefAttachment(r, t);
|
|
1622
|
+
}
|
|
1623
|
+
} else if (!t.__lookupSetter__(e) && e[0] === "o" && e[1] === "n") {
|
|
1624
|
+
if (e[2] === "-") {
|
|
1625
|
+
e = e.slice(3);
|
|
1626
|
+
} else if (isMemberInElement(w, f)) {
|
|
1627
|
+
e = f.slice(2);
|
|
1628
|
+
} else {
|
|
1629
|
+
e = f[2] + e.slice(3);
|
|
1630
|
+
}
|
|
1631
|
+
if (n || r) {
|
|
1632
|
+
const i = e.endsWith(P);
|
|
1633
|
+
e = e.replace(B, "");
|
|
1634
|
+
if (n) {
|
|
1635
|
+
O.rel(t, e, n, i);
|
|
1636
|
+
}
|
|
1637
|
+
if (r) {
|
|
1638
|
+
O.ael(t, e, r, i);
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
} else {
|
|
1642
|
+
const l = isComplexType(r);
|
|
1643
|
+
if ((o || l && r !== null) && !i) {
|
|
1644
|
+
try {
|
|
1645
|
+
if (!t.tagName.includes("-")) {
|
|
1646
|
+
const i = r == null ? "" : r;
|
|
1647
|
+
if (e === "list") {
|
|
1648
|
+
o = false;
|
|
1649
|
+
} else if (n == null || t[e] != i) {
|
|
1650
|
+
if (typeof t.__lookupSetter__(e) === "function") {
|
|
1651
|
+
t[e] = i;
|
|
1652
|
+
} else {
|
|
1653
|
+
t.setAttribute(e, i);
|
|
1654
|
+
}
|
|
1655
|
+
}
|
|
1656
|
+
} else if (t[e] !== r) {
|
|
1657
|
+
t[e] = r;
|
|
1658
|
+
}
|
|
1659
|
+
} catch (t) {}
|
|
1660
|
+
}
|
|
1661
|
+
let a = false;
|
|
1662
|
+
{
|
|
1663
|
+
if (f !== (f = f.replace(/^xlink\:?/, ""))) {
|
|
1664
|
+
e = f;
|
|
1665
|
+
a = true;
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
if (r == null || r === false) {
|
|
1669
|
+
if (r !== false || t.getAttribute(e) === "") {
|
|
1670
|
+
if (a) {
|
|
1671
|
+
t.removeAttributeNS(y, e);
|
|
1672
|
+
} else {
|
|
1673
|
+
t.removeAttribute(e);
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
} else if ((!o || s & 4 /* isHost */ || i) && !l && t.nodeType === 1 /* ElementNode */) {
|
|
1677
|
+
r = r === true ? "" : r;
|
|
1678
|
+
if (a) {
|
|
1679
|
+
t.setAttributeNS(y, e, r);
|
|
1680
|
+
} else {
|
|
1681
|
+
t.setAttribute(e, r);
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
}
|
|
1685
|
+
};
|
|
1686
|
+
|
|
1687
|
+
var F = /\s/;
|
|
1688
|
+
|
|
1689
|
+
var parseClassList = t => {
|
|
1690
|
+
if (typeof t === "object" && t && "baseVal" in t) {
|
|
1691
|
+
t = t.baseVal;
|
|
1692
|
+
}
|
|
1693
|
+
if (!t || typeof t !== "string") {
|
|
1694
|
+
return [];
|
|
1695
|
+
}
|
|
1696
|
+
return t.split(F);
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
var P = "Capture";
|
|
1700
|
+
|
|
1701
|
+
var B = new RegExp(P + "$");
|
|
1702
|
+
|
|
1703
|
+
// src/runtime/vdom/update-element.ts
|
|
1704
|
+
var updateElement = (t, e, n, r) => {
|
|
1705
|
+
const i = e.A.nodeType === 11 /* DocumentFragment */ && e.A.host ? e.A.host : e.A;
|
|
1706
|
+
const s = t && t.j || {};
|
|
1707
|
+
const l = e.j || {};
|
|
1708
|
+
{
|
|
1709
|
+
for (const t of sortedAttrNames(Object.keys(s))) {
|
|
1710
|
+
if (!(t in l)) {
|
|
1711
|
+
setAccessor(i, t, s[t], void 0, n, e.o, r);
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
for (const t of sortedAttrNames(Object.keys(l))) {
|
|
1716
|
+
setAccessor(i, t, s[t], l[t], n, e.o, r);
|
|
1717
|
+
}
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1720
|
+
function sortedAttrNames(t) {
|
|
1721
|
+
return t.includes("ref") ?
|
|
1722
|
+
// we need to sort these to ensure that `'ref'` is the last attr
|
|
1723
|
+
[ ...t.filter((t => t !== "ref")), "ref" ] :
|
|
1724
|
+
// no need to sort, return the original array
|
|
1725
|
+
t;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
var W;
|
|
1729
|
+
|
|
1730
|
+
var V = false;
|
|
1731
|
+
|
|
1732
|
+
var q = false;
|
|
1733
|
+
|
|
1734
|
+
var z = [];
|
|
1735
|
+
|
|
1736
|
+
var Y = [];
|
|
1737
|
+
|
|
1738
|
+
var createElm = (t, e, i) => {
|
|
1739
|
+
const s = e.O[i];
|
|
1740
|
+
let l = 0;
|
|
1741
|
+
let o;
|
|
1742
|
+
let f;
|
|
1743
|
+
if (s.S != null) {
|
|
1744
|
+
o = s.A = w.document.createTextNode(s.S);
|
|
1745
|
+
} else {
|
|
1746
|
+
if (!q) {
|
|
1747
|
+
q = s.C === "svg";
|
|
1748
|
+
}
|
|
1749
|
+
if (!w.document) {
|
|
1750
|
+
throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
|
|
1751
|
+
}
|
|
1752
|
+
o = s.A = w.document.createElementNS(q ? n : r, s.C);
|
|
1753
|
+
if (q && s.C === "foreignObject") {
|
|
1754
|
+
q = false;
|
|
1755
|
+
}
|
|
1756
|
+
{
|
|
1757
|
+
updateElement(null, s, q);
|
|
1758
|
+
}
|
|
1759
|
+
if (s.O) {
|
|
1760
|
+
const e = s.C === "template" ? o.content : o;
|
|
1761
|
+
for (l = 0; l < s.O.length; ++l) {
|
|
1762
|
+
f = createElm(t, s, l);
|
|
1763
|
+
if (f) {
|
|
1764
|
+
e.appendChild(f);
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
{
|
|
1769
|
+
if (s.C === "svg") {
|
|
1770
|
+
q = false;
|
|
1771
|
+
} else if (o.tagName === "foreignObject") {
|
|
1772
|
+
q = true;
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
o["s-hn"] = W;
|
|
1777
|
+
return o;
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
var relocateToHostRoot = t => {
|
|
1781
|
+
O.o |= 1 /* isTmpDisconnected */;
|
|
1782
|
+
const e = t.closest(W.toLowerCase());
|
|
1783
|
+
if (e != null) {
|
|
1784
|
+
const n = Array.from(e.__childNodes || e.childNodes).find((t => t["s-cr"]));
|
|
1785
|
+
const r = Array.from(t.__childNodes || t.childNodes);
|
|
1786
|
+
for (const t of n ? r.reverse() : r) {
|
|
1787
|
+
if (t["s-sh"] != null) {
|
|
1788
|
+
insertBefore(e, t, n != null ? n : null);
|
|
1789
|
+
t["s-sh"] = void 0;
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
O.o &= -2 /* isTmpDisconnected */;
|
|
1794
|
+
};
|
|
1795
|
+
|
|
1796
|
+
var addVnodes = (t, e, n, r, i, s) => {
|
|
1797
|
+
let l = t;
|
|
1798
|
+
let o;
|
|
1799
|
+
if (l.shadowRoot && l.tagName === W) {
|
|
1800
|
+
l = l.shadowRoot;
|
|
1801
|
+
}
|
|
1802
|
+
if (n.C === "template") {
|
|
1803
|
+
l = l.content;
|
|
1804
|
+
}
|
|
1805
|
+
for (;i <= s; ++i) {
|
|
1806
|
+
if (r[i]) {
|
|
1807
|
+
o = createElm(null, n, i);
|
|
1808
|
+
if (o) {
|
|
1809
|
+
r[i].A = o;
|
|
1810
|
+
insertBefore(l, o, e);
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
}
|
|
1814
|
+
};
|
|
1815
|
+
|
|
1816
|
+
var removeVnodes = (t, e, n) => {
|
|
1817
|
+
for (let r = e; r <= n; ++r) {
|
|
1818
|
+
const e = t[r];
|
|
1819
|
+
if (e) {
|
|
1820
|
+
const t = e.A;
|
|
1821
|
+
nullifyVNodeRefs(e);
|
|
1822
|
+
if (t) {
|
|
1823
|
+
t.remove();
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
}
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
var updateChildren = (t, e, n, r, i = false) => {
|
|
1830
|
+
let s = 0;
|
|
1831
|
+
let l = 0;
|
|
1832
|
+
let o = 0;
|
|
1833
|
+
let f = 0;
|
|
1834
|
+
let a = e.length - 1;
|
|
1835
|
+
let c = e[0];
|
|
1836
|
+
let u = e[a];
|
|
1837
|
+
let d = r.length - 1;
|
|
1838
|
+
let v = r[0];
|
|
1839
|
+
let p = r[d];
|
|
1840
|
+
let b;
|
|
1841
|
+
let g;
|
|
1842
|
+
const m = n.C === "template" ? t.content : t;
|
|
1843
|
+
while (s <= a && l <= d) {
|
|
1844
|
+
if (c == null) {
|
|
1845
|
+
c = e[++s];
|
|
1846
|
+
} else if (u == null) {
|
|
1847
|
+
u = e[--a];
|
|
1848
|
+
} else if (v == null) {
|
|
1849
|
+
v = r[++l];
|
|
1850
|
+
} else if (p == null) {
|
|
1851
|
+
p = r[--d];
|
|
1852
|
+
} else if (isSameVnode(c, v, i)) {
|
|
1853
|
+
patch(c, v, i);
|
|
1854
|
+
c = e[++s];
|
|
1855
|
+
v = r[++l];
|
|
1856
|
+
} else if (isSameVnode(u, p, i)) {
|
|
1857
|
+
patch(u, p, i);
|
|
1858
|
+
u = e[--a];
|
|
1859
|
+
p = r[--d];
|
|
1860
|
+
} else if (isSameVnode(c, p, i)) {
|
|
1861
|
+
patch(c, p, i);
|
|
1862
|
+
insertBefore(m, c.A, u.A.nextSibling);
|
|
1863
|
+
c = e[++s];
|
|
1864
|
+
p = r[--d];
|
|
1865
|
+
} else if (isSameVnode(u, v, i)) {
|
|
1866
|
+
patch(u, v, i);
|
|
1867
|
+
insertBefore(m, u.A, c.A);
|
|
1868
|
+
u = e[--a];
|
|
1869
|
+
v = r[++l];
|
|
1870
|
+
} else {
|
|
1871
|
+
o = -1;
|
|
1872
|
+
{
|
|
1873
|
+
for (f = s; f <= a; ++f) {
|
|
1874
|
+
if (e[f] && e[f].N !== null && e[f].N === v.N) {
|
|
1875
|
+
o = f;
|
|
1876
|
+
break;
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
}
|
|
1880
|
+
if (o >= 0) {
|
|
1881
|
+
g = e[o];
|
|
1882
|
+
if (g.C !== v.C) {
|
|
1883
|
+
b = createElm(e && e[l], n, o);
|
|
1884
|
+
} else {
|
|
1885
|
+
patch(g, v, i);
|
|
1886
|
+
e[o] = void 0;
|
|
1887
|
+
b = g.A;
|
|
1888
|
+
}
|
|
1889
|
+
v = r[++l];
|
|
1890
|
+
} else {
|
|
1891
|
+
b = createElm(e && e[l], n, l);
|
|
1892
|
+
v = r[++l];
|
|
1893
|
+
}
|
|
1894
|
+
if (b) {
|
|
1895
|
+
{
|
|
1896
|
+
insertBefore(c.A.parentNode, b, c.A);
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
if (s > a) {
|
|
1902
|
+
addVnodes(t, r[d + 1] == null ? null : r[d + 1].A, n, r, l, d);
|
|
1903
|
+
} else if (l > d) {
|
|
1904
|
+
removeVnodes(e, s, a);
|
|
1905
|
+
}
|
|
1906
|
+
};
|
|
1907
|
+
|
|
1908
|
+
var isSameVnode = (t, e, n = false) => {
|
|
1909
|
+
if (t.C === e.C) {
|
|
1910
|
+
if (!n) {
|
|
1911
|
+
return t.N === e.N;
|
|
1912
|
+
}
|
|
1913
|
+
if (n && !t.N && e.N) {
|
|
1914
|
+
t.N = e.N;
|
|
1915
|
+
}
|
|
1916
|
+
return true;
|
|
1917
|
+
}
|
|
1918
|
+
return false;
|
|
1919
|
+
};
|
|
1920
|
+
|
|
1921
|
+
var patch = (t, n, r = false) => {
|
|
1922
|
+
const i = n.A = t.A;
|
|
1923
|
+
const s = t.O;
|
|
1924
|
+
const l = n.O;
|
|
1925
|
+
const o = n.C;
|
|
1926
|
+
const f = n.S;
|
|
1927
|
+
if (f == null) {
|
|
1928
|
+
{
|
|
1929
|
+
q = o === "svg" ? true : o === "foreignObject" ? false : q;
|
|
1930
|
+
}
|
|
1931
|
+
{
|
|
1932
|
+
if (o === "slot" && !V) {
|
|
1933
|
+
if (t.k !== n.k) {
|
|
1934
|
+
n.A["s-sn"] = n.k || "";
|
|
1935
|
+
relocateToHostRoot(n.A.parentElement);
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
updateElement(t, n, q, r);
|
|
1939
|
+
}
|
|
1940
|
+
if (s !== null && l !== null) {
|
|
1941
|
+
updateChildren(i, s, n, l, r);
|
|
1942
|
+
} else if (l !== null) {
|
|
1943
|
+
if (t.S !== null) {
|
|
1944
|
+
i.textContent = "";
|
|
1945
|
+
}
|
|
1946
|
+
addVnodes(i, null, n, l, 0, l.length - 1);
|
|
1947
|
+
} else if (
|
|
1948
|
+
// don't do this on initial render as it can cause non-hydrated content to be removed
|
|
1949
|
+
!r && e.updatable && s !== null) {
|
|
1950
|
+
removeVnodes(s, 0, s.length - 1);
|
|
1951
|
+
} else if (r && e.updatable && s !== null && l === null) {
|
|
1952
|
+
n.O = s;
|
|
1953
|
+
}
|
|
1954
|
+
if (q && o === "svg") {
|
|
1955
|
+
q = false;
|
|
1956
|
+
}
|
|
1957
|
+
} else if (t.S !== f) {
|
|
1958
|
+
i.data = f;
|
|
1959
|
+
}
|
|
1960
|
+
};
|
|
1961
|
+
|
|
1962
|
+
var nullifyVNodeRefs = t => {
|
|
1963
|
+
{
|
|
1964
|
+
if (t.j && t.j.ref) {
|
|
1965
|
+
z.push((() => t.j.ref(null)));
|
|
1966
|
+
}
|
|
1967
|
+
t.O && t.O.map(nullifyVNodeRefs);
|
|
1968
|
+
}
|
|
1969
|
+
};
|
|
1970
|
+
|
|
1971
|
+
var queueRefAttachment = (t, e) => {
|
|
1972
|
+
{
|
|
1973
|
+
Y.push((() => t(e)));
|
|
1974
|
+
}
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1977
|
+
var flushQueuedRefCallbacks = () => {
|
|
1978
|
+
{
|
|
1979
|
+
z.forEach((t => t()));
|
|
1980
|
+
z.length = 0;
|
|
1981
|
+
Y.forEach((t => t()));
|
|
1982
|
+
Y.length = 0;
|
|
1983
|
+
}
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
var insertBefore = (t, e, n, r) => {
|
|
1987
|
+
if (t.__insertBefore) {
|
|
1988
|
+
return t.__insertBefore(e, n);
|
|
1989
|
+
} else {
|
|
1990
|
+
return t == null ? void 0 : t.insertBefore(e, n);
|
|
1991
|
+
}
|
|
1992
|
+
};
|
|
1993
|
+
|
|
1994
|
+
var renderVdom = (t, e, n = false) => {
|
|
1995
|
+
const r = t.$hostElement$;
|
|
1996
|
+
const i = t.t;
|
|
1997
|
+
const s = t.I || newVNode(null, null);
|
|
1998
|
+
const l = isHost(e);
|
|
1999
|
+
const o = l ? e : h(null, null, e);
|
|
2000
|
+
W = r.tagName;
|
|
2001
|
+
if (i.L) {
|
|
2002
|
+
o.j = o.j || {};
|
|
2003
|
+
i.L.forEach((([t, e]) => {
|
|
2004
|
+
{
|
|
2005
|
+
o.j[e] = r[t];
|
|
2006
|
+
}
|
|
2007
|
+
}));
|
|
2008
|
+
}
|
|
2009
|
+
if (n && o.j) {
|
|
2010
|
+
for (const t of Object.keys(o.j)) {
|
|
2011
|
+
if (r.hasAttribute(t) && ![ "key", "ref", "style", "class" ].includes(t)) {
|
|
2012
|
+
o.j[t] = r[t];
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
}
|
|
2016
|
+
o.C = null;
|
|
2017
|
+
o.o |= 4 /* isHost */;
|
|
2018
|
+
t.I = o;
|
|
2019
|
+
o.A = s.A = r.shadowRoot || r;
|
|
2020
|
+
V = !!(i.o & 1 /* shadowDomEncapsulation */) && !(i.o & 128 /* shadowNeedsScopedCss */);
|
|
2021
|
+
patch(s, o, n);
|
|
2022
|
+
flushQueuedRefCallbacks();
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
// src/runtime/update-component.ts
|
|
2026
|
+
var attachToAncestor = (t, e) => {
|
|
2027
|
+
if (e && !t.T && e["s-p"]) {
|
|
2028
|
+
const n = e["s-p"].push(new Promise((r => t.T = () => {
|
|
2029
|
+
e["s-p"].splice(n - 1, 1);
|
|
2030
|
+
r();
|
|
2031
|
+
})));
|
|
2032
|
+
}
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
var scheduleUpdate = (t, e) => {
|
|
2036
|
+
{
|
|
2037
|
+
t.o |= 16 /* isQueuedForUpdate */;
|
|
2038
|
+
}
|
|
2039
|
+
if (t.o & 4 /* isWaitingForChildren */) {
|
|
2040
|
+
t.o |= 512 /* needsRerender */;
|
|
2041
|
+
return;
|
|
2042
|
+
}
|
|
2043
|
+
attachToAncestor(t, t.U);
|
|
2044
|
+
const dispatch = () => dispatchHooks(t, e);
|
|
2045
|
+
if (e) {
|
|
2046
|
+
queueMicrotask((() => {
|
|
2047
|
+
dispatch();
|
|
2048
|
+
}));
|
|
2049
|
+
return;
|
|
2050
|
+
}
|
|
2051
|
+
return I(dispatch);
|
|
2052
|
+
};
|
|
2053
|
+
|
|
2054
|
+
var dispatchHooks = (t, e) => {
|
|
2055
|
+
const n = t.$hostElement$;
|
|
2056
|
+
const r = createTime("scheduleUpdate", t.t.$);
|
|
2057
|
+
const i = n;
|
|
2058
|
+
if (!i) {
|
|
2059
|
+
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`);
|
|
2060
|
+
}
|
|
2061
|
+
let s;
|
|
2062
|
+
if (e) {
|
|
2063
|
+
emitLifecycleEvent(n, "componentWillLoad");
|
|
2064
|
+
s = safeCall(i, "componentWillLoad", void 0, n);
|
|
2065
|
+
} else {
|
|
2066
|
+
emitLifecycleEvent(n, "componentWillUpdate");
|
|
2067
|
+
s = safeCall(i, "componentWillUpdate", void 0, n);
|
|
2068
|
+
}
|
|
2069
|
+
emitLifecycleEvent(n, "componentWillRender");
|
|
2070
|
+
s = enqueue(s, (() => safeCall(i, "componentWillRender", void 0, n)));
|
|
2071
|
+
r();
|
|
2072
|
+
return enqueue(s, (() => updateComponent(t, i, e)));
|
|
2073
|
+
};
|
|
2074
|
+
|
|
2075
|
+
var enqueue = (t, e) => isPromisey(t) ? t.then(e).catch((t => {
|
|
2076
|
+
console.error(t);
|
|
2077
|
+
e();
|
|
2078
|
+
})) : e();
|
|
2079
|
+
|
|
2080
|
+
var isPromisey = t => t instanceof Promise || t && t.then && typeof t.then === "function";
|
|
2081
|
+
|
|
2082
|
+
var updateComponent = async (t, e, n) => {
|
|
2083
|
+
var r;
|
|
2084
|
+
const i = t.$hostElement$;
|
|
2085
|
+
const s = createTime("update", t.t.$);
|
|
2086
|
+
const l = i["s-rc"];
|
|
2087
|
+
if (n) {
|
|
2088
|
+
attachStyles(t);
|
|
2089
|
+
}
|
|
2090
|
+
const o = createTime("render", t.t.$);
|
|
2091
|
+
{
|
|
2092
|
+
callRender(t, e, i, n);
|
|
2093
|
+
}
|
|
2094
|
+
if (l) {
|
|
2095
|
+
l.map((t => t()));
|
|
2096
|
+
i["s-rc"] = void 0;
|
|
2097
|
+
}
|
|
2098
|
+
o();
|
|
2099
|
+
s();
|
|
2100
|
+
{
|
|
2101
|
+
const e = (r = i["s-p"]) != null ? r : [];
|
|
2102
|
+
const postUpdate = () => postUpdateComponent(t);
|
|
2103
|
+
if (e.length === 0) {
|
|
2104
|
+
postUpdate();
|
|
2105
|
+
} else {
|
|
2106
|
+
Promise.all(e).then(postUpdate);
|
|
2107
|
+
t.o |= 4 /* isWaitingForChildren */;
|
|
2108
|
+
e.length = 0;
|
|
2109
|
+
}
|
|
2110
|
+
}
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
var callRender = (t, e, n, r) => {
|
|
2114
|
+
try {
|
|
2115
|
+
e = e.render();
|
|
2116
|
+
{
|
|
2117
|
+
t.o &= -17 /* isQueuedForUpdate */;
|
|
2118
|
+
}
|
|
2119
|
+
{
|
|
2120
|
+
t.o |= 2 /* hasRendered */;
|
|
2121
|
+
}
|
|
2122
|
+
{
|
|
2123
|
+
{
|
|
2124
|
+
{
|
|
2125
|
+
renderVdom(t, e, r);
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
} catch (e) {
|
|
2130
|
+
consoleError(e, t.$hostElement$);
|
|
2131
|
+
}
|
|
2132
|
+
return null;
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
var postUpdateComponent = t => {
|
|
2136
|
+
const e = t.t.$;
|
|
2137
|
+
const n = t.$hostElement$;
|
|
2138
|
+
const r = createTime("postUpdate", e);
|
|
2139
|
+
const i = n;
|
|
2140
|
+
const s = t.U;
|
|
2141
|
+
safeCall(i, "componentDidRender", void 0, n);
|
|
2142
|
+
emitLifecycleEvent(n, "componentDidRender");
|
|
2143
|
+
if (!(t.o & 64 /* hasLoadedComponent */)) {
|
|
2144
|
+
t.o |= 64 /* hasLoadedComponent */;
|
|
2145
|
+
{
|
|
2146
|
+
addHydratedFlag(n);
|
|
2147
|
+
}
|
|
2148
|
+
safeCall(i, "componentDidLoad", void 0, n);
|
|
2149
|
+
emitLifecycleEvent(n, "componentDidLoad");
|
|
2150
|
+
r();
|
|
2151
|
+
{
|
|
2152
|
+
t.h(n);
|
|
2153
|
+
if (!s) {
|
|
2154
|
+
appDidLoad();
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
} else {
|
|
2158
|
+
safeCall(i, "componentDidUpdate", void 0, n);
|
|
2159
|
+
emitLifecycleEvent(n, "componentDidUpdate");
|
|
2160
|
+
r();
|
|
2161
|
+
}
|
|
2162
|
+
{
|
|
2163
|
+
if (t.T) {
|
|
2164
|
+
t.T();
|
|
2165
|
+
t.T = void 0;
|
|
2166
|
+
}
|
|
2167
|
+
if (t.o & 512 /* needsRerender */) {
|
|
2168
|
+
nextTick((() => scheduleUpdate(t, false)));
|
|
2169
|
+
}
|
|
2170
|
+
t.o &= -517;
|
|
2171
|
+
}
|
|
2172
|
+
};
|
|
2173
|
+
|
|
2174
|
+
var appDidLoad = e => {
|
|
2175
|
+
var n;
|
|
2176
|
+
nextTick((() => emitEvent(w, "appload", {
|
|
2177
|
+
detail: {
|
|
2178
|
+
namespace: t
|
|
2179
|
+
}
|
|
2180
|
+
})));
|
|
2181
|
+
{
|
|
2182
|
+
if ((n = O.H) == null ? void 0 : n.size) {
|
|
2183
|
+
O.H.clear();
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2188
|
+
var safeCall = (t, e, n, r) => {
|
|
2189
|
+
if (t && t[e]) {
|
|
2190
|
+
try {
|
|
2191
|
+
return t[e](n);
|
|
2192
|
+
} catch (t) {
|
|
2193
|
+
consoleError(t, r);
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
return void 0;
|
|
2197
|
+
};
|
|
2198
|
+
|
|
2199
|
+
var emitLifecycleEvent = (e, n) => {
|
|
2200
|
+
{
|
|
2201
|
+
emitEvent(e, "stencil_" + n, {
|
|
2202
|
+
bubbles: true,
|
|
2203
|
+
composed: true,
|
|
2204
|
+
detail: {
|
|
2205
|
+
namespace: t
|
|
2206
|
+
}
|
|
2207
|
+
});
|
|
2208
|
+
}
|
|
2209
|
+
};
|
|
2210
|
+
|
|
2211
|
+
var addHydratedFlag = t => {
|
|
2212
|
+
var n;
|
|
2213
|
+
return t.classList.add((n = e.hydratedSelectorName) != null ? n : "hydrated");
|
|
2214
|
+
};
|
|
2215
|
+
|
|
2216
|
+
// src/runtime/set-value.ts
|
|
2217
|
+
var getValue = (t, e) => getHostRef(t).l.get(e);
|
|
2218
|
+
|
|
2219
|
+
var setValue = (t, e, n, r) => {
|
|
2220
|
+
const i = getHostRef(t);
|
|
2221
|
+
if (!i) {
|
|
2222
|
+
return;
|
|
2223
|
+
}
|
|
2224
|
+
const s = t;
|
|
2225
|
+
const l = i.l.get(e);
|
|
2226
|
+
const o = i.o;
|
|
2227
|
+
const f = s;
|
|
2228
|
+
n = parsePropertyValue(n, r.i[e][0], !!(r.o & 64 /* formAssociated */));
|
|
2229
|
+
const a = Number.isNaN(l) && Number.isNaN(n);
|
|
2230
|
+
const c = n !== l && !a;
|
|
2231
|
+
if (c) {
|
|
2232
|
+
i.l.set(e, n);
|
|
2233
|
+
if (r.F) {
|
|
2234
|
+
const t = r.F[e];
|
|
2235
|
+
if (t) {
|
|
2236
|
+
t.map((t => {
|
|
2237
|
+
try {
|
|
2238
|
+
const [[r, s]] = Object.entries(t);
|
|
2239
|
+
if (o & 128 /* isWatchReady */ || s & 1 /* Immediate */) {
|
|
2240
|
+
if (!f) {
|
|
2241
|
+
i.P.push((() => {
|
|
2242
|
+
i.B[r](n, l, e);
|
|
2243
|
+
}));
|
|
2244
|
+
} else {
|
|
2245
|
+
f[r](n, l, e);
|
|
2246
|
+
}
|
|
2247
|
+
}
|
|
2248
|
+
} catch (t) {
|
|
2249
|
+
consoleError(t, s);
|
|
2250
|
+
}
|
|
2251
|
+
}));
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
if ((o & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
2255
|
+
if (f.componentShouldUpdate) {
|
|
2256
|
+
if (f.componentShouldUpdate(n, l, e) === false) {
|
|
2257
|
+
return;
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
scheduleUpdate(i, false);
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
};
|
|
2264
|
+
|
|
2265
|
+
// src/runtime/proxy-component.ts
|
|
2266
|
+
var proxyComponent = (t, n, r) => {
|
|
2267
|
+
var i, s;
|
|
2268
|
+
const l = t.prototype;
|
|
2269
|
+
if (n.o & 64 /* formAssociated */ && r & 1 /* isElementConstructor */) {
|
|
2270
|
+
S.forEach((t => {
|
|
2271
|
+
const e = l[t];
|
|
2272
|
+
Object.defineProperty(l, t, {
|
|
2273
|
+
value(...n) {
|
|
2274
|
+
var r;
|
|
2275
|
+
const i = getHostRef(this);
|
|
2276
|
+
const s = this;
|
|
2277
|
+
if (!s) {
|
|
2278
|
+
(r = i == null ? void 0 : i.v) == null ? void 0 : r.then((e => {
|
|
2279
|
+
const r = e[t];
|
|
2280
|
+
typeof r === "function" && r.call(e, ...n);
|
|
2281
|
+
}));
|
|
2282
|
+
} else {
|
|
2283
|
+
const t = e;
|
|
2284
|
+
typeof t === "function" && t.call(s, ...n);
|
|
2285
|
+
}
|
|
2286
|
+
}
|
|
2287
|
+
});
|
|
2288
|
+
}));
|
|
2289
|
+
}
|
|
2290
|
+
{
|
|
2291
|
+
{
|
|
2292
|
+
if (t.watchers && !n.F) {
|
|
2293
|
+
n.F = t.watchers;
|
|
2294
|
+
}
|
|
2295
|
+
if (t.deserializers && !n.W) {
|
|
2296
|
+
n.W = t.deserializers;
|
|
2297
|
+
}
|
|
2298
|
+
if (t.serializers && !n.V) {
|
|
2299
|
+
n.V = t.serializers;
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
const r = Object.entries((i = n.i) != null ? i : {});
|
|
2303
|
+
r.map((([t, [e]]) => {
|
|
2304
|
+
if (e & 31 /* Prop */ || e & 32 /* State */) {
|
|
2305
|
+
const {get: r, set: i} = Object.getOwnPropertyDescriptor(l, t) || {};
|
|
2306
|
+
if (r) n.i[t][0] |= 2048 /* Getter */;
|
|
2307
|
+
if (i) n.i[t][0] |= 4096 /* Setter */;
|
|
2308
|
+
{
|
|
2309
|
+
Object.defineProperty(l, t, {
|
|
2310
|
+
get() {
|
|
2311
|
+
{
|
|
2312
|
+
return r ? r.apply(this) : getValue(this, t);
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
configurable: true,
|
|
2316
|
+
enumerable: true
|
|
2317
|
+
});
|
|
2318
|
+
}
|
|
2319
|
+
Object.defineProperty(l, t, {
|
|
2320
|
+
set(r) {
|
|
2321
|
+
const s = getHostRef(this);
|
|
2322
|
+
if (!s) {
|
|
2323
|
+
return;
|
|
2324
|
+
}
|
|
2325
|
+
if (i) {
|
|
2326
|
+
const l = e & 32 /* State */ ? this[t] : s.$hostElement$[t];
|
|
2327
|
+
if (typeof l === "undefined" && s.l.get(t)) {
|
|
2328
|
+
r = s.l.get(t);
|
|
2329
|
+
}
|
|
2330
|
+
i.apply(this, [ parsePropertyValue(r, e, !!(n.o & 64 /* formAssociated */)) ]);
|
|
2331
|
+
r = e & 32 /* State */ ? this[t] : s.$hostElement$[t];
|
|
2332
|
+
setValue(this, t, r, n);
|
|
2333
|
+
return;
|
|
2334
|
+
}
|
|
2335
|
+
{
|
|
2336
|
+
setValue(this, t, r, n);
|
|
2337
|
+
return;
|
|
2338
|
+
}
|
|
2339
|
+
}
|
|
2340
|
+
});
|
|
2341
|
+
}
|
|
2342
|
+
}));
|
|
2343
|
+
{
|
|
2344
|
+
const i = new Map;
|
|
2345
|
+
l.attributeChangedCallback = function(t, s, o) {
|
|
2346
|
+
O.jmp((() => {
|
|
2347
|
+
var f;
|
|
2348
|
+
const a = i.get(t);
|
|
2349
|
+
const c = getHostRef(this);
|
|
2350
|
+
if (this.hasOwnProperty(a) && e.lazyLoad) ;
|
|
2351
|
+
if (l.hasOwnProperty(a) && typeof this[a] === "number" && // cast type to number to avoid TS compiler issues
|
|
2352
|
+
this[a] == o) {
|
|
2353
|
+
return;
|
|
2354
|
+
} else if (a == null) {
|
|
2355
|
+
const e = c == null ? void 0 : c.o;
|
|
2356
|
+
if (c && e && !(e & 8 /* isConstructingInstance */) && o !== s) {
|
|
2357
|
+
const r = this;
|
|
2358
|
+
const i = r;
|
|
2359
|
+
const l = (f = n.F) == null ? void 0 : f[t];
|
|
2360
|
+
l == null ? void 0 : l.forEach((n => {
|
|
2361
|
+
const [[r, l]] = Object.entries(n);
|
|
2362
|
+
if (i[r] != null && (e & 128 /* isWatchReady */ || l & 1 /* Immediate */)) {
|
|
2363
|
+
i[r].call(i, o, s, t);
|
|
2364
|
+
}
|
|
2365
|
+
}));
|
|
2366
|
+
}
|
|
2367
|
+
return;
|
|
2368
|
+
}
|
|
2369
|
+
const u = r.find((([t]) => t === a));
|
|
2370
|
+
if (u && u[1][0] & 4 /* Boolean */) {
|
|
2371
|
+
o = o === null || o === "false" ? false : true;
|
|
2372
|
+
}
|
|
2373
|
+
const d = Object.getOwnPropertyDescriptor(l, a);
|
|
2374
|
+
if (o != this[a] && (!d.get || !!d.set)) {
|
|
2375
|
+
this[a] = o;
|
|
2376
|
+
}
|
|
2377
|
+
}));
|
|
2378
|
+
};
|
|
2379
|
+
t.observedAttributes = Array.from(
|
|
2380
|
+
new Set([ ...Object.keys((s = n.F) != null ? s : {}), ...r.filter((([t, e]) => e[0] & 31 /* HasAttribute */)).map((([t, e]) => {
|
|
2381
|
+
var r;
|
|
2382
|
+
const s = e[1] || t;
|
|
2383
|
+
i.set(s, t);
|
|
2384
|
+
if (e[0] & 512 /* ReflectAttr */) {
|
|
2385
|
+
(r = n.L) == null ? void 0 : r.push([ t, s ]);
|
|
2386
|
+
}
|
|
2387
|
+
return s;
|
|
2388
|
+
})) ]));
|
|
2389
|
+
}
|
|
2390
|
+
}
|
|
2391
|
+
return t;
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2394
|
+
// src/runtime/initialize-component.ts
|
|
2395
|
+
var initializeComponent = async (t, n, r, i) => {
|
|
2396
|
+
let s;
|
|
2397
|
+
if ((n.o & 32 /* hasInitializedComponent */) === 0) {
|
|
2398
|
+
n.o |= 32 /* hasInitializedComponent */;
|
|
2399
|
+
{
|
|
2400
|
+
s = t.constructor;
|
|
2401
|
+
const e = t.localName;
|
|
2402
|
+
customElements.whenDefined(e).then((() => n.o |= 128 /* isWatchReady */));
|
|
2403
|
+
}
|
|
2404
|
+
if (s && s.style) {
|
|
2405
|
+
let t;
|
|
2406
|
+
if (typeof s.style === "string") {
|
|
2407
|
+
t = s.style;
|
|
2408
|
+
}
|
|
2409
|
+
const n = getScopeId(r);
|
|
2410
|
+
if (!a.has(n) || e.hotModuleReplacement) {
|
|
2411
|
+
const e = createTime("registerStyles", r.$);
|
|
2412
|
+
registerStyle(n, t, !!(r.o & 1 /* shadowDomEncapsulation */));
|
|
2413
|
+
e();
|
|
2414
|
+
}
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2417
|
+
const l = n.U;
|
|
2418
|
+
const schedule = () => scheduleUpdate(n, true);
|
|
2419
|
+
if (l && l["s-rc"]) {
|
|
2420
|
+
l["s-rc"].push(schedule);
|
|
2421
|
+
} else {
|
|
2422
|
+
schedule();
|
|
2423
|
+
}
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
var fireConnectedCallback = (t, e) => {};
|
|
2427
|
+
|
|
2428
|
+
// src/runtime/connected-callback.ts
|
|
2429
|
+
var connectedCallback = t => {
|
|
2430
|
+
if ((O.o & 1 /* isTmpDisconnected */) === 0) {
|
|
2431
|
+
const e = getHostRef(t);
|
|
2432
|
+
if (!e) {
|
|
2433
|
+
return;
|
|
2434
|
+
}
|
|
2435
|
+
const n = e.t;
|
|
2436
|
+
const r = createTime("connectedCallback", n.$);
|
|
2437
|
+
if (!(e.o & 1 /* hasConnected */)) {
|
|
2438
|
+
e.o |= 1 /* hasConnected */;
|
|
2439
|
+
let r;
|
|
2440
|
+
{
|
|
2441
|
+
r = t.getAttribute(b);
|
|
2442
|
+
if (r) {
|
|
2443
|
+
if (n.o & 1 /* shadowDomEncapsulation */) {
|
|
2444
|
+
const e = addStyle(t.shadowRoot, n);
|
|
2445
|
+
t.classList.remove(e + "-h", e + "-s");
|
|
2446
|
+
}
|
|
2447
|
+
initializeClientHydrate(t, n.$, r, e);
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
{
|
|
2451
|
+
let n = t;
|
|
2452
|
+
while (n = n.parentNode || n.host) {
|
|
2453
|
+
if (n.nodeType === 1 /* ElementNode */ && n.hasAttribute("s-id") && n["s-p"] || n["s-p"]) {
|
|
2454
|
+
attachToAncestor(e, e.U = n);
|
|
2455
|
+
break;
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
}
|
|
2459
|
+
if (n.i) {
|
|
2460
|
+
Object.entries(n.i).map((([e, [n]]) => {
|
|
2461
|
+
if (n & 31 /* Prop */ && e in t && t[e] !== Object.prototype[e]) {
|
|
2462
|
+
const n = t[e];
|
|
2463
|
+
delete t[e];
|
|
2464
|
+
t[e] = n;
|
|
2465
|
+
}
|
|
2466
|
+
}));
|
|
2467
|
+
}
|
|
2468
|
+
{
|
|
2469
|
+
initializeComponent(t, e, n);
|
|
2470
|
+
}
|
|
2471
|
+
} else {
|
|
2472
|
+
addHostEventListeners(t, e, n.q);
|
|
2473
|
+
if (e == null ? void 0 : e.B) ; else if (e == null ? void 0 : e.v) {
|
|
2474
|
+
e.v.then((() => fireConnectedCallback()));
|
|
2475
|
+
}
|
|
2476
|
+
}
|
|
2477
|
+
r();
|
|
2478
|
+
}
|
|
2479
|
+
};
|
|
2480
|
+
|
|
2481
|
+
var disconnectedCallback = async t => {
|
|
2482
|
+
if ((O.o & 1 /* isTmpDisconnected */) === 0) {
|
|
2483
|
+
const e = getHostRef(t);
|
|
2484
|
+
{
|
|
2485
|
+
if (e == null ? void 0 : e.Y) {
|
|
2486
|
+
e.Y.map((t => t()));
|
|
2487
|
+
e.Y = void 0;
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
}
|
|
2491
|
+
if (R.has(t)) {
|
|
2492
|
+
R.delete(t);
|
|
2493
|
+
}
|
|
2494
|
+
if (t.shadowRoot && R.has(t.shadowRoot)) {
|
|
2495
|
+
R.delete(t.shadowRoot);
|
|
2496
|
+
}
|
|
2497
|
+
};
|
|
2498
|
+
|
|
2499
|
+
var proxyCustomElement = (t, e) => {
|
|
2500
|
+
const n = {
|
|
2501
|
+
o: e[0],
|
|
2502
|
+
$: e[1]
|
|
2503
|
+
};
|
|
2504
|
+
{
|
|
2505
|
+
n.i = e[2];
|
|
2506
|
+
}
|
|
2507
|
+
{
|
|
2508
|
+
n.q = e[3];
|
|
2509
|
+
}
|
|
2510
|
+
{
|
|
2511
|
+
n.F = t.F;
|
|
2512
|
+
n.W = t.W;
|
|
2513
|
+
n.V = t.V;
|
|
2514
|
+
}
|
|
2515
|
+
{
|
|
2516
|
+
n.L = [];
|
|
2517
|
+
}
|
|
2518
|
+
if (!(n.o & 1 /* shadowDomEncapsulation */) && n.o & 256 /* hasSlot */) {
|
|
2519
|
+
{
|
|
2520
|
+
patchPseudoShadowDom(t.prototype);
|
|
2521
|
+
}
|
|
2522
|
+
} else {
|
|
2523
|
+
patchCloneNode(t.prototype);
|
|
2524
|
+
}
|
|
2525
|
+
{
|
|
2526
|
+
hydrateScopedToShadow();
|
|
2527
|
+
}
|
|
2528
|
+
const r = t.prototype.connectedCallback;
|
|
2529
|
+
const i = t.prototype.disconnectedCallback;
|
|
2530
|
+
Object.assign(t.prototype, {
|
|
2531
|
+
__hasHostListenerAttached: false,
|
|
2532
|
+
__registerHost() {
|
|
2533
|
+
registerHost(this, n);
|
|
2534
|
+
},
|
|
2535
|
+
connectedCallback() {
|
|
2536
|
+
if (!this.__hasHostListenerAttached) {
|
|
2537
|
+
const t = getHostRef(this);
|
|
2538
|
+
if (!t) {
|
|
2539
|
+
return;
|
|
2540
|
+
}
|
|
2541
|
+
addHostEventListeners(this, t, n.q);
|
|
2542
|
+
this.__hasHostListenerAttached = true;
|
|
2543
|
+
}
|
|
2544
|
+
connectedCallback(this);
|
|
2545
|
+
if (r) {
|
|
2546
|
+
r.call(this);
|
|
2547
|
+
}
|
|
2548
|
+
},
|
|
2549
|
+
disconnectedCallback() {
|
|
2550
|
+
disconnectedCallback(this);
|
|
2551
|
+
if (i) {
|
|
2552
|
+
i.call(this);
|
|
2553
|
+
}
|
|
2554
|
+
},
|
|
2555
|
+
__attachShadow() {
|
|
2556
|
+
{
|
|
2557
|
+
if (!this.shadowRoot) {
|
|
2558
|
+
createShadowRoot.call(this, n);
|
|
2559
|
+
} else {
|
|
2560
|
+
if (this.shadowRoot.mode !== "open") {
|
|
2561
|
+
throw new Error(`Unable to re-use existing shadow root for ${n.$}! Mode is set to ${this.shadowRoot.mode} but Stencil only supports open shadow roots.`);
|
|
2562
|
+
}
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
});
|
|
2567
|
+
t.is = n.$;
|
|
2568
|
+
return proxyComponent(t, n, 1 /* isElementConstructor */ | 2 /* proxyState */);
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2571
|
+
var addHostEventListeners = (t, e, n, r) => {
|
|
2572
|
+
if (n && w.document) {
|
|
2573
|
+
n.map((([n, r, i]) => {
|
|
2574
|
+
const s = getHostListenerTarget(w.document, t, n);
|
|
2575
|
+
const l = hostListenerProxy(e, i);
|
|
2576
|
+
const o = hostListenerOpts(n);
|
|
2577
|
+
O.ael(s, r, l, o);
|
|
2578
|
+
(e.Y = e.Y || []).push((() => O.rel(s, r, l, o)));
|
|
2579
|
+
}));
|
|
2580
|
+
}
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
var hostListenerProxy = (t, e) => n => {
|
|
2584
|
+
try {
|
|
2585
|
+
{
|
|
2586
|
+
t.$hostElement$[e](n);
|
|
2587
|
+
}
|
|
2588
|
+
} catch (e) {
|
|
2589
|
+
consoleError(e, t.$hostElement$);
|
|
2590
|
+
}
|
|
2591
|
+
};
|
|
2592
|
+
|
|
2593
|
+
var getHostListenerTarget = (t, e, n) => {
|
|
2594
|
+
if (n & 4 /* TargetDocument */) {
|
|
2595
|
+
return t;
|
|
2596
|
+
}
|
|
2597
|
+
if (n & 8 /* TargetWindow */) {
|
|
2598
|
+
return w;
|
|
2599
|
+
}
|
|
2600
|
+
if (n & 16 /* TargetBody */) {
|
|
2601
|
+
return t.body;
|
|
2602
|
+
}
|
|
2603
|
+
return e;
|
|
2604
|
+
};
|
|
2605
|
+
|
|
2606
|
+
var hostListenerOpts = t => C ? {
|
|
2607
|
+
passive: (t & 1 /* Passive */) !== 0,
|
|
2608
|
+
capture: (t & 2 /* Capture */) !== 0
|
|
2609
|
+
} : (t & 2 /* Capture */) !== 0
|
|
2610
|
+
// src/runtime/nonce.ts
|
|
2611
|
+
;
|
|
2612
|
+
|
|
2613
|
+
var setNonce = t => O.m = t
|
|
2614
|
+
// src/runtime/platform-options.ts
|
|
2615
|
+
;
|
|
2616
|
+
|
|
2617
|
+
var setPlatformOptions = t => Object.assign(O, t)
|
|
2618
|
+
// src/runtime/render.ts
|
|
2619
|
+
;
|
|
2620
|
+
|
|
2621
|
+
function render(t, e) {
|
|
2622
|
+
const n = {
|
|
2623
|
+
o: 0,
|
|
2624
|
+
$: e.tagName
|
|
2625
|
+
};
|
|
2626
|
+
const r = {
|
|
2627
|
+
t: n,
|
|
2628
|
+
$hostElement$: e
|
|
2629
|
+
};
|
|
2630
|
+
renderVdom(r, t);
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
function transformTag(t) {
|
|
2634
|
+
return t;
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
// src/runtime/vdom/jsx-runtime.ts
|
|
2638
|
+
function jsx(t, e, n) {
|
|
2639
|
+
const r = e || {};
|
|
2640
|
+
const {children: i, ...s} = r;
|
|
2641
|
+
let l = s;
|
|
2642
|
+
if (n !== void 0 && !("key" in s)) {
|
|
2643
|
+
l = {
|
|
2644
|
+
...s,
|
|
2645
|
+
key: n
|
|
2646
|
+
};
|
|
2647
|
+
}
|
|
2648
|
+
if (l && Object.keys(l).length === 0) {
|
|
2649
|
+
l = null;
|
|
2650
|
+
}
|
|
2651
|
+
if (i !== void 0) {
|
|
2652
|
+
if (Array.isArray(i)) {
|
|
2653
|
+
return h(t, l, ...i);
|
|
2654
|
+
}
|
|
2655
|
+
if (typeof i === "object" && i !== null && "o" in i) {
|
|
2656
|
+
return h(t, l, i);
|
|
2657
|
+
}
|
|
2658
|
+
return h(t, l, i);
|
|
2659
|
+
}
|
|
2660
|
+
return h(t, l);
|
|
2661
|
+
}
|
|
2662
|
+
|
|
2663
|
+
function jsxs(t, e, n) {
|
|
2664
|
+
return jsx(t, e, n);
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
export { j as H, setNonce as a, setPlatformOptions as b, createEvent as c, jsx as d, L as e, getAssetPath as g, jsxs as j, proxyCustomElement as p, render as r, setAssetPath as s, transformTag as t };
|
|
2668
|
+
//# sourceMappingURL=p-DDCN9O42.js.map
|
|
2669
|
+
//# sourceMappingURL=p-DDCN9O42.js.map
|