@oiz/stzh-components 2.11.0-beta1 → 2.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-5b6fc14f.js → app-globals-7697372c.js} +2 -2
- package/dist/cjs/{app-globals-5b6fc14f.js.map → app-globals-7697372c.js.map} +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset_4.cjs.entry.js +3 -3
- package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +4 -3
- package/dist/cjs/stzh-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cell.cjs.entry.js +4 -4
- package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js +8 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +7 -4
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-ratio.cjs.entry.js → stzh-figure_2.cjs.entry.js} +33 -1
- package/dist/cjs/stzh-figure_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-footer.cjs.entry.js +22 -6
- package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +9733 -0
- package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header.cjs.entry.js +3 -6
- package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
- package/dist/cjs/{stzh-hspace.cjs.entry.js → stzh-hspace_2.cjs.entry.js} +41 -6
- package/dist/cjs/stzh-hspace_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +0 -2
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-logo.cjs.entry.js +671 -0
- package/dist/cjs/stzh-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +3 -2
- package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +2 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-row.cjs.entry.js +4 -4
- package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +1 -1
- package/dist/cjs/stzh-space.cjs.entry.js +5 -5
- package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +166 -15
- package/dist/cjs/stzh-sticky.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +5 -5
- package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
- package/dist/cjs/{utils-77bc0ea1.js → utils-01c0bbdd.js} +25 -1
- package/dist/cjs/utils-01c0bbdd.js.map +1 -0
- package/dist/collection/assets/i18n/de.json +19 -10
- package/dist/collection/assets/i18n/en.json +19 -10
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/stzh-button/stzh-button.css +4 -0
- package/dist/collection/components/stzh-button/stzh-button.js +3 -3
- package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
- package/dist/collection/components/stzh-card/stzh-card.css +1 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +27 -38
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.js.map +1 -1
- package/dist/collection/components/stzh-cell/stzh-cell.js +9 -13
- package/dist/collection/components/stzh-cell/stzh-cell.js.map +1 -1
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +9 -2
- package/dist/collection/components/stzh-clamp/stzh-clamp.js.map +1 -1
- package/dist/collection/components/stzh-contact/stzh-contact.js +25 -3
- package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +5 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.css +5 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +1 -7
- package/dist/collection/components/stzh-footer/stzh-footer.js +21 -5
- package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +2 -2
- package/dist/collection/components/stzh-gallery/assets/angle-left.svg +3 -0
- package/dist/collection/components/stzh-gallery/assets/angle-right.svg +3 -0
- package/dist/collection/components/stzh-gallery/assets/close.svg +3 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.css +839 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js +22 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js.map +1 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +410 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js +2 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js.map +1 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +163 -0
- package/dist/collection/components/stzh-header/stzh-header.css +19 -1
- package/dist/collection/components/stzh-header/stzh-header.js +1 -4
- package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
- package/dist/collection/components/stzh-header/stzh-header.stories.js +5 -3
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +13 -18
- package/dist/collection/components/stzh-hspace/stzh-hspace.js.map +1 -1
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +0 -38
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js.map +1 -1
- package/dist/collection/components/stzh-logo/assets/aoz.svg +15 -0
- package/dist/collection/components/stzh-logo/assets/pkzh.svg +207 -0
- package/dist/collection/components/stzh-logo/assets/stzh-default.svg +166 -0
- package/dist/collection/components/stzh-logo/assets/uvz.svg +85 -0
- package/dist/collection/components/stzh-logo/assets/vbz.svg +147 -0
- package/dist/collection/components/stzh-logo/stzh-logo.css +134 -0
- package/dist/collection/components/stzh-logo/stzh-logo.e2e.js +19 -0
- package/dist/collection/components/stzh-logo/stzh-logo.e2e.js.map +1 -0
- package/dist/collection/components/stzh-logo/stzh-logo.js +72 -0
- package/dist/collection/components/stzh-logo/stzh-logo.js.map +1 -0
- package/dist/collection/components/stzh-logo/stzh-logo.stories.js +51 -0
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +21 -2
- package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +3 -2
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +2 -4
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
- package/dist/collection/components/stzh-row/stzh-row.js +9 -13
- package/dist/collection/components/stzh-row/stzh-row.js.map +1 -1
- package/dist/collection/components/stzh-show/stzh-show.js +5 -5
- package/dist/collection/components/stzh-show/stzh-show.js.map +1 -1
- package/dist/collection/components/stzh-space/stzh-space.js +13 -18
- package/dist/collection/components/stzh-space/stzh-space.js.map +1 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +28 -17
- package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js +1 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js.map +1 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +186 -14
- package/dist/collection/components/stzh-sticky/stzh-sticky.js.map +1 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +88 -44
- package/dist/collection/components/stzh-text/stzh-text.css +19 -0
- package/dist/collection/components/stzh-text/stzh-text.js +1 -1
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +13 -18
- package/dist/collection/components/stzh-vspace/stzh-vspace.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/patterns/media/media.e2e.js +3 -1
- package/dist/collection/patterns/media/media.e2e.js.map +1 -1
- package/dist/collection/patterns/subpages/subpages.e2e.js +1 -0
- package/dist/collection/patterns/subpages/subpages.e2e.js.map +1 -1
- package/dist/collection/utils/utils.js +22 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/stzh-button2.js +2 -2
- package/dist/components/stzh-button2.js.map +1 -1
- package/dist/components/stzh-card-list2.js +1 -1
- package/dist/components/stzh-card-list2.js.map +1 -1
- package/dist/components/stzh-card2.js +1 -1
- package/dist/components/stzh-card2.js.map +1 -1
- package/dist/components/stzh-carousel2.js +3 -2
- package/dist/components/stzh-carousel2.js.map +1 -1
- package/dist/components/stzh-cell.js +9 -9
- package/dist/components/stzh-cell.js.map +1 -1
- package/dist/components/stzh-clamp2.js +8 -1
- package/dist/components/stzh-clamp2.js.map +1 -1
- package/dist/components/stzh-contact.js +7 -3
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cspace.js.map +1 -1
- package/dist/components/stzh-figure2.js +1 -1
- package/dist/components/stzh-figure2.js.map +1 -1
- package/dist/components/stzh-footer.js +21 -5
- package/dist/components/stzh-footer.js.map +1 -1
- package/dist/components/stzh-gallery.d.ts +11 -0
- package/dist/components/stzh-gallery.js +9808 -0
- package/dist/components/stzh-gallery.js.map +1 -0
- package/dist/components/stzh-header.js +2 -5
- package/dist/components/stzh-header.js.map +1 -1
- package/dist/components/stzh-hspace.js +1 -57
- package/dist/components/stzh-hspace.js.map +1 -1
- package/dist/{esm/stzh-hspace.entry.js → components/stzh-hspace2.js} +41 -13
- package/dist/components/stzh-hspace2.js.map +1 -0
- package/dist/components/stzh-imagecomparison.js +0 -4
- package/dist/components/stzh-imagecomparison.js.map +1 -1
- package/dist/components/stzh-logo.d.ts +11 -0
- package/dist/components/stzh-logo.js +687 -0
- package/dist/components/stzh-logo.js.map +1 -0
- package/dist/components/stzh-panorama.js +4 -2
- package/dist/components/stzh-panorama.js.map +1 -1
- package/dist/components/stzh-progressbar-item2.js +2 -1
- package/dist/components/stzh-progressbar-item2.js.map +1 -1
- package/dist/components/stzh-radiogroup2.js +1 -1
- package/dist/components/stzh-row.js +9 -9
- package/dist/components/stzh-row.js.map +1 -1
- package/dist/components/stzh-show.js +1 -59
- package/dist/components/stzh-show.js.map +1 -1
- package/dist/{esm/stzh-show.entry.js → components/stzh-show2.js} +34 -10
- package/dist/components/stzh-show2.js.map +1 -0
- package/dist/components/stzh-space.js +13 -13
- package/dist/components/stzh-space.js.map +1 -1
- package/dist/components/stzh-sticky.js +171 -17
- package/dist/components/stzh-sticky.js.map +1 -1
- package/dist/components/stzh-text2.js +1 -1
- package/dist/components/stzh-text2.js.map +1 -1
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vspace.js +13 -13
- package/dist/components/stzh-vspace.js.map +1 -1
- package/dist/components/utils.js +23 -1
- package/dist/components/utils.js.map +1 -1
- package/dist/esm/{app-globals-2df573fd.js → app-globals-1a77c38b.js} +2 -2
- package/dist/esm/{app-globals-2df573fd.js.map → app-globals-1a77c38b.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/stzh-actionset_4.entry.js +3 -3
- package/dist/esm/stzh-actionset_4.entry.js.map +1 -1
- package/dist/esm/stzh-appnav.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +3 -3
- package/dist/esm/stzh-badge_3.entry.js.map +1 -1
- package/dist/esm/stzh-carousel.entry.js +4 -3
- package/dist/esm/stzh-carousel.entry.js.map +1 -1
- package/dist/esm/stzh-cell.entry.js +4 -4
- package/dist/esm/stzh-cell.entry.js.map +1 -1
- package/dist/esm/stzh-checkbox.entry.js +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm/stzh-chip_2.entry.js +8 -1
- package/dist/esm/stzh-chip_2.entry.js.map +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +7 -4
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js.map +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/{stzh-ratio.entry.js → stzh-figure_2.entry.js} +33 -2
- package/dist/esm/stzh-figure_2.entry.js.map +1 -0
- package/dist/esm/stzh-footer.entry.js +22 -6
- package/dist/esm/stzh-footer.entry.js.map +1 -1
- package/dist/esm/stzh-gallery.entry.js +9729 -0
- package/dist/esm/stzh-gallery.entry.js.map +1 -0
- package/dist/esm/stzh-ghettobox.entry.js +1 -1
- package/dist/esm/stzh-header.entry.js +3 -6
- package/dist/esm/stzh-header.entry.js.map +1 -1
- package/dist/esm/stzh-hspace_2.entry.js +67 -0
- package/dist/esm/stzh-hspace_2.entry.js.map +1 -0
- package/dist/esm/stzh-imagecomparison.entry.js +0 -2
- package/dist/esm/stzh-imagecomparison.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-logo.entry.js +667 -0
- package/dist/esm/stzh-logo.entry.js.map +1 -0
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +3 -2
- package/dist/esm/stzh-panorama.entry.js.map +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print.entry.js +1 -1
- package/dist/esm/stzh-progressbar-item.entry.js +2 -1
- package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-row.entry.js +4 -4
- package/dist/esm/stzh-row.entry.js.map +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-space.entry.js +5 -5
- package/dist/esm/stzh-space.entry.js.map +1 -1
- package/dist/esm/stzh-sticky.entry.js +166 -15
- package/dist/esm/stzh-sticky.entry.js.map +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js.map +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-toast.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +1 -1
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +5 -5
- package/dist/esm/stzh-vspace.entry.js.map +1 -1
- package/dist/esm/{utils-107fad0f.js → utils-8bb4c3c6.js} +24 -2
- package/dist/esm/utils-8bb4c3c6.js.map +1 -0
- package/dist/esm-es5/{app-globals-2df573fd.js → app-globals-1a77c38b.js} +2 -2
- package/dist/esm-es5/{app-globals-2df573fd.js.map → app-globals-1a77c38b.js.map} +1 -1
- package/dist/esm-es5/index.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset_4.entry.js +2 -2
- package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js.map +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js.map +1 -1
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js.map +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-components.js.map +1 -1
- package/dist/esm-es5/stzh-contact.entry.js +1 -1
- package/dist/esm-es5/stzh-contact.entry.js.map +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-figure_2.entry.js +2 -0
- package/dist/esm-es5/stzh-figure_2.entry.js.map +1 -0
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js.map +1 -1
- package/dist/esm-es5/stzh-gallery.entry.js +10 -0
- package/dist/esm-es5/stzh-gallery.entry.js.map +1 -0
- package/dist/esm-es5/stzh-ghettobox.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js.map +1 -1
- package/dist/esm-es5/stzh-hspace_2.entry.js +2 -0
- package/dist/esm-es5/stzh-hspace_2.entry.js.map +1 -0
- package/dist/esm-es5/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm-es5/stzh-imagecomparison.entry.js.map +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-logo.entry.js +2 -0
- package/dist/esm-es5/stzh-logo.entry.js.map +1 -0
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-panorama.entry.js +1 -1
- package/dist/esm-es5/stzh-panorama.entry.js.map +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-print.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js.map +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js.map +1 -1
- package/dist/esm-es5/stzh-scrollup.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-space.entry.js +1 -1
- package/dist/esm-es5/stzh-space.entry.js.map +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js.map +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js.map +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- package/dist/esm-es5/stzh-timeline-item.entry.js +1 -1
- package/dist/esm-es5/stzh-toast.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
- package/dist/esm-es5/utils-8bb4c3c6.js +2 -0
- package/dist/esm-es5/utils-8bb4c3c6.js.map +1 -0
- package/dist/stzh-components/assets/i18n/de.json +19 -10
- package/dist/stzh-components/assets/i18n/en.json +19 -10
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-a509436d.entry.js → p-0164f9d1.entry.js} +2 -2
- package/dist/stzh-components/p-0164f9d1.entry.js.map +1 -0
- package/dist/stzh-components/{p-1f1910e4.system.entry.js → p-0684cfac.system.entry.js} +2 -2
- package/dist/stzh-components/{p-1f1910e4.system.entry.js.map → p-0684cfac.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-07819ba5.entry.js +2 -0
- package/dist/stzh-components/p-07819ba5.entry.js.map +1 -0
- package/dist/stzh-components/{p-6b9365fe.system.entry.js → p-0b4cba00.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b1fbe1d1.system.entry.js → p-0b8a15cc.system.entry.js} +2 -2
- package/dist/stzh-components/p-0bb08043.system.js.map +1 -1
- package/dist/stzh-components/p-0c049996.system.entry.js +2 -0
- package/dist/stzh-components/p-0c049996.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-9bd8613c.system.entry.js → p-0c2381f6.system.entry.js} +2 -2
- package/dist/stzh-components/p-0d9aa70c.entry.js +2 -0
- package/dist/stzh-components/p-0d9aa70c.entry.js.map +1 -0
- package/dist/stzh-components/{p-55a00af2.entry.js → p-10361297.entry.js} +2 -2
- package/dist/stzh-components/p-1095d872.system.entry.js +2 -0
- package/dist/stzh-components/p-1095d872.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-26f37848.entry.js → p-11031613.entry.js} +2 -2
- package/dist/stzh-components/{p-062360a4.system.entry.js → p-153f8f3f.system.entry.js} +2 -2
- package/dist/stzh-components/p-15980af0.entry.js +10 -0
- package/dist/stzh-components/p-15980af0.entry.js.map +1 -0
- package/dist/stzh-components/{p-fbf4ee43.system.entry.js → p-1834deba.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c1fa2872.system.entry.js → p-188dd49d.system.entry.js} +2 -2
- package/dist/stzh-components/{p-68e15c10.system.entry.js → p-1a49012e.system.entry.js} +2 -2
- package/dist/stzh-components/{p-2565c905.entry.js → p-1c9eee3d.entry.js} +2 -2
- package/dist/stzh-components/{p-badd636f.system.entry.js → p-24c0e33a.system.entry.js} +2 -2
- package/dist/stzh-components/{p-badd636f.system.entry.js.map → p-24c0e33a.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-2547ec12.system.entry.js +2 -0
- package/dist/stzh-components/p-2547ec12.system.entry.js.map +1 -0
- package/dist/stzh-components/p-287edde1.system.entry.js +2 -0
- package/dist/stzh-components/p-287edde1.system.entry.js.map +1 -0
- package/dist/stzh-components/p-2a3fdd90.system.entry.js +2 -0
- package/dist/stzh-components/p-2a3fdd90.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-af5151b6.entry.js → p-2abcca01.entry.js} +2 -2
- package/dist/stzh-components/p-2abcca01.entry.js.map +1 -0
- package/dist/stzh-components/{p-97b0b868.system.entry.js → p-2ff7c5db.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e0e5d06f.system.entry.js → p-3154e4da.system.entry.js} +2 -2
- package/dist/stzh-components/{p-754f37ee.entry.js → p-34add4af.entry.js} +2 -2
- package/dist/stzh-components/{p-b28e5fd4.system.entry.js → p-34ff6606.system.entry.js} +2 -2
- package/dist/stzh-components/{p-46ccadd5.system.entry.js → p-3ab3a5a7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-dd43141d.system.entry.js → p-3ceef7dd.system.entry.js} +2 -2
- package/dist/stzh-components/p-3df3f45c.entry.js +2 -0
- package/dist/stzh-components/p-3df3f45c.entry.js.map +1 -0
- package/dist/stzh-components/{p-e42dbd26.system.entry.js → p-42e25ae1.system.entry.js} +3 -3
- package/dist/stzh-components/p-42e25ae1.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-38ebb72d.system.entry.js → p-42f483f6.system.entry.js} +2 -2
- package/dist/stzh-components/{p-508f6d3d.entry.js → p-488c5c8a.entry.js} +2 -2
- package/dist/stzh-components/{p-a5b55401.entry.js → p-4ad49ece.entry.js} +2 -2
- package/dist/stzh-components/{p-f8b5c7a8.entry.js → p-4c091b1b.entry.js} +2 -2
- package/dist/stzh-components/{p-66965853.entry.js → p-4cb041d5.entry.js} +2 -2
- package/dist/stzh-components/{p-9a22e78f.system.entry.js → p-509f90d0.system.entry.js} +2 -2
- package/dist/stzh-components/p-509f90d0.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-ff2029b6.entry.js → p-5342d3ae.entry.js} +2 -2
- package/dist/stzh-components/{p-ff2029b6.entry.js.map → p-5342d3ae.entry.js.map} +1 -1
- package/dist/stzh-components/{p-243f3d8c.system.entry.js → p-54a1fdcc.system.entry.js} +2 -2
- package/dist/stzh-components/p-54dbcd0e.system.entry.js +11 -0
- package/dist/stzh-components/p-54dbcd0e.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-1f6fe9f1.entry.js → p-5cea16ad.entry.js} +2 -2
- package/dist/stzh-components/{p-1f6fe9f1.entry.js.map → p-5cea16ad.entry.js.map} +1 -1
- package/dist/stzh-components/{p-b218ae94.system.entry.js → p-5d02c5e0.system.entry.js} +2 -2
- package/dist/stzh-components/{p-01436630.system.entry.js → p-5e861cb6.system.entry.js} +2 -2
- package/dist/stzh-components/{p-45e98de0.entry.js → p-64845b66.entry.js} +2 -2
- package/dist/stzh-components/{p-45e98de0.entry.js.map → p-64845b66.entry.js.map} +1 -1
- package/dist/stzh-components/{p-95e4bc28.entry.js → p-68feffea.entry.js} +2 -2
- package/dist/stzh-components/{p-a6938665.entry.js → p-6a91ac35.entry.js} +2 -2
- package/dist/stzh-components/p-6a91ac35.entry.js.map +1 -0
- package/dist/stzh-components/{p-93c73a62.entry.js → p-6b9b037a.entry.js} +2 -2
- package/dist/stzh-components/{p-93c73a62.entry.js.map → p-6b9b037a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-98357b67.system.entry.js → p-6e979c9c.system.entry.js} +2 -2
- package/dist/stzh-components/{p-98357b67.system.entry.js.map → p-6e979c9c.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-d5b2327f.system.entry.js → p-709514fc.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c9f0cf53.entry.js → p-73442cf1.entry.js} +2 -2
- package/dist/stzh-components/{p-fd41d303.entry.js → p-7873a639.entry.js} +2 -2
- package/dist/stzh-components/p-7c2aa5e8.entry.js +2 -0
- package/dist/stzh-components/{p-41b2f989.entry.js.map → p-7c2aa5e8.entry.js.map} +1 -1
- package/dist/stzh-components/{p-a7ef9c99.entry.js → p-80851e3d.entry.js} +2 -2
- package/dist/stzh-components/p-80f1f324.system.entry.js +2 -0
- package/dist/stzh-components/p-80f1f324.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-e1bada00.entry.js → p-83a216d7.entry.js} +2 -2
- package/dist/stzh-components/{p-1e7376c9.system.js → p-84ae2651.system.js} +2 -2
- package/dist/stzh-components/{p-1e7376c9.system.js.map → p-84ae2651.system.js.map} +1 -1
- package/dist/stzh-components/{p-bd5b6832.system.entry.js → p-88adaf4b.system.entry.js} +2 -2
- package/dist/stzh-components/{p-34a359dd.entry.js → p-88e6248e.entry.js} +2 -2
- package/dist/stzh-components/{p-e4e8b73a.system.entry.js → p-8c1c75a7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e4e8b73a.system.entry.js.map → p-8c1c75a7.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-7e76c84a.entry.js → p-91e7dae0.entry.js} +2 -2
- package/dist/stzh-components/{p-a8c669b2.system.entry.js → p-97704eb0.system.entry.js} +2 -2
- package/dist/stzh-components/{p-a00db16c.js → p-98b60fb7.js} +2 -2
- package/dist/stzh-components/{p-a00db16c.js.map → p-98b60fb7.js.map} +1 -1
- package/dist/stzh-components/p-9d0fedfe.system.entry.js +2 -0
- package/dist/stzh-components/{p-8de3379f.system.entry.js.map → p-9d0fedfe.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-67a483cf.system.entry.js → p-a0b350c2.system.entry.js} +2 -2
- package/dist/stzh-components/{p-a4c5ef8d.entry.js → p-a312a505.entry.js} +2 -2
- package/dist/stzh-components/p-a60e85c8.system.entry.js +2 -0
- package/dist/stzh-components/p-a60e85c8.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-99ec62a5.entry.js → p-a94dd79b.entry.js} +2 -2
- package/dist/stzh-components/{p-99ec62a5.entry.js.map → p-a94dd79b.entry.js.map} +1 -1
- package/dist/stzh-components/p-aa337ae2.entry.js +2 -0
- package/dist/stzh-components/p-aa337ae2.entry.js.map +1 -0
- package/dist/stzh-components/{p-80e08833.entry.js → p-abbcda3b.entry.js} +2 -2
- package/dist/stzh-components/p-ae8eaf99.entry.js +2 -0
- package/dist/stzh-components/p-ae8eaf99.entry.js.map +1 -0
- package/dist/stzh-components/{p-793a530d.entry.js → p-af33b013.entry.js} +2 -2
- package/dist/stzh-components/{p-19b7b131.entry.js → p-afb2885a.entry.js} +2 -2
- package/dist/stzh-components/p-b305ec22.entry.js +2 -0
- package/dist/stzh-components/p-b305ec22.entry.js.map +1 -0
- package/dist/stzh-components/p-b6fed7ff.entry.js +2 -0
- package/dist/stzh-components/p-b6fed7ff.entry.js.map +1 -0
- package/dist/stzh-components/{p-cc10a5c5.system.entry.js → p-bb2fe16f.system.entry.js} +2 -2
- package/dist/stzh-components/p-bb2fe16f.system.entry.js.map +1 -0
- package/dist/stzh-components/p-bde8bb45.system.js +2 -0
- package/dist/stzh-components/{p-044b80d8.system.js.map → p-bde8bb45.system.js.map} +1 -1
- package/dist/stzh-components/{p-7a7eb40f.system.entry.js → p-c143a3f0.system.entry.js} +2 -2
- package/dist/stzh-components/{p-0a57145c.system.entry.js → p-c1ab5b6a.system.entry.js} +2 -2
- package/dist/stzh-components/p-c1ab5b6a.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-fb70c624.system.entry.js → p-c41d9fa7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-ebd47e41.entry.js → p-c5a4865c.entry.js} +2 -2
- package/dist/stzh-components/{p-7007044a.entry.js → p-c7a068ee.entry.js} +2 -2
- package/dist/stzh-components/{p-ae44fab0.entry.js → p-cb906ad4.entry.js} +2 -2
- package/dist/stzh-components/{p-70461b7e.entry.js → p-cc260e20.entry.js} +2 -2
- package/dist/stzh-components/p-cc260e20.entry.js.map +1 -0
- package/dist/stzh-components/p-cfd1eed9.system.entry.js +2 -0
- package/dist/stzh-components/p-cfd1eed9.system.entry.js.map +1 -0
- package/dist/stzh-components/p-cfdb06e4.js +2 -0
- package/dist/stzh-components/p-cfdb06e4.js.map +1 -0
- package/dist/stzh-components/{p-54c0340b.entry.js → p-d0678cbb.entry.js} +2 -2
- package/dist/stzh-components/p-d22fbf2e.system.entry.js +2 -0
- package/dist/stzh-components/p-d22fbf2e.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-42138c55.entry.js → p-d362dc3a.entry.js} +2 -2
- package/dist/stzh-components/{p-3ac03d9a.entry.js → p-ded183e7.entry.js} +2 -2
- package/dist/stzh-components/{p-58a6ed19.system.entry.js → p-df322682.system.entry.js} +2 -2
- package/dist/stzh-components/{p-d50495d5.entry.js → p-e24cfa3e.entry.js} +2 -2
- package/dist/stzh-components/{p-ffe3fbab.entry.js → p-e3cd443b.entry.js} +2 -2
- package/dist/stzh-components/{p-e58d6819.system.entry.js → p-e61f6afc.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e58d6819.system.entry.js.map → p-e61f6afc.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-f16e40f8.system.entry.js → p-e670eba0.system.entry.js} +2 -2
- package/dist/stzh-components/p-ed2896cd.entry.js +2 -0
- package/dist/stzh-components/p-ed2896cd.entry.js.map +1 -0
- package/dist/stzh-components/{p-3ccf5529.system.entry.js → p-f159a561.system.entry.js} +2 -2
- package/dist/stzh-components/p-f6662aa5.entry.js +2 -0
- package/dist/stzh-components/p-f6662aa5.entry.js.map +1 -0
- package/dist/stzh-components/p-f73af272.entry.js +8 -0
- package/dist/stzh-components/p-f73af272.entry.js.map +1 -0
- package/dist/stzh-components/{p-75beb9f8.system.entry.js → p-f8511c39.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b1851b3e.entry.js → p-f91187c8.entry.js} +2 -2
- package/dist/stzh-components/p-f9cb0fcd.system.js +2 -0
- package/dist/stzh-components/p-f9cb0fcd.system.js.map +1 -0
- package/dist/stzh-components/{p-4e32ee7a.system.entry.js → p-ff1d24e2.system.entry.js} +2 -2
- package/dist/stzh-components/{p-61589824.system.entry.js → p-ff356dc8.system.entry.js} +2 -2
- package/dist/stzh-components/{p-9145f8d9.system.entry.js → p-ff9a0645.system.entry.js} +2 -2
- package/dist/stzh-components/p-ff9a0645.system.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +15 -0
- package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +73 -0
- package/dist/types/components/stzh-actions/stzh-actions.d.ts +16 -0
- package/dist/types/components/stzh-actionset/stzh-actionset.d.ts +45 -0
- package/dist/types/components/stzh-amount/stzh-amount.d.ts +73 -0
- package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +23 -0
- package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +73 -0
- package/dist/types/components/stzh-audio/stzh-audio.d.ts +58 -0
- package/dist/types/components/stzh-button/stzh-button.d.ts +105 -0
- package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +7 -0
- package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +88 -0
- package/dist/types/components/stzh-card/stzh-card.d.ts +127 -0
- package/dist/types/components/stzh-card-list/stzh-card-list.d.ts +31 -0
- package/dist/types/components/stzh-carousel/stzh-carousel.d.ts +175 -0
- package/dist/types/components/stzh-chart/stzh-chart.d.ts +15 -0
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +57 -0
- package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +64 -0
- package/dist/types/components/stzh-chip/stzh-chip.d.ts +74 -0
- package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +46 -0
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +49 -0
- package/dist/types/components/stzh-contact/stzh-contact.d.ts +54 -0
- package/dist/types/components/stzh-datalist/stzh-datalist.d.ts +51 -0
- package/dist/types/components/stzh-datalist-item/stzh-datalist-item.d.ts +62 -0
- package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +6 -0
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +57 -0
- package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +103 -0
- package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +91 -0
- package/dist/types/components/stzh-details/stzh-details.d.ts +35 -0
- package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +64 -0
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +173 -0
- package/dist/types/components/stzh-figure/stzh-figure.d.ts +21 -0
- package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +35 -0
- package/dist/types/components/stzh-footer/stzh-footer.d.ts +27 -0
- package/dist/types/components/stzh-gallery/stzh-gallery.d.ts +54 -0
- package/dist/types/components/stzh-gallery/stzh-gallery.localization.d.ts +10 -0
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +50 -0
- package/dist/types/components/stzh-header/stzh-header.d.ts +68 -0
- package/dist/types/components/stzh-hr/stzh-hr.d.ts +7 -0
- package/dist/types/components/stzh-iframe/stzh-iframe.d.ts +60 -0
- package/dist/types/components/stzh-imagecomparison/stzh-imagecomparison.d.ts +29 -0
- package/dist/types/components/stzh-input/stzh-input.d.ts +104 -0
- package/dist/types/components/stzh-invert/stzh-invert.d.ts +7 -0
- package/dist/types/components/stzh-langnav/stzh-langnav.d.ts +19 -0
- package/dist/types/components/stzh-link/stzh-link.d.ts +88 -0
- package/dist/types/components/stzh-list/stzh-list.d.ts +9 -0
- package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +7 -0
- package/dist/types/components/stzh-loader/stzh-loader.d.ts +13 -0
- package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +12 -0
- package/dist/types/components/stzh-logo/stzh-logo.d.ts +9 -0
- package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +50 -0
- package/dist/types/components/stzh-message/stzh-message.d.ts +37 -0
- package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +11 -0
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.d.ts +33 -0
- package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +98 -0
- package/dist/types/components/stzh-olmap/stzh-olmap.d.ts +124 -0
- package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +34 -0
- package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +11 -0
- package/dist/types/components/stzh-pagebottom/stzh-pagebottom.d.ts +29 -0
- package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +15 -0
- package/dist/types/components/stzh-pagetitle-hero/stzh-pagetitle-hero.d.ts +25 -0
- package/dist/types/components/stzh-pagination/stzh-pagination.d.ts +52 -0
- package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +74 -0
- package/dist/types/components/stzh-popover/stzh-popover.d.ts +73 -0
- package/dist/types/components/stzh-print/stzh-print.d.ts +12 -0
- package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +49 -0
- package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +34 -0
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +57 -0
- package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +66 -0
- package/dist/types/components/stzh-ratio/stzh-ratio.d.ts +22 -0
- package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +18 -0
- package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +22 -0
- package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +28 -0
- package/dist/types/components/stzh-scrollup/stzh-scrollup.d.ts +12 -0
- package/dist/types/components/stzh-share/stzh-share.d.ts +21 -0
- package/dist/types/components/stzh-show/stzh-show.d.ts +22 -0
- package/dist/types/components/stzh-sitemap/stzh-sitemap.d.ts +14 -0
- package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +38 -0
- package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +59 -0
- package/dist/types/components/stzh-status/stzh-status.d.ts +14 -0
- package/dist/types/components/stzh-sticky/stzh-sticky.d.ts +58 -0
- package/dist/types/components/stzh-table/stzh-table.d.ts +43 -0
- package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +14 -0
- package/dist/types/components/stzh-timeline/stzh-timeline.d.ts +23 -0
- package/dist/types/components/stzh-timeline-item/stzh-timeline-item.d.ts +78 -0
- package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +62 -0
- package/dist/types/components/stzh-toast/stzh-toast.d.ts +39 -0
- package/dist/types/components/stzh-toastbar/stzh-toastbar.d.ts +41 -0
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +59 -0
- package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +80 -0
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +236 -0
- package/dist/types/components/stzh-vbz-carousel/stzh-vbz-carousel.d.ts +14 -0
- package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +37 -0
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +41 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +34 -0
- package/dist/types/components/stzh-youtube/stzh-youtube.d.ts +30 -0
- package/dist/types/components.d.ts +101 -24
- package/dist/types/index.d.ts +899 -0
- package/dist/types/libraries/tom-select/types/constants.d.ts +12 -0
- package/dist/types/libraries/tom-select/types/contrib/highlight.d.ts +13 -0
- package/dist/types/libraries/tom-select/types/contrib/microevent.d.ts +20 -0
- package/dist/types/libraries/tom-select/types/contrib/microplugin.d.ts +71 -0
- package/dist/types/libraries/tom-select/types/defaults.d.ts +51 -0
- package/dist/types/libraries/tom-select/types/getSettings.d.ts +3 -0
- package/dist/types/libraries/tom-select/types/plugins/caret_position/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/plugins/change_listener/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/plugins/checkbox_options/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/plugins/clear_button/plugin.d.ts +17 -0
- package/dist/types/libraries/tom-select/types/plugins/clear_button/types.d.ts +5 -0
- package/dist/types/libraries/tom-select/types/plugins/drag_drop/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/plugins/dropdown_header/plugin.d.ts +17 -0
- package/dist/types/libraries/tom-select/types/plugins/dropdown_header/types.d.ts +8 -0
- package/dist/types/libraries/tom-select/types/plugins/dropdown_input/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/plugins/input_autogrow/plugin.d.ts +15 -0
- package/dist/types/libraries/tom-select/types/plugins/no_active_items/plugin.d.ts +15 -0
- package/dist/types/libraries/tom-select/types/plugins/no_backspace_delete/plugin.d.ts +15 -0
- package/dist/types/libraries/tom-select/types/plugins/optgroup_columns/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/plugins/remove_button/plugin.d.ts +17 -0
- package/dist/types/libraries/tom-select/types/plugins/remove_button/types.d.ts +6 -0
- package/dist/types/libraries/tom-select/types/plugins/restore_on_backspace/plugin.d.ts +21 -0
- package/dist/types/libraries/tom-select/types/plugins/virtual_scroll/plugin.d.ts +16 -0
- package/dist/types/libraries/tom-select/types/tom-select.complete.d.ts +2 -0
- package/dist/types/libraries/tom-select/types/tom-select.d.ts +596 -0
- package/dist/types/libraries/tom-select/types/tom-select.popular.d.ts +2 -0
- package/dist/types/libraries/tom-select/types/types/core.d.ts +48 -0
- package/dist/types/libraries/tom-select/types/types/index.d.ts +2 -0
- package/dist/types/libraries/tom-select/types/types/settings.d.ts +78 -0
- package/dist/types/libraries/tom-select/types/utils.d.ts +76 -0
- package/dist/types/libraries/tom-select/types/vanilla.d.ts +76 -0
- package/dist/types/types/svg.d.ts +4 -0
- package/dist/types/utils/utils.d.ts +5 -0
- package/package.json +2 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +0 -40
- package/dist/cjs/stzh-figure.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-show.cjs.entry.js +0 -43
- package/dist/cjs/stzh-show.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-77bc0ea1.js.map +0 -1
- package/dist/esm/stzh-figure.entry.js +0 -36
- package/dist/esm/stzh-figure.entry.js.map +0 -1
- package/dist/esm/stzh-hspace.entry.js.map +0 -1
- package/dist/esm/stzh-ratio.entry.js.map +0 -1
- package/dist/esm/stzh-show.entry.js.map +0 -1
- package/dist/esm/utils-107fad0f.js.map +0 -1
- package/dist/esm-es5/stzh-figure.entry.js +0 -2
- package/dist/esm-es5/stzh-figure.entry.js.map +0 -1
- package/dist/esm-es5/stzh-hspace.entry.js +0 -2
- package/dist/esm-es5/stzh-hspace.entry.js.map +0 -1
- package/dist/esm-es5/stzh-ratio.entry.js +0 -2
- package/dist/esm-es5/stzh-ratio.entry.js.map +0 -1
- package/dist/esm-es5/stzh-show.entry.js +0 -2
- package/dist/esm-es5/stzh-show.entry.js.map +0 -1
- package/dist/esm-es5/utils-107fad0f.js +0 -2
- package/dist/esm-es5/utils-107fad0f.js.map +0 -1
- package/dist/stzh-components/p-004b3030.system.entry.js +0 -2
- package/dist/stzh-components/p-004b3030.system.entry.js.map +0 -1
- package/dist/stzh-components/p-044b80d8.system.js +0 -2
- package/dist/stzh-components/p-0a57145c.system.entry.js.map +0 -1
- package/dist/stzh-components/p-0c8d651e.entry.js +0 -2
- package/dist/stzh-components/p-0c8d651e.entry.js.map +0 -1
- package/dist/stzh-components/p-0e5d39e2.system.entry.js +0 -2
- package/dist/stzh-components/p-0e5d39e2.system.entry.js.map +0 -1
- package/dist/stzh-components/p-0ed6eafb.system.entry.js +0 -2
- package/dist/stzh-components/p-0ed6eafb.system.entry.js.map +0 -1
- package/dist/stzh-components/p-168f0faa.entry.js +0 -8
- package/dist/stzh-components/p-168f0faa.entry.js.map +0 -1
- package/dist/stzh-components/p-18bf2b21.system.entry.js +0 -2
- package/dist/stzh-components/p-18bf2b21.system.entry.js.map +0 -1
- package/dist/stzh-components/p-2452dd71.system.entry.js +0 -2
- package/dist/stzh-components/p-2452dd71.system.entry.js.map +0 -1
- package/dist/stzh-components/p-330bdf15.system.entry.js +0 -2
- package/dist/stzh-components/p-330bdf15.system.entry.js.map +0 -1
- package/dist/stzh-components/p-341c1c6c.entry.js +0 -2
- package/dist/stzh-components/p-341c1c6c.entry.js.map +0 -1
- package/dist/stzh-components/p-41b2f989.entry.js +0 -2
- package/dist/stzh-components/p-52e9dbe5.entry.js +0 -2
- package/dist/stzh-components/p-52e9dbe5.entry.js.map +0 -1
- package/dist/stzh-components/p-53e44e89.system.js +0 -2
- package/dist/stzh-components/p-53e44e89.system.js.map +0 -1
- package/dist/stzh-components/p-645bbb42.entry.js +0 -2
- package/dist/stzh-components/p-645bbb42.entry.js.map +0 -1
- package/dist/stzh-components/p-70461b7e.entry.js.map +0 -1
- package/dist/stzh-components/p-74e07267.entry.js +0 -2
- package/dist/stzh-components/p-74e07267.entry.js.map +0 -1
- package/dist/stzh-components/p-7b044a55.entry.js +0 -2
- package/dist/stzh-components/p-7b044a55.entry.js.map +0 -1
- package/dist/stzh-components/p-7eaed674.system.entry.js +0 -2
- package/dist/stzh-components/p-7eaed674.system.entry.js.map +0 -1
- package/dist/stzh-components/p-8de3379f.system.entry.js +0 -2
- package/dist/stzh-components/p-9145f8d9.system.entry.js.map +0 -1
- package/dist/stzh-components/p-9a22e78f.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a27c6c02.system.entry.js +0 -2
- package/dist/stzh-components/p-a27c6c02.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a509436d.entry.js.map +0 -1
- package/dist/stzh-components/p-a6938665.entry.js.map +0 -1
- package/dist/stzh-components/p-a999bb48.entry.js +0 -2
- package/dist/stzh-components/p-a999bb48.entry.js.map +0 -1
- package/dist/stzh-components/p-af5151b6.entry.js.map +0 -1
- package/dist/stzh-components/p-ba8c574b.js +0 -2
- package/dist/stzh-components/p-ba8c574b.js.map +0 -1
- package/dist/stzh-components/p-c2fcd668.entry.js +0 -2
- package/dist/stzh-components/p-c2fcd668.entry.js.map +0 -1
- package/dist/stzh-components/p-cc10a5c5.system.entry.js.map +0 -1
- package/dist/stzh-components/p-d18665b6.system.entry.js +0 -2
- package/dist/stzh-components/p-d18665b6.system.entry.js.map +0 -1
- package/dist/stzh-components/p-e42dbd26.system.entry.js.map +0 -1
- package/dist/stzh-components/p-e6f1bae9.system.entry.js +0 -2
- package/dist/stzh-components/p-e6f1bae9.system.entry.js.map +0 -1
- package/dist/stzh-components/p-ebaf8f26.entry.js +0 -2
- package/dist/stzh-components/p-ebaf8f26.entry.js.map +0 -1
- package/dist/stzh-components/p-ef274d0c.entry.js +0 -2
- package/dist/stzh-components/p-ef274d0c.entry.js.map +0 -1
- package/dist/vscode-data.json +0 -7422
- /package/dist/stzh-components/{p-6b9365fe.system.entry.js.map → p-0b4cba00.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1fbe1d1.system.entry.js.map → p-0b8a15cc.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9bd8613c.system.entry.js.map → p-0c2381f6.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-55a00af2.entry.js.map → p-10361297.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-26f37848.entry.js.map → p-11031613.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-062360a4.system.entry.js.map → p-153f8f3f.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fbf4ee43.system.entry.js.map → p-1834deba.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c1fa2872.system.entry.js.map → p-188dd49d.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-68e15c10.system.entry.js.map → p-1a49012e.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2565c905.entry.js.map → p-1c9eee3d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-97b0b868.system.entry.js.map → p-2ff7c5db.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e0e5d06f.system.entry.js.map → p-3154e4da.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-754f37ee.entry.js.map → p-34add4af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b28e5fd4.system.entry.js.map → p-34ff6606.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-46ccadd5.system.entry.js.map → p-3ab3a5a7.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd43141d.system.entry.js.map → p-3ceef7dd.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38ebb72d.system.entry.js.map → p-42f483f6.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-508f6d3d.entry.js.map → p-488c5c8a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a5b55401.entry.js.map → p-4ad49ece.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f8b5c7a8.entry.js.map → p-4c091b1b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-66965853.entry.js.map → p-4cb041d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-243f3d8c.system.entry.js.map → p-54a1fdcc.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b218ae94.system.entry.js.map → p-5d02c5e0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-01436630.system.entry.js.map → p-5e861cb6.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-95e4bc28.entry.js.map → p-68feffea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d5b2327f.system.entry.js.map → p-709514fc.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9f0cf53.entry.js.map → p-73442cf1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd41d303.entry.js.map → p-7873a639.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a7ef9c99.entry.js.map → p-80851e3d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e1bada00.entry.js.map → p-83a216d7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bd5b6832.system.entry.js.map → p-88adaf4b.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-34a359dd.entry.js.map → p-88e6248e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7e76c84a.entry.js.map → p-91e7dae0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8c669b2.system.entry.js.map → p-97704eb0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-67a483cf.system.entry.js.map → p-a0b350c2.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a4c5ef8d.entry.js.map → p-a312a505.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-80e08833.entry.js.map → p-abbcda3b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-793a530d.entry.js.map → p-af33b013.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-19b7b131.entry.js.map → p-afb2885a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a7eb40f.system.entry.js.map → p-c143a3f0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fb70c624.system.entry.js.map → p-c41d9fa7.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ebd47e41.entry.js.map → p-c5a4865c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7007044a.entry.js.map → p-c7a068ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ae44fab0.entry.js.map → p-cb906ad4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-54c0340b.entry.js.map → p-d0678cbb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42138c55.entry.js.map → p-d362dc3a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3ac03d9a.entry.js.map → p-ded183e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58a6ed19.system.entry.js.map → p-df322682.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d50495d5.entry.js.map → p-e24cfa3e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ffe3fbab.entry.js.map → p-e3cd443b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f16e40f8.system.entry.js.map → p-e670eba0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3ccf5529.system.entry.js.map → p-f159a561.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-75beb9f8.system.entry.js.map → p-f8511c39.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1851b3e.entry.js.map → p-f91187c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4e32ee7a.system.entry.js.map → p-ff1d24e2.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61589824.system.entry.js.map → p-ff356dc8.system.entry.js.map} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register(["./p-290fcb28.system.js","./p-f9cb0fcd.system.js","./p-774595ba.system.js"],(function(t){"use strict";var i,r,a,e,o;return{setters:[function(t){i=t.r;r=t.h;a=t.a;e=t.g},function(t){o=t.h},function(){}],execute:function(){var s=".sc-stzh-figure-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-figure-h .has-focus.sc-stzh-figure{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure{outline-style:none !important}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure::-moz-focus-inner{border:0 !important}.sc-stzh-figure-h{--caption-opacity:1}.sc-stzh-figure-h .sc-stzh-figure-s>*{max-width:100%}.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]) .sc-stzh-figure-s>*{width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}@media print{.stzh-figure__element.sc-stzh-figure{page-break-inside:avoid;-moz-column-break-inside:avoid;-webkit-column-break-inside:avoid;break-inside:avoid}}.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));display:-ms-flexbox;display:flex;opacity:var(--caption-opacity);-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 1024px){.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__counter.sc-stzh-figure:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-figure__counter.sc-stzh-figure,.stzh-figure__heading.sc-stzh-figure{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-figure__caption-text.sc-stzh-figure:not(:empty)+.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure--has-caption.sc-stzh-figure .stzh-figure__caption-wrapper.sc-stzh-figure{margin-top:var(--stzh-space-small)}";var n=t("stzh_figure",function(){function t(t){i(this,t);this.caption="";this.copyright="";this.counter="";this.heading="";this.fullwidth=true}t.prototype.render=function(){var t=o(this.element,"caption");var i=o(this.element,"copyright");var e=o(this.element,"counter");var s=o(this.element,"heading");var n={"stzh-figure":true,"stzh-figure--has-caption":!!this.caption||t||!!this.copyright||i||!!this.counter||e||!!this.heading||s};return r(a,null,r("figure",{class:n},r("div",{class:"stzh-figure__element"},r("slot",null)),r("figcaption",{class:"stzh-figure__caption-wrapper"},r("div",{class:"stzh-figure__counter"},this.counter?this.counter:r("slot",{name:"counter"})),r("div",{class:"stzh-figure__text"},r("div",{class:"stzh-figure__heading"},this.heading?this.heading:r("slot",{name:"heading"})),r("div",{class:"stzh-figure__caption"},r("span",{class:"stzh-figure__caption-text"},this.caption?this.caption:r("slot",{name:"caption"})),r("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:r("slot",{name:"copyright"})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());n.style=s;var h='.sc-stzh-ratio-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-ratio-h{display:none}.sc-stzh-ratio-h *.sc-stzh-ratio,.sc-stzh-ratio-h *.sc-stzh-ratio::before,.sc-stzh-ratio-h *.sc-stzh-ratio::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-ratio-h .has-focus.sc-stzh-ratio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}.sc-stzh-ratio-h .stzh-fylingfocus-focused.sc-stzh-ratio{outline-style:none !important}.sc-stzh-ratio-h .stzh-fylingfocus-focused.sc-stzh-ratio::-moz-focus-inner{border:0 !important}.sc-stzh-ratio-h{--background-color:var(--stzh-ratio-background-color);--ratio:0.5625}.sc-stzh-ratio-h .sc-stzh-ratio-s>*{position:absolute;width:100%;height:100%;top:0;left:0;-o-object-fit:cover;object-fit:cover}.sc-stzh-ratio-h[fit=contain] .sc-stzh-ratio-s>*{-o-object-fit:contain;object-fit:contain}[portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}[ratio="16:9"].sc-stzh-ratio-h{--ratio:0.5625}[ratio="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}[ratio="1:1"].sc-stzh-ratio-h{--ratio:1}[ratio="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}[ratio="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}[ratio="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}[ratio="2:1"].sc-stzh-ratio-h{--ratio:0.5}[ratio="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}[ratio="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}[ratio="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}[ratio="4:3"].sc-stzh-ratio-h{--ratio:0.75}[ratio="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}[ratio="5:4"].sc-stzh-ratio-h{--ratio:0.8}[ratio="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}@media screen and (min-width: 600px){[ratio-small="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 600px){[ratio-small="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 600px){[ratio-small="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 600px){[ratio-small="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 600px){[ratio-small="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 600px){[ratio-small="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 600px){[ratio-small="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 600px){[ratio-small="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 600px){[ratio-small="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 600px){[ratio-small="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 600px){[ratio-small="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 600px){[ratio-small="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 600px){[ratio-small="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 600px){[ratio-small="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 800px){[ratio-smallheader="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 800px){[ratio-smallheader="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 800px){[ratio-smallheader="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 800px){[ratio-smallheader="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 800px){[ratio-smallheader="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 800px){[ratio-smallheader="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 800px){[ratio-smallheader="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 800px){[ratio-smallheader="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 800px){[ratio-smallheader="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 800px){[ratio-smallheader="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 800px){[ratio-smallheader="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 800px){[ratio-smallheader="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 800px){[ratio-smallheader="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 800px){[ratio-smallheader="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 1024px){[ratio-medium="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 1024px){[ratio-medium="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 1024px){[ratio-medium="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 1024px){[ratio-medium="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 1024px){[ratio-medium="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 1024px){[ratio-medium="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 1024px){[ratio-medium="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 1024px){[ratio-medium="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 1024px){[ratio-medium="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 1024px){[ratio-medium="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 1024px){[ratio-medium="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 1024px){[ratio-medium="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 1024px){[ratio-medium="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 1024px){[ratio-medium="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 1260px){[ratio-large="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 1260px){[ratio-large="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 1260px){[ratio-large="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 1260px){[ratio-large="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 1260px){[ratio-large="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 1260px){[ratio-large="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 1260px){[ratio-large="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 1260px){[ratio-large="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 1260px){[ratio-large="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 1260px){[ratio-large="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 1260px){[ratio-large="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 1260px){[ratio-large="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 1260px){[ratio-large="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 1260px){[ratio-large="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}@media screen and (min-width: 1440px){[ratio-ultra="16:9"].sc-stzh-ratio-h{--ratio:0.5625}}@media screen and (min-width: 1440px){[ratio-ultra="16:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.7777777778}}@media screen and (min-width: 1440px){[ratio-ultra="1:1"].sc-stzh-ratio-h{--ratio:1}}@media screen and (min-width: 1440px){[ratio-ultra="1:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1}}@media screen and (min-width: 1440px){[ratio-ultra="21:9"].sc-stzh-ratio-h{--ratio:0.4285714286}}@media screen and (min-width: 1440px){[ratio-ultra="21:9"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2.3333333333}}@media screen and (min-width: 1440px){[ratio-ultra="2:1"].sc-stzh-ratio-h{--ratio:0.5}}@media screen and (min-width: 1440px){[ratio-ultra="2:1"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:2}}@media screen and (min-width: 1440px){[ratio-ultra="3:2"].sc-stzh-ratio-h{--ratio:0.6666666667}}@media screen and (min-width: 1440px){[ratio-ultra="3:2"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.5}}@media screen and (min-width: 1440px){[ratio-ultra="4:3"].sc-stzh-ratio-h{--ratio:0.75}}@media screen and (min-width: 1440px){[ratio-ultra="4:3"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.3333333333}}@media screen and (min-width: 1440px){[ratio-ultra="5:4"].sc-stzh-ratio-h{--ratio:0.8}}@media screen and (min-width: 1440px){[ratio-ultra="5:4"][portrait].sc-stzh-ratio-h:not([portrait=false]){--ratio:1.25}}.stzh-ratio.sc-stzh-ratio{position:relative;width:100%;padding-top:calc(var(--ratio) * 100%);background:var(--background-color)}';var c=t("stzh_ratio",function(){function t(t){i(this,t);this.ratio="16:9";this.ratioSmall="inherit";this.ratioMedium="inherit";this.ratioLarge="inherit";this.ratioUltra="inherit";this.portrait=false;this.fit="cover"}t.prototype.render=function(){var t={"stzh-ratio":true};return r(a,null,r("div",{class:t},r("slot",null)))};Object.defineProperty(t.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return t}());c.style=h}}}));
|
|
2
|
+
//# sourceMappingURL=p-2a3fdd90.system.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["stzhFigureCss","StzhFigure","exports","class_1","prototype","render","captionSlotUsed","hasSlot","this","element","copyrightSlotUsed","counterSlotUsed","headingSlotUsed","classes","caption","copyright","counter","heading","h","Host","class","name","stzhRatioCss","StzhRatio","class_2"],"sources":["src/components/stzh-figure/stzh-figure.scss?tag=stzh-figure&encapsulation=scoped","src/components/stzh-figure/stzh-figure.tsx","src/components/stzh-ratio/stzh-ratio.scss?tag=stzh-ratio&encapsulation=scoped","src/components/stzh-ratio/stzh-ratio.tsx"],"sourcesContent":[":host {\n --caption-opacity: 1;\n\n ::slotted(*) {\n max-width: 100%;\n }\n}\n\n:host([fullwidth]:not([fullwidth=\"false\"])) ::slotted(*) {\n width: 100%;\n}\n\n.stzh-figure {\n display: flex;\n flex-direction: column;\n margin: 0;\n\n &__element {\n display: flex;\n\n @media print {\n page-break-inside: avoid;\n break-inside: avoid;\n }\n }\n\n &__caption-wrapper {\n @include fontCurve('caption');\n display: flex;\n opacity: var(--caption-opacity);\n transition: opacity $baseTransitionAnimationSpeed;\n }\n\n &__counter {\n &:not(:empty) {\n margin-right: space('xsmall');\n }\n }\n\n &__counter,\n &__heading {\n @include font('heavy');\n }\n\n &__caption-text:not(:empty) + &__copyright:not(:empty) {\n margin-left: space('xxsmall');\n }\n\n &__copyright {\n @include font('medium');\n @include fontSize('femto');\n }\n\n /* Has caption content */\n\n &--has-caption &__caption-wrapper {\n margin-top: space('small');\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n} from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for e.g. image or video\n * @slot caption - Slot for a caption as alternative for attribute\n * @slot copyright - Slot for a copyright as alternative for attribute\n * @slot counter - Slot for a counter as alternative for attribute\n * @slot heading - Slot for a heading as alternative for attribute\n */\n@Component({\n tag: \"stzh-figure\",\n styleUrl: \"stzh-figure.scss\",\n scoped: true\n})\nexport class StzhFigure {\n /** Caption */\n @Prop() caption: string = \"\";\n\n /** Copyright */\n @Prop() copyright: string = \"\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Whether to stretch slotted content to fullwidth */\n @Prop({ reflect: true }) fullwidth: boolean = true;\n\n @Element() element: HTMLStzhFigureElement;\n\n render() {\n const captionSlotUsed = hasSlot(this.element, 'caption');\n const copyrightSlotUsed = hasSlot(this.element, 'copyright');\n const counterSlotUsed = hasSlot(this.element, 'counter');\n const headingSlotUsed = hasSlot(this.element, 'heading');\n\n const classes = {\n \"stzh-figure\": true,\n \"stzh-figure--has-caption\":\n !!this.caption || captionSlotUsed\n || !!this.copyright || copyrightSlotUsed\n || !!this.counter || counterSlotUsed\n || !!this.heading || headingSlotUsed\n };\n\n return (\n <Host>\n <figure class={classes}>\n <div class=\"stzh-figure__element\">\n <slot></slot>\n </div>\n <figcaption class=\"stzh-figure__caption-wrapper\">\n <div class=\"stzh-figure__counter\">\n {this.counter ? this.counter : <slot name=\"counter\"></slot>}\n </div>\n <div class=\"stzh-figure__text\">\n <div class=\"stzh-figure__heading\">\n {this.heading ? this.heading : <slot name=\"heading\"></slot>}\n </div>\n <div class=\"stzh-figure__caption\">\n <span class=\"stzh-figure__caption-text\">\n {this.caption ? this.caption : <slot name=\"caption\"></slot>}\n </span>\n <span class=\"stzh-figure__copyright\">\n {this.copyright ? this.copyright : <slot name=\"copyright\"></slot>}\n </span>\n </div>\n </div>\n </figcaption>\n </figure>\n </Host>\n );\n }\n}\n","/**\n * @prop --ratio: Ratio in reverse (e.g. for 16:9 use `9 / 16`)\n * @prop --background-color: Background color of ratio area\n *\n * @prop --stzh-ratio-background-color: **Global**: Background color of ratios\n */\n\n:host {\n --background-color: #{$ratioBackgroundColor};\n --ratio: #{\n nth(map-get($ratios, $ratioDefault), 2)\n / nth(map-get($ratios, $ratioDefault), 1)\n };\n\n ::slotted(*) {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n object-fit: cover;\n }\n}\n\n:host([fit=\"contain\"]) ::slotted(*) {\n object-fit: contain;\n}\n\n/* Ratio variants */\n\n:host([portrait]:not([portrait=\"false\"])) {\n --ratio: #{\n nth(map-get($ratios, $ratioDefault), 1)\n / nth(map-get($ratios, $ratioDefault), 2)\n };\n}\n\n@mixin ratioProps($breakpoint: null) {\n @each $ratio, $value in $ratios {\n $firstNr: nth($value, 1);\n $secondNr: nth($value, 2);\n\n @if $breakpoint {\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"]) {\n @include mq($from: $breakpoint) {\n --ratio: #{$secondNr / $firstNr};\n }\n }\n\n :host([ratio-#{$breakpoint}=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n @include mq($from: $breakpoint) {\n --ratio: #{$firstNr / $secondNr};\n }\n }\n } @else {\n :host([ratio=\"#{$ratio}\"]) {\n --ratio: #{$secondNr / $firstNr};\n }\n\n :host([ratio=\"#{$ratio}\"][portrait]:not([portrait=\"false\"])) {\n --ratio: #{$firstNr / $secondNr};\n }\n }\n }\n}\n\n@include ratioProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include ratioProps($breakpoint);\n}\n\n.stzh-ratio {\n position: relative;\n width: 100%;\n padding-top: calc(var(--ratio) * 100%);\n background: var(--background-color);\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop\n} from \"@stencil/core\";\n\nimport { Layout } from \"../../index\";\n\n/**\n * @slot - Slot for e.g. image or video\n */\n@Component({\n tag: \"stzh-ratio\",\n styleUrl: \"stzh-ratio.scss\",\n scoped: true\n})\nexport class StzhRatio {\n /** Aspect ratio */\n @Prop() ratio: Layout.Ratio = \"16:9\";\n /** Aspect ratio above small breakpoint */\n @Prop() ratioSmall: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above medium breakpoint */\n @Prop() ratioMedium: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above large breakpoint */\n @Prop() ratioLarge: Layout.Ratio | \"inherit\" = \"inherit\";\n /** Aspect ratio above ultra breakpoint */\n @Prop() ratioUltra: Layout.Ratio | \"inherit\" = \"inherit\";\n\n /** Whether aspect ratio is in portrait mode */\n @Prop({ reflect: true }) portrait: boolean = false;\n\n /** Fit mode */\n @Prop({ reflect: true }) fit: \"cover\" | \"contain\" = \"cover\";\n\n @Element() element: HTMLStzhRatioElement;\n\n render() {\n const classes = {\n \"stzh-ratio\": true\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"8OAAA,IAAMA,EAAgB,q8F,ICsBTC,EAAUC,EAAA,yB,qCAEK,G,eAGE,G,aAGF,G,aAGA,G,eAGoB,I,CAI9CC,EAAAC,UAAAC,OAAA,WACE,IAAMC,EAAkBC,EAAQC,KAAKC,QAAS,WAC9C,IAAMC,EAAoBH,EAAQC,KAAKC,QAAS,aAChD,IAAME,EAAkBJ,EAAQC,KAAKC,QAAS,WAC9C,IAAMG,EAAkBL,EAAQC,KAAKC,QAAS,WAE9C,IAAMI,EAAU,CACd,cAAe,KACf,6BACIL,KAAKM,SAAWR,KACbE,KAAKO,WAAaL,KAClBF,KAAKQ,SAAWL,KAChBH,KAAKS,SAAWL,GAGzB,OACEM,EAACC,EAAI,KACHD,EAAA,UAAQE,MAAOP,GACbK,EAAA,OAAKE,MAAM,wBACTF,EAAA,cAEFA,EAAA,cAAYE,MAAM,gCAChBF,EAAA,OAAKE,MAAM,wBACRZ,KAAKQ,QAAUR,KAAKQ,QAAUE,EAAA,QAAMG,KAAK,aAE5CH,EAAA,OAAKE,MAAM,qBACTF,EAAA,OAAKE,MAAM,wBACRZ,KAAKS,QAAUT,KAAKS,QAAUC,EAAA,QAAMG,KAAK,aAE5CH,EAAA,OAAKE,MAAM,wBACTF,EAAA,QAAME,MAAM,6BACTZ,KAAKM,QAAUN,KAAKM,QAAUI,EAAA,QAAMG,KAAK,aAE5CH,EAAA,QAAME,MAAM,0BACTZ,KAAKO,UAAYP,KAAKO,UAAYG,EAAA,QAAMG,KAAK,mB,4HApDzC,I,UCtBvB,IAAMC,EAAe,kiT,ICkBRC,EAASrB,EAAA,wB,mCAEU,O,gBAEiB,U,iBAEC,U,gBAED,U,gBAEA,U,cAGF,M,SAGO,O,CAIpDsB,EAAApB,UAAAC,OAAA,WACE,IAAMQ,EAAU,CACd,aAAc,MAGhB,OACEK,EAACC,EAAI,KACHD,EAAA,OAAKE,MAAOP,GACVK,EAAA,c,4HA5BY,I"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as o,h as e,a as n,g as i}from"./p-c92165bd.js";window.libpannellum=function(t,o,e){function n(n){function c(t,o){return 1==t.level&&1!=o.level?-1:1==o.level&&1!=t.level?1:o.timestamp-t.timestamp}function u(t,o){return t.level!=o.level?t.level-o.level:t.diff-o.diff}function m(t,o,e,n,i,a){this.vertices=t;this.side=o;this.level=e;this.x=n;this.y=i;this.path=a.replace("%s",o).replace("%l",e).replace("%x",n).replace("%y",i)}function f(t,o,e,n,i){var a;var r=o.vertices;a=g(t,r.slice(0,3));var s=g(t,r.slice(3,6)),h=g(t,r.slice(6,9)),r=g(t,r.slice(9,12)),l=a[0]+s[0]+h[0]+r[0];-4==l||4==l?a=!1:(l=a[1]+s[1]+h[1]+r[1],a=-4==l||4==l?!1:4!=a[2]+s[2]+h[2]+r[2]);if(a){a=o.vertices;s=a[0]+a[3]+a[6]+a[9];h=a[1]+a[4]+a[7]+a[10];r=a[2]+a[5]+a[8]+a[11];l=Math.sqrt(s*s+h*h+r*r);r=Math.asin(r/l);s=Math.atan2(h,s)-n;s+=s>Math.PI?-2*Math.PI:s<-Math.PI?2*Math.PI:0;s=Math.abs(s);o.diff=Math.acos(Math.sin(e)*Math.sin(r)+Math.cos(e)*Math.cos(r)*Math.cos(s));s=!1;for(h=0;h<M.nodeCache.length;h++)if(M.nodeCache[h].path==o.path){s=!0;M.nodeCache[h].timestamp=M.nodeCacheTimestamp++;M.nodeCache[h].diff=o.diff;M.currentNodes.push(M.nodeCache[h]);break}s||(o.timestamp=M.nodeCacheTimestamp++,M.currentNodes.push(o),M.nodeCache.push(o));if(o.level<M.level){var r=A.cubeResolution*Math.pow(2,o.level-A.maxLevel),s=Math.ceil(r*A.invTileResolution)-1,h=r%A.tileResolution*2,c=2*r%A.tileResolution;0===c&&(c=A.tileResolution);0===h&&(h=2*A.tileResolution);l=.5;if(o.x==s||o.y==s)l=1-A.tileResolution/(A.tileResolution+c);var u=1-l,r=[],p=l,d=l,b=l,v=u,z=u,w=u;if(c<A.tileResolution)if(o.x==s&&o.y!=s){if(z=d=.5,"d"==o.side||"u"==o.side)w=b=.5}else o.x!=s&&o.y==s&&(v=p=.5,"l"==o.side||"r"==o.side)&&(w=b=.5);h<=A.tileResolution&&(o.x==s&&(p=0,v=1,"l"==o.side||"r"==o.side)&&(b=0,w=1),o.y==s&&(d=0,z=1,"d"==o.side||"u"==o.side)&&(b=0,w=1));c=[a[0],a[1],a[2],a[0]*p+a[3]*v,a[1]*l+a[4]*u,a[2]*b+a[5]*w,a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w,a[0]*l+a[9]*u,a[1]*d+a[10]*z,a[2]*b+a[11]*w];c=new m(c,o.side,o.level+1,2*o.x,2*o.y,A.fullpath);r.push(c);o.x==s&&h<=A.tileResolution||(c=[a[0]*p+a[3]*v,a[1]*l+a[4]*u,a[2]*b+a[5]*w,a[3],a[4],a[5],a[3]*l+a[6]*u,a[4]*d+a[7]*z,a[5]*b+a[8]*w,a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w],c=new m(c,o.side,o.level+1,2*o.x+1,2*o.y,A.fullpath),r.push(c));o.x==s&&h<=A.tileResolution||o.y==s&&h<=A.tileResolution||(c=[a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w,a[3]*l+a[6]*u,a[4]*d+a[7]*z,a[5]*b+a[8]*w,a[6],a[7],a[8],a[9]*p+a[6]*v,a[10]*l+a[7]*u,a[11]*b+a[8]*w],c=new m(c,o.side,o.level+1,2*o.x+1,2*o.y+1,A.fullpath),r.push(c));o.y==s&&h<=A.tileResolution||(c=[a[0]*l+a[9]*u,a[1]*d+a[10]*z,a[2]*b+a[11]*w,a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w,a[9]*p+a[6]*v,a[10]*l+a[7]*u,a[11]*b+a[8]*w,a[9],a[10],a[11]],c=new m(c,o.side,o.level+1,2*o.x,2*o.y+1,A.fullpath),r.push(c));for(o=0;o<r.length;o++)f(t,r[o],e,n)}}}function p(){return[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1]}function d(t,o,e){var n=Math.sin(o);o=Math.cos(o);if("x"==e)return[t[0],o*t[1]+n*t[2],o*t[2]-n*t[1],t[3],o*t[4]+n*t[5],o*t[5]-n*t[4],t[6],o*t[7]+n*t[8],o*t[8]-n*t[7]];if("y"==e)return[o*t[0]-n*t[2],t[1],o*t[2]+n*t[0],o*t[3]-n*t[5],t[4],o*t[5]+n*t[3],o*t[6]-n*t[8],t[7],o*t[8]+n*t[6]];if("z"==e)return[o*t[0]+n*t[1],o*t[1]-n*t[0],t[2],o*t[3]+n*t[4],o*t[4]-n*t[3],t[5],o*t[6]+n*t[7],o*t[7]-n*t[6],t[8]]}function b(t){return[t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]}function v(t){R(t,t.path+"."+A.extension,(function(o,e){t.texture=o;t.textureLoaded=e?2:1}),T.crossOrigin)}function g(t,o){var e=[t[0]*o[0]+t[1]*o[1]+t[2]*o[2],t[4]*o[0]+t[5]*o[1]+t[6]*o[2],t[11]+t[8]*o[0]+t[9]*o[1]+t[10]*o[2],1/(t[12]*o[0]+t[13]*o[1]+t[14]*o[2])],n=e[0]*e[3],i=e[1]*e[3],e=e[2]*e[3],a=[0,0,0];-1>n&&(a[0]=-1);1<n&&(a[0]=1);-1>i&&(a[1]=-1);1<i&&(a[1]=1);if(-1>e||1<e)a[2]=1;return a}function z(){console.log("Reducing canvas size due to error 1286!");w.width=Math.round(w.width/2);w.height=Math.round(w.height/2)}var w=o.createElement("canvas");w.style.width=w.style.height="100%";n.appendChild(w);var M,x,_,y,k,C,D,F,A,E,O,P,I,L,S,T;this.init=function(t,c,u,m,f,d,b,v){function g(t){if(R){var o=t*t*4,e=new Uint8ClampedArray(o),n=v.backgroundColor?v.backgroundColor:[0,0,0];n[0]*=255;n[1]*=255;n[2]*=255;for(var i=0;i<o;i++)e[i++]=n[0],e[i++]=n[1],e[i++]=n[2];t=new ImageData(e,t,t);for(W=0;6>W;W++)0==A[W].width&&(A[W]=t)}}c===e&&(c="equirectangular");if("equirectangular"!=c&&"cubemap"!=c&&"multires"!=c)throw console.log("Error: invalid image type specified!"),{type:"config error"};E=c;A=t;O=u;T=v||{};if(M){_&&(x.detachShader(M,_),x.deleteShader(_));y&&(x.detachShader(M,y),x.deleteShader(y));x.bindBuffer(x.ARRAY_BUFFER,null);x.bindBuffer(x.ELEMENT_ARRAY_BUFFER,null);M.texture&&x.deleteTexture(M.texture);if(M.nodeCache)for(t=0;t<M.nodeCache.length;t++)x.deleteTexture(M.nodeCache[t].texture);x.deleteProgram(M);M=e}F=e;var W,R=!1,G;if("cubemap"==E)for(W=0;6>W;W++)0<A[W].width?(G===e&&(G=A[W].width),G!=A[W].width&&console.log("Cube faces have inconsistent widths: "+G+" vs. "+A[W].width)):R=!0;"cubemap"==E&&0!==(G&G-1)&&(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))||(x||(x=w.getContext("experimental-webgl",{alpha:!1,depth:!1})),x&&1286==x.getError()&&z());if(!x&&("multires"==E&&A.hasOwnProperty("fallbackPath")||"cubemap"==E)&&("WebkitAppearance"in o.documentElement.style||navigator.userAgent.match(/Trident.*rv[ :]*11\./)||-1!==navigator.appVersion.indexOf("MSIE 10"))){C&&n.removeChild(C);C=o.createElement("div");C.className="pnlm-world";m=A.basePath?A.basePath+A.fallbackPath:A.fallbackPath;var N="frblud".split(""),q=0;f=function(){var t=o.createElement("canvas");t.className="pnlm-face pnlm-"+N[this.side]+"face";C.appendChild(t);var e=t.getContext("2d");t.style.width=this.width+4+"px";t.style.height=this.height+4+"px";t.width=this.width+4;t.height=this.height+4;e.drawImage(this,2,2);var n=e.getImageData(0,0,t.width,t.height),i=n.data,a,r;for(a=2;a<t.width-2;a++)for(r=0;4>r;r++)i[4*(a+t.width)+r]=i[4*(a+2*t.width)+r],i[4*(a+t.width*(t.height-2))+r]=i[4*(a+t.width*(t.height-3))+r];for(a=2;a<t.height-2;a++)for(r=0;4>r;r++)i[4*(a*t.width+1)+r]=i[4*(a*t.width+2)+r],i[4*((a+1)*t.width-2)+r]=i[4*((a+1)*t.width-3)+r];for(r=0;4>r;r++)i[4*(t.width+1)+r]=i[4*(2*t.width+2)+r],i[4*(2*t.width-2)+r]=i[4*(3*t.width-3)+r],i[4*(t.width*(t.height-2)+1)+r]=i[4*(t.width*(t.height-3)+2)+r],i[4*(t.width*(t.height-1)-2)+r]=i[4*(t.width*(t.height-2)-3)+r];for(a=1;a<t.width-1;a++)for(r=0;4>r;r++)i[4*a+r]=i[4*(a+t.width)+r],i[4*(a+t.width*(t.height-1))+r]=i[4*(a+t.width*(t.height-2))+r];for(a=1;a<t.height-1;a++)for(r=0;4>r;r++)i[a*t.width*4+r]=i[4*(a*t.width+1)+r],i[4*((a+1)*t.width-1)+r]=i[4*((a+1)*t.width-2)+r];for(r=0;4>r;r++)i[r]=i[4*(t.width+1)+r],i[4*(t.width-1)+r]=i[4*(2*t.width-2)+r],i[t.width*(t.height-1)*4+r]=i[4*(t.width*(t.height-2)+1)+r],i[4*(t.width*t.height-1)+r]=i[4*(t.width*(t.height-1)-2)+r];e.putImageData(n,0,0);B.call(this)};var B=function(){0<this.width?(k===e&&(k=this.width),k!=this.width&&console.log("Fallback faces have inconsistent widths: "+k+" vs. "+this.width)):R=!0;q++;6==q&&(k=this.width,n.appendChild(C),b())},R=!1;for(W=0;6>W;W++)d=new Image,d.crossOrigin=T.crossOrigin?T.crossOrigin:"anonymous",d.side=W,d.onload=f,d.onerror=B,d.src="multires"==E?m.replace("%s",N[W])+"."+A.extension:A[W].src;g(k)}else{if(!x)throw console.log("Error: no WebGL support detected!"),{type:"no webgl"};"cubemap"==E&&g(G);A.fullpath=A.basePath?A.basePath+A.path:A.path;A.invTileResolution=1/A.tileResolution;t=p();D=[];for(W=0;6>W;W++)D[W]=t.slice(12*W,12*W+12),t=p();t=0;if("equirectangular"==E){if(t=x.getParameter(x.MAX_TEXTURE_SIZE),Math.max(A.width/2,A.height)>t)throw console.log("Error: The image is too big; it's "+A.width+"px wide, but this device's maximum supported size is "+2*t+"px."),{type:"webgl size error",width:A.width,maxWidth:2*t}}else if("cubemap"==E&&G>x.getParameter(x.MAX_CUBE_MAP_TEXTURE_SIZE))throw console.log("Error: The image is too big; it's "+G+"px wide, but this device's maximum supported size is "+t+"px."),{type:"webgl size error",width:G,maxWidth:t};v===e||v.horizonPitch===e&&v.horizonRoll===e||(F=[v.horizonPitch==e?0:v.horizonPitch,v.horizonRoll==e?0:v.horizonRoll]);G=x.TEXTURE_2D;x.viewport(0,0,x.drawingBufferWidth,x.drawingBufferHeight);x.getShaderPrecisionFormat&&(c=x.getShaderPrecisionFormat(x.FRAGMENT_SHADER,x.HIGH_FLOAT))&&1>c.precision&&(r=r.replace("highp","mediump"));_=x.createShader(x.VERTEX_SHADER);c=i;"multires"==E&&(c=a);x.shaderSource(_,c);x.compileShader(_);y=x.createShader(x.FRAGMENT_SHADER);c=h;"cubemap"==E?(G=x.TEXTURE_CUBE_MAP,c=s):"multires"==E&&(c=l);x.shaderSource(y,c);x.compileShader(y);M=x.createProgram();x.attachShader(M,_);x.attachShader(M,y);x.linkProgram(M);x.getShaderParameter(_,x.COMPILE_STATUS)||console.log(x.getShaderInfoLog(_));x.getShaderParameter(y,x.COMPILE_STATUS)||console.log(x.getShaderInfoLog(y));x.getProgramParameter(M,x.LINK_STATUS)||console.log(x.getProgramInfoLog(M));x.useProgram(M);M.drawInProgress=!1;c=v.backgroundColor?v.backgroundColor:[0,0,0];x.clearColor(c[0],c[1],c[2],1);x.clear(x.COLOR_BUFFER_BIT);M.texCoordLocation=x.getAttribLocation(M,"a_texCoord");x.enableVertexAttribArray(M.texCoordLocation);"multires"!=E?(P||(P=x.createBuffer()),x.bindBuffer(x.ARRAY_BUFFER,P),x.bufferData(x.ARRAY_BUFFER,new Float32Array([-1,1,1,1,1,-1,-1,1,1,-1,-1,-1]),x.STATIC_DRAW),x.vertexAttribPointer(M.texCoordLocation,2,x.FLOAT,!1,0,0),M.aspectRatio=x.getUniformLocation(M,"u_aspectRatio"),x.uniform1f(M.aspectRatio,x.drawingBufferWidth/x.drawingBufferHeight),M.psi=x.getUniformLocation(M,"u_psi"),M.theta=x.getUniformLocation(M,"u_theta"),M.f=x.getUniformLocation(M,"u_f"),M.h=x.getUniformLocation(M,"u_h"),M.v=x.getUniformLocation(M,"u_v"),M.vo=x.getUniformLocation(M,"u_vo"),M.rot=x.getUniformLocation(M,"u_rot"),x.uniform1f(M.h,m/(2*Math.PI)),x.uniform1f(M.v,f/Math.PI),x.uniform1f(M.vo,d/Math.PI*2),"equirectangular"==E&&(M.backgroundColor=x.getUniformLocation(M,"u_backgroundColor"),x.uniform4fv(M.backgroundColor,c.concat([1]))),M.texture=x.createTexture(),x.bindTexture(G,M.texture),"cubemap"==E?(x.texImage2D(x.TEXTURE_CUBE_MAP_POSITIVE_X,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[1]),x.texImage2D(x.TEXTURE_CUBE_MAP_NEGATIVE_X,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[3]),x.texImage2D(x.TEXTURE_CUBE_MAP_POSITIVE_Y,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[4]),x.texImage2D(x.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[5]),x.texImage2D(x.TEXTURE_CUBE_MAP_POSITIVE_Z,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[0]),x.texImage2D(x.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[2])):A.width<=t?(x.uniform1i(x.getUniformLocation(M,"u_splitImage"),0),x.texImage2D(G,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A)):(x.uniform1i(x.getUniformLocation(M,"u_splitImage"),1),m=o.createElement("canvas"),m.width=A.width/2,m.height=A.height,m=m.getContext("2d"),m.drawImage(A,0,0),f=m.getImageData(0,0,A.width/2,A.height),x.texImage2D(G,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,f),M.texture2=x.createTexture(),x.activeTexture(x.TEXTURE1),x.bindTexture(G,M.texture2),x.uniform1i(x.getUniformLocation(M,"u_image1"),1),m.drawImage(A,-A.width/2,0),f=m.getImageData(0,0,A.width/2,A.height),x.texImage2D(G,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,f),x.texParameteri(G,x.TEXTURE_WRAP_S,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_WRAP_T,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_MIN_FILTER,x.LINEAR),x.texParameteri(G,x.TEXTURE_MAG_FILTER,x.LINEAR),x.activeTexture(x.TEXTURE0)),x.texParameteri(G,x.TEXTURE_WRAP_S,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_WRAP_T,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_MIN_FILTER,x.LINEAR),x.texParameteri(G,x.TEXTURE_MAG_FILTER,x.LINEAR)):(M.vertPosLocation=x.getAttribLocation(M,"a_vertCoord"),x.enableVertexAttribArray(M.vertPosLocation),I||(I=x.createBuffer()),L||(L=x.createBuffer()),S||(S=x.createBuffer()),x.bindBuffer(x.ARRAY_BUFFER,L),x.bufferData(x.ARRAY_BUFFER,new Float32Array([0,0,1,0,1,1,0,1]),x.STATIC_DRAW),x.bindBuffer(x.ELEMENT_ARRAY_BUFFER,S),x.bufferData(x.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,0,2,3]),x.STATIC_DRAW),M.perspUniform=x.getUniformLocation(M,"u_perspMatrix"),M.cubeUniform=x.getUniformLocation(M,"u_cubeMatrix"),M.level=-1,M.currentNodes=[],M.nodeCache=[],M.nodeCacheTimestamp=0);m=x.getError();if(0!==m)throw console.log("Error: Something went wrong with WebGL!",m),{type:"webgl error"};b()}};this.destroy=function(){n!==e&&(w!==e&&n.contains(w)&&n.removeChild(w),C!==e&&n.contains(C)&&n.removeChild(C));if(x){var t=x.getExtension("WEBGL_lose_context");t&&t.loseContext()}};this.resize=function(){var o=t.devicePixelRatio||1;w.width=w.clientWidth*o;w.height=w.clientHeight*o;x&&(1286==x.getError()&&z(),x.viewport(0,0,x.drawingBufferWidth,x.drawingBufferHeight),"multires"!=E&&x.uniform1f(M.aspectRatio,w.clientWidth/w.clientHeight))};this.resize();this.setPose=function(t,o){F=[t,o]};this.render=function(t,o,n,i){var a,r=0;i===e&&(i={});i.roll&&(r=i.roll);if(F!==e){a=F[0];var s=F[1],h=t,l=o,p=Math.cos(s)*Math.sin(t)*Math.sin(a)+Math.cos(t)*(Math.cos(a)*Math.cos(o)+Math.sin(s)*Math.sin(a)*Math.sin(o)),g=-Math.sin(t)*Math.sin(s)+Math.cos(t)*Math.cos(s)*Math.sin(o);t=Math.cos(s)*Math.cos(a)*Math.sin(t)+Math.cos(t)*(-Math.cos(o)*Math.sin(a)+Math.cos(a)*Math.sin(s)*Math.sin(o));t=Math.asin(Math.max(Math.min(t,1),-1));o=Math.atan2(g,p);a=[Math.cos(h)*(Math.sin(s)*Math.sin(a)*Math.cos(l)-Math.cos(a)*Math.sin(l)),Math.cos(h)*Math.cos(s)*Math.cos(l),Math.cos(h)*(Math.cos(a)*Math.sin(s)*Math.cos(l)+Math.sin(l)*Math.sin(a))];s=[-Math.cos(t)*Math.sin(o),Math.cos(t)*Math.cos(o)];s=Math.acos(Math.max(Math.min((a[0]*s[0]+a[1]*s[1])/(Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2])*Math.sqrt(s[0]*s[0]+s[1]*s[1])),1),-1));0>a[2]&&(s=2*Math.PI-s);r+=s}if(x||"multires"!=E&&"cubemap"!=E){if("multires"!=E)n=2*Math.atan(Math.tan(.5*n)/(x.drawingBufferWidth/x.drawingBufferHeight)),n=1/Math.tan(.5*n),x.uniform1f(M.psi,o),x.uniform1f(M.theta,t),x.uniform1f(M.rot,r),x.uniform1f(M.f,n),!0===O&&"equirectangular"==E&&(x.bindTexture(x.TEXTURE_2D,M.texture),x.texImage2D(x.TEXTURE_2D,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A)),x.drawArrays(x.TRIANGLES,0,6);else{a=x.drawingBufferWidth/x.drawingBufferHeight;s=2*Math.atan(Math.tan(n/2)*x.drawingBufferHeight/x.drawingBufferWidth);s=1/Math.tan(s/2);a=[s/a,0,0,0,0,s,0,0,0,0,100.1/-99.9,20/-99.9,0,0,-1,0];for(s=1;s<A.maxLevel&&x.drawingBufferWidth>A.tileResolution*Math.pow(2,s-1)*Math.tan(n/2)*.707;)s++;M.level=s;s=[1,0,0,0,1,0,0,0,1];s=d(s,-r,"z");s=d(s,-t,"x");s=d(s,o,"y");s=[s[0],s[1],s[2],0,s[3],s[4],s[5],0,s[6],s[7],s[8],0,0,0,0,1];x.uniformMatrix4fv(M.perspUniform,!1,new Float32Array(b(a)));x.uniformMatrix4fv(M.cubeUniform,!1,new Float32Array(b(s)));r=[a[0]*s[0],a[0]*s[1],a[0]*s[2],0,a[5]*s[4],a[5]*s[5],a[5]*s[6],0,a[10]*s[8],a[10]*s[9],a[10]*s[10],a[11],-s[8],-s[9],-s[10],0];M.nodeCache.sort(c);if(200<M.nodeCache.length&&M.nodeCache.length>M.currentNodes.length+50)for(a=M.nodeCache.splice(200,M.nodeCache.length-200),s=0;s<a.length;s++)x.deleteTexture(a[s].texture);M.currentNodes=[];s="fbudlr".split("");for(a=0;6>a;a++)h=new m(D[a],s[a],1,0,0,A.fullpath),f(r,h,t,o);M.currentNodes.sort(u);for(t=W.length-1;0<=t;t--)-1===M.currentNodes.indexOf(W[t].node)&&(W[t].node.textureLoad=!1,W.splice(t,1));if(0===W.length)for(t=0;t<M.currentNodes.length;t++)if(o=M.currentNodes[t],!o.texture&&!o.textureLoad){o.textureLoad=!0;setTimeout(v,0,o);break}if(!M.drawInProgress){M.drawInProgress=!0;x.clear(x.COLOR_BUFFER_BIT);for(t=0;t<M.currentNodes.length;t++)1<M.currentNodes[t].textureLoaded&&(x.bindBuffer(x.ARRAY_BUFFER,I),x.bufferData(x.ARRAY_BUFFER,new Float32Array(M.currentNodes[t].vertices),x.STATIC_DRAW),x.vertexAttribPointer(M.vertPosLocation,3,x.FLOAT,!1,0,0),x.bindBuffer(x.ARRAY_BUFFER,L),x.vertexAttribPointer(M.texCoordLocation,2,x.FLOAT,!1,0,0),x.bindTexture(x.TEXTURE_2D,M.currentNodes[t].texture),x.drawElements(x.TRIANGLES,6,x.UNSIGNED_SHORT,0));M.drawInProgress=!1}}if(i.returnImage!==e)return w.toDataURL("image/png")}else for(a=k/2,i={f:"translate3d(-"+(a+2)+"px, -"+(a+2)+"px, -"+a+"px)",b:"translate3d("+(a+2)+"px, -"+(a+2)+"px, "+a+"px) rotateX(180deg) rotateZ(180deg)",u:"translate3d(-"+(a+2)+"px, -"+a+"px, "+(a+2)+"px) rotateX(270deg)",d:"translate3d(-"+(a+2)+"px, "+a+"px, -"+(a+2)+"px) rotateX(90deg)",l:"translate3d(-"+a+"px, -"+(a+2)+"px, "+(a+2)+"px) rotateX(180deg) rotateY(90deg) rotateZ(180deg)",r:"translate3d("+a+"px, -"+(a+2)+"px, -"+(a+2)+"px) rotateY(270deg)"},n=1/Math.tan(n/2),n=n*w.clientWidth/2+"px",o="perspective("+n+") translateZ("+n+") rotateX("+t+"rad) rotateY("+o+"rad) ",n=Object.keys(i),t=0;6>t;t++)if(r=C.querySelector(".pnlm-"+n[t]+"face"))r.style.webkitTransform=o+i[n[t]],r.style.transform=o+i[n[t]]};this.isLoading=function(){if(x&&"multires"==E)for(var t=0;t<M.currentNodes.length;t++)if(!M.currentNodes[t].textureLoaded)return!0;return!1};this.getCanvas=function(){return w};var W=[],R=function(){function t(){var t=this;this.texture=this.callback=null;this.image=new Image;this.image.crossOrigin=i?i:"anonymous";var o=function(){if(0<t.image.width&&0<t.image.height){var o=t.image;x.bindTexture(x.TEXTURE_2D,t.texture);x.texImage2D(x.TEXTURE_2D,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,o);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_MAG_FILTER,x.LINEAR);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_MIN_FILTER,x.LINEAR);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_WRAP_S,x.CLAMP_TO_EDGE);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_WRAP_T,x.CLAMP_TO_EDGE);x.bindTexture(x.TEXTURE_2D,null);t.callback(t.texture,!0)}else t.callback(t.texture,!1);W.length?(o=W.shift(),t.loadTexture(o.src,o.texture,o.callback)):n[e++]=t};this.image.addEventListener("load",o);this.image.addEventListener("error",o)}function o(t,o,e,n){this.node=t;this.src=o;this.texture=e;this.callback=n}var e=4,n={},i;t.prototype.loadTexture=function(t,o,e){this.texture=o;this.callback=e;this.image.src=t};for(var a=0;a<e;a++)n[a]=new t;return function(t,a,r,s){i=s;s=x.createTexture();e?n[--e].loadTexture(a,s,r):W.push(new o(t,a,s,r));return s}}()}var i="attribute vec2 a_texCoord;varying vec2 v_texCoord;void main() {gl_Position = vec4(a_texCoord, 0.0, 1.0);v_texCoord = a_texCoord;}",a="attribute vec3 a_vertCoord;attribute vec2 a_texCoord;uniform mat4 u_cubeMatrix;uniform mat4 u_perspMatrix;varying mediump vec2 v_texCoord;void main(void) {gl_Position = u_perspMatrix * u_cubeMatrix * vec4(a_vertCoord, 1.0);v_texCoord = a_texCoord;}",r="precision highp float;\nuniform float u_aspectRatio;\nuniform float u_psi;\nuniform float u_theta;\nuniform float u_f;\nuniform float u_h;\nuniform float u_v;\nuniform float u_vo;\nuniform float u_rot;\nconst float PI = 3.14159265358979323846264;\nuniform sampler2D u_image0;\nuniform sampler2D u_image1;\nuniform bool u_splitImage;\nuniform samplerCube u_imageCube;\nvarying vec2 v_texCoord;\nuniform vec4 u_backgroundColor;\nvoid main() {\nfloat x = v_texCoord.x * u_aspectRatio;\nfloat y = v_texCoord.y;\nfloat sinrot = sin(u_rot);\nfloat cosrot = cos(u_rot);\nfloat rot_x = x * cosrot - y * sinrot;\nfloat rot_y = x * sinrot + y * cosrot;\nfloat sintheta = sin(u_theta);\nfloat costheta = cos(u_theta);\nfloat a = u_f * costheta - rot_y * sintheta;\nfloat root = sqrt(rot_x * rot_x + a * a);\nfloat lambda = atan(rot_x / root, a / root) + u_psi;\nfloat phi = atan((rot_y * costheta + u_f * sintheta) / root);",s=r+"float cosphi = cos(phi);\ngl_FragColor = textureCube(u_imageCube, vec3(cosphi*sin(lambda), sin(phi), cosphi*cos(lambda)));\n}",h=r+"lambda = mod(lambda + PI, PI * 2.0) - PI;\nvec2 coord = vec2(lambda / PI, phi / (PI / 2.0));\nif(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)\ngl_FragColor = u_backgroundColor;\nelse {\nif(u_splitImage) {\nif(coord.x < 0.0)\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / u_h, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\nelse\ngl_FragColor = texture2D(u_image1, vec2((coord.x + u_h) / u_h - 1.0, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n} else {\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n}\n}\n}",l="varying mediump vec2 v_texCoord;uniform sampler2D u_sampler;void main(void) {gl_FragColor = texture2D(u_sampler, v_texCoord);}";return{renderer:function(t,o,e,i){return new n(t,o,e,i)}}}(window,document);window.pannellum=function(t,o,e){function n(n,i){function a(){var n=o.createElement("div");n.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e";if(1==n.getElementsByTagName("i").length)l();else{Dt=it.hfov;Ft=it.pitch;var i;if("cubemap"==it.type){zt=[];for(n=0;6>n;n++)zt.push(new Image),zt[n].crossOrigin=it.crossOrigin;Nt.load.lbox.style.display="block";Nt.load.lbar.style.display="none"}else if("multires"==it.type)n=JSON.parse(JSON.stringify(it.multiRes)),it.basePath&&it.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(it.multiRes.basePath)?n.basePath=it.basePath+it.multiRes.basePath:it.multiRes.basePath?n.basePath=it.multiRes.basePath:it.basePath&&(n.basePath=it.basePath),zt=n;else if(!0===it.dynamic)zt=it.panorama;else{if(it.panorama===e){l(it.strings.noPanoramaError);return}zt=new Image}if("cubemap"==it.type)for(var a=6,c=function(){a--;0===a&&s()},u=function(t){var e=o.createElement("a");e.href=t.target.src;e.textContent=e.href;l(it.strings.fileAccessError.replace("%s",e.outerHTML))},n=0;n<zt.length;n++)i=it.cubeMap[n],"null"==i?(console.log("Will use background instead of missing cubemap face "+n),c()):(it.basePath&&!r(i)&&(i=it.basePath+i),zt[n].onload=c,zt[n].onerror=u,zt[n].src=tt(i));else if("multires"==it.type)s();else if(i="",it.basePath&&(i=it.basePath),!0!==it.dynamic){i=r(it.panorama)?it.panorama:i+it.panorama;zt.onload=function(){t.URL.revokeObjectURL(this.src);s()};var m=new XMLHttpRequest;m.onloadend=function(){if(200!=m.status){var t=o.createElement("a");t.href=i;t.textContent=t.href;l(it.strings.fileAccessError.replace("%s",t.outerHTML))}h(this.response);Nt.load.msg.innerHTML=""};m.onprogress=function(t){if(t.lengthComputable){Nt.load.lbarFill.style.width=t.loaded/t.total*100+"%";var o,e;1e6<t.total?(o="MB",e=(t.loaded/1e6).toFixed(2),t=(t.total/1e6).toFixed(2)):1e3<t.total?(o="kB",e=(t.loaded/1e3).toFixed(1),t=(t.total/1e3).toFixed(1)):(o="B",e=t.loaded,t=t.total);Nt.load.msg.innerHTML=e+" / "+t+" "+o}else Nt.load.lbox.style.display="block",Nt.load.lbar.style.display="none"};try{m.open("GET",i,!0)}catch(t){l(it.strings.malformedURLError)}m.responseType="blob";m.setRequestHeader("Accept","image/*,*/*;q=0.9");m.withCredentials="use-credentials"===it.crossOrigin;m.send()}it.draggable&&Tt.classList.add("pnlm-grab");Tt.classList.remove("pnlm-grabbing");Pt=!0===it.dynamicUpdate;it.dynamic&&Pt&&(zt=it.panorama,s())}}function r(t){return/^(?:[a-z]+:)?\/\//i.test(t)||"/"==t[0]||"blob:"==t.slice(0,5)}function s(){at||(at=new libpannellum.renderer(Wt));gt||(gt=!0,Rt.addEventListener("mousedown",m,!1),o.addEventListener("mousemove",d,!1),o.addEventListener("mouseup",b,!1),it.mouseZoom&&(Tt.addEventListener("mousewheel",_,!1),Tt.addEventListener("DOMMouseScroll",_,!1)),it.doubleClickZoom&&Rt.addEventListener("dblclick",f,!1),n.addEventListener("mozfullscreenchange",j,!1),n.addEventListener("webkitfullscreenchange",j,!1),n.addEventListener("msfullscreenchange",j,!1),n.addEventListener("fullscreenchange",j,!1),t.addEventListener("resize",E,!1),t.addEventListener("orientationchange",E,!1),it.disableKeyboardCtrl||(n.addEventListener("keydown",y,!1),n.addEventListener("keyup",C,!1),n.addEventListener("blur",k,!1)),o.addEventListener("mouseleave",b,!1),""===o.documentElement.style.pointerAction&&""===o.documentElement.style.touchAction?(Rt.addEventListener("pointerdown",w,!1),Rt.addEventListener("pointermove",M,!1),Rt.addEventListener("pointerup",x,!1),Rt.addEventListener("pointerleave",x,!1)):(Rt.addEventListener("touchstart",v,!1),Rt.addEventListener("touchmove",g,!1),Rt.addEventListener("touchend",z,!1)),t.navigator.pointerEnabled&&(n.style.touchAction="none"));T();Y(it.hfov);setTimeout((function(){}),500)}function h(o){var n=new FileReader;n.addEventListener("loadend",(function(){var i=n.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)){var a=i.indexOf("ÿÂ");(0>a||65536<a)&&l(it.strings.iOS8WebGLError)}a=i.indexOf("<x:xmpmeta");if(-1<a&&!0!==it.ignoreGPanoXMP){var r=i.substring(a,i.indexOf("</x:xmpmeta>")+12),s=function(t){var o;0<=r.indexOf(t+'="')?(o=r.substring(r.indexOf(t+'="')+t.length+2),o=o.substring(0,o.indexOf('"'))):0<=r.indexOf(t+">")&&(o=r.substring(r.indexOf(t+">")+t.length+1),o=o.substring(0,o.indexOf("<")));return o!==e?Number(o):null},i=s("GPano:FullPanoWidthPixels"),a=s("GPano:CroppedAreaImageWidthPixels"),h=s("GPano:FullPanoHeightPixels"),c=s("GPano:CroppedAreaImageHeightPixels"),u=s("GPano:CroppedAreaTopPixels"),m=s("GPano:PoseHeadingDegrees"),f=s("GPano:PosePitchDegrees"),s=s("GPano:PoseRollDegrees");null!==i&&null!==a&&null!==h&&null!==c&&null!==u&&(0>Ot.indexOf("haov")&&(it.haov=a/i*360),0>Ot.indexOf("vaov")&&(it.vaov=c/h*180),0>Ot.indexOf("vOffset")&&(it.vOffset=-180*((u+c/2)/h-.5)),null!==m&&0>Ot.indexOf("northOffset")&&(it.northOffset=m,!1!==it.compass&&(it.compass=!0)),null!==f&&null!==s&&(0>Ot.indexOf("horizonPitch")&&(it.horizonPitch=f),0>Ot.indexOf("horizonRoll")&&(it.horizonRoll=s)))}zt.src=t.URL.createObjectURL(o)}));n.readAsBinaryString!==e?n.readAsBinaryString(o):n.readAsText(o)}function l(t){t===e&&(t=it.strings.genericWebGLError);Nt.errorMsg.innerHTML="<p>"+t+"</p>";Bt.load.style.display="none";Nt.load.box.style.display="none";Nt.errorMsg.style.display="table";vt=!0;bt=e;Wt.style.display="none";et("error",t)}function c(t){var o=u(t);Gt.style.left=o.x+"px";Gt.style.top=o.y+"px";clearTimeout(c.t1);clearTimeout(c.t2);Gt.style.display="block";Gt.style.opacity=1;c.t1=setTimeout((function(){Gt.style.opacity=0}),2e3);c.t2=setTimeout((function(){Gt.style.display="none"}),2500);t.preventDefault()}function u(t){var o=n.getBoundingClientRect(),e={};e.x=(t.clientX||t.pageX)-o.left;e.y=(t.clientY||t.pageY)-o.top;return e}function m(t){t.preventDefault();n.focus();if(bt&&it.draggable){var o=u(t);if(it.hotSpotDebug){var e=p(t);console.log("Pitch: "+e[0]+", Yaw: "+e[1]+", Center Pitch: "+it.pitch+", Center Yaw: "+it.yaw+", HFOV: "+it.hfov)}X();K();it.roll=0;Mt.hfov=0;st=!0;ht=Date.now();lt=o.x;ct=o.y;mt=it.yaw;ft=it.pitch;Tt.classList.add("pnlm-grabbing");Tt.classList.remove("pnlm-grab");et("mousedown",t);O()}}function f(t){it.minHfov===it.hfov?nt.setHfov(Dt,1e3):(t=p(t),nt.lookAt(t[0],t[1],it.minHfov,1e3))}function p(t){var o=u(t);t=at.getCanvas();var e=t.clientWidth,n=t.clientHeight;t=o.x/e*2-1;var n=(1-o.y/n*2)*n/e,i=1/Math.tan(it.hfov*Math.PI/360),a=Math.sin(it.pitch*Math.PI/180),r=Math.cos(it.pitch*Math.PI/180),o=i*r-n*a,e=Math.sqrt(t*t+o*o),n=180*Math.atan((n*r+i*a)/e)/Math.PI;t=180*Math.atan2(t/e,o/e)/Math.PI+it.yaw;-180>t&&(t+=360);180<t&&(t-=360);return[n,t]}function d(t){if(st&&bt){ht=Date.now();var o=at.getCanvas(),e=o.clientWidth,o=o.clientHeight;t=u(t);var n=180*(Math.atan(lt/e*2-1)-Math.atan(t.x/e*2-1))/Math.PI*it.hfov/90+mt;Mt.yaw=(n-it.yaw)%360*.2;it.yaw=n;e=360*Math.atan(Math.tan(it.hfov/360*Math.PI)*o/e)/Math.PI;e=180*(Math.atan(t.y/o*2-1)-Math.atan(ct/o*2-1))/Math.PI*e/90+ft;Mt.pitch=.2*(e-it.pitch);it.pitch=e}}function b(t){st&&(st=!1,15<Date.now()-ht&&(Mt.pitch=Mt.yaw=0),Tt.classList.add("pnlm-grab"),Tt.classList.remove("pnlm-grabbing"),ht=Date.now(),et("mouseup",t))}function v(t){if(bt&&it.draggable){X();K();it.roll=0;Mt.hfov=0;var o=u(t.targetTouches[0]);lt=o.x;ct=o.y;if(2==t.targetTouches.length){var e=u(t.targetTouches[1]);lt+=.5*(e.x-o.x);ct+=.5*(e.y-o.y);ut=Math.sqrt((o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y))}st=!0;ht=Date.now();mt=it.yaw;ft=it.pitch;et("touchstart",t);O()}}function g(t){if(it.draggable&&(t.preventDefault(),bt&&(ht=Date.now()),st&&bt)){var o=u(t.targetTouches[0]),e=o.x,n=o.y;2==t.targetTouches.length&&-1!=ut&&(t=u(t.targetTouches[1]),e+=.5*(t.x-o.x),n+=.5*(t.y-o.y),o=Math.sqrt((o.x-t.x)*(o.x-t.x)+(o.y-t.y)*(o.y-t.y)),Y(it.hfov+.1*(ut-o)),ut=o);o=it.hfov/360*it.touchPanSpeedCoeffFactor;e=(lt-e)*o+mt;Mt.yaw=(e-it.yaw)%360*.2;it.yaw=e;n=(n-ct)*o+ft;Mt.pitch=.2*(n-it.pitch);it.pitch=n}}function z(){st=!1;150<Date.now()-ht&&(Mt.pitch=Mt.yaw=0);ut=-1;ht=Date.now();et("touchend",event)}function w(t){"touch"==t.pointerType&&bt&&it.draggable&&(jt.push(t.pointerId),Ht.push({clientX:t.clientX,clientY:t.clientY}),t.targetTouches=Ht,v(t),t.preventDefault())}function M(t){if("touch"==t.pointerType&&it.draggable)for(var o=0;o<jt.length;o++)if(t.pointerId==jt[o]){Ht[o].clientX=t.clientX;Ht[o].clientY=t.clientY;t.targetTouches=Ht;g(t);t.preventDefault();break}}function x(t){if("touch"==t.pointerType){for(var o=!1,n=0;n<jt.length;n++)t.pointerId==jt[n]&&(jt[n]=e),jt[n]&&(o=!0);o||(jt=[],Ht=[],z());t.preventDefault()}}function _(t){bt&&("fullscreenonly"!=it.mouseZoom||dt)&&(t.preventDefault(),X(),ht=Date.now(),t.wheelDeltaY?(Y(it.hfov-.05*t.wheelDeltaY),Mt.hfov=0>t.wheelDelta?1:-1):t.wheelDelta?(Y(it.hfov-.05*t.wheelDelta),Mt.hfov=0>t.wheelDelta?1:-1):t.detail&&(Y(it.hfov+1.5*t.detail),Mt.hfov=0<t.detail?1:-1),O())}function y(t){X();ht=Date.now();K();it.roll=0;var o=t.which||t.keycode;0>it.capturedKeyNumbers.indexOf(o)||(t.preventDefault(),27==o?dt&&Z():D(o,!0))}function k(){for(var t=0;10>t;t++)pt[t]=!1}function C(t){var o=t.which||t.keycode;0>it.capturedKeyNumbers.indexOf(o)||(t.preventDefault(),D(o,!1))}function D(t,o){var e=!1;switch(t){case 109:case 189:case 17:case 173:pt[0]!=o&&(e=!0);pt[0]=o;break;case 107:case 187:case 16:case 61:pt[1]!=o&&(e=!0);pt[1]=o;break;case 38:pt[2]!=o&&(e=!0);pt[2]=o;break;case 87:pt[6]!=o&&(e=!0);pt[6]=o;break;case 40:pt[3]!=o&&(e=!0);pt[3]=o;break;case 83:pt[7]!=o&&(e=!0);pt[7]=o;break;case 37:pt[4]!=o&&(e=!0);pt[4]=o;break;case 65:pt[8]!=o&&(e=!0);pt[8]=o;break;case 39:pt[5]!=o&&(e=!0);pt[5]=o;break;case 68:pt[9]!=o&&(e=!0),pt[9]=o}e&&o&&(wt="undefined"!==typeof performance&&performance.now()?performance.now():Date.now(),O())}function F(){if(bt){var t=!1,o=it.pitch,n=it.yaw,i=it.hfov,a;a="undefined"!==typeof performance&&performance.now()?performance.now():Date.now();wt===e&&(wt=a);var r=(a-wt)*it.hfov/1700,r=Math.min(r,1);pt[0]&&!0===it.keyboardZoom&&(Y(it.hfov+(.8*Mt.hfov+.5)*r),t=!0);pt[1]&&!0===it.keyboardZoom&&(Y(it.hfov+(.8*Mt.hfov-.2)*r),t=!0);if(pt[2]||pt[6])it.pitch+=(.8*Mt.pitch+.2)*r,t=!0;if(pt[3]||pt[7])it.pitch+=(.8*Mt.pitch-.2)*r,t=!0;if(pt[4]||pt[8])it.yaw+=(.8*Mt.yaw-.2)*r,t=!0;if(pt[5]||pt[9])it.yaw+=(.8*Mt.yaw+.2)*r,t=!0;t&&(ht=Date.now());if(it.autoRotate){if(.001<a-wt){var t=(a-wt)/1e3,s=(Mt.yaw/t*r-.2*it.autoRotate)*t,s=(0<-it.autoRotate?1:-1)*Math.min(Math.abs(it.autoRotate*t),Math.abs(s));it.yaw+=s}it.autoRotateStopDelay&&(it.autoRotateStopDelay-=a-wt,0>=it.autoRotateStopDelay&&(it.autoRotateStopDelay=!1,Ct=it.autoRotate,it.autoRotate=0))}At.pitch&&(A("pitch"),o=it.pitch);At.yaw&&(A("yaw"),n=it.yaw);At.hfov&&(A("hfov"),i=it.hfov);0<r&&!it.autoRotate&&(t=1-it.friction,pt[4]||pt[5]||pt[8]||pt[9]||At.yaw||(it.yaw+=Mt.yaw*r*t),pt[2]||pt[3]||pt[6]||pt[7]||At.pitch||(it.pitch+=Mt.pitch*r*t),pt[0]||pt[1]||At.hfov||Y(it.hfov+Mt.hfov*r*t));wt=a;0<r&&(Mt.yaw=.8*Mt.yaw+(it.yaw-n)/r*.2,Mt.pitch=.8*Mt.pitch+(it.pitch-o)/r*.2,Mt.hfov=.8*Mt.hfov+(it.hfov-i)/r*.2,o=it.autoRotate?Math.abs(it.autoRotate):5,Mt.yaw=Math.min(o,Math.max(Mt.yaw,-o)),Mt.pitch=Math.min(o,Math.max(Mt.pitch,-o)),Mt.hfov=Math.min(o,Math.max(Mt.hfov,-o)));pt[0]&&pt[1]&&(Mt.hfov=0);(pt[2]||pt[6])&&(pt[3]||pt[7])&&(Mt.pitch=0);(pt[4]||pt[8])&&(pt[5]||pt[9])&&(Mt.yaw=0)}}function A(t){var o=At[t],e=Math.min(1,Math.max((Date.now()-o.startTime)/1e3/(o.duration/1e3),0)),e=o.startPosition+it.animationTimingFunction(e)*(o.endPosition-o.startPosition);if(o.endPosition>o.startPosition&&e>=o.endPosition||o.endPosition<o.startPosition&&e<=o.endPosition||o.endPosition===o.startPosition)e=o.endPosition,Mt[t]=0,delete At[t];it[t]=e}function E(){j("resize")}function O(){xt||(xt=!0,P())}function P(){if(!Lt)if(I(),kt&&clearTimeout(kt),st||!0===_t)requestAnimationFrame(P);else if(pt[0]||pt[1]||pt[2]||pt[3]||pt[4]||pt[5]||pt[6]||pt[7]||pt[8]||pt[9]||it.autoRotate||At.pitch||At.yaw||At.hfov||.01<Math.abs(Mt.yaw)||.01<Math.abs(Mt.pitch)||.01<Math.abs(Mt.hfov))F(),0<=it.autoRotateInactivityDelay&&Ct&&Date.now()-ht>it.autoRotateInactivityDelay&&!it.autoRotate&&(it.autoRotate=Ct,nt.lookAt(Ft,e,Dt,3e3)),requestAnimationFrame(P);else if(at&&(at.isLoading()||!0===it.dynamic&&Pt))requestAnimationFrame(P);else{et("animatefinished",{pitch:nt.getPitch(),yaw:nt.getYaw(),hfov:nt.getHfov()});xt=!1;wt=e;var t=it.autoRotateInactivityDelay-(Date.now()-ht);0<t?kt=setTimeout((function(){it.autoRotate=Ct;nt.lookAt(Ft,e,Dt,3e3);O()}),t):0<=it.autoRotateInactivityDelay&&Ct&&(it.autoRotate=Ct,nt.lookAt(Ft,e,Dt,3e3),O())}}function I(){var t;if(bt){var o=at.getCanvas();!1!==it.autoRotate&&(360<it.yaw?it.yaw-=360:-360>it.yaw&&(it.yaw+=360));t=it.yaw;var n=0;if(it.avoidShowingBackground){var i=it.hfov/2,a=180*Math.atan2(Math.tan(i/180*Math.PI),o.width/o.height)/Math.PI;it.vaov>it.haov?Math.min(Math.cos((it.pitch-i)/180*Math.PI),Math.cos((it.pitch+i)/180*Math.PI)):n=i*(1-Math.min(Math.cos((it.pitch-a)/180*Math.PI),Math.cos((it.pitch+a)/180*Math.PI)))}var i=it.maxYaw-it.minYaw,a=-180,r=180;360>i&&(a=it.minYaw+it.hfov/2+n,r=it.maxYaw-it.hfov/2-n,i<it.hfov&&(a=r=(a+r)/2),it.yaw=Math.max(a,Math.min(r,it.yaw)));!1===it.autoRotate&&(360<it.yaw?it.yaw-=360:-360>it.yaw&&(it.yaw+=360));!1!==it.autoRotate&&t!=it.yaw&&wt!==e&&(it.autoRotate*=-1);t=2*Math.atan(Math.tan(it.hfov/180*Math.PI*.5)/(o.width/o.height))/Math.PI*180;o=it.minPitch+t/2;n=it.maxPitch-t/2;it.maxPitch-it.minPitch<t&&(o=n=(o+n)/2);isNaN(o)&&(o=-90);isNaN(n)&&(n=90);it.pitch=Math.max(o,Math.min(n,it.pitch));at.render(it.pitch*Math.PI/180,it.yaw*Math.PI/180,it.hfov*Math.PI/180,{roll:it.roll*Math.PI/180});it.hotSpots.forEach(q);it.compass&&(Zt.style.transform="rotate("+(-it.yaw-it.northOffset)+"deg)",Zt.style.webkitTransform="rotate("+(-it.yaw-it.northOffset)+"deg)")}}function L(t,o,e,n){this.w=t;this.x=o;this.y=e;this.z=n}function S(o){var e;e=o.alpha;var n=o.beta;o=o.gamma;n=[n?n*Math.PI/180/2:0,o?o*Math.PI/180/2:0,e?e*Math.PI/180/2:0];e=[Math.cos(n[0]),Math.cos(n[1]),Math.cos(n[2])];n=[Math.sin(n[0]),Math.sin(n[1]),Math.sin(n[2])];e=new L(e[0]*e[1]*e[2]-n[0]*n[1]*n[2],n[0]*e[1]*e[2]-e[0]*n[1]*n[2],e[0]*n[1]*e[2]+n[0]*e[1]*n[2],e[0]*e[1]*n[2]+n[0]*n[1]*e[2]);e=e.multiply(new L(Math.sqrt(.5),-Math.sqrt(.5),0,0));n=t.orientation?-t.orientation*Math.PI/180/2:0;e=e.multiply(new L(Math.cos(n),0,-Math.sin(n),0)).toEulerAngles();"number"==typeof _t&&10>_t?_t+=1:10===_t?(yt=e[2]/Math.PI*180+it.yaw,_t=!0,requestAnimationFrame(P)):(it.pitch=e[0]/Math.PI*180,it.roll=-e[1]/Math.PI*180,it.yaw=-e[2]/Math.PI*180+yt)}function T(){try{var t={};it.horizonPitch!==e&&(t.horizonPitch=it.horizonPitch*Math.PI/180);it.horizonRoll!==e&&(t.horizonRoll=it.horizonRoll*Math.PI/180);it.backgroundColor!==e&&(t.backgroundColor=it.backgroundColor);at.init(zt,it.type,it.dynamic,it.haov*Math.PI/180,it.vaov*Math.PI/180,it.vOffset*Math.PI/180,W,t);!0!==it.dynamic&&(zt=e)}catch(t){if("webgl error"==t.type||"no webgl"==t.type)l();else if("webgl size error"==t.type)l(it.strings.textureSizeError.replace("%s",t.width).replace("%s",t.maxWidth));else throw l(it.strings.unknownError),t}}function W(){if(it.sceneFadeDuration&&at.fadeImg!==e){at.fadeImg.style.opacity=0;var t=at.fadeImg;delete at.fadeImg;setTimeout((function(){Wt.removeChild(t);et("scenechangefadedone")}),it.sceneFadeDuration)}Zt.style.display=it.compass?"inline":"none";G();Nt.load.box.style.display="none";rt!==e&&(Wt.removeChild(rt),rt=e);bt=!0;et("load");O()}function R(t){t.pitch=Number(t.pitch)||0;t.yaw=Number(t.yaw)||0;var e=o.createElement("div");e.className="pnlm-hotspot-base";e.className=t.cssClass?e.className+(" "+t.cssClass):e.className+(" pnlm-hotspot pnlm-sprite pnlm-"+$(t.type));var n=o.createElement("span");t.text&&(n.innerHTML=$(t.text));var i;if(t.video){i=o.createElement("video");var a=t.video;it.basePath&&!r(a)&&(a=it.basePath+a);i.src=tt(a);i.controls=!0;i.style.width=t.width+"px";Wt.appendChild(e);n.appendChild(i)}else if(t.image){a=t.image;it.basePath&&!r(a)&&(a=it.basePath+a);i=o.createElement("a");i.href=tt(t.URL?t.URL:a,!0);i.target="_blank";n.appendChild(i);var s=o.createElement("img");s.src=tt(a);s.style.width=t.width+"px";s.style.paddingTop="5px";Wt.appendChild(e);i.appendChild(s);n.style.maxWidth="initial"}else if(t.URL){i=o.createElement("a");i.href=tt(t.URL,!0);if(t.attributes)for(a in t.attributes)i.setAttribute(a,t.attributes[a]);else i.target="_blank";Wt.appendChild(i);e.className+=" pnlm-pointer";n.className+=" pnlm-pointer";i.appendChild(e)}else t.sceneId&&(e.onclick=e.ontouchend=function(){e.clicked||(e.clicked=!0,V(t.sceneId,t.targetPitch,t.targetYaw,t.targetHfov));return!1},e.className+=" pnlm-pointer",n.className+=" pnlm-pointer"),Wt.appendChild(e);if(t.createTooltipFunc)t.createTooltipFunc(e,t.createTooltipArgs);else if(t.text||t.video||t.image)e.classList.add("pnlm-tooltip"),e.appendChild(n),n.style.width=n.scrollWidth-20+"px",n.style.marginLeft=-(n.scrollWidth-e.offsetWidth)/2+"px",n.style.marginTop=-n.scrollHeight-12+"px";t.clickHandlerFunc&&(e.addEventListener("click",(function(o){t.clickHandlerFunc(o,t.clickHandlerArgs)}),"false"),e.className+=" pnlm-pointer",n.className+=" pnlm-pointer");t.div=e}function G(){It||(it.hotSpots?(it.hotSpots=it.hotSpots.sort((function(t,o){return t.pitch<o.pitch})),it.hotSpots.forEach(R)):it.hotSpots=[],It=!0,it.hotSpots.forEach(q))}function N(){var t=it.hotSpots;It=!1;delete it.hotSpots;if(t)for(var o=0;o<t.length;o++){var e=t[o].div;if(e){for(;e.parentNode&&e.parentNode!=Wt;)e=e.parentNode;Wt.removeChild(e)}delete t[o].div}}function q(t){var o=Math.sin(t.pitch*Math.PI/180),e=Math.cos(t.pitch*Math.PI/180),n=Math.sin(it.pitch*Math.PI/180),i=Math.cos(it.pitch*Math.PI/180),a=Math.cos((-t.yaw+it.yaw)*Math.PI/180),r=o*n+e*a*i;if(90>=t.yaw&&-90<t.yaw&&0>=r||(90<t.yaw||-90>=t.yaw)&&0>=r)t.div.style.visibility="hidden";else{var s=Math.sin((-t.yaw+it.yaw)*Math.PI/180),h=Math.tan(it.hfov*Math.PI/360);t.div.style.visibility="visible";var l=at.getCanvas(),c=l.clientWidth,l=l.clientHeight,o=[-c/h*s*e/r/2,-c/h*(o*i-e*a*n)/r/2],e=Math.sin(it.roll*Math.PI/180),n=Math.cos(it.roll*Math.PI/180),o=[o[0]*n-o[1]*e,o[0]*e+o[1]*n];o[0]+=(c-t.div.offsetWidth)/2;o[1]+=(l-t.div.offsetHeight)/2;c="translate("+o[0]+"px, "+o[1]+"px) translateZ(9999px) rotate("+it.roll+"deg)";t.scale&&(c+=" scale("+Dt/it.hfov/r+")");t.div.style.webkitTransform=c;t.div.style.MozTransform=c;t.div.style.transform=c}}function B(t){it={};var o,e,n="haov vaov vOffset northOffset horizonPitch horizonRoll".split(" ");Ot=[];for(o in St)St.hasOwnProperty(o)&&(it[o]=St[o]);for(o in i.default)if(i.default.hasOwnProperty(o))if("strings"==o)for(e in i.default.strings)i.default.strings.hasOwnProperty(e)&&(it.strings[e]=$(i.default.strings[e]));else it[o]=i.default[o],0<=n.indexOf(o)&&Ot.push(o);if(null!==t&&""!==t&&i.scenes&&i.scenes[t]){var a=i.scenes[t];for(o in a)if(a.hasOwnProperty(o))if("strings"==o)for(e in a.strings)a.strings.hasOwnProperty(e)&&(it.strings[e]=$(a.strings[e]));else it[o]=a[o],0<=n.indexOf(o)&&Ot.push(o);it.scene=t}for(o in i)if(i.hasOwnProperty(o))if("strings"==o)for(e in i.strings)i.strings.hasOwnProperty(e)&&(it.strings[e]=$(i.strings[e]));else it[o]=i[o],0<=n.indexOf(o)&&Ot.push(o)}function U(t){if((t=t?t:!1)&&"preview"in it){var n=it.preview;it.basePath&&!r(n)&&(n=it.basePath+n);rt=o.createElement("div");rt.className="pnlm-preview-img";rt.style.backgroundImage="url('"+tt(n).replace(/"/g,"%22").replace(/'/g,"%27")+"')";Wt.appendChild(rt)}var n=it.title,i=it.author;t&&("previewTitle"in it&&(it.title=it.previewTitle),"previewAuthor"in it&&(it.author=it.previewAuthor));it.hasOwnProperty("title")||(Nt.title.innerHTML="");it.hasOwnProperty("author")||(Nt.author.innerHTML="");it.hasOwnProperty("title")||it.hasOwnProperty("author")||(Nt.container.style.display="none");Bt.load.innerHTML="<p>"+it.strings.loadButtonLabel+"</p>";Nt.load.boxp.innerHTML=it.strings.loadingLabel;for(var s in it)if(it.hasOwnProperty(s))switch(s){case"title":Nt.title.innerHTML=$(it[s]);Nt.container.style.display="inline";break;case"author":var h=$(it[s]);it.authorURL&&(h=o.createElement("a"),h.href=tt(it.authorURL,!0),h.target="_blank",h.innerHTML=$(it[s]),h=h.outerHTML);Nt.author.innerHTML=it.strings.bylineLabel.replace("%s",h);Nt.container.style.display="inline";break;case"fallback":h=o.createElement("a");h.href=tt(it[s],!0);h.target="_blank";h.textContent="Click here to view this panorama in an alternative viewer.";var l=o.createElement("p");l.textContent="Your browser does not support WebGL.";l.appendChild(o.createElement("br"));l.appendChild(h);Nt.errorMsg.innerHTML="";Nt.errorMsg.appendChild(l);break;case"hfov":Y(Number(it[s]));break;case"autoLoad":!0===it[s]&&at===e&&(Nt.load.box.style.display="inline",Bt.load.style.display="none",a());break;case"showZoomCtrl":Bt.zoom.style.display=it[s]&&!1!=it.showControls?"block":"none";break;case"showFullscreenCtrl":Bt.fullscreen.style.display=it[s]&&!1!=it.showControls&&("fullscreen"in o||"mozFullScreen"in o||"webkitIsFullScreen"in o||"msFullscreenElement"in o)?"block":"none";break;case"hotSpotDebug":qt.style.display=it[s]?"block":"none";break;case"showControls":it[s]||(Bt.orientation.style.display="none",Bt.zoom.style.display="none",Bt.fullscreen.style.display="none");break;case"orientationOnByDefault":it[s]&&Q()}t&&(n?it.title=n:delete it.title,i?it.author=i:delete it.author)}function Z(){if(bt&&!vt)if(dt)o.exitFullscreen?o.exitFullscreen():o.mozCancelFullScreen?o.mozCancelFullScreen():o.webkitCancelFullScreen?o.webkitCancelFullScreen():o.msExitFullscreen&&o.msExitFullscreen();else try{n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen?n.msRequestFullscreen():n.webkitRequestFullScreen()}catch(t){}}function j(t){o.fullscreenElement||o.fullscreen||o.mozFullScreen||o.webkitIsFullScreen||o.msFullscreenElement?(Bt.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),dt=!0):(Bt.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),dt=!1);"resize"!==t&&et("fullscreenchange",dt);at.resize();Y(it.hfov);O()}function H(t){var o=it.minHfov;"multires"==it.type&&at&&!it.multiResMinHfov&&(o=Math.min(o,at.getCanvas().width/(it.multiRes.cubeResolution/90*.9)));if(o>it.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),it.hfov;var e=it.hfov,e=t<o?o:t>it.maxHfov?it.maxHfov:t;it.avoidShowingBackground&&at&&(t=at.getCanvas(),e=Math.min(e,360*Math.atan(Math.tan((it.maxPitch-it.minPitch)/360*Math.PI)/t.height*t.width)/Math.PI));return e}function Y(t){it.hfov=H(t);et("zoomchange",it.hfov)}function X(){At={};Ct=it.autoRotate?it.autoRotate:Ct;it.autoRotate=!1}function J(){vt&&(Nt.load.box.style.display="none",Nt.errorMsg.style.display="none",vt=!1,Wt.style.display="block",et("errorcleared"));bt=!1;Bt.load.style.display="none";Nt.load.box.style.display="inline";a()}function V(t,o,n,a,r){bt||(r=!0);bt=!1;At={};var s,h;if(it.sceneFadeDuration&&!r&&(s=at.render(it.pitch*Math.PI/180,it.yaw*Math.PI/180,it.hfov*Math.PI/180,{returnImage:!0}),s!==e)){r=new Image;r.className="pnlm-fade-img";r.style.transition="opacity "+it.sceneFadeDuration/1e3+"s";r.style.width="100%";r.style.height="100%";r.onload=function(){V(t,o,n,a,!0)};r.src=s;Wt.appendChild(r);at.fadeImg=r;return}r="same"===o?it.pitch:o;s="same"===n?it.yaw:"sameAzimuth"===n?it.yaw+(it.northOffset||0)-(i.scenes[t].northOffset||0):n;h="same"===a?it.hfov:a;N();B(t);Mt.yaw=Mt.pitch=Mt.hfov=0;U();r!==e&&(it.pitch=r);s!==e&&(it.yaw=s);h!==e&&(it.hfov=h);et("scenechange",t);J()}function K(){t.removeEventListener("deviceorientation",S);Bt.orientation.classList.remove("pnlm-orientation-button-active");_t=!1}function Q(){"function"===typeof DeviceMotionEvent.requestPermission?DeviceOrientationEvent.requestPermission().then((function(o){"granted"==o&&(_t=1,t.addEventListener("deviceorientation",S),Bt.orientation.classList.add("pnlm-orientation-button-active"))})):(_t=1,t.addEventListener("deviceorientation",S),Bt.orientation.classList.add("pnlm-orientation-button-active"))}function $(t){return i.escapeHTML?String(t).split(/&/g).join("&").split('"').join(""").split("'").join("'").split("<").join("<").split(">").join(">").split("/").join("/").split("\n").join("<br>"):String(t).split("\n").join("<br>")}function tt(t,o){try{var e=decodeURIComponent(ot(t)).replace(/[^\w:]/g,"").toLowerCase()}catch(t){return"about:blank"}return 0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")?(console.log("Script URL removed."),"about:blank"):o&&0===e.indexOf("data:")?(console.log("Data URI removed from link."),"about:blank"):t}function ot(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(t,o){o=o.toLowerCase();return"colon"===o?":":"#"===o.charAt(0)?"x"===o.charAt(1)?String.fromCharCode(parseInt(o.substring(2),16)):String.fromCharCode(+o.substring(1)):""}))}function et(t){if(t in Et)for(var o=Et[t].length;0<o;o--)Et[t][Et[t].length-o].apply(null,[].slice.call(arguments,1))}var nt=this,it,at,rt,st=!1,ht=Date.now(),lt=0,ct=0,ut=-1,mt=0,ft=0,pt=Array(10),dt=!1,bt,vt=!1,gt=!1,zt,wt,Mt={yaw:0,pitch:0,hfov:0},xt=!1,_t=!1,yt=0,kt,Ct=0,Dt,Ft,At={},Et={},Ot=[],Pt=!1,It=!1,Lt=!1,St={hfov:100,minHfov:50,multiResMinHfov:!1,maxHfov:120,pitch:0,minPitch:e,maxPitch:e,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:!1,autoRotateInactivityDelay:-1,autoRotateStopDelay:e,type:"equirectangular",northOffset:0,showFullscreenCtrl:!0,dynamic:!1,dynamicUpdate:!1,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,showZoomCtrl:!0,autoLoad:!1,showControls:!0,orientationOnByDefault:!1,hotSpotDebug:!1,backgroundColor:[0,0,0],avoidShowingBackground:!1,animationTimingFunction:function(t){return.5>t?2*t*t:-1+(4-2*t)*t},draggable:!0,disableKeyboardCtrl:!1,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],friction:.15,strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};n="string"===typeof n?o.getElementById(n):n;n.classList.add("pnlm-container");n.tabIndex=0;var Tt=o.createElement("div");Tt.className="pnlm-ui";n.appendChild(Tt);var Wt=o.createElement("div");Wt.className="pnlm-render-container";n.appendChild(Wt);var Rt=o.createElement("div");Rt.className="pnlm-dragfix";Tt.appendChild(Rt);var Gt=o.createElement("span");Gt.className="pnlm-about-msg";Gt.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 2.5.6';Tt.appendChild(Gt);Rt.addEventListener("contextmenu",c);var Nt={},qt=o.createElement("div");qt.className="pnlm-sprite pnlm-hot-spot-debug-indicator";Tt.appendChild(qt);Nt.container=o.createElement("div");Nt.container.className="pnlm-panorama-info";Nt.title=o.createElement("div");Nt.title.className="pnlm-title-box";Nt.container.appendChild(Nt.title);Nt.author=o.createElement("div");Nt.author.className="pnlm-author-box";Nt.container.appendChild(Nt.author);Tt.appendChild(Nt.container);Nt.load={};Nt.load.box=o.createElement("div");Nt.load.box.className="pnlm-load-box";Nt.load.boxp=o.createElement("p");Nt.load.box.appendChild(Nt.load.boxp);Nt.load.lbox=o.createElement("div");Nt.load.lbox.className="pnlm-lbox";Nt.load.lbox.innerHTML='<div class="pnlm-loading"></div>';Nt.load.box.appendChild(Nt.load.lbox);Nt.load.lbar=o.createElement("div");Nt.load.lbar.className="pnlm-lbar";Nt.load.lbarFill=o.createElement("div");Nt.load.lbarFill.className="pnlm-lbar-fill";Nt.load.lbar.appendChild(Nt.load.lbarFill);Nt.load.box.appendChild(Nt.load.lbar);Nt.load.msg=o.createElement("p");Nt.load.msg.className="pnlm-lmsg";Nt.load.box.appendChild(Nt.load.msg);Tt.appendChild(Nt.load.box);Nt.errorMsg=o.createElement("div");Nt.errorMsg.className="pnlm-error-msg pnlm-info-box";Tt.appendChild(Nt.errorMsg);var Bt={};Bt.container=o.createElement("div");Bt.container.className="pnlm-controls-container";Tt.appendChild(Bt.container);Bt.load=o.createElement("div");Bt.load.className="pnlm-load-button";Bt.load.addEventListener("click",(function(){U();J()}));Tt.appendChild(Bt.load);Bt.zoom=o.createElement("div");Bt.zoom.className="pnlm-zoom-controls pnlm-controls";Bt.zoomIn=o.createElement("div");Bt.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control";Bt.zoomIn.addEventListener("click",(function(){bt&&(Y(it.hfov-5),O())}));Bt.zoom.appendChild(Bt.zoomIn);Bt.zoomOut=o.createElement("div");Bt.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control";Bt.zoomOut.addEventListener("click",(function(){bt&&(Y(it.hfov+5),O())}));Bt.zoom.appendChild(Bt.zoomOut);Bt.container.appendChild(Bt.zoom);Bt.fullscreen=o.createElement("div");Bt.fullscreen.addEventListener("click",Z);Bt.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control";(o.fullscreenEnabled||o.mozFullScreenEnabled||o.webkitFullscreenEnabled||o.msFullscreenEnabled)&&Bt.container.appendChild(Bt.fullscreen);Bt.orientation=o.createElement("div");Bt.orientation.addEventListener("click",(function(t){_t?K():Q()}));Bt.orientation.addEventListener("mousedown",(function(t){t.stopPropagation()}));Bt.orientation.addEventListener("touchstart",(function(t){t.stopPropagation()}));Bt.orientation.addEventListener("pointerdown",(function(t){t.stopPropagation()}));Bt.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var Ut=!1;t.DeviceOrientationEvent&&"https:"==location.protocol&&0<=navigator.userAgent.toLowerCase().indexOf("mobi")&&(Bt.container.appendChild(Bt.orientation),Ut=!0);var Zt=o.createElement("div");Zt.className="pnlm-compass pnlm-controls pnlm-control";Tt.appendChild(Zt);i.firstScene?B(i.firstScene):i.default&&i.default.firstScene?B(i.default.firstScene):B(null);U(!0);var jt=[],Ht=[];L.prototype.multiply=function(t){return new L(this.w*t.w-this.x*t.x-this.y*t.y-this.z*t.z,this.x*t.w+this.w*t.x+this.y*t.z-this.z*t.y,this.y*t.w+this.w*t.y+this.z*t.x-this.x*t.z,this.z*t.w+this.w*t.z+this.x*t.y-this.y*t.x)};L.prototype.toEulerAngles=function(){var t=Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),o=Math.asin(2*(this.w*this.y-this.z*this.x)),e=Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z));return[t,o,e]};this.isLoaded=function(){return Boolean(bt)};this.getPitch=function(){return it.pitch};this.setPitch=function(t,o,n,i){ht=Date.now();if(1e-6>=Math.abs(t-it.pitch))return"function"==typeof n&&n(i),this;(o=o==e?1e3:Number(o))?(At.pitch={startTime:Date.now(),startPosition:it.pitch,endPosition:t,duration:o},"function"==typeof n&&setTimeout((function(){n(i)}),o)):it.pitch=t;O();return this};this.getPitchBounds=function(){return[it.minPitch,it.maxPitch]};this.setPitchBounds=function(t){it.minPitch=Math.max(-90,Math.min(t[0],90));it.maxPitch=Math.max(-90,Math.min(t[1],90));return this};this.getYaw=function(){return(it.yaw+540)%360-180};this.setYaw=function(t,o,n,i){ht=Date.now();if(1e-6>=Math.abs(t-it.yaw))return"function"==typeof n&&n(i),this;o=o==e?1e3:Number(o);t=(t+180)%360-180;o?(180<it.yaw-t?t+=360:180<t-it.yaw&&(t-=360),At.yaw={startTime:Date.now(),startPosition:it.yaw,endPosition:t,duration:o},"function"==typeof n&&setTimeout((function(){n(i)}),o)):it.yaw=t;O();return this};this.getYawBounds=function(){return[it.minYaw,it.maxYaw]};this.setYawBounds=function(t){it.minYaw=Math.max(-360,Math.min(t[0],360));it.maxYaw=Math.max(-360,Math.min(t[1],360));return this};this.getHfov=function(){return it.hfov};this.setHfov=function(t,o,n,i){ht=Date.now();if(1e-6>=Math.abs(t-it.hfov))return"function"==typeof n&&n(i),this;(o=o==e?1e3:Number(o))?(At.hfov={startTime:Date.now(),startPosition:it.hfov,endPosition:H(t),duration:o},"function"==typeof n&&setTimeout((function(){n(i)}),o)):Y(t);O();return this};this.getHfovBounds=function(){return[it.minHfov,it.maxHfov]};this.setHfovBounds=function(t){it.minHfov=Math.max(0,t[0]);it.maxHfov=Math.max(0,t[1]);return this};this.lookAt=function(t,o,n,i,a,r){i=i==e?1e3:Number(i);t!==e&&1e-6<Math.abs(t-it.pitch)&&(this.setPitch(t,i,a,r),a=e);o!==e&&1e-6<Math.abs(o-it.yaw)&&(this.setYaw(o,i,a,r),a=e);n!==e&&1e-6<Math.abs(n-it.hfov)&&(this.setHfov(n,i,a,r),a=e);"function"==typeof a&&a(r);return this};this.getNorthOffset=function(){return it.northOffset};this.setNorthOffset=function(t){it.northOffset=Math.min(360,Math.max(0,t));O();return this};this.getHorizonRoll=function(){return it.horizonRoll};this.setHorizonRoll=function(t){it.horizonRoll=Math.min(90,Math.max(-90,t));at.setPose(it.horizonPitch*Math.PI/180,it.horizonRoll*Math.PI/180);O();return this};this.getHorizonPitch=function(){return it.horizonPitch};this.setHorizonPitch=function(t){it.horizonPitch=Math.min(90,Math.max(-90,t));at.setPose(it.horizonPitch*Math.PI/180,it.horizonRoll*Math.PI/180);O();return this};this.startAutoRotate=function(t,o){t=t||Ct||1;o=o===e?Ft:o;it.autoRotate=t;nt.lookAt(o,e,Dt,3e3);O();return this};this.stopAutoRotate=function(){Ct=it.autoRotate?it.autoRotate:Ct;it.autoRotate=!1;it.autoRotateInactivityDelay=-1;return this};this.stopMovement=function(){X();Mt={yaw:0,pitch:0,hfov:0}};this.getRenderer=function(){return at};this.setUpdate=function(t){Pt=!0===t;at===e?s():O();return this};this.mouseEventToCoords=function(t){return p(t)};this.loadScene=function(t,o,e,n){!1!==bt&&V(t,o,e,n);return this};this.getScene=function(){return it.scene};this.addScene=function(t,o){i.scenes[t]=o;return this};this.removeScene=function(t){if(it.scene===t||!i.scenes.hasOwnProperty(t))return!1;delete i.scenes[t];return!0};this.toggleFullscreen=function(){Z();return this};this.getConfig=function(){return it};this.getContainer=function(){return n};this.addHotSpot=function(t,o){if(o===e&&it.scene===e)it.hotSpots.push(t);else{var n=o!==e?o:it.scene;if(i.scenes.hasOwnProperty(n))i.scenes[n].hasOwnProperty("hotSpots")||(i.scenes[n].hotSpots=[],n==it.scene&&(it.hotSpots=i.scenes[n].hotSpots)),i.scenes[n].hotSpots.push(t);else throw"Invalid scene ID!"}if(o===e||it.scene==o)R(t),bt&&q(t);return this};this.removeHotSpot=function(t,o){if(o===e||it.scene==o){if(!it.hotSpots)return!1;for(var n=0;n<it.hotSpots.length;n++)if(it.hotSpots[n].hasOwnProperty("id")&&it.hotSpots[n].id===t){for(var a=it.hotSpots[n].div;a.parentNode!=Wt;)a=a.parentNode;Wt.removeChild(a);delete it.hotSpots[n].div;it.hotSpots.splice(n,1);return!0}}else if(i.scenes.hasOwnProperty(o)){if(!i.scenes[o].hasOwnProperty("hotSpots"))return!1;for(n=0;n<i.scenes[o].hotSpots.length;n++)if(i.scenes[o].hotSpots[n].hasOwnProperty("id")&&i.scenes[o].hotSpots[n].id===t)return i.scenes[o].hotSpots.splice(n,1),!0}else return!1};this.resize=function(){at&&E()};this.isLoaded=function(){return bt};this.isOrientationSupported=function(){return Ut||!1};this.stopOrientation=function(){K()};this.startOrientation=function(){Ut&&Q()};this.isOrientationActive=function(){return Boolean(_t)};this.on=function(t,o){Et[t]=Et[t]||[];Et[t].push(o);return this};this.off=function(t,o){if(!t)return Et={},this;if(o){var e=Et[t].indexOf(o);0<=e&&Et[t].splice(e,1);0==Et[t].length&&delete Et[t]}else delete Et[t];return this};this.destroy=function(){Lt=!0;clearTimeout(kt);at&&at.destroy();gt&&(o.removeEventListener("mousemove",d,!1),o.removeEventListener("mouseup",b,!1),n.removeEventListener("mozfullscreenchange",j,!1),n.removeEventListener("webkitfullscreenchange",j,!1),n.removeEventListener("msfullscreenchange",j,!1),n.removeEventListener("fullscreenchange",j,!1),t.removeEventListener("resize",E,!1),t.removeEventListener("orientationchange",E,!1),n.removeEventListener("keydown",y,!1),n.removeEventListener("keyup",C,!1),n.removeEventListener("blur",k,!1),o.removeEventListener("mouseleave",b,!1));n.innerHTML="";n.classList.remove("pnlm-container")}}return{viewer:function(t,o){return new n(t,o)}}}(window,document);const a=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica, "Nimbus Sans L", "Liberation Sans", Arial, sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2267%22%20height%3D%22100%22%20viewBox%3D%220%200%2067%20100%22%3E%0A%3Cpath%20stroke%3D%22%23ccc%22%20fill%3D%22none%22%20d%3D%22M33.5%2C50%2C0%2C63%2C33.5%2C75%2C67%2C63%2C33.5%2C50m-33.5-50%2C67%2C25m-0.5%2C0%2C0%2C75m-66.5-75%2C67-25m-33.5%2C75%2C0%2C25m0-100%2C0%2C50%22%2F%3E%0A%3C%2Fsvg%3E%0A") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content}.pnlm-container *{-webkit-box-sizing:content-box;box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:-webkit-grab;cursor:grab;cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A") 12 8, default}.pnlm-grabbing{cursor:-webkit-grabbing;cursor:grabbing;cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A") 12 8, default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%22208%22%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22117%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22143%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20cy%3D%22169%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cy%3D%22195%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cx%3D%2213%22%20cy%3D%22195%22%20r%3D%222.5%22%2F%3E%0A%3Cpath%20d%3D%22m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z%22%2F%3E%0A%3Cpath%20d%3D%22m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m17%2038v2h-8v-2z%22%2F%3E%0A%3Cpath%20d%3D%22m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z%22%2F%3E%0A%3Cpath%20d%3D%22m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z%22%2F%3E%0A%3C%2Fsvg%3E%0A")}.pnlm-container:-webkit-full-screen{height:100% !important;width:100% !important;position:static !important}.pnlm-container:-ms-fullscreen{height:100% !important;width:100% !important;position:static !important}.pnlm-container:fullscreen{height:100% !important;width:100% !important;position:static !important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:0.25rem;background-color:#fff;border:0.0625rem solid #999;border-color:rgba(0, 0, 0, 0.4);border-radius:0.1875rem;cursor:pointer;z-index:2;-webkit-transform:translateZ(624.9375rem);transform:translateZ(624.9375rem)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:0.25rem;z-index:1}.pnlm-zoom-controls{width:1.625rem;height:3.25rem}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:0.1875rem 0.1875rem 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -1.625rem;border-top:0.0625rem solid #ddd;border-top-color:rgba(0, 0, 0, 0.1);border-radius:0 0 0.1875rem 0.1875rem}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:1.625rem;height:1.625rem}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:1.625rem;height:1.625rem;margin:-0.8125rem 0 0 -0.8125rem;background-color:rgba(255, 255, 255, 0.5);border-radius:0.8125rem;display:none}.pnlm-orientation-button-inactive{background-position:0 -9.75rem}.pnlm-orientation-button-active{background-position:0 -11.375rem}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -3.25rem}.pnlm-fullscreen-toggle-button-active{background-position:0 -4.875rem}.pnlm-panorama-info{position:absolute;bottom:0.25rem;background-color:rgba(0, 0, 0, 0.7);border-radius:0 0.1875rem 0.1875rem 0;padding-right:0.625rem;color:#fff;text-align:left;display:none;z-index:2;-webkit-transform:translateZ(624.9375rem);transform:translateZ(624.9375rem)}.pnlm-title-box{position:relative;font-size:1.25rem;display:table;padding-left:0.3125rem;margin-bottom:0.1875rem}.pnlm-author-box{position:relative;font-size:0.75rem;display:table;padding-left:0.3125rem}.pnlm-load-box{position:absolute;top:50%;left:50%;width:12.5rem;height:9.375rem;margin:-4.6875rem 0 0 -6.25rem;background-color:rgba(0, 0, 0, 0.7);border-radius:0.1875rem;text-align:center;font-size:1.25rem;display:none;color:#fff}.pnlm-load-box p{margin:1.25rem 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:1.25rem;height:1.25rem;margin:-0.625rem 0 0 -0.625rem;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:0.625rem;width:0.625rem;background-color:#fff;position:relative}@-webkit-keyframes pnlm-mv{from{left:0;top:0}25%{left:0.625rem;top:0}50%{left:0.625rem;top:0.625rem}75%{left:0;top:0.625rem}to{left:0;top:0}}@keyframes pnlm-mv{from{left:0;top:0}25%{left:0.625rem;top:0}50%{left:0.625rem;top:0.625rem}75%{left:0;top:0.625rem}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:12.5rem;height:6.25rem;margin:-3.125rem 0 0 -6.25rem;background-color:rgba(0, 0, 0, 0.7);border-radius:0.1875rem;text-align:center;font-size:1.25rem;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:rgba(0, 0, 0, 0.8)}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:0.9375rem;position:absolute;top:50%;left:50%;width:12.5rem;height:9.375rem;margin:-4.6875rem 0 0 -6.25rem;background-color:#000;border-radius:0.1875rem;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a,.pnlm-author-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 0.3125rem 0 0.3125rem}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:0.6875rem;line-height:0.6875rem;color:#fff;padding:0.3125rem 0.5rem 0.3125rem 0.5rem;background:rgba(0, 0, 0, 0.7);border-radius:0.1875rem;position:absolute;top:3.125rem;left:3.125rem;display:none;opacity:0;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:1.625rem;width:1.625rem;border-radius:0.8125rem}.pnlm-hotspot:hover{background-color:rgba(255, 255, 255, 0.2)}.pnlm-hotspot.pnlm-info{background-position:0 -6.5rem}.pnlm-hotspot.pnlm-scene{background-position:0 -8.125rem}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:0.1875rem;background-color:rgba(0, 0, 0, 0.7);color:#fff;text-align:center;max-width:12.5rem;padding:0.3125rem 0.625rem;margin-left:-13.75rem;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:0.625rem;border-style:solid;border-color:rgba(0, 0, 0, 0.7) transparent transparent transparent;bottom:-1.25rem;left:-0.625rem;margin:0 50%}.pnlm-compass{position:absolute;width:3.125rem;height:3.125rem;right:0.25rem;bottom:0.25rem;border-radius:1.5625rem;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2250%22%20width%3D%2250%22%3E%0A%3Cpath%20d%3D%22m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z%22%2F%3E%0A%3C%2Fsvg%3E%0A");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;-webkit-transform-origin:0 0;transform-origin:0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:9.375rem;margin:0 auto;border:#fff 0.0625rem solid;height:0.375rem}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:0.75rem}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}stzh-panorama{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}stzh-panorama[hidden]{display:none}stzh-panorama *,stzh-panorama *::before,stzh-panorama *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-panorama .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}stzh-panorama .stzh-fylingfocus-focused{outline-style:none !important}stzh-panorama .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-panorama{}.stzh-panorama__hotspot{width:2.5rem;height:2.5rem}.stzh-panorama stzh-button.stzh-panorama__hotspot-button,.stzh-panorama stzh-button.stzh-panorama__control{--box-shadow:var(--stzh-box-shadow-popover);--border-width:0px}.stzh-panorama stzh-button.stzh-panorama__hotspot-button.is-info{--cursor:default}.stzh-panorama__hotspot-tooltip{white-space:nowrap}.stzh-panorama__controls{bottom:var(--stzh-space-small);right:var(--stzh-space-small);z-index:2;pointer-events:none;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-panorama__controls{bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-panorama__controls{bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-panorama__controls{right:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-panorama__controls{right:var(--stzh-space-large)}}@media print{.stzh-panorama__controls{display:none}}.stzh-panorama__control{pointer-events:all}.stzh-panorama__zoom-control{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border-radius:var(--stzh-button-border-radius);background-color:var(--stzh-color-grey13);visibility:hidden}.stzh-panorama__zoom-control stzh-button.stzh-panorama__control{--box-shadow:none}.stzh-panorama__zoom-control stzh-button.stzh-panorama__control.is-zoom-in{--border-radius:var(--stzh-button-border-radius) var(--stzh-button-border-radius) 0 0;margin-bottom:0.0625rem}.stzh-panorama__zoom-control stzh-button.stzh-panorama__control.is-zoom-out{--border-radius:0 0 var(--stzh-button-border-radius) var(--stzh-button-border-radius)}.stzh-panorama__outside-controls{margin-top:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-moz-column-gap:var(--stzh-space-small);-webkit-column-gap:var(--stzh-space-small);column-gap:var(--stzh-space-small);row-gap:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-panorama__outside-controls{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-panorama__outside-controls{margin-top:var(--stzh-space-xxxxlarge)}}@media print{.stzh-panorama__outside-controls{display:none}}.stzh-panorama__outside-scenes-control{--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:auto}.stzh-panorama--is-fullscreen .stzh-panorama__zoom-control{visibility:visible}';var r=undefined&&undefined.__rest||function(t,o){var e={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&o.indexOf(n)<0)e[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++){if(o.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i]))e[n[i]]=t[n[i]]}return e};const s="stzh-panorama__hotspot";const h="stzh-panorama__hotspot-tooltip";const l="stzh-panorama__hotspot-button";const c="is-scene";const u="is-info";const m="is-link";const f="arrow-up";const p="info-help";const d=class{constructor(e){t(this,e);this.stzhLoad=o(this,"stzhLoad",7);this.stzhChange=o(this,"stzhChange",7);this.stzhFullscreenChange=o(this,"stzhFullscreenChange",7);this.stzhSceneChange=o(this,"stzhSceneChange",7);this.stzhZoomChange=o(this,"stzhZoomChange",7);this.actionRunning={};this.controlAnimationTime=500;this.createTooltip=(t,o)=>{const e=document.createElement("stzh-button");e.classList.add(l);if(o.type==="scene"){e.classList.add(c)}else if(o.url){e.classList.add(m);e.setAttribute("href",o.url);e.setAttribute("target","_blank")}else{e.classList.add(u)}e.icon=o.type==="scene"?f:p;e.iconOnly=true;e.rounded=true;e.size="small";e.variant="secondary";if(o.text){const n=document.createElement("stzh-tooltip");n.label=this.localization.hotspotLabel;n.content=o.text;n.placement="top";n.className=h;n.appendChild(e);t.appendChild(n)}else{t.appendChild(e)}e.addEventListener("keydown",(t=>{t.stopPropagation()}))};this.handleSceneDropdownChange=async t=>{const o=t.target;const e=await o.getValue();this.scene=e};this.handleControlsKeydown=t=>{t.stopPropagation()};this.action=t=>{if(!["startOrientation","fullscreen"].includes(t)){this.stopOrientation()}if(t==="zoomIn"){this.executeAction("zoomIn",this.viewer.getHfov,this.viewer.setHfov,-10)}else if(t==="zoomOut"){this.executeAction("zoomOut",this.viewer.getHfov,this.viewer.setHfov,+10)}else if(t==="fullscreen"){this.viewer.toggleFullscreen()}else if(t==="startOrientation"){this.startOrientation()}else if(t==="panUp"){this.executeAction("panUp",this.viewer.getPitch,this.viewer.setPitch,+10)}else if(t==="panDown"){this.executeAction("panDown",this.viewer.getPitch,this.viewer.setPitch,-10)}else if(t==="panLeft"){this.executeAction("panLeft",this.viewer.getYaw,this.viewer.setYaw,-10)}else if(t==="panRight"){this.executeAction("panRight",this.viewer.getYaw,this.viewer.setYaw,+10)}};this.localization=undefined;this.caption="";this.scene=undefined;this.sceneFadeDuration=500;this.autoload=true;this.orientationOnByDefault=false;this.scenes=undefined;this.isOrientationSupported=false;this.isOrientationActive=false;this.isFullscreen=false}async getViewer(){return this.viewer}scenesWatcher(t){if(typeof t==="string"){this._scenes=JSON.parse(t)}else if(t){this._scenes=t}else{throw new Error('"scenes" is empty')}const o={};this._scenes.forEach((t=>{const{sceneId:e,imageTitle:n,imageSrc:i,imageAuthor:a,imageType:h,hotspots:l}=t,c=r(t,["sceneId","imageTitle","imageSrc","imageAuthor","imageType","hotspots"]);o[e]=Object.assign(Object.assign({},c),{type:h,panorama:i,hotSpots:l.map((t=>Object.assign(Object.assign({},t),{URL:"",cssClass:s,createTooltipFunc:this.createTooltip,createTooltipArgs:Object.assign(Object.assign({},t),{url:t.url})})))})}));this._scenesLibrary=o}sceneWatcher(t){this.viewer.loadScene(t)}updateWatcher(){if(this.viewer){this.viewer.destroy();this.viewer=null}}stopOrientation(){if(this.viewer.isOrientationActive()){this.viewer.stopOrientation();var t=new window.Event("touchstart");this.element.querySelector(".pnlm-dragfix").dispatchEvent(t);this.updateOrientationState()}}startOrientation(){if(this.viewer.isOrientationSupported()){this.viewer.startOrientation();this.updateOrientationState()}}updateOrientationState(){this.isOrientationSupported=this.viewer.isOrientationSupported();this.isOrientationActive=this.isOrientationSupported&&this.viewer.isOrientationActive()}executeAction(t,o,e,n){this.actionRunning[t]=typeof this.actionRunning[t]!=="undefined"&&this.actionRunning[t]!==0?this.actionRunning[t]+n:o()+n;e(this.actionRunning[t],this.controlAnimationTime,(()=>{this.actionRunning={[t]:0}}))}initViewer(){this.viewer=window.pannellum.viewer(this.containerElement,{scenes:this._scenesLibrary,default:{firstScene:this.scene,showControls:false,sceneFadeDuration:this.sceneFadeDuration,autoLoad:this.autoload,compass:false,orientationOnByDefault:this.orientationOnByDefault,strings:{loadButtonLabel:this.localization.loadButtonLabel,loadingLabel:this.localization.loadingLabel,bylineLabel:this.localization.bylineLabel,noPanoramaError:this.localization.noPanoramaError,fileAccessError:this.localization.fileAccessError,malformedURLError:this.localization.malformedURLError,iOS8WebGLError:this.localization.iOS8WebGLError,genericWebGLError:this.localization.genericWebGLError,textureSizeError:this.localization.textureSizeError,unknownError:this.localization.unknownError}}});this.viewer.on("load",(()=>{if(this.viewer){this.updateOrientationState();this.scene=this.viewer.getScene();this.stzhLoad.emit({component:"stzh-panorama"})}}));this.viewer.on("touchstart",(()=>{this.updateOrientationState()}));this.viewer.on("fullscreenchange",(t=>{this.isFullscreen=t;this.stzhFullscreenChange.emit({component:"stzh-panorama",value:this.isFullscreen})}));this.viewer.on("scenechange",(t=>{this.containerElement.focus();this.stzhSceneChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("zoomchange",(t=>{this.stzhZoomChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("animatefinished",(t=>{this.stzhChange.emit({component:"stzh-panorama",value:t})}))}async componentWillLoad(){this.scenesWatcher(this.scenes);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"panorama")}}async componentDidRender(){if(this.viewer){return}this.initViewer()}disconnectedCallback(){if(this.viewer){this.viewer.destroy();this.viewer=null}}render(){const t={"stzh-panorama":true,"stzh-panorama--is-motion":this.isOrientationActive,"stzh-panorama--is-fullscreen":this.isFullscreen};const o=this._scenes.map((({sceneId:t,imageTitle:o})=>({value:t,text:o})));const i=this._scenes.find((({sceneId:t})=>t===this.scene));return e(n,null,e("div",{class:t},e("stzh-figure",{class:"stzh-panorama__figure",caption:i.caption||this.caption,copyright:i.imageAuthor},e("stzh-ratio",null,e("div",{ref:t=>this.containerElement=t,class:"stzh-panorama__container",tabindex:"0"},e("div",{class:"stzh-panorama__controls",onKeyDown:this.handleControlsKeydown},e("div",{class:"stzh-panorama__zoom-control"},e("stzh-button",{class:"stzh-panorama__control is-zoom-in",variant:"secondary",a11yLabel:this.localization.zoomIn,icon:"plus",iconOnly:true,size:"small",onClick:()=>this.action("zoomIn")}),e("stzh-button",{class:"stzh-panorama__control is-zoom-out",variant:"secondary",a11yLabel:this.localization.zoomOut,icon:"minus",iconOnly:true,size:"small",onClick:()=>this.action("zoomOut")})),this.isOrientationSupported&&e("stzh-button",{class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isOrientationActive?this.localization.stopOrientation:this.localization.startOrientation,icon:this.isOrientationActive?"target-bullet":"target",iconOnly:true,size:"small",onClick:()=>this.action(this.isOrientationActive?"stopOrientation":"startOrientation")}),e("stzh-button",{class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isFullscreen?this.localization.disableFullscreenLabel:this.localization.enableFullscreenLabel,icon:this.isFullscreen?"close":"focus",iconOnly:true,size:"small",onClick:()=>this.action("fullscreen")}))))),e("div",{class:"stzh-panorama__outside-controls"},e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.zoomIn,variant:"secondary",icon:"plus",size:"small",onClick:()=>this.action("zoomIn")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.zoomOut,variant:"secondary",icon:"minus",size:"small",onClick:()=>this.action("zoomOut")}),this.isOrientationSupported&&e("stzh-button",{class:"stzh-panorama__outside-control",variant:"secondary",label:this.isOrientationActive?this.localization.stopOrientation:this.localization.startOrientation,icon:this.isOrientationActive?"target-bullet":"target",size:"small",onClick:()=>this.action(this.isOrientationActive?"stopOrientation":"startOrientation")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.isFullscreen?this.localization.disableFullscreenLabel:this.localization.enableFullscreenLabel,variant:"secondary",icon:"focus",size:"small",onClick:()=>this.action("fullscreen")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panUp,variant:"secondary",icon:"arrow-up",size:"small",onClick:()=>this.action("panUp")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panDown,variant:"secondary",icon:"arrow-down",size:"small",onClick:()=>this.action("panDown")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panLeft,variant:"secondary",icon:"arrow-left",size:"small",onClick:()=>this.action("panLeft")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panRight,variant:"secondary",icon:"arrow-right",size:"small",onClick:()=>this.action("panRight")}),e("stzh-dropdown",{class:"stzh-panorama__outside-scenes-control",size:"small",label:this.localization.sceneLabel,labelHidden:true,noSearch:true,items:[this.scene],options:o,onStzhChange:this.handleSceneDropdownChange}))))}get element(){return i(this)}static get watchers(){return{scenes:["scenesWatcher","updateWatcher"],scene:["sceneWatcher"],autoload:["updateWatcher"],type:["updateWatcher"],localization:["updateWatcher"],orientationOnByDefault:["updateWatcher"],sceneFadeDuration:["updateWatcher"]}}};d.style=a;export{d as stzh_panorama};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as o,h as e,a as n,g as i}from"./p-c92165bd.js";window.libpannellum=function(t,o,e){function n(n){function c(t,o){return 1==t.level&&1!=o.level?-1:1==o.level&&1!=t.level?1:o.timestamp-t.timestamp}function u(t,o){return t.level!=o.level?t.level-o.level:t.diff-o.diff}function m(t,o,e,n,i,a){this.vertices=t;this.side=o;this.level=e;this.x=n;this.y=i;this.path=a.replace("%s",o).replace("%l",e).replace("%x",n).replace("%y",i)}function f(t,o,e,n,i){var a;var r=o.vertices;a=g(t,r.slice(0,3));var s=g(t,r.slice(3,6)),h=g(t,r.slice(6,9)),r=g(t,r.slice(9,12)),l=a[0]+s[0]+h[0]+r[0];-4==l||4==l?a=!1:(l=a[1]+s[1]+h[1]+r[1],a=-4==l||4==l?!1:4!=a[2]+s[2]+h[2]+r[2]);if(a){a=o.vertices;s=a[0]+a[3]+a[6]+a[9];h=a[1]+a[4]+a[7]+a[10];r=a[2]+a[5]+a[8]+a[11];l=Math.sqrt(s*s+h*h+r*r);r=Math.asin(r/l);s=Math.atan2(h,s)-n;s+=s>Math.PI?-2*Math.PI:s<-Math.PI?2*Math.PI:0;s=Math.abs(s);o.diff=Math.acos(Math.sin(e)*Math.sin(r)+Math.cos(e)*Math.cos(r)*Math.cos(s));s=!1;for(h=0;h<M.nodeCache.length;h++)if(M.nodeCache[h].path==o.path){s=!0;M.nodeCache[h].timestamp=M.nodeCacheTimestamp++;M.nodeCache[h].diff=o.diff;M.currentNodes.push(M.nodeCache[h]);break}s||(o.timestamp=M.nodeCacheTimestamp++,M.currentNodes.push(o),M.nodeCache.push(o));if(o.level<M.level){var r=A.cubeResolution*Math.pow(2,o.level-A.maxLevel),s=Math.ceil(r*A.invTileResolution)-1,h=r%A.tileResolution*2,c=2*r%A.tileResolution;0===c&&(c=A.tileResolution);0===h&&(h=2*A.tileResolution);l=.5;if(o.x==s||o.y==s)l=1-A.tileResolution/(A.tileResolution+c);var u=1-l,r=[],p=l,d=l,b=l,v=u,z=u,w=u;if(c<A.tileResolution)if(o.x==s&&o.y!=s){if(z=d=.5,"d"==o.side||"u"==o.side)w=b=.5}else o.x!=s&&o.y==s&&(v=p=.5,"l"==o.side||"r"==o.side)&&(w=b=.5);h<=A.tileResolution&&(o.x==s&&(p=0,v=1,"l"==o.side||"r"==o.side)&&(b=0,w=1),o.y==s&&(d=0,z=1,"d"==o.side||"u"==o.side)&&(b=0,w=1));c=[a[0],a[1],a[2],a[0]*p+a[3]*v,a[1]*l+a[4]*u,a[2]*b+a[5]*w,a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w,a[0]*l+a[9]*u,a[1]*d+a[10]*z,a[2]*b+a[11]*w];c=new m(c,o.side,o.level+1,2*o.x,2*o.y,A.fullpath);r.push(c);o.x==s&&h<=A.tileResolution||(c=[a[0]*p+a[3]*v,a[1]*l+a[4]*u,a[2]*b+a[5]*w,a[3],a[4],a[5],a[3]*l+a[6]*u,a[4]*d+a[7]*z,a[5]*b+a[8]*w,a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w],c=new m(c,o.side,o.level+1,2*o.x+1,2*o.y,A.fullpath),r.push(c));o.x==s&&h<=A.tileResolution||o.y==s&&h<=A.tileResolution||(c=[a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w,a[3]*l+a[6]*u,a[4]*d+a[7]*z,a[5]*b+a[8]*w,a[6],a[7],a[8],a[9]*p+a[6]*v,a[10]*l+a[7]*u,a[11]*b+a[8]*w],c=new m(c,o.side,o.level+1,2*o.x+1,2*o.y+1,A.fullpath),r.push(c));o.y==s&&h<=A.tileResolution||(c=[a[0]*l+a[9]*u,a[1]*d+a[10]*z,a[2]*b+a[11]*w,a[0]*p+a[6]*v,a[1]*d+a[7]*z,a[2]*b+a[8]*w,a[9]*p+a[6]*v,a[10]*l+a[7]*u,a[11]*b+a[8]*w,a[9],a[10],a[11]],c=new m(c,o.side,o.level+1,2*o.x,2*o.y+1,A.fullpath),r.push(c));for(o=0;o<r.length;o++)f(t,r[o],e,n)}}}function p(){return[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1]}function d(t,o,e){var n=Math.sin(o);o=Math.cos(o);if("x"==e)return[t[0],o*t[1]+n*t[2],o*t[2]-n*t[1],t[3],o*t[4]+n*t[5],o*t[5]-n*t[4],t[6],o*t[7]+n*t[8],o*t[8]-n*t[7]];if("y"==e)return[o*t[0]-n*t[2],t[1],o*t[2]+n*t[0],o*t[3]-n*t[5],t[4],o*t[5]+n*t[3],o*t[6]-n*t[8],t[7],o*t[8]+n*t[6]];if("z"==e)return[o*t[0]+n*t[1],o*t[1]-n*t[0],t[2],o*t[3]+n*t[4],o*t[4]-n*t[3],t[5],o*t[6]+n*t[7],o*t[7]-n*t[6],t[8]]}function b(t){return[t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]}function v(t){R(t,t.path+"."+A.extension,(function(o,e){t.texture=o;t.textureLoaded=e?2:1}),T.crossOrigin)}function g(t,o){var e=[t[0]*o[0]+t[1]*o[1]+t[2]*o[2],t[4]*o[0]+t[5]*o[1]+t[6]*o[2],t[11]+t[8]*o[0]+t[9]*o[1]+t[10]*o[2],1/(t[12]*o[0]+t[13]*o[1]+t[14]*o[2])],n=e[0]*e[3],i=e[1]*e[3],e=e[2]*e[3],a=[0,0,0];-1>n&&(a[0]=-1);1<n&&(a[0]=1);-1>i&&(a[1]=-1);1<i&&(a[1]=1);if(-1>e||1<e)a[2]=1;return a}function z(){console.log("Reducing canvas size due to error 1286!");w.width=Math.round(w.width/2);w.height=Math.round(w.height/2)}var w=o.createElement("canvas");w.style.width=w.style.height="100%";n.appendChild(w);var M,x,_,y,k,C,D,F,A,E,O,P,I,L,S,T;this.init=function(t,c,u,m,f,d,b,v){function g(t){if(R){var o=t*t*4,e=new Uint8ClampedArray(o),n=v.backgroundColor?v.backgroundColor:[0,0,0];n[0]*=255;n[1]*=255;n[2]*=255;for(var i=0;i<o;i++)e[i++]=n[0],e[i++]=n[1],e[i++]=n[2];t=new ImageData(e,t,t);for(W=0;6>W;W++)0==A[W].width&&(A[W]=t)}}c===e&&(c="equirectangular");if("equirectangular"!=c&&"cubemap"!=c&&"multires"!=c)throw console.log("Error: invalid image type specified!"),{type:"config error"};E=c;A=t;O=u;T=v||{};if(M){_&&(x.detachShader(M,_),x.deleteShader(_));y&&(x.detachShader(M,y),x.deleteShader(y));x.bindBuffer(x.ARRAY_BUFFER,null);x.bindBuffer(x.ELEMENT_ARRAY_BUFFER,null);M.texture&&x.deleteTexture(M.texture);if(M.nodeCache)for(t=0;t<M.nodeCache.length;t++)x.deleteTexture(M.nodeCache[t].texture);x.deleteProgram(M);M=e}F=e;var W,R=!1,G;if("cubemap"==E)for(W=0;6>W;W++)0<A[W].width?(G===e&&(G=A[W].width),G!=A[W].width&&console.log("Cube faces have inconsistent widths: "+G+" vs. "+A[W].width)):R=!0;"cubemap"==E&&0!==(G&G-1)&&(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))||(x||(x=w.getContext("experimental-webgl",{alpha:!1,depth:!1})),x&&1286==x.getError()&&z());if(!x&&("multires"==E&&A.hasOwnProperty("fallbackPath")||"cubemap"==E)&&("WebkitAppearance"in o.documentElement.style||navigator.userAgent.match(/Trident.*rv[ :]*11\./)||-1!==navigator.appVersion.indexOf("MSIE 10"))){C&&n.removeChild(C);C=o.createElement("div");C.className="pnlm-world";m=A.basePath?A.basePath+A.fallbackPath:A.fallbackPath;var N="frblud".split(""),q=0;f=function(){var t=o.createElement("canvas");t.className="pnlm-face pnlm-"+N[this.side]+"face";C.appendChild(t);var e=t.getContext("2d");t.style.width=this.width+4+"px";t.style.height=this.height+4+"px";t.width=this.width+4;t.height=this.height+4;e.drawImage(this,2,2);var n=e.getImageData(0,0,t.width,t.height),i=n.data,a,r;for(a=2;a<t.width-2;a++)for(r=0;4>r;r++)i[4*(a+t.width)+r]=i[4*(a+2*t.width)+r],i[4*(a+t.width*(t.height-2))+r]=i[4*(a+t.width*(t.height-3))+r];for(a=2;a<t.height-2;a++)for(r=0;4>r;r++)i[4*(a*t.width+1)+r]=i[4*(a*t.width+2)+r],i[4*((a+1)*t.width-2)+r]=i[4*((a+1)*t.width-3)+r];for(r=0;4>r;r++)i[4*(t.width+1)+r]=i[4*(2*t.width+2)+r],i[4*(2*t.width-2)+r]=i[4*(3*t.width-3)+r],i[4*(t.width*(t.height-2)+1)+r]=i[4*(t.width*(t.height-3)+2)+r],i[4*(t.width*(t.height-1)-2)+r]=i[4*(t.width*(t.height-2)-3)+r];for(a=1;a<t.width-1;a++)for(r=0;4>r;r++)i[4*a+r]=i[4*(a+t.width)+r],i[4*(a+t.width*(t.height-1))+r]=i[4*(a+t.width*(t.height-2))+r];for(a=1;a<t.height-1;a++)for(r=0;4>r;r++)i[a*t.width*4+r]=i[4*(a*t.width+1)+r],i[4*((a+1)*t.width-1)+r]=i[4*((a+1)*t.width-2)+r];for(r=0;4>r;r++)i[r]=i[4*(t.width+1)+r],i[4*(t.width-1)+r]=i[4*(2*t.width-2)+r],i[t.width*(t.height-1)*4+r]=i[4*(t.width*(t.height-2)+1)+r],i[4*(t.width*t.height-1)+r]=i[4*(t.width*(t.height-1)-2)+r];e.putImageData(n,0,0);B.call(this)};var B=function(){0<this.width?(k===e&&(k=this.width),k!=this.width&&console.log("Fallback faces have inconsistent widths: "+k+" vs. "+this.width)):R=!0;q++;6==q&&(k=this.width,n.appendChild(C),b())},R=!1;for(W=0;6>W;W++)d=new Image,d.crossOrigin=T.crossOrigin?T.crossOrigin:"anonymous",d.side=W,d.onload=f,d.onerror=B,d.src="multires"==E?m.replace("%s",N[W])+"."+A.extension:A[W].src;g(k)}else{if(!x)throw console.log("Error: no WebGL support detected!"),{type:"no webgl"};"cubemap"==E&&g(G);A.fullpath=A.basePath?A.basePath+A.path:A.path;A.invTileResolution=1/A.tileResolution;t=p();D=[];for(W=0;6>W;W++)D[W]=t.slice(12*W,12*W+12),t=p();t=0;if("equirectangular"==E){if(t=x.getParameter(x.MAX_TEXTURE_SIZE),Math.max(A.width/2,A.height)>t)throw console.log("Error: The image is too big; it's "+A.width+"px wide, but this device's maximum supported size is "+2*t+"px."),{type:"webgl size error",width:A.width,maxWidth:2*t}}else if("cubemap"==E&&G>x.getParameter(x.MAX_CUBE_MAP_TEXTURE_SIZE))throw console.log("Error: The image is too big; it's "+G+"px wide, but this device's maximum supported size is "+t+"px."),{type:"webgl size error",width:G,maxWidth:t};v===e||v.horizonPitch===e&&v.horizonRoll===e||(F=[v.horizonPitch==e?0:v.horizonPitch,v.horizonRoll==e?0:v.horizonRoll]);G=x.TEXTURE_2D;x.viewport(0,0,x.drawingBufferWidth,x.drawingBufferHeight);x.getShaderPrecisionFormat&&(c=x.getShaderPrecisionFormat(x.FRAGMENT_SHADER,x.HIGH_FLOAT))&&1>c.precision&&(r=r.replace("highp","mediump"));_=x.createShader(x.VERTEX_SHADER);c=i;"multires"==E&&(c=a);x.shaderSource(_,c);x.compileShader(_);y=x.createShader(x.FRAGMENT_SHADER);c=h;"cubemap"==E?(G=x.TEXTURE_CUBE_MAP,c=s):"multires"==E&&(c=l);x.shaderSource(y,c);x.compileShader(y);M=x.createProgram();x.attachShader(M,_);x.attachShader(M,y);x.linkProgram(M);x.getShaderParameter(_,x.COMPILE_STATUS)||console.log(x.getShaderInfoLog(_));x.getShaderParameter(y,x.COMPILE_STATUS)||console.log(x.getShaderInfoLog(y));x.getProgramParameter(M,x.LINK_STATUS)||console.log(x.getProgramInfoLog(M));x.useProgram(M);M.drawInProgress=!1;c=v.backgroundColor?v.backgroundColor:[0,0,0];x.clearColor(c[0],c[1],c[2],1);x.clear(x.COLOR_BUFFER_BIT);M.texCoordLocation=x.getAttribLocation(M,"a_texCoord");x.enableVertexAttribArray(M.texCoordLocation);"multires"!=E?(P||(P=x.createBuffer()),x.bindBuffer(x.ARRAY_BUFFER,P),x.bufferData(x.ARRAY_BUFFER,new Float32Array([-1,1,1,1,1,-1,-1,1,1,-1,-1,-1]),x.STATIC_DRAW),x.vertexAttribPointer(M.texCoordLocation,2,x.FLOAT,!1,0,0),M.aspectRatio=x.getUniformLocation(M,"u_aspectRatio"),x.uniform1f(M.aspectRatio,x.drawingBufferWidth/x.drawingBufferHeight),M.psi=x.getUniformLocation(M,"u_psi"),M.theta=x.getUniformLocation(M,"u_theta"),M.f=x.getUniformLocation(M,"u_f"),M.h=x.getUniformLocation(M,"u_h"),M.v=x.getUniformLocation(M,"u_v"),M.vo=x.getUniformLocation(M,"u_vo"),M.rot=x.getUniformLocation(M,"u_rot"),x.uniform1f(M.h,m/(2*Math.PI)),x.uniform1f(M.v,f/Math.PI),x.uniform1f(M.vo,d/Math.PI*2),"equirectangular"==E&&(M.backgroundColor=x.getUniformLocation(M,"u_backgroundColor"),x.uniform4fv(M.backgroundColor,c.concat([1]))),M.texture=x.createTexture(),x.bindTexture(G,M.texture),"cubemap"==E?(x.texImage2D(x.TEXTURE_CUBE_MAP_POSITIVE_X,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[1]),x.texImage2D(x.TEXTURE_CUBE_MAP_NEGATIVE_X,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[3]),x.texImage2D(x.TEXTURE_CUBE_MAP_POSITIVE_Y,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[4]),x.texImage2D(x.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[5]),x.texImage2D(x.TEXTURE_CUBE_MAP_POSITIVE_Z,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[0]),x.texImage2D(x.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A[2])):A.width<=t?(x.uniform1i(x.getUniformLocation(M,"u_splitImage"),0),x.texImage2D(G,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A)):(x.uniform1i(x.getUniformLocation(M,"u_splitImage"),1),m=o.createElement("canvas"),m.width=A.width/2,m.height=A.height,m=m.getContext("2d"),m.drawImage(A,0,0),f=m.getImageData(0,0,A.width/2,A.height),x.texImage2D(G,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,f),M.texture2=x.createTexture(),x.activeTexture(x.TEXTURE1),x.bindTexture(G,M.texture2),x.uniform1i(x.getUniformLocation(M,"u_image1"),1),m.drawImage(A,-A.width/2,0),f=m.getImageData(0,0,A.width/2,A.height),x.texImage2D(G,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,f),x.texParameteri(G,x.TEXTURE_WRAP_S,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_WRAP_T,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_MIN_FILTER,x.LINEAR),x.texParameteri(G,x.TEXTURE_MAG_FILTER,x.LINEAR),x.activeTexture(x.TEXTURE0)),x.texParameteri(G,x.TEXTURE_WRAP_S,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_WRAP_T,x.CLAMP_TO_EDGE),x.texParameteri(G,x.TEXTURE_MIN_FILTER,x.LINEAR),x.texParameteri(G,x.TEXTURE_MAG_FILTER,x.LINEAR)):(M.vertPosLocation=x.getAttribLocation(M,"a_vertCoord"),x.enableVertexAttribArray(M.vertPosLocation),I||(I=x.createBuffer()),L||(L=x.createBuffer()),S||(S=x.createBuffer()),x.bindBuffer(x.ARRAY_BUFFER,L),x.bufferData(x.ARRAY_BUFFER,new Float32Array([0,0,1,0,1,1,0,1]),x.STATIC_DRAW),x.bindBuffer(x.ELEMENT_ARRAY_BUFFER,S),x.bufferData(x.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,0,2,3]),x.STATIC_DRAW),M.perspUniform=x.getUniformLocation(M,"u_perspMatrix"),M.cubeUniform=x.getUniformLocation(M,"u_cubeMatrix"),M.level=-1,M.currentNodes=[],M.nodeCache=[],M.nodeCacheTimestamp=0);m=x.getError();if(0!==m)throw console.log("Error: Something went wrong with WebGL!",m),{type:"webgl error"};b()}};this.destroy=function(){n!==e&&(w!==e&&n.contains(w)&&n.removeChild(w),C!==e&&n.contains(C)&&n.removeChild(C));if(x){var t=x.getExtension("WEBGL_lose_context");t&&t.loseContext()}};this.resize=function(){var o=t.devicePixelRatio||1;w.width=w.clientWidth*o;w.height=w.clientHeight*o;x&&(1286==x.getError()&&z(),x.viewport(0,0,x.drawingBufferWidth,x.drawingBufferHeight),"multires"!=E&&x.uniform1f(M.aspectRatio,w.clientWidth/w.clientHeight))};this.resize();this.setPose=function(t,o){F=[t,o]};this.render=function(t,o,n,i){var a,r=0;i===e&&(i={});i.roll&&(r=i.roll);if(F!==e){a=F[0];var s=F[1],h=t,l=o,p=Math.cos(s)*Math.sin(t)*Math.sin(a)+Math.cos(t)*(Math.cos(a)*Math.cos(o)+Math.sin(s)*Math.sin(a)*Math.sin(o)),g=-Math.sin(t)*Math.sin(s)+Math.cos(t)*Math.cos(s)*Math.sin(o);t=Math.cos(s)*Math.cos(a)*Math.sin(t)+Math.cos(t)*(-Math.cos(o)*Math.sin(a)+Math.cos(a)*Math.sin(s)*Math.sin(o));t=Math.asin(Math.max(Math.min(t,1),-1));o=Math.atan2(g,p);a=[Math.cos(h)*(Math.sin(s)*Math.sin(a)*Math.cos(l)-Math.cos(a)*Math.sin(l)),Math.cos(h)*Math.cos(s)*Math.cos(l),Math.cos(h)*(Math.cos(a)*Math.sin(s)*Math.cos(l)+Math.sin(l)*Math.sin(a))];s=[-Math.cos(t)*Math.sin(o),Math.cos(t)*Math.cos(o)];s=Math.acos(Math.max(Math.min((a[0]*s[0]+a[1]*s[1])/(Math.sqrt(a[0]*a[0]+a[1]*a[1]+a[2]*a[2])*Math.sqrt(s[0]*s[0]+s[1]*s[1])),1),-1));0>a[2]&&(s=2*Math.PI-s);r+=s}if(x||"multires"!=E&&"cubemap"!=E){if("multires"!=E)n=2*Math.atan(Math.tan(.5*n)/(x.drawingBufferWidth/x.drawingBufferHeight)),n=1/Math.tan(.5*n),x.uniform1f(M.psi,o),x.uniform1f(M.theta,t),x.uniform1f(M.rot,r),x.uniform1f(M.f,n),!0===O&&"equirectangular"==E&&(x.bindTexture(x.TEXTURE_2D,M.texture),x.texImage2D(x.TEXTURE_2D,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,A)),x.drawArrays(x.TRIANGLES,0,6);else{a=x.drawingBufferWidth/x.drawingBufferHeight;s=2*Math.atan(Math.tan(n/2)*x.drawingBufferHeight/x.drawingBufferWidth);s=1/Math.tan(s/2);a=[s/a,0,0,0,0,s,0,0,0,0,100.1/-99.9,20/-99.9,0,0,-1,0];for(s=1;s<A.maxLevel&&x.drawingBufferWidth>A.tileResolution*Math.pow(2,s-1)*Math.tan(n/2)*.707;)s++;M.level=s;s=[1,0,0,0,1,0,0,0,1];s=d(s,-r,"z");s=d(s,-t,"x");s=d(s,o,"y");s=[s[0],s[1],s[2],0,s[3],s[4],s[5],0,s[6],s[7],s[8],0,0,0,0,1];x.uniformMatrix4fv(M.perspUniform,!1,new Float32Array(b(a)));x.uniformMatrix4fv(M.cubeUniform,!1,new Float32Array(b(s)));r=[a[0]*s[0],a[0]*s[1],a[0]*s[2],0,a[5]*s[4],a[5]*s[5],a[5]*s[6],0,a[10]*s[8],a[10]*s[9],a[10]*s[10],a[11],-s[8],-s[9],-s[10],0];M.nodeCache.sort(c);if(200<M.nodeCache.length&&M.nodeCache.length>M.currentNodes.length+50)for(a=M.nodeCache.splice(200,M.nodeCache.length-200),s=0;s<a.length;s++)x.deleteTexture(a[s].texture);M.currentNodes=[];s="fbudlr".split("");for(a=0;6>a;a++)h=new m(D[a],s[a],1,0,0,A.fullpath),f(r,h,t,o);M.currentNodes.sort(u);for(t=W.length-1;0<=t;t--)-1===M.currentNodes.indexOf(W[t].node)&&(W[t].node.textureLoad=!1,W.splice(t,1));if(0===W.length)for(t=0;t<M.currentNodes.length;t++)if(o=M.currentNodes[t],!o.texture&&!o.textureLoad){o.textureLoad=!0;setTimeout(v,0,o);break}if(!M.drawInProgress){M.drawInProgress=!0;x.clear(x.COLOR_BUFFER_BIT);for(t=0;t<M.currentNodes.length;t++)1<M.currentNodes[t].textureLoaded&&(x.bindBuffer(x.ARRAY_BUFFER,I),x.bufferData(x.ARRAY_BUFFER,new Float32Array(M.currentNodes[t].vertices),x.STATIC_DRAW),x.vertexAttribPointer(M.vertPosLocation,3,x.FLOAT,!1,0,0),x.bindBuffer(x.ARRAY_BUFFER,L),x.vertexAttribPointer(M.texCoordLocation,2,x.FLOAT,!1,0,0),x.bindTexture(x.TEXTURE_2D,M.currentNodes[t].texture),x.drawElements(x.TRIANGLES,6,x.UNSIGNED_SHORT,0));M.drawInProgress=!1}}if(i.returnImage!==e)return w.toDataURL("image/png")}else for(a=k/2,i={f:"translate3d(-"+(a+2)+"px, -"+(a+2)+"px, -"+a+"px)",b:"translate3d("+(a+2)+"px, -"+(a+2)+"px, "+a+"px) rotateX(180deg) rotateZ(180deg)",u:"translate3d(-"+(a+2)+"px, -"+a+"px, "+(a+2)+"px) rotateX(270deg)",d:"translate3d(-"+(a+2)+"px, "+a+"px, -"+(a+2)+"px) rotateX(90deg)",l:"translate3d(-"+a+"px, -"+(a+2)+"px, "+(a+2)+"px) rotateX(180deg) rotateY(90deg) rotateZ(180deg)",r:"translate3d("+a+"px, -"+(a+2)+"px, -"+(a+2)+"px) rotateY(270deg)"},n=1/Math.tan(n/2),n=n*w.clientWidth/2+"px",o="perspective("+n+") translateZ("+n+") rotateX("+t+"rad) rotateY("+o+"rad) ",n=Object.keys(i),t=0;6>t;t++)if(r=C.querySelector(".pnlm-"+n[t]+"face"))r.style.webkitTransform=o+i[n[t]],r.style.transform=o+i[n[t]]};this.isLoading=function(){if(x&&"multires"==E)for(var t=0;t<M.currentNodes.length;t++)if(!M.currentNodes[t].textureLoaded)return!0;return!1};this.getCanvas=function(){return w};var W=[],R=function(){function t(){var t=this;this.texture=this.callback=null;this.image=new Image;this.image.crossOrigin=i?i:"anonymous";var o=function(){if(0<t.image.width&&0<t.image.height){var o=t.image;x.bindTexture(x.TEXTURE_2D,t.texture);x.texImage2D(x.TEXTURE_2D,0,x.RGB,x.RGB,x.UNSIGNED_BYTE,o);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_MAG_FILTER,x.LINEAR);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_MIN_FILTER,x.LINEAR);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_WRAP_S,x.CLAMP_TO_EDGE);x.texParameteri(x.TEXTURE_2D,x.TEXTURE_WRAP_T,x.CLAMP_TO_EDGE);x.bindTexture(x.TEXTURE_2D,null);t.callback(t.texture,!0)}else t.callback(t.texture,!1);W.length?(o=W.shift(),t.loadTexture(o.src,o.texture,o.callback)):n[e++]=t};this.image.addEventListener("load",o);this.image.addEventListener("error",o)}function o(t,o,e,n){this.node=t;this.src=o;this.texture=e;this.callback=n}var e=4,n={},i;t.prototype.loadTexture=function(t,o,e){this.texture=o;this.callback=e;this.image.src=t};for(var a=0;a<e;a++)n[a]=new t;return function(t,a,r,s){i=s;s=x.createTexture();e?n[--e].loadTexture(a,s,r):W.push(new o(t,a,s,r));return s}}()}var i="attribute vec2 a_texCoord;varying vec2 v_texCoord;void main() {gl_Position = vec4(a_texCoord, 0.0, 1.0);v_texCoord = a_texCoord;}",a="attribute vec3 a_vertCoord;attribute vec2 a_texCoord;uniform mat4 u_cubeMatrix;uniform mat4 u_perspMatrix;varying mediump vec2 v_texCoord;void main(void) {gl_Position = u_perspMatrix * u_cubeMatrix * vec4(a_vertCoord, 1.0);v_texCoord = a_texCoord;}",r="precision highp float;\nuniform float u_aspectRatio;\nuniform float u_psi;\nuniform float u_theta;\nuniform float u_f;\nuniform float u_h;\nuniform float u_v;\nuniform float u_vo;\nuniform float u_rot;\nconst float PI = 3.14159265358979323846264;\nuniform sampler2D u_image0;\nuniform sampler2D u_image1;\nuniform bool u_splitImage;\nuniform samplerCube u_imageCube;\nvarying vec2 v_texCoord;\nuniform vec4 u_backgroundColor;\nvoid main() {\nfloat x = v_texCoord.x * u_aspectRatio;\nfloat y = v_texCoord.y;\nfloat sinrot = sin(u_rot);\nfloat cosrot = cos(u_rot);\nfloat rot_x = x * cosrot - y * sinrot;\nfloat rot_y = x * sinrot + y * cosrot;\nfloat sintheta = sin(u_theta);\nfloat costheta = cos(u_theta);\nfloat a = u_f * costheta - rot_y * sintheta;\nfloat root = sqrt(rot_x * rot_x + a * a);\nfloat lambda = atan(rot_x / root, a / root) + u_psi;\nfloat phi = atan((rot_y * costheta + u_f * sintheta) / root);",s=r+"float cosphi = cos(phi);\ngl_FragColor = textureCube(u_imageCube, vec3(cosphi*sin(lambda), sin(phi), cosphi*cos(lambda)));\n}",h=r+"lambda = mod(lambda + PI, PI * 2.0) - PI;\nvec2 coord = vec2(lambda / PI, phi / (PI / 2.0));\nif(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)\ngl_FragColor = u_backgroundColor;\nelse {\nif(u_splitImage) {\nif(coord.x < 0.0)\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / u_h, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\nelse\ngl_FragColor = texture2D(u_image1, vec2((coord.x + u_h) / u_h - 1.0, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n} else {\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n}\n}\n}",l="varying mediump vec2 v_texCoord;uniform sampler2D u_sampler;void main(void) {gl_FragColor = texture2D(u_sampler, v_texCoord);}";return{renderer:function(t,o,e,i){return new n(t,o,e,i)}}}(window,document);window.pannellum=function(t,o,e){function n(n,i){function a(){var n=o.createElement("div");n.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e";if(1==n.getElementsByTagName("i").length)l();else{Dt=it.hfov;Ft=it.pitch;var i;if("cubemap"==it.type){zt=[];for(n=0;6>n;n++)zt.push(new Image),zt[n].crossOrigin=it.crossOrigin;Nt.load.lbox.style.display="block";Nt.load.lbar.style.display="none"}else if("multires"==it.type)n=JSON.parse(JSON.stringify(it.multiRes)),it.basePath&&it.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(it.multiRes.basePath)?n.basePath=it.basePath+it.multiRes.basePath:it.multiRes.basePath?n.basePath=it.multiRes.basePath:it.basePath&&(n.basePath=it.basePath),zt=n;else if(!0===it.dynamic)zt=it.panorama;else{if(it.panorama===e){l(it.strings.noPanoramaError);return}zt=new Image}if("cubemap"==it.type)for(var a=6,c=function(){a--;0===a&&s()},u=function(t){var e=o.createElement("a");e.href=t.target.src;e.textContent=e.href;l(it.strings.fileAccessError.replace("%s",e.outerHTML))},n=0;n<zt.length;n++)i=it.cubeMap[n],"null"==i?(console.log("Will use background instead of missing cubemap face "+n),c()):(it.basePath&&!r(i)&&(i=it.basePath+i),zt[n].onload=c,zt[n].onerror=u,zt[n].src=tt(i));else if("multires"==it.type)s();else if(i="",it.basePath&&(i=it.basePath),!0!==it.dynamic){i=r(it.panorama)?it.panorama:i+it.panorama;zt.onload=function(){t.URL.revokeObjectURL(this.src);s()};var m=new XMLHttpRequest;m.onloadend=function(){if(200!=m.status){var t=o.createElement("a");t.href=i;t.textContent=t.href;l(it.strings.fileAccessError.replace("%s",t.outerHTML))}h(this.response);Nt.load.msg.innerHTML=""};m.onprogress=function(t){if(t.lengthComputable){Nt.load.lbarFill.style.width=t.loaded/t.total*100+"%";var o,e;1e6<t.total?(o="MB",e=(t.loaded/1e6).toFixed(2),t=(t.total/1e6).toFixed(2)):1e3<t.total?(o="kB",e=(t.loaded/1e3).toFixed(1),t=(t.total/1e3).toFixed(1)):(o="B",e=t.loaded,t=t.total);Nt.load.msg.innerHTML=e+" / "+t+" "+o}else Nt.load.lbox.style.display="block",Nt.load.lbar.style.display="none"};try{m.open("GET",i,!0)}catch(t){l(it.strings.malformedURLError)}m.responseType="blob";m.setRequestHeader("Accept","image/*,*/*;q=0.9");m.withCredentials="use-credentials"===it.crossOrigin;m.send()}it.draggable&&Tt.classList.add("pnlm-grab");Tt.classList.remove("pnlm-grabbing");Pt=!0===it.dynamicUpdate;it.dynamic&&Pt&&(zt=it.panorama,s())}}function r(t){return/^(?:[a-z]+:)?\/\//i.test(t)||"/"==t[0]||"blob:"==t.slice(0,5)}function s(){at||(at=new libpannellum.renderer(Wt));gt||(gt=!0,Rt.addEventListener("mousedown",m,!1),o.addEventListener("mousemove",d,!1),o.addEventListener("mouseup",b,!1),it.mouseZoom&&(Tt.addEventListener("mousewheel",_,!1),Tt.addEventListener("DOMMouseScroll",_,!1)),it.doubleClickZoom&&Rt.addEventListener("dblclick",f,!1),n.addEventListener("mozfullscreenchange",j,!1),n.addEventListener("webkitfullscreenchange",j,!1),n.addEventListener("msfullscreenchange",j,!1),n.addEventListener("fullscreenchange",j,!1),t.addEventListener("resize",E,!1),t.addEventListener("orientationchange",E,!1),it.disableKeyboardCtrl||(n.addEventListener("keydown",y,!1),n.addEventListener("keyup",C,!1),n.addEventListener("blur",k,!1)),o.addEventListener("mouseleave",b,!1),""===o.documentElement.style.pointerAction&&""===o.documentElement.style.touchAction?(Rt.addEventListener("pointerdown",w,!1),Rt.addEventListener("pointermove",M,!1),Rt.addEventListener("pointerup",x,!1),Rt.addEventListener("pointerleave",x,!1)):(Rt.addEventListener("touchstart",v,!1),Rt.addEventListener("touchmove",g,!1),Rt.addEventListener("touchend",z,!1)),t.navigator.pointerEnabled&&(n.style.touchAction="none"));T();Y(it.hfov);setTimeout((function(){}),500)}function h(o){var n=new FileReader;n.addEventListener("loadend",(function(){var i=n.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)){var a=i.indexOf("ÿÂ");(0>a||65536<a)&&l(it.strings.iOS8WebGLError)}a=i.indexOf("<x:xmpmeta");if(-1<a&&!0!==it.ignoreGPanoXMP){var r=i.substring(a,i.indexOf("</x:xmpmeta>")+12),s=function(t){var o;0<=r.indexOf(t+'="')?(o=r.substring(r.indexOf(t+'="')+t.length+2),o=o.substring(0,o.indexOf('"'))):0<=r.indexOf(t+">")&&(o=r.substring(r.indexOf(t+">")+t.length+1),o=o.substring(0,o.indexOf("<")));return o!==e?Number(o):null},i=s("GPano:FullPanoWidthPixels"),a=s("GPano:CroppedAreaImageWidthPixels"),h=s("GPano:FullPanoHeightPixels"),c=s("GPano:CroppedAreaImageHeightPixels"),u=s("GPano:CroppedAreaTopPixels"),m=s("GPano:PoseHeadingDegrees"),f=s("GPano:PosePitchDegrees"),s=s("GPano:PoseRollDegrees");null!==i&&null!==a&&null!==h&&null!==c&&null!==u&&(0>Ot.indexOf("haov")&&(it.haov=a/i*360),0>Ot.indexOf("vaov")&&(it.vaov=c/h*180),0>Ot.indexOf("vOffset")&&(it.vOffset=-180*((u+c/2)/h-.5)),null!==m&&0>Ot.indexOf("northOffset")&&(it.northOffset=m,!1!==it.compass&&(it.compass=!0)),null!==f&&null!==s&&(0>Ot.indexOf("horizonPitch")&&(it.horizonPitch=f),0>Ot.indexOf("horizonRoll")&&(it.horizonRoll=s)))}zt.src=t.URL.createObjectURL(o)}));n.readAsBinaryString!==e?n.readAsBinaryString(o):n.readAsText(o)}function l(t){t===e&&(t=it.strings.genericWebGLError);Nt.errorMsg.innerHTML="<p>"+t+"</p>";Bt.load.style.display="none";Nt.load.box.style.display="none";Nt.errorMsg.style.display="table";vt=!0;bt=e;Wt.style.display="none";et("error",t)}function c(t){var o=u(t);Gt.style.left=o.x+"px";Gt.style.top=o.y+"px";clearTimeout(c.t1);clearTimeout(c.t2);Gt.style.display="block";Gt.style.opacity=1;c.t1=setTimeout((function(){Gt.style.opacity=0}),2e3);c.t2=setTimeout((function(){Gt.style.display="none"}),2500);t.preventDefault()}function u(t){var o=n.getBoundingClientRect(),e={};e.x=(t.clientX||t.pageX)-o.left;e.y=(t.clientY||t.pageY)-o.top;return e}function m(t){t.preventDefault();n.focus();if(bt&&it.draggable){var o=u(t);if(it.hotSpotDebug){var e=p(t);console.log("Pitch: "+e[0]+", Yaw: "+e[1]+", Center Pitch: "+it.pitch+", Center Yaw: "+it.yaw+", HFOV: "+it.hfov)}X();K();it.roll=0;Mt.hfov=0;st=!0;ht=Date.now();lt=o.x;ct=o.y;mt=it.yaw;ft=it.pitch;Tt.classList.add("pnlm-grabbing");Tt.classList.remove("pnlm-grab");et("mousedown",t);O()}}function f(t){it.minHfov===it.hfov?nt.setHfov(Dt,1e3):(t=p(t),nt.lookAt(t[0],t[1],it.minHfov,1e3))}function p(t){var o=u(t);t=at.getCanvas();var e=t.clientWidth,n=t.clientHeight;t=o.x/e*2-1;var n=(1-o.y/n*2)*n/e,i=1/Math.tan(it.hfov*Math.PI/360),a=Math.sin(it.pitch*Math.PI/180),r=Math.cos(it.pitch*Math.PI/180),o=i*r-n*a,e=Math.sqrt(t*t+o*o),n=180*Math.atan((n*r+i*a)/e)/Math.PI;t=180*Math.atan2(t/e,o/e)/Math.PI+it.yaw;-180>t&&(t+=360);180<t&&(t-=360);return[n,t]}function d(t){if(st&&bt){ht=Date.now();var o=at.getCanvas(),e=o.clientWidth,o=o.clientHeight;t=u(t);var n=180*(Math.atan(lt/e*2-1)-Math.atan(t.x/e*2-1))/Math.PI*it.hfov/90+mt;Mt.yaw=(n-it.yaw)%360*.2;it.yaw=n;e=360*Math.atan(Math.tan(it.hfov/360*Math.PI)*o/e)/Math.PI;e=180*(Math.atan(t.y/o*2-1)-Math.atan(ct/o*2-1))/Math.PI*e/90+ft;Mt.pitch=.2*(e-it.pitch);it.pitch=e}}function b(t){st&&(st=!1,15<Date.now()-ht&&(Mt.pitch=Mt.yaw=0),Tt.classList.add("pnlm-grab"),Tt.classList.remove("pnlm-grabbing"),ht=Date.now(),et("mouseup",t))}function v(t){if(bt&&it.draggable){X();K();it.roll=0;Mt.hfov=0;var o=u(t.targetTouches[0]);lt=o.x;ct=o.y;if(2==t.targetTouches.length){var e=u(t.targetTouches[1]);lt+=.5*(e.x-o.x);ct+=.5*(e.y-o.y);ut=Math.sqrt((o.x-e.x)*(o.x-e.x)+(o.y-e.y)*(o.y-e.y))}st=!0;ht=Date.now();mt=it.yaw;ft=it.pitch;et("touchstart",t);O()}}function g(t){if(it.draggable&&(t.preventDefault(),bt&&(ht=Date.now()),st&&bt)){var o=u(t.targetTouches[0]),e=o.x,n=o.y;2==t.targetTouches.length&&-1!=ut&&(t=u(t.targetTouches[1]),e+=.5*(t.x-o.x),n+=.5*(t.y-o.y),o=Math.sqrt((o.x-t.x)*(o.x-t.x)+(o.y-t.y)*(o.y-t.y)),Y(it.hfov+.1*(ut-o)),ut=o);o=it.hfov/360*it.touchPanSpeedCoeffFactor;e=(lt-e)*o+mt;Mt.yaw=(e-it.yaw)%360*.2;it.yaw=e;n=(n-ct)*o+ft;Mt.pitch=.2*(n-it.pitch);it.pitch=n}}function z(){st=!1;150<Date.now()-ht&&(Mt.pitch=Mt.yaw=0);ut=-1;ht=Date.now();et("touchend",event)}function w(t){"touch"==t.pointerType&&bt&&it.draggable&&(jt.push(t.pointerId),Ht.push({clientX:t.clientX,clientY:t.clientY}),t.targetTouches=Ht,v(t),t.preventDefault())}function M(t){if("touch"==t.pointerType&&it.draggable)for(var o=0;o<jt.length;o++)if(t.pointerId==jt[o]){Ht[o].clientX=t.clientX;Ht[o].clientY=t.clientY;t.targetTouches=Ht;g(t);t.preventDefault();break}}function x(t){if("touch"==t.pointerType){for(var o=!1,n=0;n<jt.length;n++)t.pointerId==jt[n]&&(jt[n]=e),jt[n]&&(o=!0);o||(jt=[],Ht=[],z());t.preventDefault()}}function _(t){bt&&("fullscreenonly"!=it.mouseZoom||dt)&&(t.preventDefault(),X(),ht=Date.now(),t.wheelDeltaY?(Y(it.hfov-.05*t.wheelDeltaY),Mt.hfov=0>t.wheelDelta?1:-1):t.wheelDelta?(Y(it.hfov-.05*t.wheelDelta),Mt.hfov=0>t.wheelDelta?1:-1):t.detail&&(Y(it.hfov+1.5*t.detail),Mt.hfov=0<t.detail?1:-1),O())}function y(t){X();ht=Date.now();K();it.roll=0;var o=t.which||t.keycode;0>it.capturedKeyNumbers.indexOf(o)||(t.preventDefault(),27==o?dt&&Z():D(o,!0))}function k(){for(var t=0;10>t;t++)pt[t]=!1}function C(t){var o=t.which||t.keycode;0>it.capturedKeyNumbers.indexOf(o)||(t.preventDefault(),D(o,!1))}function D(t,o){var e=!1;switch(t){case 109:case 189:case 17:case 173:pt[0]!=o&&(e=!0);pt[0]=o;break;case 107:case 187:case 16:case 61:pt[1]!=o&&(e=!0);pt[1]=o;break;case 38:pt[2]!=o&&(e=!0);pt[2]=o;break;case 87:pt[6]!=o&&(e=!0);pt[6]=o;break;case 40:pt[3]!=o&&(e=!0);pt[3]=o;break;case 83:pt[7]!=o&&(e=!0);pt[7]=o;break;case 37:pt[4]!=o&&(e=!0);pt[4]=o;break;case 65:pt[8]!=o&&(e=!0);pt[8]=o;break;case 39:pt[5]!=o&&(e=!0);pt[5]=o;break;case 68:pt[9]!=o&&(e=!0),pt[9]=o}e&&o&&(wt="undefined"!==typeof performance&&performance.now()?performance.now():Date.now(),O())}function F(){if(bt){var t=!1,o=it.pitch,n=it.yaw,i=it.hfov,a;a="undefined"!==typeof performance&&performance.now()?performance.now():Date.now();wt===e&&(wt=a);var r=(a-wt)*it.hfov/1700,r=Math.min(r,1);pt[0]&&!0===it.keyboardZoom&&(Y(it.hfov+(.8*Mt.hfov+.5)*r),t=!0);pt[1]&&!0===it.keyboardZoom&&(Y(it.hfov+(.8*Mt.hfov-.2)*r),t=!0);if(pt[2]||pt[6])it.pitch+=(.8*Mt.pitch+.2)*r,t=!0;if(pt[3]||pt[7])it.pitch+=(.8*Mt.pitch-.2)*r,t=!0;if(pt[4]||pt[8])it.yaw+=(.8*Mt.yaw-.2)*r,t=!0;if(pt[5]||pt[9])it.yaw+=(.8*Mt.yaw+.2)*r,t=!0;t&&(ht=Date.now());if(it.autoRotate){if(.001<a-wt){var t=(a-wt)/1e3,s=(Mt.yaw/t*r-.2*it.autoRotate)*t,s=(0<-it.autoRotate?1:-1)*Math.min(Math.abs(it.autoRotate*t),Math.abs(s));it.yaw+=s}it.autoRotateStopDelay&&(it.autoRotateStopDelay-=a-wt,0>=it.autoRotateStopDelay&&(it.autoRotateStopDelay=!1,Ct=it.autoRotate,it.autoRotate=0))}At.pitch&&(A("pitch"),o=it.pitch);At.yaw&&(A("yaw"),n=it.yaw);At.hfov&&(A("hfov"),i=it.hfov);0<r&&!it.autoRotate&&(t=1-it.friction,pt[4]||pt[5]||pt[8]||pt[9]||At.yaw||(it.yaw+=Mt.yaw*r*t),pt[2]||pt[3]||pt[6]||pt[7]||At.pitch||(it.pitch+=Mt.pitch*r*t),pt[0]||pt[1]||At.hfov||Y(it.hfov+Mt.hfov*r*t));wt=a;0<r&&(Mt.yaw=.8*Mt.yaw+(it.yaw-n)/r*.2,Mt.pitch=.8*Mt.pitch+(it.pitch-o)/r*.2,Mt.hfov=.8*Mt.hfov+(it.hfov-i)/r*.2,o=it.autoRotate?Math.abs(it.autoRotate):5,Mt.yaw=Math.min(o,Math.max(Mt.yaw,-o)),Mt.pitch=Math.min(o,Math.max(Mt.pitch,-o)),Mt.hfov=Math.min(o,Math.max(Mt.hfov,-o)));pt[0]&&pt[1]&&(Mt.hfov=0);(pt[2]||pt[6])&&(pt[3]||pt[7])&&(Mt.pitch=0);(pt[4]||pt[8])&&(pt[5]||pt[9])&&(Mt.yaw=0)}}function A(t){var o=At[t],e=Math.min(1,Math.max((Date.now()-o.startTime)/1e3/(o.duration/1e3),0)),e=o.startPosition+it.animationTimingFunction(e)*(o.endPosition-o.startPosition);if(o.endPosition>o.startPosition&&e>=o.endPosition||o.endPosition<o.startPosition&&e<=o.endPosition||o.endPosition===o.startPosition)e=o.endPosition,Mt[t]=0,delete At[t];it[t]=e}function E(){j("resize")}function O(){xt||(xt=!0,P())}function P(){if(!Lt)if(I(),kt&&clearTimeout(kt),st||!0===_t)requestAnimationFrame(P);else if(pt[0]||pt[1]||pt[2]||pt[3]||pt[4]||pt[5]||pt[6]||pt[7]||pt[8]||pt[9]||it.autoRotate||At.pitch||At.yaw||At.hfov||.01<Math.abs(Mt.yaw)||.01<Math.abs(Mt.pitch)||.01<Math.abs(Mt.hfov))F(),0<=it.autoRotateInactivityDelay&&Ct&&Date.now()-ht>it.autoRotateInactivityDelay&&!it.autoRotate&&(it.autoRotate=Ct,nt.lookAt(Ft,e,Dt,3e3)),requestAnimationFrame(P);else if(at&&(at.isLoading()||!0===it.dynamic&&Pt))requestAnimationFrame(P);else{et("animatefinished",{pitch:nt.getPitch(),yaw:nt.getYaw(),hfov:nt.getHfov()});xt=!1;wt=e;var t=it.autoRotateInactivityDelay-(Date.now()-ht);0<t?kt=setTimeout((function(){it.autoRotate=Ct;nt.lookAt(Ft,e,Dt,3e3);O()}),t):0<=it.autoRotateInactivityDelay&&Ct&&(it.autoRotate=Ct,nt.lookAt(Ft,e,Dt,3e3),O())}}function I(){var t;if(bt){var o=at.getCanvas();!1!==it.autoRotate&&(360<it.yaw?it.yaw-=360:-360>it.yaw&&(it.yaw+=360));t=it.yaw;var n=0;if(it.avoidShowingBackground){var i=it.hfov/2,a=180*Math.atan2(Math.tan(i/180*Math.PI),o.width/o.height)/Math.PI;it.vaov>it.haov?Math.min(Math.cos((it.pitch-i)/180*Math.PI),Math.cos((it.pitch+i)/180*Math.PI)):n=i*(1-Math.min(Math.cos((it.pitch-a)/180*Math.PI),Math.cos((it.pitch+a)/180*Math.PI)))}var i=it.maxYaw-it.minYaw,a=-180,r=180;360>i&&(a=it.minYaw+it.hfov/2+n,r=it.maxYaw-it.hfov/2-n,i<it.hfov&&(a=r=(a+r)/2),it.yaw=Math.max(a,Math.min(r,it.yaw)));!1===it.autoRotate&&(360<it.yaw?it.yaw-=360:-360>it.yaw&&(it.yaw+=360));!1!==it.autoRotate&&t!=it.yaw&&wt!==e&&(it.autoRotate*=-1);t=2*Math.atan(Math.tan(it.hfov/180*Math.PI*.5)/(o.width/o.height))/Math.PI*180;o=it.minPitch+t/2;n=it.maxPitch-t/2;it.maxPitch-it.minPitch<t&&(o=n=(o+n)/2);isNaN(o)&&(o=-90);isNaN(n)&&(n=90);it.pitch=Math.max(o,Math.min(n,it.pitch));at.render(it.pitch*Math.PI/180,it.yaw*Math.PI/180,it.hfov*Math.PI/180,{roll:it.roll*Math.PI/180});it.hotSpots.forEach(q);it.compass&&(Zt.style.transform="rotate("+(-it.yaw-it.northOffset)+"deg)",Zt.style.webkitTransform="rotate("+(-it.yaw-it.northOffset)+"deg)")}}function L(t,o,e,n){this.w=t;this.x=o;this.y=e;this.z=n}function S(o){var e;e=o.alpha;var n=o.beta;o=o.gamma;n=[n?n*Math.PI/180/2:0,o?o*Math.PI/180/2:0,e?e*Math.PI/180/2:0];e=[Math.cos(n[0]),Math.cos(n[1]),Math.cos(n[2])];n=[Math.sin(n[0]),Math.sin(n[1]),Math.sin(n[2])];e=new L(e[0]*e[1]*e[2]-n[0]*n[1]*n[2],n[0]*e[1]*e[2]-e[0]*n[1]*n[2],e[0]*n[1]*e[2]+n[0]*e[1]*n[2],e[0]*e[1]*n[2]+n[0]*n[1]*e[2]);e=e.multiply(new L(Math.sqrt(.5),-Math.sqrt(.5),0,0));n=t.orientation?-t.orientation*Math.PI/180/2:0;e=e.multiply(new L(Math.cos(n),0,-Math.sin(n),0)).toEulerAngles();"number"==typeof _t&&10>_t?_t+=1:10===_t?(yt=e[2]/Math.PI*180+it.yaw,_t=!0,requestAnimationFrame(P)):(it.pitch=e[0]/Math.PI*180,it.roll=-e[1]/Math.PI*180,it.yaw=-e[2]/Math.PI*180+yt)}function T(){try{var t={};it.horizonPitch!==e&&(t.horizonPitch=it.horizonPitch*Math.PI/180);it.horizonRoll!==e&&(t.horizonRoll=it.horizonRoll*Math.PI/180);it.backgroundColor!==e&&(t.backgroundColor=it.backgroundColor);at.init(zt,it.type,it.dynamic,it.haov*Math.PI/180,it.vaov*Math.PI/180,it.vOffset*Math.PI/180,W,t);!0!==it.dynamic&&(zt=e)}catch(t){if("webgl error"==t.type||"no webgl"==t.type)l();else if("webgl size error"==t.type)l(it.strings.textureSizeError.replace("%s",t.width).replace("%s",t.maxWidth));else throw l(it.strings.unknownError),t}}function W(){if(it.sceneFadeDuration&&at.fadeImg!==e){at.fadeImg.style.opacity=0;var t=at.fadeImg;delete at.fadeImg;setTimeout((function(){Wt.removeChild(t);et("scenechangefadedone")}),it.sceneFadeDuration)}Zt.style.display=it.compass?"inline":"none";G();Nt.load.box.style.display="none";rt!==e&&(Wt.removeChild(rt),rt=e);bt=!0;et("load");O()}function R(t){t.pitch=Number(t.pitch)||0;t.yaw=Number(t.yaw)||0;var e=o.createElement("div");e.className="pnlm-hotspot-base";e.className=t.cssClass?e.className+(" "+t.cssClass):e.className+(" pnlm-hotspot pnlm-sprite pnlm-"+$(t.type));var n=o.createElement("span");t.text&&(n.innerHTML=$(t.text));var i;if(t.video){i=o.createElement("video");var a=t.video;it.basePath&&!r(a)&&(a=it.basePath+a);i.src=tt(a);i.controls=!0;i.style.width=t.width+"px";Wt.appendChild(e);n.appendChild(i)}else if(t.image){a=t.image;it.basePath&&!r(a)&&(a=it.basePath+a);i=o.createElement("a");i.href=tt(t.URL?t.URL:a,!0);i.target="_blank";n.appendChild(i);var s=o.createElement("img");s.src=tt(a);s.style.width=t.width+"px";s.style.paddingTop="5px";Wt.appendChild(e);i.appendChild(s);n.style.maxWidth="initial"}else if(t.URL){i=o.createElement("a");i.href=tt(t.URL,!0);if(t.attributes)for(a in t.attributes)i.setAttribute(a,t.attributes[a]);else i.target="_blank";Wt.appendChild(i);e.className+=" pnlm-pointer";n.className+=" pnlm-pointer";i.appendChild(e)}else t.sceneId&&(e.onclick=e.ontouchend=function(){e.clicked||(e.clicked=!0,V(t.sceneId,t.targetPitch,t.targetYaw,t.targetHfov));return!1},e.className+=" pnlm-pointer",n.className+=" pnlm-pointer"),Wt.appendChild(e);if(t.createTooltipFunc)t.createTooltipFunc(e,t.createTooltipArgs);else if(t.text||t.video||t.image)e.classList.add("pnlm-tooltip"),e.appendChild(n),n.style.width=n.scrollWidth-20+"px",n.style.marginLeft=-(n.scrollWidth-e.offsetWidth)/2+"px",n.style.marginTop=-n.scrollHeight-12+"px";t.clickHandlerFunc&&(e.addEventListener("click",(function(o){t.clickHandlerFunc(o,t.clickHandlerArgs)}),"false"),e.className+=" pnlm-pointer",n.className+=" pnlm-pointer");t.div=e}function G(){It||(it.hotSpots?(it.hotSpots=it.hotSpots.sort((function(t,o){return t.pitch<o.pitch})),it.hotSpots.forEach(R)):it.hotSpots=[],It=!0,it.hotSpots.forEach(q))}function N(){var t=it.hotSpots;It=!1;delete it.hotSpots;if(t)for(var o=0;o<t.length;o++){var e=t[o].div;if(e){for(;e.parentNode&&e.parentNode!=Wt;)e=e.parentNode;Wt.removeChild(e)}delete t[o].div}}function q(t){var o=Math.sin(t.pitch*Math.PI/180),e=Math.cos(t.pitch*Math.PI/180),n=Math.sin(it.pitch*Math.PI/180),i=Math.cos(it.pitch*Math.PI/180),a=Math.cos((-t.yaw+it.yaw)*Math.PI/180),r=o*n+e*a*i;if(90>=t.yaw&&-90<t.yaw&&0>=r||(90<t.yaw||-90>=t.yaw)&&0>=r)t.div.style.visibility="hidden";else{var s=Math.sin((-t.yaw+it.yaw)*Math.PI/180),h=Math.tan(it.hfov*Math.PI/360);t.div.style.visibility="visible";var l=at.getCanvas(),c=l.clientWidth,l=l.clientHeight,o=[-c/h*s*e/r/2,-c/h*(o*i-e*a*n)/r/2],e=Math.sin(it.roll*Math.PI/180),n=Math.cos(it.roll*Math.PI/180),o=[o[0]*n-o[1]*e,o[0]*e+o[1]*n];o[0]+=(c-t.div.offsetWidth)/2;o[1]+=(l-t.div.offsetHeight)/2;c="translate("+o[0]+"px, "+o[1]+"px) translateZ(9999px) rotate("+it.roll+"deg)";t.scale&&(c+=" scale("+Dt/it.hfov/r+")");t.div.style.webkitTransform=c;t.div.style.MozTransform=c;t.div.style.transform=c}}function B(t){it={};var o,e,n="haov vaov vOffset northOffset horizonPitch horizonRoll".split(" ");Ot=[];for(o in St)St.hasOwnProperty(o)&&(it[o]=St[o]);for(o in i.default)if(i.default.hasOwnProperty(o))if("strings"==o)for(e in i.default.strings)i.default.strings.hasOwnProperty(e)&&(it.strings[e]=$(i.default.strings[e]));else it[o]=i.default[o],0<=n.indexOf(o)&&Ot.push(o);if(null!==t&&""!==t&&i.scenes&&i.scenes[t]){var a=i.scenes[t];for(o in a)if(a.hasOwnProperty(o))if("strings"==o)for(e in a.strings)a.strings.hasOwnProperty(e)&&(it.strings[e]=$(a.strings[e]));else it[o]=a[o],0<=n.indexOf(o)&&Ot.push(o);it.scene=t}for(o in i)if(i.hasOwnProperty(o))if("strings"==o)for(e in i.strings)i.strings.hasOwnProperty(e)&&(it.strings[e]=$(i.strings[e]));else it[o]=i[o],0<=n.indexOf(o)&&Ot.push(o)}function U(t){if((t=t?t:!1)&&"preview"in it){var n=it.preview;it.basePath&&!r(n)&&(n=it.basePath+n);rt=o.createElement("div");rt.className="pnlm-preview-img";rt.style.backgroundImage="url('"+tt(n).replace(/"/g,"%22").replace(/'/g,"%27")+"')";Wt.appendChild(rt)}var n=it.title,i=it.author;t&&("previewTitle"in it&&(it.title=it.previewTitle),"previewAuthor"in it&&(it.author=it.previewAuthor));it.hasOwnProperty("title")||(Nt.title.innerHTML="");it.hasOwnProperty("author")||(Nt.author.innerHTML="");it.hasOwnProperty("title")||it.hasOwnProperty("author")||(Nt.container.style.display="none");Bt.load.innerHTML="<p>"+it.strings.loadButtonLabel+"</p>";Nt.load.boxp.innerHTML=it.strings.loadingLabel;for(var s in it)if(it.hasOwnProperty(s))switch(s){case"title":Nt.title.innerHTML=$(it[s]);Nt.container.style.display="inline";break;case"author":var h=$(it[s]);it.authorURL&&(h=o.createElement("a"),h.href=tt(it.authorURL,!0),h.target="_blank",h.innerHTML=$(it[s]),h=h.outerHTML);Nt.author.innerHTML=it.strings.bylineLabel.replace("%s",h);Nt.container.style.display="inline";break;case"fallback":h=o.createElement("a");h.href=tt(it[s],!0);h.target="_blank";h.textContent="Click here to view this panorama in an alternative viewer.";var l=o.createElement("p");l.textContent="Your browser does not support WebGL.";l.appendChild(o.createElement("br"));l.appendChild(h);Nt.errorMsg.innerHTML="";Nt.errorMsg.appendChild(l);break;case"hfov":Y(Number(it[s]));break;case"autoLoad":!0===it[s]&&at===e&&(Nt.load.box.style.display="inline",Bt.load.style.display="none",a());break;case"showZoomCtrl":Bt.zoom.style.display=it[s]&&!1!=it.showControls?"block":"none";break;case"showFullscreenCtrl":Bt.fullscreen.style.display=it[s]&&!1!=it.showControls&&("fullscreen"in o||"mozFullScreen"in o||"webkitIsFullScreen"in o||"msFullscreenElement"in o)?"block":"none";break;case"hotSpotDebug":qt.style.display=it[s]?"block":"none";break;case"showControls":it[s]||(Bt.orientation.style.display="none",Bt.zoom.style.display="none",Bt.fullscreen.style.display="none");break;case"orientationOnByDefault":it[s]&&Q()}t&&(n?it.title=n:delete it.title,i?it.author=i:delete it.author)}function Z(){if(bt&&!vt)if(dt)o.exitFullscreen?o.exitFullscreen():o.mozCancelFullScreen?o.mozCancelFullScreen():o.webkitCancelFullScreen?o.webkitCancelFullScreen():o.msExitFullscreen&&o.msExitFullscreen();else try{n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen?n.msRequestFullscreen():n.webkitRequestFullScreen()}catch(t){}}function j(t){o.fullscreenElement||o.fullscreen||o.mozFullScreen||o.webkitIsFullScreen||o.msFullscreenElement?(Bt.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),dt=!0):(Bt.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),dt=!1);"resize"!==t&&et("fullscreenchange",dt);at.resize();Y(it.hfov);O()}function H(t){var o=it.minHfov;"multires"==it.type&&at&&!it.multiResMinHfov&&(o=Math.min(o,at.getCanvas().width/(it.multiRes.cubeResolution/90*.9)));if(o>it.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),it.hfov;var e=it.hfov,e=t<o?o:t>it.maxHfov?it.maxHfov:t;it.avoidShowingBackground&&at&&(t=at.getCanvas(),e=Math.min(e,360*Math.atan(Math.tan((it.maxPitch-it.minPitch)/360*Math.PI)/t.height*t.width)/Math.PI));return e}function Y(t){it.hfov=H(t);et("zoomchange",it.hfov)}function X(){At={};Ct=it.autoRotate?it.autoRotate:Ct;it.autoRotate=!1}function J(){vt&&(Nt.load.box.style.display="none",Nt.errorMsg.style.display="none",vt=!1,Wt.style.display="block",et("errorcleared"));bt=!1;Bt.load.style.display="none";Nt.load.box.style.display="inline";a()}function V(t,o,n,a,r){bt||(r=!0);bt=!1;At={};var s,h;if(it.sceneFadeDuration&&!r&&(s=at.render(it.pitch*Math.PI/180,it.yaw*Math.PI/180,it.hfov*Math.PI/180,{returnImage:!0}),s!==e)){r=new Image;r.className="pnlm-fade-img";r.style.transition="opacity "+it.sceneFadeDuration/1e3+"s";r.style.width="100%";r.style.height="100%";r.onload=function(){V(t,o,n,a,!0)};r.src=s;Wt.appendChild(r);at.fadeImg=r;return}r="same"===o?it.pitch:o;s="same"===n?it.yaw:"sameAzimuth"===n?it.yaw+(it.northOffset||0)-(i.scenes[t].northOffset||0):n;h="same"===a?it.hfov:a;N();B(t);Mt.yaw=Mt.pitch=Mt.hfov=0;U();r!==e&&(it.pitch=r);s!==e&&(it.yaw=s);h!==e&&(it.hfov=h);et("scenechange",t);J()}function K(){t.removeEventListener("deviceorientation",S);Bt.orientation.classList.remove("pnlm-orientation-button-active");_t=!1}function Q(){"function"===typeof DeviceMotionEvent.requestPermission?DeviceOrientationEvent.requestPermission().then((function(o){"granted"==o&&(_t=1,t.addEventListener("deviceorientation",S),Bt.orientation.classList.add("pnlm-orientation-button-active"))})):(_t=1,t.addEventListener("deviceorientation",S),Bt.orientation.classList.add("pnlm-orientation-button-active"))}function $(t){return i.escapeHTML?String(t).split(/&/g).join("&").split('"').join(""").split("'").join("'").split("<").join("<").split(">").join(">").split("/").join("/").split("\n").join("<br>"):String(t).split("\n").join("<br>")}function tt(t,o){try{var e=decodeURIComponent(ot(t)).replace(/[^\w:]/g,"").toLowerCase()}catch(t){return"about:blank"}return 0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")?(console.log("Script URL removed."),"about:blank"):o&&0===e.indexOf("data:")?(console.log("Data URI removed from link."),"about:blank"):t}function ot(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(t,o){o=o.toLowerCase();return"colon"===o?":":"#"===o.charAt(0)?"x"===o.charAt(1)?String.fromCharCode(parseInt(o.substring(2),16)):String.fromCharCode(+o.substring(1)):""}))}function et(t){if(t in Et)for(var o=Et[t].length;0<o;o--)Et[t][Et[t].length-o].apply(null,[].slice.call(arguments,1))}var nt=this,it,at,rt,st=!1,ht=Date.now(),lt=0,ct=0,ut=-1,mt=0,ft=0,pt=Array(10),dt=!1,bt,vt=!1,gt=!1,zt,wt,Mt={yaw:0,pitch:0,hfov:0},xt=!1,_t=!1,yt=0,kt,Ct=0,Dt,Ft,At={},Et={},Ot=[],Pt=!1,It=!1,Lt=!1,St={hfov:100,minHfov:50,multiResMinHfov:!1,maxHfov:120,pitch:0,minPitch:e,maxPitch:e,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:!1,autoRotateInactivityDelay:-1,autoRotateStopDelay:e,type:"equirectangular",northOffset:0,showFullscreenCtrl:!0,dynamic:!1,dynamicUpdate:!1,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,showZoomCtrl:!0,autoLoad:!1,showControls:!0,orientationOnByDefault:!1,hotSpotDebug:!1,backgroundColor:[0,0,0],avoidShowingBackground:!1,animationTimingFunction:function(t){return.5>t?2*t*t:-1+(4-2*t)*t},draggable:!0,disableKeyboardCtrl:!1,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],friction:.15,strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};n="string"===typeof n?o.getElementById(n):n;n.classList.add("pnlm-container");n.tabIndex=0;var Tt=o.createElement("div");Tt.className="pnlm-ui";n.appendChild(Tt);var Wt=o.createElement("div");Wt.className="pnlm-render-container";n.appendChild(Wt);var Rt=o.createElement("div");Rt.className="pnlm-dragfix";Tt.appendChild(Rt);var Gt=o.createElement("span");Gt.className="pnlm-about-msg";Gt.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 2.5.6';Tt.appendChild(Gt);Rt.addEventListener("contextmenu",c);var Nt={},qt=o.createElement("div");qt.className="pnlm-sprite pnlm-hot-spot-debug-indicator";Tt.appendChild(qt);Nt.container=o.createElement("div");Nt.container.className="pnlm-panorama-info";Nt.title=o.createElement("div");Nt.title.className="pnlm-title-box";Nt.container.appendChild(Nt.title);Nt.author=o.createElement("div");Nt.author.className="pnlm-author-box";Nt.container.appendChild(Nt.author);Tt.appendChild(Nt.container);Nt.load={};Nt.load.box=o.createElement("div");Nt.load.box.className="pnlm-load-box";Nt.load.boxp=o.createElement("p");Nt.load.box.appendChild(Nt.load.boxp);Nt.load.lbox=o.createElement("div");Nt.load.lbox.className="pnlm-lbox";Nt.load.lbox.innerHTML='<div class="pnlm-loading"></div>';Nt.load.box.appendChild(Nt.load.lbox);Nt.load.lbar=o.createElement("div");Nt.load.lbar.className="pnlm-lbar";Nt.load.lbarFill=o.createElement("div");Nt.load.lbarFill.className="pnlm-lbar-fill";Nt.load.lbar.appendChild(Nt.load.lbarFill);Nt.load.box.appendChild(Nt.load.lbar);Nt.load.msg=o.createElement("p");Nt.load.msg.className="pnlm-lmsg";Nt.load.box.appendChild(Nt.load.msg);Tt.appendChild(Nt.load.box);Nt.errorMsg=o.createElement("div");Nt.errorMsg.className="pnlm-error-msg pnlm-info-box";Tt.appendChild(Nt.errorMsg);var Bt={};Bt.container=o.createElement("div");Bt.container.className="pnlm-controls-container";Tt.appendChild(Bt.container);Bt.load=o.createElement("div");Bt.load.className="pnlm-load-button";Bt.load.addEventListener("click",(function(){U();J()}));Tt.appendChild(Bt.load);Bt.zoom=o.createElement("div");Bt.zoom.className="pnlm-zoom-controls pnlm-controls";Bt.zoomIn=o.createElement("div");Bt.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control";Bt.zoomIn.addEventListener("click",(function(){bt&&(Y(it.hfov-5),O())}));Bt.zoom.appendChild(Bt.zoomIn);Bt.zoomOut=o.createElement("div");Bt.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control";Bt.zoomOut.addEventListener("click",(function(){bt&&(Y(it.hfov+5),O())}));Bt.zoom.appendChild(Bt.zoomOut);Bt.container.appendChild(Bt.zoom);Bt.fullscreen=o.createElement("div");Bt.fullscreen.addEventListener("click",Z);Bt.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control";(o.fullscreenEnabled||o.mozFullScreenEnabled||o.webkitFullscreenEnabled||o.msFullscreenEnabled)&&Bt.container.appendChild(Bt.fullscreen);Bt.orientation=o.createElement("div");Bt.orientation.addEventListener("click",(function(t){_t?K():Q()}));Bt.orientation.addEventListener("mousedown",(function(t){t.stopPropagation()}));Bt.orientation.addEventListener("touchstart",(function(t){t.stopPropagation()}));Bt.orientation.addEventListener("pointerdown",(function(t){t.stopPropagation()}));Bt.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var Ut=!1;t.DeviceOrientationEvent&&"https:"==location.protocol&&0<=navigator.userAgent.toLowerCase().indexOf("mobi")&&(Bt.container.appendChild(Bt.orientation),Ut=!0);var Zt=o.createElement("div");Zt.className="pnlm-compass pnlm-controls pnlm-control";Tt.appendChild(Zt);i.firstScene?B(i.firstScene):i.default&&i.default.firstScene?B(i.default.firstScene):B(null);U(!0);var jt=[],Ht=[];L.prototype.multiply=function(t){return new L(this.w*t.w-this.x*t.x-this.y*t.y-this.z*t.z,this.x*t.w+this.w*t.x+this.y*t.z-this.z*t.y,this.y*t.w+this.w*t.y+this.z*t.x-this.x*t.z,this.z*t.w+this.w*t.z+this.x*t.y-this.y*t.x)};L.prototype.toEulerAngles=function(){var t=Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),o=Math.asin(2*(this.w*this.y-this.z*this.x)),e=Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z));return[t,o,e]};this.isLoaded=function(){return Boolean(bt)};this.getPitch=function(){return it.pitch};this.setPitch=function(t,o,n,i){ht=Date.now();if(1e-6>=Math.abs(t-it.pitch))return"function"==typeof n&&n(i),this;(o=o==e?1e3:Number(o))?(At.pitch={startTime:Date.now(),startPosition:it.pitch,endPosition:t,duration:o},"function"==typeof n&&setTimeout((function(){n(i)}),o)):it.pitch=t;O();return this};this.getPitchBounds=function(){return[it.minPitch,it.maxPitch]};this.setPitchBounds=function(t){it.minPitch=Math.max(-90,Math.min(t[0],90));it.maxPitch=Math.max(-90,Math.min(t[1],90));return this};this.getYaw=function(){return(it.yaw+540)%360-180};this.setYaw=function(t,o,n,i){ht=Date.now();if(1e-6>=Math.abs(t-it.yaw))return"function"==typeof n&&n(i),this;o=o==e?1e3:Number(o);t=(t+180)%360-180;o?(180<it.yaw-t?t+=360:180<t-it.yaw&&(t-=360),At.yaw={startTime:Date.now(),startPosition:it.yaw,endPosition:t,duration:o},"function"==typeof n&&setTimeout((function(){n(i)}),o)):it.yaw=t;O();return this};this.getYawBounds=function(){return[it.minYaw,it.maxYaw]};this.setYawBounds=function(t){it.minYaw=Math.max(-360,Math.min(t[0],360));it.maxYaw=Math.max(-360,Math.min(t[1],360));return this};this.getHfov=function(){return it.hfov};this.setHfov=function(t,o,n,i){ht=Date.now();if(1e-6>=Math.abs(t-it.hfov))return"function"==typeof n&&n(i),this;(o=o==e?1e3:Number(o))?(At.hfov={startTime:Date.now(),startPosition:it.hfov,endPosition:H(t),duration:o},"function"==typeof n&&setTimeout((function(){n(i)}),o)):Y(t);O();return this};this.getHfovBounds=function(){return[it.minHfov,it.maxHfov]};this.setHfovBounds=function(t){it.minHfov=Math.max(0,t[0]);it.maxHfov=Math.max(0,t[1]);return this};this.lookAt=function(t,o,n,i,a,r){i=i==e?1e3:Number(i);t!==e&&1e-6<Math.abs(t-it.pitch)&&(this.setPitch(t,i,a,r),a=e);o!==e&&1e-6<Math.abs(o-it.yaw)&&(this.setYaw(o,i,a,r),a=e);n!==e&&1e-6<Math.abs(n-it.hfov)&&(this.setHfov(n,i,a,r),a=e);"function"==typeof a&&a(r);return this};this.getNorthOffset=function(){return it.northOffset};this.setNorthOffset=function(t){it.northOffset=Math.min(360,Math.max(0,t));O();return this};this.getHorizonRoll=function(){return it.horizonRoll};this.setHorizonRoll=function(t){it.horizonRoll=Math.min(90,Math.max(-90,t));at.setPose(it.horizonPitch*Math.PI/180,it.horizonRoll*Math.PI/180);O();return this};this.getHorizonPitch=function(){return it.horizonPitch};this.setHorizonPitch=function(t){it.horizonPitch=Math.min(90,Math.max(-90,t));at.setPose(it.horizonPitch*Math.PI/180,it.horizonRoll*Math.PI/180);O();return this};this.startAutoRotate=function(t,o){t=t||Ct||1;o=o===e?Ft:o;it.autoRotate=t;nt.lookAt(o,e,Dt,3e3);O();return this};this.stopAutoRotate=function(){Ct=it.autoRotate?it.autoRotate:Ct;it.autoRotate=!1;it.autoRotateInactivityDelay=-1;return this};this.stopMovement=function(){X();Mt={yaw:0,pitch:0,hfov:0}};this.getRenderer=function(){return at};this.setUpdate=function(t){Pt=!0===t;at===e?s():O();return this};this.mouseEventToCoords=function(t){return p(t)};this.loadScene=function(t,o,e,n){!1!==bt&&V(t,o,e,n);return this};this.getScene=function(){return it.scene};this.addScene=function(t,o){i.scenes[t]=o;return this};this.removeScene=function(t){if(it.scene===t||!i.scenes.hasOwnProperty(t))return!1;delete i.scenes[t];return!0};this.toggleFullscreen=function(){Z();return this};this.getConfig=function(){return it};this.getContainer=function(){return n};this.addHotSpot=function(t,o){if(o===e&&it.scene===e)it.hotSpots.push(t);else{var n=o!==e?o:it.scene;if(i.scenes.hasOwnProperty(n))i.scenes[n].hasOwnProperty("hotSpots")||(i.scenes[n].hotSpots=[],n==it.scene&&(it.hotSpots=i.scenes[n].hotSpots)),i.scenes[n].hotSpots.push(t);else throw"Invalid scene ID!"}if(o===e||it.scene==o)R(t),bt&&q(t);return this};this.removeHotSpot=function(t,o){if(o===e||it.scene==o){if(!it.hotSpots)return!1;for(var n=0;n<it.hotSpots.length;n++)if(it.hotSpots[n].hasOwnProperty("id")&&it.hotSpots[n].id===t){for(var a=it.hotSpots[n].div;a.parentNode!=Wt;)a=a.parentNode;Wt.removeChild(a);delete it.hotSpots[n].div;it.hotSpots.splice(n,1);return!0}}else if(i.scenes.hasOwnProperty(o)){if(!i.scenes[o].hasOwnProperty("hotSpots"))return!1;for(n=0;n<i.scenes[o].hotSpots.length;n++)if(i.scenes[o].hotSpots[n].hasOwnProperty("id")&&i.scenes[o].hotSpots[n].id===t)return i.scenes[o].hotSpots.splice(n,1),!0}else return!1};this.resize=function(){at&&E()};this.isLoaded=function(){return bt};this.isOrientationSupported=function(){return Ut||!1};this.stopOrientation=function(){K()};this.startOrientation=function(){Ut&&Q()};this.isOrientationActive=function(){return Boolean(_t)};this.on=function(t,o){Et[t]=Et[t]||[];Et[t].push(o);return this};this.off=function(t,o){if(!t)return Et={},this;if(o){var e=Et[t].indexOf(o);0<=e&&Et[t].splice(e,1);0==Et[t].length&&delete Et[t]}else delete Et[t];return this};this.destroy=function(){Lt=!0;clearTimeout(kt);at&&at.destroy();gt&&(o.removeEventListener("mousemove",d,!1),o.removeEventListener("mouseup",b,!1),n.removeEventListener("mozfullscreenchange",j,!1),n.removeEventListener("webkitfullscreenchange",j,!1),n.removeEventListener("msfullscreenchange",j,!1),n.removeEventListener("fullscreenchange",j,!1),t.removeEventListener("resize",E,!1),t.removeEventListener("orientationchange",E,!1),n.removeEventListener("keydown",y,!1),n.removeEventListener("keyup",C,!1),n.removeEventListener("blur",k,!1),o.removeEventListener("mouseleave",b,!1));n.innerHTML="";n.classList.remove("pnlm-container")}}return{viewer:function(t,o){return new n(t,o)}}}(window,document);const a=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica, "Nimbus Sans L", "Liberation Sans", Arial, sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2267%22%20height%3D%22100%22%20viewBox%3D%220%200%2067%20100%22%3E%0A%3Cpath%20stroke%3D%22%23ccc%22%20fill%3D%22none%22%20d%3D%22M33.5%2C50%2C0%2C63%2C33.5%2C75%2C67%2C63%2C33.5%2C50m-33.5-50%2C67%2C25m-0.5%2C0%2C0%2C75m-66.5-75%2C67-25m-33.5%2C75%2C0%2C25m0-100%2C0%2C50%22%2F%3E%0A%3C%2Fsvg%3E%0A") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content}.pnlm-container *{-webkit-box-sizing:content-box;box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:-webkit-grab;cursor:grab;cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A") 12 8, default}.pnlm-grabbing{cursor:-webkit-grabbing;cursor:grabbing;cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A") 12 8, default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%22208%22%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22117%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22143%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20cy%3D%22169%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cy%3D%22195%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cx%3D%2213%22%20cy%3D%22195%22%20r%3D%222.5%22%2F%3E%0A%3Cpath%20d%3D%22m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z%22%2F%3E%0A%3Cpath%20d%3D%22m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m17%2038v2h-8v-2z%22%2F%3E%0A%3Cpath%20d%3D%22m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z%22%2F%3E%0A%3Cpath%20d%3D%22m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z%22%2F%3E%0A%3C%2Fsvg%3E%0A")}.pnlm-container:-webkit-full-screen{height:100% !important;width:100% !important;position:static !important}.pnlm-container:-ms-fullscreen{height:100% !important;width:100% !important;position:static !important}.pnlm-container:fullscreen{height:100% !important;width:100% !important;position:static !important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:0.25rem;background-color:#fff;border:0.0625rem solid #999;border-color:rgba(0, 0, 0, 0.4);border-radius:0.1875rem;cursor:pointer;z-index:2;-webkit-transform:translateZ(624.9375rem);transform:translateZ(624.9375rem)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:0.25rem;z-index:1}.pnlm-zoom-controls{width:1.625rem;height:3.25rem}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:0.1875rem 0.1875rem 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -1.625rem;border-top:0.0625rem solid #ddd;border-top-color:rgba(0, 0, 0, 0.1);border-radius:0 0 0.1875rem 0.1875rem}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:1.625rem;height:1.625rem}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:1.625rem;height:1.625rem;margin:-0.8125rem 0 0 -0.8125rem;background-color:rgba(255, 255, 255, 0.5);border-radius:0.8125rem;display:none}.pnlm-orientation-button-inactive{background-position:0 -9.75rem}.pnlm-orientation-button-active{background-position:0 -11.375rem}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -3.25rem}.pnlm-fullscreen-toggle-button-active{background-position:0 -4.875rem}.pnlm-panorama-info{position:absolute;bottom:0.25rem;background-color:rgba(0, 0, 0, 0.7);border-radius:0 0.1875rem 0.1875rem 0;padding-right:0.625rem;color:#fff;text-align:left;display:none;z-index:2;-webkit-transform:translateZ(624.9375rem);transform:translateZ(624.9375rem)}.pnlm-title-box{position:relative;font-size:1.25rem;display:table;padding-left:0.3125rem;margin-bottom:0.1875rem}.pnlm-author-box{position:relative;font-size:0.75rem;display:table;padding-left:0.3125rem}.pnlm-load-box{position:absolute;top:50%;left:50%;width:12.5rem;height:9.375rem;margin:-4.6875rem 0 0 -6.25rem;background-color:rgba(0, 0, 0, 0.7);border-radius:0.1875rem;text-align:center;font-size:1.25rem;display:none;color:#fff}.pnlm-load-box p{margin:1.25rem 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:1.25rem;height:1.25rem;margin:-0.625rem 0 0 -0.625rem;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:0.625rem;width:0.625rem;background-color:#fff;position:relative}@-webkit-keyframes pnlm-mv{from{left:0;top:0}25%{left:0.625rem;top:0}50%{left:0.625rem;top:0.625rem}75%{left:0;top:0.625rem}to{left:0;top:0}}@keyframes pnlm-mv{from{left:0;top:0}25%{left:0.625rem;top:0}50%{left:0.625rem;top:0.625rem}75%{left:0;top:0.625rem}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:12.5rem;height:6.25rem;margin:-3.125rem 0 0 -6.25rem;background-color:rgba(0, 0, 0, 0.7);border-radius:0.1875rem;text-align:center;font-size:1.25rem;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:rgba(0, 0, 0, 0.8)}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:0.9375rem;position:absolute;top:50%;left:50%;width:12.5rem;height:9.375rem;margin:-4.6875rem 0 0 -6.25rem;background-color:#000;border-radius:0.1875rem;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a,.pnlm-author-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 0.3125rem 0 0.3125rem}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:0.6875rem;line-height:0.6875rem;color:#fff;padding:0.3125rem 0.5rem 0.3125rem 0.5rem;background:rgba(0, 0, 0, 0.7);border-radius:0.1875rem;position:absolute;top:3.125rem;left:3.125rem;display:none;opacity:0;-webkit-transition:opacity 0.3s ease-in-out;transition:opacity 0.3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:1.625rem;width:1.625rem;border-radius:0.8125rem}.pnlm-hotspot:hover{background-color:rgba(255, 255, 255, 0.2)}.pnlm-hotspot.pnlm-info{background-position:0 -6.5rem}.pnlm-hotspot.pnlm-scene{background-position:0 -8.125rem}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:0.1875rem;background-color:rgba(0, 0, 0, 0.7);color:#fff;text-align:center;max-width:12.5rem;padding:0.3125rem 0.625rem;margin-left:-13.75rem;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:0.625rem;border-style:solid;border-color:rgba(0, 0, 0, 0.7) transparent transparent transparent;bottom:-1.25rem;left:-0.625rem;margin:0 50%}.pnlm-compass{position:absolute;width:3.125rem;height:3.125rem;right:0.25rem;bottom:0.25rem;border-radius:1.5625rem;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2250%22%20width%3D%2250%22%3E%0A%3Cpath%20d%3D%22m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z%22%2F%3E%0A%3C%2Fsvg%3E%0A");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;-webkit-transform-origin:0 0;transform-origin:0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:9.375rem;margin:0 auto;border:#fff 0.0625rem solid;height:0.375rem}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:0.75rem}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}stzh-panorama{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:var(--stzh-font-style-regular);color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;}stzh-panorama[hidden]{display:none}stzh-panorama *,stzh-panorama *::before,stzh-panorama *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}stzh-panorama .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.3125rem}stzh-panorama .stzh-fylingfocus-focused{outline-style:none !important}stzh-panorama .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-panorama{}.stzh-panorama__hotspot{width:2.5rem;height:2.5rem}.stzh-panorama stzh-button.stzh-panorama__hotspot-button,.stzh-panorama stzh-button.stzh-panorama__control{--box-shadow:var(--stzh-box-shadow-popover);--border-width:0px}.stzh-panorama stzh-button.stzh-panorama__hotspot-button.is-info{--cursor:default}.stzh-panorama__hotspot-tooltip{white-space:nowrap}.stzh-panorama__controls{bottom:var(--stzh-space-small);right:var(--stzh-space-small);z-index:2;pointer-events:none;position:absolute;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-panorama__controls{bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-panorama__controls{bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-panorama__controls{right:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-panorama__controls{right:var(--stzh-space-large)}}@media print{.stzh-panorama__controls{display:none}}.stzh-panorama__control{pointer-events:all}.stzh-panorama__zoom-control{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border-radius:var(--stzh-button-border-radius);background-color:var(--stzh-color-grey13);visibility:hidden}.stzh-panorama__zoom-control stzh-button.stzh-panorama__control{--box-shadow:none}.stzh-panorama__zoom-control stzh-button.stzh-panorama__control.is-zoom-in{--border-radius:var(--stzh-button-border-radius) var(--stzh-button-border-radius) 0 0;margin-bottom:0.0625rem}.stzh-panorama__zoom-control stzh-button.stzh-panorama__control.is-zoom-out{--border-radius:0 0 var(--stzh-button-border-radius) var(--stzh-button-border-radius)}.stzh-panorama__outside-controls{margin-top:var(--stzh-space-xxlarge);display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-moz-column-gap:var(--stzh-space-small);-webkit-column-gap:var(--stzh-space-small);column-gap:var(--stzh-space-small);row-gap:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-panorama__outside-controls{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-panorama__outside-controls{margin-top:var(--stzh-space-xxxxlarge)}}@media print{.stzh-panorama__outside-controls{display:none}}.stzh-panorama__outside-scenes-control{--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:auto}.stzh-panorama--is-fullscreen .stzh-panorama__zoom-control{visibility:visible}';var r=undefined&&undefined.__rest||function(t,o){var e={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&o.indexOf(n)<0)e[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++){if(o.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i]))e[n[i]]=t[n[i]]}return e};const s="stzh-panorama__hotspot";const h="stzh-panorama__hotspot-tooltip";const l="stzh-panorama__hotspot-button";const c="is-scene";const u="is-info";const m="is-link";const f="arrow-up";const p="info-help";const d=class{constructor(e){t(this,e);this.stzhLoad=o(this,"stzhLoad",7);this.stzhChange=o(this,"stzhChange",7);this.stzhFullscreenChange=o(this,"stzhFullscreenChange",7);this.stzhSceneChange=o(this,"stzhSceneChange",7);this.stzhZoomChange=o(this,"stzhZoomChange",7);this.actionRunning={};this.controlAnimationTime=500;this.createTooltip=(t,o)=>{const e=document.createElement("stzh-button");e.classList.add(l);if(o.type==="scene"){e.classList.add(c)}else if(o.url){e.classList.add(m);e.setAttribute("href",o.url);e.setAttribute("target","_blank")}else{e.classList.add(u)}e.icon=o.type==="scene"?f:p;e.iconOnly=true;e.rounded=true;e.size="small";e.variant="secondary";if(o.text){const n=document.createElement("stzh-tooltip");n.label=this.localization.hotspotLabel;n.content=o.text;n.placement="top";n.className=h;n.appendChild(e);t.appendChild(n)}else{t.appendChild(e)}e.addEventListener("keydown",(t=>{t.stopPropagation()}))};this.handleSceneDropdownChange=async t=>{const o=t.target;const e=await o.getValue();this.scene=e};this.handleControlsKeydown=t=>{t.stopPropagation()};this.action=t=>{if(!["startOrientation","fullscreen"].includes(t)){this.stopOrientation()}if(t==="zoomIn"){this.executeAction("zoomIn",this.viewer.getHfov,this.viewer.setHfov,-10)}else if(t==="zoomOut"){this.executeAction("zoomOut",this.viewer.getHfov,this.viewer.setHfov,+10)}else if(t==="fullscreen"){this.viewer.toggleFullscreen()}else if(t==="startOrientation"){this.startOrientation()}else if(t==="panUp"){this.executeAction("panUp",this.viewer.getPitch,this.viewer.setPitch,+10)}else if(t==="panDown"){this.executeAction("panDown",this.viewer.getPitch,this.viewer.setPitch,-10)}else if(t==="panLeft"){this.executeAction("panLeft",this.viewer.getYaw,this.viewer.setYaw,-10)}else if(t==="panRight"){this.executeAction("panRight",this.viewer.getYaw,this.viewer.setYaw,+10)}};this.localization=undefined;this.caption="";this.copyright="";this.scene=undefined;this.sceneFadeDuration=500;this.autoload=true;this.orientationOnByDefault=false;this.scenes=undefined;this.isOrientationSupported=false;this.isOrientationActive=false;this.isFullscreen=false}async getViewer(){return this.viewer}scenesWatcher(t){if(typeof t==="string"){this._scenes=JSON.parse(t)}else if(t){this._scenes=t}else{throw new Error('"scenes" is empty')}const o={};this._scenes.forEach((t=>{const{sceneId:e,imageTitle:n,imageSrc:i,imageAuthor:a,imageType:h,hotspots:l}=t,c=r(t,["sceneId","imageTitle","imageSrc","imageAuthor","imageType","hotspots"]);o[e]=Object.assign(Object.assign({},c),{title:n,author:a,type:h,panorama:i,hotSpots:l.map((t=>Object.assign(Object.assign({},t),{URL:"",cssClass:s,createTooltipFunc:this.createTooltip,createTooltipArgs:Object.assign(Object.assign({},t),{url:t.url})})))})}));this._scenesLibrary=o}sceneWatcher(t){this.viewer.loadScene(t)}updateWatcher(){if(this.viewer){this.viewer.destroy();this.viewer=null}}stopOrientation(){if(this.viewer.isOrientationActive()){this.viewer.stopOrientation();var t=new window.Event("touchstart");this.element.querySelector(".pnlm-dragfix").dispatchEvent(t);this.updateOrientationState()}}startOrientation(){if(this.viewer.isOrientationSupported()){this.viewer.startOrientation();this.updateOrientationState()}}updateOrientationState(){this.isOrientationSupported=this.viewer.isOrientationSupported();this.isOrientationActive=this.isOrientationSupported&&this.viewer.isOrientationActive()}executeAction(t,o,e,n){this.actionRunning[t]=typeof this.actionRunning[t]!=="undefined"&&this.actionRunning[t]!==0?this.actionRunning[t]+n:o()+n;e(this.actionRunning[t],this.controlAnimationTime,(()=>{this.actionRunning={[t]:0}}))}initViewer(){this.viewer=window.pannellum.viewer(this.containerElement,{scenes:this._scenesLibrary,default:{firstScene:this.scene,showControls:false,sceneFadeDuration:this.sceneFadeDuration,autoLoad:this.autoload,compass:false,orientationOnByDefault:this.orientationOnByDefault,strings:{loadButtonLabel:this.localization.loadButtonLabel,loadingLabel:this.localization.loadingLabel,bylineLabel:this.localization.bylineLabel,noPanoramaError:this.localization.noPanoramaError,fileAccessError:this.localization.fileAccessError,malformedURLError:this.localization.malformedURLError,iOS8WebGLError:this.localization.iOS8WebGLError,genericWebGLError:this.localization.genericWebGLError,textureSizeError:this.localization.textureSizeError,unknownError:this.localization.unknownError}}});this.viewer.on("load",(()=>{if(this.viewer){this.updateOrientationState();this.scene=this.viewer.getScene();this.stzhLoad.emit({component:"stzh-panorama"})}}));this.viewer.on("touchstart",(()=>{this.updateOrientationState()}));this.viewer.on("fullscreenchange",(t=>{this.isFullscreen=t;this.stzhFullscreenChange.emit({component:"stzh-panorama",value:this.isFullscreen})}));this.viewer.on("scenechange",(t=>{this.containerElement.focus();this.stzhSceneChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("zoomchange",(t=>{this.stzhZoomChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("animatefinished",(t=>{this.stzhChange.emit({component:"stzh-panorama",value:t})}))}async componentWillLoad(){this.scenesWatcher(this.scenes);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"panorama")}}async componentDidRender(){if(this.viewer){return}this.initViewer()}disconnectedCallback(){if(this.viewer){this.viewer.destroy();this.viewer=null}}render(){const t={"stzh-panorama":true,"stzh-panorama--is-motion":this.isOrientationActive,"stzh-panorama--is-fullscreen":this.isFullscreen};const o=this._scenes.map((({sceneId:t,imageTitle:o})=>({value:t,text:o})));const i=this._scenes.find((({sceneId:t})=>t===this.scene));return e(n,null,e("div",{class:t},e("stzh-figure",{class:"stzh-panorama__figure",caption:i.caption||this.caption,copyright:i.copyright||this.copyright},e("stzh-ratio",null,e("div",{ref:t=>this.containerElement=t,class:"stzh-panorama__container",tabindex:"0"},e("div",{class:"stzh-panorama__controls",onKeyDown:this.handleControlsKeydown},e("div",{class:"stzh-panorama__zoom-control"},e("stzh-button",{class:"stzh-panorama__control is-zoom-in",variant:"secondary",a11yLabel:this.localization.zoomIn,icon:"plus",iconOnly:true,size:"small",onClick:()=>this.action("zoomIn")}),e("stzh-button",{class:"stzh-panorama__control is-zoom-out",variant:"secondary",a11yLabel:this.localization.zoomOut,icon:"minus",iconOnly:true,size:"small",onClick:()=>this.action("zoomOut")})),this.isOrientationSupported&&e("stzh-button",{class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isOrientationActive?this.localization.stopOrientation:this.localization.startOrientation,icon:this.isOrientationActive?"target-bullet":"target",iconOnly:true,size:"small",onClick:()=>this.action(this.isOrientationActive?"stopOrientation":"startOrientation")}),e("stzh-button",{class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isFullscreen?this.localization.disableFullscreenLabel:this.localization.enableFullscreenLabel,icon:this.isFullscreen?"close":"focus",iconOnly:true,size:"small",onClick:()=>this.action("fullscreen")}))))),e("div",{class:"stzh-panorama__outside-controls"},e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.zoomIn,variant:"secondary",icon:"plus",size:"small",onClick:()=>this.action("zoomIn")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.zoomOut,variant:"secondary",icon:"minus",size:"small",onClick:()=>this.action("zoomOut")}),this.isOrientationSupported&&e("stzh-button",{class:"stzh-panorama__outside-control",variant:"secondary",label:this.isOrientationActive?this.localization.stopOrientation:this.localization.startOrientation,icon:this.isOrientationActive?"target-bullet":"target",size:"small",onClick:()=>this.action(this.isOrientationActive?"stopOrientation":"startOrientation")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.isFullscreen?this.localization.disableFullscreenLabel:this.localization.enableFullscreenLabel,variant:"secondary",icon:"focus",size:"small",onClick:()=>this.action("fullscreen")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panUp,variant:"secondary",icon:"arrow-up",size:"small",onClick:()=>this.action("panUp")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panDown,variant:"secondary",icon:"arrow-down",size:"small",onClick:()=>this.action("panDown")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panLeft,variant:"secondary",icon:"arrow-left",size:"small",onClick:()=>this.action("panLeft")}),e("stzh-button",{class:"stzh-panorama__outside-control",label:this.localization.panRight,variant:"secondary",icon:"arrow-right",size:"small",onClick:()=>this.action("panRight")}),e("stzh-dropdown",{class:"stzh-panorama__outside-scenes-control",size:"small",label:this.localization.sceneLabel,labelHidden:true,noSearch:true,items:[this.scene],options:o,onStzhChange:this.handleSceneDropdownChange}))))}get element(){return i(this)}static get watchers(){return{scenes:["scenesWatcher","updateWatcher"],scene:["sceneWatcher"],autoload:["updateWatcher"],type:["updateWatcher"],localization:["updateWatcher"],orientationOnByDefault:["updateWatcher"],sceneFadeDuration:["updateWatcher"]}}};d.style=a;export{d as stzh_panorama};
|
|
2
|
+
//# sourceMappingURL=p-2abcca01.entry.js.map
|