@oiz/stzh-components 3.0.0-beta5 → 3.0.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 (450) hide show
  1. package/dist/cjs/{app-globals-82cc9313.js → app-globals-1d1f8f2e.js} +2 -2
  2. package/dist/cjs/{app-globals-82cc9313.js.map → app-globals-1d1f8f2e.js.map} +1 -1
  3. package/dist/cjs/index-92254d32.js +16 -8
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-actions.cjs.entry.js +8 -2
  6. package/dist/cjs/stzh-actions.cjs.entry.js.map +1 -1
  7. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js.map +1 -1
  11. package/dist/cjs/stzh-card_3.cjs.entry.js +2 -0
  12. package/dist/cjs/stzh-card_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -2
  14. package/dist/cjs/stzh-carousel.cjs.entry.js.map +1 -1
  15. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-chart.cjs.entry.js.map +1 -1
  17. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +9 -10
  18. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js.map +1 -1
  19. package/dist/cjs/stzh-components.cjs.js +2 -2
  20. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-content.cjs.entry.js.map +1 -1
  22. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  24. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-cta.cjs.entry.js.map +1 -1
  26. package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  28. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +8 -10
  29. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  30. package/dist/cjs/stzh-details.cjs.entry.js +162 -0
  31. package/dist/cjs/stzh-details.cjs.entry.js.map +1 -0
  32. package/dist/cjs/stzh-eventdata.cjs.entry.js +26 -0
  33. package/dist/cjs/stzh-eventdata.cjs.entry.js.map +1 -0
  34. package/dist/cjs/stzh-eventinfo.cjs.entry.js +43 -4
  35. package/dist/cjs/stzh-eventinfo.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
  38. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-header.cjs.entry.js +0 -1
  41. package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
  42. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-imagecomparison.cjs.entry.js.map +1 -1
  44. package/dist/cjs/{stzh-details_2.cjs.entry.js → stzh-message.cjs.entry.js} +1 -155
  45. package/dist/cjs/stzh-message.cjs.entry.js.map +1 -0
  46. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +18 -2
  47. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js.map +1 -1
  48. package/dist/cjs/stzh-pagebottom.cjs.entry.js.map +1 -1
  49. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -1
  50. package/dist/cjs/stzh-pagetitle.cjs.entry.js.map +1 -1
  51. package/dist/cjs/stzh-popover_2.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-popover_2.cjs.entry.js.map +1 -1
  53. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-readspeaker.cjs.entry.js.map +1 -1
  55. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-search.cjs.entry.js.map +1 -1
  57. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  59. package/dist/cjs/stzh-textandimage.cjs.entry.js +3 -2
  60. package/dist/cjs/stzh-textandimage.cjs.entry.js.map +1 -1
  61. package/dist/collection/assets/i18n/de.json +3 -1
  62. package/dist/collection/assets/i18n/en.json +3 -1
  63. package/dist/collection/collection-manifest.json +1 -0
  64. package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -3
  65. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -3
  66. package/dist/collection/components/stzh-actions/stzh-actions.css +27 -7
  67. package/dist/collection/components/stzh-actions/stzh-actions.js +8 -1
  68. package/dist/collection/components/stzh-actions/stzh-actions.js.map +1 -1
  69. package/dist/collection/components/stzh-actions/stzh-actions.stories.js +2 -2
  70. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -3
  71. package/dist/collection/components/stzh-amount/stzh-amount.css +3 -3
  72. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
  73. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -3
  74. package/dist/collection/components/stzh-archivelist/stzh-archivelist.css +3 -3
  75. package/dist/collection/components/stzh-audio/stzh-audio.css +3 -3
  76. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -3
  77. package/dist/collection/components/stzh-banner/stzh-banner.css +3 -3
  78. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +8 -3
  79. package/dist/collection/components/stzh-button/stzh-button.css +3 -3
  80. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +3 -3
  81. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -3
  82. package/dist/collection/components/stzh-card/stzh-card.css +3 -3
  83. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +3 -3
  84. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.stories.js +1 -1
  85. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.css +3 -3
  86. package/dist/collection/components/stzh-card-superteaser/stzh-card-superteaser.css +3 -3
  87. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +3 -3
  88. package/dist/collection/components/stzh-carousel/stzh-carousel.css +8 -3
  89. package/dist/collection/components/stzh-carousel/stzh-carousel.js +0 -1
  90. package/dist/collection/components/stzh-carousel/stzh-carousel.js.map +1 -1
  91. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -3
  92. package/dist/collection/components/stzh-chart/stzh-chart.css +6 -3
  93. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -3
  94. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -3
  95. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +9 -12
  96. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js.map +1 -1
  97. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +9 -0
  98. package/dist/collection/components/stzh-chip/stzh-chip.css +3 -3
  99. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.css +3 -3
  100. package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +3 -3
  101. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +2 -0
  102. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  103. package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +2 -2
  104. package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -3
  105. package/dist/collection/components/stzh-contact/stzh-contact.css +3 -3
  106. package/dist/collection/components/stzh-container/stzh-container.css +3 -3
  107. package/dist/collection/components/stzh-content/stzh-content.css +7 -5
  108. package/dist/collection/components/stzh-cspace/stzh-cspace.css +9 -9
  109. package/dist/collection/components/stzh-cta/stzh-cta.css +8 -3
  110. package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -3
  111. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +9 -69
  112. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +3 -3
  113. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -3
  114. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -3
  115. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -3
  116. package/dist/collection/components/stzh-daterange/stzh-daterange.css +3 -3
  117. package/dist/collection/components/stzh-details/stzh-details.css +3 -3
  118. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -3
  119. package/dist/collection/components/stzh-disturber/stzh-disturber.css +3 -3
  120. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -3
  121. package/dist/collection/components/stzh-editor/stzh-editor.css +3 -3
  122. package/dist/collection/components/stzh-eventdata/stzh-eventdata.css +210 -0
  123. package/dist/collection/components/stzh-eventdata/stzh-eventdata.e2e.js +18 -0
  124. package/dist/collection/components/stzh-eventdata/stzh-eventdata.e2e.js.map +1 -0
  125. package/dist/collection/components/stzh-eventdata/stzh-eventdata.js +52 -0
  126. package/dist/collection/components/stzh-eventdata/stzh-eventdata.js.map +1 -0
  127. package/dist/collection/components/stzh-eventdata/stzh-eventdata.stories.js +44 -0
  128. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.css +157 -12
  129. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.js +122 -4
  130. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.js.map +1 -1
  131. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.localization.js.map +1 -1
  132. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.stories.js +14 -1
  133. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -3
  134. package/dist/collection/components/stzh-figure/stzh-figure.css +3 -3
  135. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -3
  136. package/dist/collection/components/stzh-footer/stzh-footer.css +7 -4
  137. package/dist/collection/components/stzh-gallery/stzh-gallery.css +9 -3
  138. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +3 -3
  139. package/dist/collection/components/stzh-header/stzh-header.css +3 -3
  140. package/dist/collection/components/stzh-header/stzh-header.js +0 -1
  141. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  142. package/dist/collection/components/stzh-heading/stzh-heading.css +3 -3
  143. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -3
  144. package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -3
  145. package/dist/collection/components/stzh-icon/stzh-icon.css +9 -3
  146. package/dist/collection/components/stzh-iframe/stzh-iframe.css +3 -3
  147. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.css +10 -3
  148. package/dist/collection/components/stzh-input/stzh-input.css +3 -3
  149. package/dist/collection/components/stzh-invert/stzh-invert.css +3 -3
  150. package/dist/collection/components/stzh-link/stzh-link.css +3 -3
  151. package/dist/collection/components/stzh-list/stzh-list.css +3 -3
  152. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -3
  153. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -3
  154. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -3
  155. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -3
  156. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -3
  157. package/dist/collection/components/stzh-message/stzh-message.css +3 -3
  158. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +3 -3
  159. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.css +3 -3
  160. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +36 -4
  161. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js.map +1 -1
  162. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -3
  163. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -3
  164. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -3
  165. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +3 -3
  166. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +0 -1
  167. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js.map +1 -1
  168. package/dist/collection/components/stzh-pagecontent/stzh-pagecontent.css +3 -3
  169. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -3
  170. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +2 -1
  171. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js.map +1 -1
  172. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +3 -3
  173. package/dist/collection/components/stzh-pagination/stzh-pagination.css +3 -3
  174. package/dist/collection/components/stzh-panorama/stzh-panorama.css +3 -3
  175. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -3
  176. package/dist/collection/components/stzh-print/stzh-print.css +3 -3
  177. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -3
  178. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -3
  179. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -3
  180. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -3
  181. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +8 -12
  182. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  183. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +10 -0
  184. package/dist/collection/components/stzh-ratio/stzh-ratio.css +3 -3
  185. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +8 -3
  186. package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -3
  187. package/dist/collection/components/stzh-row/stzh-row.css +3 -3
  188. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -3
  189. package/dist/collection/components/stzh-scrollup/stzh-scrollup.css +3 -3
  190. package/dist/collection/components/stzh-search/stzh-search.css +6 -5
  191. package/dist/collection/components/stzh-section/stzh-section.css +3 -3
  192. package/dist/collection/components/stzh-share/stzh-share.css +3 -3
  193. package/dist/collection/components/stzh-show/stzh-show.css +3 -3
  194. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +3 -3
  195. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +18 -3
  196. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.css +3 -3
  197. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -3
  198. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -3
  199. package/dist/collection/components/stzh-space/stzh-space.css +3 -3
  200. package/dist/collection/components/stzh-status/stzh-status.css +3 -3
  201. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -3
  202. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.css +3 -3
  203. package/dist/collection/components/stzh-table/stzh-table.css +3 -3
  204. package/dist/collection/components/stzh-tag/stzh-tag.css +3 -3
  205. package/dist/collection/components/stzh-text/stzh-text.css +4 -4
  206. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +9 -3
  207. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +2 -1
  208. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js.map +1 -1
  209. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +2 -0
  210. package/dist/collection/components/stzh-timeline/stzh-timeline.css +3 -3
  211. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +3 -3
  212. package/dist/collection/components/stzh-timepicker/stzh-timepicker.css +3 -3
  213. package/dist/collection/components/stzh-toast/stzh-toast.css +3 -3
  214. package/dist/collection/components/stzh-toastbar/stzh-toastbar.css +3 -3
  215. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -3
  216. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -3
  217. package/dist/collection/components/stzh-twocolumns/stzh-twocolumns.css +3 -3
  218. package/dist/collection/components/stzh-upload/stzh-upload.css +3 -3
  219. package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.css +3 -3
  220. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -3
  221. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -3
  222. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -3
  223. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -3
  224. package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -3
  225. package/dist/collection/components/stzh-youtube/stzh-youtube.css +3 -3
  226. package/dist/collection/pages/website/website.e2e.js +1 -1
  227. package/dist/collection/pages/website/website.e2e.js.map +1 -1
  228. package/dist/components/index.js +1 -1
  229. package/dist/components/stzh-actions.js +8 -2
  230. package/dist/components/stzh-actions.js.map +1 -1
  231. package/dist/components/stzh-breadcrumb2.js +1 -1
  232. package/dist/components/stzh-breadcrumb2.js.map +1 -1
  233. package/dist/components/stzh-carousel2.js +1 -2
  234. package/dist/components/stzh-carousel2.js.map +1 -1
  235. package/dist/components/stzh-chart.js +1 -1
  236. package/dist/components/stzh-chart.js.map +1 -1
  237. package/dist/components/stzh-checkboxgroup.js +10 -12
  238. package/dist/components/stzh-checkboxgroup.js.map +1 -1
  239. package/dist/components/stzh-chipselect2.js +2 -0
  240. package/dist/components/stzh-chipselect2.js.map +1 -1
  241. package/dist/components/stzh-content.js +1 -1
  242. package/dist/components/stzh-content.js.map +1 -1
  243. package/dist/components/stzh-cspace.js +1 -1
  244. package/dist/components/stzh-cspace.js.map +1 -1
  245. package/dist/components/stzh-cta.js +1 -1
  246. package/dist/components/stzh-cta.js.map +1 -1
  247. package/dist/components/stzh-datalist-item2.js +1 -1
  248. package/dist/components/stzh-datalist-item2.js.map +1 -1
  249. package/dist/components/stzh-eventdata.d.ts +11 -0
  250. package/dist/components/stzh-eventdata.js +41 -0
  251. package/dist/components/stzh-eventdata.js.map +1 -0
  252. package/dist/components/stzh-eventinfo.js +50 -8
  253. package/dist/components/stzh-eventinfo.js.map +1 -1
  254. package/dist/components/stzh-footer.js +1 -1
  255. package/dist/components/stzh-footer.js.map +1 -1
  256. package/dist/components/stzh-gallery.js +1 -1
  257. package/dist/components/stzh-gallery.js.map +1 -1
  258. package/dist/components/stzh-header.js +0 -1
  259. package/dist/components/stzh-header.js.map +1 -1
  260. package/dist/components/stzh-icon2.js +1 -1
  261. package/dist/components/stzh-icon2.js.map +1 -1
  262. package/dist/components/stzh-imagecomparison.js +1 -1
  263. package/dist/components/stzh-imagecomparison.js.map +1 -1
  264. package/dist/components/stzh-monthyearpicker.js +19 -2
  265. package/dist/components/stzh-monthyearpicker.js.map +1 -1
  266. package/dist/components/stzh-pagebottom.js.map +1 -1
  267. package/dist/components/stzh-pagetitle.js +2 -1
  268. package/dist/components/stzh-pagetitle.js.map +1 -1
  269. package/dist/components/stzh-radiogroup2.js +8 -11
  270. package/dist/components/stzh-radiogroup2.js.map +1 -1
  271. package/dist/components/stzh-readspeaker.js +1 -1
  272. package/dist/components/stzh-readspeaker.js.map +1 -1
  273. package/dist/components/stzh-search.js +1 -1
  274. package/dist/components/stzh-search.js.map +1 -1
  275. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  276. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  277. package/dist/components/stzh-text2.js +1 -1
  278. package/dist/components/stzh-text2.js.map +1 -1
  279. package/dist/components/stzh-textandimage.js +3 -2
  280. package/dist/components/stzh-textandimage.js.map +1 -1
  281. package/dist/esm/{app-globals-d7eff0a5.js → app-globals-f9c4987b.js} +2 -2
  282. package/dist/esm/{app-globals-d7eff0a5.js.map → app-globals-f9c4987b.js.map} +1 -1
  283. package/dist/esm/index-e3050b18.js +16 -8
  284. package/dist/esm/loader.js +2 -2
  285. package/dist/esm/stzh-actions.entry.js +8 -2
  286. package/dist/esm/stzh-actions.entry.js.map +1 -1
  287. package/dist/esm/stzh-badge_3.entry.js +1 -1
  288. package/dist/esm/stzh-badge_3.entry.js.map +1 -1
  289. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  290. package/dist/esm/stzh-breadcrumb_2.entry.js.map +1 -1
  291. package/dist/esm/stzh-card_3.entry.js +2 -0
  292. package/dist/esm/stzh-card_3.entry.js.map +1 -1
  293. package/dist/esm/stzh-carousel.entry.js +1 -2
  294. package/dist/esm/stzh-carousel.entry.js.map +1 -1
  295. package/dist/esm/stzh-chart.entry.js +1 -1
  296. package/dist/esm/stzh-chart.entry.js.map +1 -1
  297. package/dist/esm/stzh-checkboxgroup.entry.js +9 -10
  298. package/dist/esm/stzh-checkboxgroup.entry.js.map +1 -1
  299. package/dist/esm/stzh-components.js +2 -2
  300. package/dist/esm/stzh-content.entry.js +1 -1
  301. package/dist/esm/stzh-content.entry.js.map +1 -1
  302. package/dist/esm/stzh-cspace.entry.js +1 -1
  303. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  304. package/dist/esm/stzh-cta.entry.js +1 -1
  305. package/dist/esm/stzh-cta.entry.js.map +1 -1
  306. package/dist/esm/stzh-datalist_2.entry.js +1 -1
  307. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  308. package/dist/esm/stzh-datepicker_3.entry.js +8 -10
  309. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  310. package/dist/esm/stzh-details.entry.js +158 -0
  311. package/dist/esm/stzh-details.entry.js.map +1 -0
  312. package/dist/esm/stzh-eventdata.entry.js +22 -0
  313. package/dist/esm/stzh-eventdata.entry.js.map +1 -0
  314. package/dist/esm/stzh-eventinfo.entry.js +43 -4
  315. package/dist/esm/stzh-eventinfo.entry.js.map +1 -1
  316. package/dist/esm/stzh-footer.entry.js +1 -1
  317. package/dist/esm/stzh-footer.entry.js.map +1 -1
  318. package/dist/esm/stzh-gallery.entry.js +1 -1
  319. package/dist/esm/stzh-gallery.entry.js.map +1 -1
  320. package/dist/esm/stzh-header.entry.js +0 -1
  321. package/dist/esm/stzh-header.entry.js.map +1 -1
  322. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  323. package/dist/esm/stzh-imagecomparison.entry.js.map +1 -1
  324. package/dist/esm/{stzh-details_2.entry.js → stzh-message.entry.js} +2 -155
  325. package/dist/esm/stzh-message.entry.js.map +1 -0
  326. package/dist/esm/stzh-monthyearpicker.entry.js +18 -2
  327. package/dist/esm/stzh-monthyearpicker.entry.js.map +1 -1
  328. package/dist/esm/stzh-pagebottom.entry.js.map +1 -1
  329. package/dist/esm/stzh-pagetitle.entry.js +2 -1
  330. package/dist/esm/stzh-pagetitle.entry.js.map +1 -1
  331. package/dist/esm/stzh-popover_2.entry.js +1 -1
  332. package/dist/esm/stzh-popover_2.entry.js.map +1 -1
  333. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  334. package/dist/esm/stzh-readspeaker.entry.js.map +1 -1
  335. package/dist/esm/stzh-search.entry.js +1 -1
  336. package/dist/esm/stzh-search.entry.js.map +1 -1
  337. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  338. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  339. package/dist/esm/stzh-textandimage.entry.js +3 -2
  340. package/dist/esm/stzh-textandimage.entry.js.map +1 -1
  341. package/dist/stzh-components/assets/i18n/de.json +3 -1
  342. package/dist/stzh-components/assets/i18n/en.json +3 -1
  343. package/dist/stzh-components/p-14177ccb.entry.js +2 -0
  344. package/dist/stzh-components/p-14177ccb.entry.js.map +1 -0
  345. package/dist/stzh-components/p-161ae3d1.entry.js +2 -0
  346. package/dist/stzh-components/p-161ae3d1.entry.js.map +1 -0
  347. package/dist/stzh-components/{p-93721591.entry.js → p-1a19bc6e.entry.js} +2 -2
  348. package/dist/stzh-components/p-1a19bc6e.entry.js.map +1 -0
  349. package/dist/stzh-components/p-1a3dcde3.entry.js +2 -0
  350. package/dist/stzh-components/p-1a3dcde3.entry.js.map +1 -0
  351. package/dist/stzh-components/p-2096f3c6.entry.js +2 -0
  352. package/dist/stzh-components/p-2096f3c6.entry.js.map +1 -0
  353. package/dist/stzh-components/p-27d5ad01.entry.js +2 -0
  354. package/dist/stzh-components/p-27d5ad01.entry.js.map +1 -0
  355. package/dist/stzh-components/p-3f0d3919.entry.js +2 -0
  356. package/dist/stzh-components/p-3f0d3919.entry.js.map +1 -0
  357. package/dist/stzh-components/p-429d2a9b.entry.js +2 -0
  358. package/dist/stzh-components/p-429d2a9b.entry.js.map +1 -0
  359. package/dist/stzh-components/{p-e5cfdb8a.entry.js → p-5b1bc446.entry.js} +2 -2
  360. package/dist/stzh-components/{p-e5cfdb8a.entry.js.map → p-5b1bc446.entry.js.map} +1 -1
  361. package/dist/stzh-components/{p-0aabd857.entry.js → p-663f31a2.entry.js} +2 -2
  362. package/dist/stzh-components/p-663f31a2.entry.js.map +1 -0
  363. package/dist/stzh-components/{p-1be90089.entry.js → p-6f87ad6e.entry.js} +2 -2
  364. package/dist/stzh-components/{p-1be90089.entry.js.map → p-6f87ad6e.entry.js.map} +1 -1
  365. package/dist/stzh-components/p-7aac960b.entry.js +2 -0
  366. package/dist/stzh-components/p-7aac960b.entry.js.map +1 -0
  367. package/dist/stzh-components/p-8f19c3ec.entry.js +2 -0
  368. package/dist/stzh-components/p-8f19c3ec.entry.js.map +1 -0
  369. package/dist/stzh-components/p-91b360c9.entry.js +2 -0
  370. package/dist/stzh-components/{p-d028e43d.entry.js.map → p-91b360c9.entry.js.map} +1 -1
  371. package/dist/stzh-components/p-91d7c08d.entry.js +2 -0
  372. package/dist/stzh-components/p-91d7c08d.entry.js.map +1 -0
  373. package/dist/stzh-components/{p-f2ec1ede.entry.js → p-929c5234.entry.js} +2 -2
  374. package/dist/stzh-components/{p-f2ec1ede.entry.js.map → p-929c5234.entry.js.map} +1 -1
  375. package/dist/stzh-components/p-94947ab0.entry.js.map +1 -1
  376. package/dist/stzh-components/p-97df1d9f.entry.js +2 -0
  377. package/dist/stzh-components/p-97df1d9f.entry.js.map +1 -0
  378. package/dist/stzh-components/{p-9f9d53a0.entry.js → p-9b19785c.entry.js} +2 -2
  379. package/dist/stzh-components/p-9b19785c.entry.js.map +1 -0
  380. package/dist/stzh-components/{p-1a50b64a.entry.js → p-ab2aee99.entry.js} +2 -2
  381. package/dist/stzh-components/{p-1a50b64a.entry.js.map → p-ab2aee99.entry.js.map} +1 -1
  382. package/dist/stzh-components/p-af7562ba.entry.js +2 -0
  383. package/dist/stzh-components/p-af7562ba.entry.js.map +1 -0
  384. package/dist/stzh-components/{p-0bf70420.entry.js → p-af87b81a.entry.js} +2 -2
  385. package/dist/stzh-components/p-af87b81a.entry.js.map +1 -0
  386. package/dist/stzh-components/p-c9eecee7.entry.js +2 -0
  387. package/dist/stzh-components/p-c9eecee7.entry.js.map +1 -0
  388. package/dist/stzh-components/{p-3fa1c5a4.entry.js → p-ee82f53c.entry.js} +2 -2
  389. package/dist/stzh-components/{p-3fa1c5a4.entry.js.map → p-ee82f53c.entry.js.map} +1 -1
  390. package/dist/stzh-components/p-ef849bb1.entry.js +2 -0
  391. package/dist/stzh-components/p-ef849bb1.entry.js.map +1 -0
  392. package/dist/stzh-components/p-f06b2737.js +2 -0
  393. package/dist/stzh-components/{p-05e8c18d.js.map → p-f06b2737.js.map} +1 -1
  394. package/dist/stzh-components/{p-55cdd473.entry.js → p-f692c5d0.entry.js} +2 -2
  395. package/dist/stzh-components/p-f692c5d0.entry.js.map +1 -0
  396. package/dist/stzh-components/p-f7979f2a.entry.js +2 -0
  397. package/dist/stzh-components/p-f7979f2a.entry.js.map +1 -0
  398. package/dist/stzh-components/p-fdd6e755.entry.js +2 -0
  399. package/dist/stzh-components/p-fdd6e755.entry.js.map +1 -0
  400. package/dist/stzh-components/stzh-components.css +1 -1
  401. package/dist/stzh-components/stzh-components.esm.js +1 -1
  402. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  403. package/dist/types/components/stzh-actions/stzh-actions.d.ts +1 -0
  404. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +1 -1
  405. package/dist/types/components/stzh-eventdata/stzh-eventdata.d.ts +10 -0
  406. package/dist/types/components/stzh-eventinfo/stzh-eventinfo.d.ts +15 -1
  407. package/dist/types/components/stzh-eventinfo/stzh-eventinfo.localization.d.ts +2 -0
  408. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +3 -2
  409. package/dist/types/components/stzh-pagebottom/stzh-pagebottom.d.ts +0 -1
  410. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +1 -1
  411. package/dist/types/components.d.ts +61 -0
  412. package/dist/vscode-data.json +41 -0
  413. package/package.json +1 -1
  414. package/dist/cjs/stzh-details_2.cjs.entry.js.map +0 -1
  415. package/dist/esm/stzh-details_2.entry.js.map +0 -1
  416. package/dist/stzh-components/p-05e8c18d.js +0 -2
  417. package/dist/stzh-components/p-0aabd857.entry.js.map +0 -1
  418. package/dist/stzh-components/p-0bf70420.entry.js.map +0 -1
  419. package/dist/stzh-components/p-3c2d9cff.entry.js +0 -2
  420. package/dist/stzh-components/p-3c2d9cff.entry.js.map +0 -1
  421. package/dist/stzh-components/p-3cd1696a.entry.js +0 -2
  422. package/dist/stzh-components/p-3cd1696a.entry.js.map +0 -1
  423. package/dist/stzh-components/p-400f2932.entry.js +0 -2
  424. package/dist/stzh-components/p-400f2932.entry.js.map +0 -1
  425. package/dist/stzh-components/p-55cdd473.entry.js.map +0 -1
  426. package/dist/stzh-components/p-5f5d14cb.entry.js +0 -2
  427. package/dist/stzh-components/p-5f5d14cb.entry.js.map +0 -1
  428. package/dist/stzh-components/p-836c4cdf.entry.js +0 -2
  429. package/dist/stzh-components/p-836c4cdf.entry.js.map +0 -1
  430. package/dist/stzh-components/p-93721591.entry.js.map +0 -1
  431. package/dist/stzh-components/p-9f9d53a0.entry.js.map +0 -1
  432. package/dist/stzh-components/p-accbac61.entry.js +0 -2
  433. package/dist/stzh-components/p-accbac61.entry.js.map +0 -1
  434. package/dist/stzh-components/p-bd2a2c30.entry.js +0 -2
  435. package/dist/stzh-components/p-bd2a2c30.entry.js.map +0 -1
  436. package/dist/stzh-components/p-beec9a0a.entry.js +0 -2
  437. package/dist/stzh-components/p-beec9a0a.entry.js.map +0 -1
  438. package/dist/stzh-components/p-c774915c.entry.js +0 -2
  439. package/dist/stzh-components/p-c774915c.entry.js.map +0 -1
  440. package/dist/stzh-components/p-d028e43d.entry.js +0 -2
  441. package/dist/stzh-components/p-d56d5fe9.entry.js +0 -2
  442. package/dist/stzh-components/p-d56d5fe9.entry.js.map +0 -1
  443. package/dist/stzh-components/p-ddfb8df0.entry.js +0 -2
  444. package/dist/stzh-components/p-ddfb8df0.entry.js.map +0 -1
  445. package/dist/stzh-components/p-e10aa7bd.entry.js +0 -2
  446. package/dist/stzh-components/p-e10aa7bd.entry.js.map +0 -1
  447. package/dist/stzh-components/p-f50e0102.entry.js +0 -2
  448. package/dist/stzh-components/p-f50e0102.entry.js.map +0 -1
  449. package/dist/stzh-components/p-f86e53a0.entry.js +0 -2
  450. package/dist/stzh-components/p-f86e53a0.entry.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["packageName","packageNameScoped","substring","indexOf","debouncedFocus","event","autofocus","document","querySelector","window","stzhComponents","fixAutofocus","location","hash","detail","namespace","tagName","toLowerCase","focus","fixHashfocus","hashElement","scrollIntoView","applyAutofocus","addEventListener","observeScrollbarWidth","config","threshold","handleIntersect","entries","forEach","entry","scrollbarWidth","intersectionRatio","innerWidth","documentElement","clientWidth","style","setProperty","bodyScrollObserver","IntersectionObserver","observe","body","format","date","type","translations","console","log","$formats","$globals","adapter","createFormatParseAdapter","parse","string","formatSpan","date2","parseSpan","formats","globals","globalFormatter","Date","isNaN","getTime","j","getDate","toString","d","n","getMonth","m","yC","getFullYear","gC","getHours","hC","i","getMinutes","fC","monthNames","mC","monthNamesShort","l","dayNames","getDay","D","dayNamesShort","replace","globalParser","input","regex","RegExp","match","groups","year","parseInt","Y","month","day","hours","G","H","minutes","globalAdapter","dateFormats","formattedDate","formattedDate2","this","range","dateRange","startsWith","timeRange","dates","split","getLocale","element","closestElement","closest","locale","lang","supportedLocales","defaultLocale","async","fetchTranslations","host","component","existingTranslations","JSON","sessionStorage","getItem","version","cacheTranslations","Object","keys","length","$locale","$code","$formatsIso","$formatsLegacy","result","fetch","pathTranslations","ok","data","json","setItem","stringify","exception","error","assign","pathMedia","utils","translationsLoading","then","catch","reason","globalScripts","appGlobalScript"],"sources":["src/global/js/helpers/autofocus.js","src/global/js/helpers/scrollbar-width.js","src/global/js/helpers/utils.js","src/global/js/script.js","@stencil/core/internal/app-globals"],"sourcesContent":["import { name as packageNameScoped } from '../../../../package.json';\n\nconst packageName = packageNameScoped.substring(packageNameScoped.indexOf('/')+1);\n// let focused = false;\n\n// function debounce(func, timeout = 500){\n// let timer;\n// return (...args) => {\n// clearTimeout(timer);\n// timer = setTimeout(() => { func.apply(this, args); }, timeout);\n// };\n// }\n\nconst debouncedFocus = (event) => {\n // if (focused) {\n // return false;\n // }\n\n const autofocus = document.querySelector('[autofocus]');\n\n if (window.stzhComponents.fixAutofocus\n && !document.location.hash\n && autofocus\n && event.detail.namespace === packageName\n && autofocus.tagName.toLowerCase().indexOf('stzh-') === 0\n && 'focus' in autofocus\n ) {\n autofocus.focus();\n // focused = true;\n } else if (window.stzhComponents.fixHashfocus && document.location.hash) {\n const hashElement = document.querySelector(document.location.hash);\n\n if (hashElement) {\n hashElement.scrollIntoView();\n // focused = true;\n }\n }\n}\n\n/**\n * Execute setFocus method if it exists\n * on stzh-element with autofocus on pageload\n * when (child components are loaded)\n */\nexport function applyAutofocus() {\n window.addEventListener('appload', debouncedFocus);\n}\n","export function observeScrollbarWidth() {\n const config = {\n threshold: 1.0\n };\n\n const handleIntersect = (entries) => {\n entries.forEach(entry => {\n let scrollbarWidth = 0;\n\n if (entry.intersectionRatio < 1) {\n // scrollbarWidth = window.innerWidth - document.body.clientWidth;\n scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n }\n\n document.documentElement.style.setProperty('--stzh-scrollbar-width', scrollbarWidth + 'px');\n document.documentElement.style.setProperty('--stzh-scrollbar-active', scrollbarWidth > 0 ? '1' : '0');\n });\n };\n\n const bodyScrollObserver = new IntersectionObserver(handleIntersect, config);\n bodyScrollObserver.observe(document.body);\n}\n","\nexport function format(date, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.format(date, type);\n}\n\nexport function parse(string, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.parse(string, type);\n}\n\nexport function formatSpan(date, date2, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.formatSpan(date, date2, type);\n}\n\nexport function parseSpan(string, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.parseSpan(string, type);\n}\n\nexport function createFormatParseAdapter(formats, globals) {\n // format letters from https://www.php.net/manual/de/datetime.format.php\n const globalFormatter = function (format, date) {\n if (!date || !(date instanceof Date) || isNaN(date.getTime())) {\n return \"\";\n }\n\n let j = date.getDate().toString(10);\n let d = j;\n let n = (date.getMonth() + 1).toString(10);\n let m = n;\n let yC = date.getFullYear().toString(10);\n let gC = date.getHours().toString(10);\n let hC = gC;\n let i = date.getMinutes().toString(10);\n\n // full textual representation of a month\n let fC = globals.monthNames[date.getMonth()];\n // short textual representation of a month\n let mC = globals.monthNamesShort[date.getMonth()];\n // full textual representation of the day\n let l = globals.dayNames[date.getDay()];\n // short textual representation of the day\n let D = globals.dayNamesShort[date.getDay()];\n\n // months *are* zero-indexed, pad if less than 9!\n if (date.getMonth() < 9) {\n m = `0${m}`;\n }\n\n if (date.getDate() < 10) {\n d = `0${d}`;\n }\n\n if (date.getHours() < 10) {\n hC = `0${hC}`;\n }\n\n if (date.getMinutes() < 10) {\n i = `0${i}`;\n }\n\n return format\n .replace(/\\{j\\}/g, j)\n .replace(/\\{d\\}/g, d)\n .replace(/\\{D\\}/g, D)\n .replace(/\\{l\\}/g, l)\n .replace(/\\{n\\}/g, n)\n .replace(/\\{m\\}/g, m)\n .replace(/\\{F\\}/g, fC)\n .replace(/\\{M\\}/g, mC)\n .replace(/\\{Y\\}/g, yC)\n .replace(/\\{H\\}/g, hC)\n .replace(/\\{G\\}/g, gC)\n .replace(/\\{i\\}/g, i);\n }\n\n const globalParser = function (parse, input) {\n if (!input) {\n return;\n }\n\n const regex = new RegExp(parse);\n const match = input.match(regex);\n\n if (match) {\n const { groups } = match;\n\n const year = parseInt(groups.Y || '', 10);\n const month = parseInt(groups.n || groups.m || '', 10);\n const day = parseInt(groups.j || groups.d || '', 10);\n const hours = parseInt(groups.G || groups.H || '', 10);\n const minutes = parseInt(groups.i || '', 10);\n\n if (!isNaN(year) && (year < 1000 || year > 9999)) {\n return;\n }\n\n if (!isNaN(month) && (month < 1 || month > 12)) {\n return;\n }\n\n // we check day later again (if month changed, it was out of range)\n if (!isNaN(day) && (day < 1 || day > 31)) {\n return;\n }\n\n if (!isNaN(hours) && (hours < 0 || hours > 23)) {\n return;\n }\n\n if (!isNaN(minutes) && (minutes < 0 || minutes > 59)) {\n return;\n }\n\n const date = new Date(\n !isNaN(year) ? year : null,\n !isNaN(month) ? month - 1 : null,\n !isNaN(day) ? day : null,\n !isNaN(hours) ? hours : null,\n !isNaN(minutes) ? minutes : null\n );\n\n // if day was out of possible range (1 - 28/29/30/31)\n // we find out by check if month has changed\n if (date.getMonth() + 1 !== month) {\n return;\n }\n\n return date;\n }\n }\n\n const globalAdapter = {\n format: function (date, type = \"datetime\") {\n const dateFormats = {\n ...formats[type],\n ...window.stzhComponents?.formats[type] || {}\n };\n\n if (typeof dateFormats.format === \"string\") {\n return globalFormatter(dateFormats.format, date);\n } else {\n return dateFormats.format(date);\n }\n },\n parse: function (input, type = \"datetime\") {\n const dateFormats = {\n ...formats[type],\n ...window.stzhComponents?.formats[type] || {}\n };\n\n if (typeof dateFormats.parse === \"string\") {\n return globalParser(dateFormats.parse, input);\n } else {\n return dateFormats.parse(input);\n }\n },\n formatSpan: function(date, date2, type = \"datetime\") {\n let formattedDate = date;\n let formattedDate2 = date2;\n\n if (date instanceof Date && !isNaN(date.getTime())) {\n formattedDate = this.format(date, type);\n }\n\n if (date2 instanceof Date && !isNaN(date2.getTime())) {\n formattedDate2 = this.format(date2, type);\n }\n\n let range = globals.dateRange;\n\n if (type.startsWith('time')) {\n range = globals.timeRange;\n }\n\n return formattedDate\n + ((formattedDate2 && (\n !(formattedDate2 instanceof Date)\n || formattedDate2 instanceof Date && !isNaN(date.getTime())\n )) ? range + formattedDate2 : '');\n },\n parseSpan: function(string, type) {\n let range = globals.dateRange;\n\n if (type.startsWith('time')) {\n range = globals.timeRange;\n }\n\n const dates = string.split(range);\n const date = this.parse(dates[0], type);\n const date2 = this.parse(dates[1], type);\n\n return [date, date2, range];\n }\n };\n\n return globalAdapter;\n}\n\nexport function getLocale(element) {\n const closestElement = element.closest(\"[lang]\");\n const locale = closestElement && closestElement.lang.split(\"-\")[0];\n\n if (window.stzhComponents.supportedLocales.indexOf(locale) === -1 || !locale) {\n return window.stzhComponents.defaultLocale;\n } else {\n return locale;\n }\n}\n\nexport async function fetchTranslations(host, component) {\n const locale = getLocale(host);\n const existingTranslations = JSON.parse(sessionStorage.getItem(`stzhComponents.v${window.stzhComponents.version}.i18n.${locale}`));\n\n if (\n window.stzhComponents.cacheTranslations\n && window.stzhComponents.version.match(/-dev-snapshot/i) === null\n && existingTranslations\n && Object.keys(existingTranslations).length > 0\n ) {\n return {\n ...existingTranslations[component] || {},\n $globals: existingTranslations.$globals,\n $locale: existingTranslations.$code,\n $formats: existingTranslations.$formats,\n $formatsIso: existingTranslations.$formatsIso,\n $formatsLegacy: existingTranslations.$formatsLegacy\n };\n }\n\n try {\n const result = await fetch(\n `${window.stzhComponents.pathTranslations}/${locale}.json`\n );\n\n if (result.ok) {\n const data = await result.json();\n sessionStorage.setItem(`stzhComponents.v${window.stzhComponents.version}.i18n.${locale}`, JSON.stringify(data));\n return {\n ...data[component] || {},\n $globals: data.$globals,\n $locale: data.$code,\n $formats: data.$formats,\n $formatsIso: data.$formatsIso,\n $formatsLegacy: data.$formatsLegacy\n };\n }\n\n } catch (exception) {\n console.error(`Error loading locale: ${locale}`, exception);\n }\n}\n","import { version } from '../../../package.json';\nimport { applyAutofocus } from './helpers/autofocus';\nimport { observeScrollbarWidth } from './helpers/scrollbar-width';\nimport * as utils from './helpers/utils';\n\nexport default function () {\n window.stzhComponents = {\n defaultLocale: 'de',\n pathMedia: '/',\n pathTranslations: '/',\n cacheTranslations: true,\n formats: {},\n translations: null,\n fixAutofocus: true,\n fixHashfocus: true,\n ...window.stzhComponents || {},\n version,\n supportedLocales: ['de', 'en'],\n utils\n };\n\n if (window.stzhComponents.translations === null) {\n window.stzhComponents.translationsLoading = utils.fetchTranslations(document.documentElement).then((translations) => {\n window.stzhComponents.translations = translations;\n }).catch((reason) => {\n console.error(\"Translations couldn't load:\", reason)\n });\n }\n\n applyAutofocus();\n observeScrollbarWidth();\n}\n","import appGlobalScript from '/builds/OE-5041/desi/desi-code/stzh-components/src/global/js/script.js';\nexport const globalScripts = appGlobalScript;\n"],"mappings":"qDAEA,MAAMA,EAAcC,EAAkBC,UAAUD,EAAkBE,QAAQ,KAAK,GAW/E,MAAMC,EAAkBC,IAKtB,MAAMC,EAAYC,SAASC,cAAc,eAEzC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mB,UAAUH,IACzG,MAAO,IACFA,EAAKlB,IAAc,GACtB3E,SAAU6F,EAAK7F,SACfqF,QAASQ,EAAKP,MACdvF,SAAU8F,EAAK9F,SACfwF,YAAaM,EAAKN,YAClBC,eAAgBK,EAAKL,eAE7B,CAEA,CAAI,MAAOS,GACPpG,QAAQqG,MAAM,yBAAyB9B,IAAU6B,EACrD,CACA,C,0JChREzI,OAAOC,eAAiByH,OAAAiB,OAAAjB,OAAAiB,OAAA,CAAA5B,cAAA,KAAA6B,UAAA,IAAAT,iBAAA,IAAAV,kBAAA,KAAAzE,QAAA,GAAAZ,aAAA,KAAAlC,aAAA,KAAAQ,aAAA,MAAAV,OAAAC,gBAAA,KAAAuH,UAAAV,iBAAA,YAAA+B,UACxB,GAAI7I,OAAOC,eAAcmC,eAAA,MACvBpC,OAAOC,eAAA6I,oBAAA7B,EAAAnH,SAAA2B,iBAAAsH,MAAA3G,IACLpC,OAAOC,eAAAmC,cAAA,IACN4G,OAAOC,IACR5G,QAAQqG,MAAM,8BAAAO,EAAA,GAEpB,CACEpI,IACAE,GACF,CCdY,MAACmI,EAAgBC,S"}
