@nanoporetech-digital/components 8.0.0-alpha.0 → 8.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{algolia-data-JweofGji.js → algolia-data-CSD3I9WJ.js} +1 -1
- package/dist/cjs/{component-store-DKMzj8Ei.js → component-store-DS6c_IIg.js} +1 -1
- package/dist/cjs/{dom-a3wgHxbn.js → dom-3kyE_RMm.js} +1 -1
- package/dist/cjs/{fade-run1oYFS.js → fade-C3xL9ihU.js} +3 -3
- package/dist/cjs/{form-control-zW-pmQ5Y.js → form-control-BVH0tPGy.js} +2 -2
- package/dist/cjs/{fullscreen-DGiusO_n.js → fullscreen-pHBD1-3e.js} +3 -3
- package/dist/cjs/{index-DYD4xvxr.js → index-IR1lkhwT.js} +170 -178
- package/dist/cjs/{index-BV7Y7Zvi.js → index-yq5hsIxW.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/{lazyload-CavfHrQV.js → lazyload-D2pj9J7r.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{modal-lJ_KdrUQ.js → modal-DZVjwBg8.js} +1 -1
- package/dist/cjs/nano-accordion.cjs.entry.js +3 -3
- package/dist/cjs/nano-alert.cjs.entry.js +7 -7
- package/dist/cjs/nano-algolia-filter.cjs.entry.js +4 -4
- package/dist/cjs/nano-algolia-pagination.cjs.entry.js +2 -2
- package/dist/cjs/nano-algolia-results.cjs.entry.js +3 -3
- package/dist/cjs/nano-algolia.cjs.entry.js +5 -5
- package/dist/cjs/nano-animation.cjs.entry.js +4 -4
- package/dist/cjs/nano-avatar_5.cjs.entry.js +9 -9
- package/dist/cjs/nano-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/nano-card-carousel.cjs.entry.js +3 -3
- package/dist/cjs/nano-card.cjs.entry.js +1 -1
- package/dist/cjs/nano-checkbox-group.cjs.entry.js +2 -2
- package/dist/cjs/nano-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/nano-collapsible-comparison.cjs.entry.js +2 -2
- package/dist/cjs/nano-components.cjs.js +3 -3
- package/dist/cjs/nano-content-links.cjs.entry.js +1 -1
- package/dist/cjs/nano-cta.cjs.entry.js +9 -8
- package/dist/cjs/{nano-data-table-DlJaR4KG.js → nano-data-table-BkyqQiTG.js} +5 -5
- package/dist/cjs/nano-data-table.cjs.entry.js +6 -6
- package/dist/cjs/nano-datalist_3.cjs.entry.js +11 -10
- package/dist/cjs/nano-date-input.cjs.entry.js +2 -2
- package/dist/cjs/nano-date-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/nano-details.cjs.entry.js +9 -6
- package/dist/cjs/nano-dialog.cjs.entry.js +8 -8
- package/dist/cjs/nano-dropdown_2.cjs.entry.js +7 -7
- package/dist/cjs/nano-field-validator.cjs.entry.js +3 -3
- package/dist/cjs/nano-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/nano-footer.cjs.entry.js +1 -1
- package/dist/cjs/nano-global-nav.cjs.entry.js +19 -15
- package/dist/cjs/nano-grid-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-grid_2.cjs.entry.js +3 -3
- package/dist/cjs/nano-hero.cjs.entry.js +2 -2
- package/dist/cjs/nano-icon-item.cjs.entry.js +1 -1
- package/dist/cjs/nano-icon_3.cjs.entry.js +2 -2
- package/dist/cjs/nano-in-page-nav.cjs.entry.js +4 -4
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +9 -12
- package/dist/cjs/nano-masked-overflow.cjs.entry.js +9 -9
- package/dist/cjs/nano-menu-drawer.cjs.entry.js +3 -3
- package/dist/cjs/nano-more-less.cjs.entry.js +4 -4
- package/dist/cjs/nano-nav-item.cjs.entry.js +5 -5
- package/dist/cjs/nano-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/nano-range.cjs.entry.js +2 -2
- package/dist/cjs/nano-rating.cjs.entry.js +2 -2
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js +2 -2
- package/dist/cjs/nano-slide.cjs.entry.js +2 -2
- package/dist/cjs/{nano-slides-D5q9vQ4P.js → nano-slides-B3-XISfn.js} +6 -6
- package/dist/cjs/nano-slides.cjs.entry.js +3 -3
- package/dist/cjs/nano-sortable.cjs.entry.js +2 -2
- package/dist/cjs/nano-spinner.cjs.entry.js +2 -2
- package/dist/cjs/nano-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/nano-sticker.cjs.entry.js +6 -9
- package/dist/cjs/nano-tab-content.cjs.entry.js +2 -2
- package/dist/cjs/nano-tab-group.cjs.entry.js +5 -5
- package/dist/cjs/nano-tab.cjs.entry.js +2 -2
- package/dist/cjs/nano-table.cjs.entry.js +5 -5
- package/dist/cjs/{page-dots-D-QQnR4W.js → page-dots-DHz-mQDL.js} +3 -3
- package/dist/cjs/{renderer-SkVn69pT.js → renderer-h0yo23iy.js} +1 -1
- package/dist/cjs/{scroll-DXjC771e.js → scroll-_aiH0KkA.js} +1 -1
- package/dist/cjs/{slot-CBvkJee9.js → slot-Hlplqf1Z.js} +1 -1
- package/dist/cjs/{tabbable-M9OUrhLE.js → tabbable-CkzmpQhq.js} +1 -1
- package/dist/cjs/{table.worker-FkRsUwRY.js → table.worker-NnDnfSFs.js} +6 -6
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/animation/animation.js +6 -3
- package/dist/collection/components/breadcrumb/breadcrumb.css +6 -5
- package/dist/collection/components/card-carousel/card-carousel.css +4 -4
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/cta/cta.js +8 -11
- package/dist/collection/components/datalist/datalist.js +9 -8
- package/dist/collection/components/details/details.js +6 -3
- package/dist/collection/components/dropdown/dropdown.js +1 -1
- package/dist/collection/components/field-validator/field-validator.js +1 -1
- package/dist/collection/components/form-control/form-control.js +1 -1
- package/dist/collection/components/global-nav/global-nav.css +4 -4
- package/dist/collection/components/global-nav/global-nav.js +35 -14
- package/dist/collection/components/grid/grid.css +3 -0
- package/dist/collection/components/in-page-nav/in-page-nav.css +5 -5
- package/dist/collection/components/intersection-observe/intersection-observe.js +6 -9
- package/dist/collection/components/masked-overflow/masked-overflow.css +3 -4
- package/dist/collection/components/masked-overflow/masked-overflow.js +8 -6
- package/dist/collection/components/menu/menu.js +3 -5
- package/dist/collection/components/more-less/more-less.js +6 -3
- package/dist/collection/components/slides/slides.js +1 -1
- package/dist/collection/components/sortable/sortable.js +5 -5
- package/dist/collection/components/sticker/sticker.js +2 -5
- package/dist/collection/components/table/table.js +3 -2
- package/dist/collection/components/tabs/tab-group.css +3 -3
- package/dist/collection/global/script/global.js +1 -30
- package/dist/components/cta.js +10 -9
- package/dist/components/datalist.js +9 -8
- package/dist/components/details.js +6 -3
- package/dist/components/form-control.js +1 -1
- package/dist/components/grid.js +1 -1
- package/dist/components/index.js +1 -30
- package/dist/components/masked-overflow.js +5 -5
- package/dist/components/menu.js +3 -5
- package/dist/components/nano-animation.js +3 -3
- package/dist/components/nano-breadcrumb.js +1 -1
- package/dist/components/nano-card-carousel.js +1 -1
- package/dist/components/nano-checkbox.js +4 -4
- package/dist/components/nano-global-nav.js +19 -14
- package/dist/components/nano-in-page-nav.js +1 -1
- package/dist/components/nano-intersection-observe.js +6 -9
- package/dist/components/nano-more-less.js +2 -2
- package/dist/components/nano-tab-group.js +1 -1
- package/dist/components/nano-table.js +4 -4
- package/dist/components/sticker.js +2 -5
- package/dist/esm/{algolia-data-BNDipgId.js → algolia-data-D6wnbV__.js} +1 -1
- package/dist/esm/{component-store-DqCSKpAK.js → component-store-CH5BI3Tg.js} +1 -1
- package/dist/esm/{dom-CF0Ycs9M.js → dom-Cb7FUtXp.js} +1 -1
- package/dist/esm/{fade-CdIyPeai.js → fade-BTgTGh6q.js} +3 -3
- package/dist/esm/{form-control-DXPQniNX.js → form-control-BOVGZF9R.js} +2 -2
- package/dist/esm/{fullscreen-C4GllGer.js → fullscreen-BTpZyXkc.js} +3 -3
- package/dist/esm/{index-CFYZ-ZOT.js → index-DXvE-U_j.js} +156 -164
- package/dist/esm/{index-DxKBolVo.js → index-Dw3NZx59.js} +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/{lazyload-pTbJ7q2S.js → lazyload-BYoZ43fz.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{modal-B50PWCuY.js → modal-B_AxJQQp.js} +1 -1
- package/dist/esm/nano-accordion.entry.js +3 -3
- package/dist/esm/nano-alert.entry.js +7 -7
- package/dist/esm/nano-algolia-filter.entry.js +4 -4
- package/dist/esm/nano-algolia-pagination.entry.js +2 -2
- package/dist/esm/nano-algolia-results.entry.js +3 -3
- package/dist/esm/nano-algolia.entry.js +5 -5
- package/dist/esm/nano-animation.entry.js +4 -4
- package/dist/esm/nano-avatar_5.entry.js +9 -9
- package/dist/esm/nano-breadcrumb.entry.js +2 -2
- package/dist/esm/nano-card-carousel.entry.js +3 -3
- package/dist/esm/nano-card.entry.js +1 -1
- package/dist/esm/nano-checkbox-group.entry.js +2 -2
- package/dist/esm/nano-checkbox.entry.js +6 -6
- package/dist/esm/nano-collapsible-comparison.entry.js +2 -2
- package/dist/esm/nano-components.js +4 -4
- package/dist/esm/nano-content-links.entry.js +1 -1
- package/dist/esm/nano-cta.entry.js +9 -8
- package/dist/esm/{nano-data-table-DsTG4mqR.js → nano-data-table-DDBCyBmN.js} +5 -5
- package/dist/esm/nano-data-table.entry.js +6 -6
- package/dist/esm/nano-datalist_3.entry.js +11 -10
- package/dist/esm/nano-date-input.entry.js +2 -2
- package/dist/esm/nano-date-picker_2.entry.js +4 -4
- package/dist/esm/nano-details.entry.js +9 -6
- package/dist/esm/nano-dialog.entry.js +8 -8
- package/dist/esm/nano-dropdown_2.entry.js +7 -7
- package/dist/esm/nano-field-validator.entry.js +3 -3
- package/dist/esm/nano-file-upload.entry.js +2 -2
- package/dist/esm/nano-footer.entry.js +1 -1
- package/dist/esm/nano-global-nav.entry.js +19 -15
- package/dist/esm/nano-grid-item.entry.js +1 -1
- package/dist/esm/nano-grid_2.entry.js +3 -3
- package/dist/esm/nano-hero.entry.js +2 -2
- package/dist/esm/nano-icon-item.entry.js +1 -1
- package/dist/esm/nano-icon_3.entry.js +2 -2
- package/dist/esm/nano-in-page-nav.entry.js +4 -4
- package/dist/esm/nano-intersection-observe.entry.js +9 -12
- package/dist/esm/nano-masked-overflow.entry.js +9 -9
- package/dist/esm/nano-menu-drawer.entry.js +3 -3
- package/dist/esm/nano-more-less.entry.js +4 -4
- package/dist/esm/nano-nav-item.entry.js +5 -5
- package/dist/esm/nano-progress-bar.entry.js +2 -2
- package/dist/esm/nano-range.entry.js +2 -2
- package/dist/esm/nano-rating.entry.js +2 -2
- package/dist/esm/nano-resize-observe_2.entry.js +2 -2
- package/dist/esm/nano-slide.entry.js +2 -2
- package/dist/esm/{nano-slides-BcyK9Szs.js → nano-slides-CvZxKg4X.js} +6 -6
- package/dist/esm/nano-slides.entry.js +3 -3
- package/dist/esm/nano-sortable.entry.js +2 -2
- package/dist/esm/nano-spinner.entry.js +2 -2
- package/dist/esm/nano-split-pane.entry.js +2 -2
- package/dist/esm/nano-sticker.entry.js +6 -9
- package/dist/esm/nano-tab-content.entry.js +2 -2
- package/dist/esm/nano-tab-group.entry.js +5 -5
- package/dist/esm/nano-tab.entry.js +2 -2
- package/dist/esm/nano-table.entry.js +5 -5
- package/dist/esm/{page-dots-Cq8hjoql.js → page-dots-_tkpExQM.js} +3 -3
- package/dist/esm/{renderer-LJzCFyMt.js → renderer-BUaAsDso.js} +1 -1
- package/dist/esm/{scroll-BRRzrkAi.js → scroll-iCYjzh9N.js} +1 -1
- package/dist/esm/{slot-DBzVpliZ.js → slot-DYFgWo5f.js} +1 -1
- package/dist/esm/{tabbable-BpHwrUYt.js → tabbable-C4l-rYq9.js} +1 -1
- package/dist/esm/{table.worker-BoX4CUXT.js → table.worker-webIEBZt.js} +6 -6
- package/dist/nano-components/{algolia-data-BNDipgId.js → algolia-data-D6wnbV__.js} +1 -1
- package/dist/nano-components/{component-store-DqCSKpAK.js → component-store-CH5BI3Tg.js} +1 -1
- package/dist/nano-components/{dom-CF0Ycs9M.js → dom-Cb7FUtXp.js} +1 -1
- package/dist/nano-components/{fade-CdIyPeai.js → fade-BTgTGh6q.js} +1 -1
- package/dist/nano-components/form-control-BOVGZF9R.js +4 -0
- package/dist/nano-components/{fullscreen-C4GllGer.js → fullscreen-BTpZyXkc.js} +1 -1
- package/dist/nano-components/index-DXvE-U_j.js +5 -0
- package/dist/nano-components/{index-DxKBolVo.js → index-Dw3NZx59.js} +1 -1
- package/dist/nano-components/index.esm.js +1 -1
- package/dist/nano-components/{lazyload-pTbJ7q2S.js → lazyload-BYoZ43fz.js} +1 -1
- package/dist/nano-components/{modal-B50PWCuY.js → modal-B_AxJQQp.js} +1 -1
- package/dist/nano-components/nano-accordion.entry.js +1 -1
- package/dist/nano-components/nano-alert.entry.js +1 -1
- package/dist/nano-components/nano-algolia-filter.entry.js +1 -1
- package/dist/nano-components/nano-algolia-pagination.entry.js +1 -1
- package/dist/nano-components/nano-algolia-results.entry.js +1 -1
- package/dist/nano-components/nano-algolia.entry.js +1 -1
- package/dist/nano-components/nano-animation.entry.js +1 -1
- package/dist/nano-components/nano-avatar_5.entry.js +1 -1
- package/dist/nano-components/nano-breadcrumb.entry.js +1 -1
- package/dist/nano-components/nano-card-carousel.entry.js +1 -1
- package/dist/nano-components/nano-card.entry.js +1 -1
- package/dist/nano-components/nano-checkbox-group.entry.js +1 -1
- package/dist/nano-components/nano-checkbox.entry.js +1 -1
- package/dist/nano-components/nano-collapsible-comparison.entry.js +1 -1
- package/dist/nano-components/nano-components.css +65 -40
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-content-links.entry.js +1 -1
- package/dist/nano-components/nano-cta.entry.js +1 -1
- package/dist/nano-components/{nano-data-table-DsTG4mqR.js → nano-data-table-DDBCyBmN.js} +1 -1
- package/dist/nano-components/nano-data-table.entry.js +1 -1
- package/dist/nano-components/nano-datalist_3.entry.js +1 -1
- package/dist/nano-components/nano-date-input.entry.js +1 -1
- package/dist/nano-components/nano-date-picker_2.entry.js +1 -1
- package/dist/nano-components/nano-details.entry.js +1 -1
- package/dist/nano-components/nano-dialog.entry.js +1 -1
- package/dist/nano-components/nano-dropdown_2.entry.js +1 -1
- package/dist/nano-components/nano-field-validator.entry.js +1 -1
- package/dist/nano-components/nano-file-upload.entry.js +1 -1
- package/dist/nano-components/nano-footer.entry.js +1 -1
- package/dist/nano-components/nano-global-nav.entry.js +1 -1
- package/dist/nano-components/nano-grid-item.entry.js +1 -1
- package/dist/nano-components/nano-grid_2.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-icon-item.entry.js +1 -1
- package/dist/nano-components/nano-icon_3.entry.js +1 -1
- package/dist/nano-components/nano-in-page-nav.entry.js +1 -1
- package/dist/nano-components/nano-intersection-observe.entry.js +1 -1
- package/dist/nano-components/nano-masked-overflow.entry.js +1 -1
- package/dist/nano-components/nano-menu-drawer.entry.js +1 -1
- package/dist/nano-components/nano-more-less.entry.js +1 -1
- package/dist/nano-components/nano-nav-item.entry.js +1 -1
- package/dist/nano-components/nano-progress-bar.entry.js +1 -1
- package/dist/nano-components/nano-range.entry.js +1 -1
- package/dist/nano-components/nano-rating.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
- package/dist/nano-components/nano-slide.entry.js +1 -1
- package/dist/nano-components/{nano-slides-BcyK9Szs.js → nano-slides-CvZxKg4X.js} +4 -4
- package/dist/nano-components/nano-slides.entry.js +1 -1
- package/dist/nano-components/nano-sortable.entry.js +1 -1
- package/dist/nano-components/nano-spinner.entry.js +1 -1
- package/dist/nano-components/nano-split-pane.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-tab-content.entry.js +1 -1
- package/dist/nano-components/nano-tab-group.entry.js +1 -1
- package/dist/nano-components/nano-tab.entry.js +1 -1
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/{page-dots-Cq8hjoql.js → page-dots-_tkpExQM.js} +1 -1
- package/dist/nano-components/{renderer-LJzCFyMt.js → renderer-BUaAsDso.js} +1 -1
- package/dist/nano-components/{scroll-BRRzrkAi.js → scroll-iCYjzh9N.js} +1 -1
- package/dist/nano-components/{slot-DBzVpliZ.js → slot-DYFgWo5f.js} +1 -1
- package/dist/nano-components/{tabbable-BpHwrUYt.js → tabbable-C4l-rYq9.js} +1 -1
- package/dist/nano-components/{table.worker-BoX4CUXT.js → table.worker-webIEBZt.js} +1 -1
- package/dist/stencil.config.js +1 -2
- package/dist/style/components.css +1 -1
- package/dist/style/components.css.map +1 -1
- package/dist/style/core.css +1 -1
- package/dist/style/core.css.map +1 -1
- package/dist/style/dark.css +1 -1
- package/dist/style/dark.css.map +1 -1
- package/dist/style/nano.css +1 -1
- package/dist/style/nano.css.map +1 -1
- package/dist/types/components/animation/animation.d.ts +3 -0
- package/dist/types/components/cta/cta.d.ts +0 -2
- package/dist/types/components/global-nav/global-nav.d.ts +4 -2
- package/dist/types/components/masked-overflow/masked-overflow.d.ts +4 -2
- package/dist/types/components/more-less/more-less.d.ts +4 -1
- package/dist/types/components/slides/slides-interface.d.ts +1 -1
- package/dist/types/components.d.ts +40 -16
- package/docs-json.json +79 -28
- package/docs-vscode.json +2 -2
- package/hydrate/index.js +300 -1355
- package/hydrate/index.mjs +300 -1355
- package/package.json +3 -3
- package/dist/nano-components/form-control-DXPQniNX.js +0 -4
- package/dist/nano-components/index-CFYZ-ZOT.js +0 -5
- package/dist/plugins/postcss/scoped-part.js +0 -26
- package/dist/types/Users/John.Jenkins/projects/nano-components/packages/components/.stencil/plugins/postcss/scoped-part.d.ts +0 -8
- package/dist/types/utils/testing/index.d.ts +0 -50
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
import { a as clamp } from './math-BEqsTfVK.js';
|
7
7
|
import { c as createColorClasses } from './theme-aiuyr36I.js';
|
8
8
|
import { a as debounceEvent } from './throttle-C93FMm2Z.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
import { a as clamp } from './math-BEqsTfVK.js';
|
7
7
|
|
8
8
|
const ratingCss = ".sc-nano-rating-h,*.sc-nano-rating,*.sc-nano-rating::before,*.sc-nano-rating::after{box-sizing:border-box}[hidden].sc-nano-rating{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-rating-h,*.sc-nano-rating,*.sc-nano-rating::before,*.sc-nano-rating::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-rating-h,*.sc-nano-rating,*.sc-nano-rating::before,*.sc-nano-rating::after{box-sizing:border-box}[hidden].sc-nano-rating{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-rating-h,*.sc-nano-rating,*.sc-nano-rating::before,*.sc-nano-rating::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-rating-h{--symbol-color:#b5aea7;--symbol-color-active:#f5cc49;--symbol-spacing:0.25rem;--focus-shadow:var(--nano-control-focus-shadow, 0 0 0 0.1875rem var(--nano-control-focus-color, rgba(144, 198, 231, 0.8)));display:inline-block}.rating-wrap.sc-nano-rating{position:relative;margin-block:0;margin-inline:calc(var(--symbol-spacing) * -1)}.rating.sc-nano-rating{position:relative;border-radius:5px;vertical-align:middle;inline-size:100%;transition:box-shadow 0.15s ease}.rating.sc-nano-rating:focus{outline:none}.rating.sc-nano-rating:focus-visible:focus{box-shadow:var(--focus-shadow)}.rating__symbols.sc-nano-rating{display:flex;align-items:center;position:relative;font-size:var(--symbol-size);color:var(--symbol-color);white-space:nowrap;cursor:pointer;line-height:0;justify-content:space-between}.rating__symbols--inactive.sc-nano-rating .rating__symbol.sc-nano-rating>.sc-nano-rating:not(.nano-icon){background-color:currentcolor !important}.rating__symbols.sc-nano-rating>*.sc-nano-rating{margin:var(--symbol-spacing)}.rating__symbols--indicator.sc-nano-rating{position:absolute;inset-block-start:0;inset-inline-start:0;color:var(--symbol-color-active);pointer-events:none;inline-size:100%}.rating__symbol.sc-nano-rating{transition:0.2s transform;text-align:center}.rating__symbol--hover.sc-nano-rating{transform:scale(1.2)}.rating--disabled.sc-nano-rating .rating__symbols.sc-nano-rating,.rating--readonly.sc-nano-rating .rating__symbols.sc-nano-rating{cursor:default}.rating--disabled.sc-nano-rating .rating__symbol.sc-nano-rating,.rating--readonly.sc-nano-rating .rating__symbol.sc-nano-rating{transform:none !important}.rating--disabled.sc-nano-rating{opacity:0.5}.rating--disabled.sc-nano-rating .rating__symbols.sc-nano-rating{cursor:not-allowed}";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, f as readTask, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, f as readTask, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
|
7
7
|
const ResizeObserve = class {
|
8
8
|
constructor(hostRef) {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
|
7
7
|
const slideCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{display:flex;align-items:center;justify-content:center;inline-size:100%;min-block-size:100%;font-size:18px;text-align:center;box-sizing:border-box;overflow:hidden;transition:opacity 0.2s;opacity:0;flex-direction:column}:host([ready]){opacity:1}:host(:not([ready])){flex:1 0 auto}";
|
8
8
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, f as readTask, e as writeTask, d as Host } from './index-
|
5
|
-
import { t as transformTag, h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, f as readTask, e as writeTask, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { t as transformTag, h } from './renderer-BUaAsDso.js';
|
6
6
|
|
7
7
|
function EvEmitter() { }
|
8
8
|
const proto$4 = EvEmitter.prototype;
|
@@ -2852,19 +2852,19 @@ const Slides = class {
|
|
2852
2852
|
}
|
2853
2853
|
async loadFlickityModules(opts) {
|
2854
2854
|
if (!this.hasFullScreenModule && opts.fullscreen) {
|
2855
|
-
await import('./fullscreen-
|
2855
|
+
await import('./fullscreen-BTpZyXkc.js');
|
2856
2856
|
this.hasFullScreenModule = true;
|
2857
2857
|
}
|
2858
2858
|
if (!this.hasLazyLoadModule && opts.lazyLoad) {
|
2859
|
-
await import('./lazyload-
|
2859
|
+
await import('./lazyload-BYoZ43fz.js');
|
2860
2860
|
this.hasLazyLoadModule = true;
|
2861
2861
|
}
|
2862
2862
|
if (!this.hasDotsModule && opts.pageDots) {
|
2863
|
-
await import('./page-dots-
|
2863
|
+
await import('./page-dots-_tkpExQM.js');
|
2864
2864
|
this.hasDotsModule = true;
|
2865
2865
|
}
|
2866
2866
|
if (!this.hasFadeModule && opts.fade) {
|
2867
|
-
await import('./fade-
|
2867
|
+
await import('./fade-BTgTGh6q.js');
|
2868
2868
|
this.hasFadeModule = true;
|
2869
2869
|
}
|
2870
2870
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
export { S as nano_slides } from './nano-slides-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
export { S as nano_slides } from './nano-slides-CvZxKg4X.js';
|
5
|
+
import './index-DXvE-U_j.js';
|
6
|
+
import './renderer-BUaAsDso.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { a as getElement, e as writeTask, f as readTask, r as registerInstance, c as createEvent, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { a as getElement, e as writeTask, f as readTask, r as registerInstance, c as createEvent, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
import { d as drag } from './drag-BLOEuv-q.js';
|
7
7
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
8
8
|
import { a as addListeners } from './events-ClRFmcmJ.js';
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, a as getElement, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, a as getElement, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
|
7
7
|
const spinnerCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{display:inline-block;--base-color-rgb:var(--nano-indicator-rgb, 84 140 175);--indicator-color:var(\n --nano-indicator-color,\n rgb(var(--base-color-rgb) / 100%)\n );--track-color:var(--nano-track-color, rgb(var(--base-color-rgb) / 20%));--overlay-color:var(--nano-layer-overlay-light, rgb(255 255 255 / 70%))}.spinner{display:flex;flex-direction:column;align-items:center;justify-content:center}:host([overlay]:not([overlay=false])) .spinner{position:absolute;inset:0}:host([overlay]:not([overlay=false])) .spinner .spinner__loader,:host([overlay]:not([overlay=false])) .spinner .spinner__text{z-index:1}.spinner__overlay{background:var(--overlay-color);position:absolute;inset:0;z-index:0}.spinner__loader{font-size:var(--spinner-scale, 1em)}.spinner__spin{display:block;margin:auto;inline-size:1em;block-size:1em;border-radius:50%;border:solid 0.1em var(--track-color);border-block-start-color:var(--indicator-color);border-inline-end-color:var(--indicator-color);border-inline-start-color:var(--indicator-color);animation:1s linear infinite spin}.spinner__dna{font-size:0.2286em;display:flex}.spinner__dnatrack{position:relative;padding-block:0;padding-inline:0.625em;block-size:4.375em;inline-size:0.625em;overflow:hidden}.spinner__dnatrack::before{content:\"\";position:absolute;inset-block-start:1.875em;inset-inline-start:50%;transform:translateX(-50%) translateZ(0);inline-size:0.0625em;inline-size:max(.0625em, 1px);block-size:0.625em;background:var(--track-color);animation:flex 1.5s linear infinite;transform-origin:center center}.spinner__dnatrack--2::before{animation:flex 1.5s -1.3s linear infinite}.spinner__dnatrack--3::before{animation:flex 1.5s -1.1s linear infinite}.spinner__dnatrack--4::before{animation:flex 1.5s -0.9s linear infinite}.spinner__dnatrack--5::before{animation:flex 1.5s -0.75s linear infinite}.spinner__dnadot{position:absolute;inline-size:0.5em;block-size:0.5em;border-radius:50%;background:var(--indicator-color);animation:rotate 1.5s linear infinite;transform-origin:center center;inset-inline-start:50%;transform:translateX(-50%) translateZ(0) translateY(0)}.spinner__dnadot--2{animation:rotate 1.5s -0.75s linear infinite}.spinner__dnadot--3{animation:rotate 1.5s -1.3s linear infinite}.spinner__dnadot--4{animation:rotate 1.5s -0.55s linear infinite}.spinner__dnadot--5{animation:rotate 1.5s -1.1s linear infinite}.spinner__dnadot--6{animation:rotate 1.5s -0.35s linear infinite}.spinner__dnadot--7{animation:rotate 1.5s -0.9s linear infinite}.spinner__dnadot--8{animation:rotate 1.5s -0.15s linear infinite}.spinner__dnadot--9{animation:rotate 1.5s -0.75s linear infinite}.spinner__dnadot--10{animation:rotate 1.5s 0s linear infinite}.spinner__text{text-align:center;position:relative;margin-block-start:0.5em}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes rotate{0%,100%{transform:translateX(-50%) translateY(0) scale(1)}25%{transform:translateX(-50%) translateY(1.875em) scale(2)}50%{transform:translateX(-50%) translateY(3.75em) scale(1)}75%{transform:translateX(-50%) translateY(1.875em) scale(0.3)}}@keyframes flex{0%,100%{transform:translateX(-50%) scaleY(5)}25%{transform:translateX(-50%) scaleY(1)}50%{transform:translateX(-50%) scaleY(5)}75%{transform:translateX(-50%) scaleY(1)}}";
|
8
8
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { a as getElement, r as registerInstance, c as createEvent, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { a as getElement, r as registerInstance, c as createEvent, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
import { d as drag } from './drag-BLOEuv-q.js';
|
7
7
|
import { a as clamp } from './math-BEqsTfVK.js';
|
8
8
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-
|
5
|
-
import { a as getOffset } from './dom-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { a as getOffset } from './dom-Cb7FUtXp.js';
|
6
6
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
7
|
-
import { f as findScrollParent } from './scroll-
|
8
|
-
import { t as transformTag, h } from './renderer-
|
7
|
+
import { f as findScrollParent } from './scroll-iCYjzh9N.js';
|
8
|
+
import { t as transformTag, h } from './renderer-BUaAsDso.js';
|
9
9
|
|
10
10
|
const stickerCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--stuck-left:initial;--stuck-right:initial;--stuck-z-index:var(--nano-layer-index-menubar, 10);--top-hide:translateY(-110%);--bottom-hide:translateY(110%);display:block;max-inline-size:100%}:host([sticky]){position:sticky;transition:0.3s ease transform;will-change:min-block-size}:host([sticky][stuck]){inset-inline:var(--stuck-left) var(--stuck-right);z-index:var(--stuck-z-index) !important}:host([sticky][hide][placed-top]){transform:var(--top-hide)}:host([sticky][hide][placed-bottom]){transform:var(--bottom-hide)}:host([sticky][index=\"1\"]){z-index:calc(var(--stuck-z-index) + 1)}:host([sticky][index=\"2\"]){z-index:calc(var(--stuck-z-index) + 2)}:host([sticky][index=\"3\"]){z-index:calc(var(--stuck-z-index) + 3)}:host([sticky][index=\"4\"]){z-index:calc(var(--stuck-z-index) + 4)}:host([sticky][index=\"5\"]){z-index:calc(var(--stuck-z-index) + 5)}.sticker{display:inherit;max-inline-size:inherit;inline-size:100%}.sticker:not(.stuck){inline-size:auto !important}.sticker.sticky{transition:0.3s ease all;position:relative}:host([index=\"1\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 1)}:host([index=\"2\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 2)}:host([index=\"3\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 3)}:host([index=\"4\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 4)}:host([index=\"5\"]) .sticker.sticky{z-index:calc(var(--stuck-z-index) + 5)}.sticker.stuck{position:fixed;inset-inline:var(--stuck-left) var(--stuck-right);z-index:var(--stuck-z-index);transform:translateY(0)}:host([placed-top]) .sticker.stuck{inset-block-start:0}:host([placed-bottom]) .sticker.stuck{inset-block-end:0}:host([placed-top]) .sticker.stuck.hide{transform:var(--top-hide)}:host([placed-bottom]) .sticker.stuck.hide{transform:var(--bottom-hide)}.sticker-content{display:flex;flex-wrap:wrap}";
|
11
11
|
|
@@ -587,9 +587,6 @@ const Sticker = class {
|
|
587
587
|
this.isRtl =
|
588
588
|
this.host.dir === 'rtl' || this.host.ownerDocument.dir === 'rtl';
|
589
589
|
// this is all horrible.... shrug
|
590
|
-
document.documentElement.addEventListener('nanoComponentsReady', () => {
|
591
|
-
setTimeout((_) => this.bootstrapGurantor(), 200);
|
592
|
-
});
|
593
590
|
setTimeout((_) => {
|
594
591
|
if (!this.hasBootstrapped)
|
595
592
|
this.bootstrapGurantor();
|
@@ -608,12 +605,12 @@ const Sticker = class {
|
|
608
605
|
this.hasBootstrapped = false;
|
609
606
|
}
|
610
607
|
render() {
|
611
|
-
return (h(Host, { key: '
|
608
|
+
return (h(Host, { key: '684a30435688dd24ba583b9ad18f262b00863220', sticky: !this.isRootSticker && !this.stickToEle && this.isSticky, hide: this.hide && this.isStuck, siblings: this.stuckCounter, index: this.stickerIndex, stuck: this.isStuck && this.isSticky, "placed-bottom": this.positions.includes('bottom'), "placed-top": this.positions.includes('top'), "placed-end": this.positions.includes('end'), "placed-start": this.positions.includes('start'), class: "nano-sticker" }, h("div", { key: '1a27a9545b9e00e492efc809ef10ac291f13f421', class: {
|
612
609
|
sticker: true,
|
613
610
|
sticky: this.isRootSticker && this.isSticky,
|
614
611
|
stuck: this.isStuck && this.isRootSticker && this.isSticky,
|
615
612
|
hide: this.isRootSticker && this.hide && this.isStuck,
|
616
|
-
}, ref: (div) => (this.sticker = div) }, h("div", { key: '
|
613
|
+
}, ref: (div) => (this.sticker = div) }, h("div", { key: '323a9081a4b7aec17c6bcc0cc85558fa54fa5253', class: "sticker-content", ref: (div) => (this.content = div) }, h("slot", { key: '9fc54c6354a8de64bebbaa54881fa4b21f116ba5' })))));
|
617
614
|
}
|
618
615
|
static get watchers() { return {
|
619
616
|
"trigger": ["updateTriggerOffset"],
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, a as getElement, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, a as getElement, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
|
7
7
|
const tabContentCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{display:block;opacity:1;animation:opacity 0.3s ease-in-out forwards;animation-duration:0s !important}:host(.ready){animation-duration:0.3s !important}@media only screen and (width <= 768px){:host([animation-dir=left]){animation:slide-right 0.3s ease-in-out;opacity:1}:host([animation-dir=right]){animation:slide-left 0.3s ease-in-out;opacity:1}}.nano-tab-content{position:relative}@keyframes opacity{0%{opacity:0}100%{opacity:1}}@keyframes slide-left{0%{transform:translate3d(-100%, 0, 0)}50%{transform:translate3d(0%) translate3d(-0.9em)}100%{transform:translate3d(0, 0, 0)}}@keyframes slide-right{0%{transform:translate3d(100%, 0, 0)}50%{transform:translateX(0%) translate3d(0.9em)}100%{transform:translate3d(0, 0, 0)}}@media (prefers-reduced-motion: reduce){*{animation:none !important}}";
|
8
8
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, k as forceUpdate, d as Host } from './index-
|
5
|
-
import { g as getDirectChildren } from './dom-
|
6
|
-
import { C as ComponentStore } from './component-store-
|
7
|
-
import { t as transformTag, h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, k as forceUpdate, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { g as getDirectChildren } from './dom-Cb7FUtXp.js';
|
6
|
+
import { C as ComponentStore } from './component-store-CH5BI3Tg.js';
|
7
|
+
import { t as transformTag, h } from './renderer-BUaAsDso.js';
|
8
8
|
import './throttle-C93FMm2Z.js';
|
9
9
|
|
10
|
-
const tabGroupCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--border:2px solid var(--nano-color-neutral-300);--indicator-transition:var(--nano-transition-fast);--indicator-color:var(--nano-color-primary-1000);--indicator-track-color:var(--nano-color-neutral-300);--indicator-size:0;--tab-spacing:var(--nano-spacing-md);--content-spacing:var(--nano-spacing-l1-default);display:block;position:relative;z-index:var(--nano-z-index-raised)}.group{display:flex;border-radius:0;inline-size:100%;flex:inherit}:host([equal-tab-size]) .group__tabs-border,.group__tabs[has-scroll-controls] .group__tabs-border{display:none}.group__tabs::part(items)
|
10
|
+
const tabGroupCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--border:2px solid var(--nano-color-neutral-300);--indicator-transition:var(--nano-transition-fast);--indicator-color:var(--nano-color-primary-1000);--indicator-track-color:var(--nano-color-neutral-300);--indicator-size:0;--tab-spacing:var(--nano-spacing-md);--content-spacing:var(--nano-spacing-l1-default);display:block;position:relative;z-index:var(--nano-z-index-raised)}.group{display:flex;border-radius:0;inline-size:100%;flex:inherit}:host([equal-tab-size]) .group__tabs-border,.group__tabs[has-scroll-controls] .group__tabs-border{display:none}.group__tabs::part(items){gap:var(--tab-spacing)}.group--top{flex-direction:column}.group--top .group__tabs{--fade-size:100px}.group--top .group__tabs::part(items){align-items:flex-end}.group--top .group__tabs-border{flex:1;border-block-end:var(--border)}.group--top .group__body{order:2;position:relative;flex:1 1 auto;border-block-end:var(--border);padding-block:var(--content-spacing)}.group--start{flex-direction:row}:host([equal-tab-size]) .group--start .group__tabs::part(items){display:grid;grid-auto-rows:1fr}.group--start .group__tabs-border{flex:1;border-inline-end:var(--border)}.group--start .group__body{flex:1 1 auto;order:2;overflow:hidden;padding-inline-start:var(--content-spacing)}";
|
11
11
|
|
12
12
|
let id = 0;
|
13
13
|
const NanoTabGroup = class {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-
|
5
|
-
import { h } from './renderer-
|
4
|
+
import { r as registerInstance, c as createEvent, a as getElement, d as Host } from './index-DXvE-U_j.js';
|
5
|
+
import { h } from './renderer-BUaAsDso.js';
|
6
6
|
|
7
7
|
const tabCss = ":host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host,*,*::before,*::after{box-sizing:border-box}[hidden]{display:none !important}@media (prefers-reduced-motion: reduce){:host,*,*::before,*::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}:host{--border:2px solid var(--nano-color-neutral-300);--border-hover-color:var(--nano-color-primary-700);--border-active-color:var(--nano-color-primary-1000);--text-hover-color:var(--nano-color-primary-1000);--text-active-color:var(--nano-color-primary-1000);--padding:var(--nano-spacing-md);font-size:var(--nano-font-size-small);line-height:var(--nano-line-height-normal);letter-spacing:var(--nano-letter-spacing-loose);display:inline-block;cursor:pointer;color:var(--nano-color-neutral-1400);border:var(--border);border-inline-end-width:0;border-inline-start-width:0;border-block-start-width:0;border-block-end:var(--border)}:host(:not([disabled]):hover){border-color:var(--border-hover-color);color:var(--text-hover-color)}:host(:not([disabled]):active),:host([active]){border-color:var(--border-active-color);color:var(--text-active-color)}:host(.nano-sortable__dragged){background:var(--nano-color-base-0);opacity:0.9 !important;box-shadow:var(--nano-shadow-l0) !important}.tab{padding:var(--padding);display:flex;white-space:nowrap;align-items:center;position:relative;gap:var(--nano-spacing-sm);justify-content:center}.tab.tab--disabled{opacity:0.5;cursor:not-allowed}.tab.tab--closable{padding-inline-end:calc(var(--padding) - var(--nano-spacing-sm))}.tab ::slotted(*),.tab::slotted(*){display:flex;align-items:center}.tab ::slotted(.nano-sortable__keyboard-handle){position:absolute;inset-inline-end:-1em;z-index:1}.tab:not(.tab--disabled):has(.tab__label:focus-visible){outline:var(--nano-focus-ring);outline-offset:-3px}.tab__label{display:flex;flex-direction:column;gap:var(--nano-spacing-sm);align-items:center}.tab__label:focus{outline:none}.tab__close-button{color:var(--nano-color-primary-1200);--hover-color:var(--nano-color-primary-700)}";
|
8
8
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { a as getElement, r as registerInstance, d as Host } from './index-
|
4
|
+
import { a as getElement, r as registerInstance, d as Host } from './index-DXvE-U_j.js';
|
5
5
|
import { d as debounce } from './throttle-C93FMm2Z.js';
|
6
|
-
import { t as transformTag, h } from './renderer-
|
6
|
+
import { t as transformTag, h } from './renderer-BUaAsDso.js';
|
7
7
|
|
8
|
-
const tableCss = "
|
8
|
+
const tableCss = ".sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{box-sizing:border-box}[hidden].sc-nano-table{display:none !important}@media (prefers-reduced-motion: reduce){.sc-nano-table-h,*.sc-nano-table,*.sc-nano-table::before,*.sc-nano-table::after{animation-duration:0.01ms !important;animation-iteration-count:1 !important;transition-duration:0.01ms !important;scroll-behavior:auto !important}}";
|
9
9
|
|
10
10
|
const NanoTable = class {
|
11
11
|
get host() { return getElement(this); }
|
@@ -222,10 +222,10 @@ const NanoTable = class {
|
|
222
222
|
this.cleanUpObservers();
|
223
223
|
}
|
224
224
|
render() {
|
225
|
-
return (h(Host, { key: '
|
225
|
+
return (h(Host, { key: '3c45a2880bd20a771bcc682355452312340db56d', class: {
|
226
226
|
'nano-table': true,
|
227
227
|
'nano-table--props-ready': this.propsReady,
|
228
|
-
} }, this.scrollable && (h("nano-masked-overflow", { key: '
|
228
|
+
} }, this.scrollable && (h("nano-masked-overflow", { key: '6b29ca4c8c64deae80def0d3958dc25c4d6cd1c0', hideScrollbars: false, scrollControls: false, label: this.caption?.textContent || undefined, class: "nano-table__overflow-container" }, h("div", { key: '83dce90d6e5425b0fd2a2443d0d90b7acfc9c141', class: "nano-table__overflow" }))), h("slot", { key: 'cff62841c17cf20c2ff5872944dbd38bbe438369' })));
|
229
229
|
}
|
230
230
|
static get watchers() { return {
|
231
231
|
"compact": ["handleCompactChange"],
|
@@ -1,9 +1,9 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { F as Flickity, u as utils, U as Unipointer } from './nano-slides-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
import { F as Flickity, u as utils, U as Unipointer } from './nano-slides-CvZxKg4X.js';
|
5
|
+
import './index-DXvE-U_j.js';
|
6
|
+
import './renderer-BUaAsDso.js';
|
7
7
|
|
8
8
|
// -------------------------- PageDots -------------------------- //
|
9
9
|
function PageDots(parent) {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { h as h$1 } from './index-
|
4
|
+
import { h as h$1 } from './index-DXvE-U_j.js';
|
5
5
|
|
6
6
|
/* eslint-disable @typescript-eslint/no-namespace */
|
7
7
|
// css only components cannot be transformed because their static css relies on the tag name
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { a as getElement, k as forceUpdate } from './index-
|
4
|
+
import { a as getElement, k as forceUpdate } from './index-DXvE-U_j.js';
|
5
5
|
|
6
6
|
/**
|
7
7
|
* Given an element (which can either be within a shadowRoot or not) find it's innerText
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import './index-
|
4
|
+
import './index-DXvE-U_j.js';
|
5
5
|
|
6
6
|
// Determines if the specified element is tabbable using heuristics inspired by https://github.com/focus-trap/tabbable
|
7
7
|
function isTabbable(el, skipVisible = false) {
|
@@ -1,14 +1,14 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import { c as createWorker } from './nano-data-table-
|
5
|
-
import './index-
|
6
|
-
import './renderer-
|
4
|
+
import { c as createWorker } from './nano-data-table-DDBCyBmN.js';
|
5
|
+
import './index-DXvE-U_j.js';
|
6
|
+
import './renderer-BUaAsDso.js';
|
7
7
|
import './math-BEqsTfVK.js';
|
8
8
|
import './throttle-C93FMm2Z.js';
|
9
|
-
import './scroll-
|
10
|
-
import './dom-
|
11
|
-
import './index-
|
9
|
+
import './scroll-iCYjzh9N.js';
|
10
|
+
import './dom-Cb7FUtXp.js';
|
11
|
+
import './index-Dw3NZx59.js';
|
12
12
|
|
13
13
|
const workerName = 'table.worker';
|
14
14
|
const workerMsgId = 'stencil.table.worker';
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{a as n}from"./index-
|
4
|
+
import{a as n}from"./index-DXvE-U_j.js";var e;!function(n){n.Filter="filter",n.Page="page",n.Replica="replica",n.Init="init"}(e||(e={}));const o=(e,o)=>function(e,o){var i=e.prototype,t=i.componentWillLoad;i.componentWillLoad=function(){var e,i=this,r=n(this),s={promise:new Promise((function(n){e=n})),resolve:e},u=new CustomEvent("openWormhole",{bubbles:!0,composed:!0,detail:{consumer:this,fields:o,updater:function(n,e){i[n]=e},onOpen:s}});return r.dispatchEvent(u),s.promise.then((function(){if(t)return t.call(i)}))}}(e,o);export{e as S,o as W}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{a as t}from"./index-
|
4
|
+
import{a as t}from"./index-DXvE-U_j.js";import{d as e}from"./throttle-C93FMm2Z.js";function s(t){const e=new URLSearchParams([...new URLSearchParams(t)].map((([t,e])=>[t.replace(/([[\]])/g,((t,e)=>"["===e?".":"")),e]))),s={};return new Set(e.keys()).forEach((t=>{const n=e.getAll(t).join(",").split(",").map((t=>decodeURIComponent(t.replace(/\+/g," "))));let r=t,o=1===n.length?n[0]:n;if(r.includes(".")){const[t,...e]=r.split("."),n=s[t]||{},i=e.pop();e.reduce(((t,e)=>t[e]??={}),n)[i]=o,r=t,o=n}s[r]=o})),s}const n="nano-component-store:",r=(t="hash",e=window)=>e&&e.location?"hash"===t&&e.location.hash&&e.location.hash.match(/&|=/)?s(e.location.hash.replace(/^#/,"")):"query"===t&&e.location.search&&e.location.search.match(/&|=/)?s(e.location.search.replace(/^\?/,"")):{}:{},o=(t,e,n="hash",o=window,i="replace")=>{t=Object.keys(s(t))[0];const h={};for(const t in e)(!e[t]||Array.isArray(e[t])&&!e[t].length)&&delete e[t];h[t]=e;let u=r(n,o);(u[t]||h[t])&&(u={...u,...h},((t,e="hash",s=window,n="replace")=>{if(!s||!s.history)return;const r="query"===e?s.location.search:s.location.hash,o="query"===e?s.location.pathname:s.location.pathname+s.location.search;let i=function(t){if(!t)return"";const e=[["",t]],s=new URLSearchParams;for(;e.length;){const[t,n]=e.pop();Object.entries(n).forEach((([n,r])=>{if(null==r)return;const o=typeof r,i=t?`${t}.${n}`:n;if(null===r||"object"!==o||Array.isArray(r)){let t="string"===o?r:"";t=Array.isArray(r)?r.join(","):r?.toJSON?r.toJSON():r?.toString?r.toString():String(r),null!=t&&s.append(i,t)}else e.push([i,r])}))}return s.sort(),s.toString()}(t);if(i&&i.length)if("hash"!==e||s.location.hash!=="#"+i)i=("hash"===e?"#":"?")+i,i!==r&&("replace"===n?s.history.replaceState(null,null,o+i):s.history.pushState(null,null,o+i));else try{document.querySelector("#"+i)?.focus()}catch(t){}else{if(!r||!r.length)return;"replace"===n?s.history.replaceState(null,null,o):s.history.pushState(null,null,o)}})(u,n,o,i))},i=(t,e="hash",n=window)=>(t=Object.keys(s(t))[0],r(e,n)[t]||null),h=new Map,u={init(e,s,n,r){const o=r||e.storeId||t(e).id;if(!o)return void console.error("No id set. You can only instantiate a new component store with an id. ");if(h.get(o))return void console.error("Duplicate store id usage. A store ID must be unique!",o);const i=s.reduce(((t,s)=>(void 0!==e[s]&&(t[s]=e[s]),t)),{});h.set(o,new a(o,e,s,i,n)),h.get(o).dispatchToProps();const u=e.connectedCallback;e.connectedCallback=function(){h.set(o,new a(o,e,s,i,n));const t=h.get(o);u&&u.call(e),t&&t.dispatchToProps()};const l=e.componentDidRender;e.componentDidRender=function(){const t=h.get(o);l&&l.call(e),t&&t.savePropsToStore()};const c=e.disconnectedCallback;e.disconnectedCallback=function(){const t=h.get(o);t&&t.delete(),h.delete(o),c&&c.call(e)}},update(t){const e=h.get(t);e?e.savePropsToStore():console.error(`No store found for id: ${t}`)},get:t=>h.get(t)};class a{method="session";keys;id;component;updateStore=!0;initialState={};constructor(t,s,n,r,o){if(!t)throw new Error("No id set. You can only instantiate a new component store with an id");this.id=t,this.keys=n,this.component=s,r&&(this.initialState=r),o&&(this.method=o),this.savePropsToStore=e(this.savePropsToStore,500),"url-hash-push"!==this.method&&"url-query-push"!==this.method||window.addEventListener("popstate",this.onUrlChange)}onUrlChange=()=>{this.dispatchToProps(!1)};equality(t,e){return typeof t==typeof e&&("object"!=typeof t?t===e:JSON.stringify(t)===JSON.stringify(e))}get getData(){const t=this.keys.reduce(((t,e)=>{const s=this.equality(this.component[e],this.initialState[e]);return void 0===this.component[e]||s?s&&delete t[e]:t[e]=this.component[e],t}),{});return Object.keys(t).length?t:void 0}retrieve(){switch(this.method){case"url-hash":case"url-hash-push":return i(this.id,"hash");case"url-query":case"url-query-push":return i(this.id,"query");case"local":return((t,e=window)=>{const s=e.localStorage.getItem(n+this.id);return null!==s?JSON.parse(s):null})();default:return((t,e=window)=>{const s=e.sessionStorage.getItem(n+this.id);return null!==s?JSON.parse(s):null})()}}save(t){switch(this.method){case"url-hash":return o(this.id,t,"hash");case"url-query":return o(this.id,t,"query");case"url-hash-push":return o(this.id,t,"hash",window,"push");case"url-query-push":return o(this.id,t,"query",window,"push");case"local":return((t,e,s=window)=>{e?s.localStorage.setItem(n+t,JSON.stringify(e)):s.localStorage.removeItem(n+t)})(this.id,t);default:return((t,e,s=window)=>{e?s.sessionStorage.setItem(n+t,JSON.stringify(e)):s.sessionStorage.removeItem(n+t)})(this.id,t)}}savePropsToStore=()=>{this.updateStore?this.save(this.getData):this.updateStore||(this.updateStore=!0)};dispatchToProps=(t=!0)=>{const e=this.retrieve();!e&&t||(this.updateStore=t,this.keys.forEach((t=>{this.component[t]=e?e[t]:void 0})))};delete=()=>{"url-hash-push"!==this.method&&"url-query-push"!==this.method||window.removeEventListener("popstate",this.onUrlChange)}}export{u as C}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import"./index-
|
4
|
+
import"./index-DXvE-U_j.js";var t;function e(t,e=this){return function e(n){if(!n||n===document||n===window)return null;n.assignedSlot&&(n=n.assignedSlot);return n.closest(t)||e(n.getRootNode().host)}(e)}function n(t,e,n=!0){if(!0===n)try{return e=":scope > "+e.split(",").join(", :scope >"),Array.from(t.querySelectorAll(e))}catch(t){console.error(t,"an error. sad")}const o=[];return Array.from(t.childNodes).forEach((t=>{t.matches&&t.matches(e)&&("SLOT"!==t.nodeName||"slot"!==n)?o.push(t):"SLOT"===t.nodeName?Array.from(t.assignedElements()).forEach((t=>{t.matches(e)&&o.push(t)})):n||o.push(t)})),o}function o(t,e){return e&&t?{top:t.getBoundingClientRect().top-e.getBoundingClientRect().top,left:t.getBoundingClientRect().left-e.getBoundingClientRect().left}:{top:0,left:0}}!function(t){t[t.ElementNode=1]="ElementNode",t[t.TextNode=3]="TextNode",t[t.CommentNode=8]="CommentNode",t[t.DocumentNode=9]="DocumentNode",t[t.DocumentTypeNode=10]="DocumentTypeNode",t[t.DocumentFragment=11]="DocumentFragment"}(t||(t={}));export{o as a,e as c,n as g}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t,u as i}from"./nano-slides-
|
4
|
+
import{F as t,u as i}from"./nano-slides-CvZxKg4X.js";import"./index-DXvE-U_j.js";import"./renderer-BUaAsDso.js";const s=t.Slide,h=s.prototype.updateTarget;s.prototype.updateTarget=function(...t){if(h.apply(this,t),!this.parent.options.fade)return;const i=this.target-this.x,s=this.cells[0].x;this.cells.forEach((function(t){t.renderPosition(t.x-s-i)}))},s.prototype.setOpacity=function(t){this.cells.forEach((function(i){i.element.style.opacity=t}))};const n=t.prototype;t.createMethods.push("_createFade"),n._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};const o=n.updateSlides;n.updateSlides=function(...t){o.apply(this,t),this.options.fade&&this.slides.forEach((function(t,i){t.setOpacity(i==this.selectedIndex?1:0)}),this)},n.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},n.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex]&&this.fadeIndex!=this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0))},n.onDragEndFade=function(){this.didDragEnd=!0},n.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},n.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach((function(t){t.setOpacity("")})))};const c=n.positionSlider;n.positionSlider=function(...t){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):c.apply(this,t)};const u=n.positionSliderAtSelected;n.positionSliderAtSelected=function(...t){this.options.fade&&this.setTranslateX(0),u.apply(this,t)},n.fadeSlides=function(){if(this.slides.length<2)return;const t=this.getFadeIndexes(),i=this.slides[t.a],s=this.slides[t.b],h=this.wrapDifference(i.target,s.target);let n=this.wrapDifference(i.target,-this.x);n/=h,i.setOpacity(1-n),s.setOpacity(n);let o=t.a;this.isDragging&&(o=n>.5?t.a:t.b),null!=this.fadeHideIndex&&this.fadeHideIndex!=o&&this.fadeHideIndex!=t.a&&this.fadeHideIndex!=t.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=o},n.getFadeIndexes=function(){return this.isDragging||this.didDragEnd||void 0===this.fadeIndex?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},n.getFadeDragWrapIndexes=function(){const t=this.slides.map((function(t,i){return this.getSlideDistance(-this.x,i)}),this),s=t.map((function(t){return Math.abs(t)})),h=Math.min(...s),n=s.indexOf(h);return{a:n,b:i.modulo(n+(t[n]>=0?1:-1),this.slides.length)}},n.getFadeDragLimitIndexes=function(){let t=0;for(let i=0;i<this.slides.length-1&&!(-this.x<this.slides[i].target);i++)t=i;return{a:t,b:t+1}},n.wrapDifference=function(t,i){let s=i-t;if(!this.options.wrapAround)return s;const h=s+this.slideableWidth,n=s-this.slideableWidth;return Math.abs(h)<Math.abs(s)&&(s=h),Math.abs(n)<Math.abs(s)&&(s=n),s};const e=n._getWrapShiftCells;n._getWrapShiftCells=function(...t){this.options.fade||e.apply(this,t)};const f=n.shiftWrapCells;n.shiftWrapCells=function(...t){this.options.fade||f.apply(this,t)}
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*!
|
2
|
+
* Custom elements for Nanopore-Digital Web applications
|
3
|
+
*/
|
4
|
+
import{h as l}from"./renderer-BUaAsDso.js";const r=({label:r,hasLabelSlot:a,controlId:e,labelId:o,floatLabel:t,placeholder:s,alwaysShowPlaceholder:c,hideLabel:n,hasValue:i,rtl:_,showCharCount:m,maxlength:d,charCount:h})=>{if(r||a)return t?l("label",{class:"form-ctrl__float-label",htmlFor:e,id:o},l("slot",{name:"label"},r),m&&l("span",{class:"form-ctrl__label-charcount"},d?` ${h}/${d}`:` ${h}`)):l("label",{class:{"form-ctrl__label":!0,"visually-hide":n},htmlFor:e,id:o},l("div",{class:"form-ctrl__label-wrap"},s&&c&&i&&_&&l("span",{class:"form-ctrl__label-placeholder"},s," / "),l("span",{class:"form-ctrl__labeltext"},l("slot",{name:"label"},r)),s&&c&&i&&!_&&l("span",{class:"form-ctrl__label-placeholder"}," / ",s)),m&&l("span",{class:"form-ctrl__label-charcount"},d?d-h+" left":h+" characters"))},a=(a,e)=>{const{rtl:o,floatLabel:t,label:s,moreId:c,helperEndId:n,type:i,hasHelperSlot:_,showInlineError:m,errorMessage:d,hasHelperEndSlot:h}=a;return l("div",{class:{"form-ctrl":!0,"has-label":null!==s&&!t,"has-float-label":null!==s&&t,"has-helper-end":h,rtl:o,[a.class]:!!a.class}},l("div",{class:"form-ctrl__wrapper"},t?"":r({...a}),l("div",{class:{"form-ctrl__input":!0,"form-ctrl__textarea":"textarea"===i}},t&&r({...a,rtl:o}),e),(m||_)&&l("div",{class:"form-ctrl__more",id:c},m&&l("div",{class:"form-ctrl__error","aria-live":"polite"},d),l("div",{class:"form-ctrl__helper"},l("slot",{name:"helper"})))),h&&l("div",{class:"form-ctrl__helper-end",id:n},l("slot",{name:"helper-end"})))},e=(r,a)=>{const{ref:e,onClearText:o,clearControl:t,readonly:s,disabled:c,control:n,endSlot:i,endValueSlot:_,startSlot:m,showInlineError:d}=r,h=()=>{n.setFocus()};return l("div",{class:"form-ctrl__input-wrap",ref:l=>{e&&e(l)}},l("span",{class:"form-ctrl__slot-start"},l("slot",{name:"start"}),m),a,t&&!s&&!c&&l("button",{type:"button",class:"icon form-ctrl__clear-btn",tabindex:"-1",onTouchStart:o,onMouseDown:o},l("nano-icon",{name:"light/xmark",role:"img",ariaLabel:"Clear content"})),d&&l("div",{onClick:h,class:"form-ctrl__validation-icon"},l("nano-icon",{name:"solid/circle-xmark",class:"form-ctrl__error-icon"}),l("nano-icon",{name:"solid/circle-check",class:"form-ctrl__success-icon"})),l("span",{class:"form-ctrl__slot-value-end",onClick:h},l("slot",{name:"value-end"}),_),l("span",{class:"form-ctrl__slot-end"},l("slot",{name:"end"}),i))};export{a as F,e as a}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{F as t}from"./nano-slides-
|
4
|
+
import{F as t}from"./nano-slides-CvZxKg4X.js";import"./index-DXvE-U_j.js";import"./renderer-BUaAsDso.js";t.createMethods.push("_createFullscreen");const i=t.prototype;i._createFullscreen=function(){this.isFullscreen=!1,this.options.fullscreen&&(this.viewFullscreenButton=new n("view",this),this.exitFullscreenButton=new n("exit",this),this.on("activate",this._changeFullscreenActive),this.on("deactivate",this._changeFullscreenActive))},i._changeFullscreenActive=function(){const t=this.isActive?"appendChild":"removeChild";this.element[t](this.viewFullscreenButton.element),this.element[t](this.exitFullscreenButton.element);const i=this.isActive?"activate":"deactivate";this.viewFullscreenButton[i](),this.exitFullscreenButton[i]()},i.viewFullscreen=function(){this._changeFullscreen(!0),this.focus()},i.exitFullscreen=function(){this._changeFullscreen(!1)},i._changeFullscreen=function(t){if(this.isFullscreen==t)return;this.isFullscreen=t;const i=t?"add":"remove";document.documentElement.classList[i]("is-flickity-fullscreen"),this.element.classList[i]("is-fullscreen"),this.resize(),this.isFullscreen&&this.reposition(),this.dispatchEvent("fullscreenChange",null,[t])},i.toggleFullscreen=function(){this._changeFullscreen(!this.isFullscreen)};const s=i.setGallerySize;function n(t,i){this.name=t,this.createButton(),this.createIcon(),this.onClick=function(){i[t+"Fullscreen"]()},this.clickHandler=this.onClick.bind(this)}i.setGallerySize=function(){this.options.setGallerySize&&(this.isFullscreen?this.viewport.style.height="":s.call(this))},t.keyboardHandlers[27]=function(){this.exitFullscreen()},n.prototype.createButton=function(){const t=this.element=document.createElement("button");t.className="flickity-button flickity-fullscreen-button flickity-fullscreen-button-"+this.name,t.setAttribute("type","button");const i=(s=this.name+" full-screen")[0].toUpperCase()+s.slice(1);var s;t.setAttribute("aria-label",i),t.title=i};const h="http://www.w3.org/2000/svg",c={view:"M15,20,7,28h5v4H0V20H4v5l8-8Zm5-5,8-8v5h4V0H20V4h5l-8,8Z",exit:"M32,3l-7,7h5v4H18V2h4V7l7-7ZM3,32l7-7v5h4V18H2v4H7L0,29Z"};n.prototype.createIcon=function(){const t=document.createElementNS(h,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 32 32");const i=document.createElementNS(h,"path");i.setAttribute("d",c[this.name]),t.appendChild(i),this.element.appendChild(t)},n.prototype.activate=function(){this.element.addEventListener("click",this.clickHandler)},n.prototype.deactivate=function(){this.element.removeEventListener("click",this.clickHandler)},t.FullscreenButton=n;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/*!
|
2
|
+
* Custom elements for Nanopore-Digital Web applications
|
3
|
+
*/
|
4
|
+
const t="nano-components",e=async()=>{};var n=Object.defineProperty,o={isServer:!1},s=(t=>(t.Undefined="undefined",t.Null="null",t.String="string",t.Number="number",t.SpecialNumber="number",t.Boolean="boolean",t.BigInt="bigint",t))(s||{}),l=(t=>(t.Array="array",t.Date="date",t.Map="map",t.Object="object",t.RegularExpression="regexp",t.Set="set",t.Channel="channel",t.Symbol="symbol",t))(l||{}),i="type",r="value",c="serialized:",u=(t,e)=>{var n;Object.entries(null!=(n=e.o.t)?n:{}).map((([n,[o]])=>{if(31&o||32&o){const o=t[n],s=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),n);Object.defineProperty(t,n,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),t[n]=e.l.has(n)?e.l.get(n):o}}))},f=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},a=(t,e)=>{t.__stencil__getHostRef=()=>e,e.i=t,u(t,e)},d=(t,e)=>e in t,h=(t,e)=>(0,console.error)(t,e),p=new Map,v=new Map,b="s-id",$="sty-id",m="c-id",y="slot-fb{display:contents}slot-fb[hidden]{display:none}",g="http://www.w3.org/1999/xlink",w="undefined"!=typeof window?window:{},S=w.HTMLElement||class{},j={u:0,h:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},O=t=>Promise.resolve(t),N=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),x=!1,k=[],E=[],C=(t,e)=>n=>{t.push(n),x||(x=!0,e&&4&j.u?L(M):j.raf(M))},I=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){h(t)}t.length=0},M=()=>{I(k),I(E),(x=k.length>0)&&j.raf(M)},L=t=>O().then(t),R=C(k,!1),A=C(E,!0),T=t=>{const e=new URL(t,j.h);return e.origin!==w.location.origin?e.href:e.pathname},B=t=>"object"==(t=typeof t)||"function"===t;function P(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}var F=class t{static fromLocalValue(e){const n=e[i],o=r in e?e[r]:void 0;switch(n){case"string":case"boolean":return o;case"bigint":return BigInt(o);case"undefined":return;case"null":return null;case"number":return"NaN"===o?NaN:"-0"===o?-0:"Infinity"===o?1/0:"-Infinity"===o?-1/0:o;case"array":return o.map((e=>t.fromLocalValue(e)));case"date":return new Date(o);case"map":const e=new Map;for(const[n,s]of o){const o="object"==typeof n&&null!==n?t.fromLocalValue(n):n,l=t.fromLocalValue(s);e.set(o,l)}return e;case"object":const s={};for(const[e,n]of o)s[e]=t.fromLocalValue(n);return s;case"regexp":const{pattern:l,flags:i}=o;return RegExp(l,i);case"set":const r=new Set;for(const e of o)r.add(t.fromLocalValue(e));return r;case"symbol":return Symbol(o);default:throw Error("Unsupported type: "+n)}}static fromLocalValueArray(e){return e.map((e=>t.fromLocalValue(e)))}static isLocalValueObject(t){if("object"!=typeof t||null===t)return!1;if(!t.hasOwnProperty(i))return!1;const e=t[i];return!!Object.values({...s,...l}).includes(e)&&("null"===e||"undefined"===e||t.hasOwnProperty(r))}};((t,e)=>{for(var o in e)n(t,o,{get:e[o],enumerable:!0})})({},{err:()=>_,map:()=>D,ok:()=>U,unwrap:()=>W,unwrapErr:()=>V});var U=t=>({isOk:!0,isErr:!1,value:t}),_=t=>({isOk:!1,isErr:!0,value:t});function D(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>U(t))):U(n)}if(t.isErr)return _(t.value);throw"should never get here"}var W=t=>{if(t.isOk)return t.value;throw t.value},V=t=>{if(t.isErr)return t.value;throw t.value};function z(){const t=this.attachShadow({mode:"open"});if(N){const e=new CSSStyleSheet;e.replaceSync(""),t.adoptedStyleSheets.push(e)}}var H=t=>{const e=wt(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&Y(e,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!q(t,Q(t),!1).length)}));let n=0;for(n=0;n<e.length;n++){const t=e[n];1===t.nodeType&&wt(t,"childNodes").length&&H(t)}},J=t=>{const e=[];for(let n=0;n<t.length;n++){const o=t[n]["s-nr"]||void 0;o&&o.isConnected&&e.push(o)}return e};function Y(t,e,n){let o,s=0,l=[];for(;s<t.length;s++){if(o=t[s],o["s-sr"]&&(!e||o["s-hn"]===e)&&(void 0===n||Q(o)===n)&&(l.push(o),void 0!==n))return l;l=[...l,...Y(o.childNodes,e,n)]}return l}var q=(t,e,n=!0)=>{const o=[];(n&&t["s-sr"]||!t["s-sr"])&&o.push(t);let s=t;for(;s=s.nextSibling;)Q(s)!==e||!n&&s["s-sr"]||o.push(s);return o},G=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,K=(t,e,n,o)=>{if(t["s-ol"]&&t["s-ol"].isConnected)return;const s=document.createTextNode("");if(s["s-nr"]=t,!e["s-cr"]||!e["s-cr"].parentNode)return;const l=e["s-cr"].parentNode,i=wt(l,n?"prepend":"appendChild");if(void 0!==o){s["s-oo"]=o;const t=wt(l,"childNodes"),e=[s];t.forEach((t=>{t["s-nr"]&&e.push(t)})),e.sort(((t,e)=>!t["s-oo"]||t["s-oo"]<(e["s-oo"]||0)?-1:!e["s-oo"]||e["s-oo"]<t["s-oo"]?1:0)),e.forEach((t=>i.call(l,t)))}else i.call(l,s);t["s-ol"]=s,t["s-sh"]=e["s-hn"]},Q=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function X(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const e=e=>function(t){const n=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&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 ");const s=this["s-cr"].parentElement;return(s.__childNodes?s.childNodes:J(s.childNodes)).forEach((t=>{o===Q(t)&&n.push(t)})),e?n.filter((t=>1===t.nodeType)):n}.bind(t);t.assignedElements=e(!0),t.assignedNodes=e(!1)}function Z(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}function tt(t,e){var n;if(!(e=e||(null==(n=t["s-ol"])?void 0:n.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=Q(t)||"";return{slotNode:Y(wt(e,"childNodes"),e.tagName,o)[0],slotName:o}}var et=t=>{const e=t.cloneNode;t.cloneNode=function(t){const n=this.shadowRoot&&true,o=e.call(this,!!n&&t);if(!n&&t){let t,e,n=0;const s=["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"],l=this.__childNodes||this.childNodes;for(;n<l.length;n++)t=l[n]["s-nr"],e=s.every((t=>!l[n][t])),t&&(o.__appendChild?o.__appendChild(t.cloneNode(!0)):o.appendChild(t.cloneNode(!0))),e&&o.appendChild(l[n].cloneNode(!0))}return o}},nt=t=>{t.__appendChild=t.appendChild,t.appendChild=function(t){const{slotName:e,slotNode:n}=tt(t,this);if(n){K(t,n);const o=q(n,e),s=o[o.length-1],l=wt(s,"parentNode"),i=wt(l,"insertBefore")(t,s.nextSibling);return Z(n),H(this),i}return this.__appendChild(t)}},ot=t=>{t.__removeChild=t.removeChild,t.removeChild=function(t){return t&&void 0!==t["s-sn"]&&Y(this.__childNodes||this.childNodes,this.tagName,t["s-sn"])&&t.isConnected?(t.remove(),void H(this)):this.__removeChild(t)}},st=t=>{t.__prepend=t.prepend,t.prepend=function(...e){e.forEach((e=>{"string"==typeof e&&(e=this.ownerDocument.createTextNode(e));const n=(e["s-sn"]=Q(e))||"",o=Y(wt(this,"childNodes"),this.tagName,n)[0];if(o){K(e,o,!0);const t=q(o,n)[0],s=wt(t,"parentNode"),l=wt(s,"insertBefore")(e,wt(t,"nextSibling"));return Z(o),l}return 1===e.nodeType&&e.getAttribute("slot")&&(e.hidden=!0),t.__prepend(e)}))}},lt=t=>{t.__append=t.append,t.append=function(...t){t.forEach((t=>{"string"==typeof t&&(t=this.ownerDocument.createTextNode(t)),this.appendChild(t)}))}},it=t=>{const e=t.insertAdjacentHTML;t.insertAdjacentHTML=function(t,n){if("afterbegin"!==t&&"beforeend"!==t)return e.call(this,t,n);const o=this.ownerDocument.createElement("_");let s;if(o.innerHTML=n,"afterbegin"===t)for(;s=o.firstChild;)this.prepend(s);else if("beforeend"===t)for(;s=o.firstChild;)this.append(s)}},rt=t=>{t.insertAdjacentText=function(t,e){this.insertAdjacentHTML(t,e)}},ct=t=>{t.__insertBefore||(t.__insertBefore=t.insertBefore,t.insertBefore=function(t,e){const{slotName:n,slotNode:o}=tt(t,this),s=this.__childNodes?this.childNodes:J(this.childNodes);if(o){let l=!1;if(s.forEach((s=>{if(s!==e&&null!==e);else{if(l=!0,null===e||n!==e["s-sn"])return void this.appendChild(t);if(n===e["s-sn"]){K(t,o);const n=wt(e,"parentNode");wt(n,"insertBefore")(t,e),Z(o)}}})),l)return t}const l=null==e?void 0:e.__parentNode;return l&&!this.isSameNode(l)?this.appendChild(t):this.__insertBefore(t,e)})},ut=t=>{const e=t.insertAdjacentElement;t.insertAdjacentElement=function(t,n){return"afterbegin"!==t&&"beforeend"!==t?e.call(this,t,n):"afterbegin"===t?(this.prepend(n),n):"beforeend"===t?(this.append(n),n):n}},ft=t=>{gt("textContent",t),Object.defineProperty(t,"textContent",{get:function(){let t="";return(this.__childNodes?this.childNodes:J(this.childNodes)).forEach((e=>t+=e.textContent||"")),t},set:function(t){(this.__childNodes?this.childNodes:J(this.childNodes)).forEach((t=>{t["s-ol"]&&t["s-ol"].remove(),t.remove()})),this.insertAdjacentHTML("beforeend",t)}})},at=t=>{class e extends Array{item(t){return this[t]}}gt("children",t),Object.defineProperty(t,"children",{get(){return this.childNodes.filter((t=>1===t.nodeType))}}),Object.defineProperty(t,"childElementCount",{get(){return this.children.length}}),gt("firstChild",t),Object.defineProperty(t,"firstChild",{get(){return this.childNodes[0]}}),gt("lastChild",t),Object.defineProperty(t,"lastChild",{get(){return this.childNodes[this.childNodes.length-1]}}),gt("childNodes",t),Object.defineProperty(t,"childNodes",{get(){const t=new e;return t.push(...J(this.__childNodes)),t}})},dt=t=>{t&&void 0===t.__nextSibling&&globalThis.Node&&(ht(t),vt(t),$t(t),t.nodeType===Node.ELEMENT_NODE&&(pt(t),bt(t)))},ht=t=>{t&&!t.__nextSibling&&(gt("nextSibling",t),Object.defineProperty(t,"nextSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextSibling}}))},pt=t=>{t&&!t.__nextElementSibling&&(gt("nextElementSibling",t),Object.defineProperty(t,"nextElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n+1]:this.__nextElementSibling}}))},vt=t=>{t&&!t.__previousSibling&&(gt("previousSibling",t),Object.defineProperty(t,"previousSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.childNodes,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousSibling}}))},bt=t=>{t&&!t.__previousElementSibling&&(gt("previousElementSibling",t),Object.defineProperty(t,"previousElementSibling",{get:function(){var t;const e=null==(t=this["s-ol"])?void 0:t.parentNode.children,n=null==e?void 0:e.indexOf(this);return e&&n>-1?e[n-1]:this.__previousElementSibling}}))},$t=t=>{t&&!t.__parentNode&&(gt("parentNode",t),Object.defineProperty(t,"parentNode",{get:function(){var t;return(null==(t=this["s-ol"])?void 0:t.parentNode)||this.__parentNode},set:function(t){this.__parentNode=t}}))},mt=["children","nextElementSibling","previousElementSibling"],yt=["childNodes","firstChild","lastChild","nextSibling","previousSibling","textContent","parentNode"];function gt(t,e){let n;mt.includes(t)?n=Object.getOwnPropertyDescriptor(Element.prototype,t):yt.includes(t)&&(n=Object.getOwnPropertyDescriptor(Node.prototype,t)),n||(n=Object.getOwnPropertyDescriptor(e,t)),n&&Object.defineProperty(e,"__"+t,n)}function wt(t,e){if("__"+e in t){const n=t["__"+e];return"function"!=typeof n?n:n.bind(t)}return"function"!=typeof t[e]?t[e]:t[e].bind(t)}var St=new WeakMap,jt=(t,e,n)=>{let o=v.get(t);N&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,v.set(t,o)},Ot=(t,e)=>{var n;const o=Nt(e),s=v.get(o);if(!w.document)return o;if(t=11===t.nodeType?t:w.document,s)if("string"==typeof s){let l,i=St.get(t=t.head||t);if(i||St.set(t,i=new Set),!i.has(o)){if(t.host&&(l=t.querySelector(`[${$}="${o}"]`)))l.innerHTML=s;else{l=w.document.createElement("style"),l.innerHTML=s;const o=null!=(n=j.p)?n:P(w.document);if(null!=o&&l.setAttribute("nonce",o),!(1&e.u))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(N){const e=new CSSStyleSheet;e.replaceSync(s),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=s+e.innerHTML:t.prepend(l)}else t.append(l);1&e.u&&t.insertBefore(l,null)}4&e.u&&(l.innerHTML+=y),i&&i.add(o)}}else t.adoptedStyleSheets.includes(s)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return o},Nt=t=>"sc-"+t.v,xt=t=>t.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),kt=(t,e,...n)=>{let o=null,s=null,l=null,i=!1,r=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!B(o))&&(o+=""),i&&r?c[c.length-1].$+=o:c.push(i?Et(null,o):o),r=i)};if(u(n),e){e.key&&(s=e.key),e.name&&(l=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,It);const f=Et(t,null);return f.m=e,c.length>0&&(f.S=c),f.j=s,f.O=l,f},Et=(t,e)=>({u:0,N:t,$:e,k:null,S:null,m:null,j:null,O:null}),Ct={},It={forEach:(t,e)=>t.map(Mt).forEach(e),map:(t,e)=>t.map(Mt).map(e).map(Lt)},Mt=t=>({vattrs:t.m,vchildren:t.S,vkey:t.j,vname:t.O,vtag:t.N,vtext:t.$}),Lt=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),kt(t.vtag,e,...t.vchildren||[])}const e=Et(t.vtag,t.vtext);return e.m=t.vattrs,e.S=t.vchildren,e.j=t.vkey,e.O=t.vname,e},Rt=(t,e,n,o,s,l,i,r=[])=>{let c,u,f,a;const d=s["s-sc"];if(1===l.nodeType){if(c=l.getAttribute(m),c&&(u=c.split("."),u[0]===i||"0"===u[0])){f=Tt({u:0,C:u[0],I:u[1],M:u[2],L:u[3],N:l.tagName.toLowerCase(),k:l,m:{class:l.className||""}}),e.push(f),l.removeAttribute(m),t.S||(t.S=[]),d&&u[0]===i&&(l["s-si"]=d,f.m.class+=" "+d);const s=f.k.getAttribute("s-sn");"string"==typeof s&&("slot-fb"===f.N&&(Bt(s,u[2],f,l,t,e,n,o,r),d&&l.classList.add(d)),f.k["s-sn"]=s,f.k.removeAttribute("s-sn")),void 0!==f.L&&(t.S[f.L]=f),t=f,o&&"0"===f.M&&(o[f.L]=f.k)}if(l.shadowRoot)for(a=l.shadowRoot.childNodes.length-1;a>=0;a--)Rt(t,e,n,o,s,l.shadowRoot.childNodes[a],i,r);const h=l.__childNodes||l.childNodes;for(a=h.length-1;a>=0;a--)Rt(t,e,n,o,s,h[a],i,r)}else if(8===l.nodeType)u=l.nodeValue.split("."),(u[1]===i||"0"===u[1])&&(c=u[0],f=Tt({C:u[1],I:u[2],M:u[3],L:u[4]||"0",k:l,m:null,S:null,j:null,O:null,N:null,$:null}),"t"===c?(f.k=Ft(l,3),f.k&&3===f.k.nodeType&&(f.$=f.k.textContent,e.push(f),l.remove(),i===f.C&&(t.S||(t.S=[]),t.S[f.L]=f),o&&"0"===f.M&&(o[f.L]=f.k))):"c"===c?(f.k=Ft(l,8),f.k&&8===f.k.nodeType&&(e.push(f),l.remove())):f.C===i&&("s"===c?Bt(l["s-sn"]=u[5]||"",u[2],f,l,t,e,n,o,r):"r"===c&&(o?l.remove():(s["s-cr"]=l,l["s-cn"]=!0))));else if(t&&"style"===t.N){const e=Et(null,l.textContent);e.k=l,e.L="0",t.S=[e]}else 3!==l.nodeType||l.wholeText.trim()||l["s-nr"]||l.remove();return t},At=(t,e)=>{if(1===t.nodeType){const n=t[b]||t.getAttribute(b);n&&e.set(n,t);let o=0;if(t.shadowRoot)for(;o<t.shadowRoot.childNodes.length;o++)At(t.shadowRoot.childNodes[o],e);const s=t.__childNodes||t.childNodes;for(o=0;o<s.length;o++)At(s[o],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");"o"===n[0]&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Tt=t=>({u:0,C:null,I:null,M:null,L:"0",k:null,m:null,S:null,j:null,O:null,N:null,$:null,...t});function Bt(t,e,n,o,s,l,i,r,c){o["s-sr"]=!0,n.O=t||null,n.N="slot";const u=(null==s?void 0:s.k)?s.k["s-id"]||s.k.getAttribute("s-id"):"";if(r&&w.document){const l=n.k=w.document.createElement(n.N);n.O&&n.k.setAttribute("name",t),s.k.shadowRoot&&u&&u!==n.C?wt(s.k,"insertBefore")(l,wt(s.k,"children")[0]):wt(wt(o,"parentNode"),"insertBefore")(l,o),Pt(c,e,t,o,n.C),o.remove(),"0"===n.M&&(r[n.L]=n.k)}else{const l=n.k,i=u&&u!==n.C&&s.k.shadowRoot;Pt(c,e,t,o,i?u:n.C),X(o),i&&s.k.insertBefore(l,s.k.children[0])}l.push(n),i.push(n),s.S||(s.S=[]),s.S[n.L]=n}var Pt=(t,e,n,o,s)=>{let l=o.nextSibling;for(t[e]=t[e]||[];l&&((l.getAttribute&&l.getAttribute("slot")||l["s-sn"])===n||""===n&&!l["s-sn"]&&(8===l.nodeType||3===l.nodeType||"SLOT"===l.tagName));)l["s-sn"]=n,t[e].push({slot:o,node:l,hostId:s}),l=l.nextSibling},Ft=(t,e)=>{let n=t;do{n=n.nextSibling}while(n&&(n.nodeType!==e||!n.nodeValue));return n},Ut=t=>{const e=(t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t);return RegExp(`(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${e}))(${e}\\b)`,"g")};Ut("::slotted"),Ut(":host"),Ut(":host-context");var _t,Dt,Wt,Vt=(t,e)=>{if("string"==typeof t&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))try{return JSON.parse(t)}catch(t){}return"string"==typeof t&&t.startsWith(c)?t=function(t){return"string"==typeof t&&t.startsWith(c)?F.fromLocalValue(JSON.parse(atob(t.slice(11)))):t}(t):null==t||B(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&e?t+"":t},zt=t=>f(t).$hostElement$,Ht=(t,e,n)=>{const o=zt(t);return{emit:t=>Jt(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},Jt=(t,e,n)=>{const o=j.ce(e,n);return t.dispatchEvent(o),o},Yt=(t,e,n,o,s,l,i)=>{if(n===o)return;let r=d(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,s=Gt(n);let l=Gt(o);if((t["s-si"]||t["s-sc"])&&i){const n=t["s-sc"]||t["s-si"];l.push(n),s.forEach((t=>{t.startsWith(n)&&l.push(t)})),l=[...new Set(l)].filter((t=>t)),e.add(...l)}else e.remove(...s.filter((t=>t&&!l.includes(t)))),e.add(...l.filter((t=>t&&!s.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(r||"o"!==e[0]||"n"!==e[1]){const i=B(o);if(r||i&&null!==o)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const s=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==s||("function"==typeof t.__lookupSetter__(e)?t[e]=s:t.setAttribute(e,s))}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(g,e):t.removeAttribute(e)):(!r||4&l||s)&&!i&&1===t.nodeType&&(o=!0===o?"":o,u?t.setAttributeNS(g,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):d(w,c)?c.slice(2):c[2]+e.slice(3),n||o){const s=e.endsWith(Kt);e=e.replace(Qt,""),n&&j.rel(t,e,n,s),o&&j.ael(t,e,o,s)}},qt=/\s/,Gt=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(qt):[]),Kt="Capture",Qt=RegExp(Kt+"$"),Xt=(t,e,n,o)=>{const s=11===e.k.nodeType&&e.k.host?e.k.host:e.k,l=t&&t.m||{},i=e.m||{};for(const t of Zt(Object.keys(l)))t in i||Yt(s,t,l[t],void 0,n,e.u,o);for(const t of Zt(Object.keys(i)))Yt(s,t,l[t],i[t],n,e.u,o)};function Zt(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var te=!1,ee=!1,ne=!1,oe=!1,se=(t,e,n)=>{var o;const s=e.S[n];let l,i,r,c=0;if(te||(ne=!0,"slot"===s.N&&(s.u|=s.S?2:1)),null!==s.$)l=s.k=w.document.createTextNode(s.$);else if(1&s.u)l=s.k=w.document.createTextNode(""),Xt(null,s,oe);else{if(!w.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.");if(l=s.k=w.document.createElement(!te&&2&s.u?"slot-fb":s.N),Xt(null,s,oe),null!=_t&&void 0!==_t&&l["s-si"]!==_t&&l.classList.add(l["s-si"]=_t),s.S)for(c=0;c<s.S.length;++c)i=se(t,s,c),i&&l.appendChild(i)}return l["s-hn"]=Wt,3&s.u&&(l["s-sr"]=!0,l["s-cr"]=Dt,l["s-sn"]=s.O||"",l["s-rf"]=null==(o=s.m)?void 0:o.ref,X(l),r=t&&t.S&&t.S[n],r&&r.N===s.N&&t.k&&le(t.k),be(Dt,l,e.k,null==t?void 0:t.k)),l},le=t=>{j.u|=1;const e=t.closest(Wt.toLowerCase());if(null!=e){const n=Array.from(e.__childNodes||e.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of n?o.reverse():o)null!=t["s-sh"]&&(ve(e,t,null!=n?n:null),t["s-sh"]=void 0,ne=!0)}j.u&=-2},ie=(t,e)=>{j.u|=1;const n=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let e=t;for(;e=e.nextSibling;)e&&e["s-sn"]===t["s-sn"]&&e["s-sh"]===Wt&&n.push(e)}for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==Wt&&o["s-ol"]&&(ve(fe(o).parentNode,o,fe(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,ne=!0),e&&ie(o,e)}j.u&=-2},re=(t,e,n,o,s,l)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowRoot&&r.tagName===Wt&&(r=r.shadowRoot);s<=l;++s)o[s]&&(i=se(null,n,s),i&&(o[s].k=i,ve(r,i,fe(e))))},ce=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.k;pe(e),t&&(ee=!0,t["s-ol"]?t["s-ol"].remove():ie(t,!0),t.remove())}}},ue=(t,e,n=!1)=>t.N===e.N&&("slot"===t.N?t.O===e.O:n?(n&&!t.j&&e.j&&(t.j=e.j),!0):t.j===e.j),fe=t=>t&&t["s-ol"]||t,ae=(t,e,n=!1)=>{const o=e.k=t.k,s=t.S,l=e.S,i=e.$;let r;null===i?("slot"!==e.N||te||t.O!==e.O&&(e.k["s-sn"]=e.O||"",le(e.k.parentElement)),Xt(t,e,oe,n),null!==s&&null!==l?((t,e,n,o,s=!1)=>{let l,i,r=0,c=0,u=0,f=0,a=e.length-1,d=e[0],h=e[a],p=o.length-1,v=o[0],b=o[p];for(;r<=a&&c<=p;)if(null==d)d=e[++r];else if(null==h)h=e[--a];else if(null==v)v=o[++c];else if(null==b)b=o[--p];else if(ue(d,v,s))ae(d,v,s),d=e[++r],v=o[++c];else if(ue(h,b,s))ae(h,b,s),h=e[--a],b=o[--p];else if(ue(d,b,s))"slot"!==d.N&&"slot"!==b.N||ie(d.k.parentNode,!1),ae(d,b,s),ve(t,d.k,h.k.nextSibling),d=e[++r],b=o[--p];else if(ue(h,v,s))"slot"!==d.N&&"slot"!==b.N||ie(h.k.parentNode,!1),ae(h,v,s),ve(t,h.k,d.k),h=e[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(e[f]&&null!==e[f].j&&e[f].j===v.j){u=f;break}u>=0?(i=e[u],i.N!==v.N?l=se(e&&e[c],n,u):(ae(i,v,s),e[u]=void 0,l=i.k),v=o[++c]):(l=se(e&&e[c],n,c),v=o[++c]),l&&ve(fe(d.k).parentNode,l,fe(d.k))}r>a?re(t,null==o[p+1]?null:o[p+1].k,n,o,c,p):c>p&&ce(e,r,a)})(o,s,e,l,n):null!==l?(null!==t.$&&(o.textContent=""),re(o,null,e,l,0,l.length-1)):!n&&null!==s&&ce(s,0,s.length-1)):(r=o["s-cr"])?r.parentNode.textContent=i:t.$!==i&&(o.data=i)},de=[],he=t=>{let e,n,o;const s=t.__childNodes||t.childNodes;for(const t of s){if(t["s-sr"]&&(e=t["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;const s=t["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!(e["s-cn"]||e["s-nr"]||e["s-hn"]===t["s-hn"]||e["s-sh"]&&e["s-sh"]===t["s-hn"]))if(G(e,s)){let n=de.find((t=>t.R===e));ee=!0,e["s-sn"]=e["s-sn"]||s,n?(n.R["s-sh"]=t["s-hn"],n.A=t):(e["s-sh"]=t["s-hn"],de.push({A:t,R:e})),e["s-sr"]&&de.map((t=>{G(t.R,e["s-sn"])&&(n=de.find((t=>t.R===e)),n&&!t.A&&(t.A=n.A))}))}else de.some((t=>t.R===e))||de.push({R:e})}1===t.nodeType&&he(t)}},pe=t=>{t.m&&t.m.ref&&t.m.ref(null),t.S&&t.S.map(pe)},ve=(t,e,n)=>{if("string"==typeof e["s-sn"]&&e["s-sr"]&&e["s-cr"])be(e["s-cr"],e,t,e.parentElement);else if("string"==typeof e["s-sn"]){11!==t.getRootNode().nodeType&&$t(e),t.insertBefore(e,n);const{slotNode:o}=tt(e);return o&&Z(o),e}return t.__insertBefore?t.__insertBefore(e,n):null==t?void 0:t.insertBefore(e,n)};function be(t,e,n,o){var s,l;let i;if(t&&"string"==typeof e["s-sn"]&&e["s-sr"]&&t.parentNode&&t.parentNode["s-sc"]&&(i=e["s-si"]||t.parentNode["s-sc"])){const t=e["s-sn"],r=e["s-hn"];if(null==(s=n.classList)||s.add(i+"-s"),o&&(null==(l=o.classList)?void 0:l.contains(i+"-s"))){let e=(o.__childNodes||o.childNodes)[0],n=!1;for(;e;){if(e["s-sn"]!==t&&e["s-hn"]===r&&e["s-sr"]){n=!0;break}e=e.nextSibling}n||o.classList.remove(i+"-s")}}}var $e=(t,e)=>{if(e&&!t.T&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.T=()=>{e["s-p"].splice(n-1,1),o()})))}},me=(t,e)=>{if(t.u|=16,!(4&t.u))return $e(t,t.B),A((()=>ye(t,e)));t.u|=512},ye=(t,e)=>{const n=t.$hostElement$,o=t.i;if(!o)throw 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`);let s;return e?(t.u|=256,t.P&&(t.P.map((([t,e])=>Ce(o,t,e,n))),t.P=void 0),s=Ce(o,"componentWillLoad",void 0,n)):s=Ce(o,"componentWillUpdate",void 0,n),s=ge(s,(()=>Ce(o,"componentWillRender",void 0,n))),ge(s,(()=>Se(t,o,e)))},ge=(t,e)=>we(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),we=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Se=async(t,e,n)=>{var o;const s=t.$hostElement$,l=s["s-rc"];n&&(t=>{const e=t.o,n=t.$hostElement$,o=e.u,s=Ot(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=s,n.classList.add(s+"-h"))})(t);Oe(t,e,s,n),l&&(l.map((t=>t())),s["s-rc"]=void 0);{const e=null!=(o=s["s-p"])?o:[],n=()=>xe(t);0===e.length?n():(Promise.all(e).then(n),t.u|=4,e.length=0)}},je=null,Oe=(t,e,n,o)=>{try{je=e,e=e.render&&e.render(),t.u&=-17,t.u|=2,((t,e,n=!1)=>{var o,s,l,i,r;const c=t.$hostElement$,u=t.o,f=t.F||Et(null,null),a=(t=>t&&t.N===Ct)(e)?e:kt(null,null,e);if(Wt=c.tagName,u.U&&(a.m=a.m||{},u.U.map((([t,e])=>a.m[e]=c[t]))),n&&a.m)for(const t of Object.keys(a.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.m[t]=c[t]);if(a.N=null,a.u|=4,t.F=a,a.k=f.k=c.shadowRoot||c,_t=c["s-sc"],te=!(!(1&u.u)||128&u.u),Dt=c["s-cr"],ee=!1,ae(f,a,n),j.u|=1,ne){he(a.k);for(const t of de){const e=t.R;if(!e["s-ol"]&&w.document){const t=w.document.createTextNode("");t["s-nr"]=e,ve(e.parentNode,e["s-ol"]=t,e)}}for(const t of de){const e=t.R,r=t.A;if(r){const t=r.parentNode;let n=r.nextSibling;if(n&&1===n.nodeType){let l=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;l;){let o=null!=(s=l["s-nr"])?s:null;if(o&&o["s-sn"]===e["s-sn"]&&t===(o.__parentNode||o.parentNode)){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}l=l.previousSibling}}(!n&&t!==(e.__parentNode||e.parentNode)||(e.__nextSibling||e.nextSibling)!==n)&&e!==n&&(ve(t,e,n),1===e.nodeType&&"SLOT-FB"!==e.tagName&&(e.hidden=null!=(l=e["s-ih"])&&l)),e&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(i=e.hidden)&&i),e.hidden=!0)}}if(ee&&H(a.k),j.u&=-2,de.length=0,2&u.u){const t=a.k.__childNodes||a.k.childNodes;for(const e of t)e["s-hn"]===Wt||e["s-sh"]||(n&&null==e["s-ih"]&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}Dt=void 0})(t,e,o)}catch(e){h(e,t.$hostElement$)}return je=null,null},Ne=()=>je,xe=t=>{const e=t.$hostElement$,n=t.i,o=t.B;Ce(n,"componentDidRender",void 0,e),64&t.u?Ce(n,"componentDidUpdate",void 0,e):(t.u|=64,Ie(e),Ce(n,"componentDidLoad",void 0,e),t._(e),o||Ee()),t.D(e),t.T&&(t.T(),t.T=void 0),512&t.u&&L((()=>me(t,!1))),t.u&=-517},ke=t=>{{const e=f(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.u)&&me(e,!1),n}},Ee=()=>{var e;L((()=>Jt(w,"appload",{detail:{namespace:t}}))),(null==(e=j.W)?void 0:e.size)&&j.W.clear()},Ce=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){h(t,o)}},Ie=t=>t.classList.add("hydrated"),Me=(t,e,n,o)=>{const s=f(t);if(!s)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const l=s.$hostElement$,i=s.l.get(e),r=s.u,c=s.i;if(n=Vt(n,o.t[e][0]),(!(8&r)||void 0===i)&&n!==i&&(!Number.isNaN(i)||!Number.isNaN(n))&&(s.l.set(e,n),c)){if(o.V&&128&r){const t=o.V[e];t&&t.map((t=>{try{c[t](n,i,e)}catch(t){h(t,l)}}))}if(2==(18&r)){if(c.componentShouldUpdate&&!1===c.componentShouldUpdate(n,i,e))return;me(s,!1)}}},Le=(t,e,n)=>{var o,s;const l=t.prototype;if(e.t||e.V||t.watchers){t.watchers&&!e.V&&(e.V=t.watchers);const i=Object.entries(null!=(o=e.t)?o:{});if(i.map((([t,[o]])=>{if(31&o||2&n&&32&o){const{get:s,set:i}=Object.getOwnPropertyDescriptor(l,t)||{};s&&(e.t[t][0]|=2048),i&&(e.t[t][0]|=4096),(1&n||!s)&&Object.defineProperty(l,t,{get(){{if(!(2048&e.t[t][0]))return((t,e)=>f(this).l.get(e))(0,t);const n=f(this),o=n?n.i:l;if(!o)return;return o[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(l,t,{set(s){const l=f(this);if(i){const n=32&o?this[t]:l.$hostElement$[t];return void 0===n&&l.l.get(t)?s=l.l.get(t):!l.l.get(t)&&n&&l.l.set(t,n),i.call(this,Vt(s,o)),void Me(this,t,s=32&o?this[t]:l.$hostElement$[t],e)}{if(!(1&n&&4096&e.t[t][0]))return Me(this,t,s,e),void(1&n&&!l.i&&l.H.then((()=>{4096&e.t[t][0]&&l.i[t]!==l.l.get(t)&&(l.i[t]=s)})));const i=()=>{const n=l.i[t];!l.l.get(t)&&n&&l.l.set(t,n),l.i[t]=Vt(s,o),Me(this,t,l.i[t],e)};l.i?i():l.H.then((()=>i()))}}})}else 1&n&&64&o&&Object.defineProperty(l,t,{value(...e){var n;const o=f(this);return null==(n=null==o?void 0:o.J)?void 0:n.then((()=>{var n;return null==(n=o.i)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;l.attributeChangedCallback=function(t,o,s){j.jmp((()=>{var i;const r=n.get(t);if(this.hasOwnProperty(r))s=this[r],delete this[r];else{if(l.hasOwnProperty(r)&&"number"==typeof this[r]&&this[r]==s)return;if(null==r){const n=f(this),l=null==n?void 0:n.u;if(l&&!(8&l)&&128&l&&s!==o){const l=n.i,r=null==(i=e.V)?void 0:i[t];null==r||r.forEach((e=>{null!=l[e]&&l[e].call(l,s,o,t)}))}return}}const c=Object.getOwnPropertyDescriptor(l,r);(s=(null!==s||"boolean"!=typeof this[r])&&s)===this[r]||c.get&&!c.set||(this[r]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.V)?s:{}),...i.filter((([t,e])=>15&e[0])).map((([t,o])=>{var s;const l=o[1]||t;return n.set(l,t),512&o[0]&&(null==(s=e.U)||s.push([t,l])),l}))]))}}return t},Re=(t,e)=>{Ce(t,"connectedCallback",void 0,e)},Ae=t=>{if(!(1&j.u)){const e=f(t),n=e.o,o=()=>{};if(1&e.u)Ue(t,e,n.Y),(null==e?void 0:e.i)?Re(e.i,t):(null==e?void 0:e.H)&&e.H.then((()=>Re(e.i,t)));else{let o;if(e.u|=1,o=t.getAttribute(b),o){if(1&n.u){const e=Ot(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}else if(2&n.u){const e=Nt(n);t["s-sc"]=e}((t,e,n,o)=>{var s,l;const i=t.shadowRoot,r=[],c=[],u=[],a=i?[]:null,d=Et(e,null);let h;d.k=t,Object.entries((null==(s=o.o)?void 0:s.t)||{}).forEach((([e,[n,s]])=>{var l;if(!(31&n))return;const i=t.getAttribute(s||e);if(null!==i){const t=Vt(i,n);null==(l=null==o?void 0:o.l)||l.set(e,t)}}));{const e=o.o;e&&10&e.u&&t["s-sc"]?(h=t["s-sc"],t.classList.add(h+"-h")):t["s-sc"]&&delete t["s-sc"]}!w.document||j.W&&j.W.size||At(w.document.body,j.W=new Map),t[b]=n,t.removeAttribute(b),o.F=Rt(d,r,c,a,t,t,n,u);let p=0;const v=r.length;let $;for(;p<v;p++){$=r[p];const n=$.C+"."+$.I,o=j.W.get(n),s=$.k;if(i){if((null==(l=$.N)?void 0:(""+l).includes("-"))&&!$.k.shadowRoot){const e=Nt(f($.k).o),n=w.document.querySelector(`style[sty-id="${e}"]`);n&&t.shadowRoot.append(n.cloneNode(!0))}}else s["s-hn"]=e.toUpperCase(),"slot"===$.N&&(s["s-cr"]=t["s-cr"]);"slot"===$.N&&($.O=$.k["s-sn"]||$.k.name||null,$.S?($.u|=2,$.k.childNodes.length||$.S.forEach((t=>{$.k.appendChild(t.k)}))):$.u|=1),o&&o.isConnected&&(o.parentElement.shadowRoot&&""===o["s-en"]&&o.parentNode.insertBefore(s,o.nextSibling),o.parentNode.removeChild(o),i||(s["s-oo"]=parseInt($.I))),o&&!o["s-id"]&&j.W.delete(n)}const m=[],y=u.length;let g,S,O,N,x=0;for(;x<y;x++)if(g=u[x],g&&g.length)for(O=g.length,S=0;S<O;S++){if(N=g[S],m[N.hostId]||(m[N.hostId]=j.W.get(N.hostId)),!m[N.hostId])continue;const t=m[N.hostId];t.shadowRoot&&i||(N.slot["s-cr"]||(N.slot["s-cr"]=t["s-cr"],N.slot["s-cr"]=!N.slot["s-cr"]&&t.shadowRoot?t:(t.__childNodes||t.childNodes)[0]),K(N.node,N.slot,!1,N.node["s-oo"]),dt(N.node)),t.shadowRoot&&N.node.parentElement!==t&&t.appendChild(N.node)}if(h&&c.length&&c.forEach((t=>{t.k.parentElement.classList.add(h+"-s")})),i){let e=0;const n=a.length;if(n){for(;e<n;e++)i.appendChild(a[e]);Array.from(t.childNodes).forEach((t=>{"string"!=typeof t["s-en"]&&"string"!=typeof t["s-sn"]&&(1===t.nodeType&&t.slot&&t.hidden?t.removeAttribute("hidden"):(8===t.nodeType&&!t.nodeValue||3===t.nodeType&&!t.wholeText.trim())&&t.parentNode.removeChild(t))}))}}o.$hostElement$=t})(t,n.v,o,e)}if(!o)if(12&n.u)Te(t);else if(!(4&n.u)){const e=t.firstChild;8!==(null==e?void 0:e.nodeType)||e["s-cn"]||e.nodeValue||t.removeChild(e)}{let n=t;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){$e(e,e.B=n);break}}n.t&&Object.entries(n.t).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.u)){if(e.u|=32,n.q){const s=((t,e)=>{const n=t.v.replace(/-/g,"_"),o=t.q;if(!o)return;const s=p.get(o);return s?s[n]:import(`./${o}.entry.js`).then((t=>(p.set(o,t),t[n])),(t=>{h(t,e.$hostElement$)}))
|
5
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(s&&"then"in s){const t=()=>{};o=await s,t()}else o=s;if(!o)throw Error(`Constructor for "${n.v}#${e.G}" was not found`);o.isProxied||(n.V=o.watchers,Le(o,n,2),o.isProxied=!0);const l=()=>{};e.u|=8;try{new o(e)}catch(e){h(e,t)}e.u&=-9,e.u|=128,l(),Re(e.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=Nt(n);if(!v.has(e)){const o=()=>{};jt(e,t,!!(1&n.u)),o()}}}const s=e.B,l=()=>me(e,!0);s&&s["s-rc"]?s["s-rc"].push(l):l()})(t,e,n)}o()}},Te=t=>{if(!w.document)return;const e=t["s-cr"]=w.document.createComment("");e["s-cn"]=!0,ve(t,e,t.firstChild)},Be=(t,e)=>{Ce(t,"disconnectedCallback",void 0,e||t)},Pe=(t,e={})=>{var n;if(!w.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const o=[],s=e.exclude||[],l=w.customElements,i=w.document.head,r=i.querySelector("meta[charset]"),c=w.document.createElement("style"),u=[];let a,d=!0;Object.assign(j,e),j.h=new URL(e.resourcesUrl||"./",w.document.baseURI).href,j.u|=2,(()=>{if(!w.document)return;const t=w.document.querySelectorAll(`[${$}]`);let e=0;for(;e<t.length;e++)jt(t[e].getAttribute($),xt(t[e].innerHTML),!0)})();let h=!1;if(t.map((t=>{t[1].map((n=>{var i;const r={u:n[0],v:n[1],t:n[2],Y:n[3]};4&r.u&&(h=!0),r.t=n[2],r.Y=n[3],r.U=[],r.V=null!=(i=n[4])?i:{};const c=e.transformTagName?e.transformTagName(r.v):r.v,p=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const n={u:0,$hostElement$:t,o:e,l:new Map};n.J=new Promise((t=>n.D=t)),n.H=new Promise((t=>n._=t)),t["s-p"]=[],t["s-rc"]=[];const o=n;t.__stencil__getHostRef=()=>o})(t=this,r),1&r.u)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${r.v}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else z.call(t,r)}connectedCallback(){const t=f(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ue(this,t,r.Y)),a&&(clearTimeout(a),a=null),d?u.push(this):j.jmp((()=>Ae(this)))}disconnectedCallback(){j.jmp((()=>(async t=>{if(!(1&j.u)){const e=f(t);e.K&&(e.K.map((t=>t())),e.K=void 0),(null==e?void 0:e.i)?Be(e.i,t):(null==e?void 0:e.H)&&e.H.then((()=>Be(e.i,t)))}St.has(t)&&St.delete(t),t.shadowRoot&&St.has(t.shadowRoot)&&St.delete(t.shadowRoot)})(this))),j.raf((()=>{var t;const e=f(this),n=u.findIndex((t=>t===this));n>-1&&u.splice(n,1),(null==(t=null==e?void 0:e.F)?void 0:t.k)instanceof Node&&!e.F.k.isConnected&&delete e.F.k}))}componentOnReady(){return f(this).H}};2&r.u&&(t=>{et(t),nt(t),lt(t),st(t),ut(t),it(t),rt(t),ct(t),ft(t),at(t),ot(t)})(p.prototype),r.q=t[0],s.includes(c)||l.get(c)||(o.push(c),l.define(c,Le(p,r,1)))}))})),o.length>0&&(h&&(c.textContent+=y),c.textContent+=o.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",c.innerHTML.length)){c.setAttribute("data-styles","");const t=null!=(n=j.p)?n:P(w.document);null!=t&&c.setAttribute("nonce",t),i.insertBefore(c,r?r.nextSibling:i.firstChild)}d=!1,u.length?u.map((t=>t.connectedCallback())):j.jmp((()=>a=setTimeout(Ee,30)))},Fe=(t,e)=>e,Ue=(t,e,n)=>{n&&w.document&&n.map((([n,o,s])=>{const l=De(w.document,t,n),i=_e(e,s),r=We(n);j.ael(l,o,i,r),(e.K=e.K||[]).push((()=>j.rel(l,o,i,r)))}))},_e=(t,e)=>n=>{var o;try{256&t.u?null==(o=t.i)||o[e](n):(t.P=t.P||[]).push([e,n])}catch(e){h(e,t.$hostElement$)}},De=(t,e,n)=>8&n?w:16&n?t.body:e,We=t=>({passive:!!(1&t),capture:!!(2&t)}),Ve=t=>j.p=t;export{o as B,Fe as F,S as H,t as N,zt as a,Pe as b,Ht as c,Ct as d,A as e,R as f,e as g,kt as h,h as i,Ne as j,ke as k,T as l,O as p,a as r,Ve as s,w}
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*!
|
2
2
|
* Custom elements for Nanopore-Digital Web applications
|
3
3
|
*/
|
4
|
-
import{j as e,k as t}from"./index-
|
4
|
+
import{j as e,k as t}from"./index-DXvE-U_j.js";const s=e=>!("isConnected"in e)||e.isConnected,n=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys())e.set(t,e.get(t).filter(s))})(...t)}),2e3)}})(),o=e=>"function"==typeof e?e():e,r=(s,r)=>{const c=((e,t=(e,t)=>e!==t)=>{const s=o(e);let n=new Map(Object.entries(s??{}));const r={dispose:[],get:[],set:[],reset:[]},c=()=>{n=new Map(Object.entries(o(e)??{})),r.reset.forEach((e=>e()))},i=e=>(r.get.forEach((t=>t(e))),n.get(e)),p=(e,s)=>{const o=n.get(e);t(s,o,e)&&(n.set(e,s),r.set.forEach((t=>t(e,s,o))))},u="undefined"==typeof Proxy?{}:new Proxy(s,{get:(e,t)=>i(t),ownKeys:()=>Array.from(n.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>n.has(t),set:(e,t,s)=>(p(t,s),!0)}),a=(e,t)=>(r[e].push(t),()=>{((e,t)=>{const s=e.indexOf(t);s>=0&&(e[s]=e[e.length-1],e.length--)})(r[e],t)});return{state:u,get:i,set:p,on:a,onChange:(t,s)=>{const n=a("set",((e,n)=>{e===t&&s(n)})),r=a("reset",(()=>s(o(e)[t])));return()=>{n(),r()}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(a("set",t.set)),t.get&&e.push(a("get",t.get)),t.reset&&e.push(a("reset",t.reset)),t.dispose&&e.push(a("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{r.dispose.forEach((e=>e())),c()},reset:c,forceUpdate:e=>{const t=n.get(e);r.set.forEach((s=>s(e,t,t)))}}})(s,r);return c.use((()=>{if("function"!=typeof e)return{};const s=new Map;return{dispose:()=>s.clear(),get:t=>{const n=e();n&&((e,t,s)=>{const n=e.get(t);n?n.includes(s)||n.push(s):e.set(t,[s])})(s,t,n)},set:e=>{const o=s.get(e);o&&s.set(e,o.filter(t)),n(s)},reset:()=>{s.forEach((e=>e.forEach(t))),n(s)}}})()),c};export{r as c}
|