@oiz/stzh-components 4.14.0-beta1 → 4.14.0-beta2

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 (627) hide show
  1. package/dist/cjs/{index-BjyL8NcL.js → index-8pIS_zqo.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
  4. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  5. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  6. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  25. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-components.cjs.js +1 -1
  30. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  65. package/dist/cjs/{stzh-input-description-CAYSgH8K.js → stzh-input-description-DWYIX4rj.js} +1 -1
  66. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  67. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  68. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  72. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  97. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  102. package/dist/cjs/stzh-search.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-show.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  107. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-timeline-item.cjs.entry.js +2 -2
  119. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  123. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  124. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  128. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  135. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +0 -4
  136. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +1 -9
  137. package/dist/components/index.js +2 -2
  138. package/dist/components/{p-UOXX4td7.js → p-2IanoK6f.js} +10 -10
  139. package/dist/components/{p-i0cZMmrd.js → p-2eHByO1P.js} +2 -2
  140. package/dist/components/{p-D3sOQDxz.js → p-3Ua0UDJJ.js} +6 -6
  141. package/dist/components/{p-Bt9uiQ1v.js → p-4kJS088Z.js} +1 -1
  142. package/dist/components/{p-CBOJCWB7.js → p-5gaDXIxD.js} +5 -5
  143. package/dist/components/{p-wIymabO8.js → p-6yo1sg5m.js} +1 -1
  144. package/dist/components/{p-CHyYIJpm.js → p-8EMsIQw7.js} +5 -5
  145. package/dist/components/{p-DsgUX28Z.js → p-B6GMY7LV.js} +2 -2
  146. package/dist/components/{p-CvBWG31G.js → p-BH9Bs6qn.js} +2 -2
  147. package/dist/components/{p-BMv7sSvH.js → p-BHbEjc4x.js} +4 -4
  148. package/dist/components/{p-DnvMN_b9.js → p-BMqbzRUD.js} +2 -2
  149. package/dist/components/{p-BjqyYqFW.js → p-BOQpiUeo.js} +3 -3
  150. package/dist/components/{p-Cp02ugtk.js → p-BOr0_MQa.js} +4 -4
  151. package/dist/components/{p-Dfd_RRRl.js → p-BQHGXh_b.js} +1 -1
  152. package/dist/components/{p-HNkHGJ14.js → p-BQbRJRFi.js} +1 -1
  153. package/dist/components/{p-DjpPphjj.js → p-BRBZLS7B.js} +5 -5
  154. package/dist/components/{p-DnqIc6zY.js → p-BTjiX1Y0.js} +3 -3
  155. package/dist/components/{p-DKd1JxAL.js → p-BZ34QLgO.js} +1 -1
  156. package/dist/components/{p-8gU3RSt8.js → p-BbFfhoBL.js} +1 -1
  157. package/dist/components/{p-Dw4bMcwB.js → p-Behwp7NV.js} +1 -1
  158. package/dist/components/{p-DCT5VT3M.js → p-BloYT0LY.js} +7 -7
  159. package/dist/components/{p-Bj_U__pI.js → p-Bq5Q3kWn.js} +1 -1
  160. package/dist/components/{p-DIqSS9ry.js → p-BrZnz58u.js} +1 -1
  161. package/dist/components/{p-DHJ8KZwl.js → p-BrrVCt_R.js} +8 -8
  162. package/dist/components/{p-DKqV_9uA.js → p-BssCZb6Z.js} +4 -4
  163. package/dist/components/{p-B26HCQs-.js → p-BzQSGrtD.js} +1 -1
  164. package/dist/components/{p-DYEZYm_O.js → p-C8WzRCnK.js} +5 -5
  165. package/dist/components/{p-h9fKsq5B.js → p-CChlc2sd.js} +1 -1
  166. package/dist/components/{p-CeAUcqgd.js → p-CHgu01jm.js} +1 -1
  167. package/dist/components/{p-BkhRIMVJ.js → p-CJTxKmUX.js} +2 -2
  168. package/dist/components/{p-yN9c1DyI.js → p-CQnZmf9r.js} +1 -1
  169. package/dist/components/{p-Dor0XEly.js → p-CVGku1o-.js} +7 -7
  170. package/dist/components/{p-B7NezdKD.js → p-CVLlD_E2.js} +1 -1
  171. package/dist/components/{p-Do-CiF9w.js → p-CZplQgZu.js} +1 -1
  172. package/dist/components/{p--u95wToN.js → p-CbDFy9Fo.js} +3 -3
  173. package/dist/components/{p-D9eLTQd-.js → p-Cjs7Jcse.js} +1 -1
  174. package/dist/components/{p-RMGZWVav.js → p-ClfdOAMy.js} +1 -1
  175. package/dist/components/{p-Cid4uNNv.js → p-Cm1c1N2x.js} +1 -1
  176. package/dist/components/{p-DjCjEAVQ.js → p-CmFWMe-3.js} +5 -5
  177. package/dist/components/{p-DeBWkSxo.js → p-CpzHBI6X.js} +1 -1
  178. package/dist/components/{p-D6E6F4aF.js → p-CtBT-VCd.js} +5 -5
  179. package/dist/components/{p-8q4PHJXa.js → p-CtzFNHLa.js} +2 -2
  180. package/dist/components/{p-C_PfpEL0.js → p-Cx2JWcaO.js} +4 -4
  181. package/dist/components/{p-DkNgNpXb.js → p-D-4Jhh4z.js} +1 -1
  182. package/dist/components/{p-Br07rhm8.js → p-D-jcH-4I.js} +3 -3
  183. package/dist/components/{p-Bhtzoqfa.js → p-DMX6uiZb.js} +1 -1
  184. package/dist/components/{p-DCsBYLeO.js → p-DOqosYZr.js} +9 -9
  185. package/dist/components/{p-DwFJ-Wxd.js → p-DRrB9gB5.js} +2 -2
  186. package/dist/components/{p-m8afbhwM.js → p-DVO_TIwx.js} +1 -1
  187. package/dist/components/{p-r4YxGjy1.js → p-DVf2uZyT.js} +4 -4
  188. package/dist/components/{p-B1BwDtqN.js → p-Dc6uF5_x.js} +5 -5
  189. package/dist/components/{p-BCEgoUas.js → p-DeMs1oiH.js} +5 -5
  190. package/dist/components/{p-wxRxj6hm.js → p-Dfl1Nkmr.js} +6 -6
  191. package/dist/components/{p-Bf1Q575A.js → p-Dnc0DTZ5.js} +9 -9
  192. package/dist/components/{p-S7fOqfOp.js → p-DoUnSYSA.js} +5 -5
  193. package/dist/components/{p-ufvUzT-J.js → p-DtptXwIF.js} +9 -9
  194. package/dist/components/{p-Bg977459.js → p-Du-frgAm.js} +7 -7
  195. package/dist/components/{p-D585JdEP.js → p-DwcMcEkY.js} +1 -1
  196. package/dist/components/{p-DYUAT-g1.js → p-Dwn3qUNg.js} +1 -1
  197. package/dist/components/{p-DX5Q3fDQ.js → p-Dzj_-yk5.js} +1 -1
  198. package/dist/components/{p-DdmoIwC5.js → p-EAo1u3f4.js} +1 -1
  199. package/dist/components/{p-LfpauPL4.js → p-ED51q73M.js} +10 -10
  200. package/dist/components/{p-hpTi-ftL.js → p-PLkCSgMP.js} +7 -7
  201. package/dist/components/{p-BSHphqyH.js → p-UXlY8dSP.js} +1 -1
  202. package/dist/components/{p-CSrWsVkq.js → p-Z7XNPwIt.js} +4 -4
  203. package/dist/components/{p-DkHLvEs_.js → p-apzDzwmA.js} +1 -1
  204. package/dist/components/{p-ar7AR0d8.js → p-dLOXXDZv.js} +1 -1
  205. package/dist/components/{p-k67lKTGz.js → p-l2VklTZX.js} +1 -1
  206. package/dist/components/stzh-accordion-item.js +1 -1
  207. package/dist/components/stzh-accordion.js +1 -1
  208. package/dist/components/stzh-actions.js +1 -1
  209. package/dist/components/stzh-actionset.js +1 -1
  210. package/dist/components/stzh-amount.js +9 -9
  211. package/dist/components/stzh-anchornav.js +5 -5
  212. package/dist/components/stzh-app-nav.js +1 -1
  213. package/dist/components/stzh-appointments.js +13 -13
  214. package/dist/components/stzh-archivelist.js +7 -7
  215. package/dist/components/stzh-audio.js +5 -5
  216. package/dist/components/stzh-badge.js +1 -1
  217. package/dist/components/stzh-banner.js +4 -4
  218. package/dist/components/stzh-breadcrumb.js +1 -1
  219. package/dist/components/stzh-button.js +1 -1
  220. package/dist/components/stzh-buttongroup.js +1 -1
  221. package/dist/components/stzh-calendar.js +1 -1
  222. package/dist/components/stzh-card-navigation.js +2 -2
  223. package/dist/components/stzh-card-searchresult.js +14 -14
  224. package/dist/components/stzh-card-superteaser.js +14 -14
  225. package/dist/components/stzh-card.js +1 -1
  226. package/dist/components/stzh-cardlist.js +1 -1
  227. package/dist/components/stzh-carousel.js +1 -1
  228. package/dist/components/stzh-cell.js +1 -1
  229. package/dist/components/stzh-chart.js +1 -1
  230. package/dist/components/stzh-checkbox.js +1 -1
  231. package/dist/components/stzh-checkboxgroup.js +5 -5
  232. package/dist/components/stzh-chip.js +1 -1
  233. package/dist/components/stzh-chipgroup.js +1 -1
  234. package/dist/components/stzh-chipselect.js +1 -1
  235. package/dist/components/stzh-clamp.js +1 -1
  236. package/dist/components/stzh-company-logo.js +1 -1
  237. package/dist/components/stzh-contact-cv.js +4 -4
  238. package/dist/components/stzh-contact.js +10 -10
  239. package/dist/components/stzh-container.js +1 -1
  240. package/dist/components/stzh-content.js +1 -1
  241. package/dist/components/stzh-cspace.js +1 -1
  242. package/dist/components/stzh-cta.js +3 -3
  243. package/dist/components/stzh-datalist-item.js +1 -1
  244. package/dist/components/stzh-datalist.js +1 -1
  245. package/dist/components/stzh-datamessagelist-item.js +11 -11
  246. package/dist/components/stzh-datamessagelist.js +1 -1
  247. package/dist/components/stzh-datatable.js +16 -16
  248. package/dist/components/stzh-datepicker.js +1 -1
  249. package/dist/components/stzh-daterange.js +4 -4
  250. package/dist/components/stzh-details.js +1 -1
  251. package/dist/components/stzh-dialog.js +1 -1
  252. package/dist/components/stzh-disturber.js +4 -4
  253. package/dist/components/stzh-dropdown.js +1 -1
  254. package/dist/components/stzh-editor.js +4 -4
  255. package/dist/components/stzh-eventdata.js +1 -1
  256. package/dist/components/stzh-eventinfo.js +5 -5
  257. package/dist/components/stzh-feedreader-item.js +2 -2
  258. package/dist/components/stzh-feedreader.js +8 -8
  259. package/dist/components/stzh-fieldset.js +1 -1
  260. package/dist/components/stzh-figure.js +1 -1
  261. package/dist/components/stzh-flyingfocus.js +1 -1
  262. package/dist/components/stzh-footer.js +4 -4
  263. package/dist/components/stzh-gallery.js +8 -8
  264. package/dist/components/stzh-geo-ref-data.js +24 -24
  265. package/dist/components/stzh-ghettobox.js +4 -4
  266. package/dist/components/stzh-header.js +1 -1
  267. package/dist/components/stzh-heading.js +1 -1
  268. package/dist/components/stzh-homepage-search.js +2 -2
  269. package/dist/components/stzh-homepage-service-highlights.js +6 -6
  270. package/dist/components/stzh-hr.js +1 -1
  271. package/dist/components/stzh-hspace.js +1 -1
  272. package/dist/components/stzh-http-error.js +6 -6
  273. package/dist/components/stzh-icon.js +1 -1
  274. package/dist/components/stzh-iframe.js +1 -1
  275. package/dist/components/stzh-imagecomparison.js +2 -2
  276. package/dist/components/stzh-input.js +1 -1
  277. package/dist/components/stzh-invert.js +1 -1
  278. package/dist/components/stzh-link.js +1 -1
  279. package/dist/components/stzh-linklist.js +10 -10
  280. package/dist/components/stzh-list-item.js +1 -1
  281. package/dist/components/stzh-list.js +1 -1
  282. package/dist/components/stzh-loader.js +1 -1
  283. package/dist/components/stzh-loadingbar.js +1 -1
  284. package/dist/components/stzh-menu-item.js +1 -1
  285. package/dist/components/stzh-menu.js +1 -1
  286. package/dist/components/stzh-message.js +1 -1
  287. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  288. package/dist/components/stzh-monthyearpicker.js +5 -5
  289. package/dist/components/stzh-offline-indicator.js +6 -6
  290. package/dist/components/stzh-olmap.js +1 -1
  291. package/dist/components/stzh-overlay.js +1 -1
  292. package/dist/components/stzh-page-skiplinks.js +1 -1
  293. package/dist/components/stzh-pagebottom.js +8 -8
  294. package/dist/components/stzh-pagecontent.js +1 -1
  295. package/dist/components/stzh-pagetitle-hero.js +1 -1
  296. package/dist/components/stzh-pagetitle-home.js +2 -2
  297. package/dist/components/stzh-pagetitle.js +2 -2
  298. package/dist/components/stzh-pagination.js +1 -1
  299. package/dist/components/stzh-panorama.js +11 -11
  300. package/dist/components/stzh-pi-content-navigation.js +3 -3
  301. package/dist/components/stzh-pi-menu.js +3 -3
  302. package/dist/components/stzh-pi-pagetitle.js +2 -2
  303. package/dist/components/stzh-pi-quote.js +1 -1
  304. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  305. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  306. package/dist/components/stzh-pi-teaser.js +2 -2
  307. package/dist/components/stzh-pkzh-qr.js +20 -20
  308. package/dist/components/stzh-popover.js +1 -1
  309. package/dist/components/stzh-print.js +1 -1
  310. package/dist/components/stzh-quote.js +1 -1
  311. package/dist/components/stzh-radio.js +1 -1
  312. package/dist/components/stzh-radiogroup.js +1 -1
  313. package/dist/components/stzh-rating.js +5 -5
  314. package/dist/components/stzh-ratio.js +1 -1
  315. package/dist/components/stzh-readspeaker.js +4 -4
  316. package/dist/components/stzh-richtext.js +2 -2
  317. package/dist/components/stzh-row.js +1 -1
  318. package/dist/components/stzh-saptcha.js +7 -7
  319. package/dist/components/stzh-scrollup.js +1 -1
  320. package/dist/components/stzh-search.js +16 -16
  321. package/dist/components/stzh-section.js +1 -1
  322. package/dist/components/stzh-share.js +1 -1
  323. package/dist/components/stzh-show.js +1 -1
  324. package/dist/components/stzh-sitemap.js +9 -9
  325. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  326. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  327. package/dist/components/stzh-skiplink.js +1 -1
  328. package/dist/components/stzh-socialmediastream-item.js +1 -1
  329. package/dist/components/stzh-socialmediastream.js +6 -6
  330. package/dist/components/stzh-sortable.js +1 -1
  331. package/dist/components/stzh-space.js +1 -1
  332. package/dist/components/stzh-status.js +1 -1
  333. package/dist/components/stzh-stepper-item.js +1 -1
  334. package/dist/components/stzh-stepper.js +3 -3
  335. package/dist/components/stzh-sticky-actions.js +2 -2
  336. package/dist/components/stzh-sticky.js +1 -1
  337. package/dist/components/stzh-table.js +1 -1
  338. package/dist/components/stzh-tag.js +1 -1
  339. package/dist/components/stzh-text.js +1 -1
  340. package/dist/components/stzh-textandimage.js +1 -1
  341. package/dist/components/stzh-timeline-item.js +4 -4
  342. package/dist/components/stzh-timeline.js +1 -1
  343. package/dist/components/stzh-timepicker.js +5 -5
  344. package/dist/components/stzh-toast.js +1 -1
  345. package/dist/components/stzh-toastbar.js +1 -1
  346. package/dist/components/stzh-toggle.js +5 -5
  347. package/dist/components/stzh-tooltip.js +1 -1
  348. package/dist/components/stzh-twocolumns.js +1 -1
  349. package/dist/components/stzh-upload.js +13 -13
  350. package/dist/components/stzh-vbz-carousel.js +2 -2
  351. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  352. package/dist/components/stzh-vbz-intro.js +5 -5
  353. package/dist/components/stzh-vbz-linechip.js +1 -1
  354. package/dist/components/stzh-vbz-majorticker.js +7 -7
  355. package/dist/components/stzh-vbz-ticker.js +7 -7
  356. package/dist/components/stzh-visuallyhidden.js +1 -1
  357. package/dist/components/stzh-vspace.js +1 -1
  358. package/dist/components/stzh-youtube.js +6 -6
  359. package/dist/esm/{index-vaw5DHDC.js → index-rujKGmCS.js} +1 -1
  360. package/dist/esm/loader.js +2 -2
  361. package/dist/esm/stzh-accordion_3.entry.js +2 -2
  362. package/dist/esm/stzh-actions_6.entry.js +1 -1
  363. package/dist/esm/stzh-actionset.entry.js +1 -1
  364. package/dist/esm/stzh-amount.entry.js +1 -1
  365. package/dist/esm/stzh-anchornav.entry.js +1 -1
  366. package/dist/esm/stzh-app-nav.entry.js +1 -1
  367. package/dist/esm/stzh-appointments.entry.js +1 -1
  368. package/dist/esm/stzh-archivelist.entry.js +1 -1
  369. package/dist/esm/stzh-audio.entry.js +1 -1
  370. package/dist/esm/stzh-badge_3.entry.js +1 -1
  371. package/dist/esm/stzh-banner.entry.js +1 -1
  372. package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
  373. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  374. package/dist/esm/stzh-calendar.entry.js +1 -1
  375. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  376. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  377. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  378. package/dist/esm/stzh-card_2.entry.js +1 -1
  379. package/dist/esm/stzh-carousel.entry.js +1 -1
  380. package/dist/esm/stzh-chart.entry.js +1 -1
  381. package/dist/esm/stzh-checkbox.entry.js +2 -2
  382. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  383. package/dist/esm/stzh-chip_2.entry.js +2 -2
  384. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  385. package/dist/esm/stzh-clamp.entry.js +1 -1
  386. package/dist/esm/stzh-company-logo.entry.js +1 -1
  387. package/dist/esm/stzh-components.js +2 -2
  388. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  389. package/dist/esm/stzh-contact.entry.js +1 -1
  390. package/dist/esm/stzh-container_2.entry.js +1 -1
  391. package/dist/esm/stzh-content.entry.js +1 -1
  392. package/dist/esm/stzh-cta.entry.js +1 -1
  393. package/dist/esm/stzh-datalist_3.entry.js +1 -1
  394. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  395. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  396. package/dist/esm/stzh-datatable.entry.js +1 -1
  397. package/dist/esm/stzh-datepicker_3.entry.js +2 -2
  398. package/dist/esm/stzh-daterange.entry.js +1 -1
  399. package/dist/esm/stzh-details.entry.js +1 -1
  400. package/dist/esm/stzh-dialog.entry.js +1 -1
  401. package/dist/esm/stzh-disturber.entry.js +1 -1
  402. package/dist/esm/stzh-dropdown.entry.js +2 -2
  403. package/dist/esm/stzh-editor.entry.js +1 -1
  404. package/dist/esm/stzh-eventdata.entry.js +1 -1
  405. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  406. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  407. package/dist/esm/stzh-feedreader.entry.js +1 -1
  408. package/dist/esm/stzh-figure.entry.js +1 -1
  409. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  410. package/dist/esm/stzh-footer.entry.js +1 -1
  411. package/dist/esm/stzh-gallery.entry.js +1 -1
  412. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  413. package/dist/esm/stzh-ghettobox.entry.js +1 -1
  414. package/dist/esm/stzh-header_3.entry.js +1 -1
  415. package/dist/esm/stzh-heading.entry.js +1 -1
  416. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  417. package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
  418. package/dist/esm/stzh-hr.entry.js +1 -1
  419. package/dist/esm/stzh-hspace.entry.js +1 -1
  420. package/dist/esm/stzh-http-error.entry.js +1 -1
  421. package/dist/esm/stzh-iframe.entry.js +1 -1
  422. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  423. package/dist/esm/{stzh-input-description-CxS5xIHN.js → stzh-input-description-Bsy8H9JX.js} +1 -1
  424. package/dist/esm/stzh-input.entry.js +2 -2
  425. package/dist/esm/stzh-invert.entry.js +1 -1
  426. package/dist/esm/stzh-link.entry.js +1 -1
  427. package/dist/esm/stzh-linklist.entry.js +1 -1
  428. package/dist/esm/stzh-list_2.entry.js +1 -1
  429. package/dist/esm/stzh-loader.entry.js +1 -1
  430. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  431. package/dist/esm/stzh-menu_2.entry.js +1 -1
  432. package/dist/esm/stzh-message.entry.js +1 -1
  433. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  434. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  435. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  436. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  437. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  438. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  439. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  440. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  441. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  442. package/dist/esm/stzh-panorama.entry.js +1 -1
  443. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  444. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  445. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  446. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  447. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  448. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  449. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  450. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  451. package/dist/esm/stzh-popover.entry.js +1 -1
  452. package/dist/esm/stzh-print_2.entry.js +1 -1
  453. package/dist/esm/stzh-quote.entry.js +1 -1
  454. package/dist/esm/stzh-rating.entry.js +2 -2
  455. package/dist/esm/stzh-ratio.entry.js +1 -1
  456. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  457. package/dist/esm/stzh-richtext.entry.js +1 -1
  458. package/dist/esm/stzh-saptcha.entry.js +1 -1
  459. package/dist/esm/stzh-scrollup.entry.js +1 -1
  460. package/dist/esm/stzh-search.entry.js +1 -1
  461. package/dist/esm/stzh-section.entry.js +1 -1
  462. package/dist/esm/stzh-show.entry.js +1 -1
  463. package/dist/esm/stzh-sitemap.entry.js +1 -1
  464. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  465. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  466. package/dist/esm/stzh-skiplink.entry.js +1 -1
  467. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  468. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  469. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  470. package/dist/esm/stzh-stepper.entry.js +1 -1
  471. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  472. package/dist/esm/stzh-sticky.entry.js +1 -1
  473. package/dist/esm/stzh-table.entry.js +1 -1
  474. package/dist/esm/stzh-text.entry.js +1 -1
  475. package/dist/esm/stzh-textandimage.entry.js +1 -1
  476. package/dist/esm/stzh-timeline-item.entry.js +2 -2
  477. package/dist/esm/stzh-timeline.entry.js +1 -1
  478. package/dist/esm/stzh-timepicker.entry.js +1 -1
  479. package/dist/esm/stzh-toast_2.entry.js +1 -1
  480. package/dist/esm/stzh-toggle.entry.js +2 -2
  481. package/dist/esm/stzh-tooltip.entry.js +1 -1
  482. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  483. package/dist/esm/stzh-upload.entry.js +2 -2
  484. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  485. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  486. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  487. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  488. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  489. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  490. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  491. package/dist/esm/stzh-vspace.entry.js +1 -1
  492. package/dist/esm/stzh-youtube.entry.js +1 -1
  493. package/dist/stzh-components/{p-ee85bbe5.entry.js → p-01e0939c.entry.js} +1 -1
  494. package/dist/stzh-components/{p-67695366.entry.js → p-047f1518.entry.js} +1 -1
  495. package/dist/stzh-components/{p-839bc37f.entry.js → p-059685c4.entry.js} +1 -1
  496. package/dist/stzh-components/{p-adc88b73.entry.js → p-0774cbf6.entry.js} +1 -1
  497. package/dist/stzh-components/{p-5b6fac92.entry.js → p-07a9613e.entry.js} +1 -1
  498. package/dist/stzh-components/{p-1c15b27c.entry.js → p-07be7dbd.entry.js} +1 -1
  499. package/dist/stzh-components/{p-b83652b4.entry.js → p-08537c2d.entry.js} +1 -1
  500. package/dist/stzh-components/{p-62666899.entry.js → p-0b98858f.entry.js} +1 -1
  501. package/dist/stzh-components/{p-37d89e58.entry.js → p-0bb65921.entry.js} +1 -1
  502. package/dist/stzh-components/{p-885a1508.entry.js → p-0c156e68.entry.js} +2 -2
  503. package/dist/stzh-components/{p-217b2534.entry.js → p-0e604008.entry.js} +1 -1
  504. package/dist/stzh-components/{p-3f0a62d5.entry.js → p-10f70012.entry.js} +1 -1
  505. package/dist/stzh-components/{p-a992f8d3.entry.js → p-11a7e43f.entry.js} +1 -1
  506. package/dist/stzh-components/{p-fe8b4c50.entry.js → p-124bb877.entry.js} +1 -1
  507. package/dist/stzh-components/{p-26855911.entry.js → p-1253a2cb.entry.js} +1 -1
  508. package/dist/stzh-components/{p-42bad0ae.entry.js → p-12597dcf.entry.js} +1 -1
  509. package/dist/stzh-components/{p-5b06fe27.entry.js → p-13cdfd2c.entry.js} +1 -1
  510. package/dist/stzh-components/{p-33250e04.entry.js → p-154da193.entry.js} +1 -1
  511. package/dist/stzh-components/{p-48fc7701.entry.js → p-1797c1fb.entry.js} +1 -1
  512. package/dist/stzh-components/{p-83068896.entry.js → p-18993354.entry.js} +2 -2
  513. package/dist/stzh-components/{p-6b864908.entry.js → p-1b1b45f3.entry.js} +1 -1
  514. package/dist/stzh-components/{p-4c851ccd.entry.js → p-1e0b66d9.entry.js} +1 -1
  515. package/dist/stzh-components/{p-26a0dba3.entry.js → p-23e6c077.entry.js} +1 -1
  516. package/dist/stzh-components/{p-626e8a09.entry.js → p-25d498e2.entry.js} +1 -1
  517. package/dist/stzh-components/{p-e8a7f73b.entry.js → p-25ed6414.entry.js} +3 -3
  518. package/dist/stzh-components/{p-031cce13.entry.js → p-2645c534.entry.js} +1 -1
  519. package/dist/stzh-components/{p-0b8c15fd.entry.js → p-28985f79.entry.js} +1 -1
  520. package/dist/stzh-components/{p-0c918333.entry.js → p-2c1f18da.entry.js} +1 -1
  521. package/dist/stzh-components/{p-ac731b57.entry.js → p-2cb9bf11.entry.js} +1 -1
  522. package/dist/stzh-components/{p-fe18f691.entry.js → p-2d25d6b5.entry.js} +1 -1
  523. package/dist/stzh-components/{p-2936725d.entry.js → p-2d6904f5.entry.js} +1 -1
  524. package/dist/stzh-components/{p-a428f563.entry.js → p-2e6e2139.entry.js} +1 -1
  525. package/dist/stzh-components/{p-a092e651.entry.js → p-314bc213.entry.js} +1 -1
  526. package/dist/stzh-components/{p-ad6ea33a.entry.js → p-34a83688.entry.js} +1 -1
  527. package/dist/stzh-components/{p-079b9c1b.entry.js → p-35521912.entry.js} +1 -1
  528. package/dist/stzh-components/{p-78953138.entry.js → p-362760a5.entry.js} +1 -1
  529. package/dist/stzh-components/{p-d591b8fb.entry.js → p-368a8190.entry.js} +1 -1
  530. package/dist/stzh-components/{p-7e492d4a.entry.js → p-372f2a83.entry.js} +1 -1
  531. package/dist/stzh-components/{p-e12cb068.entry.js → p-394b2965.entry.js} +1 -1
  532. package/dist/stzh-components/{p-7d329aa3.entry.js → p-398f4b13.entry.js} +1 -1
  533. package/dist/stzh-components/{p-471ea331.entry.js → p-3bd75f83.entry.js} +1 -1
  534. package/dist/stzh-components/{p-40436af3.entry.js → p-3bf1b2ea.entry.js} +1 -1
  535. package/dist/stzh-components/{p-b005769e.entry.js → p-3d3b5c7f.entry.js} +1 -1
  536. package/dist/stzh-components/{p-a9910a1d.entry.js → p-3e65aeea.entry.js} +1 -1
  537. package/dist/stzh-components/{p-729ff982.entry.js → p-3e8a5bfc.entry.js} +1 -1
  538. package/dist/stzh-components/{p-a29d99cd.entry.js → p-3ebad4a4.entry.js} +1 -1
  539. package/dist/stzh-components/{p-b9f7f0b4.entry.js → p-4186b088.entry.js} +1 -1
  540. package/dist/stzh-components/{p-8f5e2b97.entry.js → p-4c018ace.entry.js} +1 -1
  541. package/dist/stzh-components/{p-883d8884.entry.js → p-4cf82c8a.entry.js} +1 -1
  542. package/dist/stzh-components/{p-f8fdb699.entry.js → p-4d60e362.entry.js} +1 -1
  543. package/dist/stzh-components/{p-66a45b90.entry.js → p-4da549c3.entry.js} +1 -1
  544. package/dist/stzh-components/{p-5b250280.entry.js → p-4e15c0db.entry.js} +1 -1
  545. package/dist/stzh-components/{p-fb9db20a.entry.js → p-4fc34877.entry.js} +1 -1
  546. package/dist/stzh-components/{p-58bad9ed.entry.js → p-50397c15.entry.js} +1 -1
  547. package/dist/stzh-components/{p-7382f1c7.entry.js → p-54088bc2.entry.js} +1 -1
  548. package/dist/stzh-components/{p-5cd34d8c.entry.js → p-56b48a58.entry.js} +1 -1
  549. package/dist/stzh-components/{p-35dc89ce.entry.js → p-59e19f3c.entry.js} +1 -1
  550. package/dist/stzh-components/{p-2f153ff4.entry.js → p-5c3aa879.entry.js} +1 -1
  551. package/dist/stzh-components/{p-f8507949.entry.js → p-60ffcf44.entry.js} +1 -1
  552. package/dist/stzh-components/{p-40324acc.entry.js → p-64dba9aa.entry.js} +1 -1
  553. package/dist/stzh-components/{p-e2fca3d7.entry.js → p-67b0d92a.entry.js} +1 -1
  554. package/dist/stzh-components/{p-c53a51bc.entry.js → p-68411970.entry.js} +1 -1
  555. package/dist/stzh-components/{p-990c1275.entry.js → p-68d98588.entry.js} +1 -1
  556. package/dist/stzh-components/{p-cef1c8fb.entry.js → p-6bbb0faf.entry.js} +1 -1
  557. package/dist/stzh-components/{p-1948fc02.entry.js → p-6efe279c.entry.js} +1 -1
  558. package/dist/stzh-components/{p-dd22dd47.entry.js → p-7522786b.entry.js} +1 -1
  559. package/dist/stzh-components/{p-7e2ee96f.entry.js → p-793f2e6c.entry.js} +1 -1
  560. package/dist/stzh-components/{p-b281e83d.entry.js → p-796b2747.entry.js} +1 -1
  561. package/dist/stzh-components/{p-10a375fb.entry.js → p-7a3cd4d7.entry.js} +1 -1
  562. package/dist/stzh-components/{p-7c4f8d0c.entry.js → p-7b99a8d1.entry.js} +1 -1
  563. package/dist/stzh-components/{p-f4bc518e.entry.js → p-7d649a98.entry.js} +1 -1
  564. package/dist/stzh-components/{p-adcc3f8b.entry.js → p-80609cb6.entry.js} +2 -2
  565. package/dist/stzh-components/{p-2ae5255d.entry.js → p-80f76737.entry.js} +1 -1
  566. package/dist/stzh-components/{p-4e02b98d.entry.js → p-81aafe14.entry.js} +1 -1
  567. package/dist/stzh-components/{p-08a01416.entry.js → p-82ae6bd3.entry.js} +1 -1
  568. package/dist/stzh-components/{p-582bf2f8.entry.js → p-84935b91.entry.js} +1 -1
  569. package/dist/stzh-components/{p-8135cb30.entry.js → p-856d00c1.entry.js} +1 -1
  570. package/dist/stzh-components/{p-90ba18a3.entry.js → p-875ed12c.entry.js} +1 -1
  571. package/dist/stzh-components/{p-f8492b4a.entry.js → p-88657ea1.entry.js} +1 -1
  572. package/dist/stzh-components/{p-11a13fa2.entry.js → p-8b89f8ad.entry.js} +1 -1
  573. package/dist/stzh-components/{p-5afe7ac0.entry.js → p-8eda7909.entry.js} +1 -1
  574. package/dist/stzh-components/{p-e40b3463.entry.js → p-8f111abc.entry.js} +1 -1
  575. package/dist/stzh-components/{p-1f250fd2.entry.js → p-90109626.entry.js} +1 -1
  576. package/dist/stzh-components/{p-37e2fe17.entry.js → p-929cfd30.entry.js} +1 -1
  577. package/dist/stzh-components/{p-41494aab.entry.js → p-93d1fdd8.entry.js} +2 -2
  578. package/dist/stzh-components/{p-51b83f74.entry.js → p-95304149.entry.js} +1 -1
  579. package/dist/stzh-components/{p-8d22b955.entry.js → p-9a8dbc6b.entry.js} +1 -1
  580. package/dist/stzh-components/{p-0e4d10d3.entry.js → p-9b58ff08.entry.js} +1 -1
  581. package/dist/stzh-components/{p-d6cf94dd.entry.js → p-9b84bfb5.entry.js} +1 -1
  582. package/dist/stzh-components/{p-3791bf96.entry.js → p-9e1f7405.entry.js} +1 -1
  583. package/dist/stzh-components/{p-Y4KllhSj.js → p-DT3qkqDR.js} +1 -1
  584. package/dist/stzh-components/{p-f77cfa2a.entry.js → p-a3dcbe8b.entry.js} +1 -1
  585. package/dist/stzh-components/{p-f2c6cdde.entry.js → p-a44a094f.entry.js} +1 -1
  586. package/dist/stzh-components/{p-9edf375c.entry.js → p-a5b8489d.entry.js} +1 -1
  587. package/dist/stzh-components/{p-694a9726.entry.js → p-a74299ad.entry.js} +1 -1
  588. package/dist/stzh-components/{p-ae2f9084.entry.js → p-aaba1ec9.entry.js} +1 -1
  589. package/dist/stzh-components/{p-20545fdb.entry.js → p-ab3d16a0.entry.js} +1 -1
  590. package/dist/stzh-components/{p-79885f85.entry.js → p-abc50e36.entry.js} +1 -1
  591. package/dist/stzh-components/{p-a3f8128d.entry.js → p-ac8e22dd.entry.js} +1 -1
  592. package/dist/stzh-components/{p-12f1d9c4.entry.js → p-ad656e2b.entry.js} +1 -1
  593. package/dist/stzh-components/{p-950b3d22.entry.js → p-af0e4d4a.entry.js} +1 -1
  594. package/dist/stzh-components/{p-1fdc46c8.entry.js → p-b0851b31.entry.js} +1 -1
  595. package/dist/stzh-components/{p-1149308b.entry.js → p-b16d40e3.entry.js} +1 -1
  596. package/dist/stzh-components/p-b4b11070.entry.js +1 -0
  597. package/dist/stzh-components/{p-ed20c3ae.entry.js → p-b50ea8c5.entry.js} +1 -1
  598. package/dist/stzh-components/{p-9cb30e8e.entry.js → p-b543151f.entry.js} +1 -1
  599. package/dist/stzh-components/{p-7521adc5.entry.js → p-b5e9613e.entry.js} +1 -1
  600. package/dist/stzh-components/{p-bc3955eb.entry.js → p-b7094eb9.entry.js} +1 -1
  601. package/dist/stzh-components/{p-c0c243fb.entry.js → p-b7a81ffc.entry.js} +1 -1
  602. package/dist/stzh-components/{p-e83af57c.entry.js → p-bb36a7ef.entry.js} +1 -1
  603. package/dist/stzh-components/{p-ac273600.entry.js → p-be05d891.entry.js} +1 -1
  604. package/dist/stzh-components/{p-ec5ee193.entry.js → p-bf9261bf.entry.js} +1 -1
  605. package/dist/stzh-components/{p-e88593d4.entry.js → p-c2981027.entry.js} +1 -1
  606. package/dist/stzh-components/{p-c13d9d91.entry.js → p-c62e3c25.entry.js} +1 -1
  607. package/dist/stzh-components/{p-513f8a2c.entry.js → p-c6a1db6d.entry.js} +1 -1
  608. package/dist/stzh-components/{p-f7e95f22.entry.js → p-cd1a4971.entry.js} +1 -1
  609. package/dist/stzh-components/{p-ed6acd4c.entry.js → p-d1f7a4cc.entry.js} +1 -1
  610. package/dist/stzh-components/{p-fc9ab869.entry.js → p-d5044021.entry.js} +1 -1
  611. package/dist/stzh-components/{p-aae0d246.entry.js → p-d527095b.entry.js} +1 -1
  612. package/dist/stzh-components/{p-138acf47.entry.js → p-da15a687.entry.js} +1 -1
  613. package/dist/stzh-components/{p-ae6677bb.entry.js → p-dd09820e.entry.js} +1 -1
  614. package/dist/stzh-components/{p-e31e1d68.entry.js → p-deda4956.entry.js} +1 -1
  615. package/dist/stzh-components/{p-704f2459.entry.js → p-df80bda2.entry.js} +1 -1
  616. package/dist/stzh-components/{p-651445ea.entry.js → p-e03c85ef.entry.js} +1 -1
  617. package/dist/stzh-components/{p-9f7eabc0.entry.js → p-e3c944bc.entry.js} +1 -1
  618. package/dist/stzh-components/{p-1d96fb7d.entry.js → p-e48373cc.entry.js} +1 -1
  619. package/dist/stzh-components/{p-0e1e7514.entry.js → p-ec58716a.entry.js} +1 -1
  620. package/dist/stzh-components/{p-96ed46e7.entry.js → p-f1f35a30.entry.js} +1 -1
  621. package/dist/stzh-components/{p-393b570a.entry.js → p-f62e5e8d.entry.js} +1 -1
  622. package/dist/stzh-components/{p-018c5cc8.entry.js → p-fbfa5461.entry.js} +1 -1
  623. package/dist/stzh-components/{p-ae80343f.entry.js → p-fea993dc.entry.js} +1 -1
  624. package/dist/stzh-components/{p-vaw5DHDC.js → p-rujKGmCS.js} +1 -1
  625. package/dist/stzh-components/stzh-components.esm.js +1 -1
  626. package/package.json +1 -1
  627. package/dist/stzh-components/p-2cae7201.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,a as i,d as r}from"./p-vaw5DHDC.js";const s=class{constructor(e){t(this,e)}itemsWatcher(t){this._items="string"==typeof t?JSON.parse(t):t}async copyShortUrl(){var t;await navigator.clipboard.writeText(this.shortLink),null===(t=document.querySelector("stzh-toastbar"))||void 0===t||t.toast(this.localization.copySuccessToast,{type:"success"})}async componentWillLoad(){this.itemsWatcher(this.items),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"editor"))}render(){return e(i,{key:"2fbec1e2b953af41245171e7bdac0d42feebded5"},e("div",{key:"cfb22bfad83e3dbfb5020854b805a87c812f2269",class:{"stzh-editor":!0}},e("div",{key:"8be4762eb59437d1d6d90bed07617ce9f28dd68b",class:"stzh-editor__wrapper"},e("div",{key:"635678a07b80b5097ceeed32cb22654eed06ff69",class:"stzh-editor__wrapper_linklist"},e("h2",{key:"0a6dc319e1c6f10f45ff70c83cee4925d9730c4f",class:"stzh-editor__heading"},"string"==typeof this.heading?this.heading:this.localization.heading),e("ul",{key:"238cd9ee2401be6fbb2543d167a5ea3ec9104ea5",class:"stzh-editor__link-list"},this._items.map((t=>e("li",{class:"stzh-editor__link-item"},e("stzh-link",Object.assign({class:"stzh-editor__link"},t,{icon:void 0===t.icon?"arrow-right":t.icon,iconPosition:"right"}))))))),this.shortLink&&e("div",{key:"ac7319da6e1f212b381caf6451d3b784cae2b988",class:"stzh-editor__short-url-wrapper"},e("h2",{key:"cc42fc1fedbc5cc07d0b1fd4ed194b528c392383",class:"stzh-editor__heading"},this.localization.shortUrlHeading),e("div",{key:"1a9c7805d60cf47c828a4b180559fe850f0a9096",class:"stzh-editor__short-url"},e("stzh-link",{key:"5903ae736d8e0e7b069f6cdbe6827d73f7e03b80",class:"stzh-editor__url",label:this.shortLink,icon:"copy",iconPosition:"left",onStzhClick:()=>this.copyShortUrl(),variant:"back"}))))))}get element(){return r(this)}static get watchers(){return{items:[{itemsWatcher:0}]}}};s.style='.sc-stzh-editor-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-editor-h,[stzh-hidden].sc-stzh-editor-h{display:none}.sc-stzh-editor-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-editor-h *.sc-stzh-editor,.sc-stzh-editor-h *.sc-stzh-editor::before,.sc-stzh-editor-h *.sc-stzh-editor::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-editor-h .has-focus.sc-stzh-editor{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-editor-h .stzh-fylingfocus-focused.sc-stzh-editor{outline-style:none !important}.sc-stzh-editor-h .stzh-fylingfocus-focused.sc-stzh-editor::-moz-focus-inner{border:0 !important}.sc-stzh-editor-h{--background-color:var(--stzh-editor-background-color, var(--stzh-color-grey10));--grid-template-areas:"link-list" "url";--grid-template-columns:1fr}@media screen and (min-width: 1260px){.sc-stzh-editor-h{--grid-template-areas:"link-list url";--grid-template-columns:repeat(2, minmax(0, 1fr))}}@media print{.sc-stzh-editor-h{display:none}}.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-xxlarge, 32px)}}.stzh-editor.sc-stzh-editor{padding-bottom:var(--stzh-space-xxlarge, 32px)}@media screen and (min-width: 900px){.stzh-editor.sc-stzh-editor{padding-bottom:var(--stzh-space-xxxlarge, 40px)}}@media screen and (min-width: 1260px){.stzh-editor.sc-stzh-editor{padding-bottom:var(--stzh-space-xxxxlarge, 48px)}}.stzh-editor.sc-stzh-editor{background-color:var(--background-color)}.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin, 20px);margin-right:var(--stzh-container-margin, 20px)}@media screen and (min-width: 600px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin-small, 32px);margin-right:var(--stzh-container-margin-small, 32px)}}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin-medium, 40px);margin-right:var(--stzh-container-margin-medium, 40px)}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin-large, 64px);margin-right:var(--stzh-container-margin-large, 64px)}}@media screen and (min-width: 1600px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-editor__wrapper.sc-stzh-editor{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr))}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{grid-template-columns:repeat(12, minmax(0, 1fr))}}.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-large, 20px)}@media screen and (min-width: 600px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xxlarge, 32px)}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xxxlarge, 40px)}}.stzh-editor__wrapper.sc-stzh-editor{grid-template-columns:var(--grid-template-columns);grid-template-areas:var(--grid-template-areas)}@media screen and (max-width: 599px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xlarge, 24px)}}.stzh-editor_short-url-wrapper.sc-stzh-editor{grid-area:url}.stzh-editor_wrapper_linklist.sc-stzh-editor{grid-area:link-list}.stzh-editor__heading.sc-stzh-editor{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height))}@media screen and (min-width: 900px){.stzh-editor__heading.sc-stzh-editor{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}.stzh-editor__heading.sc-stzh-editor:not(:empty){margin-bottom:var(--stzh-space-medium, 16px)}.stzh-editor__link-list.sc-stzh-editor{list-style:none;margin:0;padding:0;display:grid}@media screen and (min-width: 900px){.stzh-editor__link-list.sc-stzh-editor{gap:var(--stzh-space-medium, 16px)}}';export{s as stzh_editor}