1
+ {"version":3,"names":["packageName","packageNameScoped","substring","indexOf","debouncedFocus","event","autofocus","document","querySelector","window","stzhComponents","fixAutofocus","location","hash","detail","namespace","tagName","toLowerCase","focus","fixHashfocus","hashElement","scrollIntoView","applyAutofocus","addEventListener","observeScrollbarWidth","config","threshold","handleIntersect","entries","forEach","entry","scrollbarWidth","intersectionRatio","innerWidth","documentElement","clientWidth","style","setProperty","bodyScrollObserver","IntersectionObserver","observe","body","format","date","type","translations","console","log","$formats","$globals","adapter","createFormatParseAdapter","parse","string","formatSpan","date2","parseSpan","formats","globals","globalFormatter","Date","isNaN","getTime","j","getDate","toString","d","n","getMonth","m","yC","getFullYear","gC","getHours","hC","i","getMinutes","fC","monthNames","mC","monthNamesShort","l","dayNames","getDay","D","dayNamesShort","replace","globalParser","input","regex","RegExp","match","groups","year","parseInt","Y","month","day","hours","G","H","minutes","globalAdapter","dateFormats","formattedDate","formattedDate2","this","range","dateRange","startsWith","timeRange","dates","split","getLocale","element","closestElement","closest","locale","lang","supportedLocales","defaultLocale","async","fetchTranslations","host","component","existingTranslations","JSON","sessionStorage","getItem","version","cacheTranslations","Object","keys","length","$locale","$code","$formatsIso","$formatsLegacy","result","fetch","pathTranslations","ok","data","json","setItem","stringify","exception","error","assign","pathMedia","utils","translationsLoading","then","catch","reason","globalScripts","appGlobalScript"],"sources":["src/global/js/helpers/autofocus.js","src/global/js/helpers/scrollbar-width.js","src/global/js/helpers/utils.js","src/global/js/script.js","@stencil/core/internal/app-globals"],"sourcesContent":["import { name as packageNameScoped } from '../../../../package.json';\n\nconst packageName = packageNameScoped.substring(packageNameScoped.indexOf('/')+1);\n// let focused = false;\n\n// function debounce(func, timeout = 500){\n// let timer;\n// return (...args) => {\n// clearTimeout(timer);\n// timer = setTimeout(() => { func.apply(this, args); }, timeout);\n// };\n// }\n\nconst debouncedFocus = (event) => {\n // if (focused) {\n // return false;\n // }\n\n const autofocus = document.querySelector('[autofocus]');\n\n if (window.stzhComponents.fixAutofocus\n && !document.location.hash\n && autofocus\n && event.detail.namespace === packageName\n && autofocus.tagName.toLowerCase().indexOf('stzh-') === 0\n && 'focus' in autofocus\n ) {\n autofocus.focus();\n // focused = true;\n } else if (window.stzhComponents.fixHashfocus && document.location.hash) {\n const hashElement = document.querySelector(document.location.hash);\n\n if (hashElement) {\n hashElement.scrollIntoView();\n // focused = true;\n }\n }\n}\n\n/**\n * Execute setFocus method if it exists\n * on stzh-element with autofocus on pageload\n * when (child components are loaded)\n */\nexport function applyAutofocus() {\n window.addEventListener('appload', debouncedFocus);\n}\n","export function observeScrollbarWidth() {\n const config = {\n threshold: 1.0\n };\n\n const handleIntersect = (entries) => {\n entries.forEach(entry => {\n let scrollbarWidth = 0;\n\n if (entry.intersectionRatio < 1) {\n // scrollbarWidth = window.innerWidth - document.body.clientWidth;\n scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n }\n\n document.documentElement.style.setProperty('--stzh-scrollbar-width', scrollbarWidth + 'px');\n document.documentElement.style.setProperty('--stzh-scrollbar-active', scrollbarWidth > 0 ? '1' : '0');\n });\n };\n\n const bodyScrollObserver = new IntersectionObserver(handleIntersect, config);\n bodyScrollObserver.observe(document.body);\n}\n","\nexport function format(date, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.format(date, type);\n}\n\nexport function parse(string, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.parse(string, type);\n}\n\nexport function formatSpan(date, date2, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.formatSpan(date, date2, type);\n}\n\nexport function parseSpan(string, type = \"datetime\") {\n if (!window.stzhComponents.translations) {\n console.log(\"Translations not loaded yet, check for Promise `window.stzhComponents.translationsLoading`\");\n return;\n }\n\n const { $formats, $globals } = window.stzhComponents.translations;\n const adapter = createFormatParseAdapter($formats, $globals);\n return adapter.parseSpan(string, type);\n}\n\nexport function createFormatParseAdapter(formats, globals) {\n // format letters from https://www.php.net/manual/de/datetime.format.php\n const globalFormatter = function (format, date) {\n if (!date || !(date instanceof Date) || isNaN(date.getTime())) {\n return \"\";\n }\n\n let j = date.getDate().toString(10);\n let d = j;\n let n = (date.getMonth() + 1).toString(10);\n let m = n;\n let yC = date.getFullYear().toString(10);\n let gC = date.getHours().toString(10);\n let hC = gC;\n let i = date.getMinutes().toString(10);\n\n // full textual representation of a month\n let fC = globals.monthNames[date.getMonth()];\n // short textual representation of a month\n let mC = globals.monthNamesShort[date.getMonth()];\n // full textual representation of the day\n let l = globals.dayNames[date.getDay()];\n // short textual representation of the day\n let D = globals.dayNamesShort[date.getDay()];\n\n // months *are* zero-indexed, pad if less than 9!\n if (date.getMonth() < 9) {\n m = `0${m}`;\n }\n\n if (date.getDate() < 10) {\n d = `0${d}`;\n }\n\n if (date.getHours() < 10) {\n hC = `0${hC}`;\n }\n\n if (date.getMinutes() < 10) {\n i = `0${i}`;\n }\n\n return format\n .replace(/\\{j\\}/g, j)\n .replace(/\\{d\\}/g, d)\n .replace(/\\{D\\}/g, D)\n .replace(/\\{l\\}/g, l)\n .replace(/\\{n\\}/g, n)\n .replace(/\\{m\\}/g, m)\n .replace(/\\{F\\}/g, fC)\n .replace(/\\{M\\}/g, mC)\n .replace(/\\{Y\\}/g, yC)\n .replace(/\\{H\\}/g, hC)\n .replace(/\\{G\\}/g, gC)\n .replace(/\\{i\\}/g, i);\n }\n\n const globalParser = function (parse, input) {\n if (!input) {\n return;\n }\n\n const regex = new RegExp(parse);\n const match = input.match(regex);\n\n if (match) {\n const { groups } = match;\n\n const year = parseInt(groups.Y || '', 10);\n const month = parseInt(groups.n || groups.m || '', 10);\n const day = parseInt(groups.j || groups.d || '', 10);\n const hours = parseInt(groups.G || groups.H || '', 10);\n const minutes = parseInt(groups.i || '', 10);\n\n if (!isNaN(year) && (year < 1000 || year > 9999)) {\n return;\n }\n\n if (!isNaN(month) && (month < 1 || month > 12)) {\n return;\n }\n\n // we check day later again (if month changed, it was out of range)\n if (!isNaN(day) && (day < 1 || day > 31)) {\n return;\n }\n\n if (!isNaN(hours) && (hours < 0 || hours > 23)) {\n return;\n }\n\n if (!isNaN(minutes) && (minutes < 0 || minutes > 59)) {\n return;\n }\n\n const date = new Date(\n !isNaN(year) ? year : null,\n !isNaN(month) ? month - 1 : null,\n !isNaN(day) ? day : null,\n !isNaN(hours) ? hours : null,\n !isNaN(minutes) ? minutes : null\n );\n\n // if day was out of possible range (1 - 28/29/30/31)\n // we find out by check if month has changed\n if (date.getMonth() + 1 !== month) {\n return;\n }\n\n return date;\n }\n }\n\n const globalAdapter = {\n format: function (date, type = \"datetime\") {\n const dateFormats = {\n ...formats[type],\n ...window.stzhComponents?.formats[type] || {}\n };\n\n if (typeof dateFormats.format === \"string\") {\n return globalFormatter(dateFormats.format, date);\n } else {\n return dateFormats.format(date);\n }\n },\n parse: function (input, type = \"datetime\") {\n const dateFormats = {\n ...formats[type],\n ...window.stzhComponents?.formats[type] || {}\n };\n\n if (typeof dateFormats.parse === \"string\") {\n return globalParser(dateFormats.parse, input);\n } else {\n return dateFormats.parse(input);\n }\n },\n formatSpan: function(date, date2, type = \"datetime\") {\n let formattedDate = date;\n let formattedDate2 = date2;\n\n if (date instanceof Date && !isNaN(date.getTime())) {\n formattedDate = this.format(date, type);\n }\n\n if (date2 instanceof Date && !isNaN(date2.getTime())) {\n formattedDate2 = this.format(date2, type);\n }\n\n let range = globals.dateRange;\n\n if (type.startsWith('time')) {\n range = globals.timeRange;\n }\n\n return formattedDate\n + ((formattedDate2 && (\n !(formattedDate2 instanceof Date)\n || formattedDate2 instanceof Date && !isNaN(date.getTime())\n )) ? range + formattedDate2 : '');\n },\n parseSpan: function(string, type) {\n let range = globals.dateRange;\n\n if (type.startsWith('time')) {\n range = globals.timeRange;\n }\n\n const dates = string.split(range);\n const date = this.parse(dates[0], type);\n const date2 = this.parse(dates[1], type);\n\n return [date, date2, range];\n }\n };\n\n return globalAdapter;\n}\n\nexport function getLocale(element) {\n const closestElement = element.closest(\"[lang]\");\n const locale = closestElement && closestElement.lang.split(\"-\")[0];\n\n if (window.stzhComponents.supportedLocales.indexOf(locale) === -1 || !locale) {\n return window.stzhComponents.defaultLocale;\n } else {\n return locale;\n }\n}\n\nexport async function fetchTranslations(host, component) {\n const locale = getLocale(host);\n const existingTranslations = JSON.parse(sessionStorage.getItem(`stzhComponents.v${window.stzhComponents.version}.i18n.${locale}`));\n\n if (\n window.stzhComponents.cacheTranslations\n && window.stzhComponents.version.match(/-dev-snapshot/i) === null\n && existingTranslations\n && Object.keys(existingTranslations).length > 0\n ) {\n return {\n ...existingTranslations[component] || {},\n $globals: existingTranslations.$globals,\n $locale: existingTranslations.$code,\n $formats: existingTranslations.$formats,\n $formatsIso: existingTranslations.$formatsIso,\n $formatsLegacy: existingTranslations.$formatsLegacy\n };\n }\n\n try {\n const result = await fetch(\n `${window.stzhComponents.pathTranslations}/${locale}.json`\n );\n\n if (result.ok) {\n const data = await result.json();\n sessionStorage.setItem(`stzhComponents.v${window.stzhComponents.version}.i18n.${locale}`, JSON.stringify(data));\n return {\n ...data[component] || {},\n $globals: data.$globals,\n $locale: data.$code,\n $formats: data.$formats,\n $formatsIso: data.$formatsIso,\n $formatsLegacy: data.$formatsLegacy\n };\n }\n\n } catch (exception) {\n console.error(`Error loading locale: ${locale}`, exception);\n }\n}\n","import { version } from '../../../package.json';\nimport { applyAutofocus } from './helpers/autofocus';\nimport { observeScrollbarWidth } from './helpers/scrollbar-width';\nimport * as utils from './helpers/utils';\n\nexport default function () {\n window.stzhComponents = {\n defaultLocale: 'de',\n pathMedia: '/',\n pathTranslations: '/',\n cacheTranslations: true,\n formats: {},\n translations: null,\n fixAutofocus: true,\n fixHashfocus: true,\n ...window.stzhComponents || {},\n version,\n supportedLocales: ['de', 'en'],\n utils\n };\n\n if (window.stzhComponents.translations === null) {\n window.stzhComponents.translationsLoading = utils.fetchTranslations(document.documentElement).then((translations) => {\n window.stzhComponents.translations = translations;\n }).catch((reason) => {\n console.error(\"Translations couldn't load:\", reason)\n });\n }\n\n applyAutofocus();\n observeScrollbarWidth();\n}\n","import appGlobalScript from '/builds/OE-5041/desi/desi-code/stzh-components/src/global/js/script.js';\nexport const globalScripts = appGlobalScript;\n"],"mappings":"+CAEA,MAAMA,EAAcC,EAAkBC,UAAUD,EAAkBE,QAAQ,KAAK,GA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iB,QAAQ,mBAAmBvI,OAAOC,eAAeuH,gBAAgBZ,IAAUS,KAAKmB,UAAUH,IACzG,MAAO,IACFA,EAAKlB,IAAc,GACtB3E,SAAU6F,EAAK7F,SACfqF,QAASQ,EAAKP,MACdvF,SAAU8F,EAAK9F,SACfwF,YAAaM,EAAKN,YAClBC,eAAgBK,EAAKL,eAE7B,CAEA,CAAI,MAAOS,GACPpG,QAAQqG,MAAM,yBAAyB9B,IAAU6B,EACrD,CACA,C,0JChREzI,OAAOC,eAAiByH,OAAAiB,OAAAjB,OAAAiB,OAAA,CAAA5B,cAAA,KAAA6B,UAAA,IAAAT,iBAAA,IAAAV,kBAAA,KAAAzE,QAAA,GAAAZ,aAAA,KAAAlC,aAAA,KAAAQ,aAAA,MAAAV,OAAAC,gBAAA,KAAAuH,UAAAV,iBAAA,YAAA+B,UACxB,GAAI7I,OAAOC,eAAcmC,eAAA,MACvBpC,OAAOC,eAAA6I,oBAAA7B,EAAAnH,SAAA2B,iBAAAsH,MAAA3G,IACLpC,OAAOC,eAAAmC,cAAA,IACN4G,OAAOC,IACR5G,QAAQqG,MAAM,8BAAAO,EAAA,GAEpB,CACEpI,IACAE,GACF,CCdY,MAACmI,EAAgBC,S"}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,a,g as s}from"./p-c7bfac7a.js";import{s as i,h as r}from"./p-7e304ea3.js";import{m as h}from"./p-10e2901a.js";import"./p-9b063923.js";const l=".sc-stzh-pagetitle-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-pagetitle-h{display:none}.sc-stzh-pagetitle-h::-moz-selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pagetitle-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pagetitle-h *.sc-stzh-pagetitle,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::before,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::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-pagetitle-h .has-focus.sc-stzh-pagetitle{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-pagetitle-h .stzh-fylingfocus-focused.sc-stzh-pagetitle{outline-style:none !important}.sc-stzh-pagetitle-h .stzh-fylingfocus-focused.sc-stzh-pagetitle::-moz-focus-inner{border:0 !important}.sc-stzh-pagetitle-h{--background-color:var(--stzh-pagetitle-background-color);--image-background-color:var(--stzh-ratio-background-color)}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}[background=default].sc-stzh-pagetitle-h{--stzh-readspeaker-background-color:var(--background-color);--stzh-readspeaker-audio-track-progress-background-color:var(--stzh-color-white)}[background=transparent].sc-stzh-pagetitle-h{--background-color:transparent}.stzh-pagetitle.sc-stzh-pagetitle{background-color:var(--background-color)}.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:1.25rem;margin-right:1.25rem}@media screen and (min-width: 600px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-pagetitle__wrapper.sc-stzh-pagetitle{position:relative;display:grid}.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-xxlarge);display:flex;flex-direction:column;justify-content:center}@media screen and (min-width: 600px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xbig)}}.stzh-pagetitle__image-wrapper.sc-stzh-pagetitle{position:relative}.stzh-pagetitle__ratio.sc-stzh-pagetitle{--background-color:var(--image-background-color)}.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{background-color:var(--image-background-color);position:absolute;inset:0;height:100%;margin-left:calc(1.25rem / -1);margin-right:calc(1.25rem / -1)}@media screen and (min-width: 600px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{margin-left:calc(2rem / -1);margin-right:calc(2rem / -1)}}@media screen and (min-width: 900px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{margin-left:0;margin-right:0;width:calc(100% + 2.5rem)}}@media screen and (min-width: 1260px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{width:calc(100% + 4rem)}}@media screen and (min-width: 1600px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{width:calc(100% + ((100rem - 84.25rem) / 2))}}.stzh-pagetitle__meta.sc-stzh-pagetitle{display:flex;flex-direction:column-reverse;row-gap:var(--stzh-space-xsmall)}@media screen and (min-width: 900px){.stzh-pagetitle__meta.sc-stzh-pagetitle{flex-direction:row}}.stzh-pagetitle__tag.sc-stzh-pagetitle:not(:empty){margin-right:auto}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-pagetitle__readspeaker.sc-stzh-pagetitle{--stzh-readspeaker-dropdown-position:relative;--stzh-readspeaker-dropdown-top:auto}}.stzh-pagetitle__dateline.sc-stzh-pagetitle{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);margin-top:var(--stzh-space-medium);color:var(--stzh-color-primary70);margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-pagetitle__dateline.sc-stzh-pagetitle{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-pagetitle__dateline.sc-stzh-pagetitle{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__dateline.sc-stzh-pagetitle{margin-top:var(--stzh-space-xxlarge)}}.stzh-pagetitle__lead.sc-stzh-pagetitle{--stzh-base-lead-color:var(--stzh-heading-color)}.stzh-pagetitle__heading.sc-stzh-pagetitle:not(:empty)+.stzh-pagetitle__lead.sc-stzh-pagetitle:not(:empty){margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 900px){.stzh-pagetitle__heading.sc-stzh-pagetitle:not(:empty)+.stzh-pagetitle__lead.sc-stzh-pagetitle:not(:empty){margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__heading.sc-stzh-pagetitle:not(:empty)+.stzh-pagetitle__lead.sc-stzh-pagetitle:not(:empty){margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle__disturber.sc-stzh-pagetitle{z-index:var(--stzh-z-index-sticky);position:fixed;left:0;right:0;bottom:0}@media screen and (min-width: 900px){.stzh-pagetitle__disturber.sc-stzh-pagetitle{z-index:initial;position:absolute;width:calc(((100% - 7 * var(--stzh-grid-gutter-medium)) / 8 * 3) + 2 * var(--stzh-grid-gutter-medium));left:auto;bottom:calc((var(--stzh-space-big) - var(--stzh-space-xlarge)) / -1)}}@media screen and (min-width: 1260px){.stzh-pagetitle__disturber.sc-stzh-pagetitle{width:calc(((100% - 11 * var(--stzh-grid-gutter-large)) / 12 * 4) + 3 * var(--stzh-grid-gutter-large));bottom:calc(var(--stzh-space-huge) / -1)}}@media screen and (min-width: 1600px){.stzh-pagetitle__disturber.sc-stzh-pagetitle{width:calc(((100% - 11 * var(--stzh-grid-gutter-ultra)) / 12 * 4) + 3 * var(--stzh-grid-gutter-ultra))}}.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__ratio.sc-stzh-pagetitle{display:none}.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter);column-gap:var(--stzh-grid-gutter);display:grid;grid-template-columns:repeat(4, minmax(0, 1fr))}@media screen and (min-width: 600px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-small);column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-medium);column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-large);column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-ultra);column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{grid-template-columns:repeat(12, minmax(0, 1fr))}}.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__meta.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__dateline.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__heading.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__lead.sc-stzh-pagetitle{grid-column:1/span 4}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__meta.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__dateline.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__heading.sc-stzh-pagetitle{grid-column:1/span 8}}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__lead.sc-stzh-pagetitle{grid-column:1/span 6}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__lead.sc-stzh-pagetitle{grid-column:1/span 7}}@media screen and (min-width: 900px){.stzh-pagetitle--has-image.sc-stzh-pagetitle .stzh-pagetitle__wrapper.sc-stzh-pagetitle{grid-template-columns:repeat(2, minmax(0, 1fr));gap:var(--stzh-space-xxlarge)}}.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-tag.sc-stzh-pagetitle .stzh-pagetitle__readspeaker.sc-stzh-pagetitle{--stzh-readspeaker-dropdown-left:auto;--stzh-readspeaker-dropdown-right:0px;--stzh-readspeaker-dropdown-settings-left:auto;--stzh-readspeaker-dropdown-settings-right:0px}}.stzh-pagetitle--background-default.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{--stzh-selection-background-color:var(--stzh-color-white)}.stzh-pagetitle--background-transparent.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-pagetitle--background-transparent.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle--background-transparent.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxxlarge)}}";const g=class{constructor(e){t(this,e);this.isDisturberOpen=false;this.update=()=>{var t;if(!this.disturberElement){return}const e=h("medium").matches;const a=((t=this.disturberElement)===null||t===void 0?void 0:t.offsetHeight)||0;const s=a&&this.isDisturberOpen;const i=s&&!e;document.documentElement.style.setProperty("--stzh-pagetitle-disturber-height",s?`${a}px`:"0px");document.documentElement.style.setProperty("--stzh-pagetitle-disturber-stuck-height",i?`${a}px`:"0px");document.documentElement.style.setProperty("--stzh-pagetitle-disturber-is-stuck",i?"1":"0");document.documentElement.style.setProperty("--stzh-pagetitle-disturber-is-not-stuck",i?"0":"1")};this.init=()=>{const t=this.element.querySelector('stzh-heading[slot="heading"], [slot="heading"] stzh-heading');const e=this.element.querySelector('stzh-disturber[slot="disturber"], [slot="disturber"] stzh-disturber');const a=this.element.querySelectorAll('stzh-text[slot="lead"], [slot="lead"] stzh-text');const s=this.element.querySelector('stzh-show[slot="disturber"], [slot="disturber"] stzh-show');const r=this.element.querySelector('[slot="readspeaker"] stzh-button');const h=this.element.querySelector('stzh-tag[slot="tag"], [slot="tag"] stzh-tag');if(t){i(t,{curve:"hero"})}if(e){i(e,{initialOpenAnimation:true})}if(s){i(s,{mikro:true})}if(h){i(h,{type:"secondary",size:"large",nonInteractive:true})}if(r){i(r,{variant:"tertiary-plain",noPaddingLeft:true,noPaddingRight:true,size:"small",sizeMedium:"tiny",buttonAccesskey:"L"})}a.forEach((t=>{i(t,{lead:true})}))};this.background="default";this.dateline=undefined}handleResize(){if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.update)}handleStzhOpen(t){if(t.detail.component==="stzh-disturber"){this.isDisturberOpen=true;requestAnimationFrame((()=>{requestAnimationFrame(this.update)}))}}handleStzhClose(t){if(t.detail.component==="stzh-disturber"){this.isDisturberOpen=false;requestAnimationFrame((()=>{requestAnimationFrame(this.update)}))}}componentDidRender(){requestAnimationFrame((()=>{requestAnimationFrame(this.update)}))}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){var t;(t=this.observer)===null||t===void 0?void 0:t.disconnect()}render(){const t=r(this.element,"image");const s=r(this.element,"lead");const i=r(this.element,"tag");const h=r(this.element,"readspeaker");const l={"stzh-pagetitle":true,"stzh-pagetitle--has-image":t,"stzh-pagetitle--has-no-image":!t,"stzh-pagetitle--has-lead":s,"stzh-pagetitle--has-tag":i,"stzh-pagetitle--has-meta":i||h,[`stzh-pagetitle--background-${this.background}`]:!!this.background};return e(a,null,e("div",{class:l},e("div",{class:"stzh-pagetitle__container"},e("div",{class:"stzh-pagetitle__wrapper"},e("div",{class:"stzh-pagetitle__text"},e("div",{class:"stzh-pagetitle__meta"},e("div",{class:"stzh-pagetitle__tag"},e("slot",{name:"tag"})),e("div",{class:"stzh-pagetitle__readspeaker"},e("slot",{name:"readspeaker"}))),this.dateline&&e("div",{class:"stzh-pagetitle__dateline"},this.dateline),e("div",{class:"stzh-pagetitle__heading"},e("slot",{name:"heading"})),e("div",{class:"stzh-pagetitle__lead"},e("slot",{name:"lead"}))),e("div",{class:"stzh-pagetitle__image-wrapper"},e("stzh-ratio",{ratio:"16:9",ratioSmall:"3:2",ratioMedium:"16:9",class:"stzh-pagetitle__ratio"}),e("div",{class:"stzh-pagetitle__image-inner-wrapper"},e("slot",{name:"image"}))),e("div",{class:"stzh-pagetitle__disturber",ref:t=>this.disturberElement=t},e("slot",{name:"disturber"}))))))}get element(){return s(this)}};g.style=l;export{g as stzh_pagetitle};
2
- //# sourceMappingURL=p-55cdd473.entry.js.map
1
+ import{r as t,h as e,a,g as s}from"./p-c7bfac7a.js";import{s as i,h as r}from"./p-7e304ea3.js";import{m as h}from"./p-10e2901a.js";import"./p-9b063923.js";const l=".sc-stzh-pagetitle-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-pagetitle-h{display:none}.sc-stzh-pagetitle-h::-moz-selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pagetitle-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-pagetitle-h *.sc-stzh-pagetitle,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::before,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::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-pagetitle-h .has-focus.sc-stzh-pagetitle{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-pagetitle-h .stzh-fylingfocus-focused.sc-stzh-pagetitle{outline-style:none !important}.sc-stzh-pagetitle-h .stzh-fylingfocus-focused.sc-stzh-pagetitle::-moz-focus-inner{border:0 !important}.sc-stzh-pagetitle-h{--background-color:var(--stzh-pagetitle-background-color);--image-background-color:var(--stzh-ratio-background-color)}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}[background=default].sc-stzh-pagetitle-h{--stzh-readspeaker-background-color:var(--background-color);--stzh-readspeaker-audio-track-progress-background-color:var(--stzh-color-white)}[background=transparent].sc-stzh-pagetitle-h{--background-color:transparent}.stzh-pagetitle.sc-stzh-pagetitle{background-color:var(--background-color)}.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:1.25rem;margin-right:1.25rem}@media screen and (min-width: 600px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-pagetitle__container.sc-stzh-pagetitle{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-pagetitle__wrapper.sc-stzh-pagetitle{position:relative;display:grid}.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-xxlarge);display:flex;flex-direction:column;justify-content:center}@media screen and (min-width: 600px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 900px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xbig)}}.stzh-pagetitle__image-wrapper.sc-stzh-pagetitle{position:relative}.stzh-pagetitle__ratio.sc-stzh-pagetitle{--background-color:var(--image-background-color)}.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{background-color:var(--image-background-color);position:absolute;inset:0;height:100%;margin-left:calc(1.25rem / -1);margin-right:calc(1.25rem / -1)}@media screen and (min-width: 600px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{margin-left:calc(2rem / -1);margin-right:calc(2rem / -1)}}@media screen and (min-width: 900px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{margin-left:0;margin-right:0;width:calc(100% + 2.5rem)}}@media screen and (min-width: 1260px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{width:calc(100% + 4rem)}}@media screen and (min-width: 1600px){.stzh-pagetitle__image-inner-wrapper.sc-stzh-pagetitle{width:calc(100% + ((100rem - 84.25rem) / 2))}}.stzh-pagetitle__meta.sc-stzh-pagetitle{display:flex;flex-direction:column-reverse;row-gap:var(--stzh-space-xsmall)}@media screen and (min-width: 900px){.stzh-pagetitle__meta.sc-stzh-pagetitle{flex-direction:row}}.stzh-pagetitle__tag.sc-stzh-pagetitle:not(:empty){margin-right:auto}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-pagetitle__readspeaker.sc-stzh-pagetitle{--stzh-readspeaker-dropdown-position:relative;--stzh-readspeaker-dropdown-top:auto}}.stzh-pagetitle__dateline.sc-stzh-pagetitle{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);margin-top:var(--stzh-space-medium);color:var(--stzh-color-primary70);margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-pagetitle__dateline.sc-stzh-pagetitle{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-pagetitle__dateline.sc-stzh-pagetitle{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__dateline.sc-stzh-pagetitle{margin-top:var(--stzh-space-xxlarge)}}.stzh-pagetitle__lead.sc-stzh-pagetitle{--stzh-base-lead-color:var(--stzh-heading-color)}.stzh-pagetitle__heading.sc-stzh-pagetitle:not(:empty)+.stzh-pagetitle__lead.sc-stzh-pagetitle:not(:empty){margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 900px){.stzh-pagetitle__heading.sc-stzh-pagetitle:not(:empty)+.stzh-pagetitle__lead.sc-stzh-pagetitle:not(:empty){margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle__heading.sc-stzh-pagetitle:not(:empty)+.stzh-pagetitle__lead.sc-stzh-pagetitle:not(:empty){margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle__disturber.sc-stzh-pagetitle{z-index:var(--stzh-z-index-sticky);position:fixed;left:0;right:0;bottom:0}@media screen and (min-width: 900px){.stzh-pagetitle__disturber.sc-stzh-pagetitle{z-index:initial;position:absolute;width:calc(((100% - 7 * var(--stzh-grid-gutter-medium)) / 8 * 3) + 2 * var(--stzh-grid-gutter-medium));left:auto;bottom:calc((var(--stzh-space-big) - var(--stzh-space-xlarge)) / -1)}}@media screen and (min-width: 1260px){.stzh-pagetitle__disturber.sc-stzh-pagetitle{width:calc(((100% - 11 * var(--stzh-grid-gutter-large)) / 12 * 4) + 3 * var(--stzh-grid-gutter-large));bottom:calc(var(--stzh-space-huge) / -1)}}@media screen and (min-width: 1600px){.stzh-pagetitle__disturber.sc-stzh-pagetitle{width:calc(((100% - 11 * var(--stzh-grid-gutter-ultra)) / 12 * 4) + 3 * var(--stzh-grid-gutter-ultra))}}.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__ratio.sc-stzh-pagetitle{display:none}.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter);column-gap:var(--stzh-grid-gutter);display:grid;grid-template-columns:repeat(4, minmax(0, 1fr))}@media screen and (min-width: 600px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-small);column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-medium);column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-large);column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{-moz-column-gap:var(--stzh-grid-gutter-ultra);column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{grid-template-columns:repeat(12, minmax(0, 1fr))}}.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__meta.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__dateline.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__heading.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__lead.sc-stzh-pagetitle{grid-column:1/span 4}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__meta.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__dateline.sc-stzh-pagetitle,.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__heading.sc-stzh-pagetitle{grid-column:1/span 8}}@media screen and (min-width: 900px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__lead.sc-stzh-pagetitle{grid-column:1/span 6}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-no-image.sc-stzh-pagetitle .stzh-pagetitle__lead.sc-stzh-pagetitle{grid-column:1/span 7}}@media screen and (min-width: 900px){.stzh-pagetitle--has-image.sc-stzh-pagetitle .stzh-pagetitle__wrapper.sc-stzh-pagetitle{grid-template-columns:repeat(2, minmax(0, 1fr));gap:var(--stzh-space-xxlarge)}}.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle--has-meta.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 900px){.stzh-pagetitle--has-tag.sc-stzh-pagetitle .stzh-pagetitle__readspeaker.sc-stzh-pagetitle{--stzh-readspeaker-dropdown-left:auto;--stzh-readspeaker-dropdown-right:0px;--stzh-readspeaker-dropdown-settings-left:auto;--stzh-readspeaker-dropdown-settings-right:0px}}.stzh-pagetitle--background-default.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{--stzh-selection-background-color:var(--stzh-color-white)}.stzh-pagetitle--background-transparent.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-pagetitle--background-transparent.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle--background-transparent.sc-stzh-pagetitle .stzh-pagetitle__text.sc-stzh-pagetitle{padding-bottom:var(--stzh-space-xxxxlarge)}}";const g=class{constructor(e){t(this,e);this.isDisturberOpen=false;this.update=()=>{var t;if(!this.disturberElement){return}const e=h("medium").matches;const a=((t=this.disturberElement)===null||t===void 0?void 0:t.offsetHeight)||0;const s=a&&this.isDisturberOpen;const i=s&&!e;document.documentElement.style.setProperty("--stzh-pagetitle-disturber-height",s?`${a}px`:"0px");document.documentElement.style.setProperty("--stzh-pagetitle-disturber-stuck-height",i?`${a}px`:"0px");document.documentElement.style.setProperty("--stzh-pagetitle-disturber-is-stuck",i?"1":"0");document.documentElement.style.setProperty("--stzh-pagetitle-disturber-is-not-stuck",i?"0":"1")};this.init=()=>{const t=this.element.querySelector('stzh-heading[slot="heading"], [slot="heading"] stzh-heading');const e=this.element.querySelector('stzh-disturber[slot="disturber"], [slot="disturber"] stzh-disturber');const a=this.element.querySelectorAll('stzh-text[slot="lead"], [slot="lead"] stzh-text');const s=this.element.querySelector('stzh-show[slot="disturber"], [slot="disturber"] stzh-show');const r=this.element.querySelector('[slot="readspeaker"] stzh-button');const h=this.element.querySelector('stzh-tag[slot="tag"], [slot="tag"] stzh-tag');if(t){i(t,{curve:"hero",level:"1"})}if(e){i(e,{initialOpenAnimation:true})}if(s){i(s,{mikro:true})}if(h){i(h,{type:"secondary",size:"large",nonInteractive:true})}if(r){i(r,{variant:"tertiary-plain",noPaddingLeft:true,noPaddingRight:true,size:"small",sizeMedium:"tiny",buttonAccesskey:"L"})}a.forEach((t=>{i(t,{lead:true})}))};this.background="default";this.dateline=undefined}handleResize(){if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.update)}handleStzhOpen(t){if(t.detail.component==="stzh-disturber"){this.isDisturberOpen=true;requestAnimationFrame((()=>{requestAnimationFrame(this.update)}))}}handleStzhClose(t){if(t.detail.component==="stzh-disturber"){this.isDisturberOpen=false;requestAnimationFrame((()=>{requestAnimationFrame(this.update)}))}}componentDidRender(){requestAnimationFrame((()=>{requestAnimationFrame(this.update)}))}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){var t;(t=this.observer)===null||t===void 0?void 0:t.disconnect()}render(){const t=r(this.element,"image");const s=r(this.element,"lead");const i=r(this.element,"tag");const h=r(this.element,"readspeaker");const l={"stzh-pagetitle":true,"stzh-pagetitle--has-image":t,"stzh-pagetitle--has-no-image":!t,"stzh-pagetitle--has-lead":s,"stzh-pagetitle--has-tag":i,"stzh-pagetitle--has-meta":i||h,[`stzh-pagetitle--background-${this.background}`]:!!this.background};return e(a,null,e("div",{class:l},e("div",{class:"stzh-pagetitle__container"},e("div",{class:"stzh-pagetitle__wrapper"},e("div",{class:"stzh-pagetitle__text"},e("div",{class:"stzh-pagetitle__meta"},e("div",{class:"stzh-pagetitle__tag"},e("slot",{name:"tag"})),e("div",{class:"stzh-pagetitle__readspeaker"},e("slot",{name:"readspeaker"}))),this.dateline&&e("div",{class:"stzh-pagetitle__dateline"},this.dateline),e("div",{class:"stzh-pagetitle__heading"},e("slot",{name:"heading"})),e("div",{class:"stzh-pagetitle__lead"},e("slot",{name:"lead"}))),e("div",{class:"stzh-pagetitle__image-wrapper"},e("stzh-ratio",{ratio:"16:9",ratioSmall:"3:2",ratioMedium:"16:9",class:"stzh-pagetitle__ratio"}),e("div",{class:"stzh-pagetitle__image-inner-wrapper"},e("slot",{name:"image"}))),e("div",{class:"stzh-pagetitle__disturber",ref:t=>this.disturberElement=t},e("slot",{name:"disturber"}))))))}get element(){return s(this)}};g.style=l;export{g as stzh_pagetitle};
2
+ //# sourceMappingURL=p-f692c5d0.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhPagetitleCss","StzhPagetitle","this","isDisturberOpen","update","disturberElement","isMedium","media","matches","disturberHeight","_a","offsetHeight","hasDisturber","isStuck","document","documentElement","style","setProperty","init","heading","element","querySelector","disturber","leads","querySelectorAll","show","readspeakerButton","tag","setPropsIfNull","curve","level","initialOpenAnimation","mikro","type","size","nonInteractive","variant","noPaddingLeft","noPaddingRight","sizeMedium","buttonAccesskey","forEach","lead","handleResize","debounceResize","window","cancelAnimationFrame","requestAnimationFrame","handleStzhOpen","event","detail","component","handleStzhClose","componentDidRender","connectedCallback","observer","MutationObserver","observe","childList","subtree","disconnectedCallback","disconnect","render","imageSlotUsed","hasSlot","leadSlotUsed","tagSlotUsed","readspeakerSlotUsed","classes","background","h","Host","class","name","dateline","ratio","ratioSmall","ratioMedium","ref","el"],"sources":["src/components/stzh-pagetitle/stzh-pagetitle.scss?tag=stzh-pagetitle&encapsulation=scoped","src/components/stzh-pagetitle/stzh-pagetitle.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color\n * @prop --image-background-color: Background color of image\n *\n * @prop --stzh-pagetitle-disturber-height: Global: Disturber height\n * @prop --stzh-pagetitle-disturber-stuck-height: Global: Disturber height when sticky (below medium breakpoint)\n * @prop --stzh-pagetitle-disturber-is-stuck: **Global**: Whether disturber is currently sticky (readonly variable on `<html>`)\n * @prop --stzh-pagetitle-disturber-is-not-stuck: **Global**: Whether disturber is currently not sticky (readonly variable on `<html>`)\n */\n\n:host {\n --background-color: #{$pagetitleBackgroundColor};\n --image-background-color: #{$ratioBackgroundColor};\n\n ::slotted([slot=\"image\"]) {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n &[background=\"default\"] {\n --stzh-readspeaker-background-color: var(--background-color);\n --stzh-readspeaker-audio-track-progress-background-color: #{$colorWhite};\n }\n\n &[background=\"transparent\"] {\n --background-color: transparent;\n }\n}\n\n.stzh-pagetitle {\n background-color: var(--background-color);\n\n &__container {\n @include container;\n }\n\n &__wrapper {\n position: relative;\n display: grid;\n }\n\n &__text {\n @include spaceCurve('padding-top', 'big');\n @include spaceCurve('padding-bottom', 'big');\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n\n &__image-wrapper {\n position: relative;\n }\n\n &__ratio {\n --background-color: var(--image-background-color);\n }\n\n &__image-inner-wrapper {\n background-color: var(--image-background-color);\n position: absolute;\n inset: 0;\n height: 100%;\n margin-left: calc(#{$containerMargin} / -1);\n margin-right: calc(#{$containerMargin} / -1);\n\n @include mq($from: small) {\n margin-left: calc(#{$containerMarginSmall} / -1);\n margin-right: calc(#{$containerMarginSmall} / -1);\n }\n\n @include mq($from: medium) {\n margin-left: 0;\n margin-right: 0;\n width: calc(100% + #{$containerMarginMedium});\n }\n\n @include mq($from: large) {\n width: calc(100% + #{$containerMarginLarge});\n }\n\n @include mq($from: ultra) {\n width: calc(100% + ((#{map-get($breakpoints, 'ultra')} - #{$containerMaxWidth}) / 2));\n }\n }\n\n &__meta {\n display: flex;\n flex-direction: column-reverse;\n row-gap: space('xsmall');\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &__tag {\n &:not(:empty) {\n margin-right: auto;\n }\n }\n\n &__readspeaker {\n @include mq($from: small, $to: medium) {\n --stzh-readspeaker-dropdown-position: relative;\n --stzh-readspeaker-dropdown-top: auto;\n }\n }\n\n &__dateline {\n @include fontSize('milli');\n @include spaceCurve('margin-top', 'regular');\n color: $colorPrimary70;\n margin-bottom: space('xsmall');\n }\n\n &__lead {\n --stzh-base-lead-color: #{$headingColor};\n }\n\n &__heading:not(:empty) + &__lead:not(:empty) {\n @include spaceCurve('margin-top', 'medium');\n }\n\n &__disturber {\n z-index: $zIndexSticky;\n position: fixed;\n left: 0;\n right: 0;\n bottom: 0;\n\n @include mq($from: medium) {\n z-index: initial;\n position: absolute;\n width: calc(((100% - 7 * #{$gridGutterMedium}) / 8 * 3) + 2 * #{$gridGutterMedium});\n left: auto;\n bottom: calc((#{spaceCurveValue('huge', 'medium')} - #{spaceCurveValue('regular', 'medium')}) / -1);\n }\n\n @include mq($from: large) {\n width: calc(((100% - 11 * #{$gridGutterLarge}) / 12 * 4) + 3 * #{$gridGutterLarge});\n bottom: calc(#{spaceCurveValue('huge', 'large')} / -1);\n }\n\n @include mq($from: ultra) {\n width: calc(((100% - 11 * #{$gridGutterUltra}) / 12 * 4) + 3 * #{$gridGutterUltra});\n }\n }\n\n /* Has no image variant */\n\n &--has-no-image &__ratio {\n display: none;\n }\n\n &--has-no-image &__text {\n @include grid;\n }\n\n &--has-no-image &__meta,\n &--has-no-image &__dateline,\n &--has-no-image &__heading,\n &--has-no-image &__lead {\n grid-column: 1 / span 4;\n }\n\n &--has-no-image &__meta,\n &--has-no-image &__dateline,\n &--has-no-image &__heading {\n @include mq($from: medium) {\n grid-column: 1 / span 8;\n }\n }\n\n &--has-no-image &__lead {\n @include mq($from: medium) {\n grid-column: 1 / span 6;\n }\n\n @include mq($from: large) {\n grid-column: 1 / span 7;\n }\n }\n\n /* Has image variant */\n\n &--has-image &__wrapper {\n @include mq($from: medium) {\n grid-template-columns: repeat(2, minmax(0, 1fr));\n gap: space('xxlarge');\n }\n }\n\n /* Has meta */\n\n &--has-meta &__text {\n @include spaceCurve('padding-top', 'regular');\n }\n\n /* Has tag */\n\n &--has-tag &__readspeaker {\n @include mq($from: medium) {\n --stzh-readspeaker-dropdown-left: auto;\n --stzh-readspeaker-dropdown-right: 0px;\n\n --stzh-readspeaker-dropdown-settings-left: auto;\n --stzh-readspeaker-dropdown-settings-right: 0px;\n }\n }\n\n /* Default background */\n\n &--background-default &__text {\n --stzh-selection-background-color: #{$colorWhite};\n }\n\n /* Transparent background */\n\n &--background-transparent &__text {\n @include spaceCurve('padding-bottom', 'large');\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Listen,\n} from \"@stencil/core\";\n\nimport {\n StzhDisturberOpenEvent,\n StzhDisturberCloseEvent\n} from \"../../index\";\n\nimport { hasSlot, setPropsIfNull } from \"../../utils/utils\";\nimport { media } from \"../../utils/media-utils\";\n\n/**\n * @slot heading - Slot for `stzh-heading` element\n * @slot image - Slot for `stzh-figure` or `img` element\n * @slot lead - Slot for `stzh-text` element\n * @slot tag - Slot for `stzh-tag` element\n * @slot readspeaker - Slot for `stzh-readspeaker` element\n */\n@Component({\n tag: \"stzh-pagetitle\",\n styleUrl: \"stzh-pagetitle.scss\",\n scoped: true\n})\nexport class StzhPagetitle {\n @Element() element: HTMLStzhPagetitleElement;\n\n /** Background color */\n @Prop({ reflect: true }) background: \"default\" | \"transparent\" = \"default\";\n\n /** Dateline */\n @Prop() dateline: string;\n\n @Listen(\"resize\", { target: \"window\" })\n handleResize() {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.update);\n }\n\n @Listen(\"stzhOpen\")\n handleStzhOpen(event: CustomEvent<StzhDisturberOpenEvent>) {\n if (event.detail.component === \"stzh-disturber\") {\n this.isDisturberOpen = true;\n requestAnimationFrame(() => {\n requestAnimationFrame(this.update);\n });\n }\n }\n\n @Listen(\"stzhClose\")\n handleStzhClose(event: CustomEvent<StzhDisturberCloseEvent>) {\n if (event.detail.component === \"stzh-disturber\") {\n this.isDisturberOpen = false;\n requestAnimationFrame(() => {\n requestAnimationFrame(this.update);\n });\n }\n }\n\n private observer: MutationObserver;\n private debounceResize: number;\n private disturberElement: HTMLDivElement;\n private isDisturberOpen: boolean = false;\n\n private update = () => {\n if (!this.disturberElement) {\n return;\n }\n\n const isMedium = media(\"medium\").matches;\n const disturberHeight = this.disturberElement?.offsetHeight || 0;\n const hasDisturber = disturberHeight && this.isDisturberOpen;\n const isStuck = hasDisturber && !isMedium;\n\n document.documentElement.style.setProperty(\"--stzh-pagetitle-disturber-height\", hasDisturber ? `${disturberHeight}px` : \"0px\");\n document.documentElement.style.setProperty(\"--stzh-pagetitle-disturber-stuck-height\", isStuck ? `${disturberHeight}px` : \"0px\");\n document.documentElement.style.setProperty(\"--stzh-pagetitle-disturber-is-stuck\", isStuck ? \"1\" : \"0\");\n document.documentElement.style.setProperty(\"--stzh-pagetitle-disturber-is-not-stuck\", isStuck ? \"0\" : \"1\");\n\n // document.documentElement.classList.toggle(\"stzh-pagetitle-disturber-is-stuck\", isStuck);\n }\n\n private init = () => {\n const heading = this.element.querySelector('stzh-heading[slot=\"heading\"], [slot=\"heading\"] stzh-heading');\n const disturber = this.element.querySelector('stzh-disturber[slot=\"disturber\"], [slot=\"disturber\"] stzh-disturber');\n const leads = this.element.querySelectorAll('stzh-text[slot=\"lead\"], [slot=\"lead\"] stzh-text');\n const show = this.element.querySelector('stzh-show[slot=\"disturber\"], [slot=\"disturber\"] stzh-show');\n const readspeakerButton = this.element.querySelector('[slot=\"readspeaker\"] stzh-button');\n const tag = this.element.querySelector('stzh-tag[slot=\"tag\"], [slot=\"tag\"] stzh-tag');\n\n if (heading) {\n setPropsIfNull(heading, {\n curve: \"hero\",\n level: \"1\"\n } as HTMLStzhHeadingElement);\n }\n\n if (disturber) {\n setPropsIfNull(disturber, {\n initialOpenAnimation: true\n } as HTMLStzhDisturberElement);\n }\n\n if (show) {\n setPropsIfNull(show, {\n mikro: true\n } as HTMLStzhShowElement);\n }\n\n if (tag) {\n setPropsIfNull(tag, {\n type: \"secondary\",\n size: \"large\",\n nonInteractive: true\n } as HTMLStzhTagElement);\n }\n\n if (readspeakerButton) {\n setPropsIfNull(readspeakerButton, {\n variant: \"tertiary-plain\",\n noPaddingLeft: true,\n noPaddingRight: true,\n size: \"small\",\n sizeMedium: \"tiny\",\n buttonAccesskey: \"L\"\n } as HTMLStzhButtonElement);\n }\n\n leads.forEach((lead) => {\n setPropsIfNull(lead, {\n lead: true\n } as HTMLStzhTextElement)\n });\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n requestAnimationFrame(this.update);\n });\n }\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true\n });\n }\n\n disconnectedCallback() {\n this.observer?.disconnect();\n }\n\n render() {\n const imageSlotUsed = hasSlot(this.element, 'image');\n const leadSlotUsed = hasSlot(this.element, 'lead');\n const tagSlotUsed = hasSlot(this.element, 'tag');\n const readspeakerSlotUsed = hasSlot(this.element, 'readspeaker');\n\n const classes = {\n \"stzh-pagetitle\": true,\n \"stzh-pagetitle--has-image\": imageSlotUsed,\n \"stzh-pagetitle--has-no-image\": !imageSlotUsed,\n \"stzh-pagetitle--has-lead\": leadSlotUsed,\n \"stzh-pagetitle--has-tag\": tagSlotUsed,\n \"stzh-pagetitle--has-meta\": tagSlotUsed || readspeakerSlotUsed,\n [`stzh-pagetitle--background-${this.background}`]: !!this.background,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-pagetitle__container\">\n <div class=\"stzh-pagetitle__wrapper\">\n <div class=\"stzh-pagetitle__text\">\n\n <div class=\"stzh-pagetitle__meta\">\n <div class=\"stzh-pagetitle__tag\">\n <slot name=\"tag\"></slot>\n </div>\n\n <div class=\"stzh-pagetitle__readspeaker\">\n <slot name=\"readspeaker\"></slot>\n </div>\n </div>\n\n {this.dateline &&\n <div class=\"stzh-pagetitle__dateline\">\n {this.dateline}\n </div>\n }\n\n <div class=\"stzh-pagetitle__heading\">\n <slot name=\"heading\"></slot>\n </div>\n\n <div class=\"stzh-pagetitle__lead\">\n <slot name=\"lead\"></slot>\n </div>\n\n </div>\n\n <div class=\"stzh-pagetitle__image-wrapper\">\n <stzh-ratio\n ratio={\"16:9\"}\n ratioSmall={\"3:2\"}\n ratioMedium={\"16:9\"}\n class=\"stzh-pagetitle__ratio\"\n ></stzh-ratio>\n <div class=\"stzh-pagetitle__image-inner-wrapper\">\n <slot name=\"image\"></slot>\n </div>\n </div>\n\n <div\n class=\"stzh-pagetitle__disturber\"\n ref={(el) => (this.disturberElement = el as HTMLDivElement)}\n >\n <slot name=\"disturber\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"2JAAA,MAAMA,EAAmB,q7V,MC6BZC,EAAa,M,yBAyChBC,KAAAC,gBAA2B,MAE3BD,KAAAE,OAAS,K,MACf,IAAKF,KAAKG,iBAAkB,CAC1B,M,CAGF,MAAMC,EAAWC,EAAM,UAAUC,QACjC,MAAMC,IAAkBC,EAAAR,KAAKG,oBAAgB,MAAAK,SAAA,SAAAA,EAAEC,eAAgB,EAC/D,MAAMC,EAAeH,GAAmBP,KAAKC,gBAC7C,MAAMU,EAAUD,IAAiBN,EAEjCQ,SAASC,gBAAgBC,MAAMC,YAAY,oCAAqCL,EAAe,GAAGH,MAAsB,OACxHK,SAASC,gBAAgBC,MAAMC,YAAY,0CAA2CJ,EAAU,GAAGJ,MAAsB,OACzHK,SAASC,gBAAgBC,MAAMC,YAAY,sCAAuCJ,EAAU,IAAM,KAClGC,SAASC,gBAAgBC,MAAMC,YAAY,0CAA2CJ,EAAU,IAAM,IAAI,EAKpGX,KAAAgB,KAAO,KACb,MAAMC,EAAUjB,KAAKkB,QAAQC,cAAc,+DAC3C,MAAMC,EAAYpB,KAAKkB,QAAQC,cAAc,uEAC7C,MAAME,EAAQrB,KAAKkB,QAAQI,iBAAiB,mDAC5C,MAAMC,EAAOvB,KAAKkB,QAAQC,cAAc,6DACxC,MAAMK,EAAoBxB,KAAKkB,QAAQC,cAAc,oCACrD,MAAMM,EAAMzB,KAAKkB,QAAQC,cAAc,+CAEvC,GAAIF,EAAS,CACXS,EAAeT,EAAS,CACtBU,MAAO,OACPC,MAAO,K,CAIX,GAAIR,EAAW,CACbM,EAAeN,EA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MAAM+C,EAAsBH,EAAQ9D,KAAKkB,QAAS,eAElD,MAAMgD,EAAU,CACd,iBAAkB,KAClB,4BAA6BL,EAC7B,gCAAiCA,EACjC,2BAA4BE,EAC5B,0BAA2BC,EAC3B,2BAA4BA,GAAeC,EAC3C,CAAC,8BAA8BjE,KAAKmE,gBAAiBnE,KAAKmE,YAG5D,OACEC,EAACC,EAAI,KACHD,EAAA,OAAKE,MAAOJ,GACVE,EAAA,OAAKE,MAAM,6BACTF,EAAA,OAAKE,MAAM,2BACTF,EAAA,OAAKE,MAAM,wBAETF,EAAA,OAAKE,MAAM,wBACTF,EAAA,OAAKE,MAAM,uBACTF,EAAA,QAAMG,KAAK,SAGbH,EAAA,OAAKE,MAAM,+BACTF,EAAA,QAAMG,KAAK,kBAIdvE,KAAKwE,UACJJ,EAAA,OAAKE,MAAM,4BACRtE,KAAKwE,UAIVJ,EAAA,OAAKE,MAAM,2BACTF,EAAA,QAAMG,KAAK,aAGbH,EAAA,OAAKE,MAAM,wBACTF,EAAA,QAAMG,KAAK,WAKfH,EAAA,OAAKE,MAAM,iCACTF,EAAA,cACEK,MAAO,OACPC,WAAY,MACZC,YAAa,OACbL,MAAM,0BAERF,EAAA,OAAKE,MAAM,uCACTF,EAAA,QAAMG,KAAK,YAIfH,EAAA,OACEE,MAAM,4BACNM,IAAMC,GAAQ7E,KAAKG,iBAAmB0E,GAEtCT,EAAA,QAAMG,KAAK,kB"}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,a as n,g as s}from"./p-c7bfac7a.js";const o='.sc-stzh-content-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-content-h{display:none}.sc-stzh-content-h::-moz-selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-content-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-content-h *.sc-stzh-content,.sc-stzh-content-h *.sc-stzh-content::before,.sc-stzh-content-h *.sc-stzh-content::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-content-h .has-focus.sc-stzh-content{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-content-h .stzh-fylingfocus-focused.sc-stzh-content{outline-style:none !important}.sc-stzh-content-h .stzh-fylingfocus-focused.sc-stzh-content::-moz-focus-inner{border:0 !important}.sc-stzh-content-h{--grid-template-areas:var(--stzh-content-grid-template-areas, "content content content content")}@media screen and (min-width: 900px){.sc-stzh-content-h{--grid-template-areas:var(--stzh-content-grid-template-areas, "content content content content content content content content")}}@media screen and (min-width: 1260px){.sc-stzh-content-h{--grid-template-areas:var(--stzh-content-grid-template-areas, "aside-left aside-left content content content content content content content content aside-right aside-right")}}@media screen and (min-width: 1260px){[variant=shifted].sc-stzh-content-h{--grid-template-areas:var(--stzh-content-shifted-grid-template-areas, var(--stzh-content-grid-template-areas, "aside-left aside-left content content content content content content content content content aside-right"))}}@media screen and (min-width: 1260px){[variant=full].sc-stzh-content-h{--grid-template-areas:var(--stzh-content-full-grid-template-areas, var(--stzh-content-grid-template-areas, "content content content content content content content content content content content content"))}}.sc-stzh-content-h .sc-stzh-content-s>*{grid-area:content}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-cta-small-grid-template-areas:"cta cta cta ."}}@media screen and (min-width: 900px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-cta-grid-template-areas:"cta cta cta cta cta . . .";--stzh-cta-small-grid-template-areas:"cta cta cta cta . . . ."}}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-text-display:grid;--stzh-text-grid-template-areas:"text text text .";--stzh-richtext-display:grid;--stzh-richtext-grid-template-areas:"text text text ."}}@media screen and (min-width: 900px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-text-grid-template-areas:"text text text text text text . .";--stzh-richtext-grid-template-areas:"text text text text text text . ."}}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-datalist-grid-template-areas:"list list list .";--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-small) - 2 * var(--stzh-grid-gutter-small)) / 3 * 4) + 3 * var(--stzh-grid-gutter-small) + var(--stzh-grid-gutter-small))}}@media screen and (min-width: 900px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-datalist-grid-template-areas:"list list list list list . . .";--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-medium) - 4 * var(--stzh-grid-gutter-medium)) / 5 * 8) + 7 * var(--stzh-grid-gutter-medium) + var(--stzh-grid-gutter-medium))}}@media screen and (min-width: 1260px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-large) - 4 * var(--stzh-grid-gutter-large)) / 5 * 8) + 7 * var(--stzh-grid-gutter-large) + var(--stzh-grid-gutter-large))}}@media screen and (min-width: 1600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s>*{--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-ultra) - 4 * var(--stzh-grid-gutter-ultra)) / 5 * 8) + 7 * var(--stzh-grid-gutter-ultra) + var(--stzh-grid-gutter-ultra))}}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-eventdata{--stzh-text-display:block;--stzh-richtext-display:block}}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-cta-small-grid-template-areas:"cta cta cta cta"}}@media screen and (min-width: 900px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-cta-grid-template-areas:"cta cta cta cta cta cta cta cta";--stzh-cta-small-grid-template-areas:"cta cta cta cta cta cta cta cta"}}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-text-display:block;--stzh-richtext-display:block}}@media screen and (min-width: 600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-datalist-grid-template-areas:"list list list list";--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-small) - 2 * var(--stzh-grid-gutter-small)) / 4 * 4) + 3 * var(--stzh-grid-gutter-small) + var(--stzh-grid-gutter-small))}}@media screen and (min-width: 900px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-datalist-grid-template-areas:"list list list list list list list list";--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-medium) - 4 * var(--stzh-grid-gutter-medium)) / 8 * 8) + 7 * var(--stzh-grid-gutter-medium) + var(--stzh-grid-gutter-medium))}}@media screen and (min-width: 1260px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-large) - 4 * var(--stzh-grid-gutter-large)) / 8 * 8) + 7 * var(--stzh-grid-gutter-large) + var(--stzh-grid-gutter-large))}}@media screen and (min-width: 1600px){.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-section[variant=highlight],.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-ghettobox,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-message,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-toast,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-tooltip,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-popover,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-accordion,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-timeline,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-twocolumns,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-textandimage,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-datalist stzh-datalist,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-dialog,.sc-stzh-content-h:where(:not([prevent-element-layout]:not([prevent-element-layout="false"]))) .sc-stzh-content-s stzh-overlay{--stzh-datalist-details-content-width:calc(((100% - var(--stzh-grid-gutter-ultra) - 4 * var(--stzh-grid-gutter-ultra)) / 8 * 8) + 7 * var(--stzh-grid-gutter-ultra) + var(--stzh-grid-gutter-ultra))}}.stzh-content.sc-stzh-content{--stzh-content-grid-template-areas:"content content content content content content content content content content content content";--stzh-content-shifted-grid-template-areas:"content content content content content content content content content content content content";--stzh-content-full-grid-template-areas:"content content content content content content content content content content content content";-moz-column-gap:var(--stzh-grid-gutter);column-gap:var(--stzh-grid-gutter);display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));grid-template-areas:var(--grid-template-areas)}@media screen and (min-width: 600px){.stzh-content.sc-stzh-content{-moz-column-gap:var(--stzh-grid-gutter-small);column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-content.sc-stzh-content{-moz-column-gap:var(--stzh-grid-gutter-medium);column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-content.sc-stzh-content{-moz-column-gap:var(--stzh-grid-gutter-large);column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-content.sc-stzh-content{-moz-column-gap:var(--stzh-grid-gutter-ultra);column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-content.sc-stzh-content{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-content.sc-stzh-content{grid-template-columns:repeat(12, minmax(0, 1fr))}}';const a=class{constructor(e){t(this,e);this.variant="default";this.preventElementLayout=false}render(){const t={"stzh-content":true,[`stzh-content--${this.variant}`]:!!this.variant};return e(n,null,e("div",{class:t},e("slot",null)))}get element(){return s(this)}};a.style=o;export{a as stzh_content};
2
+ //# sourceMappingURL=p-f7979f2a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhContentCss","StzhContent","render","classes","this","variant","h","Host","class"],"sources":["src/components/stzh-content/stzh-content.scss?tag=stzh-content&encapsulation=scoped","src/components/stzh-content/stzh-content.tsx"],"sourcesContent":[":host {\n --grid-template-areas: var(--stzh-content-grid-template-areas, \"content content content content\");\n\n @include mq($from: medium) {\n --grid-template-areas: var(--stzh-content-grid-template-areas, \"content content content content content content content content\");\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(--stzh-content-grid-template-areas, \"aside-left aside-left content content content content content content content content aside-right aside-right\");\n }\n\n &[variant=\"shifted\"] {\n @include mq($from: large) {\n --grid-template-areas: var(--stzh-content-shifted-grid-template-areas, var(--stzh-content-grid-template-areas, \"aside-left aside-left content content content content content content content content content aside-right\"));\n }\n }\n\n &[variant=\"full\"] {\n @include mq($from: large) {\n --grid-template-areas: var(--stzh-content-full-grid-template-areas, var(--stzh-content-grid-template-areas, \"content content content content content content content content content content content content\"));\n }\n }\n\n ::slotted(*) {\n grid-area: content;\n }\n\n &:where(:not([prevent-element-layout]:not([prevent-element-layout=\"false\"]))) ::slotted(*) {\n /* CTA Layout */\n\n @include mq($from: small) {\n --stzh-cta-small-grid-template-areas: \"cta cta cta .\";\n }\n\n @include mq($from: medium) {\n --stzh-cta-grid-template-areas: \"cta cta cta cta cta . . .\";\n --stzh-cta-small-grid-template-areas: \"cta cta cta cta . . . .\";\n }\n\n /* Text / Richtext Layout */\n\n @include mq($from: small) {\n --stzh-text-display: grid;\n --stzh-text-grid-template-areas: \"text text text .\";\n\n --stzh-richtext-display: grid;\n --stzh-richtext-grid-template-areas: \"text text text .\";\n }\n\n @include mq($from: medium) {\n --stzh-text-grid-template-areas: \"text text text text text text . .\";\n --stzh-richtext-grid-template-areas: \"text text text text text text . .\";\n }\n\n /* Datalist Layout */\n\n @include mq($from: small) {\n --stzh-datalist-grid-template-areas: \"list list list .\";\n // breakout with details element inside datalist-item\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterSmall} - 2 * #{$gridGutterSmall}) / 3 * 4) + 3 * #{$gridGutterSmall} + #{$gridGutterSmall});\n }\n\n @include mq($from: medium) {\n --stzh-datalist-grid-template-areas: \"list list list list list . . .\";\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterMedium} - 4 * #{$gridGutterMedium}) / 5 * 8) + 7 * #{$gridGutterMedium} + #{$gridGutterMedium});\n }\n\n @include mq($from: large) {\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterLarge} - 4 * #{$gridGutterLarge}) / 5 * 8) + 7 * #{$gridGutterLarge} + #{$gridGutterLarge});\n }\n\n @include mq($from: ultra) {\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterUltra} - 4 * #{$gridGutterUltra}) / 5 * 8) + 7 * #{$gridGutterUltra} + #{$gridGutterUltra});\n }\n\n /* Reset layout inside certain components */\n\n stzh-datalist,\n stzh-eventdata {\n /* Text Layout */\n\n @include mq($from: small) {\n --stzh-text-display: block;\n --stzh-richtext-display: block;\n }\n }\n\n stzh-section[variant=\"highlight\"],\n stzh-ghettobox,\n stzh-message,\n stzh-toast,\n stzh-tooltip,\n stzh-popover,\n stzh-accordion,\n stzh-timeline,\n stzh-twocolumns,\n stzh-textandimage,\n stzh-datalist stzh-datalist,\n stzh-dialog,\n stzh-overlay {\n /* CTA Layout */\n\n @include mq($from: small) {\n --stzh-cta-small-grid-template-areas: \"cta cta cta cta\";\n }\n\n @include mq($from: medium) {\n --stzh-cta-grid-template-areas: \"cta cta cta cta cta cta cta cta\";\n --stzh-cta-small-grid-template-areas: \"cta cta cta cta cta cta cta cta\";\n }\n\n /* Text Layout */\n\n @include mq($from: small) {\n --stzh-text-display: block;\n --stzh-richtext-display: block;\n }\n\n /* Datalist Layout */\n\n @include mq($from: small) {\n --stzh-datalist-grid-template-areas: \"list list list list\";\n // breakout with details element inside datalist-item\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterSmall} - 2 * #{$gridGutterSmall}) / 4 * 4) + 3 * #{$gridGutterSmall} + #{$gridGutterSmall});\n }\n\n @include mq($from: medium) {\n --stzh-datalist-grid-template-areas: \"list list list list list list list list\";\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterMedium} - 4 * #{$gridGutterMedium}) / 8 * 8) + 7 * #{$gridGutterMedium} + #{$gridGutterMedium});\n }\n\n @include mq($from: large) {\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterLarge} - 4 * #{$gridGutterLarge}) / 8 * 8) + 7 * #{$gridGutterLarge} + #{$gridGutterLarge});\n }\n\n @include mq($from: ultra) {\n --stzh-datalist-details-content-width: calc(((100% - #{$gridGutterUltra} - 4 * #{$gridGutterUltra}) / 8 * 8) + 7 * #{$gridGutterUltra} + #{$gridGutterUltra});\n }\n }\n }\n}\n\n.stzh-content {\n // set nested content elements to be fullwidth\n --stzh-content-grid-template-areas: \"content content content content content content content content content content content content\";\n --stzh-content-shifted-grid-template-areas: \"content content content content content content content content content content content content\";\n --stzh-content-full-grid-template-areas: \"content content content content content content content content content content content content\";\n\n @include grid;\n grid-template-areas: var(--grid-template-areas);\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n} from \"@stencil/core\";\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-content\",\n styleUrl: \"stzh-content.scss\",\n scoped: true\n})\nexport class StzhContent {\n /** Variant */\n @Prop({ reflect: true }) variant: \"default\" | \"shifted\" | \"full\" = \"default\";\n\n /** Prevent changing layout of elements within this content element */\n @Prop({ reflect: true }) preventElementLayout = false;\n\n @Element() element: HTMLStzhContentElement;\n\n render() {\n const classes = {\n \"stzh-content\": true,\n [`stzh-content--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div class={classes}>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAiB,ssnB,MCgBVC,EAAW,M,sCAE6C,U,0BAGnB,K,CAIhD,MAAAC,GACE,MAAMC,EAAU,CACd,eAAgB,KAChB,CAAC,iBAAiBC,KAAKC,aAAcD,KAAKC,SAG5C,OACEC,EAACC,EAAI,KACHD,EAAA,OAAKE,MAAOL,GACVG,EAAA,c"}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e,F as o,a as i,g as s}from"./p-c7bfac7a.js";import{s as r,h as n}from"./p-7e304ea3.js";import"./p-9b063923.js";const h=":host{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;}:host[hidden]{display:none}:host::-moz-selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-footer{--background-color:var(--stzh-footer-background-color)}@media print{stzh-footer{display:none}}.stzh-footer{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;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);background-color:var(--background-color);--stzh-flyingfocus-color:var(--stzh-color-white);--stzh-base-color:var(--stzh-color-white70op);--stzh-link-color:var(--stzh-color-white70op);--stzh-link-hover-color:var(--stzh-color-white);--stzh-link-text-decoration-line:none;--stzh-link-hover-text-decoration-line:none;}.stzh-footer[hidden]{display:none}.stzh-footer::-moz-selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.stzh-footer::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::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)}.stzh-footer .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.stzh-footer .stzh-fylingfocus-focused{outline-style:none !important}.stzh-footer .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-footer [slot=logo],.stzh-footer [slot=logo] img{display:block;height:2.375rem}.stzh-footer [slot=info]{margin:0}.stzh-footer__wrapper{margin-left:1.25rem;margin-right:1.25rem;padding:var(--stzh-space-xlarge) 0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--stzh-space-xlarge)}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-footer__wrapper{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-footer__wrapper{margin-left:auto;margin-right:auto;max-width:84.25rem}}@media screen and (min-width: 900px){.stzh-footer__wrapper{flex-direction:row;align-items:center;justify-content:space-between}}.stzh-footer__menu{background-color:var(--stzh-color-primary80)}.stzh-footer__menu-inner{margin-left:1.25rem;margin-right:1.25rem;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);display:flex;flex-direction:column;align-items:flex-start;padding:var(--stzh-space-xxlarge) 0;--stzh-link-height:2.75rem}@media screen and (min-width: 600px){.stzh-footer__menu-inner{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-footer__menu-inner{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__menu-inner{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-footer__menu-inner{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-footer__menu-inner:empty,.stzh-footer__logo:empty,.stzh-footer__info:empty,.stzh-footer__links:empty{display:none}.stzh-footer__copyright-wrapper{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;flex-direction:column;gap:var(--stzh-space-medium);color:var(--stzh-color-white)}@media screen and (min-width: 900px){.stzh-footer__copyright-wrapper{gap:var(--stzh-space-large);margin-right:auto}}.stzh-footer__copyright{display:flex;align-items:center;height:2.75rem}.stzh-footer__info{display:flex;flex-direction:column;align-items:flex-start;gap:var(--stzh-space-large)}.stzh-footer__links{--stzh-link-height:2.75rem}@media screen and (min-width: 900px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer slot-fb[name=link]:not([hidden]){display:flex;flex-direction:column;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__links,.stzh-footer slot-fb[name=link]:not([hidden]){flex-direction:row;align-items:center;gap:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-footer--has-logo .stzh-footer__wrapper,.stzh-footer--has-info .stzh-footer__wrapper{align-items:flex-start}}";const l=class{constructor(e){t(this,e);this.init=()=>{const t=this.element.querySelectorAll('stzh-link[slot="menu-link"], [slot="menu-link"] stzh-link');const e=this.element.querySelectorAll('stzh-link[slot="link"], [slot="link"] stzh-link');const o=this.element.querySelectorAll('stzh-text[slot="info"], [slot="info"] stzh-text');const i=this.element.querySelectorAll('stzh-link[slot="info"], [slot="info"] stzh-link');t.forEach((t=>{t.setAttribute("role","listitem");r(t,{size:"inherit"})}));e.forEach((t=>{t.setAttribute("role","listitem");r(t,{size:"inherit"})}));i.forEach((t=>{r(t,{size:"inherit"})}));o.forEach((t=>{r(t,{curve:"none"})}))};this.localization=undefined;this.copyright=undefined;this.variant="default";this.mainUrl="https://www.stadt-zuerich.ch"}async componentWillLoad(){if(typeof this.copyright==="undefined"){const t=new Date;this.copyright=`© ${t.getFullYear()} Stadt Zürich`}if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"footer")}}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 t=n(this.element,"logo");const s=n(this.element,"info");const r=n(this.element,"link");const h=n(this.element,"menu-link");const l={"stzh-footer":true,"stzh-footer--has-logo":t,"stzh-footer--has-info":s,"stzh-footer--has-links":r,"stzh-footer--has-menu-links":h};return e(i,null,e("footer",{class:l},e("div",{class:"stzh-footer__menu"},e("div",{class:"stzh-footer__menu-inner"},e("slot",{name:"menu-link"}))),e("div",{class:"stzh-footer__wrapper"},e("div",{class:"stzh-footer__copyright-wrapper"},this.copyright&&e("div",{class:"stzh-footer__copyright"},this.copyright),e("div",{class:"stzh-footer__logo"},e("slot",{name:"logo"}))),e("div",{class:"stzh-footer__info"},e("slot",{name:"info"})),e("div",{class:"stzh-footer__links",role:"list"},e("slot",{name:"link"},this.variant==="egov"&&e(o,null,e("stzh-link",{slot:"link",size:"inherit",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.legalNoticeUrl}`},this.localization.legalNoticeText),e("stzh-link",{slot:"link",size:"inherit",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.imprintUrl}`},this.localization.imprintText),e("stzh-link",{slot:"link",size:"inherit",class:"stzh-footer__link",target:"_blank",href:`${this.mainUrl}/${this.localization.accessibilityUrl}`},this.localization.accessibilityText)))))))}get element(){return s(this)}};l.style=h;export{l as stzh_footer};
2
+ //# sourceMappingURL=p-fdd6e755.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhFooterCss","StzhFooter","this","init","menuLinks","element","querySelectorAll","links","infoTexts","infoLinks","forEach","link","setAttribute","setPropsIfNull","size","curve","componentWillLoad","copyright","currentDate","Date","getFullYear","localization","window","stzhComponents","utils","fetchTranslations","connectedCallback","observer","MutationObserver","observe","childList","subtree","disconnectedCallback","disconnect","render","logoSlotUsed","hasSlot","infoSlotUsed","linkSlotUsed","menuLinkSlotUsed","classes","h","Host","class","name","role","variant","Fragment","slot","target","href","mainUrl","legalNoticeUrl","legalNoticeText","imprintUrl","imprintText","accessibilityUrl","accessibilityText"],"sources":["src/components/stzh-footer/stzh-footer.scss?tag=stzh-footer","src/components/stzh-footer/stzh-footer.tsx"],"sourcesContent":["stzh-footer {\n --background-color: #{$footerBackgroundColor};\n\n @media print {\n display: none;\n }\n}\n\n.stzh-footer {\n @include host;\n @include fontSize('micro');\n background-color: var(--background-color);\n\n --stzh-flyingfocus-color: #{$colorWhite};\n --stzh-base-color: #{$colorWhite70op};\n --stzh-link-color: #{$colorWhite70op};\n --stzh-link-hover-color: #{$colorWhite};\n --stzh-link-text-decoration-line: none;\n --stzh-link-hover-text-decoration-line: none;\n\n [slot=\"logo\"],\n [slot=\"logo\"] img {\n display: block;\n height: 38px;\n }\n\n [slot=\"info\"] {\n margin: 0;\n }\n\n &__wrapper {\n @include container;\n padding: space('xlarge') 0;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: space('xlarge');\n\n @include mq($from: medium) {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n }\n }\n\n &__menu {\n background-color: $colorPrimary80;\n }\n\n &__menu-inner {\n @include container;\n @include fontSize('centi');\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n padding: space('xxlarge') 0;\n\n --stzh-link-height: 44px;\n }\n\n &__menu-inner,\n &__logo,\n &__info,\n &__links {\n &:empty {\n display: none;\n }\n }\n\n &__copyright-wrapper {\n @include fontSize('milli');\n display: flex;\n flex-direction: column;\n gap: space('medium');\n color: $colorWhite;\n\n @include mq($from: medium) {\n gap: space('large');\n margin-right: auto;\n }\n }\n\n &__copyright {\n display: flex;\n align-items: center;\n height: 44px;\n }\n\n &__info {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: space('large');\n }\n\n &__links {\n --stzh-link-height: 44px;\n\n @include mq($from: medium) {\n margin-left: auto;\n }\n }\n\n &__links,\n slot-fb[name=\"link\"]:not([hidden]) {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n\n @include mq($from: small) {\n flex-direction: row;\n align-items: center;\n gap: space('large');\n }\n }\n\n /* Logo or info filled variant */\n\n &--has-logo &__wrapper,\n &--has-info &__wrapper {\n @include mq($from: medium) {\n align-items: flex-start;\n }\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Fragment,\n} from \"@stencil/core\";\n\nimport { StzhFooterLocalizedText } from './stzh-footer.localization';\n\nimport { hasSlot, setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot menu-link - Slot for menu links (`stzh-link` elements)\n * @slot logo - Slot for logo `img`\n * @slot info - Slot for info content (`stzh-link` or `stzh-text` elements)\n * @slot link - Slot for meta links (`stzh-link` elements)\n */\n@Component({\n tag: \"stzh-footer\",\n styleUrl: \"stzh-footer.scss\"\n})\nexport class StzhFooter {\n /** Translation strings */\n @Prop() localization: StzhFooterLocalizedText;\n\n /** Copyright text (will show default copyright string if undefined) */\n @Prop() copyright: string;\n\n /** Footer variant */\n @Prop() variant: \"default\" | \"egov\" = \"default\";\n\n /** Main URL for shortlinks */\n @Prop() mainUrl: string = \"https://www.stadt-zuerich.ch\";\n\n @Element() element: HTMLStzhFooterElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const menuLinks = this.element.querySelectorAll('stzh-link[slot=\"menu-link\"], [slot=\"menu-link\"] stzh-link');\n const links = this.element.querySelectorAll('stzh-link[slot=\"link\"], [slot=\"link\"] stzh-link');\n const infoTexts = this.element.querySelectorAll('stzh-text[slot=\"info\"], [slot=\"info\"] stzh-text');\n const infoLinks = this.element.querySelectorAll('stzh-link[slot=\"info\"], [slot=\"info\"] stzh-link');\n\n menuLinks.forEach((link) => {\n link.setAttribute(\"role\", \"listitem\");\n\n setPropsIfNull(link, {\n size: \"inherit\"\n } as HTMLStzhLinkElement);\n });\n\n links.forEach((link) => {\n link.setAttribute(\"role\", \"listitem\");\n\n setPropsIfNull(link, {\n size: \"inherit\"\n } as HTMLStzhLinkElement);\n });\n\n infoLinks.forEach((link) => {\n setPropsIfNull(link, {\n size: \"inherit\"\n } as HTMLStzhLinkElement);\n });\n\n infoTexts.forEach((link) => {\n setPropsIfNull(link, {\n curve: \"none\"\n } as HTMLStzhTextElement);\n });\n }\n\n async componentWillLoad() {\n if (typeof this.copyright === \"undefined\") {\n const currentDate = new Date();\n this.copyright = `© ${currentDate.getFullYear()} Stadt Zürich`;\n }\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, 'footer');\n }\n }\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const logoSlotUsed = hasSlot(this.element, \"logo\");\n const infoSlotUsed = hasSlot(this.element, \"info\");\n const linkSlotUsed = hasSlot(this.element, \"link\");\n const menuLinkSlotUsed = hasSlot(this.element, \"menu-link\");\n\n const classes = {\n \"stzh-footer\": true,\n \"stzh-footer--has-logo\": logoSlotUsed,\n \"stzh-footer--has-info\": infoSlotUsed,\n \"stzh-footer--has-links\": linkSlotUsed,\n \"stzh-footer--has-menu-links\": menuLinkSlotUsed\n };\n\n return (\n <Host>\n <footer class={classes}>\n <div class=\"stzh-footer__menu\">\n <div class=\"stzh-footer__menu-inner\">\n <slot name=\"menu-link\"></slot>\n </div>\n </div>\n <div class=\"stzh-footer__wrapper\">\n <div class=\"stzh-footer__copyright-wrapper\">\n {this.copyright &&\n <div class=\"stzh-footer__copyright\">\n {this.copyright}\n </div>\n }\n <div class=\"stzh-footer__logo\">\n <slot name=\"logo\"></slot>\n </div>\n </div>\n\n <div class=\"stzh-footer__info\">\n <slot name=\"info\"></slot>\n </div>\n\n <div class=\"stzh-footer__links\" role=\"list\">\n <slot name=\"link\">\n {this.variant === \"egov\" &&\n <Fragment>\n <stzh-link\n slot=\"link\"\n size=\"inherit\"\n target=\"_blank\"\n class=\"stzh-footer__link\"\n href={`${this.mainUrl}/${this.localization.legalNoticeUrl}`}\n >\n {this.localization.legalNoticeText}\n </stzh-link>\n <stzh-link\n slot=\"link\"\n size=\"inherit\"\n target=\"_blank\"\n class=\"stzh-footer__link\"\n href={`${this.mainUrl}/${this.localization.imprintUrl}`}\n >\n {this.localization.imprintText}\n </stzh-link>\n <stzh-link\n slot=\"link\"\n size=\"inherit\"\n class=\"stzh-footer__link\"\n target=\"_blank\"\n href={`${this.mainUrl}/${this.localization.accessibilityUrl}`}\n >\n {this.localization.accessibilityText}\n </stzh-link>\n </Fragment>\n }\n </slot>\n </div>\n </div>\n </footer>\n </Host>\n );\n }\n}\n"],"mappings":"mIAAA,MAAMA,EAAgB,y4K,MCuBTC,EAAU,M,yBAiBbC,KAAAC,KAAO,KACb,MAAMC,EAAYF,KAAKG,QAAQC,iBAAiB,6DAChD,MAAMC,EAAQL,KAAKG,QAAQC,iBAAiB,mDAC5C,MAAME,EAAYN,KAAKG,QAAQC,iBAAiB,mDAChD,MAAMG,EAAYP,KAAKG,QAAQC,iBAAiB,mDAEhDF,EAAUM,SAASC,IACjBA,EAAKC,aAAa,OAAQ,YAE1BC,E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