@oiz/stzh-components 2.0.0-beta → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (272) hide show
  1. package/dist/cjs/{app-globals-58a084a9.js → app-globals-ec8cc33e.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-accordion-item.cjs.entry.js +33 -15
  4. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -9
  5. package/dist/cjs/stzh-badge_3.cjs.entry.js +17 -7
  6. package/dist/cjs/stzh-card-list.cjs.entry.js +19 -20
  7. package/dist/cjs/stzh-card.cjs.entry.js +34 -16
  8. package/dist/cjs/stzh-chip-select.cjs.entry.js +52 -4
  9. package/dist/cjs/stzh-chip.cjs.entry.js +3 -1
  10. package/dist/cjs/stzh-components.cjs.js +2 -2
  11. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  20. package/dist/cjs/stzh-link.cjs.entry.js +8 -4
  21. package/dist/cjs/stzh-menu_2.cjs.entry.js +6 -2
  22. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-sortable.cjs.entry.js +3 -2
  27. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  28. package/dist/cjs/stzh-upload.cjs.entry.js +47 -4
  29. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  31. package/dist/collection/assets/icons/mono/code-window.svg +3 -0
  32. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +34 -8
  33. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +123 -14
  34. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +9 -0
  35. package/dist/collection/components/stzh-actionset/stzh-actionset.js +1 -9
  36. package/dist/collection/components/stzh-badge/stzh-badge.css +22 -2
  37. package/dist/collection/components/stzh-badge/stzh-badge.js +25 -1
  38. package/dist/collection/components/stzh-button/stzh-button.js +45 -5
  39. package/dist/collection/components/stzh-card/stzh-card.css +2 -14
  40. package/dist/collection/components/stzh-card/stzh-card.js +37 -37
  41. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -4
  42. package/dist/collection/components/stzh-card-list/stzh-card-list.js +22 -49
  43. package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +2 -2
  44. package/dist/collection/components/stzh-chip/stzh-chip.js +38 -1
  45. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +80 -0
  46. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +213 -3
  47. package/dist/collection/components/stzh-cspace/stzh-cspace.css +87 -176
  48. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -8
  49. package/dist/collection/components/stzh-datatable/stzh-datatable.css +5 -0
  50. package/dist/collection/components/stzh-dialog/stzh-dialog.css +9 -19
  51. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +16 -16
  52. package/dist/collection/components/stzh-heading/stzh-heading.css +5 -15
  53. package/dist/collection/components/stzh-hspace/stzh-hspace.css +19 -24
  54. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +45 -32
  55. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  56. package/dist/collection/components/stzh-input/stzh-input.js +2 -2
  57. package/dist/collection/components/stzh-link/stzh-link.js +44 -4
  58. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +42 -2
  59. package/dist/collection/components/stzh-message/stzh-message.css +5 -0
  60. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -8
  61. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +226 -337
  62. package/dist/collection/components/stzh-richtext/stzh-richtext.css +88 -129
  63. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +8 -8
  64. package/dist/collection/components/stzh-sortable/stzh-sortable.css +12 -6
  65. package/dist/collection/components/stzh-sortable/stzh-sortable.js +2 -1
  66. package/dist/collection/components/stzh-table/stzh-table.css +5 -0
  67. package/dist/collection/components/stzh-upload/stzh-upload.css +16 -7
  68. package/dist/collection/components/stzh-upload/stzh-upload.js +46 -3
  69. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +1 -1
  70. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -7
  71. package/dist/collection/components/stzh-vspace/stzh-vspace.css +19 -24
  72. package/dist/collection/pages/meinkonto.stories.js +1 -1
  73. package/dist/components/index.js +1 -1
  74. package/dist/components/stzh-accordion-item.js +51 -16
  75. package/dist/components/stzh-actionset2.js +1 -9
  76. package/dist/components/stzh-badge2.js +10 -3
  77. package/dist/components/stzh-button2.js +11 -5
  78. package/dist/components/stzh-card-list.js +20 -22
  79. package/dist/components/stzh-card.js +34 -17
  80. package/dist/components/stzh-chip-select.js +63 -6
  81. package/dist/components/stzh-chip2.js +5 -1
  82. package/dist/components/stzh-cspace.js +1 -1
  83. package/dist/components/stzh-datamessagelist-item.js +1 -1
  84. package/dist/components/stzh-datatable.js +1 -1
  85. package/dist/components/stzh-dialog.js +1 -1
  86. package/dist/components/stzh-ghettobox2.js +1 -1
  87. package/dist/components/stzh-heading2.js +1 -1
  88. package/dist/components/stzh-hspace.js +1 -1
  89. package/dist/components/stzh-icon-sprite.js +1 -1
  90. package/dist/components/stzh-input2.js +2 -2
  91. package/dist/components/stzh-link2.js +10 -4
  92. package/dist/components/stzh-menu-item2.js +8 -2
  93. package/dist/components/stzh-message.js +1 -1
  94. package/dist/components/stzh-pagetitle.js +1 -1
  95. package/dist/components/stzh-portal-mitwirken.js +1 -1
  96. package/dist/components/stzh-richtext2.js +1 -1
  97. package/dist/components/stzh-saptcha.js +1 -1
  98. package/dist/components/stzh-sortable2.js +3 -2
  99. package/dist/components/stzh-table.js +1 -1
  100. package/dist/components/stzh-upload.js +47 -4
  101. package/dist/components/stzh-vbz-ticker.js +1 -1
  102. package/dist/components/stzh-vspace.js +1 -1
  103. package/dist/esm/{app-globals-6b6ff890.js → app-globals-e66420b3.js} +1 -1
  104. package/dist/esm/loader.js +2 -2
  105. package/dist/esm/stzh-accordion-item.entry.js +33 -15
  106. package/dist/esm/stzh-actionset.entry.js +1 -9
  107. package/dist/esm/stzh-badge_3.entry.js +17 -7
  108. package/dist/esm/stzh-card-list.entry.js +19 -20
  109. package/dist/esm/stzh-card.entry.js +34 -16
  110. package/dist/esm/stzh-chip-select.entry.js +52 -4
  111. package/dist/esm/stzh-chip.entry.js +3 -1
  112. package/dist/esm/stzh-components.js +2 -2
  113. package/dist/esm/stzh-cspace.entry.js +1 -1
  114. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  115. package/dist/esm/stzh-datatable.entry.js +1 -1
  116. package/dist/esm/stzh-dialog.entry.js +1 -1
  117. package/dist/esm/stzh-ghettobox_2.entry.js +2 -2
  118. package/dist/esm/stzh-heading.entry.js +1 -1
  119. package/dist/esm/stzh-hspace.entry.js +1 -1
  120. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  121. package/dist/esm/stzh-input.entry.js +2 -2
  122. package/dist/esm/stzh-link.entry.js +8 -4
  123. package/dist/esm/stzh-menu_2.entry.js +6 -2
  124. package/dist/esm/stzh-message.entry.js +1 -1
  125. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  126. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  127. package/dist/esm/stzh-saptcha.entry.js +1 -1
  128. package/dist/esm/stzh-sortable.entry.js +3 -2
  129. package/dist/esm/stzh-table.entry.js +1 -1
  130. package/dist/esm/stzh-upload.entry.js +47 -4
  131. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  132. package/dist/esm/stzh-vspace.entry.js +1 -1
  133. package/dist/esm-es5/app-globals-e66420b3.js +1 -0
  134. package/dist/esm-es5/loader.js +1 -1
  135. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  136. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  137. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  138. package/dist/esm-es5/stzh-card-list.entry.js +1 -1
  139. package/dist/esm-es5/stzh-card.entry.js +1 -1
  140. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  141. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  142. package/dist/esm-es5/stzh-components.js +1 -1
  143. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  144. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  145. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  146. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  147. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  148. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  149. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  150. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  151. package/dist/esm-es5/stzh-input.entry.js +1 -1
  152. package/dist/esm-es5/stzh-link.entry.js +1 -1
  153. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  154. package/dist/esm-es5/stzh-message.entry.js +1 -1
  155. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  156. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  157. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  158. package/dist/esm-es5/stzh-sortable.entry.js +1 -1
  159. package/dist/esm-es5/stzh-table.entry.js +1 -1
  160. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  161. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  162. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  163. package/dist/stzh-components/assets/icons/mono/code-window.svg +3 -0
  164. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +45 -32
  165. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  166. package/dist/stzh-components/{p-332e4fd3.entry.js → p-03ea86bd.entry.js} +1 -1
  167. package/dist/stzh-components/p-051bc2a8.entry.js +1 -0
  168. package/dist/stzh-components/{p-13f44000.entry.js → p-0711e511.entry.js} +1 -1
  169. package/dist/stzh-components/p-073c89b1.system.entry.js +1 -0
  170. package/dist/stzh-components/{p-8cbc987f.system.entry.js → p-1440163c.system.entry.js} +1 -1
  171. package/dist/stzh-components/p-18958371.entry.js +1 -0
  172. package/dist/stzh-components/p-20ef4a20.system.entry.js +1 -0
  173. package/dist/stzh-components/{p-8a9e588e.system.entry.js → p-21566d65.system.entry.js} +1 -1
  174. package/dist/stzh-components/{p-5975c355.system.entry.js → p-22701389.system.entry.js} +1 -1
  175. package/dist/stzh-components/p-252d3178.entry.js +1 -0
  176. package/dist/stzh-components/p-2ca4a828.system.entry.js +1 -0
  177. package/dist/stzh-components/p-3042b23e.entry.js +1 -0
  178. package/dist/stzh-components/p-3b912468.system.entry.js +1 -0
  179. package/dist/stzh-components/p-3beb58d6.system.entry.js +1 -0
  180. package/dist/stzh-components/p-3f0363db.entry.js +1 -0
  181. package/dist/stzh-components/{p-b084fcbf.system.entry.js → p-530252c6.system.entry.js} +1 -1
  182. package/dist/stzh-components/{p-3b27a43f.system.entry.js → p-5353ba86.system.entry.js} +2 -2
  183. package/dist/stzh-components/p-55cdbf79.entry.js +1 -0
  184. package/dist/stzh-components/p-562e6c52.entry.js +1 -0
  185. package/dist/stzh-components/{p-b9295dc2.entry.js → p-5f4eb46c.entry.js} +1 -1
  186. package/dist/stzh-components/p-62db1e59.entry.js +1 -0
  187. package/dist/stzh-components/{p-63d8db7b.entry.js → p-6425898c.entry.js} +1 -1
  188. package/dist/stzh-components/p-676fd54d.entry.js +1 -0
  189. package/dist/stzh-components/{p-e7a84e53.system.entry.js → p-684c345e.system.entry.js} +1 -1
  190. package/dist/stzh-components/{p-8f16b0ac.entry.js → p-713ae713.entry.js} +1 -1
  191. package/dist/stzh-components/p-764ba190.entry.js +1 -0
  192. package/dist/stzh-components/p-786a92d4.system.entry.js +1 -0
  193. package/dist/stzh-components/p-796ae62c.system.entry.js +1 -0
  194. package/dist/stzh-components/p-7ec2f3fd.entry.js +9 -0
  195. package/dist/stzh-components/p-80d70586.entry.js +1 -0
  196. package/dist/stzh-components/p-838df84a.system.entry.js +1 -0
  197. package/dist/stzh-components/p-84ab53cc.system.entry.js +1 -0
  198. package/dist/stzh-components/p-85161133.js +1 -0
  199. package/dist/stzh-components/p-864d7c50.entry.js +1 -0
  200. package/dist/stzh-components/p-8b6de2c0.system.entry.js +1 -0
  201. package/dist/stzh-components/{p-ab455116.system.entry.js → p-8c648042.system.entry.js} +1 -1
  202. package/dist/stzh-components/p-929dbdf1.system.entry.js +1 -0
  203. package/dist/stzh-components/p-9469b812.entry.js +1 -0
  204. package/dist/stzh-components/p-9e716229.entry.js +1 -0
  205. package/dist/stzh-components/p-a3fa6122.system.entry.js +1 -0
  206. package/dist/stzh-components/p-b391d962.system.entry.js +1 -0
  207. package/dist/stzh-components/p-b462a61f.entry.js +1 -0
  208. package/dist/stzh-components/{p-5987573e.system.entry.js → p-b5a85078.system.entry.js} +1 -1
  209. package/dist/stzh-components/p-b70bc70c.system.js +1 -0
  210. package/dist/stzh-components/{p-b9382599.entry.js → p-bb3c1249.entry.js} +1 -1
  211. package/dist/stzh-components/{p-b636a18a.system.entry.js → p-bbe4e3d1.system.entry.js} +1 -1
  212. package/dist/stzh-components/p-c4fc6433.system.entry.js +1 -0
  213. package/dist/stzh-components/p-cb1d4678.entry.js +1 -0
  214. package/dist/stzh-components/p-ccd30d73.system.entry.js +1 -0
  215. package/dist/stzh-components/p-cd795307.entry.js +1 -0
  216. package/dist/stzh-components/{p-c692e405.entry.js → p-cdc9e600.entry.js} +1 -1
  217. package/dist/stzh-components/p-d1552460.system.entry.js +1 -0
  218. package/dist/stzh-components/p-e3e3e88c.system.js +1 -0
  219. package/dist/stzh-components/p-eb61c369.entry.js +1 -0
  220. package/dist/stzh-components/p-ebeb8d7b.system.entry.js +1 -0
  221. package/dist/stzh-components/p-eca1732f.entry.js +1 -0
  222. package/dist/stzh-components/p-f24db7e8.system.entry.js +1 -0
  223. package/dist/stzh-components/stzh-components.css +1 -1
  224. package/dist/stzh-components/stzh-components.esm.js +1 -1
  225. package/dist/stzh-components/stzh-components.js +1 -1
  226. package/dist/types/components/stzh-badge/stzh-badge.d.ts +2 -0
  227. package/dist/types/components.d.ts +196 -28
  228. package/dist/types/index.d.ts +6 -1
  229. package/dist/vscode-data.json +180 -19
  230. package/package.json +1 -1
  231. package/dist/esm-es5/app-globals-6b6ff890.js +0 -1
  232. package/dist/stzh-components/p-0b8de542.system.entry.js +0 -1
  233. package/dist/stzh-components/p-0d5522dc.system.entry.js +0 -1
  234. package/dist/stzh-components/p-0efe125f.system.entry.js +0 -1
  235. package/dist/stzh-components/p-2818488f.entry.js +0 -1
  236. package/dist/stzh-components/p-373f79e8.entry.js +0 -1
  237. package/dist/stzh-components/p-3ac93a01.entry.js +0 -1
  238. package/dist/stzh-components/p-59c323ce.entry.js +0 -1
  239. package/dist/stzh-components/p-6354fee3.entry.js +0 -1
  240. package/dist/stzh-components/p-653c6bbc.entry.js +0 -1
  241. package/dist/stzh-components/p-67f906b1.entry.js +0 -1
  242. package/dist/stzh-components/p-6a81e64b.entry.js +0 -1
  243. package/dist/stzh-components/p-75cdc8a6.system.entry.js +0 -1
  244. package/dist/stzh-components/p-7ad87d98.system.entry.js +0 -1
  245. package/dist/stzh-components/p-7f9f9a8d.entry.js +0 -1
  246. package/dist/stzh-components/p-83b1e379.entry.js +0 -9
  247. package/dist/stzh-components/p-86bc421e.system.entry.js +0 -1
  248. package/dist/stzh-components/p-8aebb240.entry.js +0 -1
  249. package/dist/stzh-components/p-938ef748.entry.js +0 -1
  250. package/dist/stzh-components/p-9bda100f.system.js +0 -1
  251. package/dist/stzh-components/p-a99d3e97.system.entry.js +0 -1
  252. package/dist/stzh-components/p-af2664fc.system.entry.js +0 -1
  253. package/dist/stzh-components/p-b9c3f3cc.entry.js +0 -1
  254. package/dist/stzh-components/p-bd178c32.system.entry.js +0 -1
  255. package/dist/stzh-components/p-c013a00b.system.entry.js +0 -1
  256. package/dist/stzh-components/p-c456c04b.system.entry.js +0 -1
  257. package/dist/stzh-components/p-c499e04d.entry.js +0 -1
  258. package/dist/stzh-components/p-c83e4fec.system.entry.js +0 -1
  259. package/dist/stzh-components/p-ca062c11.system.js +0 -1
  260. package/dist/stzh-components/p-ce28428b.entry.js +0 -1
  261. package/dist/stzh-components/p-cfaac121.js +0 -1
  262. package/dist/stzh-components/p-d11a70e2.system.entry.js +0 -1
  263. package/dist/stzh-components/p-d1dba399.system.entry.js +0 -1
  264. package/dist/stzh-components/p-d2b5e066.entry.js +0 -1
  265. package/dist/stzh-components/p-d54f04c8.system.entry.js +0 -1
  266. package/dist/stzh-components/p-d645d645.entry.js +0 -1
  267. package/dist/stzh-components/p-da7b363e.entry.js +0 -1
  268. package/dist/stzh-components/p-de017b87.system.entry.js +0 -1
  269. package/dist/stzh-components/p-e009bfdc.entry.js +0 -1
  270. package/dist/stzh-components/p-f167eaa4.system.entry.js +0 -1
  271. package/dist/stzh-components/p-f2ee016a.entry.js +0 -1
  272. package/dist/stzh-components/p-ffa1e9dd.system.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,h as s,a as o,c as r,F as e,g as n}from"./p-93e8e31f.js";import{h}from"./p-1f57d28e.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.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.target="",this.type="button",this.disabled=!1,this.active=!1,this.label="",this.effect="default",this.iconOnly=!1,this.a11yDescribedby="",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())}}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--fullwidth":this.fullwidth,"stzh-button--has-icon":t,"stzh-button--has-icon-only":this.iconOnly,"stzh-button--has-badge":!!this.badge,"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,target:this.target,class:r,"aria-label":this.a11yLabel,"aria-describedby":this.a11yDescribedby,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,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,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)}.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:var(--stzh-color-grey5)}.stzh-button--is-disabled.sc-stzh-button .stzh-button__mark.sc-stzh-button{background-color:var(--stzh-color-grey5)}.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 +1 @@
