@oiz/stzh-components 4.9.0-beta2 → 4.9.0-beta4
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/index-DYp2fkRS.js +3384 -0
- package/dist/cjs/index-DYp2fkRS.js.map +1 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
- package/dist/cjs/stzh-bathstatus-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cardlist_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chipselect.cjs.entry.js +2 -2
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +1 -1
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-daterange.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-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input-description-BtOB5jhx.js +12 -0
- package/dist/cjs/stzh-input-description-BtOB5jhx.js.map +1 -0
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +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-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/assets/media/icons/mono/.npmignore +3 -0
- package/dist/collection/assets/media/icons/mono/alarm-bell.svg +1 -0
- package/dist/collection/assets/media/icons/mono/angle-down.svg +1 -0
- package/dist/collection/assets/media/icons/mono/angle-left.svg +1 -0
- package/dist/collection/assets/media/icons/mono/angle-right.svg +1 -0
- package/dist/collection/assets/media/icons/mono/angle-up.svg +1 -0
- package/dist/collection/assets/media/icons/mono/archive-box.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-down.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-left-circle.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-left.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-right-down.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-right.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-up-circle.svg +1 -0
- package/dist/collection/assets/media/icons/mono/arrow-up.svg +1 -0
- package/dist/collection/assets/media/icons/mono/bulleted-list.svg +1 -0
- package/dist/collection/assets/media/icons/mono/calculator.svg +1 -0
- package/dist/collection/assets/media/icons/mono/calendar.svg +1 -0
- package/dist/collection/assets/media/icons/mono/camera.svg +1 -0
- package/dist/collection/assets/media/icons/mono/cart.svg +1 -0
- package/dist/collection/assets/media/icons/mono/checkmark-circle-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/checkmark-circle.svg +1 -0
- package/dist/collection/assets/media/icons/mono/checkmark.svg +1 -0
- package/dist/collection/assets/media/icons/mono/child.svg +1 -0
- package/dist/collection/assets/media/icons/mono/click.svg +1 -0
- package/dist/collection/assets/media/icons/mono/clock.svg +1 -0
- package/dist/collection/assets/media/icons/mono/close-big.svg +1 -0
- package/dist/collection/assets/media/icons/mono/close-circle.svg +1 -0
- package/dist/collection/assets/media/icons/mono/close.svg +1 -0
- package/dist/collection/assets/media/icons/mono/code-window.svg +1 -0
- package/dist/collection/assets/media/icons/mono/compass-direction.svg +1 -0
- package/dist/collection/assets/media/icons/mono/compass-north.svg +1 -0
- package/dist/collection/assets/media/icons/mono/construction.svg +1 -0
- package/dist/collection/assets/media/icons/mono/copy.svg +1 -0
- package/dist/collection/assets/media/icons/mono/crop.svg +1 -0
- package/dist/collection/assets/media/icons/mono/dashboard.svg +1 -0
- package/dist/collection/assets/media/icons/mono/delete.svg +1 -0
- package/dist/collection/assets/media/icons/mono/download.svg +1 -0
- package/dist/collection/assets/media/icons/mono/drag.svg +1 -0
- package/dist/collection/assets/media/icons/mono/edit.svg +1 -0
- package/dist/collection/assets/media/icons/mono/enlarge-text.svg +1 -0
- package/dist/collection/assets/media/icons/mono/expand.svg +1 -0
- package/dist/collection/assets/media/icons/mono/external-link.svg +1 -0
- package/dist/collection/assets/media/icons/mono/facebook-comment.svg +1 -0
- package/dist/collection/assets/media/icons/mono/facebook.svg +1 -0
- package/dist/collection/assets/media/icons/mono/file-add.svg +1 -0
- package/dist/collection/assets/media/icons/mono/file.svg +1 -0
- package/dist/collection/assets/media/icons/mono/filtering.svg +1 -0
- package/dist/collection/assets/media/icons/mono/flag.svg +1 -0
- package/dist/collection/assets/media/icons/mono/forward.svg +1 -0
- package/dist/collection/assets/media/icons/mono/fountain.svg +1 -0
- package/dist/collection/assets/media/icons/mono/gear.svg +1 -0
- package/dist/collection/assets/media/icons/mono/heart.svg +1 -0
- package/dist/collection/assets/media/icons/mono/home.svg +1 -0
- package/dist/collection/assets/media/icons/mono/important-warning-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/important-warning.svg +1 -0
- package/dist/collection/assets/media/icons/mono/info-help-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/info-help.svg +1 -0
- package/dist/collection/assets/media/icons/mono/instagram-photo-gallery.svg +1 -0
- package/dist/collection/assets/media/icons/mono/instagram.svg +1 -0
- package/dist/collection/assets/media/icons/mono/jobs.svg +1 -0
- package/dist/collection/assets/media/icons/mono/like-hand.svg +1 -0
- package/dist/collection/assets/media/icons/mono/linkedin.svg +1 -0
- package/dist/collection/assets/media/icons/mono/list-expanded.svg +1 -0
- package/dist/collection/assets/media/icons/mono/list-shrinked.svg +1 -0
- package/dist/collection/assets/media/icons/mono/lock.svg +1 -0
- package/dist/collection/assets/media/icons/mono/mail-check.svg +1 -0
- package/dist/collection/assets/media/icons/mono/mail.svg +1 -0
- package/dist/collection/assets/media/icons/mono/map.svg +1 -0
- package/dist/collection/assets/media/icons/mono/mental-illness.svg +1 -0
- package/dist/collection/assets/media/icons/mono/menu.svg +1 -0
- package/dist/collection/assets/media/icons/mono/minus.svg +1 -0
- package/dist/collection/assets/media/icons/mono/more-horizontal.svg +1 -0
- package/dist/collection/assets/media/icons/mono/more-vertical.svg +1 -0
- package/dist/collection/assets/media/icons/mono/music.svg +1 -0
- package/dist/collection/assets/media/icons/mono/paper-clip.svg +1 -0
- package/dist/collection/assets/media/icons/mono/parking-box.svg +1 -0
- package/dist/collection/assets/media/icons/mono/pause-button-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/pause-button.svg +1 -0
- package/dist/collection/assets/media/icons/mono/pause.svg +1 -0
- package/dist/collection/assets/media/icons/mono/phone.svg +1 -0
- package/dist/collection/assets/media/icons/mono/pin-location.svg +1 -0
- package/dist/collection/assets/media/icons/mono/pin.svg +1 -0
- package/dist/collection/assets/media/icons/mono/play-button-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/play-button.svg +1 -0
- package/dist/collection/assets/media/icons/mono/play.svg +1 -0
- package/dist/collection/assets/media/icons/mono/plus.svg +1 -0
- package/dist/collection/assets/media/icons/mono/portfolio-grid.svg +1 -0
- package/dist/collection/assets/media/icons/mono/print.svg +1 -0
- package/dist/collection/assets/media/icons/mono/question-help.svg +1 -0
- package/dist/collection/assets/media/icons/mono/read-mail.svg +1 -0
- package/dist/collection/assets/media/icons/mono/recycling.svg +1 -0
- package/dist/collection/assets/media/icons/mono/reload.svg +1 -0
- package/dist/collection/assets/media/icons/mono/reset-time.svg +1 -0
- package/dist/collection/assets/media/icons/mono/reset.svg +1 -0
- package/dist/collection/assets/media/icons/mono/resize.svg +1 -0
- package/dist/collection/assets/media/icons/mono/rewind.svg +1 -0
- package/dist/collection/assets/media/icons/mono/rss.svg +1 -0
- package/dist/collection/assets/media/icons/mono/scan.svg +1 -0
- package/dist/collection/assets/media/icons/mono/school.svg +1 -0
- package/dist/collection/assets/media/icons/mono/search.svg +1 -0
- package/dist/collection/assets/media/icons/mono/send-plane.svg +1 -0
- package/dist/collection/assets/media/icons/mono/services-2.svg +1 -0
- package/dist/collection/assets/media/icons/mono/services.svg +1 -0
- package/dist/collection/assets/media/icons/mono/share.svg +1 -0
- package/dist/collection/assets/media/icons/mono/shrink.svg +1 -0
- package/dist/collection/assets/media/icons/mono/silent-mode.svg +1 -0
- package/dist/collection/assets/media/icons/mono/smartphone.svg +1 -0
- package/dist/collection/assets/media/icons/mono/sort.svg +1 -0
- package/dist/collection/assets/media/icons/mono/star-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/star.svg +1 -0
- package/dist/collection/assets/media/icons/mono/stethoscope.svg +1 -0
- package/dist/collection/assets/media/icons/mono/stop-button-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/stop.svg +1 -0
- package/dist/collection/assets/media/icons/mono/subtitle.svg +1 -0
- package/dist/collection/assets/media/icons/mono/target-bullet.svg +1 -0
- package/dist/collection/assets/media/icons/mono/target.svg +1 -0
- package/dist/collection/assets/media/icons/mono/team.svg +1 -0
- package/dist/collection/assets/media/icons/mono/text-message.svg +1 -0
- package/dist/collection/assets/media/icons/mono/text-mode.svg +1 -0
- package/dist/collection/assets/media/icons/mono/thermometer.svg +1 -0
- package/dist/collection/assets/media/icons/mono/tooth.svg +1 -0
- package/dist/collection/assets/media/icons/mono/transcript.svg +1 -0
- package/dist/collection/assets/media/icons/mono/tribunal.svg +1 -0
- package/dist/collection/assets/media/icons/mono/twitter.svg +1 -0
- package/dist/collection/assets/media/icons/mono/unlock.svg +1 -0
- package/dist/collection/assets/media/icons/mono/upload.svg +1 -0
- package/dist/collection/assets/media/icons/mono/user.svg +1 -0
- package/dist/collection/assets/media/icons/mono/view-hidden.svg +1 -0
- package/dist/collection/assets/media/icons/mono/view.svg +1 -0
- package/dist/collection/assets/media/icons/mono/volume-medium.svg +1 -0
- package/dist/collection/assets/media/icons/mono/warning-big.svg +1 -0
- package/dist/collection/assets/media/icons/mono/warning-filled.svg +1 -0
- package/dist/collection/assets/media/icons/mono/warning.svg +1 -0
- package/dist/collection/assets/media/icons/mono/water-drops.svg +1 -0
- package/dist/collection/assets/media/icons/mono/web-link.svg +1 -0
- package/dist/collection/assets/media/icons/mono/wheelchair.svg +1 -0
- package/dist/collection/assets/media/icons/mono/wifi-signal.svg +1 -0
- package/dist/collection/assets/media/icons/mono/world-globe.svg +1 -0
- package/dist/collection/assets/media/icons/mono/xing.svg +1 -0
- package/dist/collection/assets/media/icons/mono/youtube.svg +1 -0
- package/dist/components/index.js +2 -2
- package/dist/components/p-6ax-mKBx.js +45 -0
- package/dist/components/p-6ax-mKBx.js.map +1 -0
- package/dist/components/p-8LohUgRI.js +296 -0
- package/dist/components/p-8LohUgRI.js.map +1 -0
- package/dist/components/p-A0l4Bljw.js +126 -0
- package/dist/components/p-A0l4Bljw.js.map +1 -0
- package/dist/components/p-B-HI5KWy.js +50 -0
- package/dist/components/p-B-HI5KWy.js.map +1 -0
- package/dist/components/p-B-m1Y2mE.js +168 -0
- package/dist/components/p-B-m1Y2mE.js.map +1 -0
- package/dist/components/p-B3wFcbIJ.js +38 -0
- package/dist/components/p-B3wFcbIJ.js.map +1 -0
- package/dist/components/p-B829Q6zP.js +206 -0
- package/dist/components/p-B829Q6zP.js.map +1 -0
- package/dist/components/p-BA7AN5yq.js +238 -0
- package/dist/components/p-BA7AN5yq.js.map +1 -0
- package/dist/components/p-BAyu2WG3.js +334 -0
- package/dist/components/p-BAyu2WG3.js.map +1 -0
- package/dist/components/p-BGK0eiz6.js +198 -0
- package/dist/components/p-BGK0eiz6.js.map +1 -0
- package/dist/components/p-BHL1YNzN.js +149 -0
- package/dist/components/p-BHL1YNzN.js.map +1 -0
- package/dist/components/p-BKjK6qOq.js +681 -0
- package/dist/components/p-BKjK6qOq.js.map +1 -0
- package/dist/components/p-BOU3cRYl.js +2572 -0
- package/dist/components/p-BOU3cRYl.js.map +1 -0
- package/dist/components/p-BPrkSjMz.js +205 -0
- package/dist/components/p-BPrkSjMz.js.map +1 -0
- package/dist/components/p-BSBOFgV5.js +100 -0
- package/dist/components/p-BSBOFgV5.js.map +1 -0
- package/dist/components/p-BWlr5qS4.js +183 -0
- package/dist/components/p-BWlr5qS4.js.map +1 -0
- package/dist/components/p-Bbebg-CN.js +119 -0
- package/dist/components/p-Bbebg-CN.js.map +1 -0
- package/dist/components/p-BdUt2N0J.js +84 -0
- package/dist/components/p-BdUt2N0J.js.map +1 -0
- package/dist/components/p-BebNsVuA.js +106 -0
- package/dist/components/p-BebNsVuA.js.map +1 -0
- package/dist/components/p-BfaFLyC6.js +155 -0
- package/dist/components/p-BfaFLyC6.js.map +1 -0
- package/dist/components/p-Bk_CuXEU.js +506 -0
- package/dist/components/p-Bk_CuXEU.js.map +1 -0
- package/dist/components/p-BpAzylj-.js +76 -0
- package/dist/components/p-BpAzylj-.js.map +1 -0
- package/dist/components/p-BvaR8_90.js +152 -0
- package/dist/components/p-BvaR8_90.js.map +1 -0
- package/dist/components/p-C0_zaW-W.js +65 -0
- package/dist/components/p-C0_zaW-W.js.map +1 -0
- package/dist/components/p-C0lXUisi.js +4110 -0
- package/dist/components/p-C0lXUisi.js.map +1 -0
- package/dist/components/p-CDKLijLN.js +49 -0
- package/dist/components/p-CDKLijLN.js.map +1 -0
- package/dist/components/p-CEPvA7qH.js +87 -0
- package/dist/components/p-CEPvA7qH.js.map +1 -0
- package/dist/components/p-CF0Eco5y.js +3120 -0
- package/dist/components/p-CF0Eco5y.js.map +1 -0
- package/dist/components/p-CF4GlfoS.js +171 -0
- package/dist/components/p-CF4GlfoS.js.map +1 -0
- package/dist/components/p-CF6aqBg9.js +10 -0
- package/dist/components/p-CF6aqBg9.js.map +1 -0
- package/dist/components/p-CHSxl8ps.js +41 -0
- package/dist/components/p-CHSxl8ps.js.map +1 -0
- package/dist/components/p-CI6HYNzj.js +337 -0
- package/dist/components/p-CI6HYNzj.js.map +1 -0
- package/dist/components/p-CJbcBzTU.js +526 -0
- package/dist/components/p-CJbcBzTU.js.map +1 -0
- package/dist/components/p-CPWkyYDI.js +535 -0
- package/dist/components/p-CPWkyYDI.js.map +1 -0
- package/dist/components/p-CY7WT0He.js +45 -0
- package/dist/components/p-CY7WT0He.js.map +1 -0
- package/dist/components/p-Caccc4MG.js +113 -0
- package/dist/components/p-Caccc4MG.js.map +1 -0
- package/dist/components/p-CiCuCiqu.js +262 -0
- package/dist/components/p-CiCuCiqu.js.map +1 -0
- package/dist/components/p-CjpVcYf4.js +271 -0
- package/dist/components/p-CjpVcYf4.js.map +1 -0
- package/dist/components/p-Cn_4KFTp.js +340 -0
- package/dist/components/p-Cn_4KFTp.js.map +1 -0
- package/dist/components/p-CphAvN9z.js +54 -0
- package/dist/components/p-CphAvN9z.js.map +1 -0
- package/dist/components/p-Cwy-qOtF.js +61 -0
- package/dist/components/p-Cwy-qOtF.js.map +1 -0
- package/dist/components/p-Cyr0PTPI.js +34 -0
- package/dist/components/p-Cyr0PTPI.js.map +1 -0
- package/dist/components/p-D3osOmCO.js +242 -0
- package/dist/components/p-D3osOmCO.js.map +1 -0
- package/dist/components/p-D40Zy7vD.js +111 -0
- package/dist/components/p-D40Zy7vD.js.map +1 -0
- package/dist/components/p-D5ySI7hb.js +134 -0
- package/dist/components/p-D5ySI7hb.js.map +1 -0
- package/dist/components/p-D7CIAwx_.js +448 -0
- package/dist/components/p-D7CIAwx_.js.map +1 -0
- package/dist/components/p-D992C4UI.js +131 -0
- package/dist/components/p-D992C4UI.js.map +1 -0
- package/dist/components/p-DDCDc_xz.js +288 -0
- package/dist/components/p-DDCDc_xz.js.map +1 -0
- package/dist/components/p-DEvIS10_.js +2121 -0
- package/dist/components/p-DEvIS10_.js.map +1 -0
- package/dist/components/p-DFpDs4lN.js +828 -0
- package/dist/components/p-DFpDs4lN.js.map +1 -0
- package/dist/components/p-DJ1ByCYC.js +209 -0
- package/dist/components/p-DJ1ByCYC.js.map +1 -0
- package/dist/components/p-DNS8RqpI.js +434 -0
- package/dist/components/p-DNS8RqpI.js.map +1 -0
- package/dist/components/p-DOnoc3XR.js +202 -0
- package/dist/components/p-DOnoc3XR.js.map +1 -0
- package/dist/components/p-DQ242D9a.js +166 -0
- package/dist/components/p-DQ242D9a.js.map +1 -0
- package/dist/components/p-DVzi0d5p.js +205 -0
- package/dist/components/p-DVzi0d5p.js.map +1 -0
- package/dist/components/p-D_hdie7I.js +146 -0
- package/dist/components/p-D_hdie7I.js.map +1 -0
- package/dist/components/p-DeQdjWEG.js +50 -0
- package/dist/components/p-DeQdjWEG.js.map +1 -0
- package/dist/components/p-DkuigYKB.js +127 -0
- package/dist/components/p-DkuigYKB.js.map +1 -0
- package/dist/components/p-DqIz0xmS.js +297 -0
- package/dist/components/p-DqIz0xmS.js.map +1 -0
- package/dist/components/p-Drej3tyF.js +412 -0
- package/dist/components/p-Drej3tyF.js.map +1 -0
- package/dist/components/p-DsQDPG2n.js +118 -0
- package/dist/components/p-DsQDPG2n.js.map +1 -0
- package/dist/components/p-DtYGJu0r.js +77 -0
- package/dist/components/p-DtYGJu0r.js.map +1 -0
- package/dist/components/p-Dz90ugoB.js +66 -0
- package/dist/components/p-Dz90ugoB.js.map +1 -0
- package/dist/components/p-Gg9PMgTy.js +103 -0
- package/dist/components/p-Gg9PMgTy.js.map +1 -0
- package/dist/components/p-L0Qas8Vk.js +60 -0
- package/dist/components/p-L0Qas8Vk.js.map +1 -0
- package/dist/components/p-LScNDJIc.js +5613 -0
- package/dist/components/p-LScNDJIc.js.map +1 -0
- package/dist/components/p-UT3M4CbX.js +55 -0
- package/dist/components/p-UT3M4CbX.js.map +1 -0
- package/dist/components/p-V-hR8cYJ.js +67 -0
- package/dist/components/p-V-hR8cYJ.js.map +1 -0
- package/dist/components/p-W6urNgHQ.js +56722 -0
- package/dist/components/p-W6urNgHQ.js.map +1 -0
- package/dist/components/p-tjDhZ0rK.js +63 -0
- package/dist/components/p-tjDhZ0rK.js.map +1 -0
- package/dist/components/p-u_rOyEiZ.js +57 -0
- package/dist/components/p-u_rOyEiZ.js.map +1 -0
- package/dist/components/p-vFrOPPTY.js +234 -0
- package/dist/components/p-vFrOPPTY.js.map +1 -0
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +13 -13
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +5 -5
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +4 -4
- package/dist/components/stzh-bathstatus-item.js +1 -1
- package/dist/components/stzh-bathstatus-list.js +7 -7
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- package/dist/components/stzh-card-superteaser.js +14 -14
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +5 -5
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +4 -4
- package/dist/components/stzh-contact.js +10 -10
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +3 -3
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +17 -17
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +4 -4
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +4 -4
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +5 -5
- package/dist/components/stzh-feedreader-item.js +2 -2
- package/dist/components/stzh-feedreader.js +8 -8
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-gallery.js +8 -8
- package/dist/components/stzh-geo-ref-data.js +23 -23
- package/dist/components/stzh-ghettobox.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +6 -6
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +2 -2
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +10 -10
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +19 -19
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +2 -2
- package/dist/components/stzh-pagetitle.js +2 -2
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +11 -11
- package/dist/components/stzh-pi-content-navigation.js +3 -3
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.js +2 -2
- package/dist/components/stzh-pi-teaser.js +2 -2
- package/dist/components/stzh-pkzh-qr.js +20 -20
- package/dist/components/stzh-poicard.js +1 -1
- package/dist/components/stzh-poilist.js +18 -18
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +5 -5
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +4 -4
- package/dist/components/stzh-richtext.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +7 -7
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +16 -16
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +3 -3
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +3 -3
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +5 -5
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +13 -13
- package/dist/components/stzh-vbz-carousel.js +2 -2
- package/dist/components/stzh-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-intro.js +5 -5
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +7 -7
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/index-D47nR2ez.js +3349 -0
- package/dist/esm/index-D47nR2ez.js.map +1 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +1 -1
- package/dist/esm/stzh-actions_6.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-banner.entry.js +1 -1
- package/dist/esm/stzh-bathstatus-item.entry.js +1 -1
- package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card.entry.js +1 -1
- package/dist/esm/stzh-cardlist_3.entry.js +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip.entry.js +1 -1
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-chipselect.entry.js +2 -2
- package/dist/esm/stzh-clamp.entry.js +1 -1
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +2 -2
- package/dist/esm/stzh-daterange.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-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +2 -2
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +1 -1
- package/dist/esm/stzh-feedreader.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
- package/dist/esm/stzh-header_2.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +1 -1
- package/dist/esm/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm/stzh-input-description-D3jl5gdb.js +10 -0
- package/dist/esm/stzh-input-description-D3jl5gdb.js.map +1 -0
- package/dist/esm/stzh-input.entry.js +2 -2
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-linklist.entry.js +1 -1
- package/dist/esm/stzh-list_2.entry.js +1 -1
- package/dist/esm/stzh-loader_2.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
- package/dist/esm/stzh-poicard.entry.js +1 -1
- package/dist/esm/stzh-poilist.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-rating.entry.js +2 -2
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js +1 -1
- package/dist/esm/stzh-stepper.entry.js +1 -1
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +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-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +2 -2
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +2 -2
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/assets/media/icons/mono/.npmignore +3 -0
- package/dist/stzh-components/assets/media/icons/mono/alarm-bell.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/angle-down.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/angle-left.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/angle-right.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/angle-up.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/archive-box.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-down.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-left-circle.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-left.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-right-down.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-right.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-up-circle.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/arrow-up.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/bulleted-list.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/calculator.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/calendar.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/camera.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/cart.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/checkmark-circle-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/checkmark-circle.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/checkmark.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/child.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/click.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/clock.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/close-big.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/close-circle.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/close.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/code-window.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/compass-direction.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/compass-north.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/construction.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/copy.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/crop.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/dashboard.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/delete.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/download.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/drag.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/edit.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/enlarge-text.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/expand.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/external-link.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/facebook-comment.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/facebook.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/file-add.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/file.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/filtering.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/flag.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/forward.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/fountain.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/gear.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/heart.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/home.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/important-warning-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/important-warning.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/info-help-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/info-help.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/instagram-photo-gallery.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/instagram.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/jobs.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/like-hand.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/linkedin.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/list-expanded.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/list-shrinked.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/lock.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/mail-check.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/mail.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/map.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/mental-illness.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/menu.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/minus.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/more-horizontal.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/more-vertical.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/music.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/paper-clip.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/parking-box.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/pause-button-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/pause-button.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/pause.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/phone.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/pin-location.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/pin.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/play-button-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/play-button.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/play.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/plus.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/portfolio-grid.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/print.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/question-help.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/read-mail.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/recycling.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/reload.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/reset-time.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/reset.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/resize.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/rewind.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/rss.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/scan.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/school.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/search.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/send-plane.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/services-2.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/services.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/share.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/shrink.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/silent-mode.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/smartphone.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/sort.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/star-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/star.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/stethoscope.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/stop-button-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/stop.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/subtitle.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/target-bullet.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/target.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/team.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/text-message.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/text-mode.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/thermometer.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/tooth.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/transcript.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/tribunal.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/twitter.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/unlock.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/upload.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/user.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/view-hidden.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/view.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/volume-medium.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/warning-big.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/warning-filled.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/warning.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/water-drops.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/web-link.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/wheelchair.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/wifi-signal.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/world-globe.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/xing.svg +1 -0
- package/dist/stzh-components/assets/media/icons/mono/youtube.svg +1 -0
- package/dist/stzh-components/p-02cbf48e.entry.js +2 -0
- package/dist/stzh-components/p-09fd4ce9.entry.js +2 -0
- package/dist/stzh-components/p-0c782a2c.entry.js +2 -0
- package/dist/stzh-components/p-0f30b703.entry.js +2 -0
- package/dist/stzh-components/p-10c9abdb.entry.js +2 -0
- package/dist/stzh-components/p-12def17e.entry.js +2 -0
- package/dist/stzh-components/p-146b09f2.entry.js +2 -0
- package/dist/stzh-components/p-185ebd5d.entry.js +2 -0
- package/dist/stzh-components/p-1a32c5f5.entry.js +2 -0
- package/dist/stzh-components/p-1e51590c.entry.js +2 -0
- package/dist/stzh-components/p-244c48be.entry.js +2 -0
- package/dist/stzh-components/p-27e0a673.entry.js +2 -0
- package/dist/stzh-components/p-295f4ea7.entry.js +6 -0
- package/dist/stzh-components/p-2aa791c3.entry.js +2 -0
- package/dist/stzh-components/p-3058e3af.entry.js +32 -0
- package/dist/stzh-components/p-33859df2.entry.js +2 -0
- package/dist/stzh-components/p-37f64dab.entry.js +2 -0
- package/dist/stzh-components/p-3dd4d813.entry.js +2 -0
- package/dist/stzh-components/p-3ef34d2f.entry.js +2 -0
- package/dist/stzh-components/p-40413beb.entry.js +2 -0
- package/dist/stzh-components/p-406ed87c.entry.js +2 -0
- package/dist/stzh-components/p-421ff018.entry.js +2 -0
- package/dist/stzh-components/p-43651f12.entry.js +2 -0
- package/dist/stzh-components/p-43c7e594.entry.js +2 -0
- package/dist/stzh-components/p-46492fa9.entry.js +2 -0
- package/dist/stzh-components/p-49420243.entry.js +2 -0
- package/dist/stzh-components/p-4a16af30.entry.js +2 -0
- package/dist/stzh-components/p-4d936633.entry.js +2 -0
- package/dist/stzh-components/p-4f38e594.entry.js +2 -0
- package/dist/stzh-components/p-51164590.entry.js +9 -0
- package/dist/stzh-components/p-543a73f3.entry.js +2 -0
- package/dist/stzh-components/p-5643b28f.entry.js +2 -0
- package/dist/stzh-components/p-58882715.entry.js +2 -0
- package/dist/stzh-components/p-58e5e0af.entry.js +2 -0
- package/dist/stzh-components/p-59804a1f.entry.js +2 -0
- package/dist/stzh-components/p-5a206a61.entry.js +2 -0
- package/dist/stzh-components/p-626587d8.entry.js +2 -0
- package/dist/stzh-components/p-637dac52.entry.js +2 -0
- package/dist/stzh-components/p-64294306.entry.js +2 -0
- package/dist/stzh-components/p-67ef04ca.entry.js +2 -0
- package/dist/stzh-components/p-69dbfaf7.entry.js +2 -0
- package/dist/stzh-components/p-6b36529a.entry.js +2 -0
- package/dist/stzh-components/p-6d0893f7.entry.js +2 -0
- package/dist/stzh-components/p-6d7a7b5e.entry.js +2 -0
- package/dist/stzh-components/p-6e423e32.entry.js +2 -0
- package/dist/stzh-components/p-72db275c.entry.js +2 -0
- package/dist/stzh-components/p-75dce990.entry.js +2 -0
- package/dist/stzh-components/p-77be4fc6.entry.js +2 -0
- package/dist/stzh-components/p-77be4fc6.entry.js.map +1 -0
- package/dist/stzh-components/p-77f2660f.entry.js +2 -0
- package/dist/stzh-components/p-796844c2.entry.js +2 -0
- package/dist/stzh-components/p-7cddc241.entry.js +2 -0
- package/dist/stzh-components/p-7f2fe266.entry.js +2 -0
- package/dist/stzh-components/p-7f453424.entry.js +2 -0
- package/dist/stzh-components/p-811e9832.entry.js +2 -0
- package/dist/stzh-components/p-82888608.entry.js +2 -0
- package/dist/stzh-components/p-82f5e522.entry.js +2 -0
- package/dist/stzh-components/p-86fe95c9.entry.js +2 -0
- package/dist/stzh-components/p-87ba48b1.entry.js +2 -0
- package/dist/stzh-components/p-89de858b.entry.js +2 -0
- package/dist/stzh-components/p-8b737b50.entry.js +2 -0
- package/dist/stzh-components/p-8c3d2b2b.entry.js +2 -0
- package/dist/stzh-components/p-8d3dbe57.entry.js +2 -0
- package/dist/stzh-components/p-90b6d078.entry.js +2 -0
- package/dist/stzh-components/p-95a87764.entry.js +2 -0
- package/dist/stzh-components/p-95e736c8.entry.js +2 -0
- package/dist/stzh-components/p-95ef58d2.entry.js +2 -0
- package/dist/stzh-components/p-9736dc8f.entry.js +2 -0
- package/dist/stzh-components/p-9870b665.entry.js +2 -0
- package/dist/stzh-components/p-9929da87.entry.js +2 -0
- package/dist/stzh-components/p-9a75e49e.entry.js +2 -0
- package/dist/stzh-components/p-9cdc22dd.entry.js +2 -0
- package/dist/stzh-components/p-9deb1554.entry.js +2 -0
- package/dist/stzh-components/p-9e7b724c.entry.js +2 -0
- package/dist/stzh-components/p-9f578b61.entry.js +2 -0
- package/dist/stzh-components/p-D47nR2ez.js +3 -0
- package/dist/stzh-components/p-D47nR2ez.js.map +1 -0
- package/dist/stzh-components/p-RfnZ9Ne8.js +2 -0
- package/dist/stzh-components/p-RfnZ9Ne8.js.map +1 -0
- package/dist/stzh-components/p-a030971d.entry.js +2 -0
- package/dist/stzh-components/p-a08ef2bd.entry.js +2 -0
- package/dist/stzh-components/p-a4b23659.entry.js +2 -0
- package/dist/stzh-components/p-a4fffc13.entry.js +2 -0
- package/dist/stzh-components/p-a5bf85c8.entry.js +2 -0
- package/dist/stzh-components/p-a7639c6e.entry.js +2 -0
- package/dist/stzh-components/p-a841b424.entry.js +2 -0
- package/dist/stzh-components/p-aa67e4ac.entry.js +2 -0
- package/dist/stzh-components/p-ac763632.entry.js +2 -0
- package/dist/stzh-components/p-aff910c5.entry.js +2 -0
- package/dist/stzh-components/p-b0125207.entry.js +2 -0
- package/dist/stzh-components/p-b1b9ac73.entry.js +2 -0
- package/dist/stzh-components/p-b29c574c.entry.js +2 -0
- package/dist/stzh-components/p-b47a678c.entry.js +2 -0
- package/dist/stzh-components/p-b4da646c.entry.js +2 -0
- package/dist/stzh-components/p-b520d13c.entry.js +8 -0
- package/dist/stzh-components/p-b59ebc13.entry.js +2 -0
- package/dist/stzh-components/p-ba1d30b0.entry.js +2 -0
- package/dist/stzh-components/p-babae246.entry.js +2 -0
- package/dist/stzh-components/p-bc91ccc6.entry.js +2 -0
- package/dist/stzh-components/p-bd68f0d1.entry.js +2 -0
- package/dist/stzh-components/p-c066ff6f.entry.js +2 -0
- package/dist/stzh-components/p-c0d5be57.entry.js +2 -0
- package/dist/stzh-components/p-c10d4b7b.entry.js +2 -0
- package/dist/stzh-components/p-c32938f8.entry.js +2 -0
- package/dist/stzh-components/p-c7fd75bb.entry.js +2 -0
- package/dist/stzh-components/p-c85723c2.entry.js +2 -0
- package/dist/stzh-components/p-c9c36894.entry.js +2 -0
- package/dist/stzh-components/p-caa8f997.entry.js +2 -0
- package/dist/stzh-components/p-cce787b7.entry.js +2 -0
- package/dist/stzh-components/p-d1824aff.entry.js +2 -0
- package/dist/stzh-components/p-d1a45ae4.entry.js +2 -0
- package/dist/stzh-components/p-d448e869.entry.js +2 -0
- package/dist/stzh-components/p-d4752253.entry.js +2 -0
- package/dist/stzh-components/p-d84dc109.entry.js +2 -0
- package/dist/stzh-components/p-dae2b3f6.entry.js +2 -0
- package/dist/stzh-components/p-db0abc8a.entry.js +2 -0
- package/dist/stzh-components/p-dd1834df.entry.js +2 -0
- package/dist/stzh-components/p-de97d3e0.entry.js +2 -0
- package/dist/stzh-components/p-e44a5d64.entry.js +8 -0
- package/dist/stzh-components/p-e45770a3.entry.js +2 -0
- package/dist/stzh-components/p-e46c2662.entry.js +2 -0
- package/dist/stzh-components/p-e596968c.entry.js +2 -0
- package/dist/stzh-components/p-e5cef90d.entry.js +2 -0
- package/dist/stzh-components/p-e71217f8.entry.js +2 -0
- package/dist/stzh-components/p-e8dab484.entry.js +2 -0
- package/dist/stzh-components/p-e8fe7d28.entry.js +2 -0
- package/dist/stzh-components/p-ed5d8968.entry.js +8 -0
- package/dist/stzh-components/p-ed78f0cb.entry.js +2 -0
- package/dist/stzh-components/p-ef00bc6a.entry.js +2 -0
- package/dist/stzh-components/p-f15475fb.entry.js +2 -0
- package/dist/stzh-components/p-f1582c3c.entry.js +2 -0
- package/dist/stzh-components/p-f23c8773.entry.js +2 -0
- package/dist/stzh-components/p-f43a5698.entry.js +2 -0
- package/dist/stzh-components/p-f72c2c49.entry.js +2 -0
- package/dist/stzh-components/p-fb6285f1.entry.js +2 -0
- package/dist/stzh-components/p-fd0e6488.entry.js +2 -0
- package/dist/stzh-components/p-fd67cd90.entry.js +2 -0
- package/dist/stzh-components/p-fdec6e68.entry.js +2 -0
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-ZDnQuJKJ.js +0 -3384
- package/dist/cjs/index-ZDnQuJKJ.js.map +0 -1
- package/dist/cjs/stzh-input-description-CGaPpBjl.js +0 -12
- package/dist/cjs/stzh-input-description-CGaPpBjl.js.map +0 -1
- package/dist/collection/assets/media/icons/mono/.gitignore +0 -3
- package/dist/components/p-3U-NdhlS.js +0 -65
- package/dist/components/p-3U-NdhlS.js.map +0 -1
- package/dist/components/p-7HhYf4z_.js +0 -337
- package/dist/components/p-7HhYf4z_.js.map +0 -1
- package/dist/components/p-7uUMNca0.js +0 -152
- package/dist/components/p-7uUMNca0.js.map +0 -1
- package/dist/components/p-B8Wx8Azy.js +0 -334
- package/dist/components/p-B8Wx8Azy.js.map +0 -1
- package/dist/components/p-B9BPpRCW.js +0 -84
- package/dist/components/p-B9BPpRCW.js.map +0 -1
- package/dist/components/p-BDEju9Yt.js +0 -3120
- package/dist/components/p-BDEju9Yt.js.map +0 -1
- package/dist/components/p-BEpu-eX2.js +0 -50
- package/dist/components/p-BEpu-eX2.js.map +0 -1
- package/dist/components/p-BMKAa5cH.js +0 -49
- package/dist/components/p-BMKAa5cH.js.map +0 -1
- package/dist/components/p-BN-54ren.js +0 -87
- package/dist/components/p-BN-54ren.js.map +0 -1
- package/dist/components/p-BQMsQk8o.js +0 -506
- package/dist/components/p-BQMsQk8o.js.map +0 -1
- package/dist/components/p-BQziPN_6.js +0 -56722
- package/dist/components/p-BQziPN_6.js.map +0 -1
- package/dist/components/p-BRUI-vLQ.js +0 -4110
- package/dist/components/p-BRUI-vLQ.js.map +0 -1
- package/dist/components/p-BRbEuDtS.js +0 -146
- package/dist/components/p-BRbEuDtS.js.map +0 -1
- package/dist/components/p-BTwmO0VT.js +0 -234
- package/dist/components/p-BTwmO0VT.js.map +0 -1
- package/dist/components/p-BU4OH8Cm.js +0 -127
- package/dist/components/p-BU4OH8Cm.js.map +0 -1
- package/dist/components/p-BaT57zfB.js +0 -34
- package/dist/components/p-BaT57zfB.js.map +0 -1
- package/dist/components/p-BbKUQwKe.js +0 -111
- package/dist/components/p-BbKUQwKe.js.map +0 -1
- package/dist/components/p-BiHSbtfS.js +0 -77
- package/dist/components/p-BiHSbtfS.js.map +0 -1
- package/dist/components/p-BmUD2Rtq.js +0 -202
- package/dist/components/p-BmUD2Rtq.js.map +0 -1
- package/dist/components/p-BoY1qD-1.js +0 -2121
- package/dist/components/p-BoY1qD-1.js.map +0 -1
- package/dist/components/p-Bt0qFgc0.js +0 -55
- package/dist/components/p-Bt0qFgc0.js.map +0 -1
- package/dist/components/p-BtU8igAM.js +0 -296
- package/dist/components/p-BtU8igAM.js.map +0 -1
- package/dist/components/p-Bu43XylS.js +0 -242
- package/dist/components/p-Bu43XylS.js.map +0 -1
- package/dist/components/p-C-L1Esh9.js +0 -171
- package/dist/components/p-C-L1Esh9.js.map +0 -1
- package/dist/components/p-C1ciJM24.js +0 -206
- package/dist/components/p-C1ciJM24.js.map +0 -1
- package/dist/components/p-C3DzudRE.js +0 -60
- package/dist/components/p-C3DzudRE.js.map +0 -1
- package/dist/components/p-C6jXw99A.js +0 -412
- package/dist/components/p-C6jXw99A.js.map +0 -1
- package/dist/components/p-C720-Qcv.js +0 -238
- package/dist/components/p-C720-Qcv.js.map +0 -1
- package/dist/components/p-CBzSNCOV.js +0 -155
- package/dist/components/p-CBzSNCOV.js.map +0 -1
- package/dist/components/p-CNMtTiHH.js +0 -340
- package/dist/components/p-CNMtTiHH.js.map +0 -1
- package/dist/components/p-CP2-kI_R.js +0 -262
- package/dist/components/p-CP2-kI_R.js.map +0 -1
- package/dist/components/p-CPlP1yak.js +0 -134
- package/dist/components/p-CPlP1yak.js.map +0 -1
- package/dist/components/p-CQY455PH.js +0 -50
- package/dist/components/p-CQY455PH.js.map +0 -1
- package/dist/components/p-CSdJ0c_y.js +0 -54
- package/dist/components/p-CSdJ0c_y.js.map +0 -1
- package/dist/components/p-CVGsVbS2.js +0 -205
- package/dist/components/p-CVGsVbS2.js.map +0 -1
- package/dist/components/p-CViAWrjM.js +0 -118
- package/dist/components/p-CViAWrjM.js.map +0 -1
- package/dist/components/p-CYfVlAWz.js +0 -38
- package/dist/components/p-CYfVlAWz.js.map +0 -1
- package/dist/components/p-CZ9COAW6.js +0 -271
- package/dist/components/p-CZ9COAW6.js.map +0 -1
- package/dist/components/p-Cg5cOcyj.js +0 -288
- package/dist/components/p-Cg5cOcyj.js.map +0 -1
- package/dist/components/p-CgEDyVYF.js +0 -168
- package/dist/components/p-CgEDyVYF.js.map +0 -1
- package/dist/components/p-CpC8d13f.js +0 -113
- package/dist/components/p-CpC8d13f.js.map +0 -1
- package/dist/components/p-CrOCg7cY.js +0 -61
- package/dist/components/p-CrOCg7cY.js.map +0 -1
- package/dist/components/p-Crh1tumf.js +0 -434
- package/dist/components/p-Crh1tumf.js.map +0 -1
- package/dist/components/p-CyqeVaHe.js +0 -45
- package/dist/components/p-CyqeVaHe.js.map +0 -1
- package/dist/components/p-Cz-ha88J.js +0 -45
- package/dist/components/p-Cz-ha88J.js.map +0 -1
- package/dist/components/p-Cz6mFejk.js +0 -209
- package/dist/components/p-Cz6mFejk.js.map +0 -1
- package/dist/components/p-D3atNlwG.js +0 -126
- package/dist/components/p-D3atNlwG.js.map +0 -1
- package/dist/components/p-DAQn1MfT.js +0 -198
- package/dist/components/p-DAQn1MfT.js.map +0 -1
- package/dist/components/p-DAS4ghWk.js +0 -2572
- package/dist/components/p-DAS4ghWk.js.map +0 -1
- package/dist/components/p-DCVNNXGS.js +0 -526
- package/dist/components/p-DCVNNXGS.js.map +0 -1
- package/dist/components/p-DIv8fnep.js +0 -828
- package/dist/components/p-DIv8fnep.js.map +0 -1
- package/dist/components/p-DLNSei6L.js +0 -103
- package/dist/components/p-DLNSei6L.js.map +0 -1
- package/dist/components/p-DM5rcQ-w.js +0 -183
- package/dist/components/p-DM5rcQ-w.js.map +0 -1
- package/dist/components/p-DTDpjDcx.js +0 -10
- package/dist/components/p-DTDpjDcx.js.map +0 -1
- package/dist/components/p-DU--O-Ux.js +0 -100
- package/dist/components/p-DU--O-Ux.js.map +0 -1
- package/dist/components/p-Dh7_Sdlv.js +0 -535
- package/dist/components/p-Dh7_Sdlv.js.map +0 -1
- package/dist/components/p-Dh_U3nwg.js +0 -119
- package/dist/components/p-Dh_U3nwg.js.map +0 -1
- package/dist/components/p-DnmPakAT.js +0 -681
- package/dist/components/p-DnmPakAT.js.map +0 -1
- package/dist/components/p-Dq2SboPL.js +0 -149
- package/dist/components/p-Dq2SboPL.js.map +0 -1
- package/dist/components/p-DyTuVM4Q.js +0 -67
- package/dist/components/p-DyTuVM4Q.js.map +0 -1
- package/dist/components/p-IMP7pC7p.js +0 -63
- package/dist/components/p-IMP7pC7p.js.map +0 -1
- package/dist/components/p-NdWtZ3BI.js +0 -66
- package/dist/components/p-NdWtZ3BI.js.map +0 -1
- package/dist/components/p-UI7DWEQU.js +0 -131
- package/dist/components/p-UI7DWEQU.js.map +0 -1
- package/dist/components/p-UQ9WK7Rh.js +0 -297
- package/dist/components/p-UQ9WK7Rh.js.map +0 -1
- package/dist/components/p-Ut4hhOsi.js +0 -41
- package/dist/components/p-Ut4hhOsi.js.map +0 -1
- package/dist/components/p-UxkgJCcT.js +0 -57
- package/dist/components/p-UxkgJCcT.js.map +0 -1
- package/dist/components/p-ZGKugKIn.js +0 -5613
- package/dist/components/p-ZGKugKIn.js.map +0 -1
- package/dist/components/p-bZ2GVa1M.js +0 -166
- package/dist/components/p-bZ2GVa1M.js.map +0 -1
- package/dist/components/p-iO0Ga3pa.js +0 -76
- package/dist/components/p-iO0Ga3pa.js.map +0 -1
- package/dist/components/p-tNg83_1b.js +0 -205
- package/dist/components/p-tNg83_1b.js.map +0 -1
- package/dist/components/p-wQt2FhiW.js +0 -106
- package/dist/components/p-wQt2FhiW.js.map +0 -1
- package/dist/components/p-zyIpkMEg.js +0 -448
- package/dist/components/p-zyIpkMEg.js.map +0 -1
- package/dist/esm/index-DesQCrfi.js +0 -3349
- package/dist/esm/index-DesQCrfi.js.map +0 -1
- package/dist/esm/stzh-input-description-B2muC0HR.js +0 -10
- package/dist/esm/stzh-input-description-B2muC0HR.js.map +0 -1
- package/dist/stzh-components/assets/media/icons/mono/.gitignore +0 -3
- package/dist/stzh-components/p-084b9cdd.entry.js +0 -32
- package/dist/stzh-components/p-08efb2fb.entry.js +0 -2
- package/dist/stzh-components/p-0e1a0f73.entry.js +0 -2
- package/dist/stzh-components/p-0e4fdc3c.entry.js +0 -2
- package/dist/stzh-components/p-114eb1c8.entry.js +0 -2
- package/dist/stzh-components/p-11f8205b.entry.js +0 -2
- package/dist/stzh-components/p-1284b27f.entry.js +0 -2
- package/dist/stzh-components/p-1412c776.entry.js +0 -2
- package/dist/stzh-components/p-1599a3aa.entry.js +0 -2
- package/dist/stzh-components/p-1a094f09.entry.js +0 -2
- package/dist/stzh-components/p-1b5786df.entry.js +0 -2
- package/dist/stzh-components/p-221df142.entry.js +0 -2
- package/dist/stzh-components/p-22eb16c8.entry.js +0 -2
- package/dist/stzh-components/p-250f9ffa.entry.js +0 -2
- package/dist/stzh-components/p-2585770a.entry.js +0 -2
- package/dist/stzh-components/p-2736ea2b.entry.js +0 -2
- package/dist/stzh-components/p-2adc1b7e.entry.js +0 -2
- package/dist/stzh-components/p-2dc03663.entry.js +0 -2
- package/dist/stzh-components/p-30b90219.entry.js +0 -2
- package/dist/stzh-components/p-30cfc3b7.entry.js +0 -2
- package/dist/stzh-components/p-315d9ed9.entry.js +0 -2
- package/dist/stzh-components/p-31ca74fa.entry.js +0 -2
- package/dist/stzh-components/p-3242ae36.entry.js +0 -2
- package/dist/stzh-components/p-348f6385.entry.js +0 -2
- package/dist/stzh-components/p-34d452cc.entry.js +0 -2
- package/dist/stzh-components/p-353f35fb.entry.js +0 -2
- package/dist/stzh-components/p-36d88163.entry.js +0 -2
- package/dist/stzh-components/p-36ee1a3d.entry.js +0 -2
- package/dist/stzh-components/p-38a1e3c5.entry.js +0 -2
- package/dist/stzh-components/p-38a47c95.entry.js +0 -2
- package/dist/stzh-components/p-392592da.entry.js +0 -2
- package/dist/stzh-components/p-3b891522.entry.js +0 -2
- package/dist/stzh-components/p-3c059c3f.entry.js +0 -2
- package/dist/stzh-components/p-3c059c3f.entry.js.map +0 -1
- package/dist/stzh-components/p-3c60f148.entry.js +0 -2
- package/dist/stzh-components/p-3d31d8f9.entry.js +0 -2
- package/dist/stzh-components/p-3e55b338.entry.js +0 -2
- package/dist/stzh-components/p-3e764c0f.entry.js +0 -2
- package/dist/stzh-components/p-3ed1d1c9.entry.js +0 -2
- package/dist/stzh-components/p-41e45f16.entry.js +0 -2
- package/dist/stzh-components/p-44a38608.entry.js +0 -8
- package/dist/stzh-components/p-4622ab8b.entry.js +0 -8
- package/dist/stzh-components/p-46963b10.entry.js +0 -2
- package/dist/stzh-components/p-48bd3e87.entry.js +0 -2
- package/dist/stzh-components/p-4949d3f3.entry.js +0 -2
- package/dist/stzh-components/p-4de6381b.entry.js +0 -2
- package/dist/stzh-components/p-4dfd34dd.entry.js +0 -2
- package/dist/stzh-components/p-4eb79797.entry.js +0 -2
- package/dist/stzh-components/p-4ef4838b.entry.js +0 -2
- package/dist/stzh-components/p-5022f5ae.entry.js +0 -2
- package/dist/stzh-components/p-5191a957.entry.js +0 -2
- package/dist/stzh-components/p-5b1f1510.entry.js +0 -2
- package/dist/stzh-components/p-5bbc5c2d.entry.js +0 -2
- package/dist/stzh-components/p-5f92e771.entry.js +0 -2
- package/dist/stzh-components/p-609ad786.entry.js +0 -2
- package/dist/stzh-components/p-628b716b.entry.js +0 -2
- package/dist/stzh-components/p-63602e47.entry.js +0 -2
- package/dist/stzh-components/p-6633c83d.entry.js +0 -9
- package/dist/stzh-components/p-6867beb2.entry.js +0 -2
- package/dist/stzh-components/p-6b74f2f3.entry.js +0 -2
- package/dist/stzh-components/p-6cc8c31a.entry.js +0 -2
- package/dist/stzh-components/p-6d0e28b0.entry.js +0 -2
- package/dist/stzh-components/p-6e1ef0ec.entry.js +0 -2
- package/dist/stzh-components/p-7046fef8.entry.js +0 -2
- package/dist/stzh-components/p-73a1c1f7.entry.js +0 -2
- package/dist/stzh-components/p-73d5c827.entry.js +0 -2
- package/dist/stzh-components/p-7e785f95.entry.js +0 -2
- package/dist/stzh-components/p-836ed145.entry.js +0 -2
- package/dist/stzh-components/p-83855aaf.entry.js +0 -2
- package/dist/stzh-components/p-88b7a476.entry.js +0 -2
- package/dist/stzh-components/p-89295005.entry.js +0 -2
- package/dist/stzh-components/p-8adb8b10.entry.js +0 -2
- package/dist/stzh-components/p-8b8f4b5c.entry.js +0 -2
- package/dist/stzh-components/p-8c90bc4b.entry.js +0 -2
- package/dist/stzh-components/p-8f5e606d.entry.js +0 -2
- package/dist/stzh-components/p-90fb2952.entry.js +0 -2
- package/dist/stzh-components/p-9425707d.entry.js +0 -2
- package/dist/stzh-components/p-94942d87.entry.js +0 -2
- package/dist/stzh-components/p-9606c1b3.entry.js +0 -2
- package/dist/stzh-components/p-99c6d6af.entry.js +0 -2
- package/dist/stzh-components/p-DUHakWnr.js +0 -2
- package/dist/stzh-components/p-DUHakWnr.js.map +0 -1
- package/dist/stzh-components/p-DesQCrfi.js +0 -3
- package/dist/stzh-components/p-DesQCrfi.js.map +0 -1
- package/dist/stzh-components/p-a33ac43e.entry.js +0 -2
- package/dist/stzh-components/p-a3dc9c36.entry.js +0 -2
- package/dist/stzh-components/p-a628ad78.entry.js +0 -2
- package/dist/stzh-components/p-a6522800.entry.js +0 -8
- package/dist/stzh-components/p-a70a0080.entry.js +0 -2
- package/dist/stzh-components/p-a8876eda.entry.js +0 -2
- package/dist/stzh-components/p-aa8fe13a.entry.js +0 -2
- package/dist/stzh-components/p-ab120fe4.entry.js +0 -2
- package/dist/stzh-components/p-abd7cbc6.entry.js +0 -2
- package/dist/stzh-components/p-abddf10c.entry.js +0 -2
- package/dist/stzh-components/p-abe3645d.entry.js +0 -2
- package/dist/stzh-components/p-b2aabeb7.entry.js +0 -2
- package/dist/stzh-components/p-b31949eb.entry.js +0 -2
- package/dist/stzh-components/p-b38b3c4c.entry.js +0 -2
- package/dist/stzh-components/p-b4d78249.entry.js +0 -2
- package/dist/stzh-components/p-b4da4cc2.entry.js +0 -2
- package/dist/stzh-components/p-b56daf65.entry.js +0 -2
- package/dist/stzh-components/p-b5c20b76.entry.js +0 -2
- package/dist/stzh-components/p-b989f72d.entry.js +0 -2
- package/dist/stzh-components/p-c28f9c40.entry.js +0 -2
- package/dist/stzh-components/p-c4d0f525.entry.js +0 -2
- package/dist/stzh-components/p-c4fbcf5c.entry.js +0 -2
- package/dist/stzh-components/p-c596173d.entry.js +0 -2
- package/dist/stzh-components/p-c63e07fc.entry.js +0 -6
- package/dist/stzh-components/p-c8c34164.entry.js +0 -2
- package/dist/stzh-components/p-c9993af0.entry.js +0 -2
- package/dist/stzh-components/p-c9f2e23a.entry.js +0 -2
- package/dist/stzh-components/p-cc6e6867.entry.js +0 -2
- package/dist/stzh-components/p-cd12e7bd.entry.js +0 -2
- package/dist/stzh-components/p-d1747317.entry.js +0 -2
- package/dist/stzh-components/p-d1cca86f.entry.js +0 -2
- package/dist/stzh-components/p-d37c5c73.entry.js +0 -2
- package/dist/stzh-components/p-d5b7addc.entry.js +0 -2
- package/dist/stzh-components/p-d6b7946f.entry.js +0 -2
- package/dist/stzh-components/p-e12d2d60.entry.js +0 -2
- package/dist/stzh-components/p-e233cf06.entry.js +0 -2
- package/dist/stzh-components/p-e49ed519.entry.js +0 -2
- package/dist/stzh-components/p-e61966c4.entry.js +0 -2
- package/dist/stzh-components/p-e8a4ddd6.entry.js +0 -2
- package/dist/stzh-components/p-e905055b.entry.js +0 -2
- package/dist/stzh-components/p-e9a85cba.entry.js +0 -2
- package/dist/stzh-components/p-ec6a62aa.entry.js +0 -2
- package/dist/stzh-components/p-ee8190b4.entry.js +0 -2
- package/dist/stzh-components/p-f07faa5b.entry.js +0 -2
- package/dist/stzh-components/p-f1a64d71.entry.js +0 -2
- package/dist/stzh-components/p-f2e95ab9.entry.js +0 -2
- package/dist/stzh-components/p-f395be95.entry.js +0 -2
- package/dist/stzh-components/p-f7ae52f5.entry.js +0 -2
- package/dist/stzh-components/p-f9966360.entry.js +0 -2
- package/dist/stzh-components/p-f99e3401.entry.js +0 -2
- package/dist/stzh-components/p-fae36aac.entry.js +0 -2
- package/dist/stzh-components/p-fb8f7cec.entry.js +0 -2
- package/dist/stzh-components/p-fc426694.entry.js +0 -2
- package/dist/stzh-components/p-ff8a59e7.entry.js +0 -2
- /package/dist/stzh-components/{p-abd7cbc6.entry.js.map → p-02cbf48e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d1747317.entry.js.map → p-09fd4ce9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-30cfc3b7.entry.js.map → p-0c782a2c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-83855aaf.entry.js.map → p-0f30b703.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3c60f148.entry.js.map → p-10c9abdb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e905055b.entry.js.map → p-12def17e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cc6e6867.entry.js.map → p-146b09f2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8876eda.entry.js.map → p-185ebd5d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-88b7a476.entry.js.map → p-1a32c5f5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1599a3aa.entry.js.map → p-1e51590c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-31ca74fa.entry.js.map → p-244c48be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-30b90219.entry.js.map → p-27e0a673.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c63e07fc.entry.js.map → p-295f4ea7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f5e606d.entry.js.map → p-2aa791c3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-084b9cdd.entry.js.map → p-3058e3af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-348f6385.entry.js.map → p-33859df2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2dc03663.entry.js.map → p-37f64dab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-73a1c1f7.entry.js.map → p-3dd4d813.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a628ad78.entry.js.map → p-3ef34d2f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-41e45f16.entry.js.map → p-40413beb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-392592da.entry.js.map → p-406ed87c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-abe3645d.entry.js.map → p-421ff018.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a33ac43e.entry.js.map → p-43651f12.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4eb79797.entry.js.map → p-43c7e594.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-836ed145.entry.js.map → p-46492fa9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6e1ef0ec.entry.js.map → p-49420243.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-94942d87.entry.js.map → p-4a16af30.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0e1a0f73.entry.js.map → p-4d936633.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-90fb2952.entry.js.map → p-4f38e594.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6633c83d.entry.js.map → p-51164590.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3ed1d1c9.entry.js.map → p-543a73f3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4949d3f3.entry.js.map → p-5643b28f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-36d88163.entry.js.map → p-58882715.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38a47c95.entry.js.map → p-58e5e0af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b2aabeb7.entry.js.map → p-59804a1f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-11f8205b.entry.js.map → p-5a206a61.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0e4fdc3c.entry.js.map → p-626587d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6b74f2f3.entry.js.map → p-637dac52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f99e3401.entry.js.map → p-64294306.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b8f4b5c.entry.js.map → p-67ef04ca.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d1cca86f.entry.js.map → p-69dbfaf7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-315d9ed9.entry.js.map → p-6b36529a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4da4cc2.entry.js.map → p-6d0893f7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4de6381b.entry.js.map → p-6d7a7b5e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4dfd34dd.entry.js.map → p-6e423e32.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d5b7addc.entry.js.map → p-72db275c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-99c6d6af.entry.js.map → p-75dce990.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9425707d.entry.js.map → p-77f2660f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9f2e23a.entry.js.map → p-796844c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7046fef8.entry.js.map → p-7cddc241.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-73d5c827.entry.js.map → p-7f2fe266.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-48bd3e87.entry.js.map → p-7f453424.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a3dc9c36.entry.js.map → p-811e9832.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c8c34164.entry.js.map → p-82888608.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f07faa5b.entry.js.map → p-82f5e522.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-08efb2fb.entry.js.map → p-86fe95c9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f7ae52f5.entry.js.map → p-87ba48b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fc426694.entry.js.map → p-89de858b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8c90bc4b.entry.js.map → p-8b737b50.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-22eb16c8.entry.js.map → p-8c3d2b2b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9606c1b3.entry.js.map → p-8d3dbe57.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aa8fe13a.entry.js.map → p-90b6d078.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9993af0.entry.js.map → p-95a87764.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cd12e7bd.entry.js.map → p-95e736c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d37c5c73.entry.js.map → p-95ef58d2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fae36aac.entry.js.map → p-9736dc8f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-250f9ffa.entry.js.map → p-9870b665.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7e785f95.entry.js.map → p-9929da87.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f92e771.entry.js.map → p-9a75e49e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4d0f525.entry.js.map → p-9cdc22dd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e12d2d60.entry.js.map → p-9deb1554.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8adb8b10.entry.js.map → p-9e7b724c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e233cf06.entry.js.map → p-9f578b61.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6cc8c31a.entry.js.map → p-a030971d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e9a85cba.entry.js.map → p-a08ef2bd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4fbcf5c.entry.js.map → p-a4b23659.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a70a0080.entry.js.map → p-a4fffc13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6d0e28b0.entry.js.map → p-a5bf85c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2736ea2b.entry.js.map → p-a7639c6e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-46963b10.entry.js.map → p-a841b424.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1a094f09.entry.js.map → p-aa67e4ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b31949eb.entry.js.map → p-ac763632.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2585770a.entry.js.map → p-aff910c5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b38b3c4c.entry.js.map → p-b0125207.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e8a4ddd6.entry.js.map → p-b1b9ac73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-221df142.entry.js.map → p-b29c574c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1b5786df.entry.js.map → p-b47a678c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-63602e47.entry.js.map → p-b4da646c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a6522800.entry.js.map → p-b520d13c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3d31d8f9.entry.js.map → p-b59ebc13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e61966c4.entry.js.map → p-ba1d30b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3b891522.entry.js.map → p-babae246.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c596173d.entry.js.map → p-bc91ccc6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-628b716b.entry.js.map → p-bd68f0d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1284b27f.entry.js.map → p-c066ff6f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c28f9c40.entry.js.map → p-c0d5be57.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5b1f1510.entry.js.map → p-c10d4b7b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f9966360.entry.js.map → p-c32938f8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-609ad786.entry.js.map → p-c7fd75bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ee8190b4.entry.js.map → p-c85723c2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ec6a62aa.entry.js.map → p-c9c36894.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f2e95ab9.entry.js.map → p-caa8f997.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4ef4838b.entry.js.map → p-cce787b7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1412c776.entry.js.map → p-d1824aff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d6b7946f.entry.js.map → p-d1a45ae4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f395be95.entry.js.map → p-d448e869.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e49ed519.entry.js.map → p-d4752253.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89295005.entry.js.map → p-d84dc109.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f1a64d71.entry.js.map → p-dae2b3f6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff8a59e7.entry.js.map → p-db0abc8a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3e764c0f.entry.js.map → p-dd1834df.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5191a957.entry.js.map → p-de97d3e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-44a38608.entry.js.map → p-e44a5d64.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3242ae36.entry.js.map → p-e45770a3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-353f35fb.entry.js.map → p-e46c2662.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fb8f7cec.entry.js.map → p-e596968c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-114eb1c8.entry.js.map → p-e5cef90d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b989f72d.entry.js.map → p-e71217f8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5bbc5c2d.entry.js.map → p-e8dab484.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-abddf10c.entry.js.map → p-e8fe7d28.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4622ab8b.entry.js.map → p-ed5d8968.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3e55b338.entry.js.map → p-ed78f0cb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b56daf65.entry.js.map → p-ef00bc6a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-34d452cc.entry.js.map → p-f15475fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b5c20b76.entry.js.map → p-f1582c3c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ab120fe4.entry.js.map → p-f23c8773.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4d78249.entry.js.map → p-f43a5698.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6867beb2.entry.js.map → p-f72c2c49.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5022f5ae.entry.js.map → p-fb6285f1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2adc1b7e.entry.js.map → p-fd0e6488.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-36ee1a3d.entry.js.map → p-fd67cd90.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38a1e3c5.entry.js.map → p-fdec6e68.entry.js.map} +0 -0
|
@@ -1,3120 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-DAS4ghWk.js';
|
|
2
|
-
import { a as api } from './p-Cpg2gH_9.js';
|
|
3
|
-
import { g as getDefaultExportFromCjs } from './p-E-ZsRS8r.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-Cz-ha88J.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-BtU8igAM.js';
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-BU4OH8Cm.js';
|
|
7
|
-
|
|
8
|
-
var iframeResizer$1 = {exports: {}};
|
|
9
|
-
|
|
10
|
-
/*
|
|
11
|
-
* File: iframeResizer.js
|
|
12
|
-
* Desc: Force iframes to size to content.
|
|
13
|
-
* Requires: iframeResizer.contentWindow.js to be loaded into the target frame.
|
|
14
|
-
* Doc: https://iframe-resizer.com
|
|
15
|
-
* Author: David J. Bradshaw - info@iframe-resizer.com
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
var hasRequiredIframeResizer$1;
|
|
19
|
-
|
|
20
|
-
function requireIframeResizer$1 () {
|
|
21
|
-
if (hasRequiredIframeResizer$1) return iframeResizer$1.exports;
|
|
22
|
-
hasRequiredIframeResizer$1 = 1;
|
|
23
|
-
(function (module) {
|
|
24
|
-
console.info(`
|
|
25
|
-
IFRAME-RESIZER
|
|
26
|
-
|
|
27
|
-
Iframe-Resizer 5 is now available via the following two packages:
|
|
28
|
-
|
|
29
|
-
* @iframe-resizer/parent
|
|
30
|
-
* @iframe-resizer/child
|
|
31
|
-
|
|
32
|
-
Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery.
|
|
33
|
-
|
|
34
|
-
Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.
|
|
35
|
-
|
|
36
|
-
Please see https://iframe-resizer.com/upgrade for more details.
|
|
37
|
-
`)
|
|
38
|
-
|
|
39
|
-
// eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names
|
|
40
|
-
;(function (undefined$1) {
|
|
41
|
-
if (typeof window === 'undefined') return // don't run for server side render
|
|
42
|
-
|
|
43
|
-
// var VERSION = '4.3.11'
|
|
44
|
-
|
|
45
|
-
var count = 0,
|
|
46
|
-
destroyObserver,
|
|
47
|
-
logEnabled = false,
|
|
48
|
-
hiddenCheckEnabled = false,
|
|
49
|
-
msgHeader = 'message',
|
|
50
|
-
msgHeaderLen = msgHeader.length,
|
|
51
|
-
msgId = '[iFrameSizer]', // Must match iframe msg ID
|
|
52
|
-
msgIdLen = msgId.length,
|
|
53
|
-
pagePosition = null,
|
|
54
|
-
requestAnimationFrame = window.requestAnimationFrame,
|
|
55
|
-
resetRequiredMethods = Object.freeze({
|
|
56
|
-
max: 1,
|
|
57
|
-
scroll: 1,
|
|
58
|
-
bodyScroll: 1,
|
|
59
|
-
documentElementScroll: 1
|
|
60
|
-
}),
|
|
61
|
-
settings = {},
|
|
62
|
-
timer = null,
|
|
63
|
-
defaults = Object.freeze({
|
|
64
|
-
autoResize: true,
|
|
65
|
-
bodyBackground: null,
|
|
66
|
-
bodyMargin: null,
|
|
67
|
-
bodyMarginV1: 8,
|
|
68
|
-
bodyPadding: null,
|
|
69
|
-
checkOrigin: true,
|
|
70
|
-
inPageLinks: false,
|
|
71
|
-
enablePublicMethods: true,
|
|
72
|
-
heightCalculationMethod: 'bodyOffset',
|
|
73
|
-
id: 'iFrameResizer',
|
|
74
|
-
interval: 32,
|
|
75
|
-
license: '1jqr0si6pnt',
|
|
76
|
-
log: false,
|
|
77
|
-
maxHeight: Infinity,
|
|
78
|
-
maxWidth: Infinity,
|
|
79
|
-
minHeight: 0,
|
|
80
|
-
minWidth: 0,
|
|
81
|
-
mouseEvents: true,
|
|
82
|
-
resizeFrom: 'parent',
|
|
83
|
-
scrolling: false,
|
|
84
|
-
sizeHeight: true,
|
|
85
|
-
sizeWidth: false,
|
|
86
|
-
warningTimeout: 5000,
|
|
87
|
-
tolerance: 0,
|
|
88
|
-
widthCalculationMethod: 'scroll',
|
|
89
|
-
onClose: function () {
|
|
90
|
-
return true
|
|
91
|
-
},
|
|
92
|
-
onClosed: function () {},
|
|
93
|
-
onInit: function () {},
|
|
94
|
-
onMessage: function () {
|
|
95
|
-
warn('onMessage function not defined');
|
|
96
|
-
},
|
|
97
|
-
onMouseEnter: function () {},
|
|
98
|
-
onMouseLeave: function () {},
|
|
99
|
-
onResized: function () {},
|
|
100
|
-
onScroll: function () {
|
|
101
|
-
return true
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
function getMutationObserver() {
|
|
106
|
-
return (
|
|
107
|
-
window.MutationObserver ||
|
|
108
|
-
window.WebKitMutationObserver ||
|
|
109
|
-
window.MozMutationObserver
|
|
110
|
-
)
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
function addEventListener(el, evt, func) {
|
|
114
|
-
el.addEventListener(evt, func, false);
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
function removeEventListener(el, evt, func) {
|
|
118
|
-
el.removeEventListener(evt, func, false);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
function setupRequestAnimationFrame() {
|
|
122
|
-
var vendors = ['moz', 'webkit', 'o', 'ms'];
|
|
123
|
-
var x;
|
|
124
|
-
|
|
125
|
-
// Remove vendor prefixing if prefixed and break early if not
|
|
126
|
-
for (x = 0; x < vendors.length && !requestAnimationFrame; x += 1) {
|
|
127
|
-
requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
if (requestAnimationFrame) {
|
|
131
|
-
// Firefox extension content-scripts have a globalThis object that is not the same as window.
|
|
132
|
-
// Binding `requestAnimationFrame` to window allows the function to work and prevents errors
|
|
133
|
-
// being thrown when run in that context, and should be a no-op in every other context.
|
|
134
|
-
requestAnimationFrame = requestAnimationFrame.bind(window);
|
|
135
|
-
} else {
|
|
136
|
-
log('setup', 'RequestAnimationFrame not supported');
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
function getMyID(iframeId) {
|
|
141
|
-
var retStr = 'Host page: ' + iframeId;
|
|
142
|
-
|
|
143
|
-
if (window.top !== window.self) {
|
|
144
|
-
retStr =
|
|
145
|
-
window.parentIFrame && window.parentIFrame.getId
|
|
146
|
-
? window.parentIFrame.getId() + ': ' + iframeId
|
|
147
|
-
: 'Nested host page: ' + iframeId;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
return retStr
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
function formatLogHeader(iframeId) {
|
|
154
|
-
return msgId + '[' + getMyID(iframeId) + ']'
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
function isLogEnabled(iframeId) {
|
|
158
|
-
return settings[iframeId] ? settings[iframeId].log : logEnabled
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
function log(iframeId, msg) {
|
|
162
|
-
output('log', iframeId, msg, isLogEnabled(iframeId));
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
function info(iframeId, msg) {
|
|
166
|
-
output('info', iframeId, msg, isLogEnabled(iframeId));
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
function warn(iframeId, msg) {
|
|
170
|
-
output('warn', iframeId, msg, true);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
function output(type, iframeId, msg, enabled) {
|
|
174
|
-
if (true === enabled && 'object' === typeof window.console) {
|
|
175
|
-
// eslint-disable-next-line no-console
|
|
176
|
-
console[type](formatLogHeader(iframeId), msg);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
function iFrameListener(event) {
|
|
181
|
-
function resizeIFrame() {
|
|
182
|
-
function resize() {
|
|
183
|
-
setSize(messageData);
|
|
184
|
-
setPagePosition(iframeId);
|
|
185
|
-
on('onResized', messageData);
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
ensureInRange('Height');
|
|
189
|
-
ensureInRange('Width');
|
|
190
|
-
|
|
191
|
-
syncResize(resize, messageData, 'init');
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
function processMsg() {
|
|
195
|
-
var data = msg.slice(msgIdLen).split(':');
|
|
196
|
-
var height = data[1] ? parseInt(data[1], 10) : 0;
|
|
197
|
-
var iframe = settings[data[0]] && settings[data[0]].iframe;
|
|
198
|
-
var compStyle = getComputedStyle(iframe);
|
|
199
|
-
|
|
200
|
-
return {
|
|
201
|
-
iframe: iframe,
|
|
202
|
-
id: data[0],
|
|
203
|
-
height: height + getPaddingEnds(compStyle) + getBorderEnds(compStyle),
|
|
204
|
-
width: data[2],
|
|
205
|
-
type: data[3]
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
function getPaddingEnds(compStyle) {
|
|
210
|
-
if (compStyle.boxSizing !== 'border-box') {
|
|
211
|
-
return 0
|
|
212
|
-
}
|
|
213
|
-
var top = compStyle.paddingTop ? parseInt(compStyle.paddingTop, 10) : 0;
|
|
214
|
-
var bot = compStyle.paddingBottom
|
|
215
|
-
? parseInt(compStyle.paddingBottom, 10)
|
|
216
|
-
: 0;
|
|
217
|
-
return top + bot
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
function getBorderEnds(compStyle) {
|
|
221
|
-
if (compStyle.boxSizing !== 'border-box') {
|
|
222
|
-
return 0
|
|
223
|
-
}
|
|
224
|
-
var top = compStyle.borderTopWidth
|
|
225
|
-
? parseInt(compStyle.borderTopWidth, 10)
|
|
226
|
-
: 0;
|
|
227
|
-
var bot = compStyle.borderBottomWidth
|
|
228
|
-
? parseInt(compStyle.borderBottomWidth, 10)
|
|
229
|
-
: 0;
|
|
230
|
-
return top + bot
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
function ensureInRange(Dimension) {
|
|
234
|
-
var max = Number(settings[iframeId]['max' + Dimension]),
|
|
235
|
-
min = Number(settings[iframeId]['min' + Dimension]),
|
|
236
|
-
dimension = Dimension.toLowerCase(),
|
|
237
|
-
size = Number(messageData[dimension]);
|
|
238
|
-
|
|
239
|
-
log(iframeId, 'Checking ' + dimension + ' is in range ' + min + '-' + max);
|
|
240
|
-
|
|
241
|
-
if (size < min) {
|
|
242
|
-
size = min;
|
|
243
|
-
log(iframeId, 'Set ' + dimension + ' to min value');
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
if (size > max) {
|
|
247
|
-
size = max;
|
|
248
|
-
log(iframeId, 'Set ' + dimension + ' to max value');
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
messageData[dimension] = '' + size;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
function isMessageFromIFrame() {
|
|
255
|
-
function checkAllowedOrigin() {
|
|
256
|
-
function checkList() {
|
|
257
|
-
var i = 0,
|
|
258
|
-
retCode = false;
|
|
259
|
-
|
|
260
|
-
log(
|
|
261
|
-
iframeId,
|
|
262
|
-
'Checking connection is from allowed list of origins: ' +
|
|
263
|
-
checkOrigin
|
|
264
|
-
);
|
|
265
|
-
|
|
266
|
-
for (; i < checkOrigin.length; i++) {
|
|
267
|
-
if (checkOrigin[i] === origin) {
|
|
268
|
-
retCode = true;
|
|
269
|
-
break
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
return retCode
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
function checkSingle() {
|
|
276
|
-
var remoteHost = settings[iframeId] && settings[iframeId].remoteHost;
|
|
277
|
-
log(iframeId, 'Checking connection is from: ' + remoteHost);
|
|
278
|
-
return origin === remoteHost
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
return checkOrigin.constructor === Array ? checkList() : checkSingle()
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
var origin = event.origin,
|
|
285
|
-
checkOrigin = settings[iframeId] && settings[iframeId].checkOrigin;
|
|
286
|
-
|
|
287
|
-
if (checkOrigin && '' + origin !== 'null' && !checkAllowedOrigin()) {
|
|
288
|
-
throw new Error(
|
|
289
|
-
'Unexpected message received from: ' +
|
|
290
|
-
origin +
|
|
291
|
-
' for ' +
|
|
292
|
-
messageData.iframe.id +
|
|
293
|
-
'. Message was: ' +
|
|
294
|
-
event.data +
|
|
295
|
-
'. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.'
|
|
296
|
-
)
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
return true
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
function isMessageForUs() {
|
|
303
|
-
return (
|
|
304
|
-
msgId === ('' + msg).slice(0, msgIdLen) &&
|
|
305
|
-
msg.slice(msgIdLen).split(':')[0] in settings
|
|
306
|
-
) // ''+Protects against non-string msg
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
function isMessageFromMetaParent() {
|
|
310
|
-
// Test if this message is from a parent above us. This is an ugly test, however, updating
|
|
311
|
-
// the message format would break backwards compatibility.
|
|
312
|
-
var retCode = messageData.type in { true: 1, false: 1, undefined: 1 };
|
|
313
|
-
|
|
314
|
-
if (retCode) {
|
|
315
|
-
log(iframeId, 'Ignoring init message from meta parent page');
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
return retCode
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
function getMsgBody(offset) {
|
|
322
|
-
return msg.slice(msg.indexOf(':') + msgHeaderLen + offset)
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
function forwardMsgFromIFrame(msgBody) {
|
|
326
|
-
log(
|
|
327
|
-
iframeId,
|
|
328
|
-
'onMessage passed: {iframe: ' +
|
|
329
|
-
messageData.iframe.id +
|
|
330
|
-
', message: ' +
|
|
331
|
-
msgBody +
|
|
332
|
-
'}'
|
|
333
|
-
);
|
|
334
|
-
|
|
335
|
-
on('onMessage', {
|
|
336
|
-
iframe: messageData.iframe,
|
|
337
|
-
message: JSON.parse(msgBody)
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
log(iframeId, '--');
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
function getPageInfo() {
|
|
344
|
-
var bodyPosition = document.body.getBoundingClientRect(),
|
|
345
|
-
iFramePosition = messageData.iframe.getBoundingClientRect();
|
|
346
|
-
|
|
347
|
-
return JSON.stringify({
|
|
348
|
-
iframeHeight: iFramePosition.height,
|
|
349
|
-
iframeWidth: iFramePosition.width,
|
|
350
|
-
clientHeight: Math.max(
|
|
351
|
-
document.documentElement.clientHeight,
|
|
352
|
-
window.innerHeight || 0
|
|
353
|
-
),
|
|
354
|
-
clientWidth: Math.max(
|
|
355
|
-
document.documentElement.clientWidth,
|
|
356
|
-
window.innerWidth || 0
|
|
357
|
-
),
|
|
358
|
-
offsetTop: parseInt(iFramePosition.top - bodyPosition.top, 10),
|
|
359
|
-
offsetLeft: parseInt(iFramePosition.left - bodyPosition.left, 10),
|
|
360
|
-
scrollTop: window.pageYOffset,
|
|
361
|
-
scrollLeft: window.pageXOffset,
|
|
362
|
-
documentHeight: document.documentElement.clientHeight,
|
|
363
|
-
documentWidth: document.documentElement.clientWidth,
|
|
364
|
-
windowHeight: window.innerHeight,
|
|
365
|
-
windowWidth: window.innerWidth
|
|
366
|
-
})
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
function sendPageInfoToIframe(iframe, iframeId) {
|
|
370
|
-
function debouncedTrigger() {
|
|
371
|
-
trigger('Send Page Info', 'pageInfo:' + getPageInfo(), iframe, iframeId);
|
|
372
|
-
}
|
|
373
|
-
debounceFrameEvents(debouncedTrigger, 32, iframeId);
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
function startPageInfoMonitor() {
|
|
377
|
-
function setListener(type, func) {
|
|
378
|
-
function sendPageInfo() {
|
|
379
|
-
if (settings[id]) {
|
|
380
|
-
sendPageInfoToIframe(settings[id].iframe, id);
|
|
381
|
-
} else {
|
|
382
|
-
stop();
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
['scroll', 'resize'].forEach(function (evt) {
|
|
386
|
-
log(id, type + evt + ' listener for sendPageInfo');
|
|
387
|
-
func(window, evt, sendPageInfo);
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
function stop() {
|
|
392
|
-
setListener('Remove ', removeEventListener);
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
function start() {
|
|
396
|
-
setListener('Add ', addEventListener);
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
var id = iframeId; // Create locally scoped copy of iFrame ID
|
|
400
|
-
|
|
401
|
-
start();
|
|
402
|
-
|
|
403
|
-
if (settings[id]) {
|
|
404
|
-
settings[id].stopPageInfo = stop;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
function stopPageInfoMonitor() {
|
|
409
|
-
if (settings[iframeId] && settings[iframeId].stopPageInfo) {
|
|
410
|
-
settings[iframeId].stopPageInfo();
|
|
411
|
-
delete settings[iframeId].stopPageInfo;
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
function checkIFrameExists() {
|
|
416
|
-
var retBool = true;
|
|
417
|
-
|
|
418
|
-
if (null === messageData.iframe) {
|
|
419
|
-
warn(iframeId, 'IFrame (' + messageData.id + ') not found');
|
|
420
|
-
retBool = false;
|
|
421
|
-
}
|
|
422
|
-
return retBool
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
function getElementPosition(target) {
|
|
426
|
-
var iFramePosition = target.getBoundingClientRect();
|
|
427
|
-
|
|
428
|
-
getPagePosition(iframeId);
|
|
429
|
-
|
|
430
|
-
return {
|
|
431
|
-
x: Math.floor(Number(iFramePosition.left) + Number(pagePosition.x)),
|
|
432
|
-
y: Math.floor(Number(iFramePosition.top) + Number(pagePosition.y))
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
function scrollRequestFromChild(addOffset) {
|
|
437
|
-
/* istanbul ignore next */ // Not testable in Karma
|
|
438
|
-
function reposition() {
|
|
439
|
-
pagePosition = newPosition;
|
|
440
|
-
scrollTo();
|
|
441
|
-
log(iframeId, '--');
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
function calcOffset() {
|
|
445
|
-
return {
|
|
446
|
-
x: Number(messageData.width) + offset.x,
|
|
447
|
-
y: Number(messageData.height) + offset.y
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
function scrollParent() {
|
|
452
|
-
if (window.parentIFrame) {
|
|
453
|
-
window.parentIFrame['scrollTo' + (addOffset ? 'Offset' : '')](
|
|
454
|
-
newPosition.x,
|
|
455
|
-
newPosition.y
|
|
456
|
-
);
|
|
457
|
-
} else {
|
|
458
|
-
warn(
|
|
459
|
-
iframeId,
|
|
460
|
-
'Unable to scroll to requested position, window.parentIFrame not found'
|
|
461
|
-
);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
var offset = addOffset
|
|
466
|
-
? getElementPosition(messageData.iframe)
|
|
467
|
-
: { x: 0, y: 0 },
|
|
468
|
-
newPosition = calcOffset();
|
|
469
|
-
|
|
470
|
-
log(
|
|
471
|
-
iframeId,
|
|
472
|
-
'Reposition requested from iFrame (offset x:' +
|
|
473
|
-
offset.x +
|
|
474
|
-
' y:' +
|
|
475
|
-
offset.y +
|
|
476
|
-
')'
|
|
477
|
-
);
|
|
478
|
-
|
|
479
|
-
if (window.top === window.self) {
|
|
480
|
-
reposition();
|
|
481
|
-
} else {
|
|
482
|
-
scrollParent();
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
function scrollTo() {
|
|
487
|
-
if (false === on('onScroll', pagePosition)) {
|
|
488
|
-
unsetPagePosition();
|
|
489
|
-
} else {
|
|
490
|
-
setPagePosition(iframeId);
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
function findTarget(location) {
|
|
495
|
-
function jumpToTarget() {
|
|
496
|
-
var jumpPosition = getElementPosition(target);
|
|
497
|
-
|
|
498
|
-
log(
|
|
499
|
-
iframeId,
|
|
500
|
-
'Moving to in page link (#' +
|
|
501
|
-
hash +
|
|
502
|
-
') at x: ' +
|
|
503
|
-
jumpPosition.x +
|
|
504
|
-
' y: ' +
|
|
505
|
-
jumpPosition.y
|
|
506
|
-
);
|
|
507
|
-
pagePosition = {
|
|
508
|
-
x: jumpPosition.x,
|
|
509
|
-
y: jumpPosition.y
|
|
510
|
-
};
|
|
511
|
-
|
|
512
|
-
scrollTo();
|
|
513
|
-
log(iframeId, '--');
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
function jumpToParent() {
|
|
517
|
-
if (window.parentIFrame) {
|
|
518
|
-
window.parentIFrame.moveToAnchor(hash);
|
|
519
|
-
} else {
|
|
520
|
-
log(
|
|
521
|
-
iframeId,
|
|
522
|
-
'In page link #' +
|
|
523
|
-
hash +
|
|
524
|
-
' not found and window.parentIFrame not found'
|
|
525
|
-
);
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
var hash = location.split('#')[1] || '',
|
|
530
|
-
hashData = decodeURIComponent(hash),
|
|
531
|
-
target =
|
|
532
|
-
document.getElementById(hashData) ||
|
|
533
|
-
document.getElementsByName(hashData)[0];
|
|
534
|
-
|
|
535
|
-
if (target) {
|
|
536
|
-
jumpToTarget();
|
|
537
|
-
} else if (window.top === window.self) {
|
|
538
|
-
log(iframeId, 'In page link #' + hash + ' not found');
|
|
539
|
-
} else {
|
|
540
|
-
jumpToParent();
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
function onMouse(event) {
|
|
545
|
-
var mousePos = {};
|
|
546
|
-
|
|
547
|
-
if (Number(messageData.width) === 0 && Number(messageData.height) === 0) {
|
|
548
|
-
var data = getMsgBody(9).split(':');
|
|
549
|
-
mousePos = {
|
|
550
|
-
x: data[1],
|
|
551
|
-
y: data[0]
|
|
552
|
-
};
|
|
553
|
-
} else {
|
|
554
|
-
mousePos = {
|
|
555
|
-
x: messageData.width,
|
|
556
|
-
y: messageData.height
|
|
557
|
-
};
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
on(event, {
|
|
561
|
-
iframe: messageData.iframe,
|
|
562
|
-
screenX: Number(mousePos.x),
|
|
563
|
-
screenY: Number(mousePos.y),
|
|
564
|
-
type: messageData.type
|
|
565
|
-
});
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
function on(funcName, val) {
|
|
569
|
-
return chkEvent(iframeId, funcName, val)
|
|
570
|
-
}
|
|
571
|
-
|
|
572
|
-
function actionMsg() {
|
|
573
|
-
if (settings[iframeId] && settings[iframeId].firstRun) firstRun();
|
|
574
|
-
|
|
575
|
-
switch (messageData.type) {
|
|
576
|
-
case 'close': {
|
|
577
|
-
closeIFrame(messageData.iframe);
|
|
578
|
-
break
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
case 'message': {
|
|
582
|
-
forwardMsgFromIFrame(getMsgBody(6));
|
|
583
|
-
break
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
case 'mouseenter': {
|
|
587
|
-
onMouse('onMouseEnter');
|
|
588
|
-
break
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
case 'mouseleave': {
|
|
592
|
-
onMouse('onMouseLeave');
|
|
593
|
-
break
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
case 'autoResize': {
|
|
597
|
-
settings[iframeId].autoResize = JSON.parse(getMsgBody(9));
|
|
598
|
-
break
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
case 'scrollTo': {
|
|
602
|
-
scrollRequestFromChild(false);
|
|
603
|
-
break
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
case 'scrollToOffset': {
|
|
607
|
-
scrollRequestFromChild(true);
|
|
608
|
-
break
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
case 'pageInfo': {
|
|
612
|
-
sendPageInfoToIframe(
|
|
613
|
-
settings[iframeId] && settings[iframeId].iframe,
|
|
614
|
-
iframeId
|
|
615
|
-
);
|
|
616
|
-
startPageInfoMonitor();
|
|
617
|
-
break
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
case 'pageInfoStop': {
|
|
621
|
-
stopPageInfoMonitor();
|
|
622
|
-
break
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
case 'inPageLink': {
|
|
626
|
-
findTarget(getMsgBody(9));
|
|
627
|
-
break
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
case 'reset': {
|
|
631
|
-
resetIFrame(messageData);
|
|
632
|
-
break
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
case 'init': {
|
|
636
|
-
resizeIFrame();
|
|
637
|
-
on('onInit', messageData.iframe);
|
|
638
|
-
break
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
default: {
|
|
642
|
-
if (
|
|
643
|
-
Number(messageData.width) === 0 &&
|
|
644
|
-
Number(messageData.height) === 0
|
|
645
|
-
) {
|
|
646
|
-
warn(
|
|
647
|
-
'Unsupported message received (' +
|
|
648
|
-
messageData.type +
|
|
649
|
-
'), this is likely due to the iframe containing a later ' +
|
|
650
|
-
'version of iframe-resizer than the parent page'
|
|
651
|
-
);
|
|
652
|
-
} else {
|
|
653
|
-
resizeIFrame();
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
function hasSettings(iframeId) {
|
|
660
|
-
var retBool = true;
|
|
661
|
-
|
|
662
|
-
if (!settings[iframeId]) {
|
|
663
|
-
retBool = false;
|
|
664
|
-
warn(
|
|
665
|
-
messageData.type +
|
|
666
|
-
' No settings for ' +
|
|
667
|
-
iframeId +
|
|
668
|
-
'. Message was: ' +
|
|
669
|
-
msg
|
|
670
|
-
);
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
return retBool
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
function iFrameReadyMsgReceived() {
|
|
677
|
-
// eslint-disable-next-line no-restricted-syntax, guard-for-in
|
|
678
|
-
for (var iframeId in settings) {
|
|
679
|
-
trigger(
|
|
680
|
-
'iFrame requested init',
|
|
681
|
-
createOutgoingMsg(iframeId),
|
|
682
|
-
settings[iframeId].iframe,
|
|
683
|
-
iframeId
|
|
684
|
-
);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
function firstRun() {
|
|
689
|
-
if (settings[iframeId]) {
|
|
690
|
-
settings[iframeId].firstRun = false;
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
var msg = event.data,
|
|
695
|
-
messageData = {},
|
|
696
|
-
iframeId = null;
|
|
697
|
-
|
|
698
|
-
if ('[iFrameResizerChild]Ready' === msg) {
|
|
699
|
-
iFrameReadyMsgReceived();
|
|
700
|
-
} else if (isMessageForUs()) {
|
|
701
|
-
messageData = processMsg();
|
|
702
|
-
iframeId = messageData.id;
|
|
703
|
-
if (settings[iframeId]) {
|
|
704
|
-
settings[iframeId].loaded = true;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
if (!isMessageFromMetaParent() && hasSettings(iframeId)) {
|
|
708
|
-
log(iframeId, 'Received: ' + msg);
|
|
709
|
-
|
|
710
|
-
if (checkIFrameExists() && isMessageFromIFrame()) {
|
|
711
|
-
actionMsg();
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
} else {
|
|
715
|
-
info(iframeId, 'Ignored: ' + msg);
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
function chkEvent(iframeId, funcName, val) {
|
|
720
|
-
var func = null,
|
|
721
|
-
retVal = null;
|
|
722
|
-
|
|
723
|
-
if (settings[iframeId]) {
|
|
724
|
-
func = settings[iframeId][funcName];
|
|
725
|
-
|
|
726
|
-
if ('function' === typeof func) {
|
|
727
|
-
retVal = func(val);
|
|
728
|
-
} else {
|
|
729
|
-
throw new TypeError(
|
|
730
|
-
funcName + ' on iFrame[' + iframeId + '] is not a function'
|
|
731
|
-
)
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
return retVal
|
|
736
|
-
}
|
|
737
|
-
|
|
738
|
-
function removeIframeListeners(iframe) {
|
|
739
|
-
var iframeId = iframe.id;
|
|
740
|
-
delete settings[iframeId];
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
function closeIFrame(iframe) {
|
|
744
|
-
var iframeId = iframe.id;
|
|
745
|
-
if (chkEvent(iframeId, 'onClose', iframeId) === false) {
|
|
746
|
-
log(iframeId, 'Close iframe cancelled by onClose event');
|
|
747
|
-
return
|
|
748
|
-
}
|
|
749
|
-
log(iframeId, 'Removing iFrame: ' + iframeId);
|
|
750
|
-
|
|
751
|
-
try {
|
|
752
|
-
// Catch race condition error with React
|
|
753
|
-
if (iframe.parentNode) {
|
|
754
|
-
iframe.parentNode.removeChild(iframe);
|
|
755
|
-
}
|
|
756
|
-
} catch (error) {
|
|
757
|
-
warn(error);
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
chkEvent(iframeId, 'onClosed', iframeId);
|
|
761
|
-
log(iframeId, '--');
|
|
762
|
-
removeIframeListeners(iframe);
|
|
763
|
-
if (destroyObserver) {
|
|
764
|
-
destroyObserver.disconnect();
|
|
765
|
-
destroyObserver = null;
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
function getPagePosition(iframeId) {
|
|
770
|
-
if (null === pagePosition) {
|
|
771
|
-
pagePosition = {
|
|
772
|
-
x:
|
|
773
|
-
window.pageXOffset === undefined$1
|
|
774
|
-
? document.documentElement.scrollLeft
|
|
775
|
-
: window.pageXOffset,
|
|
776
|
-
y:
|
|
777
|
-
window.pageYOffset === undefined$1
|
|
778
|
-
? document.documentElement.scrollTop
|
|
779
|
-
: window.pageYOffset
|
|
780
|
-
};
|
|
781
|
-
log(
|
|
782
|
-
iframeId,
|
|
783
|
-
'Get page position: ' + pagePosition.x + ',' + pagePosition.y
|
|
784
|
-
);
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
function setPagePosition(iframeId) {
|
|
789
|
-
if (null !== pagePosition) {
|
|
790
|
-
window.scrollTo(pagePosition.x, pagePosition.y);
|
|
791
|
-
log(
|
|
792
|
-
iframeId,
|
|
793
|
-
'Set page position: ' + pagePosition.x + ',' + pagePosition.y
|
|
794
|
-
);
|
|
795
|
-
unsetPagePosition();
|
|
796
|
-
}
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
function unsetPagePosition() {
|
|
800
|
-
pagePosition = null;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
function resetIFrame(messageData) {
|
|
804
|
-
function reset() {
|
|
805
|
-
setSize(messageData);
|
|
806
|
-
trigger('reset', 'reset', messageData.iframe, messageData.id);
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
log(
|
|
810
|
-
messageData.id,
|
|
811
|
-
'Size reset requested by ' +
|
|
812
|
-
('init' === messageData.type ? 'host page' : 'iFrame')
|
|
813
|
-
);
|
|
814
|
-
getPagePosition(messageData.id);
|
|
815
|
-
syncResize(reset, messageData, 'reset');
|
|
816
|
-
}
|
|
817
|
-
|
|
818
|
-
function setSize(messageData) {
|
|
819
|
-
function setDimension(dimension) {
|
|
820
|
-
if (!messageData.id) {
|
|
821
|
-
log('undefined', 'messageData id not set');
|
|
822
|
-
return
|
|
823
|
-
}
|
|
824
|
-
messageData.iframe.style[dimension] = messageData[dimension] + 'px';
|
|
825
|
-
log(
|
|
826
|
-
messageData.id,
|
|
827
|
-
'IFrame (' +
|
|
828
|
-
iframeId +
|
|
829
|
-
') ' +
|
|
830
|
-
dimension +
|
|
831
|
-
' set to ' +
|
|
832
|
-
messageData[dimension] +
|
|
833
|
-
'px'
|
|
834
|
-
);
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
function chkZero(dimension) {
|
|
838
|
-
// FireFox sets dimension of hidden iFrames to zero.
|
|
839
|
-
// So if we detect that set up an event to check for
|
|
840
|
-
// when iFrame becomes visible.
|
|
841
|
-
|
|
842
|
-
/* istanbul ignore next */ // Not testable in PhantomJS
|
|
843
|
-
if (!hiddenCheckEnabled && '0' === messageData[dimension]) {
|
|
844
|
-
hiddenCheckEnabled = true;
|
|
845
|
-
log(iframeId, 'Hidden iFrame detected, creating visibility listener');
|
|
846
|
-
fixHiddenIFrames();
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
function processDimension(dimension) {
|
|
851
|
-
setDimension(dimension);
|
|
852
|
-
chkZero(dimension);
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
var iframeId = messageData.iframe.id;
|
|
856
|
-
|
|
857
|
-
if (settings[iframeId]) {
|
|
858
|
-
if (settings[iframeId].sizeHeight) {
|
|
859
|
-
processDimension('height');
|
|
860
|
-
}
|
|
861
|
-
if (settings[iframeId].sizeWidth) {
|
|
862
|
-
processDimension('width');
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
function syncResize(func, messageData, doNotSync) {
|
|
868
|
-
/* istanbul ignore if */ // Not testable in PhantomJS
|
|
869
|
-
if (
|
|
870
|
-
doNotSync !== messageData.type &&
|
|
871
|
-
requestAnimationFrame &&
|
|
872
|
-
// including check for jasmine because had trouble getting spy to work in unit test using requestAnimationFrame
|
|
873
|
-
!window.jasmine
|
|
874
|
-
) {
|
|
875
|
-
log(messageData.id, 'Requesting animation frame');
|
|
876
|
-
requestAnimationFrame(func);
|
|
877
|
-
} else {
|
|
878
|
-
func();
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
function trigger(calleeMsg, msg, iframe, id, noResponseWarning) {
|
|
883
|
-
function postMessageToIFrame() {
|
|
884
|
-
var target = settings[id] && settings[id].targetOrigin;
|
|
885
|
-
log(
|
|
886
|
-
id,
|
|
887
|
-
'[' +
|
|
888
|
-
calleeMsg +
|
|
889
|
-
'] Sending msg to iframe[' +
|
|
890
|
-
id +
|
|
891
|
-
'] (' +
|
|
892
|
-
msg +
|
|
893
|
-
') targetOrigin: ' +
|
|
894
|
-
target
|
|
895
|
-
);
|
|
896
|
-
iframe.contentWindow.postMessage(msgId + msg, target);
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
function iFrameNotFound() {
|
|
900
|
-
warn(id, '[' + calleeMsg + '] IFrame(' + id + ') not found');
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
function chkAndSend() {
|
|
904
|
-
if (
|
|
905
|
-
iframe &&
|
|
906
|
-
'contentWindow' in iframe &&
|
|
907
|
-
null !== iframe.contentWindow
|
|
908
|
-
) {
|
|
909
|
-
// Null test for PhantomJS
|
|
910
|
-
postMessageToIFrame();
|
|
911
|
-
} else {
|
|
912
|
-
iFrameNotFound();
|
|
913
|
-
}
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
function warnOnNoResponse() {
|
|
917
|
-
function warning() {
|
|
918
|
-
if (settings[id] && !settings[id].loaded && !errorShown) {
|
|
919
|
-
errorShown = true;
|
|
920
|
-
warn(
|
|
921
|
-
id,
|
|
922
|
-
'IFrame has not responded within ' +
|
|
923
|
-
settings[id].warningTimeout / 1000 +
|
|
924
|
-
' seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.'
|
|
925
|
-
);
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
if (
|
|
930
|
-
!!noResponseWarning &&
|
|
931
|
-
settings[id] &&
|
|
932
|
-
!!settings[id].warningTimeout
|
|
933
|
-
) {
|
|
934
|
-
settings[id].msgTimeout = setTimeout(
|
|
935
|
-
warning,
|
|
936
|
-
settings[id].warningTimeout
|
|
937
|
-
);
|
|
938
|
-
}
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
var errorShown = false;
|
|
942
|
-
|
|
943
|
-
id = id || iframe.id;
|
|
944
|
-
|
|
945
|
-
if (settings[id]) {
|
|
946
|
-
chkAndSend();
|
|
947
|
-
warnOnNoResponse();
|
|
948
|
-
}
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
function createOutgoingMsg(iframeId) {
|
|
952
|
-
return (
|
|
953
|
-
iframeId +
|
|
954
|
-
':' +
|
|
955
|
-
settings[iframeId].bodyMarginV1 +
|
|
956
|
-
':' +
|
|
957
|
-
settings[iframeId].sizeWidth +
|
|
958
|
-
':' +
|
|
959
|
-
settings[iframeId].log +
|
|
960
|
-
':' +
|
|
961
|
-
settings[iframeId].interval +
|
|
962
|
-
':' +
|
|
963
|
-
settings[iframeId].enablePublicMethods +
|
|
964
|
-
':' +
|
|
965
|
-
settings[iframeId].autoResize +
|
|
966
|
-
':' +
|
|
967
|
-
settings[iframeId].bodyMargin +
|
|
968
|
-
':' +
|
|
969
|
-
settings[iframeId].heightCalculationMethod +
|
|
970
|
-
':' +
|
|
971
|
-
settings[iframeId].bodyBackground +
|
|
972
|
-
':' +
|
|
973
|
-
settings[iframeId].bodyPadding +
|
|
974
|
-
':' +
|
|
975
|
-
settings[iframeId].tolerance +
|
|
976
|
-
':' +
|
|
977
|
-
settings[iframeId].inPageLinks +
|
|
978
|
-
':' +
|
|
979
|
-
settings[iframeId].resizeFrom +
|
|
980
|
-
':' +
|
|
981
|
-
settings[iframeId].widthCalculationMethod +
|
|
982
|
-
':' +
|
|
983
|
-
settings[iframeId].mouseEvents
|
|
984
|
-
)
|
|
985
|
-
}
|
|
986
|
-
|
|
987
|
-
function isNumber(value) {
|
|
988
|
-
return typeof value === 'number'
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
function setupIFrame(iframe, options) {
|
|
992
|
-
function setLimits() {
|
|
993
|
-
function addStyle(style) {
|
|
994
|
-
var styleValue = settings[iframeId][style];
|
|
995
|
-
if (Infinity !== styleValue && 0 !== styleValue) {
|
|
996
|
-
iframe.style[style] = isNumber(styleValue)
|
|
997
|
-
? styleValue + 'px'
|
|
998
|
-
: styleValue;
|
|
999
|
-
log(iframeId, 'Set ' + style + ' = ' + iframe.style[style]);
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
function chkMinMax(dimension) {
|
|
1004
|
-
if (
|
|
1005
|
-
settings[iframeId]['min' + dimension] >
|
|
1006
|
-
settings[iframeId]['max' + dimension]
|
|
1007
|
-
) {
|
|
1008
|
-
throw new Error(
|
|
1009
|
-
'Value for min' +
|
|
1010
|
-
dimension +
|
|
1011
|
-
' can not be greater than max' +
|
|
1012
|
-
dimension
|
|
1013
|
-
)
|
|
1014
|
-
}
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
chkMinMax('Height');
|
|
1018
|
-
chkMinMax('Width');
|
|
1019
|
-
|
|
1020
|
-
addStyle('maxHeight');
|
|
1021
|
-
addStyle('minHeight');
|
|
1022
|
-
addStyle('maxWidth');
|
|
1023
|
-
addStyle('minWidth');
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
function newId() {
|
|
1027
|
-
var id = (options && options.id) || defaults.id + count++;
|
|
1028
|
-
if (null !== document.getElementById(id)) {
|
|
1029
|
-
id += count++;
|
|
1030
|
-
}
|
|
1031
|
-
return id
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
function ensureHasId(iframeId) {
|
|
1035
|
-
if (typeof iframeId !== 'string') {
|
|
1036
|
-
throw new TypeError('Invaild id for iFrame. Expected String')
|
|
1037
|
-
}
|
|
1038
|
-
|
|
1039
|
-
if ('' === iframeId) {
|
|
1040
|
-
// eslint-disable-next-line no-multi-assign
|
|
1041
|
-
iframe.id = iframeId = newId();
|
|
1042
|
-
logEnabled = (options || {}).log;
|
|
1043
|
-
log(
|
|
1044
|
-
iframeId,
|
|
1045
|
-
'Added missing iframe ID: ' + iframeId + ' (' + iframe.src + ')'
|
|
1046
|
-
);
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
return iframeId
|
|
1050
|
-
}
|
|
1051
|
-
|
|
1052
|
-
function setScrolling() {
|
|
1053
|
-
log(
|
|
1054
|
-
iframeId,
|
|
1055
|
-
'IFrame scrolling ' +
|
|
1056
|
-
(settings[iframeId] && settings[iframeId].scrolling
|
|
1057
|
-
? 'enabled'
|
|
1058
|
-
: 'disabled') +
|
|
1059
|
-
' for ' +
|
|
1060
|
-
iframeId
|
|
1061
|
-
);
|
|
1062
|
-
iframe.style.overflow =
|
|
1063
|
-
false === (settings[iframeId] && settings[iframeId].scrolling)
|
|
1064
|
-
? 'hidden'
|
|
1065
|
-
: 'auto';
|
|
1066
|
-
switch (settings[iframeId] && settings[iframeId].scrolling) {
|
|
1067
|
-
case 'omit': {
|
|
1068
|
-
break
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
case true: {
|
|
1072
|
-
iframe.scrolling = 'yes';
|
|
1073
|
-
break
|
|
1074
|
-
}
|
|
1075
|
-
|
|
1076
|
-
case false: {
|
|
1077
|
-
iframe.scrolling = 'no';
|
|
1078
|
-
break
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
default: {
|
|
1082
|
-
iframe.scrolling = settings[iframeId]
|
|
1083
|
-
? settings[iframeId].scrolling
|
|
1084
|
-
: 'no';
|
|
1085
|
-
}
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
// The V1 iFrame script expects an int, where as in V2 expects a CSS
|
|
1090
|
-
// string value such as '1px 3em', so if we have an int for V2, set V1=V2
|
|
1091
|
-
// and then convert V2 to a string PX value.
|
|
1092
|
-
function setupBodyMarginValues() {
|
|
1093
|
-
if (
|
|
1094
|
-
'number' ===
|
|
1095
|
-
typeof (settings[iframeId] && settings[iframeId].bodyMargin) ||
|
|
1096
|
-
'0' === (settings[iframeId] && settings[iframeId].bodyMargin)
|
|
1097
|
-
) {
|
|
1098
|
-
settings[iframeId].bodyMarginV1 = settings[iframeId].bodyMargin;
|
|
1099
|
-
settings[iframeId].bodyMargin =
|
|
1100
|
-
'' + settings[iframeId].bodyMargin + 'px';
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
function checkReset() {
|
|
1105
|
-
// Reduce scope of firstRun to function, because IE8's JS execution
|
|
1106
|
-
// context stack is borked and this value gets externally
|
|
1107
|
-
// changed midway through running this function!!!
|
|
1108
|
-
var firstRun = settings[iframeId] && settings[iframeId].firstRun,
|
|
1109
|
-
resetRequertMethod =
|
|
1110
|
-
settings[iframeId] &&
|
|
1111
|
-
settings[iframeId].heightCalculationMethod in resetRequiredMethods;
|
|
1112
|
-
|
|
1113
|
-
if (!firstRun && resetRequertMethod) {
|
|
1114
|
-
resetIFrame({ iframe: iframe, height: 0, width: 0, type: 'init' });
|
|
1115
|
-
}
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
function setupIFrameObject() {
|
|
1119
|
-
if (settings[iframeId]) {
|
|
1120
|
-
settings[iframeId].iframe.iFrameResizer = {
|
|
1121
|
-
close: closeIFrame.bind(null, settings[iframeId].iframe),
|
|
1122
|
-
|
|
1123
|
-
removeListeners: removeIframeListeners.bind(
|
|
1124
|
-
null,
|
|
1125
|
-
settings[iframeId].iframe
|
|
1126
|
-
),
|
|
1127
|
-
|
|
1128
|
-
resize: trigger.bind(
|
|
1129
|
-
null,
|
|
1130
|
-
'Window resize',
|
|
1131
|
-
'resize',
|
|
1132
|
-
settings[iframeId].iframe
|
|
1133
|
-
),
|
|
1134
|
-
|
|
1135
|
-
moveToAnchor: function (anchor) {
|
|
1136
|
-
trigger(
|
|
1137
|
-
'Move to anchor',
|
|
1138
|
-
'moveToAnchor:' + anchor,
|
|
1139
|
-
settings[iframeId].iframe,
|
|
1140
|
-
iframeId
|
|
1141
|
-
);
|
|
1142
|
-
},
|
|
1143
|
-
|
|
1144
|
-
sendMessage: function (message) {
|
|
1145
|
-
message = JSON.stringify(message);
|
|
1146
|
-
trigger(
|
|
1147
|
-
'Send Message',
|
|
1148
|
-
'message:' + message,
|
|
1149
|
-
settings[iframeId].iframe,
|
|
1150
|
-
iframeId
|
|
1151
|
-
);
|
|
1152
|
-
}
|
|
1153
|
-
};
|
|
1154
|
-
}
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
// We have to call trigger twice, as we can not be sure if all
|
|
1158
|
-
// iframes have completed loading when this code runs. The
|
|
1159
|
-
// event listener also catches the page changing in the iFrame.
|
|
1160
|
-
function init(msg) {
|
|
1161
|
-
function iFrameLoaded() {
|
|
1162
|
-
trigger('iFrame.onload', msg, iframe, undefined$1, true);
|
|
1163
|
-
checkReset();
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
function createDestroyObserver(MutationObserver) {
|
|
1167
|
-
if (!iframe.parentNode) {
|
|
1168
|
-
return null
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
var destroyObserver = new MutationObserver(function (mutations) {
|
|
1172
|
-
mutations.forEach(function (mutation) {
|
|
1173
|
-
var removedNodes = Array.prototype.slice.call(mutation.removedNodes); // Transform NodeList into an Array
|
|
1174
|
-
removedNodes.forEach(function (removedNode) {
|
|
1175
|
-
if (removedNode === iframe) {
|
|
1176
|
-
closeIFrame(iframe);
|
|
1177
|
-
}
|
|
1178
|
-
});
|
|
1179
|
-
});
|
|
1180
|
-
});
|
|
1181
|
-
destroyObserver.observe(iframe.parentNode, {
|
|
1182
|
-
childList: true
|
|
1183
|
-
});
|
|
1184
|
-
return destroyObserver
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
var MutationObserver = getMutationObserver();
|
|
1188
|
-
if (MutationObserver) {
|
|
1189
|
-
destroyObserver = createDestroyObserver(MutationObserver);
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
addEventListener(iframe, 'load', iFrameLoaded);
|
|
1193
|
-
trigger('init', msg, iframe, undefined$1, true);
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
function checkOptions(options) {
|
|
1197
|
-
if ('object' !== typeof options) {
|
|
1198
|
-
throw new TypeError('Options is not an object')
|
|
1199
|
-
}
|
|
1200
|
-
}
|
|
1201
|
-
|
|
1202
|
-
function copyOptions(options) {
|
|
1203
|
-
// eslint-disable-next-line no-restricted-syntax
|
|
1204
|
-
for (var option in defaults) {
|
|
1205
|
-
if (Object.prototype.hasOwnProperty.call(defaults, option)) {
|
|
1206
|
-
settings[iframeId][option] = Object.prototype.hasOwnProperty.call(
|
|
1207
|
-
options,
|
|
1208
|
-
option
|
|
1209
|
-
)
|
|
1210
|
-
? options[option]
|
|
1211
|
-
: defaults[option];
|
|
1212
|
-
}
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
function getTargetOrigin(remoteHost) {
|
|
1217
|
-
return '' === remoteHost ||
|
|
1218
|
-
null !== remoteHost.match(/^(about:blank|javascript:|file:\/\/)/)
|
|
1219
|
-
? '*'
|
|
1220
|
-
: remoteHost
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
function depricate(key) {
|
|
1224
|
-
var splitName = key.split('Callback');
|
|
1225
|
-
|
|
1226
|
-
if (splitName.length === 2) {
|
|
1227
|
-
var name =
|
|
1228
|
-
'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
|
|
1229
|
-
this[name] = this[key];
|
|
1230
|
-
delete this[key];
|
|
1231
|
-
warn(
|
|
1232
|
-
iframeId,
|
|
1233
|
-
"Deprecated: '" +
|
|
1234
|
-
key +
|
|
1235
|
-
"' has been renamed '" +
|
|
1236
|
-
name +
|
|
1237
|
-
"'. The old method will be removed in the next major version."
|
|
1238
|
-
);
|
|
1239
|
-
}
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
function processOptions(options) {
|
|
1243
|
-
options = options || {};
|
|
1244
|
-
|
|
1245
|
-
settings[iframeId] = Object.create(null); // Protect against prototype attacks
|
|
1246
|
-
settings[iframeId].iframe = iframe;
|
|
1247
|
-
settings[iframeId].firstRun = true;
|
|
1248
|
-
settings[iframeId].remoteHost =
|
|
1249
|
-
iframe.src && iframe.src.split('/').slice(0, 3).join('/');
|
|
1250
|
-
|
|
1251
|
-
checkOptions(options);
|
|
1252
|
-
Object.keys(options).forEach(depricate, options);
|
|
1253
|
-
copyOptions(options);
|
|
1254
|
-
|
|
1255
|
-
if (settings[iframeId]) {
|
|
1256
|
-
settings[iframeId].targetOrigin =
|
|
1257
|
-
true === settings[iframeId].checkOrigin
|
|
1258
|
-
? getTargetOrigin(settings[iframeId].remoteHost)
|
|
1259
|
-
: '*';
|
|
1260
|
-
}
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
function beenHere() {
|
|
1264
|
-
return iframeId in settings && 'iFrameResizer' in iframe
|
|
1265
|
-
}
|
|
1266
|
-
|
|
1267
|
-
var iframeId = ensureHasId(iframe.id);
|
|
1268
|
-
|
|
1269
|
-
if (beenHere()) {
|
|
1270
|
-
warn(iframeId, 'Ignored iFrame, already setup.');
|
|
1271
|
-
} else {
|
|
1272
|
-
processOptions(options);
|
|
1273
|
-
setScrolling();
|
|
1274
|
-
setLimits();
|
|
1275
|
-
setupBodyMarginValues();
|
|
1276
|
-
init(createOutgoingMsg(iframeId));
|
|
1277
|
-
setupIFrameObject();
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
|
|
1281
|
-
function debouce(fn, time) {
|
|
1282
|
-
if (null === timer) {
|
|
1283
|
-
timer = setTimeout(function () {
|
|
1284
|
-
timer = null;
|
|
1285
|
-
fn();
|
|
1286
|
-
}, time);
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
var frameTimer = {};
|
|
1291
|
-
function debounceFrameEvents(fn, time, frameId) {
|
|
1292
|
-
if (!frameTimer[frameId]) {
|
|
1293
|
-
frameTimer[frameId] = setTimeout(function () {
|
|
1294
|
-
frameTimer[frameId] = null;
|
|
1295
|
-
fn();
|
|
1296
|
-
}, time);
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
|
|
1300
|
-
// Not testable in PhantomJS
|
|
1301
|
-
/* istanbul ignore next */
|
|
1302
|
-
|
|
1303
|
-
function fixHiddenIFrames() {
|
|
1304
|
-
function checkIFrames() {
|
|
1305
|
-
function checkIFrame(settingId) {
|
|
1306
|
-
function chkDimension(dimension) {
|
|
1307
|
-
return (
|
|
1308
|
-
'0px' ===
|
|
1309
|
-
(settings[settingId] && settings[settingId].iframe.style[dimension])
|
|
1310
|
-
)
|
|
1311
|
-
}
|
|
1312
|
-
|
|
1313
|
-
function isVisible(el) {
|
|
1314
|
-
return null !== el.offsetParent
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
if (
|
|
1318
|
-
settings[settingId] &&
|
|
1319
|
-
isVisible(settings[settingId].iframe) &&
|
|
1320
|
-
(chkDimension('height') || chkDimension('width'))
|
|
1321
|
-
) {
|
|
1322
|
-
trigger(
|
|
1323
|
-
'Visibility change',
|
|
1324
|
-
'resize',
|
|
1325
|
-
settings[settingId].iframe,
|
|
1326
|
-
settingId
|
|
1327
|
-
);
|
|
1328
|
-
}
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
Object.keys(settings).forEach(function (key) {
|
|
1332
|
-
checkIFrame(key);
|
|
1333
|
-
});
|
|
1334
|
-
}
|
|
1335
|
-
|
|
1336
|
-
function mutationObserved(mutations) {
|
|
1337
|
-
log(
|
|
1338
|
-
'window',
|
|
1339
|
-
'Mutation observed: ' + mutations[0].target + ' ' + mutations[0].type
|
|
1340
|
-
);
|
|
1341
|
-
debouce(checkIFrames, 16);
|
|
1342
|
-
}
|
|
1343
|
-
|
|
1344
|
-
function createMutationObserver() {
|
|
1345
|
-
var target = document.querySelector('body'),
|
|
1346
|
-
config = {
|
|
1347
|
-
attributes: true,
|
|
1348
|
-
attributeOldValue: false,
|
|
1349
|
-
characterData: true,
|
|
1350
|
-
characterDataOldValue: false,
|
|
1351
|
-
childList: true,
|
|
1352
|
-
subtree: true
|
|
1353
|
-
},
|
|
1354
|
-
observer = new MutationObserver(mutationObserved);
|
|
1355
|
-
|
|
1356
|
-
observer.observe(target, config);
|
|
1357
|
-
}
|
|
1358
|
-
|
|
1359
|
-
var MutationObserver = getMutationObserver();
|
|
1360
|
-
if (MutationObserver) {
|
|
1361
|
-
createMutationObserver();
|
|
1362
|
-
}
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
function resizeIFrames(event) {
|
|
1366
|
-
function resize() {
|
|
1367
|
-
sendTriggerMsg('Window ' + event, 'resize');
|
|
1368
|
-
}
|
|
1369
|
-
|
|
1370
|
-
log('window', 'Trigger event: ' + event);
|
|
1371
|
-
debouce(resize, 16);
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
// Not testable in PhantomJS
|
|
1375
|
-
/* istanbul ignore next */
|
|
1376
|
-
function tabVisible() {
|
|
1377
|
-
function resize() {
|
|
1378
|
-
sendTriggerMsg('Tab Visible', 'resize');
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
if ('hidden' !== document.visibilityState) {
|
|
1382
|
-
log('document', 'Trigger event: Visibility change');
|
|
1383
|
-
debouce(resize, 16);
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
function sendTriggerMsg(eventName, event) {
|
|
1388
|
-
function isIFrameResizeEnabled(iframeId) {
|
|
1389
|
-
return (
|
|
1390
|
-
settings[iframeId] &&
|
|
1391
|
-
'parent' === settings[iframeId].resizeFrom &&
|
|
1392
|
-
settings[iframeId].autoResize &&
|
|
1393
|
-
!settings[iframeId].firstRun
|
|
1394
|
-
)
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
Object.keys(settings).forEach(function (iframeId) {
|
|
1398
|
-
if (isIFrameResizeEnabled(iframeId)) {
|
|
1399
|
-
trigger(eventName, event, settings[iframeId].iframe, iframeId);
|
|
1400
|
-
}
|
|
1401
|
-
});
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
function setupEventListeners() {
|
|
1405
|
-
addEventListener(window, 'message', iFrameListener);
|
|
1406
|
-
|
|
1407
|
-
addEventListener(window, 'resize', function () {
|
|
1408
|
-
resizeIFrames('resize');
|
|
1409
|
-
});
|
|
1410
|
-
|
|
1411
|
-
addEventListener(document, 'visibilitychange', tabVisible);
|
|
1412
|
-
|
|
1413
|
-
addEventListener(document, '-webkit-visibilitychange', tabVisible);
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
function factory() {
|
|
1417
|
-
function init(options, element) {
|
|
1418
|
-
function chkType() {
|
|
1419
|
-
if (!element.tagName) {
|
|
1420
|
-
throw new TypeError('Object is not a valid DOM element')
|
|
1421
|
-
} else if ('IFRAME' !== element.tagName.toUpperCase()) {
|
|
1422
|
-
throw new TypeError(
|
|
1423
|
-
'Expected <IFRAME> tag, found <' + element.tagName + '>'
|
|
1424
|
-
)
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
|
|
1428
|
-
if (element) {
|
|
1429
|
-
chkType();
|
|
1430
|
-
setupIFrame(element, options);
|
|
1431
|
-
iFrames.push(element);
|
|
1432
|
-
}
|
|
1433
|
-
}
|
|
1434
|
-
|
|
1435
|
-
function warnDeprecatedOptions(options) {
|
|
1436
|
-
if (options && options.enablePublicMethods) {
|
|
1437
|
-
warn(
|
|
1438
|
-
'enablePublicMethods option has been removed, public methods are now always available in the iFrame'
|
|
1439
|
-
);
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
|
|
1443
|
-
var iFrames;
|
|
1444
|
-
|
|
1445
|
-
setupRequestAnimationFrame();
|
|
1446
|
-
setupEventListeners();
|
|
1447
|
-
|
|
1448
|
-
return function iFrameResizeF(options, target) {
|
|
1449
|
-
iFrames = []; // Only return iFrames past in on this call
|
|
1450
|
-
|
|
1451
|
-
warnDeprecatedOptions(options);
|
|
1452
|
-
|
|
1453
|
-
switch (typeof target) {
|
|
1454
|
-
case 'undefined':
|
|
1455
|
-
case 'string': {
|
|
1456
|
-
Array.prototype.forEach.call(
|
|
1457
|
-
document.querySelectorAll(target || 'iframe'),
|
|
1458
|
-
init.bind(undefined$1, options)
|
|
1459
|
-
);
|
|
1460
|
-
break
|
|
1461
|
-
}
|
|
1462
|
-
|
|
1463
|
-
case 'object': {
|
|
1464
|
-
init(options, target);
|
|
1465
|
-
break
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
default: {
|
|
1469
|
-
throw new TypeError('Unexpected data type (' + typeof target + ')')
|
|
1470
|
-
}
|
|
1471
|
-
}
|
|
1472
|
-
|
|
1473
|
-
return iFrames
|
|
1474
|
-
}
|
|
1475
|
-
}
|
|
1476
|
-
|
|
1477
|
-
function createJQueryPublicMethod($) {
|
|
1478
|
-
if (!$.fn) {
|
|
1479
|
-
info('', 'Unable to bind to jQuery, it is not fully loaded.');
|
|
1480
|
-
} else if (!$.fn.iFrameResize) {
|
|
1481
|
-
$.fn.iFrameResize = function $iFrameResizeF(options) {
|
|
1482
|
-
function init(index, element) {
|
|
1483
|
-
setupIFrame(element, options);
|
|
1484
|
-
}
|
|
1485
|
-
|
|
1486
|
-
return this.filter('iframe').each(init).end()
|
|
1487
|
-
};
|
|
1488
|
-
}
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
if (window.jQuery !== undefined$1) {
|
|
1492
|
-
createJQueryPublicMethod(window.jQuery);
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
{
|
|
1496
|
-
// Node for browserfy
|
|
1497
|
-
module.exports = factory();
|
|
1498
|
-
}
|
|
1499
|
-
window.iFrameResize = window.iFrameResize || factory();
|
|
1500
|
-
})();
|
|
1501
|
-
} (iframeResizer$1));
|
|
1502
|
-
return iframeResizer$1.exports;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
|
-
var iframeResizer_contentWindow = {exports: {}};
|
|
1506
|
-
|
|
1507
|
-
/*
|
|
1508
|
-
* File: iframeResizer.contentWindow.js
|
|
1509
|
-
* Desc: Include this file in any page being loaded into an iframe
|
|
1510
|
-
* to force the iframe to resize to the content size.
|
|
1511
|
-
* Requires: iframeResizer.js on host page.
|
|
1512
|
-
* Doc: https://iframe-resizer.com
|
|
1513
|
-
* Author: David J. Bradshaw - info@iframe-resizer.com
|
|
1514
|
-
*
|
|
1515
|
-
*/
|
|
1516
|
-
|
|
1517
|
-
var hasRequiredIframeResizer_contentWindow;
|
|
1518
|
-
|
|
1519
|
-
function requireIframeResizer_contentWindow () {
|
|
1520
|
-
if (hasRequiredIframeResizer_contentWindow) return iframeResizer_contentWindow.exports;
|
|
1521
|
-
hasRequiredIframeResizer_contentWindow = 1;
|
|
1522
|
-
(function (module) {
|
|
1523
|
-
(function (undefined$1) {
|
|
1524
|
-
if (typeof window === 'undefined') return // don't run for server side render
|
|
1525
|
-
|
|
1526
|
-
var autoResize = true,
|
|
1527
|
-
base = 10,
|
|
1528
|
-
bodyBackground = '',
|
|
1529
|
-
bodyMargin = 0,
|
|
1530
|
-
bodyMarginStr = '',
|
|
1531
|
-
bodyObserver = null,
|
|
1532
|
-
bodyPadding = '',
|
|
1533
|
-
calculateWidth = false,
|
|
1534
|
-
doubleEventList = { resize: 1, click: 1 },
|
|
1535
|
-
eventCancelTimer = 128,
|
|
1536
|
-
firstRun = true,
|
|
1537
|
-
height = 1,
|
|
1538
|
-
heightCalcModeDefault = 'bodyOffset',
|
|
1539
|
-
heightCalcMode = heightCalcModeDefault,
|
|
1540
|
-
initLock = true,
|
|
1541
|
-
initMsg = '',
|
|
1542
|
-
inPageLinks = {},
|
|
1543
|
-
interval = 32,
|
|
1544
|
-
intervalTimer = null,
|
|
1545
|
-
logging = false,
|
|
1546
|
-
mouseEvents = false,
|
|
1547
|
-
msgID = '[iFrameSizer]', // Must match host page msg ID
|
|
1548
|
-
msgIdLen = msgID.length,
|
|
1549
|
-
myID = '',
|
|
1550
|
-
resetRequiredMethods = {
|
|
1551
|
-
max: 1,
|
|
1552
|
-
min: 1,
|
|
1553
|
-
bodyScroll: 1,
|
|
1554
|
-
documentElementScroll: 1
|
|
1555
|
-
},
|
|
1556
|
-
resizeFrom = 'child',
|
|
1557
|
-
target = window.parent,
|
|
1558
|
-
targetOriginDefault = '*',
|
|
1559
|
-
tolerance = 0,
|
|
1560
|
-
triggerLocked = false,
|
|
1561
|
-
triggerLockedTimer = null,
|
|
1562
|
-
throttledTimer = 16,
|
|
1563
|
-
width = 1,
|
|
1564
|
-
widthCalcModeDefault = 'scroll',
|
|
1565
|
-
widthCalcMode = widthCalcModeDefault,
|
|
1566
|
-
win = window,
|
|
1567
|
-
onMessage = function () {
|
|
1568
|
-
warn('onMessage function not defined');
|
|
1569
|
-
},
|
|
1570
|
-
onReady = function () {},
|
|
1571
|
-
onPageInfo = function () {},
|
|
1572
|
-
customCalcMethods = {
|
|
1573
|
-
height: function () {
|
|
1574
|
-
warn('Custom height calculation function not defined');
|
|
1575
|
-
return document.documentElement.offsetHeight
|
|
1576
|
-
},
|
|
1577
|
-
width: function () {
|
|
1578
|
-
warn('Custom width calculation function not defined');
|
|
1579
|
-
return document.body.scrollWidth
|
|
1580
|
-
}
|
|
1581
|
-
},
|
|
1582
|
-
eventHandlersByName = {},
|
|
1583
|
-
passiveSupported = false;
|
|
1584
|
-
|
|
1585
|
-
function noop() {}
|
|
1586
|
-
|
|
1587
|
-
try {
|
|
1588
|
-
var options = Object.create(
|
|
1589
|
-
{},
|
|
1590
|
-
{
|
|
1591
|
-
passive: {
|
|
1592
|
-
// eslint-disable-next-line getter-return
|
|
1593
|
-
get: function () {
|
|
1594
|
-
passiveSupported = true;
|
|
1595
|
-
}
|
|
1596
|
-
}
|
|
1597
|
-
}
|
|
1598
|
-
);
|
|
1599
|
-
window.addEventListener('test', noop, options);
|
|
1600
|
-
window.removeEventListener('test', noop, options);
|
|
1601
|
-
} catch (error) {
|
|
1602
|
-
/* */
|
|
1603
|
-
}
|
|
1604
|
-
|
|
1605
|
-
function addEventListener(el, evt, func, options) {
|
|
1606
|
-
el.addEventListener(evt, func, passiveSupported ? options || {} : false);
|
|
1607
|
-
}
|
|
1608
|
-
|
|
1609
|
-
function removeEventListener(el, evt, func) {
|
|
1610
|
-
el.removeEventListener(evt, func, false);
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
function capitalizeFirstLetter(string) {
|
|
1614
|
-
return string.charAt(0).toUpperCase() + string.slice(1)
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
// Based on underscore.js
|
|
1618
|
-
function throttle(func) {
|
|
1619
|
-
var context,
|
|
1620
|
-
args,
|
|
1621
|
-
result,
|
|
1622
|
-
timeout = null,
|
|
1623
|
-
previous = 0,
|
|
1624
|
-
later = function () {
|
|
1625
|
-
previous = Date.now();
|
|
1626
|
-
timeout = null;
|
|
1627
|
-
result = func.apply(context, args);
|
|
1628
|
-
if (!timeout) {
|
|
1629
|
-
// eslint-disable-next-line no-multi-assign
|
|
1630
|
-
context = args = null;
|
|
1631
|
-
}
|
|
1632
|
-
};
|
|
1633
|
-
|
|
1634
|
-
return function () {
|
|
1635
|
-
var now = Date.now();
|
|
1636
|
-
|
|
1637
|
-
if (!previous) {
|
|
1638
|
-
previous = now;
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
var remaining = throttledTimer - (now - previous);
|
|
1642
|
-
|
|
1643
|
-
context = this;
|
|
1644
|
-
args = arguments;
|
|
1645
|
-
|
|
1646
|
-
if (remaining <= 0 || remaining > throttledTimer) {
|
|
1647
|
-
if (timeout) {
|
|
1648
|
-
clearTimeout(timeout);
|
|
1649
|
-
timeout = null;
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
previous = now;
|
|
1653
|
-
result = func.apply(context, args);
|
|
1654
|
-
|
|
1655
|
-
if (!timeout) {
|
|
1656
|
-
// eslint-disable-next-line no-multi-assign
|
|
1657
|
-
context = args = null;
|
|
1658
|
-
}
|
|
1659
|
-
} else if (!timeout) {
|
|
1660
|
-
timeout = setTimeout(later, remaining);
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
return result
|
|
1664
|
-
}
|
|
1665
|
-
}
|
|
1666
|
-
|
|
1667
|
-
function formatLogMsg(msg) {
|
|
1668
|
-
return msgID + '[' + myID + '] ' + msg
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
function log(msg) {
|
|
1672
|
-
if (logging && 'object' === typeof window.console) {
|
|
1673
|
-
// eslint-disable-next-line no-console
|
|
1674
|
-
console.log(formatLogMsg(msg));
|
|
1675
|
-
}
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
function warn(msg) {
|
|
1679
|
-
if ('object' === typeof window.console) {
|
|
1680
|
-
// eslint-disable-next-line no-console
|
|
1681
|
-
console.warn(formatLogMsg(msg));
|
|
1682
|
-
}
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
function init() {
|
|
1686
|
-
readDataFromParent();
|
|
1687
|
-
log('Initialising iFrame (' + window.location.href + ')');
|
|
1688
|
-
readDataFromPage();
|
|
1689
|
-
setMargin();
|
|
1690
|
-
setBodyStyle('background', bodyBackground);
|
|
1691
|
-
setBodyStyle('padding', bodyPadding);
|
|
1692
|
-
injectClearFixIntoBodyElement();
|
|
1693
|
-
checkHeightMode();
|
|
1694
|
-
checkWidthMode();
|
|
1695
|
-
stopInfiniteResizingOfIFrame();
|
|
1696
|
-
setupPublicMethods();
|
|
1697
|
-
setupMouseEvents();
|
|
1698
|
-
startEventListeners();
|
|
1699
|
-
inPageLinks = setupInPageLinks();
|
|
1700
|
-
sendSize('init', 'Init message from host page');
|
|
1701
|
-
onReady();
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
function readDataFromParent() {
|
|
1705
|
-
function strBool(str) {
|
|
1706
|
-
return 'true' === str
|
|
1707
|
-
}
|
|
1708
|
-
|
|
1709
|
-
var data = initMsg.slice(msgIdLen).split(':');
|
|
1710
|
-
|
|
1711
|
-
myID = data[0];
|
|
1712
|
-
bodyMargin = undefined$1 === data[1] ? bodyMargin : Number(data[1]); // For V1 compatibility
|
|
1713
|
-
calculateWidth = undefined$1 === data[2] ? calculateWidth : strBool(data[2]);
|
|
1714
|
-
logging = undefined$1 === data[3] ? logging : strBool(data[3]);
|
|
1715
|
-
interval = undefined$1 === data[4] ? interval : Number(data[4]);
|
|
1716
|
-
autoResize = undefined$1 === data[6] ? autoResize : strBool(data[6]);
|
|
1717
|
-
bodyMarginStr = data[7];
|
|
1718
|
-
heightCalcMode = undefined$1 === data[8] ? heightCalcMode : data[8];
|
|
1719
|
-
bodyBackground = data[9];
|
|
1720
|
-
bodyPadding = data[10];
|
|
1721
|
-
tolerance = undefined$1 === data[11] ? tolerance : Number(data[11]);
|
|
1722
|
-
inPageLinks.enable = undefined$1 === data[12] ? false : strBool(data[12]);
|
|
1723
|
-
resizeFrom = undefined$1 === data[13] ? resizeFrom : data[13];
|
|
1724
|
-
widthCalcMode = undefined$1 === data[14] ? widthCalcMode : data[14];
|
|
1725
|
-
mouseEvents = undefined$1 === data[15] ? mouseEvents : strBool(data[15]);
|
|
1726
|
-
}
|
|
1727
|
-
|
|
1728
|
-
function depricate(key) {
|
|
1729
|
-
var splitName = key.split('Callback');
|
|
1730
|
-
|
|
1731
|
-
if (splitName.length === 2) {
|
|
1732
|
-
var name =
|
|
1733
|
-
'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
|
|
1734
|
-
this[name] = this[key];
|
|
1735
|
-
delete this[key];
|
|
1736
|
-
warn(
|
|
1737
|
-
"Deprecated: '" +
|
|
1738
|
-
key +
|
|
1739
|
-
"' has been renamed '" +
|
|
1740
|
-
name +
|
|
1741
|
-
"'. The old method will be removed in the next major version."
|
|
1742
|
-
);
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
function readDataFromPage() {
|
|
1747
|
-
function readData() {
|
|
1748
|
-
var data = window.iFrameResizer;
|
|
1749
|
-
|
|
1750
|
-
log('Reading data from page: ' + JSON.stringify(data));
|
|
1751
|
-
Object.keys(data).forEach(depricate, data);
|
|
1752
|
-
|
|
1753
|
-
onMessage = 'onMessage' in data ? data.onMessage : onMessage;
|
|
1754
|
-
onReady = 'onReady' in data ? data.onReady : onReady;
|
|
1755
|
-
targetOriginDefault =
|
|
1756
|
-
'targetOrigin' in data ? data.targetOrigin : targetOriginDefault;
|
|
1757
|
-
heightCalcMode =
|
|
1758
|
-
'heightCalculationMethod' in data
|
|
1759
|
-
? data.heightCalculationMethod
|
|
1760
|
-
: heightCalcMode;
|
|
1761
|
-
widthCalcMode =
|
|
1762
|
-
'widthCalculationMethod' in data
|
|
1763
|
-
? data.widthCalculationMethod
|
|
1764
|
-
: widthCalcMode;
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
function setupCustomCalcMethods(calcMode, calcFunc) {
|
|
1768
|
-
if ('function' === typeof calcMode) {
|
|
1769
|
-
log('Setup custom ' + calcFunc + 'CalcMethod');
|
|
1770
|
-
customCalcMethods[calcFunc] = calcMode;
|
|
1771
|
-
calcMode = 'custom';
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
return calcMode
|
|
1775
|
-
}
|
|
1776
|
-
|
|
1777
|
-
if (
|
|
1778
|
-
'iFrameResizer' in window &&
|
|
1779
|
-
Object === window.iFrameResizer.constructor
|
|
1780
|
-
) {
|
|
1781
|
-
readData();
|
|
1782
|
-
heightCalcMode = setupCustomCalcMethods(heightCalcMode, 'height');
|
|
1783
|
-
widthCalcMode = setupCustomCalcMethods(widthCalcMode, 'width');
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
log('TargetOrigin for parent set to: ' + targetOriginDefault);
|
|
1787
|
-
}
|
|
1788
|
-
|
|
1789
|
-
function chkCSS(attr, value) {
|
|
1790
|
-
if (-1 !== value.indexOf('-')) {
|
|
1791
|
-
warn('Negative CSS value ignored for ' + attr);
|
|
1792
|
-
value = '';
|
|
1793
|
-
}
|
|
1794
|
-
return value
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
function setBodyStyle(attr, value) {
|
|
1798
|
-
if (undefined$1 !== value && '' !== value && 'null' !== value) {
|
|
1799
|
-
document.body.style[attr] = value;
|
|
1800
|
-
log('Body ' + attr + ' set to "' + value + '"');
|
|
1801
|
-
}
|
|
1802
|
-
}
|
|
1803
|
-
|
|
1804
|
-
function setMargin() {
|
|
1805
|
-
// If called via V1 script, convert bodyMargin from int to str
|
|
1806
|
-
if (undefined$1 === bodyMarginStr) {
|
|
1807
|
-
bodyMarginStr = bodyMargin + 'px';
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
setBodyStyle('margin', chkCSS('margin', bodyMarginStr));
|
|
1811
|
-
}
|
|
1812
|
-
|
|
1813
|
-
function stopInfiniteResizingOfIFrame() {
|
|
1814
|
-
document.documentElement.style.height = '';
|
|
1815
|
-
document.body.style.height = '';
|
|
1816
|
-
log('HTML & body height set to "auto"');
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
function manageTriggerEvent(options) {
|
|
1820
|
-
var listener = {
|
|
1821
|
-
add: function (eventName) {
|
|
1822
|
-
function handleEvent() {
|
|
1823
|
-
sendSize(options.eventName, options.eventType);
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
eventHandlersByName[eventName] = handleEvent;
|
|
1827
|
-
|
|
1828
|
-
addEventListener(window, eventName, handleEvent, { passive: true });
|
|
1829
|
-
},
|
|
1830
|
-
remove: function (eventName) {
|
|
1831
|
-
var handleEvent = eventHandlersByName[eventName];
|
|
1832
|
-
delete eventHandlersByName[eventName];
|
|
1833
|
-
|
|
1834
|
-
removeEventListener(window, eventName, handleEvent);
|
|
1835
|
-
}
|
|
1836
|
-
};
|
|
1837
|
-
|
|
1838
|
-
if (options.eventNames && Array.prototype.map) {
|
|
1839
|
-
options.eventName = options.eventNames[0];
|
|
1840
|
-
options.eventNames.map(listener[options.method]);
|
|
1841
|
-
} else {
|
|
1842
|
-
listener[options.method](options.eventName);
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
log(
|
|
1846
|
-
capitalizeFirstLetter(options.method) +
|
|
1847
|
-
' event listener: ' +
|
|
1848
|
-
options.eventType
|
|
1849
|
-
);
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
function manageEventListeners(method) {
|
|
1853
|
-
manageTriggerEvent({
|
|
1854
|
-
method: method,
|
|
1855
|
-
eventType: 'Animation Start',
|
|
1856
|
-
eventNames: ['animationstart', 'webkitAnimationStart']
|
|
1857
|
-
});
|
|
1858
|
-
manageTriggerEvent({
|
|
1859
|
-
method: method,
|
|
1860
|
-
eventType: 'Animation Iteration',
|
|
1861
|
-
eventNames: ['animationiteration', 'webkitAnimationIteration']
|
|
1862
|
-
});
|
|
1863
|
-
manageTriggerEvent({
|
|
1864
|
-
method: method,
|
|
1865
|
-
eventType: 'Animation End',
|
|
1866
|
-
eventNames: ['animationend', 'webkitAnimationEnd']
|
|
1867
|
-
});
|
|
1868
|
-
manageTriggerEvent({
|
|
1869
|
-
method: method,
|
|
1870
|
-
eventType: 'Input',
|
|
1871
|
-
eventName: 'input'
|
|
1872
|
-
});
|
|
1873
|
-
manageTriggerEvent({
|
|
1874
|
-
method: method,
|
|
1875
|
-
eventType: 'Mouse Up',
|
|
1876
|
-
eventName: 'mouseup'
|
|
1877
|
-
});
|
|
1878
|
-
manageTriggerEvent({
|
|
1879
|
-
method: method,
|
|
1880
|
-
eventType: 'Mouse Down',
|
|
1881
|
-
eventName: 'mousedown'
|
|
1882
|
-
});
|
|
1883
|
-
manageTriggerEvent({
|
|
1884
|
-
method: method,
|
|
1885
|
-
eventType: 'Orientation Change',
|
|
1886
|
-
eventName: 'orientationchange'
|
|
1887
|
-
});
|
|
1888
|
-
manageTriggerEvent({
|
|
1889
|
-
method: method,
|
|
1890
|
-
eventType: 'Print',
|
|
1891
|
-
eventNames: ['afterprint', 'beforeprint']
|
|
1892
|
-
});
|
|
1893
|
-
manageTriggerEvent({
|
|
1894
|
-
method: method,
|
|
1895
|
-
eventType: 'Ready State Change',
|
|
1896
|
-
eventName: 'readystatechange'
|
|
1897
|
-
});
|
|
1898
|
-
manageTriggerEvent({
|
|
1899
|
-
method: method,
|
|
1900
|
-
eventType: 'Touch Start',
|
|
1901
|
-
eventName: 'touchstart'
|
|
1902
|
-
});
|
|
1903
|
-
manageTriggerEvent({
|
|
1904
|
-
method: method,
|
|
1905
|
-
eventType: 'Touch End',
|
|
1906
|
-
eventName: 'touchend'
|
|
1907
|
-
});
|
|
1908
|
-
manageTriggerEvent({
|
|
1909
|
-
method: method,
|
|
1910
|
-
eventType: 'Touch Cancel',
|
|
1911
|
-
eventName: 'touchcancel'
|
|
1912
|
-
});
|
|
1913
|
-
manageTriggerEvent({
|
|
1914
|
-
method: method,
|
|
1915
|
-
eventType: 'Transition Start',
|
|
1916
|
-
eventNames: [
|
|
1917
|
-
'transitionstart',
|
|
1918
|
-
'webkitTransitionStart',
|
|
1919
|
-
'MSTransitionStart',
|
|
1920
|
-
'oTransitionStart',
|
|
1921
|
-
'otransitionstart'
|
|
1922
|
-
]
|
|
1923
|
-
});
|
|
1924
|
-
manageTriggerEvent({
|
|
1925
|
-
method: method,
|
|
1926
|
-
eventType: 'Transition Iteration',
|
|
1927
|
-
eventNames: [
|
|
1928
|
-
'transitioniteration',
|
|
1929
|
-
'webkitTransitionIteration',
|
|
1930
|
-
'MSTransitionIteration',
|
|
1931
|
-
'oTransitionIteration',
|
|
1932
|
-
'otransitioniteration'
|
|
1933
|
-
]
|
|
1934
|
-
});
|
|
1935
|
-
manageTriggerEvent({
|
|
1936
|
-
method: method,
|
|
1937
|
-
eventType: 'Transition End',
|
|
1938
|
-
eventNames: [
|
|
1939
|
-
'transitionend',
|
|
1940
|
-
'webkitTransitionEnd',
|
|
1941
|
-
'MSTransitionEnd',
|
|
1942
|
-
'oTransitionEnd',
|
|
1943
|
-
'otransitionend'
|
|
1944
|
-
]
|
|
1945
|
-
});
|
|
1946
|
-
if ('child' === resizeFrom) {
|
|
1947
|
-
manageTriggerEvent({
|
|
1948
|
-
method: method,
|
|
1949
|
-
eventType: 'IFrame Resized',
|
|
1950
|
-
eventName: 'resize'
|
|
1951
|
-
});
|
|
1952
|
-
}
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
function checkCalcMode(calcMode, calcModeDefault, modes, type) {
|
|
1956
|
-
if (calcModeDefault !== calcMode) {
|
|
1957
|
-
if (!(calcMode in modes)) {
|
|
1958
|
-
warn(
|
|
1959
|
-
calcMode + ' is not a valid option for ' + type + 'CalculationMethod.'
|
|
1960
|
-
);
|
|
1961
|
-
calcMode = calcModeDefault;
|
|
1962
|
-
}
|
|
1963
|
-
log(type + ' calculation method set to "' + calcMode + '"');
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
return calcMode
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
function checkHeightMode() {
|
|
1970
|
-
heightCalcMode = checkCalcMode(
|
|
1971
|
-
heightCalcMode,
|
|
1972
|
-
heightCalcModeDefault,
|
|
1973
|
-
getHeight,
|
|
1974
|
-
'height'
|
|
1975
|
-
);
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
function checkWidthMode() {
|
|
1979
|
-
widthCalcMode = checkCalcMode(
|
|
1980
|
-
widthCalcMode,
|
|
1981
|
-
widthCalcModeDefault,
|
|
1982
|
-
getWidth,
|
|
1983
|
-
'width'
|
|
1984
|
-
);
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
function startEventListeners() {
|
|
1988
|
-
if (true === autoResize) {
|
|
1989
|
-
manageEventListeners('add');
|
|
1990
|
-
setupMutationObserver();
|
|
1991
|
-
} else {
|
|
1992
|
-
log('Auto Resize disabled');
|
|
1993
|
-
}
|
|
1994
|
-
}
|
|
1995
|
-
|
|
1996
|
-
// function stopMsgsToParent() {
|
|
1997
|
-
// log('Disable outgoing messages')
|
|
1998
|
-
// sendPermit = false
|
|
1999
|
-
// }
|
|
2000
|
-
|
|
2001
|
-
// function removeMsgListener() {
|
|
2002
|
-
// log('Remove event listener: Message')
|
|
2003
|
-
// removeEventListener(window, 'message', receiver)
|
|
2004
|
-
// }
|
|
2005
|
-
|
|
2006
|
-
function disconnectMutationObserver() {
|
|
2007
|
-
if (null !== bodyObserver) {
|
|
2008
|
-
/* istanbul ignore next */ // Not testable in PhantonJS
|
|
2009
|
-
bodyObserver.disconnect();
|
|
2010
|
-
}
|
|
2011
|
-
}
|
|
2012
|
-
|
|
2013
|
-
function stopEventListeners() {
|
|
2014
|
-
manageEventListeners('remove');
|
|
2015
|
-
disconnectMutationObserver();
|
|
2016
|
-
clearInterval(intervalTimer);
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
// function teardown() {
|
|
2020
|
-
// stopMsgsToParent()
|
|
2021
|
-
// removeMsgListener()
|
|
2022
|
-
// if (true === autoResize) stopEventListeners()
|
|
2023
|
-
// }
|
|
2024
|
-
|
|
2025
|
-
function injectClearFixIntoBodyElement() {
|
|
2026
|
-
var clearFix = document.createElement('div');
|
|
2027
|
-
clearFix.style.clear = 'both';
|
|
2028
|
-
// Guard against the following having been globally redefined in CSS.
|
|
2029
|
-
clearFix.style.display = 'block';
|
|
2030
|
-
clearFix.style.height = '0';
|
|
2031
|
-
document.body.appendChild(clearFix);
|
|
2032
|
-
}
|
|
2033
|
-
|
|
2034
|
-
function setupInPageLinks() {
|
|
2035
|
-
function getPagePosition() {
|
|
2036
|
-
return {
|
|
2037
|
-
x:
|
|
2038
|
-
window.pageXOffset === undefined$1
|
|
2039
|
-
? document.documentElement.scrollLeft
|
|
2040
|
-
: window.pageXOffset,
|
|
2041
|
-
y:
|
|
2042
|
-
window.pageYOffset === undefined$1
|
|
2043
|
-
? document.documentElement.scrollTop
|
|
2044
|
-
: window.pageYOffset
|
|
2045
|
-
}
|
|
2046
|
-
}
|
|
2047
|
-
|
|
2048
|
-
function getElementPosition(el) {
|
|
2049
|
-
var elPosition = el.getBoundingClientRect(),
|
|
2050
|
-
pagePosition = getPagePosition();
|
|
2051
|
-
|
|
2052
|
-
return {
|
|
2053
|
-
x: parseInt(elPosition.left, 10) + parseInt(pagePosition.x, 10),
|
|
2054
|
-
y: parseInt(elPosition.top, 10) + parseInt(pagePosition.y, 10)
|
|
2055
|
-
}
|
|
2056
|
-
}
|
|
2057
|
-
|
|
2058
|
-
function findTarget(location) {
|
|
2059
|
-
function jumpToTarget(target) {
|
|
2060
|
-
var jumpPosition = getElementPosition(target);
|
|
2061
|
-
|
|
2062
|
-
log(
|
|
2063
|
-
'Moving to in page link (#' +
|
|
2064
|
-
hash +
|
|
2065
|
-
') at x: ' +
|
|
2066
|
-
jumpPosition.x +
|
|
2067
|
-
' y: ' +
|
|
2068
|
-
jumpPosition.y
|
|
2069
|
-
);
|
|
2070
|
-
sendMsg(jumpPosition.y, jumpPosition.x, 'scrollToOffset'); // X&Y reversed at sendMsg uses height/width
|
|
2071
|
-
}
|
|
2072
|
-
|
|
2073
|
-
var hash = location.split('#')[1] || location, // Remove # if present
|
|
2074
|
-
hashData = decodeURIComponent(hash),
|
|
2075
|
-
target =
|
|
2076
|
-
document.getElementById(hashData) ||
|
|
2077
|
-
document.getElementsByName(hashData)[0];
|
|
2078
|
-
|
|
2079
|
-
if (undefined$1 === target) {
|
|
2080
|
-
log(
|
|
2081
|
-
'In page link (#' +
|
|
2082
|
-
hash +
|
|
2083
|
-
') not found in iFrame, so sending to parent'
|
|
2084
|
-
);
|
|
2085
|
-
sendMsg(0, 0, 'inPageLink', '#' + hash);
|
|
2086
|
-
} else {
|
|
2087
|
-
jumpToTarget(target);
|
|
2088
|
-
}
|
|
2089
|
-
}
|
|
2090
|
-
|
|
2091
|
-
function checkLocationHash() {
|
|
2092
|
-
var hash = window.location.hash;
|
|
2093
|
-
var href = window.location.href;
|
|
2094
|
-
|
|
2095
|
-
if ('' !== hash && '#' !== hash) {
|
|
2096
|
-
findTarget(href);
|
|
2097
|
-
}
|
|
2098
|
-
}
|
|
2099
|
-
|
|
2100
|
-
function bindAnchors() {
|
|
2101
|
-
function setupLink(el) {
|
|
2102
|
-
function linkClicked(e) {
|
|
2103
|
-
e.preventDefault();
|
|
2104
|
-
|
|
2105
|
-
/* jshint validthis:true */
|
|
2106
|
-
findTarget(this.getAttribute('href'));
|
|
2107
|
-
}
|
|
2108
|
-
|
|
2109
|
-
if ('#' !== el.getAttribute('href')) {
|
|
2110
|
-
addEventListener(el, 'click', linkClicked);
|
|
2111
|
-
}
|
|
2112
|
-
}
|
|
2113
|
-
|
|
2114
|
-
Array.prototype.forEach.call(
|
|
2115
|
-
document.querySelectorAll('a[href^="#"]'),
|
|
2116
|
-
setupLink
|
|
2117
|
-
);
|
|
2118
|
-
}
|
|
2119
|
-
|
|
2120
|
-
function bindLocationHash() {
|
|
2121
|
-
addEventListener(window, 'hashchange', checkLocationHash);
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
function initCheck() {
|
|
2125
|
-
// Check if page loaded with location hash after init resize
|
|
2126
|
-
setTimeout(checkLocationHash, eventCancelTimer);
|
|
2127
|
-
}
|
|
2128
|
-
|
|
2129
|
-
function enableInPageLinks() {
|
|
2130
|
-
/* istanbul ignore else */ // Not testable in phantonJS
|
|
2131
|
-
if (Array.prototype.forEach && document.querySelectorAll) {
|
|
2132
|
-
log('Setting up location.hash handlers');
|
|
2133
|
-
bindAnchors();
|
|
2134
|
-
bindLocationHash();
|
|
2135
|
-
initCheck();
|
|
2136
|
-
} else {
|
|
2137
|
-
warn(
|
|
2138
|
-
'In page linking not fully supported in this browser! (See README.md for IE8 workaround)'
|
|
2139
|
-
);
|
|
2140
|
-
}
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
|
-
if (inPageLinks.enable) {
|
|
2144
|
-
enableInPageLinks();
|
|
2145
|
-
} else {
|
|
2146
|
-
log('In page linking not enabled');
|
|
2147
|
-
}
|
|
2148
|
-
|
|
2149
|
-
return {
|
|
2150
|
-
findTarget: findTarget
|
|
2151
|
-
}
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
function setupMouseEvents() {
|
|
2155
|
-
if (mouseEvents !== true) return
|
|
2156
|
-
|
|
2157
|
-
function sendMouse(e) {
|
|
2158
|
-
sendMsg(0, 0, e.type, e.screenY + ':' + e.screenX);
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
function addMouseListener(evt, name) {
|
|
2162
|
-
log('Add event listener: ' + name);
|
|
2163
|
-
addEventListener(window.document, evt, sendMouse);
|
|
2164
|
-
}
|
|
2165
|
-
|
|
2166
|
-
addMouseListener('mouseenter', 'Mouse Enter');
|
|
2167
|
-
addMouseListener('mouseleave', 'Mouse Leave');
|
|
2168
|
-
}
|
|
2169
|
-
|
|
2170
|
-
function setupPublicMethods() {
|
|
2171
|
-
log('Enable public methods');
|
|
2172
|
-
|
|
2173
|
-
win.parentIFrame = {
|
|
2174
|
-
autoResize: function autoResizeF(resize) {
|
|
2175
|
-
if (true === resize && false === autoResize) {
|
|
2176
|
-
autoResize = true;
|
|
2177
|
-
startEventListeners();
|
|
2178
|
-
} else if (false === resize && true === autoResize) {
|
|
2179
|
-
autoResize = false;
|
|
2180
|
-
stopEventListeners();
|
|
2181
|
-
}
|
|
2182
|
-
sendMsg(0, 0, 'autoResize', JSON.stringify(autoResize));
|
|
2183
|
-
return autoResize
|
|
2184
|
-
},
|
|
2185
|
-
|
|
2186
|
-
close: function closeF() {
|
|
2187
|
-
sendMsg(0, 0, 'close');
|
|
2188
|
-
// teardown()
|
|
2189
|
-
},
|
|
2190
|
-
|
|
2191
|
-
getId: function getIdF() {
|
|
2192
|
-
return myID
|
|
2193
|
-
},
|
|
2194
|
-
|
|
2195
|
-
getPageInfo: function getPageInfoF(callback) {
|
|
2196
|
-
if ('function' === typeof callback) {
|
|
2197
|
-
onPageInfo = callback;
|
|
2198
|
-
sendMsg(0, 0, 'pageInfo');
|
|
2199
|
-
} else {
|
|
2200
|
-
onPageInfo = function () {};
|
|
2201
|
-
sendMsg(0, 0, 'pageInfoStop');
|
|
2202
|
-
}
|
|
2203
|
-
},
|
|
2204
|
-
|
|
2205
|
-
moveToAnchor: function moveToAnchorF(hash) {
|
|
2206
|
-
inPageLinks.findTarget(hash);
|
|
2207
|
-
},
|
|
2208
|
-
|
|
2209
|
-
reset: function resetF() {
|
|
2210
|
-
resetIFrame('parentIFrame.reset');
|
|
2211
|
-
},
|
|
2212
|
-
|
|
2213
|
-
scrollTo: function scrollToF(x, y) {
|
|
2214
|
-
sendMsg(y, x, 'scrollTo'); // X&Y reversed at sendMsg uses height/width
|
|
2215
|
-
},
|
|
2216
|
-
|
|
2217
|
-
scrollToOffset: function scrollToF(x, y) {
|
|
2218
|
-
sendMsg(y, x, 'scrollToOffset'); // X&Y reversed at sendMsg uses height/width
|
|
2219
|
-
},
|
|
2220
|
-
|
|
2221
|
-
sendMessage: function sendMessageF(msg, targetOrigin) {
|
|
2222
|
-
sendMsg(0, 0, 'message', JSON.stringify(msg), targetOrigin);
|
|
2223
|
-
},
|
|
2224
|
-
|
|
2225
|
-
setHeightCalculationMethod: function setHeightCalculationMethodF(
|
|
2226
|
-
heightCalculationMethod
|
|
2227
|
-
) {
|
|
2228
|
-
heightCalcMode = heightCalculationMethod;
|
|
2229
|
-
checkHeightMode();
|
|
2230
|
-
},
|
|
2231
|
-
|
|
2232
|
-
setWidthCalculationMethod: function setWidthCalculationMethodF(
|
|
2233
|
-
widthCalculationMethod
|
|
2234
|
-
) {
|
|
2235
|
-
widthCalcMode = widthCalculationMethod;
|
|
2236
|
-
checkWidthMode();
|
|
2237
|
-
},
|
|
2238
|
-
|
|
2239
|
-
setTargetOrigin: function setTargetOriginF(targetOrigin) {
|
|
2240
|
-
log('Set targetOrigin: ' + targetOrigin);
|
|
2241
|
-
targetOriginDefault = targetOrigin;
|
|
2242
|
-
},
|
|
2243
|
-
|
|
2244
|
-
size: function sizeF(customHeight, customWidth) {
|
|
2245
|
-
var valString =
|
|
2246
|
-
'' + (customHeight || '') + (customWidth ? ',' + customWidth : '');
|
|
2247
|
-
sendSize(
|
|
2248
|
-
'size',
|
|
2249
|
-
'parentIFrame.size(' + valString + ')',
|
|
2250
|
-
customHeight,
|
|
2251
|
-
customWidth
|
|
2252
|
-
);
|
|
2253
|
-
}
|
|
2254
|
-
};
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
function initInterval() {
|
|
2258
|
-
if (0 !== interval) {
|
|
2259
|
-
log('setInterval: ' + interval + 'ms');
|
|
2260
|
-
intervalTimer = setInterval(function () {
|
|
2261
|
-
sendSize('interval', 'setInterval: ' + interval);
|
|
2262
|
-
}, Math.abs(interval));
|
|
2263
|
-
}
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
// Not testable in PhantomJS
|
|
2267
|
-
/* istanbul ignore next */
|
|
2268
|
-
function setupBodyMutationObserver() {
|
|
2269
|
-
function addImageLoadListners(mutation) {
|
|
2270
|
-
function addImageLoadListener(element) {
|
|
2271
|
-
if (false === element.complete) {
|
|
2272
|
-
log('Attach listeners to ' + element.src);
|
|
2273
|
-
element.addEventListener('load', imageLoaded, false);
|
|
2274
|
-
element.addEventListener('error', imageError, false);
|
|
2275
|
-
elements.push(element);
|
|
2276
|
-
}
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
if (mutation.type === 'attributes' && mutation.attributeName === 'src') {
|
|
2280
|
-
addImageLoadListener(mutation.target);
|
|
2281
|
-
} else if (mutation.type === 'childList') {
|
|
2282
|
-
Array.prototype.forEach.call(
|
|
2283
|
-
mutation.target.querySelectorAll('img'),
|
|
2284
|
-
addImageLoadListener
|
|
2285
|
-
);
|
|
2286
|
-
}
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
|
-
function removeFromArray(element) {
|
|
2290
|
-
elements.splice(elements.indexOf(element), 1);
|
|
2291
|
-
}
|
|
2292
|
-
|
|
2293
|
-
function removeImageLoadListener(element) {
|
|
2294
|
-
log('Remove listeners from ' + element.src);
|
|
2295
|
-
element.removeEventListener('load', imageLoaded, false);
|
|
2296
|
-
element.removeEventListener('error', imageError, false);
|
|
2297
|
-
removeFromArray(element);
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
|
-
function imageEventTriggered(event, type, typeDesc) {
|
|
2301
|
-
removeImageLoadListener(event.target);
|
|
2302
|
-
sendSize(type, typeDesc + ': ' + event.target.src);
|
|
2303
|
-
}
|
|
2304
|
-
|
|
2305
|
-
function imageLoaded(event) {
|
|
2306
|
-
imageEventTriggered(event, 'imageLoad', 'Image loaded');
|
|
2307
|
-
}
|
|
2308
|
-
|
|
2309
|
-
function imageError(event) {
|
|
2310
|
-
imageEventTriggered(event, 'imageLoadFailed', 'Image load failed');
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
function mutationObserved(mutations) {
|
|
2314
|
-
sendSize(
|
|
2315
|
-
'mutationObserver',
|
|
2316
|
-
'mutationObserver: ' + mutations[0].target + ' ' + mutations[0].type
|
|
2317
|
-
);
|
|
2318
|
-
|
|
2319
|
-
// Deal with WebKit / Blink asyncing image loading when tags are injected into the page
|
|
2320
|
-
mutations.forEach(addImageLoadListners);
|
|
2321
|
-
}
|
|
2322
|
-
|
|
2323
|
-
function createMutationObserver() {
|
|
2324
|
-
var target = document.querySelector('body'),
|
|
2325
|
-
config = {
|
|
2326
|
-
attributes: true,
|
|
2327
|
-
attributeOldValue: false,
|
|
2328
|
-
characterData: true,
|
|
2329
|
-
characterDataOldValue: false,
|
|
2330
|
-
childList: true,
|
|
2331
|
-
subtree: true
|
|
2332
|
-
};
|
|
2333
|
-
|
|
2334
|
-
observer = new MutationObserver(mutationObserved);
|
|
2335
|
-
|
|
2336
|
-
log('Create body MutationObserver');
|
|
2337
|
-
observer.observe(target, config);
|
|
2338
|
-
|
|
2339
|
-
return observer
|
|
2340
|
-
}
|
|
2341
|
-
|
|
2342
|
-
var elements = [],
|
|
2343
|
-
MutationObserver =
|
|
2344
|
-
window.MutationObserver || window.WebKitMutationObserver,
|
|
2345
|
-
observer = createMutationObserver();
|
|
2346
|
-
|
|
2347
|
-
return {
|
|
2348
|
-
disconnect: function () {
|
|
2349
|
-
if ('disconnect' in observer) {
|
|
2350
|
-
log('Disconnect body MutationObserver');
|
|
2351
|
-
observer.disconnect();
|
|
2352
|
-
elements.forEach(removeImageLoadListener);
|
|
2353
|
-
}
|
|
2354
|
-
}
|
|
2355
|
-
}
|
|
2356
|
-
}
|
|
2357
|
-
|
|
2358
|
-
function setupMutationObserver() {
|
|
2359
|
-
var forceIntervalTimer = 0 > interval;
|
|
2360
|
-
|
|
2361
|
-
// Not testable in PhantomJS
|
|
2362
|
-
/* istanbul ignore if */ if (
|
|
2363
|
-
window.MutationObserver ||
|
|
2364
|
-
window.WebKitMutationObserver
|
|
2365
|
-
) {
|
|
2366
|
-
if (forceIntervalTimer) {
|
|
2367
|
-
initInterval();
|
|
2368
|
-
} else {
|
|
2369
|
-
bodyObserver = setupBodyMutationObserver();
|
|
2370
|
-
}
|
|
2371
|
-
} else {
|
|
2372
|
-
log('MutationObserver not supported in this browser!');
|
|
2373
|
-
initInterval();
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
|
-
|
|
2377
|
-
// document.documentElement.offsetHeight is not reliable, so
|
|
2378
|
-
// we have to jump through hoops to get a better value.
|
|
2379
|
-
function getComputedStyle(prop, el) {
|
|
2380
|
-
var retVal = 0;
|
|
2381
|
-
el = el || document.body; // Not testable in phantonJS
|
|
2382
|
-
|
|
2383
|
-
retVal = document.defaultView.getComputedStyle(el, null);
|
|
2384
|
-
retVal = null === retVal ? 0 : retVal[prop];
|
|
2385
|
-
|
|
2386
|
-
return parseInt(retVal, base)
|
|
2387
|
-
}
|
|
2388
|
-
|
|
2389
|
-
function chkEventThottle(timer) {
|
|
2390
|
-
if (timer > throttledTimer / 2) {
|
|
2391
|
-
throttledTimer = 2 * timer;
|
|
2392
|
-
log('Event throttle increased to ' + throttledTimer + 'ms');
|
|
2393
|
-
}
|
|
2394
|
-
}
|
|
2395
|
-
|
|
2396
|
-
// Idea from https://github.com/guardian/iframe-messenger
|
|
2397
|
-
function getMaxElement(side, elements) {
|
|
2398
|
-
var elementsLength = elements.length,
|
|
2399
|
-
elVal = 0,
|
|
2400
|
-
maxVal = 0,
|
|
2401
|
-
Side = capitalizeFirstLetter(side),
|
|
2402
|
-
timer = Date.now();
|
|
2403
|
-
|
|
2404
|
-
for (var i = 0; i < elementsLength; i++) {
|
|
2405
|
-
elVal =
|
|
2406
|
-
elements[i].getBoundingClientRect()[side] +
|
|
2407
|
-
getComputedStyle('margin' + Side, elements[i]);
|
|
2408
|
-
if (elVal > maxVal) {
|
|
2409
|
-
maxVal = elVal;
|
|
2410
|
-
}
|
|
2411
|
-
}
|
|
2412
|
-
|
|
2413
|
-
timer = Date.now() - timer;
|
|
2414
|
-
|
|
2415
|
-
log('Parsed ' + elementsLength + ' HTML elements');
|
|
2416
|
-
log('Element position calculated in ' + timer + 'ms');
|
|
2417
|
-
|
|
2418
|
-
chkEventThottle(timer);
|
|
2419
|
-
|
|
2420
|
-
return maxVal
|
|
2421
|
-
}
|
|
2422
|
-
|
|
2423
|
-
function getAllMeasurements(dimensions) {
|
|
2424
|
-
return [
|
|
2425
|
-
dimensions.bodyOffset(),
|
|
2426
|
-
dimensions.bodyScroll(),
|
|
2427
|
-
dimensions.documentElementOffset(),
|
|
2428
|
-
dimensions.documentElementScroll()
|
|
2429
|
-
]
|
|
2430
|
-
}
|
|
2431
|
-
|
|
2432
|
-
function getTaggedElements(side, tag) {
|
|
2433
|
-
function noTaggedElementsFound() {
|
|
2434
|
-
warn('No tagged elements (' + tag + ') found on page');
|
|
2435
|
-
return document.querySelectorAll('body *')
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
var elements = document.querySelectorAll('[' + tag + ']');
|
|
2439
|
-
|
|
2440
|
-
if (elements.length === 0) noTaggedElementsFound();
|
|
2441
|
-
|
|
2442
|
-
return getMaxElement(side, elements)
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
function getAllElements() {
|
|
2446
|
-
return document.querySelectorAll('body *')
|
|
2447
|
-
}
|
|
2448
|
-
|
|
2449
|
-
var getHeight = {
|
|
2450
|
-
bodyOffset: function getBodyOffsetHeight() {
|
|
2451
|
-
return (
|
|
2452
|
-
document.body.offsetHeight +
|
|
2453
|
-
getComputedStyle('marginTop') +
|
|
2454
|
-
getComputedStyle('marginBottom')
|
|
2455
|
-
)
|
|
2456
|
-
},
|
|
2457
|
-
|
|
2458
|
-
offset: function () {
|
|
2459
|
-
return getHeight.bodyOffset() // Backwards compatibility
|
|
2460
|
-
},
|
|
2461
|
-
|
|
2462
|
-
bodyScroll: function getBodyScrollHeight() {
|
|
2463
|
-
return document.body.scrollHeight
|
|
2464
|
-
},
|
|
2465
|
-
|
|
2466
|
-
custom: function getCustomWidth() {
|
|
2467
|
-
return customCalcMethods.height()
|
|
2468
|
-
},
|
|
2469
|
-
|
|
2470
|
-
documentElementOffset: function getDEOffsetHeight() {
|
|
2471
|
-
return document.documentElement.offsetHeight
|
|
2472
|
-
},
|
|
2473
|
-
|
|
2474
|
-
documentElementScroll: function getDEScrollHeight() {
|
|
2475
|
-
return document.documentElement.scrollHeight
|
|
2476
|
-
},
|
|
2477
|
-
|
|
2478
|
-
max: function getMaxHeight() {
|
|
2479
|
-
return Math.max.apply(null, getAllMeasurements(getHeight))
|
|
2480
|
-
},
|
|
2481
|
-
|
|
2482
|
-
min: function getMinHeight() {
|
|
2483
|
-
return Math.min.apply(null, getAllMeasurements(getHeight))
|
|
2484
|
-
},
|
|
2485
|
-
|
|
2486
|
-
grow: function growHeight() {
|
|
2487
|
-
return getHeight.max() // Run max without the forced downsizing
|
|
2488
|
-
},
|
|
2489
|
-
|
|
2490
|
-
lowestElement: function getBestHeight() {
|
|
2491
|
-
return Math.max(
|
|
2492
|
-
getHeight.bodyOffset() || getHeight.documentElementOffset(),
|
|
2493
|
-
getMaxElement('bottom', getAllElements())
|
|
2494
|
-
)
|
|
2495
|
-
},
|
|
2496
|
-
|
|
2497
|
-
taggedElement: function getTaggedElementsHeight() {
|
|
2498
|
-
return getTaggedElements('bottom', 'data-iframe-height')
|
|
2499
|
-
}
|
|
2500
|
-
},
|
|
2501
|
-
getWidth = {
|
|
2502
|
-
bodyScroll: function getBodyScrollWidth() {
|
|
2503
|
-
return document.body.scrollWidth
|
|
2504
|
-
},
|
|
2505
|
-
|
|
2506
|
-
bodyOffset: function getBodyOffsetWidth() {
|
|
2507
|
-
return document.body.offsetWidth
|
|
2508
|
-
},
|
|
2509
|
-
|
|
2510
|
-
custom: function getCustomWidth() {
|
|
2511
|
-
return customCalcMethods.width()
|
|
2512
|
-
},
|
|
2513
|
-
|
|
2514
|
-
documentElementScroll: function getDEScrollWidth() {
|
|
2515
|
-
return document.documentElement.scrollWidth
|
|
2516
|
-
},
|
|
2517
|
-
|
|
2518
|
-
documentElementOffset: function getDEOffsetWidth() {
|
|
2519
|
-
return document.documentElement.offsetWidth
|
|
2520
|
-
},
|
|
2521
|
-
|
|
2522
|
-
scroll: function getMaxWidth() {
|
|
2523
|
-
return Math.max(getWidth.bodyScroll(), getWidth.documentElementScroll())
|
|
2524
|
-
},
|
|
2525
|
-
|
|
2526
|
-
max: function getMaxWidth() {
|
|
2527
|
-
return Math.max.apply(null, getAllMeasurements(getWidth))
|
|
2528
|
-
},
|
|
2529
|
-
|
|
2530
|
-
min: function getMinWidth() {
|
|
2531
|
-
return Math.min.apply(null, getAllMeasurements(getWidth))
|
|
2532
|
-
},
|
|
2533
|
-
|
|
2534
|
-
rightMostElement: function rightMostElement() {
|
|
2535
|
-
return getMaxElement('right', getAllElements())
|
|
2536
|
-
},
|
|
2537
|
-
|
|
2538
|
-
taggedElement: function getTaggedElementsWidth() {
|
|
2539
|
-
return getTaggedElements('right', 'data-iframe-width')
|
|
2540
|
-
}
|
|
2541
|
-
};
|
|
2542
|
-
|
|
2543
|
-
function sizeIFrame(
|
|
2544
|
-
triggerEvent,
|
|
2545
|
-
triggerEventDesc,
|
|
2546
|
-
customHeight,
|
|
2547
|
-
customWidth
|
|
2548
|
-
) {
|
|
2549
|
-
function resizeIFrame() {
|
|
2550
|
-
height = currentHeight;
|
|
2551
|
-
width = currentWidth;
|
|
2552
|
-
|
|
2553
|
-
sendMsg(height, width, triggerEvent);
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
|
-
function isSizeChangeDetected() {
|
|
2557
|
-
function checkTolarance(a, b) {
|
|
2558
|
-
var retVal = Math.abs(a - b) <= tolerance;
|
|
2559
|
-
return !retVal
|
|
2560
|
-
}
|
|
2561
|
-
|
|
2562
|
-
currentHeight =
|
|
2563
|
-
undefined$1 === customHeight ? getHeight[heightCalcMode]() : customHeight;
|
|
2564
|
-
currentWidth =
|
|
2565
|
-
undefined$1 === customWidth ? getWidth[widthCalcMode]() : customWidth;
|
|
2566
|
-
|
|
2567
|
-
return (
|
|
2568
|
-
checkTolarance(height, currentHeight) ||
|
|
2569
|
-
(calculateWidth && checkTolarance(width, currentWidth))
|
|
2570
|
-
)
|
|
2571
|
-
}
|
|
2572
|
-
|
|
2573
|
-
function isForceResizableEvent() {
|
|
2574
|
-
return !(triggerEvent in { init: 1, interval: 1, size: 1 })
|
|
2575
|
-
}
|
|
2576
|
-
|
|
2577
|
-
function isForceResizableCalcMode() {
|
|
2578
|
-
return (
|
|
2579
|
-
heightCalcMode in resetRequiredMethods ||
|
|
2580
|
-
(calculateWidth && widthCalcMode in resetRequiredMethods)
|
|
2581
|
-
)
|
|
2582
|
-
}
|
|
2583
|
-
|
|
2584
|
-
function logIgnored() {
|
|
2585
|
-
log('No change in size detected');
|
|
2586
|
-
}
|
|
2587
|
-
|
|
2588
|
-
function checkDownSizing() {
|
|
2589
|
-
if (isForceResizableEvent() && isForceResizableCalcMode()) {
|
|
2590
|
-
resetIFrame(triggerEventDesc);
|
|
2591
|
-
} else if (!(triggerEvent in { interval: 1 })) {
|
|
2592
|
-
logIgnored();
|
|
2593
|
-
}
|
|
2594
|
-
}
|
|
2595
|
-
|
|
2596
|
-
var currentHeight, currentWidth;
|
|
2597
|
-
|
|
2598
|
-
if (isSizeChangeDetected() || 'init' === triggerEvent) {
|
|
2599
|
-
lockTrigger();
|
|
2600
|
-
resizeIFrame();
|
|
2601
|
-
} else {
|
|
2602
|
-
checkDownSizing();
|
|
2603
|
-
}
|
|
2604
|
-
}
|
|
2605
|
-
|
|
2606
|
-
var sizeIFrameThrottled = throttle(sizeIFrame);
|
|
2607
|
-
|
|
2608
|
-
function sendSize(triggerEvent, triggerEventDesc, customHeight, customWidth) {
|
|
2609
|
-
function recordTrigger() {
|
|
2610
|
-
if (!(triggerEvent in { reset: 1, resetPage: 1, init: 1 })) {
|
|
2611
|
-
log('Trigger event: ' + triggerEventDesc);
|
|
2612
|
-
}
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
|
-
function isDoubleFiredEvent() {
|
|
2616
|
-
return triggerLocked && triggerEvent in doubleEventList
|
|
2617
|
-
}
|
|
2618
|
-
|
|
2619
|
-
if (isDoubleFiredEvent()) {
|
|
2620
|
-
log('Trigger event cancelled: ' + triggerEvent);
|
|
2621
|
-
} else {
|
|
2622
|
-
recordTrigger();
|
|
2623
|
-
if (triggerEvent === 'init') {
|
|
2624
|
-
sizeIFrame(triggerEvent, triggerEventDesc, customHeight, customWidth);
|
|
2625
|
-
} else {
|
|
2626
|
-
sizeIFrameThrottled(
|
|
2627
|
-
triggerEvent,
|
|
2628
|
-
triggerEventDesc,
|
|
2629
|
-
customHeight,
|
|
2630
|
-
customWidth
|
|
2631
|
-
);
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
|
-
function lockTrigger() {
|
|
2637
|
-
if (!triggerLocked) {
|
|
2638
|
-
triggerLocked = true;
|
|
2639
|
-
log('Trigger event lock on');
|
|
2640
|
-
}
|
|
2641
|
-
clearTimeout(triggerLockedTimer);
|
|
2642
|
-
triggerLockedTimer = setTimeout(function () {
|
|
2643
|
-
triggerLocked = false;
|
|
2644
|
-
log('Trigger event lock off');
|
|
2645
|
-
log('--');
|
|
2646
|
-
}, eventCancelTimer);
|
|
2647
|
-
}
|
|
2648
|
-
|
|
2649
|
-
function triggerReset(triggerEvent) {
|
|
2650
|
-
height = getHeight[heightCalcMode]();
|
|
2651
|
-
width = getWidth[widthCalcMode]();
|
|
2652
|
-
|
|
2653
|
-
sendMsg(height, width, triggerEvent);
|
|
2654
|
-
}
|
|
2655
|
-
|
|
2656
|
-
function resetIFrame(triggerEventDesc) {
|
|
2657
|
-
var hcm = heightCalcMode;
|
|
2658
|
-
heightCalcMode = heightCalcModeDefault;
|
|
2659
|
-
|
|
2660
|
-
log('Reset trigger event: ' + triggerEventDesc);
|
|
2661
|
-
lockTrigger();
|
|
2662
|
-
triggerReset('reset');
|
|
2663
|
-
|
|
2664
|
-
heightCalcMode = hcm;
|
|
2665
|
-
}
|
|
2666
|
-
|
|
2667
|
-
function sendMsg(height, width, triggerEvent, msg, targetOrigin) {
|
|
2668
|
-
function setTargetOrigin() {
|
|
2669
|
-
if (undefined$1 === targetOrigin) {
|
|
2670
|
-
targetOrigin = targetOriginDefault;
|
|
2671
|
-
} else {
|
|
2672
|
-
log('Message targetOrigin: ' + targetOrigin);
|
|
2673
|
-
}
|
|
2674
|
-
}
|
|
2675
|
-
|
|
2676
|
-
function sendToParent() {
|
|
2677
|
-
var size = height + ':' + width,
|
|
2678
|
-
message =
|
|
2679
|
-
myID +
|
|
2680
|
-
':' +
|
|
2681
|
-
size +
|
|
2682
|
-
':' +
|
|
2683
|
-
triggerEvent +
|
|
2684
|
-
(undefined$1 === msg ? '' : ':' + msg);
|
|
2685
|
-
|
|
2686
|
-
log('Sending message to host page (' + message + ')');
|
|
2687
|
-
target.postMessage(msgID + message, targetOrigin);
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
|
-
{
|
|
2691
|
-
setTargetOrigin();
|
|
2692
|
-
sendToParent();
|
|
2693
|
-
}
|
|
2694
|
-
}
|
|
2695
|
-
|
|
2696
|
-
function receiver(event) {
|
|
2697
|
-
var processRequestFromParent = {
|
|
2698
|
-
init: function initFromParent() {
|
|
2699
|
-
initMsg = event.data;
|
|
2700
|
-
target = event.source;
|
|
2701
|
-
|
|
2702
|
-
init();
|
|
2703
|
-
firstRun = false;
|
|
2704
|
-
setTimeout(function () {
|
|
2705
|
-
initLock = false;
|
|
2706
|
-
}, eventCancelTimer);
|
|
2707
|
-
},
|
|
2708
|
-
|
|
2709
|
-
reset: function resetFromParent() {
|
|
2710
|
-
if (initLock) {
|
|
2711
|
-
log('Page reset ignored by init');
|
|
2712
|
-
} else {
|
|
2713
|
-
log('Page size reset by host page');
|
|
2714
|
-
triggerReset('resetPage');
|
|
2715
|
-
}
|
|
2716
|
-
},
|
|
2717
|
-
|
|
2718
|
-
resize: function resizeFromParent() {
|
|
2719
|
-
sendSize('resizeParent', 'Parent window requested size check');
|
|
2720
|
-
},
|
|
2721
|
-
|
|
2722
|
-
moveToAnchor: function moveToAnchorF() {
|
|
2723
|
-
inPageLinks.findTarget(getData());
|
|
2724
|
-
},
|
|
2725
|
-
inPageLink: function inPageLinkF() {
|
|
2726
|
-
this.moveToAnchor();
|
|
2727
|
-
}, // Backward compatibility
|
|
2728
|
-
|
|
2729
|
-
pageInfo: function pageInfoFromParent() {
|
|
2730
|
-
var msgBody = getData();
|
|
2731
|
-
log('PageInfoFromParent called from parent: ' + msgBody);
|
|
2732
|
-
onPageInfo(JSON.parse(msgBody));
|
|
2733
|
-
log(' --');
|
|
2734
|
-
},
|
|
2735
|
-
|
|
2736
|
-
message: function messageFromParent() {
|
|
2737
|
-
var msgBody = getData();
|
|
2738
|
-
|
|
2739
|
-
log('onMessage called from parent: ' + msgBody);
|
|
2740
|
-
// eslint-disable-next-line sonarjs/no-extra-arguments
|
|
2741
|
-
onMessage(JSON.parse(msgBody));
|
|
2742
|
-
log(' --');
|
|
2743
|
-
}
|
|
2744
|
-
};
|
|
2745
|
-
|
|
2746
|
-
function isMessageForUs() {
|
|
2747
|
-
return msgID === ('' + event.data).slice(0, msgIdLen) // ''+ Protects against non-string messages
|
|
2748
|
-
}
|
|
2749
|
-
|
|
2750
|
-
function getMessageType() {
|
|
2751
|
-
return event.data.split(']')[1].split(':')[0]
|
|
2752
|
-
}
|
|
2753
|
-
|
|
2754
|
-
function getData() {
|
|
2755
|
-
return event.data.slice(event.data.indexOf(':') + 1)
|
|
2756
|
-
}
|
|
2757
|
-
|
|
2758
|
-
function isMiddleTier() {
|
|
2759
|
-
return (
|
|
2760
|
-
(!(module.exports) &&
|
|
2761
|
-
'iFrameResize' in window) ||
|
|
2762
|
-
(window.jQuery !== undefined$1 &&
|
|
2763
|
-
'iFrameResize' in window.jQuery.prototype)
|
|
2764
|
-
)
|
|
2765
|
-
}
|
|
2766
|
-
|
|
2767
|
-
function isInitMsg() {
|
|
2768
|
-
// Test if this message is from a child below us. This is an ugly test, however, updating
|
|
2769
|
-
// the message format would break backwards compatibility.
|
|
2770
|
-
return event.data.split(':')[2] in { true: 1, false: 1 }
|
|
2771
|
-
}
|
|
2772
|
-
|
|
2773
|
-
function callFromParent() {
|
|
2774
|
-
var messageType = getMessageType();
|
|
2775
|
-
|
|
2776
|
-
if (messageType in processRequestFromParent) {
|
|
2777
|
-
processRequestFromParent[messageType]();
|
|
2778
|
-
} else if (!isMiddleTier() && !isInitMsg()) {
|
|
2779
|
-
warn('Unexpected message (' + event.data + ')');
|
|
2780
|
-
}
|
|
2781
|
-
}
|
|
2782
|
-
|
|
2783
|
-
function processMessage() {
|
|
2784
|
-
if (false === firstRun) {
|
|
2785
|
-
callFromParent();
|
|
2786
|
-
} else if (isInitMsg()) {
|
|
2787
|
-
processRequestFromParent.init();
|
|
2788
|
-
} else {
|
|
2789
|
-
log(
|
|
2790
|
-
'Ignored message of type "' +
|
|
2791
|
-
getMessageType() +
|
|
2792
|
-
'". Received before initialization.'
|
|
2793
|
-
);
|
|
2794
|
-
}
|
|
2795
|
-
}
|
|
2796
|
-
|
|
2797
|
-
if (isMessageForUs()) {
|
|
2798
|
-
processMessage();
|
|
2799
|
-
}
|
|
2800
|
-
}
|
|
2801
|
-
|
|
2802
|
-
// Normally the parent kicks things off when it detects the iFrame has loaded.
|
|
2803
|
-
// If this script is async-loaded, then tell parent page to retry init.
|
|
2804
|
-
function chkLateLoaded() {
|
|
2805
|
-
if ('loading' !== document.readyState) {
|
|
2806
|
-
window.parent.postMessage('[iFrameResizerChild]Ready', '*');
|
|
2807
|
-
}
|
|
2808
|
-
}
|
|
2809
|
-
|
|
2810
|
-
// Setup if not already running
|
|
2811
|
-
if (!('iframeResizer' in window)) {
|
|
2812
|
-
window.iframeChildListener = function (data) {
|
|
2813
|
-
receiver({ data});
|
|
2814
|
-
};
|
|
2815
|
-
addEventListener(window, 'message', receiver);
|
|
2816
|
-
addEventListener(window, 'readystatechange', chkLateLoaded);
|
|
2817
|
-
chkLateLoaded();
|
|
2818
|
-
}
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
})();
|
|
2822
|
-
} (iframeResizer_contentWindow));
|
|
2823
|
-
return iframeResizer_contentWindow.exports;
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
|
-
var iframeResizer;
|
|
2827
|
-
var hasRequiredIframeResizer;
|
|
2828
|
-
|
|
2829
|
-
function requireIframeResizer () {
|
|
2830
|
-
if (hasRequiredIframeResizer) return iframeResizer;
|
|
2831
|
-
hasRequiredIframeResizer = 1;
|
|
2832
|
-
const iframeResize = requireIframeResizer$1();
|
|
2833
|
-
|
|
2834
|
-
iframeResizer = {
|
|
2835
|
-
iframeResize: iframeResize,
|
|
2836
|
-
iframeResizer: iframeResize, // Backwards compatibility
|
|
2837
|
-
contentWindow: requireIframeResizer_contentWindow()
|
|
2838
|
-
};
|
|
2839
|
-
return iframeResizer;
|
|
2840
|
-
}
|
|
2841
|
-
|
|
2842
|
-
var iframeResizerExports = requireIframeResizer();
|
|
2843
|
-
var iFrameResizeModule = /*@__PURE__*/getDefaultExportFromCjs(iframeResizerExports);
|
|
2844
|
-
|
|
2845
|
-
const stzhIframeCss = () => `.sc-stzh-iframe-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-iframe-h,[stzh-hidden].sc-stzh-iframe-h{display:none}.sc-stzh-iframe-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-iframe-h *.sc-stzh-iframe,.sc-stzh-iframe-h *.sc-stzh-iframe::before,.sc-stzh-iframe-h *.sc-stzh-iframe::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-iframe-h .has-focus.sc-stzh-iframe{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-iframe-h .stzh-fylingfocus-focused.sc-stzh-iframe{outline-style:none !important}.sc-stzh-iframe-h .stzh-fylingfocus-focused.sc-stzh-iframe::-moz-focus-inner{border:0 !important}.sc-stzh-iframe-h{position:relative}.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=preview-logo],.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=preview-logo]{width:100%}.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=preview-image],.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=preview-image]{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text],.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=cookiewall-text]{margin:0}.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text],.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p,.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=cookiewall-text] p{margin:0}.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text],.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p,.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child),.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text],.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p,.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child),.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child){margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text],.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p,.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child),.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child){margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text],.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p,.sc-stzh-iframe-h.sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child),.sc-stzh-iframe-h .sc-stzh-iframe-s>[slot=cookiewall-text] p:not(:last-child){margin-bottom:var(--stzh-space-xlarge)}}.stzh-iframe.sc-stzh-iframe{width:100%;height:100%}.stzh-iframe__iframe.sc-stzh-iframe{width:100%}.stzh-iframe__cookiewall.sc-stzh-iframe,.stzh-iframe__preview.sc-stzh-iframe{position:absolute;top:0;left:0;width:100%;height:100%}.stzh-iframe__iframe.sc-stzh-iframe,.stzh-iframe__preview.sc-stzh-iframe{border:none}.stzh-iframe__preview.sc-stzh-iframe,.stzh-iframe__cookiewall.sc-stzh-iframe{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--stzh-space-medium);visibility:hidden}.stzh-iframe__preview.is-visible.sc-stzh-iframe,.stzh-iframe__cookiewall.is-visible.sc-stzh-iframe{visibility:visible}.stzh-iframe__preview.sc-stzh-iframe{z-index:1;appearance:none;cursor:pointer;background-color:var(--stzh-color-grey20)}.stzh-iframe__preview-image-wrapper.sc-stzh-iframe:not(:empty)+.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{display:none}.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{top:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{top:var(--stzh-space-xxxlarge)}}.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{left:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{left:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{left:var(--stzh-space-xxxlarge)}}.stzh-iframe__preview-logo-wrapper.sc-stzh-iframe{position:absolute;width:45%}.stzh-iframe__preview-run.sc-stzh-iframe{position:relative;z-index:1;appearance:none;border:none;background-color:var(--stzh-color-primary);color:var(--stzh-color-white);display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--stzh-form-input-small-height);height:var(--stzh-form-input-small-height);visibility:hidden;transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-iframe__preview-run.is-visible.sc-stzh-iframe{visibility:visible}@media screen and (min-width: 900px){.stzh-iframe__preview-run.sc-stzh-iframe{width:var(--stzh-form-input-height);height:var(--stzh-form-input-height)}}.stzh-iframe__preview.sc-stzh-iframe:hover .stzh-iframe__preview-run.sc-stzh-iframe{background-color:var(--stzh-color-secondary60)}@media screen and (min-width: 900px){.stzh-iframe__preview-run-icon.sc-stzh-iframe{--size:var(--stzh-icon-size-large)}}.stzh-iframe__cookiewall.sc-stzh-iframe{padding-left:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-iframe__cookiewall.sc-stzh-iframe{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-iframe__cookiewall.sc-stzh-iframe{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-iframe__cookiewall.sc-stzh-iframe{padding-left:var(--stzh-space-xxlarge)}}.stzh-iframe__cookiewall.sc-stzh-iframe{padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-iframe__cookiewall.sc-stzh-iframe{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-iframe__cookiewall.sc-stzh-iframe{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-iframe__cookiewall.sc-stzh-iframe{padding-right:var(--stzh-space-xxlarge)}}.stzh-iframe__cookiewall.sc-stzh-iframe{z-index:2;text-align:center;background-color:var(--stzh-color-black60op);color:var(--stzh-color-white)}@media screen and (min-width: 900px){.stzh-iframe__cookiewall.sc-stzh-iframe{column-gap:var(--stzh-grid-gutter);display:grid;grid-template-areas:". content content content content content content .";grid-template-columns:repeat(8, minmax(0, 1fr));padding-left:0;padding-right:0}}@media screen and (min-width: 900px) and (min-width: 600px){.stzh-iframe__cookiewall.sc-stzh-iframe{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-iframe__cookiewall.sc-stzh-iframe{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-iframe__cookiewall.sc-stzh-iframe{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 900px) and (min-width: 1600px){.stzh-iframe__cookiewall.sc-stzh-iframe{column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-iframe__cookiewall-content.sc-stzh-iframe{grid-area:content}}.stzh-iframe__cookiewall-text.sc-stzh-iframe{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding-top:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-top:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-top:var(--stzh-space-xlarge)}}.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{padding-bottom:var(--stzh-space-xlarge)}}.stzh-iframe__cookiewall-text.sc-stzh-iframe{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-iframe__cookiewall-text.sc-stzh-iframe{margin-bottom:var(--stzh-space-xxlarge)}}.stzh-iframe__cookiewall-close.sc-stzh-iframe{top:0;right:0;position:absolute;appearance:none;border:none;display:flex;align-items:center;justify-content:center;padding:var(--stzh-space-xsmall);background-color:transparent;color:var(--stzh-color-white);cursor:pointer}`;
|
|
2846
|
-
|
|
2847
|
-
// Save the original console.log method
|
|
2848
|
-
const originalConsoleLog = console.log;
|
|
2849
|
-
// Override console.log to suppress messages
|
|
2850
|
-
console.log = function () { };
|
|
2851
|
-
// this import was only used in the resize function line 169, leaving here for the reviewer to decide if it can be deleted for good.
|
|
2852
|
-
// import { getStzhEnvironment, StzhEnvironmentEnum } from "../../utils/utils";
|
|
2853
|
-
console.log = originalConsoleLog;
|
|
2854
|
-
const COOKIE_PREFIX_CONFIRM = "stzh-components-iframe-confirm";
|
|
2855
|
-
let iframeCounter = 0;
|
|
2856
|
-
const StzhIframe = /*@__PURE__*/ proxyCustomElement(class StzhIframe extends H {
|
|
2857
|
-
constructor(registerHost) {
|
|
2858
|
-
super();
|
|
2859
|
-
if (registerHost !== false) {
|
|
2860
|
-
this.__registerHost();
|
|
2861
|
-
}
|
|
2862
|
-
this.stzhPreviewSkip = createEvent(this, "stzhPreviewSkip");
|
|
2863
|
-
this.stzhViewChange = createEvent(this, "stzhViewChange");
|
|
2864
|
-
/** Automatic height resizing of iFrame (Option SameSecondLevelDomain is Deprecated)*/
|
|
2865
|
-
this.iframeResizerVariant = "None";
|
|
2866
|
-
/**
|
|
2867
|
-
* Allow of Iframe
|
|
2868
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe?retiredLocale=de#allow
|
|
2869
|
-
*/
|
|
2870
|
-
this.allow = "autoplay; fullscreen";
|
|
2871
|
-
/** Width of iframe */
|
|
2872
|
-
this.width = "100%";
|
|
2873
|
-
/** Width of iframe */
|
|
2874
|
-
this.height = "100%";
|
|
2875
|
-
/** `src` of iframe */
|
|
2876
|
-
this.src = "";
|
|
2877
|
-
this._src = null;
|
|
2878
|
-
/**
|
|
2879
|
-
* Number of days the cookie is valid for.
|
|
2880
|
-
* If omitted or set to null, the cookie expires when browser is closed.
|
|
2881
|
-
* Maximum is on year (365 days, is default).
|
|
2882
|
-
*/
|
|
2883
|
-
this.cookieExpires = 365;
|
|
2884
|
-
/** Preview icon */
|
|
2885
|
-
this.previewIcon = "external-link";
|
|
2886
|
-
/** Whether preview should be skipped, if user has passed the cookiewall before */
|
|
2887
|
-
this.skipPreviewIfCookieAccepted = false;
|
|
2888
|
-
/** Whether preview should always be skipped */
|
|
2889
|
-
this.skipPreview = false;
|
|
2890
|
-
this.view = "preview";
|
|
2891
|
-
this.updateFocus = false;
|
|
2892
|
-
this.handleIframeLoad = () => {
|
|
2893
|
-
if (this.updateFocus) {
|
|
2894
|
-
this.iframeElement.focus();
|
|
2895
|
-
this.updateFocus = false;
|
|
2896
|
-
}
|
|
2897
|
-
this.initializeIframeResizing();
|
|
2898
|
-
};
|
|
2899
|
-
this.handleCookiewallCloseClick = () => {
|
|
2900
|
-
this.updateFocus = true;
|
|
2901
|
-
this.view = "preview";
|
|
2902
|
-
this.stzhViewChange.emit({
|
|
2903
|
-
component: "stzh-iframe",
|
|
2904
|
-
value: this.view,
|
|
2905
|
-
});
|
|
2906
|
-
};
|
|
2907
|
-
this.handleCookiewallConfirmClick = () => {
|
|
2908
|
-
api.set(`${COOKIE_PREFIX_CONFIRM}-${this.cookie}`, "1", {
|
|
2909
|
-
expires: this.cookieExpires || null,
|
|
2910
|
-
});
|
|
2911
|
-
this.updateFocus = true;
|
|
2912
|
-
this.view = "iframe";
|
|
2913
|
-
this.stzhViewChange.emit({
|
|
2914
|
-
component: "stzh-iframe",
|
|
2915
|
-
value: this.view,
|
|
2916
|
-
});
|
|
2917
|
-
};
|
|
2918
|
-
this.handlePreviewClick = () => {
|
|
2919
|
-
const cookieAccepted = api.get(`${COOKIE_PREFIX_CONFIRM}-${this.cookie}`) || false;
|
|
2920
|
-
this.updateFocus = true;
|
|
2921
|
-
if (!this.cookie || cookieAccepted) {
|
|
2922
|
-
this.view = "iframe";
|
|
2923
|
-
}
|
|
2924
|
-
else {
|
|
2925
|
-
this.view = "cookiewall";
|
|
2926
|
-
}
|
|
2927
|
-
this.stzhViewChange.emit({
|
|
2928
|
-
component: "stzh-iframe",
|
|
2929
|
-
value: this.view,
|
|
2930
|
-
});
|
|
2931
|
-
};
|
|
2932
|
-
}
|
|
2933
|
-
srcWatcher(newValue) {
|
|
2934
|
-
if (this.view === "iframe") {
|
|
2935
|
-
this._src = newValue;
|
|
2936
|
-
}
|
|
2937
|
-
}
|
|
2938
|
-
viewWatcher(newValue) {
|
|
2939
|
-
if (newValue === "iframe") {
|
|
2940
|
-
this._src = this.src;
|
|
2941
|
-
}
|
|
2942
|
-
else {
|
|
2943
|
-
this._src = null;
|
|
2944
|
-
}
|
|
2945
|
-
}
|
|
2946
|
-
initializeIframeResizing() {
|
|
2947
|
-
switch (this.iframeResizerVariant) {
|
|
2948
|
-
case "None":
|
|
2949
|
-
return;
|
|
2950
|
-
case "PostMessage":
|
|
2951
|
-
iFrameResizeModule.iframeResize({
|
|
2952
|
-
log: false, // getStzhEnvironment() !== StzhEnvironmentEnum.PROD,
|
|
2953
|
-
checkOrigin: false,
|
|
2954
|
-
}, this.iframeElement);
|
|
2955
|
-
break;
|
|
2956
|
-
case "SameSecondLevelDomain":
|
|
2957
|
-
console.warn("stzh-iframe: sameSecondLevelDomain is deprecated as it does no longer work on evergreen browsers, use PostMessage instead.");
|
|
2958
|
-
if (!this.iframeResizerSecondlevelDomain) {
|
|
2959
|
-
console.log("stzh-iframe:", "property 'iframeSecondlevelDomain' not filled out.");
|
|
2960
|
-
}
|
|
2961
|
-
this.setupIframeAutoSizing({
|
|
2962
|
-
frameId: this.iframeId,
|
|
2963
|
-
heightCorrection: this.iframeResizerHeightCorrection || 0,
|
|
2964
|
-
hasSameDomain: false,
|
|
2965
|
-
secondLevelDomain: this.iframeResizerSecondlevelDomain,
|
|
2966
|
-
});
|
|
2967
|
-
break;
|
|
2968
|
-
}
|
|
2969
|
-
}
|
|
2970
|
-
setupIframeAutoSizing(config) {
|
|
2971
|
-
const createResizer = (iframe, config) => {
|
|
2972
|
-
return () => {
|
|
2973
|
-
var _a;
|
|
2974
|
-
try {
|
|
2975
|
-
const newHeight = ((_a = iframe.contentWindow) === null || _a === void 0 ? void 0 : _a.document.body.scrollHeight) || 0;
|
|
2976
|
-
if (newHeight > 0) {
|
|
2977
|
-
iframe.style.height = `${newHeight + config.heightCorrection}px`;
|
|
2978
|
-
}
|
|
2979
|
-
}
|
|
2980
|
-
catch (error) {
|
|
2981
|
-
console.warn("stzh-iframe:", "Resizing not possible, perhaps due to cross-domain restrictions:", error);
|
|
2982
|
-
}
|
|
2983
|
-
};
|
|
2984
|
-
};
|
|
2985
|
-
if (!config.hasSameDomain) {
|
|
2986
|
-
document.domain = config.secondLevelDomain;
|
|
2987
|
-
}
|
|
2988
|
-
const iframe = document.getElementById(config.frameId);
|
|
2989
|
-
if (!iframe) {
|
|
2990
|
-
console.error(`Iframe with ID ${config.frameId} not found`);
|
|
2991
|
-
return;
|
|
2992
|
-
}
|
|
2993
|
-
const resizer = createResizer(iframe, config);
|
|
2994
|
-
window.addEventListener("resize", resizer);
|
|
2995
|
-
iframe.addEventListener("load", resizer);
|
|
2996
|
-
iframe.addEventListener("blur", resizer);
|
|
2997
|
-
iframe.addEventListener("readystatechange", resizer); // hack for internet explorer...
|
|
2998
|
-
try {
|
|
2999
|
-
// this might go wrong on IE, if iframe hasn't fully loaded yet, but it doesn't matter.
|
|
3000
|
-
resizer();
|
|
3001
|
-
}
|
|
3002
|
-
catch (error) {
|
|
3003
|
-
console.warn("Initial resize failed, likely due to iframe not being fully loaded yet:", error);
|
|
3004
|
-
}
|
|
3005
|
-
}
|
|
3006
|
-
async componentWillLoad() {
|
|
3007
|
-
this.internalId = `stzh-iframe-${iframeCounter++}`;
|
|
3008
|
-
const cookieAccepted = api.get(`${COOKIE_PREFIX_CONFIRM}-${this.cookie}`) || false;
|
|
3009
|
-
if (((!this.cookie || cookieAccepted) && (this.skipPreviewIfCookieAccepted || this.skipPreview)) ||
|
|
3010
|
-
(!this.cookie && this.skipPreview)) {
|
|
3011
|
-
this.stzhPreviewSkip.emit({
|
|
3012
|
-
component: "stzh-iframe",
|
|
3013
|
-
});
|
|
3014
|
-
this.view = "iframe";
|
|
3015
|
-
}
|
|
3016
|
-
else if (this.cookie && this.skipPreview) {
|
|
3017
|
-
this.view = "cookiewall";
|
|
3018
|
-
}
|
|
3019
|
-
this.viewWatcher(this.view);
|
|
3020
|
-
if (!this.localization) {
|
|
3021
|
-
this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, "iframe");
|
|
3022
|
-
}
|
|
3023
|
-
}
|
|
3024
|
-
async componentDidRender() {
|
|
3025
|
-
if (this.updateFocus) {
|
|
3026
|
-
if (this.view === "iframe") ;
|
|
3027
|
-
else if (this.view === "preview") {
|
|
3028
|
-
this.previewButtonElement.focus();
|
|
3029
|
-
this.updateFocus = false;
|
|
3030
|
-
}
|
|
3031
|
-
else if (this.view === "cookiewall") {
|
|
3032
|
-
this.confirmButtonElement.focus();
|
|
3033
|
-
this.updateFocus = false;
|
|
3034
|
-
}
|
|
3035
|
-
}
|
|
3036
|
-
}
|
|
3037
|
-
render() {
|
|
3038
|
-
const classes = {
|
|
3039
|
-
"stzh-iframe": true,
|
|
3040
|
-
};
|
|
3041
|
-
return (h(Host, { key: '1fe69c3ed66fcf2df93b326c561a6028440692f8' }, h("div", { key: '82c58641c4db576f6294f8393a986b943e772037', class: classes }, this.view === "iframe" && (h("iframe", { key: '034edfb3de8526aecade255a12d0bea73c9d7c71', id: this.iframeId, name: this.name, sandbox: this.sandbox, referrerPolicy: this.referrerpolicy, width: this.width, height: this.height, ref: el => (this.iframeElement = el), class: "stzh-iframe__iframe", src: this._src, allow: this.allow, onLoad: this.handleIframeLoad }, this.iframeErrorText)), h("button", { key: '241e3cf41fc8937e6552fbb11b9639f2bae81deb', ref: el => (this.previewButtonElement = el), onClick: this.handlePreviewClick, "aria-label": this.previewLabel || this.localization.defaultPreviewLabel,
|
|
3042
|
-
// disabled={this.view === "cookiewall"}
|
|
3043
|
-
class: {
|
|
3044
|
-
"stzh-iframe__preview": true,
|
|
3045
|
-
"is-visible": this.view === "preview" || this.view === "cookiewall",
|
|
3046
|
-
} }, h("div", { key: '59b04f8ea93e8c235d9bba0957d3a63e12a2c095', class: "stzh-iframe__preview-image-wrapper" }, h("slot", { key: 'ebc653577a767530f95f67cf0ba6bcf0dc051e9a', name: "preview-image" })), h("div", { key: 'b1777308ade82ccbd82c870b8e15ceee41124e44', class: "stzh-iframe__preview-logo-wrapper" }, h("slot", { key: '3fe5a67d48484ffecb7e59c46bdeb608130959fc', name: "preview-logo" })), this.previewIcon && (h("div", { key: 'ad2566078d6d368c3c4d3a32ffe6fb8ce3a47f4c', class: {
|
|
3047
|
-
"stzh-iframe__preview-run": true,
|
|
3048
|
-
"is-visible": this.view === "preview",
|
|
3049
|
-
} }, h("stzh-icon", { key: 'f7229a598f04da50096adc3c88d4bef42d9e9e12', class: "stzh-iframe__preview-run-icon", name: this.previewIcon })))), this.cookie && (h("div", { key: '0c7901bee220013d19dd97b64c32df893bf5c5f1', class: {
|
|
3050
|
-
"stzh-iframe__cookiewall": true,
|
|
3051
|
-
"is-visible": this.view === "cookiewall",
|
|
3052
|
-
} }, h("div", { key: 'f4376e70c26584881df1a3258e4cd5a9da7c65c0', class: "stzh-iframe__cookiewall-content" }, h("div", { key: 'dae5a42169876ae0e176afbcc0d2f86a9f426667', class: "stzh-iframe__cookiewall-text", id: `${this.internalId}-cookiewall-text` }, this.cookieConfirmText ? this.cookieConfirmText : h("slot", { name: "cookiewall-text" })), h("stzh-button", { key: '3557ea0293bc76e09a944c46f09b59ee606cef02', ref: el => (this.confirmButtonElement = el), class: "stzh-iframe__cookiewall-button", size: "small", a11yDescribedby: `${this.internalId}-cookiewall-text`, icon: this.cookieConfirmIcon, label: this.cookieConfirmLabel || this.localization.defaultConfirmLabel, onClick: this.handleCookiewallConfirmClick })), !this.skipPreview && (h("button", { key: '0bc9209657a7e522ffcb263b179504197750cd31', class: "stzh-iframe__cookiewall-close", onClick: this.handleCookiewallCloseClick, "aria-label": this.localization.confirmCloseLabel }, h("stzh-icon", { key: '3de9e76a87abfde642139fc941da28aee0f1d98f', class: "stzh-iframe__cookiewall-close-icon", name: "close" }))))))));
|
|
3053
|
-
}
|
|
3054
|
-
get element() { return this; }
|
|
3055
|
-
static get watchers() { return {
|
|
3056
|
-
"src": ["srcWatcher"],
|
|
3057
|
-
"view": ["viewWatcher"]
|
|
3058
|
-
}; }
|
|
3059
|
-
static get style() { return stzhIframeCss(); }
|
|
3060
|
-
}, [262, "stzh-iframe", {
|
|
3061
|
-
"localization": [16],
|
|
3062
|
-
"iframeId": [1, "iframe-id"],
|
|
3063
|
-
"iframeErrorText": [1, "iframe-error-text"],
|
|
3064
|
-
"iframeResizerVariant": [1, "iframe-resizer-variant"],
|
|
3065
|
-
"iframeResizerHeightCorrection": [2, "iframe-resizer-height-correction"],
|
|
3066
|
-
"iframeResizerSecondlevelDomain": [1, "iframe-resizer-secondlevel-domain"],
|
|
3067
|
-
"name": [1],
|
|
3068
|
-
"sandbox": [1],
|
|
3069
|
-
"referrerpolicy": [1],
|
|
3070
|
-
"allow": [1],
|
|
3071
|
-
"width": [1],
|
|
3072
|
-
"height": [1],
|
|
3073
|
-
"src": [1],
|
|
3074
|
-
"cookie": [1],
|
|
3075
|
-
"cookieExpires": [2, "cookie-expires"],
|
|
3076
|
-
"cookieConfirmIcon": [1, "cookie-confirm-icon"],
|
|
3077
|
-
"cookieConfirmLabel": [1, "cookie-confirm-label"],
|
|
3078
|
-
"cookieConfirmText": [1, "cookie-confirm-text"],
|
|
3079
|
-
"previewLabel": [1, "preview-label"],
|
|
3080
|
-
"previewIcon": [1, "preview-icon"],
|
|
3081
|
-
"skipPreviewIfCookieAccepted": [4, "skip-preview-if-cookie-accepted"],
|
|
3082
|
-
"skipPreview": [4, "skip-preview"],
|
|
3083
|
-
"view": [32]
|
|
3084
|
-
}, undefined, {
|
|
3085
|
-
"src": ["srcWatcher"],
|
|
3086
|
-
"view": ["viewWatcher"]
|
|
3087
|
-
}]);
|
|
3088
|
-
function defineCustomElement() {
|
|
3089
|
-
if (typeof customElements === "undefined") {
|
|
3090
|
-
return;
|
|
3091
|
-
}
|
|
3092
|
-
const components = ["stzh-iframe", "stzh-badge", "stzh-button", "stzh-icon"];
|
|
3093
|
-
components.forEach(tagName => { switch (tagName) {
|
|
3094
|
-
case "stzh-iframe":
|
|
3095
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
3096
|
-
customElements.define(transformTag(tagName), StzhIframe);
|
|
3097
|
-
}
|
|
3098
|
-
break;
|
|
3099
|
-
case "stzh-badge":
|
|
3100
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
3101
|
-
defineCustomElement$3();
|
|
3102
|
-
}
|
|
3103
|
-
break;
|
|
3104
|
-
case "stzh-button":
|
|
3105
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
3106
|
-
defineCustomElement$2();
|
|
3107
|
-
}
|
|
3108
|
-
break;
|
|
3109
|
-
case "stzh-icon":
|
|
3110
|
-
if (!customElements.get(transformTag(tagName))) {
|
|
3111
|
-
defineCustomElement$1();
|
|
3112
|
-
}
|
|
3113
|
-
break;
|
|
3114
|
-
} });
|
|
3115
|
-
}
|
|
3116
|
-
|
|
3117
|
-
export { StzhIframe as S, defineCustomElement as d };
|
|
3118
|
-
//# sourceMappingURL=p-BDEju9Yt.js.map
|
|
3119
|
-
|
|
3120
|
-
//# sourceMappingURL=p-BDEju9Yt.js.map
|