@oiz/stzh-components 2.2.0-beta → 2.3.0-alpha

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 (851) hide show
  1. package/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
  2. package/dist/cjs/{app-globals-f4ad4e99.js → app-globals-13e786d3.js} +1 -1
  3. package/dist/cjs/{arrow-3c3b0ae5.js → arrow-cd521f34.js} +468 -478
  4. package/dist/cjs/axios-7ec96df7.js +3167 -0
  5. package/dist/cjs/{dom-9deb26c8.js → dom-be1edfde.js} +1 -1
  6. package/dist/cjs/{focus-trap.esm-1cb6bb2e.js → focus-trap.esm-34a1a0d0.js} +188 -278
  7. package/dist/cjs/{index-9fcb4305.js → index-83d427ee.js} +113 -3
  8. package/dist/cjs/loader.cjs.js +5 -4
  9. package/dist/cjs/{shadow-css-bf3843d2.js → shadow-css-54f5c2d9.js} +1 -1
  10. package/dist/cjs/stzh-accordion-item.cjs.entry.js +6 -3
  11. package/dist/cjs/stzh-accordion.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-actionset.cjs.entry.js +15 -5
  14. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-calendar.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-card_3.cjs.entry.js +47 -12
  21. package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-chart.cjs.entry.js +1471 -404
  23. package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
  24. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-chip_2.cjs.entry.js +132 -0
  26. package/dist/cjs/stzh-components.cjs.js +27 -5
  27. package/dist/cjs/stzh-contact.cjs.entry.js +91 -0
  28. package/dist/cjs/stzh-container.cjs.entry.js +3 -2
  29. package/dist/cjs/stzh-cspace.cjs.entry.js +2 -2
  30. package/dist/cjs/stzh-datalist_2.cjs.entry.js +33 -13
  31. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +4 -3
  32. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-datatable.cjs.entry.js +32 -31
  34. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +4 -4
  35. package/dist/cjs/stzh-details.cjs.entry.js +5 -2
  36. package/dist/cjs/stzh-dialog.cjs.entry.js +6 -6
  37. package/dist/cjs/stzh-dropdown.cjs.entry.js +1057 -426
  38. package/dist/cjs/stzh-fieldset.cjs.entry.js +2 -2
  39. package/dist/cjs/stzh-figure.cjs.entry.js +5 -3
  40. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  42. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
  43. package/dist/cjs/stzh-header.cjs.entry.js +6 -5
  44. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-hspace.cjs.entry.js +4 -3
  47. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  48. package/dist/cjs/{stzh-input-description-4326b0d9.js → stzh-input-description-2edc5cac.js} +1 -1
  49. package/dist/cjs/stzh-input.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-invert.cjs.entry.js +23 -0
  51. package/dist/cjs/stzh-langnav.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-link.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-list.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  58. package/dist/cjs/stzh-message.cjs.entry.js +2 -2
  59. package/dist/cjs/stzh-metanav.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +4 -4
  61. package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
  62. package/dist/cjs/stzh-overlay.cjs.entry.js +2 -2
  63. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-pagebottom.cjs.entry.js +5 -2
  65. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
  66. package/dist/cjs/stzh-pagetitle.cjs.entry.js +9 -1
  67. package/dist/cjs/stzh-popover.cjs.entry.js +22 -8
  68. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +2 -2
  69. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +6 -4
  70. package/dist/cjs/stzh-progressbar.cjs.entry.js +2 -2
  71. package/dist/cjs/stzh-ratio.cjs.entry.js +26 -0
  72. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-row.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-share.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-show.cjs.entry.js +41 -0
  78. package/dist/cjs/stzh-sitemap.cjs.entry.js +2 -2
  79. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-sortable.cjs.entry.js +10 -66
  81. package/dist/cjs/stzh-space.cjs.entry.js +34 -0
  82. package/dist/cjs/stzh-status.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-sticky.cjs.entry.js +5 -3
  84. package/dist/cjs/stzh-table.cjs.entry.js +3 -2
  85. package/dist/cjs/stzh-text.cjs.entry.js +2 -2
  86. package/dist/cjs/stzh-textandimage.cjs.entry.js +4 -2
  87. package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
  88. package/dist/cjs/stzh-tooltip.cjs.entry.js +32 -11
  89. package/dist/cjs/stzh-upload.cjs.entry.js +6 -3
  90. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +784 -691
  91. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +7 -7
  92. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +3 -3
  93. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-vspace.cjs.entry.js +4 -3
  95. package/dist/collection/assets/i18n/de.json +10 -7
  96. package/dist/collection/assets/i18n/en.json +11 -8
  97. package/dist/collection/collection-manifest.json +7 -3
  98. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
  99. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +1 -0
  100. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +3 -0
  101. package/dist/collection/components/stzh-actionset/stzh-actionset.css +11 -0
  102. package/dist/collection/components/stzh-actionset/stzh-actionset.js +18 -8
  103. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +5 -5
  104. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +1 -3
  105. package/dist/collection/components/stzh-button/stzh-button.css +13 -4
  106. package/dist/collection/components/stzh-button/stzh-button.stories.js +21 -17
  107. package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
  108. package/dist/collection/components/stzh-card/stzh-card.css +34 -16
  109. package/dist/collection/components/stzh-card/stzh-card.js +26 -4
  110. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
  111. package/dist/collection/components/stzh-chart/stzh-chart.css +55 -37
  112. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +1 -0
  113. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
  114. package/dist/collection/components/stzh-chip/stzh-chip.css +68 -6
  115. package/dist/collection/components/stzh-chip/stzh-chip.js +52 -5
  116. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +7 -0
  117. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +8 -0
  118. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +41 -4
  119. package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
  120. package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.css → stzh-contact/stzh-contact.css} +22 -22
  121. package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.js → stzh-contact/stzh-contact.js} +25 -25
  122. package/dist/collection/components/{stzh-contactaddress/stzh-contactaddress.stories.js → stzh-contact/stzh-contact.stories.js} +10 -9
  123. package/dist/collection/components/stzh-container/stzh-container.css +11 -1
  124. package/dist/collection/components/stzh-container/stzh-container.js +26 -1
  125. package/dist/collection/components/stzh-container/stzh-container.stories.js +6 -1
  126. package/dist/collection/components/stzh-cspace/stzh-cspace.css +136 -43
  127. package/dist/collection/components/stzh-datalist/stzh-datalist.css +12 -0
  128. package/dist/collection/components/stzh-datalist/stzh-datalist.js +19 -0
  129. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +2 -1
  130. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +28 -12
  131. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +35 -13
  132. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
  133. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
  134. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  135. package/dist/collection/components/stzh-datatable/stzh-datatable.js +20 -1
  136. package/dist/collection/components/stzh-details/stzh-details.js +3 -0
  137. package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
  138. package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
  139. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
  140. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +9 -8
  141. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +1 -0
  142. package/dist/collection/components/stzh-figure/stzh-figure.css +8 -5
  143. package/dist/collection/components/stzh-figure/stzh-figure.js +21 -1
  144. package/dist/collection/components/stzh-footer/stzh-footer.css +1 -0
  145. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +13 -1
  146. package/dist/collection/components/stzh-header/stzh-header.css +5 -1
  147. package/dist/collection/components/stzh-header/stzh-header.js +4 -3
  148. package/dist/collection/components/stzh-header/stzh-header.stories.js +47 -39
  149. package/dist/collection/components/stzh-hspace/stzh-hspace.css +166 -138
  150. package/dist/collection/components/stzh-hspace/stzh-hspace.js +30 -6
  151. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  152. package/dist/collection/components/stzh-input/stzh-input.css +1 -0
  153. package/dist/collection/components/stzh-invert/stzh-invert.css +158 -0
  154. package/dist/collection/components/stzh-invert/stzh-invert.js +25 -0
  155. package/dist/collection/components/stzh-invert/stzh-invert.stories.js +55 -0
  156. package/dist/collection/components/stzh-link/stzh-link.css +1 -0
  157. package/dist/collection/components/stzh-link/stzh-link.stories.js +11 -19
  158. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
  159. package/dist/collection/components/stzh-message/stzh-message.css +1 -0
  160. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  161. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  162. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +4 -1
  163. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
  164. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +8 -0
  165. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +6 -6
  166. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +14 -1
  167. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +4 -6
  168. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -1
  169. package/dist/collection/components/stzh-popover/stzh-popover.js +18 -4
  170. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +5 -7
  171. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +34 -9
  172. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +2 -2
  173. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +2 -1
  174. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +147 -10
  175. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +22 -2
  176. package/dist/collection/components/stzh-radio/stzh-radio.css +1 -0
  177. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
  178. package/dist/collection/components/stzh-ratio/stzh-ratio.css +172 -0
  179. package/dist/collection/components/stzh-ratio/stzh-ratio.js +88 -0
  180. package/dist/collection/components/stzh-ratio/stzh-ratio.stories.js +35 -0
  181. package/dist/collection/components/stzh-richtext/stzh-richtext.css +10 -5
  182. package/dist/collection/components/stzh-show/stzh-show.css +165 -0
  183. package/dist/collection/components/stzh-show/stzh-show.js +158 -0
  184. package/dist/collection/components/stzh-show/stzh-show.stories.js +52 -0
  185. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +1 -1
  186. package/dist/collection/components/stzh-sortable/stzh-sortable.js +6 -3
  187. package/dist/collection/components/stzh-space/stzh-space.css +842 -0
  188. package/dist/collection/components/stzh-space/stzh-space.js +262 -0
  189. package/dist/collection/components/stzh-space/stzh-space.stories.js +76 -0
  190. package/dist/collection/components/stzh-sticky/stzh-sticky.css +9 -0
  191. package/dist/collection/components/stzh-sticky/stzh-sticky.js +21 -1
  192. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +3 -1
  193. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  194. package/dist/collection/components/stzh-table/stzh-table.js +19 -0
  195. package/dist/collection/components/stzh-text/stzh-text.css +2 -2
  196. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +38 -2
  197. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +20 -0
  198. package/dist/collection/components/stzh-toggle/stzh-toggle.css +1 -0
  199. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
  200. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +28 -7
  201. package/dist/collection/components/stzh-upload/stzh-upload.css +1 -0
  202. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -0
  203. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +2 -1
  204. package/dist/collection/components/stzh-vspace/stzh-vspace.css +157 -129
  205. package/dist/collection/components/stzh-vspace/stzh-vspace.js +30 -6
  206. package/dist/collection/pages/egov.stories.js +191 -183
  207. package/dist/collection/pages/meinkonto.stories.js +368 -512
  208. package/dist/collection/pages/microsite.stories.js +235 -0
  209. package/dist/collection/pages/website.stories.js +139 -0
  210. package/dist/collection/patterns/appointments.stories.js +2 -2
  211. package/dist/collection/patterns/contact.stories.js +67 -41
  212. package/dist/collection/patterns/contactform.stories.js +2 -2
  213. package/dist/collection/patterns/jobdetails.stories.js +151 -0
  214. package/dist/collection/patterns/subpages.stories.js +6 -6
  215. package/dist/collection/patterns/twocolumns.stories.js +46 -0
  216. package/dist/collection/utils/animation-utils.js +3 -0
  217. package/dist/components/animation-utils.js +3 -0
  218. package/dist/components/arrow.js +468 -478
  219. package/dist/components/axios.js +3165 -0
  220. package/dist/components/date-utils.js +159 -0
  221. package/dist/components/focus-trap.esm.js +188 -278
  222. package/dist/components/index.d.ts +14 -1
  223. package/dist/components/index.js +7 -3
  224. package/dist/components/stzh-accordion-item.js +4 -1
  225. package/dist/components/stzh-actionset2.js +16 -6
  226. package/dist/components/stzh-anchornav.js +1 -1
  227. package/dist/components/stzh-appointments.js +2 -1
  228. package/dist/components/stzh-button2.js +1 -1
  229. package/dist/components/stzh-calendar2.js +3 -160
  230. package/dist/components/stzh-card2.js +9 -5
  231. package/dist/components/stzh-chart.js +1470 -403
  232. package/dist/components/stzh-checkbox.js +1 -1
  233. package/dist/components/stzh-checkboxgroup.js +1 -1
  234. package/dist/components/stzh-chip-select2.js +47 -8
  235. package/dist/components/stzh-chip2.js +26 -6
  236. package/dist/components/stzh-clamp2.js +1 -1
  237. package/dist/components/{stzh-contactaddress.d.ts → stzh-contact.d.ts} +4 -4
  238. package/dist/components/stzh-contact.js +157 -0
  239. package/dist/components/stzh-container.js +5 -2
  240. package/dist/components/stzh-cspace.js +1 -1
  241. package/dist/components/stzh-datalist-item2.js +30 -11
  242. package/dist/components/stzh-datalist2.js +3 -1
  243. package/dist/components/stzh-datamessagelist-item.js +3 -2
  244. package/dist/components/stzh-datatable.js +32 -30
  245. package/dist/components/stzh-datepicker2.js +2 -1
  246. package/dist/components/stzh-details.js +3 -0
  247. package/dist/components/stzh-dialog.js +4 -4
  248. package/dist/components/stzh-dropdown2.js +1055 -424
  249. package/dist/components/stzh-fieldset.js +1 -1
  250. package/dist/components/stzh-figure.js +6 -3
  251. package/dist/components/stzh-footer.js +1 -1
  252. package/dist/components/stzh-ghettobox2.js +1 -1
  253. package/dist/components/stzh-header.js +5 -4
  254. package/dist/components/stzh-hspace.js +8 -5
  255. package/dist/components/stzh-icon2.js +1 -1
  256. package/dist/components/stzh-input2.js +1 -1
  257. package/dist/components/stzh-invert.d.ts +11 -0
  258. package/dist/components/stzh-invert.js +36 -0
  259. package/dist/components/stzh-link2.js +1 -1
  260. package/dist/components/stzh-menu-item2.js +1 -1
  261. package/dist/components/stzh-message.js +1 -1
  262. package/dist/components/stzh-microsite-teaserlist.js +2 -2
  263. package/dist/components/stzh-olmap.js +1 -1
  264. package/dist/components/stzh-pagebottom.js +4 -1
  265. package/dist/components/stzh-pagetitle-hero.js +1 -1
  266. package/dist/components/stzh-pagetitle.js +8 -0
  267. package/dist/components/stzh-popover2.js +18 -4
  268. package/dist/components/stzh-portal-mitwirken.js +1 -1
  269. package/dist/components/stzh-progressbar-item2.js +6 -3
  270. package/dist/components/stzh-progressbar.js +1 -1
  271. package/dist/components/stzh-radio2.js +1 -1
  272. package/dist/components/stzh-radiogroup2.js +1 -1
  273. package/dist/components/stzh-ratio.d.ts +11 -0
  274. package/dist/components/stzh-ratio.js +43 -0
  275. package/dist/components/stzh-richtext2.js +1 -1
  276. package/dist/components/stzh-show.d.ts +11 -0
  277. package/dist/components/stzh-show.js +62 -0
  278. package/dist/components/stzh-sitemap.js +1 -1
  279. package/dist/components/stzh-sortable2.js +9 -65
  280. package/dist/components/stzh-space.d.ts +11 -0
  281. package/dist/components/stzh-space.js +59 -0
  282. package/dist/components/stzh-sticky.js +5 -2
  283. package/dist/components/stzh-table.js +3 -1
  284. package/dist/components/stzh-text2.js +1 -1
  285. package/dist/components/stzh-textandimage.js +4 -1
  286. package/dist/components/stzh-toggle.js +1 -1
  287. package/dist/components/stzh-tooltip2.js +28 -7
  288. package/dist/components/stzh-upload.js +4 -1
  289. package/dist/components/stzh-vbz-linechip2.js +774 -681
  290. package/dist/components/stzh-vbz-majorticker.js +1 -1
  291. package/dist/components/stzh-vbz-ticker.js +1 -1
  292. package/dist/components/stzh-vspace.js +8 -5
  293. package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
  294. package/dist/esm/{app-globals-17c2ba8d.js → app-globals-2e508622.js} +1 -1
  295. package/dist/esm/{arrow-86a679c7.js → arrow-480bc86f.js} +468 -478
  296. package/dist/esm/axios-e2b39666.js +3165 -0
  297. package/dist/esm/{dom-6be6f662.js → dom-c525f6e4.js} +1 -1
  298. package/dist/esm/{focus-trap.esm-074705a3.js → focus-trap.esm-82634dec.js} +188 -278
  299. package/dist/esm/{index-011c84fe.js → index-319b7c49.js} +112 -4
  300. package/dist/esm/loader.js +5 -4
  301. package/dist/esm/polyfills/css-shim.js +1 -1
  302. package/dist/esm/{shadow-css-ed4599f8.js → shadow-css-abbdeef8.js} +1 -1
  303. package/dist/esm/stzh-accordion-item.entry.js +6 -3
  304. package/dist/esm/stzh-accordion.entry.js +1 -1
  305. package/dist/esm/stzh-actions.entry.js +1 -1
  306. package/dist/esm/stzh-actionset.entry.js +16 -6
  307. package/dist/esm/stzh-anchornav.entry.js +2 -2
  308. package/dist/esm/stzh-appnav.entry.js +1 -1
  309. package/dist/esm/stzh-appointments.entry.js +1 -1
  310. package/dist/esm/stzh-audio.entry.js +1 -1
  311. package/dist/esm/stzh-badge_3.entry.js +3 -3
  312. package/dist/esm/stzh-calendar.entry.js +2 -2
  313. package/dist/esm/stzh-card_3.entry.js +47 -12
  314. package/dist/esm/stzh-cell.entry.js +1 -1
  315. package/dist/esm/stzh-chart.entry.js +1471 -404
  316. package/dist/esm/stzh-checkbox.entry.js +3 -3
  317. package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
  318. package/dist/esm/stzh-chip_2.entry.js +127 -0
  319. package/dist/esm/stzh-components.js +24 -5
  320. package/dist/esm/stzh-contact.entry.js +87 -0
  321. package/dist/esm/stzh-container.entry.js +3 -2
  322. package/dist/esm/stzh-cspace.entry.js +2 -2
  323. package/dist/esm/stzh-datalist_2.entry.js +33 -13
  324. package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
  325. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  326. package/dist/esm/stzh-datatable.entry.js +32 -31
  327. package/dist/esm/stzh-datepicker_3.entry.js +4 -4
  328. package/dist/esm/stzh-details.entry.js +5 -2
  329. package/dist/esm/stzh-dialog.entry.js +6 -6
  330. package/dist/esm/stzh-dropdown.entry.js +1057 -426
  331. package/dist/esm/stzh-fieldset.entry.js +2 -2
  332. package/dist/esm/stzh-figure.entry.js +5 -3
  333. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  334. package/dist/esm/stzh-footer.entry.js +2 -2
  335. package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
  336. package/dist/esm/stzh-header.entry.js +6 -5
  337. package/dist/esm/stzh-heading.entry.js +1 -1
  338. package/dist/esm/stzh-hr.entry.js +1 -1
  339. package/dist/esm/stzh-hspace.entry.js +4 -3
  340. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  341. package/dist/esm/{stzh-input-description-bdd1e340.js → stzh-input-description-cc38e214.js} +1 -1
  342. package/dist/esm/stzh-input.entry.js +3 -3
  343. package/dist/esm/stzh-invert.entry.js +19 -0
  344. package/dist/esm/stzh-langnav.entry.js +1 -1
  345. package/dist/esm/stzh-link.entry.js +2 -2
  346. package/dist/esm/stzh-list-item.entry.js +1 -1
  347. package/dist/esm/stzh-list.entry.js +1 -1
  348. package/dist/esm/stzh-loader.entry.js +1 -1
  349. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  350. package/dist/esm/stzh-menu_2.entry.js +2 -2
  351. package/dist/esm/stzh-message.entry.js +2 -2
  352. package/dist/esm/stzh-metanav.entry.js +1 -1
  353. package/dist/esm/stzh-microsite-teaserlist.entry.js +3 -3
  354. package/dist/esm/stzh-olmap.entry.js +2 -2
  355. package/dist/esm/stzh-overlay.entry.js +2 -2
  356. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  357. package/dist/esm/stzh-pagebottom.entry.js +5 -2
  358. package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
  359. package/dist/esm/stzh-pagetitle.entry.js +9 -1
  360. package/dist/esm/stzh-popover.entry.js +22 -8
  361. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  362. package/dist/esm/stzh-progressbar-item.entry.js +6 -4
  363. package/dist/esm/stzh-progressbar.entry.js +2 -2
  364. package/dist/esm/stzh-ratio.entry.js +22 -0
  365. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  366. package/dist/esm/stzh-row.entry.js +1 -1
  367. package/dist/esm/stzh-saptcha.entry.js +1 -1
  368. package/dist/esm/stzh-section.entry.js +1 -1
  369. package/dist/esm/stzh-share.entry.js +1 -1
  370. package/dist/esm/stzh-show.entry.js +37 -0
  371. package/dist/esm/stzh-sitemap.entry.js +2 -2
  372. package/dist/esm/stzh-skiplink.entry.js +1 -1
  373. package/dist/esm/stzh-sortable.entry.js +10 -66
  374. package/dist/esm/stzh-space.entry.js +30 -0
  375. package/dist/esm/stzh-status.entry.js +1 -1
  376. package/dist/esm/stzh-sticky.entry.js +5 -3
  377. package/dist/esm/stzh-table.entry.js +3 -2
  378. package/dist/esm/stzh-text.entry.js +2 -2
  379. package/dist/esm/stzh-textandimage.entry.js +4 -2
  380. package/dist/esm/stzh-toggle.entry.js +3 -3
  381. package/dist/esm/stzh-tooltip.entry.js +32 -11
  382. package/dist/esm/stzh-upload.entry.js +6 -3
  383. package/dist/esm/stzh-vbz-linechip.entry.js +785 -692
  384. package/dist/esm/stzh-vbz-majorticker.entry.js +2 -2
  385. package/dist/esm/stzh-vbz-ticker.entry.js +2 -2
  386. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  387. package/dist/esm/stzh-vspace.entry.js +4 -3
  388. package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
  389. package/dist/esm-es5/app-globals-2e508622.js +1 -0
  390. package/dist/esm-es5/arrow-480bc86f.js +1 -0
  391. package/dist/esm-es5/axios-e2b39666.js +1 -0
  392. package/dist/esm-es5/{dom-6be6f662.js → dom-c525f6e4.js} +0 -0
  393. package/dist/esm-es5/focus-trap.esm-82634dec.js +9 -0
  394. package/dist/esm-es5/index-319b7c49.js +2 -0
  395. package/dist/esm-es5/loader.js +1 -1
  396. package/dist/esm-es5/{shadow-css-ed4599f8.js → shadow-css-abbdeef8.js} +0 -0
  397. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  398. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  399. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  400. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  401. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  402. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  403. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  404. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  405. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  406. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  407. package/dist/esm-es5/stzh-card_3.entry.js +1 -1
  408. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  409. package/dist/esm-es5/stzh-chart.entry.js +3 -3
  410. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  411. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  412. package/dist/esm-es5/stzh-chip_2.entry.js +1 -0
  413. package/dist/esm-es5/stzh-components.js +1 -1
  414. package/dist/esm-es5/stzh-contact.entry.js +1 -0
  415. package/dist/esm-es5/stzh-container.entry.js +1 -1
  416. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  417. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  418. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  419. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  420. package/dist/esm-es5/stzh-datatable.entry.js +4 -4
  421. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  422. package/dist/esm-es5/stzh-details.entry.js +1 -1
  423. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  424. package/dist/esm-es5/stzh-dropdown.entry.js +9 -1
  425. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  426. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  427. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  428. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  429. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  430. package/dist/esm-es5/stzh-header.entry.js +1 -1
  431. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  432. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  433. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  434. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  435. package/dist/esm-es5/{stzh-input-description-bdd1e340.js → stzh-input-description-cc38e214.js} +1 -1
  436. package/dist/esm-es5/stzh-input.entry.js +1 -1
  437. package/dist/esm-es5/stzh-invert.entry.js +1 -0
  438. package/dist/esm-es5/stzh-langnav.entry.js +1 -1
  439. package/dist/esm-es5/stzh-link.entry.js +1 -1
  440. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  441. package/dist/esm-es5/stzh-list.entry.js +1 -1
  442. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  443. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  444. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  445. package/dist/esm-es5/stzh-message.entry.js +1 -1
  446. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  447. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
  448. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  449. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  450. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  451. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  452. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  453. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  454. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  455. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  456. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  457. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  458. package/dist/esm-es5/stzh-ratio.entry.js +1 -0
  459. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  460. package/dist/esm-es5/stzh-row.entry.js +1 -1
  461. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  462. package/dist/esm-es5/stzh-section.entry.js +1 -1
  463. package/dist/esm-es5/stzh-share.entry.js +1 -1
  464. package/dist/esm-es5/stzh-show.entry.js +1 -0
  465. package/dist/esm-es5/stzh-sitemap.entry.js +1 -1
  466. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  467. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  468. package/dist/esm-es5/stzh-space.entry.js +1 -0
  469. package/dist/esm-es5/stzh-status.entry.js +1 -1
  470. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  471. package/dist/esm-es5/stzh-table.entry.js +1 -1
  472. package/dist/esm-es5/stzh-text.entry.js +1 -1
  473. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  474. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  475. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  476. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  477. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  478. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  479. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  480. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  481. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  482. package/dist/esm-es5/translation-utils-2623783f.js +1 -1
  483. package/dist/stzh-components/assets/i18n/de.json +10 -7
  484. package/dist/stzh-components/assets/i18n/en.json +11 -8
  485. package/dist/stzh-components/p-00c4c8c0.system.entry.js +1 -0
  486. package/dist/stzh-components/p-013d269a.system.entry.js +1 -0
  487. package/dist/stzh-components/p-0447b178.system.entry.js +1 -0
  488. package/dist/stzh-components/p-04d390eb.entry.js +1 -0
  489. package/dist/stzh-components/p-06f5abab.system.entry.js +1 -0
  490. package/dist/stzh-components/{p-9176246f.entry.js → p-0930004d.entry.js} +1 -1
  491. package/dist/stzh-components/p-09f582cd.entry.js +1 -0
  492. package/dist/stzh-components/p-0a2de4e8.entry.js +1 -0
  493. package/dist/stzh-components/p-0ada0b0a.system.entry.js +1 -0
  494. package/dist/stzh-components/p-0af8a184.system.entry.js +1 -0
  495. package/dist/stzh-components/p-0afba769.entry.js +1 -0
  496. package/dist/stzh-components/p-0ce8b383.system.js +1 -0
  497. package/dist/stzh-components/p-0f882e26.system.entry.js +1 -0
  498. package/dist/stzh-components/{p-fbf2f4ed.system.entry.js → p-101f9b11.system.entry.js} +1 -1
  499. package/dist/stzh-components/{p-cff8376e.entry.js → p-12564ee4.entry.js} +1 -1
  500. package/dist/stzh-components/p-125a8244.entry.js +1 -0
  501. package/dist/stzh-components/{p-bee6eef5.entry.js → p-126a0f14.entry.js} +1 -1
  502. package/dist/stzh-components/p-12e03b78.system.entry.js +1 -0
  503. package/dist/stzh-components/{p-30ae5c00.system.entry.js → p-16b3d4ee.system.entry.js} +1 -1
  504. package/dist/stzh-components/p-1783b15a.js +12 -0
  505. package/dist/stzh-components/p-1c2c9ca8.entry.js +1 -0
  506. package/dist/stzh-components/p-1f925e84.system.entry.js +1 -0
  507. package/dist/stzh-components/p-20bd79d0.entry.js +1 -0
  508. package/dist/stzh-components/p-246cd179.js +1 -0
  509. package/dist/stzh-components/p-26889a91.entry.js +9 -0
  510. package/dist/stzh-components/p-2ad73c0c.system.entry.js +1 -0
  511. package/dist/stzh-components/p-2b67b0b3.system.entry.js +9 -0
  512. package/dist/stzh-components/p-2ba88798.entry.js +1 -0
  513. package/dist/stzh-components/{p-60274e67.system.entry.js → p-2c490268.system.entry.js} +1 -1
  514. package/dist/stzh-components/p-2e6ef670.entry.js +1 -0
  515. package/dist/stzh-components/p-2f4448c9.system.entry.js +1 -0
  516. package/dist/stzh-components/{p-376946bc.entry.js → p-2f4c5e18.entry.js} +1 -1
  517. package/dist/stzh-components/p-3238b0bf.entry.js +1 -0
  518. package/dist/stzh-components/p-36e72c1d.system.js +2 -0
  519. package/dist/stzh-components/{p-fd265f3a.entry.js → p-38e7645a.entry.js} +1 -1
  520. package/dist/stzh-components/{p-ed6adb96.entry.js → p-3b00d8b8.entry.js} +1 -1
  521. package/dist/stzh-components/p-3e433996.entry.js +1 -0
  522. package/dist/stzh-components/p-3f676d99.system.entry.js +1 -0
  523. package/dist/stzh-components/{p-0c8427bc.entry.js → p-40798ed2.entry.js} +1 -1
  524. package/dist/stzh-components/p-418e04f7.system.entry.js +1 -0
  525. package/dist/stzh-components/{p-3145cd2f.entry.js → p-41fa7e81.entry.js} +1 -1
  526. package/dist/stzh-components/p-4370efe7.entry.js +1 -0
  527. package/dist/stzh-components/p-444b2baf.entry.js +1 -0
  528. package/dist/stzh-components/p-44b03dbb.js +10 -0
  529. package/dist/stzh-components/{p-2577ca1e.system.entry.js → p-44d10402.system.entry.js} +1 -1
  530. package/dist/stzh-components/{p-ed0d51b6.entry.js → p-46d07ed7.entry.js} +1 -1
  531. package/dist/stzh-components/p-470182bb.system.entry.js +1 -0
  532. package/dist/stzh-components/{p-669896ec.entry.js → p-48dee587.entry.js} +1 -1
  533. package/dist/stzh-components/p-48e835cf.system.js +1 -0
  534. package/dist/stzh-components/{p-55b7cda7.system.entry.js → p-4a298117.system.entry.js} +1 -1
  535. package/dist/stzh-components/p-4a60b27f.entry.js +1 -0
  536. package/dist/stzh-components/p-4d8c81b2.system.entry.js +1 -0
  537. package/dist/stzh-components/p-5011f10c.js +1 -0
  538. package/dist/stzh-components/{p-f027e569.system.entry.js → p-512c38b3.system.entry.js} +1 -1
  539. package/dist/stzh-components/p-51b3a560.system.entry.js +1 -0
  540. package/dist/stzh-components/p-537adcfe.system.entry.js +3 -0
  541. package/dist/stzh-components/{p-13051e1c.js → p-538882c8.js} +0 -0
  542. package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
  543. package/dist/stzh-components/p-55752bd5.system.entry.js +1 -0
  544. package/dist/stzh-components/p-563b1abc.system.entry.js +1 -0
  545. package/dist/stzh-components/p-59793ef8.system.entry.js +1 -0
  546. package/dist/stzh-components/{p-6a0a76b3.entry.js → p-5b162e4f.entry.js} +1 -1
  547. package/dist/stzh-components/{p-0409bf6b.system.entry.js → p-5c717080.system.entry.js} +1 -1
  548. package/dist/stzh-components/p-5cb1cd93.system.entry.js +1 -0
  549. package/dist/stzh-components/p-5f9b58fb.system.entry.js +1 -0
  550. package/dist/stzh-components/{p-e7cf6c45.system.entry.js → p-617ece76.system.entry.js} +1 -1
  551. package/dist/stzh-components/{p-104df3a8.system.entry.js → p-6414454e.system.entry.js} +1 -1
  552. package/dist/stzh-components/p-6496df0a.system.entry.js +9 -0
  553. package/dist/stzh-components/p-64cdef2f.entry.js +1 -0
  554. package/dist/stzh-components/p-64e27ac1.entry.js +1 -0
  555. package/dist/stzh-components/p-655e3c46.system.entry.js +1 -0
  556. package/dist/stzh-components/{p-b0d8866d.entry.js → p-65ea23f6.entry.js} +1 -1
  557. package/dist/stzh-components/p-668b4025.system.entry.js +1 -0
  558. package/dist/stzh-components/{p-f03ce92d.system.entry.js → p-6722e89a.system.entry.js} +1 -1
  559. package/dist/stzh-components/p-67ae4994.entry.js +1 -0
  560. package/dist/stzh-components/{p-f39f347c.system.js → p-6845b6ac.system.js} +0 -0
  561. package/dist/stzh-components/p-6adc5f0c.system.entry.js +1 -0
  562. package/dist/stzh-components/p-6c80b920.system.entry.js +1 -0
  563. package/dist/stzh-components/p-6dbf976b.entry.js +1 -0
  564. package/dist/stzh-components/{p-eade9f77.entry.js → p-6e3231ce.entry.js} +1 -1
  565. package/dist/stzh-components/p-705aa56d.entry.js +1 -0
  566. package/dist/stzh-components/{p-288ee536.system.entry.js → p-70f85be3.system.entry.js} +1 -1
  567. package/dist/stzh-components/{p-62a2684d.entry.js → p-7185f634.entry.js} +1 -1
  568. package/dist/stzh-components/{p-11d7b426.system.entry.js → p-74d6e349.system.entry.js} +1 -1
  569. package/dist/stzh-components/p-77d0a54b.system.entry.js +1 -0
  570. package/dist/stzh-components/p-7b0c04b3.system.entry.js +1 -0
  571. package/dist/stzh-components/{p-2b5b1e4a.system.entry.js → p-7e4261ce.system.entry.js} +2 -2
  572. package/dist/stzh-components/{p-f5db6234.entry.js → p-7e94b787.entry.js} +1 -1
  573. package/dist/stzh-components/{p-df5f49b4.js → p-7f0fb35c.js} +1 -1
  574. package/dist/stzh-components/{p-44e0b101.system.entry.js → p-7f1b7b44.system.entry.js} +1 -1
  575. package/dist/stzh-components/{p-97e16665.system.entry.js → p-80f497d8.system.entry.js} +1 -1
  576. package/dist/stzh-components/p-81b4b0e6.system.entry.js +1 -0
  577. package/dist/stzh-components/{p-8cc119d3.system.entry.js → p-8361c9d8.system.entry.js} +1 -1
  578. package/dist/stzh-components/{p-cc720d2d.entry.js → p-838b0542.entry.js} +1 -1
  579. package/dist/stzh-components/p-862e7723.system.entry.js +1 -0
  580. package/dist/stzh-components/{p-49b292df.entry.js → p-86336227.entry.js} +1 -1
  581. package/dist/stzh-components/p-8715198b.entry.js +1 -0
  582. package/dist/stzh-components/p-8972cf20.entry.js +1 -0
  583. package/dist/stzh-components/p-8c5a6832.system.entry.js +1 -0
  584. package/dist/stzh-components/p-8caafed2.system.entry.js +1 -0
  585. package/dist/stzh-components/p-8ccefd49.system.entry.js +1 -0
  586. package/dist/stzh-components/p-8ee705ed.entry.js +1 -0
  587. package/dist/stzh-components/p-906caf97.js +1 -0
  588. package/dist/stzh-components/{p-9e4e0cc9.entry.js → p-923dffc7.entry.js} +1 -1
  589. package/dist/stzh-components/p-9380fb85.entry.js +1 -0
  590. package/dist/stzh-components/p-97e4272b.system.entry.js +1 -0
  591. package/dist/stzh-components/p-990f395b.entry.js +1 -0
  592. package/dist/stzh-components/p-99a3742a.js +2 -0
  593. package/dist/stzh-components/p-99aacd74.entry.js +1 -0
  594. package/dist/stzh-components/p-99b82949.entry.js +1 -0
  595. package/dist/stzh-components/p-99e27f57.system.js +1 -0
  596. package/dist/stzh-components/{p-576e1345.entry.js → p-99e43fb0.entry.js} +1 -1
  597. package/dist/stzh-components/p-9be29697.entry.js +1 -0
  598. package/dist/stzh-components/{p-eb6d3e6c.entry.js → p-9c35c9cd.entry.js} +1 -1
  599. package/dist/stzh-components/{p-33f80cd2.system.entry.js → p-9d5c70ee.system.entry.js} +1 -1
  600. package/dist/stzh-components/p-9e30ee4a.system.js +10 -0
  601. package/dist/stzh-components/{p-94830f96.system.entry.js → p-a0a033bd.system.entry.js} +1 -1
  602. package/dist/stzh-components/{p-d5cb80ad.system.entry.js → p-a11ef2d6.system.entry.js} +1 -1
  603. package/dist/stzh-components/p-a2b2cfac.system.entry.js +1 -0
  604. package/dist/stzh-components/p-a3c7aa63.entry.js +9 -0
  605. package/dist/stzh-components/p-a408bfba.system.js +1 -1
  606. package/dist/stzh-components/{p-68400ee7.entry.js → p-a44527f8.entry.js} +1 -1
  607. package/dist/stzh-components/{p-8bbaed3a.entry.js → p-a4dd5ba3.entry.js} +1 -1
  608. package/dist/stzh-components/{p-c30600d0.system.entry.js → p-a51dd210.system.entry.js} +1 -1
  609. package/dist/stzh-components/{p-4b0f473e.entry.js → p-a693ab41.entry.js} +1 -1
  610. package/dist/stzh-components/p-a6be6aca.system.entry.js +1 -0
  611. package/dist/stzh-components/p-ac3e3b2a.system.entry.js +1 -0
  612. package/dist/stzh-components/{p-72389069.entry.js → p-ad816fd9.entry.js} +1 -1
  613. package/dist/stzh-components/p-af67ea5e.entry.js +7 -0
  614. package/dist/stzh-components/p-b050c1f4.entry.js +1 -0
  615. package/dist/stzh-components/{p-be79497f.system.entry.js → p-b1ffc2a9.system.entry.js} +1 -1
  616. package/dist/stzh-components/p-b395bed5.system.entry.js +1 -0
  617. package/dist/stzh-components/{p-30ba96a3.entry.js → p-b689b882.entry.js} +1 -1
  618. package/dist/stzh-components/{p-5c3c9ad4.entry.js → p-b6e6f847.entry.js} +1 -1
  619. package/dist/stzh-components/p-b92734db.entry.js +1 -0
  620. package/dist/stzh-components/p-b9427914.entry.js +1 -0
  621. package/dist/stzh-components/p-bada7caa.system.entry.js +1 -0
  622. package/dist/stzh-components/p-bb82fa2d.system.entry.js +1 -0
  623. package/dist/stzh-components/p-bc36fda4.system.entry.js +1 -0
  624. package/dist/stzh-components/{p-1d8272a5.entry.js → p-be68b323.entry.js} +1 -1
  625. package/dist/stzh-components/p-bf071e77.system.js +1 -0
  626. package/dist/stzh-components/{p-84965eac.entry.js → p-c0ec905d.entry.js} +1 -1
  627. package/dist/stzh-components/p-c2f909c1.system.entry.js +1 -0
  628. package/dist/stzh-components/p-c33b7d23.entry.js +1 -0
  629. package/dist/stzh-components/p-c646c712.entry.js +1 -0
  630. package/dist/stzh-components/p-c8cc2563.system.entry.js +1 -0
  631. package/dist/stzh-components/p-c9c7d88a.entry.js +1 -0
  632. package/dist/stzh-components/p-cbe6d2ea.entry.js +1 -0
  633. package/dist/stzh-components/{p-2732d8c8.system.js → p-cbfae706.system.js} +0 -0
  634. package/dist/stzh-components/p-ccf023da.entry.js +3 -0
  635. package/dist/stzh-components/p-d04bbc19.js +1 -0
  636. package/dist/stzh-components/p-d32965be.system.entry.js +1 -0
  637. package/dist/stzh-components/p-d54ff4d4.system.entry.js +1 -0
  638. package/dist/stzh-components/p-d5644c25.entry.js +8 -0
  639. package/dist/stzh-components/p-d6a11daa.entry.js +1 -0
  640. package/dist/stzh-components/p-d943e02c.system.entry.js +1 -0
  641. package/dist/stzh-components/{p-a474826c.system.entry.js → p-da85cf73.system.entry.js} +1 -1
  642. package/dist/stzh-components/p-da98a8bb.system.entry.js +7 -0
  643. package/dist/stzh-components/p-db306e24.entry.js +1 -0
  644. package/dist/stzh-components/{p-d2f6fb1b.system.js → p-db339680.system.js} +1 -1
  645. package/dist/stzh-components/{p-f5fdc88c.entry.js → p-dbe5320f.entry.js} +3 -3
  646. package/dist/stzh-components/p-dd1bb919.entry.js +1 -0
  647. package/dist/stzh-components/p-dd5f29aa.entry.js +1 -0
  648. package/dist/stzh-components/p-de9edaf2.entry.js +1 -0
  649. package/dist/stzh-components/p-e3afc8f7.entry.js +1 -0
  650. package/dist/stzh-components/p-e54ef44f.system.entry.js +1 -0
  651. package/dist/stzh-components/p-e78fe899.system.entry.js +1 -0
  652. package/dist/stzh-components/{p-60d9bf98.system.entry.js → p-e7909de9.system.entry.js} +1 -1
  653. package/dist/stzh-components/{p-58af0855.system.entry.js → p-e7e9b295.system.entry.js} +1 -1
  654. package/dist/stzh-components/p-e8feb92e.system.entry.js +1 -0
  655. package/dist/stzh-components/p-eb7773f3.entry.js +1 -0
  656. package/dist/stzh-components/p-ed58b644.system.entry.js +1 -0
  657. package/dist/stzh-components/p-ee4b939a.entry.js +1 -0
  658. package/dist/stzh-components/{p-28d8aa31.entry.js → p-f0e2a32d.entry.js} +1 -1
  659. package/dist/stzh-components/{p-0cff4e01.entry.js → p-f2deda0a.entry.js} +1 -1
  660. package/dist/stzh-components/p-f3d69226.system.entry.js +1 -0
  661. package/dist/stzh-components/p-f433e62a.system.entry.js +1 -0
  662. package/dist/stzh-components/p-f5b2c12e.entry.js +1 -0
  663. package/dist/stzh-components/{p-4226dec6.system.entry.js → p-f7bb76d8.system.entry.js} +1 -1
  664. package/dist/stzh-components/{p-4c7e52aa.entry.js → p-f8feb07b.entry.js} +1 -1
  665. package/dist/stzh-components/p-f9ab0433.entry.js +1 -0
  666. package/dist/stzh-components/p-fa615b51.system.entry.js +1 -0
  667. package/dist/stzh-components/p-fd15cc86.entry.js +1 -0
  668. package/dist/stzh-components/p-fd3acd16.system.entry.js +1 -0
  669. package/dist/stzh-components/p-fe5d5fc8.entry.js +1 -0
  670. package/dist/stzh-components/p-fe9acc68.system.entry.js +1 -0
  671. package/dist/stzh-components/stzh-components.css +1 -1
  672. package/dist/stzh-components/stzh-components.esm.js +1 -1
  673. package/dist/stzh-components/stzh-components.js +1 -1
  674. package/dist/types/components/stzh-actionset/stzh-actionset.localization.d.ts +1 -1
  675. package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +1 -1
  676. package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +1 -1
  677. package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +1 -1
  678. package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +1 -1
  679. package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +1 -1
  680. package/dist/types/components/stzh-card/stzh-card.localization.d.ts +1 -1
  681. package/dist/types/components/stzh-card-list/stzh-card-list.localization.d.ts +1 -1
  682. package/dist/types/components/stzh-container/stzh-container.d.ts +2 -0
  683. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +2 -1
  684. package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +1 -1
  685. package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +1 -1
  686. package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +1 -1
  687. package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +1 -1
  688. package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +1 -1
  689. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +1 -1
  690. package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +3 -1
  691. package/dist/types/components/stzh-input/stzh-input-description.d.ts +1 -1
  692. package/dist/types/components/stzh-message/stzh-message.localization.d.ts +1 -1
  693. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +1 -1
  694. package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +1 -1
  695. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +2 -1
  696. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +1 -0
  697. package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +1 -1
  698. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +1 -1
  699. package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +1 -1
  700. package/dist/types/components/stzh-space/stzh-space.d.ts +27 -0
  701. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +2 -1
  702. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -1
  703. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +1 -1
  704. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +1 -1
  705. package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +3 -1
  706. package/dist/types/components.d.ts +416 -22
  707. package/dist/types/index.d.ts +139 -132
  708. package/dist/types/stencil-public-runtime.d.ts +59 -3
  709. package/dist/types/utils/date-adapter.d.ts +2 -2
  710. package/dist/types/utils/h.d.ts +3 -3
  711. package/dist/types/utils/test-utils.d.ts +2 -2
  712. package/dist/types/utils/translation-utils.d.ts +5 -5
  713. package/dist/vscode-data.json +675 -104
  714. package/loader/index.d.ts +9 -0
  715. package/package.json +11 -11
  716. package/dist/cjs/index-8bd1552a.js +0 -2019
  717. package/dist/cjs/stzh-chip.cjs.entry.js +0 -99
  718. package/dist/cjs/stzh-clamp.cjs.entry.js +0 -27
  719. package/dist/cjs/stzh-contactaddress.cjs.entry.js +0 -91
  720. package/dist/collection/pages/example.stories.js +0 -170
  721. package/dist/components/index3.js +0 -2017
  722. package/dist/components/stzh-contactaddress.js +0 -157
  723. package/dist/esm/index-545902f4.js +0 -2017
  724. package/dist/esm/stzh-chip.entry.js +0 -95
  725. package/dist/esm/stzh-clamp.entry.js +0 -23
  726. package/dist/esm/stzh-contactaddress.entry.js +0 -87
  727. package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
  728. package/dist/esm-es5/app-globals-17c2ba8d.js +0 -1
  729. package/dist/esm-es5/arrow-86a679c7.js +0 -1
  730. package/dist/esm-es5/focus-trap.esm-074705a3.js +0 -9
  731. package/dist/esm-es5/index-011c84fe.js +0 -2
  732. package/dist/esm-es5/index-545902f4.js +0 -1
  733. package/dist/esm-es5/stzh-chip.entry.js +0 -1
  734. package/dist/esm-es5/stzh-clamp.entry.js +0 -1
  735. package/dist/esm-es5/stzh-contactaddress.entry.js +0 -1
  736. package/dist/stzh-components/p-006751fc.system.entry.js +0 -1
  737. package/dist/stzh-components/p-025c9c5b.entry.js +0 -1
  738. package/dist/stzh-components/p-02fd7470.entry.js +0 -1
  739. package/dist/stzh-components/p-037357fc.system.entry.js +0 -1
  740. package/dist/stzh-components/p-04a45622.system.entry.js +0 -1
  741. package/dist/stzh-components/p-09da70d8.entry.js +0 -1
  742. package/dist/stzh-components/p-0a647396.entry.js +0 -1
  743. package/dist/stzh-components/p-0b264a7a.entry.js +0 -1
  744. package/dist/stzh-components/p-0b9dc96d.system.js +0 -1
  745. package/dist/stzh-components/p-10c046fc.system.entry.js +0 -1
  746. package/dist/stzh-components/p-171c5795.system.entry.js +0 -1
  747. package/dist/stzh-components/p-19ab7e34.system.entry.js +0 -1
  748. package/dist/stzh-components/p-1ca12032.system.entry.js +0 -1
  749. package/dist/stzh-components/p-1da26ca1.entry.js +0 -1
  750. package/dist/stzh-components/p-1e4b4d71.system.js +0 -1
  751. package/dist/stzh-components/p-1fe1169e.entry.js +0 -1
  752. package/dist/stzh-components/p-213959b7.entry.js +0 -1
  753. package/dist/stzh-components/p-22b06793.entry.js +0 -1
  754. package/dist/stzh-components/p-231e6e6a.system.entry.js +0 -1
  755. package/dist/stzh-components/p-2862cdd8.system.entry.js +0 -1
  756. package/dist/stzh-components/p-2a5855f8.js +0 -1
  757. package/dist/stzh-components/p-2bdc71ae.system.entry.js +0 -1
  758. package/dist/stzh-components/p-31029226.entry.js +0 -1
  759. package/dist/stzh-components/p-311813bc.system.entry.js +0 -1
  760. package/dist/stzh-components/p-31c3469c.entry.js +0 -1
  761. package/dist/stzh-components/p-34b45788.entry.js +0 -7
  762. package/dist/stzh-components/p-3848d8ee.entry.js +0 -1
  763. package/dist/stzh-components/p-38f9cbf3.system.entry.js +0 -1
  764. package/dist/stzh-components/p-3905ca20.entry.js +0 -1
  765. package/dist/stzh-components/p-391e6b90.entry.js +0 -1
  766. package/dist/stzh-components/p-3a1ff759.entry.js +0 -1
  767. package/dist/stzh-components/p-40a19ce6.js +0 -10
  768. package/dist/stzh-components/p-4228cd58.system.entry.js +0 -1
  769. package/dist/stzh-components/p-441ea784.entry.js +0 -1
  770. package/dist/stzh-components/p-49bb09a5.entry.js +0 -1
  771. package/dist/stzh-components/p-4bd7dafb.system.entry.js +0 -1
  772. package/dist/stzh-components/p-4cd9f5c7.system.entry.js +0 -1
  773. package/dist/stzh-components/p-51be647d.entry.js +0 -1
  774. package/dist/stzh-components/p-53934cfd.js +0 -1
  775. package/dist/stzh-components/p-55f6fa41.system.entry.js +0 -1
  776. package/dist/stzh-components/p-57237509.system.entry.js +0 -1
  777. package/dist/stzh-components/p-5b1c1cf7.entry.js +0 -1
  778. package/dist/stzh-components/p-5b379647.system.entry.js +0 -1
  779. package/dist/stzh-components/p-5ddf8258.system.entry.js +0 -1
  780. package/dist/stzh-components/p-5fd9ae99.system.entry.js +0 -1
  781. package/dist/stzh-components/p-60ec90b2.system.entry.js +0 -1
  782. package/dist/stzh-components/p-64422176.entry.js +0 -9
  783. package/dist/stzh-components/p-65675e11.entry.js +0 -1
  784. package/dist/stzh-components/p-661831da.entry.js +0 -1
  785. package/dist/stzh-components/p-71c07419.system.entry.js +0 -1
  786. package/dist/stzh-components/p-75068cd7.system.entry.js +0 -1
  787. package/dist/stzh-components/p-7684506e.system.entry.js +0 -1
  788. package/dist/stzh-components/p-7adc28a4.system.entry.js +0 -7
  789. package/dist/stzh-components/p-7ce59988.system.entry.js +0 -1
  790. package/dist/stzh-components/p-7da446d5.js +0 -1
  791. package/dist/stzh-components/p-7e94dde2.entry.js +0 -1
  792. package/dist/stzh-components/p-812ea5e9.system.entry.js +0 -1
  793. package/dist/stzh-components/p-8364475f.js +0 -12
  794. package/dist/stzh-components/p-83830baa.system.entry.js +0 -1
  795. package/dist/stzh-components/p-84c86e4c.system.entry.js +0 -1
  796. package/dist/stzh-components/p-88a31179.system.entry.js +0 -1
  797. package/dist/stzh-components/p-88cbd2c0.entry.js +0 -1
  798. package/dist/stzh-components/p-8a1d00fe.entry.js +0 -3
  799. package/dist/stzh-components/p-92afa8df.entry.js +0 -1
  800. package/dist/stzh-components/p-95b490ec.system.entry.js +0 -1
  801. package/dist/stzh-components/p-9743f558.system.entry.js +0 -1
  802. package/dist/stzh-components/p-996579d0.entry.js +0 -1
  803. package/dist/stzh-components/p-99f92c6d.system.entry.js +0 -1
  804. package/dist/stzh-components/p-9a5ebb1f.js +0 -2
  805. package/dist/stzh-components/p-9dac46e2.system.entry.js +0 -1
  806. package/dist/stzh-components/p-9e38b823.system.entry.js +0 -1
  807. package/dist/stzh-components/p-a16dc363.entry.js +0 -1
  808. package/dist/stzh-components/p-a17754c7.system.entry.js +0 -1
  809. package/dist/stzh-components/p-a53c0a98.entry.js +0 -1
  810. package/dist/stzh-components/p-a795868f.entry.js +0 -1
  811. package/dist/stzh-components/p-a8101552.entry.js +0 -8
  812. package/dist/stzh-components/p-a934dd4d.entry.js +0 -1
  813. package/dist/stzh-components/p-aacf685b.system.entry.js +0 -3
  814. package/dist/stzh-components/p-ab28e094.system.entry.js +0 -1
  815. package/dist/stzh-components/p-ac3aa560.system.entry.js +0 -1
  816. package/dist/stzh-components/p-addc48e5.entry.js +0 -1
  817. package/dist/stzh-components/p-af0ab448.system.entry.js +0 -1
  818. package/dist/stzh-components/p-af63f1a4.entry.js +0 -1
  819. package/dist/stzh-components/p-b0fe9349.entry.js +0 -1
  820. package/dist/stzh-components/p-b2145753.system.entry.js +0 -1
  821. package/dist/stzh-components/p-b436a18d.system.entry.js +0 -1
  822. package/dist/stzh-components/p-b908d228.system.entry.js +0 -1
  823. package/dist/stzh-components/p-ba0b93c4.system.entry.js +0 -9
  824. package/dist/stzh-components/p-bfcfbfbb.system.entry.js +0 -1
  825. package/dist/stzh-components/p-c065387a.entry.js +0 -1
  826. package/dist/stzh-components/p-c0fef3d1.entry.js +0 -1
  827. package/dist/stzh-components/p-c26aec94.entry.js +0 -1
  828. package/dist/stzh-components/p-c3a543a6.entry.js +0 -1
  829. package/dist/stzh-components/p-c42435be.entry.js +0 -1
  830. package/dist/stzh-components/p-cf6003d6.js +0 -1
  831. package/dist/stzh-components/p-cfc0bc2e.system.entry.js +0 -1
  832. package/dist/stzh-components/p-d1d5825d.entry.js +0 -1
  833. package/dist/stzh-components/p-d4405931.system.entry.js +0 -1
  834. package/dist/stzh-components/p-d5c0801b.entry.js +0 -1
  835. package/dist/stzh-components/p-db1692fb.entry.js +0 -1
  836. package/dist/stzh-components/p-dbdc01c7.system.js +0 -2
  837. package/dist/stzh-components/p-dce19efd.entry.js +0 -1
  838. package/dist/stzh-components/p-ded16c0e.system.js +0 -1
  839. package/dist/stzh-components/p-e20369c8.system.js +0 -10
  840. package/dist/stzh-components/p-e2e54f09.system.js +0 -1
  841. package/dist/stzh-components/p-e46d82b9.system.entry.js +0 -1
  842. package/dist/stzh-components/p-e71cd5cd.system.entry.js +0 -1
  843. package/dist/stzh-components/p-e72ca013.system.entry.js +0 -1
  844. package/dist/stzh-components/p-e76a3647.entry.js +0 -1
  845. package/dist/stzh-components/p-e812d35e.system.entry.js +0 -1
  846. package/dist/stzh-components/p-ec3a472a.system.entry.js +0 -1
  847. package/dist/stzh-components/p-f3107fc7.system.entry.js +0 -1
  848. package/dist/stzh-components/p-f37be5d7.entry.js +0 -1
  849. package/dist/stzh-components/p-f59b3545.system.entry.js +0 -1
  850. package/dist/stzh-components/p-f792fc8f.entry.js +0 -1
  851. package/dist/stzh-components/p-fcec6003.system.entry.js +0 -1
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(r,o,e,t){function s(r){return r instanceof e?r:new e((function(o){o(r)}))}return new(e||(e=Promise))((function(e,i){function c(r){try{a(t.next(r))}catch(o){i(o)}}function h(r){try{a(t["throw"](r))}catch(o){i(o)}}function a(r){r.done?e(r.value):s(r.value).then(c,h)}a((t=t.apply(r,o||[])).next())}))};var __generator=this&&this.__generator||function(r,o){var e={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},t,s,i,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(r){return function(o){return a([r,o])}}function a(c){if(t)throw new TypeError("Generator is already executing.");while(e)try{if(t=1,s&&(i=c[0]&2?s["return"]:c[0]?s["throw"]||((i=s["return"])&&i.call(s),0):s.next)&&!(i=i.call(s,c[1])).done)return i;if(s=0,i)c=[c[0]&2,i.value];switch(c[0]){case 0:case 1:i=c;break;case 4:e.label++;return{value:c[1],done:false};case 5:e.label++;s=c[1];c=[0];continue;case 7:c=e.ops.pop();e.trys.pop();continue;default:if(!(i=e.trys,i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){e=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){e.label=c[1];break}if(c[0]===6&&e.label<i[1]){e.label=i[1];i=c;break}if(i&&e.label<i[2]){e.label=i[2];e.ops.push(c);break}if(i[2])e.ops.pop();e.trys.pop();continue}c=o.call(r,e)}catch(h){c=[6,h];s=0}finally{t=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js"],(function(r){"use strict";var o,e,t,s,i,c;return{setters:[function(r){o=r.r;e=r.c;t=r.h;s=r.F;i=r.a;c=r.g}],execute:function(){var h=".sc-stzh-chip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--border:0.0625rem solid var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary48);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border:var(--border);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius)}[size=small].sc-stzh-chip-h{--height:1.5rem;--border-radius:0.75rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border:0.0625rem solid transparent;--background-color:var(--stzh-color-grey5);--hover-border:0.0625rem solid transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border:0.0625rem solid transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border:0.0625rem solid transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-white48);--hover-icon-color:var(--stzh-color-white)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-color-grey25);--border:0.0625rem solid var(--stzh-base-border-color);--remove-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-white);--counter-color:var(--stzh-color-grey25);--icon-color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25);--hover-border:0.0625rem solid var(--stzh-base-border-color);--hover-background-color:var(--stzh-color-white);--hover-remove-color:var(--stzh-color-grey13);--hover-remove-background-color:transparent;--hover-counter-color:var(--stzh-color-grey25);--hover-icon-color:var(--stzh-color-grey25)}.sc-stzh-chip-h .sc-stzh-chip-s>stzh-icon,.stzh-chip__icon.sc-stzh-chip{--size:var(--icon-size)}.stzh-chip.sc-stzh-chip{position:relative;white-space:nowrap}.stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:var(--height);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);padding:0 var(--stzh-space-medium);color:var(--color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-chip__icon-wrapper.sc-stzh-chip{display:-ms-flexbox;display:flex;color:var(--icon-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-chip__counter.sc-stzh-chip{display:-ms-flexbox;display:flex;font-variant-numeric:tabular-nums;margin-left:var(--stzh-space-xsmall);color:var(--counter-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:0;right:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color);border:var(--hover-border)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0 var(--stzh-space-small)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xxsmall)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{margin-left:var(--stzh-space-xxsmall)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";var a=r("stzh_chip",function(){function r(r){var t=this;o(this,r);this.stzhClick=e(this,"stzhClick",7);this.stzhRemove=e(this,"stzhRemove",7);this.stzhFocus=e(this,"stzhFocus",7);this.stzhBlur=e(this,"stzhBlur",7);this.onFocus=function(r){var o=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});t.element.dispatchEvent(o);t.stzhFocus.emit({component:"stzh-chip",originalEvent:r})};this.onBlur=function(r){var o=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});t.element.dispatchEvent(o);t.stzhBlur.emit({component:"stzh-chip",originalEvent:r})};this.onClick=function(r){t.stzhClick.emit({component:"stzh-chip",originalEvent:r})};this.onRemoveClick=function(r){t.stzhRemove.emit({component:"stzh-chip",originalEvent:r})};this.label="";this.icon="";this.href="";this.target="";this.removable=false;this.variant="tag";this.size="default";this.type="default";this.counter="";this.removeLabel="";this.active=false;this.disabled=false;this.a11yLabel=undefined;this.a11yDescribedby=""}r.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.chip.focus();return[2]}))}))};r.prototype.renderInner=function(){return t(s,null,t("div",{class:"stzh-chip__icon-wrapper"},this.icon?t("stzh-icon",{class:"stzh-chip__icon",name:this.icon}):t("slot",{name:"icon"})),t("div",{class:"stzh-chip__label"},this.label?this.label:t("slot",null)),this.counter&&t("div",{class:"stzh-chip__counter"},this.counter))};r.prototype.render=function(){var r;var o=(r={"stzh-chip":true,"stzh-chip--is-active":this.active,"stzh-chip--is-disabled":this.disabled,"stzh-chip--is-removable":this.removable,"stzh-chip--has-counter":!!this.counter},r["stzh-chip--type-".concat(this.type)]=!!this.type,r["stzh-chip--size-".concat(this.size)]=!!this.size,r["stzh-chip--".concat(this.variant)]=!!this.variant,r);return t(i,null,t("div",{class:o},this.removable&&t("button",{class:"stzh-chip__remove",onClick:this.onRemoveClick,disabled:this.disabled,"aria-label":this.removeLabel,type:"button"},t("stzh-icon",{class:"stzh-chip__remove-icon",name:"close"})),this.href?t("a",{class:"stzh-chip__button",href:this.disabled?null:this.href,target:this.target,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner()):t("button",{class:"stzh-chip__button",disabled:this.disabled,type:"button","aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner())))};Object.defineProperty(r.prototype,"element",{get:function(){return c(this)},enumerable:false,configurable:true});return r}());a.style=h}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js"],(function(t){"use strict";var e,i,s,r,n;return{setters:[function(t){e=t.r;i=t.h;s=t.a;r=t.g},function(t){n=t.h}],execute:function(){var o=".sc-stzh-figure-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-figure-h .sc-stzh-figure-s>*{width:100%;max-width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__caption.sc-stzh-figure:empty{display:none}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}";var h=t("stzh_figure",function(){function t(t){e(this,t);this.caption="";this.copyright=""}t.prototype.render=function(){var t=n(this.element,"caption");var e={"stzh-figure":true,"stzh-figure--has-caption":t};return i(s,null,i("figure",{class:e},i("div",{class:"stzh-figure__element"},i("slot",null)),i("figcaption",{class:"stzh-figure__caption"},this.caption?this.caption:i("slot",{name:"caption"}),i("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:i("slot",{name:"copyright"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());h.style=o}}}));
@@ -1 +0,0 @@
1
- import{r,c as o,h as s,F as t,a as h,g as e}from"./p-9a5ebb1f.js";const i=class{constructor(s){r(this,s),this.stzhClick=o(this,"stzhClick",7),this.stzhRemove=o(this,"stzhRemove",7),this.stzhFocus=o(this,"stzhFocus",7),this.stzhBlur=o(this,"stzhBlur",7),this.onFocus=r=>{const o=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(o),this.stzhFocus.emit({component:"stzh-chip",originalEvent:r})},this.onBlur=r=>{const o=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(o),this.stzhBlur.emit({component:"stzh-chip",originalEvent:r})},this.onClick=r=>{this.stzhClick.emit({component:"stzh-chip",originalEvent:r})},this.onRemoveClick=r=>{this.stzhRemove.emit({component:"stzh-chip",originalEvent:r})},this.label="",this.icon="",this.href="",this.target="",this.removable=!1,this.variant="tag",this.size="default",this.type="default",this.counter="",this.removeLabel="",this.active=!1,this.disabled=!1,this.a11yLabel=void 0,this.a11yDescribedby=""}async setFocus(){this.chip.focus()}renderInner(){return s(t,null,s("div",{class:"stzh-chip__icon-wrapper"},this.icon?s("stzh-icon",{class:"stzh-chip__icon",name:this.icon}):s("slot",{name:"icon"})),s("div",{class:"stzh-chip__label"},this.label?this.label:s("slot",null)),this.counter&&s("div",{class:"stzh-chip__counter"},this.counter))}render(){return s(h,null,s("div",{class:{"stzh-chip":!0,"stzh-chip--is-active":this.active,"stzh-chip--is-disabled":this.disabled,"stzh-chip--is-removable":this.removable,"stzh-chip--has-counter":!!this.counter,[`stzh-chip--type-${this.type}`]:!!this.type,[`stzh-chip--size-${this.size}`]:!!this.size,[`stzh-chip--${this.variant}`]:!!this.variant}},this.removable&&s("button",{class:"stzh-chip__remove",onClick:this.onRemoveClick,disabled:this.disabled,"aria-label":this.removeLabel,type:"button"},s("stzh-icon",{class:"stzh-chip__remove-icon",name:"close"})),this.href?s("a",{class:"stzh-chip__button",href:this.disabled?null:this.href,target:this.target,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner()):s("button",{class:"stzh-chip__button",disabled:this.disabled,type:"button","aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,onClick:this.onClick,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner())))}get element(){return e(this)}};i.style=".sc-stzh-chip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-h{display:none}.sc-stzh-chip-h *.sc-stzh-chip,.sc-stzh-chip-h *.sc-stzh-chip::before,.sc-stzh-chip-h *.sc-stzh-chip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-chip-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:2rem;--border:0.0625rem solid var(--stzh-color-grey13);--border-radius:1rem;--remove-color:var(--stzh-base-lead-color);--remove-border-radius:1.5rem;--background-color:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-primary48);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border:var(--border);--hover-background-color:var(--stzh-color-primary8);--hover-remove-color:var(--hover-color);--hover-remove-background-color:var(--hover-background-color);--hover-icon-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:-ms-inline-flexbox;display:inline-flex;border-radius:var(--border-radius)}[size=small].sc-stzh-chip-h{--height:1.5rem;--border-radius:0.75rem;--icon-size:var(--stzh-icon-size-xsmall)}[variant=input].sc-stzh-chip-h{--border:0.0625rem solid transparent;--background-color:var(--stzh-color-grey5);--hover-border:0.0625rem solid transparent}[variant=tag].sc-stzh-chip-h{--color:var(--stzh-base-color);--icon-color:var(--stzh-base-color);--counter-color:var(--stzh-base-color);--border:0.0625rem solid transparent;--background-color:var(--stzh-color-black8);--hover-color:var(--stzh-base-color);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-black8);--hover-icon-color:var(--stzh-base-color);--hover-counter-color:var(--stzh-base-color)}[type=secondary].sc-stzh-chip-h{--color:var(--stzh-base-lead-color);--counter-color:var(--stzh-color-grey40)}[type=important].sc-stzh-chip-h{--color:var(--stzh-color-error);--icon-color:var(--stzh-color-error);--counter-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-icon-color:var(--stzh-color-error);--hover-counter-color:var(--stzh-color-error)}[active].sc-stzh-chip-h:not([active=false]){--color:var(--stzh-color-white);--border:0.0625rem solid transparent;--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-counter-color:var(--stzh-color-white48);--hover-icon-color:var(--stzh-color-white)}[disabled].sc-stzh-chip-h:not([disabled=false]){--color:var(--stzh-color-grey25);--border:0.0625rem solid var(--stzh-base-border-color);--remove-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-white);--counter-color:var(--stzh-color-grey25);--icon-color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25);--hover-border:0.0625rem solid var(--stzh-base-border-color);--hover-background-color:var(--stzh-color-white);--hover-remove-color:var(--stzh-color-grey13);--hover-remove-background-color:transparent;--hover-counter-color:var(--stzh-color-grey25);--hover-icon-color:var(--stzh-color-grey25)}.sc-stzh-chip-h .sc-stzh-chip-s>stzh-icon,.stzh-chip__icon.sc-stzh-chip{--size:var(--icon-size)}.stzh-chip.sc-stzh-chip{position:relative;white-space:nowrap}.stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:var(--height);display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:var(--border-radius);padding:0 var(--stzh-space-medium);color:var(--color);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:var(--border);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);text-decoration:none}.stzh-chip__icon-wrapper.sc-stzh-chip{display:-ms-flexbox;display:flex;color:var(--icon-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-chip__counter.sc-stzh-chip{display:-ms-flexbox;display:flex;font-variant-numeric:tabular-nums;margin-left:var(--stzh-space-xsmall);color:var(--counter-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip{position:absolute;top:0;right:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:0;width:var(--height);height:var(--height);border-radius:var(--remove-border-radius);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--remove-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-chip__remove.sc-stzh-chip:hover{color:var(--hover-remove-color);background-color:var(--hover-remove-background-color)}.stzh-chip__remove-icon.sc-stzh-chip{--size:var(--stzh-icon-size-xxsmall)}.stzh-chip__button.sc-stzh-chip:hover,.stzh-chip__remove.sc-stzh-chip:hover+.stzh-chip__button.sc-stzh-chip{color:var(--hover-color);background-color:var(--hover-background-color);border:var(--hover-border)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__counter.sc-stzh-chip{color:var(--hover-counter-color)}.stzh-chip__button.sc-stzh-chip:hover .stzh-chip__icon-wrapper.sc-stzh-chip{color:var(--hover-icon-color)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);padding:0 var(--stzh-space-small)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__icon-wrapper.sc-stzh-chip:not(:empty){margin-right:var(--stzh-space-xxsmall)}.stzh-chip--size-small.sc-stzh-chip .stzh-chip__counter.sc-stzh-chip{margin-left:var(--stzh-space-xxsmall)}.stzh-chip--is-removable.sc-stzh-chip .stzh-chip__button.sc-stzh-chip{padding-right:calc(var(--height) + var(--stzh-space-xxsmall))}.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__button.sc-stzh-chip,.stzh-chip--is-disabled.sc-stzh-chip .stzh-chip__remove.sc-stzh-chip{cursor:not-allowed}";export{i as stzh_chip}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,s){function r(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,n){function a(t){try{l(s.next(t))}catch(e){n(e)}}function o(t){try{l(s["throw"](t))}catch(e){n(e)}}function l(t){t.done?i(t.value):r(t.value).then(a,o)}l((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,r,n,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(t){return function(e){return l([t,e])}}function l(a){if(s)throw new TypeError("Generator is already executing.");while(i)try{if(s=1,r&&(n=a[0]&2?r["return"]:a[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;if(r=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(o){a=[6,o];r=0}finally{s=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-ded16c0e.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var e,i,s,r,n,a;return{setters:[function(t){e=t.r;i=t.h;s=t.a;r=t.g},function(t){n=t.a},function(t){a=t.f}],execute:function(){var o=".sc-stzh-microsite-teaserlist-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-microsite-teaserlist-h{display:none}.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist,.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist::before,.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xxxlarge)}}.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xxxlarge)}}";var l=t("stzh_microsite_teaserlist",function(){function t(t){var i=this;e(this,t);this._tags=[];this._tagChips=[];this.items=[];this.filteredItems=[];this.filteredSlicedItems=[];this.handleChange=function(t){i.showItems=i.stepItems;i.activeFilter=t.detail.value};this.handleMoreClick=function(){i.showItems+=i.stepItems};this.localization=undefined;this.api=undefined;this.tags=[];this.stepItems=6;this.showItems=undefined;this.activeFilter=""}t.prototype.filterHandler=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){this.filteredItems=this.items.filter((function(e){return t.activeFilter!==""?e.tags.some((function(e){return t.activeFilter===e})):true}));this.filteredSlicedItems=this.filteredItems.slice(0,this.showItems);return[2]}))}))};t.prototype.tagsWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){if(typeof t==="string"){this._tags=JSON.parse(t)}else{this._tags=t}this._tagChips=this._tags.map((function(t){return{label:t.name,value:t.id,variant:"filter",type:"secondary",counter:(t.id?e.items.filter((function(e){return e.tags.indexOf(t.id)>-1})).length:e.items.length).toString()}}));return[2]}))}))};t.prototype.apiWatcher=function(t){return __awaiter(this,void 0,void 0,(function(){var e,i;return __generator(this,(function(s){switch(s.label){case 0:if(!t){return[2]}e=this.api.replace(/\{lang\}/,this.localization.$locale);return[4,n.get(e)];case 1:i=s.sent().data;this.items=i.items;this.showItems=this.stepItems;this.tagsWatcher(this.tags);return[2]}}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,a(this.element,"microsite-teaserlist")];case 1:t.localization=e.sent();e.label=2;case 2:return[4,this.apiWatcher(this.api)];case 3:e.sent();return[2]}}))}))};t.prototype.render=function(){var t={"stzh-microsite-teaserlist":true};return i(s,null,i("div",{class:t},i("stzh-chip-select",{class:"stzh-microsite-teaserlist__filter",label:this.localization.tagsLabel,data:this._tagChips,onStzhChange:this.handleChange}),i("stzh-card-list",{layout:"subpages"},this.filteredSlicedItems.map((function(t){return i("stzh-card",{href:t.link,hideHeaderBorder:true},t.image&&i("img",{slot:"image",src:t.image}),t.title&&i("stzh-clamp",{slot:"heading",lines:2},t.title),t.description&&i("stzh-clamp",{slot:"content",lines:3},t.description))}))),this.showItems<this.filteredItems.length&&i("div",{class:"stzh-microsite-teaserlist__show-more"},i("stzh-button",{variant:"secondary",label:this.localization.showMore,onClick:this.handleMoreClick}))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{showItems:["filterHandler"],activeFilter:["filterHandler"],tags:["tagsWatcher"],api:["apiWatcher"]}},enumerable:false,configurable:true});return t}());l.style=o}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s,a,g as e,F as h}from"./p-9a5ebb1f.js";import{m as l,a as d,r as n}from"./p-9111e257.js";const o=class{constructor(s){t(this,s),this.stzhDirectionChange=i(this,"stzhDirectionChange",7),this.stzhHideBorderChange=i(this,"stzhHideBorderChange",7),this._items=[],this.resizeHandler=()=>{this.currentDirection=l("ultra").matches&&"inherit"!==this.directionUltra?this.directionUltra:l("large").matches&&"inherit"!==this.directionLarge?this.directionLarge:l("medium").matches&&"inherit"!==this.directionMedium?this.directionMedium:l("small").matches&&"inherit"!==this.directionSmall?this.directionSmall:this.direction},this.direction="vertical",this.directionSmall="horizontal",this.directionMedium="inherit",this.directionLarge="inherit",this.directionUltra="inherit",this.hideBorder=!1,this.items=[],this.currentDirection=void 0}hideBorderWatcher(t){this.stzhHideBorderChange.emit({component:"stzh-datalist",value:t})}directionWatcher(){this.resizeHandler()}currentDirectionWatcher(t){this.stzhDirectionChange.emit({component:"stzh-datalist",value:t})}itemsWatcher(t){this._items="string"==typeof t?JSON.parse(t):t}async componentWillLoad(){this.itemsWatcher(this.items),this.hideBorderWatcher(this.hideBorder),this.resizeHandler()}connectedCallback(){d(this.resizeHandler)}disconnectedCallback(){n(this.resizeHandler)}render(){return s(a,null,s("div",{class:{"stzh-datalist":!0,"stzh-datalist--has-hidden-border":this.hideBorder,[`stzh-datalist--direction-${this.currentDirection}`]:!!this.currentDirection}},s("div",{class:"stzh-datalist__list",role:"list"},this._items.map((t=>s("stzh-datalist-item",Object.assign({},t),t.items&&t.items.length>0&&s("stzh-datalist",{items:t.items})))),s("slot",null))))}get element(){return e(this)}static get watchers(){return{hideBorder:["hideBorderWatcher"],direction:["directionWatcher"],directionSmall:["directionWatcher"],directionMedium:["directionWatcher"],directionLarge:["directionWatcher"],directionUltra:["directionWatcher"],currentDirection:["currentDirectionWatcher"],items:["itemsWatcher"]}}};o.style=".sc-stzh-datalist-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-datalist-h{display:none}.sc-stzh-datalist-h *.sc-stzh-datalist,.sc-stzh-datalist-h *.sc-stzh-datalist::before,.sc-stzh-datalist-h *.sc-stzh-datalist::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-datalist-h .sc-stzh-datalist-s>stzh-details,.stzh-datalist.sc-stzh-datalist stzh-details.sc-stzh-datalist{--content-grid-column:1 / 5;--content-padding:var(--stzh-space-large) 0 var(--stzh-space-xlarge);--content-border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.sc-stzh-datalist-h .sc-stzh-datalist-s>stzh-details,.stzh-datalist.sc-stzh-datalist stzh-details.sc-stzh-datalist{--content-padding:var(--stzh-space-large) 0 var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-datalist-h .sc-stzh-datalist-s>stzh-details,.stzh-datalist.sc-stzh-datalist stzh-details.sc-stzh-datalist{--content-padding:var(--stzh-space-large) 0 var(--stzh-space-xxxlarge)}}.stzh-datalist__list.sc-stzh-datalist{width:100%}.stzh-datalist--has-hidden-border.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{margin-top:calc(var(--stzh-space-xsmall) / -2);margin-bottom:calc(var(--stzh-space-xsmall) / -2)}.stzh-datalist--direction-horizontal.sc-stzh-datalist .stzh-datalist__list.sc-stzh-datalist{width:100%;display:grid;border-collapse:collapse;grid-template-columns:auto minmax(auto, 1fr) auto auto;-ms-flex-align:stretch;align-items:stretch}";const r=class{constructor(s){t(this,s),this.stzhItemActionClick=i(this,"stzhItemActionClick",7),this.actionClick=t=>{this.stzhItemActionClick.emit({component:"stzh-datalist-item",originalEvent:t})},this.handleDirectionChange=t=>{this.direction=t.detail.value},this.handleHideBorderChange=t=>{this.hideBorder=t.detail.value},this.direction="vertical",this.href=void 0,this.rel=void 0,this.target=void 0,this.download=void 0,this.icon=void 0,this.label=void 0,this.value=void 0,this.meta=void 0,this.hideBorder=!1,this.a11yExpanded=void 0,this.a11yControls=void 0}renderInner(t){const i=t?"button":this.href?"a":"div";return s(h,null,s(i,{"aria-hidden":"true",tabindex:"-1",class:"stzh-datalist-item__label",href:this.href,rel:this.rel,target:this.target,download:this.download},this.label),s(i,{class:"stzh-datalist-item__value",href:this.href,rel:this.rel,target:this.target,download:this.download,"aria-label":`${this.label}, ${this.value}, ${this.meta}`,"aria-controls":this.a11yControls,"aria-expanded":void 0!==this.a11yExpanded?this.a11yExpanded?"true":"false":null},this.value),s(i,{"aria-hidden":"true",tabindex:"-1",class:"stzh-datalist-item__meta",href:this.href,rel:this.rel,target:this.target,download:this.download},this.meta))}async connectedCallback(){this.datalist=this.element.closest("stzh-datalist"),this.datalist&&(this.direction=this.datalist.currentDirection,this.hideBorder=this.datalist.hideBorder,this.datalist.addEventListener("stzhDirectionChange",this.handleDirectionChange),this.datalist.addEventListener("stzhHideBorderChange",this.handleHideBorderChange))}disconnectedCallback(){this.datalist&&(this.datalist.removeEventListener("stzhDirectionChange",this.handleDirectionChange),this.datalist.removeEventListener("stzhHideBorderChange",this.handleHideBorderChange),this.datalist=null)}render(){const t=void 0!==this.a11yExpanded||void 0!==this.a11yControls,i=t?"button":!this.href&&this.icon?"div":"a";return s(a,{role:"listitem"},s("div",{class:{"stzh-datalist-item":!0,"stzh-datalist-item--is-interactive":!!this.href||t,"stzh-datalist-item--is-link":!!this.href,"stzh-datalist-item--is-button":t,"stzh-datalist-item--is-expanded":this.a11yExpanded,"stzh-datalist-item--has-hidden-border":this.hideBorder,[`stzh-datalist-item--direction-${this.direction}`]:!!this.direction}},"horizontal"===this.direction?this.renderInner(t):s("div",{class:"stzh-datalist-item__wrapper"},this.renderInner(t)),s(i,{"aria-hidden":"true",tabindex:"-1",class:"stzh-datalist-item__action-list",href:this.href,rel:this.rel,target:this.target,download:this.download},this.href&&(this.download?s("stzh-icon",{class:"stzh-datalist-item__icon",name:this.icon?this.icon:"download"}):s(h,null,s("stzh-icon",{class:"stzh-datalist-item__icon is-internal",name:this.icon?this.icon:"arrow-right"}),s("stzh-icon",{class:"stzh-datalist-item__icon is-external",name:this.icon?this.icon:"external-link"}))),t&&s(h,null,s("stzh-icon",{class:"stzh-datalist-item__icon is-closed",name:this.icon?this.icon:"plus"}),s("stzh-icon",{class:"stzh-datalist-item__icon is-open",name:this.icon?this.icon:"minus"})),!this.href&&this.icon&&s("stzh-button",{class:"stzh-datalist-item__action",variant:"tertiary",size:"tiny","aria-label":this.value,iconOnly:!0,icon:this.icon,onClick:this.actionClick}))),s("div",{class:"stzh-datalist-item__nested"},s("div",{class:"stzh-datalist-item__nested-inner"},s("slot",null))))}get element(){return e(this)}};r.style='.sc-stzh-datalist-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-datalist-item-h{display:none}.sc-stzh-datalist-item-h *.sc-stzh-datalist-item,.sc-stzh-datalist-item-h *.sc-stzh-datalist-item::before,.sc-stzh-datalist-item-h *.sc-stzh-datalist-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-datalist-item-h{--font-family:var(--stzh-font-family-regular);--font-weight:var( --stzh-font-weight-regular);--color:inherit;--action-display:block;display:contents}[href].sc-stzh-datalist-item-h:not([href=""]),[a11y-expanded].sc-stzh-datalist-item-h,[a11y-controls].sc-stzh-datalist-item-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[direction=horizontal].sc-stzh-datalist-item-h{--action-display:flex}.sc-stzh-datalist-item-h .sc-stzh-datalist-item-s>stzh-datalist{margin-left:var(--stzh-space-large)}.stzh-datalist-item.sc-stzh-datalist-item{position:relative;text-decoration:none}.stzh-datalist-item__wrapper.sc-stzh-datalist-item{-ms-flex-positive:1;flex-grow:1}.stzh-datalist-item__value.sc-stzh-datalist-item{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);font-family:var(--font-family);font-weight:var(--font-weight)}@media screen and (min-width: 1024px){.stzh-datalist-item__value.sc-stzh-datalist-item{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-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item__meta.sc-stzh-datalist-item,.stzh-datalist-item__action-list.sc-stzh-datalist-item{display:block;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:none;padding:0;text-decoration:none}.stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item__icon.sc-stzh-datalist-item{color:var(--color)}.stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item__meta.sc-stzh-datalist-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 1024px){.stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item__meta.sc-stzh-datalist-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-datalist-item__label.sc-stzh-datalist-item{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;color:var(--stzh-base-lead-color)}.stzh-datalist-item__action-list.sc-stzh-datalist-item{display:var(--action-display);text-align:center}.stzh-datalist-item__action-list.sc-stzh-datalist-item:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist-item__action[variant=tertiary].sc-stzh-datalist-item{--color:inherit}.stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item__icon.sc-stzh-datalist-item{-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-datalist-item__interactive.sc-stzh-datalist-item{position:absolute;top:0;left:0}.stzh-datalist-item--is-button.sc-stzh-datalist-item .stzh-datalist-item__icon.is-open.sc-stzh-datalist-item{display:none}.stzh-datalist-item--is-button.stzh-datalist-item--is-expanded.sc-stzh-datalist-item .stzh-datalist-item__icon.is-closed.sc-stzh-datalist-item{display:none}.stzh-datalist-item--is-button.stzh-datalist-item--is-expanded.sc-stzh-datalist-item .stzh-datalist-item__icon.is-open.sc-stzh-datalist-item{display:-ms-inline-flexbox;display:inline-flex}.stzh-datalist-item--is-link.sc-stzh-datalist-item .stzh-datalist-item__icon.is-external.sc-stzh-datalist-item{display:none}.stzh-datalist-item--is-link.sc-stzh-datalist-item .stzh-datalist-item__action-list[rel*=external].sc-stzh-datalist-item .stzh-datalist-item__icon.is-internal.sc-stzh-datalist-item{display:none}.stzh-datalist-item--is-link.sc-stzh-datalist-item .stzh-datalist-item__action-list[rel*=external].sc-stzh-datalist-item .stzh-datalist-item__icon.is-external.sc-stzh-datalist-item{display:-ms-inline-flexbox;display:inline-flex}.stzh-datalist-item--is-interactive.sc-stzh-datalist-item:hover .stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item--is-interactive.sc-stzh-datalist-item:hover .stzh-datalist-item__icon.sc-stzh-datalist-item{color:var(--hover-color)}.stzh-datalist-item--is-interactive.sc-stzh-datalist-item:hover .stzh-datalist-item__value.sc-stzh-datalist-item{text-decoration:underline}.stzh-datalist-item--direction-vertical.sc-stzh-datalist-item{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist-item--direction-vertical.stzh-datalist-item--has-hidden-border.sc-stzh-datalist-item{padding-top:calc(var(--stzh-space-xsmall) / 2);padding-bottom:calc(var(--stzh-space-xsmall) / 2)}.stzh-datalist-item--direction-vertical.sc-stzh-datalist-item:not(.stzh-datalist-item--has-hidden-border){border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item{display:contents}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item+.stzh-datalist-item__nested.sc-stzh-datalist-item{display:contents}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item+.stzh-datalist-item__nested.sc-stzh-datalist-item .stzh-datalist-item__nested-inner.sc-stzh-datalist-item{grid-column:1/5}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__meta.sc-stzh-datalist-item{display:-ms-flexbox;display:flex;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__meta.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__action-list.sc-stzh-datalist-item{-ms-flex-align:center;align-items:center}.stzh-datalist-item--direction-horizontal.stzh-datalist-item--has-hidden-border.sc-stzh-datalist-item .stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.stzh-datalist-item--has-hidden-border.sc-stzh-datalist-item .stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.stzh-datalist-item--has-hidden-border.sc-stzh-datalist-item .stzh-datalist-item__meta.sc-stzh-datalist-item{padding-top:calc(var(--stzh-space-xsmall) / 2);padding-bottom:calc(var(--stzh-space-xsmall) / 2)}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item:not(.stzh-datalist-item--has-hidden-border) .stzh-datalist-item__label.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item:not(.stzh-datalist-item--has-hidden-border) .stzh-datalist-item__value.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item:not(.stzh-datalist-item--has-hidden-border) .stzh-datalist-item__meta.sc-stzh-datalist-item,.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item:not(.stzh-datalist-item--has-hidden-border) .stzh-datalist-item__action-list.sc-stzh-datalist-item{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__label.sc-stzh-datalist-item:not(:empty){padding-right:var(--stzh-space-xsmall)}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__meta.sc-stzh-datalist-item:not(:empty){padding-left:var(--stzh-space-xsmall)}.stzh-datalist-item--direction-horizontal.sc-stzh-datalist-item .stzh-datalist-item__action-list.sc-stzh-datalist-item{-ms-flex-pack:center;justify-content:center}';export{o as stzh_datalist,r as stzh_datalist_item}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,g as o}from"./p-9a5ebb1f.js";import{h as r}from"./p-86a29c35.js";import{f as g}from"./p-25a09313.js";import{S as l}from"./p-df5f49b4.js";let h=0;const i=class{constructor(e){t(this,e),this.stzhChange=s(this,"stzhChange",7),this.stzhFocus=s(this,"stzhFocus",7),this.stzhBlur=s(this,"stzhBlur",7),this.onInput=t=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-toggle",originalEvent:t,value:this.value,checked:this.checked})},this.onFocus=t=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-toggle",originalEvent:t})},this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-toggle",originalEvent:t})},this.localization=void 0,this.disabled=!1,this.name="",this.value="",this.invalid=!1,this.required=!1,this.showMarker=!1,this.checked=!1,this.label="",this.labelPosition="right",this.description=void 0,this.descriptionLong=void 0,this.error=void 0,this.a11yDescribedby=""}async setFocus(){this.input.focus()}errorWatcher(t){if("string"==typeof t)try{this._error=JSON.parse(t)}catch(s){this._error=t?[t]:[]}else this._error=t||[];this.invalid=this._error.length>0}async componentWillLoad(){this.inputId="stzh-toggle-"+h++,this.errorWatcher(this.error),this.localization||(this.localization=await g(this.element,"toggle"))}render(){const t=r(this.element,"description")||!!this.description,s=r(this.element,"description-long")||!!this.descriptionLong,o=r(this.element,"error")||!!this.error;return e("div",{class:{"stzh-toggle":!0,"stzh-toggle--has-error":o,"stzh-toggle--is-required":this.required,"stzh-toggle--is-invalid":this.invalid,"stzh-toggle--is-disabled":this.disabled,"stzh-toggle--has-description":t,"stzh-toggle--has-description-long":s,[`stzh-toggle--has-label-${this.labelPosition}`]:!!this.labelPosition}},e("label",{class:"stzh-toggle__field-wrapper"},e("input",{class:"stzh-toggle__input",ref:t=>this.input=t,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{class:"stzh-toggle__mark"},e("div",{class:"stzh-toggle__check"})),e("div",{class:"stzh-toggle__label"},this.label?this.label:e("slot",null),this.showMarker&&e("span",{class:"stzh-toggle__marker"},e("span",{class:"stzh-toggle__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-toggle__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(l,{classPrefix:"stzh-toggle",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};i.style=".sc-stzh-toggle-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-toggle-h{display:none}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-toggle-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-toggle-h .sc-stzh-toggle-s>stzh-text{--color:inherit}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-toggle__marker-text.sc-stzh-toggle{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-toggle__description-wrapper.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-toggle__description-long.sc-stzh-toggle{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-popover[open].sc-stzh-toggle:not([open=false]) .stzh-toggle__description-long-button.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle__description-long-button.sc-stzh-toggle{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-toggle__description-long-button.sc-stzh-toggle:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-toggle__input.sc-stzh-toggle{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black8);width:2.75rem;height:1rem;-ms-flex-negative:0;flex-shrink:0;border-radius:0.75rem;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:1.5rem;height:1.5rem;border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;-webkit-transform:translate(0, -50%);transform:translate(0, -50%);-webkit-transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, -webkit-transform;transition-property:border-color, background-color, transform;transition-property:border-color, background-color, transform, -webkit-transform;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);line-height:1.5rem}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-primary48)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey61)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-grey13)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black8)}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-grey25);border-color:var(--stzh-color-grey25)}";export{i as stzh_toggle}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,n,s){function i(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function o(t){try{p(s.next(t))}catch(e){a(e)}}function r(t){try{p(s["throw"](t))}catch(e){a(e)}}function p(t){t.done?n(t.value):i(t.value).then(o,r)}p((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,i,a,o;return o={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(t){return function(e){return p([t,e])}}function p(o){if(s)throw new TypeError("Generator is already executing.");while(n)try{if(s=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;i=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){n.label=o[1];break}if(o[0]===6&&n.label<a[1]){n.label=a[1];a=o;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(o);break}if(a[2])n.ops.pop();n.trys.pop();continue}o=e.call(t,n)}catch(r){o=[6,r];i=0}finally{s=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-a408bfba.system.js","./p-11816251.system.js","./p-309d2b66.system.js"],(function(t){"use strict";var e,n,s,i,a,o,r,p,h,l;return{setters:[function(t){e=t.r;n=t.c;s=t.h;i=t.a;a=t.g},function(t){o=t.f;r=t.t},function(t){p=t.p;h=t.a},function(t){l=t.c}],execute:function(){var c=".sc-stzh-appointments-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-appointments-h{display:none}.sc-stzh-appointments-h *.sc-stzh-appointments,.sc-stzh-appointments-h *.sc-stzh-appointments::before,.sc-stzh-appointments-h *.sc-stzh-appointments::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-appointments__wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row}}.stzh-appointments__calendar-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 1024px){.stzh-appointments__calendar-wrapper.sc-stzh-appointments{margin-right:var(--stzh-space-large)}}.stzh-appointments__appointments-wrapper.sc-stzh-appointments{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-title-wrapper.sc-stzh-appointments,.stzh-appointments__appointments-title-wrapper.sc-stzh-appointments{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);height:var(--stzh-space-xxlarge)}}.stzh-appointments__calendar-title.sc-stzh-appointments,.stzh-appointments__appointments-title.sc-stzh-appointments{display:-ms-flexbox;display:flex}.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{margin-right:var(--stzh-space-xsmall);display:none}@media screen and (min-width: 1024px){.stzh-appointments__calendar-icon.sc-stzh-appointments,.stzh-appointments__appointments-icon.sc-stzh-appointments{display:-ms-inline-flexbox;display:inline-flex}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments,.stzh-appointments__appointments-content.sc-stzh-appointments{background-color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-grey13);border-radius:0.125rem}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content.sc-stzh-appointments{display:none}}.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:none;padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-appointments__calendar-content-medium.sc-stzh-appointments{display:block}}.stzh-appointments__appointments-content.sc-stzh-appointments{padding:var(--stzh-space-xlarge);-ms-flex-positive:1;flex-grow:1}.stzh-appointments__more-link.sc-stzh-appointments{margin-top:var(--stzh-space-medium)}.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:var(--stzh-space-large)}@media screen and (min-width: 1024px){.stzh-appointments--has-calendar.sc-stzh-appointments .stzh-appointments__appointments-wrapper.sc-stzh-appointments{margin-top:0}}";var m=t("stzh_appointments",function(){function t(t){var s=this;e(this,t);this.stzhChange=n(this,"stzhChange",7);this.showMoreLink=false;this.moreItemsLeft=0;this.showCalendar=false;this.showSort=false;this.showSortStart=false;this.showSortPlace=false;this.showAppointmentsTitle=false;this.allAppointsmentOnSameDay=true;this.sortOptions=[];this.isDateDisabled=function(t){var e=!!s._appointments.find((function(e){return e.start.getFullYear()===t.getFullYear()&&e.start.getMonth()===t.getMonth()&&e.start.getDate()===t.getDate()}));return!e};this.onNextActiveDateClick=function(){return __awaiter(s,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!this.nextDate)return[3,2];this.currentDate=this.nextDate;return[4,this.datepickerElement.getPopover()];case 1:t=e.sent();if(t){t.hide()}e.label=2;case 2:return[2]}}))}))};this.onMoreClick=function(){s.showItems=s.stepItems+s.showItems;var t=s.inputElement.querySelector("stzh-radio");t.setFocus()};this.onDropdownChange=function(t){return __awaiter(s,void 0,void 0,(function(){var e,n;return __generator(this,(function(s){switch(s.label){case 0:e=t.target;return[4,e.getValue()];case 1:n=s.sent();if(n){this.sortBy=n}return[2]}}))}))};this.onDatepickerChange=function(t){if(t.detail.component!=="stzh-datepicker"||!t.detail.valueAsDate){return}s.currentDate=t.detail.valueAsDate;s.showItems=s.stepItems};this.onRadioChange=function(t){s.value=t.detail.value;s.stzhChange.emit({component:"stzh-appointments",value:s.value})};this.localization=undefined;this.sortBy="start";this.appointments=[];this.currentDate=undefined;this.value="";this.name="appointment";this.showItems=5;this.stepItems=5;this.calendarTitle="";this.appointmentsTitle="";this.dateAdapter=undefined}t.prototype.currentDateWatcher=function(t){if(!t){this._currentDate=this.dateByValue||this.earliestDate;if(!this.dateByValue){this.setValueToFirstAppointmentOfCurrentDate()}}else if(typeof t==="string"){this._currentDate=p(t);this.setValueToFirstAppointmentOfCurrentDate()}else{this._currentDate=t;this.setValueToFirstAppointmentOfCurrentDate()}};t.prototype.sortByWatcher=function(){this.setValueToFirstAppointmentOfCurrentDate()};t.prototype.valueWatcher=function(){this.updateDateByValue();this.currentDateWatcher(this.currentDate)};t.prototype.appointmentsWatcher=function(t){if(typeof t==="string"){this._appointments=JSON.parse(t)}else{this._appointments=t}this._appointments.forEach((function(t){t.start=new Date(t.start);t.end=new Date(t.end)}));if(this._appointments.length>0){this._appointments.sort((function(t,e){return t["start"]>e["start"]?1:-1}));this.earliestDate=this._appointments[0].start;this.latestDate=this._appointments[this._appointments.length-1].start;this.updateDateByValue()}if(this._appointments.length>1){var e=this._appointments[0].start;this.allAppointsmentOnSameDay=this._appointments.map((function(t){return t.start})).every((function(t){return"".concat(t.getFullYear(),"-").concat(t.getMonth(),"-").concat(t.getDate())==="".concat(e.getFullYear(),"-").concat(e.getMonth(),"-").concat(e.getDate())}))}this.showCalendar=!this.allAppointsmentOnSameDay;this.showAppointmentsTitle=this._appointments.length>1;this.currentDateWatcher(this.currentDate)};t.prototype.updateDateByValue=function(){var t=this;this.dateByValue=this.value&&this._appointments.find((function(e){return e.value===t.value})).start};t.prototype.getCurrentDateAppointments=function(){var t=this;var e=0;var n=this._appointments.filter((function(n,s){var i=n.start.getFullYear()===t._currentDate.getFullYear()&&n.start.getMonth()===t._currentDate.getMonth()&&n.start.getDate()===t._currentDate.getDate();if(i){e=s}return i}));if(this._appointments[e+1]){this.nextDate=this._appointments[e+1].start}else{this.nextDate=null}n.sort((function(e,n){return e[t.sortBy]>n[t.sortBy]?1:-1}));return n};t.prototype.setValueToFirstAppointmentOfCurrentDate=function(){var t=this.getCurrentDateAppointments().filter((function(t){return!t.disabled}));if(t.length>0){this.value=t[0].value;this.stzhChange.emit({component:"stzh-appointments",value:this.value})}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.appointmentsWatcher(this.appointments);if(!!this.localization)return[3,2];t=this;return[4,o(this.element,"appointments")];case 1:t.localization=e.sent();e.label=2;case 2:if(!this.dateAdapter){this.dateAdapter=l(this.localization.$formats,this.localization.$globals)}return[2]}}))}))};t.prototype.componentWillRender=function(){var t=this;var e=this.getCurrentDateAppointments();this.appointmentsShown=e.slice(0,this.showItems);this.showMoreLink=this.showItems<e.length;this.moreItemsLeft=e.length-this.showItems;this.showSortStart=e.map((function(e){return t.dateAdapter.format(e.start,"time")})).filter((function(t,e,n){return n.indexOf(t)==e})).length>1;this.showSortPlace=e.map((function(t){return t.place})).filter((function(t,e,n){return n.indexOf(t)==e})).length>1;this.sortOptions=[];if(this.showSortStart){this.sortOptions.push({text:this.localization.sortByTime,value:"start"})}if(this.showSortPlace){this.sortOptions.push({text:this.localization.sortByPlace,value:"place"})}this.showSort=this.appointmentsShown.length>1;this._sortBy=this.showSortStart&&!this.showSortPlace&&"start"||!this.showSortStart&&this.showSortPlace&&"place"||this.sortBy};t.prototype.componentDidRender=function(){if(this.datepickerElement){this.datepickerElement.setDate(this._currentDate)}if(this.datepickerElementMedium){this.datepickerElementMedium.setDate(this._currentDate)}};t.prototype.render=function(){var t=this;var e={"stzh-appointments":true,"stzh-appointments--has-calendar":this.showCalendar,"stzh-appointments--has-appointments-title":this.showAppointmentsTitle,"stzh-appointments--has-sort":this.showSort};return s(i,null,s("div",{class:e},s("div",{class:"stzh-appointments__wrapper"},this.showCalendar&&s("div",{class:"stzh-appointments__calendar-wrapper"},s("div",{class:"stzh-appointments__calendar-title-wrapper"},s("div",{class:"stzh-appointments__calendar-title"},s("stzh-icon",{class:"stzh-appointments__calendar-icon",name:"calendar"}),s("stzh-text",{font:"heavy"},this.calendarTitle||this.localization.calendarTitle))),s("div",{class:"stzh-appointments__calendar-content"},s("stzh-datepicker",{ref:function(e){return t.datepickerElement=e},onStzhChange:this.onDatepickerChange,label:this.localization.datepickerLabel,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},s("stzh-link",{slot:"action",disabled:!this.nextDate,onClick:this.onNextActiveDateClick},s("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments)))),s("div",{class:"stzh-appointments__calendar-content-medium"},s("stzh-datepicker",{ref:function(e){return t.datepickerElementMedium=e},onStzhChange:this.onDatepickerChange,inline:true,calendarIsDateDisabled:this.isDateDisabled,calendarMin:h(this.earliestDate),calendarMax:h(this.latestDate)},this.nextDate&&s("stzh-link",{slot:"action",onClick:this.onNextActiveDateClick},s("stzh-text",{size:"milli"},this.localization.nextDayWithAppointments))))),s("div",{class:"stzh-appointments__appointments-wrapper"},this.showAppointmentsTitle&&s("div",{class:"stzh-appointments__appointments-title-wrapper"},s("div",{class:"stzh-appointments__appointments-title"},s("stzh-icon",{class:"stzh-appointments__appointments-icon",name:"clock"}),s("stzh-text",{font:"heavy"},this.appointmentsTitle||this.localization.appointmentsTitle)),this.showSort&&s("div",{class:"stzh-appointments__sort"},s("stzh-dropdown",{inline:true,"no-search":true,class:"stzh-appointments__sort-dropdown",variant:"plain",size:"small",items:[this._sortBy],options:this.sortOptions,onStzhChange:this.onDropdownChange}))),s("div",{class:"stzh-appointments__appointments-content"},s("stzh-radiogroup",{ref:function(e){return t.inputElement=e},legend:this.localization.inputLegend,"hide-legend":true,name:this.name,value:this.value,preventUpdateProperties:["disabled"]},this.appointmentsShown.map((function(e){return s("stzh-radio",{onStzhChange:t.onRadioChange,value:e.value,disabled:typeof e.disabled!=="undefined"?e.disabled:false},s("stzh-text",{font:"heavy",size:"milli"},!t.showCalendar&&s("span",null,t.dateAdapter.format(e.start),", "),t.dateAdapter.format(e.start,"time"),s("span",{innerHTML:t.localization.$formats.timeRange}),t.dateAdapter.format(e.end,"time"),s("span",{innerHTML:t.localization.$formats.timePostfix})),s("stzh-text",{size:"milli"},e.caption))}))),this.showMoreLink&&s("stzh-link",{class:"stzh-appointments__more-link",onClick:this.onMoreClick},s("stzh-text",{size:"milli"},r(this.localization.moreTextItems,this.moreItemsLeft>this.stepItems?this.stepItems:this.moreItemsLeft))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{currentDate:["currentDateWatcher"],sortBy:["sortByWatcher"],value:["valueWatcher"],appointments:["appointmentsWatcher"]}},enumerable:false,configurable:true});return t}());m.style=c}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,n){function s(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,o){function i(t){try{c(n.next(t))}catch(e){o(e)}}function a(t){try{c(n["throw"](t))}catch(e){o(e)}}function c(t){t.done?r(t.value):s(t.value).then(i,a)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,s,o,i;return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(t){return function(e){return c([t,e])}}function c(i){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,s&&(o=i[0]&2?s["return"]:i[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,i[1])).done)return o;if(s=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:r.label++;return{value:i[1],done:false};case 5:r.label++;s=i[1];i=[0];continue;case 7:i=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){r=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){r.label=i[1];break}if(i[0]===6&&r.label<o[1]){r.label=o[1];o=i;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(i);break}if(o[2])r.ops.pop();r.trys.pop();continue}i=e.call(t,r)}catch(a){i=[6,a];s=0}finally{n=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var e,r,n,s,o;return{setters:[function(t){e=t.r;r=t.h;n=t.a;s=t.g},function(t){o=t.f}],execute:function(){var i=".sc-stzh-share-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-share-h{display:none}.sc-stzh-share-h *.sc-stzh-share,.sc-stzh-share-h *.sc-stzh-share::before,.sc-stzh-share-h *.sc-stzh-share::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-share__list.sc-stzh-share{list-style:none;margin:0;padding:0;display:-ms-flexbox;display:flex}.stzh-share__item.sc-stzh-share:not(:last-child){margin-right:var(--stzh-space-small)}.stzh-share__icon.sc-stzh-share{--size:var(--stzh-icon-size-xsmall)}.stzh-share__button.sc-stzh-share{color:var(--stzh-color-white);border-radius:var(--stzh-button-border-radius);display:grid;place-items:center;width:2.875rem;height:1.625rem}.stzh-share__button.is-facebook.sc-stzh-share{background-color:#3b5998}.stzh-share__button.is-facebook.sc-stzh-share:hover{background-color:#23355B}.stzh-share__button.is-twitter.sc-stzh-share{background-color:#1da1f2}.stzh-share__button.is-twitter.sc-stzh-share:hover{background-color:#116091}.stzh-share__button.is-linkedin.sc-stzh-share{background-color:#1485BD}.stzh-share__button.is-linkedin.sc-stzh-share:hover{background-color:#0C4F71}.stzh-share__button.is-xing.sc-stzh-share{background-color:#0E7574}.stzh-share__button.is-xing.sc-stzh-share:hover{background-color:#084645}.stzh-share__button.is-mail.sc-stzh-share{background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-share__button.is-mail.sc-stzh-share:hover{background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}";var a=function(t,e){if(t.length<=e){return t}var r=t.substring(0,e-1).lastIndexOf(" ");if(r){return t.substring(0,r)+"…"}else{return t.substring(0,e-1)}};var c=function(t){var e=document.querySelector('meta[name="'.concat(t,'"],[property="').concat(t,'"]'));return e?e.getAttribute("content"):""};var l=t("stzh_share",function(){function t(t){e(this,t);this._services=[];this.openPopup=function(t,e){e.preventDefault();window.open(t,"_blank","width=600,height=460")};this.localization=undefined;this.url=window.location.href;this.services=["facebook","twitter","linkedin","xing","mail"]}t.prototype.servicesWatcher=function(t){if(typeof t==="string"){this._services=JSON.parse(t)}else{this._services=t}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.servicesWatcher(this.services);if(!!this.localization)return[3,2];t=this;return[4,o(this.element,"share")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t=this;var e;var s={"stzh-share":true};var o=encodeURIComponent(this.url);var i=encodeURIComponent(this.localization.mailSubject);var l=encodeURIComponent((e=this.localization.mailBody)===null||e===void 0?void 0:e.replace(/\{shareUrl\}/gi,this.url));var h=encodeURIComponent(document.title);var u=encodeURIComponent(c("description"));var b=256;var f={facebook:{popup:true,blank:true,url:"https://www.facebook.com/sharer/sharer.php?u=".concat(o),text:this.localization.shareFacebook,icon:"facebook-filled"},twitter:{popup:true,blank:true,url:"https://twitter.com/intent/tweet?text=".concat(a(h,b),"&url=").concat(o),text:this.localization.shareTwitter,icon:"twitter-filled"},linkedin:{popup:true,blank:true,url:"https://www.linkedin.com/shareArticle?mini=true&summary=".concat(u,"&title=").concat(h,"&url=").concat(o),text:this.localization.shareLinkedin,icon:"linkedin-filled"},xing:{popup:true,blank:true,url:"https://www.xing.com/spi/shares/new?url=".concat(o),text:this.localization.shareXing,icon:"xing-filled"},mail:{popup:false,blank:false,url:"mailto:?subject=".concat(i,"&body=").concat(l),text:this.localization.shareMail,icon:"mail-filled"}};return r(n,null,r("div",{class:s},r("ul",{class:"stzh-share__list"},this._services.map((function(e){return r("li",{class:"stzh-share__item"},r("stzh-tooltip",{content:f[e].text},r("a",{class:"stzh-share__button is-".concat(e),href:f[e].url,"aria-label":f[e].text,rel:f[e].blank?"nofollow noopener noreferrer":"nofollow",target:f[e].blank?"_blank":"_self",onClick:f[e].popup?function(r){return t.openPopup(f[e].url,r)}:null},r("stzh-icon",{class:"stzh-share__icon",name:f[e].icon}))))})))))};Object.defineProperty(t.prototype,"element",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{services:["servicesWatcher"]}},enumerable:false,configurable:true});return t}());l.style=i}}}));
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,e,n){function s(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,a){function o(t){try{r(n.next(t))}catch(i){a(i)}}function c(t){try{r(n["throw"](t))}catch(i){a(i)}}function r(t){t.done?e(t.value):s(t.value).then(o,c)}r((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,s,a,o;return o={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function c(t){return function(i){return r([t,i])}}function r(o){if(n)throw new TypeError("Generator is already executing.");while(e)try{if(n=1,s&&(a=o[0]&2?s["return"]:o[0]?s["throw"]||((a=s["return"])&&a.call(s),0):s.next)&&!(a=a.call(s,o[1])).done)return a;if(s=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;s=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(a=e.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){e.label=o[1];break}if(o[0]===6&&e.label<a[1]){e.label=a[1];a=o;break}if(a&&e.label<a[2]){e.label=a[2];e.ops.push(o);break}if(a[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(c){o=[6,c];s=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-a408bfba.system.js","./p-176db2fe.system.js"],(function(t){"use strict";var i,e,n,s,a,o,c;return{setters:[function(t){i=t.r;e=t.c;n=t.h;s=t.a;a=t.g},function(t){o=t.f},function(t){c=t.m}],execute:function(){var r=".sc-stzh-actionset-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-actionset-h{display:none}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-actionset__actions.sc-stzh-actionset{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto;opacity:1}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover.sc-stzh-actionset{display:none}}";var l=t("stzh_actionset",function(){function t(t){var n=this;i(this,t);this.stzhActionClick=e(this,"stzhActionClick",7);this._actions=[];this.actionClick=function(t,i){n.stzhActionClick.emit({component:"stzh-actionset",action:t,originalEvent:i})};this.update=function(){n.isSmall=c("small").matches;n.isMedium=c("medium").matches;if(!n.actionsElement){return}Object.assign(n.actionsElement.style,{width:null,height:null});var t=0;if(n.variant==="overflow"&&n.isMedium||n.variant==="stack"&&n.isSmall){n.dynamicActions=true;var i=0;var e=0;Array.from(n.actionsElement.children).forEach((function(n){if(n.offsetTop===0){t++;var s=getComputedStyle(n);var a=parseInt(s.marginLeft);var o=parseInt(s.marginRight);var c=parseInt(s.marginTop);var r=parseInt(s.marginBottom);var l=n.offsetWidth+a+o;var h=n.offsetHeight+c+r;if(i<h){i=h}e=e+l}}));Object.assign(n.actionsElement.style,{width:"".concat(e+1,"px"),height:"".concat(i,"px")})}else{n.dynamicActions=false;if(n.variant==="overflow"){t=0}else if(n.variant==="stack"){t=n._actions.length<=3?n._actions.length:2}}n.actionsCollapsed=n._actions.slice(t)};this.localization=undefined;this.variant="stack";this.popoverButtonVariant="";this.popoverButtonSize="";this.popoverPlacement="bottom-end";this.actions=[];this.actionsCollapsed=[];this.dynamicActions=undefined;this.isSmall=undefined;this.isMedium=undefined}t.prototype.actionsWatcher=function(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}};t.prototype.handleResize=function(){if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.update)};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(i){switch(i.label){case 0:this.actionsWatcher(this.actions);if(!!this.localization)return[3,2];t=this;return[4,o(this.element,"actionset")];case 1:t.localization=i.sent();i.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.update()};t.prototype.render=function(){var t;var i=this;var e=(t={"stzh-actionset":true,"stzh-actionset--has-collapsed-items":this.actionsCollapsed.length>0},t["stzh-actionset--".concat(this.variant)]=!!this.variant,t);var a=function(t){return n("stzh-button",{class:{"stzh-actionset__action":true,"is-button":true},role:"listitem",icon:t.icon,iconPosition:t.iconPosition,iconOnly:t.iconOnly,badge:t.badge,variant:t.variant?t.variant:i.variant==="stack"?"secondary":"tertiary",size:t.size?t.size:i.variant==="stack"?"default":"tiny",badgePosition:"icon",onClick:function(e){i.actionClick(t,e)}},n("span",{class:{}},t.label))};return n(s,{"has-collapsed-items":this.actionsCollapsed.length>0},n("div",{class:e},n("div",{class:"stzh-actionset__actions",role:"list"},n("div",{ref:function(t){return i.actionsElement=t},class:"stzh-actionset__actions-wrapper"},this._actions.map((function(t){return(i.dynamicActions||!i.dynamicActions&&i.actionsCollapsed.indexOf(t)===-1)&&(t.tooltipContent?n("stzh-tooltip",{strategy:"fixed",content:t.tooltipContent},a(t)):a(t))}))),n("stzh-popover",{label:this.variant==="stack"?this.localization.furtherActions:!this.isMedium?this.localization.actions:"",strategy:"fixed",placement:this.popoverPlacement,class:"stzh-actionset__action-popover"},n("stzh-button",{fullwidth:true,disabled:this.actionsCollapsed.length===0,class:"stzh-actionset__action is-further",variant:this.popoverButtonVariant!==""?this.popoverButtonVariant:this.variant==="stack"?"secondary":"tertiary",size:this.popoverButtonSize!==""?this.popoverButtonSize:this.variant==="stack"?"default":"tiny",icon:this.variant==="stack"?"angle-down":"more-vertical",iconOnly:this.variant==="overflow"&&this.isMedium,iconPosition:"right",label:this.variant==="stack"?this.localization.furtherActions:!this.isMedium?this.localization.actions:""}),n("stzh-menu",{slot:"content"},this.actionsCollapsed.map((function(t){return n("stzh-menu-item",{icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,onClick:function(e){i.actionClick(t,e)}},t.label)})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{actions:["actionsWatcher"]}},enumerable:false,configurable:true});return t}());l.style=r}}}));
@@ -1,9 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,s){function n(t){try{h(r.next(t))}catch(e){s(e)}}function o(t){try{h(r["throw"](t))}catch(e){s(e)}}function h(t){t.done?a(t.value):i(t.value).then(n,o)}h((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,i,s,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(t){return function(e){return h([t,e])}}function h(n){if(r)throw new TypeError("Generator is already executing.");while(a)try{if(r=1,i&&(s=n[0]&2?i["return"]:n[0]?i["throw"]||((s=i["return"])&&s.call(i),0):i.next)&&!(s=s.call(i,n[1])).done)return s;if(i=0,s)n=[n[0]&2,s.value];switch(n[0]){case 0:case 1:s=n;break;case 4:a.label++;return{value:n[1],done:false};case 5:a.label++;i=n[1];n=[0];continue;case 7:n=a.ops.pop();a.trys.pop();continue;default:if(!(s=a.trys,s=s.length>0&&s[s.length-1])&&(n[0]===6||n[0]===2)){a=0;continue}if(n[0]===3&&(!s||n[1]>s[0]&&n[1]<s[3])){a.label=n[1];break}if(n[0]===6&&a.label<s[1]){a.label=s[1];s=n;break}if(s&&a.label<s[2]){a.label=s[2];a.ops.push(n);break}if(s[2])a.ops.pop();a.trys.pop();continue}n=e.call(t,a)}catch(o){n=[6,o];i=0}finally{r=s=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,a){if(a||arguments.length===2)for(var r=0,i=e.length,s;r<i;r++){if(s||!(r in e)){if(!s)s=Array.prototype.slice.call(e,0,r);s[r]=e[r]}}return t.concat(s||Array.prototype.slice.call(e))};System.register(["./p-dbdc01c7.system.js","./p-9c90535a.system.js","./p-a408bfba.system.js"],(function(exports){"use strict";var registerInstance,h,Host,getElement,createCommonjsModule,commonjsGlobal,fetchTranslations;return{setters:[function(t){registerInstance=t.r;h=t.h;Host=t.a;getElement=t.g},function(t){createCommonjsModule=t.c;commonjsGlobal=t.b},function(t){fetchTranslations=t.f}],execute:function(){var flexsearch_bundle=createCommonjsModule((function(module){
2
- /**!
3
- * FlexSearch.js v0.7.21 (Bundle)
4
- * Copyright 2018-2021 Nextapps GmbH
5
- * Author: Thomas Wilkerling
6
- * Licence: Apache-2.0
7
- * https://github.com/nextapps-de/flexsearch
8
- */
9
- (function _f(self){try{if(module)self=module}catch(e){}self._factory=_f;var t;function u(t){return"undefined"!==typeof t?t:!0}function aa(t){var e=Array(t);for(var a=0;a<t;a++)e[a]=v();return e}function v(){return Object.create(null)}function ba(t,e){return e.length-t.length}function x(t){return"string"===typeof t}function C(t){return"object"===typeof t}function D(t){return"function"===typeof t}function ca(t,e){var a=da;if(t&&(e&&(t=E(t,e)),this.H&&(t=E(t,this.H)),this.J&&1<t.length&&(t=E(t,this.J)),a||""===a)){t=t.split(a);if(this.filter){e=this.filter;a=t.length;var r=[];for(var i=0,s=0;i<a;i++){var n=t[i];n&&!e[n]&&(r[s++]=n)}t=r}return t}return t}var da=/[\p{Z}\p{S}\p{P}\p{C}]+/u,ea=/[\u0300-\u036f]/g;function fa(t,e){var a=Object.keys(t),r=a.length,i=[];var s="",n=0;for(var o=0,h=void 0,l=void 0;o<r;o++)h=a[o],(l=t[h])?(i[n++]=F(e?"(?!\\b)"+h+"(\\b|_)":h),i[n++]=l):s+=(s?"|":"")+h;s&&(i[n++]=F(e?"(?!\\b)("+s+")(\\b|_)":"("+s+")"),i[n]="");return i}function E(t,e){for(var a=0,r=e.length;a<r&&(t=t.replace(e[a],e[a+1]),t);a+=2);return t}function F(t){return new RegExp(t,"g")}function ha(t){var e="",a="";for(var r=0,i=t.length,s=void 0;r<i;r++)(s=t[r])!==a&&(e+=a=s);return e}var ja={encode:ia,F:!1,G:""};function ia(t){return ca.call(this,(""+t).toLowerCase(),!1)}var ka={},G={};function la(t){I(t,"add");I(t,"append");I(t,"search");I(t,"update");I(t,"remove")}function I(t,e){t[e+"Async"]=function(){var t=this,a=arguments;var r=a[a.length-1];var i;D(r)&&(i=r,delete a[a.length-1]);r=new Promise((function(r){setTimeout((function(){t.async=!0;var i=t[e].apply(t,a);t.async=!1;r(i)}))}));return i?(r.then(i),this):r}}function ma(t,e,a,r){var i=t.length;var s=[],n,o,h=0;r&&(r=[]);for(var l=i-1;0<=l;l--){var c=t[l],f=c.length,d=v();var u=!n;for(var g=0;g<f;g++){var p=c[g],b=p.length;if(b)for(var m=0,_=void 0,y=void 0;m<b;m++)if(y=p[m],n){if(n[y]){if(!l)if(a)a--;else if(s[h++]=y,h===e)return s;if(l||r)d[y]=1;u=!0}if(r&&(o[y]=(_=o[y])?++_:_=1,_<i)){var z=r[_-2]||(r[_-2]=[]);z[z.length]=y}}else d[y]=1}if(r)n||(o=d);else if(!u)return[];n=d}if(r)for(var l=r.length-1,c=void 0,f=void 0;0<=l;l--){c=r[l];f=c.length;for(var d=0,u=void 0;d<f;d++)if(u=c[d],!n[u]){if(a)a--;else if(s[h++]=u,h===e)return s;n[u]=1}}return s}function na(t,e){var a=v(),r=v(),i=[];for(var s=0;s<t.length;s++)a[t[s]]=1;for(var s=0,n=void 0;s<e.length;s++){n=e[s];for(var o=0,h=void 0;o<n.length;o++)h=n[o],a[h]&&!r[h]&&(r[h]=1,i[i.length]=h)}return i}function J(t){this.l=!0!==t&&t;this.cache=v();this.h=[]}function oa(t,e,a){C(t)&&(t=t.query);var r=this.cache.get(t);r||(r=this.search(t,e,a),this.cache.set(t,r));return r}J.prototype.set=function(t,e){if(!this.cache[t]){var a=this.h.length;a===this.l?delete this.cache[this.h[a-1]]:a++;for(--a;0<a;a--)this.h[a]=this.h[a-1];this.h[0]=t}this.cache[t]=e};J.prototype.get=function(t){var e=this.cache[t];if(this.l&&e&&(t=this.h.indexOf(t))){var a=this.h[t-1];this.h[t-1]=this.h[t];this.h[t]=a}return e};var qa={memory:{charset:"latin:extra",D:3,B:4,m:!1},performance:{D:3,B:3,s:!1,context:{depth:2,D:1}},match:{charset:"latin:extra",G:"reverse"},score:{charset:"latin:advanced",D:20,B:3,context:{depth:3,D:9}},default:{}};function ra(t,e,a,r,i,s){setTimeout((function(){var n=t(a,JSON.stringify(s));n&&n.then?n.then((function(){e.export(t,e,a,r,i+1)})):e.export(t,e,a,r,i+1)}))}function K(t,e){if(!(this instanceof K))return new K(t);var a;if(t){x(t)?t=qa[t]:(a=t.preset)&&(t=Object.assign({},a[a],t));a=t.charset;var r=t.lang;x(a)&&(-1===a.indexOf(":")&&(a+=":default"),a=G[a]);x(r)&&(r=ka[r])}else t={};var i,s,n=t.context||{};this.encode=t.encode||a&&a.encode||ia;this.register=e||v();this.D=i=t.resolution||9;this.G=e=a&&a.G||t.tokenize||"strict";this.depth="strict"===e&&n.depth;this.l=u(n.bidirectional);this.s=s=u(t.optimize);this.m=u(t.fastupdate);this.B=t.minlength||1;this.C=t.boost;this.map=s?aa(i):v();this.A=i=n.resolution||1;this.h=s?aa(i):v();this.F=a&&a.F||t.rtl;this.H=(e=t.matcher||r&&r.H)&&fa(e,!1);this.J=(e=t.stemmer||r&&r.J)&&fa(e,!0);if(a=e=t.filter||r&&r.filter){a=e;r=v();for(var o=0,h=a.length;o<h;o++)r[a[o]]=1;a=r}this.filter=a;this.cache=(e=t.cache)&&new J(e)}t=K.prototype;t.append=function(t,e){return this.add(t,e,!0)};t.add=function(t,e,a,r){if(e&&(t||0===t)){if(!r&&!a&&this.register[t])return this.update(t,e);e=this.encode(e);if(r=e.length){var i=v(),s=v(),n=this.depth,o=this.D;for(var h=0;h<r;h++){var l=e[this.F?r-1-h:h];var c=l.length;if(l&&c>=this.B&&(n||!s[l])){var f=L(o,r,h),d="";switch(this.G){case"full":if(3<c){for(f=0;f<c;f++)for(var u=c;u>f;u--)if(u-f>=this.B){var g=L(o,r,h,c,f);d=l.substring(f,u);M(this,s,d,g,t,a)}break}case"reverse":if(2<c){for(u=c-1;0<u;u--)d=l[u]+d,d.length>=this.B&&M(this,s,d,L(o,r,h,c,u),t,a);d=""}case"forward":if(1<c){for(u=0;u<c;u++)d+=l[u],d.length>=this.B&&M(this,s,d,f,t,a);break}default:if(this.C&&(f=Math.min(f/this.C(e,l,h)|0,o-1)),M(this,s,l,f,t,a),n&&1<r&&h<r-1)for(c=v(),d=this.A,f=l,u=Math.min(n+1,r-h),c[f]=1,g=1;g<u;g++)if((l=e[this.F?r-1-h-g:h+g])&&l.length>=this.B&&!c[l]){c[l]=1;var p=this.l&&l>f;M(this,i,p?f:l,L(d+(r/2>d?0:1),r,h,u-1,g-1),t,a,p?l:f)}}}}this.m||(this.register[t]=1)}}return this};function L(t,e,a,r,i){return a&&1<t?e+(r||0)<=t?a+(i||0):(t-1)/(e+(r||0))*(a+(i||0))+1|0:0}function M(t,e,a,r,i,s,n){var o=n?t.h:t.map;if(!e[a]||n&&!e[a][n])t.s&&(o=o[r]),n?(e=e[a]||(e[a]=v()),e[n]=1,o=o[n]||(o[n]=v())):e[a]=1,o=o[a]||(o[a]=[]),t.s||(o=o[r]||(o[r]=[])),s&&-1!==o.indexOf(i)||(o[o.length]=i,t.m&&(t=t.register[i]||(t.register[i]=[]),t[t.length]=o))}t.search=function(t,e,a){a||(!e&&C(t)?(a=t,t=a.query):C(e)&&(a=e));var r=[],i;var s,n=0;if(a){e=a.limit;n=a.offset||0;var o=a.context;s=a.suggest}if(t&&(t=this.encode(t),i=t.length,1<i)){a=v();var h=[];for(var l=0,c=0,f=void 0;l<i;l++)if((f=t[l])&&f.length>=this.B&&!a[f])if(this.s||s||this.map[f])h[c++]=f,a[f]=1;else return r;t=h;i=t.length}if(!i)return r;e||(e=100);o=this.depth&&1<i&&!1!==o;a=0;var d;o?(d=t[0],a=1):1<i&&t.sort(ba);for(var l=void 0,c=void 0;a<i;a++){c=t[a];o?(l=sa(this,r,s,e,n,2===i,c,d),s&&!1===l&&r.length||(d=c)):l=sa(this,r,s,e,n,1===i,c);if(l)return l;if(s&&a===i-1){h=r.length;if(!h){if(o){o=0;a=-1;continue}return r}if(1===h)return ta(r[0],e,n)}}return ma(r,e,n,s)};function sa(t,e,a,r,i,s,n,o){var h=[],l=o?t.h:t.map;t.s||(l=ua(l,n,o,t.l));if(l){var c=0;var f=Math.min(l.length,o?t.A:t.D);for(var d=0,u=0,v=void 0,g=void 0;d<f;d++)if(v=l[d])if(t.s&&(v=ua(v,n,o,t.l)),i&&v&&s&&(g=v.length,g<=i?(i-=g,v=null):(v=v.slice(i),i=0)),v&&(h[c++]=v,s&&(u+=v.length,u>=r)))break;if(c){if(s)return ta(h,r,0);e[e.length]=h;return}}return!a&&h}function ta(t,e,a){t=1===t.length?t[0]:[].concat.apply([],t);return a||t.length>e?t.slice(a,a+e):t}function ua(t,e,a,r){a?(r=r&&e>a,t=(t=t[r?e:a])&&t[r?a:e]):t=t[e];return t}t.contain=function(t){return!!this.register[t]};t.update=function(t,e){return this.remove(t).add(t,e)};t.remove=function(t,e){var a=this.register[t];if(a){if(this.m)for(var r=0,i=void 0;r<a.length;r++)i=a[r],i.splice(i.indexOf(t),1);else N(this.map,t,this.D,this.s),this.depth&&N(this.h,t,this.A,this.s);e||delete this.register[t];if(this.cache){e=this.cache;for(var r=0,i=void 0,s=void 0;r<e.h.length;r++)s=e.h[r],i=e.cache[s],-1!==i.indexOf(t)&&(e.h.splice(r--,1),delete e.cache[s])}}return this};function N(t,e,a,r,i){var s=0;if(t.constructor===Array)if(i)e=t.indexOf(e),-1!==e?1<t.length&&(t.splice(e,1),s++):s++;else{i=Math.min(t.length,a);for(var n=0,o;n<i;n++)if(o=t[n])s=N(o,e,a,r,i),r||s||delete t[n]}else for(var n in t)(s=N(t[n],e,a,r,i))||delete t[n];return s}t.searchCache=oa;t.export=function(t,e,a,r,i){var s,n;switch(i||(i=0)){case 0:s="reg";if(this.m){n=v();for(var o in this.register)n[o]=1}else n=this.register;break;case 1:s="cfg";n={doc:0,opt:this.s?1:0};break;case 2:s="map";n=this.map;break;case 3:s="ctx";n=this.h;break;default:return}ra(t,e||this,a?a+"."+s:s,r,i,n);return!0};t.import=function(t,e){if(e)switch(x(e)&&(e=JSON.parse(e)),t){case"cfg":this.s=!!e.opt;break;case"reg":this.m=!1;this.register=e;break;case"map":this.map=e;break;case"ctx":this.h=e}};la(K.prototype);function va(t){t=t.data;var e=self._index;var a=t.args;var r=t.task;switch(r){case"init":r=t.options||{};t=t.factory;e=r.encode;r.cache=!1;e&&0===e.indexOf("function")&&(r.encode=Function("return "+e)());t?(Function("return "+t)()(self),self._index=new self.FlexSearch.Index(r),delete self.FlexSearch):self._index=new K(r);break;default:t=t.id,e=e[r].apply(e,a),postMessage("search"===r?{id:t,msg:e}:{id:t})}}var wa=0;function O(t){if(!(this instanceof O))return new O(t);var e;t?D(e=t.encode)&&(t.encode=e.toString()):t={};(e=(self||window)._factory)&&(e=e.toString());var a=self.exports,r=this;this.o=xa(e,a,t.worker);this.h=v();if(this.o){if(a)this.o.on("message",(function(t){r.h[t.id](t.msg);delete r.h[t.id]}));else this.o.onmessage=function(t){t=t.data;r.h[t.id](t.msg);delete r.h[t.id]};this.o.postMessage({task:"init",factory:e,options:t})}}P("add");P("append");P("search");P("update");P("remove");function P(t){O.prototype[t]=O.prototype[t+"Async"]=function(){var e=this,a=[].slice.call(arguments);var r=a[a.length-1];var i;D(r)&&(i=r,a.splice(a.length-1,1));r=new Promise((function(r){setTimeout((function(){e.h[++wa]=r;e.o.postMessage({task:t,id:wa,args:a})}))}));return i?(r.then(i),this):r}}function xa(a,b,c){var d;try{d=b?eval('new (require("worker_threads")["Worker"])("../dist/node/node.js")'):a?new Worker(URL.createObjectURL(new Blob(["onmessage="+va.toString()],{type:"text/javascript"}))):new Worker(x(c)?c:"worker/worker.js",{type:"module"})}catch(e){}return d}function Q(t){if(!(this instanceof Q))return new Q(t);var e=t.document||t.doc||t,a;this.K=[];this.h=[];this.A=[];this.register=v();this.key=(a=e.key||e.id)&&S(a,this.A)||"id";this.m=u(t.fastupdate);this.C=(a=e.store)&&!0!==a&&[];this.store=a&&v();this.I=(a=e.tag)&&S(a,this.A);this.l=a&&v();this.cache=(a=t.cache)&&new J(a);t.cache=!1;this.o=t.worker;this.async=!1;a=v();var r=e.index||e.field||e;x(r)&&(r=[r]);for(var i=0,s=void 0,n=void 0;i<r.length;i++)s=r[i],x(s)||(n=s,s=s.field),n=C(n)?Object.assign({},t,n):t,this.o&&(a[s]=new O(n),a[s].o||(this.o=!1)),this.o||(a[s]=new K(n,this.register)),this.K[i]=S(s,this.A),this.h[i]=s;if(this.C)for(t=e.store,x(t)&&(t=[t]),e=0;e<t.length;e++)this.C[e]=S(t[e],this.A);this.index=a}function S(t,e){var a=t.split(":");var r=0;for(var i=0;i<a.length;i++)t=a[i],0<=t.indexOf("[]")&&(t=t.substring(0,t.length-2))&&(e[r]=!0),t&&(a[r++]=t);r<a.length&&(a.length=r);return 1<r?a:a[0]}function T(t,e){if(x(e))t=t[e];else for(var a=0;t&&a<e.length;a++)t=t[e[a]];return t}function U(t,e,a,r,i){t=t[i];if(r===a.length-1)e[i]=t;else if(t)if(t.constructor===Array)for(e=e[i]=Array(t.length),i=0;i<t.length;i++)U(t,e,a,r,i);else e=e[i]||(e[i]=v()),i=a[++r],U(t,e,a,r,i)}function V(t,e,a,r,i,s,n,o){if(t=t[n])if(r===e.length-1){if(t.constructor===Array){if(a[r]){for(e=0;e<t.length;e++)i.add(s,t[e],!0,!0);return}t=t.join(" ")}i.add(s,t,o,!0)}else if(t.constructor===Array)for(n=0;n<t.length;n++)V(t,e,a,r,i,s,n,o);else n=e[++r],V(t,e,a,r,i,s,n,o)}t=Q.prototype;t.add=function(t,e,a){C(t)&&(e=t,t=T(e,this.key));if(e&&(t||0===t)){if(!a&&this.register[t])return this.update(t,e);for(var r=0,i=void 0,s=void 0;r<this.h.length;r++)s=this.h[r],i=this.K[r],x(i)&&(i=[i]),V(e,i,this.A,0,this.index[s],t,i[0],a);if(this.I){var r=T(e,this.I),i=v();x(r)&&(r=[r]);for(var s=0,n=void 0,o;s<r.length;s++)if(n=r[s],!i[n]&&(i[n]=1,o=this.l[n]||(this.l[n]=[]),!a||-1===o.indexOf(t)))if(o[o.length]=t,this.m){var h=this.register[t]||(this.register[t]=[]);h[h.length]=o}}if(this.store&&(!a||!this.store[t])){var r=void 0;if(this.C){r=v();for(var i=0,s=void 0;i<this.C.length;i++)s=this.C[i],x(s)?r[s]=e[s]:U(e,r,s,0,s[0])}this.store[t]=r||e}}return this};t.append=function(t,e){return this.add(t,e,!0)};t.update=function(t,e){return this.remove(t).add(t,e)};t.remove=function(t){C(t)&&(t=T(t,this.key));if(this.register[t]){for(var e=0;e<this.h.length&&(this.index[this.h[e]].remove(t,!this.o),!this.m);e++);if(this.I&&!this.m)for(var a in this.l){e=this.l[a];var r=e.indexOf(t);-1!==r&&(1<e.length?e.splice(r,1):delete this.l[a])}this.store&&delete this.store[t];delete this.register[t]}return this};t.search=function(t,e,a,r){a||(!e&&C(t)?(a=t,t=a.query):C(e)&&(a=e,e=0));var i=[],s=[],n,o,h,l,c,f,d=0;if(a)if(a.constructor===Array)h=a,a=null;else{h=(n=a.pluck)||a.index||a.field;l=a.tag;o=this.store&&a.enrich;c="and"===a.bool;e=a.limit||100;f=a.offset||0;if(l&&(x(l)&&(l=[l]),!t)){for(var u=0,v=void 0;u<l.length;u++)if(v=ya.call(this,l[u],e,f,o))i[i.length]=v,d++;return d?i:[]}x(h)&&(h=[h])}h||(h=this.h);c=c&&(1<h.length||l&&1<l.length);var g=!r&&(this.o||this.async)&&[];for(var u=0,v=void 0,p=void 0,b=void 0;u<h.length;u++){var m=void 0;p=h[u];x(p)||(m=p,p=p.field);if(g)g[u]=this.index[p].searchAsync(t,e,m||a);else{r?v=r[u]:v=this.index[p].search(t,e,m||a);b=v&&v.length;if(l&&b){var _=[];var y=0;c&&(_[0]=[v]);for(var z=0,w=void 0,k=void 0;z<l.length;z++)if(w=l[z],b=(k=this.l[w])&&k.length)y++,_[_.length]=c?[k]:k;y&&(v=c?ma(_,e||100,f||0):na(v,_),b=v.length)}if(b)s[d]=p,i[d++]=v;else if(c)return[]}}if(g){var S=this;return new Promise((function(r){Promise.all(g).then((function(i){r(S.search(t,e,a,i))}))}))}if(!d)return[];if(n&&(!o||!this.store))return i[0];for(var u=0,v=void 0;u<s.length;u++){v=i[u];v.length&&o&&(v=za.call(this,v));if(n)return v;i[u]={field:s[u],result:v}}return i};function ya(t,e,a,r){var i=this.l[t],s=i&&i.length-a;if(s&&0<s){if(s>e||a)i=i.slice(a,a+e);r&&(i=za.call(this,i));return{tag:t,result:i}}}function za(t){var e=Array(t.length);for(var a=0,r=void 0;a<t.length;a++)r=t[a],e[a]={id:r,doc:this.store[r]};return e}t.contain=function(t){return!!this.register[t]};t.get=function(t){return this.store[t]};t.set=function(t,e){this.store[t]=e;return this};t.searchCache=oa;t.export=function(t,e,a,r,i){i||(i=0);r||(r=0);if(r<this.h.length){var s=this.h[r],n=this.index[s];e=this;setTimeout((function(){n.export(t,e,i?s.replace(":","-"):"",r,i++)||(r++,i=1,e.export(t,e,s,r,i))}))}else{var o=void 0;switch(i){case 1:a="tag";o=this.l;break;case 2:a="store";o=this.store;break;default:return}ra(t,this,a,r,i,o)}};t.import=function(t,e){if(e)switch(x(e)&&(e=JSON.parse(e)),t){case"tag":this.l=e;break;case"reg":this.m=!1;this.register=e;for(var a=0,r=void 0;a<this.h.length;a++)r=this.index[this.h[a]],r.register=e,r.m=!1;break;case"store":this.store=e;break;default:t=t.split(".");var i=t[0];t=t[1];i&&t&&this.index[i].import(t,e)}};la(Q.prototype);var Ba={encode:Aa,F:!1,G:""};var Ca=[F("[àáâãäå]"),"a",F("[èéêë]"),"e",F("[ìíîï]"),"i",F("[òóôõöő]"),"o",F("[ùúûüű]"),"u",F("[ýŷÿ]"),"y",F("ñ"),"n",F("[çc]"),"k",F("ß"),"s",F(" & ")," and "];function Aa(t){var e=t;e.normalize&&(e=e.normalize("NFD").replace(ea,""));return ca.call(this,e.toLowerCase(),!t.normalize&&Ca)}var Ea={encode:Da,F:!1,G:"strict"};var Fa=/[^a-z0-9]+/,Ga={b:"p",v:"f",w:"f",z:"s",x:"s","ß":"s",d:"t",n:"m",c:"k",g:"k",j:"k",q:"k",i:"e",y:"e",u:"o"};function Da(t){t=Aa.call(this,t).join(" ");var e=[];if(t){var a=t.split(Fa),r=a.length;for(var i=0,s=void 0,n=0;i<r;i++)if((t=a[i])&&(!this.filter||!this.filter[t])){s=t[0];var o=Ga[s]||s,h=o;for(var l=1;l<t.length;l++){s=t[l];var c=Ga[s]||s;c&&c!==h&&(o+=c,h=c)}e[n++]=o}}return e}var Ia={encode:Ha,F:!1,G:""};var Ja=[F("ae"),"a",F("oe"),"o",F("sh"),"s",F("th"),"t",F("ph"),"f",F("pf"),"f",F("(?![aeo])h(?![aeo])"),"",F("(?!^[aeo])h(?!^[aeo])"),""];function Ha(t,e){t&&(t=Da.call(this,t).join(" "),2<t.length&&(t=E(t,Ja)),e||(1<t.length&&(t=ha(t)),t&&(t=t.split(" "))));return t}var La={encode:Ka,F:!1,G:""};var Ma=F("(?!\\b)[aeo]");function Ka(t){t&&(t=Ha.call(this,t,!0),1<t.length&&(t=t.replace(Ma,"")),1<t.length&&(t=ha(t)),t&&(t=t.split(" ")));return t}G["latin:default"]=ja;G["latin:simple"]=Ba;G["latin:balance"]=Ea;G["latin:advanced"]=Ia;G["latin:extra"]=La;var W=self;var Y;var Z={Index:K,Document:Q,Worker:O,registerCharset:function(t,e){G[t]=e},registerLanguage:function(t,e){ka[t]=e}};(Y=W.define)&&Y.amd?Y([],(function(){return Z})):W.exports?W.exports=Z:W.FlexSearch=Z})(commonjsGlobal)}));var stzhDatatableCss=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-datatable{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--max-height:var(--stzh-table-max-height);--min-width:var(--stzh-table-min-width);--cell-padding:var(--stzh-table-cell-padding);--input-width:var(--stzh-table-input-width)}stzh-datatable[hidden]{display:none}stzh-datatable *,stzh-datatable *::before,stzh-datatable *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-datatable{}.stzh-datatable__header{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-bottom:var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datatable__header{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-datatable__header{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-datatable__header{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-datatable__header{margin-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-datatable__header{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}.stzh-datatable__heading{margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-datatable__heading{margin-bottom:0}}.stzh-datatable__header .stzh-datatable__search{width:var(--stzh-table-input-width)}@media screen and (min-width: 1024px){.stzh-datatable__header .stzh-datatable__search{margin-left:var(--stzh-space-large)}}.stzh-datatable__outer-wrapper{position:relative}.stzh-datatable__outer-wrapper::before,.stzh-datatable__outer-wrapper::after{z-index:4;background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));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;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);opacity:0}.stzh-datatable__outer-wrapper::before{left:0}.stzh-datatable__outer-wrapper::after{right:0;-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.stzh-datatable__wrapper{overflow-x:auto;max-height:var(--max-height)}.stzh-datatable__sort-button{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:inherit;line-height:inherit;color:inherit;padding:var(--cell-padding)}.stzh-datatable__sort-button:hover,.stzh-datatable__sort-button:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datatable__sort-icon{opacity:0}.stzh-datatable__table{width:100%;border-spacing:0;min-width:var(--min-width)}.stzh-datatable__thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.stzh-datatable__row:hover .stzh-datatable__cell{background-color:var(--stzh-color-grey5)}.stzh-datatable__cell{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;border-bottom:0.0625rem solid var(--stzh-base-border-color);background-color:var(--stzh-color-white);-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed);padding:var(--cell-padding);}.stzh-datatable__cell a{color:var(--stzh-link-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-datatable__cell a:hover,.stzh-datatable__cell a:focus{color:var(--stzh-link-hover-color)}.stzh-datatable__cell b,.stzh-datatable__cell strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-datatable__cell i,.stzh-datatable__cell em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-datatable__cell.align-left{text-align:left}.stzh-datatable__cell.align-right{text-align:right}.stzh-datatable__cell.align-center{text-align:center}.stzh-datatable__cell.valign-auto{vertical-align:auto}.stzh-datatable__cell.valign-middle{vertical-align:middle}.stzh-datatable__cell.valign-bottom{vertical-align:bottom}.stzh-datatable__cell.nowrap{white-space:nowrap}.stzh-datatable__cell.is-sticky-left,.stzh-datatable__cell.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.stzh-datatable__cell.has-sticked{z-index:2}.stzh-datatable__cell.is-sticky-left{left:0}.stzh-datatable__cell.is-sticky-right{right:0}.stzh-datatable__cell.is-sticky-left::after,.stzh-datatable__cell.is-sticky-right::after{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.16)), to(rgba(0, 0, 0, 0)));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;-webkit-transform:translate(100%);transform:translate(100%);opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-datatable__cell.is-sticky-left::after{right:0}.stzh-datatable__cell.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.stzh-datatable__cell.has-sticked.is-sticky-left::after,.stzh-datatable__cell.has-sticked.is-sticky-right::after{opacity:1}.stzh-datatable__cell--head{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datatable__cell--head.is-sortable{padding:0}.stzh-datatable__cell.has-sorted .stzh-datatable__sort-icon{opacity:1}.stzh-datatable__cell.has-sorted-desc .stzh-datatable__sort-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.stzh-datatable.has-scroll-left-shadow .stzh-datatable__outer-wrapper::before,.stzh-datatable.has-scroll-right-shadow .stzh-datatable__outer-wrapper::after{opacity:1}';var StzhDatatable=exports("stzh_datatable",function(){function t(t){var e=this;registerInstance(this,t);this.updateScrollStates=function(){if(!e.tableWrapper){return}var t=e.tableWrapper.scrollLeft;var a=e.tableWrapper.scrollWidth;var r=e.tableWrapper.clientWidth;e.isScrollable=a>r;e.hasScrollLeft=t>0;e.hasScrollRight=t<a-r;var i=Array.from(e.tableWrapper.querySelectorAll("tr"));var s=i[0];if(!s){return}e.cellsStickyLeft=[];e.cellsStickyRight=[];var n=Array.from(s.children);n.forEach((function(a,i){var s=a.offsetLeft;var n=s+a.offsetWidth;if(e.hasScrollLeft&&e._columns[i].fixed==="left"&&Math.ceil(t)>=s){e.cellsStickyLeft.push(i)}if(e.hasScrollRight&&e._columns[i].fixed==="right"&&Math.ceil(t)+r<=n){e.cellsStickyRight.push(i)}}))};this.handleScroll=function(){if(e.debounceScroll){window.cancelAnimationFrame(e.debounceScroll)}e.debounceScroll=requestAnimationFrame(e.updateScrollStates)};this.onInputChange=function(){e.query=e.input.value};this.localization=undefined;this.label="";this.sortBy="";this.sortDirection="asc";this.tokenize="forward";this.idField="id";this.rows=[];this.columns=[];this.query="";this.hasScrollLeft=false;this.hasScrollRight=false;this.isScrollable=false;this.cellsStickyLeft=[];this.cellsStickyRight=[]}t.prototype.toggleSort=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){if(t===this.sortBy){this.sortDirection=this.sortDirection==="asc"?"desc":"asc"}else{this.sortDirection="asc";this.sortBy=t}return[2]}))}))};t.prototype.rowsWatcher=function(t){if(typeof t==="string"){this._rows=JSON.parse(t)}else{this._rows=t}this.buildSearchIndex()};t.prototype.columnsWatcher=function(t){if(typeof t==="string"){this._columns=JSON.parse(t)}else{this._columns=t}this.buildSearchIndex()};t.prototype.handleResize=function(){this.updateScrollStates()};t.prototype.buildSearchIndex=function(){var t=this;if(!this._rows||this._rows.length===0||!this._columns||this._columns.length===0){return}this.searchIndex=new flexsearch_bundle.Document({tokenize:this.tokenize,matcher:{"[äà]":"a","[öó]":"o","[üûúù]":"u","[éè]":"e"},document:{id:this.idField,index:this._columns.map((function(t){return t.key}))}});this._rows.forEach((function(e){t.searchIndex.add(e)}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.columnsWatcher(this.columns);this.rowsWatcher(this.rows);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"datatable")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.updateScrollStates()};t.prototype.componentWillRender=function(){var t=this;this._rowsManaged=[];if(this.query){var e=[];this.searchIndex.search(this.query).forEach((function(t){e=__spreadArray(__spreadArray([],e,true),t.result,true)}));e=e.filter((function(t,a){return e.indexOf(t)===a}));this._rows.forEach((function(a){if(e.indexOf(a[t.idField])>-1){t._rowsManaged.push(a)}}))}else{this._rowsManaged=__spreadArray([],this._rows,true)}if(this.sortBy){this._rowsManaged.sort((function(e,a){var r=e[t.sortBy].localeCompare(a[t.sortBy]);return t.sortDirection==="asc"?r:r/-1}))}};t.prototype.render=function(){var t=this;var e={"stzh-datatable":true,"is-scrollable":this.isScrollable,"has-scroll-left":this.hasScrollLeft,"has-scroll-right":this.hasScrollRight,"has-scroll-left-shadow":this.hasScrollLeft&&this.cellsStickyLeft.length===0,"has-scroll-right-shadow":this.hasScrollRight&&this.cellsStickyRight.length===0};return h(Host,null,h("div",{class:e},h("div",{class:"stzh-datatable__header"},h("div",{class:"stzh-datatable__heading"},h("slot",{name:"heading"})),h("stzh-input",{ref:function(e){return t.input=e},class:"stzh-datatable__search",size:"small",name:"stzh-datatable-search",onStzhChange:this.onInputChange,label:this.localization.searchLabel})),h("div",{class:"stzh-datatable__outer-wrapper"},h("div",{ref:function(e){return t.tableWrapper=e},class:"stzh-datatable__wrapper",onScroll:this.handleScroll},h("table",{class:"stzh-datatable__table"},h("thead",{class:"stzh-datatable__thead"},h("tr",{class:"stzh-datatable__row stzh-datatable__row--head"},this._columns.map((function(e,a){var r;return h("th",{class:(r={"stzh-datatable__cell stzh-datatable__cell--head":true,"is-sticky-left":e.fixed==="left","is-sticky-right":e.fixed==="right","is-sortable":e.sort,"has-sticked":t.cellsStickyLeft.indexOf(a)>-1||t.cellsStickyRight.indexOf(a)>-1,"has-sorted":e.key===t.sortBy,"has-sorted-asc":e.key===t.sortBy&&t.sortDirection==="asc","has-sorted-desc":e.key===t.sortBy&&t.sortDirection==="desc"},r["align-".concat(e.align)]=e.align,r["valign-".concat(e.valign)]=e.valign,r)},e.sort?h("button",{class:"stzh-datatable__sort-button",type:"button",onClick:function(){return t.toggleSort(e.key)}},h("span",null,e.text),h("stzh-icon",{name:"arrow-up",class:"stzh-datatable__sort-icon"})):h("span",null,e.text))})))),h("tbody",null,this._rowsManaged.map((function(e){return h("tr",{class:"stzh-datatable__row stzh-datatable__row--body"},t._columns.map((function(a,r){var i;var s,n,o,l,c;return h("td",{innerHTML:((s=e[a.key])===null||s===void 0?void 0:s.text)||e[a.key]||"",class:(i={"stzh-datatable__cell stzh-datatable__cell--body":true,"is-sticky-left":a.fixed==="left","is-sticky-right":a.fixed==="right","is-sortable":a.sort,"has-sticked":t.cellsStickyLeft.indexOf(r)>-1||t.cellsStickyRight.indexOf(r)>-1,"has-sorted":a.key===t.sortBy,"has-sorted-asc":a.key===t.sortBy&&t.sortDirection==="asc","has-sorted-desc":a.key===t.sortBy&&t.sortDirection==="desc"},i["align-".concat(((n=e[a.key])===null||n===void 0?void 0:n.align)||a.align)]=((o=e[a.key])===null||o===void 0?void 0:o.align)||a.align,i["valign-".concat(((l=e[a.key])===null||l===void 0?void 0:l.valign)||a.valign)]=((c=e[a.key])===null||c===void 0?void 0:c.valign)||a.valign,i)})})))}))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{rows:["rowsWatcher"],columns:["columnsWatcher"]}},enumerable:false,configurable:true});return t}());StzhDatatable.style=stzhDatatableCss}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-dbdc01c7.system.js"],(function(t){"use strict";var i,n,r;return{setters:[function(t){i=t.r;n=t.h;r=t.a}],execute:function(){var e=".sc-stzh-container-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-container-h{display:none}.sc-stzh-container-h *.sc-stzh-container,.sc-stzh-container-h *.sc-stzh-container::before,.sc-stzh-container-h *.sc-stzh-container::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-1.25rem;margin-right:-1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2rem;margin-right:-2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-2.5rem;margin-right:-2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:-5.5rem;margin-right:-5.5rem}}@media screen and (min-width: 1440px){.sc-stzh-container-h .sc-stzh-container-s stzh-header{margin-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / -2)}}.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:1.25rem}@media screen and (min-width: 600px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2rem}}@media screen and (min-width: 1024px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:2.5rem}}@media screen and (min-width: 1260px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-space-xlarge)}}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-section[variant=highlight]{position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;width:100vw;max-width:100vw}}.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{--highlight-horizontal-padding:var(--stzh-section-highlight-horizontal-padding)}@media screen and (max-width: 1259px){.sc-stzh-container-h .sc-stzh-container-s stzh-row stzh-section[variant=highlight]{left:initial;right:initial;margin:initial;width:initial;max-width:initial}}.stzh-container.sc-stzh-container{margin:0 1.25rem}@media screen and (min-width: 600px){.stzh-container.sc-stzh-container{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-container.sc-stzh-container{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-container.sc-stzh-container{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-container.sc-stzh-container{margin:0 auto;width:78.75rem}}";var h=t("stzh_container",function(){function t(t){i(this,t)}t.prototype.render=function(){return n(r,null,n("div",{class:"stzh-container"},n("slot",null)))};return t}());h.style=e}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as e,a,g as s}from"./p-9a5ebb1f.js";import{h as i}from"./p-86a29c35.js";const l=class{constructor(e){t(this,e),this.floating=!1,this.size="default"}render(){const t=i(this.element,"left"),s=i(this.element,"right");return e(a,null,e("div",{class:{"stzh-textandimage":!0,"stzh-textandimage--has-left":t,"stzh-textandimage--has-right":s,"stzh-textandimage--is-floating":this.floating,[`stzh-textandimage--size-${this.size}`]:!!this.size}},e("div",{class:"stzh-textandimage__left"},e("slot",{name:"left"}),this.floating&&e("slot",{name:"right"})),!this.floating&&e("div",{class:"stzh-textandimage__right"},e("slot",{name:"right"}))))}get element(){return s(this)}};l.style='@charset "UTF-8";:host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width: 600px){:host{--col-left-width:50%}}@media screen and (min-width: 1260px){:host{--col-left-width:45%}}@media screen and (min-width: 1260px){:host([size=small]){--col-left-width:33%}}@media screen and (min-width: 1260px){:host([size=large]){--col-left-width:55%}}:host ::slotted([slot=left]){margin-bottom:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){:host ::slotted([slot=left]){margin-bottom:0}}:host([floating]:not([floating=false])) ::slotted([slot=left]){float:left;width:100%}@media screen and (min-width: 600px){:host([floating]:not([floating=false])) ::slotted([slot=left]){width:calc(var(--col-left-width) - var(--stzh-space-large) / 2);margin-right:var(--stzh-space-large)}}.stzh-textandimage{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:start;justify-content:flex-start;margin:0 calc(var(--stzh-space-large) / -2);}.stzh-textandimage__left,.stzh-textandimage__right{width:auto;padding:0 calc(var(--stzh-space-large) / 2)}@media screen and (min-width: 600px){.stzh-textandimage__left{width:var(--col-left-width)}}@media screen and (min-width: 600px){.stzh-textandimage__right{width:calc(100% - var(--col-left-width))}}.stzh-textandimage--is-floating .stzh-textandimage__left{width:auto}';export{l as stzh_textandimage}
@@ -1 +0,0 @@
1
- import{r as t,h as r,a as o,g as e}from"./p-9a5ebb1f.js";const s=class{constructor(r){t(this,r),this.items=[]}render(){return r(o,null,r("div",{class:{"stzh-sitemap":!0}},r("stzh-datalist",{items:this.items})))}get element(){return e(this)}};s.style=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-sitemap stzh-datalist-item[href]:not([href=""]){--font-family:var(--stzh-font-family-heavy);--font-weight:var( --stzh-font-weight-heavy);--color:var(--stzh-base-color);--action-display:none}.stzh-sitemap stzh-datalist-item[href]:not([href=""]) stzh-datalist-item[href]:not([href=""]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-sitemap stzh-datalist-item[href]:not([href=""]) stzh-datalist-item[href]:not([href=""]) stzh-datalist-item[href]:not([href=""]){--font-family:var(--stzh-font-family-regular);--font-weight:var( --stzh-font-weight-regular)}';export{s as stzh_sitemap}
@@ -1 +0,0 @@
1
- import{r as t,h as s,a as o,c as r,F as e,g as n}from"./p-9a5ebb1f.js";import{h}from"./p-86a29c35.js";const i=class{constructor(s){t(this,s),this.label="",this.type="default"}render(){return s(o,null,s("div",{class:{"stzh-badge":!0,[`stzh-badge--type-${this.type}`]:!!this.type}},this.label))}};i.style=".sc-stzh-badge-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-badge-h{--color:var(--stzh-color-white);--background-color:var(--stzh-base-color);display:-ms-inline-flexbox;display:inline-flex}[type=success].sc-stzh-badge-h{--background-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-badge-h{--color:var(--stzh-color-grey87);--background-color:var(--stzh-color-warning)}[type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error)}[type=info].sc-stzh-badge-h{--background-color:var(--stzh-color-zueriblue)}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;-webkit-box-shadow:0 0 0 0.0625rem #fff;box-shadow:0 0 0 0.0625rem #fff;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--background-color);color:var(--color);text-transform:uppercase}.stzh-badge.sc-stzh-badge:empty{width:0.875rem;height:0.875rem;padding:0}";const a=class{constructor(s){t(this,s),this.stzhFocus=r(this,"stzhFocus",7),this.stzhBlur=r(this,"stzhBlur",7),this.stzhChange=r(this,"stzhChange",7),this.onInput=t=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-button",originalEvent:t,value:this.value,checked:this.checked})},this.onFocus=t=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-button",originalEvent:t})},this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-button",originalEvent:t})},this.onClick=t=>{this.disabled&&(t.stopPropagation(),t.preventDefault())},this.badge="",this.badgeType="default",this.badgePosition="button",this.badgeEmpty=!1,this.fullwidth=!1,this.size="default",this.textAlign="default",this.variant="default",this.icon="",this.iconPosition="left",this.checked=!1,this.name="",this.value="",this.href="",this.rel=void 0,this.target="",this.download=void 0,this.type="button",this.disabled=!1,this.active=!1,this.label="",this.effect="default",this.iconOnly=!1,this.linkAccesskey=void 0,this.a11yLabel=void 0,this.a11yDescribedby="",this.a11yExpanded=void 0,this.a11yControls=void 0}async setFocus(){this.button.focus()}renderIcon(t){return s("div",{class:"stzh-button__icon-wrapper"},this.icon?s("stzh-icon",{class:"stzh-button__icon",name:this.icon}):s("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&"icon"===this.badgePosition&&t&&s("stzh-badge",{class:"stzh-button__badge",label:this.badge,type:this.badgeType}))}renderContent(){return s("div",{class:"stzh-button__text"},this.label?this.label:s("slot",null))}renderInner(t){return s(e,null,s("div",{class:"stzh-button__inner",onClick:this.onClick},"radio"===this.type&&s("div",{class:"stzh-button__mark"},s("div",{class:"stzh-button__check"})),"left"===this.iconPosition&&this.renderIcon(t),this.renderContent(),"right"===this.iconPosition&&this.renderIcon(t)),(this.badge||this.badgeEmpty)&&("button"===this.badgePosition||!t)&&s("stzh-badge",{class:"stzh-button__badge",label:this.badge,type:this.badgeType,onClick:this.onClick}))}render(){const t=h(this.element,"icon")||!!this.icon,r={"stzh-button":!0,"stzh-button--has-icon":t,"stzh-button--has-icon-only":this.iconOnly,"stzh-button--has-badge":!!this.badge,"stzh-button--is-fullwidth":this.fullwidth,"stzh-button--is-disabled":this.disabled,"stzh-button--is-active":this.active,[`stzh-button--effect-${this.effect}`]:!!this.effect,[`stzh-button--badge-position-${this.badgePosition}`]:!!this.badgePosition,[`stzh-button--align-${this.textAlign}`]:!!this.textAlign,[`stzh-button--size-${this.size}`]:!!this.size,[`stzh-button--type-${this.type}`]:!!this.type,[`stzh-button--${this.variant}`]:!!this.variant};return s(o,null,this.href?s("a",{ref:t=>this.button=t,href:this.disabled?null:this.href,rel:this.rel,download:this.download,target:this.target,class:r,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,"aria-expanded":void 0!==this.a11yExpanded?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls,accessKey:this.linkAccesskey,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},this.renderInner(t)):"radio"===this.type?s("label",{ref:t=>this.button=t,class:r,onClick:this.onClick},s("input",{ref:t=>this.input=t,type:"radio",class:"stzh-button__input",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,"aria-expanded":void 0!==this.a11yExpanded?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls,accessKey:this.linkAccesskey,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick,onInput:this.onInput}),this.renderInner(t)):s("button",{ref:t=>this.button=t,class:r,type:this.type,disabled:this.disabled,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,"aria-expanded":void 0!==this.a11yExpanded?this.a11yExpanded?"true":"false":null,"aria-controls":this.a11yControls,accessKey:this.linkAccesskey,onFocus:this.onFocus,onBlur:this.onBlur,onClick:this.onClick},this.renderInner(t)))}get element(){return n(this)}};a.style='@charset "UTF-8";.sc-stzh-button-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-button-h{--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--height:var(--stzh-form-input-height);--icon-size:var(--stzh-icon-size-small);--icon-text-margin:var(--stzh-space-small);--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--padding:var(--stzh-space-xsmall) var(--stzh-space-xlarge);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));display:inline-block;border-radius:var(--stzh-button-border-radius)}[fullwidth].sc-stzh-button-h:not([fullwidth=false]){width:100%;display:block}[size=small].sc-stzh-button-h{--height:var(--stzh-form-input-small-height)}[size=tiny].sc-stzh-button-h{--height:var(--stzh-form-input-tiny-height);--icon-text-margin:var(--stzh-space-xsmall);--padding:var(--stzh-space-xxsmall) var(--stzh-space-medium)}[variant=secondary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:var(--stzh-color-white)}[variant=input].sc-stzh-button-h{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[variant=tertiary].sc-stzh-button-h{--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-button-text-hover-background);--hover-border-color:transparent}[active].sc-stzh-button-h:not([active=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}[disabled].sc-stzh-button-h:not([disabled=false]){--border-color:var(--stzh-color-grey13);--background-color:var(--stzh-color-grey13);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:var(--stzh-color-grey13)}[disabled].sc-stzh-button-h:not([disabled=false])[variant=secondary],[disabled].sc-stzh-button-h:not([disabled=false])[variant=input],[disabled].sc-stzh-button-h:not([disabled=false])[variant=tertiary]{--color:var(--stzh-color-grey25);--border-color:var(--stzh-color-grey13);--background-color:transparent;--hover-color:var(--stzh-color-grey25);--hover-border-color:var(--stzh-color-grey13);--hover-background-color:transparent}@-webkit-keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}@keyframes stzh-button-effect-cta{0%,20%,50%,80%,100%{-webkit-transform:translateX(0);transform:translateX(0)}40%{-webkit-transform:translateX(-0.5rem);transform:translateX(-0.5rem)}60%{-webkit-transform:translateX(-0.25rem);transform:translateX(-0.25rem)}}.sc-stzh-button-h .sc-stzh-button-s>stzh-icon,.stzh-button__icon.sc-stzh-button{--size:var(--icon-size)}.stzh-button.sc-stzh-button{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;z-index:0;overflow:visible;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--color);padding:var(--padding);background-color:var(--background-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);border:0.0625rem solid var(--border-color);cursor:pointer;text-decoration:none;width:100%;min-width:var(--height);height:var(--height);border-radius:var(--stzh-button-border-radius);text-align:left}.stzh-button.sc-stzh-button:hover{border-color:var(--hover-border-color);background-color:var(--hover-background-color);color:var(--hover-color)}.stzh-button__inner.sc-stzh-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-button__icon-wrapper.sc-stzh-button{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-button__text.sc-stzh-button{white-space:nowrap}.stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--icon-text-margin)}.stzh-button__badge.sc-stzh-button{position:absolute;z-index:1;top:0;right:0}.stzh-button__input.sc-stzh-button{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-button__mark.sc-stzh-button{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed);width:1.25rem;height:1.25rem;margin-right:var(--stzh-space-xsmall);border-color:currentColor}.stzh-button__mark.sc-stzh-button::before{content:""}.stzh-button__check.sc-stzh-button{background-color:currentColor;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:0.5rem;height:0.5rem;border-radius:50%;opacity:0}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-button__check.sc-stzh-button{background-color:ButtonText}}.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button.sc-stzh-button:hover .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:focus:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:hover~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-button__input.sc-stzh-button:focus~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button,.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-button__input.sc-stzh-button:checked~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{opacity:1}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button .stzh-button__check.sc-stzh-button{color:var(--stzh-color-grey61)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__input.sc-stzh-button~.stzh-button__inner.sc-stzh-button .stzh-button__mark.sc-stzh-button{border-color:transparent}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-black8)}.stzh-button--size-small.sc-stzh-button,.stzh-button--size-tiny.sc-stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-button--badge-position-button.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:static}.stzh-button__badge.sc-stzh-button,.stzh-button--badge-position-button.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button{position:relative}.stzh-button--badge-position-icon.stzh-button--has-icon.sc-stzh-button .stzh-button__badge.sc-stzh-button{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__icon-wrapper.sc-stzh-button:not(:empty)+.stzh-button__text.sc-stzh-button:not(:empty),.stzh-button--badge-position-icon.stzh-button--has-icon.stzh-button--has-badge.sc-stzh-button .stzh-button__text.sc-stzh-button:not(:empty)+.stzh-button__icon-wrapper.sc-stzh-button:not(:empty){margin-left:var(--badge-icon-text-margin)}.stzh-button--has-icon-only.sc-stzh-button{width:var(--height);height:var(--height);padding:0}.stzh-button--has-icon-only.sc-stzh-button .stzh-button__text.sc-stzh-button{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-button--effect-cta.sc-stzh-button:hover .stzh-button__icon-wrapper.sc-stzh-button{-webkit-animation:stzh-button-effect-cta 1s;animation:stzh-button-effect-cta 1s}.stzh-button--align-left.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:start;justify-content:flex-start}.stzh-button--align-right.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:end;justify-content:flex-end}.stzh-button--align-center.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:center;justify-content:center}.stzh-button--align-space-between.sc-stzh-button .stzh-button__inner.sc-stzh-button{-ms-flex-pack:justify;justify-content:space-between}.stzh-button--is-disabled.sc-stzh-button{cursor:not-allowed}';let c=0;const b=class{constructor(s){t(this,s),this.name="",this.a11yTitle=""}componentWillLoad(){this.iconId="stzh-icon-"+c++}render(){return s(o,null,this.name&&s("svg",{class:"stzh-icon",role:this.a11yTitle?"img":"presentation",focusable:this.a11yTitle?"true":"false","aria-labelledby":this.a11yTitle?`${this.iconId}-title`:null},this.a11yTitle&&s("title",{id:`${this.iconId}-title`},this.a11yTitle),s("use",{href:`#stzh-icon-${this.name}`})))}};b.style=".sc-stzh-icon-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-icon-h{display:none}.sc-stzh-icon-h *.sc-stzh-icon,.sc-stzh-icon-h *.sc-stzh-icon::before,.sc-stzh-icon-h *.sc-stzh-icon::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-icon-h{--size:var(--stzh-icon-size-default);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;color:currentColor;vertical-align:text-top}.stzh-icon.sc-stzh-icon{width:var(--size);height:var(--size)}";export{i as stzh_badge,a as stzh_button,b as stzh_icon}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e,a as o,g as i}from"./p-9a5ebb1f.js";import{c as a}from"./p-40a19ce6.js";const h=class{constructor(e){t(this,e),this.stzhOpen=s(this,"stzhOpen",7),this.stzhClose=s(this,"stzhClose",7),this.open=!1,this.stay=!0,this.a11yLabel=""}async show(){this.open=!0,this.stzhOpen.emit({component:"stzh-overlay"})}async hide(){this.open=!1,this.stzhClose.emit({component:"stzh-overlay"})}getSiblings(){return this.parentElement?Array.from(this.parentElement.children).filter((t=>t!==this.element)):[]}disableSiblings(){this.getSiblings().forEach((t=>{t.setAttribute("aria-hidden","true")}))}enableSiblings(){this.getSiblings().forEach((t=>{t.removeAttribute("aria-hidden")}))}dialogShown(){document.body.classList.add("stzh-overlay-open"),this.disableSiblings(),this.trap&&this.trap.activate()}dialogHidden(){document.body.classList.remove("stzh-overlay-open"),this.enableSiblings(),this.trap&&this.trap.deactivate()}connectedCallback(){this.stay||this.element.parentElement===document.body||document.body.appendChild(this.element),this.parentElement=this.element.parentElement}componentDidRender(){this.open?this.dialogShown():this.dialogHidden()}componentDidUpdate(){this.trap.updateContainerElements(this.element)}componentDidLoad(){this.trap=a(this.element,{fallbackFocus:this.dialogElement,returnFocusOnDeactivate:!0}),this.open&&this.dialogShown()}disconnectedCallback(){this.dialogHidden()}render(){return e(o,null,e("div",{class:{"stzh-overlay":!0,"stzh-overlay--is-open":this.open}},e("div",{class:"stzh-overlay__backdrop"}),e("div",{class:"stzh-overlay__content"},e("div",{class:"stzh-overlay__content-inner",ref:t=>this.dialogElement=t,tabindex:"-1",role:"dialog","aria-label":this.a11yLabel,"aria-hidden":this.open?"false":"true"},e("slot",null)))))}get element(){return i(this)}};h.style=".sc-stzh-overlay-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-overlay-h{display:none}.sc-stzh-overlay-h *.sc-stzh-overlay,.sc-stzh-overlay-h *.sc-stzh-overlay::before,.sc-stzh-overlay-h *.sc-stzh-overlay::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-overlay-h{--backdrop-opacity:0.8}.stzh-overlay.sc-stzh-overlay{display:none;z-index:var(--stzh-z-index-overlay);position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:stretch;justify-content:stretch;-ms-flex-align:stretch;align-items:stretch}.stzh-overlay__backdrop.sc-stzh-overlay{z-index:1;background-color:var(--stzh-color-white);opacity:var(--backdrop-opacity);position:absolute;top:0;left:0;width:100%;height:100%}.stzh-overlay__content.sc-stzh-overlay{z-index:2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;position:relative;-ms-flex-positive:1;flex-grow:1;overflow:auto}.stzh-overlay__content-inner.sc-stzh-overlay{margin-top:auto;margin-bottom:auto;outline:none}.stzh-overlay--is-open.sc-stzh-overlay{display:-ms-flexbox;display:flex}";export{h as stzh_overlay}
@@ -1 +0,0 @@
1
- import{r as t,c as o,h as s,a as e,g as r}from"./p-9a5ebb1f.js";import{c as i,a as p,A as a,o as h,f as n,s as l,b as c}from"./p-cf6003d6.js";import{c as d}from"./p-40a19ce6.js";import{i as v}from"./p-86a29c35.js";import{f as z}from"./p-25a09313.js";import{m}from"./p-9111e257.js";import{w as f}from"./p-df2bb358.js";import{s as b,a as u}from"./p-2a5855f8.js";let x=0;const w=class{constructor(s){t(this,s),this.stzhOpen=o(this,"stzhOpen",7),this.stzhOpened=o(this,"stzhOpened",7),this.stzhClose=o(this,"stzhClose",7),this.stzhClosed=o(this,"stzhClosed",7),this.initialTouchX=null,this.initialTouchY=null,this.handleKeydown=t=>{27===t.keyCode&&this.hide()},this.onClickTrigger=()=>{this.toggle()},this.computePosition=async()=>{if(m("small").matches){const t=[h({mainAxis:this.distance,crossAxis:this.skidding}),n({padding:5}),l({padding:5})];"tooltip"===this.variant&&t.push(c({element:this.arrowElement,padding:5}));const{x:o=0,y:s=0,strategy:e="absolute",placement:r,middlewareData:p}=await i(this.element,this.dialogElement,{strategy:this.strategy,placement:this.placement,middleware:t});this.computedPlacement=r,Object.assign(this.dialogElement.style,{position:e,left:`${o}px`,top:`${s}px`}),"tooltip"===this.variant&&Object.assign(this.arrowElement.style,{left:null!=o?`${p.arrow.x}px`:"",top:null!=s?`${p.arrow.y}px`:""})}else Object.assign(this.dialogElement.style,{position:null,left:null,top:null}),"tooltip"===this.variant&&Object.assign(this.arrowElement.style,{left:null,top:null})},this.handleTouchStart=t=>{const o=t.changedTouches[0];this.initialTouchX=o.pageX,this.initialTouchY=o.pageY},this.handleTouchEnd=t=>{const o=t.changedTouches[0],s=o.pageX-this.initialTouchX;Math.abs(o.pageY-this.initialTouchY)>=70&&Math.abs(s)<=70&&this.hide(),this.initialTouchY=null,this.initialTouchX=null},this.open=!1,this.placement="bottom",this.variant="default",this.skidding=0,this.distance=void 0,this.label="",this.strategy="absolute",this.localization=void 0,this.computedPlacement=void 0}async show(){if(!this.open)return this.toggledByMethod=!0,this.open=!0,f(this.element,"stzhOpened")}async hide(){if(this.open)return this.toggledByMethod=!0,this.open=!1,f(this.element,"stzhClosed")}async toggle(){return this.open?await this.hide():await this.show()}async update(){return await this.computePosition()}handleOutsideClick(t){if(!this.open)return;const o=t.target!==this.dialogElement&&!1===this.dialogElement.contains(t.target),s=t.target===this.triggerElement||this.triggerElement.contains(t.target);o&&!s&&this.hide()}async openWatcher(t){if(t){this.toggledByMethod&&this.stzhOpen.emit({component:"stzh-popover"});const t={keyframes:[{opacity:"0"},{opacity:"1"}],options:{duration:m("small").matches?100:200,easing:"linear"}},o=function(){const t=m("small").matches;return{keyframes:[{transform:t?"translateY(-8px)":"translateY(100%)"},{transform:"translateY(0px)"}],options:{duration:t?100:200,easing:"linear"}}}();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]),this.dialogElement.style.willChange="transform, opacity, position, top, left, bottom, right",this.contentWrapperElement.hidden=!1,await Promise.all([u(this.contentWrapperElement,t.keyframes,t.options),u(m("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]),this.toggledByMethod&&this.stzhOpened.emit({component:"stzh-popover"})}else{this.toggledByMethod&&this.stzhClose.emit({component:"stzh-popover"});const t={keyframes:[{opacity:"1"},{opacity:"0"}],options:{duration:m("small").matches?200:300,easing:"linear"}},o=function(){const t=m("small").matches;return{keyframes:[{transform:"translateY(0px)"},{transform:t?"translateY(-8px)":"translateY(100%)"}],options:{duration:t?200:300,easing:"linear"}}}();await Promise.all([b(this.contentWrapperElement),b(this.contentElement),b(this.dialogElement)]),await Promise.all([u(this.contentWrapperElement,t.keyframes,t.options),u(m("small").matches?this.dialogElement:this.contentElement,o.keyframes,o.options)]),this.contentWrapperElement.hidden=!0,this.dialogElement.style.willChange="auto",this.toggledByMethod&&this.stzhClosed.emit({component:"stzh-popover"})}this.toggledByMethod=!1}distanceWatcher(t){this.distance="number"==typeof t?t:"tooltip"===this.variant?16:8}async componentWillLoad(){this.labelId="stzh-popover-label-"+x++,this.distanceWatcher(this.distance),this.localization||(this.localization=await z(this.element,"popover"))}popoverShown(){document.body.classList.add("stzh-popover-open");const t=v(this.triggerElement.firstElementChild);this.triggerElement.firstElementChild.setAttribute(t?"a11y-expanded":"aria-expanded","true"),this.trap&&this.trap.activate()}popoverHidden(){document.body.classList.remove("stzh-popover-open");const t=v(this.triggerElement.firstElementChild);this.triggerElement.firstElementChild.setAttribute(t?"a11y-expanded":"aria-expanded","false"),this.trap&&this.trap.deactivate()}componentDidRender(){this.computePosition(),this.open?this.popoverShown():this.popoverHidden()}componentDidUpdate(){this.trap.updateContainerElements(this.dialogElement)}componentDidLoad(){this.autoUpdateCleanup=p(this.element,this.dialogElement,this.computePosition),this.contentWrapperElement.hidden=!this.open,this.trap=d(this.dialogElement,{fallbackFocus:this.dialogElement,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0}),this.open&&this.popoverShown()}connectedCallback(){var t;let o=null===(t=this.triggerElement)||void 0===t?void 0:t.firstElementChild;o||(o=Array.from(this.element.children).find((t=>!t.hasAttribute("slot")))),o&&o.addEventListener("click",this.onClickTrigger)}disconnectedCallback(){this.autoUpdateCleanup&&this.autoUpdateCleanup(),this.triggerElement&&this.triggerElement.firstElementChild&&this.triggerElement.firstElementChild.removeEventListener("click",this.onClickTrigger)}render(){return s(e,null,s("div",{class:{"stzh-popover":!0,"stzh-popover--open":this.open,[`stzh-popover--placement-${this.computedPlacement}`]:!!this.computedPlacement,[`stzh-popover--${this.variant}`]:!!this.variant},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},s("div",{ref:t=>this.triggerElement=t,class:"stzh-popover__trigger"},s("slot",null)),s("div",{ref:t=>this.contentWrapperElement=t,class:"stzh-popover__content-wrapper"},s("div",{class:"stzh-popover__backdrop"}),s("div",{ref:t=>this.contentElement=t,class:"stzh-popover__content"},s("div",{ref:t=>this.dialogElement=t,class:"stzh-popover__dialog",role:"dialog",tabindex:"-1","aria-modal":"true","aria-labelledby":this.label?this.labelId:null,"aria-hidden":this.open?"false":"true",onKeyDown:this.handleKeydown},"tooltip"===this.variant&&s("div",{class:"stzh-popover__arrow",ref:t=>this.arrowElement=t,innerHTML:a}),s("div",{class:"stzh-popover__content-inner"},s("div",{class:"stzh-popover__content-slot"},s("slot",{name:"content"}),s("div",{class:"stzh-popover__action-slot"},s("slot",{name:"action"}))),s("div",{class:"stzh-popover__label-wrapper"},s("h2",{id:this.labelId,class:"stzh-popover__label"},this.label?this.label:s("slot",{name:"label"})),s("button",{class:"stzh-popover__close",onClick:()=>this.hide(),type:"button"},s("stzh-icon",{name:"close",class:"stzh-popover__icon"}),s("span",{class:"stzh-popover__vhidden"},this.localization.close)))))))))}get element(){return r(this)}static get watchers(){return{open:["openWatcher"],distance:["distanceWatcher"]}}};w.style=".sc-stzh-popover-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;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));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{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)}}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}.stzh-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";export{w as stzh_popover}
@@ -1 +0,0 @@
1
- function t(t){return t.split("-")[0]}function n(t){return t.split("-")[1]}function e(n){return["top","bottom"].includes(t(n))?"x":"y"}function o(t){return"y"===t?"height":"width"}function r(r,i,l){let{reference:a,floating:s}=r;const c=a.x+a.width/2-s.width/2,u=a.y+a.height/2-s.height/2,f=e(i),d=o(f),m=a[d]/2-s[d]/2,y="x"===f;let g;switch(t(i)){case"top":g={x:c,y:a.y-s.height};break;case"bottom":g={x:c,y:a.y+a.height};break;case"right":g={x:a.x+a.width,y:u};break;case"left":g={x:a.x-s.width,y:u};break;default:g={x:a.x,y:a.y}}switch(n(i)){case"start":g[f]-=m*(l&&y?-1:1);break;case"end":g[f]+=m*(l&&y?-1:1)}return g}function i(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function l(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function a(t,n){var e;void 0===n&&(n={});const{x:o,y:r,platform:a,rects:s,elements:c,strategy:u}=t,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:m="floating",altBoundary:y=!1,padding:g=0}=n,p=i(g),x=c[y?"floating"===m?"reference":"floating":m],h=l(await a.getClippingRect({element:null==(e=await(null==a.isElement?void 0:a.isElement(x)))||e?x:x.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:d,strategy:u})),w=l(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===m?{...s.floating,x:o,y:r}:s.reference,offsetParent:await(null==a.getOffsetParent?void 0:a.getOffsetParent(c.floating)),strategy:u}):s[m]);return{top:h.top-w.top+p.top,bottom:w.bottom-h.bottom+p.bottom,left:h.left-w.left+p.left,right:w.right-h.right+p.right}}const s=Math.min,c=Math.max;function u(t,n,e){return c(t,s(n,e))}const f=t=>({name:"arrow",options:t,async fn(r){const{element:l,padding:a=0}=null!=t?t:{},{x:s,y:c,placement:f,rects:d,platform:m}=r;if(null==l)return{};const y=i(a),g={x:s,y:c},p=e(f),x=n(f),h=o(p),w=await m.getDimensions(l),v="y"===p?"top":"left",b="y"===p?"bottom":"right",A=d.reference[h]+d.reference[p]-g[p]-d.floating[h],R=g[p]-d.reference[p],k=await(null==m.getOffsetParent?void 0:m.getOffsetParent(l));let P=k?"y"===p?k.clientHeight||0:k.clientWidth||0:0;0===P&&(P=d.floating[h]);const L=y[v],M=P-w[h]-y[b],T=P/2-w[h]/2+(A/2-R/2),z=u(L,T,M);return{[p]:g[p]-(("start"===x?y[v]:y[b])>0&&T!==z&&d.reference[h]<=d.floating[h]?T<L?L-T:M-T:0),data:{[p]:z,centerOffset:T-z}}}}),d={left:"right",right:"left",bottom:"top",top:"bottom"};function m(t){return t.replace(/left|right|bottom|top/g,(t=>d[t]))}const y={start:"end",end:"start"};function g(t){return t.replace(/start|end/g,(t=>y[t]))}const p=function(r){return void 0===r&&(r={}),{name:"flip",options:r,async fn(i){var l;const{placement:s,middlewareData:c,rects:u,initialPlacement:f,platform:d,elements:y}=i,{mainAxis:p=!0,crossAxis:x=!0,fallbackPlacements:h,fallbackStrategy:w="bestFit",flipAlignment:v=!0,...b}=r,A=t(s),R=[f,...h||(A!==f&&v?function(t){const n=m(t);return[g(t),n,g(n)]}(f):[m(f)])],k=await a(i,b),P=[];let L=(null==(l=c.flip)?void 0:l.overflows)||[];if(p&&P.push(k[A]),x){const{main:t,cross:r}=function(t,r,i){void 0===i&&(i=!1);const l=n(t),a=e(t),s=o(a);let c="x"===a?l===(i?"end":"start")?"right":"left":"start"===l?"bottom":"top";return r.reference[s]>r.floating[s]&&(c=m(c)),{main:c,cross:m(c)}}(s,u,await(null==d.isRTL?void 0:d.isRTL(y.floating)));P.push(k[t],k[r])}if(L=[...L,{placement:s,overflows:P}],!P.every((t=>t<=0))){var M,T;const t=(null!=(M=null==(T=c.flip)?void 0:T.index)?M:0)+1,n=R[t];if(n)return{data:{index:t,overflows:L},reset:{placement:n}};let e="bottom";switch(w){case"bestFit":{var z;const t=null==(z=L.map((t=>[t,t.overflows.filter((t=>t>0)).reduce(((t,n)=>t+n),0)])).sort(((t,n)=>t[1]-n[1]))[0])?void 0:z[0].placement;t&&(e=t);break}case"initialPlacement":e=f}if(s!==e)return{reset:{placement:e}}}return{}}}},x=function(o){return void 0===o&&(o=0),{name:"offset",options:o,async fn(r){const{x:i,y:l}=r,a=await async function(o,r){const{placement:i,platform:l,elements:a}=o,s=await(null==l.isRTL?void 0:l.isRTL(a.floating)),c=t(i),u=n(i),f="x"===e(i),d=["left","top"].includes(c)?-1:1,m=s&&f?-1:1,y="function"==typeof r?r(o):r;let{mainAxis:g,crossAxis:p,alignmentAxis:x}="number"==typeof y?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return u&&"number"==typeof x&&(p="end"===u?-1*x:x),f?{x:p*m,y:g*d}:{x:g*d,y:p*m}}(r,o);return{x:i+a.x,y:l+a.y,data:a}}}},h=function(n){return void 0===n&&(n={}),{name:"shift",options:n,async fn(o){const{x:r,y:i,placement:l}=o,{mainAxis:s=!0,crossAxis:c=!1,limiter:f={fn:t=>{let{x:n,y:e}=t;return{x:n,y:e}}},...d}=n,m={x:r,y:i},y=await a(o,d),g=e(t(l)),p="x"===g?"y":"x";let x=m[g],h=m[p];s&&(x=u(x+y["y"===g?"top":"left"],x,x-y["y"===g?"bottom":"right"])),c&&(h=u(h+y["y"===p?"top":"left"],h,h-y["y"===p?"bottom":"right"]));const w=f.fn({...o,[g]:x,[p]:h});return{...w,data:{x:w.x-r,y:w.y-i}}}}};function w(t){return t&&t.document&&t.location&&t.alert&&t.setInterval}function v(t){if(null==t)return window;if(!w(t)){const n=t.ownerDocument;return n&&n.defaultView||window}return t}function b(t){return v(t).getComputedStyle(t)}function A(t){return w(t)?"":t?(t.nodeName||"").toLowerCase():""}function R(){const t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map((t=>t.brand+"/"+t.version)).join(" "):navigator.userAgent}function k(t){return t instanceof v(t).HTMLElement}function P(t){return t instanceof v(t).Element}function L(t){return"undefined"!=typeof ShadowRoot&&(t instanceof v(t).ShadowRoot||t instanceof ShadowRoot)}function M(t){const{overflow:n,overflowX:e,overflowY:o}=b(t);return/auto|scroll|overlay|hidden/.test(n+o+e)}function T(t){return["table","td","th"].includes(A(t))}function z(t){const n=/firefox/i.test(R()),e=b(t);return"none"!==e.transform||"none"!==e.perspective||"paint"===e.contain||["transform","perspective"].includes(e.willChange)||n&&"filter"===e.willChange||n&&!!e.filter&&"none"!==e.filter}function B(){return!/^((?!chrome|android).)*safari/i.test(R())}const D=Math.min,F=Math.max,S=Math.round;function C(t,n,e){var o,r,i,l;void 0===n&&(n=!1),void 0===e&&(e=!1);const a=t.getBoundingClientRect();let s=1,c=1;n&&k(t)&&(s=t.offsetWidth>0&&S(a.width)/t.offsetWidth||1,c=t.offsetHeight>0&&S(a.height)/t.offsetHeight||1);const u=P(t)?v(t):window,f=!B()&&e,d=(a.left+(f&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/s,m=(a.top+(f&&null!=(i=null==(l=u.visualViewport)?void 0:l.offsetTop)?i:0))/c,y=a.width/s,g=a.height/c;return{width:y,height:g,top:m,right:d+y,bottom:m+g,left:d,x:d,y:m}}function O(t){return(n=t,(n instanceof v(n).Node?t.ownerDocument:t.document)||window.document).documentElement;var n}function E(t){return P(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function j(t){return C(O(t)).left+E(t).scrollLeft}function q(t,n,e){const o=k(n),r=O(n),i=C(t,o&&function(t){const n=C(t);return S(n.width)!==t.offsetWidth||S(n.height)!==t.offsetHeight}(n),"fixed"===e);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&"fixed"!==e)if(("body"!==A(n)||M(r))&&(l=E(n)),k(n)){const t=C(n,!0);a.x=t.x+n.clientLeft,a.y=t.y+n.clientTop}else r&&(a.x=j(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function V(t){return"html"===A(t)?t:t.assignedSlot||t.parentNode||(L(t)?t.host:null)||O(t)}function X(t){return k(t)&&"fixed"!==b(t).position?function(t){let{offsetParent:n}=t,e=t,o=!1;for(;e&&e!==n;){const{assignedSlot:t}=e;if(t){let r=t.offsetParent;if("contents"===b(t).display){const n=t.hasAttribute("style"),o=t.style.display;t.style.display=b(e).display,r=t.offsetParent,t.style.display=o,n||t.removeAttribute("style")}e=t,n!==r&&(n=r,o=!0)}else if(L(e)&&e.host&&o)break;e=L(e)&&e.host||e.parentNode}return n}(t):null}function Y(t){const n=v(t);let e=X(t);for(;e&&T(e)&&"static"===b(e).position;)e=X(e);return e&&("html"===A(e)||"body"===A(e)&&"static"===b(e).position&&!z(e))?n:e||function(t){let n=V(t);for(L(n)&&(n=n.host);k(n)&&!["html","body"].includes(A(n));){if(z(n))return n;{const t=n.parentNode;n=L(t)?t.host:t}}return null}(t)||n}function Z(t){if(k(t))return{width:t.offsetWidth,height:t.offsetHeight};const n=C(t);return{width:n.width,height:n.height}}function G(t){const n=V(t);return["html","body","#document"].includes(A(n))?t.ownerDocument.body:k(n)&&M(n)?n:G(n)}function H(t,n){var e;void 0===n&&(n=[]);const o=G(t),r=o===(null==(e=t.ownerDocument)?void 0:e.body),i=v(o),l=r?[i].concat(i.visualViewport||[],M(o)?o:[]):o,a=n.concat(l);return r?a:a.concat(H(l))}function I(t,n,e){return"viewport"===n?l(function(t,n){const e=v(t),o=O(t),r=e.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,s=0;if(r){i=r.width,l=r.height;const t=B();(t||!t&&"fixed"===n)&&(a=r.offsetLeft,s=r.offsetTop)}return{width:i,height:l,x:a,y:s}}(t,e)):P(n)?function(t,n){const e=C(t,!1,"fixed"===n),o=e.top+t.clientTop,r=e.left+t.clientLeft;return{top:o,left:r,x:r,y:o,right:r+t.clientWidth,bottom:o+t.clientHeight,width:t.clientWidth,height:t.clientHeight}}(n,e):l(function(t){var n;const e=O(t),o=E(t),r=null==(n=t.ownerDocument)?void 0:n.body,i=F(e.scrollWidth,e.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=F(e.scrollHeight,e.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+j(t);const s=-o.scrollTop;return"rtl"===b(r||e).direction&&(a+=F(e.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:s}}(O(t)))}function J(t){const n=H(t),e=["absolute","fixed"].includes(b(t).position)&&k(t)?Y(t):t;return P(e)?n.filter((t=>P(t)&&function(t,n){const e=null==n.getRootNode?void 0:n.getRootNode();if(t.contains(n))return!0;if(e&&L(e)){let e=n;do{if(e&&t===e)return!0;e=e.parentNode||e.host}while(e)}return!1}(t,e)&&"body"!==A(t))):[]}const K={getClippingRect:function(t){let{element:n,boundary:e,rootBoundary:o,strategy:r}=t;const i=[..."clippingAncestors"===e?J(n):[].concat(e),o],l=i.reduce(((t,e)=>{const o=I(n,e,r);return t.top=F(o.top,t.top),t.right=D(o.right,t.right),t.bottom=D(o.bottom,t.bottom),t.left=F(o.left,t.left),t}),I(n,i[0],r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:n,offsetParent:e,strategy:o}=t;const r=k(e),i=O(e);if(e===i)return n;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==A(e)||M(i))&&(l=E(e)),k(e))){const t=C(e,!0);a.x=t.x+e.clientLeft,a.y=t.y+e.clientTop}return{...n,x:n.x-l.scrollLeft+a.x,y:n.y-l.scrollTop+a.y}},isElement:P,getDimensions:Z,getOffsetParent:Y,getDocumentElement:O,getElementRects:t=>{let{reference:n,floating:e,strategy:o}=t;return{reference:q(n,Y(e),o),floating:{...Z(e),x:0,y:0}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>"rtl"===b(t).direction};function N(t,n,e,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=o,s=r&&!a,c=i&&!a,u=s||c?[...P(t)?H(t):[],...H(n)]:[];u.forEach((t=>{s&&t.addEventListener("scroll",e,{passive:!0}),c&&t.addEventListener("resize",e)}));let f,d=null;if(l){let o=!0;d=new ResizeObserver((()=>{o||e(),o=!1})),P(t)&&!a&&d.observe(t),d.observe(n)}let m=a?C(t):null;return a&&function n(){const o=C(t);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||e(),m=o,f=requestAnimationFrame(n)}(),e(),()=>{var t;u.forEach((t=>{s&&t.removeEventListener("scroll",e),c&&t.removeEventListener("resize",e)})),null==(t=d)||t.disconnect(),d=null,a&&cancelAnimationFrame(f)}}const Q=(t,n,e)=>(async(t,n,e)=>{const{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:a}=e,s=await(null==a.isRTL?void 0:a.isRTL(n));let c=await a.getElementRects({reference:t,floating:n,strategy:i}),{x:u,y:f}=r(c,o,s),d=o,m={},y=0;for(let g=0;g<l.length;g++){const{name:e,fn:p}=l[g],{x,y:h,data:w,reset:v}=await p({x:u,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:m,rects:c,platform:a,elements:{reference:t,floating:n}});u=null!=x?x:u,f=null!=h?h:f,m={...m,[e]:{...m[e],...w}},v&&y<=50&&(y++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await a.getElementRects({reference:t,floating:n,strategy:i}):v.rects),({x:u,y:f}=r(c,d,s))),g=-1)}return{x:u,y:f,placement:d,strategy:i,middlewareData:m}})(t,n,{platform:K,...e}),U='<svg width="16" height="8" viewBox="0 0 16 8" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M0 8L16 8L8 0L0 8Z" fill="currentColor"/>\n</svg>\n';export{U as A,N as a,f as b,Q as c,p as f,x as o,h as s}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,c,t,s){function o(e){return e instanceof t?e:new t((function(c){c(e)}))}return new(t||(t=Promise))((function(t,h){function r(e){try{n(s.next(e))}catch(c){h(c)}}function i(e){try{n(s["throw"](e))}catch(c){h(c)}}function n(e){e.done?t(e.value):o(e.value).then(r,i)}n((s=s.apply(e,c||[])).next())}))};var __generator=this&&this.__generator||function(e,c){var t={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},s,o,h,r;return r={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function i(e){return function(c){return n([e,c])}}function n(r){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,o&&(h=r[0]&2?o["return"]:r[0]?o["throw"]||((h=o["return"])&&h.call(o),0):o.next)&&!(h=h.call(o,r[1])).done)return h;if(o=0,h)r=[r[0]&2,h.value];switch(r[0]){case 0:case 1:h=r;break;case 4:t.label++;return{value:r[1],done:false};case 5:t.label++;o=r[1];r=[0];continue;case 7:r=t.ops.pop();t.trys.pop();continue;default:if(!(h=t.trys,h=h.length>0&&h[h.length-1])&&(r[0]===6||r[0]===2)){t=0;continue}if(r[0]===3&&(!h||r[1]>h[0]&&r[1]<h[3])){t.label=r[1];break}if(r[0]===6&&t.label<h[1]){t.label=h[1];h=r;break}if(h&&t.label<h[2]){t.label=h[2];t.ops.push(r);break}if(h[2])t.ops.pop();t.trys.pop();continue}r=c.call(e,t)}catch(i){r=[6,i];o=0}finally{s=h=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};System.register(["./p-dbdc01c7.system.js","./p-791bc813.system.js","./p-a408bfba.system.js","./p-d2f6fb1b.system.js"],(function(e){"use strict";var c,t,s,o,h,r,i;return{setters:[function(e){c=e.r;t=e.c;s=e.h;o=e.g},function(e){h=e.h},function(e){r=e.f},function(e){i=e.S}],execute:function(){var n='<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M2 11.3333L9 18.6667L22 5.33334" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />\n</svg>\n';var a=".sc-stzh-checkbox-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-checkbox-h{display:none}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkbox-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-checkbox-h .sc-stzh-checkbox-s>stzh-text{--color:inherit}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkbox__marker-text.sc-stzh-checkbox{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkbox__description-wrapper.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox__description.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkbox__error.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox__error-list.sc-stzh-checkbox{list-style:none;margin:0;padding:0}.stzh-checkbox__description.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkbox__description-long.sc-stzh-checkbox{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkbox__description-long-popover.sc-stzh-checkbox{--width:auto;--max-width:27.3125rem}.stzh-checkbox__description-long-popover[open].sc-stzh-checkbox:not([open=false]) .stzh-checkbox__description-long-button.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__description-long-button.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-checkbox__description-long-button.sc-stzh-checkbox:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox stzh-icon.stzh-checkbox__description-long-icon.sc-stzh-checkbox{--size:var(--stzh-icon-size-xsmall)}.stzh-checkbox--has-error.sc-stzh-checkbox .stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox--has-description.sc-stzh-checkbox .stzh-checkbox__description.sc-stzh-checkbox{margin-top:var(--stzh-space-xxsmall)}.stzh-checkbox__field-wrapper.sc-stzh-checkbox{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:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-checkbox__input.sc-stzh-checkbox{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-checkbox__mark.sc-stzh-checkbox{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:var(--stzh-form-input-border-radius);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-checkbox__check.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;opacity:0;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__label.sc-stzh-checkbox{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-checkbox__label.sc-stzh-checkbox:empty{display:none}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:focus:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:focus~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{opacity:1}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-error)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__field-wrapper.sc-stzh-checkbox{cursor:not-allowed}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-grey61)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-grey70)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:transparent}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__mark.sc-stzh-checkbox{background-color:var(--stzh-color-black8)}";var l=0;var b=e("stzh_checkbox",function(){function e(e){var s=this;c(this,e);this.stzhChange=t(this,"stzhChange",7);this.stzhFocus=t(this,"stzhFocus",7);this.stzhBlur=t(this,"stzhBlur",7);this.onInput=function(e){s.checked=s.input.checked;s.stzhChange.emit({component:"stzh-checkbox",originalEvent:e,value:s.value,checked:s.checked})};this.onFocus=function(e){var c=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(c);s.stzhFocus.emit({component:"stzh-checkbox",originalEvent:e})};this.onBlur=function(e){var c=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(c);s.stzhBlur.emit({component:"stzh-checkbox",originalEvent:e})};this.localization=undefined;this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.checked=false;this.label="";this.description=undefined;this.descriptionLong=undefined;this.showMarker=false;this.error=undefined;this.a11yDescribedby=""}e.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.input.focus();return[2]}))}))};e.prototype.errorWatcher=function(e){if(typeof e==="string"){try{this._error=JSON.parse(e)}catch(c){if(e){this._error=[e]}else{this._error=[]}}}else if(e){this._error=e}else{this._error=[]}this.invalid=this._error.length>0};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(c){switch(c.label){case 0:this.inputId="stzh-checkbox-".concat(l++);this.errorWatcher(this.error);if(!!this.localization)return[3,2];e=this;return[4,r(this.element,"checkbox")];case 1:e.localization=c.sent();c.label=2;case 2:return[2]}}))}))};e.prototype.render=function(){var e=this;var c=h(this.element,"description")||!!this.description;var t=h(this.element,"description-long")||!!this.descriptionLong;var o=h(this.element,"error")||!!this.error;var r={"stzh-checkbox":true,"stzh-checkbox--has-description":c,"stzh-checkbox--has-description-long":t,"stzh-checkbox--has-error":o,"stzh-checkbox--is-required":this.required,"stzh-checkbox--is-invalid":this.invalid,"stzh-checkbox--is-disabled":this.disabled};return s("div",{class:r},s("label",{class:"stzh-checkbox__field-wrapper"},s("input",{class:"stzh-checkbox__input",ref:function(c){return e.input=c},type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),s("div",{class:"stzh-checkbox__mark"},s("div",{class:"stzh-checkbox__check",innerHTML:n})),s("div",{class:"stzh-checkbox__label"},this.label?this.label:s("slot",null),this.showMarker&&s("span",{class:"stzh-checkbox__marker"},s("span",{class:"stzh-checkbox__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),s("span",{class:"stzh-checkbox__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),s(i,{classPrefix:"stzh-checkbox",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:t,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))};Object.defineProperty(e.prototype,"element",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{error:["errorWatcher"]}},enumerable:false,configurable:true});return e}());b.style=a}}}));