1
+ import{r as t,h as e,a as r,d as i}from"./p-rujKGmCS.js";const s=class{constructor(e){t(this,e)}itemsWatcher(t){this._items="string"==typeof t?JSON.parse(t):t}async copyShortUrl(){var t;await navigator.clipboard.writeText(this.shortLink),null===(t=document.querySelector("stzh-toastbar"))||void 0===t||t.toast(this.localization.copySuccessToast,{type:"success"})}async componentWillLoad(){this.itemsWatcher(this.items),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"editor"))}render(){return e(r,{key:"2fbec1e2b953af41245171e7bdac0d42feebded5"},e("div",{key:"cfb22bfad83e3dbfb5020854b805a87c812f2269",class:{"stzh-editor":!0}},e("div",{key:"8be4762eb59437d1d6d90bed07617ce9f28dd68b",class:"stzh-editor__wrapper"},e("div",{key:"635678a07b80b5097ceeed32cb22654eed06ff69",class:"stzh-editor__wrapper_linklist"},e("h2",{key:"0a6dc319e1c6f10f45ff70c83cee4925d9730c4f",class:"stzh-editor__heading"},"string"==typeof this.heading?this.heading:this.localization.heading),e("ul",{key:"238cd9ee2401be6fbb2543d167a5ea3ec9104ea5",class:"stzh-editor__link-list"},this._items.map((t=>e("li",{class:"stzh-editor__link-item"},e("stzh-link",Object.assign({class:"stzh-editor__link"},t,{icon:void 0===t.icon?"arrow-right":t.icon,iconPosition:"right"}))))))),this.shortLink&&e("div",{key:"ac7319da6e1f212b381caf6451d3b784cae2b988",class:"stzh-editor__short-url-wrapper"},e("h2",{key:"cc42fc1fedbc5cc07d0b1fd4ed194b528c392383",class:"stzh-editor__heading"},this.localization.shortUrlHeading),e("div",{key:"1a9c7805d60cf47c828a4b180559fe850f0a9096",class:"stzh-editor__short-url"},e("stzh-link",{key:"5903ae736d8e0e7b069f6cdbe6827d73f7e03b80",class:"stzh-editor__url",label:this.shortLink,icon:"copy",iconPosition:"left",onStzhClick:()=>this.copyShortUrl(),variant:"back"}))))))}get element(){return i(this)}static get watchers(){return{items:[{itemsWatcher:0}]}}};s.style='.sc-stzh-editor-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-editor-h,[stzh-hidden].sc-stzh-editor-h{display:none}.sc-stzh-editor-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-editor-h *.sc-stzh-editor,.sc-stzh-editor-h *.sc-stzh-editor::before,.sc-stzh-editor-h *.sc-stzh-editor::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-editor-h .has-focus.sc-stzh-editor{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-editor-h .stzh-fylingfocus-focused.sc-stzh-editor{outline-style:none !important}.sc-stzh-editor-h .stzh-fylingfocus-focused.sc-stzh-editor::-moz-focus-inner{border:0 !important}.sc-stzh-editor-h{--background-color:var(--stzh-editor-background-color, var(--stzh-color-grey10));--grid-template-areas:"link-list" "url";--grid-template-columns:1fr}@media screen and (min-width: 1260px){.sc-stzh-editor-h{--grid-template-areas:"link-list url";--grid-template-columns:repeat(2, minmax(0, 1fr))}}@media print{.sc-stzh-editor-h{display:none}}.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-editor.sc-stzh-editor{padding-top:var(--stzh-space-xxlarge, 32px)}}.stzh-editor.sc-stzh-editor{padding-bottom:var(--stzh-space-xxlarge, 32px)}@media screen and (min-width: 900px){.stzh-editor.sc-stzh-editor{padding-bottom:var(--stzh-space-xxxlarge, 40px)}}@media screen and (min-width: 1260px){.stzh-editor.sc-stzh-editor{padding-bottom:var(--stzh-space-xxxxlarge, 48px)}}.stzh-editor.sc-stzh-editor{background-color:var(--background-color)}.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin, 20px);margin-right:var(--stzh-container-margin, 20px)}@media screen and (min-width: 600px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin-small, 32px);margin-right:var(--stzh-container-margin-small, 32px)}}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin-medium, 40px);margin-right:var(--stzh-container-margin-medium, 40px)}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:var(--stzh-container-margin-large, 64px);margin-right:var(--stzh-container-margin-large, 64px)}}@media screen and (min-width: 1600px){.stzh-editor__wrapper.sc-stzh-editor{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-editor__wrapper.sc-stzh-editor{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-editor__wrapper.sc-stzh-editor{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr))}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{grid-template-columns:repeat(12, minmax(0, 1fr))}}.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-large, 20px)}@media screen and (min-width: 600px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 900px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xxlarge, 32px)}}@media screen and (min-width: 1260px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xxxlarge, 40px)}}.stzh-editor__wrapper.sc-stzh-editor{grid-template-columns:var(--grid-template-columns);grid-template-areas:var(--grid-template-areas)}@media screen and (max-width: 599px){.stzh-editor__wrapper.sc-stzh-editor{gap:var(--stzh-space-xlarge, 24px)}}.stzh-editor_short-url-wrapper.sc-stzh-editor{grid-area:url}.stzh-editor_wrapper_linklist.sc-stzh-editor{grid-area:link-list}.stzh-editor__heading.sc-stzh-editor{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height))}@media screen and (min-width: 900px){.stzh-editor__heading.sc-stzh-editor{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}.stzh-editor__heading.sc-stzh-editor:not(:empty){margin-bottom:var(--stzh-space-medium, 16px)}.stzh-editor__link-list.sc-stzh-editor{list-style:none;margin:0;padding:0;display:grid}@media screen and (min-width: 900px){.stzh-editor__link-list.sc-stzh-editor{gap:var(--stzh-space-medium, 16px)}}';export{s as stzh_editor}
@@ -1 +1 @@
1
- import{r as s,c as e,h as t,F as r,a,d as c}from"./p-vaw5DHDC.js";import{h,f as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const d=class{constructor(t){s(this,t),this.stzhClick=e(this,"stzhClick"),this.heading="",this.headingLevel="3",this.description="",this.datalistItems=[],this.placeholderImageEnabled=!1,this.imagePosition="default",this.hyphensEnabled=!1,this.handleCardClick=s=>{this.stzhClick.emit({component:"stzh-card-searchresult",originalEvent:s,href:this.href})}}metaWatcher(s){if(s)if("string"==typeof s)try{this._meta=JSON.parse(s)}catch(s){this._meta=[]}else this._meta=s;else this._meta=[]}downloadMetaWatcher(s){if(s)if("string"==typeof s)try{this._downloadMeta=JSON.parse(s)}catch(s){this._downloadMeta=[]}else this._downloadMeta=s;else this._downloadMeta=[]}hasProperStartAndOrEndDate(s,e){return!(s&&0===s.getHours()&&!e)}componentDidRender(){requestAnimationFrame((()=>{var s,e;const t=this.analyticsId||(null===(s=this.headingTextElement)||void 0===s?void 0:s.innerText);t&&(null===(e=this.headingLinkElement)||void 0===e||e.setAttribute("s-object-id",t))}))}async componentWillLoad(){this.metaWatcher(this.meta),this.downloadMetaWatcher(this.downloadMeta),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"card-searchresult")),this.dateAdapter||(this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals))}render(){const s=!!this.heading||h(this.element,"heading"),e=!!this.description||h(this.element,"description"),c=h(this.element,"image"),d=this.eventDateStart&&new Date(this.eventDateStart),l=this.eventDateEnd&&new Date(this.eventDateEnd),n=c||this.placeholderImageEnabled,o=`h${this.headingLevel}`,z=this.href?"a":"div";return t(a,{key:"b81126a14ffd6ce51951a5c3fa3f3578ea76e0e4","has-image":n},t("article",{key:"0a8be566ce5f96ca57ca0c6d0f65218ba9b7ff1e",class:{"stzh-card-searchresult":!0,"stzh-card-searchresult--has-heading":s,"stzh-card-searchresult--has-description":e,"stzh-card-searchresult--has-description-wrapper":e||!!d||!!this.eventLocation,"stzh-card-searchresult--has-link":!!this.href,"stzh-card-searchresult--has-service":!!this.service,"stzh-card-searchresult--has-tag":!!this.tag,"stzh-card-searchresult--has-topic":!!this.topic,"stzh-card-searchresult--has-image":n,"stzh-card-searchresult--has-image-default":n&&"default"===this.imagePosition,"stzh-card-searchresult--has-image-right":n&&"right"===this.imagePosition,"stzh-card-searchresult--has-meta":this._meta.length>0,"stzh-card-searchresult--has-download":!!this.downloadHeading||this._downloadMeta.length>0,"stzh-card-searchresult--has-breadcrumb":!!this.breadcrumbItems,"stzh-card-searchresult--hyphens":this.hyphensEnabled},"aria-label":this.heading,role:"listitem"},this.tag&&t("stzh-tag",{key:"6b857721750f420a59f88e516d549284e805319e",class:"stzh-card-searchresult__tag",label:this.tag,nonInteractive:!0}),t("div",{key:"3b4f44f3ad8cd1b6706554ed12a9997f439a3fb7",class:"stzh-card-searchresult__heading-wrapper"},this.breadcrumbItems&&t("stzh-breadcrumb",{key:"3e01f08e6453929117ac25c3de9ae5aa9ab02d1b",class:"stzh-card-searchresult__breadcrumb",items:this.breadcrumbItems,variant:"teaser"}),this.dateline&&t("div",{key:"74ec3e6c2d0c2baa4aedfeaf67aa5c1b0021ab79",class:"stzh-card-searchresult__dateline"},this.dateline),t(o,{key:"900f4ebd8ccdb6b0109d2c46122eba89ab5cfdac",class:"stzh-card-searchresult__heading"},t(z,{key:"89948d8d41fa3ebadcf7e6d9d4c15b57616fda4d",ref:s=>this.headingLinkElement=s,class:"stzh-card-searchresult__heading-link",href:this.href,target:this.target,download:this.download,onClick:this.handleCardClick},t("div",{class:"stzh-card-searchresult__heading-link-text",ref:s=>this.headingTextElement=s},this.heading?t("span",{innerHTML:i(this.heading)}):t("slot",{name:"heading"}))))),t("div",{key:"bc25bb40f8648392a94ff36e2a255004e570f337",class:"stzh-card-searchresult__description-wrapper"},(d||this.eventLocation)&&t("div",{key:"6ba3c6816183cc7f0e2ae55beb0fcbe781db13df",class:"stzh-card-searchresult__event-infos"},d&&t("div",{key:"84ea6a23e9c2440c7d70dda1143cc65b60b1cbb3",class:"stzh-card-searchresult__event-date"},t("span",{key:"53f03daa1d384e6acc8777deecfb0268730d8bb5"},this.dateAdapter.format(d,"dateLong")),this.hasProperStartAndOrEndDate(d,l)&&t("span",{key:"3d7c82bc5e2e296b865a55efa315c5e82693e816"},", ",this.dateAdapter.formatSpan(d,l,"time"))),this.eventLocation&&t("div",{key:"a84690b0191bfbccf8123bedbffcd86320302bf8",class:"stzh-card-searchresult__event-location"},this.eventLocation)),t("div",{key:"ce54042abc3f7824c3528d39848f8ba5aeb9d092",class:"stzh-card-searchresult__description"},this.description?this.description:t("slot",{name:"description"}))),t("div",{key:"58ae56385a7e89393060c9d9d9661b1b15537e98",class:"stzh-card-searchresult__image"},d&&t("div",{key:"648a5ef9cb2c31ada726e3a8a1ff3125fa890bfa",class:"stzh-card-searchresult__event-date-teaser"},t("div",{key:"6e489053864d218ef9097b1f4d80d8ae8ca4cb5c",class:"stzh-card-searchresult__event-date-teaser-day-name"},this.localization.$globals.dayNamesShort[d.getDay()]),t("div",{key:"bdbb2e15de06c55b191467b41ec9a64df7cb8f9c",class:"stzh-card-searchresult__event-date-teaser-day"},d.getDate()<10&&"0",d.getDate()),t("div",{key:"468bf88e72684536e382805e8c9ad89462957a8f",class:"stzh-card-searchresult__event-date-teaser-month"},this.localization.$globals.monthNamesShort[d.getMonth()])),this.topic&&t("div",{key:"13964bea763a79794d3e37dae52c40878ed6d217",class:"stzh-card-searchresult__topic"},this.topic),this.service&&t("div",{key:"a8887a70cafb86783315d3f0403c17b812070061",class:"stzh-card-searchresult__service"},this.service),t("slot",{key:"a8d9367e39b0ae74865da9ddf5c546603060800d",name:"image"}),this.placeholderImageEnabled&&!c&&t("stzh-ratio",{key:"6dda83e0f2c1b63755f53e11d9f83329221e7409",ratio:"21:9","ratio-small":"1:1"},t("div",{key:"2376cbc692d9784ed2e429f10453a39831ba708a",class:"stzh-card-searchresult__image-placeholder",innerHTML:'<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">\n <rect width="10000" height="10000" fill="currentColor" />\n</svg>\n'}))),(this._meta.length>0||this.datalistItems||!!this.downloadHeading||this._downloadMeta.length>0)&&t("div",{key:"c69260199dc156b9a1b91c80bc3e3e7c3734cf9d",class:"stzh-card-searchresult__meta-wrapper"},this.datalistItems&&t("stzh-datalist",{key:"9edc80e9ee6ebeedeff9c397819701103fd72e29",class:"stzh-card-searchresult__datalist",items:this.datalistItems}),this._meta.length>0&&t("div",{key:"f61867a3c9649a8c4b5d843905ae0c314929c297",class:"stzh-card-searchresult__meta"},t("div",{key:"69e0674ae7f1fcec948b86130756458d90c9163e",class:"stzh-card-searchresult__meta-list"},this._meta.map((s=>t(r,null,t("div",{class:"stzh-card-searchresult__meta-list-item"},s)))))),(!!this.downloadHeading||this._downloadMeta.length>0)&&t("div",{key:"51c25363a97080bfe1fe5defec53298289c4bfe1",class:"stzh-card-searchresult__download"},t("div",{key:"a3e7ba762977f872c5093f219261b09c0cef8af2",class:"stzh-card-searchresult__download-data"},this.downloadHeading&&t("div",{key:"8d0a6d10cd301ae609e508adba836d7ab1bf1690",class:"stzh-card-searchresult__download-heading"},this.downloadHeading),this._downloadMeta.length>0&&t("div",{key:"5409cd07f7fa035c2ff279f87e61035a17abf8ac",class:"stzh-card-searchresult__download-meta-list"},this._downloadMeta.map((s=>t(r,null,t("div",{class:"stzh-card-searchresult__download-meta-list-item"},s)))))),t("div",{key:"ada0defec6473d3c44188d31299d8a618f844b16",class:"stzh-card-searchresult__download-button"},t("stzh-icon",{key:"0f2ba17435c217c5cfd2557ece583f3775aeebd6",class:"stzh-card-searchresult__download-icon",name:"download"}))))))}get element(){return c(this)}static get watchers(){return{meta:[{metaWatcher:0}],downloadMeta:[{downloadMetaWatcher:0}]}}};d.style='.sc-stzh-card-searchresult-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-card-searchresult-h,[stzh-hidden].sc-stzh-card-searchresult-h{display:none}.sc-stzh-card-searchresult-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-card-searchresult-h *.sc-stzh-card-searchresult,.sc-stzh-card-searchresult-h *.sc-stzh-card-searchresult::before,.sc-stzh-card-searchresult-h *.sc-stzh-card-searchresult::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-card-searchresult-h .has-focus.sc-stzh-card-searchresult{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-card-searchresult-h .stzh-fylingfocus-focused.sc-stzh-card-searchresult{outline-style:none !important}.sc-stzh-card-searchresult-h .stzh-fylingfocus-focused.sc-stzh-card-searchresult::-moz-focus-inner{border:0 !important}.sc-stzh-card-searchresult-h{--service-background-color:var(--stzh-color-secondary30);--service-color:var(--stzh-color-primary70);--placeholder-image-color:var(--stzh-color-grey30);--grid-template-areas:"heading" "description" "meta";--grid-template-rows:repeat(2, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr);display:grid}.sc-stzh-card-searchresult-h.sc-stzh-card-searchresult-s>img,.sc-stzh-card-searchresult-h .sc-stzh-card-searchresult-s>img{width:100%;max-width:100%}[has-image].sc-stzh-card-searchresult-h{--grid-template-areas:"image" "heading" "description" "meta";--grid-template-rows:repeat(3, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr)}@media screen and (min-width: 600px){[has-image].sc-stzh-card-searchresult-h{--grid-template-areas:"heading image" "description image" "meta image";--grid-template-rows:repeat(2, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr) minmax(11.25rem, min-content)}}@media screen and (max-width: 599px){[has-image][image-position=right].sc-stzh-card-searchresult-h{--grid-template-areas:"heading image" "description description" "meta meta";--grid-template-rows:repeat(2, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr) minmax(6.25rem, min-content)}}.stzh-card-searchresult.sc-stzh-card-searchresult{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:grid;background-color:var(--stzh-color-grey10);grid-template-areas:var(--grid-template-areas);grid-template-rows:var(--grid-template-rows);grid-template-columns:var(--grid-template-columns);color:var(--stzh-color-grey80)}.stzh-card-searchresult__tag.sc-stzh-card-searchresult,.stzh-card-searchresult__dateline.sc-stzh-card-searchresult,.stzh-card-searchresult__breadcrumb.sc-stzh-card-searchresult,.stzh-card-searchresult__event-infos.sc-stzh-card-searchresult,.stzh-card-searchresult__heading-link-text.sc-stzh-card-searchresult,.stzh-card-searchresult__description.sc-stzh-card-searchresult,.stzh-card-searchresult__meta-wrapper.sc-stzh-card-searchresult{z-index:1;position:relative}.stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-description-wrapper.sc-stzh-card-searchresult .stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult__meta-wrapper.sc-stzh-card-searchresult{margin-left:var(--stzh-space-medium, 16px);margin-right:var(--stzh-space-medium, 16px);margin-bottom:var(--stzh-space-large, 20px)}.stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{grid-area:heading;display:grid;margin-top:var(--stzh-space-xlarge, 24px)}.stzh-card-searchresult__image.sc-stzh-card-searchresult{display:grid;grid-area:image;width:100%}.stzh-card-searchresult__image-placeholder.sc-stzh-card-searchresult{color:var(--placeholder-image-color)}.stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult{grid-area:description}.stzh-card-searchresult__meta-wrapper.sc-stzh-card-searchresult{grid-area:meta}.stzh-card-searchresult__meta.sc-stzh-card-searchresult{overflow:hidden}.stzh-card-searchresult__download.sc-stzh-card-searchresult{display:flex;justify-content:space-between;align-items:center;gap:var(--stzh-space-xsmall, 8px);overflow:hidden}.stzh-card-searchresult__download-button.sc-stzh-card-searchresult{align-self:flex-end;display:flex;justify-content:center;align-items:center;width:var(--stzh-form-input-small-height);height:var(--stzh-form-input-small-height);color:var(--stzh-color-primary70)}.stzh-card-searchresult__download-heading.sc-stzh-card-searchresult{color:var(--stzh-color-primary70);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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-card-searchresult__tag.sc-stzh-card-searchresult,.stzh-card-searchresult__topic.sc-stzh-card-searchresult,.stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult__event-date-teaser.sc-stzh-card-searchresult{z-index:2}.stzh-card-searchresult__tag.sc-stzh-card-searchresult{position:absolute;left:0;top:0}.stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult__topic.sc-stzh-card-searchresult{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:absolute;top:0;right:0;background-color:var(--service-background-color);color:var(--service-color);padding:var(--stzh-space-xsmall, 8px) var(--stzh-space-medium, 16px);text-align:center}@media screen and (min-width: 600px){.stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult__topic.sc-stzh-card-searchresult{min-width:11.25rem}}.stzh-card-searchresult__dateline.sc-stzh-card-searchresult{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult__heading.sc-stzh-card-searchresult{margin-top:0;margin-bottom:var(--stzh-space-xsmall, 8px)}.stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{display:block;color:var(--stzh-color-primary70);-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-card-searchresult__event-infos.sc-stzh-card-searchresult{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-color-black)}.stzh-card-searchresult.sc-stzh-card-searchresult:has(.stzh-card-searchresult__description:not(:empty)) .stzh-card-searchresult__event-infos.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult__description.sc-stzh-card-searchresult:empty{display:none}.stzh-card-searchresult__breadcrumb.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult__event-date-teaser.sc-stzh-card-searchresult{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-transform:uppercase;display:flex;flex-direction:column;justify-content:center;align-items:center;width:5rem;height:5rem;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);position:absolute;top:0;right:0}.stzh-card-searchresult__event-date-teaser-day.sc-stzh-card-searchresult{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-card-searchresult__meta-list.sc-stzh-card-searchresult,.stzh-card-searchresult__download-meta-list.sc-stzh-card-searchresult{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:flex;align-items:center;flex-wrap:wrap;column-gap:var(--stzh-space-xsmall, 8px);margin-left:calc((var(--stzh-space-xsmall, 8px) + 0.0625rem) / -1)}.stzh-card-searchresult__meta-list-item.sc-stzh-card-searchresult,.stzh-card-searchresult__download-meta-list-item.sc-stzh-card-searchresult{display:flex;align-items:center;min-height:1.5rem;gap:var(--stzh-space-xsmall, 8px)}.stzh-card-searchresult__meta-list-item.sc-stzh-card-searchresult::before,.stzh-card-searchresult__download-meta-list-item.sc-stzh-card-searchresult::before{content:"";display:block;width:0.0625rem;height:1rem;background-color:currentColor}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{border-radius:var(--stzh-button-border-radius);cursor:pointer}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::before,.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::after{z-index:10}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult:has(.stzh-card-searchresult__heading-link:hover) .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::before{background-color:var(--stzh-color-secondary10)}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult:has(.stzh-card-searchresult__heading-link:hover) .stzh-card-searchresult__tag.sc-stzh-card-searchresult{--color:var(--stzh-color-secondary60)}.stzh-card-searchresult--has-breadcrumb.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xlarge, 24px)}.stzh-card-searchresult--has-tag.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xxxlarge, 40px)}.stzh-card-searchresult--has-service.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-topic.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xxxxlarge, 48px)}.stzh-card-searchresult--has-service.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-topic.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xxxlarge, 40px)}.stzh-card-searchresult--has-image.sc-stzh-card-searchresult .stzh-card-searchresult__image.sc-stzh-card-searchresult{z-index:1;position:relative}@media screen and (max-width: 599px){.stzh-card-searchresult--has-image-default.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-small, 12px)}}@media screen and (max-width: 599px){.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__image.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-xsmall, 8px)}}.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__topic.sc-stzh-card-searchresult{position:static}.stzh-card-searchresult--has-description-wrapper.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-meta.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-bottom:0px}.stzh-card-searchresult--has-meta.sc-stzh-card-searchresult .stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult{margin-bottom:0px}.stzh-card-searchresult--has-meta.sc-stzh-card-searchresult .stzh-card-searchresult__description.sc-stzh-card-searchresult:not(:empty),.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__description.sc-stzh-card-searchresult:not(:empty){margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__meta.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-xsmall, 8px)}.stzh-card-searchresult--hyphens.sc-stzh-card-searchresult .stzh-card-searchresult__heading.sc-stzh-card-searchresult{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;hyphens:auto}';export{d as stzh_card_searchresult}
1
+ import{r as s,c as e,h as t,F as r,a,d as c}from"./p-rujKGmCS.js";import{h,f as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const d=class{constructor(t){s(this,t),this.stzhClick=e(this,"stzhClick"),this.heading="",this.headingLevel="3",this.description="",this.datalistItems=[],this.placeholderImageEnabled=!1,this.imagePosition="default",this.hyphensEnabled=!1,this.handleCardClick=s=>{this.stzhClick.emit({component:"stzh-card-searchresult",originalEvent:s,href:this.href})}}metaWatcher(s){if(s)if("string"==typeof s)try{this._meta=JSON.parse(s)}catch(s){this._meta=[]}else this._meta=s;else this._meta=[]}downloadMetaWatcher(s){if(s)if("string"==typeof s)try{this._downloadMeta=JSON.parse(s)}catch(s){this._downloadMeta=[]}else this._downloadMeta=s;else this._downloadMeta=[]}hasProperStartAndOrEndDate(s,e){return!(s&&0===s.getHours()&&!e)}componentDidRender(){requestAnimationFrame((()=>{var s,e;const t=this.analyticsId||(null===(s=this.headingTextElement)||void 0===s?void 0:s.innerText);t&&(null===(e=this.headingLinkElement)||void 0===e||e.setAttribute("s-object-id",t))}))}async componentWillLoad(){this.metaWatcher(this.meta),this.downloadMetaWatcher(this.downloadMeta),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"card-searchresult")),this.dateAdapter||(this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals))}render(){const s=!!this.heading||h(this.element,"heading"),e=!!this.description||h(this.element,"description"),c=h(this.element,"image"),d=this.eventDateStart&&new Date(this.eventDateStart),l=this.eventDateEnd&&new Date(this.eventDateEnd),n=c||this.placeholderImageEnabled,o=`h${this.headingLevel}`,z=this.href?"a":"div";return t(a,{key:"b81126a14ffd6ce51951a5c3fa3f3578ea76e0e4","has-image":n},t("article",{key:"0a8be566ce5f96ca57ca0c6d0f65218ba9b7ff1e",class:{"stzh-card-searchresult":!0,"stzh-card-searchresult--has-heading":s,"stzh-card-searchresult--has-description":e,"stzh-card-searchresult--has-description-wrapper":e||!!d||!!this.eventLocation,"stzh-card-searchresult--has-link":!!this.href,"stzh-card-searchresult--has-service":!!this.service,"stzh-card-searchresult--has-tag":!!this.tag,"stzh-card-searchresult--has-topic":!!this.topic,"stzh-card-searchresult--has-image":n,"stzh-card-searchresult--has-image-default":n&&"default"===this.imagePosition,"stzh-card-searchresult--has-image-right":n&&"right"===this.imagePosition,"stzh-card-searchresult--has-meta":this._meta.length>0,"stzh-card-searchresult--has-download":!!this.downloadHeading||this._downloadMeta.length>0,"stzh-card-searchresult--has-breadcrumb":!!this.breadcrumbItems,"stzh-card-searchresult--hyphens":this.hyphensEnabled},"aria-label":this.heading,role:"listitem"},this.tag&&t("stzh-tag",{key:"6b857721750f420a59f88e516d549284e805319e",class:"stzh-card-searchresult__tag",label:this.tag,nonInteractive:!0}),t("div",{key:"3b4f44f3ad8cd1b6706554ed12a9997f439a3fb7",class:"stzh-card-searchresult__heading-wrapper"},this.breadcrumbItems&&t("stzh-breadcrumb",{key:"3e01f08e6453929117ac25c3de9ae5aa9ab02d1b",class:"stzh-card-searchresult__breadcrumb",items:this.breadcrumbItems,variant:"teaser"}),this.dateline&&t("div",{key:"74ec3e6c2d0c2baa4aedfeaf67aa5c1b0021ab79",class:"stzh-card-searchresult__dateline"},this.dateline),t(o,{key:"900f4ebd8ccdb6b0109d2c46122eba89ab5cfdac",class:"stzh-card-searchresult__heading"},t(z,{key:"89948d8d41fa3ebadcf7e6d9d4c15b57616fda4d",ref:s=>this.headingLinkElement=s,class:"stzh-card-searchresult__heading-link",href:this.href,target:this.target,download:this.download,onClick:this.handleCardClick},t("div",{class:"stzh-card-searchresult__heading-link-text",ref:s=>this.headingTextElement=s},this.heading?t("span",{innerHTML:i(this.heading)}):t("slot",{name:"heading"}))))),t("div",{key:"bc25bb40f8648392a94ff36e2a255004e570f337",class:"stzh-card-searchresult__description-wrapper"},(d||this.eventLocation)&&t("div",{key:"6ba3c6816183cc7f0e2ae55beb0fcbe781db13df",class:"stzh-card-searchresult__event-infos"},d&&t("div",{key:"84ea6a23e9c2440c7d70dda1143cc65b60b1cbb3",class:"stzh-card-searchresult__event-date"},t("span",{key:"53f03daa1d384e6acc8777deecfb0268730d8bb5"},this.dateAdapter.format(d,"dateLong")),this.hasProperStartAndOrEndDate(d,l)&&t("span",{key:"3d7c82bc5e2e296b865a55efa315c5e82693e816"},", ",this.dateAdapter.formatSpan(d,l,"time"))),this.eventLocation&&t("div",{key:"a84690b0191bfbccf8123bedbffcd86320302bf8",class:"stzh-card-searchresult__event-location"},this.eventLocation)),t("div",{key:"ce54042abc3f7824c3528d39848f8ba5aeb9d092",class:"stzh-card-searchresult__description"},this.description?this.description:t("slot",{name:"description"}))),t("div",{key:"58ae56385a7e89393060c9d9d9661b1b15537e98",class:"stzh-card-searchresult__image"},d&&t("div",{key:"648a5ef9cb2c31ada726e3a8a1ff3125fa890bfa",class:"stzh-card-searchresult__event-date-teaser"},t("div",{key:"6e489053864d218ef9097b1f4d80d8ae8ca4cb5c",class:"stzh-card-searchresult__event-date-teaser-day-name"},this.localization.$globals.dayNamesShort[d.getDay()]),t("div",{key:"bdbb2e15de06c55b191467b41ec9a64df7cb8f9c",class:"stzh-card-searchresult__event-date-teaser-day"},d.getDate()<10&&"0",d.getDate()),t("div",{key:"468bf88e72684536e382805e8c9ad89462957a8f",class:"stzh-card-searchresult__event-date-teaser-month"},this.localization.$globals.monthNamesShort[d.getMonth()])),this.topic&&t("div",{key:"13964bea763a79794d3e37dae52c40878ed6d217",class:"stzh-card-searchresult__topic"},this.topic),this.service&&t("div",{key:"a8887a70cafb86783315d3f0403c17b812070061",class:"stzh-card-searchresult__service"},this.service),t("slot",{key:"a8d9367e39b0ae74865da9ddf5c546603060800d",name:"image"}),this.placeholderImageEnabled&&!c&&t("stzh-ratio",{key:"6dda83e0f2c1b63755f53e11d9f83329221e7409",ratio:"21:9","ratio-small":"1:1"},t("div",{key:"2376cbc692d9784ed2e429f10453a39831ba708a",class:"stzh-card-searchresult__image-placeholder",innerHTML:'<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">\n <rect width="10000" height="10000" fill="currentColor" />\n</svg>\n'}))),(this._meta.length>0||this.datalistItems||!!this.downloadHeading||this._downloadMeta.length>0)&&t("div",{key:"c69260199dc156b9a1b91c80bc3e3e7c3734cf9d",class:"stzh-card-searchresult__meta-wrapper"},this.datalistItems&&t("stzh-datalist",{key:"9edc80e9ee6ebeedeff9c397819701103fd72e29",class:"stzh-card-searchresult__datalist",items:this.datalistItems}),this._meta.length>0&&t("div",{key:"f61867a3c9649a8c4b5d843905ae0c314929c297",class:"stzh-card-searchresult__meta"},t("div",{key:"69e0674ae7f1fcec948b86130756458d90c9163e",class:"stzh-card-searchresult__meta-list"},this._meta.map((s=>t(r,null,t("div",{class:"stzh-card-searchresult__meta-list-item"},s)))))),(!!this.downloadHeading||this._downloadMeta.length>0)&&t("div",{key:"51c25363a97080bfe1fe5defec53298289c4bfe1",class:"stzh-card-searchresult__download"},t("div",{key:"a3e7ba762977f872c5093f219261b09c0cef8af2",class:"stzh-card-searchresult__download-data"},this.downloadHeading&&t("div",{key:"8d0a6d10cd301ae609e508adba836d7ab1bf1690",class:"stzh-card-searchresult__download-heading"},this.downloadHeading),this._downloadMeta.length>0&&t("div",{key:"5409cd07f7fa035c2ff279f87e61035a17abf8ac",class:"stzh-card-searchresult__download-meta-list"},this._downloadMeta.map((s=>t(r,null,t("div",{class:"stzh-card-searchresult__download-meta-list-item"},s)))))),t("div",{key:"ada0defec6473d3c44188d31299d8a618f844b16",class:"stzh-card-searchresult__download-button"},t("stzh-icon",{key:"0f2ba17435c217c5cfd2557ece583f3775aeebd6",class:"stzh-card-searchresult__download-icon",name:"download"}))))))}get element(){return c(this)}static get watchers(){return{meta:[{metaWatcher:0}],downloadMeta:[{downloadMetaWatcher:0}]}}};d.style='.sc-stzh-card-searchresult-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-card-searchresult-h,[stzh-hidden].sc-stzh-card-searchresult-h{display:none}.sc-stzh-card-searchresult-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-card-searchresult-h *.sc-stzh-card-searchresult,.sc-stzh-card-searchresult-h *.sc-stzh-card-searchresult::before,.sc-stzh-card-searchresult-h *.sc-stzh-card-searchresult::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-card-searchresult-h .has-focus.sc-stzh-card-searchresult{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-card-searchresult-h .stzh-fylingfocus-focused.sc-stzh-card-searchresult{outline-style:none !important}.sc-stzh-card-searchresult-h .stzh-fylingfocus-focused.sc-stzh-card-searchresult::-moz-focus-inner{border:0 !important}.sc-stzh-card-searchresult-h{--service-background-color:var(--stzh-color-secondary30);--service-color:var(--stzh-color-primary70);--placeholder-image-color:var(--stzh-color-grey30);--grid-template-areas:"heading" "description" "meta";--grid-template-rows:repeat(2, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr);display:grid}.sc-stzh-card-searchresult-h.sc-stzh-card-searchresult-s>img,.sc-stzh-card-searchresult-h .sc-stzh-card-searchresult-s>img{width:100%;max-width:100%}[has-image].sc-stzh-card-searchresult-h{--grid-template-areas:"image" "heading" "description" "meta";--grid-template-rows:repeat(3, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr)}@media screen and (min-width: 600px){[has-image].sc-stzh-card-searchresult-h{--grid-template-areas:"heading image" "description image" "meta image";--grid-template-rows:repeat(2, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr) minmax(11.25rem, min-content)}}@media screen and (max-width: 599px){[has-image][image-position=right].sc-stzh-card-searchresult-h{--grid-template-areas:"heading image" "description description" "meta meta";--grid-template-rows:repeat(2, auto) minmax(0, 1fr);--grid-template-columns:minmax(0, 1fr) minmax(6.25rem, min-content)}}.stzh-card-searchresult.sc-stzh-card-searchresult{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:grid;background-color:var(--stzh-color-grey10);grid-template-areas:var(--grid-template-areas);grid-template-rows:var(--grid-template-rows);grid-template-columns:var(--grid-template-columns);color:var(--stzh-color-grey80)}.stzh-card-searchresult__tag.sc-stzh-card-searchresult,.stzh-card-searchresult__dateline.sc-stzh-card-searchresult,.stzh-card-searchresult__breadcrumb.sc-stzh-card-searchresult,.stzh-card-searchresult__event-infos.sc-stzh-card-searchresult,.stzh-card-searchresult__heading-link-text.sc-stzh-card-searchresult,.stzh-card-searchresult__description.sc-stzh-card-searchresult,.stzh-card-searchresult__meta-wrapper.sc-stzh-card-searchresult{z-index:1;position:relative}.stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-description-wrapper.sc-stzh-card-searchresult .stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult__meta-wrapper.sc-stzh-card-searchresult{margin-left:var(--stzh-space-medium, 16px);margin-right:var(--stzh-space-medium, 16px);margin-bottom:var(--stzh-space-large, 20px)}.stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{grid-area:heading;display:grid;margin-top:var(--stzh-space-xlarge, 24px)}.stzh-card-searchresult__image.sc-stzh-card-searchresult{display:grid;grid-area:image;width:100%}.stzh-card-searchresult__image-placeholder.sc-stzh-card-searchresult{color:var(--placeholder-image-color)}.stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult{grid-area:description}.stzh-card-searchresult__meta-wrapper.sc-stzh-card-searchresult{grid-area:meta}.stzh-card-searchresult__meta.sc-stzh-card-searchresult{overflow:hidden}.stzh-card-searchresult__download.sc-stzh-card-searchresult{display:flex;justify-content:space-between;align-items:center;gap:var(--stzh-space-xsmall, 8px);overflow:hidden}.stzh-card-searchresult__download-button.sc-stzh-card-searchresult{align-self:flex-end;display:flex;justify-content:center;align-items:center;width:var(--stzh-form-input-small-height);height:var(--stzh-form-input-small-height);color:var(--stzh-color-primary70)}.stzh-card-searchresult__download-heading.sc-stzh-card-searchresult{color:var(--stzh-color-primary70);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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-card-searchresult__tag.sc-stzh-card-searchresult,.stzh-card-searchresult__topic.sc-stzh-card-searchresult,.stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult__event-date-teaser.sc-stzh-card-searchresult{z-index:2}.stzh-card-searchresult__tag.sc-stzh-card-searchresult{position:absolute;left:0;top:0}.stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult__topic.sc-stzh-card-searchresult{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:absolute;top:0;right:0;background-color:var(--service-background-color);color:var(--service-color);padding:var(--stzh-space-xsmall, 8px) var(--stzh-space-medium, 16px);text-align:center}@media screen and (min-width: 600px){.stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult__topic.sc-stzh-card-searchresult{min-width:11.25rem}}.stzh-card-searchresult__dateline.sc-stzh-card-searchresult{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult__heading.sc-stzh-card-searchresult{margin-top:0;margin-bottom:var(--stzh-space-xsmall, 8px)}.stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{display:block;color:var(--stzh-color-primary70);-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-card-searchresult__event-infos.sc-stzh-card-searchresult{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-color-black)}.stzh-card-searchresult.sc-stzh-card-searchresult:has(.stzh-card-searchresult__description:not(:empty)) .stzh-card-searchresult__event-infos.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult__description.sc-stzh-card-searchresult:empty{display:none}.stzh-card-searchresult__breadcrumb.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult__event-date-teaser.sc-stzh-card-searchresult{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-transform:uppercase;display:flex;flex-direction:column;justify-content:center;align-items:center;width:5rem;height:5rem;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);position:absolute;top:0;right:0}.stzh-card-searchresult__event-date-teaser-day.sc-stzh-card-searchresult{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-card-searchresult__meta-list.sc-stzh-card-searchresult,.stzh-card-searchresult__download-meta-list.sc-stzh-card-searchresult{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:flex;align-items:center;flex-wrap:wrap;column-gap:var(--stzh-space-xsmall, 8px);margin-left:calc((var(--stzh-space-xsmall, 8px) + 0.0625rem) / -1)}.stzh-card-searchresult__meta-list-item.sc-stzh-card-searchresult,.stzh-card-searchresult__download-meta-list-item.sc-stzh-card-searchresult{display:flex;align-items:center;min-height:1.5rem;gap:var(--stzh-space-xsmall, 8px)}.stzh-card-searchresult__meta-list-item.sc-stzh-card-searchresult::before,.stzh-card-searchresult__download-meta-list-item.sc-stzh-card-searchresult::before{content:"";display:block;width:0.0625rem;height:1rem;background-color:currentColor}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult{border-radius:var(--stzh-button-border-radius);cursor:pointer}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::before,.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::after{z-index:10}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult:has(.stzh-card-searchresult__heading-link:hover) .stzh-card-searchresult__heading-link.sc-stzh-card-searchresult::before{background-color:var(--stzh-color-secondary10)}.stzh-card-searchresult--has-link.sc-stzh-card-searchresult:has(.stzh-card-searchresult__heading-link:hover) .stzh-card-searchresult__tag.sc-stzh-card-searchresult{--color:var(--stzh-color-secondary60)}.stzh-card-searchresult--has-breadcrumb.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xlarge, 24px)}.stzh-card-searchresult--has-tag.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xxxlarge, 40px)}.stzh-card-searchresult--has-service.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-topic.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xxxxlarge, 48px)}.stzh-card-searchresult--has-service.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-topic.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-xxxlarge, 40px)}.stzh-card-searchresult--has-image.sc-stzh-card-searchresult .stzh-card-searchresult__image.sc-stzh-card-searchresult{z-index:1;position:relative}@media screen and (max-width: 599px){.stzh-card-searchresult--has-image-default.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-top:var(--stzh-space-small, 12px)}}@media screen and (max-width: 599px){.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__image.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-xsmall, 8px)}}.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__service.sc-stzh-card-searchresult,.stzh-card-searchresult--has-image-right.sc-stzh-card-searchresult .stzh-card-searchresult__topic.sc-stzh-card-searchresult{position:static}.stzh-card-searchresult--has-description-wrapper.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-meta.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__heading-wrapper.sc-stzh-card-searchresult{margin-bottom:0px}.stzh-card-searchresult--has-meta.sc-stzh-card-searchresult .stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult,.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__description-wrapper.sc-stzh-card-searchresult{margin-bottom:0px}.stzh-card-searchresult--has-meta.sc-stzh-card-searchresult .stzh-card-searchresult__description.sc-stzh-card-searchresult:not(:empty),.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__description.sc-stzh-card-searchresult:not(:empty){margin-bottom:var(--stzh-space-small, 12px)}.stzh-card-searchresult--has-download.sc-stzh-card-searchresult .stzh-card-searchresult__meta.sc-stzh-card-searchresult{margin-bottom:var(--stzh-space-xsmall, 8px)}.stzh-card-searchresult--hyphens.sc-stzh-card-searchresult .stzh-card-searchresult__heading.sc-stzh-card-searchresult{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;hyphens:auto}';export{d as stzh_card_searchresult}
@@ -1 +1 @@
1
- import{r as t,c as s,h as e,a as i,d as n}from"./p-vaw5DHDC.js";import{tc as a}from"./index.esm.js";import{p,a as h}from"./p-Df1Iqnz9.js";import{h as o}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const c=class{constructor(e){t(this,e),this.stzhChange=s(this,"stzhChange"),this.disableSort=!1,this.sortBy="start",this.appointments=[],this.name="appointment",this.showItems=5,this.stepItems=5,this.calendarTitle="",this.appointmentsTitle="",this.showMoreLink=!1,this.moreItemsLeft=0,this.showCalendar=!1,this.showSort=!1,this.showSortStart=!1,this.showSortPlace=!1,this.showAppointmentsTitle=!1,this.allAppointsmentOnSameDay=!0,this.sortOptions=[],this.isDateDisabled=t=>!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate())),this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();t&&t.hide()}},this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems,this.inputElement.querySelector("stzh-radio").focus()},this.onDropdownChange=async t=>{const s=t.target,e=await s.getValue();e&&(this.sortBy=e)},this.onDatepickerChange=t=>{"stzh-datepicker"===t.detail.component&&t.detail.valueAsDate&&(this.currentDate=t.detail.valueAsDate,this.showItems=this._initialShowItems)},this.onRadioChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}dateAdapterWatcher(t){t||(this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals))}currentDateWatcher(t){t?"string"==typeof t?(this._currentDate=p(t),this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=t,!this.getCurrentDateAppointments().map((t=>t.value)).includes(this.value)&&this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=this.dateByValue||this.earliestDate,!this.dateByValue&&this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate())}sortByWatcher(){this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate()}valueWatcher(){this.updateDateByValue(),this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){if(this._appointments=this.normalizeAppointments(t),this._appointments.length>0&&(this._appointments.sort(((t,s)=>t.start>s.start?1:-1)),this.earliestDate=this._appointments[0].start,this.latestDate=this._appointments[this._appointments.length-1].start,this.updateDateByValue()),this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`==`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay,this.showAppointmentsTitle=this._appointments.length>1,this.currentDateWatcher(this.currentDate)}shouldAutoSelectAppointment(){return void 0===this.value&&!this.element.hasAttribute("value")}normalizeAppointments(t){return("string"==typeof t?JSON.parse(t):t).map((t=>Object.assign(Object.assign({},t),{start:this.convertToDate(t.start),end:this.convertToDate(t.end)})))}convertToDate(t){return"string"==typeof t?new Date(t):t}updateDateByValue(){if(!this.value)return void(this.dateByValue=null);const t=this._appointments.find((t=>t.value===this.value));this.dateByValue=t?t.start:null}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,e)=>{const i=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();return i&&(t=e),i}));return this.nextDate=this._appointments[t+1]?this._appointments[t+1].start:null,s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1)),s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));t.length>0&&(this.value=t[0].value,this.stzhChange.emit({component:"stzh-appointments",value:this.value}))}async componentWillLoad(){this._initialShowItems=this.showItems,this.appointmentsWatcher(this.appointments),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"appointments")),this.dateAdapterWatcher(this.dateAdapter)}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems),this.showMoreLink=this.showItems<t.length,this.moreItemsLeft=t.length-this.showItems,this.showSortStart=!this.disableSort&&t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,e)=>e.indexOf(t)==s)).length>1,this.showSortPlace=!this.disableSort&&t.map((t=>t.place)).filter(((t,s,e)=>e.indexOf(t)==s)).length>1,this.sortOptions=[],this.showSortStart&&this.sortOptions.push({text:this.localization.sortByTime,value:"start"}),this.showSortPlace&&this.sortOptions.push({text:this.localization.sortByPlace,value:"place"}),this.showSort=!this.disableSort&&this.appointmentsShown.length>1,this._sortBy=(this.showSortStart&&!this.showSortPlace?"start":!this.showSortStart&&this.showSortPlace&&"place")||this.sortBy}componentDidRender(){this.datepickerElement&&this.datepickerElement.setDate(this._currentDate),this.datepickerElementMedium&&this.datepickerElementMedium.setDate(this._currentDate)}render(){const t=o(this.element,"heading");return e(i,{key:"bacca56c0e5b05fa1fb60151e137ec0ba9322cc2","has-heading":t},e("div",{key:"c2dcb52739a6857e7d330d7cd3e0d83605688507",class:{"stzh-appointments":!0,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort}},e("div",{key:"a230e995cf3d0b8dc3c95b04aed31f966ee38ead",class:"stzh-appointments__heading"},e("slot",{key:"82b57e71043a0b953c815d4293b4b9fbd5dcc267",name:"heading"})),e("div",{key:"a7cc26c7fd23e5387efe7c9483a7ddaaa7127d27",class:"stzh-appointments__wrapper"},this.showCalendar&&e("div",{key:"9de5c54e2b13d055a3a4935380aaab3f0f78d0c8",class:"stzh-appointments__calendar-wrapper"},e("div",{key:"e45265ca3f9102acfa40340497cf1cc3731d1c64",class:"stzh-appointments__calendar-title-wrapper"},e("div",{key:"829a104510e9e4d7cb0e69bc8eed953fd51f84b8",class:"stzh-appointments__calendar-title"},e("stzh-icon",{key:"26744f2593e5683d0101b6aabe0e7b3a2797043d",class:"stzh-appointments__calendar-icon",name:"calendar"}),e("span",{key:"5795ea6e2445440f93ee8bf47114b7b0ccf833b4",class:"stzh-appointments__calendar-title-text"},this.calendarTitle||this.localization.calendarTitle))),e("div",{key:"af74d67c302afe3da374d8dbf6709ee7c408f11f",class:"stzh-appointments__calendar-content"},e("stzh-datepicker",{key:"d7e0ab815d6b3a949cef427c2e0db00b15a86a5e","hide-optional":!0,ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},e("stzh-link",{key:"c9b844f6d97d8ba580e7ed2c5a030322ca18d453",slot:"action",size:"inherit",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments))),e("div",{key:"d9f3e4a5d83af10e27d75d989d41c17ae6933a50",class:"stzh-appointments__calendar-content-medium"},e("stzh-datepicker",{key:"963af0d36841751e9472ec635ce3fdecfda9f6fd","hide-optional":!0,ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:!0,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},this.nextDate&&e("stzh-link",{key:"ae9a7f8b18b4257557aa0d20cd712066cc2424cf",slot:"action",size:"inherit",onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments)))),e("div",{key:"99cd6e07e0016a7c38d92a23468ed481eada8986",class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&e("div",{key:"21dbaf354736b3feb11e6d8fc53c95af71e34282",class:"stzh-appointments__appointments-title-wrapper"},e("div",{key:"a9c3c50dce92351ae9e72ec79491286e769379f9",class:"stzh-appointments__appointments-title"},e("stzh-icon",{key:"ded17a84e58d9fb26509d2c6cb9f938cdb25f2cd",class:"stzh-appointments__appointments-icon",name:"clock"}),e("span",{key:"e1f13e8a2d9fcc3114538acd7b9639e9be728377",class:"stzh-appointments__appointments-title-text"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&e("div",{key:"e329ef0f2c72462a68070623a07159385186022a",class:"stzh-appointments__sort"},e("stzh-dropdown",{key:"4b28aa91b34cc732396fdb914534966244778f1b","hide-optional":!0,inline:!0,"no-search":!0,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",sizeMedium:"tiny",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),e("div",{key:"890b97f643ccdd8bb064035f914446021925efab",class:"stzh-appointments__appointments-content"},e("stzh-radiogroup",{key:"de4afddcc690b4d636d0447a855b964696f45200",class:"stzh-appointments__appointments-radiogroup",ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":!0,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>e("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:void 0!==t.disabled&&t.disabled},e("stzh-text",{font:"heavy",size:"centi"},!this.showCalendar&&e("span",null,this.dateAdapter.format(t.start,"dateLong"),", "),this.dateAdapter.formatSpan(t.start,t.end,"time")),e("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&e("stzh-link",{key:"a0e2b90cefe37e47f918b07c495853afb70feef3",class:"stzh-appointments__more-link",size:"inherit",onClick:this.onMoreClick},a(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft)))))))}get element(){return n(this)}static get watchers(){return{dateAdapter:[{dateAdapterWatcher:0}],currentDate:[{currentDateWatcher:0}],sortBy:[{sortByWatcher:0}],value:[{valueWatcher:0}],appointments:[{appointmentsWatcher:0}]}}};c.style=".sc-stzh-appointments-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-appointments-h,[stzh-hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::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-appointments-h .has-focus.sc-stzh-appointments{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments{outline-style:none !important}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments::-moz-focus-inner{border:0 !important}.sc-stzh-appointments-h{--background-color:var(--stzh-color-secondary10)}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-small, 12px)}}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xsmall, 8px)}@media screen and (min-width: 600px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-small, 12px)}}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-medium, 16px)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xlarge, 24px)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xxlarge, 32px)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-appointments__wrapper.sc-stzh-appointments{display:flex;flex-direction:column;padding-left:var(--stzh-space-large, 20px);padding-right:var(--stzh-space-large, 20px);background-color:var(--background-color)}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:flex;flex-direction:column}@media screen and (min-width: 900px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-xxlarge, 32px)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{flex-grow:1;display:flex;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xsmall, 8px)}@media screen and (min-width: 600px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-small, 12px)}}@media screen and (min-width: 900px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-medium, 16px)}}@media screen and (min-width: 1260px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xlarge, 24px)}}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:flex;align-items:center;justify-content:space-between}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary70);display:flex;align-items:center}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{--size:var(--stzh-icon-size-large);margin-right:var(--stzh-space-xsmall, 8px)}.stzh-appointments__calendar-content.sc-stzh-appointments,.stzh-appointments__calendar-content-medium.sc-stzh-appointments{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)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;background-color:var(--stzh-color-white);padding-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{flex-grow:1}.stzh-appointments__appointments-radiogroup.sc-stzh-appointments{margin-top:var(--stzh-space-xsmall, 8px);margin-bottom:var(--stzh-space-xsmall, 8px)}.stzh-appointments__more-link.sc-stzh-appointments{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, 16px)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large, 20px)}@media screen and (min-width: 900px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";export{c as stzh_appointments}
1
+ import{r as t,c as s,h as e,a as i,d as n}from"./p-rujKGmCS.js";import{tc as a}from"./index.esm.js";import{p,a as h}from"./p-Df1Iqnz9.js";import{h as o}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const c=class{constructor(e){t(this,e),this.stzhChange=s(this,"stzhChange"),this.disableSort=!1,this.sortBy="start",this.appointments=[],this.name="appointment",this.showItems=5,this.stepItems=5,this.calendarTitle="",this.appointmentsTitle="",this.showMoreLink=!1,this.moreItemsLeft=0,this.showCalendar=!1,this.showSort=!1,this.showSortStart=!1,this.showSortPlace=!1,this.showAppointmentsTitle=!1,this.allAppointsmentOnSameDay=!0,this.sortOptions=[],this.isDateDisabled=t=>!this._appointments.find((s=>s.start.getFullYear()===t.getFullYear()&&s.start.getMonth()===t.getMonth()&&s.start.getDate()===t.getDate())),this.onNextActiveDateClick=async()=>{if(this.nextDate){this.currentDate=this.nextDate;const t=await this.datepickerElement.getPopover();t&&t.hide()}},this.onMoreClick=()=>{this.showItems=this.stepItems+this.showItems,this.inputElement.querySelector("stzh-radio").focus()},this.onDropdownChange=async t=>{const s=t.target,e=await s.getValue();e&&(this.sortBy=e)},this.onDatepickerChange=t=>{"stzh-datepicker"===t.detail.component&&t.detail.valueAsDate&&(this.currentDate=t.detail.valueAsDate,this.showItems=this._initialShowItems)},this.onRadioChange=t=>{this.value=t.detail.value,this.stzhChange.emit({component:"stzh-appointments",value:this.value})}}dateAdapterWatcher(t){t||(this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals))}currentDateWatcher(t){t?"string"==typeof t?(this._currentDate=p(t),this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=t,!this.getCurrentDateAppointments().map((t=>t.value)).includes(this.value)&&this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate()):(this._currentDate=this.dateByValue||this.earliestDate,!this.dateByValue&&this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate())}sortByWatcher(){this.shouldAutoSelectAppointment()&&this.setValueToFirstAppointmentOfCurrentDate()}valueWatcher(){this.updateDateByValue(),this.currentDateWatcher(this.currentDate)}appointmentsWatcher(t){if(this._appointments=this.normalizeAppointments(t),this._appointments.length>0&&(this._appointments.sort(((t,s)=>t.start>s.start?1:-1)),this.earliestDate=this._appointments[0].start,this.latestDate=this._appointments[this._appointments.length-1].start,this.updateDateByValue()),this._appointments.length>1){const t=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((t=>t.start)).every((s=>`${s.getFullYear()}-${s.getMonth()}-${s.getDate()}`==`${t.getFullYear()}-${t.getMonth()}-${t.getDate()}`))}this.showCalendar=!this.allAppointsmentOnSameDay,this.showAppointmentsTitle=this._appointments.length>1,this.currentDateWatcher(this.currentDate)}shouldAutoSelectAppointment(){return void 0===this.value&&!this.element.hasAttribute("value")}normalizeAppointments(t){return("string"==typeof t?JSON.parse(t):t).map((t=>Object.assign(Object.assign({},t),{start:this.convertToDate(t.start),end:this.convertToDate(t.end)})))}convertToDate(t){return"string"==typeof t?new Date(t):t}updateDateByValue(){if(!this.value)return void(this.dateByValue=null);const t=this._appointments.find((t=>t.value===this.value));this.dateByValue=t?t.start:null}getCurrentDateAppointments(){let t=0;const s=this._appointments.filter(((s,e)=>{const i=s.start.getFullYear()===this._currentDate.getFullYear()&&s.start.getMonth()===this._currentDate.getMonth()&&s.start.getDate()===this._currentDate.getDate();return i&&(t=e),i}));return this.nextDate=this._appointments[t+1]?this._appointments[t+1].start:null,s.sort(((t,s)=>t[this.sortBy]>s[this.sortBy]?1:-1)),s}setValueToFirstAppointmentOfCurrentDate(){const t=this.getCurrentDateAppointments().filter((t=>!t.disabled));t.length>0&&(this.value=t[0].value,this.stzhChange.emit({component:"stzh-appointments",value:this.value}))}async componentWillLoad(){this._initialShowItems=this.showItems,this.appointmentsWatcher(this.appointments),this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"appointments")),this.dateAdapterWatcher(this.dateAdapter)}componentWillRender(){const t=this.getCurrentDateAppointments();this.appointmentsShown=t.slice(0,this.showItems),this.showMoreLink=this.showItems<t.length,this.moreItemsLeft=t.length-this.showItems,this.showSortStart=!this.disableSort&&t.map((t=>this.dateAdapter.format(t.start,"time"))).filter(((t,s,e)=>e.indexOf(t)==s)).length>1,this.showSortPlace=!this.disableSort&&t.map((t=>t.place)).filter(((t,s,e)=>e.indexOf(t)==s)).length>1,this.sortOptions=[],this.showSortStart&&this.sortOptions.push({text:this.localization.sortByTime,value:"start"}),this.showSortPlace&&this.sortOptions.push({text:this.localization.sortByPlace,value:"place"}),this.showSort=!this.disableSort&&this.appointmentsShown.length>1,this._sortBy=(this.showSortStart&&!this.showSortPlace?"start":!this.showSortStart&&this.showSortPlace&&"place")||this.sortBy}componentDidRender(){this.datepickerElement&&this.datepickerElement.setDate(this._currentDate),this.datepickerElementMedium&&this.datepickerElementMedium.setDate(this._currentDate)}render(){const t=o(this.element,"heading");return e(i,{key:"bacca56c0e5b05fa1fb60151e137ec0ba9322cc2","has-heading":t},e("div",{key:"c2dcb52739a6857e7d330d7cd3e0d83605688507",class:{"stzh-appointments":!0,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort}},e("div",{key:"a230e995cf3d0b8dc3c95b04aed31f966ee38ead",class:"stzh-appointments__heading"},e("slot",{key:"82b57e71043a0b953c815d4293b4b9fbd5dcc267",name:"heading"})),e("div",{key:"a7cc26c7fd23e5387efe7c9483a7ddaaa7127d27",class:"stzh-appointments__wrapper"},this.showCalendar&&e("div",{key:"9de5c54e2b13d055a3a4935380aaab3f0f78d0c8",class:"stzh-appointments__calendar-wrapper"},e("div",{key:"e45265ca3f9102acfa40340497cf1cc3731d1c64",class:"stzh-appointments__calendar-title-wrapper"},e("div",{key:"829a104510e9e4d7cb0e69bc8eed953fd51f84b8",class:"stzh-appointments__calendar-title"},e("stzh-icon",{key:"26744f2593e5683d0101b6aabe0e7b3a2797043d",class:"stzh-appointments__calendar-icon",name:"calendar"}),e("span",{key:"5795ea6e2445440f93ee8bf47114b7b0ccf833b4",class:"stzh-appointments__calendar-title-text"},this.calendarTitle||this.localization.calendarTitle))),e("div",{key:"af74d67c302afe3da374d8dbf6709ee7c408f11f",class:"stzh-appointments__calendar-content"},e("stzh-datepicker",{key:"d7e0ab815d6b3a949cef427c2e0db00b15a86a5e","hide-optional":!0,ref:t=>this.datepickerElement=t,onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},e("stzh-link",{key:"c9b844f6d97d8ba580e7ed2c5a030322ca18d453",slot:"action",size:"inherit",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments))),e("div",{key:"d9f3e4a5d83af10e27d75d989d41c17ae6933a50",class:"stzh-appointments__calendar-content-medium"},e("stzh-datepicker",{key:"963af0d36841751e9472ec635ce3fdecfda9f6fd","hide-optional":!0,ref:t=>this.datepickerElementMedium=t,onStzhChange:this.onDatepickerChange,inline:!0,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},this.nextDate&&e("stzh-link",{key:"ae9a7f8b18b4257557aa0d20cd712066cc2424cf",slot:"action",size:"inherit",onClick:this.onNextActiveDateClick},this.localization.nextDayWithAppointments)))),e("div",{key:"99cd6e07e0016a7c38d92a23468ed481eada8986",class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&e("div",{key:"21dbaf354736b3feb11e6d8fc53c95af71e34282",class:"stzh-appointments__appointments-title-wrapper"},e("div",{key:"a9c3c50dce92351ae9e72ec79491286e769379f9",class:"stzh-appointments__appointments-title"},e("stzh-icon",{key:"ded17a84e58d9fb26509d2c6cb9f938cdb25f2cd",class:"stzh-appointments__appointments-icon",name:"clock"}),e("span",{key:"e1f13e8a2d9fcc3114538acd7b9639e9be728377",class:"stzh-appointments__appointments-title-text"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&e("div",{key:"e329ef0f2c72462a68070623a07159385186022a",class:"stzh-appointments__sort"},e("stzh-dropdown",{key:"4b28aa91b34cc732396fdb914534966244778f1b","hide-optional":!0,inline:!0,"no-search":!0,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",sizeMedium:"tiny",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),e("div",{key:"890b97f643ccdd8bb064035f914446021925efab",class:"stzh-appointments__appointments-content"},e("stzh-radiogroup",{key:"de4afddcc690b4d636d0447a855b964696f45200",class:"stzh-appointments__appointments-radiogroup",ref:t=>this.inputElement=t,legend:this.localization.inputLegend,"hide-legend":!0,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((t=>e("stzh-radio",{onStzhChange:this.onRadioChange,value:t.value,disabled:void 0!==t.disabled&&t.disabled},e("stzh-text",{font:"heavy",size:"centi"},!this.showCalendar&&e("span",null,this.dateAdapter.format(t.start,"dateLong"),", "),this.dateAdapter.formatSpan(t.start,t.end,"time")),e("stzh-text",{size:"milli"},t.caption))))),this.showMoreLink&&e("stzh-link",{key:"a0e2b90cefe37e47f918b07c495853afb70feef3",class:"stzh-appointments__more-link",size:"inherit",onClick:this.onMoreClick},a(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft)))))))}get element(){return n(this)}static get watchers(){return{dateAdapter:[{dateAdapterWatcher:0}],currentDate:[{currentDateWatcher:0}],sortBy:[{sortByWatcher:0}],value:[{valueWatcher:0}],appointments:[{appointmentsWatcher:0}]}}};c.style=".sc-stzh-appointments-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-appointments-h,[stzh-hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::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-appointments-h .has-focus.sc-stzh-appointments{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments{outline-style:none !important}.sc-stzh-appointments-h .stzh-fylingfocus-focused.sc-stzh-appointments::-moz-focus-inner{border:0 !important}.sc-stzh-appointments-h{--background-color:var(--stzh-color-secondary10)}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){padding-bottom:var(--stzh-space-small, 12px)}}.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xsmall, 8px)}@media screen and (min-width: 600px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-small, 12px)}}@media screen and (min-width: 900px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-medium, 16px)}}@media screen and (min-width: 1260px){.stzh-appointments__heading.sc-stzh-appointments:not(:empty){margin-bottom:var(--stzh-space-xlarge, 24px)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-top:var(--stzh-space-xxlarge, 32px)}}.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-appointments__wrapper.sc-stzh-appointments{padding-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-appointments__wrapper.sc-stzh-appointments{display:flex;flex-direction:column;padding-left:var(--stzh-space-large, 20px);padding-right:var(--stzh-space-large, 20px);background-color:var(--background-color)}@media screen and (min-width: 900px){.stzh-appointments__wrapper.sc-stzh-appointments{flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:flex;flex-direction:column}@media screen and (min-width: 900px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-xxlarge, 32px)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{flex-grow:1;display:flex;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xsmall, 8px)}@media screen and (min-width: 600px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-small, 12px)}}@media screen and (min-width: 900px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-medium, 16px)}}@media screen and (min-width: 1260px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{margin-bottom:var(--stzh-space-xlarge, 24px)}}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:flex;align-items:center;justify-content:space-between}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary70);display:flex;align-items:center}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{--size:var(--stzh-icon-size-large);margin-right:var(--stzh-space-xsmall, 8px)}.stzh-appointments__calendar-content.sc-stzh-appointments,.stzh-appointments__calendar-content-medium.sc-stzh-appointments{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)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;background-color:var(--stzh-color-white);padding-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 900px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{flex-grow:1}.stzh-appointments__appointments-radiogroup.sc-stzh-appointments{margin-top:var(--stzh-space-xsmall, 8px);margin-bottom:var(--stzh-space-xsmall, 8px)}.stzh-appointments__more-link.sc-stzh-appointments{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, 16px)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large, 20px)}@media screen and (min-width: 900px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";export{c as stzh_appointments}
@@ -1 +1 @@
1
- import{r as e,h as t,a as s,d as r}from"./p-vaw5DHDC.js";import{s as d,h as a}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const i=class{constructor(t){e(this,t),this.link="",this.target="_blank",this.variant="info",this.init=()=>{const e=this.element.querySelector('stzh-heading[slot="heading"], [slot="heading"] stzh-heading');e&&d(e,{curve:"h3",level:"3"})}}async connectedCallback(){this.init()}renderInner(){const e=a(this.element,"heading"),s=a(this.element,"description"),r=a(this.element,"content");return t("div",{class:"stzh-feedreader-item__container"},t("div",{class:"stzh-feedreader-item__header"},"warning"===this.variant&&t("stzh-icon",{class:"stzh-feedreader-item__header-icon",name:"important-warning-filled"}),t("div",{class:"stzh-feedreader-item__header-text"},e&&t("slot",{name:"heading"}),s&&t("slot",{name:"description"}))),r&&t("div",{class:"stzh-feedreader-item__content"},t("slot",{name:"content"})))}render(){const e={"stzh-feedreader-item":!0,"stzh-feedreader-item--has-link":!!this.link,[`stzh-feedreader-item--${this.variant}`]:!0};return t(s,{key:"eee9266ad494e74a0d00b38f043ba44a9e57221c",variant:this.variant},this.link?t("a",{class:e,href:this.link,target:this.target},this.renderInner()):t("div",{class:e},this.renderInner()))}get element(){return r(this)}};i.style='@charset "UTF-8";.sc-stzh-feedreader-item-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-feedreader-item-h,[stzh-hidden].sc-stzh-feedreader-item-h{display:none}.sc-stzh-feedreader-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-feedreader-item-h *.sc-stzh-feedreader-item,.sc-stzh-feedreader-item-h *.sc-stzh-feedreader-item::before,.sc-stzh-feedreader-item-h *.sc-stzh-feedreader-item::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-feedreader-item-h .has-focus.sc-stzh-feedreader-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-feedreader-item-h .stzh-fylingfocus-focused.sc-stzh-feedreader-item{outline-style:none !important}.sc-stzh-feedreader-item-h .stzh-fylingfocus-focused.sc-stzh-feedreader-item::-moz-focus-inner{border:0 !important}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=heading]{margin-bottom:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=heading]{margin-bottom:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=heading]{margin-bottom:var(--stzh-space-small, 12px)}}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] *,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] *{color:var(--stzh-color-black);--color:var(--stzh-color-black)}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] .subtitle,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] .subtitle{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);font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);margin-bottom:0}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] ul,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] ul{margin:0;list-style-type:none;padding-inline-start:0.3125rem}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] ul>li,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] ul>li{text-indent:-0.3125rem}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] ul>li:before,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] ul>li:before{content:"–";text-indent:-0.3125rem;padding-right:0.75rem}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] p,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] p{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)}@media screen and (min-width: 900px){.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] p,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] p{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)}}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] strong,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] table,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] table{border-spacing:0}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] table td,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] table td{padding-right:var(--stzh-space-small);padding-bottom:var(--stzh-space-small);vertical-align:top}.sc-stzh-feedreader-item-h[variant=warning].sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h[variant=warning] .sc-stzh-feedreader-item-s>[slot=heading]{--color:var(--stzh-color-warning90)}.stzh-feedreader-item.sc-stzh-feedreader-item{display:block;transition:background-color 0.2s ease;height:100%;padding-top:var(--stzh-space-large, 20px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-top:var(--stzh-space-xxlarge, 32px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-top:var(--stzh-space-xxxlarge, 40px)}}.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-xxlarge, 32px)}}.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-large, 20px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-xxlarge, 32px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-xxxlarge, 40px)}}.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-xxlarge, 32px)}}.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-feedreader-item__header.sc-stzh-feedreader-item{display:flex;flex-direction:row;gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{gap:var(--stzh-space-medium)}}.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{--color:var(--stzh-color-warning70)}@media screen and (min-width: 1260px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{--size:1.75rem}}@media screen and (min-width: 900px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{margin-top:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-feedreader-item--info.sc-stzh-feedreader-item{background-color:var(--stzh-color-grey10)}.stzh-feedreader-item--warning.sc-stzh-feedreader-item{background-color:var(--stzh-color-warning20)}.stzh-feedreader-item--has-link.sc-stzh-feedreader-item{text-decoration:none}.stzh-feedreader-item--has-link.stzh-feedreader-item--info.sc-stzh-feedreader-item:hover{background-color:var(--stzh-color-grey20)}.stzh-feedreader-item--has-link.stzh-feedreader-item--warning.sc-stzh-feedreader-item:hover{background-color:var(--stzh-color-warning30)}';export{i as stzh_feedreader_item}
1
+ import{r as e,h as t,a as s,d as r}from"./p-rujKGmCS.js";import{s as d,h as a}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const i=class{constructor(t){e(this,t),this.link="",this.target="_blank",this.variant="info",this.init=()=>{const e=this.element.querySelector('stzh-heading[slot="heading"], [slot="heading"] stzh-heading');e&&d(e,{curve:"h3",level:"3"})}}async connectedCallback(){this.init()}renderInner(){const e=a(this.element,"heading"),s=a(this.element,"description"),r=a(this.element,"content");return t("div",{class:"stzh-feedreader-item__container"},t("div",{class:"stzh-feedreader-item__header"},"warning"===this.variant&&t("stzh-icon",{class:"stzh-feedreader-item__header-icon",name:"important-warning-filled"}),t("div",{class:"stzh-feedreader-item__header-text"},e&&t("slot",{name:"heading"}),s&&t("slot",{name:"description"}))),r&&t("div",{class:"stzh-feedreader-item__content"},t("slot",{name:"content"})))}render(){const e={"stzh-feedreader-item":!0,"stzh-feedreader-item--has-link":!!this.link,[`stzh-feedreader-item--${this.variant}`]:!0};return t(s,{key:"eee9266ad494e74a0d00b38f043ba44a9e57221c",variant:this.variant},this.link?t("a",{class:e,href:this.link,target:this.target},this.renderInner()):t("div",{class:e},this.renderInner()))}get element(){return r(this)}};i.style='@charset "UTF-8";.sc-stzh-feedreader-item-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-feedreader-item-h,[stzh-hidden].sc-stzh-feedreader-item-h{display:none}.sc-stzh-feedreader-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-feedreader-item-h *.sc-stzh-feedreader-item,.sc-stzh-feedreader-item-h *.sc-stzh-feedreader-item::before,.sc-stzh-feedreader-item-h *.sc-stzh-feedreader-item::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-feedreader-item-h .has-focus.sc-stzh-feedreader-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-feedreader-item-h .stzh-fylingfocus-focused.sc-stzh-feedreader-item{outline-style:none !important}.sc-stzh-feedreader-item-h .stzh-fylingfocus-focused.sc-stzh-feedreader-item::-moz-focus-inner{border:0 !important}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=heading]{margin-bottom:var(--stzh-space-xxsmall, 4px)}@media screen and (min-width: 900px){.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=heading]{margin-bottom:var(--stzh-space-xsmall, 8px)}}@media screen and (min-width: 1260px){.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=heading]{margin-bottom:var(--stzh-space-small, 12px)}}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] *,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] *{color:var(--stzh-color-black);--color:var(--stzh-color-black)}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] .subtitle,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] .subtitle{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);font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);margin-bottom:0}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] ul,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] ul{margin:0;list-style-type:none;padding-inline-start:0.3125rem}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] ul>li,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] ul>li{text-indent:-0.3125rem}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] ul>li:before,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] ul>li:before{content:"–";text-indent:-0.3125rem;padding-right:0.75rem}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] p,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] p{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)}@media screen and (min-width: 900px){.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] li,.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] p,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] p{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)}}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] strong,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] table,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] table{border-spacing:0}.sc-stzh-feedreader-item-h.sc-stzh-feedreader-item-s>[slot=content] table td,.sc-stzh-feedreader-item-h .sc-stzh-feedreader-item-s>[slot=content] table td{padding-right:var(--stzh-space-small);padding-bottom:var(--stzh-space-small);vertical-align:top}.sc-stzh-feedreader-item-h[variant=warning].sc-stzh-feedreader-item-s>[slot=heading],.sc-stzh-feedreader-item-h[variant=warning] .sc-stzh-feedreader-item-s>[slot=heading]{--color:var(--stzh-color-warning90)}.stzh-feedreader-item.sc-stzh-feedreader-item{display:block;transition:background-color 0.2s ease;height:100%;padding-top:var(--stzh-space-large, 20px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-top:var(--stzh-space-xxlarge, 32px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-top:var(--stzh-space-xxxlarge, 40px)}}.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-left:var(--stzh-space-xxlarge, 32px)}}.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-large, 20px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-xxlarge, 32px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-bottom:var(--stzh-space-xxxlarge, 40px)}}.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item.sc-stzh-feedreader-item{padding-right:var(--stzh-space-xxlarge, 32px)}}.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{margin-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-feedreader-item__header.sc-stzh-feedreader-item{display:flex;flex-direction:row;gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-feedreader-item__header.sc-stzh-feedreader-item{gap:var(--stzh-space-medium)}}.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{--color:var(--stzh-color-warning70)}@media screen and (min-width: 1260px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{--size:1.75rem}}@media screen and (min-width: 900px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{margin-top:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){.stzh-feedreader-item__header-icon.sc-stzh-feedreader-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-feedreader-item--info.sc-stzh-feedreader-item{background-color:var(--stzh-color-grey10)}.stzh-feedreader-item--warning.sc-stzh-feedreader-item{background-color:var(--stzh-color-warning20)}.stzh-feedreader-item--has-link.sc-stzh-feedreader-item{text-decoration:none}.stzh-feedreader-item--has-link.stzh-feedreader-item--info.sc-stzh-feedreader-item:hover{background-color:var(--stzh-color-grey20)}.stzh-feedreader-item--has-link.stzh-feedreader-item--warning.sc-stzh-feedreader-item:hover{background-color:var(--stzh-color-warning30)}';export{i as stzh_feedreader_item}
@@ -1 +1 @@
1
- import{r as t,h as o,a as s,d as e}from"./p-vaw5DHDC.js";import{s as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const n=class{constructor(o){t(this,o),this.handleLinkClick=()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},this.handleSlotchange=()=>{var t;((null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element).querySelectorAll("stzh-link, stzh-button").forEach((t=>{t.addEventListener("click",this.handleLinkClick),i(t,{icon:"arrow-up"})}))}}render(){return o(s,{key:"0485a4c0cd3994558ffefa695bdca60fcbb7736c"},o("div",{key:"9e604a9c0862c6ebade7f64c5446a90d274484b4",class:{"stzh-scrollup":!0}},o("slot",{key:"18ba334a4a89db89961ff0d5b9b9f1c4c920e056",onSlotchange:this.handleSlotchange})))}get element(){return e(this)}};n.style=":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],:host[stzh-hidden]{display:none}: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{}: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}:host{display:contents}@media print{:host{display:none}}.stzh-scrollup{display:contents}";export{n as stzh_scrollup}
1
+ import{r as t,h as o,a as s,d as e}from"./p-rujKGmCS.js";import{s as i}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const n=class{constructor(o){t(this,o),this.handleLinkClick=()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},this.handleSlotchange=()=>{var t;((null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element).querySelectorAll("stzh-link, stzh-button").forEach((t=>{t.addEventListener("click",this.handleLinkClick),i(t,{icon:"arrow-up"})}))}}render(){return o(s,{key:"0485a4c0cd3994558ffefa695bdca60fcbb7736c"},o("div",{key:"9e604a9c0862c6ebade7f64c5446a90d274484b4",class:{"stzh-scrollup":!0}},o("slot",{key:"18ba334a4a89db89961ff0d5b9b9f1c4c920e056",onSlotchange:this.handleSlotchange})))}get element(){return e(this)}};n.style=":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],:host[stzh-hidden]{display:none}: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{}: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}:host{display:contents}@media print{:host{display:none}}.stzh-scrollup{display:contents}";export{n as stzh_scrollup}
@@ -1 +1 @@
1
- import{r as t,h as e,f as s,a,d as i}from"./p-vaw5DHDC.js";import{s as r,h as o}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const n=class{constructor(e){t(this,e),this.init=()=>{this.element.querySelectorAll('stzh-textandimage stzh-ratio[slot="right"], stzh-textandimage [slot="right"] stzh-ratio, stzh-textandimage stzh-gallery[slot="right"], stzh-textandimage [slot="right"] stzh-gallery').forEach((t=>{r(t,{ratio:"16:9"})}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){const t=o(this.element,"left"),i=o(this.element,"right");return e(a,{key:"47227aa15b18560c75c396dd99c367d9cb9dce60"},e("div",{key:"5ca974ad6406ca2f8e3c529af8741051c1638938",class:{"stzh-twocolumns":!0,"stzh-twocolumns--has-left":t,"stzh-twocolumns--has-right":i}},e("div",{key:"0477ba7474684ce45d93759cd3674d4075ba7d59",class:"stzh-twocolumns__left"},e("slot",{key:"5fc3a26bb7c4c87f1d8f6a4c46f9ec31a6edee3d",name:"left",onSlotchange:()=>s(this.element)})),e("div",{key:"204168e2084be34e5622b312227a29e805ca5673",class:"stzh-twocolumns__right"},e("slot",{key:"074ae4ce0896199d8ff4e7dc75f39efbb40d0184",name:"right",onSlotchange:()=>s(this.element)}))))}get element(){return i(this)}};n.style=':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],:host[stzh-hidden]{display:none}: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{}: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}:host{--row-gap:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){:host{--row-gap:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){:host{--row-gap:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){:host{--row-gap:var(--stzh-space-xxlarge, 32px)}}:host{--grid-template-areas:var( --stzh-twocolumns-grid-template-areas, "left left left left" "right right right right" );--grid-template-columns:var( --stzh-twocolumns-grid-template-columns, repeat(4, minmax(0, 1fr)) )}@media screen and (min-width: 900px){:host{--grid-template-areas:var( --stzh-twocolumns-grid-template-areas, "left left left left right right right right" );--grid-template-columns:var( --stzh-twocolumns-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 1260px){:host{--grid-template-areas:var( --stzh-twocolumns-grid-template-areas, "left left left left right right right right" )}}.stzh-twocolumns{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-twocolumns{display:grid;row-gap:var(--row-gap);grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns);--stzh-textandimage-grid-template-areas:"image image image image" "text text text text";--stzh-textandimage-grid-template-columns:repeat(4, minmax(0, 1fr))}.stzh-twocolumns__left{grid-area:left}.stzh-twocolumns__right{grid-area:right}';export{n as stzh_twocolumns}
1
+ import{r as t,h as e,f as s,a,d as r}from"./p-rujKGmCS.js";import{s as i,h as o}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const n=class{constructor(e){t(this,e),this.init=()=>{this.element.querySelectorAll('stzh-textandimage stzh-ratio[slot="right"], stzh-textandimage [slot="right"] stzh-ratio, stzh-textandimage stzh-gallery[slot="right"], stzh-textandimage [slot="right"] stzh-gallery').forEach((t=>{i(t,{ratio:"16:9"})}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){const t=o(this.element,"left"),r=o(this.element,"right");return e(a,{key:"47227aa15b18560c75c396dd99c367d9cb9dce60"},e("div",{key:"5ca974ad6406ca2f8e3c529af8741051c1638938",class:{"stzh-twocolumns":!0,"stzh-twocolumns--has-left":t,"stzh-twocolumns--has-right":r}},e("div",{key:"0477ba7474684ce45d93759cd3674d4075ba7d59",class:"stzh-twocolumns__left"},e("slot",{key:"5fc3a26bb7c4c87f1d8f6a4c46f9ec31a6edee3d",name:"left",onSlotchange:()=>s(this.element)})),e("div",{key:"204168e2084be34e5622b312227a29e805ca5673",class:"stzh-twocolumns__right"},e("slot",{key:"074ae4ce0896199d8ff4e7dc75f39efbb40d0184",name:"right",onSlotchange:()=>s(this.element)}))))}get element(){return r(this)}};n.style=':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],:host[stzh-hidden]{display:none}: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{}: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}:host{--row-gap:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){:host{--row-gap:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){:host{--row-gap:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){:host{--row-gap:var(--stzh-space-xxlarge, 32px)}}:host{--grid-template-areas:var( --stzh-twocolumns-grid-template-areas, "left left left left" "right right right right" );--grid-template-columns:var( --stzh-twocolumns-grid-template-columns, repeat(4, minmax(0, 1fr)) )}@media screen and (min-width: 900px){:host{--grid-template-areas:var( --stzh-twocolumns-grid-template-areas, "left left left left right right right right" );--grid-template-columns:var( --stzh-twocolumns-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 1260px){:host{--grid-template-areas:var( --stzh-twocolumns-grid-template-areas, "left left left left right right right right" )}}.stzh-twocolumns{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-twocolumns{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-twocolumns{display:grid;row-gap:var(--row-gap);grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns);--stzh-textandimage-grid-template-areas:"image image image image" "text text text text";--stzh-textandimage-grid-template-columns:repeat(4, minmax(0, 1fr))}.stzh-twocolumns__left{grid-area:left}.stzh-twocolumns__right{grid-area:right}';export{n as stzh_twocolumns}
@@ -1 +1 @@
1
- import{r as t,h as e,a,d as s}from"./p-vaw5DHDC.js";import{s as i,h}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const r="has-sticked",o="is-sticky-left",l="is-sticky-right",n=class{constructor(e){t(this,e),this.fixedLeft=null,this.fixedRight=null,this.disableMinWidth=!1,this.hasScrollLeft=!1,this.hasScrollRight=!1,this.isScrollable=!1,this.cellsStickyLeft=[],this.cellsStickyRight=[],this.updateCellClasses=()=>{this.tableWrapper&&Array.from(this.tableWrapper.querySelectorAll("tr")).forEach((t=>{Array.from(t.children).forEach(((t,e)=>{t.classList.remove(o),t.classList.remove(l),e===this.fixedLeft&&t.classList.add(o),e===this.fixedRight&&t.classList.add(l)}))}))},this.updateScrollStates=()=>{if(!this.tableWrapper)return;const t=this.tableWrapper.scrollLeft,e=this.tableWrapper.scrollWidth,a=this.tableWrapper.clientWidth;this.isScrollable=e>a,this.hasScrollLeft=t>0,this.hasScrollRight=t<e-a;const s=Array.from(this.tableWrapper.querySelectorAll("tr")),i=s[0];i&&(this.cellsStickyLeft=[],this.cellsStickyRight=[],Array.from(i.children).forEach(((e,s)=>{const i=e.offsetLeft,h=i+e.offsetWidth;this.hasScrollLeft&&s===this.fixedLeft&&Math.ceil(t)>=i&&this.cellsStickyLeft.push(s),this.hasScrollRight&&s===this.fixedRight&&Math.ceil(t)+a<=h&&this.cellsStickyRight.push(s)})),s.forEach((t=>{Array.from(t.children).forEach(((t,e)=>{this.cellsStickyLeft.indexOf(e)>-1||this.cellsStickyRight.indexOf(e)>-1?t.classList.add(r):t.classList.remove(r)}))})))},this.init=()=>{const t=this.element.querySelector('stzh-input[slot="search"], [slot="search"] stzh-input'),e=this.element.querySelectorAll('stzh-dropdown[slot="list-sort-by-dropdown"], [slot="list-sort-by-dropdown"] stzh-dropdown, stzh-dropdown[slot="list-sort-direction-dropdown"], [slot="list-sort-direction-dropdown"] stzh-dropdown');t&&i(t,{type:"search",size:"small",hideOptional:!0}),e.forEach((t=>{i(t,{inline:!0,noSearch:!0,variant:"plain",size:"small"})})),this.updateCellClasses(),this.updateScrollStates()},this.handleResize=()=>{this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.updateScrollStates)},this.handleScroll=()=>{this.debounceScroll&&window.cancelAnimationFrame(this.debounceScroll),this.debounceScroll=requestAnimationFrame(this.updateScrollStates)}}fixedCellWatcher(){this.updateCellClasses(),this.updateScrollStates()}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0}),this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.element)}disconnectedCallback(){this.observer&&this.observer.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect()}render(){const t=h(this.element,"heading"),s=h(this.element,"action-button"),i=h(this.element,"search"),r=h(this.element,"list");return e(a,{key:"0f73f682d9e340879cb2e4f678ea855f72b3afb8"},e("div",{key:"df1bf4c7eccca49a2a33b93452ae29c6d1e1ef3c",class:{"stzh-table":!0,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&0===this.cellsStickyLeft.length,"has-scroll-right-shadow":this.hasScrollRight&&0===this.cellsStickyRight.length,"has-list":r,"has-heading":t,"has-action-or-search":s||i,"has-header":t||s||i}},e("div",{key:"592936491a2981fc3dc8c2fdc9a23fddd106b353",class:"stzh-table__header"},e("div",{key:"4e4f2806b1f3e8d70ca5804d433e19cbaa55fd86",class:"stzh-table__heading"},e("slot",{key:"e6b9e225d815ee1353388a74fd7304d044e59365",name:"heading"})),e("div",{key:"82948028599ea69cd14dd04ffe63922921f01874",class:"stzh-table__sub-header"},e("div",{key:"b22d2cba1117e87b1e0ad685411c71a87d2e3251",class:"stzh-table__search"},e("slot",{key:"47f92663ac26c8f8dfbe803959dfa24f8dfeffa0",name:"search"})),e("div",{key:"abff6ddf2b1a67bfd0784c59673d65bb6826727b",class:"stzh-table__action-button"},e("slot",{key:"b709b8eed2420db93fc02976513d45d1331de6cd",name:"action-button"})))),e("div",{key:"b3de17d57a5b99c19884a7771067c7bcab94bb55",class:"stzh-table__outer-wrapper"},e("div",{key:"7d757239cf174eaf905424d323781f4fc0e83ca7",ref:t=>this.tableWrapper=t,class:"stzh-table__wrapper",onScroll:this.handleScroll},e("slot",{key:"5331b62b000942b88948d4895f31a5fd74a972b8"}))),e("div",{key:"2191aa961c14bbfc8c96e4ce3aea9bdeb78a6af5",class:"stzh-table__list-wrapper"},e("div",{key:"a9c800e337a015a8f14f96ebd126a99b16fbc7fc",class:"stzh-table__list-sort-wrapper"},e("slot",{key:"dbba75e25ba47256e663cc065ff17c798a4f1478",name:"list-sort-by-dropdown"}),e("slot",{key:"164646aeac7df10f41b4ecc387048a13263c0009",name:"list-sort-direction-dropdown"})),e("slot",{key:"ad6acfdeaf94f09949cbd5481748ac69b18d7d41",name:"list"})),e("div",{key:"5336bb593b5ebbebecca4e6ce5f9776e238a6eaf",class:"stzh-table__pagination-wrapper"},e("slot",{key:"6f52f77cdc22ce2e89dc53a01c1ee311de7572b7",name:"pagination"}))))}get element(){return s(this)}static get watchers(){return{fixedLeft:[{fixedCellWatcher:0}],fixedRight:[{fixedCellWatcher:0}]}}};n.style=':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],:host[stzh-hidden]{display:none}: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{}: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-table{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}stzh-table[hidden],stzh-table[stzh-hidden]{display:none}stzh-table::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-table *,stzh-table *::before,stzh-table *::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-table{}stzh-table .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-table .stzh-fylingfocus-focused{outline-style:none !important}stzh-table .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-table{--stzh-list-font-size:"";--stzh-list-line-height:"";--stzh-list-letter-spacing:"";--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--search-input-width:var(--stzh-table-search-input-width)}stzh-table[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-table{-webkit-text-size-adjust:100%}.stzh-table__sub-header{display:flex;align-items:flex-end;justify-content:space-between}.stzh-table__header .stzh-table__search{flex-grow:1;margin-right:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-table__header .stzh-table__search{width:var(--search-input-width);flex-grow:0}}.stzh-table__action-button{flex-shrink:0;margin-left:auto}.stzh-table__outer-wrapper{position:relative}.stzh-table__outer-wrapper::before,.stzh-table__outer-wrapper::after{z-index:4;background:linear-gradient(90deg, rgb(210, 210, 210) 0%, rgba(255, 255, 255, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:1.5rem;transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-table__outer-wrapper::before{left:0}.stzh-table__outer-wrapper::after{right:0;transform:rotate(-180deg)}.stzh-table__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-table__wrapper::-webkit-scrollbar{position:absolute;z-index:9999999;width:0.5rem;background-color:transparent}.stzh-table__wrapper::-webkit-scrollbar:horizontal{height:0.5rem}.stzh-table__wrapper::-webkit-scrollbar-track{background-color:transparent}.stzh-table__wrapper::-webkit-scrollbar-thumb{background-color:var(--stzh-color-secondary50)}.stzh-table__wrapper::-webkit-scrollbar-thumb:active,.stzh-table__wrapper ::-webkit-scrollbar-thumb:hover{background-color:var(--stzh-color-secondary50)}.stzh-table__pagination-wrapper{display:flex;justify-content:flex-end}.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xxlarge, 32px)}}.stzh-table__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);cursor:pointer;appearance:none;background:none;border:none;display:inline-flex;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding);gap:var(--stzh-space-xxsmall, 4px)}.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:var(--stzh-color-primary-hover)}@media (forced-colors: active){.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:Highlight}}.stzh-table__list-sort-wrapper{display:flex;flex-direction:column;align-items:flex-start}.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-table__list-sort-wrapper stzh-dropdown+stzh-dropdown{margin-top:calc(var(--stzh-space-xsmall, 8px) / -1)}.stzh-table table{width:100%;border-spacing:0;min-width:var(--min-width);}.stzh-table table.has-layout-fixed{table-layout:fixed}.stzh-table thead{position:sticky;top:0;z-index:1}.stzh-table tbody tr:nth-child(even) td,.stzh-table tbody tr:nth-child(even) th{background-color:var(--stzh-color-grey10)}.stzh-table td,.stzh-table th{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);text-align:left;border:none;vertical-align:top;border:none;background-color:var(--stzh-color-white);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.stzh-table td a,.stzh-table th a{color:var(--stzh-link-color);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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-table td a:hover,.stzh-table th a:hover{color:var(--stzh-link-hover-color);-webkit-text-decoration-line:var(--stzh-link-hover-text-decoration-line);text-decoration-line:var(--stzh-link-hover-text-decoration-line)}.stzh-table td b,.stzh-table td strong,.stzh-table th b,.stzh-table th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-table td i,.stzh-table td em,.stzh-table th i,.stzh-table th em{font-family:var(--stzh-font-family-medium-italic);font-weight:var(--stzh-font-weight-medium-italic);font-style:var(--stzh-font-style-medium-italic)}.stzh-table td,.stzh-table th{}.stzh-table td.align-left,.stzh-table th.align-left{text-align:left}.stzh-table td.align-right,.stzh-table th.align-right{text-align:right}.stzh-table td.align-center,.stzh-table th.align-center{text-align:center}.stzh-table td,.stzh-table th{}.stzh-table td.valign-auto,.stzh-table th.valign-auto{vertical-align:auto}.stzh-table td.valign-middle,.stzh-table th.valign-middle{vertical-align:middle}.stzh-table td.valign-bottom,.stzh-table th.valign-bottom{vertical-align:bottom}.stzh-table td.valign-top,.stzh-table th.valign-top{vertical-align:top}.stzh-table td,.stzh-table th{}.stzh-table td.nowrap,.stzh-table th.nowrap{white-space:nowrap}.stzh-table td,.stzh-table th{}.stzh-table td.is-head,.stzh-table th.is-head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-table td,.stzh-table th{}.stzh-table td.is-sticky-left,.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-left,.stzh-table th.is-sticky-right{position:sticky;z-index:1}.stzh-table td.has-sticked,.stzh-table th.has-sticked{z-index:2}.stzh-table td.is-sticky-left,.stzh-table th.is-sticky-left{left:0}.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-right{right:0}.stzh-table td.is-sticky-left::after,.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-left::after,.stzh-table th.is-sticky-right::after{background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;transform:translate(100%);opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-table td.is-sticky-left::after,.stzh-table th.is-sticky-left::after{right:0}.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-right::after{left:0;transform:rotate(-180deg) translate(100%)}.stzh-table td.has-sticked.is-sticky-left::after,.stzh-table td.has-sticked.is-sticky-right::after,.stzh-table th.has-sticked.is-sticky-left::after,.stzh-table th.has-sticked.is-sticky-right::after{opacity:1}.stzh-table th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-table-head-color, var(--stzh-color-primary))}.stzh-table th.is-sortable{padding:0}.stzh-table th:has(>span):has(>stzh-icon)>span,.stzh-table th:has(>span):has(>stzh-icon)>stzh-icon{vertical-align:middle}.stzh-table th:has(>span):has(>stzh-icon)>stzh-icon{display:inline-block}.stzh-table{}td.has-sorted .stzh-table__sort-icon,th.has-sorted .stzh-table__sort-icon{display:inline-flex}td.has-sorted-desc .stzh-table__sort-icon,th.has-sorted-desc .stzh-table__sort-icon{transform:rotate(180deg)}.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-xsmall, 8px)}@media screen and (min-width: 600px){.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-small, 12px)}}@media screen and (min-width: 900px){.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-medium, 16px)}}@media screen and (min-width: 1260px){.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-xlarge, 24px)}}.stzh-table.has-action-or-search .stzh-table__heading:not(:empty){margin-bottom:var(--stzh-space-xlarge, 24px)}.stzh-table{}.stzh-table.has-list .stzh-table__outer-wrapper{display:none}@media screen and (min-width: 1260px){.stzh-table.has-list .stzh-table__outer-wrapper{display:block}}@media screen and (min-width: 1260px){.stzh-table.has-list .stzh-table__list-wrapper{display:none}}.stzh-table{}.stzh-table.has-scroll-left-shadow .stzh-table__outer-wrapper::before,.stzh-table.has-scroll-right-shadow .stzh-table__outer-wrapper::after{opacity:1}.stzh-table.has-scroll-right .stzh-table__wrapper{overflow-x:scroll}';export{n as stzh_table}
1
+ import{r as t,h as e,a,d as s}from"./p-rujKGmCS.js";import{s as i,h}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const r="has-sticked",o="is-sticky-left",l="is-sticky-right",n=class{constructor(e){t(this,e),this.fixedLeft=null,this.fixedRight=null,this.disableMinWidth=!1,this.hasScrollLeft=!1,this.hasScrollRight=!1,this.isScrollable=!1,this.cellsStickyLeft=[],this.cellsStickyRight=[],this.updateCellClasses=()=>{this.tableWrapper&&Array.from(this.tableWrapper.querySelectorAll("tr")).forEach((t=>{Array.from(t.children).forEach(((t,e)=>{t.classList.remove(o),t.classList.remove(l),e===this.fixedLeft&&t.classList.add(o),e===this.fixedRight&&t.classList.add(l)}))}))},this.updateScrollStates=()=>{if(!this.tableWrapper)return;const t=this.tableWrapper.scrollLeft,e=this.tableWrapper.scrollWidth,a=this.tableWrapper.clientWidth;this.isScrollable=e>a,this.hasScrollLeft=t>0,this.hasScrollRight=t<e-a;const s=Array.from(this.tableWrapper.querySelectorAll("tr")),i=s[0];i&&(this.cellsStickyLeft=[],this.cellsStickyRight=[],Array.from(i.children).forEach(((e,s)=>{const i=e.offsetLeft,h=i+e.offsetWidth;this.hasScrollLeft&&s===this.fixedLeft&&Math.ceil(t)>=i&&this.cellsStickyLeft.push(s),this.hasScrollRight&&s===this.fixedRight&&Math.ceil(t)+a<=h&&this.cellsStickyRight.push(s)})),s.forEach((t=>{Array.from(t.children).forEach(((t,e)=>{this.cellsStickyLeft.indexOf(e)>-1||this.cellsStickyRight.indexOf(e)>-1?t.classList.add(r):t.classList.remove(r)}))})))},this.init=()=>{const t=this.element.querySelector('stzh-input[slot="search"], [slot="search"] stzh-input'),e=this.element.querySelectorAll('stzh-dropdown[slot="list-sort-by-dropdown"], [slot="list-sort-by-dropdown"] stzh-dropdown, stzh-dropdown[slot="list-sort-direction-dropdown"], [slot="list-sort-direction-dropdown"] stzh-dropdown');t&&i(t,{type:"search",size:"small",hideOptional:!0}),e.forEach((t=>{i(t,{inline:!0,noSearch:!0,variant:"plain",size:"small"})})),this.updateCellClasses(),this.updateScrollStates()},this.handleResize=()=>{this.debounceResize&&window.cancelAnimationFrame(this.debounceResize),this.debounceResize=requestAnimationFrame(this.updateScrollStates)},this.handleScroll=()=>{this.debounceScroll&&window.cancelAnimationFrame(this.debounceScroll),this.debounceScroll=requestAnimationFrame(this.updateScrollStates)}}fixedCellWatcher(){this.updateCellClasses(),this.updateScrollStates()}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0}),this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.element)}disconnectedCallback(){this.observer&&this.observer.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect()}render(){const t=h(this.element,"heading"),s=h(this.element,"action-button"),i=h(this.element,"search"),r=h(this.element,"list");return e(a,{key:"0f73f682d9e340879cb2e4f678ea855f72b3afb8"},e("div",{key:"df1bf4c7eccca49a2a33b93452ae29c6d1e1ef3c",class:{"stzh-table":!0,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&0===this.cellsStickyLeft.length,"has-scroll-right-shadow":this.hasScrollRight&&0===this.cellsStickyRight.length,"has-list":r,"has-heading":t,"has-action-or-search":s||i,"has-header":t||s||i}},e("div",{key:"592936491a2981fc3dc8c2fdc9a23fddd106b353",class:"stzh-table__header"},e("div",{key:"4e4f2806b1f3e8d70ca5804d433e19cbaa55fd86",class:"stzh-table__heading"},e("slot",{key:"e6b9e225d815ee1353388a74fd7304d044e59365",name:"heading"})),e("div",{key:"82948028599ea69cd14dd04ffe63922921f01874",class:"stzh-table__sub-header"},e("div",{key:"b22d2cba1117e87b1e0ad685411c71a87d2e3251",class:"stzh-table__search"},e("slot",{key:"47f92663ac26c8f8dfbe803959dfa24f8dfeffa0",name:"search"})),e("div",{key:"abff6ddf2b1a67bfd0784c59673d65bb6826727b",class:"stzh-table__action-button"},e("slot",{key:"b709b8eed2420db93fc02976513d45d1331de6cd",name:"action-button"})))),e("div",{key:"b3de17d57a5b99c19884a7771067c7bcab94bb55",class:"stzh-table__outer-wrapper"},e("div",{key:"7d757239cf174eaf905424d323781f4fc0e83ca7",ref:t=>this.tableWrapper=t,class:"stzh-table__wrapper",onScroll:this.handleScroll},e("slot",{key:"5331b62b000942b88948d4895f31a5fd74a972b8"}))),e("div",{key:"2191aa961c14bbfc8c96e4ce3aea9bdeb78a6af5",class:"stzh-table__list-wrapper"},e("div",{key:"a9c800e337a015a8f14f96ebd126a99b16fbc7fc",class:"stzh-table__list-sort-wrapper"},e("slot",{key:"dbba75e25ba47256e663cc065ff17c798a4f1478",name:"list-sort-by-dropdown"}),e("slot",{key:"164646aeac7df10f41b4ecc387048a13263c0009",name:"list-sort-direction-dropdown"})),e("slot",{key:"ad6acfdeaf94f09949cbd5481748ac69b18d7d41",name:"list"})),e("div",{key:"5336bb593b5ebbebecca4e6ce5f9776e238a6eaf",class:"stzh-table__pagination-wrapper"},e("slot",{key:"6f52f77cdc22ce2e89dc53a01c1ee311de7572b7",name:"pagination"}))))}get element(){return s(this)}static get watchers(){return{fixedLeft:[{fixedCellWatcher:0}],fixedRight:[{fixedCellWatcher:0}]}}};n.style=':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],:host[stzh-hidden]{display:none}: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{}: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-table{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}stzh-table[hidden],stzh-table[stzh-hidden]{display:none}stzh-table::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-table *,stzh-table *::before,stzh-table *::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-table{}stzh-table .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-table .stzh-fylingfocus-focused{outline-style:none !important}stzh-table .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-table{--stzh-list-font-size:"";--stzh-list-line-height:"";--stzh-list-letter-spacing:"";--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--search-input-width:var(--stzh-table-search-input-width)}stzh-table[disable-min-width]:not([disable-min-width=false]){--min-width:none}.stzh-table{-webkit-text-size-adjust:100%}.stzh-table__sub-header{display:flex;align-items:flex-end;justify-content:space-between}.stzh-table__header .stzh-table__search{flex-grow:1;margin-right:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-table__header .stzh-table__search{width:var(--search-input-width);flex-grow:0}}.stzh-table__action-button{flex-shrink:0;margin-left:auto}.stzh-table__outer-wrapper{position:relative}.stzh-table__outer-wrapper::before,.stzh-table__outer-wrapper::after{z-index:4;background:linear-gradient(90deg, rgb(210, 210, 210) 0%, rgba(255, 255, 255, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:1.5rem;transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-table__outer-wrapper::before{left:0}.stzh-table__outer-wrapper::after{right:0;transform:rotate(-180deg)}.stzh-table__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-table__wrapper::-webkit-scrollbar{position:absolute;z-index:9999999;width:0.5rem;background-color:transparent}.stzh-table__wrapper::-webkit-scrollbar:horizontal{height:0.5rem}.stzh-table__wrapper::-webkit-scrollbar-track{background-color:transparent}.stzh-table__wrapper::-webkit-scrollbar-thumb{background-color:var(--stzh-color-secondary50)}.stzh-table__wrapper::-webkit-scrollbar-thumb:active,.stzh-table__wrapper ::-webkit-scrollbar-thumb:hover{background-color:var(--stzh-color-secondary50)}.stzh-table__pagination-wrapper{display:flex;justify-content:flex-end}.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-table__pagination-wrapper:not(:empty){margin-top:var(--stzh-space-xxlarge, 32px)}}.stzh-table__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);cursor:pointer;appearance:none;background:none;border:none;display:inline-flex;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding);gap:var(--stzh-space-xxsmall, 4px)}.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:var(--stzh-color-primary-hover)}@media (forced-colors: active){.stzh-table__sort-button:hover,.stzh-table__sort-button:focus{color:Highlight}}.stzh-table__list-sort-wrapper{display:flex;flex-direction:column;align-items:flex-start}.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){.stzh-table__list-sort-wrapper:not(:empty){margin-bottom:var(--stzh-space-xxlarge, 32px)}}.stzh-table__list-sort-wrapper stzh-dropdown+stzh-dropdown{margin-top:calc(var(--stzh-space-xsmall, 8px) / -1)}.stzh-table table{width:100%;border-spacing:0;min-width:var(--min-width);}.stzh-table table.has-layout-fixed{table-layout:fixed}.stzh-table thead{position:sticky;top:0;z-index:1}.stzh-table tbody tr:nth-child(even) td,.stzh-table tbody tr:nth-child(even) th{background-color:var(--stzh-color-grey10)}.stzh-table td,.stzh-table th{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);text-align:left;border:none;vertical-align:top;border:none;background-color:var(--stzh-color-white);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding)}.stzh-table td a,.stzh-table th a{color:var(--stzh-link-color);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);text-underline-offset:var(--stzh-link-text-underline-offset);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line);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-table td a:hover,.stzh-table th a:hover{color:var(--stzh-link-hover-color);-webkit-text-decoration-line:var(--stzh-link-hover-text-decoration-line);text-decoration-line:var(--stzh-link-hover-text-decoration-line)}.stzh-table td b,.stzh-table td strong,.stzh-table th b,.stzh-table th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-table td i,.stzh-table td em,.stzh-table th i,.stzh-table th em{font-family:var(--stzh-font-family-medium-italic);font-weight:var(--stzh-font-weight-medium-italic);font-style:var(--stzh-font-style-medium-italic)}.stzh-table td,.stzh-table th{}.stzh-table td.align-left,.stzh-table th.align-left{text-align:left}.stzh-table td.align-right,.stzh-table th.align-right{text-align:right}.stzh-table td.align-center,.stzh-table th.align-center{text-align:center}.stzh-table td,.stzh-table th{}.stzh-table td.valign-auto,.stzh-table th.valign-auto{vertical-align:auto}.stzh-table td.valign-middle,.stzh-table th.valign-middle{vertical-align:middle}.stzh-table td.valign-bottom,.stzh-table th.valign-bottom{vertical-align:bottom}.stzh-table td.valign-top,.stzh-table th.valign-top{vertical-align:top}.stzh-table td,.stzh-table th{}.stzh-table td.nowrap,.stzh-table th.nowrap{white-space:nowrap}.stzh-table td,.stzh-table th{}.stzh-table td.is-head,.stzh-table th.is-head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-table td,.stzh-table th{}.stzh-table td.is-sticky-left,.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-left,.stzh-table th.is-sticky-right{position:sticky;z-index:1}.stzh-table td.has-sticked,.stzh-table th.has-sticked{z-index:2}.stzh-table td.is-sticky-left,.stzh-table th.is-sticky-left{left:0}.stzh-table td.is-sticky-right,.stzh-table th.is-sticky-right{right:0}.stzh-table td.is-sticky-left::after,.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-left::after,.stzh-table th.is-sticky-right::after{background:linear-gradient(90deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0) 100%);content:"";pointer-events:none;position:absolute;top:0;height:100%;width:0.375rem;transform:translate(100%);opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-table td.is-sticky-left::after,.stzh-table th.is-sticky-left::after{right:0}.stzh-table td.is-sticky-right::after,.stzh-table th.is-sticky-right::after{left:0;transform:rotate(-180deg) translate(100%)}.stzh-table td.has-sticked.is-sticky-left::after,.stzh-table td.has-sticked.is-sticky-right::after,.stzh-table th.has-sticked.is-sticky-left::after,.stzh-table th.has-sticked.is-sticky-right::after{opacity:1}.stzh-table th{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-table-head-color, var(--stzh-color-primary))}.stzh-table th.is-sortable{padding:0}.stzh-table th:has(>span):has(>stzh-icon)>span,.stzh-table th:has(>span):has(>stzh-icon)>stzh-icon{vertical-align:middle}.stzh-table th:has(>span):has(>stzh-icon)>stzh-icon{display:inline-block}.stzh-table{}td.has-sorted .stzh-table__sort-icon,th.has-sorted .stzh-table__sort-icon{display:inline-flex}td.has-sorted-desc .stzh-table__sort-icon,th.has-sorted-desc .stzh-table__sort-icon{transform:rotate(180deg)}.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-xsmall, 8px)}@media screen and (min-width: 600px){.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-small, 12px)}}@media screen and (min-width: 900px){.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-medium, 16px)}}@media screen and (min-width: 1260px){.stzh-table.has-header .stzh-table__header{margin-bottom:var(--stzh-space-xlarge, 24px)}}.stzh-table.has-action-or-search .stzh-table__heading:not(:empty){margin-bottom:var(--stzh-space-xlarge, 24px)}.stzh-table{}.stzh-table.has-list .stzh-table__outer-wrapper{display:none}@media screen and (min-width: 1260px){.stzh-table.has-list .stzh-table__outer-wrapper{display:block}}@media screen and (min-width: 1260px){.stzh-table.has-list .stzh-table__list-wrapper{display:none}}.stzh-table{}.stzh-table.has-scroll-left-shadow .stzh-table__outer-wrapper::before,.stzh-table.has-scroll-right-shadow .stzh-table__outer-wrapper::after{opacity:1}.stzh-table.has-scroll-right .stzh-table__wrapper{overflow-x:scroll}';export{n as stzh_table}
@@ -1 +1 @@
1
- import{r as t,c as s,h as o,a as e,d as i}from"./p-vaw5DHDC.js";import{s as a,h as n}from"./p-CBLSoWgI.js";import{w as r}from"./p-DWwDEqXf.js";import{s as h,a as l,b as c}from"./p-BOO84wnP.js";import{a as d}from"./p-BAOTHwqO.js";import"./p-BubviQku.js";const f=[{transform:"translateY(100%)",opacity:"0",height:"0",marginBottom:"0"},{transform:"translateY(0px)",opacity:"1",height:"auto",marginBottom:"auto"}],m={duration:300,easing:"ease-out"},p=[{transform:"translateX(0px)",opacity:"1",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"0",marginBottom:"0"}],z={duration:300,easing:"ease-in"},b=class{constructor(o){t(this,o),this.stzhOpen=s(this,"stzhOpen"),this.stzhOpened=s(this,"stzhOpened"),this.stzhClose=s(this,"stzhClose"),this.stzhClosed=s(this,"stzhClosed"),this.label="",this.type="info",this.hideClose=!1,this.open=!0,this.initialOpenAnimation=!1,this.handleLinkSlotchange=()=>{var t;((null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element).querySelectorAll('stzh-button[slot="link"], [slot="link"] stzh-button').forEach((t=>{a(t,{size:"small",variant:"tertiary"})}))},this.onCloseButtonClick=()=>{this.hide()}}async openWatcher(t){if(this.rootElement){if(t){this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-toast"}),await h(this.element),this.element.hidden=!1;const t=getComputedStyle(this.element,null);await l(this.element,c(f,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),m),this.element.style.height="auto",this.element.style.opacity="1",this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-toast"})}else{this.toggledByMethod&&this.stzhClose.emit({component:"stzh-toast"}),await h(this.element);const t=getComputedStyle(this.element,null);await l(this.element,c(p,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),z),this.element.style.height="0px",this.element.style.opacity="0",this.element.hidden=!0,this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-toast"})}this.toggledByMethod=!1}}async show(){if(!this.open)return this.toggledByMethod=!0,this.open=!0,r(this.element,"stzhOpened")}async hide(){if(this.open)return this.toggledByMethod=!0,this.open=!1,r(this.element,"stzhClosed")}async componentWillLoad(){this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"toast"))}componentDidLoad(){this.initialOpenAnimation&&this.open?(this.element.hidden=!0,this.element.style.height="0px",this.element.style.opacity="0",requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.openWatcher(!0)}))}))):(this.element.hidden=!this.open,this.element.style.height=this.open?"auto":"0px",this.element.style.opacity=this.open?"1":"0")}render(){const t=n(this.element,"link");return o(e,{key:"4ee88fc617f0a4eab2383c50500910492e2f1d48"},o("div",{key:"3287fec5c87a1b6618ef0fa91ff04a1b0026e3eb",ref:t=>this.rootElement=t,class:{"stzh-toast":!0,"stzh-toast--has-link":t,"stzh-toast--has-close-hidden":this.hideClose,[`stzh-toast--type-${this.type}`]:!!this.type}},o("div",{key:"53785df89350a9858d7176c9aecff12490705f93",class:"stzh-toast__content"},o("div",{key:"c8c527e34e12d087a2fb99f7e72d8a0ee4bd1f31",class:"stzh-toast__icon-wrapper"},o("stzh-icon",{key:"f53a6406ac5c737afd669b777e373cd2a5fd06b2",class:"stzh-toast__icon",name:("info"===this.type?"info-help-filled":"success"===this.type&&"checkmark-circle-filled")||"warning"===this.type&&"important-warning-filled"||"error"===this.type&&"warning-filled"})),o("div",{key:"b7e5c9d1ad50a8d2f14eb886d76f65e762c407c7",class:"stzh-toast__text-wrapper"},o("div",{key:"f5ba195d3a801fb741ae81db6d1ef9cb7323d83c",class:"stzh-toast__label"},this.label),o("div",{key:"341eca5c5154ce236b8e8145c9146e06c36b67c2",class:"stzh-toast__link"},o("slot",{key:"2e3fbb3151fd557cfba86c776c311e43ef1f8c93",name:"link",onSlotchange:this.handleLinkSlotchange})))),!this.hideClose&&o("div",{key:"b9230f1c4cd9b1a053f9e05380c6af3dbc72368f",class:"stzh-toast__close-wrapper"},o("stzh-button",{key:"b8030ab694142b066d50ba0ee75a832df5690590",class:"stzh-toast__close",onClick:this.onCloseButtonClick,label:this.localization.close,variant:"tertiary",size:"small",iconOnly:!0,icon:"close-big"}))))}get element(){return i(this)}static get watchers(){return{open:[{openWatcher:0}]}}};b.style=":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],:host[stzh-hidden]{display:none}: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{}: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}:host{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-toast{outline:0.125rem solid Highlight;outline-offset:-0.125rem}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small, 12px);padding:var(--stzh-space-medium, 16px)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{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);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge, 32px)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge, 40px)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast{}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall, 8px)}";const u="stzh-components-toastbar-closed",g=class{constructor(s){t(this,s),this.hideAfter=30,this.max=5,this.initialToasts=[],this._initialToasts=[],this.handleSlotchange=()=>{this.toastsAppended(),this.hideOverflowingItems()}}async toast(t,{type:s,link:o}={type:"info"}){const e=document.createElement("stzh-toast");return e.hidden=!0,e.label=t,e.role="alert",e.type=s||"info",e.initialOpenAnimation=!0,o&&(o.slot="link",o.size="small",e.appendChild(o)),this.element.appendChild(e),e}initialToastsWatcher(t){this._initialToasts="string"==typeof t?JSON.parse(t):t}toastAppended(t){if(!t.getAttribute("data-stzh-toastbar-managed")&&(t.setAttribute("data-stzh-toastbar-managed",""),t.addEventListener("stzhClosed",(()=>{t.remove()})),"error"!==t.type)){let s=(new Date).getTime(),o=1e3*this.hideAfter,e=window.setTimeout((()=>{t.hide()}),o);t.addEventListener("pointerenter",(()=>{if(e){window.clearTimeout(e);const t=(new Date).getTime()-s;o-=t}})),t.addEventListener("pointerleave",(()=>{s=(new Date).getTime(),e=window.setTimeout((()=>{t.hide()}),o)}))}}toastsAppended(){var t;const s=(null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element;Array.from(s.children).forEach((t=>{this.toastAppended(t)}))}hideOverflowingItems(){var t;const s=(null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element,o=s.children.length;Array.from(s.children).splice(0,o-this.max).forEach((t=>{t.hide()}))}componentWillLoad(){this.initialToastsWatcher(this.initialToasts)}componentDidLoad(){this._initialToasts.forEach((async t=>{if(t.cookie&&d.get(`${u}-${t.cookie}`))return;let s=t.link;if(!(s instanceof HTMLElement)){const o=document.createElement("stzh-button");o.slot="link",o.size="small",Object.assign(o,t.link),s=o}const o=await this.toast(t.label,{type:t.type,link:s});if(t.cookie){let s=365;0===t.cookieExpires?s=null:t.cookieExpires&&(s=t.cookieExpires),o.addEventListener("stzhClosed",(()=>{d.set(`${u}-${t.cookie}`,"1",{expires:s})}))}}))}render(){return o(e,{key:"24b4c2b5771f4f8516b0450793f375334997bb18"},o("div",{key:"953aecc0f084d7c2814dd7d15781d258aa43c6f8",class:{"stzh-toastbar":!0}},o("slot",{key:"3ec0c3ed675d273980f8ee7bad77adc0920468f0",onSlotchange:this.handleSlotchange})))}get element(){return i(this)}static get watchers(){return{initialToasts:[{initialToastsWatcher:0}]}}};g.style=":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],:host[stzh-hidden]{display:none}: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{}: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}:host{bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){:host{bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){:host{bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){:host{bottom:var(--stzh-space-xxlarge, 32px)}}:host{z-index:var(--stzh-z-index-overlay);position:fixed;pointer-events:none;left:var(--stzh-container-margin, 20px);right:var(--stzh-container-margin, 20px);bottom:calc(var(--stzh-pagetitle-disturber-stuck-height, 0px) + var(--stzh-sticky-cta-stuck-bottom-height, 0px))}@media screen and (min-width: 600px){:host{left:var(--stzh-container-margin-small, 32px);right:auto;max-width:26.8125rem}}@media screen and (min-width: 900px){:host{left:var(--stzh-container-margin-medium, 40px);max-width:27.5rem}}@media screen and (min-width: 1260px){:host{left:var(--stzh-container-margin-large, 64px);max-width:30.3125rem}}@media screen and (min-width: 1600px){:host{left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2);max-width:34.625rem}}:host ::slotted(*:not([hidden]):not([slot])){margin-bottom:var(--stzh-space-small, 12px)}.stzh-toastbar{display:flex;flex-direction:column;justify-content:flex-end}@media screen and (min-width: 600px){.stzh-toastbar{align-items:flex-start}}";export{b as stzh_toast,g as stzh_toastbar}
1
+ import{r as t,c as s,h as o,a as e,d as i}from"./p-rujKGmCS.js";import{s as a,h as n}from"./p-CBLSoWgI.js";import{w as r}from"./p-DWwDEqXf.js";import{s as h,a as l,b as c}from"./p-BOO84wnP.js";import{a as d}from"./p-BAOTHwqO.js";import"./p-BubviQku.js";const f=[{transform:"translateY(100%)",opacity:"0",height:"0",marginBottom:"0"},{transform:"translateY(0px)",opacity:"1",height:"auto",marginBottom:"auto"}],m={duration:300,easing:"ease-out"},p=[{transform:"translateX(0px)",opacity:"1",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"auto",marginBottom:"auto"},{transform:"translateX(-100%)",opacity:"0",height:"0",marginBottom:"0"}],z={duration:300,easing:"ease-in"},b=class{constructor(o){t(this,o),this.stzhOpen=s(this,"stzhOpen"),this.stzhOpened=s(this,"stzhOpened"),this.stzhClose=s(this,"stzhClose"),this.stzhClosed=s(this,"stzhClosed"),this.label="",this.type="info",this.hideClose=!1,this.open=!0,this.initialOpenAnimation=!1,this.handleLinkSlotchange=()=>{var t;((null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element).querySelectorAll('stzh-button[slot="link"], [slot="link"] stzh-button').forEach((t=>{a(t,{size:"small",variant:"tertiary"})}))},this.onCloseButtonClick=()=>{this.hide()}}async openWatcher(t){if(this.rootElement){if(t){this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-toast"}),await h(this.element),this.element.hidden=!1;const t=getComputedStyle(this.element,null);await l(this.element,c(f,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),m),this.element.style.height="auto",this.element.style.opacity="1",this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-toast"})}else{this.toggledByMethod&&this.stzhClose.emit({component:"stzh-toast"}),await h(this.element);const t=getComputedStyle(this.element,null);await l(this.element,c(p,{height:this.element.scrollHeight,marginTop:parseInt(t["margin-top"]),marginBottom:parseInt(t["margin-bottom"])}),z),this.element.style.height="0px",this.element.style.opacity="0",this.element.hidden=!0,this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-toast"})}this.toggledByMethod=!1}}async show(){if(!this.open)return this.toggledByMethod=!0,this.open=!0,r(this.element,"stzhOpened")}async hide(){if(this.open)return this.toggledByMethod=!0,this.open=!1,r(this.element,"stzhClosed")}async componentWillLoad(){this.localization||(this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"toast"))}componentDidLoad(){this.initialOpenAnimation&&this.open?(this.element.hidden=!0,this.element.style.height="0px",this.element.style.opacity="0",requestAnimationFrame((()=>{requestAnimationFrame((()=>{this.openWatcher(!0)}))}))):(this.element.hidden=!this.open,this.element.style.height=this.open?"auto":"0px",this.element.style.opacity=this.open?"1":"0")}render(){const t=n(this.element,"link");return o(e,{key:"4ee88fc617f0a4eab2383c50500910492e2f1d48"},o("div",{key:"3287fec5c87a1b6618ef0fa91ff04a1b0026e3eb",ref:t=>this.rootElement=t,class:{"stzh-toast":!0,"stzh-toast--has-link":t,"stzh-toast--has-close-hidden":this.hideClose,[`stzh-toast--type-${this.type}`]:!!this.type}},o("div",{key:"53785df89350a9858d7176c9aecff12490705f93",class:"stzh-toast__content"},o("div",{key:"c8c527e34e12d087a2fb99f7e72d8a0ee4bd1f31",class:"stzh-toast__icon-wrapper"},o("stzh-icon",{key:"f53a6406ac5c737afd669b777e373cd2a5fd06b2",class:"stzh-toast__icon",name:("info"===this.type?"info-help-filled":"success"===this.type&&"checkmark-circle-filled")||"warning"===this.type&&"important-warning-filled"||"error"===this.type&&"warning-filled"})),o("div",{key:"b7e5c9d1ad50a8d2f14eb886d76f65e762c407c7",class:"stzh-toast__text-wrapper"},o("div",{key:"f5ba195d3a801fb741ae81db6d1ef9cb7323d83c",class:"stzh-toast__label"},this.label),o("div",{key:"341eca5c5154ce236b8e8145c9146e06c36b67c2",class:"stzh-toast__link"},o("slot",{key:"2e3fbb3151fd557cfba86c776c311e43ef1f8c93",name:"link",onSlotchange:this.handleLinkSlotchange})))),!this.hideClose&&o("div",{key:"b9230f1c4cd9b1a053f9e05380c6af3dbc72368f",class:"stzh-toast__close-wrapper"},o("stzh-button",{key:"b8030ab694142b066d50ba0ee75a832df5690590",class:"stzh-toast__close",onClick:this.onCloseButtonClick,label:this.localization.close,variant:"tertiary",size:"small",iconOnly:!0,icon:"close-big"}))))}get element(){return i(this)}static get watchers(){return{open:[{openWatcher:0}]}}};b.style=":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],:host[stzh-hidden]{display:none}: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{}: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}:host{pointer-events:all;--label-font-family:var(--stzh-toast-label-font-family);--label-font-weight:var(--stzh-toast-label-font-weight);--label-font-style:var(--stzh-toast-label-font-style);--label-color:var(--stzh-toast-label-color);--background-color:var(--stzh-toast-background-color);--close-color:var(--stzh-toast-close-color);--button-color:var(--stzh-toast-button-color);--icon-color:var(--stzh-toast-icon-color)}:host([type=success]){--icon-color:var(--stzh-toast-success-icon-color)}:host([type=warning]){--icon-color:var(--stzh-toast-warning-icon-color)}:host([type=error]){--icon-color:var(--stzh-toast-error-icon-color)}.stzh-toast{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius);transition:background-color var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-toast{outline:0.125rem solid Highlight;outline-offset:-0.125rem}}.stzh-toast__content{flex-grow:1;display:flex;gap:var(--stzh-space-small, 12px);padding:var(--stzh-space-medium, 16px)}.stzh-toast__icon-wrapper{flex-shrink:0;display:flex}.stzh-toast__icon{color:var(--icon-color)}.stzh-toast__text-wrapper{flex-grow:1}.stzh-toast__label{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);color:var(--label-color);font-family:var(--label-font-family);font-weight:var(--label-font-weight);font-style:var(--label-font-style);transition:color var(--stzh-base-transition-animation-speed);padding-right:var(--stzh-space-xxlarge, 32px)}@media screen and (min-width: 600px){.stzh-toast__label{padding-right:var(--stzh-space-xxxlarge, 40px)}}.stzh-toast__close-wrapper{flex-shrink:0}.stzh-toast__link{--stzh-button-tertiary-color:var(--button-color);display:flex;justify-content:flex-end}.stzh-toast__close[variant=tertiary]{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-toast{}.stzh-toast--has-link .stzh-toast__label:not(:empty)+.stzh-toast__link{margin-top:var(--stzh-space-xsmall, 8px)}";const u="stzh-components-toastbar-closed",g=class{constructor(s){t(this,s),this.hideAfter=30,this.max=5,this.initialToasts=[],this._initialToasts=[],this.handleSlotchange=()=>{this.toastsAppended(),this.hideOverflowingItems()}}async toast(t,{type:s,link:o}={type:"info"}){const e=document.createElement("stzh-toast");return e.hidden=!0,e.label=t,e.role="alert",e.type=s||"info",e.initialOpenAnimation=!0,o&&(o.slot="link",o.size="small",e.appendChild(o)),this.element.appendChild(e),e}initialToastsWatcher(t){this._initialToasts="string"==typeof t?JSON.parse(t):t}toastAppended(t){if(!t.getAttribute("data-stzh-toastbar-managed")&&(t.setAttribute("data-stzh-toastbar-managed",""),t.addEventListener("stzhClosed",(()=>{t.remove()})),"error"!==t.type)){let s=(new Date).getTime(),o=1e3*this.hideAfter,e=window.setTimeout((()=>{t.hide()}),o);t.addEventListener("pointerenter",(()=>{if(e){window.clearTimeout(e);const t=(new Date).getTime()-s;o-=t}})),t.addEventListener("pointerleave",(()=>{s=(new Date).getTime(),e=window.setTimeout((()=>{t.hide()}),o)}))}}toastsAppended(){var t;const s=(null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element;Array.from(s.children).forEach((t=>{this.toastAppended(t)}))}hideOverflowingItems(){var t;const s=(null===(t=this.element.getRootNode())||void 0===t?void 0:t.host)||this.element,o=s.children.length;Array.from(s.children).splice(0,o-this.max).forEach((t=>{t.hide()}))}componentWillLoad(){this.initialToastsWatcher(this.initialToasts)}componentDidLoad(){this._initialToasts.forEach((async t=>{if(t.cookie&&d.get(`${u}-${t.cookie}`))return;let s=t.link;if(!(s instanceof HTMLElement)){const o=document.createElement("stzh-button");o.slot="link",o.size="small",Object.assign(o,t.link),s=o}const o=await this.toast(t.label,{type:t.type,link:s});if(t.cookie){let s=365;0===t.cookieExpires?s=null:t.cookieExpires&&(s=t.cookieExpires),o.addEventListener("stzhClosed",(()=>{d.set(`${u}-${t.cookie}`,"1",{expires:s})}))}}))}render(){return o(e,{key:"24b4c2b5771f4f8516b0450793f375334997bb18"},o("div",{key:"953aecc0f084d7c2814dd7d15781d258aa43c6f8",class:{"stzh-toastbar":!0}},o("slot",{key:"3ec0c3ed675d273980f8ee7bad77adc0920468f0",onSlotchange:this.handleSlotchange})))}get element(){return i(this)}static get watchers(){return{initialToasts:[{initialToastsWatcher:0}]}}};g.style=":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],:host[stzh-hidden]{display:none}: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{}: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}:host{bottom:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){:host{bottom:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){:host{bottom:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){:host{bottom:var(--stzh-space-xxlarge, 32px)}}:host{z-index:var(--stzh-z-index-overlay);position:fixed;pointer-events:none;left:var(--stzh-container-margin, 20px);right:var(--stzh-container-margin, 20px);bottom:calc(var(--stzh-pagetitle-disturber-stuck-height, 0px) + var(--stzh-sticky-cta-stuck-bottom-height, 0px))}@media screen and (min-width: 600px){:host{left:var(--stzh-container-margin-small, 32px);right:auto;max-width:26.8125rem}}@media screen and (min-width: 900px){:host{left:var(--stzh-container-margin-medium, 40px);max-width:27.5rem}}@media screen and (min-width: 1260px){:host{left:var(--stzh-container-margin-large, 64px);max-width:30.3125rem}}@media screen and (min-width: 1600px){:host{left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2);max-width:34.625rem}}:host ::slotted(*:not([hidden]):not([slot])){margin-bottom:var(--stzh-space-small, 12px)}.stzh-toastbar{display:flex;flex-direction:column;justify-content:flex-end}@media screen and (min-width: 600px){.stzh-toastbar{align-items:flex-start}}";export{b as stzh_toast,g as stzh_toastbar}
@@ -1 +1 @@
1
- import{r as s,h as t,a as i,d as e}from"./p-vaw5DHDC.js";const n=class{constructor(t){s(this,t),this.init=()=>{this.element.querySelectorAll("stzh-skiplink").forEach((s=>{s.setAttribute("role","listitem")}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){return t(i,{key:"479d51cace7b90eb9c14d73941766f5f7e77f9d9"},t("div",{key:"36e281ea71e9178fbda086ff046439155b4a807d",class:"stzh-page-skiplinks",role:"list"},t("slot",{key:"7a14c0e702265751f71d6ac2e6e27f01dcfdc636"})))}get element(){return e(this)}};n.style=".sc-stzh-page-skiplinks-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-page-skiplinks-h,[stzh-hidden].sc-stzh-page-skiplinks-h{display:none}.sc-stzh-page-skiplinks-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::before,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::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-page-skiplinks-h .has-focus.sc-stzh-page-skiplinks{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-page-skiplinks-h .stzh-fylingfocus-focused.sc-stzh-page-skiplinks{outline-style:none !important}.sc-stzh-page-skiplinks-h .stzh-fylingfocus-focused.sc-stzh-page-skiplinks::-moz-focus-inner{border:0 !important}.sc-stzh-page-skiplinks-h{z-index:var(--stzh-z-index-popup);position:absolute;top:var(--stzh-space-medium, 16px);right:var(--stzh-grid-gutter-small)}@media screen and (min-width: 900px){.sc-stzh-page-skiplinks-h{right:50%}}@media screen and (min-width: 1260px){.sc-stzh-page-skiplinks-h{top:var(--stzh-space-xlarge, 24px);right:60%}}";export{n as stzh_page_skiplinks}
1
+ import{r as s,h as t,a as i,d as e}from"./p-rujKGmCS.js";const n=class{constructor(t){s(this,t),this.init=()=>{this.element.querySelectorAll("stzh-skiplink").forEach((s=>{s.setAttribute("role","listitem")}))}}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){return t(i,{key:"479d51cace7b90eb9c14d73941766f5f7e77f9d9"},t("div",{key:"36e281ea71e9178fbda086ff046439155b4a807d",class:"stzh-page-skiplinks",role:"list"},t("slot",{key:"7a14c0e702265751f71d6ac2e6e27f01dcfdc636"})))}get element(){return e(this)}};n.style=".sc-stzh-page-skiplinks-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-page-skiplinks-h,[stzh-hidden].sc-stzh-page-skiplinks-h{display:none}.sc-stzh-page-skiplinks-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::before,.sc-stzh-page-skiplinks-h *.sc-stzh-page-skiplinks::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-page-skiplinks-h .has-focus.sc-stzh-page-skiplinks{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-page-skiplinks-h .stzh-fylingfocus-focused.sc-stzh-page-skiplinks{outline-style:none !important}.sc-stzh-page-skiplinks-h .stzh-fylingfocus-focused.sc-stzh-page-skiplinks::-moz-focus-inner{border:0 !important}.sc-stzh-page-skiplinks-h{z-index:var(--stzh-z-index-popup);position:absolute;top:var(--stzh-space-medium, 16px);right:var(--stzh-grid-gutter-small)}@media screen and (min-width: 900px){.sc-stzh-page-skiplinks-h{right:50%}}@media screen and (min-width: 1260px){.sc-stzh-page-skiplinks-h{top:var(--stzh-space-xlarge, 24px);right:60%}}";export{n as stzh_page_skiplinks}
@@ -1 +1 @@
1
- import{r as t,h as e,f as a,a as i,d as s}from"./p-vaw5DHDC.js";import{h as m,s as r}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const g=class{constructor(e){t(this,e),this.size="default",this.imagePosition="right",this.imageMoves=!1,this.init=()=>{const t=this.element.querySelectorAll('stzh-ratio[slot="right"], [slot="right"] stzh-ratio, stzh-gallery[slot="right"], [slot="right"] stzh-gallery'),e=this.element.querySelectorAll('stzh-gallery[slot="right"], [slot="right"] stzh-gallery'),a=m(this.element,"left"),i=m(this.element,"right");"large"!==this.size&&a&&i||t.forEach((t=>{r(t,{ratio:"3:2",ratioSmall:"16:9"})})),e.forEach((t=>{r(t,{variant:"single"})})),this.checkLineCount()},this.checkLineCount=()=>{const t=this.element.querySelectorAll('[slot="left"] stzh-vspace stzh-richtext div');if(this.imageMoves&&t.length>0){const e=getComputedStyle(t[0]),a=t[0].clientHeight/parseFloat(e.lineHeight)<=4;this.element.toggleAttribute("short-text",a)}}}onWindowResize(){this.checkLineCount()}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){const t=m(this.element,"left"),s=m(this.element,"right"),r=!(t&&s);return e(i,{key:"1d46a5165fb607db0ed93d5a5284eec6844875ec",single:r,"image-position":this.imagePosition},e("div",{key:"9338876feade487c08966b8f72723306ca6aa1de",class:{"stzh-textandimage":!0,"stzh-textandimage--is-single-left":r&&t,"stzh-textandimage--is-single-right":r&&s,"stzh-textandimage--has-left":t,"stzh-textandimage--has-right":s,[`stzh-textandimage--size-${this.size}`]:!!this.size,[`stzh-textandimage--image-position-${this.imagePosition}`]:!!this.imagePosition}},e("div",{key:"e0c14e48a9fef7e99e0fe9c2266d0ab9260ee0b2",class:"stzh-textandimage__left"},e("slot",{key:"a24a8cbf413aa653afa2fde4dcb14fe8bb5c09d2",name:"left",onSlotchange:()=>a(this.element)})),e("div",{key:"2906d32e7e40d30300bd8be77029ab41ce7703a8",class:"stzh-textandimage__right"},e("div",{key:"d1f75a366f821dc9d9f5e6a496923660dc9bbb7c",class:this.imageMoves?"stzh-textandimage__wrapper":""},e("slot",{key:"45e975e682094ee58073e5c71b8b607afc5edac6",name:"right",onSlotchange:()=>a(this.element)})))))}get element(){return s(this)}};g.style=':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],:host[stzh-hidden]{display:none}: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{}: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}:host{--row-gap:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){:host{--row-gap:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){:host{--row-gap:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){:host{--row-gap:var(--stzh-space-xxlarge, 32px)}}:host{--grid-template-areas:var( --stzh-textandimage-grid-template-areas, "text text text text" "image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(4, minmax(0, 1fr)) )}@media screen and (min-width: 900px){:host{--grid-template-areas:var( --stzh-textandimage-grid-template-areas, "text text text text image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 900px){:host([image-position=left]){--grid-template-areas:var( --stzh-textandimage-grid-template-areas-image-left, "image image image image text text text text" )}}@media screen and (min-width: 900px){:host([size=small]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text text image image image" )}}@media screen and (min-width: 900px){:host([size=small][image-position=left]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "image image image text text text text text" )}}@media screen and (min-width: 600px){:host([size=large]){--grid-template-areas:var( --stzh-textandimage-large-grid-template-areas, "text text text ." "image image image image" )}}@media screen and (min-width: 900px){:host([size=large]){--grid-template-areas:var( --stzh-textandimage-large-grid-template-areas, "text text text text text . . ." "image image image image image image image image" )}}@media screen and (min-width: 1260px){:host([size=large]){--grid-template-areas:var( --stzh-textandimage-large-grid-template-areas, "text text text text text text . ." "image image image image image image image image" )}}:host([image-moves]){padding-bottom:var(--stzh-space-xxxlarge, 40px)}:host([image-moves]) .stzh-textandimage__right{display:flex;justify-content:center}@media screen and (max-width: 899px){:host([image-moves]){--row-gap:0px}:host([image-moves]) .stzh-textandimage__right{justify-content:left}}@media screen and (min-width: 900px) and (max-width: 1259px){:host([image-moves]) .stzh-textandimage__right{justify-content:right}}@media screen and (min-width: 900px){:host([image-moves]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 1260px){:host([image-moves]){padding-bottom:var(--stzh-space-xxxxlarge, 48px);--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text text text image image image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(12, minmax(0, 1fr)) )}}:host([image-moves][short-text]){--row-gap:0px}:host([image-moves][short-text]) .stzh-textandimage__right{justify-content:left}@media screen and (min-width: 900px){:host([image-moves][short-text]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text" "image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 1260px){:host([image-moves][short-text]){padding-bottom:var(--stzh-space-xxxxlarge, 48px);--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text text text" "image image image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(12, minmax(0, 1fr)) )}}:host([single]:not([single=false])){--grid-template-areas:var( --stzh-textandimage-single-grid-template-areas, "text text text text" )}@media screen and (min-width: 600px){:host([single]:not([single=false])){--grid-template-areas:var( --stzh-textandimage-single-grid-template-areas, "text text text ." )}}@media screen and (min-width: 900px){:host([single]:not([single=false])){--grid-template-areas:var( --stzh-textandimage-single-grid-template-areas, "text text text text text text . ." )}}.stzh-textandimage{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-textandimage{display:grid;row-gap:var(--row-gap);grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns)}.stzh-textandimage__left{grid-area:text}.stzh-textandimage__right{grid-area:image}@media screen and (max-width: 599px){.stzh-textandimage__wrapper{min-width:75%;max-width:75%}}@media screen and (min-width: 600px){.stzh-textandimage__wrapper{min-width:50%;max-width:50%}}@media screen and (min-width: 900px){.stzh-textandimage__wrapper{min-width:75%;max-width:75%}}@media screen and (min-width: 1260px){.stzh-textandimage__wrapper{min-width:50%;max-width:50%}}.stzh-textandimage{}.stzh-textandimage--is-single .stzh-textandimage__right{grid-area:text}.stzh-textandimage--is-single-left .stzh-textandimage__right{display:none}.stzh-textandimage--is-single-right .stzh-textandimage__left{display:none}';export{g as stzh_textandimage}
1
+ import{r as t,h as e,f as a,a as i,d as s}from"./p-rujKGmCS.js";import{h as m,s as r}from"./p-CBLSoWgI.js";import"./p-BubviQku.js";const g=class{constructor(e){t(this,e),this.size="default",this.imagePosition="right",this.imageMoves=!1,this.init=()=>{const t=this.element.querySelectorAll('stzh-ratio[slot="right"], [slot="right"] stzh-ratio, stzh-gallery[slot="right"], [slot="right"] stzh-gallery'),e=this.element.querySelectorAll('stzh-gallery[slot="right"], [slot="right"] stzh-gallery'),a=m(this.element,"left"),i=m(this.element,"right");"large"!==this.size&&a&&i||t.forEach((t=>{r(t,{ratio:"3:2",ratioSmall:"16:9"})})),e.forEach((t=>{r(t,{variant:"single"})})),this.checkLineCount()},this.checkLineCount=()=>{const t=this.element.querySelectorAll('[slot="left"] stzh-vspace stzh-richtext div');if(this.imageMoves&&t.length>0){const e=getComputedStyle(t[0]),a=t[0].clientHeight/parseFloat(e.lineHeight)<=4;this.element.toggleAttribute("short-text",a)}}}onWindowResize(){this.checkLineCount()}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer&&this.observer.disconnect()}render(){const t=m(this.element,"left"),s=m(this.element,"right"),r=!(t&&s);return e(i,{key:"1d46a5165fb607db0ed93d5a5284eec6844875ec",single:r,"image-position":this.imagePosition},e("div",{key:"9338876feade487c08966b8f72723306ca6aa1de",class:{"stzh-textandimage":!0,"stzh-textandimage--is-single-left":r&&t,"stzh-textandimage--is-single-right":r&&s,"stzh-textandimage--has-left":t,"stzh-textandimage--has-right":s,[`stzh-textandimage--size-${this.size}`]:!!this.size,[`stzh-textandimage--image-position-${this.imagePosition}`]:!!this.imagePosition}},e("div",{key:"e0c14e48a9fef7e99e0fe9c2266d0ab9260ee0b2",class:"stzh-textandimage__left"},e("slot",{key:"a24a8cbf413aa653afa2fde4dcb14fe8bb5c09d2",name:"left",onSlotchange:()=>a(this.element)})),e("div",{key:"2906d32e7e40d30300bd8be77029ab41ce7703a8",class:"stzh-textandimage__right"},e("div",{key:"d1f75a366f821dc9d9f5e6a496923660dc9bbb7c",class:this.imageMoves?"stzh-textandimage__wrapper":""},e("slot",{key:"45e975e682094ee58073e5c71b8b607afc5edac6",name:"right",onSlotchange:()=>a(this.element)})))))}get element(){return s(this)}};g.style=':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],:host[stzh-hidden]{display:none}: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{}: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}:host{--row-gap:var(--stzh-space-medium, 16px)}@media screen and (min-width: 600px){:host{--row-gap:var(--stzh-space-large, 20px)}}@media screen and (min-width: 900px){:host{--row-gap:var(--stzh-space-xlarge, 24px)}}@media screen and (min-width: 1260px){:host{--row-gap:var(--stzh-space-xxlarge, 32px)}}:host{--grid-template-areas:var( --stzh-textandimage-grid-template-areas, "text text text text" "image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(4, minmax(0, 1fr)) )}@media screen and (min-width: 900px){:host{--grid-template-areas:var( --stzh-textandimage-grid-template-areas, "text text text text image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 900px){:host([image-position=left]){--grid-template-areas:var( --stzh-textandimage-grid-template-areas-image-left, "image image image image text text text text" )}}@media screen and (min-width: 900px){:host([size=small]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text text image image image" )}}@media screen and (min-width: 900px){:host([size=small][image-position=left]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "image image image text text text text text" )}}@media screen and (min-width: 600px){:host([size=large]){--grid-template-areas:var( --stzh-textandimage-large-grid-template-areas, "text text text ." "image image image image" )}}@media screen and (min-width: 900px){:host([size=large]){--grid-template-areas:var( --stzh-textandimage-large-grid-template-areas, "text text text text text . . ." "image image image image image image image image" )}}@media screen and (min-width: 1260px){:host([size=large]){--grid-template-areas:var( --stzh-textandimage-large-grid-template-areas, "text text text text text text . ." "image image image image image image image image" )}}:host([image-moves]){padding-bottom:var(--stzh-space-xxxlarge, 40px)}:host([image-moves]) .stzh-textandimage__right{display:flex;justify-content:center}@media screen and (max-width: 899px){:host([image-moves]){--row-gap:0px}:host([image-moves]) .stzh-textandimage__right{justify-content:left}}@media screen and (min-width: 900px) and (max-width: 1259px){:host([image-moves]) .stzh-textandimage__right{justify-content:right}}@media screen and (min-width: 900px){:host([image-moves]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 1260px){:host([image-moves]){padding-bottom:var(--stzh-space-xxxxlarge, 48px);--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text text text image image image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(12, minmax(0, 1fr)) )}}:host([image-moves][short-text]){--row-gap:0px}:host([image-moves][short-text]) .stzh-textandimage__right{justify-content:left}@media screen and (min-width: 900px){:host([image-moves][short-text]){--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text" "image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(8, minmax(0, 1fr)) )}}@media screen and (min-width: 1260px){:host([image-moves][short-text]){padding-bottom:var(--stzh-space-xxxxlarge, 48px);--grid-template-areas:var( --stzh-textandimage-small-grid-template-areas, "text text text text text text" "image image image image image image" );--grid-template-columns:var( --stzh-textandimage-grid-template-columns, repeat(12, minmax(0, 1fr)) )}}:host([single]:not([single=false])){--grid-template-areas:var( --stzh-textandimage-single-grid-template-areas, "text text text text" )}@media screen and (min-width: 600px){:host([single]:not([single=false])){--grid-template-areas:var( --stzh-textandimage-single-grid-template-areas, "text text text ." )}}@media screen and (min-width: 900px){:host([single]:not([single=false])){--grid-template-areas:var( --stzh-textandimage-single-grid-template-areas, "text text text text text text . ." )}}.stzh-textandimage{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-textandimage{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-textandimage{display:grid;row-gap:var(--row-gap);grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns)}.stzh-textandimage__left{grid-area:text}.stzh-textandimage__right{grid-area:image}@media screen and (max-width: 599px){.stzh-textandimage__wrapper{min-width:75%;max-width:75%}}@media screen and (min-width: 600px){.stzh-textandimage__wrapper{min-width:50%;max-width:50%}}@media screen and (min-width: 900px){.stzh-textandimage__wrapper{min-width:75%;max-width:75%}}@media screen and (min-width: 1260px){.stzh-textandimage__wrapper{min-width:50%;max-width:50%}}.stzh-textandimage{}.stzh-textandimage--is-single .stzh-textandimage__right{grid-area:text}.stzh-textandimage--is-single-left .stzh-textandimage__right{display:none}.stzh-textandimage--is-single-right .stzh-textandimage__left{display:none}';export{g as stzh_textandimage}
@@ -1 +1 @@
1
- import{r as s,h as t,a as e,d as o}from"./p-vaw5DHDC.js";const c=class{constructor(t){s(this,t),this.autoplayTimeout=9e3,this.onDisturbanceFetched=s=>{s.detail.disturbance&&this.hideElement()}}hideElement(){this.element.hidden=!0}async connectedCallback(){this.majorTicker=document.querySelector("stzh-vbz-majorticker"),this.majorTicker&&(await this.majorTicker.getDisturbance()?this.hideElement():this.majorTicker.addEventListener("stzhDisturbanceFetched",this.onDisturbanceFetched))}disconnectedCallback(){this.majorTicker&&this.majorTicker.removeEventListener("stzhDisturbanceFetched",this.onDisturbanceFetched)}render(){return t(e,{key:"f4154dd2ed48c1001db614020151f5ffdc9f7bb4"},t("div",{key:"5b97b484127d30f4d05e97f13f288999ad2ef37a",class:{"stzh-vbz-carousel":!0}},t("stzh-carousel",{key:"940d39e97ede3b3c6faeccaad0d0d3e79058c02f",noPeek:!0,nonInteractive:!0,preventMouseDrag:!0,preventAutoplayPause:!0,preventAutoplayStop:!0,autoplay:!0,autoplayTimeout:this.autoplayTimeout},t("slot",{key:"f7c8e98d296d7cd487ac084a157430b1c78f996a"}))))}get element(){return o(this)}};c.style=".sc-stzh-vbz-carousel-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-vbz-carousel-h,[stzh-hidden].sc-stzh-vbz-carousel-h{display:none}.sc-stzh-vbz-carousel-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-vbz-carousel-h *.sc-stzh-vbz-carousel,.sc-stzh-vbz-carousel-h *.sc-stzh-vbz-carousel::before,.sc-stzh-vbz-carousel-h *.sc-stzh-vbz-carousel::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-vbz-carousel-h .has-focus.sc-stzh-vbz-carousel{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-vbz-carousel-h .stzh-fylingfocus-focused.sc-stzh-vbz-carousel{outline-style:none !important}.sc-stzh-vbz-carousel-h .stzh-fylingfocus-focused.sc-stzh-vbz-carousel::-moz-focus-inner{border:0 !important}.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:16/9;--max-height:42.5rem;--overflow:hidden}@media screen and (min-width: 600px){.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:21/9}}@media screen and (min-width: 900px){.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:21/9}}@media screen and (min-width: 1260px){.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:21/9}}";export{c as stzh_vbz_carousel}
1
+ import{r as s,h as t,a as e,d as o}from"./p-rujKGmCS.js";const c=class{constructor(t){s(this,t),this.autoplayTimeout=9e3,this.onDisturbanceFetched=s=>{s.detail.disturbance&&this.hideElement()}}hideElement(){this.element.hidden=!0}async connectedCallback(){this.majorTicker=document.querySelector("stzh-vbz-majorticker"),this.majorTicker&&(await this.majorTicker.getDisturbance()?this.hideElement():this.majorTicker.addEventListener("stzhDisturbanceFetched",this.onDisturbanceFetched))}disconnectedCallback(){this.majorTicker&&this.majorTicker.removeEventListener("stzhDisturbanceFetched",this.onDisturbanceFetched)}render(){return t(e,{key:"f4154dd2ed48c1001db614020151f5ffdc9f7bb4"},t("div",{key:"5b97b484127d30f4d05e97f13f288999ad2ef37a",class:{"stzh-vbz-carousel":!0}},t("stzh-carousel",{key:"940d39e97ede3b3c6faeccaad0d0d3e79058c02f",noPeek:!0,nonInteractive:!0,preventMouseDrag:!0,preventAutoplayPause:!0,preventAutoplayStop:!0,autoplay:!0,autoplayTimeout:this.autoplayTimeout},t("slot",{key:"f7c8e98d296d7cd487ac084a157430b1c78f996a"}))))}get element(){return o(this)}};c.style=".sc-stzh-vbz-carousel-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-vbz-carousel-h,[stzh-hidden].sc-stzh-vbz-carousel-h{display:none}.sc-stzh-vbz-carousel-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-vbz-carousel-h *.sc-stzh-vbz-carousel,.sc-stzh-vbz-carousel-h *.sc-stzh-vbz-carousel::before,.sc-stzh-vbz-carousel-h *.sc-stzh-vbz-carousel::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-vbz-carousel-h .has-focus.sc-stzh-vbz-carousel{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-vbz-carousel-h .stzh-fylingfocus-focused.sc-stzh-vbz-carousel{outline-style:none !important}.sc-stzh-vbz-carousel-h .stzh-fylingfocus-focused.sc-stzh-vbz-carousel::-moz-focus-inner{border:0 !important}.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:16/9;--max-height:42.5rem;--overflow:hidden}@media screen and (min-width: 600px){.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:21/9}}@media screen and (min-width: 900px){.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:21/9}}@media screen and (min-width: 1260px){.sc-stzh-vbz-carousel-h.sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s>stzh-ratio,.sc-stzh-vbz-carousel-h .sc-stzh-vbz-carousel-s stzh-ratio{--ratio:21/9}}";export{c as stzh_vbz_carousel}