@oiz/stzh-components 4.6.0-beta3 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (977) hide show
  1. package/dist/cjs/{app-globals-e461c8c0.js → app-globals-237b22c8.js} +2 -2
  2. package/dist/cjs/{app-globals-e461c8c0.js.map → app-globals-237b22c8.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js +1 -1
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
  7. package/dist/cjs/stzh-actions_6.cjs.entry.js +10 -10
  8. package/dist/cjs/stzh-actions_6.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  10. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  15. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  16. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card.cjs.entry.js +4 -4
  21. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
  23. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  26. package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
  29. package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
  30. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-components.cjs.js +2 -2
  32. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-contact.cjs.entry.js +20 -2
  34. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  35. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datalist_3.cjs.entry.js +4 -4
  38. package/dist/cjs/stzh-datalist_3.cjs.entry.js.map +1 -1
  39. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +9 -9
  42. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
  47. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
  57. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
  58. package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  62. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
  64. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
  66. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-input.cjs.entry.js +5 -5
  68. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
  72. package/dist/cjs/stzh-loader_2.cjs.entry.js +2 -2
  73. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  75. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  76. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
  96. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
  101. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  103. package/dist/cjs/stzh-section.cjs.entry.js +2 -2
  104. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +2 -2
  106. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  107. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
  112. package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
  113. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  117. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
  122. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  123. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
  127. package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
  128. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  129. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_300.woff2 +0 -0
  130. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_400.woff2 +0 -0
  131. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_500.woff2 +0 -0
  132. package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_700.woff2 +0 -0
  133. package/dist/collection/assets/pkzh/fonts.css +38 -0
  134. package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +7 -2
  135. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +45 -1
  136. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
  137. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +19 -4
  138. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  139. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  140. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  141. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  142. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  143. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  144. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  145. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  146. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  147. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  148. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  149. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  150. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  151. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  152. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  153. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  155. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  156. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  157. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  158. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  159. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  160. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  161. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  162. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  163. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  164. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  165. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  166. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  167. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  168. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  169. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  170. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  171. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  172. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  173. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  174. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  175. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  176. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  177. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  178. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  179. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  180. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  181. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  182. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  183. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  184. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  185. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  186. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  187. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  188. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  189. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  190. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  191. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  192. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
  193. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  194. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  195. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  196. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
  197. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  198. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  199. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  200. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  201. package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
  202. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  203. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  204. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  205. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +6 -2
  206. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  207. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  208. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  209. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  210. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  211. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  212. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  213. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  214. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  215. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  216. package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
  217. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  218. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  219. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  220. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  221. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  222. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  223. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  224. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  225. package/dist/collection/components/stzh-input/stzh-input.js +5 -5
  226. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  227. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  228. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  229. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  230. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  231. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  232. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  233. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  234. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  235. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  236. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  237. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  238. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  239. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  240. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  241. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  242. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  243. package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
  244. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  245. package/dist/collection/components/stzh-rating/stzh-rating.js +2 -2
  246. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  247. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  248. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  249. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  250. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  251. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  252. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  253. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  254. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  255. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +21 -18
  256. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  257. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  258. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  259. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  260. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  261. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  262. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  263. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  264. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  265. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  266. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  267. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  268. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  269. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  270. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  271. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  272. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  273. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  274. package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
  275. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  276. package/dist/collection/components/stzh-upload/stzh-upload.js +2 -2
  277. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  278. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  279. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  280. package/dist/collection/index.js +1 -1
  281. package/dist/collection/index.js.map +1 -1
  282. package/dist/components/index.js +2 -2
  283. package/dist/components/{p-593ca1a7.js → p-04567f95.js} +6 -6
  284. package/dist/components/{p-593ca1a7.js.map → p-04567f95.js.map} +1 -1
  285. package/dist/components/{p-1679fb1d.js → p-0b630cac.js} +12 -12
  286. package/dist/components/{p-1679fb1d.js.map → p-0b630cac.js.map} +1 -1
  287. package/dist/components/{p-3d2bf808.js → p-0f94b704.js} +7 -7
  288. package/dist/components/{p-3d2bf808.js.map → p-0f94b704.js.map} +1 -1
  289. package/dist/components/{p-c5aa3de6.js → p-1462b0ac.js} +8 -8
  290. package/dist/components/{p-c5aa3de6.js.map → p-1462b0ac.js.map} +1 -1
  291. package/dist/components/{p-adfe9c18.js → p-18f73dde.js} +3 -3
  292. package/dist/components/{p-adfe9c18.js.map → p-18f73dde.js.map} +1 -1
  293. package/dist/components/{p-b8f2532a.js → p-1ec35678.js} +5 -5
  294. package/dist/components/{p-b8f2532a.js.map → p-1ec35678.js.map} +1 -1
  295. package/dist/components/{p-c1fd09b7.js → p-1f315034.js} +7 -7
  296. package/dist/components/{p-c1fd09b7.js.map → p-1f315034.js.map} +1 -1
  297. package/dist/components/{p-a5acb217.js → p-200f9da5.js} +3 -3
  298. package/dist/components/{p-a5acb217.js.map → p-200f9da5.js.map} +1 -1
  299. package/dist/components/{p-b1c3189a.js → p-258d7bde.js} +6 -6
  300. package/dist/components/{p-b1c3189a.js.map → p-258d7bde.js.map} +1 -1
  301. package/dist/components/{p-831467e5.js → p-27688347.js} +5 -5
  302. package/dist/components/{p-831467e5.js.map → p-27688347.js.map} +1 -1
  303. package/dist/components/{p-0290bc39.js → p-27bf6b87.js} +9 -9
  304. package/dist/components/{p-0290bc39.js.map → p-27bf6b87.js.map} +1 -1
  305. package/dist/components/{p-79ffaacb.js → p-28548919.js} +11 -11
  306. package/dist/components/{p-79ffaacb.js.map → p-28548919.js.map} +1 -1
  307. package/dist/components/{p-f1e6bceb.js → p-2c27e000.js} +14 -14
  308. package/dist/components/{p-f1e6bceb.js.map → p-2c27e000.js.map} +1 -1
  309. package/dist/components/{p-ba8edf1e.js → p-2d2bf07d.js} +2 -2
  310. package/dist/components/{p-ba8edf1e.js.map → p-2d2bf07d.js.map} +1 -1
  311. package/dist/components/{p-10d1bf15.js → p-2d80d228.js} +4 -4
  312. package/dist/components/{p-10d1bf15.js.map → p-2d80d228.js.map} +1 -1
  313. package/dist/components/{p-c2d36658.js → p-31a89409.js} +14 -14
  314. package/dist/components/{p-c2d36658.js.map → p-31a89409.js.map} +1 -1
  315. package/dist/components/{p-f5779736.js → p-37c9ec06.js} +2 -2
  316. package/dist/components/p-37c9ec06.js.map +1 -0
  317. package/dist/components/{p-2c788dcd.js → p-38c15f74.js} +2 -2
  318. package/dist/components/{p-2c788dcd.js.map → p-38c15f74.js.map} +1 -1
  319. package/dist/components/{p-7a4eaab2.js → p-3c6af723.js} +2 -2
  320. package/dist/components/{p-7a4eaab2.js.map → p-3c6af723.js.map} +1 -1
  321. package/dist/components/{p-5aa4ca6b.js → p-3d3c2de8.js} +2 -2
  322. package/dist/components/{p-5aa4ca6b.js.map → p-3d3c2de8.js.map} +1 -1
  323. package/dist/components/{p-bfccc4ba.js → p-3d9ce94f.js} +8 -8
  324. package/dist/components/{p-bfccc4ba.js.map → p-3d9ce94f.js.map} +1 -1
  325. package/dist/components/{p-7121e1bf.js → p-472ab25f.js} +3 -3
  326. package/dist/components/{p-7121e1bf.js.map → p-472ab25f.js.map} +1 -1
  327. package/dist/components/{p-b6a6ff54.js → p-49d51921.js} +2 -2
  328. package/dist/components/{p-b6a6ff54.js.map → p-49d51921.js.map} +1 -1
  329. package/dist/components/p-4b6c4031.js +83 -0
  330. package/dist/components/p-4b6c4031.js.map +1 -0
  331. package/dist/components/{p-a02372f5.js → p-4ea49c40.js} +2 -2
  332. package/dist/components/{p-a02372f5.js.map → p-4ea49c40.js.map} +1 -1
  333. package/dist/components/{p-a773eb1b.js → p-51253a86.js} +6 -6
  334. package/dist/components/{p-a773eb1b.js.map → p-51253a86.js.map} +1 -1
  335. package/dist/components/{p-8faab692.js → p-519479b8.js} +3 -3
  336. package/dist/components/{p-8faab692.js.map → p-519479b8.js.map} +1 -1
  337. package/dist/components/{p-4c4a22d3.js → p-5519805a.js} +2 -2
  338. package/dist/components/{p-4c4a22d3.js.map → p-5519805a.js.map} +1 -1
  339. package/dist/components/{p-b35195c8.js → p-5c7c4130.js} +4 -4
  340. package/dist/components/{p-b35195c8.js.map → p-5c7c4130.js.map} +1 -1
  341. package/dist/components/{p-ce788661.js → p-60907498.js} +2 -2
  342. package/dist/components/{p-ce788661.js.map → p-60907498.js.map} +1 -1
  343. package/dist/components/{p-a2659715.js → p-60d4ef07.js} +2 -2
  344. package/dist/components/{p-a2659715.js.map → p-60d4ef07.js.map} +1 -1
  345. package/dist/components/{p-7b9767bc.js → p-63080941.js} +7 -7
  346. package/dist/components/{p-7b9767bc.js.map → p-63080941.js.map} +1 -1
  347. package/dist/components/{p-700a2919.js → p-694da289.js} +2 -2
  348. package/dist/components/{p-700a2919.js.map → p-694da289.js.map} +1 -1
  349. package/dist/components/{p-2035f3fc.js → p-6d08555b.js} +3 -3
  350. package/dist/components/{p-2035f3fc.js.map → p-6d08555b.js.map} +1 -1
  351. package/dist/components/{p-356399a0.js → p-70651df8.js} +2 -2
  352. package/dist/components/{p-356399a0.js.map → p-70651df8.js.map} +1 -1
  353. package/dist/components/{p-692cd6d0.js → p-78ad1fb5.js} +2 -2
  354. package/dist/components/{p-692cd6d0.js.map → p-78ad1fb5.js.map} +1 -1
  355. package/dist/components/{p-06fdd62d.js → p-79436c88.js} +6 -6
  356. package/dist/components/{p-06fdd62d.js.map → p-79436c88.js.map} +1 -1
  357. package/dist/components/{p-556af4a4.js → p-7969eeb6.js} +2 -2
  358. package/dist/components/{p-556af4a4.js.map → p-7969eeb6.js.map} +1 -1
  359. package/dist/components/{p-f3c5a9d6.js → p-851bafc2.js} +3 -3
  360. package/dist/components/{p-f3c5a9d6.js.map → p-851bafc2.js.map} +1 -1
  361. package/dist/components/{p-893776e9.js → p-94398518.js} +3 -3
  362. package/dist/components/{p-893776e9.js.map → p-94398518.js.map} +1 -1
  363. package/dist/components/{p-ae5316c9.js → p-955f381a.js} +2 -2
  364. package/dist/components/{p-ae5316c9.js.map → p-955f381a.js.map} +1 -1
  365. package/dist/components/{p-5123f47f.js → p-95960509.js} +10 -10
  366. package/dist/components/{p-5123f47f.js.map → p-95960509.js.map} +1 -1
  367. package/dist/components/{p-69f3b8e3.js → p-99c93f51.js} +5 -5
  368. package/dist/components/{p-69f3b8e3.js.map → p-99c93f51.js.map} +1 -1
  369. package/dist/components/{p-9574ea75.js → p-9dccba17.js} +7 -7
  370. package/dist/components/{p-9574ea75.js.map → p-9dccba17.js.map} +1 -1
  371. package/dist/components/{p-51367ddc.js → p-a3e94f5e.js} +12 -12
  372. package/dist/components/{p-51367ddc.js.map → p-a3e94f5e.js.map} +1 -1
  373. package/dist/components/{p-f8294f26.js → p-a792adae.js} +7 -7
  374. package/dist/components/{p-f8294f26.js.map → p-a792adae.js.map} +1 -1
  375. package/dist/components/{p-a3c5c1b3.js → p-b7348f8a.js} +2 -2
  376. package/dist/components/{p-a3c5c1b3.js.map → p-b7348f8a.js.map} +1 -1
  377. package/dist/components/{p-42e86bbd.js → p-b8fda153.js} +2 -2
  378. package/dist/components/{p-42e86bbd.js.map → p-b8fda153.js.map} +1 -1
  379. package/dist/components/{p-136ea314.js → p-bafc325d.js} +8 -8
  380. package/dist/components/p-bafc325d.js.map +1 -0
  381. package/dist/components/{p-5c9d22b6.js → p-c032bedc.js} +2 -2
  382. package/dist/components/{p-5c9d22b6.js.map → p-c032bedc.js.map} +1 -1
  383. package/dist/components/{p-9dba6e5f.js → p-c4637521.js} +6 -6
  384. package/dist/components/{p-9dba6e5f.js.map → p-c4637521.js.map} +1 -1
  385. package/dist/components/{p-8fb1ee85.js → p-c484e7ca.js} +2 -2
  386. package/dist/components/{p-8fb1ee85.js.map → p-c484e7ca.js.map} +1 -1
  387. package/dist/components/{p-00bfe201.js → p-c6147c2a.js} +3 -3
  388. package/dist/components/{p-00bfe201.js.map → p-c6147c2a.js.map} +1 -1
  389. package/dist/components/{p-d857450c.js → p-c750600a.js} +3 -3
  390. package/dist/components/{p-d857450c.js.map → p-c750600a.js.map} +1 -1
  391. package/dist/components/{p-a87c8ead.js → p-c7797402.js} +2 -2
  392. package/dist/components/{p-a87c8ead.js.map → p-c7797402.js.map} +1 -1
  393. package/dist/components/{p-9aa37b0e.js → p-c8267c9e.js} +7 -7
  394. package/dist/components/{p-9aa37b0e.js.map → p-c8267c9e.js.map} +1 -1
  395. package/dist/components/{p-b2eca173.js → p-c9320f27.js} +4 -4
  396. package/dist/components/{p-b2eca173.js.map → p-c9320f27.js.map} +1 -1
  397. package/dist/components/{p-d0ecd5c0.js → p-cac39de3.js} +3 -3
  398. package/dist/components/{p-d0ecd5c0.js.map → p-cac39de3.js.map} +1 -1
  399. package/dist/components/{p-72a74fcf.js → p-cb0898ca.js} +6 -6
  400. package/dist/components/{p-72a74fcf.js.map → p-cb0898ca.js.map} +1 -1
  401. package/dist/components/{p-cef2a7e4.js → p-cccc2b32.js} +9 -9
  402. package/dist/components/{p-cef2a7e4.js.map → p-cccc2b32.js.map} +1 -1
  403. package/dist/components/{p-1f375b7d.js → p-cdaf20f3.js} +7 -7
  404. package/dist/components/{p-1f375b7d.js.map → p-cdaf20f3.js.map} +1 -1
  405. package/dist/components/{p-8f155465.js → p-d1d54b5f.js} +3 -3
  406. package/dist/components/{p-8f155465.js.map → p-d1d54b5f.js.map} +1 -1
  407. package/dist/components/{p-74ae8080.js → p-db160bc1.js} +6 -6
  408. package/dist/components/{p-74ae8080.js.map → p-db160bc1.js.map} +1 -1
  409. package/dist/components/{p-15761c26.js → p-dc031c55.js} +9 -9
  410. package/dist/components/{p-15761c26.js.map → p-dc031c55.js.map} +1 -1
  411. package/dist/components/{p-8ea6e1c0.js → p-dd119f51.js} +2 -2
  412. package/dist/components/{p-8ea6e1c0.js.map → p-dd119f51.js.map} +1 -1
  413. package/dist/components/{p-e4ff57a8.js → p-e25baa50.js} +4 -4
  414. package/dist/components/{p-e4ff57a8.js.map → p-e25baa50.js.map} +1 -1
  415. package/dist/components/{p-b5caf3f4.js → p-e29cdad5.js} +3 -3
  416. package/dist/components/{p-b5caf3f4.js.map → p-e29cdad5.js.map} +1 -1
  417. package/dist/components/{p-b84d0233.js → p-ec5e2f2a.js} +4 -4
  418. package/dist/components/{p-b84d0233.js.map → p-ec5e2f2a.js.map} +1 -1
  419. package/dist/components/{p-905447b5.js → p-ef7cf99a.js} +4 -4
  420. package/dist/components/{p-905447b5.js.map → p-ef7cf99a.js.map} +1 -1
  421. package/dist/components/{p-bb38e284.js → p-f362f8aa.js} +3 -3
  422. package/dist/components/{p-bb38e284.js.map → p-f362f8aa.js.map} +1 -1
  423. package/dist/components/{p-39b23489.js → p-fc668f7b.js} +2 -2
  424. package/dist/components/{p-39b23489.js.map → p-fc668f7b.js.map} +1 -1
  425. package/dist/components/stzh-accordion-item.js +1 -1
  426. package/dist/components/stzh-accordion.js +1 -1
  427. package/dist/components/stzh-actions.js +1 -1
  428. package/dist/components/stzh-actionset.js +1 -1
  429. package/dist/components/stzh-amount.js +9 -9
  430. package/dist/components/stzh-anchornav.js +5 -5
  431. package/dist/components/stzh-app-nav.js +1 -1
  432. package/dist/components/stzh-appointments.js +14 -14
  433. package/dist/components/stzh-archivelist.js +6 -6
  434. package/dist/components/stzh-audio.js +7 -7
  435. package/dist/components/stzh-badge.js +1 -1
  436. package/dist/components/stzh-banner.js +3 -3
  437. package/dist/components/stzh-bathstatus-item.js +1 -1
  438. package/dist/components/stzh-bathstatus-list.js +6 -6
  439. package/dist/components/stzh-breadcrumb.js +1 -1
  440. package/dist/components/stzh-button.js +1 -1
  441. package/dist/components/stzh-buttongroup.js +1 -1
  442. package/dist/components/stzh-calendar.js +1 -1
  443. package/dist/components/stzh-card-navigation.js +2 -2
  444. package/dist/components/stzh-card-searchresult.js +14 -14
  445. package/dist/components/stzh-card-superteaser.js +13 -13
  446. package/dist/components/stzh-card.js +1 -1
  447. package/dist/components/stzh-cardlist.js +1 -1
  448. package/dist/components/stzh-carousel.js +1 -1
  449. package/dist/components/stzh-cell.js +1 -1
  450. package/dist/components/stzh-chart.js +1 -1
  451. package/dist/components/stzh-checkbox.js +1 -1
  452. package/dist/components/stzh-checkboxgroup.js +6 -6
  453. package/dist/components/stzh-chip.js +1 -1
  454. package/dist/components/stzh-chipgroup.js +1 -1
  455. package/dist/components/stzh-chipselect.js +1 -1
  456. package/dist/components/stzh-clamp.js +1 -1
  457. package/dist/components/stzh-company-logo.js +1 -1
  458. package/dist/components/stzh-contact-cv.js +4 -4
  459. package/dist/components/stzh-contact.js +56 -12
  460. package/dist/components/stzh-contact.js.map +1 -1
  461. package/dist/components/stzh-container.js +1 -1
  462. package/dist/components/stzh-content.js +1 -1
  463. package/dist/components/stzh-cspace.js +1 -1
  464. package/dist/components/stzh-cta.js +3 -3
  465. package/dist/components/stzh-datalist-item.js +1 -1
  466. package/dist/components/stzh-datalist.js +1 -1
  467. package/dist/components/stzh-datamessagelist-item.js +11 -11
  468. package/dist/components/stzh-datamessagelist.js +1 -1
  469. package/dist/components/stzh-datatable.js +16 -16
  470. package/dist/components/stzh-datepicker.js +1 -1
  471. package/dist/components/stzh-daterange.js +4 -4
  472. package/dist/components/stzh-details.js +1 -1
  473. package/dist/components/stzh-dialog.js +1 -1
  474. package/dist/components/stzh-disturber.js +4 -4
  475. package/dist/components/stzh-dropdown.js +1 -1
  476. package/dist/components/stzh-editor.js +4 -4
  477. package/dist/components/stzh-eventdata.js +1 -1
  478. package/dist/components/stzh-eventinfo.js +5 -5
  479. package/dist/components/stzh-feedreader-item.js +2 -2
  480. package/dist/components/stzh-feedreader.js +8 -8
  481. package/dist/components/stzh-fieldset.js +1 -1
  482. package/dist/components/stzh-figure.js +1 -1
  483. package/dist/components/stzh-flyingfocus.js +1 -1
  484. package/dist/components/stzh-footer.js +4 -4
  485. package/dist/components/stzh-gallery.js +8 -8
  486. package/dist/components/stzh-geo-ref-data.js +25 -25
  487. package/dist/components/stzh-ghettobox.js +1 -1
  488. package/dist/components/stzh-header.js +1 -1
  489. package/dist/components/stzh-heading.js +1 -1
  490. package/dist/components/stzh-homepage-search.js +2 -2
  491. package/dist/components/stzh-homepage-service-highlights.js +7 -7
  492. package/dist/components/stzh-hr.js +1 -1
  493. package/dist/components/stzh-hspace.js +1 -1
  494. package/dist/components/stzh-http-error.js +7 -7
  495. package/dist/components/stzh-icon.js +1 -1
  496. package/dist/components/stzh-iframe.js +1 -1
  497. package/dist/components/stzh-imagecomparison.js +3 -3
  498. package/dist/components/stzh-input.js +1 -1
  499. package/dist/components/stzh-invert.js +1 -1
  500. package/dist/components/stzh-link.js +1 -1
  501. package/dist/components/stzh-linklist.js +10 -10
  502. package/dist/components/stzh-list-item.js +1 -1
  503. package/dist/components/stzh-list.js +1 -1
  504. package/dist/components/stzh-loader.js +1 -1
  505. package/dist/components/stzh-loadingbar.js +1 -1
  506. package/dist/components/stzh-menu-item.js +1 -1
  507. package/dist/components/stzh-menu.js +1 -1
  508. package/dist/components/stzh-message.js +1 -1
  509. package/dist/components/stzh-microsite-teaserlist.js +19 -19
  510. package/dist/components/stzh-monthyearpicker.js +5 -5
  511. package/dist/components/stzh-offline-indicator.js +6 -6
  512. package/dist/components/stzh-olmap.js +1 -1
  513. package/dist/components/stzh-overlay.js +1 -1
  514. package/dist/components/stzh-page-skiplinks.js +1 -1
  515. package/dist/components/stzh-pagebottom.js +8 -8
  516. package/dist/components/stzh-pagecontent.js +1 -1
  517. package/dist/components/stzh-pagetitle-hero.js +1 -1
  518. package/dist/components/stzh-pagetitle-home.js +2 -2
  519. package/dist/components/stzh-pagetitle.js +2 -2
  520. package/dist/components/stzh-pagination.js +1 -1
  521. package/dist/components/stzh-panorama.js +12 -12
  522. package/dist/components/stzh-pi-content-navigation.js +3 -3
  523. package/dist/components/stzh-pi-menu.js +3 -3
  524. package/dist/components/stzh-pi-pagetitle.js +2 -2
  525. package/dist/components/stzh-pi-quote.js +1 -1
  526. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  527. package/dist/components/stzh-pi-teaser-layout.js +1 -1
  528. package/dist/components/stzh-pi-teaser.js +2 -2
  529. package/dist/components/stzh-pkzh-qr.js +19 -19
  530. package/dist/components/stzh-poicard.js +1 -1
  531. package/dist/components/stzh-poilist.js +18 -18
  532. package/dist/components/stzh-popover.js +1 -1
  533. package/dist/components/stzh-print.js +1 -1
  534. package/dist/components/stzh-quote.js +1 -1
  535. package/dist/components/stzh-radio.js +1 -1
  536. package/dist/components/stzh-radiogroup.js +1 -1
  537. package/dist/components/stzh-rating.js +5 -5
  538. package/dist/components/stzh-ratio.js +1 -1
  539. package/dist/components/stzh-readspeaker.js +5 -5
  540. package/dist/components/stzh-richtext.js +1 -1
  541. package/dist/components/stzh-row.js +1 -1
  542. package/dist/components/stzh-saptcha.js +8 -8
  543. package/dist/components/stzh-scrollup.js +1 -1
  544. package/dist/components/stzh-search.js +17 -17
  545. package/dist/components/stzh-section.js +2 -2
  546. package/dist/components/stzh-share.js +1 -1
  547. package/dist/components/stzh-show.js +1 -1
  548. package/dist/components/stzh-sitemap.js +9 -9
  549. package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
  550. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  551. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  552. package/dist/components/stzh-skiplink.js +1 -1
  553. package/dist/components/stzh-socialmediastream-item.js +1 -1
  554. package/dist/components/stzh-socialmediastream.js +6 -6
  555. package/dist/components/stzh-sortable.js +1 -1
  556. package/dist/components/stzh-space.js +1 -1
  557. package/dist/components/stzh-status.js +1 -1
  558. package/dist/components/stzh-stepper-item.js +1 -1
  559. package/dist/components/stzh-stepper.js +5 -5
  560. package/dist/components/stzh-sticky-actions.js +2 -2
  561. package/dist/components/stzh-sticky.js +1 -1
  562. package/dist/components/stzh-table.js +1 -1
  563. package/dist/components/stzh-tag.js +1 -1
  564. package/dist/components/stzh-text.js +1 -1
  565. package/dist/components/stzh-textandimage.js +1 -1
  566. package/dist/components/stzh-timeline-item.js +3 -3
  567. package/dist/components/stzh-timeline.js +1 -1
  568. package/dist/components/stzh-timepicker.js +5 -5
  569. package/dist/components/stzh-toast.js +1 -1
  570. package/dist/components/stzh-toastbar.js +1 -1
  571. package/dist/components/stzh-toggle.js +6 -6
  572. package/dist/components/stzh-tooltip.js +1 -1
  573. package/dist/components/stzh-twocolumns.js +1 -1
  574. package/dist/components/stzh-upload.js +13 -13
  575. package/dist/components/stzh-vbz-carousel.js +1 -1
  576. package/dist/components/stzh-vbz-intro.js +4 -4
  577. package/dist/components/stzh-vbz-linechip.js +1 -1
  578. package/dist/components/stzh-vbz-majorticker.js +7 -7
  579. package/dist/components/stzh-vbz-ticker.js +7 -7
  580. package/dist/components/stzh-visuallyhidden.js +2 -2
  581. package/dist/components/stzh-vspace.js +2 -2
  582. package/dist/components/stzh-youtube.js +6 -6
  583. package/dist/esm/{app-globals-54af31db.js → app-globals-a962cea2.js} +2 -2
  584. package/dist/esm/{app-globals-54af31db.js.map → app-globals-a962cea2.js.map} +1 -1
  585. package/dist/esm/index.js +1 -1
  586. package/dist/esm/index.js.map +1 -1
  587. package/dist/esm/loader.js +2 -2
  588. package/dist/esm/stzh-accordion_3.entry.js +3 -3
  589. package/dist/esm/stzh-actions_6.entry.js +10 -10
  590. package/dist/esm/stzh-actions_6.entry.js.map +1 -1
  591. package/dist/esm/stzh-actionset.entry.js +5 -5
  592. package/dist/esm/stzh-amount.entry.js +1 -1
  593. package/dist/esm/stzh-anchornav.entry.js +1 -1
  594. package/dist/esm/stzh-app-nav.entry.js +1 -1
  595. package/dist/esm/stzh-appointments.entry.js +1 -1
  596. package/dist/esm/stzh-audio.entry.js +3 -3
  597. package/dist/esm/stzh-badge_3.entry.js +3 -3
  598. package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
  599. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  600. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  601. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  602. package/dist/esm/stzh-card.entry.js +4 -4
  603. package/dist/esm/stzh-cardlist_3.entry.js +3 -3
  604. package/dist/esm/stzh-carousel.entry.js +2 -2
  605. package/dist/esm/stzh-chart.entry.js +1 -1
  606. package/dist/esm/stzh-checkbox.entry.js +3 -3
  607. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  608. package/dist/esm/stzh-chip.entry.js +1 -1
  609. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  610. package/dist/esm/stzh-chipselect.entry.js +4 -4
  611. package/dist/esm/stzh-clamp.entry.js +2 -2
  612. package/dist/esm/stzh-company-logo.entry.js +1 -1
  613. package/dist/esm/stzh-components.js +2 -2
  614. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  615. package/dist/esm/stzh-contact.entry.js +20 -2
  616. package/dist/esm/stzh-contact.entry.js.map +1 -1
  617. package/dist/esm/stzh-content.entry.js +1 -1
  618. package/dist/esm/stzh-cta.entry.js +1 -1
  619. package/dist/esm/stzh-datalist_3.entry.js +4 -4
  620. package/dist/esm/stzh-datalist_3.entry.js.map +1 -1
  621. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  622. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  623. package/dist/esm/stzh-datepicker_3.entry.js +9 -9
  624. package/dist/esm/stzh-daterange.entry.js +1 -1
  625. package/dist/esm/stzh-details.entry.js +1 -1
  626. package/dist/esm/stzh-dialog.entry.js +2 -2
  627. package/dist/esm/stzh-disturber.entry.js +1 -1
  628. package/dist/esm/stzh-dropdown.entry.js +4 -4
  629. package/dist/esm/stzh-editor.entry.js +1 -1
  630. package/dist/esm/stzh-eventdata.entry.js +1 -1
  631. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  632. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  633. package/dist/esm/stzh-feedreader.entry.js +1 -1
  634. package/dist/esm/stzh-figure.entry.js +1 -1
  635. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  636. package/dist/esm/stzh-footer.entry.js +1 -1
  637. package/dist/esm/stzh-gallery.entry.js +1 -1
  638. package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
  639. package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
  640. package/dist/esm/stzh-header_2.entry.js +1 -1
  641. package/dist/esm/stzh-heading.entry.js +1 -1
  642. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  643. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  644. package/dist/esm/stzh-hr.entry.js +1 -1
  645. package/dist/esm/stzh-hspace.entry.js +2 -2
  646. package/dist/esm/stzh-http-error.entry.js +1 -1
  647. package/dist/esm/stzh-iframe.entry.js +4 -4
  648. package/dist/esm/stzh-imagecomparison.entry.js +2 -2
  649. package/dist/esm/stzh-input.entry.js +5 -5
  650. package/dist/esm/stzh-invert.entry.js +1 -1
  651. package/dist/esm/stzh-link.entry.js +1 -1
  652. package/dist/esm/stzh-linklist.entry.js +1 -1
  653. package/dist/esm/stzh-list_2.entry.js +2 -2
  654. package/dist/esm/stzh-loader_2.entry.js +2 -2
  655. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  656. package/dist/esm/stzh-menu_2.entry.js +2 -2
  657. package/dist/esm/stzh-message.entry.js +2 -2
  658. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  659. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  660. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  661. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  662. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  663. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  664. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  665. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  666. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  667. package/dist/esm/stzh-panorama.entry.js +2 -2
  668. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  669. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  670. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  671. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  672. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  673. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  674. package/dist/esm/stzh-poicard.entry.js +1 -1
  675. package/dist/esm/stzh-poilist.entry.js +1 -1
  676. package/dist/esm/stzh-popover.entry.js +1 -1
  677. package/dist/esm/stzh-print_2.entry.js +2 -2
  678. package/dist/esm/stzh-quote.entry.js +1 -1
  679. package/dist/esm/stzh-rating.entry.js +2 -2
  680. package/dist/esm/stzh-ratio.entry.js +1 -1
  681. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  682. package/dist/esm/stzh-saptcha.entry.js +2 -2
  683. package/dist/esm/stzh-scrollup.entry.js +1 -1
  684. package/dist/esm/stzh-search.entry.js +2 -2
  685. package/dist/esm/stzh-section.entry.js +2 -2
  686. package/dist/esm/stzh-sitemap.entry.js +1 -1
  687. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
  688. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  689. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  690. package/dist/esm/stzh-skiplink.entry.js +1 -1
  691. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  692. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  693. package/dist/esm/stzh-stepper-item.entry.js +3 -3
  694. package/dist/esm/stzh-stepper.entry.js +3 -3
  695. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  696. package/dist/esm/stzh-sticky.entry.js +1 -1
  697. package/dist/esm/stzh-table.entry.js +1 -1
  698. package/dist/esm/stzh-text.entry.js +2 -2
  699. package/dist/esm/stzh-textandimage.entry.js +1 -1
  700. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  701. package/dist/esm/stzh-timeline.entry.js +1 -1
  702. package/dist/esm/stzh-timepicker.entry.js +1 -1
  703. package/dist/esm/stzh-toast_2.entry.js +3 -3
  704. package/dist/esm/stzh-toggle.entry.js +3 -3
  705. package/dist/esm/stzh-tooltip.entry.js +1 -1
  706. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  707. package/dist/esm/stzh-upload.entry.js +2 -2
  708. package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
  709. package/dist/esm/stzh-vspace.entry.js +2 -2
  710. package/dist/esm/stzh-youtube.entry.js +1 -1
  711. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_300.woff2 +0 -0
  712. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_400.woff2 +0 -0
  713. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_500.woff2 +0 -0
  714. package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_700.woff2 +0 -0
  715. package/dist/stzh-components/assets/pkzh/fonts.css +38 -0
  716. package/dist/stzh-components/index.esm.js.map +1 -1
  717. package/dist/stzh-components/{p-6be020d8.entry.js → p-00af01ab.entry.js} +2 -2
  718. package/dist/stzh-components/p-01c8a73f.entry.js +2 -0
  719. package/dist/stzh-components/p-01c8a73f.entry.js.map +1 -0
  720. package/dist/stzh-components/{p-af1aa423.entry.js → p-0504563f.entry.js} +2 -2
  721. package/dist/stzh-components/{p-1661b89f.entry.js → p-0585149c.entry.js} +2 -2
  722. package/dist/stzh-components/{p-a75c4682.entry.js → p-0585ce30.entry.js} +2 -2
  723. package/dist/stzh-components/{p-0f546f1c.entry.js → p-07f62cf8.entry.js} +2 -2
  724. package/dist/stzh-components/p-08a557a9.entry.js +2 -0
  725. package/dist/stzh-components/{p-03c2d367.entry.js.map → p-08a557a9.entry.js.map} +1 -1
  726. package/dist/stzh-components/{p-dcb909a2.entry.js → p-0b121c06.entry.js} +2 -2
  727. package/dist/stzh-components/{p-93424a61.entry.js → p-0c40b74a.entry.js} +2 -2
  728. package/dist/stzh-components/{p-b4bae13a.entry.js → p-0d7b090a.entry.js} +2 -2
  729. package/dist/stzh-components/{p-e75cde0c.entry.js → p-0edd3842.entry.js} +2 -2
  730. package/dist/stzh-components/{p-dac4534c.entry.js → p-11256084.entry.js} +2 -2
  731. package/dist/stzh-components/{p-65e099a0.entry.js → p-13881ff2.entry.js} +2 -2
  732. package/dist/stzh-components/{p-f3081e0e.entry.js → p-15c6b254.entry.js} +2 -2
  733. package/dist/stzh-components/{p-34c68f20.entry.js → p-15f3c6a1.entry.js} +2 -2
  734. package/dist/stzh-components/{p-ca5bd81c.entry.js → p-18773f9c.entry.js} +2 -2
  735. package/dist/stzh-components/{p-32448e73.entry.js → p-1afb2913.entry.js} +2 -2
  736. package/dist/stzh-components/{p-47e0ff99.entry.js → p-1d4cd8ef.entry.js} +2 -2
  737. package/dist/stzh-components/{p-21925456.entry.js → p-1febc09c.entry.js} +2 -2
  738. package/dist/stzh-components/{p-d7ee085c.entry.js → p-212107e4.entry.js} +2 -2
  739. package/dist/stzh-components/{p-7bc4d471.entry.js → p-21c8ffbe.entry.js} +2 -2
  740. package/dist/stzh-components/p-24daddfd.entry.js +2 -0
  741. package/dist/stzh-components/{p-724a8351.entry.js.map → p-24daddfd.entry.js.map} +1 -1
  742. package/dist/stzh-components/{p-cfbc4a5e.entry.js → p-30190507.entry.js} +5 -5
  743. package/dist/stzh-components/{p-0685f2ae.entry.js → p-3064f4b9.entry.js} +2 -2
  744. package/dist/stzh-components/{p-26792e28.entry.js → p-313272ee.entry.js} +2 -2
  745. package/dist/stzh-components/{p-ebb4b12f.entry.js → p-36566fb3.entry.js} +2 -2
  746. package/dist/stzh-components/{p-367bbe3a.entry.js → p-376b1e91.entry.js} +2 -2
  747. package/dist/stzh-components/{p-72203e1d.entry.js → p-37b753b7.entry.js} +2 -2
  748. package/dist/stzh-components/{p-d0fa719e.entry.js → p-380d1021.entry.js} +2 -2
  749. package/dist/stzh-components/{p-1bb06be6.entry.js → p-38570073.entry.js} +2 -2
  750. package/dist/stzh-components/{p-94b7f926.entry.js → p-3a0112f4.entry.js} +2 -2
  751. package/dist/stzh-components/{p-a3645199.entry.js → p-3d003eed.entry.js} +2 -2
  752. package/dist/stzh-components/{p-d7fa3375.entry.js → p-3dcf3123.entry.js} +2 -2
  753. package/dist/stzh-components/{p-766dea66.entry.js → p-3e7c18ce.entry.js} +2 -2
  754. package/dist/stzh-components/{p-6ee6bc09.entry.js → p-3f4afd76.entry.js} +2 -2
  755. package/dist/stzh-components/{p-f90192c8.entry.js → p-42ec2ee3.entry.js} +3 -3
  756. package/dist/stzh-components/{p-d6b61be3.entry.js → p-44a7b08b.entry.js} +2 -2
  757. package/dist/stzh-components/{p-aab54c81.entry.js → p-4b78606f.entry.js} +2 -2
  758. package/dist/stzh-components/p-4d076834.entry.js +2 -0
  759. package/dist/stzh-components/{p-f61e61e7.entry.js.map → p-4d076834.entry.js.map} +1 -1
  760. package/dist/stzh-components/{p-16552049.entry.js → p-50a81b5c.entry.js} +2 -2
  761. package/dist/stzh-components/{p-4c8d577f.entry.js → p-51b68c35.entry.js} +2 -2
  762. package/dist/stzh-components/{p-4dbbea21.entry.js → p-51e9d435.entry.js} +2 -2
  763. package/dist/stzh-components/{p-7cfa54b9.entry.js → p-520572a4.entry.js} +2 -2
  764. package/dist/stzh-components/p-53fbd93e.entry.js +2 -0
  765. package/dist/stzh-components/p-53fbd93e.entry.js.map +1 -0
  766. package/dist/stzh-components/{p-5dc298a4.entry.js → p-54ba4496.entry.js} +2 -2
  767. package/dist/stzh-components/{p-caf867f9.entry.js → p-57741e12.entry.js} +2 -2
  768. package/dist/stzh-components/{p-015a35bf.entry.js → p-5aa87281.entry.js} +2 -2
  769. package/dist/stzh-components/{p-51bf87d0.entry.js → p-5c573f4b.entry.js} +2 -2
  770. package/dist/stzh-components/{p-727c30cf.entry.js → p-5e21b961.entry.js} +2 -2
  771. package/dist/stzh-components/{p-c41804d9.entry.js → p-60b7b273.entry.js} +2 -2
  772. package/dist/stzh-components/{p-16999a74.entry.js → p-612a1929.entry.js} +2 -2
  773. package/dist/stzh-components/{p-ac335416.entry.js → p-634ffbf2.entry.js} +2 -2
  774. package/dist/stzh-components/{p-bc7c5263.entry.js → p-677e9a04.entry.js} +2 -2
  775. package/dist/stzh-components/{p-24122dbc.entry.js → p-6d918b8b.entry.js} +2 -2
  776. package/dist/stzh-components/p-6dd89068.entry.js +2 -0
  777. package/dist/stzh-components/p-6dd89068.entry.js.map +1 -0
  778. package/dist/stzh-components/{p-b145722f.entry.js → p-6e273ca9.entry.js} +2 -2
  779. package/dist/stzh-components/{p-8e133247.entry.js → p-70805ea3.entry.js} +2 -2
  780. package/dist/stzh-components/{p-44e26f4d.entry.js → p-714fdd73.entry.js} +2 -2
  781. package/dist/stzh-components/{p-664e7a09.entry.js → p-7157b3d2.entry.js} +2 -2
  782. package/dist/stzh-components/{p-4539e17f.entry.js → p-71a0881e.entry.js} +2 -2
  783. package/dist/stzh-components/{p-0d54bcfc.entry.js → p-7254baa2.entry.js} +2 -2
  784. package/dist/stzh-components/{p-f52f7eca.entry.js → p-725611a0.entry.js} +2 -2
  785. package/dist/stzh-components/{p-42a3a0df.entry.js → p-7c4475b1.entry.js} +2 -2
  786. package/dist/stzh-components/{p-450c13f2.entry.js → p-7ec80efc.entry.js} +2 -2
  787. package/dist/stzh-components/{p-1844d99e.entry.js → p-813d6494.entry.js} +2 -2
  788. package/dist/stzh-components/{p-1617973f.entry.js → p-8b77de57.entry.js} +2 -2
  789. package/dist/stzh-components/{p-4f3149ca.entry.js → p-8f72e5ce.entry.js} +2 -2
  790. package/dist/stzh-components/{p-12146af8.entry.js → p-9310dbb5.entry.js} +2 -2
  791. package/dist/stzh-components/{p-90d922fd.entry.js → p-9323a970.entry.js} +2 -2
  792. package/dist/stzh-components/{p-38104164.entry.js → p-93a9a09c.entry.js} +2 -2
  793. package/dist/stzh-components/{p-c5c745e5.entry.js → p-94c29a35.entry.js} +2 -2
  794. package/dist/stzh-components/{p-52bd96fc.entry.js → p-950ee2ec.entry.js} +2 -2
  795. package/dist/stzh-components/{p-dacee3d1.entry.js → p-96b1ae9c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-d516d56c.entry.js → p-9868d9ae.entry.js} +2 -2
  797. package/dist/stzh-components/{p-2096b877.entry.js → p-9b858b7e.entry.js} +2 -2
  798. package/dist/stzh-components/{p-582d0259.entry.js → p-9c552bd1.entry.js} +2 -2
  799. package/dist/stzh-components/{p-51757803.entry.js → p-9d2ad387.entry.js} +2 -2
  800. package/dist/stzh-components/{p-ec2ac6e9.entry.js → p-9dc09551.entry.js} +2 -2
  801. package/dist/stzh-components/{p-5725e544.entry.js → p-a06207b8.entry.js} +2 -2
  802. package/dist/stzh-components/{p-3071b6f4.entry.js → p-a3227cea.entry.js} +2 -2
  803. package/dist/stzh-components/{p-a58186a9.entry.js → p-a70467f7.entry.js} +2 -2
  804. package/dist/stzh-components/{p-61491246.entry.js → p-a9dd7134.entry.js} +2 -2
  805. package/dist/stzh-components/p-aa1fd7fa.entry.js +2 -0
  806. package/dist/stzh-components/{p-01d926d8.entry.js.map → p-aa1fd7fa.entry.js.map} +1 -1
  807. package/dist/stzh-components/{p-3056b956.entry.js → p-aa2dc10d.entry.js} +2 -2
  808. package/dist/stzh-components/{p-a12cf3bc.entry.js → p-ab5f9e27.entry.js} +2 -2
  809. package/dist/stzh-components/{p-c1508338.entry.js → p-aba14be2.entry.js} +2 -2
  810. package/dist/stzh-components/{p-5fb90f9a.entry.js → p-aca1cbd6.entry.js} +2 -2
  811. package/dist/stzh-components/{p-b4717a3f.entry.js → p-ad19757b.entry.js} +2 -2
  812. package/dist/stzh-components/{p-1f668f53.entry.js → p-adaa79bd.entry.js} +2 -2
  813. package/dist/stzh-components/{p-92bdcdad.entry.js → p-ae585293.entry.js} +2 -2
  814. package/dist/stzh-components/{p-1187dcb3.entry.js → p-b1695c60.entry.js} +2 -2
  815. package/dist/stzh-components/{p-03e628b9.entry.js → p-b4743671.entry.js} +2 -2
  816. package/dist/stzh-components/{p-b9a928bc.entry.js → p-b4a10537.entry.js} +2 -2
  817. package/dist/stzh-components/{p-b5d4e8b9.entry.js → p-b4e7663d.entry.js} +2 -2
  818. package/dist/stzh-components/{p-6f7f7e18.entry.js → p-b82d52b4.entry.js} +2 -2
  819. package/dist/stzh-components/{p-bc837007.entry.js → p-c18cc444.entry.js} +2 -2
  820. package/dist/stzh-components/{p-a38f6851.entry.js → p-c4b1b9b7.entry.js} +2 -2
  821. package/dist/stzh-components/{p-35be1f2c.entry.js → p-c58f66b7.entry.js} +2 -2
  822. package/dist/stzh-components/{p-a8292b13.entry.js → p-c59f6429.entry.js} +2 -2
  823. package/dist/stzh-components/{p-c95bce0d.entry.js → p-c820956f.entry.js} +2 -2
  824. package/dist/stzh-components/{p-7844b15a.entry.js → p-cf54a5bd.entry.js} +2 -2
  825. package/dist/stzh-components/{p-cb058b56.entry.js → p-d0e8b48e.entry.js} +2 -2
  826. package/dist/stzh-components/{p-a4cbd257.entry.js → p-d2a58660.entry.js} +2 -2
  827. package/dist/stzh-components/{p-171c0dda.entry.js → p-d3f703c6.entry.js} +2 -2
  828. package/dist/stzh-components/p-d68f208f.js +2 -0
  829. package/dist/stzh-components/{p-72f2cb18.js.map → p-d68f208f.js.map} +1 -1
  830. package/dist/stzh-components/{p-238df85d.entry.js → p-d9ebe00b.entry.js} +2 -2
  831. package/dist/stzh-components/{p-1f4f76b1.entry.js → p-df6b51ac.entry.js} +2 -2
  832. package/dist/stzh-components/{p-6102443e.entry.js → p-e0ec6540.entry.js} +2 -2
  833. package/dist/stzh-components/{p-640e445b.entry.js → p-e1a372e1.entry.js} +2 -2
  834. package/dist/stzh-components/{p-0c67e0f8.entry.js → p-e1c5bced.entry.js} +2 -2
  835. package/dist/stzh-components/{p-f52e344a.entry.js → p-e45aaf19.entry.js} +2 -2
  836. package/dist/stzh-components/{p-d2a97efc.entry.js → p-ea2405de.entry.js} +2 -2
  837. package/dist/stzh-components/{p-21d2d28d.entry.js → p-eb20ffc3.entry.js} +2 -2
  838. package/dist/stzh-components/{p-b95edacd.entry.js → p-ee9f0975.entry.js} +2 -2
  839. package/dist/stzh-components/{p-4b754125.entry.js → p-f5457cb8.entry.js} +2 -2
  840. package/dist/stzh-components/{p-598de693.entry.js → p-f6954485.entry.js} +2 -2
  841. package/dist/stzh-components/{p-38924948.entry.js → p-f890b3a7.entry.js} +2 -2
  842. package/dist/stzh-components/{p-c7d82187.entry.js → p-fa4849df.entry.js} +2 -2
  843. package/dist/stzh-components/{p-c11a73d2.entry.js → p-ff5abecf.entry.js} +2 -2
  844. package/dist/stzh-components/stzh-components.css +21 -18
  845. package/dist/stzh-components/stzh-components.esm.js +1 -1
  846. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  847. package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +10 -1
  848. package/dist/types/components.d.ts +10 -2
  849. package/dist/types/index.d.ts +22 -3
  850. package/dist/vscode-data.json +4 -0
  851. package/package.json +1 -1
  852. package/dist/components/p-136ea314.js.map +0 -1
  853. package/dist/components/p-ad34b5e0.js +0 -83
  854. package/dist/components/p-ad34b5e0.js.map +0 -1
  855. package/dist/components/p-f5779736.js.map +0 -1
  856. package/dist/stzh-components/p-01d926d8.entry.js +0 -2
  857. package/dist/stzh-components/p-03c2d367.entry.js +0 -2
  858. package/dist/stzh-components/p-2799b96b.entry.js +0 -2
  859. package/dist/stzh-components/p-2799b96b.entry.js.map +0 -1
  860. package/dist/stzh-components/p-3bc24ea1.entry.js +0 -2
  861. package/dist/stzh-components/p-3bc24ea1.entry.js.map +0 -1
  862. package/dist/stzh-components/p-724a8351.entry.js +0 -2
  863. package/dist/stzh-components/p-72f2cb18.js +0 -2
  864. package/dist/stzh-components/p-c8e1e524.entry.js +0 -2
  865. package/dist/stzh-components/p-c8e1e524.entry.js.map +0 -1
  866. package/dist/stzh-components/p-f61e61e7.entry.js +0 -2
  867. /package/dist/stzh-components/{p-6be020d8.entry.js.map → p-00af01ab.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-af1aa423.entry.js.map → p-0504563f.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-1661b89f.entry.js.map → p-0585149c.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-a75c4682.entry.js.map → p-0585ce30.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-0f546f1c.entry.js.map → p-07f62cf8.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-dcb909a2.entry.js.map → p-0b121c06.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-93424a61.entry.js.map → p-0c40b74a.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-b4bae13a.entry.js.map → p-0d7b090a.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-e75cde0c.entry.js.map → p-0edd3842.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-dac4534c.entry.js.map → p-11256084.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-65e099a0.entry.js.map → p-13881ff2.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-f3081e0e.entry.js.map → p-15c6b254.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-34c68f20.entry.js.map → p-15f3c6a1.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-ca5bd81c.entry.js.map → p-18773f9c.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-32448e73.entry.js.map → p-1afb2913.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-47e0ff99.entry.js.map → p-1d4cd8ef.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-21925456.entry.js.map → p-1febc09c.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-d7ee085c.entry.js.map → p-212107e4.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-7bc4d471.entry.js.map → p-21c8ffbe.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-cfbc4a5e.entry.js.map → p-30190507.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-0685f2ae.entry.js.map → p-3064f4b9.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-26792e28.entry.js.map → p-313272ee.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-ebb4b12f.entry.js.map → p-36566fb3.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-367bbe3a.entry.js.map → p-376b1e91.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-72203e1d.entry.js.map → p-37b753b7.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-d0fa719e.entry.js.map → p-380d1021.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-1bb06be6.entry.js.map → p-38570073.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-94b7f926.entry.js.map → p-3a0112f4.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-a3645199.entry.js.map → p-3d003eed.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-d7fa3375.entry.js.map → p-3dcf3123.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-766dea66.entry.js.map → p-3e7c18ce.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-6ee6bc09.entry.js.map → p-3f4afd76.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-f90192c8.entry.js.map → p-42ec2ee3.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-d6b61be3.entry.js.map → p-44a7b08b.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-aab54c81.entry.js.map → p-4b78606f.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-16552049.entry.js.map → p-50a81b5c.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-4c8d577f.entry.js.map → p-51b68c35.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-4dbbea21.entry.js.map → p-51e9d435.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-7cfa54b9.entry.js.map → p-520572a4.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-5dc298a4.entry.js.map → p-54ba4496.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-caf867f9.entry.js.map → p-57741e12.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-015a35bf.entry.js.map → p-5aa87281.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-51bf87d0.entry.js.map → p-5c573f4b.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-727c30cf.entry.js.map → p-5e21b961.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-c41804d9.entry.js.map → p-60b7b273.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-16999a74.entry.js.map → p-612a1929.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-ac335416.entry.js.map → p-634ffbf2.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-bc7c5263.entry.js.map → p-677e9a04.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-24122dbc.entry.js.map → p-6d918b8b.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-b145722f.entry.js.map → p-6e273ca9.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-8e133247.entry.js.map → p-70805ea3.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-44e26f4d.entry.js.map → p-714fdd73.entry.js.map} +0 -0
  919. /package/dist/stzh-components/{p-664e7a09.entry.js.map → p-7157b3d2.entry.js.map} +0 -0
  920. /package/dist/stzh-components/{p-4539e17f.entry.js.map → p-71a0881e.entry.js.map} +0 -0
  921. /package/dist/stzh-components/{p-0d54bcfc.entry.js.map → p-7254baa2.entry.js.map} +0 -0
  922. /package/dist/stzh-components/{p-f52f7eca.entry.js.map → p-725611a0.entry.js.map} +0 -0
  923. /package/dist/stzh-components/{p-42a3a0df.entry.js.map → p-7c4475b1.entry.js.map} +0 -0
  924. /package/dist/stzh-components/{p-450c13f2.entry.js.map → p-7ec80efc.entry.js.map} +0 -0
  925. /package/dist/stzh-components/{p-1844d99e.entry.js.map → p-813d6494.entry.js.map} +0 -0
  926. /package/dist/stzh-components/{p-1617973f.entry.js.map → p-8b77de57.entry.js.map} +0 -0
  927. /package/dist/stzh-components/{p-4f3149ca.entry.js.map → p-8f72e5ce.entry.js.map} +0 -0
  928. /package/dist/stzh-components/{p-12146af8.entry.js.map → p-9310dbb5.entry.js.map} +0 -0
  929. /package/dist/stzh-components/{p-90d922fd.entry.js.map → p-9323a970.entry.js.map} +0 -0
  930. /package/dist/stzh-components/{p-38104164.entry.js.map → p-93a9a09c.entry.js.map} +0 -0
  931. /package/dist/stzh-components/{p-c5c745e5.entry.js.map → p-94c29a35.entry.js.map} +0 -0
  932. /package/dist/stzh-components/{p-52bd96fc.entry.js.map → p-950ee2ec.entry.js.map} +0 -0
  933. /package/dist/stzh-components/{p-dacee3d1.entry.js.map → p-96b1ae9c.entry.js.map} +0 -0
  934. /package/dist/stzh-components/{p-d516d56c.entry.js.map → p-9868d9ae.entry.js.map} +0 -0
  935. /package/dist/stzh-components/{p-2096b877.entry.js.map → p-9b858b7e.entry.js.map} +0 -0
  936. /package/dist/stzh-components/{p-582d0259.entry.js.map → p-9c552bd1.entry.js.map} +0 -0
  937. /package/dist/stzh-components/{p-51757803.entry.js.map → p-9d2ad387.entry.js.map} +0 -0
  938. /package/dist/stzh-components/{p-ec2ac6e9.entry.js.map → p-9dc09551.entry.js.map} +0 -0
  939. /package/dist/stzh-components/{p-5725e544.entry.js.map → p-a06207b8.entry.js.map} +0 -0
  940. /package/dist/stzh-components/{p-3071b6f4.entry.js.map → p-a3227cea.entry.js.map} +0 -0
  941. /package/dist/stzh-components/{p-a58186a9.entry.js.map → p-a70467f7.entry.js.map} +0 -0
  942. /package/dist/stzh-components/{p-61491246.entry.js.map → p-a9dd7134.entry.js.map} +0 -0
  943. /package/dist/stzh-components/{p-3056b956.entry.js.map → p-aa2dc10d.entry.js.map} +0 -0
  944. /package/dist/stzh-components/{p-a12cf3bc.entry.js.map → p-ab5f9e27.entry.js.map} +0 -0
  945. /package/dist/stzh-components/{p-c1508338.entry.js.map → p-aba14be2.entry.js.map} +0 -0
  946. /package/dist/stzh-components/{p-5fb90f9a.entry.js.map → p-aca1cbd6.entry.js.map} +0 -0
  947. /package/dist/stzh-components/{p-b4717a3f.entry.js.map → p-ad19757b.entry.js.map} +0 -0
  948. /package/dist/stzh-components/{p-1f668f53.entry.js.map → p-adaa79bd.entry.js.map} +0 -0
  949. /package/dist/stzh-components/{p-92bdcdad.entry.js.map → p-ae585293.entry.js.map} +0 -0
  950. /package/dist/stzh-components/{p-1187dcb3.entry.js.map → p-b1695c60.entry.js.map} +0 -0
  951. /package/dist/stzh-components/{p-03e628b9.entry.js.map → p-b4743671.entry.js.map} +0 -0
  952. /package/dist/stzh-components/{p-b9a928bc.entry.js.map → p-b4a10537.entry.js.map} +0 -0
  953. /package/dist/stzh-components/{p-b5d4e8b9.entry.js.map → p-b4e7663d.entry.js.map} +0 -0
  954. /package/dist/stzh-components/{p-6f7f7e18.entry.js.map → p-b82d52b4.entry.js.map} +0 -0
  955. /package/dist/stzh-components/{p-bc837007.entry.js.map → p-c18cc444.entry.js.map} +0 -0
  956. /package/dist/stzh-components/{p-a38f6851.entry.js.map → p-c4b1b9b7.entry.js.map} +0 -0
  957. /package/dist/stzh-components/{p-35be1f2c.entry.js.map → p-c58f66b7.entry.js.map} +0 -0
  958. /package/dist/stzh-components/{p-a8292b13.entry.js.map → p-c59f6429.entry.js.map} +0 -0
  959. /package/dist/stzh-components/{p-c95bce0d.entry.js.map → p-c820956f.entry.js.map} +0 -0
  960. /package/dist/stzh-components/{p-7844b15a.entry.js.map → p-cf54a5bd.entry.js.map} +0 -0
  961. /package/dist/stzh-components/{p-cb058b56.entry.js.map → p-d0e8b48e.entry.js.map} +0 -0
  962. /package/dist/stzh-components/{p-a4cbd257.entry.js.map → p-d2a58660.entry.js.map} +0 -0
  963. /package/dist/stzh-components/{p-171c0dda.entry.js.map → p-d3f703c6.entry.js.map} +0 -0
  964. /package/dist/stzh-components/{p-238df85d.entry.js.map → p-d9ebe00b.entry.js.map} +0 -0
  965. /package/dist/stzh-components/{p-1f4f76b1.entry.js.map → p-df6b51ac.entry.js.map} +0 -0
  966. /package/dist/stzh-components/{p-6102443e.entry.js.map → p-e0ec6540.entry.js.map} +0 -0
  967. /package/dist/stzh-components/{p-640e445b.entry.js.map → p-e1a372e1.entry.js.map} +0 -0
  968. /package/dist/stzh-components/{p-0c67e0f8.entry.js.map → p-e1c5bced.entry.js.map} +0 -0
  969. /package/dist/stzh-components/{p-f52e344a.entry.js.map → p-e45aaf19.entry.js.map} +0 -0
  970. /package/dist/stzh-components/{p-d2a97efc.entry.js.map → p-ea2405de.entry.js.map} +0 -0
  971. /package/dist/stzh-components/{p-21d2d28d.entry.js.map → p-eb20ffc3.entry.js.map} +0 -0
  972. /package/dist/stzh-components/{p-b95edacd.entry.js.map → p-ee9f0975.entry.js.map} +0 -0
  973. /package/dist/stzh-components/{p-4b754125.entry.js.map → p-f5457cb8.entry.js.map} +0 -0
  974. /package/dist/stzh-components/{p-598de693.entry.js.map → p-f6954485.entry.js.map} +0 -0
  975. /package/dist/stzh-components/{p-38924948.entry.js.map → p-f890b3a7.entry.js.map} +0 -0
  976. /package/dist/stzh-components/{p-c7d82187.entry.js.map → p-fa4849df.entry.js.map} +0 -0
  977. /package/dist/stzh-components/{p-c11a73d2.entry.js.map → p-ff5abecf.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as e,c as t,h as i,a as n,g as o}from"./p-ef5985a3.js";import{C as r}from"./p-979121a0.js";import"./p-1ab64d01.js";var a={exports:{}};(function(e){console.info(`\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 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.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n`);(function(t){if(typeof window==="undefined")return;var i=0,n,o=false,r=false,a="message",s=a.length,c="[iFrameSizer]",f=c.length,l=null,u=window.requestAnimationFrame,d=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),h={},m=null,w=Object.freeze({autoResize:true,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:true,inPageLinks:false,enablePublicMethods:true,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:false,maxHeight:Infinity,maxWidth:Infinity,minHeight:0,minWidth:0,mouseEvents:true,resizeFrom:"parent",scrolling:false,sizeHeight:true,sizeWidth:false,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return true},onClosed:function(){},onInit:function(){},onMessage:function(){I("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return true}});function p(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(e,t,i){e.addEventListener(t,i,false)}function v(e,t,i){e.removeEventListener(t,i,false)}function z(){var e=["moz","webkit","o","ms"];var t;for(t=0;t<e.length&&!u;t+=1){u=window[e[t]+"RequestAnimationFrame"]}if(u){u=u.bind(window)}else{x("setup","RequestAnimationFrame not supported")}}function b(e){var t="Host page: "+e;if(window.top!==window.self){t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e}return t}function y(e){return c+"["+b(e)+"]"}function k(e){return h[e]?h[e].log:o}function x(e,t){T("log",e,t,k(e))}function _(e,t){T("info",e,t,k(e))}function I(e,t){T("warn",e,t,true)}function T(e,t,i,n){if(true===n&&"object"===typeof window.console){console[e](y(t),i)}}function M(e){function t(){function e(){j(Q);E(G);H("onResized",Q)}r("Height");r("Width");A(e,Q,"init")}function i(){var e=B.slice(f).split(":");var t=e[1]?parseInt(e[1],10):0;var i=h[e[0]]&&h[e[0]].iframe;var r=getComputedStyle(i);return{iframe:i,id:e[0],height:t+n(r)+o(r),width:e[2],type:e[3]}}function n(e){if(e.boxSizing!=="border-box"){return 0}var t=e.paddingTop?parseInt(e.paddingTop,10):0;var i=e.paddingBottom?parseInt(e.paddingBottom,10):0;return t+i}function o(e){if(e.boxSizing!=="border-box"){return 0}var t=e.borderTopWidth?parseInt(e.borderTopWidth,10):0;var i=e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0;return t+i}function r(e){var t=Number(h[G]["max"+e]),i=Number(h[G]["min"+e]),n=e.toLowerCase(),o=Number(Q[n]);x(G,"Checking "+n+" is in range "+i+"-"+t);if(o<i){o=i;x(G,"Set "+n+" to min value")}if(o>t){o=t;x(G,"Set "+n+" to max value")}Q[n]=""+o}function a(){function t(){function e(){var e=0,t=false;x(G,"Checking connection is from allowed list of origins: "+n);for(;e<n.length;e++){if(n[e]===i){t=true;break}}return t}function t(){var e=h[G]&&h[G].remoteHost;x(G,"Checking connection is from: "+e);return i===e}return n.constructor===Array?e():t()}var i=e.origin,n=h[G]&&h[G].checkOrigin;if(n&&""+i!=="null"&&!t()){throw new Error("Unexpected message received from: "+i+" for "+Q.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.")}return true}function u(){return c===(""+B).slice(0,f)&&B.slice(f).split(":")[0]in h}function d(){var e=Q.type in{true:1,false:1,undefined:1};if(e){x(G,"Ignoring init message from meta parent page")}return e}function m(e){return B.slice(B.indexOf(":")+s+e)}function w(e){x(G,"onMessage passed: {iframe: "+Q.iframe.id+", message: "+e+"}");H("onMessage",{iframe:Q.iframe,message:JSON.parse(e)});x(G,"--")}function p(){var e=document.body.getBoundingClientRect(),t=Q.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function z(e,t){function i(){P("Send Page Info","pageInfo:"+p(),e,t)}$(i,32,t)}function b(){function e(e,i){function o(){if(h[n]){z(h[n].iframe,n)}else{t()}}["scroll","resize"].forEach((function(t){x(n,e+t+" listener for sendPageInfo");i(window,t,o)}))}function t(){e("Remove ",v)}function i(){e("Add ",g)}var n=G;i();if(h[n]){h[n].stopPageInfo=t}}function y(){if(h[G]&&h[G].stopPageInfo){h[G].stopPageInfo();delete h[G].stopPageInfo}}function k(){var e=true;if(null===Q.iframe){I(G,"IFrame ("+Q.id+") not found");e=false}return e}function T(e){var t=e.getBoundingClientRect();R(G);return{x:Math.floor(Number(t.left)+Number(l.x)),y:Math.floor(Number(t.top)+Number(l.y))}}function M(e){function t(){l=r;O();x(G,"--")}function i(){return{x:Number(Q.width)+o.x,y:Number(Q.height)+o.y}}function n(){if(window.parentIFrame){window.parentIFrame["scrollTo"+(e?"Offset":"")](r.x,r.y)}else{I(G,"Unable to scroll to requested position, window.parentIFrame not found")}}var o=e?T(Q.iframe):{x:0,y:0},r=i();x(G,"Reposition requested from iFrame (offset x:"+o.x+" y:"+o.y+")");if(window.top===window.self){t()}else{n()}}function O(){if(false===H("onScroll",l)){F()}else{E(G)}}function L(e){function t(){var e=T(r);x(G,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y);l={x:e.x,y:e.y};O();x(G,"--")}function i(){if(window.parentIFrame){window.parentIFrame.moveToAnchor(n)}else{x(G,"In page link #"+n+" not found and window.parentIFrame not found")}}var n=e.split("#")[1]||"",o=decodeURIComponent(n),r=document.getElementById(o)||document.getElementsByName(o)[0];if(r){t()}else if(window.top===window.self){x(G,"In page link #"+n+" not found")}else{i()}}function W(e){var t={};if(Number(Q.width)===0&&Number(Q.height)===0){var i=m(9).split(":");t={x:i[1],y:i[0]}}else{t={x:Q.width,y:Q.height}}H(e,{iframe:Q.iframe,screenX:Number(t.x),screenY:Number(t.y),type:Q.type})}function H(e,t){return S(G,e,t)}function V(){if(h[G]&&h[G].firstRun)U();switch(Q.type){case"close":{N(Q.iframe);break}case"message":{w(m(6));break}case"mouseenter":{W("onMouseEnter");break}case"mouseleave":{W("onMouseLeave");break}case"autoResize":{h[G].autoResize=JSON.parse(m(9));break}case"scrollTo":{M(false);break}case"scrollToOffset":{M(true);break}case"pageInfo":{z(h[G]&&h[G].iframe,G);b();break}case"pageInfoStop":{y();break}case"inPageLink":{L(m(9));break}case"reset":{C(Q);break}case"init":{t();H("onInit",Q.iframe);break}default:{if(Number(Q.width)===0&&Number(Q.height)===0){I("Unsupported message received ("+Q.type+"), this is likely due to the iframe containing a later "+"version of iframe-resizer than the parent page")}else{t()}}}}function q(e){var t=true;if(!h[e]){t=false;I(Q.type+" No settings for "+e+". Message was: "+B)}return t}function J(){for(var e in h){P("iFrame requested init",D(e),h[e].iframe,e)}}function U(){if(h[G]){h[G].firstRun=false}}var B=e.data,Q={},G=null;if("[iFrameResizerChild]Ready"===B){J()}else if(u()){Q=i();G=Q.id;if(h[G]){h[G].loaded=true}if(!d()&&q(G)){x(G,"Received: "+B);if(k()&&a()){V()}}}else{_(G,"Ignored: "+B)}}function S(e,t,i){var n=null,o=null;if(h[e]){n=h[e][t];if("function"===typeof n){o=n(i)}else{throw new TypeError(t+" on iFrame["+e+"] is not a function")}}return o}function O(e){var t=e.id;delete h[t]}function N(e){var t=e.id;if(S(t,"onClose",t)===false){x(t,"Close iframe cancelled by onClose event");return}x(t,"Removing iFrame: "+t);try{if(e.parentNode){e.parentNode.removeChild(e)}}catch(e){I(e)}S(t,"onClosed",t);x(t,"--");O(e);if(n){n.disconnect();n=null}}function R(e){if(null===l){l={x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset};x(e,"Get page position: "+l.x+","+l.y)}}function E(e){if(null!==l){window.scrollTo(l.x,l.y);x(e,"Set page position: "+l.x+","+l.y);F()}}function F(){l=null}function C(e){function t(){j(e);P("reset","reset",e.iframe,e.id)}x(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame"));R(e.id);A(t,e,"reset")}function j(e){function t(t){if(!e.id){x("undefined","messageData id not set");return}e.iframe.style[t]=e[t]+"px";x(e.id,"IFrame ("+o+") "+t+" set to "+e[t]+"px")}function i(t){if(!r&&"0"===e[t]){r=true;x(o,"Hidden iFrame detected, creating visibility listener");q()}}function n(e){t(e);i(e)}var o=e.iframe.id;if(h[o]){if(h[o].sizeHeight){n("height")}if(h[o].sizeWidth){n("width")}}}function A(e,t,i){if(i!==t.type&&u&&!window.jasmine){x(t.id,"Requesting animation frame");u(e)}else{e()}}function P(e,t,i,n,o){function r(){var o=h[n]&&h[n].targetOrigin;x(n,"["+e+"] Sending msg to iframe["+n+"] ("+t+") targetOrigin: "+o);i.contentWindow.postMessage(c+t,o)}function a(){I(n,"["+e+"] IFrame("+n+") not found")}function s(){if(i&&"contentWindow"in i&&null!==i.contentWindow){r()}else{a()}}function f(){function e(){if(h[n]&&!h[n].loaded&&!l){l=true;I(n,"IFrame has not responded within "+h[n].warningTimeout/1e3+" 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.")}}if(!!o&&h[n]&&!!h[n].warningTimeout){h[n].msgTimeout=setTimeout(e,h[n].warningTimeout)}}var l=false;n=n||i.id;if(h[n]){s();f()}}function D(e){return e+":"+h[e].bodyMarginV1+":"+h[e].sizeWidth+":"+h[e].log+":"+h[e].interval+":"+h[e].enablePublicMethods+":"+h[e].autoResize+":"+h[e].bodyMargin+":"+h[e].heightCalculationMethod+":"+h[e].bodyBackground+":"+h[e].bodyPadding+":"+h[e].tolerance+":"+h[e].inPageLinks+":"+h[e].resizeFrom+":"+h[e].widthCalculationMethod+":"+h[e].mouseEvents}function L(e){return typeof e==="number"}function W(e,r){function a(){function t(t){var i=h[M][t];if(Infinity!==i&&0!==i){e.style[t]=L(i)?i+"px":i;x(M,"Set "+t+" = "+e.style[t])}}function i(e){if(h[M]["min"+e]>h[M]["max"+e]){throw new Error("Value for min"+e+" can not be greater than max"+e)}}i("Height");i("Width");t("maxHeight");t("minHeight");t("maxWidth");t("minWidth")}function s(){var e=r&&r.id||w.id+i++;if(null!==document.getElementById(e)){e+=i++}return e}function c(t){if(typeof t!=="string"){throw new TypeError("Invaild id for iFrame. Expected String")}if(""===t){e.id=t=s();o=(r||{}).log;x(t,"Added missing iframe ID: "+t+" ("+e.src+")")}return t}function f(){x(M,"IFrame scrolling "+(h[M]&&h[M].scrolling?"enabled":"disabled")+" for "+M);e.style.overflow=false===(h[M]&&h[M].scrolling)?"hidden":"auto";switch(h[M]&&h[M].scrolling){case"omit":{break}case true:{e.scrolling="yes";break}case false:{e.scrolling="no";break}default:{e.scrolling=h[M]?h[M].scrolling:"no"}}}function l(){if("number"===typeof(h[M]&&h[M].bodyMargin)||"0"===(h[M]&&h[M].bodyMargin)){h[M].bodyMarginV1=h[M].bodyMargin;h[M].bodyMargin=""+h[M].bodyMargin+"px"}}function u(){var t=h[M]&&h[M].firstRun,i=h[M]&&h[M].heightCalculationMethod in d;if(!t&&i){C({iframe:e,height:0,width:0,type:"init"})}}function m(){if(h[M]){h[M].iframe.iFrameResizer={close:N.bind(null,h[M].iframe),removeListeners:O.bind(null,h[M].iframe),resize:P.bind(null,"Window resize","resize",h[M].iframe),moveToAnchor:function(e){P("Move to anchor","moveToAnchor:"+e,h[M].iframe,M)},sendMessage:function(e){e=JSON.stringify(e);P("Send Message","message:"+e,h[M].iframe,M)}}}}function v(i){function o(){P("iFrame.onload",i,e,t,true);u()}function r(t){if(!e.parentNode){return null}var i=new t((function(t){t.forEach((function(t){var i=Array.prototype.slice.call(t.removedNodes);i.forEach((function(t){if(t===e){N(e)}}))}))}));i.observe(e.parentNode,{childList:true});return i}var a=p();if(a){n=r(a)}g(e,"load",o);P("init",i,e,t,true)}function z(e){if("object"!==typeof e){throw new TypeError("Options is not an object")}}function b(e){for(var t in w){if(Object.prototype.hasOwnProperty.call(w,t)){h[M][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:w[t]}}}function y(e){return""===e||null!==e.match(/^(about:blank|javascript:|file:\/\/)/)?"*":e}function k(e){var t=e.split("Callback");if(t.length===2){var i="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[i]=this[e];delete this[e];I(M,"Deprecated: '"+e+"' has been renamed '"+i+"'. The old method will be removed in the next major version.")}}function _(t){t=t||{};h[M]=Object.create(null);h[M].iframe=e;h[M].firstRun=true;h[M].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/");z(t);Object.keys(t).forEach(k,t);b(t);if(h[M]){h[M].targetOrigin=true===h[M].checkOrigin?y(h[M].remoteHost):"*"}}function T(){return M in h&&"iFrameResizer"in e}var M=c(e.id);if(T()){I(M,"Ignored iFrame, already setup.")}else{_(r);f();a();l();v(D(M));m()}}function H(e,t){if(null===m){m=setTimeout((function(){m=null;e()}),t)}}var V={};function $(e,t,i){if(!V[i]){V[i]=setTimeout((function(){V[i]=null;e()}),t)}}function q(){function e(){function e(e){function t(t){return"0px"===(h[e]&&h[e].iframe.style[t])}function i(e){return null!==e.offsetParent}if(h[e]&&i(h[e].iframe)&&(t("height")||t("width"))){P("Visibility change","resize",h[e].iframe,e)}}Object.keys(h).forEach((function(t){e(t)}))}function t(t){x("window","Mutation observed: "+t[0].target+" "+t[0].type);H(e,16)}function i(){var e=document.querySelector("body"),i={attributes:true,attributeOldValue:false,characterData:true,characterDataOldValue:false,childList:true,subtree:true},o=new n(t);o.observe(e,i)}var n=p();if(n){i()}}function J(e){function t(){B("Window "+e,"resize")}x("window","Trigger event: "+e);H(t,16)}function U(){function e(){B("Tab Visible","resize")}if("hidden"!==document.visibilityState){x("document","Trigger event: Visibility change");H(e,16)}}function B(e,t){function i(e){return h[e]&&"parent"===h[e].resizeFrom&&h[e].autoResize&&!h[e].firstRun}Object.keys(h).forEach((function(n){if(i(n)){P(e,t,h[n].iframe,n)}}))}function Q(){g(window,"message",M);g(window,"resize",(function(){J("resize")}));g(document,"visibilitychange",U);g(document,"-webkit-visibilitychange",U)}function G(){function e(e,t){function i(){if(!t.tagName){throw new TypeError("Object is not a valid DOM element")}else if("IFRAME"!==t.tagName.toUpperCase()){throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}}if(t){i();W(t,e);n.push(t)}}function i(e){if(e&&e.enablePublicMethods){I("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}}var n;z();Q();return function o(r,a){n=[];i(r);switch(typeof a){case"undefined":case"string":{Array.prototype.forEach.call(document.querySelectorAll(a||"iframe"),e.bind(t,r));break}case"object":{e(r,a);break}default:{throw new TypeError("Unexpected data type ("+typeof a+")")}}return n}}function X(e){if(!e.fn){_("","Unable to bind to jQuery, it is not fully loaded.")}else if(!e.fn.iFrameResize){e.fn.iFrameResize=function e(t){function i(e,i){W(i,t)}return this.filter("iframe").each(i).end()}}}if(window.jQuery!==t){X(window.jQuery)}if(typeof t==="function"&&t.amd){t([],G)}else{e.exports=G()}window.iFrameResize=window.iFrameResize||G()})()})(a);var s={exports:{}};(function(e){(function(t){if(typeof window==="undefined")return;var i=true,n=10,o="",r=0,a="",s=null,c="",f=false,l={resize:1,click:1},u=128,d=true,h=1,m="bodyOffset",w=m,p=true,g="",v={},z=32,b=null,y=false,k=false,x="[iFrameSizer]",_=x.length,I="",T={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",S=window.parent,O="*",N=0,R=false,E=null,F=16,C=1,j="scroll",A=j,P=window,D=function(){Z("onMessage function not defined")},L=function(){},W=function(){},H={height:function(){Z("Custom height calculation function not defined");return document.documentElement.offsetHeight},width:function(){Z("Custom width calculation function not defined");return document.body.scrollWidth}},V={},$=false;function q(){}try{var J=Object.create({},{passive:{get:function(){$=true}}});window.addEventListener("test",q,J);window.removeEventListener("test",q,J)}catch(e){}function U(e,t,i,n){e.addEventListener(t,i,$?n||{}:false)}function B(e,t,i){e.removeEventListener(t,i,false)}function Q(e){return e.charAt(0).toUpperCase()+e.slice(1)}function G(e){var t,i,n,o=null,r=0,a=function(){r=Date.now();o=null;n=e.apply(t,i);if(!o){t=i=null}};return function(){var s=Date.now();if(!r){r=s}var c=F-(s-r);t=this;i=arguments;if(c<=0||c>F){if(o){clearTimeout(o);o=null}r=s;n=e.apply(t,i);if(!o){t=i=null}}else if(!o){o=setTimeout(a,c)}return n}}function X(e){return x+"["+I+"] "+e}function Y(e){if(y&&"object"===typeof window.console){console.log(X(e))}}function Z(e){if("object"===typeof window.console){console.warn(X(e))}}function K(){ee();Y("Initialising iFrame ("+window.location.href+")");ie();re();oe("background",o);oe("padding",c);we();le();ue();ae();ve();ge();de();v=pe();Ee("init","Init message from host page");L()}function ee(){function e(e){return"true"===e}var n=g.slice(_).split(":");I=n[0];r=t===n[1]?r:Number(n[1]);f=t===n[2]?f:e(n[2]);y=t===n[3]?y:e(n[3]);z=t===n[4]?z:Number(n[4]);i=t===n[6]?i:e(n[6]);a=n[7];w=t===n[8]?w:n[8];o=n[9];c=n[10];N=t===n[11]?N:Number(n[11]);v.enable=t===n[12]?false:e(n[12]);M=t===n[13]?M:n[13];A=t===n[14]?A:n[14];k=t===n[15]?k:e(n[15])}function te(e){var t=e.split("Callback");if(t.length===2){var i="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[i]=this[e];delete this[e];Z("Deprecated: '"+e+"' has been renamed '"+i+"'. The old method will be removed in the next major version.")}}function ie(){function e(){var e=window.iFrameResizer;Y("Reading data from page: "+JSON.stringify(e));Object.keys(e).forEach(te,e);D="onMessage"in e?e.onMessage:D;L="onReady"in e?e.onReady:L;O="targetOrigin"in e?e.targetOrigin:O;w="heightCalculationMethod"in e?e.heightCalculationMethod:w;A="widthCalculationMethod"in e?e.widthCalculationMethod:A}function t(e,t){if("function"===typeof e){Y("Setup custom "+t+"CalcMethod");H[t]=e;e="custom"}return e}if("iFrameResizer"in window&&Object===window.iFrameResizer.constructor){e();w=t(w,"height");A=t(A,"width")}Y("TargetOrigin for parent set to: "+O)}function ne(e,t){if(-1!==t.indexOf("-")){Z("Negative CSS value ignored for "+e);t=""}return t}function oe(e,i){if(t!==i&&""!==i&&"null"!==i){document.body.style[e]=i;Y("Body "+e+' set to "'+i+'"')}}function re(){if(t===a){a=r+"px"}oe("margin",ne("margin",a))}function ae(){document.documentElement.style.height="";document.body.style.height="";Y('HTML & body height set to "auto"')}function se(e){var t={add:function(t){function i(){Ee(e.eventName,e.eventType)}V[t]=i;U(window,t,i,{passive:true})},remove:function(e){var t=V[e];delete V[e];B(window,e,t)}};if(e.eventNames&&Array.prototype.map){e.eventName=e.eventNames[0];e.eventNames.map(t[e.method])}else{t[e.method](e.eventName)}Y(Q(e.method)+" event listener: "+e.eventType)}function ce(e){se({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]});se({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]});se({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]});se({method:e,eventType:"Input",eventName:"input"});se({method:e,eventType:"Mouse Up",eventName:"mouseup"});se({method:e,eventType:"Mouse Down",eventName:"mousedown"});se({method:e,eventType:"Orientation Change",eventName:"orientationchange"});se({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]});se({method:e,eventType:"Ready State Change",eventName:"readystatechange"});se({method:e,eventType:"Touch Start",eventName:"touchstart"});se({method:e,eventType:"Touch End",eventName:"touchend"});se({method:e,eventType:"Touch Cancel",eventName:"touchcancel"});se({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]});se({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]});se({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]});if("child"===M){se({method:e,eventType:"IFrame Resized",eventName:"resize"})}}function fe(e,t,i,n){if(t!==e){if(!(e in i)){Z(e+" is not a valid option for "+n+"CalculationMethod.");e=t}Y(n+' calculation method set to "'+e+'"')}return e}function le(){w=fe(w,m,Se,"height")}function ue(){A=fe(A,j,Oe,"width")}function de(){if(true===i){ce("add");ye()}else{Y("Auto Resize disabled")}}function he(){if(null!==s){s.disconnect()}}function me(){ce("remove");he();clearInterval(b)}function we(){var e=document.createElement("div");e.style.clear="both";e.style.display="block";e.style.height="0";document.body.appendChild(e)}function pe(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function i(t){var i=t.getBoundingClientRect(),n=e();return{x:parseInt(i.left,10)+parseInt(n.x,10),y:parseInt(i.top,10)+parseInt(n.y,10)}}function n(e){function n(e){var t=i(e);Y("Moving to in page link (#"+o+") at x: "+t.x+" y: "+t.y);Ae(t.y,t.x,"scrollToOffset")}var o=e.split("#")[1]||e,r=decodeURIComponent(o),a=document.getElementById(r)||document.getElementsByName(r)[0];if(t===a){Y("In page link (#"+o+") not found in iFrame, so sending to parent");Ae(0,0,"inPageLink","#"+o)}else{n(a)}}function o(){var e=window.location.hash;var t=window.location.href;if(""!==e&&"#"!==e){n(t)}}function r(){function e(e){function t(e){e.preventDefault();n(this.getAttribute("href"))}if("#"!==e.getAttribute("href")){U(e,"click",t)}}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){U(window,"hashchange",o)}function s(){setTimeout(o,u)}function c(){if(Array.prototype.forEach&&document.querySelectorAll){Y("Setting up location.hash handlers");r();a();s()}else{Z("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}}if(v.enable){c()}else{Y("In page linking not enabled")}return{findTarget:n}}function ge(){if(k!==true)return;function e(e){Ae(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,i){Y("Add event listener: "+i);U(window.document,t,e)}t("mouseenter","Mouse Enter");t("mouseleave","Mouse Leave")}function ve(){Y("Enable public methods");P.parentIFrame={autoResize:function e(t){if(true===t&&false===i){i=true;de()}else if(false===t&&true===i){i=false;me()}Ae(0,0,"autoResize",JSON.stringify(i));return i},close:function e(){Ae(0,0,"close")},getId:function e(){return I},getPageInfo:function e(t){if("function"===typeof t){W=t;Ae(0,0,"pageInfo")}else{W=function(){};Ae(0,0,"pageInfoStop")}},moveToAnchor:function e(t){v.findTarget(t)},reset:function e(){je("parentIFrame.reset")},scrollTo:function e(t,i){Ae(i,t,"scrollTo")},scrollToOffset:function e(t,i){Ae(i,t,"scrollToOffset")},sendMessage:function e(t,i){Ae(0,0,"message",JSON.stringify(t),i)},setHeightCalculationMethod:function e(t){w=t;le()},setWidthCalculationMethod:function e(t){A=t;ue()},setTargetOrigin:function e(t){Y("Set targetOrigin: "+t);O=t},size:function e(t,i){var n=""+(t||"")+(i?","+i:"");Ee("size","parentIFrame.size("+n+")",t,i)}}}function ze(){if(0!==z){Y("setInterval: "+z+"ms");b=setInterval((function(){Ee("interval","setInterval: "+z)}),Math.abs(z))}}function be(){function e(e){function t(e){if(false===e.complete){Y("Attach listeners to "+e.src);e.addEventListener("load",o,false);e.addEventListener("error",r,false);c.push(e)}}if(e.type==="attributes"&&e.attributeName==="src"){t(e.target)}else if(e.type==="childList"){Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}}function t(e){c.splice(c.indexOf(e),1)}function i(e){Y("Remove listeners from "+e.src);e.removeEventListener("load",o,false);e.removeEventListener("error",r,false);t(e)}function n(e,t,n){i(e.target);Ee(t,n+": "+e.target.src)}function o(e){n(e,"imageLoad","Image loaded")}function r(e){n(e,"imageLoadFailed","Image load failed")}function a(t){Ee("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type);t.forEach(e)}function s(){var e=document.querySelector("body"),t={attributes:true,attributeOldValue:false,characterData:true,characterDataOldValue:false,childList:true,subtree:true};l=new f(a);Y("Create body MutationObserver");l.observe(e,t);return l}var c=[],f=window.MutationObserver||window.WebKitMutationObserver,l=s();return{disconnect:function(){if("disconnect"in l){Y("Disconnect body MutationObserver");l.disconnect();c.forEach(i)}}}}function ye(){var e=0>z;if(window.MutationObserver||window.WebKitMutationObserver){if(e){ze()}else{s=be()}}else{Y("MutationObserver not supported in this browser!");ze()}}function ke(e,t){var i=0;t=t||document.body;i=document.defaultView.getComputedStyle(t,null);i=null===i?0:i[e];return parseInt(i,n)}function xe(e){if(e>F/2){F=2*e;Y("Event throttle increased to "+F+"ms")}}function _e(e,t){var i=t.length,n=0,o=0,r=Q(e),a=Date.now();for(var s=0;s<i;s++){n=t[s].getBoundingClientRect()[e]+ke("margin"+r,t[s]);if(n>o){o=n}}a=Date.now()-a;Y("Parsed "+i+" HTML elements");Y("Element position calculated in "+a+"ms");xe(a);return o}function Ie(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function Te(e,t){function i(){Z("No tagged elements ("+t+") found on page");return document.querySelectorAll("body *")}var n=document.querySelectorAll("["+t+"]");if(n.length===0)i();return _e(e,n)}function Me(){return document.querySelectorAll("body *")}var Se={bodyOffset:function e(){return document.body.offsetHeight+ke("marginTop")+ke("marginBottom")},offset:function(){return Se.bodyOffset()},bodyScroll:function e(){return document.body.scrollHeight},custom:function e(){return H.height()},documentElementOffset:function e(){return document.documentElement.offsetHeight},documentElementScroll:function e(){return document.documentElement.scrollHeight},max:function e(){return Math.max.apply(null,Ie(Se))},min:function e(){return Math.min.apply(null,Ie(Se))},grow:function e(){return Se.max()},lowestElement:function e(){return Math.max(Se.bodyOffset()||Se.documentElementOffset(),_e("bottom",Me()))},taggedElement:function e(){return Te("bottom","data-iframe-height")}},Oe={bodyScroll:function e(){return document.body.scrollWidth},bodyOffset:function e(){return document.body.offsetWidth},custom:function e(){return H.width()},documentElementScroll:function e(){return document.documentElement.scrollWidth},documentElementOffset:function e(){return document.documentElement.offsetWidth},scroll:function e(){return Math.max(Oe.bodyScroll(),Oe.documentElementScroll())},max:function e(){return Math.max.apply(null,Ie(Oe))},min:function e(){return Math.min.apply(null,Ie(Oe))},rightMostElement:function e(){return _e("right",Me())},taggedElement:function e(){return Te("right","data-iframe-width")}};function Ne(e,i,n,o){function r(){h=d;C=m;Ae(h,C,e)}function a(){function e(e,t){var i=Math.abs(e-t)<=N;return!i}d=t===n?Se[w]():n;m=t===o?Oe[A]():o;return e(h,d)||f&&e(C,m)}function s(){return!(e in{init:1,interval:1,size:1})}function c(){return w in T||f&&A in T}function l(){Y("No change in size detected")}function u(){if(s()&&c()){je(i)}else if(!(e in{interval:1})){l()}}var d,m;if(a()||"init"===e){Fe();r()}else{u()}}var Re=G(Ne);function Ee(e,t,i,n){function o(){if(!(e in{reset:1,resetPage:1,init:1})){Y("Trigger event: "+t)}}function r(){return R&&e in l}if(r()){Y("Trigger event cancelled: "+e)}else{o();if(e==="init"){Ne(e,t,i,n)}else{Re(e,t,i,n)}}}function Fe(){if(!R){R=true;Y("Trigger event lock on")}clearTimeout(E);E=setTimeout((function(){R=false;Y("Trigger event lock off");Y("--")}),u)}function Ce(e){h=Se[w]();C=Oe[A]();Ae(h,C,e)}function je(e){var t=w;w=m;Y("Reset trigger event: "+e);Fe();Ce("reset");w=t}function Ae(e,i,n,o,r){function a(){if(t===r){r=O}else{Y("Message targetOrigin: "+r)}}function s(){var a=e+":"+i,s=I+":"+a+":"+n+(t===o?"":":"+o);Y("Sending message to host page ("+s+")");S.postMessage(x+s,r)}{a();s()}}function Pe(i){var n={init:function e(){g=i.data;S=i.source;K();d=false;setTimeout((function(){p=false}),u)},reset:function e(){if(p){Y("Page reset ignored by init")}else{Y("Page size reset by host page");Ce("resetPage")}},resize:function e(){Ee("resizeParent","Parent window requested size check")},moveToAnchor:function e(){v.findTarget(a())},inPageLink:function e(){this.moveToAnchor()},pageInfo:function e(){var t=a();Y("PageInfoFromParent called from parent: "+t);W(JSON.parse(t));Y(" --")},message:function e(){var t=a();Y("onMessage called from parent: "+t);D(JSON.parse(t));Y(" --")}};function o(){return x===(""+i.data).slice(0,_)}function r(){return i.data.split("]")[1].split(":")[0]}function a(){return i.data.slice(i.data.indexOf(":")+1)}function s(){return!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype}function c(){return i.data.split(":")[2]in{true:1,false:1}}function f(){var e=r();if(e in n){n[e]()}else if(!s()&&!c()){Z("Unexpected message ("+i.data+")")}}function l(){if(false===d){f()}else if(c()){n.init()}else{Y('Ignored message of type "'+r()+'". Received before initialization.')}}if(o()){l()}}function De(){if("loading"!==document.readyState){window.parent.postMessage("[iFrameResizerChild]Ready","*")}}if(!("iframeResizer"in window)){window.iframeChildListener=function(e){Pe({data:e,sameDomian:true})};U(window,"message",Pe);U(window,"readystatechange",De);De()}})()})(s);const c=a.exports;var f={iframeResize:c,iframeResizer:c,contentWindow:s.exports};const l='.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);left:var(--stzh-space-large);position:absolute;width:45%}@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)}}@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-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);padding-right:var(--stzh-space-medium);z-index:2;text-align:center;background-color:var(--stzh-color-black60op);color:var(--stzh-color-white)}@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)}}@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)}}@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);padding-bottom:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-medium)}@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)}}@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)}}@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}';const u=l;const d=console.log;console.log=function(){};console.log=d;const h="stzh-components-iframe-confirm";let m=0;const w=class{constructor(i){e(this,i);this.stzhPreviewSkip=t(this,"stzhPreviewSkip",7);this.stzhViewChange=t(this,"stzhViewChange",7);this._src=null;this.updateFocus=false;this.handleIframeLoad=()=>{if(this.updateFocus){this.iframeElement.focus();this.updateFocus=false}this.initializeIframeResizing()};this.handleCookiewallCloseClick=()=>{this.updateFocus=true;this.view="preview";this.stzhViewChange.emit({component:"stzh-iframe",value:this.view})};this.handleCookiewallConfirmClick=()=>{r.set(`${h}-${this.cookie}`,"1",{expires:this.cookieExpires||null});this.updateFocus=true;this.view="iframe";this.stzhViewChange.emit({component:"stzh-iframe",value:this.view})};this.handlePreviewClick=()=>{const e=r.get(`${h}-${this.cookie}`)||false;this.updateFocus=true;if(!this.cookie||e){this.view="iframe"}else{this.view="cookiewall"}this.stzhViewChange.emit({component:"stzh-iframe",value:this.view})};this.localization=undefined;this.iframeId=undefined;this.iframeErrorText=undefined;this.iframeResizerVariant="None";this.iframeResizerHeightCorrection=undefined;this.iframeResizerSecondlevelDomain=undefined;this.name=undefined;this.sandbox=undefined;this.referrerpolicy=undefined;this.allow="autoplay; fullscreen";this.width="100%";this.height="100%";this.src="";this.cookie=undefined;this.cookieExpires=365;this.cookieConfirmIcon=undefined;this.cookieConfirmLabel=undefined;this.cookieConfirmText=undefined;this.previewLabel=undefined;this.previewIcon="external-link";this.skipPreviewIfCookieAccepted=false;this.skipPreview=false;this.view="preview"}srcWatcher(e){if(this.view==="iframe"){this._src=e}}viewWatcher(e){if(e==="iframe"){this._src=this.src}else{this._src=null}}initializeIframeResizing(){switch(this.iframeResizerVariant){case"None":return;case"PostMessage":f.iframeResize({log:false,checkOrigin:false},this.iframeElement);break;case"SameSecondLevelDomain":console.warn("stzh-iframe: sameSecondLevelDomain is deprecated as it does no longer work on evergreen browsers, use PostMessage instead.");if(!this.iframeResizerSecondlevelDomain){console.log("stzh-iframe:","property 'iframeSecondlevelDomain' not filled out.")}this.setupIframeAutoSizing({frameId:this.iframeId,heightCorrection:this.iframeResizerHeightCorrection||0,hasSameDomain:false,secondLevelDomain:this.iframeResizerSecondlevelDomain});break}}setupIframeAutoSizing(e){const t=(e,t)=>()=>{var i;try{const n=((i=e.contentWindow)===null||i===void 0?void 0:i.document.body.scrollHeight)||0;if(n>0){e.style.height=`${n+t.heightCorrection}px`}}catch(e){console.warn("stzh-iframe:","Resizing not possible, perhaps due to cross-domain restrictions:",e)}};if(!e.hasSameDomain){document.domain=e.secondLevelDomain}const i=document.getElementById(e.frameId);if(!i){console.error(`Iframe with ID ${e.frameId} not found`);return}const n=t(i,e);window.addEventListener("resize",n);i.addEventListener("load",n);i.addEventListener("blur",n);i.addEventListener("readystatechange",n);try{n()}catch(e){console.warn("Initial resize failed, likely due to iframe not being fully loaded yet:",e)}}async componentWillLoad(){this.internalId=`stzh-iframe-${m++}`;const e=r.get(`${h}-${this.cookie}`)||false;if((!this.cookie||e)&&(this.skipPreviewIfCookieAccepted||this.skipPreview)||!this.cookie&&this.skipPreview){this.stzhPreviewSkip.emit({component:"stzh-iframe"});this.view="iframe"}else if(this.cookie&&this.skipPreview){this.view="cookiewall"}this.viewWatcher(this.view);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"iframe")}}async componentDidRender(){if(this.updateFocus){if(this.view==="iframe");else if(this.view==="preview"){this.previewButtonElement.focus();this.updateFocus=false}else if(this.view==="cookiewall"){this.confirmButtonElement.focus();this.updateFocus=false}}}render(){const e={"stzh-iframe":true};return i(n,{key:"83905f1eb3b93e49bacb5a1651b1d48efaf71cee"},i("div",{key:"11e20e2e73c93e45748de8f66d2ba5bd26bafadd",class:e},this.view==="iframe"&&i("iframe",{key:"8f4817abd4dcd8fdd720c976892845b5ca9371bd",id:this.iframeId,name:this.name,sandbox:this.sandbox,referrerPolicy:this.referrerpolicy,width:this.width,height:this.height,ref:e=>this.iframeElement=e,class:"stzh-iframe__iframe",src:this._src,allow:this.allow,onLoad:this.handleIframeLoad},this.iframeErrorText),i("button",{key:"0d21a7e62b501df91af60573d7359d2ad70802eb",ref:e=>this.previewButtonElement=e,onClick:this.handlePreviewClick,"aria-label":this.previewLabel||this.localization.defaultPreviewLabel,class:{"stzh-iframe__preview":true,"is-visible":this.view==="preview"||this.view==="cookiewall"}},i("div",{key:"b5f6fa5337569423bb4d6ee4fa1a1d826794c924",class:"stzh-iframe__preview-image-wrapper"},i("slot",{key:"c9c64cd911e5296437073db4676aff3a60d4d05f",name:"preview-image"})),i("div",{key:"13e4dd2d6de1edb0f23ea77674ff192d5d9f4429",class:"stzh-iframe__preview-logo-wrapper"},i("slot",{key:"a63dd2fea16f88417d3e858f06847ccd8ed81e98",name:"preview-logo"})),this.previewIcon&&i("div",{key:"5cc64238a8ce780bab4cbf7bed34b4081ec14eff",class:{"stzh-iframe__preview-run":true,"is-visible":this.view==="preview"}},i("stzh-icon",{key:"f252b81ed3a4ed6b729e09451e303fdda0a7d73f",class:"stzh-iframe__preview-run-icon",name:this.previewIcon}))),this.cookie&&i("div",{key:"b29d2221b6e714fb176a358d74bcc896dfe51cc6",class:{"stzh-iframe__cookiewall":true,"is-visible":this.view==="cookiewall"}},i("div",{key:"12332cc3b9f1c02073f50d7fbe5369d39ebbc711",class:"stzh-iframe__cookiewall-content"},i("div",{key:"2de7967ef65747f2ea1364cf4a46ecb8fa62587d",class:"stzh-iframe__cookiewall-text",id:`${this.internalId}-cookiewall-text`},this.cookieConfirmText?this.cookieConfirmText:i("slot",{name:"cookiewall-text"})),i("stzh-button",{key:"6e58db408c546e2a82cef9e2b880511d3b269d3b",ref:e=>this.confirmButtonElement=e,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&&i("button",{key:"b4b57d749651383399baf4d0a7f36cc2110bed79",class:"stzh-iframe__cookiewall-close",onClick:this.handleCookiewallCloseClick,"aria-label":this.localization.confirmCloseLabel},i("stzh-icon",{key:"badfa065c2ddb75bd6eaca320a28ea36a4943eb1",class:"stzh-iframe__cookiewall-close-icon",name:"close"})))))}get element(){return o(this)}static get watchers(){return{src:["srcWatcher"],view:["viewWatcher"]}}};w.style=u;export{w as stzh_iframe};
2
- //# sourceMappingURL=p-1844d99e.entry.js.map
1
+ import{r as e,c as t,h as i,a as n,g as o}from"./p-ef5985a3.js";import{C as r}from"./p-979121a0.js";import"./p-1ab64d01.js";var a={exports:{}};(function(e){console.info(`\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 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.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n`);(function(t){if(typeof window==="undefined")return;var i=0,n,o=false,r=false,a="message",s=a.length,c="[iFrameSizer]",f=c.length,l=null,u=window.requestAnimationFrame,d=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),h={},m=null,w=Object.freeze({autoResize:true,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:true,inPageLinks:false,enablePublicMethods:true,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:false,maxHeight:Infinity,maxWidth:Infinity,minHeight:0,minWidth:0,mouseEvents:true,resizeFrom:"parent",scrolling:false,sizeHeight:true,sizeWidth:false,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return true},onClosed:function(){},onInit:function(){},onMessage:function(){I("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return true}});function p(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(e,t,i){e.addEventListener(t,i,false)}function v(e,t,i){e.removeEventListener(t,i,false)}function z(){var e=["moz","webkit","o","ms"];var t;for(t=0;t<e.length&&!u;t+=1){u=window[e[t]+"RequestAnimationFrame"]}if(u){u=u.bind(window)}else{x("setup","RequestAnimationFrame not supported")}}function b(e){var t="Host page: "+e;if(window.top!==window.self){t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e}return t}function y(e){return c+"["+b(e)+"]"}function k(e){return h[e]?h[e].log:o}function x(e,t){T("log",e,t,k(e))}function _(e,t){T("info",e,t,k(e))}function I(e,t){T("warn",e,t,true)}function T(e,t,i,n){if(true===n&&"object"===typeof window.console){console[e](y(t),i)}}function M(e){function t(){function e(){j(Q);E(G);H("onResized",Q)}r("Height");r("Width");A(e,Q,"init")}function i(){var e=B.slice(f).split(":");var t=e[1]?parseInt(e[1],10):0;var i=h[e[0]]&&h[e[0]].iframe;var r=getComputedStyle(i);return{iframe:i,id:e[0],height:t+n(r)+o(r),width:e[2],type:e[3]}}function n(e){if(e.boxSizing!=="border-box"){return 0}var t=e.paddingTop?parseInt(e.paddingTop,10):0;var i=e.paddingBottom?parseInt(e.paddingBottom,10):0;return t+i}function o(e){if(e.boxSizing!=="border-box"){return 0}var t=e.borderTopWidth?parseInt(e.borderTopWidth,10):0;var i=e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0;return t+i}function r(e){var t=Number(h[G]["max"+e]),i=Number(h[G]["min"+e]),n=e.toLowerCase(),o=Number(Q[n]);x(G,"Checking "+n+" is in range "+i+"-"+t);if(o<i){o=i;x(G,"Set "+n+" to min value")}if(o>t){o=t;x(G,"Set "+n+" to max value")}Q[n]=""+o}function a(){function t(){function e(){var e=0,t=false;x(G,"Checking connection is from allowed list of origins: "+n);for(;e<n.length;e++){if(n[e]===i){t=true;break}}return t}function t(){var e=h[G]&&h[G].remoteHost;x(G,"Checking connection is from: "+e);return i===e}return n.constructor===Array?e():t()}var i=e.origin,n=h[G]&&h[G].checkOrigin;if(n&&""+i!=="null"&&!t()){throw new Error("Unexpected message received from: "+i+" for "+Q.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.")}return true}function u(){return c===(""+B).slice(0,f)&&B.slice(f).split(":")[0]in h}function d(){var e=Q.type in{true:1,false:1,undefined:1};if(e){x(G,"Ignoring init message from meta parent page")}return e}function m(e){return B.slice(B.indexOf(":")+s+e)}function w(e){x(G,"onMessage passed: {iframe: "+Q.iframe.id+", message: "+e+"}");H("onMessage",{iframe:Q.iframe,message:JSON.parse(e)});x(G,"--")}function p(){var e=document.body.getBoundingClientRect(),t=Q.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function z(e,t){function i(){P("Send Page Info","pageInfo:"+p(),e,t)}$(i,32,t)}function b(){function e(e,i){function o(){if(h[n]){z(h[n].iframe,n)}else{t()}}["scroll","resize"].forEach((function(t){x(n,e+t+" listener for sendPageInfo");i(window,t,o)}))}function t(){e("Remove ",v)}function i(){e("Add ",g)}var n=G;i();if(h[n]){h[n].stopPageInfo=t}}function y(){if(h[G]&&h[G].stopPageInfo){h[G].stopPageInfo();delete h[G].stopPageInfo}}function k(){var e=true;if(null===Q.iframe){I(G,"IFrame ("+Q.id+") not found");e=false}return e}function T(e){var t=e.getBoundingClientRect();R(G);return{x:Math.floor(Number(t.left)+Number(l.x)),y:Math.floor(Number(t.top)+Number(l.y))}}function M(e){function t(){l=r;O();x(G,"--")}function i(){return{x:Number(Q.width)+o.x,y:Number(Q.height)+o.y}}function n(){if(window.parentIFrame){window.parentIFrame["scrollTo"+(e?"Offset":"")](r.x,r.y)}else{I(G,"Unable to scroll to requested position, window.parentIFrame not found")}}var o=e?T(Q.iframe):{x:0,y:0},r=i();x(G,"Reposition requested from iFrame (offset x:"+o.x+" y:"+o.y+")");if(window.top===window.self){t()}else{n()}}function O(){if(false===H("onScroll",l)){F()}else{E(G)}}function L(e){function t(){var e=T(r);x(G,"Moving to in page link (#"+n+") at x: "+e.x+" y: "+e.y);l={x:e.x,y:e.y};O();x(G,"--")}function i(){if(window.parentIFrame){window.parentIFrame.moveToAnchor(n)}else{x(G,"In page link #"+n+" not found and window.parentIFrame not found")}}var n=e.split("#")[1]||"",o=decodeURIComponent(n),r=document.getElementById(o)||document.getElementsByName(o)[0];if(r){t()}else if(window.top===window.self){x(G,"In page link #"+n+" not found")}else{i()}}function W(e){var t={};if(Number(Q.width)===0&&Number(Q.height)===0){var i=m(9).split(":");t={x:i[1],y:i[0]}}else{t={x:Q.width,y:Q.height}}H(e,{iframe:Q.iframe,screenX:Number(t.x),screenY:Number(t.y),type:Q.type})}function H(e,t){return S(G,e,t)}function V(){if(h[G]&&h[G].firstRun)U();switch(Q.type){case"close":{N(Q.iframe);break}case"message":{w(m(6));break}case"mouseenter":{W("onMouseEnter");break}case"mouseleave":{W("onMouseLeave");break}case"autoResize":{h[G].autoResize=JSON.parse(m(9));break}case"scrollTo":{M(false);break}case"scrollToOffset":{M(true);break}case"pageInfo":{z(h[G]&&h[G].iframe,G);b();break}case"pageInfoStop":{y();break}case"inPageLink":{L(m(9));break}case"reset":{C(Q);break}case"init":{t();H("onInit",Q.iframe);break}default:{if(Number(Q.width)===0&&Number(Q.height)===0){I("Unsupported message received ("+Q.type+"), this is likely due to the iframe containing a later "+"version of iframe-resizer than the parent page")}else{t()}}}}function q(e){var t=true;if(!h[e]){t=false;I(Q.type+" No settings for "+e+". Message was: "+B)}return t}function J(){for(var e in h){P("iFrame requested init",D(e),h[e].iframe,e)}}function U(){if(h[G]){h[G].firstRun=false}}var B=e.data,Q={},G=null;if("[iFrameResizerChild]Ready"===B){J()}else if(u()){Q=i();G=Q.id;if(h[G]){h[G].loaded=true}if(!d()&&q(G)){x(G,"Received: "+B);if(k()&&a()){V()}}}else{_(G,"Ignored: "+B)}}function S(e,t,i){var n=null,o=null;if(h[e]){n=h[e][t];if("function"===typeof n){o=n(i)}else{throw new TypeError(t+" on iFrame["+e+"] is not a function")}}return o}function O(e){var t=e.id;delete h[t]}function N(e){var t=e.id;if(S(t,"onClose",t)===false){x(t,"Close iframe cancelled by onClose event");return}x(t,"Removing iFrame: "+t);try{if(e.parentNode){e.parentNode.removeChild(e)}}catch(e){I(e)}S(t,"onClosed",t);x(t,"--");O(e);if(n){n.disconnect();n=null}}function R(e){if(null===l){l={x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset};x(e,"Get page position: "+l.x+","+l.y)}}function E(e){if(null!==l){window.scrollTo(l.x,l.y);x(e,"Set page position: "+l.x+","+l.y);F()}}function F(){l=null}function C(e){function t(){j(e);P("reset","reset",e.iframe,e.id)}x(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame"));R(e.id);A(t,e,"reset")}function j(e){function t(t){if(!e.id){x("undefined","messageData id not set");return}e.iframe.style[t]=e[t]+"px";x(e.id,"IFrame ("+o+") "+t+" set to "+e[t]+"px")}function i(t){if(!r&&"0"===e[t]){r=true;x(o,"Hidden iFrame detected, creating visibility listener");q()}}function n(e){t(e);i(e)}var o=e.iframe.id;if(h[o]){if(h[o].sizeHeight){n("height")}if(h[o].sizeWidth){n("width")}}}function A(e,t,i){if(i!==t.type&&u&&!window.jasmine){x(t.id,"Requesting animation frame");u(e)}else{e()}}function P(e,t,i,n,o){function r(){var o=h[n]&&h[n].targetOrigin;x(n,"["+e+"] Sending msg to iframe["+n+"] ("+t+") targetOrigin: "+o);i.contentWindow.postMessage(c+t,o)}function a(){I(n,"["+e+"] IFrame("+n+") not found")}function s(){if(i&&"contentWindow"in i&&null!==i.contentWindow){r()}else{a()}}function f(){function e(){if(h[n]&&!h[n].loaded&&!l){l=true;I(n,"IFrame has not responded within "+h[n].warningTimeout/1e3+" 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.")}}if(!!o&&h[n]&&!!h[n].warningTimeout){h[n].msgTimeout=setTimeout(e,h[n].warningTimeout)}}var l=false;n=n||i.id;if(h[n]){s();f()}}function D(e){return e+":"+h[e].bodyMarginV1+":"+h[e].sizeWidth+":"+h[e].log+":"+h[e].interval+":"+h[e].enablePublicMethods+":"+h[e].autoResize+":"+h[e].bodyMargin+":"+h[e].heightCalculationMethod+":"+h[e].bodyBackground+":"+h[e].bodyPadding+":"+h[e].tolerance+":"+h[e].inPageLinks+":"+h[e].resizeFrom+":"+h[e].widthCalculationMethod+":"+h[e].mouseEvents}function L(e){return typeof e==="number"}function W(e,r){function a(){function t(t){var i=h[M][t];if(Infinity!==i&&0!==i){e.style[t]=L(i)?i+"px":i;x(M,"Set "+t+" = "+e.style[t])}}function i(e){if(h[M]["min"+e]>h[M]["max"+e]){throw new Error("Value for min"+e+" can not be greater than max"+e)}}i("Height");i("Width");t("maxHeight");t("minHeight");t("maxWidth");t("minWidth")}function s(){var e=r&&r.id||w.id+i++;if(null!==document.getElementById(e)){e+=i++}return e}function c(t){if(typeof t!=="string"){throw new TypeError("Invaild id for iFrame. Expected String")}if(""===t){e.id=t=s();o=(r||{}).log;x(t,"Added missing iframe ID: "+t+" ("+e.src+")")}return t}function f(){x(M,"IFrame scrolling "+(h[M]&&h[M].scrolling?"enabled":"disabled")+" for "+M);e.style.overflow=false===(h[M]&&h[M].scrolling)?"hidden":"auto";switch(h[M]&&h[M].scrolling){case"omit":{break}case true:{e.scrolling="yes";break}case false:{e.scrolling="no";break}default:{e.scrolling=h[M]?h[M].scrolling:"no"}}}function l(){if("number"===typeof(h[M]&&h[M].bodyMargin)||"0"===(h[M]&&h[M].bodyMargin)){h[M].bodyMarginV1=h[M].bodyMargin;h[M].bodyMargin=""+h[M].bodyMargin+"px"}}function u(){var t=h[M]&&h[M].firstRun,i=h[M]&&h[M].heightCalculationMethod in d;if(!t&&i){C({iframe:e,height:0,width:0,type:"init"})}}function m(){if(h[M]){h[M].iframe.iFrameResizer={close:N.bind(null,h[M].iframe),removeListeners:O.bind(null,h[M].iframe),resize:P.bind(null,"Window resize","resize",h[M].iframe),moveToAnchor:function(e){P("Move to anchor","moveToAnchor:"+e,h[M].iframe,M)},sendMessage:function(e){e=JSON.stringify(e);P("Send Message","message:"+e,h[M].iframe,M)}}}}function v(i){function o(){P("iFrame.onload",i,e,t,true);u()}function r(t){if(!e.parentNode){return null}var i=new t((function(t){t.forEach((function(t){var i=Array.prototype.slice.call(t.removedNodes);i.forEach((function(t){if(t===e){N(e)}}))}))}));i.observe(e.parentNode,{childList:true});return i}var a=p();if(a){n=r(a)}g(e,"load",o);P("init",i,e,t,true)}function z(e){if("object"!==typeof e){throw new TypeError("Options is not an object")}}function b(e){for(var t in w){if(Object.prototype.hasOwnProperty.call(w,t)){h[M][t]=Object.prototype.hasOwnProperty.call(e,t)?e[t]:w[t]}}}function y(e){return""===e||null!==e.match(/^(about:blank|javascript:|file:\/\/)/)?"*":e}function k(e){var t=e.split("Callback");if(t.length===2){var i="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[i]=this[e];delete this[e];I(M,"Deprecated: '"+e+"' has been renamed '"+i+"'. The old method will be removed in the next major version.")}}function _(t){t=t||{};h[M]=Object.create(null);h[M].iframe=e;h[M].firstRun=true;h[M].remoteHost=e.src&&e.src.split("/").slice(0,3).join("/");z(t);Object.keys(t).forEach(k,t);b(t);if(h[M]){h[M].targetOrigin=true===h[M].checkOrigin?y(h[M].remoteHost):"*"}}function T(){return M in h&&"iFrameResizer"in e}var M=c(e.id);if(T()){I(M,"Ignored iFrame, already setup.")}else{_(r);f();a();l();v(D(M));m()}}function H(e,t){if(null===m){m=setTimeout((function(){m=null;e()}),t)}}var V={};function $(e,t,i){if(!V[i]){V[i]=setTimeout((function(){V[i]=null;e()}),t)}}function q(){function e(){function e(e){function t(t){return"0px"===(h[e]&&h[e].iframe.style[t])}function i(e){return null!==e.offsetParent}if(h[e]&&i(h[e].iframe)&&(t("height")||t("width"))){P("Visibility change","resize",h[e].iframe,e)}}Object.keys(h).forEach((function(t){e(t)}))}function t(t){x("window","Mutation observed: "+t[0].target+" "+t[0].type);H(e,16)}function i(){var e=document.querySelector("body"),i={attributes:true,attributeOldValue:false,characterData:true,characterDataOldValue:false,childList:true,subtree:true},o=new n(t);o.observe(e,i)}var n=p();if(n){i()}}function J(e){function t(){B("Window "+e,"resize")}x("window","Trigger event: "+e);H(t,16)}function U(){function e(){B("Tab Visible","resize")}if("hidden"!==document.visibilityState){x("document","Trigger event: Visibility change");H(e,16)}}function B(e,t){function i(e){return h[e]&&"parent"===h[e].resizeFrom&&h[e].autoResize&&!h[e].firstRun}Object.keys(h).forEach((function(n){if(i(n)){P(e,t,h[n].iframe,n)}}))}function Q(){g(window,"message",M);g(window,"resize",(function(){J("resize")}));g(document,"visibilitychange",U);g(document,"-webkit-visibilitychange",U)}function G(){function e(e,t){function i(){if(!t.tagName){throw new TypeError("Object is not a valid DOM element")}else if("IFRAME"!==t.tagName.toUpperCase()){throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">")}}if(t){i();W(t,e);n.push(t)}}function i(e){if(e&&e.enablePublicMethods){I("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}}var n;z();Q();return function o(r,a){n=[];i(r);switch(typeof a){case"undefined":case"string":{Array.prototype.forEach.call(document.querySelectorAll(a||"iframe"),e.bind(t,r));break}case"object":{e(r,a);break}default:{throw new TypeError("Unexpected data type ("+typeof a+")")}}return n}}function X(e){if(!e.fn){_("","Unable to bind to jQuery, it is not fully loaded.")}else if(!e.fn.iFrameResize){e.fn.iFrameResize=function e(t){function i(e,i){W(i,t)}return this.filter("iframe").each(i).end()}}}if(window.jQuery!==t){X(window.jQuery)}if(typeof t==="function"&&t.amd){t([],G)}else{e.exports=G()}window.iFrameResize=window.iFrameResize||G()})()})(a);var s={exports:{}};(function(e){(function(t){if(typeof window==="undefined")return;var i=true,n=10,o="",r=0,a="",s=null,c="",f=false,l={resize:1,click:1},u=128,d=true,h=1,m="bodyOffset",w=m,p=true,g="",v={},z=32,b=null,y=false,k=false,x="[iFrameSizer]",_=x.length,I="",T={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",S=window.parent,O="*",N=0,R=false,E=null,F=16,C=1,j="scroll",A=j,P=window,D=function(){Z("onMessage function not defined")},L=function(){},W=function(){},H={height:function(){Z("Custom height calculation function not defined");return document.documentElement.offsetHeight},width:function(){Z("Custom width calculation function not defined");return document.body.scrollWidth}},V={},$=false;function q(){}try{var J=Object.create({},{passive:{get:function(){$=true}}});window.addEventListener("test",q,J);window.removeEventListener("test",q,J)}catch(e){}function U(e,t,i,n){e.addEventListener(t,i,$?n||{}:false)}function B(e,t,i){e.removeEventListener(t,i,false)}function Q(e){return e.charAt(0).toUpperCase()+e.slice(1)}function G(e){var t,i,n,o=null,r=0,a=function(){r=Date.now();o=null;n=e.apply(t,i);if(!o){t=i=null}};return function(){var s=Date.now();if(!r){r=s}var c=F-(s-r);t=this;i=arguments;if(c<=0||c>F){if(o){clearTimeout(o);o=null}r=s;n=e.apply(t,i);if(!o){t=i=null}}else if(!o){o=setTimeout(a,c)}return n}}function X(e){return x+"["+I+"] "+e}function Y(e){if(y&&"object"===typeof window.console){console.log(X(e))}}function Z(e){if("object"===typeof window.console){console.warn(X(e))}}function K(){ee();Y("Initialising iFrame ("+window.location.href+")");ie();re();oe("background",o);oe("padding",c);we();le();ue();ae();ve();ge();de();v=pe();Ee("init","Init message from host page");L()}function ee(){function e(e){return"true"===e}var n=g.slice(_).split(":");I=n[0];r=t===n[1]?r:Number(n[1]);f=t===n[2]?f:e(n[2]);y=t===n[3]?y:e(n[3]);z=t===n[4]?z:Number(n[4]);i=t===n[6]?i:e(n[6]);a=n[7];w=t===n[8]?w:n[8];o=n[9];c=n[10];N=t===n[11]?N:Number(n[11]);v.enable=t===n[12]?false:e(n[12]);M=t===n[13]?M:n[13];A=t===n[14]?A:n[14];k=t===n[15]?k:e(n[15])}function te(e){var t=e.split("Callback");if(t.length===2){var i="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[i]=this[e];delete this[e];Z("Deprecated: '"+e+"' has been renamed '"+i+"'. The old method will be removed in the next major version.")}}function ie(){function e(){var e=window.iFrameResizer;Y("Reading data from page: "+JSON.stringify(e));Object.keys(e).forEach(te,e);D="onMessage"in e?e.onMessage:D;L="onReady"in e?e.onReady:L;O="targetOrigin"in e?e.targetOrigin:O;w="heightCalculationMethod"in e?e.heightCalculationMethod:w;A="widthCalculationMethod"in e?e.widthCalculationMethod:A}function t(e,t){if("function"===typeof e){Y("Setup custom "+t+"CalcMethod");H[t]=e;e="custom"}return e}if("iFrameResizer"in window&&Object===window.iFrameResizer.constructor){e();w=t(w,"height");A=t(A,"width")}Y("TargetOrigin for parent set to: "+O)}function ne(e,t){if(-1!==t.indexOf("-")){Z("Negative CSS value ignored for "+e);t=""}return t}function oe(e,i){if(t!==i&&""!==i&&"null"!==i){document.body.style[e]=i;Y("Body "+e+' set to "'+i+'"')}}function re(){if(t===a){a=r+"px"}oe("margin",ne("margin",a))}function ae(){document.documentElement.style.height="";document.body.style.height="";Y('HTML & body height set to "auto"')}function se(e){var t={add:function(t){function i(){Ee(e.eventName,e.eventType)}V[t]=i;U(window,t,i,{passive:true})},remove:function(e){var t=V[e];delete V[e];B(window,e,t)}};if(e.eventNames&&Array.prototype.map){e.eventName=e.eventNames[0];e.eventNames.map(t[e.method])}else{t[e.method](e.eventName)}Y(Q(e.method)+" event listener: "+e.eventType)}function ce(e){se({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]});se({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]});se({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]});se({method:e,eventType:"Input",eventName:"input"});se({method:e,eventType:"Mouse Up",eventName:"mouseup"});se({method:e,eventType:"Mouse Down",eventName:"mousedown"});se({method:e,eventType:"Orientation Change",eventName:"orientationchange"});se({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]});se({method:e,eventType:"Ready State Change",eventName:"readystatechange"});se({method:e,eventType:"Touch Start",eventName:"touchstart"});se({method:e,eventType:"Touch End",eventName:"touchend"});se({method:e,eventType:"Touch Cancel",eventName:"touchcancel"});se({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]});se({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]});se({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]});if("child"===M){se({method:e,eventType:"IFrame Resized",eventName:"resize"})}}function fe(e,t,i,n){if(t!==e){if(!(e in i)){Z(e+" is not a valid option for "+n+"CalculationMethod.");e=t}Y(n+' calculation method set to "'+e+'"')}return e}function le(){w=fe(w,m,Se,"height")}function ue(){A=fe(A,j,Oe,"width")}function de(){if(true===i){ce("add");ye()}else{Y("Auto Resize disabled")}}function he(){if(null!==s){s.disconnect()}}function me(){ce("remove");he();clearInterval(b)}function we(){var e=document.createElement("div");e.style.clear="both";e.style.display="block";e.style.height="0";document.body.appendChild(e)}function pe(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function i(t){var i=t.getBoundingClientRect(),n=e();return{x:parseInt(i.left,10)+parseInt(n.x,10),y:parseInt(i.top,10)+parseInt(n.y,10)}}function n(e){function n(e){var t=i(e);Y("Moving to in page link (#"+o+") at x: "+t.x+" y: "+t.y);Ae(t.y,t.x,"scrollToOffset")}var o=e.split("#")[1]||e,r=decodeURIComponent(o),a=document.getElementById(r)||document.getElementsByName(r)[0];if(t===a){Y("In page link (#"+o+") not found in iFrame, so sending to parent");Ae(0,0,"inPageLink","#"+o)}else{n(a)}}function o(){var e=window.location.hash;var t=window.location.href;if(""!==e&&"#"!==e){n(t)}}function r(){function e(e){function t(e){e.preventDefault();n(this.getAttribute("href"))}if("#"!==e.getAttribute("href")){U(e,"click",t)}}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){U(window,"hashchange",o)}function s(){setTimeout(o,u)}function c(){if(Array.prototype.forEach&&document.querySelectorAll){Y("Setting up location.hash handlers");r();a();s()}else{Z("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}}if(v.enable){c()}else{Y("In page linking not enabled")}return{findTarget:n}}function ge(){if(k!==true)return;function e(e){Ae(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,i){Y("Add event listener: "+i);U(window.document,t,e)}t("mouseenter","Mouse Enter");t("mouseleave","Mouse Leave")}function ve(){Y("Enable public methods");P.parentIFrame={autoResize:function e(t){if(true===t&&false===i){i=true;de()}else if(false===t&&true===i){i=false;me()}Ae(0,0,"autoResize",JSON.stringify(i));return i},close:function e(){Ae(0,0,"close")},getId:function e(){return I},getPageInfo:function e(t){if("function"===typeof t){W=t;Ae(0,0,"pageInfo")}else{W=function(){};Ae(0,0,"pageInfoStop")}},moveToAnchor:function e(t){v.findTarget(t)},reset:function e(){je("parentIFrame.reset")},scrollTo:function e(t,i){Ae(i,t,"scrollTo")},scrollToOffset:function e(t,i){Ae(i,t,"scrollToOffset")},sendMessage:function e(t,i){Ae(0,0,"message",JSON.stringify(t),i)},setHeightCalculationMethod:function e(t){w=t;le()},setWidthCalculationMethod:function e(t){A=t;ue()},setTargetOrigin:function e(t){Y("Set targetOrigin: "+t);O=t},size:function e(t,i){var n=""+(t||"")+(i?","+i:"");Ee("size","parentIFrame.size("+n+")",t,i)}}}function ze(){if(0!==z){Y("setInterval: "+z+"ms");b=setInterval((function(){Ee("interval","setInterval: "+z)}),Math.abs(z))}}function be(){function e(e){function t(e){if(false===e.complete){Y("Attach listeners to "+e.src);e.addEventListener("load",o,false);e.addEventListener("error",r,false);c.push(e)}}if(e.type==="attributes"&&e.attributeName==="src"){t(e.target)}else if(e.type==="childList"){Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}}function t(e){c.splice(c.indexOf(e),1)}function i(e){Y("Remove listeners from "+e.src);e.removeEventListener("load",o,false);e.removeEventListener("error",r,false);t(e)}function n(e,t,n){i(e.target);Ee(t,n+": "+e.target.src)}function o(e){n(e,"imageLoad","Image loaded")}function r(e){n(e,"imageLoadFailed","Image load failed")}function a(t){Ee("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type);t.forEach(e)}function s(){var e=document.querySelector("body"),t={attributes:true,attributeOldValue:false,characterData:true,characterDataOldValue:false,childList:true,subtree:true};l=new f(a);Y("Create body MutationObserver");l.observe(e,t);return l}var c=[],f=window.MutationObserver||window.WebKitMutationObserver,l=s();return{disconnect:function(){if("disconnect"in l){Y("Disconnect body MutationObserver");l.disconnect();c.forEach(i)}}}}function ye(){var e=0>z;if(window.MutationObserver||window.WebKitMutationObserver){if(e){ze()}else{s=be()}}else{Y("MutationObserver not supported in this browser!");ze()}}function ke(e,t){var i=0;t=t||document.body;i=document.defaultView.getComputedStyle(t,null);i=null===i?0:i[e];return parseInt(i,n)}function xe(e){if(e>F/2){F=2*e;Y("Event throttle increased to "+F+"ms")}}function _e(e,t){var i=t.length,n=0,o=0,r=Q(e),a=Date.now();for(var s=0;s<i;s++){n=t[s].getBoundingClientRect()[e]+ke("margin"+r,t[s]);if(n>o){o=n}}a=Date.now()-a;Y("Parsed "+i+" HTML elements");Y("Element position calculated in "+a+"ms");xe(a);return o}function Ie(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function Te(e,t){function i(){Z("No tagged elements ("+t+") found on page");return document.querySelectorAll("body *")}var n=document.querySelectorAll("["+t+"]");if(n.length===0)i();return _e(e,n)}function Me(){return document.querySelectorAll("body *")}var Se={bodyOffset:function e(){return document.body.offsetHeight+ke("marginTop")+ke("marginBottom")},offset:function(){return Se.bodyOffset()},bodyScroll:function e(){return document.body.scrollHeight},custom:function e(){return H.height()},documentElementOffset:function e(){return document.documentElement.offsetHeight},documentElementScroll:function e(){return document.documentElement.scrollHeight},max:function e(){return Math.max.apply(null,Ie(Se))},min:function e(){return Math.min.apply(null,Ie(Se))},grow:function e(){return Se.max()},lowestElement:function e(){return Math.max(Se.bodyOffset()||Se.documentElementOffset(),_e("bottom",Me()))},taggedElement:function e(){return Te("bottom","data-iframe-height")}},Oe={bodyScroll:function e(){return document.body.scrollWidth},bodyOffset:function e(){return document.body.offsetWidth},custom:function e(){return H.width()},documentElementScroll:function e(){return document.documentElement.scrollWidth},documentElementOffset:function e(){return document.documentElement.offsetWidth},scroll:function e(){return Math.max(Oe.bodyScroll(),Oe.documentElementScroll())},max:function e(){return Math.max.apply(null,Ie(Oe))},min:function e(){return Math.min.apply(null,Ie(Oe))},rightMostElement:function e(){return _e("right",Me())},taggedElement:function e(){return Te("right","data-iframe-width")}};function Ne(e,i,n,o){function r(){h=d;C=m;Ae(h,C,e)}function a(){function e(e,t){var i=Math.abs(e-t)<=N;return!i}d=t===n?Se[w]():n;m=t===o?Oe[A]():o;return e(h,d)||f&&e(C,m)}function s(){return!(e in{init:1,interval:1,size:1})}function c(){return w in T||f&&A in T}function l(){Y("No change in size detected")}function u(){if(s()&&c()){je(i)}else if(!(e in{interval:1})){l()}}var d,m;if(a()||"init"===e){Fe();r()}else{u()}}var Re=G(Ne);function Ee(e,t,i,n){function o(){if(!(e in{reset:1,resetPage:1,init:1})){Y("Trigger event: "+t)}}function r(){return R&&e in l}if(r()){Y("Trigger event cancelled: "+e)}else{o();if(e==="init"){Ne(e,t,i,n)}else{Re(e,t,i,n)}}}function Fe(){if(!R){R=true;Y("Trigger event lock on")}clearTimeout(E);E=setTimeout((function(){R=false;Y("Trigger event lock off");Y("--")}),u)}function Ce(e){h=Se[w]();C=Oe[A]();Ae(h,C,e)}function je(e){var t=w;w=m;Y("Reset trigger event: "+e);Fe();Ce("reset");w=t}function Ae(e,i,n,o,r){function a(){if(t===r){r=O}else{Y("Message targetOrigin: "+r)}}function s(){var a=e+":"+i,s=I+":"+a+":"+n+(t===o?"":":"+o);Y("Sending message to host page ("+s+")");S.postMessage(x+s,r)}{a();s()}}function Pe(i){var n={init:function e(){g=i.data;S=i.source;K();d=false;setTimeout((function(){p=false}),u)},reset:function e(){if(p){Y("Page reset ignored by init")}else{Y("Page size reset by host page");Ce("resetPage")}},resize:function e(){Ee("resizeParent","Parent window requested size check")},moveToAnchor:function e(){v.findTarget(a())},inPageLink:function e(){this.moveToAnchor()},pageInfo:function e(){var t=a();Y("PageInfoFromParent called from parent: "+t);W(JSON.parse(t));Y(" --")},message:function e(){var t=a();Y("onMessage called from parent: "+t);D(JSON.parse(t));Y(" --")}};function o(){return x===(""+i.data).slice(0,_)}function r(){return i.data.split("]")[1].split(":")[0]}function a(){return i.data.slice(i.data.indexOf(":")+1)}function s(){return!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype}function c(){return i.data.split(":")[2]in{true:1,false:1}}function f(){var e=r();if(e in n){n[e]()}else if(!s()&&!c()){Z("Unexpected message ("+i.data+")")}}function l(){if(false===d){f()}else if(c()){n.init()}else{Y('Ignored message of type "'+r()+'". Received before initialization.')}}if(o()){l()}}function De(){if("loading"!==document.readyState){window.parent.postMessage("[iFrameResizerChild]Ready","*")}}if(!("iframeResizer"in window)){window.iframeChildListener=function(e){Pe({data:e,sameDomian:true})};U(window,"message",Pe);U(window,"readystatechange",De);De()}})()})(s);const c=a.exports;var f={iframeResize:c,iframeResizer:c,contentWindow:s.exports};const l='.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);left:var(--stzh-space-large);position:absolute;width:45%}@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)}}@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-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);padding-right:var(--stzh-space-medium);z-index:2;text-align:center;background-color:var(--stzh-color-black60op);color:var(--stzh-color-white)}@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)}}@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)}}@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);padding-bottom:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-medium)}@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)}}@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)}}@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}';const u=l;const d=console.log;console.log=function(){};console.log=d;const h="stzh-components-iframe-confirm";let m=0;const w=class{constructor(i){e(this,i);this.stzhPreviewSkip=t(this,"stzhPreviewSkip",7);this.stzhViewChange=t(this,"stzhViewChange",7);this._src=null;this.updateFocus=false;this.handleIframeLoad=()=>{if(this.updateFocus){this.iframeElement.focus();this.updateFocus=false}this.initializeIframeResizing()};this.handleCookiewallCloseClick=()=>{this.updateFocus=true;this.view="preview";this.stzhViewChange.emit({component:"stzh-iframe",value:this.view})};this.handleCookiewallConfirmClick=()=>{r.set(`${h}-${this.cookie}`,"1",{expires:this.cookieExpires||null});this.updateFocus=true;this.view="iframe";this.stzhViewChange.emit({component:"stzh-iframe",value:this.view})};this.handlePreviewClick=()=>{const e=r.get(`${h}-${this.cookie}`)||false;this.updateFocus=true;if(!this.cookie||e){this.view="iframe"}else{this.view="cookiewall"}this.stzhViewChange.emit({component:"stzh-iframe",value:this.view})};this.localization=undefined;this.iframeId=undefined;this.iframeErrorText=undefined;this.iframeResizerVariant="None";this.iframeResizerHeightCorrection=undefined;this.iframeResizerSecondlevelDomain=undefined;this.name=undefined;this.sandbox=undefined;this.referrerpolicy=undefined;this.allow="autoplay; fullscreen";this.width="100%";this.height="100%";this.src="";this.cookie=undefined;this.cookieExpires=365;this.cookieConfirmIcon=undefined;this.cookieConfirmLabel=undefined;this.cookieConfirmText=undefined;this.previewLabel=undefined;this.previewIcon="external-link";this.skipPreviewIfCookieAccepted=false;this.skipPreview=false;this.view="preview"}srcWatcher(e){if(this.view==="iframe"){this._src=e}}viewWatcher(e){if(e==="iframe"){this._src=this.src}else{this._src=null}}initializeIframeResizing(){switch(this.iframeResizerVariant){case"None":return;case"PostMessage":f.iframeResize({log:false,checkOrigin:false},this.iframeElement);break;case"SameSecondLevelDomain":console.warn("stzh-iframe: sameSecondLevelDomain is deprecated as it does no longer work on evergreen browsers, use PostMessage instead.");if(!this.iframeResizerSecondlevelDomain){console.log("stzh-iframe:","property 'iframeSecondlevelDomain' not filled out.")}this.setupIframeAutoSizing({frameId:this.iframeId,heightCorrection:this.iframeResizerHeightCorrection||0,hasSameDomain:false,secondLevelDomain:this.iframeResizerSecondlevelDomain});break}}setupIframeAutoSizing(e){const t=(e,t)=>()=>{var i;try{const n=((i=e.contentWindow)===null||i===void 0?void 0:i.document.body.scrollHeight)||0;if(n>0){e.style.height=`${n+t.heightCorrection}px`}}catch(e){console.warn("stzh-iframe:","Resizing not possible, perhaps due to cross-domain restrictions:",e)}};if(!e.hasSameDomain){document.domain=e.secondLevelDomain}const i=document.getElementById(e.frameId);if(!i){console.error(`Iframe with ID ${e.frameId} not found`);return}const n=t(i,e);window.addEventListener("resize",n);i.addEventListener("load",n);i.addEventListener("blur",n);i.addEventListener("readystatechange",n);try{n()}catch(e){console.warn("Initial resize failed, likely due to iframe not being fully loaded yet:",e)}}async componentWillLoad(){this.internalId=`stzh-iframe-${m++}`;const e=r.get(`${h}-${this.cookie}`)||false;if((!this.cookie||e)&&(this.skipPreviewIfCookieAccepted||this.skipPreview)||!this.cookie&&this.skipPreview){this.stzhPreviewSkip.emit({component:"stzh-iframe"});this.view="iframe"}else if(this.cookie&&this.skipPreview){this.view="cookiewall"}this.viewWatcher(this.view);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"iframe")}}async componentDidRender(){if(this.updateFocus){if(this.view==="iframe");else if(this.view==="preview"){this.previewButtonElement.focus();this.updateFocus=false}else if(this.view==="cookiewall"){this.confirmButtonElement.focus();this.updateFocus=false}}}render(){const e={"stzh-iframe":true};return i(n,{key:"1fe69c3ed66fcf2df93b326c561a6028440692f8"},i("div",{key:"82c58641c4db576f6294f8393a986b943e772037",class:e},this.view==="iframe"&&i("iframe",{key:"034edfb3de8526aecade255a12d0bea73c9d7c71",id:this.iframeId,name:this.name,sandbox:this.sandbox,referrerPolicy:this.referrerpolicy,width:this.width,height:this.height,ref:e=>this.iframeElement=e,class:"stzh-iframe__iframe",src:this._src,allow:this.allow,onLoad:this.handleIframeLoad},this.iframeErrorText),i("button",{key:"241e3cf41fc8937e6552fbb11b9639f2bae81deb",ref:e=>this.previewButtonElement=e,onClick:this.handlePreviewClick,"aria-label":this.previewLabel||this.localization.defaultPreviewLabel,class:{"stzh-iframe__preview":true,"is-visible":this.view==="preview"||this.view==="cookiewall"}},i("div",{key:"59b04f8ea93e8c235d9bba0957d3a63e12a2c095",class:"stzh-iframe__preview-image-wrapper"},i("slot",{key:"ebc653577a767530f95f67cf0ba6bcf0dc051e9a",name:"preview-image"})),i("div",{key:"b1777308ade82ccbd82c870b8e15ceee41124e44",class:"stzh-iframe__preview-logo-wrapper"},i("slot",{key:"3fe5a67d48484ffecb7e59c46bdeb608130959fc",name:"preview-logo"})),this.previewIcon&&i("div",{key:"ad2566078d6d368c3c4d3a32ffe6fb8ce3a47f4c",class:{"stzh-iframe__preview-run":true,"is-visible":this.view==="preview"}},i("stzh-icon",{key:"f7229a598f04da50096adc3c88d4bef42d9e9e12",class:"stzh-iframe__preview-run-icon",name:this.previewIcon}))),this.cookie&&i("div",{key:"0c7901bee220013d19dd97b64c32df893bf5c5f1",class:{"stzh-iframe__cookiewall":true,"is-visible":this.view==="cookiewall"}},i("div",{key:"f4376e70c26584881df1a3258e4cd5a9da7c65c0",class:"stzh-iframe__cookiewall-content"},i("div",{key:"dae5a42169876ae0e176afbcc0d2f86a9f426667",class:"stzh-iframe__cookiewall-text",id:`${this.internalId}-cookiewall-text`},this.cookieConfirmText?this.cookieConfirmText:i("slot",{name:"cookiewall-text"})),i("stzh-button",{key:"3557ea0293bc76e09a944c46f09b59ee606cef02",ref:e=>this.confirmButtonElement=e,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&&i("button",{key:"0bc9209657a7e522ffcb263b179504197750cd31",class:"stzh-iframe__cookiewall-close",onClick:this.handleCookiewallCloseClick,"aria-label":this.localization.confirmCloseLabel},i("stzh-icon",{key:"3de9e76a87abfde642139fc941da28aee0f1d98f",class:"stzh-iframe__cookiewall-close-icon",name:"close"})))))}get element(){return o(this)}static get watchers(){return{src:["srcWatcher"],view:["viewWatcher"]}}};w.style=u;export{w as stzh_iframe};
2
+ //# sourceMappingURL=p-813d6494.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as e,h as t,a as n,g as s}from"./p-ef5985a3.js";import{s as i}from"./p-87c329f2.js";import"./p-dae15605.js";const a=".sc-stzh-eventinfo-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-eventinfo-h,[stzh-hidden].sc-stzh-eventinfo-h{display:none}.sc-stzh-eventinfo-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-eventinfo-h *.sc-stzh-eventinfo,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::before,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::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-eventinfo-h .has-focus.sc-stzh-eventinfo{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo{outline-style:none !important}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo::-moz-focus-inner{border:0 !important}.stzh-eventinfo.sc-stzh-eventinfo{display:flex}.stzh-eventinfo__left.sc-stzh-eventinfo{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex-shrink:0;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);padding-top:var(--stzh-space-small);width:4.5rem}@media screen and (min-width: 600px){.stzh-eventinfo__left.sc-stzh-eventinfo{width:5.5rem}}.stzh-eventinfo__main-event-day.sc-stzh-eventinfo{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-eventinfo__right.sc-stzh-eventinfo{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);flex-grow:1;color:var(--stzh-color-grey80);background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-small);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge)}}.stzh-eventinfo__head.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-eventinfo__head.sc-stzh-eventinfo{flex-direction:row;justify-content:space-between}}.stzh-eventinfo__main-date.sc-stzh-eventinfo{display:flex;column-gap:var(--stzh-space-medium);flex-wrap:wrap}.stzh-eventinfo__main-event-link.sc-stzh-eventinfo{flex-shrink:0}.stzh-eventinfo__text.sc-stzh-eventinfo{display:flex;flex-direction:column;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-large);margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details.sc-stzh-eventinfo{color:inherit}.stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:none}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:block}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-expand.sc-stzh-eventinfo{display:none}.stzh-eventinfo__month-list.sc-stzh-eventinfo,.stzh-eventinfo__event-list.sc-stzh-eventinfo{list-style:none;margin:0;padding:0}.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:grid;column-gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{grid-template-columns:minmax(0, 1fr) auto}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{column-gap:var(--stzh-space-xxlarge);grid-template-columns:minmax(6.25rem, auto) minmax(11.25rem, auto) minmax(0, 1fr) auto}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxlarge)}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-time.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-link.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:0px}.stzh-eventinfo__heading.sc-stzh-eventinfo{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);margin-bottom:var(--stzh-space-xxsmall);margin-top:0;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/3}}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/5}}.stzh-eventinfo__event-list.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__event-list-item.sc-stzh-eventinfo{display:contents}@media screen and (min-width: 900px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:grid}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:contents}}.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:contents}}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo{min-width:5.625rem}}";const h=a;const o=class{constructor(t){e(this,t);this._items=[];this._itemsGroupedByMonth=[];this.init=()=>{const e=this.element.querySelectorAll('stzh-text[slot="location"], [slot="location"] stzh-text');const t=this.element.querySelectorAll('stzh-text[slot="additional-info"], [slot="additional-info"] stzh-text');e.forEach((e=>{i(e,{color:"inherit",curve:"none"})}));t.forEach((e=>{i(e,{color:"inherit",curve:"none"})}))};this.localization=undefined;this.monthHeadingLevel="4";this.start=undefined;this.end=undefined;this.calendarUrl=undefined;this.calendarLabel=undefined;this.itemsSortDirection="descending";this.items=undefined;this.dateAdapter=undefined}itemsWatcher(){if(!this.dateAdapter){return}const e=typeof this.items==="string"?JSON.parse(this.items):this.items;if(!e){return}const t=this.itemsSortDirection==="ascending";this._items=e.map((e=>Object.assign(Object.assign({},e),{start:e.start?new Date(e.start):undefined,end:e.end?new Date(e.end):undefined}))).sort(((e,n)=>{try{const s=e.start.getTime()-n.start.getTime();return t?s:-s}catch(e){return 1}}));const n=this._items.reduce(((e,n)=>{const s=(n.start.getMonth()+1).toString().padStart(2,"0");const i=`${n.start.getFullYear()}-${s}`;if(!e[i]){e[i]={name:this.localization.$globals.monthNames[n.start.getMonth()]+" "+n.start.getFullYear(),events:[]}}e[i].events.push(n);e[i].events.sort(((e,n)=>{const s=e.start.getTime()-n.start.getTime();return t?s:-s}));return e}),{});this._itemsGroupedByMonth=Object.values(n)}hasProperStartAndOrEndDate(e,t){return!(!!e&&e.getHours()===0&&!t)}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"eventinfo")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}this.itemsWatcher()}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const e={"stzh-eventinfo":true};const s=this.start&&new Date(this.start);const i=this.end&&new Date(this.end);const a=`h${this.monthHeadingLevel}`;return t(n,{key:"82bda2a0763e141162b814fbbb79118bac1e64dd"},t("div",{key:"572cb08bc805e2358c5c9f91c864297662f401d6",class:e},t("div",{key:"9a8761e876ac56b91a7982a600c969c848b1ef77",class:"stzh-eventinfo__left"},t("div",{key:"2cc2f87e763206a8fd3b62a9c9e62a653fdfdcf1",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("div",{key:"eeba6906100f4c517d84e89eb1c74f4895c86c4a",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("div",{key:"8acffdcb6c6ace2f7ce0c9c10281d92dae9148e0",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"6abaf07acb610a15fd6cf906adeed9ca341cf753",class:"stzh-eventinfo__right"},t("div",{key:"5b8cc4a44cebc9982bfec745c3e900e9fdb93795"},t("div",{key:"5b039ffae534fa493a185e601d030bcc5b700788",class:"stzh-eventinfo__head"},t("div",{key:"59f0c8b4d549fff00949f2128cd66640d79283b4",class:"stzh-eventinfo__main-date"},t("span",{key:"ece12cb7af54075b7cc39e7ba08861697c72dddd"},this.localization.$globals.dayNames[s.getDay()]),t("span",{key:"7623b4ac184faa43e4bee6ebdc924bb17fdbc416"},this.dateAdapter.format(s,"date")),this.hasProperStartAndOrEndDate(s,i)&&t("span",{key:"ca0746ceeadcc8cc443f40de0e7aab9fe74f073b"},this.dateAdapter.formatSpan(s,i,"time"))),this.calendarUrl&&t("div",{key:"c7799622bbde73631618651eb3838e9f8e3a4f5c",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"ebf56e96788ecfd86d4601870b74f66485d55d38",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"bf2b28cd5b6be79142d5370d00ec50c2caccc81e",class:"stzh-eventinfo__text"},t("div",{key:"a455d25ecc8c272fc35ab170229dc277aaccf70a",class:"stzh-eventinfo__location"},t("slot",{key:"09c1ad33b9ef9829c6a3a68f9be202f3b4c0a16e",name:"location"})),t("div",{key:"f5210891a7c420582f8362b0137c956fadce42c4",class:"stzh-eventinfo__additional-info"},t("slot",{key:"b7aa8669b9f0c568eb57a91525274f2f989664c5",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"9e7d0b771900f6ed840b27f559a7b7c431e0239f",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"a54fc00f9e00b23c9d8002667c6f4701877fcef2",class:"stzh-eventinfo__details"},t("stzh-link",{key:"5e11a21a53f60dbce4c9421ae2bf561ab39a3129",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"df34267f5e0b57c7f47cc9d7f39ab308f13abfbe",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"3026ac1fa50c75e56f4b0a5470209a59f8b6a111",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"854dcc887188e193d587f81b5de31c0f61b9747f",slot:"content",class:"stzh-eventinfo__month-list"},this._itemsGroupedByMonth.map((e=>t("li",{class:"stzh-eventinfo__month-list-item"},t(a,{class:"stzh-eventinfo__heading"},e.name),e.events.length>0&&t("ul",{class:"stzh-eventinfo__event-list"},e.events.map((e=>t("li",{class:"stzh-eventinfo__event-list-item"},t("span",{class:"stzh-eventinfo__event-datetime-wrapper"},t("span",{class:"stzh-eventinfo__event-date-wrapper"},t("span",{class:"stzh-eventinfo__event-weekday"},this.localization.$globals.dayNames[e.start.getDay()]),t("span",{class:"stzh-eventinfo__event-date"},this.dateAdapter.format(e.start,"date"))),t("span",{class:"stzh-eventinfo__event-time"},this.hasProperStartAndOrEndDate(e.start,e.end)&&this.dateAdapter.formatSpan(e.start,e.end,"time"))),t("span",{class:"stzh-eventinfo__event-link"},e.calendarUrl&&t("stzh-link",{href:e.calendarUrl,label:e.calendarLabel||this.localization.addToCalendar})))))))))))))))}get element(){return s(this)}static get watchers(){return{items:["itemsWatcher"],dateAdapter:["itemsWatcher"]}}};o.style=h;export{o as stzh_eventinfo};
2
- //# sourceMappingURL=p-1617973f.entry.js.map
1
+ import{r as e,h as t,a as n,g as s}from"./p-ef5985a3.js";import{s as i}from"./p-87c329f2.js";import"./p-dae15605.js";const a=".sc-stzh-eventinfo-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-eventinfo-h,[stzh-hidden].sc-stzh-eventinfo-h{display:none}.sc-stzh-eventinfo-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-eventinfo-h *.sc-stzh-eventinfo,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::before,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::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-eventinfo-h .has-focus.sc-stzh-eventinfo{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo{outline-style:none !important}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo::-moz-focus-inner{border:0 !important}.stzh-eventinfo.sc-stzh-eventinfo{display:flex}.stzh-eventinfo__left.sc-stzh-eventinfo{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex-shrink:0;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);padding-top:var(--stzh-space-small);width:4.5rem}@media screen and (min-width: 600px){.stzh-eventinfo__left.sc-stzh-eventinfo{width:5.5rem}}.stzh-eventinfo__main-event-day.sc-stzh-eventinfo{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-eventinfo__right.sc-stzh-eventinfo{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);flex-grow:1;color:var(--stzh-color-grey80);background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-small);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge)}}.stzh-eventinfo__head.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-eventinfo__head.sc-stzh-eventinfo{flex-direction:row;justify-content:space-between}}.stzh-eventinfo__main-date.sc-stzh-eventinfo{display:flex;column-gap:var(--stzh-space-medium);flex-wrap:wrap}.stzh-eventinfo__main-event-link.sc-stzh-eventinfo{flex-shrink:0}.stzh-eventinfo__text.sc-stzh-eventinfo{display:flex;flex-direction:column;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-large);margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details.sc-stzh-eventinfo{color:inherit}.stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:none}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:block}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-expand.sc-stzh-eventinfo{display:none}.stzh-eventinfo__month-list.sc-stzh-eventinfo,.stzh-eventinfo__event-list.sc-stzh-eventinfo{list-style:none;margin:0;padding:0}.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:grid;column-gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{grid-template-columns:minmax(0, 1fr) auto}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{column-gap:var(--stzh-space-xxlarge);grid-template-columns:minmax(6.25rem, auto) minmax(11.25rem, auto) minmax(0, 1fr) auto}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxlarge)}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-time.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-link.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:0px}.stzh-eventinfo__heading.sc-stzh-eventinfo{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);margin-bottom:var(--stzh-space-xxsmall);margin-top:0;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/3}}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/5}}.stzh-eventinfo__event-list.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__event-list-item.sc-stzh-eventinfo{display:contents}@media screen and (min-width: 900px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:grid}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:contents}}.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:contents}}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo{min-width:5.625rem}}";const h=a;const o=class{constructor(t){e(this,t);this._items=[];this._itemsGroupedByMonth=[];this.init=()=>{const e=this.element.querySelectorAll('stzh-text[slot="location"], [slot="location"] stzh-text');const t=this.element.querySelectorAll('stzh-text[slot="additional-info"], [slot="additional-info"] stzh-text');e.forEach((e=>{i(e,{color:"inherit",curve:"none"})}));t.forEach((e=>{i(e,{color:"inherit",curve:"none"})}))};this.localization=undefined;this.monthHeadingLevel="4";this.start=undefined;this.end=undefined;this.calendarUrl=undefined;this.calendarLabel=undefined;this.itemsSortDirection="descending";this.items=undefined;this.dateAdapter=undefined}itemsWatcher(){if(!this.dateAdapter){return}const e=typeof this.items==="string"?JSON.parse(this.items):this.items;if(!e){return}const t=this.itemsSortDirection==="ascending";this._items=e.map((e=>Object.assign(Object.assign({},e),{start:e.start?new Date(e.start):undefined,end:e.end?new Date(e.end):undefined}))).sort(((e,n)=>{try{const s=e.start.getTime()-n.start.getTime();return t?s:-s}catch(e){return 1}}));const n=this._items.reduce(((e,n)=>{const s=(n.start.getMonth()+1).toString().padStart(2,"0");const i=`${n.start.getFullYear()}-${s}`;if(!e[i]){e[i]={name:this.localization.$globals.monthNames[n.start.getMonth()]+" "+n.start.getFullYear(),events:[]}}e[i].events.push(n);e[i].events.sort(((e,n)=>{const s=e.start.getTime()-n.start.getTime();return t?s:-s}));return e}),{});this._itemsGroupedByMonth=Object.values(n)}hasProperStartAndOrEndDate(e,t){return!(!!e&&e.getHours()===0&&!t)}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"eventinfo")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}this.itemsWatcher()}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const e={"stzh-eventinfo":true};const s=this.start&&new Date(this.start);const i=this.end&&new Date(this.end);const a=`h${this.monthHeadingLevel}`;return t(n,{key:"a32b2da85e14793a8ac42c567645adc05c313bab"},t("div",{key:"48cc5310cf1598a67c8f90101a3385733746e2db",class:e},t("div",{key:"3f9d2bbbb5583970b61f7449b62ae042ea3570b0",class:"stzh-eventinfo__left"},t("div",{key:"0b3fb0501e18c49fa5a1c2308702eb147d5e4a5b",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("div",{key:"8afc863522eb10fa093af0d055a3ea8147501e0f",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("div",{key:"6f86a442aeed256785370d311679cc98c30c2941",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"fefcbbe7a4af3ebe5aac7a617d0a8bb663c0ccd9",class:"stzh-eventinfo__right"},t("div",{key:"22dcc1dc67cf433a2d640da59b1ff5408f9fad6d"},t("div",{key:"b9d985bfd80c8a6e887e14c83ebff954247eedc5",class:"stzh-eventinfo__head"},t("div",{key:"a7508eee252429cfbe93d40694f3b8567a1401c2",class:"stzh-eventinfo__main-date"},t("span",{key:"f991e18a6599386fe43f5791c2038ff1162684d9"},this.localization.$globals.dayNames[s.getDay()]),t("span",{key:"065ac0293daa18cd5b7a3ee9807eaf02d4b990b8"},this.dateAdapter.format(s,"date")),this.hasProperStartAndOrEndDate(s,i)&&t("span",{key:"55295c97325e5d13b0f01eee74494535af6ee593"},this.dateAdapter.formatSpan(s,i,"time"))),this.calendarUrl&&t("div",{key:"881676c7dc6218179ea3996d30cdef1cdb6ef7be",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"a80155da73482384b9f4c05894138a6383ae45d8",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"282cc40a84dd930b7f8446ab827cbe8dfc177709",class:"stzh-eventinfo__text"},t("div",{key:"8baab4eef1ec47439d87b3e154529095a21fa701",class:"stzh-eventinfo__location"},t("slot",{key:"d7e634cbf9a888cd33d6ecc8ac7bafb6cb34dc76",name:"location"})),t("div",{key:"f4368603e5f219bc3f72d3f87c07e6eb415cf260",class:"stzh-eventinfo__additional-info"},t("slot",{key:"a6678b84acfd6624bc45e0777fb667336664d871",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"29b2d0f60427580fcd6f13086ce0f9b4d045d502",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"bdd6ce10dca3c1402602bb270802c83b1fdd6a77",class:"stzh-eventinfo__details"},t("stzh-link",{key:"8eaf24796204da113e868e0132091b847f5440a2",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"ba9bbedf658ddcf677c8e867f1e441bca73617bf",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"6f7ab80440f0f36104d8ca53c384662f25ae3207",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"c45b051dacc402be5977d935337624f9b4de9d36",slot:"content",class:"stzh-eventinfo__month-list"},this._itemsGroupedByMonth.map((e=>t("li",{class:"stzh-eventinfo__month-list-item"},t(a,{class:"stzh-eventinfo__heading"},e.name),e.events.length>0&&t("ul",{class:"stzh-eventinfo__event-list"},e.events.map((e=>t("li",{class:"stzh-eventinfo__event-list-item"},t("span",{class:"stzh-eventinfo__event-datetime-wrapper"},t("span",{class:"stzh-eventinfo__event-date-wrapper"},t("span",{class:"stzh-eventinfo__event-weekday"},this.localization.$globals.dayNames[e.start.getDay()]),t("span",{class:"stzh-eventinfo__event-date"},this.dateAdapter.format(e.start,"date"))),t("span",{class:"stzh-eventinfo__event-time"},this.hasProperStartAndOrEndDate(e.start,e.end)&&this.dateAdapter.formatSpan(e.start,e.end,"time"))),t("span",{class:"stzh-eventinfo__event-link"},e.calendarUrl&&t("stzh-link",{href:e.calendarUrl,label:e.calendarLabel||this.localization.addToCalendar})))))))))))))))}get element(){return s(this)}static get watchers(){return{items:["itemsWatcher"],dateAdapter:["itemsWatcher"]}}};o.style=h;export{o as stzh_eventinfo};
2
+ //# sourceMappingURL=p-8b77de57.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as a,a as s,g as o}from"./p-ef5985a3.js";const e=".sc-stzh-loadingbar-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-loadingbar-h,[stzh-hidden].sc-stzh-loadingbar-h{display:none}.sc-stzh-loadingbar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-loadingbar-h *.sc-stzh-loadingbar,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::before,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::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-loadingbar-h .has-focus.sc-stzh-loadingbar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-loadingbar-h .stzh-fylingfocus-focused.sc-stzh-loadingbar{outline-style:none !important}.sc-stzh-loadingbar-h .stzh-fylingfocus-focused.sc-stzh-loadingbar::-moz-focus-inner{border:0 !important}.sc-stzh-loadingbar-h{--color:var(--stzh-base-color);--bar-color:var(--stzh-color-secondary40);--bar-background-color:var(--stzh-color-black20op)}.stzh-loadingbar.sc-stzh-loadingbar{min-width:10rem}.stzh-loadingbar__bar.sc-stzh-loadingbar{display:block;height:0.375rem;background-color:var(--bar-background-color)}.stzh-loadingbar__bar-inner.sc-stzh-loadingbar{display:block;height:100%;width:0;background:var(--bar-color)}.stzh-loadingbar__text.sc-stzh-loadingbar{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);display:flex;justify-content:space-between;align-items:center;color:var(--color);margin-bottom:var(--stzh-space-xxsmall)}.stzh-loadingbar__percent.sc-stzh-loadingbar{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}";const r=e;const i=class{constructor(a){t(this,a);this.percent=0;this.hidePercent=false;this.label=""}render(){const t={"stzh-loadingbar":true};return a(s,{key:"9fb83f0f84b7e1122988fc7162c2584032b49a5e"},a("div",{key:"cd8277406c62d6b826a8f41bf715baac63112d53",class:t},a("div",{key:"601f773df756d7417af0754f789a1f61c4e72459",class:"stzh-loadingbar__text"},this.label&&a("div",{key:"a5f79009f2ba53f2f37a615904e9555318f78eb6",class:"stzh-loadingbar__label"},this.label),!this.hidePercent&&a("div",{key:"dfc1528fc85ab9f2af4400ab642dee701b49e94a",class:"stzh-loadingbar__percent"},this.percent,"%")),a("div",{key:"0b2bc12a02edafb60196fb54751ea7cad393fb9e",class:"stzh-loadingbar__bar"},a("div",{key:"85b2417ce3f93ddde727d6dd10d76d9dc12fa953",class:"stzh-loadingbar__bar-inner",style:{width:`${this.percent}%`}}))))}get element(){return o(this)}};i.style=r;export{i as stzh_loadingbar};
2
- //# sourceMappingURL=p-4f3149ca.entry.js.map
1
+ import{r as t,h as a,a as s,g as o}from"./p-ef5985a3.js";const e=".sc-stzh-loadingbar-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-loadingbar-h,[stzh-hidden].sc-stzh-loadingbar-h{display:none}.sc-stzh-loadingbar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-loadingbar-h *.sc-stzh-loadingbar,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::before,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::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-loadingbar-h .has-focus.sc-stzh-loadingbar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-loadingbar-h .stzh-fylingfocus-focused.sc-stzh-loadingbar{outline-style:none !important}.sc-stzh-loadingbar-h .stzh-fylingfocus-focused.sc-stzh-loadingbar::-moz-focus-inner{border:0 !important}.sc-stzh-loadingbar-h{--color:var(--stzh-base-color);--bar-color:var(--stzh-color-secondary40);--bar-background-color:var(--stzh-color-black20op)}.stzh-loadingbar.sc-stzh-loadingbar{min-width:10rem}.stzh-loadingbar__bar.sc-stzh-loadingbar{display:block;height:0.375rem;background-color:var(--bar-background-color)}.stzh-loadingbar__bar-inner.sc-stzh-loadingbar{display:block;height:100%;width:0;background:var(--bar-color)}.stzh-loadingbar__text.sc-stzh-loadingbar{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);display:flex;justify-content:space-between;align-items:center;color:var(--color);margin-bottom:var(--stzh-space-xxsmall)}.stzh-loadingbar__percent.sc-stzh-loadingbar{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}";const r=e;const i=class{constructor(a){t(this,a);this.percent=0;this.hidePercent=false;this.label=""}render(){const t={"stzh-loadingbar":true};return a(s,{key:"ed4956c9a2ae711a12710a21f19306cf485d8d50"},a("div",{key:"ebd67851067e5d41f0e83c8e7221355e216c694d",class:t},a("div",{key:"7e8f68775cc31d08e1ecb1244956bf02a84c48e4",class:"stzh-loadingbar__text"},this.label&&a("div",{key:"9d790b8a910282a63a7f9ab4556ab8aedb0d54fc",class:"stzh-loadingbar__label"},this.label),!this.hidePercent&&a("div",{key:"7f9b092e2cc8b3c805a7717613d33757ac412aec",class:"stzh-loadingbar__percent"},this.percent,"%")),a("div",{key:"7ca34b3a37c612b0ae7501e7230cb942dd85c5af",class:"stzh-loadingbar__bar"},a("div",{key:"d18c720f1849f103422221f2e1d3a4048050da76",class:"stzh-loadingbar__bar-inner",style:{width:`${this.percent}%`}}))))}get element(){return o(this)}};i.style=r;export{i as stzh_loadingbar};
2
+ //# sourceMappingURL=p-8f72e5ce.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as i,a as o,g as h}from"./p-ef5985a3.js";import{h as n}from"./p-87c329f2.js";import{S as r}from"./p-9531514f.js";import"./p-dae15605.js";const e=".sc-stzh-input-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-input-h,[stzh-hidden].sc-stzh-input-h{display:none}.sc-stzh-input-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::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-input-h .has-focus.sc-stzh-input{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input{outline-style:none !important}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input::-moz-focus-inner{border:0 !important}.sc-stzh-input-h{--text-align:left;--color:var(--stzh-input-color, var(--stzh-color-secondary60));--border-color:var(--stzh-color-grey70);--border-radius:var(--stzh-form-input-border-radius);--background-color:var(--stzh-color-white);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--height:var(--stzh-form-input-height);--input-width:100%;--label-color:var(--stzh-input-label-color, var(--stzh-color-primary));--placeholder-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey80);--hover-color:var(--stzh-input-hover-color, var(--stzh-color-secondary60));--hover-border-color:var(\n --stzh-input-hover-border-color,\n var(--stzh-color-secondary50)\n );--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-primary70);--focus-color:var(--stzh-color-black);--focus-border-color:var(--stzh-color-secondary50);--focus-background-color:var(--stzh-color-secondary20);--focus-button-right-color:var(--stzh-color-primary70);--text-selection-background-color:var(--stzh-color-secondary30);width:100%}[type=hidden].sc-stzh-input-h{position:absolute;top:-624.9375rem;left:-624.9375rem;visibility:hidden}[size=small].sc-stzh-input-h{--height:var(--stzh-form-input-small-height)}[is-filled].sc-stzh-input-h:not([is-filled=false]){--button-right-color:var(--stzh-color-primary70);--hover-button-right-color:var(--stzh-color-primary70);--focus-button-right-color:var(--stzh-color-black)}[is-invalid].sc-stzh-input-h{--color:var(--stzh-color-error60);--border-color:var(--stzh-color-error60);--background-color:var(--stzh-color-white);--label-color:var(--stzh-color-error60);--placeholder-color:var(--stzh-color-error60);--button-right-color:var(--stzh-color-error60);--hover-color:var(--stzh-color-error60);--hover-border-color:var(--stzh-color-error60);--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-error60);--focus-color:var(--stzh-color-error60);--focus-border-color:var(--stzh-color-error60);--focus-background-color:var(--stzh-color-white);--focus-button-right-color:var(--stzh-color-error60)}[readonly].sc-stzh-input-h:not([readonly=false]),[disabled].sc-stzh-input-h:not([disabled=false]){--color:var(--stzh-color-grey70);--border-color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--label-color:var(--stzh-color-grey70);--placeholder-color:var(--stzh-color-grey70);--description-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey70);--hover-color:var(--stzh-color-grey70);--hover-border-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10);--hover-button-right-color:var(--stzh-color-grey70);--focus-color:var(--stzh-color-grey70);--focus-border-color:var(--stzh-color-grey70);--focus-background-color:var(--stzh-color-grey10);--focus-button-right-color:var(--stzh-color-grey70)}.sc-stzh-input-h:is(:has(.stzh-input__input:hover)){--button-right-color:var(--hover-button-right-color)}.sc-stzh-input-h:is(:has(.stzh-input__input:focus)){--button-right-color:var(--focus-button-right-color)}.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0px;right:0px}.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right] stzh-popover,.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-popover{display:block}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.stzh-input__button-right.sc-stzh-input,.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false]){--color:var(--button-right-color);--background-color:transparent;--border-color:transparent;--hover-color:var(--button-right-color);--hover-background-color:transparent;--hover-border-color:transparent}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.stzh-input__button-right[size=default][icon-only].sc-stzh-input:not([icon-only=false]){--icon-size:var(--stzh-icon-size-medium)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-input__marker-text.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input__description-wrapper.sc-stzh-input{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error60)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-input__description-long.sc-stzh-input{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-input__description-long.sc-stzh-input{margin-top:0}}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-button.sc-stzh-input{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxxsmall)}.stzh-input.sc-stzh-input .sc-stzh-input::selection{background:var(--text-selection-background-color)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:flex;width:var(--input-width)}.stzh-input__input.sc-stzh-input{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border:0.125rem solid var(--border-color);transition-property:color, border-color, background-color;transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--border-radius);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);margin:0;width:100%;color:var(--color);background-color:var(--background-color);appearance:none;text-align:var(--text-align)}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:hover{color:var(--hover-color);border-color:var(--hover-border-color);background-color:var(--hover-background-color)}.stzh-input__input.sc-stzh-input:focus{color:var(--focus-color);border-color:var(--focus-border-color);background-color:var(--focus-background-color)}.stzh-input__input.sc-stzh-input:-webkit-autofill{background-clip:text}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;color:var(--label-color);width:auto;max-width:100%;margin-bottom:var(--stzh-space-xxxsmall)}.stzh-input__label.no-label-truncate.sc-stzh-input{text-overflow:clip;white-space:normal;overflow:visible}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__marker.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-input--type-password.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-clearable.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:var(--height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{appearance:textfield}.stzh-input--has-label-hidden.sc-stzh-input .stzh-input__label.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}";const a=e;let c=0;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.stzhChanged=s(this,"stzhChanged",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.onClearClick=async t=>{this.value="";this.input.focus();await this.waitForNextRender();this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value});this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onTogglePasswordVisibilityClick=async()=>{this.showPassword=!this.showPassword};this.handleReset=async()=>{this.value=this.defaultValue;this.input.value=this.defaultValue};this.onInput=t=>{this.value=this.input.value;this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onChange=t=>{this.value=this.input.value;this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=t=>{this.input.value=this.input.value;const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.hideOptional=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.defaultValue="";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.noLabelTruncate=false;this.labelHidden=false;this.size="default";this.a11yDescribedby="";this.filled=undefined;this.showPassword=undefined}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}valueWatcher(t){this.filled=t!==""}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}typeWatcher(t){const s=["text","search","password","email","url","tel","number","hidden"];if(!this.multiline&&!s.includes(t)){throw new Error(`Type ${t} not supported`)}}waitForNextRender(){return new Promise((t=>this.renderPromiseResolve=t))}renderTextarea(){return i("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:t=>this.input=t,id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}renderInput(){return i("input",{class:"stzh-input__input stzh-input__input--input",ref:t=>this.input=t,id:this.inputId,type:this.showPassword?"text":this.type,name:this.name,value:this.value,defaultValue:this.defaultValue,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}componentDidRender(){if(this.renderPromiseResolve){this.renderPromiseResolve()}}async componentWillLoad(){this.inputId=`stzh-input-${c++}`;this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);this.defaultValue=this.defaultValue||this.value;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"input")}}render(){var t;const s=n(this.element,"button-right");const h=n(this.element,"description")||!!this.description;const e=n(this.element,"description-long")||!!this.descriptionLong;const a=n(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const c={"stzh-input":true,"stzh-input--has-button-right":s||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":h,"stzh-input--has-description-long":e,"stzh-input--has-error":a,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid||a,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-not-filled":!this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--is-not-clearable":!this.clearable,"stzh-input--has-label-hidden":this.labelHidden,[`stzh-input--size-${this.size}`]:!!this.size,[`stzh-input--type-${this.type}`]:!!this.type};return i(o,{key:"c8ff5c6cf276eb2d2d72c5c2bc294a9a77c0ec31","is-invalid":this.invalid||a,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus,"is-filled":this.filled},i("div",{key:"df948658df21c668ac305a01cdc55b8162a19aec",class:c},i("label",{key:"9de88ea9e9bf363595a393f80c642c95bb083b18",class:{"stzh-input__label":true,"no-label-truncate":this.noLabelTruncate},htmlFor:this.inputId},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"8a5b00a3a40572563c50e8151244ebaae7b69c4c",class:"stzh-input__marker"},i("span",{key:"47a7f9eaa1aeb7e3ca6e0998d4e2f87e6c5adc00",class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"4840d3301f83bfe247e7d4efb33aa5296c642e3d",class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"61add2f342230323672b9b4d47e851f4e2ed41c3",class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),this.clearable||this.type==="search"||this.type==="password"?(!this.clearable||this.disabled||this.readonly||!this.filled)&&(this.type==="search"||this.type==="password")?i("stzh-button",{class:"stzh-input__button-right",icon:this.type==="search"?"search":"view",size:this.size,iconOnly:true,onClick:this.onTogglePasswordVisibilityClick,disabled:this.disabled||this.readonly}):this.filled?i("stzh-button",{class:"stzh-input__button-right",icon:"close",size:this.size,iconOnly:true,onClick:this.onClearClick,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):i("slot",{name:"button-right"}):i("slot",{name:"button-right"})),(a||this.description)&&i(r,{key:"94fa5b40af158681ef33b435dec70eb6e667fe99",classPrefix:"stzh-input",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return h(this)}static get watchers(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}}};l.style=a;export{l as stzh_input};
2
- //# sourceMappingURL=p-12146af8.entry.js.map
1
+ import{r as t,c as s,h as i,a as o,g as h}from"./p-ef5985a3.js";import{h as n}from"./p-87c329f2.js";import{S as r}from"./p-9531514f.js";import"./p-dae15605.js";const e=".sc-stzh-input-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-input-h,[stzh-hidden].sc-stzh-input-h{display:none}.sc-stzh-input-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::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-input-h .has-focus.sc-stzh-input{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input{outline-style:none !important}.sc-stzh-input-h .stzh-fylingfocus-focused.sc-stzh-input::-moz-focus-inner{border:0 !important}.sc-stzh-input-h{--text-align:left;--color:var(--stzh-input-color, var(--stzh-color-secondary60));--border-color:var(--stzh-color-grey70);--border-radius:var(--stzh-form-input-border-radius);--background-color:var(--stzh-color-white);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-medium);--padding-right:var(--stzh-space-medium);--height:var(--stzh-form-input-height);--input-width:100%;--label-color:var(--stzh-input-label-color, var(--stzh-color-primary));--placeholder-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey80);--hover-color:var(--stzh-input-hover-color, var(--stzh-color-secondary60));--hover-border-color:var(\n --stzh-input-hover-border-color,\n var(--stzh-color-secondary50)\n );--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-primary70);--focus-color:var(--stzh-color-black);--focus-border-color:var(--stzh-color-secondary50);--focus-background-color:var(--stzh-color-secondary20);--focus-button-right-color:var(--stzh-color-primary70);--text-selection-background-color:var(--stzh-color-secondary30);width:100%}[type=hidden].sc-stzh-input-h{position:absolute;top:-624.9375rem;left:-624.9375rem;visibility:hidden}[size=small].sc-stzh-input-h{--height:var(--stzh-form-input-small-height)}[is-filled].sc-stzh-input-h:not([is-filled=false]){--button-right-color:var(--stzh-color-primary70);--hover-button-right-color:var(--stzh-color-primary70);--focus-button-right-color:var(--stzh-color-black)}[is-invalid].sc-stzh-input-h{--color:var(--stzh-color-error60);--border-color:var(--stzh-color-error60);--background-color:var(--stzh-color-white);--label-color:var(--stzh-color-error60);--placeholder-color:var(--stzh-color-error60);--button-right-color:var(--stzh-color-error60);--hover-color:var(--stzh-color-error60);--hover-border-color:var(--stzh-color-error60);--hover-background-color:var(--stzh-color-white);--hover-button-right-color:var(--stzh-color-error60);--focus-color:var(--stzh-color-error60);--focus-border-color:var(--stzh-color-error60);--focus-background-color:var(--stzh-color-white);--focus-button-right-color:var(--stzh-color-error60)}[readonly].sc-stzh-input-h:not([readonly=false]),[disabled].sc-stzh-input-h:not([disabled=false]){--color:var(--stzh-color-grey70);--border-color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--label-color:var(--stzh-color-grey70);--placeholder-color:var(--stzh-color-grey70);--description-color:var(--stzh-color-grey70);--button-right-color:var(--stzh-color-grey70);--hover-color:var(--stzh-color-grey70);--hover-border-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10);--hover-button-right-color:var(--stzh-color-grey70);--focus-color:var(--stzh-color-grey70);--focus-border-color:var(--stzh-color-grey70);--focus-background-color:var(--stzh-color-grey10);--focus-button-right-color:var(--stzh-color-grey70)}.sc-stzh-input-h:is(:has(.stzh-input__input:hover)){--button-right-color:var(--hover-button-right-color)}.sc-stzh-input-h:is(:has(.stzh-input__input:focus)){--button-right-color:var(--focus-button-right-color)}.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0px;right:0px}.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>[slot=button-right] stzh-popover,.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-popover{display:block}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[disabled]:not([disabled=false]),.stzh-input__button-right.sc-stzh-input,.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false]){--color:var(--button-right-color);--background-color:transparent;--border-color:transparent;--hover-color:var(--button-right-color);--hover-background-color:transparent;--hover-border-color:transparent}.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][size=default][icon-only]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right],.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-popover[slot=button-right] .stzh-popover__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button,.sc-stzh-input-h.sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.sc-stzh-input-h .sc-stzh-input-s>stzh-tooltip[slot=button-right] .stzh-tooltip__trigger stzh-button[icon-only][size=default]:not([icon-only=false]),.stzh-input__button-right[size=default][icon-only].sc-stzh-input:not([icon-only=false]){--icon-size:var(--stzh-icon-size-medium)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-input__marker-text.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input__description-wrapper.sc-stzh-input{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error60)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-input__description-long.sc-stzh-input{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-input__description-long.sc-stzh-input{margin-top:0}}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-button.sc-stzh-input{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxxsmall)}.stzh-input.sc-stzh-input .sc-stzh-input::selection{background:var(--text-selection-background-color)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:flex;width:var(--input-width)}.stzh-input__input.sc-stzh-input{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border:0.125rem solid var(--border-color);transition-property:color, border-color, background-color;transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--border-radius);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);margin:0;width:100%;color:var(--color);background-color:var(--background-color);appearance:none;text-align:var(--text-align)}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-input__input.sc-stzh-input:hover{color:var(--hover-color);border-color:var(--hover-border-color);background-color:var(--hover-background-color)}.stzh-input__input.sc-stzh-input:focus{color:var(--focus-color);border-color:var(--focus-border-color);background-color:var(--focus-background-color)}.stzh-input__input.sc-stzh-input:-webkit-autofill{background-clip:text}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;color:var(--label-color);width:auto;max-width:100%;margin-bottom:var(--stzh-space-xxxsmall)}.stzh-input__label.no-label-truncate.sc-stzh-input{text-overflow:clip;white-space:normal;overflow:visible}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__marker.sc-stzh-input{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-input--type-password.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-password.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-clearable.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-not-filled.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:var(--height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{appearance:textfield}.stzh-input--has-label-hidden.sc-stzh-input .stzh-input__label.sc-stzh-input{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}";const a=e;let c=0;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this.stzhChanged=s(this,"stzhChanged",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.onClearClick=async t=>{this.value="";this.input.focus();await this.waitForNextRender();this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value});this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onTogglePasswordVisibilityClick=async()=>{this.showPassword=!this.showPassword};this.handleReset=async()=>{this.value=this.defaultValue;this.input.value=this.defaultValue};this.onInput=t=>{this.value=this.input.value;this.stzhChange.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onChange=t=>{this.value=this.input.value;this.stzhChanged.emit({component:"stzh-input",originalEvent:t,value:this.value})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=t=>{this.input.value=this.input.value;const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.hideOptional=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.defaultValue="";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.noLabelTruncate=false;this.labelHidden=false;this.size="default";this.a11yDescribedby="";this.filled=undefined;this.showPassword=undefined}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}valueWatcher(t){this.filled=t!==""}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}typeWatcher(t){const s=["text","search","password","email","url","tel","number","hidden"];if(!this.multiline&&!s.includes(t)){throw new Error(`Type ${t} not supported`)}}waitForNextRender(){return new Promise((t=>this.renderPromiseResolve=t))}renderTextarea(){return i("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:t=>this.input=t,id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}renderInput(){return i("input",{class:"stzh-input__input stzh-input__input--input",ref:t=>this.input=t,id:this.inputId,type:this.showPassword?"text":this.type,name:this.name,value:this.value,defaultValue:this.defaultValue,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onChange:this.onChange,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})}componentDidRender(){if(this.renderPromiseResolve){this.renderPromiseResolve()}}async componentWillLoad(){this.inputId=`stzh-input-${c++}`;this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);this.defaultValue=this.defaultValue||this.value;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"input")}}render(){var t;const s=n(this.element,"button-right");const h=n(this.element,"description")||!!this.description;const e=n(this.element,"description-long")||!!this.descriptionLong;const a=n(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const c={"stzh-input":true,"stzh-input--has-button-right":s||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":h,"stzh-input--has-description-long":e,"stzh-input--has-error":a,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid||a,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-not-filled":!this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--is-not-clearable":!this.clearable,"stzh-input--has-label-hidden":this.labelHidden,[`stzh-input--size-${this.size}`]:!!this.size,[`stzh-input--type-${this.type}`]:!!this.type};return i(o,{key:"5d7bee8c302ef22395b9a644b26f7a3ba5373b50","is-invalid":this.invalid||a,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus,"is-filled":this.filled},i("div",{key:"4e09eeb25c42d00dad7ebbc6b19da028e38339b3",class:c},i("label",{key:"d3fddcd73dee0917802af5df4caa3b5ee3f4e346",class:{"stzh-input__label":true,"no-label-truncate":this.noLabelTruncate},htmlFor:this.inputId},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"68cfebd8ed934cc3db6f55c7b344191dd041900e",class:"stzh-input__marker"},i("span",{key:"3c18301715b2a99f72c26bc98ebe453e59716b33",class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"d8bfa06b895a15cc28dddbf4587d1b9499f480f5",class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"34582842d9d6c4ef3dcf959b2fd2ad92e03ef5c3",class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),this.clearable||this.type==="search"||this.type==="password"?(!this.clearable||this.disabled||this.readonly||!this.filled)&&(this.type==="search"||this.type==="password")?i("stzh-button",{class:"stzh-input__button-right",icon:this.type==="search"?"search":"view",size:this.size,iconOnly:true,onClick:this.onTogglePasswordVisibilityClick,disabled:this.disabled||this.readonly}):this.filled?i("stzh-button",{class:"stzh-input__button-right",icon:"close",size:this.size,iconOnly:true,onClick:this.onClearClick,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):i("slot",{name:"button-right"}):i("slot",{name:"button-right"})),(a||this.description)&&i(r,{key:"dad9f2a290640330ff80452901a73767a541e98a",classPrefix:"stzh-input",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return h(this)}static get watchers(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}}};l.style=a;export{l as stzh_input};
2
+ //# sourceMappingURL=p-9310dbb5.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as s,h as e,a as o,g}from"./p-ef5985a3.js";import{h as l}from"./p-87c329f2.js";import{S as h}from"./p-9531514f.js";import"./p-dae15605.js";const i=".sc-stzh-toggle-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-toggle-h,[stzh-hidden].sc-stzh-toggle-h{display:none}.sc-stzh-toggle-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::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-toggle-h .has-focus.sc-stzh-toggle{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-toggle-h .stzh-fylingfocus-focused.sc-stzh-toggle{outline-style:none !important}.sc-stzh-toggle-h .stzh-fylingfocus-focused.sc-stzh-toggle::-moz-focus-inner{border:0 !important}.sc-stzh-toggle-h{display:inline-block}[disabled].sc-stzh-toggle-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-toggle__marker-text.sc-stzh-toggle{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-toggle__description-wrapper.sc-stzh-toggle{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error60)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-toggle__description-long.sc-stzh-toggle{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-toggle__description-long.sc-stzh-toggle{margin-top:0}}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-button.sc-stzh-toggle{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{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);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black10op);width:2.75rem;height:1rem;flex-shrink:0;border-radius:0.75rem;display:inline-flex;justify-content:center;align-items:center;transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;transform:translate(0, -50%);transition-property:border-color, background-color, transform;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{--stzh-base-color:initial;display:inline-block;color:var(--stzh-base-color);transition:color var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__marker.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-old-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary);background-color:var(--stzh-color-primary);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover)}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover)}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error60)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error60)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black10op)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error60)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey70)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-old-grey13)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-grey10)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-old-grey25);border-color:var(--stzh-color-old-grey25)}";const r=i;let c=0;const a=class{constructor(e){t(this,e);this.stzhChange=s(this,"stzhChange",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})};this.localization=undefined;this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.defaultChecked=undefined;this.label="";this.labelPosition="right";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.a11yDescribedby=""}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-toggle-${c++}`;this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;this.errorWatcher(this.error);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"toggle")}}render(){var t;const s=l(this.element,"description")||!!this.description;const g=l(this.element,"description-long")||!!this.descriptionLong;const i=l(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const r={"stzh-toggle":true,"stzh-toggle--has-error":i,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid||i,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":s,"stzh-toggle--has-description-long":g,[`stzh-toggle--has-label-${this.labelPosition}`]:!!this.labelPosition};return e(o,{key:"2f52ff431d3962744d18c82bbc9b0de28babe4a8","is-invalid":this.invalid||i,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},e("div",{key:"cb4fc4b7c1bcde17fbdb6906010d3858908225ca",class:r},e("label",{key:"9e7c203c3a90a4d5f33e8dc8999e394b21de5664",class:"stzh-toggle__field-wrapper"},e("input",{key:"6cf92eb95c504b6dc9143dd87a935febed3b252f",class:"stzh-toggle__input",ref:t=>this.input=t,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{key:"8513a71a6f4b5de226dc9915942a78b2bee9c790",class:"stzh-toggle__mark"},e("div",{key:"ed61e3291d67724bc5df280ab8713a78c1bc60c6",class:"stzh-toggle__check"})),e("div",{key:"ad9a926d71e4d6ace096d4d1dc52153412b02634",class:"stzh-toggle__label"},this.label?this.label:e("slot",null),!this.hideOptional&&e("span",{key:"8ccc288f51b0aa45abbf113dca87605f24b02cc1",class:"stzh-toggle__marker"},e("span",{key:"749f6472a852e63f1e1b14d41151b75a99618a1e",class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{key:"b8ebf0df83f7a9efd5b78a1b5b8141d0d1d223ab",class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(h,{key:"8ab8236dd9b92b95ae185b339ea99b74bb7ef180",classPrefix:"stzh-toggle",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:g,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return g(this)}static get watchers(){return{error:["errorWatcher"]}}};a.style=r;export{a as stzh_toggle};
2
- //# sourceMappingURL=p-90d922fd.entry.js.map
1
+ import{r as t,c as s,h as e,a as o,g}from"./p-ef5985a3.js";import{h as l}from"./p-87c329f2.js";import{S as h}from"./p-9531514f.js";import"./p-dae15605.js";const i=".sc-stzh-toggle-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-toggle-h,[stzh-hidden].sc-stzh-toggle-h{display:none}.sc-stzh-toggle-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::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-toggle-h .has-focus.sc-stzh-toggle{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-toggle-h .stzh-fylingfocus-focused.sc-stzh-toggle{outline-style:none !important}.sc-stzh-toggle-h .stzh-fylingfocus-focused.sc-stzh-toggle::-moz-focus-inner{border:0 !important}.sc-stzh-toggle-h{display:inline-block}[disabled].sc-stzh-toggle-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-toggle__marker-text.sc-stzh-toggle{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-toggle__description-wrapper.sc-stzh-toggle{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error60)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-toggle__description-long.sc-stzh-toggle{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-toggle__description-long.sc-stzh-toggle{margin-top:0}}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-button.sc-stzh-toggle{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{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);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black10op);width:2.75rem;height:1rem;flex-shrink:0;border-radius:0.75rem;display:inline-flex;justify-content:center;align-items:center;transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;transform:translate(0, -50%);transition-property:border-color, background-color, transform;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{--stzh-base-color:initial;display:inline-block;color:var(--stzh-base-color);transition:color var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__marker.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-old-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary);background-color:var(--stzh-color-primary);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover)}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover)}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error60)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error60)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black10op)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error60)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey70)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-old-grey13)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-grey10)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-old-grey25);border-color:var(--stzh-color-old-grey25)}";const r=i;let c=0;const a=class{constructor(e){t(this,e);this.stzhChange=s(this,"stzhChange",7);this.stzhFocus=s(this,"stzhFocus",7);this.stzhBlur=s(this,"stzhBlur",7);this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})};this.localization=undefined;this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.defaultChecked=undefined;this.label="";this.labelPosition="right";this.description=undefined;this.descriptionLong=undefined;this.descriptionLongTitle=undefined;this.error=undefined;this.a11yDescribedby=""}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-toggle-${c++}`;this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;this.errorWatcher(this.error);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"toggle")}}render(){var t;const s=l(this.element,"description")||!!this.description;const g=l(this.element,"description-long")||!!this.descriptionLong;const i=l(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const r={"stzh-toggle":true,"stzh-toggle--has-error":i,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid||i,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":s,"stzh-toggle--has-description-long":g,[`stzh-toggle--has-label-${this.labelPosition}`]:!!this.labelPosition};return e(o,{key:"02aba039fd9a46d5f7e9cb43b8673333d7ae7efc","is-invalid":this.invalid||i,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},e("div",{key:"cfc4551a9add33319806508c9b8b0dfb485763e1",class:r},e("label",{key:"1d76ff3d2117adb9b2422921cde05be54a00b191",class:"stzh-toggle__field-wrapper"},e("input",{key:"6317c472b6ed2bb6c6438865b8715a448a4804c2",class:"stzh-toggle__input",ref:t=>this.input=t,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{key:"bef9647f0fe9f8e0f6967a9c30bb8894c81880d4",class:"stzh-toggle__mark"},e("div",{key:"d6b3731ea0dd47ade7f8309e9df2c9410724357e",class:"stzh-toggle__check"})),e("div",{key:"0b27999272485a2d5f972e6f86cc9d260c6fee15",class:"stzh-toggle__label"},this.label?this.label:e("slot",null),!this.hideOptional&&e("span",{key:"3de8807f4eb4d99ea35807ad5591c11ff87b21ca",class:"stzh-toggle__marker"},e("span",{key:"7ad87c23ad40f0d6d2440196be267d33b998d724",class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{key:"bb9de44b18c45ed9894b587f904897648bccc404",class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(h,{key:"818cf64c14ef4caa3ab19668a8922367d2b4202e",classPrefix:"stzh-toggle",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:g,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return g(this)}static get watchers(){return{error:["errorWatcher"]}}};a.style=r;export{a as stzh_toggle};
2
+ //# sourceMappingURL=p-9323a970.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as s,a as i,g as o}from"./p-ef5985a3.js";import{p as e}from"./p-2c0bec3e.js";const n='.sc-stzh-flyingfocus-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-flyingfocus-h,[stzh-hidden].sc-stzh-flyingfocus-h{display:none}.sc-stzh-flyingfocus-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::before,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::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-flyingfocus-h .has-focus.sc-stzh-flyingfocus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-flyingfocus-h .stzh-fylingfocus-focused.sc-stzh-flyingfocus{outline-style:none !important}.sc-stzh-flyingfocus-h .stzh-fylingfocus-focused.sc-stzh-flyingfocus::-moz-focus-inner{border:0 !important}.stzh-flyingfocus.sc-stzh-flyingfocus{border:0 solid currentColor;position:absolute;transform:translate(-50%, -50%);opacity:0;will-change:top, left, width, height;box-sizing:content-box;pointer-events:none;overflow:hidden;z-index:9999999999}@media print{.stzh-flyingfocus.sc-stzh-flyingfocus{display:none}}.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{transition-property:opacity, left, top, width, height, border-width, border-radius;transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;transition-timing-function:linear, ease, ease, ease, ease, ease, ease}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{transition:none}}.stzh-flyingfocus--is-enabled.stzh-flyingfocus--is-visible.sc-stzh-flyingfocus{opacity:1}.stzh-flyingfocus.sc-stzh-flyingfocus::after{content:"";background:currentColor;position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity 0.2s linear}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus.sc-stzh-flyingfocus::after{transition:none}}.stzh-flyingfocus--has-helper.sc-stzh-flyingfocus::after{transition-duration:0.1s;opacity:0.16}';const h=n;const c=400;const f=250;const r="has-focus";const l="stzh-fylingfocus-focused";const a="stzh-flyingfocus-enabled";const u=class{constructor(s){t(this,s);this.container=document.documentElement;this.previousTargetRect=null;this.repositionElement=()=>{if(!this.target){return}this.position=this.getFloaterPosition()};this.handleTransitionEnd=()=>{this.moving=false};this.monitorElementPosition=()=>{if(!this.target||!this.previousTargetRect||this.moving){return}const{left:t,top:s,width:i,height:o}=this.target.getBoundingClientRect();const{left:n,top:h,width:c,height:f}=this.previousTargetRect;if(t===n&&s===h&&i===c&&o===f){return}if(!e()){this.moving=true}this.repositionElement()};this.style=undefined;this.position=undefined;this.minimalEdgeSpace=2;this.enabled=false;this.visible=false;this.helper=false;this.moving=false}handleKeydown(t){if(t.keyCode!==9&&!(t.keyCode>36&&t.keyCode<41)){return}this.enableFloatingFocus()}handleMousedown(){this.disableFloatingFocus()}handleFocus(t){var s;const i=t.detail;let o=((s=i===null||i===void 0?void 0:i.originalEvent)===null||s===void 0?void 0:s.target)||t.target;if(t.type==="focus"){o=document.activeElement;while(o.shadowRoot&&o.shadowRoot.activeElement){o=o.shadowRoot.activeElement}}if(!this.container){return}if(o===this.element||!this.container.contains(document.activeElement)){this.handleBlur();return}this.visible=true;this.helper=true;if(!e()){this.moving=true}const n=o.getAttribute("focus-target");if(n){const t=o.getRootNode()||document;o=t.querySelector(`#${n}`)||o}this.target=o;this.target.classList.remove(l);this.target.classList.add(r);this.resolveTargetOutlineStyle();this.repositionElement();this.target.classList.add(l);clearTimeout(this.helperFadeTimeout);this.helperFadeTimeout=setTimeout((()=>this.helper=false),c)}handleBlur(){this.visible=false;this.helper=false;if(!e()){this.moving=false}if(this.target){this.target.classList.remove(l);this.target.classList.remove(r)}}handleScrollResize(){if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.repositionElement)}async reposition(){this.repositionElement()}getOffsetBorderRadius(t,s,i){t=parseFloat(t);s=parseFloat(s);i=parseFloat(i);if(t===0){return"0px"}s=Math.max(s,0);return`${t+i+s}px`}resolveTargetOutlineStyle(){const t=window.getComputedStyle(this.target);const s=t.outlineOffset||null;const i=t.outlineWidth||null;this.style={color:t.outlineColor,borderStyle:t.outlineStyle,borderWidth:i,borderBottomLeftRadius:this.getOffsetBorderRadius(t.borderBottomLeftRadius,s,i),borderBottomRightRadius:this.getOffsetBorderRadius(t.borderBottomRightRadius,s,i),borderTopLeftRadius:this.getOffsetBorderRadius(t.borderTopLeftRadius,s,i),borderTopRightRadius:this.getOffsetBorderRadius(t.borderTopRightRadius,s,i)}}getFloaterPosition(){const t=window.getComputedStyle(this.target);const s=parseFloat(t.outlineOffset||"0px");const i=parseFloat(this.style.borderWidth||"0px");const o=this.target.getBoundingClientRect();this.previousTargetRect=o;const e=window.innerWidth-document.documentElement.clientWidth;const n=window.innerHeight-document.documentElement.clientHeight;const h=o.left-i-this.minimalEdgeSpace;const c=window.innerWidth-e-(o.left+o.width)-i-this.minimalEdgeSpace;const f=o.top-i-this.minimalEdgeSpace;const r=window.innerHeight-n-(o.top+o.height)-i-this.minimalEdgeSpace;const l=h<s?h:s;const a=c<s?c:s;const u=f<s?f:s;const d=r<s?r:s;const g=o.width+l+a;const y=o.height+u+d;const z=window.scrollX+o.left-l+g/2;const p=window.scrollY+o.top-u+y/2;return{left:`${z}px`,top:`${p}px`,width:`${g}px`,height:`${y}px`}}enableFloatingFocus(){this.container.classList.add(a);this.enabled=true;clearInterval(this.monitorElementPositionInterval);this.monitorElementPositionInterval=setInterval(this.monitorElementPosition,f)}disableFloatingFocus(){this.container.classList.remove(a);this.enabled=false;clearInterval(this.monitorElementPositionInterval)}async activate(){this.enableFloatingFocus()}async deactivate(){this.disableFloatingFocus()}render(){const t={"stzh-flyingfocus":true,"stzh-flyingfocus--is-enabled":this.enabled,"stzh-flyingfocus--is-visible":this.visible,"stzh-flyingfocus--is-moving":this.moving,"stzh-flyingfocus--has-helper":this.helper};const o=Object.assign(Object.assign({},this.style||{}),this.position||{});return s(i,{key:"ae0657d6f9f952faccdbb63f24624f6d8ff809be"},s("div",{key:"b93bf5e66112c094eab5f67cb909d9f44fbb734e",class:t,style:o,onTransitionEnd:this.moving?this.handleTransitionEnd:null}))}get element(){return o(this)}};u.style=h;export{u as stzh_flyingfocus};
2
- //# sourceMappingURL=p-38104164.entry.js.map
1
+ import{r as t,h as s,a as i,g as o}from"./p-ef5985a3.js";import{p as e}from"./p-2c0bec3e.js";const n='.sc-stzh-flyingfocus-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-flyingfocus-h,[stzh-hidden].sc-stzh-flyingfocus-h{display:none}.sc-stzh-flyingfocus-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::before,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::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-flyingfocus-h .has-focus.sc-stzh-flyingfocus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-flyingfocus-h .stzh-fylingfocus-focused.sc-stzh-flyingfocus{outline-style:none !important}.sc-stzh-flyingfocus-h .stzh-fylingfocus-focused.sc-stzh-flyingfocus::-moz-focus-inner{border:0 !important}.stzh-flyingfocus.sc-stzh-flyingfocus{border:0 solid currentColor;position:absolute;transform:translate(-50%, -50%);opacity:0;will-change:top, left, width, height;box-sizing:content-box;pointer-events:none;overflow:hidden;z-index:9999999999}@media print{.stzh-flyingfocus.sc-stzh-flyingfocus{display:none}}.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{transition-property:opacity, left, top, width, height, border-width, border-radius;transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;transition-timing-function:linear, ease, ease, ease, ease, ease, ease}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{transition:none}}.stzh-flyingfocus--is-enabled.stzh-flyingfocus--is-visible.sc-stzh-flyingfocus{opacity:1}.stzh-flyingfocus.sc-stzh-flyingfocus::after{content:"";background:currentColor;position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity 0.2s linear}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus.sc-stzh-flyingfocus::after{transition:none}}.stzh-flyingfocus--has-helper.sc-stzh-flyingfocus::after{transition-duration:0.1s;opacity:0.16}';const h=n;const c=400;const f=250;const r="has-focus";const l="stzh-fylingfocus-focused";const a="stzh-flyingfocus-enabled";const u=class{constructor(s){t(this,s);this.container=document.documentElement;this.previousTargetRect=null;this.repositionElement=()=>{if(!this.target){return}this.position=this.getFloaterPosition()};this.handleTransitionEnd=()=>{this.moving=false};this.monitorElementPosition=()=>{if(!this.target||!this.previousTargetRect||this.moving){return}const{left:t,top:s,width:i,height:o}=this.target.getBoundingClientRect();const{left:n,top:h,width:c,height:f}=this.previousTargetRect;if(t===n&&s===h&&i===c&&o===f){return}if(!e()){this.moving=true}this.repositionElement()};this.style=undefined;this.position=undefined;this.minimalEdgeSpace=2;this.enabled=false;this.visible=false;this.helper=false;this.moving=false}handleKeydown(t){if(t.keyCode!==9&&!(t.keyCode>36&&t.keyCode<41)){return}this.enableFloatingFocus()}handleMousedown(){this.disableFloatingFocus()}handleFocus(t){var s;const i=t.detail;let o=((s=i===null||i===void 0?void 0:i.originalEvent)===null||s===void 0?void 0:s.target)||t.target;if(t.type==="focus"){o=document.activeElement;while(o.shadowRoot&&o.shadowRoot.activeElement){o=o.shadowRoot.activeElement}}if(!this.container){return}if(o===this.element||!this.container.contains(document.activeElement)){this.handleBlur();return}this.visible=true;this.helper=true;if(!e()){this.moving=true}const n=o.getAttribute("focus-target");if(n){const t=o.getRootNode()||document;o=t.querySelector(`#${n}`)||o}this.target=o;this.target.classList.remove(l);this.target.classList.add(r);this.resolveTargetOutlineStyle();this.repositionElement();this.target.classList.add(l);clearTimeout(this.helperFadeTimeout);this.helperFadeTimeout=setTimeout((()=>this.helper=false),c)}handleBlur(){this.visible=false;this.helper=false;if(!e()){this.moving=false}if(this.target){this.target.classList.remove(l);this.target.classList.remove(r)}}handleScrollResize(){if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.repositionElement)}async reposition(){this.repositionElement()}getOffsetBorderRadius(t,s,i){t=parseFloat(t);s=parseFloat(s);i=parseFloat(i);if(t===0){return"0px"}s=Math.max(s,0);return`${t+i+s}px`}resolveTargetOutlineStyle(){const t=window.getComputedStyle(this.target);const s=t.outlineOffset||null;const i=t.outlineWidth||null;this.style={color:t.outlineColor,borderStyle:t.outlineStyle,borderWidth:i,borderBottomLeftRadius:this.getOffsetBorderRadius(t.borderBottomLeftRadius,s,i),borderBottomRightRadius:this.getOffsetBorderRadius(t.borderBottomRightRadius,s,i),borderTopLeftRadius:this.getOffsetBorderRadius(t.borderTopLeftRadius,s,i),borderTopRightRadius:this.getOffsetBorderRadius(t.borderTopRightRadius,s,i)}}getFloaterPosition(){const t=window.getComputedStyle(this.target);const s=parseFloat(t.outlineOffset||"0px");const i=parseFloat(this.style.borderWidth||"0px");const o=this.target.getBoundingClientRect();this.previousTargetRect=o;const e=window.innerWidth-document.documentElement.clientWidth;const n=window.innerHeight-document.documentElement.clientHeight;const h=o.left-i-this.minimalEdgeSpace;const c=window.innerWidth-e-(o.left+o.width)-i-this.minimalEdgeSpace;const f=o.top-i-this.minimalEdgeSpace;const r=window.innerHeight-n-(o.top+o.height)-i-this.minimalEdgeSpace;const l=h<s?h:s;const a=c<s?c:s;const u=f<s?f:s;const d=r<s?r:s;const g=o.width+l+a;const y=o.height+u+d;const z=window.scrollX+o.left-l+g/2;const p=window.scrollY+o.top-u+y/2;return{left:`${z}px`,top:`${p}px`,width:`${g}px`,height:`${y}px`}}enableFloatingFocus(){this.container.classList.add(a);this.enabled=true;clearInterval(this.monitorElementPositionInterval);this.monitorElementPositionInterval=setInterval(this.monitorElementPosition,f)}disableFloatingFocus(){this.container.classList.remove(a);this.enabled=false;clearInterval(this.monitorElementPositionInterval)}async activate(){this.enableFloatingFocus()}async deactivate(){this.disableFloatingFocus()}render(){const t={"stzh-flyingfocus":true,"stzh-flyingfocus--is-enabled":this.enabled,"stzh-flyingfocus--is-visible":this.visible,"stzh-flyingfocus--is-moving":this.moving,"stzh-flyingfocus--has-helper":this.helper};const o=Object.assign(Object.assign({},this.style||{}),this.position||{});return s(i,{key:"c0180fc31d346b27c9b39b9b17ea8f6271472632"},s("div",{key:"6d87773369d0e86aaf356439332266b50d9eae3f",class:t,style:o,onTransitionEnd:this.moving?this.handleTransitionEnd:null}))}get element(){return o(this)}};u.style=h;export{u as stzh_flyingfocus};
2
+ //# sourceMappingURL=p-93a9a09c.entry.js.map