1
- import{r as t,h as s,a,g as h}from"./p-93e8e31f.js";import{f as i}from"./p-25a09313.js";let e=0;const r=class{constructor(s){t(this,s),this.numbers=[],this._numbers=[],this.value="",this.name="saptcha",this.invalid=!1,this.disabled=!1}numbersWatcher(t){this._numbers="string"==typeof t?JSON.parse(t):t}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.saptchaId="stzh-saptcha-"+e++,this.numbersWatcher(this.numbers),this.errorWatcher(this.error),this.localization||(this.localization=await i(this.element,"saptcha"))}render(){return s(a,null,s("div",{class:{"stzh-saptcha":!0}},s("div",{class:"stzh-saptcha__box"},s("div",{class:"stzh-saptcha__info",id:`${this.saptchaId}-info`},this.localization.info),s("div",{id:`${this.saptchaId}-question`},s("div",{class:"stzh-saptcha__question"},this.localization.question),s("div",{class:"stzh-saptcha__answer"},this._numbers.map(((t,a)=>s("span",{class:"stzh-saptcha__number"},t,a<this._numbers.length-1&&(a===this._numbers.length-2?this.localization.answerOr:", ")))))),s("stzh-input",{class:"stzh-saptcha__input",label:this.localization.answer,name:this.name,invalid:this.invalid,error:this.error,disabled:this.disabled,value:this.value,required:!0,"show-marker":!0,a11yDescribedby:`${this.saptchaId}-info ${this.saptchaId}-question`}))))}get element(){return h(this)}static get watchers(){return{numbers:["numbersWatcher"],error:["errorWatcher"]}}};r.style=".sc-stzh-saptcha-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-saptcha-h{display:none}.sc-stzh-saptcha-h *.sc-stzh-saptcha,.sc-stzh-saptcha-h *.sc-stzh-saptcha::before,.sc-stzh-saptcha-h *.sc-stzh-saptcha::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);background-color:var(--stzh-section-highlight-background-color)}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-xlarge)}}.stzh-saptcha__info.sc-stzh-saptcha,.stzh-saptcha__question.sc-stzh-saptcha{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)}.stzh-saptcha__answer.sc-stzh-saptcha{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-medium)}}";export{r as stzh_saptcha}
1
+ import{r as t,h as s,a,g as h}from"./p-93e8e31f.js";import{f as i}from"./p-25a09313.js";let e=0;const r=class{constructor(s){t(this,s),this.numbers=[],this._numbers=[],this.value="",this.name="saptcha",this.invalid=!1,this.disabled=!1}numbersWatcher(t){this._numbers="string"==typeof t?JSON.parse(t):t}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.saptchaId="stzh-saptcha-"+e++,this.numbersWatcher(this.numbers),this.errorWatcher(this.error),this.localization||(this.localization=await i(this.element,"saptcha"))}render(){return s(a,null,s("div",{class:{"stzh-saptcha":!0}},s("div",{class:"stzh-saptcha__box"},s("div",{class:"stzh-saptcha__info",id:`${this.saptchaId}-info`},this.localization.info),s("div",{id:`${this.saptchaId}-question`},s("div",{class:"stzh-saptcha__question"},this.localization.question),s("div",{class:"stzh-saptcha__answer"},this._numbers.map(((t,a)=>s("span",{class:"stzh-saptcha__number"},t,a<this._numbers.length-1&&(a===this._numbers.length-2?this.localization.answerOr:", ")))))),s("stzh-input",{class:"stzh-saptcha__input",label:this.localization.answer,name:this.name,invalid:this.invalid,error:this.error,disabled:this.disabled,value:this.value,required:!0,"show-marker":!0,a11yDescribedby:`${this.saptchaId}-info ${this.saptchaId}-question`}))))}get element(){return h(this)}static get watchers(){return{numbers:["numbersWatcher"],error:["errorWatcher"]}}};r.style=".sc-stzh-saptcha-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-saptcha-h{display:none}.sc-stzh-saptcha-h *.sc-stzh-saptcha,.sc-stzh-saptcha-h *.sc-stzh-saptcha::before,.sc-stzh-saptcha-h *.sc-stzh-saptcha::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-xlarge);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);background-color:var(--stzh-section-highlight-background-color)}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-saptcha__box.sc-stzh-saptcha{padding-right:var(--stzh-space-xlarge)}}.stzh-saptcha__info.sc-stzh-saptcha,.stzh-saptcha__question.sc-stzh-saptcha{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)}.stzh-saptcha__answer.sc-stzh-saptcha{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-regular-font-size);line-height:var(--stzh-font-regular-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-saptcha__input.sc-stzh-saptcha{margin-top:var(--stzh-space-large)}}";export{r as stzh_saptcha}
@@ -0,0 +1 @@
1
+ import{r as t,c as h,h as s,a as e,g as i}from"./p-93e8e31f.js";import{j as c}from"./p-b10682ee.js";import{s as r}from"./p-1f57d28e.js";import{f as a}from"./p-25a09313.js";import"./p-3e8ff66b.js";const n=class{constructor(s){t(this,s),this.stzhOpen=h(this,"stzhOpen",7),this.stzhClose=h(this,"stzhClose",7),this.hiddenTitle="",this.mainTitle="",this.description="",this.closeTimeKey="global-alert",this.open=!0,this.onCloseButtonClick=()=>{this.hide()},this.init=()=>{const t=this.element.querySelector('stzh-button[slot="button"]');t&&r(t,{size:"small",variant:"secondary",effect:"cta",icon:"arrow-right-long",iconPosition:"right"})}}publishDateWatcher(t){if(this._publishDate="string"==typeof t?new Date(t):t,this.closeTimeKey&&this._publishDate){const t=c.get(`stzh-components-ghettobox-close-time-${this.closeTimeKey}`);t&&Number(t)>=this._publishDate.getTime()&&this.hide(!1)}}async show(){this.open=!0,this.stzhOpen.emit({component:"stzh-ghettobox"})}async hide(t=!0){this.open=!1,this.stzhClose.emit({component:"stzh-ghettobox"}),this.closeTimeKey&&t&&c.set(`stzh-components-ghettobox-close-time-${this.closeTimeKey}`,Date.now().toString())}async componentWillLoad(){this.publishDateWatcher(this.publishDate),this.localization||(this.localization=await a(this.element,"ghettobox"))}connectedCallback(){this.init(),this.observer=new MutationObserver(this.init),this.observer.observe(this.element,{childList:!0,subtree:!0})}disconnectedCallback(){this.observer.disconnect()}render(){return s(e,{hidden:!this.open},s("div",{class:{"stzh-ghettobox":!0}},s("h1",{class:"stzh-ghettobox__hidden-title"},this.hiddenTitle||this.localization.hiddenTitle),s("div",{class:"stzh-ghettobox__message"},s("h2",{class:"stzh-ghettobox__main-title"},this.mainTitle),s("div",{class:"stzh-ghettobox__description"},this.description?this.description:s("slot",null)),s("div",{class:"stzh-ghettobox__button"},s("slot",{name:"button"}))),s("div",{class:"stzh-ghettobox__close"},s("button",{class:"stzh-ghettobox__close-button",onClick:this.onCloseButtonClick,"aria-label":this.localization.close,type:"button"},s("stzh-icon",{class:"stzh-ghettobox__close-icon",name:"close"})))))}get element(){return i(this)}static get watchers(){return{publishDate:["publishDateWatcher"]}}};n.style=".sc-stzh-ghettobox-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-ghettobox-h{display:none}.sc-stzh-ghettobox-h *.sc-stzh-ghettobox,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::before,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-ghettobox-h{--stzh-color-primary:var(--stzh-base-invert-color);--stzh-color-primary-hover:var(--stzh-base-invert-color);--stzh-base-color:var(--stzh-base-invert-color);--stzh-base-lead-color:var(--stzh-base-invert-color);--stzh-base-border-color:var(--stzh-base-invert-color);--stzh-richttext-blockquote-footer-color:var(--stzh-base-invert-color);--background-color:var(--stzh-color-error);--color:var(--stzh-base-invert-color);--close-color:var(--stzh-base-invert-color);--button-border-color:var(--stzh-base-invert-color);--button-hover-color:var(--background-color)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=secondary]{--border-color:var(--button-border-color);--hover-color:var(--button-hover-color);--background-color:transparent}.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-xxlarge);padding-left:var(--stzh-space-xxxlarge);padding-right:var(--stzh-space-xxxlarge);position:relative;display:-ms-flexbox;display:flex;background-color:var(--background-color);color:var(--color);-webkit-box-shadow:var(--stzh-box-shadow-message);box-shadow:var(--stzh-box-shadow-message)}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 600px) and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 600px) and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{border-radius:0.1875rem}}.stzh-ghettobox__hidden-title.sc-stzh-ghettobox{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-ghettobox__message.sc-stzh-ghettobox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing));margin:0;color:inherit}@media screen and (min-width: 600px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-ghettobox__description.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 1024px){.stzh-ghettobox__description.sc-stzh-ghettobox{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-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-large)}}.stzh-ghettobox__close.sc-stzh-ghettobox{-ms-flex-negative:0;flex-shrink:0}@media screen and (min-width: 600px){.stzh-ghettobox__close.sc-stzh-ghettobox{margin-left:var(--stzh-space-small)}}.stzh-ghettobox__close-button.sc-stzh-ghettobox{top:var(--stzh-space-medium);right:var(--stzh-space-medium);position:absolute;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:var(--stzh-space-xsmall);margin:calc(var(--stzh-space-xsmall) * -1);border-radius:var(--stzh-button-border-radius);cursor:pointer}@media screen and (min-width: 1024px){.stzh-ghettobox__close-button.sc-stzh-ghettobox{top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-ghettobox__close-button.sc-stzh-ghettobox{top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox__close-button.sc-stzh-ghettobox{right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-ghettobox__close-button.sc-stzh-ghettobox{right:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-ghettobox__close-button.sc-stzh-ghettobox{position:initial;top:initial;right:initial}}.stzh-ghettobox__close-icon.sc-stzh-ghettobox{--size:var(--stzh-icon-size-medium);color:var(--close-color)}";const z=class{constructor(h){t(this,h),this.externalLinkSelector='a[rel*="external"], a.external, a.extern',this.externalLinkIcon="external-link"}addExternalLinkIcons(){this.externalLinks.forEach((t=>{t.classList.add("stzh-richtext__external-link");const h=document.createElement("span");h.classList.add("stzh-richtext__external-icon-wrapper");const s=document.createElement("stzh-icon");s.classList.add("stzh-richtext__external-icon"),s.name=this.externalLinkIcon,h.appendChild(s),t.appendChild(h)}))}componentDidRender(){this.externalLinks=Array.from(this.element.querySelectorAll(this.externalLinkSelector)),this.addExternalLinkIcons()}render(){return s(e,null,s("div",{class:{"stzh-richtext":!0}},s("slot",null)))}get element(){return i(this)}};z.style='@charset "UTF-8";.sc-stzh-richtext-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-richtext-h{display:none}.sc-stzh-richtext-h *.sc-stzh-richtext,.sc-stzh-richtext-h *.sc-stzh-richtext::before,.sc-stzh-richtext-h *.sc-stzh-richtext::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s h4{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);margin:0}.sc-stzh-richtext-h .sc-stzh-richtext-s b,.sc-stzh-richtext-h .sc-stzh-richtext-s strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s i,.sc-stzh-richtext-h .sc-stzh-richtext-s em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s h3{color:var(--stzh-heading-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s>*,.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s>*,.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text{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)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.sc-stzh-richtext-h .sc-stzh-richtext-s h2{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.sc-stzh-richtext-h .sc-stzh-richtext-s h3{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h4{font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h4{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2{padding-bottom:var(--stzh-space-xsmall);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s h2{padding-bottom:var(--stzh-space-medium)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h1,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="1"],.sc-stzh-richtext-h .sc-stzh-richtext-s h2,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="2"]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="3"],.sc-stzh-richtext-h .sc-stzh-richtext-s h4,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="4"]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="3"],.sc-stzh-richtext-h .sc-stzh-richtext-s h4,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="4"]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s h3,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="3"],.sc-stzh-richtext-h .sc-stzh-richtext-s h4,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[level="4"]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s p,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text,.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list{margin-bottom:var(--stzh-space-large)}}.sc-stzh-richtext-h .sc-stzh-richtext-s ul ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ul ol,.sc-stzh-richtext-h .sc-stzh-richtext-s ul dl,.sc-stzh-richtext-h .sc-stzh-richtext-s ul stzh-list,.sc-stzh-richtext-h .sc-stzh-richtext-s ol ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol ol,.sc-stzh-richtext-h .sc-stzh-richtext-s ol dl,.sc-stzh-richtext-h .sc-stzh-richtext-s ol stzh-list,.sc-stzh-richtext-h .sc-stzh-richtext-s dl ul,.sc-stzh-richtext-h .sc-stzh-richtext-s dl ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl dl,.sc-stzh-richtext-h .sc-stzh-richtext-s dl stzh-list,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list ul,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list ol,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list dl,.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-list stzh-list{margin-top:0;margin-bottom:0}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=hero],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=hero],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=hero],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=hero]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h1]{margin-top:var(--stzh-space-xxxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h2]{margin-top:var(--stzh-space-xbig)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h3],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h3]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h3],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h3],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h3]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h4],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h4]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h4],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=h4],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=h4]{margin-top:var(--stzh-space-xxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-top:var(--stzh-space-small);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-text[curve=p2],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p1],.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-heading[curve=p2]{margin-bottom:var(--stzh-space-large)}}.sc-stzh-richtext-h .sc-stzh-richtext-s ul,.sc-stzh-richtext-h .sc-stzh-richtext-s ol,.sc-stzh-richtext-h .sc-stzh-richtext-s dl{list-style:none;padding-left:0}.sc-stzh-richtext-h .sc-stzh-richtext-s ol{counter-reset:li-counter}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li,.sc-stzh-richtext-h .sc-stzh-richtext-s ol li{position:relative}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li::before,.sc-stzh-richtext-h .sc-stzh-richtext-s ol li::before{display:inline-block;position:absolute;left:0;top:0}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li{padding-left:calc(var(--stzh-space-xsmall) + var(--stzh-space-small))}.sc-stzh-richtext-h .sc-stzh-richtext-s ul li::before{content:"–"}.sc-stzh-richtext-h .sc-stzh-richtext-s ol li{counter-increment:li-counter;padding-left:calc(var(--stzh-space-large) + var(--stzh-space-small))}.sc-stzh-richtext-h .sc-stzh-richtext-s ol li::before{content:counter(li-counter) ". "}.sc-stzh-richtext-h .sc-stzh-richtext-s stzh-figure{margin-top:var(--stzh-space-xxlarge);margin-bottom:var(--stzh-space-xxlarge)}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);margin:var(--stzh-space-xxlarge);color:var(--stzh-richttext-blockquote-color);position:relative}@media screen and (min-width: 600px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-left:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{margin:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote{margin:var(--stzh-space-xxxxlarge)}}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote:before{background:var(--stzh-richttext-blockquote-line-color);height:calc(100% - var(--stzh-space-xsmall) * 2);width:0.1875rem;content:" ";display:block;position:absolute;left:0;top:var(--stzh-space-xsmall)}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p{margin-top:0;margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p{margin-bottom:var(--stzh-space-large)}}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::before,.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::after{display:inline-block}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::before{content:"«"}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote p::after{content:"»"}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote footer{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));color:var(--stzh-richttext-blockquote-footer-color)}@media screen and (min-width: 1024px){.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote footer{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)}}.sc-stzh-richtext-h .sc-stzh-richtext-s blockquote footer::before{content:"–";display:inline-block;margin-right:var(--stzh-space-xxxsmall)}.sc-stzh-richtext-h .sc-stzh-richtext-s table{--min-width:none;--cell-padding:var(--stzh-table-cell-padding);width:100%;border-spacing:0;min-width:var(--min-width)}.sc-stzh-richtext-h .sc-stzh-richtext-s thead{position:-webkit-sticky;position:sticky;top:0;z-index:3}.sc-stzh-richtext-h .sc-stzh-richtext-s tr:hover td,.sc-stzh-richtext-h .sc-stzh-richtext-s tr:hover th{background-color:var(--stzh-color-grey5)}.sc-stzh-richtext-h .sc-stzh-richtext-s td,.sc-stzh-richtext-h .sc-stzh-richtext-s th{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);text-align:left;border:none;vertical-align:top;border:none;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)}.sc-stzh-richtext-h .sc-stzh-richtext-s td a,.sc-stzh-richtext-h .sc-stzh-richtext-s th 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)}.sc-stzh-richtext-h .sc-stzh-richtext-s td a:hover,.sc-stzh-richtext-h .sc-stzh-richtext-s td a:focus,.sc-stzh-richtext-h .sc-stzh-richtext-s th a:hover,.sc-stzh-richtext-h .sc-stzh-richtext-s th a:focus{color:var(--stzh-link-hover-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s td b,.sc-stzh-richtext-h .sc-stzh-richtext-s td strong,.sc-stzh-richtext-h .sc-stzh-richtext-s th b,.sc-stzh-richtext-h .sc-stzh-richtext-s th strong{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s td i,.sc-stzh-richtext-h .sc-stzh-richtext-s td em,.sc-stzh-richtext-h .sc-stzh-richtext-s th i,.sc-stzh-richtext-h .sc-stzh-richtext-s th em{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-richtext-h .sc-stzh-richtext-s td.align-left,.sc-stzh-richtext-h .sc-stzh-richtext-s th.align-left{text-align:left}.sc-stzh-richtext-h .sc-stzh-richtext-s td.align-right,.sc-stzh-richtext-h .sc-stzh-richtext-s th.align-right{text-align:right}.sc-stzh-richtext-h .sc-stzh-richtext-s td.align-center,.sc-stzh-richtext-h .sc-stzh-richtext-s th.align-center{text-align:center}.sc-stzh-richtext-h .sc-stzh-richtext-s td.valign-auto,.sc-stzh-richtext-h .sc-stzh-richtext-s th.valign-auto{vertical-align:auto}.sc-stzh-richtext-h .sc-stzh-richtext-s td.valign-middle,.sc-stzh-richtext-h .sc-stzh-richtext-s th.valign-middle{vertical-align:middle}.sc-stzh-richtext-h .sc-stzh-richtext-s td.valign-bottom,.sc-stzh-richtext-h .sc-stzh-richtext-s th.valign-bottom{vertical-align:bottom}.sc-stzh-richtext-h .sc-stzh-richtext-s td.nowrap,.sc-stzh-richtext-h .sc-stzh-richtext-s th.nowrap{white-space:nowrap}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left,.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right{position:-webkit-sticky;position:sticky;z-index:1}.sc-stzh-richtext-h .sc-stzh-richtext-s td.has-sticked,.sc-stzh-richtext-h .sc-stzh-richtext-s th.has-sticked{z-index:2}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left{left:0}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right{right:0}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.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)}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-left::after{right:0}.sc-stzh-richtext-h .sc-stzh-richtext-s td.is-sticky-right::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sticky-right::after{left:0;-webkit-transform:rotate(-180deg) translate(100%);transform:rotate(-180deg) translate(100%)}.sc-stzh-richtext-h .sc-stzh-richtext-s td.has-sticked.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s td.has-sticked.is-sticky-right::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.has-sticked.is-sticky-left::after,.sc-stzh-richtext-h .sc-stzh-richtext-s th.has-sticked.is-sticky-right::after{opacity:1}.sc-stzh-richtext-h .sc-stzh-richtext-s th{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))}.sc-stzh-richtext-h .sc-stzh-richtext-s th.is-sortable{padding:0}.sc-stzh-richtext-h .sc-stzh-richtext-s 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)}.sc-stzh-richtext-h .sc-stzh-richtext-s a:hover,.sc-stzh-richtext-h .sc-stzh-richtext-s a:focus{color:var(--stzh-link-hover-color)}.sc-stzh-richtext-h .sc-stzh-richtext-s a .stzh-richtext__external-link{position:relative}.sc-stzh-richtext-h .sc-stzh-richtext-s a .stzh-richtext__external-icon-wrapper{position:relative;display:inline-block;width:var(--stzh-icon-size-default);height:var(--stzh-link-icon-wrapper-height);margin-left:var(--stzh-space-xxsmall)}.sc-stzh-richtext-h .sc-stzh-richtext-s a .stzh-richtext__external-icon{--icon:var(--stzh-icon-size-default);position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);margin-top:0.0625rem;width:var(--stzh-icon-size-default);height:var(--stzh-icon-size-default)}.sc-stzh-richtext-h .sc-stzh-richtext-s>*:first-child{margin-top:0}.sc-stzh-richtext-h .sc-stzh-richtext-s>*:last-child{margin-bottom:0}';export{n as stzh_ghettobox,z as stzh_richtext}
@@ -6,4 +6,4 @@ var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t ins
6
6
  * Licence: Apache-2.0
