@oiz/stzh-components 2.7.0 → 2.8.0-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (716) hide show
  1. package/dist/cjs/{app-globals-c9c5ef57.js → app-globals-7c3a8979.js} +2 -2
  2. package/dist/cjs/{app-globals-c9c5ef57.js.map → app-globals-7c3a8979.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{string-utils-a867b99d.js → string-utils-2575ea7f.js} +14 -1
  6. package/dist/cjs/string-utils-2575ea7f.js.map +1 -0
  7. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  8. package/dist/cjs/{stzh-sortable.cjs.entry.js → stzh-actionset_4.cjs.entry.js} +567 -3
  9. package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -0
  10. package/dist/cjs/stzh-amount.cjs.entry.js +4 -3
  11. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  12. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js.map +1 -1
  17. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
  20. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-chip-select.cjs.entry.js +149 -0
  23. package/dist/cjs/stzh-chip-select.cjs.entry.js.map +1 -0
  24. package/dist/cjs/stzh-components.cjs.js +2 -2
  25. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
  28. package/dist/cjs/stzh-cspace.cjs.entry.js +3 -1
  29. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  30. package/dist/cjs/stzh-datalist_2.cjs.entry.js +11 -8
  31. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-datatable.cjs.entry.js +32 -8
  33. package/dist/cjs/stzh-datatable.cjs.entry.js.map +1 -1
  34. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +6 -5
  35. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -2
  39. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-ghettobox.cjs.entry.js +108 -0
  43. package/dist/cjs/stzh-ghettobox.cjs.entry.js.map +1 -0
  44. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
  47. package/dist/cjs/stzh-input.cjs.entry.js +4 -2
  48. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  49. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-pagination.cjs.entry.js +86 -0
  55. package/dist/cjs/stzh-pagination.cjs.entry.js.map +1 -0
  56. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-richtext_2.cjs.entry.js +86 -0
  59. package/dist/cjs/stzh-richtext_2.cjs.entry.js.map +1 -0
  60. package/dist/cjs/stzh-row.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
  62. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
  64. package/dist/cjs/stzh-share.cjs.entry.js +7 -21
  65. package/dist/cjs/stzh-share.cjs.entry.js.map +1 -1
  66. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  68. package/dist/cjs/stzh-space.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  70. package/dist/cjs/stzh-table.cjs.entry.js +6 -4
  71. package/dist/cjs/stzh-table.cjs.entry.js.map +1 -1
  72. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  79. package/dist/cjs/{utils-a2ff9f84.js → utils-916583be.js} +7 -1
  80. package/dist/cjs/utils-916583be.js.map +1 -0
  81. package/dist/collection/assets/i18n/de.json +7 -0
  82. package/dist/collection/assets/i18n/en.json +7 -0
  83. package/dist/collection/collection-manifest.json +1 -0
  84. package/dist/collection/components/stzh-amount/stzh-amount.css +1 -1
  85. package/dist/collection/components/stzh-amount/stzh-amount.js +21 -2
  86. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  87. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +11 -6
  88. package/dist/collection/components/stzh-card/stzh-card.css +30 -28
  89. package/dist/collection/components/stzh-card/stzh-card.js +30 -7
  90. package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
  91. package/dist/collection/components/stzh-cell/stzh-cell.css +0 -5
  92. package/dist/collection/components/stzh-container/stzh-container.css +0 -8
  93. package/dist/collection/components/stzh-cspace/stzh-cspace.css +103 -133
  94. package/dist/collection/components/stzh-cspace/stzh-cspace.js +46 -2
  95. package/dist/collection/components/stzh-cspace/stzh-cspace.js.map +1 -1
  96. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -0
  97. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +12 -8
  98. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js.map +1 -1
  99. package/dist/collection/components/stzh-datatable/stzh-datatable.css +21 -0
  100. package/dist/collection/components/stzh-datatable/stzh-datatable.js +85 -7
  101. package/dist/collection/components/stzh-datatable/stzh-datatable.js.map +1 -1
  102. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +41 -14
  103. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +22 -3
  104. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  105. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +12 -0
  106. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +20 -0
  107. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  108. package/dist/collection/components/stzh-hspace/stzh-hspace.css +0 -6
  109. package/dist/collection/components/stzh-input/stzh-input.css +16 -1
  110. package/dist/collection/components/stzh-input/stzh-input.js +20 -0
  111. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  112. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +2 -2
  113. package/dist/collection/components/stzh-pagination/stzh-pagination.css +127 -0
  114. package/dist/collection/components/stzh-pagination/stzh-pagination.js +437 -0
  115. package/dist/collection/components/stzh-pagination/stzh-pagination.js.map +1 -0
  116. package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js +2 -0
  117. package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js.map +1 -0
  118. package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +44 -0
  119. package/dist/collection/components/stzh-richtext/stzh-richtext.css +4 -2
  120. package/dist/collection/components/stzh-richtext/stzh-richtext.js +38 -0
  121. package/dist/collection/components/stzh-richtext/stzh-richtext.js.map +1 -1
  122. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +2 -2
  123. package/dist/collection/components/stzh-row/stzh-row.css +0 -5
  124. package/dist/collection/components/stzh-section/stzh-section.css +0 -6
  125. package/dist/collection/components/stzh-share/stzh-share.js +6 -20
  126. package/dist/collection/components/stzh-share/stzh-share.js.map +1 -1
  127. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +53 -0
  128. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  129. package/dist/collection/components/stzh-sortable/stzh-sortable.js.map +1 -1
  130. package/dist/collection/components/stzh-space/stzh-space.css +0 -6
  131. package/dist/collection/components/stzh-table/stzh-table.css +21 -0
  132. package/dist/collection/components/stzh-table/stzh-table.js +7 -3
  133. package/dist/collection/components/stzh-table/stzh-table.js.map +1 -1
  134. package/dist/collection/components/stzh-table/stzh-table.stories.js +259 -4
  135. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +1 -1
  136. package/dist/collection/components/stzh-vspace/stzh-vspace.css +0 -6
  137. package/dist/collection/index.js.map +1 -1
  138. package/dist/collection/utils/string-utils.js +12 -0
  139. package/dist/collection/utils/string-utils.js.map +1 -1
  140. package/dist/collection/utils/utils.js +5 -0
  141. package/dist/collection/utils/utils.js.map +1 -1
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/index2.js.map +1 -1
  144. package/dist/components/string-utils.js +13 -1
  145. package/dist/components/string-utils.js.map +1 -1
  146. package/dist/components/stzh-amount.js +5 -3
  147. package/dist/components/stzh-amount.js.map +1 -1
  148. package/dist/components/stzh-buttongroup2.js +1 -1
  149. package/dist/components/stzh-buttongroup2.js.map +1 -1
  150. package/dist/components/stzh-card2.js +31 -8
  151. package/dist/components/stzh-card2.js.map +1 -1
  152. package/dist/components/stzh-cell.js +1 -1
  153. package/dist/components/stzh-cell.js.map +1 -1
  154. package/dist/components/stzh-contact.js +18 -12
  155. package/dist/components/stzh-contact.js.map +1 -1
  156. package/dist/components/stzh-container.js +1 -1
  157. package/dist/components/stzh-container.js.map +1 -1
  158. package/dist/components/stzh-cspace.js +8 -2
  159. package/dist/components/stzh-cspace.js.map +1 -1
  160. package/dist/components/stzh-datalist-item2.js +23 -14
  161. package/dist/components/stzh-datalist-item2.js.map +1 -1
  162. package/dist/components/stzh-datalist2.js +14 -8
  163. package/dist/components/stzh-datalist2.js.map +1 -1
  164. package/dist/components/stzh-datatable.js +129 -18
  165. package/dist/components/stzh-datatable.js.map +1 -1
  166. package/dist/components/stzh-datepicker2.js +5 -3
  167. package/dist/components/stzh-datepicker2.js.map +1 -1
  168. package/dist/components/stzh-dropdown2.js +4 -1
  169. package/dist/components/stzh-dropdown2.js.map +1 -1
  170. package/dist/components/stzh-hspace.js +1 -1
  171. package/dist/components/stzh-hspace.js.map +1 -1
  172. package/dist/components/stzh-input2.js +4 -1
  173. package/dist/components/stzh-input2.js.map +1 -1
  174. package/dist/components/stzh-pagination.d.ts +11 -0
  175. package/dist/components/stzh-pagination.js +8 -0
  176. package/dist/components/stzh-pagination.js.map +1 -0
  177. package/dist/components/stzh-pagination2.js +151 -0
  178. package/dist/components/stzh-pagination2.js.map +1 -0
  179. package/dist/components/stzh-richtext2.js +5 -1
  180. package/dist/components/stzh-richtext2.js.map +1 -1
  181. package/dist/components/stzh-row.js +1 -1
  182. package/dist/components/stzh-row.js.map +1 -1
  183. package/dist/components/stzh-section.js +1 -1
  184. package/dist/components/stzh-section.js.map +1 -1
  185. package/dist/components/stzh-share2.js +6 -20
  186. package/dist/components/stzh-share2.js.map +1 -1
  187. package/dist/components/stzh-sitemap.js +16 -10
  188. package/dist/components/stzh-sitemap.js.map +1 -1
  189. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  190. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  191. package/dist/components/stzh-sortable2.js +1 -1
  192. package/dist/components/stzh-sortable2.js.map +1 -1
  193. package/dist/components/stzh-space.js +1 -1
  194. package/dist/components/stzh-space.js.map +1 -1
  195. package/dist/components/stzh-table.js +6 -4
  196. package/dist/components/stzh-table.js.map +1 -1
  197. package/dist/components/stzh-vbz-majorticker.js +1 -1
  198. package/dist/components/stzh-vspace.js +1 -1
  199. package/dist/components/stzh-vspace.js.map +1 -1
  200. package/dist/components/utils.js +6 -1
  201. package/dist/components/utils.js.map +1 -1
  202. package/dist/esm/{app-globals-5ab947af.js → app-globals-4f0f7957.js} +2 -2
  203. package/dist/esm/{app-globals-5ab947af.js.map → app-globals-4f0f7957.js.map} +1 -1
  204. package/dist/esm/index.js.map +1 -1
  205. package/dist/esm/loader.js +2 -2
  206. package/dist/esm/string-utils-3ffa8d6b.js +29 -0
  207. package/dist/esm/string-utils-3ffa8d6b.js.map +1 -0
  208. package/dist/esm/stzh-actions.entry.js +1 -1
  209. package/dist/esm/{stzh-sortable.entry.js → stzh-actionset_4.entry.js} +566 -5
  210. package/dist/esm/stzh-actionset_4.entry.js.map +1 -0
  211. package/dist/esm/stzh-amount.entry.js +4 -3
  212. package/dist/esm/stzh-amount.entry.js.map +1 -1
  213. package/dist/esm/stzh-appnav.entry.js +1 -1
  214. package/dist/esm/stzh-audio.entry.js +1 -1
  215. package/dist/esm/stzh-badge_3.entry.js +1 -1
  216. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  217. package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
  218. package/dist/esm/stzh-carousel.entry.js +1 -1
  219. package/dist/esm/stzh-cell.entry.js +1 -1
  220. package/dist/esm/stzh-cell.entry.js.map +1 -1
  221. package/dist/esm/stzh-checkbox.entry.js +1 -1
  222. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  223. package/dist/esm/stzh-chip-select.entry.js +145 -0
  224. package/dist/esm/stzh-chip-select.entry.js.map +1 -0
  225. package/dist/esm/stzh-components.js +2 -2
  226. package/dist/esm/stzh-contact.entry.js +1 -1
  227. package/dist/esm/stzh-container.entry.js +1 -1
  228. package/dist/esm/stzh-container.entry.js.map +1 -1
  229. package/dist/esm/stzh-cspace.entry.js +3 -1
  230. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  231. package/dist/esm/stzh-datalist_2.entry.js +11 -8
  232. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  233. package/dist/esm/stzh-datatable.entry.js +32 -8
  234. package/dist/esm/stzh-datatable.entry.js.map +1 -1
  235. package/dist/esm/stzh-datepicker_3.entry.js +6 -5
  236. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  237. package/dist/esm/stzh-details.entry.js +1 -1
  238. package/dist/esm/stzh-dialog.entry.js +1 -1
  239. package/dist/esm/stzh-dropdown.entry.js +4 -2
  240. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  241. package/dist/esm/stzh-figure.entry.js +1 -1
  242. package/dist/esm/stzh-footer.entry.js +1 -1
  243. package/dist/esm/stzh-ghettobox.entry.js +104 -0
  244. package/dist/esm/stzh-ghettobox.entry.js.map +1 -0
  245. package/dist/esm/stzh-header.entry.js +1 -1
  246. package/dist/esm/stzh-hspace.entry.js +1 -1
  247. package/dist/esm/stzh-hspace.entry.js.map +1 -1
  248. package/dist/esm/stzh-input.entry.js +4 -2
  249. package/dist/esm/stzh-input.entry.js.map +1 -1
  250. package/dist/esm/stzh-link.entry.js +1 -1
  251. package/dist/esm/stzh-menu_2.entry.js +1 -1
  252. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  253. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  254. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  255. package/dist/esm/stzh-pagination.entry.js +82 -0
  256. package/dist/esm/stzh-pagination.entry.js.map +1 -0
  257. package/dist/esm/stzh-popover.entry.js +1 -1
  258. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  259. package/dist/esm/stzh-richtext_2.entry.js +81 -0
  260. package/dist/esm/stzh-richtext_2.entry.js.map +1 -0
  261. package/dist/esm/stzh-row.entry.js +1 -1
  262. package/dist/esm/stzh-row.entry.js.map +1 -1
  263. package/dist/esm/stzh-section.entry.js +1 -1
  264. package/dist/esm/stzh-section.entry.js.map +1 -1
  265. package/dist/esm/stzh-share.entry.js +6 -20
  266. package/dist/esm/stzh-share.entry.js.map +1 -1
  267. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  268. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  269. package/dist/esm/stzh-space.entry.js +1 -1
  270. package/dist/esm/stzh-space.entry.js.map +1 -1
  271. package/dist/esm/stzh-table.entry.js +6 -4
  272. package/dist/esm/stzh-table.entry.js.map +1 -1
  273. package/dist/esm/stzh-textandimage.entry.js +1 -1
  274. package/dist/esm/stzh-toggle.entry.js +1 -1
  275. package/dist/esm/stzh-tooltip.entry.js +1 -1
  276. package/dist/esm/stzh-upload.entry.js +1 -1
  277. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  278. package/dist/esm/stzh-vspace.entry.js +1 -1
  279. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  280. package/dist/esm/{utils-51148d9a.js → utils-8f264f12.js} +7 -2
  281. package/dist/esm/utils-8f264f12.js.map +1 -0
  282. package/dist/esm-es5/{app-globals-5ab947af.js → app-globals-4f0f7957.js} +2 -2
  283. package/dist/esm-es5/{app-globals-5ab947af.js.map → app-globals-4f0f7957.js.map} +1 -1
  284. package/dist/esm-es5/index.js.map +1 -1
  285. package/dist/esm-es5/loader.js +1 -1
  286. package/dist/esm-es5/loader.js.map +1 -1
  287. package/dist/esm-es5/string-utils-3ffa8d6b.js +2 -0
  288. package/dist/esm-es5/string-utils-3ffa8d6b.js.map +1 -0
  289. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  290. package/dist/esm-es5/stzh-actionset_4.entry.js +8 -0
  291. package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -0
  292. package/dist/esm-es5/stzh-amount.entry.js +1 -1
  293. package/dist/esm-es5/stzh-amount.entry.js.map +1 -1
  294. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  295. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  296. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  297. package/dist/esm-es5/stzh-buttongroup.entry.js +1 -1
  298. package/dist/esm-es5/stzh-buttongroup.entry.js.map +1 -1
  299. package/dist/esm-es5/stzh-carousel.entry.js +1 -1
  300. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  301. package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
  302. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  303. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  304. package/dist/esm-es5/stzh-chip-select.entry.js +2 -0
  305. package/dist/esm-es5/stzh-chip-select.entry.js.map +1 -0
  306. package/dist/esm-es5/stzh-components.js +1 -1
  307. package/dist/esm-es5/stzh-components.js.map +1 -1
  308. package/dist/esm-es5/stzh-contact.entry.js +1 -1
  309. package/dist/esm-es5/stzh-container.entry.js +1 -1
  310. package/dist/esm-es5/stzh-container.entry.js.map +1 -1
  311. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  312. package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
  313. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  314. package/dist/esm-es5/stzh-datalist_2.entry.js.map +1 -1
  315. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  316. package/dist/esm-es5/stzh-datatable.entry.js.map +1 -1
  317. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  318. package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
  319. package/dist/esm-es5/stzh-details.entry.js +1 -1
  320. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  321. package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
  322. package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
  323. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  324. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  325. package/dist/esm-es5/stzh-ghettobox.entry.js +2 -0
  326. package/dist/esm-es5/stzh-ghettobox.entry.js.map +1 -0
  327. package/dist/esm-es5/stzh-header.entry.js +1 -1
  328. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  329. package/dist/esm-es5/stzh-hspace.entry.js.map +1 -1
  330. package/dist/esm-es5/stzh-input.entry.js +1 -1
  331. package/dist/esm-es5/stzh-input.entry.js.map +1 -1
  332. package/dist/esm-es5/stzh-link.entry.js +1 -1
  333. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  334. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  335. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  336. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  337. package/dist/esm-es5/stzh-pagination.entry.js +2 -0
  338. package/dist/esm-es5/stzh-pagination.entry.js.map +1 -0
  339. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  340. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  341. package/dist/esm-es5/stzh-richtext_2.entry.js +2 -0
  342. package/dist/esm-es5/stzh-richtext_2.entry.js.map +1 -0
  343. package/dist/esm-es5/stzh-row.entry.js +1 -1
  344. package/dist/esm-es5/stzh-row.entry.js.map +1 -1
  345. package/dist/esm-es5/stzh-section.entry.js +1 -1
  346. package/dist/esm-es5/stzh-section.entry.js.map +1 -1
  347. package/dist/esm-es5/stzh-share.entry.js +1 -1
  348. package/dist/esm-es5/stzh-share.entry.js.map +1 -1
  349. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js +1 -1
  350. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  351. package/dist/esm-es5/stzh-space.entry.js +1 -1
  352. package/dist/esm-es5/stzh-space.entry.js.map +1 -1
  353. package/dist/esm-es5/stzh-table.entry.js +1 -1
  354. package/dist/esm-es5/stzh-table.entry.js.map +1 -1
  355. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  356. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  357. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  358. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  359. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  360. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  361. package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
  362. package/dist/esm-es5/utils-8f264f12.js +2 -0
  363. package/dist/esm-es5/utils-8f264f12.js.map +1 -0
  364. package/dist/stzh-components/assets/i18n/de.json +7 -0
  365. package/dist/stzh-components/assets/i18n/en.json +7 -0
  366. package/dist/stzh-components/index.esm.js.map +1 -1
  367. package/dist/stzh-components/{p-edef74c8.system.entry.js → p-08050ce2.system.entry.js} +2 -2
  368. package/dist/stzh-components/{p-f23f2408.system.entry.js → p-09445156.system.entry.js} +2 -2
  369. package/dist/stzh-components/{p-94a5e295.system.entry.js → p-0d302a14.system.entry.js} +2 -2
  370. package/dist/stzh-components/p-1016d03d.system.entry.js +2 -0
  371. package/dist/stzh-components/p-1016d03d.system.entry.js.map +1 -0
  372. package/dist/stzh-components/p-1760118e.entry.js +2 -0
  373. package/dist/stzh-components/{p-a1c02179.entry.js.map → p-1760118e.entry.js.map} +1 -1
  374. package/dist/stzh-components/p-1ad68cac.system.entry.js +2 -0
  375. package/dist/stzh-components/p-1ad68cac.system.entry.js.map +1 -0
  376. package/dist/stzh-components/{p-c901fe72.system.entry.js → p-1d683f3a.system.entry.js} +3 -3
  377. package/dist/stzh-components/p-1d683f3a.system.entry.js.map +1 -0
  378. package/dist/stzh-components/p-1e5f556b.system.entry.js +2 -0
  379. package/dist/stzh-components/p-1e5f556b.system.entry.js.map +1 -0
  380. package/dist/stzh-components/{p-2615433f.system.entry.js → p-2009a8df.system.entry.js} +2 -2
  381. package/dist/stzh-components/p-22a2f4c1.system.js +2 -0
  382. package/dist/stzh-components/p-22a2f4c1.system.js.map +1 -0
  383. package/dist/stzh-components/{p-39a4904e.system.entry.js → p-2614251e.system.entry.js} +2 -2
  384. package/dist/stzh-components/{p-8b62ec27.js → p-26680e97.js} +2 -2
  385. package/dist/stzh-components/{p-8b62ec27.js.map → p-26680e97.js.map} +1 -1
  386. package/dist/stzh-components/p-2705720b.entry.js +2 -0
  387. package/dist/stzh-components/p-2705720b.entry.js.map +1 -0
  388. package/dist/stzh-components/{p-799548c4.system.entry.js → p-27489e46.system.entry.js} +2 -2
  389. package/dist/stzh-components/{p-29ed53a9.system.entry.js → p-2dd983a9.system.entry.js} +2 -2
  390. package/dist/stzh-components/{p-cc1a6af1.system.entry.js → p-2ec243e8.system.entry.js} +2 -2
  391. package/dist/stzh-components/{p-cd0f7b10.entry.js → p-33da1a1c.entry.js} +2 -2
  392. package/dist/stzh-components/p-35a328cc.system.entry.js +2 -0
  393. package/dist/stzh-components/p-35a328cc.system.entry.js.map +1 -0
  394. package/dist/stzh-components/p-3f72c05a.system.js +2 -0
  395. package/dist/stzh-components/p-3f72c05a.system.js.map +1 -0
  396. package/dist/stzh-components/p-40694e20.system.entry.js +2 -0
  397. package/dist/stzh-components/p-40694e20.system.entry.js.map +1 -0
  398. package/dist/stzh-components/{p-6608126b.entry.js → p-4325de93.entry.js} +2 -2
  399. package/dist/stzh-components/{p-517af258.system.entry.js → p-444f765a.system.entry.js} +2 -2
  400. package/dist/stzh-components/p-4bcc414d.system.entry.js +2 -0
  401. package/dist/stzh-components/p-4bcc414d.system.entry.js.map +1 -0
  402. package/dist/stzh-components/{p-7b297848.system.entry.js → p-50652c05.system.entry.js} +2 -2
  403. package/dist/stzh-components/{p-a8c92707.system.entry.js → p-509b0e4c.system.entry.js} +2 -2
  404. package/dist/stzh-components/p-51ccda11.system.entry.js +2 -0
  405. package/dist/stzh-components/p-51ccda11.system.entry.js.map +1 -0
  406. package/dist/stzh-components/{p-a2b49ad8.entry.js → p-52bcb3ab.entry.js} +2 -2
  407. package/dist/stzh-components/{p-4cd7c872.system.entry.js → p-5af33d37.system.entry.js} +2 -2
  408. package/dist/stzh-components/{p-8cb7e2da.system.entry.js → p-5bceda21.system.entry.js} +2 -2
  409. package/dist/stzh-components/{p-5ee43b56.entry.js → p-5c3d0895.entry.js} +2 -2
  410. package/dist/stzh-components/{p-c0f971f2.entry.js → p-5df47c3a.entry.js} +8 -8
  411. package/dist/stzh-components/p-5df47c3a.entry.js.map +1 -0
  412. package/dist/stzh-components/p-67f50e81.system.entry.js +2 -0
  413. package/dist/stzh-components/p-67f50e81.system.entry.js.map +1 -0
  414. package/dist/stzh-components/p-68b00da7.system.entry.js +2 -0
  415. package/dist/stzh-components/p-68b00da7.system.entry.js.map +1 -0
  416. package/dist/stzh-components/{p-eca073df.system.entry.js → p-6ac4713f.system.entry.js} +2 -2
  417. package/dist/stzh-components/{p-9d46101e.entry.js → p-6c0f3c5e.entry.js} +2 -2
  418. package/dist/stzh-components/{p-c2a06b4d.system.entry.js → p-6cb99167.system.entry.js} +2 -2
  419. package/dist/stzh-components/{p-b8ad5f47.system.entry.js → p-709bb264.system.entry.js} +2 -2
  420. package/dist/stzh-components/{p-3e5da137.entry.js → p-7463c7b5.entry.js} +2 -2
  421. package/dist/stzh-components/p-75fa2483.entry.js +2 -0
  422. package/dist/stzh-components/p-75fa2483.entry.js.map +1 -0
  423. package/dist/stzh-components/{p-bc997ce2.entry.js → p-76c2f21a.entry.js} +2 -2
  424. package/dist/stzh-components/{p-562f4dfa.entry.js → p-78f78684.entry.js} +2 -2
  425. package/dist/stzh-components/p-78f89f65.entry.js +2 -0
  426. package/dist/stzh-components/p-78f89f65.entry.js.map +1 -0
  427. package/dist/stzh-components/p-7992047b.entry.js +2 -0
  428. package/dist/stzh-components/p-7992047b.entry.js.map +1 -0
  429. package/dist/stzh-components/p-7ac51980.system.entry.js +2 -0
  430. package/dist/stzh-components/p-7ac51980.system.entry.js.map +1 -0
  431. package/dist/stzh-components/p-7e5587ee.entry.js +2 -0
  432. package/dist/stzh-components/p-7e5587ee.entry.js.map +1 -0
  433. package/dist/stzh-components/p-8225341e.entry.js +2 -0
  434. package/dist/stzh-components/p-8225341e.entry.js.map +1 -0
  435. package/dist/stzh-components/{p-3dea2f45.entry.js → p-849ec693.entry.js} +2 -2
  436. package/dist/stzh-components/{p-3aa5623c.entry.js → p-89562c7e.entry.js} +2 -2
  437. package/dist/stzh-components/p-8a58fa64.entry.js +2 -0
  438. package/dist/stzh-components/p-8a58fa64.entry.js.map +1 -0
  439. package/dist/stzh-components/{p-45572515.entry.js → p-916f8386.entry.js} +2 -2
  440. package/dist/stzh-components/p-9705d27e.system.entry.js +2 -0
  441. package/dist/stzh-components/{p-9fe69be8.system.entry.js.map → p-9705d27e.system.entry.js.map} +1 -1
  442. package/dist/stzh-components/{p-2d25bcc8.entry.js → p-979390db.entry.js} +2 -2
  443. package/dist/stzh-components/p-9c428351.entry.js +2 -0
  444. package/dist/stzh-components/p-9c428351.entry.js.map +1 -0
  445. package/dist/stzh-components/p-9faae333.entry.js +2 -0
  446. package/dist/stzh-components/p-9faae333.entry.js.map +1 -0
  447. package/dist/stzh-components/{p-e2ff2ef4.entry.js → p-a0008fa2.entry.js} +2 -2
  448. package/dist/stzh-components/p-a16ce152.system.entry.js +2 -0
  449. package/dist/stzh-components/p-a16ce152.system.entry.js.map +1 -0
  450. package/dist/stzh-components/{p-05b9e4c2.system.entry.js → p-a26cd855.system.entry.js} +2 -2
  451. package/dist/stzh-components/{p-b792ea2e.system.entry.js → p-a2d5846c.system.entry.js} +2 -2
  452. package/dist/stzh-components/{p-ffdd9cab.system.js → p-a8c1b679.system.js} +2 -2
  453. package/dist/stzh-components/{p-ffdd9cab.system.js.map → p-a8c1b679.system.js.map} +1 -1
  454. package/dist/stzh-components/{p-6c219530.entry.js → p-a8e1b13c.entry.js} +2 -2
  455. package/dist/stzh-components/{p-4a299f84.entry.js → p-acbe3680.entry.js} +2 -2
  456. package/dist/stzh-components/p-afdf3a08.system.entry.js +2 -0
  457. package/dist/stzh-components/p-afdf3a08.system.entry.js.map +1 -0
  458. package/dist/stzh-components/{p-35cbff3f.entry.js → p-affbfe00.entry.js} +2 -2
  459. package/dist/stzh-components/p-b33a79ba.system.entry.js +2 -0
  460. package/dist/stzh-components/p-b33a79ba.system.entry.js.map +1 -0
  461. package/dist/stzh-components/{p-7772c262.entry.js → p-b5531053.entry.js} +2 -2
  462. package/dist/stzh-components/p-b989646a.entry.js +2 -0
  463. package/dist/stzh-components/p-b989646a.entry.js.map +1 -0
  464. package/dist/stzh-components/{p-bf069354.entry.js → p-bac7cf37.entry.js} +2 -2
  465. package/dist/stzh-components/p-bd7f6761.entry.js +2 -0
  466. package/dist/stzh-components/p-bd7f6761.entry.js.map +1 -0
  467. package/dist/stzh-components/p-bda21265.system.entry.js +8 -0
  468. package/dist/stzh-components/p-bda21265.system.entry.js.map +1 -0
  469. package/dist/stzh-components/{p-f599025e.system.entry.js → p-c0aa52aa.system.entry.js} +2 -2
  470. package/dist/stzh-components/p-c1814eec.system.js +2 -0
  471. package/dist/stzh-components/{p-b7d68fca.system.js.map → p-c1814eec.system.js.map} +1 -1
  472. package/dist/stzh-components/p-c2615e7c.system.entry.js +2 -0
  473. package/dist/{esm-es5/stzh-ghettobox_2.entry.js.map → stzh-components/p-c2615e7c.system.entry.js.map} +1 -1
  474. package/dist/stzh-components/{p-d5b4d345.entry.js → p-c323f19e.entry.js} +2 -2
  475. package/dist/stzh-components/p-c323f19e.entry.js.map +1 -0
  476. package/dist/stzh-components/p-c64a7018.system.entry.js +2 -0
  477. package/dist/stzh-components/p-c64a7018.system.entry.js.map +1 -0
  478. package/dist/stzh-components/p-ca6d7215.entry.js +2 -0
  479. package/dist/stzh-components/p-ca6d7215.entry.js.map +1 -0
  480. package/dist/stzh-components/{p-9f4f3882.system.entry.js → p-d531fbaf.system.entry.js} +2 -2
  481. package/dist/stzh-components/p-d6ffd97e.entry.js +2 -0
  482. package/dist/stzh-components/p-d6ffd97e.entry.js.map +1 -0
  483. package/dist/stzh-components/{p-fefcd0e6.entry.js → p-d7a7560a.entry.js} +2 -2
  484. package/dist/stzh-components/{p-87b4549c.system.entry.js → p-dad99bd2.system.entry.js} +2 -2
  485. package/dist/stzh-components/p-daf17eae.entry.js +2 -0
  486. package/dist/stzh-components/p-daf17eae.entry.js.map +1 -0
  487. package/dist/stzh-components/p-dd137812.entry.js +8 -0
  488. package/dist/stzh-components/p-dd137812.entry.js.map +1 -0
  489. package/dist/stzh-components/{p-b05c240b.system.entry.js → p-e16ee236.system.entry.js} +2 -2
  490. package/dist/stzh-components/p-e5781c90.system.entry.js +2 -0
  491. package/dist/stzh-components/p-e5781c90.system.entry.js.map +1 -0
  492. package/dist/stzh-components/p-e606314e.system.entry.js +2 -0
  493. package/dist/stzh-components/p-e606314e.system.entry.js.map +1 -0
  494. package/dist/stzh-components/{p-bcd5b20e.entry.js → p-e7454abb.entry.js} +2 -2
  495. package/dist/stzh-components/p-e787179c.js +2 -0
  496. package/dist/stzh-components/p-e787179c.js.map +1 -0
  497. package/dist/stzh-components/p-e7d4542e.entry.js +2 -0
  498. package/dist/stzh-components/p-e7d4542e.entry.js.map +1 -0
  499. package/dist/stzh-components/p-eaa65f52.system.js.map +1 -1
  500. package/dist/stzh-components/p-eab77a09.system.entry.js +2 -0
  501. package/dist/stzh-components/p-eab77a09.system.entry.js.map +1 -0
  502. package/dist/stzh-components/{p-6d097e82.system.entry.js → p-ebe979a3.system.entry.js} +2 -2
  503. package/dist/stzh-components/{p-9b7d4e8d.entry.js → p-ef4c12ac.entry.js} +2 -2
  504. package/dist/stzh-components/{p-3cb43903.entry.js → p-f0ac9730.entry.js} +2 -2
  505. package/dist/stzh-components/p-f43f7434.entry.js +2 -0
  506. package/dist/stzh-components/p-f43f7434.entry.js.map +1 -0
  507. package/dist/stzh-components/p-f4ec861e.entry.js +2 -0
  508. package/dist/stzh-components/{p-14e782cb.entry.js.map → p-f4ec861e.entry.js.map} +1 -1
  509. package/dist/stzh-components/{p-8d695d3e.system.entry.js → p-f65b5145.system.entry.js} +2 -2
  510. package/dist/stzh-components/{p-b82351f0.system.entry.js → p-f665752d.system.entry.js} +2 -2
  511. package/dist/stzh-components/p-f879bc5a.system.entry.js +2 -0
  512. package/dist/stzh-components/p-f879bc5a.system.entry.js.map +1 -0
  513. package/dist/stzh-components/{p-c3b260a1.entry.js → p-fb12ec57.entry.js} +2 -2
  514. package/dist/stzh-components/p-fb36e3be.entry.js +2 -0
  515. package/dist/stzh-components/{p-df9460ae.system.entry.js.map → p-fb36e3be.entry.js.map} +1 -1
  516. package/dist/stzh-components/p-fc339100.js +2 -0
  517. package/dist/stzh-components/p-fc339100.js.map +1 -0
  518. package/dist/stzh-components/{p-52e52b49.entry.js → p-fd97e87d.entry.js} +2 -2
  519. package/dist/stzh-components/p-fdabe05c.entry.js +2 -0
  520. package/dist/stzh-components/p-fdabe05c.entry.js.map +1 -0
  521. package/dist/stzh-components/p-fdb1fd0a.entry.js +2 -0
  522. package/dist/stzh-components/p-fdb1fd0a.entry.js.map +1 -0
  523. package/dist/stzh-components/{p-80d581ac.system.entry.js → p-fece12c0.system.entry.js} +2 -2
  524. package/dist/stzh-components/p-fece12c0.system.entry.js.map +1 -0
  525. package/dist/stzh-components/stzh-components.css +740 -1
  526. package/dist/stzh-components/stzh-components.esm.js +1 -1
  527. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  528. package/dist/stzh-components/stzh-components.js +1 -1
  529. package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +4 -0
  530. package/dist/types/components/stzh-pagination/stzh-pagination.localization.d.ts +8 -0
  531. package/dist/types/components.d.ts +251 -4
  532. package/dist/types/index.d.ts +6 -0
  533. package/dist/types/utils/string-utils.d.ts +1 -0
  534. package/dist/types/utils/utils.d.ts +1 -0
  535. package/dist/vscode-data.json +125 -3
  536. package/package.json +1 -1
  537. package/dist/cjs/string-utils-a867b99d.js.map +0 -1
  538. package/dist/cjs/stzh-actionset.cjs.entry.js +0 -173
  539. package/dist/cjs/stzh-actionset.cjs.entry.js.map +0 -1
  540. package/dist/cjs/stzh-card_3.cjs.entry.js +0 -528
  541. package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
  542. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +0 -157
  543. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js.map +0 -1
  544. package/dist/cjs/stzh-sortable.cjs.entry.js.map +0 -1
  545. package/dist/cjs/stzh-status.cjs.entry.js +0 -34
  546. package/dist/cjs/stzh-status.cjs.entry.js.map +0 -1
  547. package/dist/cjs/utils-a2ff9f84.js.map +0 -1
  548. package/dist/esm/string-utils-f98ee4e8.js +0 -17
  549. package/dist/esm/string-utils-f98ee4e8.js.map +0 -1
  550. package/dist/esm/stzh-actionset.entry.js +0 -169
  551. package/dist/esm/stzh-actionset.entry.js.map +0 -1
  552. package/dist/esm/stzh-card_3.entry.js +0 -522
  553. package/dist/esm/stzh-card_3.entry.js.map +0 -1
  554. package/dist/esm/stzh-ghettobox_2.entry.js +0 -152
  555. package/dist/esm/stzh-ghettobox_2.entry.js.map +0 -1
  556. package/dist/esm/stzh-sortable.entry.js.map +0 -1
  557. package/dist/esm/stzh-status.entry.js +0 -30
  558. package/dist/esm/stzh-status.entry.js.map +0 -1
  559. package/dist/esm/utils-51148d9a.js.map +0 -1
  560. package/dist/esm-es5/string-utils-f98ee4e8.js +0 -2
  561. package/dist/esm-es5/string-utils-f98ee4e8.js.map +0 -1
  562. package/dist/esm-es5/stzh-actionset.entry.js +0 -2
  563. package/dist/esm-es5/stzh-actionset.entry.js.map +0 -1
  564. package/dist/esm-es5/stzh-card_3.entry.js +0 -2
  565. package/dist/esm-es5/stzh-card_3.entry.js.map +0 -1
  566. package/dist/esm-es5/stzh-ghettobox_2.entry.js +0 -2
  567. package/dist/esm-es5/stzh-sortable.entry.js +0 -8
  568. package/dist/esm-es5/stzh-sortable.entry.js.map +0 -1
  569. package/dist/esm-es5/stzh-status.entry.js +0 -2
  570. package/dist/esm-es5/stzh-status.entry.js.map +0 -1
  571. package/dist/esm-es5/utils-51148d9a.js +0 -2
  572. package/dist/esm-es5/utils-51148d9a.js.map +0 -1
  573. package/dist/stzh-components/p-0515de95.system.entry.js +0 -2
  574. package/dist/stzh-components/p-0515de95.system.entry.js.map +0 -1
  575. package/dist/stzh-components/p-07c0f4ce.entry.js +0 -2
  576. package/dist/stzh-components/p-07c0f4ce.entry.js.map +0 -1
  577. package/dist/stzh-components/p-09191103.system.entry.js +0 -2
  578. package/dist/stzh-components/p-09191103.system.entry.js.map +0 -1
  579. package/dist/stzh-components/p-0e6889d6.system.entry.js +0 -8
  580. package/dist/stzh-components/p-0e6889d6.system.entry.js.map +0 -1
  581. package/dist/stzh-components/p-14e782cb.entry.js +0 -2
  582. package/dist/stzh-components/p-172ba9ba.entry.js +0 -8
  583. package/dist/stzh-components/p-172ba9ba.entry.js.map +0 -1
  584. package/dist/stzh-components/p-2907f1b5.entry.js +0 -2
  585. package/dist/stzh-components/p-2907f1b5.entry.js.map +0 -1
  586. package/dist/stzh-components/p-2f3add2f.system.entry.js +0 -2
  587. package/dist/stzh-components/p-2f3add2f.system.entry.js.map +0 -1
  588. package/dist/stzh-components/p-3290296f.entry.js +0 -2
  589. package/dist/stzh-components/p-3290296f.entry.js.map +0 -1
  590. package/dist/stzh-components/p-343694cb.system.entry.js +0 -2
  591. package/dist/stzh-components/p-343694cb.system.entry.js.map +0 -1
  592. package/dist/stzh-components/p-36b1004d.entry.js +0 -2
  593. package/dist/stzh-components/p-36b1004d.entry.js.map +0 -1
  594. package/dist/stzh-components/p-3d056a49.entry.js +0 -2
  595. package/dist/stzh-components/p-3d056a49.entry.js.map +0 -1
  596. package/dist/stzh-components/p-402ea6f4.entry.js +0 -2
  597. package/dist/stzh-components/p-402ea6f4.entry.js.map +0 -1
  598. package/dist/stzh-components/p-4468e033.system.entry.js +0 -2
  599. package/dist/stzh-components/p-4468e033.system.entry.js.map +0 -1
  600. package/dist/stzh-components/p-53b84310.system.entry.js +0 -2
  601. package/dist/stzh-components/p-53b84310.system.entry.js.map +0 -1
  602. package/dist/stzh-components/p-55061908.entry.js +0 -2
  603. package/dist/stzh-components/p-55061908.entry.js.map +0 -1
  604. package/dist/stzh-components/p-57ba4050.system.entry.js +0 -2
  605. package/dist/stzh-components/p-57ba4050.system.entry.js.map +0 -1
  606. package/dist/stzh-components/p-5aa96b49.system.entry.js +0 -2
  607. package/dist/stzh-components/p-5aa96b49.system.entry.js.map +0 -1
  608. package/dist/stzh-components/p-5c697491.js +0 -2
  609. package/dist/stzh-components/p-5c697491.js.map +0 -1
  610. package/dist/stzh-components/p-5d8ad1f4.system.entry.js +0 -2
  611. package/dist/stzh-components/p-5d8ad1f4.system.entry.js.map +0 -1
  612. package/dist/stzh-components/p-62188444.entry.js +0 -2
  613. package/dist/stzh-components/p-62188444.entry.js.map +0 -1
  614. package/dist/stzh-components/p-693c611c.entry.js +0 -2
  615. package/dist/stzh-components/p-693c611c.entry.js.map +0 -1
  616. package/dist/stzh-components/p-72c69a2e.entry.js +0 -2
  617. package/dist/stzh-components/p-72c69a2e.entry.js.map +0 -1
  618. package/dist/stzh-components/p-78071d97.entry.js +0 -2
  619. package/dist/stzh-components/p-78071d97.entry.js.map +0 -1
  620. package/dist/stzh-components/p-7dc517db.entry.js +0 -2
  621. package/dist/stzh-components/p-7dc517db.entry.js.map +0 -1
  622. package/dist/stzh-components/p-80d581ac.system.entry.js.map +0 -1
  623. package/dist/stzh-components/p-82e886d4.entry.js +0 -2
  624. package/dist/stzh-components/p-82e886d4.entry.js.map +0 -1
  625. package/dist/stzh-components/p-9fe69be8.system.entry.js +0 -2
  626. package/dist/stzh-components/p-a003aa96.system.entry.js +0 -2
  627. package/dist/stzh-components/p-a003aa96.system.entry.js.map +0 -1
  628. package/dist/stzh-components/p-a1c02179.entry.js +0 -2
  629. package/dist/stzh-components/p-a2bdc528.system.entry.js +0 -2
  630. package/dist/stzh-components/p-a2bdc528.system.entry.js.map +0 -1
  631. package/dist/stzh-components/p-a2c076b8.system.entry.js +0 -2
  632. package/dist/stzh-components/p-a2c076b8.system.entry.js.map +0 -1
  633. package/dist/stzh-components/p-a8ccb843.entry.js +0 -2
  634. package/dist/stzh-components/p-a8ccb843.entry.js.map +0 -1
  635. package/dist/stzh-components/p-ab199fd7.system.entry.js +0 -2
  636. package/dist/stzh-components/p-ab199fd7.system.entry.js.map +0 -1
  637. package/dist/stzh-components/p-b295cbcc.system.entry.js +0 -2
  638. package/dist/stzh-components/p-b295cbcc.system.entry.js.map +0 -1
  639. package/dist/stzh-components/p-b5cda655.entry.js +0 -2
  640. package/dist/stzh-components/p-b5cda655.entry.js.map +0 -1
  641. package/dist/stzh-components/p-b7d68fca.system.js +0 -2
  642. package/dist/stzh-components/p-b910e1b7.entry.js +0 -2
  643. package/dist/stzh-components/p-b910e1b7.entry.js.map +0 -1
  644. package/dist/stzh-components/p-c0f971f2.entry.js.map +0 -1
  645. package/dist/stzh-components/p-c901fe72.system.entry.js.map +0 -1
  646. package/dist/stzh-components/p-cb04774b.entry.js +0 -2
  647. package/dist/stzh-components/p-cb04774b.entry.js.map +0 -1
  648. package/dist/stzh-components/p-cc35e963.entry.js +0 -2
  649. package/dist/stzh-components/p-cc35e963.entry.js.map +0 -1
  650. package/dist/stzh-components/p-d3f7e7e2.system.entry.js +0 -2
  651. package/dist/stzh-components/p-d3f7e7e2.system.entry.js.map +0 -1
  652. package/dist/stzh-components/p-d4b7a303.system.js +0 -2
  653. package/dist/stzh-components/p-d4b7a303.system.js.map +0 -1
  654. package/dist/stzh-components/p-d5b4d345.entry.js.map +0 -1
  655. package/dist/stzh-components/p-df9460ae.system.entry.js +0 -2
  656. package/dist/stzh-components/p-e40d6e96.entry.js +0 -2
  657. package/dist/stzh-components/p-e40d6e96.entry.js.map +0 -1
  658. package/dist/stzh-components/p-ebcc510d.system.entry.js +0 -2
  659. package/dist/stzh-components/p-ebcc510d.system.entry.js.map +0 -1
  660. package/dist/stzh-components/p-ee7a68db.js +0 -2
  661. package/dist/stzh-components/p-ee7a68db.js.map +0 -1
  662. package/dist/stzh-components/p-f2d74491.system.entry.js +0 -2
  663. package/dist/stzh-components/p-f2d74491.system.entry.js.map +0 -1
  664. package/dist/stzh-components/p-f58c28ad.system.js +0 -2
  665. package/dist/stzh-components/p-f58c28ad.system.js.map +0 -1
  666. package/dist/stzh-components/p-fda1c56c.system.entry.js +0 -2
  667. package/dist/stzh-components/p-fda1c56c.system.entry.js.map +0 -1
  668. /package/dist/stzh-components/{p-edef74c8.system.entry.js.map → p-08050ce2.system.entry.js.map} +0 -0
  669. /package/dist/stzh-components/{p-f23f2408.system.entry.js.map → p-09445156.system.entry.js.map} +0 -0
  670. /package/dist/stzh-components/{p-94a5e295.system.entry.js.map → p-0d302a14.system.entry.js.map} +0 -0
  671. /package/dist/stzh-components/{p-2615433f.system.entry.js.map → p-2009a8df.system.entry.js.map} +0 -0
  672. /package/dist/stzh-components/{p-39a4904e.system.entry.js.map → p-2614251e.system.entry.js.map} +0 -0
  673. /package/dist/stzh-components/{p-799548c4.system.entry.js.map → p-27489e46.system.entry.js.map} +0 -0
  674. /package/dist/stzh-components/{p-29ed53a9.system.entry.js.map → p-2dd983a9.system.entry.js.map} +0 -0
  675. /package/dist/stzh-components/{p-cc1a6af1.system.entry.js.map → p-2ec243e8.system.entry.js.map} +0 -0
  676. /package/dist/stzh-components/{p-cd0f7b10.entry.js.map → p-33da1a1c.entry.js.map} +0 -0
  677. /package/dist/stzh-components/{p-6608126b.entry.js.map → p-4325de93.entry.js.map} +0 -0
  678. /package/dist/stzh-components/{p-517af258.system.entry.js.map → p-444f765a.system.entry.js.map} +0 -0
  679. /package/dist/stzh-components/{p-7b297848.system.entry.js.map → p-50652c05.system.entry.js.map} +0 -0
  680. /package/dist/stzh-components/{p-a8c92707.system.entry.js.map → p-509b0e4c.system.entry.js.map} +0 -0
  681. /package/dist/stzh-components/{p-a2b49ad8.entry.js.map → p-52bcb3ab.entry.js.map} +0 -0
  682. /package/dist/stzh-components/{p-4cd7c872.system.entry.js.map → p-5af33d37.system.entry.js.map} +0 -0
  683. /package/dist/stzh-components/{p-8cb7e2da.system.entry.js.map → p-5bceda21.system.entry.js.map} +0 -0
  684. /package/dist/stzh-components/{p-5ee43b56.entry.js.map → p-5c3d0895.entry.js.map} +0 -0
  685. /package/dist/stzh-components/{p-eca073df.system.entry.js.map → p-6ac4713f.system.entry.js.map} +0 -0
  686. /package/dist/stzh-components/{p-9d46101e.entry.js.map → p-6c0f3c5e.entry.js.map} +0 -0
  687. /package/dist/stzh-components/{p-c2a06b4d.system.entry.js.map → p-6cb99167.system.entry.js.map} +0 -0
  688. /package/dist/stzh-components/{p-b8ad5f47.system.entry.js.map → p-709bb264.system.entry.js.map} +0 -0
  689. /package/dist/stzh-components/{p-3e5da137.entry.js.map → p-7463c7b5.entry.js.map} +0 -0
  690. /package/dist/stzh-components/{p-bc997ce2.entry.js.map → p-76c2f21a.entry.js.map} +0 -0
  691. /package/dist/stzh-components/{p-562f4dfa.entry.js.map → p-78f78684.entry.js.map} +0 -0
  692. /package/dist/stzh-components/{p-3dea2f45.entry.js.map → p-849ec693.entry.js.map} +0 -0
  693. /package/dist/stzh-components/{p-3aa5623c.entry.js.map → p-89562c7e.entry.js.map} +0 -0
  694. /package/dist/stzh-components/{p-45572515.entry.js.map → p-916f8386.entry.js.map} +0 -0
  695. /package/dist/stzh-components/{p-2d25bcc8.entry.js.map → p-979390db.entry.js.map} +0 -0
  696. /package/dist/stzh-components/{p-e2ff2ef4.entry.js.map → p-a0008fa2.entry.js.map} +0 -0
  697. /package/dist/stzh-components/{p-05b9e4c2.system.entry.js.map → p-a26cd855.system.entry.js.map} +0 -0
  698. /package/dist/stzh-components/{p-b792ea2e.system.entry.js.map → p-a2d5846c.system.entry.js.map} +0 -0
  699. /package/dist/stzh-components/{p-6c219530.entry.js.map → p-a8e1b13c.entry.js.map} +0 -0
  700. /package/dist/stzh-components/{p-4a299f84.entry.js.map → p-acbe3680.entry.js.map} +0 -0
  701. /package/dist/stzh-components/{p-35cbff3f.entry.js.map → p-affbfe00.entry.js.map} +0 -0
  702. /package/dist/stzh-components/{p-7772c262.entry.js.map → p-b5531053.entry.js.map} +0 -0
  703. /package/dist/stzh-components/{p-bf069354.entry.js.map → p-bac7cf37.entry.js.map} +0 -0
  704. /package/dist/stzh-components/{p-f599025e.system.entry.js.map → p-c0aa52aa.system.entry.js.map} +0 -0
  705. /package/dist/stzh-components/{p-9f4f3882.system.entry.js.map → p-d531fbaf.system.entry.js.map} +0 -0
  706. /package/dist/stzh-components/{p-fefcd0e6.entry.js.map → p-d7a7560a.entry.js.map} +0 -0
  707. /package/dist/stzh-components/{p-87b4549c.system.entry.js.map → p-dad99bd2.system.entry.js.map} +0 -0
  708. /package/dist/stzh-components/{p-b05c240b.system.entry.js.map → p-e16ee236.system.entry.js.map} +0 -0
  709. /package/dist/stzh-components/{p-bcd5b20e.entry.js.map → p-e7454abb.entry.js.map} +0 -0
  710. /package/dist/stzh-components/{p-6d097e82.system.entry.js.map → p-ebe979a3.system.entry.js.map} +0 -0
  711. /package/dist/stzh-components/{p-9b7d4e8d.entry.js.map → p-ef4c12ac.entry.js.map} +0 -0
  712. /package/dist/stzh-components/{p-3cb43903.entry.js.map → p-f0ac9730.entry.js.map} +0 -0
  713. /package/dist/stzh-components/{p-8d695d3e.system.entry.js.map → p-f65b5145.system.entry.js.map} +0 -0
  714. /package/dist/stzh-components/{p-b82351f0.system.entry.js.map → p-f665752d.system.entry.js.map} +0 -0
  715. /package/dist/stzh-components/{p-c3b260a1.entry.js.map → p-fb12ec57.entry.js.map} +0 -0
  716. /package/dist/stzh-components/{p-52e52b49.entry.js.map → p-fd97e87d.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhHspaceCss","StzhHspace","exports","class_1","prototype","render","h","Host","class","_a","concat","this","justify","items"],"sources":["src/components/stzh-hspace/stzh-hspace.scss?tag=stzh-hspace&encapsulation=shadow","src/components/stzh-hspace/stzh-hspace.tsx"],"sourcesContent":[":host {\n --h-space: #{space()};\n --h-around: 0;\n\n display: flex;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding-left: calc(var(--h-space) * var(--h-around));\n padding-right: calc(var(--h-space) * var(--h-around));\n margin: 0;\n }\n\n ::slotted(*:not(:last-child)) {\n margin-right: calc(var(--h-space) * (1 - var(--h-around)));\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty) {\n --h-around: 1;\n\n width: var(--h-space);\n}\n\n:host([around]:not([around=\"false\"])) {\n --h-around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"left\"]),\n:host([border=\"left-right\"]) {\n border-left: 1px solid $baseBorderColor;\n}\n\n:host([border=\"right\"]),\n:host([border=\"left-right\"]) {\n border-right: 1px solid $baseBorderColor;\n}\n\n/* Space variants */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map-get($value, 'size');\n $breakpointSizes: map-get($value, 'sizes');\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-h-space {\n :host([curve=\"#{$spaceCurve}\"]) {\n --h-space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --h-space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-h-space {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --h-space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-h-space {\n :host([size=\"#{$space}\"]) {\n --h-space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-hspace {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 0;\n margin: 0;\n\n &--border-left {\n border-left: 1px solid $baseBorderColor;\n }\n\n &--border-right {\n border-right: 1px solid $baseBorderColor;\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be horizontically spaced\n */\n@Component({\n tag: \"stzh-hspace\",\n styleUrl: \"stzh-hspace.scss\",\n shadow: true\n})\nexport class StzhHspace {\n /** Type of curve */\n @Prop() curve: Space.Curves = \"none\";\n\n /** Type of size */\n @Prop() size: Space.Sizes = \"inherit\";\n /** Type of size above small breakpoint */\n @Prop() sizeSmall: Space.Sizes = \"inherit\";\n /** Type of size above medium breakpoint */\n @Prop() sizeMedium: Space.Sizes = \"inherit\";\n /** Type of size above large breakpoint */\n @Prop() sizeLarge: Space.Sizes = \"inherit\";\n /** Type of size above ultra breakpoint */\n @Prop() sizeUltra: Space.Sizes = \"inherit\";\n\n /** Alignment */\n @Prop() justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop() items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"left\" | \"right\" | \"left-right\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-hspace\": true,\n [`stzh-hspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-hspace--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kJAAA,IAAMA,EAAgB,gga,ICiBTC,EAAUC,EAAA,yB,mCAES,O,UAGF,U,eAEK,U,gBAEC,U,eAED,U,eAEA,U,aAGC,Q,WAGJ,Q,YAGa,M,YAGiC,M,CAE5EC,EAAAC,UAAAC,OAAA,W,MACE,OACEC,EAACC,EAAI,KACHD,EAAA,OACEE,OAAKC,EAAA,CACH,cAAe,MACfA,EAAC,wBAAAC,OAAwBC,KAAKC,YAAcD,KAAKC,QACjDH,EAAC,sBAAAC,OAAsBC,KAAKE,UAAYF,KAAKE,M,IAG/CP,EAAA,c,WArCa,I"}
@@ -1,2 +1,2 @@
1
- import{r as t,h as o,F as s,a as e,g as i}from"./p-9e02896c.js";import{f as n}from"./p-25a09313.js";import{s as r,h as l}from"./p-5c697491.js";const a=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0;}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer [slot=logo],.stzh-footer [slot=logo] img{display:block;height:2.375rem}.stzh-footer [slot=info]{margin:0}.stzh-footer stzh-link[slot=info],.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration-line:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=info] .stzh-link,.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=info]:not(:last-child){margin-bottom:var(--stzh-space-small)}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}.stzh-footer__logo:empty,.stzh-footer__info:empty,.stzh-footer__social-link:empty,.stzh-footer__links:empty{display:none}.stzh-footer__logo:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-footer__logo:not(:empty){margin-bottom:0}}.stzh-footer__info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.stzh-footer__info:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer__info:not(:empty){margin-bottom:0}}@media screen and (min-width: 1024px){.stzh-footer__logo,.stzh-footer__social-link{margin-right:auto}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-footer--has-logo .stzh-footer__wrapper,.stzh-footer--has-info .stzh-footer__wrapper{-ms-flex-align:start;align-items:flex-start}}.stzh-footer--has-border{border-top:0.0625rem solid var(--stzh-base-border-color)}";const h=class{constructor(o){t(this,o);this.init=()=>{const t=this.element.querySelector('stzh-link[slot="social-link"]');const o=this.element.querySelectorAll('stzh-link[slot="link"]');if(t){r(t,{icon:"social-media"})}o.forEach((t=>{t.setAttribute("role","listitem")}))};this.localization=undefined;this.copyright=undefined;this.variant="default";this.mainUrl="https://www.stadt-zuerich.ch";this.withBorder=false}async componentWillLoad(){if(typeof this.copyright==="undefined"){const t=new Date;this.copyright=`© ${t.getFullYear()} Stadt Zürich`}if(!this.localization){this.localization=await n(this.element,"footer")}}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=l(this.element,"logo");const i=l(this.element,"info");const n=l(this.element,"link");const r=l(this.element,"social-link");const a={"stzh-footer":true,"stzh-footer--has-border":this.withBorder,"stzh-footer--has-logo":t,"stzh-footer--has-info":i,"stzh-footer--has-links":n,"stzh-footer--has-social-link":r};return o(e,null,o("footer",{class:a},o("div",{class:"stzh-footer__wrapper"},o("div",{class:"stzh-footer__social-link"},o("slot",{name:"social-link"})),o("div",{class:"stzh-footer__logo"},o("slot",{name:"logo"})),o("div",{class:"stzh-footer__info"},o("slot",{name:"info"})),o("div",{class:"stzh-footer__links"},this.copyright&&o("div",{class:"stzh-footer__copyright"},this.copyright),o("div",{class:"stzh-footer__link-list",role:"list"},o("slot",{name:"link"},this.variant==="egov"&&o(s,null,o("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.legalNoticeUrl}`},this.localization.legalNoticeText),o("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.imprintUrl}`},this.localization.imprintText),o("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:`${this.mainUrl}/${this.localization.accessibilityUrl}`},this.localization.accessibilityText))))))))}get element(){return i(this)}};h.style=a;export{h as stzh_footer};
2
- //# sourceMappingURL=p-7772c262.entry.js.map
1
+ import{r as t,h as o,F as s,a as e,g as i}from"./p-9e02896c.js";import{f as n}from"./p-25a09313.js";import{s as r,h as l}from"./p-fc339100.js";const a=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0;}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer [slot=logo],.stzh-footer [slot=logo] img{display:block;height:2.375rem}.stzh-footer [slot=info]{margin:0}.stzh-footer stzh-link[slot=info],.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration-line:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=info] .stzh-link,.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=info]:not(:last-child){margin-bottom:var(--stzh-space-small)}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}.stzh-footer__logo:empty,.stzh-footer__info:empty,.stzh-footer__social-link:empty,.stzh-footer__links:empty{display:none}.stzh-footer__logo:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-footer__logo:not(:empty){margin-bottom:0}}.stzh-footer__info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.stzh-footer__info:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer__info:not(:empty){margin-bottom:0}}@media screen and (min-width: 1024px){.stzh-footer__logo,.stzh-footer__social-link{margin-right:auto}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-footer--has-logo .stzh-footer__wrapper,.stzh-footer--has-info .stzh-footer__wrapper{-ms-flex-align:start;align-items:flex-start}}.stzh-footer--has-border{border-top:0.0625rem solid var(--stzh-base-border-color)}";const h=class{constructor(o){t(this,o);this.init=()=>{const t=this.element.querySelector('stzh-link[slot="social-link"]');const o=this.element.querySelectorAll('stzh-link[slot="link"]');if(t){r(t,{icon:"social-media"})}o.forEach((t=>{t.setAttribute("role","listitem")}))};this.localization=undefined;this.copyright=undefined;this.variant="default";this.mainUrl="https://www.stadt-zuerich.ch";this.withBorder=false}async componentWillLoad(){if(typeof this.copyright==="undefined"){const t=new Date;this.copyright=`© ${t.getFullYear()} Stadt Zürich`}if(!this.localization){this.localization=await n(this.element,"footer")}}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=l(this.element,"logo");const i=l(this.element,"info");const n=l(this.element,"link");const r=l(this.element,"social-link");const a={"stzh-footer":true,"stzh-footer--has-border":this.withBorder,"stzh-footer--has-logo":t,"stzh-footer--has-info":i,"stzh-footer--has-links":n,"stzh-footer--has-social-link":r};return o(e,null,o("footer",{class:a},o("div",{class:"stzh-footer__wrapper"},o("div",{class:"stzh-footer__social-link"},o("slot",{name:"social-link"})),o("div",{class:"stzh-footer__logo"},o("slot",{name:"logo"})),o("div",{class:"stzh-footer__info"},o("slot",{name:"info"})),o("div",{class:"stzh-footer__links"},this.copyright&&o("div",{class:"stzh-footer__copyright"},this.copyright),o("div",{class:"stzh-footer__link-list",role:"list"},o("slot",{name:"link"},this.variant==="egov"&&o(s,null,o("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.legalNoticeUrl}`},this.localization.legalNoticeText),o("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:`${this.mainUrl}/${this.localization.imprintUrl}`},this.localization.imprintText),o("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:`${this.mainUrl}/${this.localization.accessibilityUrl}`},this.localization.accessibilityText))))))))}get element(){return i(this)}};h.style=a;export{h as stzh_footer};
2
+ //# sourceMappingURL=p-b5531053.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,h as s,a}from"./p-9e02896c.js";const t=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host{--v-space:var(--stzh-space-default);--v-around:0;display:-ms-flexbox;display:flex}:host ::slotted(*){max-width:100%;padding-top:calc(var(--v-space) * var(--v-around));padding-bottom:calc(var(--v-space) * var(--v-around));margin:0}:host ::slotted(*:not(:last-child)){margin-bottom:calc(var(--v-space) * (1 - var(--v-around)))}:host ::slotted(stzh-vspace),:host ::slotted(stzh-hspace),:host ::slotted(stzh-row),:host ::slotted(stzh-container),:host ::slotted(stzh-section){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}:host(:empty){--v-around:1;height:var(--v-space)}:host([around]:not([around=false])){--v-around:1}:host([border=top]),:host([border=top-bottom]){border-top:0.0625rem solid var(--stzh-base-border-color)}:host([border=bottom]),:host([border=top-bottom]){border-bottom:0.0625rem solid var(--stzh-base-border-color)}:host([curve=tiny]){--v-space:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){:host([curve=tiny]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([curve=tiny]){--v-space:var(--stzh-space-medium)}}:host([curve=small]){--v-space:var(--stzh-space-small)}@media screen and (min-width: 1024px){:host([curve=small]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([curve=small]){--v-space:var(--stzh-space-large)}}:host([curve=regular]){--v-space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){:host([curve=regular]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([curve=regular]){--v-space:var(--stzh-space-xlarge)}}:host([curve=medium]){--v-space:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){:host([curve=medium]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=medium]){--v-space:var(--stzh-space-xxxlarge)}}:host([curve=large]){--v-space:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){:host([curve=large]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=large]){--v-space:var(--stzh-space-xxxxlarge)}}:host([curve=big]){--v-space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){:host([curve=big]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([curve=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([curve=big]){--v-space:var(--stzh-space-xbig)}}:host([curve=huge]){--v-space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){:host([curve=huge]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([curve=huge]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([curve=huge]){--v-space:var(--stzh-space-huge)}}:host([size=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}:host([size=xxsmall]){--v-space:var(--stzh-space-xxsmall)}:host([size=xsmall]){--v-space:var(--stzh-space-xsmall)}:host([size=small]){--v-space:var(--stzh-space-small)}:host([size=medium]){--v-space:var(--stzh-space-medium)}:host([size=large]){--v-space:var(--stzh-space-large)}:host([size=xlarge]){--v-space:var(--stzh-space-xlarge)}:host([size=xxlarge]){--v-space:var(--stzh-space-xxlarge)}:host([size=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}:host([size=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}:host([size=big]){--v-space:var(--stzh-space-big)}:host([size=xbig]){--v-space:var(--stzh-space-xbig)}:host([size=huge]){--v-space:var(--stzh-space-huge)}:host([size=xhuge]){--v-space:var(--stzh-space-xhuge)}:host([size=none]){--v-space:var(--stzh-space-none)}:host([size=default]){--v-space:var(--stzh-space-default)}@media screen and (min-width: 600px){:host([size-small=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){:host([size-small=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){:host([size-small=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){:host([size-small=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 600px){:host([size-small=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){:host([size-small=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 600px){:host([size-small=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){:host([size-small=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){:host([size-small=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 600px){:host([size-small=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){:host([size-small=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){:host([size-small=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){:host([size-small=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 600px){:host([size-small=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 800px){:host([size-smallheader=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){:host([size-smallheader=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 800px){:host([size-smallheader=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 800px){:host([size-smallheader=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){:host([size-smallheader=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){:host([size-smallheader=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){:host([size-smallheader=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 800px){:host([size-smallheader=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){:host([size-medium=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){:host([size-medium=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){:host([size-medium=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){:host([size-medium=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){:host([size-medium=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([size-medium=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){:host([size-medium=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){:host([size-medium=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){:host([size-medium=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){:host([size-medium=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){:host([size-large=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([size-large=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([size-large=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([size-large=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([size-large=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([size-large=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([size-large=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){:host([size-large=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){:host([size-large=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){:host([size-large=default]){--v-space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxsmall]){--v-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xxsmall]){--v-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xsmall]){--v-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=small]){--v-space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){:host([size-ultra=medium]){--v-space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){:host([size-ultra=large]){--v-space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){:host([size-ultra=xlarge]){--v-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxlarge]){--v-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxlarge]){--v-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxxlarge]){--v-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=big]){--v-space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){:host([size-ultra=xbig]){--v-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){:host([size-ultra=huge]){--v-space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){:host([size-ultra=xhuge]){--v-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){:host([size-ultra=none]){--v-space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){:host([size-ultra=default]){--v-space:var(--stzh-space-default)}}.stzh-vspace{-ms-flex-positive:1;flex-grow:1;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0;}.stzh-vspace--border-top{border-top:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--border-bottom{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-vspace--justify-center{-ms-flex-pack:center;justify-content:center}.stzh-vspace--justify-end{-ms-flex-pack:end;justify-content:flex-end}.stzh-vspace--justify-between{-ms-flex-pack:justify;justify-content:space-between}.stzh-vspace--justify-around{-ms-flex-pack:distribute;justify-content:space-around}.stzh-vspace--justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.stzh-vspace--items-end{-ms-flex-align:end;align-items:flex-end}.stzh-vspace--items-center{-ms-flex-align:center;align-items:center}.stzh-vspace--items-baseline{-ms-flex-align:baseline;align-items:baseline}.stzh-vspace--items-stretch{-ms-flex-align:stretch;align-items:stretch}";const i=class{constructor(s){e(this,s);this.curve="none";this.size="inherit";this.sizeSmall="inherit";this.sizeMedium="inherit";this.sizeLarge="inherit";this.sizeUltra="inherit";this.justify="start";this.items="start";this.around=false;this.border="none"}render(){return s(a,null,s("div",{class:{"stzh-vspace":true,[`stzh-vspace--justify-${this.justify}`]:!!this.justify,[`stzh-vspace--items-${this.items}`]:!!this.items}},s("slot",null)))}};i.style=t;export{i as stzh_vspace};
2
+ //# sourceMappingURL=p-b989646a.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhVspaceCss","StzhVspace","render","h","Host","class","this","justify","items"],"sources":["./src/components/stzh-vspace/stzh-vspace.scss?tag=stzh-vspace&encapsulation=shadow","./src/components/stzh-vspace/stzh-vspace.tsx"],"sourcesContent":[":host {\n --v-space: #{space()};\n --v-around: 0;\n\n display: flex;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding-top: calc(var(--v-space) * var(--v-around));\n padding-bottom: calc(var(--v-space) * var(--v-around));\n margin: 0;\n }\n\n ::slotted(*:not(:last-child)) {\n margin-bottom: calc(var(--v-space) * (1 - var(--v-around)));\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty) {\n --v-around: 1;\n\n height: var(--v-space);\n}\n\n:host([around]:not([around=\"false\"])) {\n --v-around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"top\"]),\n:host([border=\"top-bottom\"]) {\n border-top: 1px solid $baseBorderColor;\n}\n\n:host([border=\"bottom\"]),\n:host([border=\"top-bottom\"]) {\n border-bottom: 1px solid $baseBorderColor;\n}\n\n/* Space variants */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map-get($value, 'size');\n $breakpointSizes: map-get($value, 'sizes');\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-vspace {\n :host([curve=\"#{$spaceCurve}\"]) {\n --v-space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --v-space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-vspace {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --v-space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-vspace {\n :host([size=\"#{$space}\"]) {\n --v-space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-vspace {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 0;\n margin: 0;\n\n &--border-top {\n border-top: 1px solid $baseBorderColor;\n }\n\n &--border-bottom {\n border-bottom: 1px solid $baseBorderColor;\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be vertically spaced\n */\n@Component({\n tag: \"stzh-vspace\",\n styleUrl: \"stzh-vspace.scss\",\n shadow: true\n})\nexport class StzhVspace {\n /** Type of curve */\n @Prop() curve: Space.Curves = \"none\";\n\n /** Type of size */\n @Prop() size: Space.Sizes = \"inherit\";\n /** Type of size above small breakpoint */\n @Prop() sizeSmall: Space.Sizes = \"inherit\";\n /** Type of size above medium breakpoint */\n @Prop() sizeMedium: Space.Sizes = \"inherit\";\n /** Type of size above large breakpoint */\n @Prop() sizeLarge: Space.Sizes = \"inherit\";\n /** Type of size above ultra breakpoint */\n @Prop() sizeUltra: Space.Sizes = \"inherit\";\n\n /** Alignment */\n @Prop() justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop() items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"top\" | \"bottom\" | \"top-bottom\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-vspace\": true,\n [`stzh-vspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-vspace--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6CAAA,MAAMA,EAAgB,kja,MCiBTC,EAAU,M,oCAES,O,UAGF,U,eAEK,U,gBAEC,U,eAED,U,eAEA,U,aAGC,Q,WAGJ,Q,YAGa,M,YAGiC,M,CAE5EC,SACE,OACEC,EAACC,EAAI,KACHD,EAAA,OACEE,MAAO,CACL,cAAe,KACf,CAAC,wBAAwBC,KAAKC,aAAcD,KAAKC,QACjD,CAAC,sBAAsBD,KAAKE,WAAYF,KAAKE,QAG/CL,EAAA,c"}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,a as s,c as i,F as o,g as n}from"./p-9e02896c.js";import{h as r}from"./p-5c697491.js";const h=".sc-stzh-menu-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-menu-h{display:none}.sc-stzh-menu-h *.sc-stzh-menu,.sc-stzh-menu-h *.sc-stzh-menu::before,.sc-stzh-menu-h *.sc-stzh-menu::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-menu-h .sc-stzh-menu-s>stzh-hr{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-menu.sc-stzh-menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";const a=class{constructor(e){t(this,e)}render(){return e(s,{role:"menu"},e("div",{class:"stzh-menu"},e("slot",null)))}};a.style=h;const c=".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;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;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;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-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";const l=class{constructor(e){t(this,e);this.stzhFocus=i(this,"stzhFocus",7);this.stzhBlur=i(this,"stzhBlur",7);this.focusedByInput=false;this.onRootFocus=()=>{if(!this.focusedByInput){this.setFocus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const e=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(e);this.stzhFocus.emit({component:"stzh-menu-item",originalEvent:t})};this.onBlur=t=>{const e=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(e);this.stzhBlur.emit({component:"stzh-menu-item",originalEvent:t})};this.badge="";this.badgeType="default";this.badgeEmpty=false;this.disabled=false;this.active=false;this.icon="";this.label="";this.href="";this.target="";this.a11yLabel=undefined;this.analyticsId=undefined}async setFocus(){this.menuItem.focus()}componentDidRender(){requestAnimationFrame((()=>{this.menuItem.setAttribute("s-object-id",this.analyticsId||this.text.innerText)}))}renderInner(t){return e(o,null,t&&e("div",{class:"stzh-menu-item__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-menu-item__icon",name:this.icon}):e("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&e("stzh-badge",{class:"stzh-menu-item__badge",label:this.badge,type:this.badgeType})),e("div",{ref:t=>this.text=t,class:"stzh-menu-item__text"},this.label?this.label:e("slot",null)))}render(){const t=r(this.element,"icon")||!!this.icon;const i={"stzh-menu-item":true,"stzh-menu-item--has-icon":t,"stzh-menu-item--has-badge":!!this.badge,"stzh-menu-item--is-disabled":this.disabled,"stzh-menu-item--is-active":this.active};return e(s,{role:"menuitem",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},this.href?e("a",{ref:t=>this.menuItem=t,href:this.disabled?null:this.href,target:this.target,class:i,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(t)):e("button",{ref:t=>this.menuItem=t,class:i,type:"button",disabled:this.disabled,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(t)))}get element(){return n(this)}};l.style=c;export{a as stzh_menu,l as stzh_menu_item};
2
- //# sourceMappingURL=p-bf069354.entry.js.map
1
+ import{r as t,h as e,a as s,c as i,F as o,g as n}from"./p-9e02896c.js";import{h as r}from"./p-fc339100.js";const h=".sc-stzh-menu-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-menu-h{display:none}.sc-stzh-menu-h *.sc-stzh-menu,.sc-stzh-menu-h *.sc-stzh-menu::before,.sc-stzh-menu-h *.sc-stzh-menu::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-menu-h .sc-stzh-menu-s>stzh-hr{margin-top:var(--stzh-space-xsmall);margin-bottom:var(--stzh-space-xsmall)}.stzh-menu.sc-stzh-menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}";const a=class{constructor(e){t(this,e)}render(){return e(s,{role:"menu"},e("div",{class:"stzh-menu"},e("slot",null)))}};a.style=h;const c=".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;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;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;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-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";const l=class{constructor(e){t(this,e);this.stzhFocus=i(this,"stzhFocus",7);this.stzhBlur=i(this,"stzhBlur",7);this.focusedByInput=false;this.onRootFocus=()=>{if(!this.focusedByInput){this.setFocus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const e=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(e);this.stzhFocus.emit({component:"stzh-menu-item",originalEvent:t})};this.onBlur=t=>{const e=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(e);this.stzhBlur.emit({component:"stzh-menu-item",originalEvent:t})};this.badge="";this.badgeType="default";this.badgeEmpty=false;this.disabled=false;this.active=false;this.icon="";this.label="";this.href="";this.target="";this.a11yLabel=undefined;this.analyticsId=undefined}async setFocus(){this.menuItem.focus()}componentDidRender(){requestAnimationFrame((()=>{this.menuItem.setAttribute("s-object-id",this.analyticsId||this.text.innerText)}))}renderInner(t){return e(o,null,t&&e("div",{class:"stzh-menu-item__icon-wrapper"},this.icon?e("stzh-icon",{class:"stzh-menu-item__icon",name:this.icon}):e("slot",{name:"icon"}),(this.badge||this.badgeEmpty)&&e("stzh-badge",{class:"stzh-menu-item__badge",label:this.badge,type:this.badgeType})),e("div",{ref:t=>this.text=t,class:"stzh-menu-item__text"},this.label?this.label:e("slot",null)))}render(){const t=r(this.element,"icon")||!!this.icon;const i={"stzh-menu-item":true,"stzh-menu-item--has-icon":t,"stzh-menu-item--has-badge":!!this.badge,"stzh-menu-item--is-disabled":this.disabled,"stzh-menu-item--is-active":this.active};return e(s,{role:"menuitem",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},this.href?e("a",{ref:t=>this.menuItem=t,href:this.disabled?null:this.href,target:this.target,class:i,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(t)):e("button",{ref:t=>this.menuItem=t,class:i,type:"button",disabled:this.disabled,"aria-label":this.a11yLabel,onFocus:this.onFocus,onBlur:this.onBlur},this.renderInner(t)))}get element(){return n(this)}};l.style=c;export{a as stzh_menu,l as stzh_menu_item};
2
+ //# sourceMappingURL=p-bac7cf37.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as t,c as s,h as i,a as e,g as o}from"./p-9e02896c.js";import{f as n}from"./p-25a09313.js";const h=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-amount__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-amount__marker-text{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-amount__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-amount__error,.stzh-amount__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-amount__error{color:var(--stzh-color-error)}.stzh-amount__error-list{list-style:none;margin:0;padding:0}.stzh-amount__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-amount__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-amount__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-amount__description-long-popover[open]:not([open=false]) .stzh-amount__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-amount__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-amount__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-amount stzh-icon.stzh-amount__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-amount--has-error .stzh-amount__error,.stzh-amount--has-description .stzh-amount__description{margin-top:var(--stzh-space-xxsmall)}.stzh-amount__stepper-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;gap:var(--stzh-space-xsmall)}.stzh-amount stzh-input.stzh-amount__stepper-input{--text-align:center;width:100%}";const r="stzh-amount__dropdown-plus-option";let a=0;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange",7);this._showDropdown=!Number.isNaN(this.minValueDropdown)&&!Number.isNaN(this.maxValueDropdown)&&this.minValueDropdown<this.maxValueDropdown;this.onRootFocus=()=>{if(this.input){this.input.setFocus()}};this.onDropdownChange=t=>{if(t.detail.value===r){this._showDropdown=false;this.value=(this.maxValueDropdown+this.step).toString()}else{this.value=t.detail.value}this.stzhChange.emit({component:"stzh-amount",value:this.value})};this.onInputMinusStepClick=()=>{if(Number(this.value)<=this.minValue){return}this.value=(Number(this.value)-this.step).toString();this.value=this.roundToStep(Number(this.value)).toString();this.stzhChange.emit({component:"stzh-amount",value:this.value})};this.onInputPlusStepClick=()=>{if(Number(this.value)>=this.maxValue){return}this.value=(Number(this.value)+this.step).toString();this.value=this.roundToStep(Number(this.value)).toString();this.stzhChange.emit({component:"stzh-amount",value:this.value})};this.onStepperInputChange=t=>{this.value=t.detail.value;this.stzhChange.emit({component:"stzh-amount",value:this.value})};this.minValue=-9007199254740991;this.maxValue=9007199254740991;this.minValueDropdown=null;this.maxValueDropdown=null;this.value="";this.step=1;this.name="";this.size="default";this.disabled=false;this.popoverPlacement="bottom";this.label="";this.labelHidden=false;this.invalid=false;this.required=false;this.clearable=false;this.showMarker=false;this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.a11yDescribedby="";this.localization=undefined}minMaxValueDropdownWatcher(){this.setDropdownOptions()}setDropdownOptions(){if(!this._showDropdown){return}const t=[];for(let s=this.minValueDropdown;s<=this.maxValueDropdown;s++){t.push({text:s.toString(),value:s.toString()})}if(this.maxValue!=undefined&&this.maxValue>this.maxValueDropdown){t.push({text:`${this.maxValueDropdown.toString()}+`,value:r})}this._dropdownOptions=t}roundToStep(t){const s=Math.max(0,-Math.floor(Math.log10(this.step)));const i=Math.pow(10,s);const e=Math.round(t/this.step)*this.step;return Number((e*i/i).toFixed(s))}async componentWillLoad(){if(!this.localization){this.localization=await n(this.element,"amount")}this.amountId=`stzh-amount-${a++}`;if(this._showDropdown){this.setDropdownOptions()}else{this.stepperInputId=`${this.amountId}-stepper-input`}}renderDropdown(){const t={"stzh-amount__dropdown":true,[`stzh-amount--popover-placement-${this.popoverPlacement}`]:!!this.popoverPlacement};return i("div",{class:t},i("stzh-dropdown",{ref:t=>this.input=t,options:this._dropdownOptions,items:[this.value],label:this.label,labelHidden:this.labelHidden,required:this.required,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,popoverPlacement:this.popoverPlacement,a11yDescribedby:this.a11yDescribedby,name:this.name,size:this.size,showMarker:this.showMarker,onStzhChange:this.onDropdownChange}))}renderInputStepper(){return i("div",{class:"stzh-amount__stepper"},i("div",{class:"stzh-amount__stepper-wrapper"},i("stzh-input",{ref:t=>this.input=t,class:"stzh-amount__stepper-input",value:this.value,type:"number",label:this.label,labelHidden:this.labelHidden,min:this.minValue,max:this.maxValue,error:this.error,invalid:this.invalid,required:this.required,name:this.name,id:this.stepperInputId,size:this.size,step:this.step,showMarker:this.showMarker,description:this.description,descriptionLong:this.descriptionLong,clearable:this.clearable,disabled:this.disabled,a11yDescribedby:this.a11yDescribedby,onStzhChange:this.onStepperInputChange}),i("stzh-buttongroup",null,i("stzh-button",{class:"stzh-amount__stepper-minus",onClick:this.onInputMinusStepClick,variant:"secondary",icon:"minus",iconOnly:true,a11yControls:this.stepperInputId,a11yDescribedby:this.a11yDescribedby,a11yLabel:`${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`,size:this.size,a11yDisabled:Number(this.value)<=this.minValue||this.disabled,disabled:this.disabled}),i("stzh-button",{class:"stzh-amount__stepper-plus",onClick:this.onInputPlusStepClick,variant:"secondary",icon:"plus",iconOnly:true,a11yControls:this.stepperInputId,a11yDescribedby:this.a11yDescribedby,a11yLabel:`${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`,size:this.size,a11yDisabled:Number(this.value)>=this.maxValue||this.disabled,disabled:this.disabled}))))}render(){const t={"stzh-amount":true,"stzh-amount--has-description":!!this.description,"stzh-amount--has-description-long":!!this.descriptionLong,"stzh-amount--has-error":!!this.error,"stzh-amount--is-required":!!this.required,"stzh-amount--is-disabled":!!this.disabled};return i(e,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{class:t,id:this.amountId},this._showDropdown?this.renderDropdown():this.renderInputStepper()))}get element(){return o(this)}static get watchers(){return{minValueDropdown:["minMaxValueDropdownWatcher"],maxValueDropdown:["minMaxValueDropdownWatcher"]}}};l.style=h;export{l as stzh_amount};
2
+ //# sourceMappingURL=p-bd7f6761.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhAmountCss","DROPDOWN_ITEM_PLUS_OPTION_VALUE","amountCounter","StzhAmount","this","_showDropdown","Number","isNaN","minValueDropdown","maxValueDropdown","onRootFocus","input","setFocus","onDropdownChange","event","detail","value","step","toString","stzhChange","emit","component","onInputMinusStepClick","minValue","roundToStep","onInputPlusStepClick","maxValue","onStepperInputChange","minMaxValueDropdownWatcher","setDropdownOptions","options","i","push","text","undefined","_dropdownOptions","decimals","Math","max","floor","log10","factor","pow","rounded","round","toFixed","async","localization","fetchTranslations","element","amountId","stepperInputId","renderDropdown","classes","popoverPlacement","h","class","ref","el","items","label","labelHidden","required","disabled","description","descriptionLong","error","invalid","a11yDescribedby","name","size","showMarker","onStzhChange","renderInputStepper","type","min","id","clearable","onClick","variant","icon","iconOnly","a11yControls","a11yLabel","stepperMinusLabel","selectedAmountMessage","a11yDisabled","stepperPlusLabel","render","Host","tabindex","onFocus"],"sources":["./src/components/stzh-amount/stzh-amount.scss?tag=stzh-amount","./src/components/stzh-amount/stzh-amount.tsx"],"sourcesContent":[".stzh-amount {\n @include input-description;\n\n &__stepper-wrapper {\n display: flex;\n align-items: flex-start;\n gap: space('xsmall');\n }\n\n stzh-input#{&}__stepper-input {\n --text-align: center;\n width: 100%;\n }\n}\n","import {\n Component,\n Host,\n Prop,\n h,\n Watch,\n Element,\n Event,\n EventEmitter\n} from \"@stencil/core\";\n\nimport {\n StzhDropdownOption,\n StzhAmountChangeEvent,\n StzhDropdownChangeEvent,\n StzhInputChangeEvent,\n} from \"../../index\";\n\nimport { StzhAmountLocalizedText } from './stzh-amount.localization';\nimport { fetchTranslations } from '../../utils/translation-utils';\n\nconst DROPDOWN_ITEM_PLUS_OPTION_VALUE = \"stzh-amount__dropdown-plus-option\"\n\nlet amountCounter = 0;\n\n@Component({\n tag: \"stzh-amount\",\n styleUrl: \"stzh-amount.scss\"\n})\nexport class StzhAmount {\n /** The lowest allowed amount (can be negative). */\n @Prop() minValue: number = -9007199254740991;\n\n /** The highest allowed amount. */\n @Prop() maxValue: number = 9007199254740991;\n\n /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() minValueDropdown: number | null = null;\n\n /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() maxValueDropdown: number | null = null;\n private _showDropdown: boolean = !Number.isNaN(this.minValueDropdown) && !Number.isNaN(this.maxValueDropdown)\n && this.minValueDropdown < this.maxValueDropdown;\n\n private _dropdownOptions: StzhDropdownOption[];\n\n /** The initial value of the amount element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** The step the amount can be increased or decreased */\n @Prop() step: number = 1;\n\n /** Name of the element (hidden select element in case of dropdown) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether the amount component is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement for the dropdown (if applicable) */\n @Prop({ reflect: true }) popoverPlacement: \"bottom\" | \"bottom-end\" | \"bottom-center\" | \"top\" | \"top-end\" | \"top-center\" = \"bottom\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Whether clearable button is showing for the input field (does not apply to dropdown) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Show text in label depending on whether field is optional/required */\n @Prop({ reflect: true }) showMarker: boolean = false;\n\n /** Description placed below the amount */\n @Prop() description: string;\n\n /** Long description message appearing in a popover */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message(s) */\n @Prop({ mutable: true }) error: string | string[];\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = '';\n\n /** Translation strings. */\n @Prop() localization: StzhAmountLocalizedText;\n\n @Watch(\"minValueDropdown\")\n @Watch(\"maxValueDropdown\")\n minMaxValueDropdownWatcher() {\n this.setDropdownOptions();\n }\n\n /** Amount change event */\n @Event() stzhChange: EventEmitter<StzhAmountChangeEvent>;\n\n @Element() element: HTMLStzhAmountElement;\n\n private amountId: string;\n private stepperInputId: string;\n private input: HTMLStzhInputElement | HTMLStzhDropdownElement;\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.setFocus();\n }\n }\n\n /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */\n private setDropdownOptions() {\n if (!this._showDropdown) {\n return;\n }\n\n const options = [];\n\n for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {\n options.push({text: i.toString(), value: i.toString()});\n }\n if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {\n options.push({text: `${this.maxValueDropdown.toString()}+`, value: DROPDOWN_ITEM_PLUS_OPTION_VALUE})\n }\n\n this._dropdownOptions = options;\n }\n\n /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */\n private onDropdownChange = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n if (event.detail.value === DROPDOWN_ITEM_PLUS_OPTION_VALUE) {\n this._showDropdown = false;\n this.value = (this.maxValueDropdown + this.step).toString();\n } else {\n this.value = event.detail.value;\n }\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Handling the minus button. */\n private onInputMinusStepClick = () => {\n if (Number(this.value) <= this.minValue) {\n return;\n }\n\n this.value = (Number(this.value) - this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Handling the plus button. */\n private onInputPlusStepClick = () => {\n if (Number(this.value) >= this.maxValue) {\n return;\n }\n\n this.value = (Number(this.value) + this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n })\n }\n\n /** Handling manual value change of the stepper input. */\n private onStepperInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n this.value = event.detail.value;\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value\n });\n }\n\n /** Making sure, that the value is rounded correctly according to the step */\n private roundToStep(input: number): number {\n const decimals = Math.max(0, -Math.floor(Math.log10(this.step)));\n const factor = Math.pow(10, decimals);\n const rounded = Math.round(input / this.step) * this.step;\n return Number((rounded * factor / factor).toFixed(decimals));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await fetchTranslations(this.element, \"amount\");\n }\n\n this.amountId = `stzh-amount-${amountCounter++}`;\n\n if (this._showDropdown) {\n this.setDropdownOptions()\n } else {\n this.stepperInputId = `${this.amountId}-stepper-input`\n }\n }\n\n private renderDropdown(): HTMLDivElement {\n const classes = {\n \"stzh-amount__dropdown\": true,\n [`stzh-amount--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n };\n return (\n <div class={classes}>\n <stzh-dropdown\n ref={(el) => (this.input = el as HTMLStzhDropdownElement)}\n options={this._dropdownOptions}\n items={[this.value]}\n label={this.label}\n labelHidden={this.labelHidden}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n popoverPlacement={this.popoverPlacement}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n showMarker={this.showMarker}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n );\n }\n\n private renderInputStepper(): HTMLDivElement {\n return (\n <div class=\"stzh-amount__stepper\">\n <div class=\"stzh-amount__stepper-wrapper\">\n <stzh-input\n ref={(el) => (this.input = el as HTMLStzhInputElement)}\n class=\"stzh-amount__stepper-input\"\n value={this.value}\n type=\"number\"\n label={this.label}\n labelHidden={this.labelHidden}\n min={this.minValue}\n max={this.maxValue}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n name={this.name}\n id={this.stepperInputId}\n size={this.size}\n step={this.step}\n showMarker={this.showMarker}\n description={this.description}\n descriptionLong={this.descriptionLong}\n clearable={this.clearable}\n disabled={this.disabled}\n a11yDescribedby={this.a11yDescribedby}\n onStzhChange={this.onStepperInputChange}\n ></stzh-input>\n <stzh-buttongroup>\n <stzh-button\n class=\"stzh-amount__stepper-minus\"\n onClick={this.onInputMinusStepClick}\n variant=\"secondary\"\n icon=\"minus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) <= this.minValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n <stzh-button\n class=\"stzh-amount__stepper-plus\"\n onClick={this.onInputPlusStepClick}\n variant=\"secondary\"\n icon=\"plus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) >= this.maxValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-amount\": true,\n \"stzh-amount--has-description\": !!this.description,\n \"stzh-amount--has-description-long\": !!this.descriptionLong,\n \"stzh-amount--has-error\": !!this.error,\n \"stzh-amount--is-required\": !!this.required,\n \"stzh-amount--is-disabled\": !!this.disabled\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes} id={this.amountId}>\n {\n this._showDropdown ?\n this.renderDropdown()\n :\n this.renderInputStepper()\n }\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"oGAAA,MAAMA,EAAgB,kmFCqBtB,MAAMC,EAAkC,oCAExC,IAAIC,EAAgB,E,MAMPC,EAAU,M,gEAYbC,KAAAC,eAA0BC,OAAOC,MAAMH,KAAKI,oBAAsBF,OAAOC,MAAMH,KAAKK,mBACvFL,KAAKI,iBAAmBJ,KAAKK,iBAsE1BL,KAAAM,YAAc,KACpB,GAAIN,KAAKO,MAAO,CACdP,KAAKO,MAAMC,U,GAuBPR,KAAAS,iBAAoBC,IAC1B,GAAIA,EAAMC,OAAOC,QAAUf,EAAiC,CAC1DG,KAAKC,cAAgB,MACrBD,KAAKY,OAASZ,KAAKK,iBAAmBL,KAAKa,MAAMC,U,KAC5C,CACLd,KAAKY,MAAQF,EAAMC,OAAOC,K,CAG5BZ,KAAKe,WAAWC,KAAK,CACnBC,UAAW,cACXL,MAAOZ,KAAKY,OACZ,EAIIZ,KAAAkB,sBAAwB,KAC9B,GAAIhB,OAAOF,KAAKY,QAAUZ,KAAKmB,SAAU,CACvC,M,CAGFnB,KAAKY,OAASV,OAAOF,KAAKY,OAASZ,KAAKa,MAAMC,WAC9Cd,KAAKY,MAAQZ,KAAKoB,YAAYlB,OAAOF,KAAKY,QAAQE,WAElDd,KAAKe,WAAWC,KAAK,CACnBC,UAAW,cACXL,MAAOZ,KAAKY,OACZ,EAIIZ,KAAAqB,qBAAuB,KAC7B,GAAInB,OAAOF,KAAKY,QAAUZ,KAAKsB,SAAU,CACvC,M,CAGFtB,KAAKY,OAASV,OAAOF,KAAKY,OAASZ,KAAKa,MAAMC,WAC9Cd,KAAKY,MAAQZ,KAAKoB,YAAYlB,OAAOF,KAAKY,QAAQE,WAElDd,KAAKe,WAAWC,KAAK,CACnBC,UAAW,cACXL,MAAOZ,KAAKY,OACZ,EAIIZ,KAAAuB,qBAAwBb,IAC9BV,KAAKY,MAAQF,EAAMC,OAAOC,MAE1BZ,KAAKe,WAAWC,KAAK,CACnBC,UAAW,cACXL,MAAOZ,KAAKY,OACZ,E,eA7JwB,iB,cAGD,iB,sBAGe,K,sBAGA,K,WAOD,G,UAGlB,E,UAGiB,G,UAGa,U,cAGR,M,sBAG8E,S,WAGnG,G,iBAGO,M,aAGa,M,cAGC,M,eAGC,M,gBAGC,M,oGAYoB,G,4BAOnEY,6BACExB,KAAKyB,oB,CAmBCA,qBACN,IAAKzB,KAAKC,cAAe,CACvB,M,CAGF,MAAMyB,EAAU,GAEhB,IAAK,IAAIC,EAAI3B,KAAKI,iBAAkBuB,GAAK3B,KAAKK,iBAAkBsB,IAAK,CACnED,EAAQE,KAAK,CAACC,KAAMF,EAAEb,WAAYF,MAAOe,EAAEb,Y,CAE7C,GAAId,KAAKsB,UAAYQ,WAAa9B,KAAKsB,SAAWtB,KAAKK,iBAAkB,CACvEqB,EAAQE,KAAK,CAACC,KAAM,GAAG7B,KAAKK,iBAAiBS,cAAeF,MAAOf,G,CAGrEG,KAAK+B,iBAAmBL,C,CA2DlBN,YAAYb,GAClB,MAAMyB,EAAWC,KAAKC,IAAI,GAAID,KAAKE,MAAMF,KAAKG,MAAMpC,KAAKa,QACzD,MAAMwB,EAASJ,KAAKK,IAAI,GAAIN,GAC5B,MAAMO,EAAUN,KAAKO,MAAMjC,EAAQP,KAAKa,MAAQb,KAAKa,KACrD,OAAOX,QAAQqC,EAAUF,EAASA,GAAQI,QAAQT,G,CAGpDU,0BACE,IAAK1C,KAAK2C,aAAc,CACtB3C,KAAK2C,mBAAqBC,EAAkB5C,KAAK6C,QAAS,S,CAG5D7C,KAAK8C,SAAW,eAAehD,MAE/B,GAAIE,KAAKC,cAAe,CACtBD,KAAKyB,oB,KACA,CACLzB,KAAK+C,eAAiB,GAAG/C,KAAK8C,wB,EAI1BE,iBACN,MAAMC,EAAU,CACd,wBAAyB,KACzB,CAAC,kCAAkCjD,KAAKkD,sBAAuBlD,KAAKkD,kBAEtE,OACEC,EAAA,OAAKC,MAAOH,GACVE,EAAA,iBACEE,IAAMC,GAAQtD,KAAKO,MAAQ+C,EAC3B5B,QAAS1B,KAAK+B,iBACdwB,MAAO,CAACvD,KAAKY,OACb4C,MAAOxD,KAAKwD,MACZC,YAAazD,KAAKyD,YAClBC,SAAU1D,KAAK0D,SACfC,SAAU3D,KAAK2D,SACfC,YAAa5D,KAAK4D,YAClBC,gBAAiB7D,KAAK6D,gBACtBC,MAAO9D,KAAK8D,MACZC,QAAS/D,KAAK+D,QACdb,iBAAkBlD,KAAKkD,iBACvBc,gBAAiBhE,KAAKgE,gBACtBC,KAAMjE,KAAKiE,KACXC,KAAMlE,KAAKkE,KACXC,WAAYnE,KAAKmE,WACjBC,aAAcpE,KAAKS,mB,CAMnB4D,qBACN,OACElB,EAAA,OAAKC,MAAM,wBACTD,EAAA,OAAKC,MAAM,gCACTD,EAAA,cACEE,IAAMC,GAAQtD,KAAKO,MAAQ+C,EAC3BF,MAAM,6BACNxC,MAAOZ,KAAKY,MACZ0D,KAAK,SACLd,MAAOxD,KAAKwD,MACZC,YAAazD,KAAKyD,YAClBc,IAAKvE,KAAKmB,SACVe,IAAKlC,KAAKsB,SACVwC,MAAO9D,KAAK8D,MACZC,QAAS/D,KAAK+D,QACdL,SAAU1D,KAAK0D,SACfO,KAAMjE,KAAKiE,KACXO,GAAIxE,KAAK+C,eACTmB,KAAMlE,KAAKkE,KACXrD,KAAMb,KAAKa,KACXsD,WAAYnE,KAAKmE,WACjBP,YAAa5D,KAAK4D,YAClBC,gBAAiB7D,KAAK6D,gBACtBY,UAAWzE,KAAKyE,UAChBd,SAAU3D,KAAK2D,SACfK,gBAAiBhE,KAAKgE,gBACtBI,aAAcpE,KAAKuB,uBAErB4B,EAAA,wBACEA,EAAA,eACEC,MAAM,6BACNsB,QAAS1E,KAAKkB,sBACdyD,QAAQ,YACRC,KAAK,QACLC,SAAU,KACVC,aAAc9E,KAAK+C,eACnBiB,gBAAiBhE,KAAKgE,gBACtBe,UAAW,GAAG/E,KAAKwD,SAASxD,KAAK2C,aAAaqC,sBAAsBhF,KAAK2C,aAAasC,yBAAyBjF,KAAKY,QACpHsD,KAAMlE,KAAKkE,KACXgB,aAAchF,OAAOF,KAAKY,QAAUZ,KAAKmB,UAAYnB,KAAK2D,SAC1DA,SAAU3D,KAAK2D,WAEjBR,EAAA,eACEC,MAAM,4BACNsB,QAAS1E,KAAKqB,qBACdsD,QAAQ,YACRC,KAAK,OACLC,SAAU,KACVC,aAAc9E,KAAK+C,eACnBiB,gBAAiBhE,KAAKgE,gBACtBe,UAAW,GAAG/E,KAAKwD,SAASxD,KAAK2C,aAAawC,qBAAqBnF,KAAK2C,aAAasC,yBAAyBjF,KAAKY,QACnHsD,KAAMlE,KAAKkE,KACXgB,aAAchF,OAAOF,KAAKY,QAAUZ,KAAKsB,UAAYtB,KAAK2D,SAC1DA,SAAU3D,KAAK2D,a,CAQ3ByB,SACE,MAAMnC,EAAU,CACd,cAAe,KACf,iCAAkCjD,KAAK4D,YACvC,sCAAuC5D,KAAK6D,gBAC5C,2BAA4B7D,KAAK8D,MACjC,6BAA8B9D,KAAK0D,SACnC,6BAA8B1D,KAAK2D,UAGrC,OACER,EAACkC,EAAI,CAACC,SAAUtF,KAAK2D,SAAW,KAAO,KAAM4B,QAASvF,KAAKM,aACzD6C,EAAA,OAAKC,MAAOH,EAASuB,GAAIxE,KAAK8C,UAE1B9C,KAAKC,cACLD,KAAKgD,iBAELhD,KAAKqE,sB"}
@@ -0,0 +1,8 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var e,i=1,s=arguments.length;i<s;i++){e=arguments[i];for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a))t[a]=e[a]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,e,i,s){function a(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function n(t){try{l(s.next(t))}catch(t){r(t)}}function o(t){try{l(s["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):a(t.value).then(n,o)}l((s=s.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,a,r,n;return n={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function o(t){return function(e){return l([t,e])}}function l(o){if(s)throw new TypeError("Generator is already executing.");while(n&&(n=0,o[0]&&(i=0)),i)try{if(s=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;a=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(o[0]===6&&i.label<r[1]){i.label=r[1];r=o;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(o);break}if(r[2])i.ops.pop();i.trys.pop();continue}o=e.call(t,i)}catch(t){o=[6,t];a=0}finally{s=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(t,e){var i={};for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0)i[s]=t[s];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,s=Object.getOwnPropertySymbols(t);a<s.length;a++){if(e.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(t,s[a]))i[s[a]]=t[s[a]]}return i};var __spreadArray=this&&this.__spreadArray||function(t,e,i){if(i||arguments.length===2)for(var s=0,a=e.length,r;s<a;s++){if(r||!(s in e)){if(!r)r=Array.prototype.slice.call(e,0,s);r[s]=e[s]}}return t.concat(r||Array.prototype.slice.call(e))};System.register(["./p-7b184ebb.system.js","./p-a408bfba.system.js","./p-176db2fe.system.js","./p-22a2f4c1.system.js"],(function(t){"use strict";var e,i,s,a,r,n,o,l,c,h,d,u,f,p;return{setters:[function(t){e=t.r;i=t.c;s=t.h;a=t.a;r=t.g;n=t.f;o=t.F},function(t){l=t.f},function(t){c=t.m;h=t.a;d=t.r},function(t){u=t.s;f=t.h;p=t.c}],execute:function(){var m=".sc-stzh-actionset-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-actionset-h{display:none}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-actionset__actions.sc-stzh-actionset{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto;opacity:1}@media screen and (min-width: 1024px){.stzh-actionset--overflow.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (min-width: 600px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover.sc-stzh-actionset{display:none}}";var v=t("stzh_actionset",function(){function t(t){var s=this;e(this,t);this.stzhActionClick=i(this,"stzhActionClick",7);this._actions=[];this.actionClick=function(t,e){s.stzhActionClick.emit({component:"stzh-actionset",action:t,originalEvent:e})};this.update=function(){s.isSmall=c("small").matches;s.isMedium=c("medium").matches;if(!s.actionsElement){return}Object.assign(s.actionsElement.style,{width:null,height:null});var t=0;if(s.variant==="overflow"&&s.isMedium||s.variant==="stack"&&s.isSmall){s.dynamicActions=true;var e=0;var i=0;Array.from(s.actionsElement.children).forEach((function(s){if(s.offsetTop===0){t++;var a=getComputedStyle(s);var r=parseInt(a.marginLeft);var n=parseInt(a.marginRight);var o=parseInt(a.marginTop);var l=parseInt(a.marginBottom);var c=s.offsetWidth+r+n;var h=s.offsetHeight+o+l;if(e<h){e=h}i=i+c+1}}));Object.assign(s.actionsElement.style,{width:"".concat(i,"px"),height:"".concat(e,"px")})}else{s.dynamicActions=false;if(s.variant==="overflow"){t=0}else if(s.variant==="stack"){t=s._actions.length<=3?s._actions.length:2}}s.actionsCollapsed=s._actions.slice(t)};this.handleResize=function(){if(s.debounceResize){window.cancelAnimationFrame(s.debounceResize)}s.debounceResize=requestAnimationFrame(s.update)};this.mediaChangeHandler=function(){s.actionsCollapsed=[];requestAnimationFrame(s.update)};this.localization=undefined;this.variant="stack";this.popoverButtonVariant="";this.popoverButtonSize="";this.popoverPlacement="bottom-end";this.actions=[];this.actionsCollapsed=[];this.dynamicActions=undefined;this.isSmall=undefined;this.isMedium=undefined}t.prototype.actionsWatcher=function(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.actionsWatcher(this.actions);if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"actionset")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){h(this.mediaChangeHandler);this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)};t.prototype.disconnectedCallback=function(){d(this.mediaChangeHandler);if(this.resizeObserver){this.resizeObserver.disconnect()}};t.prototype.componentDidLoad=function(){this.update()};t.prototype.render=function(){var t;var e=this;var i=(t={"stzh-actionset":true,"stzh-actionset--has-collapsed-items":this.actionsCollapsed.length>0},t["stzh-actionset--".concat(this.variant)]=!!this.variant,t);var r=function(t){return s("stzh-button",{class:{"stzh-actionset__action":true,"is-button":true},icon:t.icon,iconPosition:t.iconPosition,iconOnly:t.iconOnly,badge:t.badge,variant:t.variant?t.variant:e.variant==="stack"?"secondary":"tertiary",size:t.size?t.size:e.variant==="stack"?"default":"tiny",badgePosition:"icon",onClick:function(i){e.actionClick(t,i)}},s("span",{class:{}},t.label))};return s(a,{"has-collapsed-items":this.actionsCollapsed.length>0},s("div",{class:i},s("div",{class:"stzh-actionset__actions",role:"group"},s("div",{ref:function(t){return e.actionsElement=t},class:"stzh-actionset__actions-wrapper"},this._actions.map((function(t){return(e.dynamicActions||!e.dynamicActions&&e.actionsCollapsed.indexOf(t)===-1)&&(t.tooltipContent?s("stzh-tooltip",{strategy:"fixed",content:t.tooltipContent},r(t)):r(t))}))),s("stzh-popover",{label:this.variant==="stack"?this.localization.furtherActions:!this.isMedium?this.localization.actions:"",strategy:"fixed",placement:this.popoverPlacement,class:"stzh-actionset__action-popover"},s("stzh-button",{fullwidth:true,disabled:this.actionsCollapsed.length===0,class:"stzh-actionset__action is-further",variant:this.popoverButtonVariant!==""?this.popoverButtonVariant:this.variant==="stack"?"secondary":"tertiary",size:this.popoverButtonSize!==""?this.popoverButtonSize:this.variant==="stack"?"default":"tiny",icon:this.variant==="stack"?"angle-down":"more-vertical",iconOnly:this.variant==="overflow"&&this.isMedium,iconPosition:"right",label:this.variant==="stack"?this.localization.furtherActions:!this.isMedium?this.localization.actions:""}),s("stzh-menu",{slot:"content"},this.actionsCollapsed.map((function(t){return s("stzh-menu-item",{icon:t.icon,badge:t.badge,badgeEmpty:t.badgeEmpty,badgeType:t.badgeType,onClick:function(i){e.actionClick(t,i)}},t.label)})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{actions:["actionsWatcher"]}},enumerable:false,configurable:true});return t}());v.style=m;var g='.sc-stzh-card-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-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border-color:var(--stzh-base-border-color);--border-radius:0.1875rem;--content-min-height:7.5rem;--dnd-visibility:hidden;--dnd-opacity:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:var(--border-radius)}[collapsed].sc-stzh-card-h:not([collapsed=false]){--content-min-height:none}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]){--box-shadow:none}[hide-elevation].sc-stzh-card-h:not([hide-elevation=false])[href]:hover,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false])[href]:focus-within,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]).is-selected,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]).is-chosen,.is-selected [hide-elevation].sc-stzh-card-h:not([hide-elevation=false]),.is-chosen [hide-elevation].sc-stzh-card-h:not([hide-elevation=false]){--box-shadow:var(--stzh-box-shadow-popover)}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}[href].sc-stzh-card-h:hover,[href].sc-stzh-card-h:focus-within,.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border-color:transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h,[is-sortable].sc-stzh-card-h:hover{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{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)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{width:100%;max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{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-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-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{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-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{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)}}.stzh-card.sc-stzh-card{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border-width:0.0625rem;border-style:solid;border-color:var(--border-color);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .vshow-medium.sc-stzh-card{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative;-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:var(--content-min-height)}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card:not(:empty){display:-ms-inline-flexbox;display:inline-flex;margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title-link.sc-stzh-card{color:inherit;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-card__image-link.sc-stzh-card{display:block}.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-text-decoration-line:none;text-decoration-line:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:",";position:absolute;left:0}.stzh-card__content.sc-stzh-card{-ms-flex-positive:1;flex-grow:1}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer-arrow.sc-stzh-card{--size:var(--stzh-icon-size-medium);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0px;--badge-icon-text-margin:0px}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-header.sc-stzh-card .stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card--has-header.sc-stzh-card .stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card--has-header.sc-stzh-card .stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card--has-footer.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card--has-footer.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card--has-footer.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-text-decoration-line:none;text-decoration-line:none;-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-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{z-index:1}.stzh-card--has-link.sc-stzh-card .stzh-card__card-actions.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__header-meta.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__footer-actionset.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__footer-select-button.sc-stzh-card{position:relative;z-index:2}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-link.sc-stzh-card:hover .stzh-card__footer-arrow.sc-stzh-card{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;font-family:inherit;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsible.sc-stzh-card .stzh-card__header.sc-stzh-card{cursor:pointer}.stzh-card--is-collapsed.sc-stzh-card .vhide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .vhide-when-collapsed.sc-stzh-card{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-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0px;--badge-icon-text-margin:0px}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}';var b=t("stzh_card",function(){function t(t){var s=this;e(this,t);this.stzhClick=i(this,"stzhClick",7);this.stzhCollapse=i(this,"stzhCollapse",7);this.stzhSubtitleClick=i(this,"stzhSubtitleClick",7);this.stzhStarClick=i(this,"stzhStarClick",7);this.stzhHeaderActionClick=i(this,"stzhHeaderActionClick",7);this._subtitles=[];this.nodeChange=function(t){var e=false;t.forEach((function(t){if(t.target.closest("[slot]")||t.target.hasAttribute("slot")){e=true}}));if(e){n(s.element)}};this.update=function(){if(!s.mainElement){return}s.mainElement.classList.remove("stzh-card--has-collapsed-header");if(c("medium").matches){var t=s.headerElement.clientWidth;var e=s.headerLeftElement.clientWidth;var i=s.headerRightElement.clientWidth;if(t-e<=i){s.mainElement.classList.add("stzh-card--has-collapsed-header")}}};this.headerClick=function(t){if(!s.collapsible){return}var e=["stzh-popover","stzh-tooltip","button","a","input","select","textarea","iframe","details","label","area"];var i=t.composedPath().map((function(t){var e;return(e=t.tagName)===null||e===void 0?void 0:e.toLowerCase()}));var a=i.some((function(t){return e.includes(t)}));if(!a){s.collapsed=!s.collapsed;s.stzhCollapse.emit({component:"stzh-card",collapsed:s.collapsed})}};this.subtitleClick=function(){if(s.subtitleInteractive){s.stzhSubtitleClick.emit({component:"stzh-card"})}};this.starToggleClick=function(){s.stzhStarClick.emit({component:"stzh-card",starred:s.starred})};this.actionClick=function(t){s.stzhHeaderActionClick.emit({component:"stzh-card",action:t})};this.arrowUpClick=function(){var t=s.element.closest("stzh-sortable");if(t){var e=s.findSortableChildElement();t.moveItem(e,"up")}};this.arrowDownClick=function(){var t=s.element.closest("stzh-sortable");if(t){var e=s.findSortableChildElement();t.moveItem(e,"down")}};this.updateElementInsideSortable=function(){var t=s.element.closest("stzh-sortable");if(!t){s.sortable.removeEventListener("stzhUpdate",s.updateElementInsideSortable);s.sortable.removeEventListener("stzhDisable",s.updateElementInsideSortable);return}if(s.element){n(s.element)}};this.init=function(){var t=s.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');t.forEach((function(t){u(t,{size:"small"})}))};this.handleResize=function(){if(s.debounceResize){window.cancelAnimationFrame(s.debounceResize)}s.debounceResize=requestAnimationFrame(s.update)};this.handleMutation=function(t){s.init();s.nodeChange(t)};this.handleSelectionChange=function(t){s.checked=t.detail.checked};this.cardClick=function(t){s.stzhClick.emit({component:"stzh-card",originalEvent:t})};this.localization=undefined;this.collapsed=false;this.starred=false;this.starrable=false;this.selectable=false;this.checked=false;this.name="";this.href=undefined;this.target=undefined;this.value="";this.disabled=false;this.withArrow=false;this.heading="";this.subtitle="";this.headerActions=[];this.footerActions=[];this.subtitleInteractive=false;this.sortableDisabled=false;this.collapsible=false;this.hideHeaderBorder=false;this.hideFooterBorder=false;this.hideElevation=false;this.hideMovementActions=false;this.analyticsId=undefined}t.prototype.subtitleWatcher=function(t){if(typeof t==="string"){if(t===""){this._subtitles=[]}else{try{this._subtitles=JSON.parse(t)}catch(e){this._subtitles=[t]}}}else{this._subtitles=t}};t.prototype.headerActionsWatcher=function(t){if(typeof t==="string"){this._headerActions=JSON.parse(t)}else{this._headerActions=t}};t.prototype.footerActionsWatcher=function(t){if(typeof t==="string"){this._footerActions=JSON.parse(t)}else{this._footerActions=t}};t.prototype.collapsedWatcher=function(){this.handleResize()};t.prototype.findSortableChildElement=function(){var t=this.element.closest("stzh-sortable");if(t){var e=this.element;var i=null;if(typeof t.container==="function"){i=t.container()}else{i=t.container}while(e.parentElement&&e.parentElement!==i){e=e.parentElement}return 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.subtitleWatcher(this.subtitle);this.headerActionsWatcher(this.headerActions);this.footerActionsWatcher(this.footerActions);if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"card")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.sortable=this.element.closest("stzh-sortable");if(this.sortable){this.sortable.addEventListener("stzhUpdate",this.updateElementInsideSortable);this.sortable.addEventListener("stzhDisable",this.updateElementInsideSortable)}};t.prototype.componentDidRender=function(){var t=this;requestAnimationFrame((function(){var e,i,s;var a=t.analyticsId||((e=t.headingTextElement)===null||e===void 0?void 0:e.innerText);if(a){(i=t.imageLinkElement)===null||i===void 0?void 0:i.setAttribute("s-object-id",a);(s=t.titleLinkElement)===null||s===void 0?void 0:s.setAttribute("s-object-id",a)}}))};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.handleMutation);this.observer.observe(this.element,{childList:true,subtree:true});this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)};t.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}if(this.resizeObserver){this.resizeObserver.disconnect()}};t.prototype.render=function(){var t=this;var e,i,r;var n=f(this.element,"image");var l=f(this.element,"heading");var c=f(this.element,"content");var h="".concat(this.subtitleInteractive?"button":"span");var d=this.findSortableChildElement();var u=(d===null||d===void 0?void 0:d.parentElement)&&Array.from((e=d===null||d===void 0?void 0:d.parentElement)===null||e===void 0?void 0:e.children).indexOf(d)===0;var p=(d===null||d===void 0?void 0:d.parentElement)&&Array.from((i=d===null||d===void 0?void 0:d.parentElement)===null||i===void 0?void 0:i.children).indexOf(d)===((r=d===null||d===void 0?void 0:d.parentElement)===null||r===void 0?void 0:r.children.length)-1;var m=!this.sortableDisabled&&this.sortable&&!this.sortable.disabled;var v=m&&!this.hideMovementActions;var g=this._headerActions.filter((function(t){return!t.onlyCollapseText}));var b=!!this.heading||l;var z=b||this._subtitles.length>0||this._headerActions.length>0||g.length>0||this.starrable||v;var _=this._footerActions.length>0||this.selectable||this.withArrow;var w={"stzh-card":true,"stzh-card--has-link":!!this.href,"stzh-card--has-image":n,"stzh-card--has-content":c,"stzh-card--has-subtitle":!!this.subtitle,"stzh-card--has-subtitle-interactive":!!this.subtitle&&this.subtitleInteractive,"stzh-card--has-hidden-header-border":this.hideHeaderBorder,"stzh-card--has-hidden-footer-border":this.hideFooterBorder,"stzh-card--has-header":z,"stzh-card--has-footer":_,"stzh-card--is-collapsible":this.collapsible,"stzh-card--is-collapsed":this.collapsed,"stzh-card--is-starred":this.starred,"stzh-card--is-checked":this.checked,"stzh-card--is-sortable":m};return s(a,{role:"listitem","aria-label":this.heading,"is-sortable":m},s("article",{ref:function(e){return t.mainElement=e},class:w},s("a",{ref:function(e){return t.imageLinkElement=e},"aria-hidden":"true",tabindex:"-1",class:"stzh-card__image-link",href:this.href,target:this.target,onClick:this.href?this.cardClick:null},s("slot",{name:"image"})),s("div",{class:"stzh-card__content-wrapper"},s("stzh-icon",{class:"stzh-card__dnd",name:"drag"}),s("header",{ref:function(e){return t.headerElement=e},class:"stzh-card__header",onClick:this.headerClick},s("div",{class:"stzh-card__header-top"},s("div",{ref:function(e){return t.headerLeftElement=e},class:"stzh-card__header-left"},s("div",{class:"stzh-card__title-area"},b&&s("h3",{class:"stzh-card__title"},s("a",{ref:function(e){return t.titleLinkElement=e},class:"stzh-card__title-link",href:this.href,target:this.target,onClick:this.href?this.cardClick:null},s("div",{ref:function(e){return t.headingTextElement=e}},this.heading?this.heading:s("slot",{name:"heading"})))),this._subtitles.length>0&&s(h,{class:"stzh-card__subtitle",onClick:this.subtitleClick},this._subtitles.map((function(t){return s("span",{class:"stzh-card__subtitle-text"},t)}))))),s("div",{ref:function(e){return t.headerRightElement=e},class:"stzh-card__header-right"},s("div",{class:"stzh-card__card-actions"},this._headerActions.map((function(e){return s("stzh-button",{class:{"stzh-card__card-action":true,"is-button":true,"show-medium":!e.onlyCollapseText,"hide-when-collapsed":!e.onlyCollapseText,"hide-text-when-collapsed":e.onlyCollapseText},icon:e.icon,badge:e.badge,badgeEmpty:e.badgeEmpty,badgeType:e.badgeType,variant:"tertiary",size:"tiny",badgePosition:"icon",onClick:function(){t.actionClick(e)}},s("span",{class:{"vshow-medium":e.onlyCollapseText,"vhide-when-collapsed":e.onlyCollapseText}},e.label))})),this.starrable&&s("stzh-tooltip",null,s("stzh-button",{class:"stzh-card__card-action is-star",icon:this.starred?"star-filled":"star",variant:"tertiary",size:"tiny",iconOnly:true,onClick:this.starToggleClick}),s("div",{slot:"content"},this.starred?this.localization.actionRemove:this.localization.actionAdd)),(g.length>0||this.starrable||v)&&s("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:{"stzh-card__card-action-popover":true,"hide-medium show-when-collapsed":!this.starrable&&!v}},s("stzh-button",{class:"stzh-card__card-action is-further",variant:"tertiary",size:"tiny",icon:"more-vertical",iconOnly:true}),s("stzh-menu",{slot:"content"},this.starrable&&s("stzh-menu-item",{icon:this.starred?"star-filled":"star",onClick:this.starToggleClick},this.starred?this.localization.actionRemove:this.localization.actionAdd),g.map((function(e){return s("stzh-menu-item",{class:"hide-medium show-when-collapsed",icon:e.icon,badge:e.badge,badgeEmpty:e.badgeEmpty,badgeType:e.badgeType,onClick:function(){t.actionClick(e)}},e.label)})),v&&s(o,null,!u&&s("stzh-menu-item",{icon:"arrow-up",onClick:this.arrowUpClick},this.localization.actionMoveUp),!p&&s("stzh-menu-item",{icon:"arrow-down",onClick:this.arrowDownClick},this.localization.actionMoveDown))))))),s("div",{class:"stzh-card__header-meta"},s("slot",{name:"meta"}))),s("div",{class:"stzh-card__content hide-when-collapsed"},s("slot",{name:"content"})),s("div",{class:"stzh-card__footer hide-when-collapsed"},s("slot",{name:"footer"},this._footerActions.length>0&&s("stzh-actionset",{class:"stzh-card__footer-actionset",actions:this._footerActions}),this.selectable&&s("stzh-button",{class:"stzh-card__footer-select-button",fullwidth:true,type:"radio",variant:"secondary",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,label:this.localization.select,onStzhChange:this.handleSelectionChange}),this.withArrow&&s("stzh-icon",{class:"stzh-card__footer-arrow",name:"arrow-right-long"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{subtitle:["subtitleWatcher"],headerActions:["headerActionsWatcher"],footerActions:["footerActionsWatcher"],collapsed:["collapsedWatcher"]}},enumerable:false,configurable:true});return t}());b.style=g;var z=".sc-stzh-card-list-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-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:100%;margin:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(50% - var(--stzh-grid-gutter-small));margin:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(33.333% - var(--stzh-grid-gutter-medium));margin:calc(var(--stzh-grid-gutter-medium) / 2)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__cards.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-card-list__header.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{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);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-grid-gutter) / -2)}@media screen and (min-width: 600px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-small) / -2)}}@media screen and (min-width: 1024px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-medium) / -2)}}";var _=t("stzh_card_list",function(){function t(t){var s=this;e(this,t);this.stzhCollapseAll=i(this,"stzhCollapseAll",7);this.collapseClick=function(){var t=Array.from(s.element.querySelectorAll("stzh-card"));t.forEach((function(t){if(t.collapsible){t.collapsed=!s.allCollapsed}}));s.allCollapsed=!s.allCollapsed;s.stzhCollapseAll.emit({component:"stzh-card-list",allCollapsed:s.allCollapsed})};this.updateCollapsedState=function(){var t=Array.from(s.element.querySelectorAll("stzh-card"));s.allCollapsed=!t.some((function(t){return!t.collapsed}))};this.sortableGhostClone=function(t){var e=p(t),i=e[0],s=e[1],a=e[2];if(s&&a&&s.tagName.toLowerCase()==="stzh-card"){var r=s;var n=a;r.heading=n.heading;r.subtitle=n.subtitle;r.headerActions=n.headerActions;r.footerActions=n.footerActions;r.hideMovementActions=n.hideMovementActions}return i};this.localization=undefined;this.layout="fullwidth";this.description=undefined;this.showToggleLink=false;this.sortableEnabled=false;this.sortableDataIdAttribute="data-id";this.allCollapsed=false}t.prototype.collapseListener=function(){this.updateCollapsedState()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"card-list")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.updateCollapsedState()};t.prototype.render=function(){var t;var e=f(this.element,"description")||!!this.description;var i=(t={"stzh-card-list":true,"stzh-card-list--has-header":this.showToggleLink||e},t["stzh-card-list--layout-".concat(this.layout)]=!!this.layout,t);return s(a,null,s("div",{class:i},s("div",{class:"stzh-card-list__header"},s("div",{class:"stzh-card-list__description"},this.description?this.description:s("slot",{name:"description"})),this.showToggleLink&&s("stzh-link",{class:"stzh-card-list__switch",icon:this.allCollapsed?"list-expanded":"list-shrinked",label:this.allCollapsed?this.localization.expandAll:this.localization.collapseAll,onClick:this.collapseClick})),s("stzh-sortable",{disabled:!this.sortableEnabled,dataIdAttribute:this.sortableDataIdAttribute,ghostClone:this.sortableGhostClone},s("div",{class:"stzh-card-list__cards",role:"list"},s("slot",null)))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());_.style=z;var w=function(t){return"object"==typeof t&&null!=t&&1===t.nodeType},y=function(t,e){return(!e||"hidden"!==t)&&("visible"!==t&&"clip"!==t)},x=function(t,e){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var i=getComputedStyle(t,null);return y(i.overflowY,e)||y(i.overflowX,e)||function(t){var e=function(t){if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}}(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)}(t)}return!1},E=function(t,e,i,s,a,r,n,o){return r<t&&n>e||r>t&&n<e?0:r<=t&&o<=i||n>=e&&o>=i?r-t-s:n>e&&o<i||r<t&&o>i?n-e+a:0},C=function(t){var e=t.parentElement;return null==e?t.getRootNode().host||null:e},k=function(t,e){var i,s,a,r;if("undefined"==typeof document)return[];var n=e.scrollMode,o=e.block,l=e.inline,c=e.boundary,h=e.skipOverflowHiddenElements,d="function"==typeof c?c:function(t){return t!==c};if(!w(t))throw new TypeError("Invalid target");var u=document.scrollingElement||document.documentElement,f=[];var p=t;for(;w(p)&&d(p);){if(p=C(p),p===u){f.push(p);break}null!=p&&p===document.body&&x(p)&&!x(document.documentElement)||null!=p&&x(p,h)&&f.push(p)}var m=null!=(s=null==(i=window.visualViewport)?void 0:i.width)?s:innerWidth,v=null!=(r=null==(a=window.visualViewport)?void 0:a.height)?r:innerHeight,g=window.scrollX,b=window.scrollY,z=t.getBoundingClientRect(),_=z.height,y=z.width,k=z.top,D=z.right,S=z.bottom,A=z.left;var I="start"===o||"nearest"===o?k:"end"===o?S:k+_/2,T="center"===l?A+y/2:"end"===l?D:A;var O=[];for(var M=0;M<f.length;M++){var N=f[M],P=N.getBoundingClientRect(),L=P.height,R=P.width,W=P.top,B=P.right,H=P.bottom,X=P.left;if("if-needed"===n&&k>=0&&A>=0&&S<=v&&D<=m&&k>=W&&S<=H&&A>=X&&D<=B)return O;var Y=getComputedStyle(N),F=parseInt(Y.borderLeftWidth,10),j=parseInt(Y.borderTopWidth,10),U=parseInt(Y.borderRightWidth,10),K=parseInt(Y.borderBottomWidth,10);var q=0,G=0;var V="offsetWidth"in N?N.offsetWidth-N.clientWidth-F-U:0,J="offsetHeight"in N?N.offsetHeight-N.clientHeight-j-K:0,Z="offsetWidth"in N?0===N.offsetWidth?0:R/N.offsetWidth:0,Q="offsetHeight"in N?0===N.offsetHeight?0:L/N.offsetHeight:0;if(u===N)q="start"===o?I:"end"===o?I-v:"nearest"===o?E(b,b+v,v,j,K,b+I,b+I+_,_):I-v/2,G="start"===l?T:"center"===l?T-m/2:"end"===l?T-m:E(g,g+m,m,F,U,g+T,g+T+y,y),q=Math.max(0,q+b),G=Math.max(0,G+g);else{q="start"===o?I-W-j:"end"===o?I-H+K+J:"nearest"===o?E(W,H,L,j,K+J,I,I+_,_):I-(W+L/2)+J/2,G="start"===l?T-X-F:"center"===l?T-(X+R/2)+V/2:"end"===l?T-B+U+V:E(X,B,R,F,U+V,T,T+y,y);var $=N.scrollLeft,tt=N.scrollTop;q=Math.max(0,Math.min(tt+q/Q,N.scrollHeight-L/Q+J)),G=Math.max(0,Math.min($+G/Z,N.scrollWidth-R/Z+V)),I+=tt-q,T+=$-G}O.push({el:N,top:q,left:G})}return O};var D=function(t){return!1===t?{block:"end",inline:"nearest"}:function(t){return t===Object(t)&&0!==Object.keys(t).length}(t)?t:{block:"start",inline:"nearest"}};function S(t,e){if(!t.isConnected||!function(t){var e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1}(t))return;if(function(t){return"object"==typeof t&&"function"==typeof t.behavior}(e))return e.behavior(k(t,e));var i="boolean"==typeof e||null==e?void 0:e.behavior;for(var s=0,a=k(t,D(e));s<a.length;s++){var r=a[s],n=r.el,o=r.top,l=r.left;n.scroll({top:o,left:l,behavior:i})}}
2
+ /**!
3
+ * Sortable 1.15.0
4
+ * @author RubaXa <trash@rubaxa.org>
5
+ * @author owenm <owen23355@gmail.com>
6
+ * @license MIT
7
+ */function A(){A=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i){if(Object.prototype.hasOwnProperty.call(i,s)){t[s]=i[s]}}}return t};return A.apply(this,arguments)}var I="1.15.0";function T(t){if(typeof window!=="undefined"&&window.navigator){return!!navigator.userAgent.match(t)}}var O=T(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);var M=T(/Edge/i);var N=T(/firefox/i);var P=T(/safari/i)&&!T(/chrome/i)&&!T(/android/i);var L=T(/iP(ad|od|hone)/i);var R=T(/chrome/i)&&T(/android/i);var W={capture:false,passive:false};function B(t,e,i){t.addEventListener(e,i,!O&&W)}function H(t,e,i){t.removeEventListener(e,i,!O&&W)}function X(t,e){if(!e)return;e[0]===">"&&(e=e.substring(1));if(t){try{if(t.matches){return t.matches(e)}else if(t.msMatchesSelector){return t.msMatchesSelector(e)}else if(t.webkitMatchesSelector){return t.webkitMatchesSelector(e)}}catch(t){return false}}return false}function Y(t){return t.host&&t!==document&&t.host.nodeType?t.host:t.parentNode}function F(t,e,i,s){if(t){i=i||document;do{if(e!=null&&(e[0]===">"?t.parentNode===i&&X(t,e):X(t,e))||s&&t===i){return t}if(t===i)break}while(t=Y(t))}return null}var j=/\s+/g;function U(t,e,i){if(t&&e){if(t.classList){t.classList[i?"add":"remove"](e)}else{var s=(" "+t.className+" ").replace(j," ").replace(" "+e+" "," ");t.className=(s+(i?" "+e:"")).replace(j," ")}}}function K(t,e,i){var s=t&&t.style;if(s){if(i===void 0){if(document.defaultView&&document.defaultView.getComputedStyle){i=document.defaultView.getComputedStyle(t,"")}else if(t.currentStyle){i=t.currentStyle}return e===void 0?i:i[e]}else{if(!(e in s)&&e.indexOf("webkit")===-1){e="-webkit-"+e}s[e]=i+(typeof i==="string"?"":"px")}}}function q(t,e){var i="";if(typeof t==="string"){i=t}else{do{var s=K(t,"transform");if(s&&s!=="none"){i=s+" "+i}}while(!e&&(t=t.parentNode))}var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(i)}function G(t,e,i){if(t){var s=t.getElementsByTagName(e),a=0,r=s.length;if(i){for(;a<r;a++){i(s[a],a)}}return s}return[]}function V(){var t=document.scrollingElement;if(t){return t}else{return document.documentElement}}function J(t,e,i,s,a){if(!t.getBoundingClientRect&&t!==window)return;var r,n,o,l,c,h,d;if(t!==window&&t.parentNode&&t!==V()){r=t.getBoundingClientRect();n=r.top;o=r.left;l=r.bottom;c=r.right;h=r.height;d=r.width}else{n=0;o=0;l=window.innerHeight;c=window.innerWidth;h=window.innerHeight;d=window.innerWidth}if((e||i)&&t!==window){a=a||t.parentNode;if(!O){do{if(a&&a.getBoundingClientRect&&(K(a,"transform")!=="none"||i&&K(a,"position")!=="static")){var u=a.getBoundingClientRect();n-=u.top+parseInt(K(a,"border-top-width"));o-=u.left+parseInt(K(a,"border-left-width"));l=n+r.height;c=o+r.width;break}}while(a=a.parentNode)}}if(s&&t!==window){var f=q(a||t),p=f&&f.a,m=f&&f.d;if(f){n/=m;o/=p;d/=p;h/=m;l=n+h;c=o+d}}return{top:n,left:o,bottom:l,right:c,width:d,height:h}}function Z(t,e,i){var s=st(t,true),a=J(t)[e];while(s){var r=J(s)[i],n=void 0;if(i==="top"||i==="left"){n=a>=r}else{n=a<=r}if(!n)return s;if(s===V())break;s=st(s,false)}return false}function Q(t,e,i,s){var a=0,r=0,n=t.children;while(r<n.length){if(n[r].style.display!=="none"&&n[r]!==me.ghost&&(s||n[r]!==me.dragged)&&F(n[r],i.draggable,t,false)){if(a===e){return n[r]}a++}r++}return null}function $(t,e){var i=t.lastElementChild;while(i&&(i===me.ghost||K(i,"display")==="none"||e&&!X(i,e))){i=i.previousElementSibling}return i||null}function tt(t,e){var i=0;if(!t||!t.parentNode){return-1}while(t=t.previousElementSibling){if(t.nodeName.toUpperCase()!=="TEMPLATE"&&t!==me.clone&&(!e||X(t,e))){i++}}return i}function et(t){var e=0,i=0,s=V();if(t){do{var a=q(t),r=a.a,n=a.d;e+=t.scrollLeft*r;i+=t.scrollTop*n}while(t!==s&&(t=t.parentNode))}return[e,i]}function it(t,e){for(var i in t){if(!t.hasOwnProperty(i))continue;for(var s in e){if(e.hasOwnProperty(s)&&e[s]===t[i][s])return Number(i)}}return-1}function st(t,e){if(!t||!t.getBoundingClientRect)return V();var i=t;var s=false;do{if(i.clientWidth<i.scrollWidth||i.clientHeight<i.scrollHeight){var a=K(i);if(i.clientWidth<i.scrollWidth&&(a.overflowX=="auto"||a.overflowX=="scroll")||i.clientHeight<i.scrollHeight&&(a.overflowY=="auto"||a.overflowY=="scroll")){if(!i.getBoundingClientRect||i===document.body)return V();if(s||e)return i;s=true}}}while(i=i.parentNode);return V()}function at(t,e){if(t&&e){for(var i in e){if(e.hasOwnProperty(i)){t[i]=e[i]}}}return t}function rt(t,e){return Math.round(t.top)===Math.round(e.top)&&Math.round(t.left)===Math.round(e.left)&&Math.round(t.height)===Math.round(e.height)&&Math.round(t.width)===Math.round(e.width)}var nt;function ot(t,e){return function(){if(!nt){var i=arguments,s=this;if(i.length===1){t.call(s,i[0])}else{t.apply(s,i)}nt=setTimeout((function(){nt=void 0}),e)}}}function lt(){clearTimeout(nt);nt=void 0}function ct(t,e,i){t.scrollLeft+=e;t.scrollTop+=i}function ht(t){var e=window.Polymer;var i=window.jQuery||window.Zepto;if(e&&e.dom){return e.dom(t).cloneNode(true)}else if(i){return i(t).clone(true)[0]}else{return t.cloneNode(true)}}function dt(t,e){K(t,"position","absolute");K(t,"top",e.top);K(t,"left",e.left);K(t,"width",e.width);K(t,"height",e.height)}function ut(t){K(t,"position","");K(t,"top","");K(t,"left","");K(t,"width","");K(t,"height","")}var ft="Sortable"+(new Date).getTime();function pt(){var t=[],e;return{captureAnimationState:function(){t=[];if(!this.options.animation)return;var e=[].slice.call(this.el.children);e.forEach((function(e){if(K(e,"display")==="none"||e===me.ghost)return;t.push({target:e,rect:J(e)});var i=__assign({},t[t.length-1].rect);if(e.thisAnimationDuration){var s=q(e,true);if(s){i.top-=s.f;i.left-=s.e}}e.fromRect=i}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(it(t,{target:e}),1)},animateAll:function(i){var s=this;if(!this.options.animation){clearTimeout(e);if(typeof i==="function")i();return}var a=false,r=0;t.forEach((function(t){var e=0,i=t.target,n=i.fromRect,o=J(i),l=i.prevFromRect,c=i.prevToRect,h=t.rect,d=q(i,true);if(d){o.top-=d.f;o.left-=d.e}i.toRect=o;if(i.thisAnimationDuration){if(rt(l,o)&&!rt(n,o)&&(h.top-o.top)/(h.left-o.left)===(n.top-o.top)/(n.left-o.left)){e=vt(h,l,c,s.options)}}if(!rt(o,n)){i.prevFromRect=n;i.prevToRect=o;if(!e){e=s.options.animation}s.animate(i,h,o,e)}if(e){a=true;r=Math.max(r,e);clearTimeout(i.animationResetTimer);i.animationResetTimer=setTimeout((function(){i.animationTime=0;i.prevFromRect=null;i.fromRect=null;i.prevToRect=null;i.thisAnimationDuration=null}),e);i.thisAnimationDuration=e}}));clearTimeout(e);if(!a){if(typeof i==="function")i()}else{e=setTimeout((function(){if(typeof i==="function")i()}),r)}t=[]},animate:function(t,e,i,s){if(s){K(t,"transition","");K(t,"transform","");var a=q(this.el),r=a&&a.a,n=a&&a.d,o=(e.left-i.left)/(r||1),l=(e.top-i.top)/(n||1);t.animatingX=!!o;t.animatingY=!!l;K(t,"transform","translate3d("+o+"px,"+l+"px,0)");this.forRepaintDummy=mt(t);K(t,"transition","transform "+s+"ms"+(this.options.easing?" "+this.options.easing:""));K(t,"transform","translate3d(0,0,0)");typeof t.animated==="number"&&clearTimeout(t.animated);t.animated=setTimeout((function(){K(t,"transition","");K(t,"transform","");t.animated=false;t.animatingX=false;t.animatingY=false}),s)}}}}function mt(t){return t.offsetWidth}function vt(t,e,i,s){return Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))/Math.sqrt(Math.pow(e.top-i.top,2)+Math.pow(e.left-i.left,2))*s.animation}var gt=[];var bt={initializeByDefault:true};var zt={mount:function(t){for(var e in bt){if(bt.hasOwnProperty(e)&&!(e in t)){t[e]=bt[e]}}gt.forEach((function(e){if(e.pluginName===t.pluginName){throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}}));gt.push(t)},pluginEvent:function(t,e,i){var s=this;this.eventCanceled=false;i.cancel=function(){s.eventCanceled=true};var a=t+"Global";gt.forEach((function(s){if(!e[s.pluginName])return;if(e[s.pluginName][a]){e[s.pluginName][a](__assign({sortable:e},i))}if(e.options[s.pluginName]&&e[s.pluginName][t]){e[s.pluginName][t](__assign({sortable:e},i))}}))},initializePlugins:function(t,e,i,s){gt.forEach((function(s){var a=s.pluginName;if(!t.options[a]&&!s.initializeByDefault)return;var r=new s(t,e,t.options);r.sortable=t;r.options=t.options;t[a]=r;A(i,r.defaults)}));for(var a in t.options){if(!t.options.hasOwnProperty(a))continue;var r=this.modifyOption(t,a,t.options[a]);if(typeof r!=="undefined"){t.options[a]=r}}},getEventProperties:function(t,e){var i={};gt.forEach((function(s){if(typeof s.eventProperties!=="function")return;A(i,s.eventProperties.call(e[s.pluginName],t))}));return i},modifyOption:function(t,e,i){var s;gt.forEach((function(a){if(!t[a.pluginName])return;if(a.optionListeners&&typeof a.optionListeners[e]==="function"){s=a.optionListeners[e].call(t[a.pluginName],i)}}));return s}};function _t(t){var e=t.sortable,i=t.rootEl,s=t.name,a=t.targetEl,r=t.cloneEl,n=t.toEl,o=t.fromEl,l=t.oldIndex,c=t.newIndex,h=t.oldDraggableIndex,d=t.newDraggableIndex,u=t.originalEvent,f=t.putSortable,p=t.extraEventProperties;e=e||i&&i[ft];if(!e)return;var m,v=e.options,g="on"+s.charAt(0).toUpperCase()+s.substr(1);if(window.CustomEvent&&!O&&!M){m=new CustomEvent(s,{bubbles:true,cancelable:true})}else{m=document.createEvent("Event");m.initEvent(s,true,true)}m.to=n||i;m.from=o||i;m.item=a||i;m.clone=r;m.oldIndex=l;m.newIndex=c;m.oldDraggableIndex=h;m.newDraggableIndex=d;m.originalEvent=u;m.pullMode=f?f.lastPutMode:undefined;var b=__assign(__assign({},p),zt.getEventProperties(s,e));for(var z in b){m[z]=b[z]}if(i){i.dispatchEvent(m)}if(v[g]){v[g].call(e,m)}}var wt=function(t,e,i){if(i===void 0){i={}}var s=i.evt,a=__rest(i,["evt"]);zt.pluginEvent.bind(me)(t,e,__assign({dragEl:xt,parentEl:Et,ghostEl:Ct,rootEl:kt,nextEl:Dt,lastDownEl:St,cloneEl:At,cloneHidden:It,dragStarted:Kt,putSortable:Lt,activeSortable:me.active,originalEvent:s,oldIndex:Tt,oldDraggableIndex:Mt,newIndex:Ot,newDraggableIndex:Nt,hideGhostForTarget:de,unhideGhostForTarget:ue,cloneNowHidden:function(){It=true},cloneNowShown:function(){It=false},dispatchSortableEvent:function(t){yt({sortable:e,name:t,originalEvent:s})}},a))};function yt(t){_t(__assign({putSortable:Lt,cloneEl:At,targetEl:xt,rootEl:kt,oldIndex:Tt,oldDraggableIndex:Mt,newIndex:Ot,newDraggableIndex:Nt},t))}var xt,Et,Ct,kt,Dt,St,At,It,Tt,Ot,Mt,Nt,Pt,Lt,Rt=false,Wt=false,Bt=[],Ht,Xt,Yt,Ft,jt,Ut,Kt,qt,Gt,Vt=false,Jt=false,Zt,Qt,$t=[],te=false,ee=[];var ie=typeof document!=="undefined",se=L,ae=M||O?"cssFloat":"float",re=ie&&!R&&!L&&"draggable"in document.createElement("div"),ne=function(){if(!ie)return;if(O){return false}var t=document.createElement("x");t.style.cssText="pointer-events:auto";return t.style.pointerEvents==="auto"}(),oe=function(t,e){var i=K(t),s=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),a=Q(t,0,e),r=Q(t,1,e),n=a&&K(a),o=r&&K(r),l=n&&parseInt(n.marginLeft)+parseInt(n.marginRight)+J(a).width,c=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+J(r).width;if(i.display==="flex"){return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal"}if(i.display==="grid"){return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal"}if(a&&n.float&&n.float!=="none"){var h=n.float==="left"?"left":"right";return r&&(o.clear==="both"||o.clear===h)?"vertical":"horizontal"}return a&&(n.display==="block"||n.display==="flex"||n.display==="table"||n.display==="grid"||l>=s&&i[ae]==="none"||r&&i[ae]==="none"&&l+c>s)?"vertical":"horizontal"},le=function(t,e,i){var s=i?t.left:t.top,a=i?t.right:t.bottom,r=i?t.width:t.height,n=i?e.left:e.top,o=i?e.right:e.bottom,l=i?e.width:e.height;return s===n||a===o||s+r/2===n+l/2},ce=function(t,e){var i;Bt.some((function(s){var a=s[ft].options.emptyInsertThreshold;if(!a||$(s))return;var r=J(s),n=t>=r.left-a&&t<=r.right+a,o=e>=r.top-a&&e<=r.bottom+a;if(n&&o){return i=s}}));return i},he=function(t){function e(t,i){return function(s,a,r,n){var o=s.options.group.name&&a.options.group.name&&s.options.group.name===a.options.group.name;if(t==null&&(i||o)){return true}else if(t==null||t===false){return false}else if(i&&t==="clone"){return t}else if(typeof t==="function"){return e(t(s,a,r,n),i)(s,a,r,n)}else{var l=(i?s:a).options.group.name;return t===true||typeof t==="string"&&t===l||t.join&&t.indexOf(l)>-1}}}var i={};var s=t.group;if(!s||typeof s!="object"){s={name:s}}i.name=s.name;i.checkPull=e(s.pull,true);i.checkPut=e(s.put);i.revertClone=s.revertClone;t.group=i},de=function(){if(!ne&&Ct){K(Ct,"display","none")}},ue=function(){if(!ne&&Ct){K(Ct,"display","")}};if(ie&&!R){document.addEventListener("click",(function(t){if(Wt){t.preventDefault();t.stopPropagation&&t.stopPropagation();t.stopImmediatePropagation&&t.stopImmediatePropagation();Wt=false;return false}}),true)}var fe=function(t){if(xt){t=t.touches?t.touches[0]:t;var e=ce(t.clientX,t.clientY);if(e){var i={};for(var s in t){if(t.hasOwnProperty(s)){i[s]=t[s]}}i.target=i.rootEl=e;i.preventDefault=void 0;i.stopPropagation=void 0;e[ft]._onDragOver(i)}}};var pe=function(t){if(xt){xt.parentNode[ft]._isOutsideThisEl(t.target)}};function me(t,e){if(!(t&&t.nodeType&&t.nodeType===1)){throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t))}this.el=t;this.options=e=A({},e);t[ft]=this;var i={group:null,sort:true,disabled:false,store:null,handle:null,draggable:/^[uo]l$/i.test(t.nodeName)?">li":">*",swapThreshold:1,invertSwap:false,invertedSwapThreshold:null,removeCloneOnHide:true,direction:function(){return oe(t,this.options)},ghostClone:function(t){return t.cloneNode(true)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:true,animation:0,easing:null,setData:function(t,e){t.setData("Text",e.textContent)},dropBubble:false,dragoverBubble:false,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:false,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:false,fallbackClass:"sortable-fallback",fallbackOnBody:false,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:me.supportPointer!==false&&"PointerEvent"in window&&!P,emptyInsertThreshold:5};zt.initializePlugins(this,t,i);for(var s in i){!(s in e)&&(e[s]=i[s])}he(e);for(var a in this){if(a.charAt(0)==="_"&&typeof this[a]==="function"){this[a]=this[a].bind(this)}}this.nativeDraggable=e.forceFallback?false:re;if(this.nativeDraggable){this.options.touchStartThreshold=1}if(e.supportPointer){B(t,"pointerdown",this._onTapStart)}else{B(t,"mousedown",this._onTapStart);B(t,"touchstart",this._onTapStart)}if(this.nativeDraggable){B(t,"dragover",this);B(t,"dragenter",this)}Bt.push(this.el);e.store&&e.store.get&&this.sort(e.store.get(this)||[]);A(this,pt())}me.prototype={constructor:me,_isOutsideThisEl:function(t){if(!this.el.contains(t)&&t!==this.el){qt=null}},_getDirection:function(t,e){return typeof this.options.direction==="function"?this.options.direction.call(this,t,e,xt):this.options.direction},_onTapStart:function(t){if(!t.cancelable)return;var e=this,i=this.el,s=this.options,a=s.preventOnFilter,r=t.type,n=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,o=(n||t).target,l=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||o,c=s.filter;Ce(i);if(xt){return}if(/mousedown|pointerdown/.test(r)&&t.button!==0||s.disabled){return}if(l.isContentEditable){return}if(!this.nativeDraggable&&P&&o&&o.tagName.toUpperCase()==="SELECT"){return}o=F(o,s.draggable,i,false);if(o&&o.animated){return}if(St===o){return}Tt=tt(o);Mt=tt(o,s.draggable);if(typeof c==="function"){if(c.call(this,t,o,this)){yt({sortable:e,rootEl:l,name:"filter",targetEl:o,toEl:i,fromEl:i});wt("filter",e,{evt:t});a&&t.cancelable&&t.preventDefault();return}}else if(c){c=c.split(",").some((function(s){s=F(l,s.trim(),i,false);if(s){yt({sortable:e,rootEl:s,name:"filter",targetEl:o,fromEl:i,toEl:i});wt("filter",e,{evt:t});return true}}));if(c){a&&t.cancelable&&t.preventDefault();return}}if(s.handle&&!F(l,s.handle,i,false)){return}this._prepareDragStart(t,n,o)},_prepareDragStart:function(t,e,i){var s=this,a=s.el,r=s.options,n=a.ownerDocument,o;if(i&&!xt&&i.parentNode===a){var l=J(i);kt=a;xt=i;Et=xt.parentNode;Dt=xt.nextSibling;St=i;Pt=r.group;me.dragged=xt;Ht={target:xt,clientX:(e||t).clientX,clientY:(e||t).clientY};jt=Ht.clientX-l.left;Ut=Ht.clientY-l.top;this._lastX=(e||t).clientX;this._lastY=(e||t).clientY;xt.style["will-change"]="all";o=function(){wt("delayEnded",s,{evt:t});if(me.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents();if(!N&&s.nativeDraggable){xt.draggable=true}s._triggerDragStart(t,e);yt({sortable:s,name:"choose",originalEvent:t});U(xt,r.chosenClass,true)};r.ignore.split(",").forEach((function(t){G(xt,t.trim(),be)}));B(n,"dragover",fe);B(n,"mousemove",fe);B(n,"touchmove",fe);B(n,"mouseup",s._onDrop);B(n,"touchend",s._onDrop);B(n,"touchcancel",s._onDrop);if(N&&this.nativeDraggable){this.options.touchStartThreshold=4;xt.draggable=true}wt("delayStart",this,{evt:t});if(r.delay&&(!r.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(M||O))){if(me.eventCanceled){this._onDrop();return}B(n,"mouseup",s._disableDelayedDrag);B(n,"touchend",s._disableDelayedDrag);B(n,"touchcancel",s._disableDelayedDrag);B(n,"mousemove",s._delayedDragTouchMoveHandler);B(n,"touchmove",s._delayedDragTouchMoveHandler);r.supportPointer&&B(n,"pointermove",s._delayedDragTouchMoveHandler);s._dragStartTimer=setTimeout(o,r.delay)}else{o()}}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;if(Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))){this._disableDelayedDrag()}},_disableDelayedDrag:function(){xt&&be(xt);clearTimeout(this._dragStartTimer);this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;H(t,"mouseup",this._disableDelayedDrag);H(t,"touchend",this._disableDelayedDrag);H(t,"touchcancel",this._disableDelayedDrag);H(t,"mousemove",this._delayedDragTouchMoveHandler);H(t,"touchmove",this._delayedDragTouchMoveHandler);H(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||t.pointerType=="touch"&&t;if(!this.nativeDraggable||e){if(this.options.supportPointer){B(document,"pointermove",this._onTouchMove)}else if(e){B(document,"touchmove",this._onTouchMove)}else{B(document,"mousemove",this._onTouchMove)}}else{B(xt,"dragend",this);B(kt,"dragstart",this._onDragStart)}try{if(document.selection){ke((function(){document.selection.empty()}))}else{window.getSelection().removeAllRanges()}}catch(t){}},_dragStarted:function(t,e){Rt=false;if(kt&&xt){wt("dragStarted",this,{evt:e});if(this.nativeDraggable){B(document,"dragover",pe)}var i=this.options;!t&&U(xt,i.dragClass,false);U(xt,i.ghostClass,true);me.active=this;t&&this._appendGhost();yt({sortable:this,name:"start",originalEvent:e})}else{this._nulling()}},_emulateDragOver:function(){if(Xt){this._lastX=Xt.clientX;this._lastY=Xt.clientY;de();var t=document.elementFromPoint(Xt.clientX,Xt.clientY);var e=t;while(t&&t.shadowRoot){t=t.shadowRoot.elementFromPoint(Xt.clientX,Xt.clientY);if(t===e)break;e=t}xt.parentNode[ft]._isOutsideThisEl(t);if(e){do{if(e[ft]){var i=void 0;i=e[ft]._onDragOver({clientX:Xt.clientX,clientY:Xt.clientY,target:t,rootEl:e});if(i&&!this.options.dragoverBubble){break}}t=e}while(e=e.parentNode)}ue()}},_onTouchMove:function(t){if(Ht){var e=this.options,i=e.fallbackTolerance,s=e.fallbackOffset,a=t.touches?t.touches[0]:t,r=Ct&&q(Ct,true),n=Ct&&r&&r.a,o=Ct&&r&&r.d,l=se&&Qt&&et(Qt),c=(a.clientX-Ht.clientX+s.x)/(n||1)+(l?l[0]-$t[0]:0)/(n||1),h=(a.clientY-Ht.clientY+s.y)/(o||1)+(l?l[1]-$t[1]:0)/(o||1);if(!me.active&&!Rt){if(i&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<i){return}this._onDragStart(t,true)}if(Ct){if(r){r.e+=c-(Yt||0);r.f+=h-(Ft||0)}else{r={a:1,b:0,c:0,d:1,e:c,f:h}}var d="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");K(Ct,"webkitTransform",d);K(Ct,"mozTransform",d);K(Ct,"msTransform",d);K(Ct,"transform",d);Yt=c;Ft=h;Xt=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Ct){var t=this.options.fallbackOnBody?document.body:kt,e=J(xt,true,se,true,t),i=this.options;if(se){Qt=t;while(K(Qt,"position")==="static"&&K(Qt,"transform")==="none"&&Qt!==document){Qt=Qt.parentNode}if(Qt!==document.body&&Qt!==document.documentElement){if(Qt===document)Qt=V();e.top+=Qt.scrollTop;e.left+=Qt.scrollLeft}else{Qt=V()}$t=et(Qt)}Ct=i.ghostClone(xt);U(Ct,i.ghostClass,false);U(Ct,i.fallbackClass,true);U(Ct,i.dragClass,true);K(Ct,"transition","");K(Ct,"transform","");K(Ct,"box-sizing","border-box");K(Ct,"margin",0);K(Ct,"top",e.top);K(Ct,"left",e.left);K(Ct,"width",e.width);K(Ct,"height",e.height);K(Ct,"opacity","0.8");K(Ct,"position",se?"absolute":"fixed");K(Ct,"zIndex","100000");K(Ct,"pointerEvents","none");me.ghost=Ct;t.appendChild(Ct);K(Ct,"transform-origin",jt/parseInt(Ct.style.width)*100+"% "+Ut/parseInt(Ct.style.height)*100+"%")}},_onDragStart:function(t,e){var i=this;var s=t.dataTransfer;var a=i.options;wt("dragStart",this,{evt:t});if(me.eventCanceled){this._onDrop();return}wt("setupClone",this);if(!me.eventCanceled){At=ht(xt);At.removeAttribute("id");At.draggable=false;At.style["will-change"]="";this._hideClone();U(At,this.options.chosenClass,false);me.clone=At}i.cloneId=ke((function(){wt("clone",i);if(me.eventCanceled)return;if(!i.options.removeCloneOnHide){kt.insertBefore(At,xt)}i._hideClone();yt({sortable:i,name:"clone"})}));!e&&U(xt,a.dragClass,true);if(e){Wt=true;i._loopId=setInterval(i._emulateDragOver,50)}else{H(document,"mouseup",i._onDrop);H(document,"touchend",i._onDrop);H(document,"touchcancel",i._onDrop);if(s){s.effectAllowed="move";a.setData&&a.setData.call(i,s,xt)}B(document,"drop",i);K(xt,"transform","translateZ(0)")}Rt=true;i._dragStartId=ke(i._dragStarted.bind(i,e,t));B(document,"selectstart",i);Kt=true;if(P){K(document.body,"user-select","none")}},_onDragOver:function(t){var e=this.el,i=t.target,s,a,r,n=this.options,o=n.group,l=me.active,c=Pt===o,h=n.sort,d=Lt||l,u,f=this,p=false;if(te)return;function m(n,o){wt(n,f,__assign({evt:t,isOwner:c,axis:u?"vertical":"horizontal",revert:r,dragRect:s,targetRect:a,canSort:h,fromSortable:d,target:i,completed:g,onMove:function(i,a){return ge(kt,e,xt,s,i,J(i),t,a)},changed:b},o))}function v(){m("dragOverAnimationCapture");f.captureAnimationState();if(f!==d){d.captureAnimationState()}}function g(s){m("dragOverCompleted",{insertion:s});if(s){if(c){l._hideClone()}else{l._showClone(f)}if(f!==d){U(xt,Lt?Lt.options.ghostClass:l.options.ghostClass,false);U(xt,n.ghostClass,true)}if(Lt!==f&&f!==me.active){Lt=f}else if(f===me.active&&Lt){Lt=null}if(d===f){f._ignoreWhileAnimating=i}f.animateAll((function(){m("dragOverAnimationComplete");f._ignoreWhileAnimating=null}));if(f!==d){d.animateAll();d._ignoreWhileAnimating=null}}if(i===xt&&!xt.animated||i===e&&!i.animated){qt=null}if(!n.dragoverBubble&&!t.rootEl&&i!==document){xt.parentNode[ft]._isOutsideThisEl(t.target);!s&&fe(t)}!n.dragoverBubble&&t.stopPropagation&&t.stopPropagation();return p=true}function b(){Ot=tt(xt);Nt=tt(xt,n.draggable);yt({sortable:f,name:"change",toEl:e,newIndex:Ot,newDraggableIndex:Nt,originalEvent:t})}if(t.preventDefault!==void 0){t.cancelable&&t.preventDefault()}i=F(i,n.draggable,e,true);m("dragOver");if(me.eventCanceled)return p;if(xt.contains(t.target)||i.animated&&i.animatingX&&i.animatingY||f._ignoreWhileAnimating===i){return g(false)}Wt=false;if(l&&!n.disabled&&(c?h||(r=Et!==kt):Lt===this||(this.lastPutMode=Pt.checkPull(this,l,xt,t))&&o.checkPut(this,l,xt,t))){u=this._getDirection(t,i)==="vertical";s=J(xt);m("dragOverValid");if(me.eventCanceled)return p;if(r){Et=kt;v();this._hideClone();m("revert");if(!me.eventCanceled){if(Dt){kt.insertBefore(xt,Dt)}else{kt.appendChild(xt)}}return g(true)}var z=$(e,n.draggable);if(!z||we(t,u,this)&&!z.animated){if(z===xt){return g(false)}if(z&&e===t.target){i=z}if(i){a=J(i)}if(ge(kt,e,xt,s,i,a,t,!!i)!==false){v();if(z&&z.nextSibling){e.insertBefore(xt,z.nextSibling)}else{e.appendChild(xt)}Et=e;b();return g(true)}}else if(z&&_e(t,u,this)){var _=Q(e,0,n,true);if(_===xt){return g(false)}i=_;a=J(i);if(ge(kt,e,xt,s,i,a,t,false)!==false){v();e.insertBefore(xt,_);Et=e;b();return g(true)}}else if(i.parentNode===e){a=J(i);var w=0,y=void 0,x=xt.parentNode!==e,E=!le(xt.animated&&xt.toRect||s,i.animated&&i.toRect||a,u),C=u?"top":"left",k=Z(i,"top","top")||Z(xt,"top","top"),D=k?k.scrollTop:void 0;if(qt!==i){y=a[C];Vt=false;Jt=!E&&n.invertSwap||x}w=ye(t,i,a,u,E?1:n.swapThreshold,n.invertedSwapThreshold==null?n.swapThreshold:n.invertedSwapThreshold,Jt,qt===i);var S=void 0;if(w!==0){var A=tt(xt);do{A-=w;S=Et.children[A]}while(S&&(K(S,"display")==="none"||S===Ct))}if(w===0||S===i){return g(false)}qt=i;Gt=w;var I=i.nextElementSibling,T=false;T=w===1;var O=ge(kt,e,xt,s,i,a,t,T);if(O!==false){if(O===1||O===-1){T=O===1}te=true;setTimeout(ze,30);v();if(T&&!I){e.appendChild(xt)}else{i.parentNode.insertBefore(xt,T?I:i)}if(k){ct(k,0,D-k.scrollTop)}Et=xt.parentNode;if(y!==undefined&&!Jt){Zt=Math.abs(y-J(i)[C])}b();return g(true)}}if(e.contains(xt)){return g(false)}}return false},_ignoreWhileAnimating:null,_offMoveEvents:function(){H(document,"mousemove",this._onTouchMove);H(document,"touchmove",this._onTouchMove);H(document,"pointermove",this._onTouchMove);H(document,"dragover",fe);H(document,"mousemove",fe);H(document,"touchmove",fe)},_offUpEvents:function(){var t=this.el.ownerDocument;H(t,"mouseup",this._onDrop);H(t,"touchend",this._onDrop);H(t,"pointerup",this._onDrop);H(t,"touchcancel",this._onDrop);H(document,"selectstart",this)},_onDrop:function(t){var e=this.el,i=this.options;Ot=tt(xt);Nt=tt(xt,i.draggable);wt("drop",this,{evt:t});Et=xt&&xt.parentNode;Ot=tt(xt);Nt=tt(xt,i.draggable);if(me.eventCanceled){this._nulling();return}Rt=false;Jt=false;Vt=false;clearInterval(this._loopId);clearTimeout(this._dragStartTimer);De(this.cloneId);De(this._dragStartId);if(this.nativeDraggable){H(document,"drop",this);H(e,"dragstart",this._onDragStart)}this._offMoveEvents();this._offUpEvents();if(P){K(document.body,"user-select","")}K(xt,"transform","");if(t){if(Kt){t.cancelable&&t.preventDefault();!i.dropBubble&&t.stopPropagation()}Ct&&Ct.parentNode&&Ct.parentNode.removeChild(Ct);if(kt===Et||Lt&&Lt.lastPutMode!=="clone"){At&&At.parentNode&&At.parentNode.removeChild(At)}if(xt){if(this.nativeDraggable){H(xt,"dragend",this)}be(xt);xt.style["will-change"]="";if(Kt&&!Rt){U(xt,Lt?Lt.options.ghostClass:this.options.ghostClass,false)}U(xt,this.options.chosenClass,false);yt({sortable:this,name:"unchoose",toEl:Et,newIndex:null,newDraggableIndex:null,originalEvent:t});if(kt!==Et){if(Ot>=0){yt({rootEl:Et,name:"add",toEl:Et,fromEl:kt,originalEvent:t});yt({sortable:this,name:"remove",toEl:Et,originalEvent:t});yt({rootEl:Et,name:"sort",toEl:Et,fromEl:kt,originalEvent:t});yt({sortable:this,name:"sort",toEl:Et,originalEvent:t})}Lt&&Lt.save()}else{if(Ot!==Tt){if(Ot>=0){yt({sortable:this,name:"update",toEl:Et,originalEvent:t});yt({sortable:this,name:"sort",toEl:Et,originalEvent:t})}}}if(me.active){if(Ot==null||Ot===-1){Ot=Tt;Nt=Mt}yt({sortable:this,name:"end",toEl:Et,originalEvent:t});this.save()}}}this._nulling()},_nulling:function(){wt("nulling",this);kt=xt=Et=Ct=Dt=At=St=It=Ht=Xt=Kt=Ot=Nt=Tt=Mt=qt=Gt=Lt=Pt=me.dragged=me.ghost=me.clone=me.active=null;ee.forEach((function(t){t.checked=true}));ee.length=Yt=Ft=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":if(xt){this._onDragOver(t);ve(t)}break;case"selectstart":t.preventDefault();break}},toArray:function(){var t=[],e,i=this.el.children,s=0,a=i.length,r=this.options;for(;s<a;s++){e=i[s];if(F(e,r.draggable,this.el,false)){t.push(e.getAttribute(r.dataIdAttr)||Ee(e))}}return t},sort:function(t,e){var i={},s=this.el;this.toArray().forEach((function(t,e){var a=s.children[e];if(F(a,this.options.draggable,s,false)){i[t]=a}}),this);e&&this.captureAnimationState();t.forEach((function(t){if(i[t]){s.removeChild(i[t]);s.appendChild(i[t])}}));e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return F(t,e||this.options.draggable,this.el,false)},option:function(t,e){var i=this.options;if(e===void 0){return i[t]}else{var s=zt.modifyOption(this,t,e);if(typeof s!=="undefined"){i[t]=s}else{i[t]=e}if(t==="group"){he(i)}}},destroy:function(){wt("destroy",this);var t=this.el;t[ft]=null;H(t,"mousedown",this._onTapStart);H(t,"touchstart",this._onTapStart);H(t,"pointerdown",this._onTapStart);if(this.nativeDraggable){H(t,"dragover",this);H(t,"dragenter",this)}Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),(function(t){t.removeAttribute("draggable")}));this._onDrop();this._disableDelayedDragEvents();Bt.splice(Bt.indexOf(this.el),1);this.el=t=null},_hideClone:function(){if(!It){wt("hideClone",this);if(me.eventCanceled)return;K(At,"display","none");if(this.options.removeCloneOnHide&&At.parentNode){At.parentNode.removeChild(At)}It=true}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(It){wt("showClone",this);if(me.eventCanceled)return;if(xt.parentNode==kt&&!this.options.group.revertClone){kt.insertBefore(At,xt)}else if(Dt){kt.insertBefore(At,Dt)}else{kt.appendChild(At)}if(this.options.group.revertClone){this.animate(xt,At)}K(At,"display","");It=false}}};function ve(t){if(t.dataTransfer){t.dataTransfer.dropEffect="move"}t.cancelable&&t.preventDefault()}function ge(t,e,i,s,a,r,n,o){var l,c=t[ft],h=c.options.onMove,d;if(window.CustomEvent&&!O&&!M){l=new CustomEvent("move",{bubbles:true,cancelable:true})}else{l=document.createEvent("Event");l.initEvent("move",true,true)}l.to=e;l.from=t;l.dragged=i;l.draggedRect=s;l.related=a||e;l.relatedRect=r||J(e);l.willInsertAfter=o;l.originalEvent=n;t.dispatchEvent(l);if(h){d=h.call(c,l,n)}return d}function be(t){t.draggable=false}function ze(){te=false}function _e(t,e,i){var s=J(Q(i.el,0,i.options,true));var a=10;return e?t.clientX<s.left-a||t.clientY<s.top&&t.clientX<s.right:t.clientY<s.top-a||t.clientY<s.bottom&&t.clientX<s.left}function we(t,e,i){var s=J($(i.el,i.options.draggable));var a=10;return e?t.clientX>s.right+a||t.clientX<=s.right&&t.clientY>s.bottom&&t.clientX>=s.left:t.clientX>s.right&&t.clientY>s.top||t.clientX<=s.right&&t.clientY>s.bottom+a}function ye(t,e,i,s,a,r,n,o){var l=s?t.clientY:t.clientX,c=s?i.height:i.width,h=s?i.top:i.left,d=s?i.bottom:i.right,u=false;if(!n){if(o&&Zt<c*a){if(!Vt&&(Gt===1?l>h+c*r/2:l<d-c*r/2)){Vt=true}if(!Vt){if(Gt===1?l<h+Zt:l>d-Zt){return-Gt}}else{u=true}}else{if(l>h+c*(1-a)/2&&l<d-c*(1-a)/2){return xe(e)}}}u=u||n;if(u){if(l<h+c*r/2||l>d-c*r/2){return l>h+c/2?1:-1}}return 0}function xe(t){if(tt(xt)<tt(t)){return 1}else{return-1}}function Ee(t){var e=t.tagName+t.className+t.src+t.href+t.textContent,i=e.length,s=0;while(i--){s+=e.charCodeAt(i)}return s.toString(36)}function Ce(t){ee.length=0;var e=t.getElementsByTagName("input");var i=e.length;while(i--){var s=e[i];s.checked&&ee.push(s)}}function ke(t){return setTimeout(t,0)}function De(t){return clearTimeout(t)}if(ie){B(document,"touchmove",(function(t){if((me.active||Rt)&&t.cancelable){t.preventDefault()}}))}me.utils={on:B,off:H,css:K,find:G,is:function(t,e){return!!F(t,e,t,false)},extend:at,throttle:ot,closest:F,toggleClass:U,clone:ht,index:tt,nextTick:ke,cancelNextTick:De,detectDirection:oe,getChild:Q};me.get=function(t){return t[ft]};me.mount=function(){var t=[];for(var e=0;e<arguments.length;e++){t[e]=arguments[e]}if(t[0].constructor===Array)t=t[0];t.forEach((function(t){if(!t.prototype||!t.prototype.constructor){throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(t))}if(t.utils)me.utils=__assign(__assign({},me.utils),t.utils);zt.mount(t)}))};me.create=function(t,e){return new me(t,e)};me.version=I;var Se=[],Ae,Ie,Te=false,Oe,Me,Ne,Pe;function Le(){function t(){this.defaults={scroll:true,forceAutoScrollFallback:false,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:true};for(var t in this){if(t.charAt(0)==="_"&&typeof this[t]==="function"){this[t]=this[t].bind(this)}}}t.prototype={dragStarted:function(t){var e=t.originalEvent;if(this.sortable.nativeDraggable){B(document,"dragover",this._handleAutoScroll)}else{if(this.options.supportPointer){B(document,"pointermove",this._handleFallbackAutoScroll)}else if(e.touches){B(document,"touchmove",this._handleFallbackAutoScroll)}else{B(document,"mousemove",this._handleFallbackAutoScroll)}}},dragOverCompleted:function(t){var e=t.originalEvent;if(!this.options.dragOverBubble&&!e.rootEl){this._handleAutoScroll(e)}},drop:function(){if(this.sortable.nativeDraggable){H(document,"dragover",this._handleAutoScroll)}else{H(document,"pointermove",this._handleFallbackAutoScroll);H(document,"touchmove",this._handleFallbackAutoScroll);H(document,"mousemove",this._handleFallbackAutoScroll)}We();Re();lt()},nulling:function(){Ne=Ie=Ae=Te=Pe=Oe=Me=null;Se.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,true)},_handleAutoScroll:function(t,e){var i=this;var s=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,r=document.elementFromPoint(s,a);Ne=t;if(e||this.options.forceAutoScrollFallback||M||O||P){Be(t,this.options,r,e);var n=st(r,true);if(Te&&(!Pe||s!==Oe||a!==Me)){Pe&&We();Pe=setInterval((function(){var r=st(document.elementFromPoint(s,a),true);if(r!==n){n=r;Re()}Be(t,i.options,r,e)}),10);Oe=s;Me=a}}else{if(!this.options.bubbleScroll||st(r,true)===V()){Re();return}Be(t,this.options,st(r,false),false)}}};return A(t,{pluginName:"scroll",initializeByDefault:true})}function Re(){Se.forEach((function(t){clearInterval(t.pid)}));Se=[]}function We(){clearInterval(Pe)}var Be=ot((function(t,e,i,s){if(!e.scroll)return;var a=(t.touches?t.touches[0]:t).clientX,r=(t.touches?t.touches[0]:t).clientY,n=e.scrollSensitivity,o=e.scrollSpeed,l=V();var c=false,h;if(Ie!==i){Ie=i;Re();Ae=e.scroll;h=e.scrollFn;if(Ae===true){Ae=st(i,true)}}var d=0;var u=Ae;do{var f=u,p=J(f),m=p.top,v=p.bottom,g=p.left,b=p.right,z=p.width,_=p.height,w=void 0,y=void 0,x=f.scrollWidth,E=f.scrollHeight,C=K(f),k=f.scrollLeft,D=f.scrollTop;if(f===l){w=z<x&&(C.overflowX==="auto"||C.overflowX==="scroll"||C.overflowX==="visible");y=_<E&&(C.overflowY==="auto"||C.overflowY==="scroll"||C.overflowY==="visible")}else{w=z<x&&(C.overflowX==="auto"||C.overflowX==="scroll");y=_<E&&(C.overflowY==="auto"||C.overflowY==="scroll")}var S=w&&(Math.abs(b-a)<=n&&k+z<x)-(Math.abs(g-a)<=n&&!!k);var A=y&&(Math.abs(v-r)<=n&&D+_<E)-(Math.abs(m-r)<=n&&!!D);if(!Se[d]){for(var I=0;I<=d;I++){if(!Se[I]){Se[I]={}}}}if(Se[d].vx!=S||Se[d].vy!=A||Se[d].el!==f){Se[d].el=f;Se[d].vx=S;Se[d].vy=A;clearInterval(Se[d].pid);if(S!=0||A!=0){c=true;Se[d].pid=setInterval(function(){if(s&&this.layer===0){me.active._onTouchMove(Ne)}var e=Se[this.layer].vy?Se[this.layer].vy*o:0;var i=Se[this.layer].vx?Se[this.layer].vx*o:0;if(typeof h==="function"){if(h.call(me.dragged.parentNode[ft],i,e,t,Ne,Se[this.layer].el)!=="continue"){return}}ct(Se[this.layer].el,i,e)}.bind({layer:d}),24)}}d++}while(e.bubbleScroll&&u!==l&&(u=st(u,false)));Te=c}),30);var He=function(t){var e=t.originalEvent,i=t.putSortable,s=t.dragEl,a=t.activeSortable,r=t.dispatchSortableEvent,n=t.hideGhostForTarget,o=t.unhideGhostForTarget;if(!e)return;var l=i||a;n();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e;var h=document.elementFromPoint(c.clientX,c.clientY);o();if(l&&!l.el.contains(h)){r("spill");this.onSpill({dragEl:s,putSortable:i})}};function Xe(){}Xe.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,i=t.putSortable;this.sortable.captureAnimationState();if(i){i.captureAnimationState()}var s=Q(this.sortable.el,this.startIndex,this.options);if(s){this.sortable.el.insertBefore(e,s)}else{this.sortable.el.appendChild(e)}this.sortable.animateAll();if(i){i.animateAll()}},drop:He};A(Xe,{pluginName:"revertOnSpill"});function Ye(){}Ye.prototype={onSpill:function(t){var e=t.dragEl,i=t.putSortable;var s=i||this.sortable;s.captureAnimationState();e.parentNode&&e.parentNode.removeChild(e);s.animateAll()},drop:He};A(Ye,{pluginName:"removeOnSpill"});var Fe;function je(){function t(){this.defaults={swapClass:"sortable-swap-highlight"}}t.prototype={dragStart:function(t){var e=t.dragEl;Fe=e},dragOverValid:function(t){var e=t.completed,i=t.target,s=t.onMove,a=t.activeSortable,r=t.changed,n=t.cancel;if(!a.options.swap)return;var o=this.sortable.el,l=this.options;if(i&&i!==o){var c=Fe;if(s(i)!==false){U(i,l.swapClass,true);Fe=i}else{Fe=null}if(c&&c!==Fe){U(c,l.swapClass,false)}}r();e(true);n()},drop:function(t){var e=t.activeSortable,i=t.putSortable,s=t.dragEl;var a=i||this.sortable;var r=this.options;Fe&&U(Fe,r.swapClass,false);if(Fe&&(r.swap||i&&i.options.swap)){if(s!==Fe){a.captureAnimationState();if(a!==e)e.captureAnimationState();Ue(s,Fe);a.animateAll();if(a!==e)e.animateAll()}}},nulling:function(){Fe=null}};return A(t,{pluginName:"swap",eventProperties:function(){return{swapItem:Fe}}})}function Ue(t,e){var i=t.parentNode,s=e.parentNode,a,r;if(!i||!s||i.isEqualNode(e)||s.isEqualNode(t))return;a=tt(t);r=tt(e);if(i.isEqualNode(s)&&a<r){r++}i.insertBefore(e,i.children[a]);s.insertBefore(t,s.children[r])}var Ke=[],qe=[],Ge,Ve,Je=false,Ze=false,Qe=false,$e,ti,ei;function ii(){function t(t){for(var e in this){if(e.charAt(0)==="_"&&typeof this[e]==="function"){this[e]=this[e].bind(this)}}if(!t.options.avoidImplicitDeselect){if(t.options.supportPointer){B(document,"pointerup",this._deselectMultiDrag)}else{B(document,"mouseup",this._deselectMultiDrag);B(document,"touchend",this._deselectMultiDrag)}}B(document,"keydown",this._checkKeyDown);B(document,"keyup",this._checkKeyUp);this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:false,setData:function(e,i){var s="";if(Ke.length&&Ve===t){Ke.forEach((function(t,e){s+=(!e?"":", ")+t.textContent}))}else{s=i.textContent}e.setData("Text",s)}}}t.prototype={multiDragKeyDown:false,isMultiDrag:false,delayStartGlobal:function(t){var e=t.dragEl;$e=e},delayEnded:function(){this.isMultiDrag=~Ke.indexOf($e)},setupClone:function(t){var e=t.sortable,i=t.cancel;if(!this.isMultiDrag)return;for(var s=0;s<Ke.length;s++){qe.push(ht(Ke[s]));qe[s].sortableIndex=Ke[s].sortableIndex;qe[s].draggable=false;qe[s].style["will-change"]="";U(qe[s],this.options.selectedClass,false);Ke[s]===$e&&U(qe[s],this.options.chosenClass,false)}e._hideClone();i()},clone:function(t){var e=t.sortable,i=t.rootEl,s=t.dispatchSortableEvent,a=t.cancel;if(!this.isMultiDrag)return;if(!this.options.removeCloneOnHide){if(Ke.length&&Ve===e){ai(true,i);s("clone");a()}}},showClone:function(t){var e=t.cloneNowShown,i=t.rootEl,s=t.cancel;if(!this.isMultiDrag)return;ai(false,i);qe.forEach((function(t){K(t,"display","")}));e();ei=false;s()},hideClone:function(t){var e=this;var i=t.sortable,s=t.cloneNowHidden,a=t.cancel;if(!this.isMultiDrag)return;qe.forEach((function(t){K(t,"display","none");if(e.options.removeCloneOnHide&&t.parentNode){t.parentNode.removeChild(t)}}));s();ei=true;a()},dragStartGlobal:function(t){var e=t.sortable;if(!this.isMultiDrag&&Ve){Ve.multiDrag._deselectMultiDrag()}Ke.forEach((function(t){t.sortableIndex=tt(t)}));Ke=Ke.sort((function(t,e){return t.sortableIndex-e.sortableIndex}));Qe=true},dragStarted:function(t){var e=this;var i=t.sortable;if(!this.isMultiDrag)return;if(this.options.sort){i.captureAnimationState();if(this.options.animation){Ke.forEach((function(t){if(t===$e)return;K(t,"position","absolute")}));var s=J($e,false,true,true);Ke.forEach((function(t){if(t===$e)return;dt(t,s)}));Ze=true;Je=true}}i.animateAll((function(){Ze=false;Je=false;if(e.options.animation){Ke.forEach((function(t){ut(t)}))}if(e.options.sort){ri()}}))},dragOver:function(t){var e=t.target,i=t.completed,s=t.cancel;if(Ze&&~Ke.indexOf(e)){i(false);s()}},revert:function(t){var e=t.fromSortable,i=t.rootEl,s=t.sortable,a=t.dragRect;if(Ke.length>1){Ke.forEach((function(t){s.addAnimationState({target:t,rect:Ze?J(t):a});ut(t);t.fromRect=a;e.removeAnimationState(t)}));Ze=false;si(!this.options.removeCloneOnHide,i)}},dragOverCompleted:function(t){var e=t.sortable,i=t.isOwner,s=t.insertion,a=t.activeSortable,r=t.parentEl,n=t.putSortable;var o=this.options;if(s){if(i){a._hideClone()}Je=false;if(o.animation&&Ke.length>1&&(Ze||!i&&!a.options.sort&&!n)){var l=J($e,false,true,true);Ke.forEach((function(t){if(t===$e)return;dt(t,l);r.appendChild(t)}));Ze=true}if(!i){if(!Ze){ri()}if(Ke.length>1){var c=ei;a._showClone(e);if(a.options.animation&&!ei&&c){qe.forEach((function(t){a.addAnimationState({target:t,rect:ti});t.fromRect=ti;t.thisAnimationDuration=null}))}}else{a._showClone(e)}}}},dragOverAnimationCapture:function(t){var e=t.dragRect,i=t.isOwner,s=t.activeSortable;Ke.forEach((function(t){t.thisAnimationDuration=null}));if(s.options.animation&&!i&&s.multiDrag.isMultiDrag){ti=A({},e);var a=q($e,true);ti.top-=a.f;ti.left-=a.e}},dragOverAnimationComplete:function(){if(Ze){Ze=false;ri()}},drop:function(t){var e=t.originalEvent,i=t.rootEl,s=t.parentEl,a=t.sortable,r=t.dispatchSortableEvent,n=t.oldIndex,o=t.putSortable;var l=o||this.sortable;if(!e)return;var c=this.options,h=s.children;if(!Qe){if(c.multiDragKey&&!this.multiDragKeyDown){this._deselectMultiDrag()}U($e,c.selectedClass,!~Ke.indexOf($e));if(!~Ke.indexOf($e)){Ke.push($e);_t({sortable:a,rootEl:i,name:"select",targetEl:$e,originalEvent:e});if(e.shiftKey&&Ge&&a.el.contains(Ge)){var d=tt(Ge),u=tt($e);if(~d&&~u&&d!==u){var f,p;if(u>d){p=d;f=u}else{p=u;f=d+1}for(;p<f;p++){if(~Ke.indexOf(h[p]))continue;U(h[p],c.selectedClass,true);Ke.push(h[p]);_t({sortable:a,rootEl:i,name:"select",targetEl:h[p],originalEvent:e})}}}else{Ge=$e}Ve=l}else{Ke.splice(Ke.indexOf($e),1);Ge=null;_t({sortable:a,rootEl:i,name:"deselect",targetEl:$e,originalEvent:e})}}if(Qe&&this.isMultiDrag){Ze=false;if((s[ft].options.sort||s!==i)&&Ke.length>1){var m=J($e),v=tt($e,":not(."+this.options.selectedClass+")");if(!Je&&c.animation)$e.thisAnimationDuration=null;l.captureAnimationState();if(!Je){if(c.animation){$e.fromRect=m;Ke.forEach((function(t){t.thisAnimationDuration=null;if(t!==$e){var e=Ze?J(t):m;t.fromRect=e;l.addAnimationState({target:t,rect:e})}}))}ri();Ke.forEach((function(t){if(h[v]){s.insertBefore(t,h[v])}else{s.appendChild(t)}v++}));if(n===tt($e)){var g=false;Ke.forEach((function(t){if(t.sortableIndex!==tt(t)){g=true;return}}));if(g){r("update")}}}Ke.forEach((function(t){ut(t)}));l.animateAll()}Ve=l}if(i===s||o&&o.lastPutMode!=="clone"){qe.forEach((function(t){t.parentNode&&t.parentNode.removeChild(t)}))}},nullingGlobal:function(){this.isMultiDrag=Qe=false;qe.length=0},destroyGlobal:function(){this._deselectMultiDrag();H(document,"pointerup",this._deselectMultiDrag);H(document,"mouseup",this._deselectMultiDrag);H(document,"touchend",this._deselectMultiDrag);H(document,"keydown",this._checkKeyDown);H(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(typeof Qe!=="undefined"&&Qe)return;if(Ve!==this.sortable)return;if(t&&F(t.target,this.options.draggable,this.sortable.el,false))return;if(t&&t.button!==0)return;while(Ke.length){var e=Ke[0];U(e,this.options.selectedClass,false);Ke.shift();_t({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvent:t})}},_checkKeyDown:function(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=true}},_checkKeyUp:function(t){if(t.key===this.options.multiDragKey){this.multiDragKeyDown=false}}};return A(t,{pluginName:"multiDrag",utils:{select:function(t){var e=t.parentNode[ft];if(!e||!e.options.multiDrag||~Ke.indexOf(t))return;if(Ve&&Ve!==e){Ve.multiDrag._deselectMultiDrag();Ve=e}U(t,e.options.selectedClass,true);Ke.push(t)},deselect:function(t){var e=t.parentNode[ft],i=Ke.indexOf(t);if(!e||!e.options.multiDrag||!~i)return;U(t,e.options.selectedClass,false);Ke.splice(i,1)}},eventProperties:function(){var t=this;var e=[],i=[];Ke.forEach((function(s){e.push({multiDragElement:s,index:s.sortableIndex});var a;if(Ze&&s!==$e){a=-1}else if(Ze){a=tt(s,":not(."+t.options.selectedClass+")")}else{a=tt(s)}i.push({multiDragElement:s,index:a})}));return{items:__spreadArray([],Ke,true),clones:__spreadArray([],qe,true),oldIndicies:e,newIndicies:i}},optionListeners:{multiDragKey:function(t){t=t.toLowerCase();if(t==="ctrl"){t="Control"}else if(t.length>1){t=t.charAt(0).toUpperCase()+t.substr(1)}return t}}})}function si(t,e){Ke.forEach((function(i,s){var a=e.children[i.sortableIndex+(t?Number(s):0)];if(a){e.insertBefore(i,a)}else{e.appendChild(i)}}))}function ai(t,e){qe.forEach((function(i,s){var a=e.children[i.sortableIndex+(t?Number(s):0)];if(a){e.insertBefore(i,a)}else{e.appendChild(i)}}))}function ri(){Ke.forEach((function(t){if(t===$e)return;t.parentNode&&t.parentNode.removeChild(t)}))}me.mount(new Le);me.mount(Ye,Xe);me.mount(new je);me.mount(new ii);var ni='.sc-stzh-sortable-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-sortable-h{display:none}.sc-stzh-sortable-h *.sc-stzh-sortable,.sc-stzh-sortable-h *.sc-stzh-sortable::before,.sc-stzh-sortable-h *.sc-stzh-sortable::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-sortable-h{--cursor:grab;--grabbing-cursor:grabbing;--unselected-item-opacity:0.6;--ghost-item-background:var(--stzh-color-grey5);--ghost-item-box-shadow:inset 0px 0px 0.5rem rgba(0, 0, 0, 0.32)}[disabled].sc-stzh-sortable-h{--cursor:inherit}.sc-stzh-sortable-h[disabled] .sc-stzh-sortable-s *.is-sortable-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item{position:relative;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:var(--cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-chosen,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost,.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-selected{cursor:var(--grabbing-cursor)}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-drag{opacity:1 !important}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost{z-index:0}.sc-stzh-sortable-h .sc-stzh-sortable-s *.is-sortable-item.is-ghost::after{z-index:99;content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--ghost-item-background);-webkit-box-shadow:var(--ghost-item-box-shadow);box-shadow:var(--ghost-item-box-shadow)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item{opacity:var(--unselected-item-opacity)}.sc-stzh-sortable-h .sc-stzh-sortable-s>*.has-item-selected>*.is-sortable-item.is-selected{opacity:1}.stzh-sortable__description.sc-stzh-sortable,.stzh-sortable__aria-live.sc-stzh-sortable{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}';var oi="is-sortable-item";var li="is-ghost";var ci="is-selected";var hi="is-chosen";var di="is-drag";var ui="has-item-selected";var fi=0;var pi=t("stzh_sortable",function(){function t(t){var s=this;e(this,t);this.stzhUpdate=i(this,"stzhUpdate",7);this.stzhDisable=i(this,"stzhDisable",7);this.selectedItem=null;this.resetItemOnBlur=false;this.init=function(){if(!s.getContainer()||s.disabled){return}s.setAttributes()};this.updated=function(t){return __awaiter(s,void 0,void 0,(function(){var e,i,s,a,r;var n;return __generator(this,(function(o){switch(o.label){case 0:if(t){e=t.newIndex;i=t.oldIndex;s=t.item}else{e=this.getIndexOfSelectedItem();i=this.lastIndex;s=this.selectedItem}if(!(e!==i))return[3,2];r=(a=this.stzhUpdate).emit;n={component:"stzh-sortable"};return[4,this.toArray()];case 1:r.apply(a,[(n.data=o.sent(),n.item=s,n.newIndex=e,n.oldIndex=i,n)]);o.label=2;case 2:return[2]}}))}))};this.onKeydown=function(t){var e=t.currentTarget;var i=t.target;if(!s.getContainer()||s.disabled||e!==i){return}if(t.key===" "){t.preventDefault();if(!s.selectedItem){s.selectedItem=e;s.selectedItem.parentElement.classList.add(ui);s.selectedItem.classList.add(ci);s.lastIndex=s.getIndexOfSelectedItem();s.resetItemOnBlur=true;s.updateAriaLive(s.localization.started)}else{s.resetItemOnBlur=false;s.updateAriaLive(s.localization.dropped);s.updated();s.resetActiveItem()}}else if(t.key==="Tab"&&s.selectedItem&&s.selectedItem===t.currentTarget){t.preventDefault()}else if(t.key==="Escape"&&s.selectedItem){s.resetItemOnBlur=false;s.updateAriaLive(s.localization.canceled);s.resetActiveItem(true)}else if(t.key==="ArrowUp"){t.preventDefault();if(s.selectedItem){s.moveItem(s.selectedItem,"up")}else{s.focusItem(e.previousElementSibling)}}else if(t.key==="ArrowDown"){t.preventDefault();if(s.selectedItem){s.moveItem(s.selectedItem,"down")}else{s.focusItem(e.nextElementSibling)}}};this.onBlur=function(){if(s.resetItemOnBlur){s.resetItemOnBlur=false;s.updateAriaLive(s.localization.dropped);s.updated();s.resetActiveItem()}};this.localization=undefined;this.disabled=false;this.dataIdAttribute="data-id";this.container=function(){var t;return(t=s.containerElement)===null||t===void 0?void 0:t.firstElementChild};this.ghostClone=function(t){var e=p(t)[0];return e};this.filterElements=["[data-stzh-sortable-filtered]","[sortable-disabled]","button","a[href]","input","select","textarea","label","iframe","details","area","stzh-sortable"]}t.prototype.toArray=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.sortable.toArray()]}))}))};t.prototype.sort=function(t,e){if(e===void 0){e=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(i){return[2,this.sortable.sort(t,e)]}))}))};t.prototype.moveItem=function(t,e){return __awaiter(this,void 0,void 0,(function(){var i,s,a,r;var n;return __generator(this,(function(o){switch(o.label){case 0:if(!t||!t.nextElementSibling&&e==="down"||!t.previousElementSibling&&e==="up"){return[2]}this.resetItemOnBlur=false;if(e==="up"){t.previousElementSibling.before(t)}else if(e==="down"){t.nextElementSibling.after(t)}this.updateAriaLive(this.localization.moved,t);this.focusItem(t);s=Array.from((i=t.parentElement)===null||i===void 0?void 0:i.children).indexOf(t);r=(a=this.stzhUpdate).emit;n={component:"stzh-sortable"};return[4,this.toArray()];case 1:r.apply(a,[(n.data=o.sent(),n.item=t,n.newIndex=s,n.oldIndex=s+(e==="up"?1:-1),n)]);this.resetItemOnBlur=true;return[2]}}))}))};t.prototype.disabledWatcher=function(t){if(t){this.setAttributes()}else{this.unsetAttributes()}this.stzhDisable.emit({component:"stzh-sortable",disabled:t})};t.prototype.filterElementsWatcher=function(t){if(typeof t==="string"){this._filterElements=JSON.parse(t)}else{this._filterElements=t}};t.prototype.getContainer=function(){return typeof this.container==="function"?this.container():this.container};t.prototype.updateAriaLive=function(t,e){if(e===void 0){e=this.selectedItem}if(!this.getContainer()){return}if(e){var i=e.getAttribute("aria-label")||"";var s=this.getIndexOfSelectedItem(e);t=t.replace("{title}",i).replace("{current}",(s+1).toString())}var a=this.getContainer().children.length;t=t.replace(/\{total\}/gi,a.toString());this.ariaLiveElement.textContent=t};t.prototype.getIndexOfSelectedItem=function(t){if(t===void 0){t=this.selectedItem}if(t){return Array.from(t.parentElement.children).indexOf(t)}};t.prototype.resetActiveItem=function(t){if(t===void 0){t=false}if(!this.selectedItem){return}var e=this.getIndexOfSelectedItem();var i=this.selectedItem.parentElement;if(t&&this.lastIndex!==e){if(this.lastIndex>e){i.children[this.lastIndex].after(this.selectedItem)}else{i.children[this.lastIndex].before(this.selectedItem)}this.selectedItem.focus()}i.classList.remove(ui);this.selectedItem.classList.remove(ci);this.selectedItem=null;this.lastIndex=null};t.prototype.focusItem=function(t){if(!t){return}t.focus();var e=document.querySelector("stzh-flyingfocus");if(e){e.reposition()}S(t,{scrollMode:"if-needed",block:"nearest",inline:"nearest"})};t.prototype.setAttributes=function(){var t=this;Array.from(this.getContainer().children).forEach((function(e){e.classList.add(oi);e.addEventListener("blur",t.onBlur);e.addEventListener("keydown",t.onKeydown);e.setAttribute("tabindex","0");e.setAttribute("aria-describedby","".concat(t.sortableId,"-description"))}))};t.prototype.unsetAttributes=function(){var t=this;Array.from(this.getContainer().children).forEach((function(e){e.classList.remove(oi);e.removeEventListener("blur",t.onBlur);e.removeEventListener("keydown",t.onKeydown);e.removeAttribute("tabindex");e.removeAttribute("aria-describedby")}))};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.sortableId="stzh-sortable-".concat(fi++);this.filterElementsWatcher(this.filterElements);if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"sortable")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentWillUpdate=function(){if(this.sortable){this.sortable.destroy();this.sortable=null}};t.prototype.componentDidRender=function(){if(this.sortable){return}this.sortable=new me(this.getContainer(),{animation:150,filter:this._filterElements.join(", "),ghostClass:li,chosenClass:hi,dragClass:di,dataIdAttr:this.dataIdAttribute,preventOnFilter:false,forceFallback:true,delay:200,delayOnTouchOnly:true,disabled:this.disabled,ghostClone:this.ghostClone,onUpdate:this.updated})};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}this.unsetAttributes();if(this.sortable){this.sortable.destroy();this.sortable=null}};t.prototype.render=function(){var t=this;var e={"stzh-sortable":true,"stzh-sortable--disabled":this.disabled};return s(a,null,s("div",{class:e},s("div",{id:"".concat(this.sortableId,"-description"),class:"stzh-sortable__description"},this.localization.description),s("div",{ref:function(e){return t.ariaLiveElement=e},"aria-live":"assertive",class:"stzh-sortable__aria-live"}),s("div",{ref:function(e){return t.containerElement=e},class:"stzh-sortable__container"},s("slot",null))))};Object.defineProperty(t.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{disabled:["disabledWatcher"],filterElements:["filterElementsWatcher"]}},enumerable:false,configurable:true});return t}());pi.style=ni}}}));
8
+ //# sourceMappingURL=p-bda21265.system.entry.js.map