7
7
  * https://github.com/nextapps-de/flexsearch
8
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 b=c[g],p=b.length;if(p)for(var m=0,_=void 0,y=void 0;m<p;m++)if(y=b[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 b=this.l&&l>f;M(this,i,b?f:l,L(d+(r/2>d?0:1),r,h,u-1,g-1),t,a,b?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,b=void 0,p=void 0;u<h.length;u++){var m=void 0;b=h[u];x(b)||(m=b,b=b.field);if(g)g[u]=this.index[b].searchAsync(t,e,m||a);else{r?v=r[u]:v=this.index[b].search(t,e,m||a);p=v&&v.length;if(l&&p){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],p=(k=this.l[w])&&k.length)y++,_[_.length]=c?[k]:k;y&&(v=c?ma(_,e||100,f||0):na(v,_),p=v.length)}if(p)s[d]=b,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: 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.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=[];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}}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}}}));
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 b=c[g],p=b.length;if(p)for(var m=0,_=void 0,y=void 0;m<p;m++)if(y=b[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 b=this.l&&l>f;M(this,i,b?f:l,L(d+(r/2>d?0:1),r,h,u-1,g-1),t,a,b?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,b=void 0,p=void 0;u<h.length;u++){var m=void 0;b=h[u];x(b)||(m=b,b=b.field);if(g)g[u]=this.index[b].searchAsync(t,e,m||a);else{r?v=r[u]:v=this.index[b].search(t,e,m||a);p=v&&v.length;if(l&&p){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],p=(k=this.l[w])&&k.length)y++,_[_.length]=c?[k]:k;y&&(v=c?ma(_,e||100,f||0):na(v,_),p=v.length)}if(p)s[d]=b,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.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=[];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}}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}}}));