@baloise/ds-core 19.5.0 → 19.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/components/bal-accordion.js +1 -1
  2. package/components/bal-carousel-item.js +1 -1
  3. package/components/bal-data-value.js +4 -2
  4. package/components/bal-date-calendar2.js +1 -1
  5. package/components/bal-date.js +1 -1
  6. package/components/bal-dropdown.js +1 -1
  7. package/components/bal-field-hint.js +25 -2
  8. package/components/bal-field-message.js +7 -2
  9. package/components/bal-field.js +1 -1
  10. package/components/bal-file-upload.js +3 -3
  11. package/components/bal-form.js +1 -1
  12. package/components/bal-icon2.js +1 -1
  13. package/components/bal-modal.js +1 -1
  14. package/components/bal-nav-meta-bar2.js +1 -1
  15. package/components/bal-nav.js +2 -2
  16. package/components/bal-navbar-brand.js +1 -1
  17. package/components/bal-number-input.js +30 -13
  18. package/components/bal-option-list.js +1 -1
  19. package/components/bal-pagination.js +1 -1
  20. package/components/bal-popup2.js +8 -2
  21. package/components/bal-segment.js +2 -1
  22. package/components/bal-select2.js +1 -1
  23. package/components/bal-tabs2.js +2 -2
  24. package/components/bal-toast.controller.js +127 -0
  25. package/components/focus.decorator.js +1 -1
  26. package/components/form-input.js +1 -1
  27. package/components/helpers.js +1 -1
  28. package/components/index.js +6 -127
  29. package/components/mutation.decorator.js +1 -1
  30. package/components/tokens.esm.js +1 -1
  31. package/components/visibility.decorator.js +1 -1
  32. package/dist/baloise-design-system/baloise-design-system.esm.js +1 -1
  33. package/dist/baloise-design-system/index.esm.js +1 -1
  34. package/dist/baloise-design-system/{p-b3c4bb46d3.entry.js → p-0a4ac49e02.entry.js} +1 -1
  35. package/dist/baloise-design-system/p-0cf4c25729.system.entry.js +1 -0
  36. package/dist/baloise-design-system/{p-53d4b7058b.entry.js → p-0ea9ab068b.entry.js} +1 -1
  37. package/dist/baloise-design-system/p-0f6bb8caa3.system.entry.js +1 -0
  38. package/dist/baloise-design-system/{p-05171f8822.system.entry.js → p-10c062442e.system.entry.js} +1 -1
  39. package/dist/baloise-design-system/p-18454aabec.entry.js +1 -0
  40. package/dist/baloise-design-system/{p-64ef8c714d.entry.js → p-1857577c70.entry.js} +1 -1
  41. package/dist/baloise-design-system/p-1e9c5546fc.system.entry.js +1 -0
  42. package/dist/baloise-design-system/p-255dd40d49.entry.js +1 -0
  43. package/dist/baloise-design-system/{p-1e16b6160b.entry.js → p-327c84b06b.entry.js} +1 -1
  44. package/dist/baloise-design-system/{p-32f4c6a2a2.entry.js → p-3641978d62.entry.js} +1 -1
  45. package/dist/baloise-design-system/{p-3595a9493d.entry.js → p-5465e8ac55.entry.js} +1 -1
  46. package/dist/baloise-design-system/{p-b8b00da091.entry.js → p-5567a745f4.entry.js} +1 -1
  47. package/dist/baloise-design-system/{p-8b02d1f691.system.entry.js → p-59390868c1.system.entry.js} +1 -1
  48. package/dist/baloise-design-system/p-60c78f3752.entry.js +1 -0
  49. package/dist/baloise-design-system/p-6242e41d53.system.entry.js +1 -0
  50. package/dist/baloise-design-system/{p-e45196d720.system.entry.js → p-7405a37a9a.system.entry.js} +1 -1
  51. package/dist/baloise-design-system/{p-2f840ebc0e.system.entry.js → p-804bbad7f2.system.entry.js} +1 -1
  52. package/dist/baloise-design-system/p-8a0dbc8717.system.entry.js +1 -0
  53. package/dist/baloise-design-system/p-8ae0044332.entry.js +1 -0
  54. package/dist/baloise-design-system/{p-8f16b577ed.system.entry.js → p-8bc0af1a02.system.entry.js} +1 -1
  55. package/dist/baloise-design-system/p-8c9f806358.system.entry.js +1 -0
  56. package/dist/baloise-design-system/{p-063fe43bad.entry.js → p-93a741aa6b.entry.js} +1 -1
  57. package/dist/baloise-design-system/p-94610ff5fd.system.entry.js +1 -0
  58. package/dist/baloise-design-system/{p-7eebcf67e2.entry.js → p-9a16bde9ad.entry.js} +1 -1
  59. package/dist/baloise-design-system/p-9d4ddca8b1.entry.js +1 -0
  60. package/dist/baloise-design-system/{p-450ed0e3a8.system.entry.js → p-9fe93f520f.system.entry.js} +1 -1
  61. package/dist/baloise-design-system/{p-D-wn3VCz.system.js → p-B6AwgiDg.system.js} +1 -1
  62. package/dist/baloise-design-system/{p-D7joM2A_.js → p-BXW6ULlI.js} +1 -1
  63. package/dist/baloise-design-system/p-BZQXDr-g.js +1 -0
  64. package/dist/baloise-design-system/p-Bas5fYcv.system.js +1 -1
  65. package/dist/baloise-design-system/p-BtpJmRB8.js +1 -1
  66. package/dist/baloise-design-system/{p-C2O6xJy8.js → p-Bwanpq90.js} +1 -1
  67. package/dist/baloise-design-system/p-CLs4UZCO.js +1 -0
  68. package/dist/baloise-design-system/p-CMlYDQJS.system.js +1 -0
  69. package/dist/baloise-design-system/{p-nmPiAskM.js → p-CTBN6DaX.js} +1 -1
  70. package/dist/baloise-design-system/p-ChlfBLwb.system.js +1 -0
  71. package/dist/baloise-design-system/p-CpKZoBAF.js +1 -0
  72. package/dist/baloise-design-system/{p-DACM2A18.system.js → p-DGPZrO0x.system.js} +1 -1
  73. package/dist/baloise-design-system/p-DJQ7cTKs.system.js +1 -0
  74. package/dist/baloise-design-system/p-Dd2hz_QL.system.js +1 -1
  75. package/dist/baloise-design-system/{p-BQFHQM2n.system.js → p-K4LP7N6U.system.js} +1 -1
  76. package/dist/baloise-design-system/p-ZO510gkN.system.js +1 -0
  77. package/dist/baloise-design-system/p-a9b6129706.entry.js +1 -0
  78. package/dist/baloise-design-system/p-b2af8a3657.system.entry.js +1 -0
  79. package/dist/baloise-design-system/{p-11e1bb87d5.system.entry.js → p-b2cd8c8099.system.entry.js} +1 -1
  80. package/dist/baloise-design-system/p-c63fbd713d.entry.js +1 -0
  81. package/dist/baloise-design-system/{p-589719130f.system.entry.js → p-cd61656b64.system.entry.js} +1 -1
  82. package/dist/baloise-design-system/{p-fa57c17fd2.system.entry.js → p-cf2493f296.system.entry.js} +1 -1
  83. package/dist/baloise-design-system/{p-bcbfc5cf1a.entry.js → p-d1eb2cfb34.entry.js} +1 -1
  84. package/dist/baloise-design-system/{p-154031cfcd.entry.js → p-dba1172156.entry.js} +1 -1
  85. package/dist/baloise-design-system/{p-b20a5928a7.system.entry.js → p-df817b1f49.system.entry.js} +1 -1
  86. package/dist/baloise-design-system/p-e071742801.entry.js +1 -0
  87. package/dist/baloise-design-system/p-e105c174ba.entry.js +1 -0
  88. package/dist/baloise-design-system/p-e9bcbaa911.system.entry.js +1 -0
  89. package/dist/baloise-design-system/p-f0299bfaa0.system.entry.js +1 -0
  90. package/dist/cjs/bal-carousel_2.cjs.entry.js +4 -4
  91. package/dist/cjs/bal-data_4.cjs.entry.js +4 -2
  92. package/dist/cjs/bal-date-calendar_2.cjs.entry.js +5 -4
  93. package/dist/cjs/bal-date.cjs.entry.js +3 -2
  94. package/dist/cjs/bal-date.i18n-DJlY99as.js +66 -0
  95. package/dist/cjs/bal-field_5.cjs.entry.js +28 -3
  96. package/dist/cjs/bal-file-upload.cjs.entry.js +3 -3
  97. package/dist/cjs/bal-hint_5.cjs.entry.js +3 -3
  98. package/dist/cjs/bal-icon.cjs.entry.js +1 -1
  99. package/dist/cjs/bal-list_8.cjs.entry.js +4 -4
  100. package/dist/cjs/bal-logo.cjs.entry.js +3 -3
  101. package/dist/cjs/bal-nav_8.cjs.entry.js +6 -6
  102. package/dist/cjs/bal-navbar_5.cjs.entry.js +3 -3
  103. package/dist/cjs/bal-number-input.cjs.entry.js +28 -12
  104. package/dist/cjs/bal-pagination.cjs.entry.js +4 -4
  105. package/dist/cjs/bal-popup.cjs.entry.js +8 -2
  106. package/dist/cjs/bal-progress-bar.cjs.entry.js +5 -5
  107. package/dist/cjs/bal-segment_2.cjs.entry.js +7 -6
  108. package/dist/cjs/bal-shape.cjs.entry.js +1 -1
  109. package/dist/cjs/bal-steps.cjs.entry.js +3 -3
  110. package/dist/cjs/bal-tab-item_2.cjs.entry.js +5 -5
  111. package/dist/cjs/baloise-design-system.cjs.js +1 -1
  112. package/dist/cjs/{breakpoints.decorator-BSEpzMB7.js → breakpoints.decorator-Cz7bHPb8.js} +1 -1
  113. package/dist/cjs/{breakpoints.subject-DsbiTElZ.js → breakpoints.subject-BvbPa-gl.js} +1 -1
  114. package/dist/cjs/{date-DffviXAX.js → date-z_vUhJKX.js} +0 -64
  115. package/dist/cjs/index-wO-C-tKN.js +1 -1
  116. package/dist/cjs/index.cjs.js +7 -6
  117. package/dist/cjs/loader.cjs.js +1 -1
  118. package/dist/cjs/{tokens.esm-DDxoq3-N.js → tokens.esm-G_2YKM-0.js} +1 -1
  119. package/dist/cjs/{window-resize.decorator-lVS3Mcus.js → window-resize.decorator-KhRfwqd-.js} +1 -1
  120. package/dist/cjs/{window-resize.subject-BT9wsOzd.js → window-resize.subject-avwpF9vX.js} +1 -1
  121. package/dist/collection/components/bal-data/bal-data-value/bal-data-value.js +4 -2
  122. package/dist/collection/components/bal-field/bal-field-hint/bal-field-hint.js +43 -1
  123. package/dist/collection/components/bal-field/bal-field-message/bal-field-message.js +26 -2
  124. package/dist/collection/components/bal-file-upload/components/file-list.js +1 -2
  125. package/dist/collection/components/bal-icon/bal-icon.js +1 -1
  126. package/dist/collection/components/bal-input/bal-input.js +1 -1
  127. package/dist/collection/components/bal-nav/bal-nav-meta-bar/bal-nav-meta-bar.css +1 -1
  128. package/dist/collection/components/bal-nav/bal-nav.css +1 -1
  129. package/dist/collection/components/bal-number-input/bal-number-input.js +40 -11
  130. package/dist/collection/components/bal-number-input/bal-number-input.utils.js +11 -4
  131. package/dist/collection/components/bal-pagination/bal-pagination.js +1 -1
  132. package/dist/collection/components/bal-popup/bal-popup.css +1 -1
  133. package/dist/collection/components/bal-popup/bal-popup.js +1 -1
  134. package/dist/collection/components/bal-popup/variants/fullscreen-variant.renderer.js +6 -0
  135. package/dist/collection/components/bal-segment/bal-segment.js +2 -1
  136. package/dist/collection/components/bal-tabs/bal-tabs.css +1 -1
  137. package/dist/collection/utils/constants/version.constant.js +1 -1
  138. package/dist/esm/bal-carousel_2.entry.js +4 -4
  139. package/dist/esm/bal-data_4.entry.js +4 -2
  140. package/dist/esm/bal-date-calendar_2.entry.js +2 -1
  141. package/dist/esm/bal-date.entry.js +2 -1
  142. package/dist/esm/bal-date.i18n-CLs4UZCO.js +64 -0
  143. package/dist/esm/bal-field_5.entry.js +28 -3
  144. package/dist/esm/bal-file-upload.entry.js +3 -3
  145. package/dist/esm/bal-hint_5.entry.js +3 -3
  146. package/dist/esm/bal-icon.entry.js +1 -1
  147. package/dist/esm/bal-list_8.entry.js +4 -4
  148. package/dist/esm/bal-logo.entry.js +3 -3
  149. package/dist/esm/bal-nav_8.entry.js +6 -6
  150. package/dist/esm/bal-navbar_5.entry.js +3 -3
  151. package/dist/esm/bal-number-input.entry.js +28 -12
  152. package/dist/esm/bal-pagination.entry.js +4 -4
  153. package/dist/esm/bal-popup.entry.js +8 -2
  154. package/dist/esm/bal-progress-bar.entry.js +5 -5
  155. package/dist/esm/bal-segment_2.entry.js +7 -6
  156. package/dist/esm/bal-shape.entry.js +1 -1
  157. package/dist/esm/bal-steps.entry.js +3 -3
  158. package/dist/esm/bal-tab-item_2.entry.js +5 -5
  159. package/dist/esm/baloise-design-system.js +1 -1
  160. package/dist/esm/{breakpoints.decorator-DcuiF9pJ.js → breakpoints.decorator-B5g2J7uh.js} +1 -1
  161. package/dist/esm/{breakpoints.subject-DtMFg17t.js → breakpoints.subject-BUhfnNwa.js} +1 -1
  162. package/dist/esm/{date-DPdjnaiY.js → date-B_izjCbq.js} +1 -64
  163. package/dist/esm/index-BtpJmRB8.js +1 -1
  164. package/dist/esm/index.js +6 -5
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/esm/{tokens.esm-ChltR09F.js → tokens.esm-Dal-cGiQ.js} +1 -1
  167. package/dist/esm/{window-resize.decorator-WtdUPOFx.js → window-resize.decorator-DpazCyu9.js} +1 -1
  168. package/dist/esm/{window-resize.subject-B5jZTc22.js → window-resize.subject-nsxIxT5E.js} +1 -1
  169. package/dist/esm-es5/bal-carousel_2.entry.js +1 -1
  170. package/dist/esm-es5/bal-data_4.entry.js +1 -1
  171. package/dist/esm-es5/bal-date-calendar_2.entry.js +1 -1
  172. package/dist/esm-es5/bal-date.entry.js +1 -1
  173. package/dist/esm-es5/bal-date.i18n-CLs4UZCO.js +1 -0
  174. package/dist/esm-es5/bal-field_5.entry.js +1 -1
  175. package/dist/esm-es5/bal-file-upload.entry.js +1 -1
  176. package/dist/esm-es5/bal-hint_5.entry.js +1 -1
  177. package/dist/esm-es5/bal-icon.entry.js +1 -1
  178. package/dist/esm-es5/bal-list_8.entry.js +1 -1
  179. package/dist/esm-es5/bal-logo.entry.js +1 -1
  180. package/dist/esm-es5/bal-nav_8.entry.js +1 -1
  181. package/dist/esm-es5/bal-navbar_5.entry.js +1 -1
  182. package/dist/esm-es5/bal-number-input.entry.js +1 -1
  183. package/dist/esm-es5/bal-pagination.entry.js +1 -1
  184. package/dist/esm-es5/bal-popup.entry.js +1 -1
  185. package/dist/esm-es5/bal-progress-bar.entry.js +1 -1
  186. package/dist/esm-es5/bal-segment_2.entry.js +1 -1
  187. package/dist/esm-es5/bal-shape.entry.js +1 -1
  188. package/dist/esm-es5/bal-steps.entry.js +1 -1
  189. package/dist/esm-es5/bal-tab-item_2.entry.js +1 -1
  190. package/dist/esm-es5/baloise-design-system.js +1 -1
  191. package/dist/esm-es5/{breakpoints.decorator-DcuiF9pJ.js → breakpoints.decorator-B5g2J7uh.js} +1 -1
  192. package/dist/esm-es5/{breakpoints.subject-DtMFg17t.js → breakpoints.subject-BUhfnNwa.js} +1 -1
  193. package/dist/esm-es5/date-B_izjCbq.js +1 -0
  194. package/dist/esm-es5/index-BtpJmRB8.js +1 -1
  195. package/dist/esm-es5/index.js +1 -1
  196. package/dist/esm-es5/loader.js +1 -1
  197. package/dist/esm-es5/{window-resize.decorator-WtdUPOFx.js → window-resize.decorator-DpazCyu9.js} +1 -1
  198. package/dist/esm-es5/{window-resize.subject-B5jZTc22.js → window-resize.subject-nsxIxT5E.js} +1 -1
  199. package/dist/html.html-data.json +12 -9
  200. package/dist/types/components/bal-field/bal-field-hint/bal-field-hint.d.ts +7 -0
  201. package/dist/types/components/bal-field/bal-field-message/bal-field-message.d.ts +4 -0
  202. package/dist/types/components/bal-input/bal-input.interfaces.d.ts +1 -1
  203. package/dist/types/components/bal-number-input/bal-number-input.d.ts +5 -1
  204. package/dist/types/components/bal-number-input/bal-number-input.utils.d.ts +2 -1
  205. package/dist/types/components/bal-popup/bal-popup.d.ts +1 -0
  206. package/dist/types/components/bal-popup/variants/fullscreen-variant.renderer.d.ts +1 -1
  207. package/dist/types/components/bal-popup/variants/variant.interfaces.d.ts +1 -0
  208. package/dist/types/components.d.ts +30 -0
  209. package/package.json +6 -6
  210. package/dist/baloise-design-system/p-0afcf25d8f.entry.js +0 -1
  211. package/dist/baloise-design-system/p-0f612d8105.system.entry.js +0 -1
  212. package/dist/baloise-design-system/p-2f3ad8c189.entry.js +0 -1
  213. package/dist/baloise-design-system/p-4807818445.entry.js +0 -1
  214. package/dist/baloise-design-system/p-4bfdc5247d.entry.js +0 -1
  215. package/dist/baloise-design-system/p-4d426915e6.entry.js +0 -1
  216. package/dist/baloise-design-system/p-7cb62ca6a6.system.entry.js +0 -1
  217. package/dist/baloise-design-system/p-83ac26dc7f.entry.js +0 -1
  218. package/dist/baloise-design-system/p-86306babc7.system.entry.js +0 -1
  219. package/dist/baloise-design-system/p-88f0b18133.system.entry.js +0 -1
  220. package/dist/baloise-design-system/p-8f77305828.system.entry.js +0 -1
  221. package/dist/baloise-design-system/p-B7YifDeX.js +0 -1
  222. package/dist/baloise-design-system/p-BvXsXhJM.system.js +0 -1
  223. package/dist/baloise-design-system/p-Ch2Qwzxg.system.js +0 -1
  224. package/dist/baloise-design-system/p-Ds9xIIWo.js +0 -1
  225. package/dist/baloise-design-system/p-af26087fec.entry.js +0 -1
  226. package/dist/baloise-design-system/p-b2e5bd0a60.entry.js +0 -1
  227. package/dist/baloise-design-system/p-c72cb42e12.system.entry.js +0 -1
  228. package/dist/baloise-design-system/p-d4733ba7cd.system.entry.js +0 -1
  229. package/dist/baloise-design-system/p-d8462e585c.system.entry.js +0 -1
  230. package/dist/baloise-design-system/p-df3a2e3c86.entry.js +0 -1
  231. package/dist/baloise-design-system/p-dsS1PhhG.system.js +0 -1
  232. package/dist/baloise-design-system/p-e2c4571fb2.system.entry.js +0 -1
  233. package/dist/baloise-design-system/p-e6f77338c1.system.entry.js +0 -1
  234. package/dist/esm-es5/date-DPdjnaiY.js +0 -1
  235. /package/dist/baloise-design-system/{p-ChltR09F.js → p-Dal-cGiQ.js} +0 -0
  236. /package/dist/baloise-design-system/{p-CwtPviPa.system.js → p-meHsyXfE.system.js} +0 -0
  237. /package/dist/esm-es5/{tokens.esm-ChltR09F.js → tokens.esm-Dal-cGiQ.js} +0 -0
@@ -0,0 +1 @@
1
+ import{a as t,L as i,H as a,P as s,I as e,M as o,N as n,O as p}from"./p-BtpJmRB8.js";import{_ as r,a as h}from"./p-dfXERft2.js";import{B as l}from"./p-ByiN-QjD.js";import{s as c}from"./p-WC2U8mYh.js";import{c as d}from"./p-D1VPLQ5z.js";import{b as u}from"./p-CXIZ5E3I.js";class b{showContainerElement(t){t.containerEl&&this.showElement(t.containerEl)}hideContainerElement(t){t.containerEl&&this.hideElement(t.containerEl)}showArrowElement(t,i=t.arrow){i&&t.arrowEl&&this.showElement(t.arrowEl)}hideArrowElement(t){t.arrowEl&&Object.assign(t.arrowEl.style,{left:"",top:"",display:"none",visibility:"hidden"})}showBackdropElement(t,i=t.backdrop){i&&t.backdropEl&&this.showElement(t.backdropEl)}hideBackdropElement(t){t.backdropEl&&this.hideElement(t.backdropEl)}showElement(t){t&&(t.style.setProperty("display","block"),t.style.setProperty("visibility","visible"))}hideElement(t){t&&(t.style.removeProperty("display"),t.style.removeProperty("visibility"))}}class v extends b{constructor(){super(...arguments),this.backdrop=!1,this.offset=0}async present(t){return!!(t.containerEl&&t.trigger&&t.backdropEl)&&(this.backdrop=t.getBooleanValue(t.trigger,"bal-popup-backdrop",t.backdrop),this.offset=t.getValue(t.trigger,"bal-popup-offset",t.offset),t.containerEl.style.setProperty("inset","auto 0px 0px 0px"),t.containerEl.style.setProperty("bottom",`${this.offset}px`),t.backdropEl.style.setProperty("bottom",`${this.offset}px`),this.showBackdropElement(t,this.backdrop),this.showContainerElement(t),!0)}async update(t){return!1}async dismiss(t){return!(!t.containerEl||!t.backdropEl||(t.balWillAnimate.emit(),this.hideBackdropElement(t),this.hideContainerElement(t),t.containerEl.style.removeProperty("inset"),t.containerEl.style.removeProperty("bottom"),t.backdropEl.style.removeProperty("bottom"),0))}}class m extends b{constructor(){super(...arguments),this.offset=0}async present(t){return!(!t.containerEl||!t.trigger||(this.offset=t.getValue(t.trigger,"bal-popup-offset",t.offset),t.containerEl.style.setProperty("inset",`${this.offset}px auto auto 0px`),this.offset>0&&t.containerEl.style.setProperty("box-shadow","inset var(--bal-nav-meta-bar-variant-white-shadow)"),t.innerEl&&t.innerEl.style.setProperty("max-height",`calc(var(--bal-app-height, 100%) - ${this.offset}px)`),this.showBackdropElement(t),this.showContainerElement(t),this.hideArrowElement(t),0))}async update(t){return!1}async dismiss(t){return!!t.containerEl&&(this.hideBackdropElement(t),this.hideContainerElement(t),this.hideArrowElement(t),t.containerEl.style.removeProperty("box-shadow"),t.containerEl.style.removeProperty("inset"),t.innerEl&&t.innerEl.style.removeProperty("max-height"),!0)}}class w extends b{constructor(){super(...arguments),this.placement="bottom",this.offset=0,this.arrow=!1,this.backdrop=!1,this.reference=void 0,this.triggerEl=null}async present(i){const a=await u.load();if(!i.trigger&&t.hasDocument){const t=Array.from(document.querySelectorAll(`[bal-popup="${i.el.id}"]`))[0];i.trigger=t}if(i.trigger&&i.containerEl&&i.arrowEl){if(this.placement=i.getValue(i.trigger,"bal-popup-placement",i.placement),this.arrow=i.getBooleanValue(i.trigger,"bal-popup-arrow",i.arrow),this.backdrop=i.getBooleanValue(i.trigger,"bal-popup-backdrop",i.backdrop),this.reference=i.getValue(i.trigger,"bal-popup-reference",i.reference),this.offset=i.getNumberValue(i.trigger,"bal-popup-offset",i.offset),this.triggerEl=i.trigger,this.reference&&t.hasDocument){const t=document.getElementById(this.reference);this.triggerEl=t||i.trigger}if(this.triggerEl)return this.showContainerElement(i),this.showBackdropElement(i,this.backdrop),this.showArrowElement(i,this.arrow),this.triggerEl.classList.add("bal-popup-variant-popover-trigger"),"bottom-end"===this.placement&&this.triggerEl!==i.trigger&&i.setMinWidth(this.triggerEl.clientWidth),this.cleanup=a.autoUpdate(this.triggerEl,i.containerEl,(()=>{this.update(i)}),{ancestorScroll:!0,ancestorResize:!0,elementResize:!1,layoutShift:!0,animationFrame:!0}),!0}return!1}async update(i){var a,s;if(this.triggerEl&&i.trigger&&i.containerEl&&i.arrowEl){const e=await u.load(),o="bottom-end"===this.placement&&this.triggerEl!==i.trigger,n=null===(a=this.triggerEl)||void 0===a?void 0:a.getBoundingClientRect(),p=null===(s=i.trigger)||void 0===s?void 0:s.getBoundingClientRect();let r=!1;return t.hasWindow&&(r=!!window.frameElement),e.computePosition(this.triggerEl,i.containerEl,{placement:this.placement,middleware:[r?void 0:e.shift(),e.flip(),e.offset(this.arrow?16:this.offset),e.arrow({element:i.arrowEl,padding:4})]}).then((({x:t,y:a,middlewareData:s,placement:e})=>{if(i.containerEl){Object.assign(i.containerEl.style,{left:`${t}px`,top:`${a}px`});const r={top:"bottom",right:"left",bottom:"top",left:"right"}[e.split("-")[0]];if(s.arrow&&i.arrowEl){const e=s.arrow;Object.assign(i.arrowEl.style,o?{right:n.right-p.right-4+p.width/2+"px",left:"",top:null!=a&&null!=e.y?`${e.y}px`:"",bottom:"",[r]:"-4px"}:{left:null!=t&&null!=e.x?`${e.x}px`:"",top:null!=a&&null!=e.y?`${e.y}px`:"",right:"",bottom:"",[r]:"-4px"})}}})),!0}return!1}async dismiss(t){return!!(t.containerEl&&t.arrowEl&&this.triggerEl)&&(this.cleanup&&this.cleanup(),this.triggerEl.classList.remove("bal-popup-variant-popover-trigger"),this.hideBackdropElement(t),this.hideContainerElement(t),this.hideArrowElement(t),!0)}}class g{constructor(t){this.renderer=t}async present(t){t.balWillAnimate.emit();const i=await this.renderer.present(t);return i&&(t.presented=!0,t.balDidAnimate.emit()),i}async update(t){t.balWillAnimate.emit();const i=await this.renderer.update(t);return i&&t.balDidAnimate.emit(),i}async dismiss(t){t.balWillAnimate.emit();const i=await this.renderer.dismiss(t);return i&&(t.presented=!1,t.balDidAnimate.emit()),i}}const f=class{constructor(t){a(this,t),this.balChange=s(this,"balChange"),this.balWillAnimate=s(this,"balWillAnimate"),this.balDidAnimate=s(this,"balDidAnimate"),this.popupId="bal-pu-"+y++,this.isClickedOutsideOnMouseDown=!1,this.isClickedOutsideOnMouseUp=!1,this.popoverVariantRenderer=new g(new w),this.fullscreenVariantRenderer=new g(new m),this.drawerVariantRenderer=new g(new v),this.lastVariant="popover",this.activeClosable=!1,this.activeBackdropDismiss=!1,this.activeVariant="popover",this.minContainerWidth="16.25rem",this.label="",this.variant="popover",this.placement="bottom",this.arrow=!1,this.backdrop=!1,this.offset=0,this.closable=!1,this.backdropDismiss=!1,this.active=!1,this.presented=!1,this.initialActive=this.active,this.demo=!1,this.debouncedGlobalClick=e((t=>this.notifyGlobalClick(t)),10),this.onBackdropClick=t=>!!(this.activeBackdropDismiss&&this.presented&&t&&t.target)&&t.target.classList.contains("bal-popup__backdrop"),this.onCloseClick=()=>{this.activeClosable&&this.dismiss()}}createLogger(t){this.log=t}async variantChanged(t,i){t!==i&&(await this.getVariantRenderer(i).dismiss(this),this.activeVariant!==t&&(this.lastVariant=this.activeVariant,this.activeVariant=t,await this.getVariantRenderer(this.lastVariant).dismiss(this)),this.presented&&await this.getVariantRenderer(t).present(this))}async activeChanged(t,i){t!==i&&t!==this.presented&&(t?this.present():this.dismiss())}contentWidthChanged(t,i){t!==i&&(void 0===t?this.el.style.removeProperty("--bal-popup-variant-popover-max-width"):this.el.style.setProperty("--bal-popup-variant-popover-max-width",`${this.contentWidth}px`))}componentDidLoad(){this.contentWidthChanged(this.contentWidth,0),!0===this.initialActive&&!0!==this.presented&&this.present(),this.demo&&this.present()}async listenOnGlobalClick(i){var a;const s=i.target.closest("[bal-popup]");if(s&&t.hasWindow){const t=(null===(a=s.attributes.getNamedItem("bal-popup"))||void 0===a?void 0:a.nodeValue)||"";this.el.id===t&&this.debouncedGlobalClick(s)}}async listenOnKeyDown(t){this.activeClosable&&this.presented&&d(t)&&(c(t),this.dismiss())}async listenOnMouseDown(t){this.isClickedOutsideOnMouseDown=this.onBackdropClick(t)}async listenOnMouseUp(t){this.isClickedOutsideOnMouseUp=this.onBackdropClick(t)}async listenOnComponentClick(){this.presented&&this.activeBackdropDismiss&&this.isClickedOutsideOnMouseUp&&this.isClickedOutsideOnMouseDown&&await this.dismiss()}async present(){await this.resetAllVariants(),await this._present()&&(this.lastTrigger=this.trigger,this.balChange.emit(this.presented))}async dismiss(){await this.resetAllVariants(),await this._dismiss()&&(this.lastTrigger=this.trigger,this.balChange.emit(this.presented))}async toggle(){return this.presented?this.dismiss():this.present()}async setMinWidth(t){this.containerEl&&(this.containerEl.style.minWidth=`${t}px`,this.minContainerWidth=`${t}px`)}async _emitChange(){this.balChange.emit(this.presented)}async _present(){t.hasDocument&&(this.lastFocus=document.activeElement||void 0),this.lastVariantRenderer&&(await this.lastVariantRenderer.dismiss(this),this.presented=!0),this.lastVariantRenderer=this.getVariantRenderer();const i=await this.lastVariantRenderer.present(this);return this.focusFirstDescendant(),i}async _dismiss(){var t;const i=await this.getVariantRenderer().dismiss(this);return this.lastVariantRenderer=void 0,this.lastFocus&&this.lastFocus.focus&&(null===(t=this.lastFocus)||void 0===t||t.focus({preventScroll:!0})),i}getVariantRenderer(t=this.activeVariant){switch(t){case"fullscreen":return this.fullscreenVariantRenderer;case"drawer":return this.drawerVariantRenderer;default:return this.popoverVariantRenderer}}getValue(t,i,a){const s=t.attributes.getNamedItem(i);return s?s.value:a}getNumberValue(t,i,a){const s=t.attributes.getNamedItem(i);return s&&parseInt(s.value,10)||a}getBooleanValue(t,i,a){const s=t.attributes.getNamedItem(i);return s&&s?""===s.value||"true"===s.value:a}notifyGlobalClick(t){this.trigger=t,this.lastTrigger=void 0===this.lastTrigger?this.trigger:this.lastTrigger,this.activeVariant=this.getValue(t,"bal-popup-variant",this.variant),this.activeClosable=this.getBooleanValue(t,"bal-popup-closable",this.closable),this.activeBackdropDismiss=this.getBooleanValue(t,"bal-popup-backdrop-dismiss",this.backdropDismiss),this.presented&&this.lastTrigger!==this.trigger?(this._present(),this.lastTrigger=this.trigger):this.toggle()}async resetAllVariants(){if(await this.dismissAllOtherPopups(),this.lastVariant!==this.activeVariant){const t=this.getVariantRenderer(this.lastVariant);await t.dismiss(this)}this.lastVariant=this.activeVariant}async dismissAllOtherPopups(){if(t.hasDocument){const t=Array.from(document.getElementsByTagName("bal-popup")).filter((t=>t.id!==this.el.id&&"true"!==t.ariaHidden));for(let i=0;i<t.length;i++){const a=t[i];await a._dismiss(),await a._emitChange()}}}focusFirstDescendant(){const t=this.contentEl;t&&t.focus({preventScroll:!0})}render(){const t=l.block("popup"),i=t.element("container"),a=t.element("arrow"),s=t.element("backdrop"),e=t.element("inner"),p=e.element("head"),r=e.element("content");return o(n,{key:"d00be0d07efee28b0b4a57f137d55179db777224",class:Object.assign({},t.class()),role:"dialog","aria-hidden":`${!0!==this.presented}`,"aria-modal":`${!0===this.presented}`,"aria-presented":`${!0===this.presented}`,"aria-labelledby":`${this.popupId}-heading`},o("div",{key:"551142b7b626ce0bb5c03881b01e34d550f4ac30",class:Object.assign({},s.class()),ref:t=>this.backdropEl=t}),o("div",{key:"3b11edf18c9a36d8e2d4d007cc98195cb5f5433e",class:Object.assign(Object.assign({},i.class()),i.modifier(`variant-${this.activeVariant}`).class()),ref:t=>this.containerEl=t,style:{minWidth:this.minContainerWidth}},o("div",{key:"82464245029a833826b31da622dd5d04c881af08",class:Object.assign({},a.class()),ref:t=>this.arrowEl=t}),o("bal-stack",{key:"f59dd726ee1b127c5506c456b97e74cf4b73f1a6",layout:"vertical",px:"popover"===this.activeVariant?"medium":"none",py:"medium",class:Object.assign({},e.class()),ref:t=>this.innerEl=t},this.label?o("bal-stack",{space:"auto",class:Object.assign({},p.class())},o("bal-heading",{"data-test":"bal-popup-label",level:"span","visual-level":"large",id:`${this.popupId}-heading`},this.label),this.activeClosable?o("bal-close",{"data-test":"bal-popup-close",tabindex:-1,onClick:()=>this.onCloseClick()}):""):"",o("div",{key:"52eaf48bdf014212ae2837122764b938bee9266f",class:Object.assign({},r.class()),ref:t=>this.contentEl=t,"data-test":"bal-popup-content",tabindex:"-1"},o("slot",{key:"a6847866d594209baec0d546373a50e0a4dd97f2"})))))}get el(){return p(this)}static get watchers(){return{variant:["variantChanged"],active:["activeChanged"],contentWidth:["contentWidthChanged"]}}};r([i("bal-popup"),h("design:type",Function),h("design:paramtypes",[Function]),h("design:returntype",void 0)],f.prototype,"createLogger",null);let y=0;f.style=":root{--bal-popup-backdrop-background:rgba(0,7,57,.8);--bal-popup-container-padding-top:0;--bal-popup-container-padding-bottom:0;--bal-popup-container-background:var(--bal-color-white);--bal-popup-variant-popover-max-width:auto;--bal-popup-variant-popover-radius:var(--bal-radius-large);--bal-popup-variant-popover-shadow:var(--bal-shadow-normal);--bal-popup-variant-drawer-radius:var(--bal-radius-large);--bal-popup-arrow-background:var(--bal-color-white)}.bal-popup{position:static;display:inline}.bal-popup__container{background:var(--bal-popup-container-background);display:none;visibility:hidden;padding-top:var(--bal-popup-container-padding-top);padding-bottom:var(--bal-popup-container-padding-bottom);-ms-flex-positive:1;flex-grow:1;margin:0 auto;position:relative;width:auto;z-index:var(--bal-z-index-popup)}.bal-popup__container--variant-popover{border-radius:var(--bal-popup-variant-popover-radius);-webkit-box-shadow:var(--bal-popup-variant-popover-shadow);box-shadow:var(--bal-popup-variant-popover-shadow);width:var(--bal-popup-variant-popover-max-width);position:absolute;top:0;left:0}.bal-popup__container--variant-popover .bal-popup__inner{max-height:calc(var(--bal-app-height, 100%) - 4rem)}.bal-popup__container--variant-fullscreen{position:fixed;margin:0;width:100%;min-width:100%;max-width:100% !important;min-height:var(--bal-app-height, 100%)}.bal-popup__container--variant-fullscreen .bal-popup__inner{padding-left:var(--bal-container-space);padding-right:var(--bal-container-space);max-height:var(--bal-app-height, 100%)}.bal-popup__container--variant-drawer{position:fixed;border-top-left-radius:var(--bal-popup-variant-drawer-radius);border-top-right-radius:var(--bal-popup-variant-drawer-radius);padding-left:var(--bal-container-space);padding-right:var(--bal-container-space);width:100%}.bal-popup__container--variant-drawer .bal-popup__inner{max-height:calc(var(--bal-app-height, 100%) - 4rem)}.bal-popup__inner{overflow-y:auto}.bal-popup__inner__head{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bal-popup__inner__content{width:100%}.bal-popup__arrow{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;width:8px;height:8px;background:var(--bal-popup-arrow-background);-webkit-transform:rotate(45deg);transform:rotate(45deg);display:none;visibility:hidden}.bal-popup__backdrop{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:fixed;bottom:0;left:0;right:0;top:0;background-color:var(--bal-popup-backdrop-background);width:100vw;height:100vh;display:none;visibility:hidden;z-index:calc(var(--bal-z-index-popup) - 1)}.bal-popup-variant-popover-trigger,.bal-popup-permanent-trigger{z-index:calc(var(--bal-z-index-popup) + 1) !important;position:relative !important}";export{f as bal_popup}
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(t,a,i,n){function e(t){return t instanceof i?t:new i((function(a){a(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function o(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):e(t.value).then(s,o)}l((n=n.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,e,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(a){return l([t,a])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(n=1,e&&(r=o[0]&2?e["return"]:o[0]?e["throw"]||((r=e["return"])&&r.call(e),0):e.next)&&!(r=r.call(e,o[1])).done)return r;if(e=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++;e=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=a.call(t,i)}catch(t){o=[6,t];e=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-Bas5fYcv.system.js","./p-Cjiw70Dk.system.js","./p-BbAtjg9Y.system.js","./p-BQFHQM2n.system.js","./p-DACM2A18.system.js","./p-CZL1LuwV.system.js","./p-B8EKDb1f.system.js","./p-B-5g9ywW.system.js","./p-CwtPviPa.system.js"],(function(t){"use strict";var a,i,n,e,r,s,o,l,c,u,b,g;return{setters:[function(t){a=t.H;i=t.P;n=t.f;e=t.M;r=t.N;s=t.O},function(t){o=t._;l=t.a},function(t){c=t.B},function(t){u=t.b},function(t){b=t.L},function(t){g=t.L},null,null,null],execute:function(){var p={de:{left:"Vorherige Seite",right:"Nächste Seite"},en:{left:"Previous Page",right:"Next Page"},fr:{left:"Page précédente",right:"Page suivante"},it:{left:"Pagina precedente",right:"Pagina successiva"},nl:{left:"Vorige pagina",right:"Volgende pagina"},es:{left:"Página anterior",right:"Página siguiente"},pl:{left:"Poprzednia strona",right:"Następna strona"},pt:{left:"Página anterior",right:"Próxima página"},sv:{left:"Föregående sida",right:"Nästa sida"},fi:{left:"Edellinen sivu",right:"Seuraava sivu"}};function d(t,a,i){var n=[];if(t>a||t<0){t=1}if(a<=0){a=10}if(i<=0){i=2}var e=5+i*2;if(a<=e){for(var r=1;r<=a;r++){n.push({type:"page",label:r.toString(),active:r===t})}}else{if(t<=e-2-i){for(var r=1;r<=e-2;r++){n.push({type:"page",label:r.toString(),active:r===t})}n.push({type:"dots",label:"...",active:false});n.push({type:"page",label:a.toString(),active:false})}else if(t>=a-3){n.push({type:"page",label:"1",active:false});n.push({type:"dots",label:"...",active:false});for(var r=a-e+3;r<=a;r++){n.push({type:"page",label:r.toString(),active:r===t})}}else{n.push({type:"page",label:"1",active:false});n.push({type:"dots",label:"...",active:false});var s=Number(t);for(var r=s-i;r<=s+i;r++){n.push({type:"page",label:r.toString(),active:r===t})}n.push({type:"dots",label:"...",active:false});n.push({type:"page",label:a.toString(),active:false})}}return n}var f=":root{--bal-pagination-small-background:var(--bal-color-grey);--bal-pagination-small-radius:var(--bal-radius-normal);--bal-pagination-tabs-background:var(--bal-color-white);--bal-pagination-tabs-shadow:var(--bal-shadow-normal);--bal-pagination-tabs-radius:var(--bal-radius-large);--bal-pagination-dot-radius:var(--bal-radius-rounded);--bal-pagination-dot-background-active:var(--bal-color-primary);--bal-pagination-dot-background-inactive:var(--bal-color-white)}.bal-pagination{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block}.bal-pagination--is-sticky{position:-webkit-sticky;position:sticky;z-index:var(--bal-z-index-sticky)}.bal-pagination__nav{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;text-align:center}.bal-pagination__nav--align-start{-ms-flex-pack:start;justify-content:flex-start}.bal-pagination__nav--align-end{-ms-flex-pack:end;justify-content:flex-end}.bal-pagination__nav--context-small{padding-top:1rem}.bal-pagination__nav__pagination-previous{-ms-flex-order:1;order:1}.bal-pagination__nav__pagination-previous--context-small[disabled] button:hover{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.bal-pagination__nav__pagination-next{-ms-flex-order:3;order:3}.bal-pagination__nav__pagination-next--context-small[disabled] button:hover{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.bal-pagination__nav__pagination-list{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:4px;padding-left:8px;padding-right:8px;-ms-flex-order:2;order:2;width:unset;text-align:center}.bal-pagination__nav__pagination-list>span{font-weight:var(--bal-font-weight-bold)}@media screen and (min-width: 769px),print{.bal-pagination__nav__pagination-list{gap:8px}}@media screen and (min-width: 1024px){.bal-pagination__nav__pagination-list{gap:8px}}.bal-pagination__nav__pagination-list--context-small{gap:8px;max-width:88px;min-width:63px;min-height:1.25rem;margin:0 20px 0 !important;background:var(--bal-pagination-small-background);border-radius:var(--bal-pagination-small-radius)}.bal-pagination__nav__pagination-list--context-tabs{-ms-flex-positive:1;flex-grow:1;padding:8px;background:var(--bal-pagination-tabs-background);-webkit-box-shadow:var(--bal-pagination-tabs-shadow);box-shadow:var(--bal-pagination-tabs-shadow);border-radius:var(--bal-pagination-tabs-radius)}.bal-pagination__nav__pagination-list__dot{cursor:pointer;height:8px;width:8px;gap:30px;border-radius:var(--bal-pagination-dot-radius);display:block}.bal-pagination__nav__pagination-list__dot--active{background-color:var(--bal-pagination-dot-background-active)}.bal-pagination__nav__pagination-list__dot--inactive{background-color:var(--bal-pagination-dot-background-inactive)}.bal-pagination__nav__pagination-list__more{width:2rem}@media screen and (min-width: 769px),print{.bal-pagination__nav__pagination-list__more{width:2rem}}@media screen and (min-width: 1024px){.bal-pagination__nav__pagination-list__more{width:3rem}}.bal-pagination__nav__pagination-list__more>span{display:inline;font-family:var(--bal-text-line-height-title);font-weight:700}.bal-pagination__nav__pagination-list__more--disabled{color:var(--bal-color-text-grey)}.bal-pagination__nav__pagination-list__tab{-ms-flex:1;flex:1}.bal-pagination__nav__pagination-list.is-disabled li{pointer-events:none}.bal-pagination__nav__pagination-list button.is-disabled.is-text{background:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}";var h=t("bal_pagination",function(){function t(t){a(this,t);this.balChangeEventEmitter=i(this,"balChange");this._value=1;this.isMobile=u.isMobile;this.language=n.language;this.align="";this.size="";this.interface="";this.disabled=false;this.value=1;this.totalPages=1;this.pageRange=2;this.sticky=false;this.top=0}t.prototype.valueChanged=function(t){this._value=t};t.prototype.topValueChanged=function(t){if(this.sticky){this.el.style.top="".concat(t,"px")}};t.prototype.componentWillLoad=function(){this._value=this.value;this.topValueChanged(this.top)};t.prototype.breakpointListener=function(t){this.isMobile=t.mobile};t.prototype.next=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this._value<this.totalPages){this._value=this._value+1;this.balChangeEventEmitter.emit(this._value)}return[2]}))}))};t.prototype.previous=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this._value!==1){this._value=this._value-1;this.balChangeEventEmitter.emit(this._value)}return[2]}))}))};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.language=t.language;return[2]}))}))};t.prototype.selectPage=function(t){this._value=t;this.balChangeEventEmitter.emit(this._value)};t.prototype.getItems=function(t){var a=this;if(t===void 0){t=2}var i=d(this._value,this.totalPages,t);return i.map((function(t){if(t.type==="page"){return a.renderPageElement(Number(t.label))}else{return a.renderEllipsisElement()}}))};t.prototype.renderEllipsisElement=function(){var t=c.block("pagination").element("nav").element("pagination-list").element("more");return e("li",{"aria-hidden":"true"},e("div",{class:Object.assign(Object.assign({},t.class()),t.modifier("disabled").class(this.disabled))},e("span",null,"…")))};t.prototype.renderPageElement=function(t){var a=this;var i=this._value===t;var n=c.block("pagination").element("nav").element("pagination-list").element("dot");if(this.interface==="small"){return e("li",null,e("span",{role:"button","aria-current":i?"true":undefined,class:Object.assign(Object.assign(Object.assign({},n.class()),n.modifier("active").class(i)),n.modifier("inactive").class(!i)),"aria-label":t,onClick:function(){return a.selectPage(t)}}))}return e("li",null,e("button",{class:{button:true,"is-square":true,"is-primary":i,"is-text":!i,"is-disabled":this.disabled,"is-small":this.isMobile||this.size==="small"},"aria-current":i?"true":undefined,onClick:function(){return a.selectPage(t)},"data-testid":"bal-pagination-page-number"},t))};t.prototype.render=function(){var t,a;var i=this;var n=this.getItems(1);var s=this.getItems(this.pageRange);var o=c.block("pagination");var l=o.element("nav");var u=l.element("pagination-previous");var b=l.element("pagination-next");var g=l.element("pagination-list");var d=this.interface==="small";var f=d?"is-link":"is-text";var h=d||this.size==="small"||this.isMobile?"is-small":"";var v=d;var _=p[this.language].left;var m=p[this.language].right;var x=this.interface===""||d&&this.totalPages<=5;var y=function(){return e("span",{key:"6851055924de8b04d1c2426851296fc43de9d5a8",class:Object.assign(Object.assign({},g.class()),g.modifier("context-".concat(i.interface)).class())},e("span",{key:"3c7b45ffc1b9844a54b05455444fc27f0947ed23"},i._value)," / "+i.totalPages)};var k=function(){return e("ul",{key:"ac07986c347c110d113f46ceff2cb77ced99c5da",class:Object.assign(Object.assign(Object.assign({},g.class()),g.modifier("context-".concat(i.interface)).class()),{"is-disabled":i.disabled}),"data-testid":"bal-pagination-list"},s)};var w=function(){return e("ul",{key:"9b83d79dd7bb63cfeb8d98ff940f2a91c9db72c8",class:Object.assign(Object.assign(Object.assign({},g.class()),g.modifier("context-".concat(i.interface)).class()),{"is-disabled":i.disabled}),"data-testid":"bal-pagination-list"},n)};return e(r,{key:"c9f4756500a4f05b3d4756c0c568d6e7d930292c",class:Object.assign(Object.assign({},o.class()),o.modifier("is-sticky").class(this.sticky))},e("nav",{key:"463f770907d3b73651eb525c951870d53afb3147",class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("context-".concat(this.interface)).class(this.interface!=="")),l.modifier("align-".concat(this.align)).class(this.align!=="")),role:"navigation","aria-label":"pagination"},!this.disabled?e("button",{class:Object.assign(Object.assign((t={button:true,"is-square":true,"is-flat":v},t[f]=true,t[h]=true,t),u.class()),u.modifier("context-".concat(this.interface)).class()),disabled:this._value<2,onClick:function(){return i.previous()},"data-testid":"bal-pagination-controls-left",title:_},e("bal-icon",{name:"nav-go-left",size:"small"})):"",!this.disabled?e("button",{class:Object.assign(Object.assign((a={button:true,"is-square":true,"is-flat":v},a[f]=true,a[h]=true,a),b.class()),b.modifier("context-".concat(this.interface)).class()),disabled:this._value===this.totalPages,onClick:function(){return i.next()},"data-testid":"bal-pagination-controls-right",title:m},e("bal-icon",{name:"nav-go-right",size:"small"})):"",x&&this.isMobile?e(w,null):"",x&&!this.isMobile?e(k,null):"",!x?e(y,null):""))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"],top:["topValueChanged"]}},enumerable:false,configurable:true});return t}());o([b(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],h.prototype,"breakpointListener",null);o([g(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],h.prototype,"configChanged",null);h.style=f}}}));
1
+ var __awaiter=this&&this.__awaiter||function(t,a,i,n){function e(t){return t instanceof i?t:new i((function(a){a(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function o(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):e(t.value).then(s,o)}l((n=n.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,e,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(a){return l([t,a])}}function l(o){if(n)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(n=1,e&&(r=o[0]&2?e["return"]:o[0]?e["throw"]||((r=e["return"])&&r.call(e),0):e.next)&&!(r=r.call(e,o[1])).done)return r;if(e=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++;e=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=a.call(t,i)}catch(t){o=[6,t];e=0}finally{n=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-Bas5fYcv.system.js","./p-Cjiw70Dk.system.js","./p-BbAtjg9Y.system.js","./p-K4LP7N6U.system.js","./p-DGPZrO0x.system.js","./p-CZL1LuwV.system.js","./p-B8EKDb1f.system.js","./p-B-5g9ywW.system.js","./p-meHsyXfE.system.js"],(function(t){"use strict";var a,i,n,e,r,s,o,l,c,u,b,d;return{setters:[function(t){a=t.H;i=t.P;n=t.f;e=t.M;r=t.N;s=t.O},function(t){o=t._;l=t.a},function(t){c=t.B},function(t){u=t.b},function(t){b=t.L},function(t){d=t.L},null,null,null],execute:function(){var g={de:{left:"Vorherige Seite",right:"Nächste Seite"},en:{left:"Previous Page",right:"Next Page"},fr:{left:"Page précédente",right:"Page suivante"},it:{left:"Pagina precedente",right:"Pagina successiva"},nl:{left:"Vorige pagina",right:"Volgende pagina"},es:{left:"Página anterior",right:"Página siguiente"},pl:{left:"Poprzednia strona",right:"Następna strona"},pt:{left:"Página anterior",right:"Próxima página"},sv:{left:"Föregående sida",right:"Nästa sida"},fi:{left:"Edellinen sivu",right:"Seuraava sivu"}};function p(t,a,i){var n=[];if(t>a||t<0){t=1}if(a<=0){a=10}if(i<=0){i=2}var e=5+i*2;if(a<=e){for(var r=1;r<=a;r++){n.push({type:"page",label:r.toString(),active:r===t})}}else{if(t<=e-2-i){for(var r=1;r<=e-2;r++){n.push({type:"page",label:r.toString(),active:r===t})}n.push({type:"dots",label:"...",active:false});n.push({type:"page",label:a.toString(),active:false})}else if(t>=a-3){n.push({type:"page",label:"1",active:false});n.push({type:"dots",label:"...",active:false});for(var r=a-e+3;r<=a;r++){n.push({type:"page",label:r.toString(),active:r===t})}}else{n.push({type:"page",label:"1",active:false});n.push({type:"dots",label:"...",active:false});var s=Number(t);for(var r=s-i;r<=s+i;r++){n.push({type:"page",label:r.toString(),active:r===t})}n.push({type:"dots",label:"...",active:false});n.push({type:"page",label:a.toString(),active:false})}}return n}var f=":root{--bal-pagination-small-background:var(--bal-color-grey);--bal-pagination-small-radius:var(--bal-radius-normal);--bal-pagination-tabs-background:var(--bal-color-white);--bal-pagination-tabs-shadow:var(--bal-shadow-normal);--bal-pagination-tabs-radius:var(--bal-radius-large);--bal-pagination-dot-radius:var(--bal-radius-rounded);--bal-pagination-dot-background-active:var(--bal-color-primary);--bal-pagination-dot-background-inactive:var(--bal-color-white)}.bal-pagination{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block}.bal-pagination--is-sticky{position:-webkit-sticky;position:sticky;z-index:var(--bal-z-index-sticky)}.bal-pagination__nav{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;text-align:center}.bal-pagination__nav--align-start{-ms-flex-pack:start;justify-content:flex-start}.bal-pagination__nav--align-end{-ms-flex-pack:end;justify-content:flex-end}.bal-pagination__nav--context-small{padding-top:1rem}.bal-pagination__nav__pagination-previous{-ms-flex-order:1;order:1}.bal-pagination__nav__pagination-previous--context-small[disabled] button:hover{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.bal-pagination__nav__pagination-next{-ms-flex-order:3;order:3}.bal-pagination__nav__pagination-next--context-small[disabled] button:hover{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.bal-pagination__nav__pagination-list{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:4px;padding-left:8px;padding-right:8px;-ms-flex-order:2;order:2;width:unset;text-align:center}.bal-pagination__nav__pagination-list>span{font-weight:var(--bal-font-weight-bold)}@media screen and (min-width: 769px),print{.bal-pagination__nav__pagination-list{gap:8px}}@media screen and (min-width: 1024px){.bal-pagination__nav__pagination-list{gap:8px}}.bal-pagination__nav__pagination-list--context-small{gap:8px;max-width:88px;min-width:63px;min-height:1.25rem;margin:0 20px 0 !important;background:var(--bal-pagination-small-background);border-radius:var(--bal-pagination-small-radius)}.bal-pagination__nav__pagination-list--context-tabs{-ms-flex-positive:1;flex-grow:1;padding:8px;background:var(--bal-pagination-tabs-background);-webkit-box-shadow:var(--bal-pagination-tabs-shadow);box-shadow:var(--bal-pagination-tabs-shadow);border-radius:var(--bal-pagination-tabs-radius)}.bal-pagination__nav__pagination-list__dot{cursor:pointer;height:8px;width:8px;gap:30px;border-radius:var(--bal-pagination-dot-radius);display:block}.bal-pagination__nav__pagination-list__dot--active{background-color:var(--bal-pagination-dot-background-active)}.bal-pagination__nav__pagination-list__dot--inactive{background-color:var(--bal-pagination-dot-background-inactive)}.bal-pagination__nav__pagination-list__more{width:2rem}@media screen and (min-width: 769px),print{.bal-pagination__nav__pagination-list__more{width:2rem}}@media screen and (min-width: 1024px){.bal-pagination__nav__pagination-list__more{width:3rem}}.bal-pagination__nav__pagination-list__more>span{display:inline;font-family:var(--bal-text-line-height-title);font-weight:700}.bal-pagination__nav__pagination-list__more--disabled{color:var(--bal-color-text-grey)}.bal-pagination__nav__pagination-list__tab{-ms-flex:1;flex:1}.bal-pagination__nav__pagination-list.is-disabled li{pointer-events:none}.bal-pagination__nav__pagination-list button.is-disabled.is-text{background:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}";var h=t("bal_pagination",function(){function t(t){a(this,t);this.balChangeEventEmitter=i(this,"balChange");this._value=1;this.isMobile=u.isMobile;this.language=n.language;this.align="";this.size="";this.interface="";this.disabled=false;this.value=1;this.totalPages=1;this.pageRange=2;this.sticky=false;this.top=0}t.prototype.valueChanged=function(t){this._value=t};t.prototype.topValueChanged=function(t){if(this.sticky){this.el.style.top="".concat(t,"px")}};t.prototype.componentWillLoad=function(){this._value=this.value;this.topValueChanged(this.top)};t.prototype.breakpointListener=function(t){this.isMobile=t.mobile};t.prototype.next=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this._value<this.totalPages){this._value=this._value+1;this.balChangeEventEmitter.emit(this._value)}return[2]}))}))};t.prototype.previous=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this._value!==1){this._value=this._value-1;this.balChangeEventEmitter.emit(this._value)}return[2]}))}))};t.prototype.configChanged=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.language=t.language;return[2]}))}))};t.prototype.selectPage=function(t){this._value=t;this.balChangeEventEmitter.emit(this._value)};t.prototype.getItems=function(t){var a=this;if(t===void 0){t=2}var i=p(this._value,this.totalPages,t);return i.map((function(t){if(t.type==="page"){return a.renderPageElement(Number(t.label))}else{return a.renderEllipsisElement()}}))};t.prototype.renderEllipsisElement=function(){var t=c.block("pagination").element("nav").element("pagination-list").element("more");return e("li",{"aria-hidden":"true"},e("div",{class:Object.assign(Object.assign({},t.class()),t.modifier("disabled").class(this.disabled))},e("span",null,"…")))};t.prototype.renderPageElement=function(t){var a=this;var i=this._value===t;var n=c.block("pagination").element("nav").element("pagination-list").element("dot");if(this.interface==="small"){return e("li",null,e("span",{role:"button","aria-current":i?"true":undefined,class:Object.assign(Object.assign(Object.assign({},n.class()),n.modifier("active").class(i)),n.modifier("inactive").class(!i)),"aria-label":t,onClick:function(){return a.selectPage(t)}}))}return e("li",null,e("button",{class:{button:true,"is-square":true,"is-primary":i,"is-text":!i,"is-disabled":this.disabled,"is-small":this.isMobile||this.size==="small"},"aria-current":i?"true":undefined,onClick:function(){return a.selectPage(t)},"data-testid":"bal-pagination-page-number"},t))};t.prototype.render=function(){var t,a;var i=this;var n=this.getItems(1);var s=this.getItems(this.pageRange);var o=c.block("pagination");var l=o.element("nav");var u=l.element("pagination-previous");var b=l.element("pagination-next");var d=l.element("pagination-list");var p=this.interface==="small";var f=p?"is-link":"is-text";var h=p||this.size==="small"||this.isMobile?"is-small":"";var v=p;var _=g[this.language].left;var m=g[this.language].right;var x=this.interface===""||p&&this.totalPages<=5;var y=function(){return e("span",{key:"6851055924de8b04d1c2426851296fc43de9d5a8",class:Object.assign(Object.assign({},d.class()),d.modifier("context-".concat(i.interface)).class())},e("span",{key:"3c7b45ffc1b9844a54b05455444fc27f0947ed23"},i._value)," / "+i.totalPages)};var k=function(){return e("ul",{key:"ac07986c347c110d113f46ceff2cb77ced99c5da",class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("context-".concat(i.interface)).class()),{"is-disabled":i.disabled}),"data-testid":"bal-pagination-list"},s)};var w=function(){return e("ul",{key:"9b83d79dd7bb63cfeb8d98ff940f2a91c9db72c8",class:Object.assign(Object.assign(Object.assign({},d.class()),d.modifier("context-".concat(i.interface)).class()),{"is-disabled":i.disabled}),"data-testid":"bal-pagination-list"},n)};return e(r,{key:"c9f4756500a4f05b3d4756c0c568d6e7d930292c",class:Object.assign(Object.assign({},o.class()),o.modifier("is-sticky").class(this.sticky))},e("nav",{key:"463f770907d3b73651eb525c951870d53afb3147",class:Object.assign(Object.assign(Object.assign({},l.class()),l.modifier("context-".concat(this.interface)).class(this.interface!=="")),l.modifier("align-".concat(this.align)).class(this.align!=="")),role:"navigation","aria-label":"pagination"},!this.disabled?e("button",{class:Object.assign(Object.assign((t={button:true,"is-square":true,"is-disabled":this._value<2,"is-flat":v},t[f]=true,t[h]=true,t),u.class()),u.modifier("context-".concat(this.interface)).class()),disabled:this._value<2,onClick:function(){return i.previous()},"data-testid":"bal-pagination-controls-left",title:_},e("bal-icon",{name:"nav-go-left",size:"small",disabled:this._value<2})):"",!this.disabled?e("button",{class:Object.assign(Object.assign((a={button:true,"is-square":true,"is-disabled":this._value===this.totalPages,"is-flat":v},a[f]=true,a[h]=true,a),b.class()),b.modifier("context-".concat(this.interface)).class()),disabled:this._value===this.totalPages,onClick:function(){return i.next()},"data-testid":"bal-pagination-controls-right",title:m},e("bal-icon",{name:"nav-go-right",size:"small",disabled:this._value===this.totalPages})):"",x&&this.isMobile?e(w,null):"",x&&!this.isMobile?e(k,null):"",!x?e(y,null):""))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueChanged"],top:["topValueChanged"]}},enumerable:false,configurable:true});return t}());o([b(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",void 0)],h.prototype,"breakpointListener",null);o([d(),l("design:type",Function),l("design:paramtypes",[Object]),l("design:returntype",Promise)],h.prototype,"configChanged",null);h.style=f}}}));
@@ -1 +1 @@
1
- var __extends=this&&this.__extends||function(){var n=function(t,i){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))n[i]=t[i]};return n(t,i)};return function(t,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);function s(){this.constructor=t}t.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();System.register(["./p-BQFHQM2n.system.js","./p-B-5g9ywW.system.js","./p-Bas5fYcv.system.js"],(function(n){"use strict";var t,i,s;return{setters:[function(n){t=n.B},function(n){i=n.a},function(n){s=n.a}],execute:function(){var e=function(n){__extends(i,n);function i(){var i=n.call(this,(function(n,t){n.windowResizeListener()}))||this;i.listener=new t;return i}i.prototype.attach=function(t){var i=this;n.prototype.attach.call(this,t);if(s.hasWindow){this.listener.connect(window);this.listener.add((function(){return n.prototype.notify.call(i)}))}};i.prototype.detach=function(){n.prototype.detach.call(this);this.listener.disconnect()};return i}(i);n("B",e);new e}}}));
1
+ var __extends=this&&this.__extends||function(){var n=function(t,i){n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,t){n.__proto__=t}||function(n,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))n[i]=t[i]};return n(t,i)};return function(t,i){if(typeof i!=="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(t,i);function s(){this.constructor=t}t.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();System.register(["./p-K4LP7N6U.system.js","./p-B-5g9ywW.system.js","./p-Bas5fYcv.system.js"],(function(n){"use strict";var t,i,s;return{setters:[function(n){t=n.B},function(n){i=n.a},function(n){s=n.a}],execute:function(){var e=function(n){__extends(i,n);function i(){var i=n.call(this,(function(n,t){n.windowResizeListener()}))||this;i.listener=new t;return i}i.prototype.attach=function(t){var i=this;n.prototype.attach.call(this,t);if(s.hasWindow){this.listener.connect(window);this.listener.add((function(){return n.prototype.notify.call(i)}))}};i.prototype.detach=function(){n.prototype.detach.call(this);this.listener.disconnect()};return i}(i);n("B",e);new e}}}));
@@ -1 +1 @@
1
- import{a as t,I as s,R as i,S as e}from"./p-BtpJmRB8.js";import{b as h}from"./p-Bcq1Mq3d.js";import{L as r,S as n}from"./p-Cdq4-OQc.js";import{j as o,k as c,l as u,m as a,n as l}from"./p-ChltR09F.js";class d{constructor(s={}){this.previousWidth=t.window.width,this.previousHeight=t.window.height,this.previousIsLandscape=this.isLandscape,this.options={onlyListenToWidthChanges:!1},this.options=Object.assign(Object.assign({},this.options),s)}async hasResized(){if(h.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape)return this.resetPreviousValues(),!0}else if(this.options.onlyListenToWidthChanges){if(!this.sameWidth)return this.resetPreviousValues(),!0}else if(!this.sameWidth||!this.sameHeight)return this.resetPreviousValues(),!0;return!1}get isLandscape(){return t.window.width>t.window.height}get sameWidth(){return this.previousWidth===t.window.width}get sameHeight(){return this.previousHeight===t.window.height}resetPreviousValues(){this.previousWidth=t.window.width,this.previousHeight=t.window.height,this.previousIsLandscape=this.isLandscape}}class p extends r{constructor(){super(...arguments),this.resizeHandler=new d({onlyListenToWidthChanges:!0}),this.debouncedNotify=s((()=>this.notify()),100),this.notify=async()=>{await this.resizeHandler.hasResized()&&super.notify(void 0)}}connect(t){super.connect(t),this.el&&i(this.el,"resize",this.debouncedNotify,{passive:!0})}disconnect(){super.disconnect(),this.el&&e(this.el,"resize",this.debouncedNotify)}}const f=t=>parseInt(t.slice(0,-2),10),g=f(a),b=f(l),m=f(u),w=f(c),j=f(o),D=t=>t.innerWidth<g,k=t=>{const s=t.innerWidth;return s>=g&&s<b},O=t=>D(t)||k(t),v={mobile:D,tablet:k,touch:O,desktop:t=>!O(t),highDefinition:t=>{const s=t.innerWidth;return s>=m&&s<w},widescreen:t=>{const s=t.innerWidth;return s>=w&&s<j},fullhd:t=>t.innerWidth>=j};class q{constructor(){this.breakpoints=[],t.hasWindow&&(this.win=window,this.win.BaloiseDesignSystem=this.win.BaloiseDesignSystem||{},this.detect())}get isMobile(){return this.includes("mobile")}get isTablet(){return this.includes("tablet")}get isTouch(){return this.includes("touch")}get isDesktop(){return this.includes("desktop")}get isHighDefinition(){return this.includes("highDefinition")}get isWidescreen(){return this.includes("widescreen")}get isFullHD(){return this.includes("fullhd")}includes(t){var s;return this.detect(),!!(null===(s=this.breakpoints)||void 0===s?void 0:s.includes(t))}detect(){return this.win&&(this.breakpoints=Object.keys(v).filter((t=>v[t](this.win))),this.win.BaloiseDesignSystem.breakpoints=this.breakpoints,this.win.BaloiseDesignSystem.platforms=this.breakpoints),this.breakpoints}toObject(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),highDefinition:this.breakpoints.includes("highDefinition"),widescreen:this.breakpoints.includes("widescreen"),fullhd:this.breakpoints.includes("fullhd")}}}const y=new q,B={mobile:!1,tablet:!1,touch:!1,desktop:!1,highDefinition:!1,widescreen:!1,fullhd:!1};class C extends n{constructor(){super((t=>t.breakpointListener(this.state))),this.state=B,this.listener=new p,this.debouncedNotify=s((()=>this.notify()),50),this.listener.connect(),this.listener.add((()=>{y.detect();const t=y.toObject();this.isEqual(t)||(this.state=t,this.debouncedNotify())}))}attach(t){super.attach(t),y.detect();const s=y.toObject();this.isEqual(s)||(this.state=s,this.debouncedNotify())}isEqual(t){return JSON.stringify(this.state)===JSON.stringify(t)}}const L=new C;export{p as B,L as a,y as b,C as c,q as d}
1
+ import{a as t,I as s,R as i,S as e}from"./p-BtpJmRB8.js";import{b as h}from"./p-Bcq1Mq3d.js";import{L as r,S as n}from"./p-Cdq4-OQc.js";import{j as o,k as c,l as a,m as u,n as l}from"./p-Dal-cGiQ.js";class d{constructor(s={}){this.previousWidth=t.window.width,this.previousHeight=t.window.height,this.previousIsLandscape=this.isLandscape,this.options={onlyListenToWidthChanges:!1},this.options=Object.assign(Object.assign({},this.options),s)}async hasResized(){if(h.hasTouchScreen){if(!this.sameWidth||this.previousIsLandscape!==this.isLandscape)return this.resetPreviousValues(),!0}else if(this.options.onlyListenToWidthChanges){if(!this.sameWidth)return this.resetPreviousValues(),!0}else if(!this.sameWidth||!this.sameHeight)return this.resetPreviousValues(),!0;return!1}get isLandscape(){return t.window.width>t.window.height}get sameWidth(){return this.previousWidth===t.window.width}get sameHeight(){return this.previousHeight===t.window.height}resetPreviousValues(){this.previousWidth=t.window.width,this.previousHeight=t.window.height,this.previousIsLandscape=this.isLandscape}}class p extends r{constructor(){super(...arguments),this.resizeHandler=new d({onlyListenToWidthChanges:!0}),this.debouncedNotify=s((()=>this.notify()),100),this.notify=async()=>{await this.resizeHandler.hasResized()&&super.notify(void 0)}}connect(t){super.connect(t),this.el&&i(this.el,"resize",this.debouncedNotify,{passive:!0})}disconnect(){super.disconnect(),this.el&&e(this.el,"resize",this.debouncedNotify)}}const f=t=>parseInt(t.slice(0,-2),10),g=f(u),b=f(l),m=f(a),w=f(c),j=f(o),D=t=>t.innerWidth<g,k=t=>{const s=t.innerWidth;return s>=g&&s<b},O=t=>D(t)||k(t),v={mobile:D,tablet:k,touch:O,desktop:t=>!O(t),highDefinition:t=>{const s=t.innerWidth;return s>=m&&s<w},widescreen:t=>{const s=t.innerWidth;return s>=w&&s<j},fullhd:t=>t.innerWidth>=j};class q{constructor(){this.breakpoints=[],t.hasWindow&&(this.win=window,this.win.BaloiseDesignSystem=this.win.BaloiseDesignSystem||{},this.detect())}get isMobile(){return this.includes("mobile")}get isTablet(){return this.includes("tablet")}get isTouch(){return this.includes("touch")}get isDesktop(){return this.includes("desktop")}get isHighDefinition(){return this.includes("highDefinition")}get isWidescreen(){return this.includes("widescreen")}get isFullHD(){return this.includes("fullhd")}includes(t){var s;return this.detect(),!!(null===(s=this.breakpoints)||void 0===s?void 0:s.includes(t))}detect(){return this.win&&(this.breakpoints=Object.keys(v).filter((t=>v[t](this.win))),this.win.BaloiseDesignSystem.breakpoints=this.breakpoints,this.win.BaloiseDesignSystem.platforms=this.breakpoints),this.breakpoints}toObject(){return{mobile:this.breakpoints.includes("mobile"),tablet:this.breakpoints.includes("tablet"),touch:this.breakpoints.includes("touch"),desktop:this.breakpoints.includes("desktop"),highDefinition:this.breakpoints.includes("highDefinition"),widescreen:this.breakpoints.includes("widescreen"),fullhd:this.breakpoints.includes("fullhd")}}}const y=new q,B={mobile:!1,tablet:!1,touch:!1,desktop:!1,highDefinition:!1,widescreen:!1,fullhd:!1};class L extends n{constructor(){super((t=>t.breakpointListener(this.state))),this.state=B,this.listener=new p,this.debouncedNotify=s((()=>this.notify()),50),this.listener.connect(),this.listener.add((()=>{y.detect();const t=y.toObject();this.isEqual(t)||(this.state=t,this.debouncedNotify())}))}attach(t){super.attach(t),y.detect();const s=y.toObject();this.isEqual(s)||(this.state=s,this.debouncedNotify())}isEqual(t){return JSON.stringify(this.state)===JSON.stringify(t)}}const S=new L;export{p as B,S as a,y as b,L as c,q as d}
@@ -0,0 +1 @@
1
+ import{a as n}from"./p-BXW6ULlI.js";function t(){return function(t){const{connectedCallback:c,disconnectedCallback:i}=t;t.connectedCallback=function(){return n.attach(this),c&&c.call(this)},t.disconnectedCallback=function(){return n.detach(this),i&&i.call(this)}}}export{t as L}
@@ -1,2 +1,2 @@
1
- var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function o(r){try{f(t.next(r))}catch(r){a(r)}}function u(r){try{f(t["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,u)}f((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(r){return function(e){return f([r,e])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;r("L",d);var t="baloise-design-system";var i={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var a=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];var o=function(){function r(){}Object.defineProperty(r.prototype,"width",{get:function(){if(f.hasWindow){return window.innerWidth}return 0},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"height",{get:function(){if(f.hasWindow){return window.innerHeight}return 0},enumerable:false,configurable:true});return r}();var u=function(){function r(){this.window=new o}Object.defineProperty(r.prototype,"isSafari",{get:function(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasWindow",{get:function(){return typeof window!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasNavigator",{get:function(){return typeof navigator!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasDocument",{get:function(){return typeof document!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"userAgent",{get:function(){var r;if(this.hasWindow&&this.hasNavigator){return(r=navigator.userAgent)!==null&&r!==void 0?r:""}return""},enumerable:false,configurable:true});return r}();var f=r("a",new u);var l="baloise-animated";var s={components:[],event:false,lifecycle:false,render:false,custom:false};var v=function(){var r=s;if(f.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger){r=window.BaloiseDesignSystem.config.logger}return r};var c=function(r){var e=function(e,n){var t=[];for(var i=2;i<arguments.length;i++){t[i-2]=arguments[i]}var a=v();if(a.components.includes(r)&&a[e]){console.log.apply(console,__spreadArray([n],t,false))}};return{custom:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["custom"," ➡️ [".concat(r,"] - ").concat(n)],t,false))},lifecycle:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["lifecycle","".concat(n==="connectedCallback"?"🟢":n==="disconnectedCallback"?"🔴":n==="componentDidLoad"?"🏁":" ➡️"," [").concat(r,"] - (").concat(n,")")],t,false))},event:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["event","🔥 [".concat(r,"] - (").concat(n,")")],t,false))},render:function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}return e.apply(void 0,__spreadArray(["render","🖌️ [".concat(r,"] - (render)")],n,false))}}};function d(r){if(r===void 0){r="unknown"}return function(e,n,t){var i=e.connectedCallback,a=e.disconnectedCallback,o=e.render,u=e.componentDidLoad,f=e.createLogger;var l=c(r);e.connectedCallback=function(){var r=this;l.lifecycle("connectedCallback",this);var e=Object.keys(this).filter((function(r){return r.startsWith("bal")})).filter((function(e){return typeof r[e]==="object"}));var n=function(n){var i=e[n];var a=t[i];t[i]={emit:function(){var e;var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}l.event.apply(l,__spreadArray([i,r],n,false));return(e=a.emit).call.apply(e,__spreadArray([r],n,false))}}};var t=this;for(var a=0;a<e.length;a++){n(a)}f.call(this,l.custom);return i&&i.call(this)};e.disconnectedCallback=function(){l.lifecycle("disconnectedCallback",this);return a&&a.call(this)};e.componentDidLoad=function(){l.lifecycle("componentDidLoad",this);return u&&u.call(this)};e.render=function(){l.render(this);return o.call(this)}}}var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';var b='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>';var C='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var w='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';var p='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>';var g='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>';var y='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>';var _='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var L='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var j='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var x='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var k='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>';var O='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>';var A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>';var H='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>';var M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>';var S='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>';var I='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>';var Z='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>';var V='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>';var $='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z" clip-rule="evenodd"/></svg>';var B='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>';var T='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var N='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var E='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var P='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var D={balIconClose:$,balIconInfoCircle:M,balIconPlus:y,balIconMinus:k,balIconEdit:I,balIconTrash:m,balIconNavGoLeft:j,balIconNavGoRight:L,balIconNavGoDown:x,balIconNavGoUp:_,balIconCheck:B,balIconDate:V,balIconDocument:Z,balIconUpload:p,balIconMenuBars:O,balIconFacebook:S,balIconInstagram:H,balIconLinkedin:A,balIconTwitter:g,balIconX:C,balIconXing:b,balIconYoutube:h,balIconWeb:w,balIconCaretDown:P,balIconCaretLeft:E,balIconCaretRight:N,balIconCaretUp:T};var R=r("f",{region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:D,fallbackLanguage:"de",logger:s,animated:true,httpFormSubmit:true,_generateHydrateForCustomElementsOutput:false});var F=r("U","".concat(R.language,"-").concat(R.region));var U=function(){function r(){this._componentObservers=[];this._observers=[];this._config=R}Object.defineProperty(r.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"region",{get:function(){return this._config.region},set:function(r){if(r!==this._config.region){this._config.region=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"language",{get:function(){return this._config.language},set:function(r){if(r!==this._config.language){if(this._config.allowedLanguages.includes(r)){this._config.language=r}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(r){if(r!==this._config.allowedLanguages){this._config.allowedLanguages=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"icons",{get:function(){return this._config.icons},set:function(r){this._config.icons=Object.assign(Object.assign({},this._config.icons),r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"logger",{get:function(){return this._config.logger},set:function(r){this._config.logger=Object.assign({},r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"animated",{get:function(){return this._config.animated},set:function(r){this._config.animated=r;this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(r){this._config.httpFormSubmit=r;this._notify()},enumerable:false,configurable:true});r.prototype.attach=function(r){var e=this._observers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._observers.push(r);r.configChanged(this._config)};r.prototype.detach=function(r){var e=this._observers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(e,1)};r.prototype.attachComponent=function(r){var e=this._componentObservers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(r);r.configChanged(this._config)};r.prototype.detachComponent=function(r){var e=this._componentObservers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(e,1)};r.prototype.toString=function(){return JSON.stringify(this._config)};r.prototype.reset=function(r){this._config=Object.assign(Object.assign(Object.assign({},this._config),r),{icons:Object.assign(Object.assign({},this._config.icons),r.icons)});this._notify(false)};r.prototype._notify=function(r){if(r===void 0){r=true}for(var e=0,n=this._componentObservers;e<n.length;e++){var t=n[e];t.configChanged(this._config)}if(r){for(var i=0,a=this._observers;i<a.length;i++){var t=a[i];t.configChanged(this._config)}}};return r}();var z=new U;var G=function(r){try{var e=JSON.parse(r.localStorage.getItem(l));if(e!==null){return{animated:e}}return{}}catch(r){return{}}};var W=r("i",(function(r,e){if(r===void 0){r={}}if(e===void 0){e={}}if(Object.keys(e).length===0&&f.hasWindow){e=window}e.BaloiseDesignSystem=e.BaloiseDesignSystem||{};z.reset(Object.assign(Object.assign(Object.assign({},G(e)),r),{icons:Object.assign({},r.icons)}));e.BaloiseDesignSystem.config=z}));var q=r("o",(function(r){J({configChanged:function(e){r(e)}})}));var Y=r("n",(function(){if(!f.hasWindow){return}var r=window;return r&&r.BaloiseDesignSystem&&r.BaloiseDesignSystem.config}));var J=r("e",(function(r){var e=Y();if(e){e.attach(r)}}));var X=r("h",(function(r){var e=Y();if(e){e.detach(r)}}));var K=r("_",(function(r){var e=Y();if(e){e.attachComponent(r)}}));var Q=r("$",(function(r){var e=Y();if(e){e.detachComponent(r)}}));var rr=r("l",(function(r){var e=Y();if(e){e.language=r}}));var er=r("m",(function(r){var e=Y();if(e){e.region=r}}));var nr=r("u",(function(r){var e=Y();if(e){e.allowedLanguages=r}}));var tr=r("k",(function(r){var e=Y();if(e){e.icons=Object.assign(Object.assign({},e.icons),r)}}));var ir=r("j",(function(r){var e=Y();if(e){e.animated=r}}));var ar=function(r,e){if(e===void 0){e=3e3}var n=false;if(!f.isSafari&&f.hasWindow&&"PerformanceObserver"in window){var t=new PerformanceObserver((function(e){var i=e.getEntries();var a=i[i.length-1];if(a){t.disconnect();n=true;ur((function(){return r()}))}}));t.observe({type:"largest-contentful-paint",buffered:true});setTimeout((function(){if(!n){t.disconnect();r()}}),e)}else{return setTimeout(r,32)}};var or=r("K",(function(r,e){if(e===void 0){e=32}var n=false;var t=function(){if(!n){n=true;r()}};if(f.hasWindow){var i=setTimeout(t,e);window.addEventListener("load",(function(){clearTimeout(i);t()}))}else{setTimeout(t,32)}}));var ur=r("J",(function(r,e){if(e===void 0){e=5e3}if(f.hasWindow&&"requestIdleCallback"in window){window.requestIdleCallback(r,{timeout:e})}else{setTimeout(r,32)}}));var fr=r("w",(function(r){if(r===void 0){r=0}return new Promise((function(e){setTimeout((function(){return e()}),r)}))}));var lr=r("T",(function(r,e){var n=r._original||r;return{_original:r,emit:sr(n.emit.bind(n),e)}}));var sr=r("I",(function(r,e){if(e===void 0){e=0}var n;return function(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}clearTimeout(n);n=setTimeout.apply(void 0,__spreadArray([r,e],t,false))}}));var vr=r("Z",(function(r,e){return r&&r.tagName&&r.tagName===e.toUpperCase()}));var cr=r("t",(function(r,e){var n=e.parentNode;while(n!=null){if(n==r){return true}n=n.parentNode}return false}));var dr=r("X",(function(r,e){var n=e.parentNode;while(n!=null){if(n.tagName===r.toUpperCase()){return true}n=n.parentNode}return false}));var hr=r("c",(function(r){return r.querySelector("bal-app")||r.body}));var br=r("d",(function(r,e){if(r.componentOnReady!==null&&r.componentOnReady!==undefined){r.componentOnReady().then((function(r){return e(r)}))}else{Cr((function(){return e(r)}))}}));var Cr=r("Q",(function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)}));var wr=r("W",(function(r,e){if(e===void 0){e=0}return new Promise((function(n){pr(r,e,n)}))}));var pr=function(r,e,n){if(e===void 0){e=0}var t;var i;var a={passive:true};var o=500;var u=function(){if(t){t()}};var f=function(e){if(e===undefined||r===e.target){u();n(e)}};if(r){r.addEventListener("webkitTransitionEnd",f,a);r.addEventListener("transitionend",f,a);i=setTimeout(f,e+o);t=function(){if(i){clearTimeout(i);i=undefined}r.removeEventListener("webkitTransitionEnd",f,a);r.removeEventListener("transitionend",f,a)}}return u};var gr=r("R",(function(r,e,n,t){if(f.hasWindow){var i=Y();if(i){var a=i._ael;if(a){return a(r,e,n,t)}else if(i._ael){return i._ael(r,e,n,t)}}}return r.addEventListener(e,n,t)}));var mr=r("S",(function(r,e,n,t){if(f.hasWindow){var i=Y();if(i){var a=i._rel;if(a){return a(r,e,n,t)}else if(i._rel){return i._rel(r,e,n,t)}}}return r.removeEventListener(e,n,t)}));var yr=r("v",(function(r){if(r){return new Promise((function(e){return br(r,e)}))}return Promise.resolve()}));var _r=r("r",(function(r){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(n,__spreadArray([r],e,true),void 0,(function(r,e){var n,t;if(e===void 0){e=false}return __generator(this,(function(i){switch(i.label){case 0:n=r;if(!n)return[3,4];if(!(n.componentOnReady!==null&&n.componentOnReady!==undefined))return[3,2];return[4,n.componentOnReady()];case 1:t=i.sent();if(!e&&t!==null&&t!==undefined){return[2]}i.label=2;case 2:return[4,Promise.all(Array.from(n.children).map((function(r){return _r(r,e)})))];case 3:i.sent();i.label=4;case 4:return[2]}}))}))}));var Lr=r("A",(function(r){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,_r(r,true)];case 1:e.sent();return[4,kr()];case 2:e.sent();return[4,Or()];case 3:e.sent();return[2]}}))}))}));var jr=r("Y",(function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i;return __generator(this,(function(a){if(r&&r.target&&e&&e!==r.target){n=r.target;i=r.target.nodeName==="BAL-NAVBAR-BRAND";if(i){n=n.closest("bal-navbar")}if(n&&cr(n,e)){t(n)}}return[2]}))}))}));var xr=r("B",(function(r,e){return __awaiter(n,void 0,void 0,(function(){var n,t,i;return __generator(this,(function(a){switch(a.label){case 0:n=Object.assign({animated:false,icons:{balIconClose:$,balIconInfoCircle:M,balIconPlus:y,balIconMinus:k,balIconEdit:I,balIconTrash:m,balIconNavGoLeft:j,balIconNavGoRight:L,balIconNavGoDown:x,balIconNavGoUp:_,balIconCaretUp:T,balIconCaretDown:P,balIconCaretLeft:E,balIconCaretRight:N,balIconCheck:B,balIconDate:V,balIconDocument:Z,balIconUpload:p,balIconMenuBars:O}},e);t=r;if(!(t!==null&&t!==undefined))return[3,3];return[4,_r(t,true)];case 1:a.sent();i=Array.prototype.slice.call(t.querySelectorAll("*")).filter((function(r){return r.tagName.match(/^bal/i)}));return[4,Promise.all(i.map((function(r){if(r.configChanged!==null&&r.configChanged!==undefined){return r.configChanged(n)}})))];case 2:a.sent();a.label=3;case 3:return[4,Promise.all([kr(),Ar(),Or()])];case 4:a.sent();return[2]}}))}))}));var kr=r("x",(function(){return new Promise((function(r){return Cr((function(){return Mr(r)}))}))}));var Or=r("y",(function(){return new Promise((function(r){return ur((function(){return Mr(r)}))}))}));var Ar=r("z",(function(){return new Promise((function(r){return ar((function(){return Mr(r)}))}))}));var Hr=r("C",(function(){return new Promise((function(r){return or((function(){return Mr(r)}))}))}));var Mr=function(r){if(f.hasWindow&&"MessageChannel"in window){var e=new window.MessageChannel;e.port1.onmessage=r;e.port2.postMessage(undefined)}else{setTimeout(r,32)}};var Sr=function(){function r(r){this.options=r;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}r.prototype.create=function(r){var e=this;if(f.hasDocument){this.setupContainer(r);var n=this.findClone(r);if(n===undefined){var t=document.createElement(this.options.tag);Object.assign(t,r);t.addEventListener("balClose",(function(r){e.removeFromQueue(r.detail)}));this.preQueue.push(t);this.updateQueue();return t}return n}};r.prototype.setQueue=function(r){this.queueLimit=r};r.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=(r=this.container)===null||r===void 0?void 0:r.querySelectorAll(this.options.tag);if(!e)return[3,2];n=[];for(t=0;t<e.length;t++){i=e[t];if(i.close){n.push(i.close())}}return[4,Promise.all(n)];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};r.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};r.prototype.findClone=function(r){for(var e=0;e<this.queue.length;e++){var n=this.queue[e];if(n.message===r.message&&n.color===r.color){return n}}return undefined};r.prototype.setupContainer=function(r){if(f.hasDocument){var e="".concat(this.options.tag,"-container");this.container=document.getElementById(e);if(this.container)return;if(!this.container){this.container=document.createElement("bal-notices");this.container.setAttribute("interface",this.options.tag.replace("bal-",""));this.container.setAttribute("animated",r.animated?"true":"false");if(r.container!==undefined){this.container.setAttribute("container",r.container===true?"":r.container)}this.container.id=e}document.body.appendChild(this.container)}};r.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n;return __generator(this,(function(t){switch(t.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];e=this.preQueue.shift();if(!(e&&this.container))return[3,2];return[4,Lr(this.container)];case 1:t.sent();n=this.container.querySelector(".bal-notices__inner");if(n){this.queue.push(e);n.insertAdjacentElement("beforeend",e)}t.label=2;case 2:if(this.queue.length===0){(r=this.container)===null||r===void 0?void 0:r.remove()}return[2]}}))}))};r.prototype.removeFromQueue=function(r){var e=this;this.queue=this.queue.filter((function(e){return e.id!==r}));setTimeout((function(){return e.updateQueue()}),0)};return r}();var Ir=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-snackbar"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Sr);r("D",Ir);var Zr=r("E",new Ir);var Vr=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-toast"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Sr);r("F",Vr);var $r=r("G",new Vr);var Br="19.5.0";var Tr=r("q",(function(r,e,n){if(r===void 0){r={}}if(e===void 0){e=undefined}if(n===void 0){n={}}if(Object.keys(n).length===0&&f.hasWindow){n=window}n.BaloiseDesignSystem=n.BaloiseDesignSystem||{};if(e){ae(e)}W(Object.assign(Object.assign({},r),e),n);n.BaloiseDesignSystem.toastController=$r;n.BaloiseDesignSystem.snackbarController=Zr;n.BaloiseDesignSystem.initialize=function(){return W(n.BaloiseDesignSystem.config,n)};n.BaloiseDesignSystem.version=Br;if(r._generateHydrateForCustomElementsOutput){Nr(a)}}));var Nr=function(r){if(r===void 0){r=[]}var e="slot-fb{display:contents}slot-fb[hidden]{display:none}";var n="{visibility:hidden}.hydrated{visibility:inherit}";var t=typeof window!=="undefined"?window:{};if(!t.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var i=t.document.head;var a=i.querySelector("meta[charset]");var o=t.document.createElement("style");if(r.length>0){o.textContent+=e;o.textContent+=r.sort()+n;if(o.innerHTML.length){o.setAttribute("data-styles","");i.insertBefore(o,a?a.nextSibling:i.firstChild)}}};function Er(){Tr()}var Pr=r("g",Er);var Dr="";var Rr=Object.defineProperty;var Fr=function(r,e){for(var n in e)Rr(r,n,{get:e[n],enumerable:true})};var Ur="http://www.w3.org/2000/svg";var zr="http://www.w3.org/1999/xhtml";var Gr=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var Wr=r("H",(function(r,e){r.__stencil__getHostRef=function(){return e};e.t=r}));var qr=function(r,e){var n={i:0,$hostElement$:r,o:e,u:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.C=r}));r["s-p"]=[];r["s-rc"]=[]}var t=n;r.__stencil__getHostRef=function(){return t};return t};var Yr=function(r,e){return e in r};var Jr=function(r,e){return(0,console.error)(r,e)};var Xr=new Map;var Kr=function(r,n,t){var i=r.p.replace(/-/g,"_");var a=r.m;if(!a){return void 0}var o=Xr.get(a);if(o){return o[i]}
1
+ var __extends=this&&this.__extends||function(){var r=function(e,n){r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,e){r.__proto__=e}||function(r,e){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))r[n]=e[n]};return r(e,n)};return function(e,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var e,n=1,t=arguments.length;n<t;n++){e=arguments[n];for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i))r[i]=e[i]}return r};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(r,e,n,t){function i(r){return r instanceof n?r:new n((function(e){e(r)}))}return new(n||(n=Promise))((function(n,a){function o(r){try{f(t.next(r))}catch(r){a(r)}}function u(r){try{f(t["throw"](r))}catch(r){a(r)}}function f(r){r.done?n(r.value):i(r.value).then(o,u)}f((t=t.apply(r,e||[])).next())}))};var __generator=this&&this.__generator||function(r,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},t,i,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(r){return function(e){return f([r,e])}}function f(u){if(t)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(n=0)),n)try{if(t=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;i=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(r,n)}catch(r){u=[6,r];i=0}finally{t=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(r,e,n){if(n||arguments.length===2)for(var t=0,i=e.length,a;t<i;t++){if(a||!(t in e)){if(!a)a=Array.prototype.slice.call(e,0,t);a[t]=e[t]}}return r.concat(a||Array.prototype.slice.call(e))};System.register([],(function(r,e){"use strict";return{execute:function(){var n=this;r("L",d);var t="baloise-design-system";var i={hydratedSelectorName:"hydrated",lazyLoad:true,slotRelocation:true,updatable:true};var a=["bal-accordion","bal-accordion-details","bal-accordion-summary","bal-accordion-trigger","bal-app","bal-badge","bal-button","bal-button-group","bal-card","bal-card-actions","bal-card-button","bal-card-content","bal-card-subtitle","bal-card-title","bal-carousel","bal-carousel-item","bal-check","bal-checkbox","bal-checkbox-group","bal-close","bal-content","bal-data","bal-data-item","bal-data-label","bal-data-value","bal-date","bal-date-calendar","bal-date-calendar-cell","bal-divider","bal-dropdown","bal-field","bal-field-control","bal-field-hint","bal-field-label","bal-field-message","bal-file-upload","bal-footer","bal-form","bal-form-col","bal-form-grid","bal-heading","bal-hint","bal-hint-text","bal-hint-title","bal-icon","bal-input","bal-input-date","bal-input-group","bal-input-slider","bal-input-stepper","bal-label","bal-list","bal-list-item","bal-list-item-accordion-body","bal-list-item-accordion-head","bal-list-item-content","bal-list-item-icon","bal-list-item-subtitle","bal-list-item-title","bal-logo","bal-modal","bal-modal-body","bal-modal-header","bal-nav","bal-nav-link","bal-nav-link-grid","bal-nav-link-grid-col","bal-nav-link-group","bal-nav-menu-bar","bal-nav-menu-flyout","bal-nav-meta-bar","bal-navbar","bal-navbar-brand","bal-navbar-menu","bal-navbar-menu-end","bal-navbar-menu-start","bal-notices","bal-notification","bal-number-input","bal-option","bal-option-list","bal-pagination","bal-popover","bal-popover-content","bal-popup","bal-progress-bar","bal-radio","bal-radio-group","bal-radio-icon","bal-segment","bal-segment-item","bal-select","bal-select-option","bal-shape","bal-sheet","bal-snackbar","bal-spinner","bal-stack","bal-stage","bal-stage-back-link","bal-stage-body","bal-stage-foot","bal-stage-head","bal-stage-image","bal-step-item","bal-steps","bal-switch","bal-tab-item","bal-table","bal-tabs","bal-tag","bal-tag-group","bal-text","bal-textarea","bal-time-input","bal-toast","bal-tooltip"];var o=function(){function r(){}Object.defineProperty(r.prototype,"width",{get:function(){if(f.hasWindow){return window.innerWidth}return 0},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"height",{get:function(){if(f.hasWindow){return window.innerHeight}return 0},enumerable:false,configurable:true});return r}();var u=function(){function r(){this.window=new o}Object.defineProperty(r.prototype,"isSafari",{get:function(){return/^((?!chrome|android).)*safari/i.test(this.userAgent)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasWindow",{get:function(){return typeof window!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasNavigator",{get:function(){return typeof navigator!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"hasDocument",{get:function(){return typeof document!=="undefined"},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"userAgent",{get:function(){var r;if(this.hasWindow&&this.hasNavigator){return(r=navigator.userAgent)!==null&&r!==void 0?r:""}return""},enumerable:false,configurable:true});return r}();var f=r("a",new u);var l="baloise-animated";var s={components:[],event:false,lifecycle:false,render:false,custom:false};var v=function(){var r=s;if(f.hasWindow&&window.BaloiseDesignSystem&&window.BaloiseDesignSystem.config&&window.BaloiseDesignSystem.config.logger){r=window.BaloiseDesignSystem.config.logger}return r};var c=function(r){var e=function(e,n){var t=[];for(var i=2;i<arguments.length;i++){t[i-2]=arguments[i]}var a=v();if(a.components.includes(r)&&a[e]){console.log.apply(console,__spreadArray([n],t,false))}};return{custom:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["custom"," ➡️ [".concat(r,"] - ").concat(n)],t,false))},lifecycle:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["lifecycle","".concat(n==="connectedCallback"?"🟢":n==="disconnectedCallback"?"🔴":n==="componentDidLoad"?"🏁":" ➡️"," [").concat(r,"] - (").concat(n,")")],t,false))},event:function(n){var t=[];for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}return e.apply(void 0,__spreadArray(["event","🔥 [".concat(r,"] - (").concat(n,")")],t,false))},render:function(){var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}return e.apply(void 0,__spreadArray(["render","🖌️ [".concat(r,"] - (render)")],n,false))}}};function d(r){if(r===void 0){r="unknown"}return function(e,n,t){var i=e.connectedCallback,a=e.disconnectedCallback,o=e.render,u=e.componentDidLoad,f=e.createLogger;var l=c(r);e.connectedCallback=function(){var r=this;l.lifecycle("connectedCallback",this);var e=Object.keys(this).filter((function(r){return r.startsWith("bal")})).filter((function(e){return typeof r[e]==="object"}));var n=function(n){var i=e[n];var a=t[i];t[i]={emit:function(){var e;var n=[];for(var t=0;t<arguments.length;t++){n[t]=arguments[t]}l.event.apply(l,__spreadArray([i,r],n,false));return(e=a.emit).call.apply(e,__spreadArray([r],n,false))}}};var t=this;for(var a=0;a<e.length;a++){n(a)}f.call(this,l.custom);return i&&i.call(this)};e.disconnectedCallback=function(){l.lifecycle("disconnectedCallback",this);return a&&a.call(this)};e.componentDidLoad=function(){l.lifecycle("componentDidLoad",this);return u&&u.call(this)};e.render=function(){l.render(this);return o.call(this)}}}var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 4C0 2.61929 1.11929 1.5 2.5 1.5H11.5C12.8807 1.5 14 2.61929 14 4V10C14 11.3807 12.8807 12.5 11.5 12.5H2.5C1.11929 12.5 0 11.3807 0 10V4ZM5.30998 5.11998V9.31998C5.30935 9.3905 5.32737 9.45993 5.36222 9.52124C5.39707 9.58255 5.4475 9.63356 5.50842 9.66909C5.56933 9.70462 5.63856 9.72342 5.70908 9.72358C5.7796 9.72374 5.84891 9.70524 5.90998 9.66998L9.50998 7.56998C9.57013 7.53469 9.62001 7.48428 9.65467 7.42377C9.68933 7.36325 9.70756 7.29472 9.70756 7.22498C9.70756 7.15524 9.68933 7.08671 9.65467 7.0262C9.62001 6.96568 9.57013 6.91527 9.50998 6.87998L5.90998 4.77998C5.85023 4.74175 5.78117 4.72055 5.71026 4.71865C5.63935 4.71675 5.56926 4.73422 5.50754 4.7692C5.44582 4.80417 5.39481 4.85532 5.36 4.91713C5.32519 4.97894 5.3079 5.04907 5.30998 5.11998Z" clip-rule="evenodd"/></svg>';var b='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M13.0056 0C13.385 0 13.6262 0.406033 13.4447 0.739215L9.3722 8.21397C9.28942 8.3659 9.29108 8.54984 9.37658 8.70026L11.9644 13.2529C12.1539 13.5862 11.9131 14 11.5297 14H8.88832C8.70848 14 8.5425 13.9034 8.45363 13.7471L5.58749 8.70478C5.50059 8.55191 5.50038 8.36464 5.58694 8.21157L10.0872 0.253872C10.1759 0.0969935 10.3422 0 10.5224 0H13.0056ZM5.60519 5.58358C5.68784 5.73855 5.68312 5.92552 5.59276 6.07613L3.43406 9.67396C3.3437 9.82456 3.18095 9.91671 3.00532 9.91671H0.500779C0.111209 9.91671 -0.128712 9.49091 0.0730986 9.15769L1.97318 6.02035C2.06519 5.86842 2.0697 5.67908 1.98502 5.52295L0.655558 3.07176C0.474862 2.7386 0.716068 2.33337 1.09507 2.33337H3.57175C3.7564 2.33337 3.92603 2.43515 4.01292 2.59808L5.60519 5.58358Z"/></svg>';var C='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var w='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.04883 0.275541C2.32493 1.06453 0.285118 3.46373 0.0275269 6.375H3.22773C3.41606 4.22626 4.03911 2.14922 5.04883 0.275541ZM3.22773 7.625H0.0275269C0.285118 10.5363 2.32493 12.9355 5.04883 13.7245C4.0391 11.8508 3.41606 9.77374 3.22773 7.625ZM6.6522 13.9915C5.44618 12.0855 4.69968 9.90183 4.48294 7.625H9.51704C9.30031 9.90183 8.5538 12.0855 7.34777 13.9915C7.23256 13.9971 7.11661 14 7.00001 14C6.88338 14 6.76743 13.9971 6.6522 13.9915ZM8.95115 13.7245C11.6751 12.9355 13.7149 10.5363 13.9725 7.625H10.7722C10.5839 9.77375 9.96087 11.8508 8.95115 13.7245ZM10.7722 6.375H13.9725C13.7149 3.46372 11.6751 1.06451 8.95114 0.275533C9.96087 2.14921 10.5839 4.22625 10.7722 6.375ZM6.65221 0.00848953C6.76743 0.00285182 6.88339 0 7.00001 0C7.11661 0 7.23256 0.0028513 7.34777 0.008488C8.5538 1.91446 9.3003 4.09817 9.51704 6.375H4.48294C4.69968 4.09817 5.44618 1.91446 6.65221 0.00848953Z" clip-rule="evenodd"/></svg>';var p='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8.99999 4C9.2883 4 9.55108 3.83474 9.67597 3.57489C9.80086 3.31504 9.76575 3.00661 9.58564 2.78148L7.58564 0.281479C7.44331 0.103567 7.22783 0 6.99999 0C6.77215 0 6.55667 0.103567 6.41434 0.281479L4.41434 2.78148C4.23424 3.00661 4.19912 3.31504 4.32401 3.57489C4.4489 3.83474 4.71169 4 4.99999 4H6L6 9.5C6 10.0523 6.44772 10.5 7 10.5C7.55228 10.5 8 10.0523 8 9.5L8 4H8.99999ZM3 12V5.99998C3.55228 5.99998 4 5.55227 4 4.99998C4 4.4477 3.55228 3.99998 3 3.99998H2.5C2.10217 3.99998 1.72064 4.15802 1.43934 4.43932C1.15804 4.72062 1 5.10216 1 5.49998V12.5C1 12.8979 1.15804 13.2794 1.43934 13.5607C1.72065 13.842 2.10218 14 2.5 14L11.5 14.0001C11.8978 14.0001 12.2794 13.842 12.5607 13.5607C12.842 13.2794 13 12.8979 13 12.5001V5.5C13 5.10218 12.842 4.72065 12.5607 4.43934C12.2794 4.15804 11.8978 4 11.5 4H11C10.4477 4 10 4.44772 10 5C10 5.55228 10.4477 6 11 6V12.0001L3 12Z" clip-rule="evenodd"/></svg>';var g='<svg viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.3608 1.15369C13.4169 1.2059 13.4622 1.26865 13.494 1.33837C13.5259 1.40808 13.5436 1.48339 13.5464 1.55999C13.5491 1.63659 13.5367 1.71297 13.5098 1.78477C13.483 1.85656 13.4423 1.92236 13.39 1.97841L8.64428 7.06727L13.8824 14.0198C13.9477 14.1064 13.9876 14.2095 13.9975 14.3176C14.0075 14.4256 13.9871 14.5343 13.9386 14.6313C13.8902 14.7284 13.8156 14.81 13.7233 14.8671C13.631 14.9241 13.5246 14.9542 13.4161 14.9541H10.2207C10.1303 14.9542 10.0412 14.9333 9.96026 14.893C9.87935 14.8528 9.8089 14.7943 9.75447 14.7222L6.06784 9.8299L1.46336 14.7684C1.41113 14.8245 1.34837 14.8696 1.27867 14.9014C1.20897 14.9332 1.13369 14.9509 1.05714 14.9536C0.980585 14.9563 0.904251 14.9439 0.832496 14.9171C0.760741 14.8903 0.69497 14.8496 0.63894 14.7973C0.582909 14.7451 0.537715 14.6823 0.505938 14.6126C0.474162 14.5429 0.456425 14.4677 0.45374 14.3911C0.451056 14.3146 0.463476 14.2382 0.490292 14.1665C0.517108 14.0947 0.557794 14.029 0.610028 13.9729L5.35572 8.88407L0.117626 1.93154C0.0523114 1.84497 0.0124314 1.74191 0.00246702 1.63393C-0.00749732 1.52595 0.0128489 1.41733 0.0612194 1.32027C0.10959 1.22322 0.184068 1.14157 0.276285 1.08451C0.368503 1.02746 0.474805 0.997244 0.583248 0.997273H3.7793C3.86956 0.997249 3.9586 1.01818 4.0394 1.05842C4.1202 1.09866 4.19055 1.15711 4.24492 1.22917L7.93155 6.12144L12.5354 1.18291C12.5876 1.12679 12.6504 1.08151 12.7201 1.04966C12.7898 1.01782 12.8651 1.00003 12.9417 0.997314C13.0183 0.9946 13.0947 1.00702 13.1665 1.03385C13.2383 1.06068 13.3047 1.10141 13.3608 1.15369ZM7.44036 7.40872C7.42386 7.38964 7.40861 7.36951 7.39471 7.34846L3.48836 2.16343H1.75308L10.511 13.7885H12.2463L7.43975 7.40933L7.44036 7.40872Z"/></svg>';var m='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5.76256 2.01256C6.09075 1.68437 6.53587 1.5 7 1.5C7.46413 1.5 7.90925 1.68437 8.23744 2.01256C8.4448 2.21993 8.59475 2.47397 8.67705 2.75H5.32295C5.40525 2.47397 5.5552 2.21993 5.76256 2.01256ZM3.78868 2.75C3.89405 2.07321 4.21153 1.44227 4.7019 0.951903C5.3114 0.34241 6.13805 0 7 0C7.86195 0 8.6886 0.34241 9.2981 0.951903C9.78847 1.44227 10.106 2.07321 10.2113 2.75H13C13.4142 2.75 13.75 3.08579 13.75 3.5C13.75 3.91422 13.4142 4.25 13 4.25H12V12.5C12 12.8978 11.842 13.2794 11.5607 13.5607C11.2794 13.842 10.8978 14 10.5 14H3.5C3.10217 14 2.72064 13.842 2.43934 13.5607C2.15804 13.2794 2 12.8978 2 12.5V4.25H1C0.585786 4.25 0.25 3.91422 0.25 3.5C0.25 3.08579 0.585786 2.75 1 2.75H3.78868ZM5 5.87646C5.34518 5.87646 5.625 6.15629 5.625 6.50146V10.503C5.625 10.8481 5.34518 11.128 5 11.128C4.65482 11.128 4.375 10.8481 4.375 10.503V6.50146C4.375 6.15629 4.65482 5.87646 5 5.87646ZM9.625 6.50146C9.625 6.15629 9.34518 5.87646 9 5.87646C8.65482 5.87646 8.375 6.15629 8.375 6.50146V10.503C8.375 10.8481 8.65482 11.128 9 11.128C9.34518 11.128 9.625 10.8481 9.625 10.503V6.50146Z" clip-rule="evenodd"/></svg>';var y='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M8 1C8 0.447715 7.55228 0 7 0C6.44772 0 6 0.447715 6 1V6H1C0.447715 6 0 6.44772 0 7C0 7.55228 0.447715 8 1 8H6V13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13V8H13C13.5523 8 14 7.55228 14 7C14 6.44772 13.5523 6 13 6H8V1Z" clip-rule="evenodd"/></svg>';var _='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var L='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var j='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var x='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var k='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 7C0 6.44772 0.447715 6 1 6H13C13.5523 6 14 6.44772 14 7C14 7.55228 13.5523 8 13 8H1C0.447715 8 0 7.55228 0 7Z" clip-rule="evenodd"/></svg>';var O='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0 2a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm0 5a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1zm1 4a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H1z" clip-rule="evenodd"/></svg>';var A='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M3.31334 1.36381C3.31624 1.73602 3.17257 2.09441 2.9134 2.36157C2.65422 2.62872 2.30034 2.78317 1.92822 2.79156C1.55687 2.77793 1.20495 2.62217 0.945182 2.35645C0.685414 2.09073 0.537655 1.73538 0.53244 1.36381C0.548583 1.0018 0.701774 0.659474 0.96096 0.406224C1.22015 0.152974 1.56593 0.00775305 1.92822 0C2.28945 0.00789779 2.63402 0.153479 2.89148 0.40698C3.14894 0.66048 3.29985 1.00275 3.31334 1.36381ZM0.681607 5.3274C0.681607 4.50698 1.20369 4.63484 1.92822 4.63484C2.65275 4.63484 3.16418 4.50698 3.16418 5.3274V13.3185C3.16418 14.1496 2.64209 13.9791 1.92822 13.9791C1.21435 13.9791 0.681607 14.1496 0.681607 13.3185V5.3274Z"/><path d="M5.31647 5.32741C5.31647 4.86926 5.48694 4.69878 5.75331 4.64551C6.01968 4.59223 6.936 4.64551 7.25564 4.64551C7.57528 4.64551 7.70314 5.16759 7.69249 5.56182C7.96591 5.19486 8.32892 4.9042 8.7468 4.71765C9.16467 4.5311 9.62342 4.4549 10.0792 4.49634C10.5267 4.46898 10.975 4.53608 11.3949 4.69327C11.8148 4.85046 12.1969 5.09424 12.5165 5.40876C12.836 5.72328 13.0858 6.1015 13.2496 6.51887C13.4135 6.93623 13.4877 7.38339 13.4674 7.83129V13.2865C13.4674 14.1176 12.956 13.9471 12.2314 13.9471C11.5069 13.9471 10.9955 14.1176 10.9955 13.2865V9.02463C11.0142 8.80528 10.9855 8.58447 10.9114 8.3772C10.8372 8.16992 10.7193 7.98103 10.5657 7.82335C10.412 7.66568 10.2263 7.54291 10.021 7.46339C9.8157 7.38387 9.59571 7.34945 9.37595 7.36248C9.1572 7.35692 8.93978 7.3979 8.73806 7.48268C8.53635 7.56747 8.35494 7.69414 8.20586 7.85431C8.05677 8.01447 7.94341 8.20447 7.87328 8.41174C7.80314 8.61901 7.77784 8.83881 7.79904 9.05659V13.3185C7.79904 14.1496 7.27695 13.9791 6.55242 13.9791C5.8279 13.9791 5.31647 14.1496 5.31647 13.3185V5.32741Z"/></svg>';var H='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M0.786499 3.39046C0.786499 1.95243 1.95225 0.786682 3.39027 0.786682H10.3337C11.7717 0.786682 12.9374 1.95243 12.9374 3.39046V10.3339C12.9374 11.7719 11.7717 12.9376 10.3337 12.9376H3.39027C1.95225 12.9376 0.786499 11.7719 0.786499 10.3339V3.39046ZM6.8621 4.78204C5.71332 4.78204 4.78204 5.71332 4.78204 6.8621C4.78204 8.01088 5.71332 8.94216 6.8621 8.94216C8.01088 8.94216 8.94216 8.01088 8.94216 6.8621C8.94216 5.71332 8.01088 4.78204 6.8621 4.78204ZM3.78204 6.8621C3.78204 5.16103 5.16103 3.78204 6.8621 3.78204C8.56317 3.78204 9.94216 5.16103 9.94216 6.8621C9.94216 8.56317 8.56317 9.94216 6.8621 9.94216C5.16103 9.94216 3.78204 8.56317 3.78204 6.8621ZM10.3349 3.98516C10.6842 3.98516 10.9673 3.70199 10.9673 3.35269C10.9673 3.00338 10.6842 2.72021 10.3349 2.72021C9.98556 2.72021 9.70239 3.00338 9.70239 3.35269C9.70239 3.70199 9.98556 3.98516 10.3349 3.98516Z" clip-rule="evenodd"/></svg>';var M='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M7 14C10.866 14 14 10.866 14 7C14 3.13401 10.866 0 7 0C3.13401 0 0 3.13401 0 7C0 10.866 3.13401 14 7 14ZM5.5 9.375C5.15482 9.375 4.875 9.65482 4.875 10C4.875 10.3452 5.15482 10.625 5.5 10.625H7H8.5C8.84518 10.625 9.125 10.3452 9.125 10C9.125 9.65482 8.84518 9.375 8.5 9.375H7.625V6.5C7.625 6.15482 7.34518 5.875 7 5.875H6C5.65482 5.875 5.375 6.15482 5.375 6.5C5.375 6.84518 5.65482 7.125 6 7.125H6.375V9.375H5.5ZM8 4C8 4.55228 7.55228 5 7 5C6.44772 5 6 4.55228 6 4C6 3.44772 6.44772 3 7 3C7.55228 3 8 3.44772 8 4Z" clip-rule="evenodd"/></svg>';var S='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M8.06356 3.75515C8.06356 2.67675 8.60345 2.67675 9.14334 2.67675H9.79121C9.89938 2.6782 10.0067 2.65799 10.107 2.61732C10.2072 2.57664 10.2982 2.51633 10.3747 2.43993C10.4512 2.36353 10.5116 2.2726 10.5523 2.17251C10.5931 2.07242 10.6133 1.96519 10.6118 1.85716V0.84346C10.6119 0.734917 10.5903 0.627453 10.5484 0.527307C10.5064 0.42716 10.445 0.336327 10.3677 0.260078C10.2903 0.18383 10.1986 0.123686 10.0978 0.0831375C9.99696 0.0425893 9.88909 0.0224446 9.78041 0.0238728L8.24712 0.00230466C7.80066 -0.0149417 7.35577 0.0647696 6.94316 0.235937C6.53054 0.407104 6.16003 0.665651 5.8572 0.993733C5.55436 1.32181 5.32641 1.71162 5.18908 2.13624C5.05175 2.56086 5.00831 3.01018 5.06176 3.4532V5.01689H4.20873C3.99108 5.01689 3.78235 5.10324 3.62845 5.25694C3.47455 5.41064 3.38809 5.61911 3.38809 5.83648V6.85018C3.38809 7.06754 3.47455 7.27601 3.62845 7.42971C3.78235 7.58341 3.99108 7.66976 4.20873 7.66976H5.06176V13.4608C5.06176 13.6038 5.11864 13.741 5.21989 13.8421C5.32114 13.9432 5.45846 14 5.60165 14H7.55606C7.69356 13.9917 7.8227 13.9313 7.91705 13.8311C8.01139 13.7308 8.0638 13.5984 8.06356 13.4608V7.66976H9.01377C9.23141 7.66976 9.44014 7.58341 9.59404 7.42971C9.74794 7.27601 9.8344 7.06754 9.8344 6.85018V5.83648C9.8344 5.61911 9.74794 5.41064 9.59404 5.25694C9.44014 5.10324 9.23141 5.01689 9.01377 5.01689H8.06356V3.75515Z"/></svg>';var I='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path d="M10.715 -0.000976562C10.5152 -0.000976562 10.3174 0.0389464 10.1332 0.116448C9.95019 0.193468 9.78428 0.306058 9.64512 0.447676L1.40732 8.64549C1.34616 8.70635 1.30179 8.782 1.27853 8.86508L0.0185299 13.3651C-0.0301752 13.539 0.0187291 13.7257 0.146458 13.8535C0.274188 13.9812 0.46088 14.0301 0.634827 13.9814L5.13483 12.7214C5.21791 12.6981 5.29356 12.6537 5.35442 12.5926L13.5521 4.3549L13.5535 4.35355C13.6934 4.21438 13.8045 4.04896 13.8804 3.86676C13.9566 3.68398 13.9958 3.48792 13.9958 3.2899C13.9958 3.09188 13.9566 2.89582 13.8804 2.71303C13.8045 2.53083 13.6934 2.3654 13.5535 2.22624L13.5521 2.2249L11.7859 0.448721C11.6466 0.306611 11.4803 0.193657 11.2968 0.116448C11.1126 0.0389464 10.9148 -0.000976562 10.715 -0.000976562Z"/></svg>';var Z='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.43934 0.43934C1.72064 0.158035 2.10218 0 2.5 0H7.5C7.63261 0 7.75979 0.0526784 7.85355 0.146447L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 12.8978 12.842 13.2794 12.5607 13.5607C12.2794 13.842 11.8978 14 11.5 14H2.5C2.10217 14 1.72064 13.842 1.43934 13.5607C1.15804 13.2794 1 12.8978 1 12.5V1.5C1 1.10218 1.15804 0.720644 1.43934 0.43934ZM4.5 3.875C4.15482 3.875 3.875 4.15482 3.875 4.5C3.875 4.84518 4.15482 5.125 4.5 5.125H6.5C6.84518 5.125 7.125 4.84518 7.125 4.5C7.125 4.15482 6.84518 3.875 6.5 3.875H4.5ZM3.875 7.5C3.875 7.15482 4.15482 6.875 4.5 6.875H9.5C9.84518 6.875 10.125 7.15482 10.125 7.5C10.125 7.84518 9.84518 8.125 9.5 8.125H4.5C4.15482 8.125 3.875 7.84518 3.875 7.5ZM4.5 9.875C4.15482 9.875 3.875 10.1548 3.875 10.5C3.875 10.8452 4.15482 11.125 4.5 11.125H9.5C9.84518 11.125 10.125 10.8452 10.125 10.5C10.125 10.1548 9.84518 9.875 9.5 9.875H4.5Z" clip-rule="evenodd"/></svg>';var V='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M10 0a.75.75 0 0 1 .75.75v.75h1.5c.966 0 1.75.784 1.75 1.75v9A1.75 1.75 0 0 1 12.25 14H1.75A1.75 1.75 0 0 1 0 12.25v-9C0 2.284.784 1.5 1.75 1.5h1.5V.75a.75.75 0 0 1 1.5 0v.75h4.5V.75A.75.75 0 0 1 10 0zM3.25 3v.75a.75.75 0 0 0 1.5 0V3h4.5v.75a.75.75 0 0 0 1.5 0V3h1.5a.25.25 0 0 1 .25.25v2.282a1.002 1.002 0 0 0-.25-.032H1.75c-.086 0-.17.01-.25.032V3.25A.25.25 0 0 1 1.75 3h1.5z" clip-rule="evenodd"/></svg>';var $='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M1.70711 0.292893C1.31658 -0.0976311 0.683417 -0.0976311 0.292893 0.292893C-0.0976311 0.683417 -0.0976311 1.31658 0.292893 1.70711L5.58579 7L0.292893 12.2929C-0.0976311 12.6834 -0.0976311 13.3166 0.292893 13.7071C0.683417 14.0976 1.31658 14.0976 1.70711 13.7071L7 8.41421L12.2929 13.7071C12.6834 14.0976 13.3166 14.0976 13.7071 13.7071C14.0976 13.3166 14.0976 12.6834 13.7071 12.2929L8.41421 7L13.7071 1.70711C14.0976 1.31658 14.0976 0.683417 13.7071 0.292893C13.3166 -0.0976311 12.6834 -0.0976311 12.2929 0.292893L7 5.58579L1.70711 0.292893Z" clip-rule="evenodd"/></svg>';var B='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M13.637 1.19792C14.0627 1.54974 14.1227 2.18006 13.7708 2.60579L5.73084 12.335L5.72842 12.3379C5.54554 12.5575 5.31602 12.7336 5.05655 12.8534C4.79707 12.9731 4.51417 13.0336 4.22842 13.0302L4.22752 13.0302C3.93709 13.0266 3.65125 12.9573 3.39146 12.8274C3.13254 12.6979 2.9062 12.5117 2.72931 12.2826C2.72871 12.2818 2.72812 12.281 2.72752 12.2802L0.210633 9.04426C-0.128437 8.60831 -0.0499029 7.98003 0.386044 7.64096C0.821992 7.30189 1.45027 7.38043 1.78934 7.81638L4.25291 10.9838L12.2291 1.33176C12.5809 0.906034 13.2113 0.846112 13.637 1.19792Z" clip-rule="evenodd"/></svg>';var T='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M9.794,6.607,5.884,2.49A1.255,1.255,0,0,0,4.1,2.5l-3.9,4.1A.75.75,0,1,0,1.294,7.641L4.819,3.928a.249.249,0,0,1,.362,0L8.706,7.641A.75.75,0,1,0,9.794,6.607Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var N='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.5,4.1l-4.1-3.9A.75.75,0,1,0,2.36,1.294L6.072,4.819a.249.249,0,0,1,0,.362L2.36,8.706A.75.75,0,0,0,3.393,9.794L7.51,5.884A1.256,1.256,0,0,0,7.5,4.1Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var E='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M7.124,10a.749.749,0,0,1-.517-.206L2.5,5.9A1.257,1.257,0,0,1,2.49,4.116L6.607.206A.75.75,0,1,1,7.64,1.294L3.928,4.819a.249.249,0,0,0,0,.362L7.64,8.706A.75.75,0,0,1,7.124,10Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var P='<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg" focusable="false" aria-hidden="true"><path d="M5,7.874a1.238,1.238,0,0,1-.879-.364L.206,3.393A.75.75,0,1,1,1.294,2.36L4.819,6.072a.249.249,0,0,0,.362,0L8.706,2.36A.75.75,0,1,1,9.794,3.393L5.9,7.5A1.269,1.269,0,0,1,5,7.874Z" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/></svg>';var D={balIconClose:$,balIconInfoCircle:M,balIconPlus:y,balIconMinus:k,balIconEdit:I,balIconTrash:m,balIconNavGoLeft:j,balIconNavGoRight:L,balIconNavGoDown:x,balIconNavGoUp:_,balIconCheck:B,balIconDate:V,balIconDocument:Z,balIconUpload:p,balIconMenuBars:O,balIconFacebook:S,balIconInstagram:H,balIconLinkedin:A,balIconTwitter:g,balIconX:C,balIconXing:b,balIconYoutube:h,balIconWeb:w,balIconCaretDown:P,balIconCaretLeft:E,balIconCaretRight:N,balIconCaretUp:T};var R=r("f",{region:"CH",language:"de",allowedLanguages:["de","fr","it","en"],icons:D,fallbackLanguage:"de",logger:s,animated:true,httpFormSubmit:true,_generateHydrateForCustomElementsOutput:false});var F=r("U","".concat(R.language,"-").concat(R.region));var U=function(){function r(){this._componentObservers=[];this._observers=[];this._config=R}Object.defineProperty(r.prototype,"locale",{get:function(){return"".concat(this._config.language,"-").concat(this._config.region)},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"region",{get:function(){return this._config.region},set:function(r){if(r!==this._config.region){this._config.region=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"language",{get:function(){return this._config.language},set:function(r){if(r!==this._config.language){if(this._config.allowedLanguages.includes(r)){this._config.language=r}else{this._config.language=this._config.fallbackLanguage}this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"allowedLanguages",{get:function(){return this._config.allowedLanguages},set:function(r){if(r!==this._config.allowedLanguages){this._config.allowedLanguages=r;this._notify()}},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"icons",{get:function(){return this._config.icons},set:function(r){this._config.icons=Object.assign(Object.assign({},this._config.icons),r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"logger",{get:function(){return this._config.logger},set:function(r){this._config.logger=Object.assign({},r);this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"animated",{get:function(){return this._config.animated},set:function(r){this._config.animated=r;this._notify()},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"httpFormSubmit",{get:function(){return this._config.httpFormSubmit},set:function(r){this._config.httpFormSubmit=r;this._notify()},enumerable:false,configurable:true});r.prototype.attach=function(r){var e=this._observers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._observers.push(r);r.configChanged(this._config)};r.prototype.detach=function(r){var e=this._observers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._observers.splice(e,1)};r.prototype.attachComponent=function(r){var e=this._componentObservers.includes(r);if(e){return console.log("Subject: Observer has been attached already.")}this._componentObservers.push(r);r.configChanged(this._config)};r.prototype.detachComponent=function(r){var e=this._componentObservers.indexOf(r);if(e===-1){return console.log("Subject: Nonexistent observer.")}this._componentObservers.splice(e,1)};r.prototype.toString=function(){return JSON.stringify(this._config)};r.prototype.reset=function(r){this._config=Object.assign(Object.assign(Object.assign({},this._config),r),{icons:Object.assign(Object.assign({},this._config.icons),r.icons)});this._notify(false)};r.prototype._notify=function(r){if(r===void 0){r=true}for(var e=0,n=this._componentObservers;e<n.length;e++){var t=n[e];t.configChanged(this._config)}if(r){for(var i=0,a=this._observers;i<a.length;i++){var t=a[i];t.configChanged(this._config)}}};return r}();var z=new U;var G=function(r){try{var e=JSON.parse(r.localStorage.getItem(l));if(e!==null){return{animated:e}}return{}}catch(r){return{}}};var W=r("i",(function(r,e){if(r===void 0){r={}}if(e===void 0){e={}}if(Object.keys(e).length===0&&f.hasWindow){e=window}e.BaloiseDesignSystem=e.BaloiseDesignSystem||{};z.reset(Object.assign(Object.assign(Object.assign({},G(e)),r),{icons:Object.assign({},r.icons)}));e.BaloiseDesignSystem.config=z}));var q=r("o",(function(r){J({configChanged:function(e){r(e)}})}));var Y=r("n",(function(){if(!f.hasWindow){return}var r=window;return r&&r.BaloiseDesignSystem&&r.BaloiseDesignSystem.config}));var J=r("e",(function(r){var e=Y();if(e){e.attach(r)}}));var X=r("h",(function(r){var e=Y();if(e){e.detach(r)}}));var K=r("_",(function(r){var e=Y();if(e){e.attachComponent(r)}}));var Q=r("$",(function(r){var e=Y();if(e){e.detachComponent(r)}}));var rr=r("l",(function(r){var e=Y();if(e){e.language=r}}));var er=r("m",(function(r){var e=Y();if(e){e.region=r}}));var nr=r("u",(function(r){var e=Y();if(e){e.allowedLanguages=r}}));var tr=r("k",(function(r){var e=Y();if(e){e.icons=Object.assign(Object.assign({},e.icons),r)}}));var ir=r("j",(function(r){var e=Y();if(e){e.animated=r}}));var ar=function(r,e){if(e===void 0){e=3e3}var n=false;if(!f.isSafari&&f.hasWindow&&"PerformanceObserver"in window){var t=new PerformanceObserver((function(e){var i=e.getEntries();var a=i[i.length-1];if(a){t.disconnect();n=true;ur((function(){return r()}))}}));t.observe({type:"largest-contentful-paint",buffered:true});setTimeout((function(){if(!n){t.disconnect();r()}}),e)}else{return setTimeout(r,32)}};var or=r("K",(function(r,e){if(e===void 0){e=32}var n=false;var t=function(){if(!n){n=true;r()}};if(f.hasWindow){var i=setTimeout(t,e);window.addEventListener("load",(function(){clearTimeout(i);t()}))}else{setTimeout(t,32)}}));var ur=r("J",(function(r,e){if(e===void 0){e=5e3}if(f.hasWindow&&"requestIdleCallback"in window){window.requestIdleCallback(r,{timeout:e})}else{setTimeout(r,32)}}));var fr=r("w",(function(r){if(r===void 0){r=0}return new Promise((function(e){setTimeout((function(){return e()}),r)}))}));var lr=r("T",(function(r,e){var n=r._original||r;return{_original:r,emit:sr(n.emit.bind(n),e)}}));var sr=r("I",(function(r,e){if(e===void 0){e=0}var n;return function(){var t=[];for(var i=0;i<arguments.length;i++){t[i]=arguments[i]}clearTimeout(n);n=setTimeout.apply(void 0,__spreadArray([r,e],t,false))}}));var vr=r("Z",(function(r,e){return r&&r.tagName&&r.tagName===e.toUpperCase()}));var cr=r("t",(function(r,e){var n=e.parentNode;while(n!=null){if(n==r){return true}n=n.parentNode}return false}));var dr=r("X",(function(r,e){var n=e.parentNode;while(n!=null){if(n.tagName===r.toUpperCase()){return true}n=n.parentNode}return false}));var hr=r("c",(function(r){return r.querySelector("bal-app")||r.body}));var br=r("d",(function(r,e){if(r.componentOnReady!==null&&r.componentOnReady!==undefined){r.componentOnReady().then((function(r){return e(r)}))}else{Cr((function(){return e(r)}))}}));var Cr=r("Q",(function(r){if(typeof __zone_symbol__requestAnimationFrame==="function"){return __zone_symbol__requestAnimationFrame(r)}if(typeof requestAnimationFrame==="function"){return requestAnimationFrame(r)}return setTimeout(r)}));var wr=r("W",(function(r,e){if(e===void 0){e=0}return new Promise((function(n){pr(r,e,n)}))}));var pr=function(r,e,n){if(e===void 0){e=0}var t;var i;var a={passive:true};var o=500;var u=function(){if(t){t()}};var f=function(e){if(e===undefined||r===e.target){u();n(e)}};if(r){r.addEventListener("webkitTransitionEnd",f,a);r.addEventListener("transitionend",f,a);i=setTimeout(f,e+o);t=function(){if(i){clearTimeout(i);i=undefined}r.removeEventListener("webkitTransitionEnd",f,a);r.removeEventListener("transitionend",f,a)}}return u};var gr=r("R",(function(r,e,n,t){if(f.hasWindow){var i=Y();if(i){var a=i._ael;if(a){return a(r,e,n,t)}else if(i._ael){return i._ael(r,e,n,t)}}}return r.addEventListener(e,n,t)}));var mr=r("S",(function(r,e,n,t){if(f.hasWindow){var i=Y();if(i){var a=i._rel;if(a){return a(r,e,n,t)}else if(i._rel){return i._rel(r,e,n,t)}}}return r.removeEventListener(e,n,t)}));var yr=r("v",(function(r){if(r){return new Promise((function(e){return br(r,e)}))}return Promise.resolve()}));var _r=r("r",(function(r){var e=[];for(var t=1;t<arguments.length;t++){e[t-1]=arguments[t]}return __awaiter(n,__spreadArray([r],e,true),void 0,(function(r,e){var n,t;if(e===void 0){e=false}return __generator(this,(function(i){switch(i.label){case 0:n=r;if(!n)return[3,4];if(!(n.componentOnReady!==null&&n.componentOnReady!==undefined))return[3,2];return[4,n.componentOnReady()];case 1:t=i.sent();if(!e&&t!==null&&t!==undefined){return[2]}i.label=2;case 2:return[4,Promise.all(Array.from(n.children).map((function(r){return _r(r,e)})))];case 3:i.sent();i.label=4;case 4:return[2]}}))}))}));var Lr=r("A",(function(r){return __awaiter(n,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,_r(r,true)];case 1:e.sent();return[4,kr()];case 2:e.sent();return[4,Or()];case 3:e.sent();return[2]}}))}))}));var jr=r("Y",(function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i;return __generator(this,(function(a){if(r&&r.target&&e&&e!==r.target){n=r.target;i=r.target.nodeName==="BAL-NAVBAR-BRAND";if(i){n=n.closest("bal-navbar")}if(n&&cr(n,e)){t(n)}}return[2]}))}))}));var xr=r("B",(function(r,e){return __awaiter(n,void 0,void 0,(function(){var n,t,i;return __generator(this,(function(a){switch(a.label){case 0:n=Object.assign({animated:false,icons:{balIconClose:$,balIconInfoCircle:M,balIconPlus:y,balIconMinus:k,balIconEdit:I,balIconTrash:m,balIconNavGoLeft:j,balIconNavGoRight:L,balIconNavGoDown:x,balIconNavGoUp:_,balIconCaretUp:T,balIconCaretDown:P,balIconCaretLeft:E,balIconCaretRight:N,balIconCheck:B,balIconDate:V,balIconDocument:Z,balIconUpload:p,balIconMenuBars:O}},e);t=r;if(!(t!==null&&t!==undefined))return[3,3];return[4,_r(t,true)];case 1:a.sent();i=Array.prototype.slice.call(t.querySelectorAll("*")).filter((function(r){return r.tagName.match(/^bal/i)}));return[4,Promise.all(i.map((function(r){if(r.configChanged!==null&&r.configChanged!==undefined){return r.configChanged(n)}})))];case 2:a.sent();a.label=3;case 3:return[4,Promise.all([kr(),Ar(),Or()])];case 4:a.sent();return[2]}}))}))}));var kr=r("x",(function(){return new Promise((function(r){return Cr((function(){return Mr(r)}))}))}));var Or=r("y",(function(){return new Promise((function(r){return ur((function(){return Mr(r)}))}))}));var Ar=r("z",(function(){return new Promise((function(r){return ar((function(){return Mr(r)}))}))}));var Hr=r("C",(function(){return new Promise((function(r){return or((function(){return Mr(r)}))}))}));var Mr=function(r){if(f.hasWindow&&"MessageChannel"in window){var e=new window.MessageChannel;e.port1.onmessage=r;e.port2.postMessage(undefined)}else{setTimeout(r,32)}};var Sr=function(){function r(r){this.options=r;this.container=null;this.queue=[];this.preQueue=[];this.queueLimit=5}r.prototype.create=function(r){var e=this;if(f.hasDocument){this.setupContainer(r);var n=this.findClone(r);if(n===undefined){var t=document.createElement(this.options.tag);Object.assign(t,r);t.addEventListener("balClose",(function(r){e.removeFromQueue(r.detail)}));this.preQueue.push(t);this.updateQueue();return t}return n}};r.prototype.setQueue=function(r){this.queueLimit=r};r.prototype.dismissAll=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=(r=this.container)===null||r===void 0?void 0:r.querySelectorAll(this.options.tag);if(!e)return[3,2];n=[];for(t=0;t<e.length;t++){i=e[t];if(i.close){n.push(i.close())}}return[4,Promise.all(n)];case 1:a.sent();a.label=2;case 2:return[2]}}))}))};r.prototype.clearAll=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){console.warn("[DEPRECATED] - use dismissAll() instead");return[2,this.dismissAll()]}))}))};r.prototype.findClone=function(r){for(var e=0;e<this.queue.length;e++){var n=this.queue[e];if(n.message===r.message&&n.color===r.color){return n}}return undefined};r.prototype.setupContainer=function(r){if(f.hasDocument){var e="".concat(this.options.tag,"-container");this.container=document.getElementById(e);if(this.container)return;if(!this.container){this.container=document.createElement("bal-notices");this.container.setAttribute("interface",this.options.tag.replace("bal-",""));this.container.setAttribute("animated",r.animated?"true":"false");if(r.container!==undefined){this.container.setAttribute("container",r.container===true?"":r.container)}this.container.id=e}document.body.appendChild(this.container)}};r.prototype.updateQueue=function(){return __awaiter(this,void 0,void 0,(function(){var r,e,n;return __generator(this,(function(t){switch(t.label){case 0:if(!(this.queue.length<this.queueLimit))return[3,2];e=this.preQueue.shift();if(!(e&&this.container))return[3,2];return[4,Lr(this.container)];case 1:t.sent();n=this.container.querySelector(".bal-notices__inner");if(n){this.queue.push(e);n.insertAdjacentElement("beforeend",e)}t.label=2;case 2:if(this.queue.length===0){(r=this.container)===null||r===void 0?void 0:r.remove()}return[2]}}))}))};r.prototype.removeFromQueue=function(r){var e=this;this.queue=this.queue.filter((function(e){return e.id!==r}));setTimeout((function(){return e.updateQueue()}),0)};return r}();var Ir=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-snackbar"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Sr);r("D",Ir);var Zr=r("E",new Ir);var Vr=function(r){__extends(e,r);function e(){return r.call(this,{tag:"bal-toast"})||this}e.prototype.create=function(e){return r.prototype.create.call(this,e)};return e}(Sr);r("F",Vr);var $r=r("G",new Vr);var Br="19.6.0";var Tr=r("q",(function(r,e,n){if(r===void 0){r={}}if(e===void 0){e=undefined}if(n===void 0){n={}}if(Object.keys(n).length===0&&f.hasWindow){n=window}n.BaloiseDesignSystem=n.BaloiseDesignSystem||{};if(e){ae(e)}W(Object.assign(Object.assign({},r),e),n);n.BaloiseDesignSystem.toastController=$r;n.BaloiseDesignSystem.snackbarController=Zr;n.BaloiseDesignSystem.initialize=function(){return W(n.BaloiseDesignSystem.config,n)};n.BaloiseDesignSystem.version=Br;if(r._generateHydrateForCustomElementsOutput){Nr(a)}}));var Nr=function(r){if(r===void 0){r=[]}var e="slot-fb{display:contents}slot-fb[hidden]{display:none}";var n="{visibility:hidden}.hydrated{visibility:inherit}";var t=typeof window!=="undefined"?window:{};if(!t.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var i=t.document.head;var a=i.querySelector("meta[charset]");var o=t.document.createElement("style");if(r.length>0){o.textContent+=e;o.textContent+=r.sort()+n;if(o.innerHTML.length){o.setAttribute("data-styles","");i.insertBefore(o,a?a.nextSibling:i.firstChild)}}};function Er(){Tr()}var Pr=r("g",Er);var Dr="";var Rr=Object.defineProperty;var Fr=function(r,e){for(var n in e)Rr(r,n,{get:e[n],enumerable:true})};var Ur="http://www.w3.org/2000/svg";var zr="http://www.w3.org/1999/xhtml";var Gr=function(r){if(r.__stencil__getHostRef){return r.__stencil__getHostRef()}return void 0};var Wr=r("H",(function(r,e){r.__stencil__getHostRef=function(){return e};e.t=r}));var qr=function(r,e){var n={i:0,$hostElement$:r,o:e,u:new Map};{n.l=new Promise((function(r){return n.v=r}))}{n.h=new Promise((function(r){return n.C=r}));r["s-p"]=[];r["s-rc"]=[]}var t=n;r.__stencil__getHostRef=function(){return t};return t};var Yr=function(r,e){return e in r};var Jr=function(r,e){return(0,console.error)(r,e)};var Xr=new Map;var Kr=function(r,n,t){var i=r.p.replace(/-/g,"_");var a=r.m;if(!a){return void 0}var o=Xr.get(a);if(o){return o[i]}
2
2
  /*!__STENCIL_STATIC_IMPORT_SWITCH__*/return e.import("./".concat(a,".entry.js").concat("")).then((function(r){{Xr.set(a,r)}return r[i]}),(function(r){Jr(r,n.$hostElement$)}))};var Qr=new Map;var re="{visibility:hidden}.hydrated{visibility:inherit}";var ee="slot-fb{display:contents}slot-fb[hidden]{display:none}";var ne="http://www.w3.org/1999/xlink";var te=typeof window!=="undefined"?window:{};var ie={i:0,_:"",jmp:function(r){return r()},raf:function(r){return requestAnimationFrame(r)},ael:function(r,e,n,t){return r.addEventListener(e,n,t)},rel:function(r,e,n,t){return r.removeEventListener(e,n,t)},ce:function(r,e){return new CustomEvent(r,e)}};var ae=function(r){Object.assign(ie,r)};var oe=function(){var r;var e=false;try{(r=te.document)==null?void 0:r.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(r){}return e}();var ue=r("p",(function(r){return Promise.resolve(r)}));var fe=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(r){}return false}();var le=false;var se=[];var ve=[];var ce=function(r,e){return function(n){r.push(n);if(!le){le=true;if(e&&ie.i&4){be(he)}else{ie.raf(he)}}}};var de=function(r){for(var e=0;e<r.length;e++){try{r[e](performance.now())}catch(r){Jr(r)}}r.length=0};var he=function(){de(se);{de(ve);if(le=se.length>0){ie.raf(he)}}};var be=function(r){return ue().then(r)};var Ce=r("V",ce(ve,true));var we=function(r){return r!=null&&r!==void 0};var pe=function(r){r=typeof r;return r==="object"||r==="function"};function ge(r){var e,n,t;return(t=(n=(e=r.head)==null?void 0:e.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?t:void 0}var me=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};var ye={};Fr(ye,{err:function(){return Le},map:function(){return je},ok:function(){return _e},unwrap:function(){return xe},unwrapErr:function(){return ke}});var _e=function(r){return{isOk:true,isErr:false,value:r}};var Le=function(r){return{isOk:false,isErr:true,value:r}};function je(r,e){if(r.isOk){var n=e(r.value);if(n instanceof Promise){return n.then((function(r){return _e(r)}))}else{return _e(n)}}if(r.isErr){var t=r.value;return Le(t)}throw"should never get here"}var xe=function(r){if(r.isOk){return r.value}else{throw r.value}};var ke=function(r){if(r.isErr){return r.value}else{throw r.value}};function Oe(r){var e=this.attachShadow({mode:"open"});if(fe){var n=new CSSStyleSheet;n.replaceSync(Dr);e.adoptedStyleSheets.push(n)}}var Ae=function(r){var e=$e(r,"childNodes");if(r.tagName&&r.tagName.includes("-")&&r["s-cr"]&&r.tagName!=="SLOT-FB"){Me(e,r.tagName).forEach((function(r){if(r.nodeType===1&&r.tagName==="SLOT-FB"){if(Se(r,Ze(r),false).length){r.hidden=true}else{r.hidden=false}}}))}var n=0;for(n=0;n<e.length;n++){var t=e[n];if(t.nodeType===1&&$e(t,"childNodes").length){Ae(t)}}};var He=function(r){var e=[];for(var n=0;n<r.length;n++){var t=r[n]["s-nr"]||void 0;if(t&&t.isConnected){e.push(t)}}return e};function Me(r,e,n){var t=0;var i=[];var a;for(;t<r.length;t++){a=r[t];if(a["s-sr"]&&(!e||a["s-hn"]===e)&&n===void 0){i.push(a)}i=__spreadArray(__spreadArray([],i,true),Me(a.childNodes,e,n),true)}return i}var Se=function(r,e,n){if(n===void 0){n=true}var t=[];if(n&&r["s-sr"]||!r["s-sr"])t.push(r);var i=r;while(i=i.nextSibling){if(Ze(i)===e&&(n||!i["s-sr"]))t.push(i)}return t};var Ie=function(r,e){if(r.nodeType===1){if(r.getAttribute("slot")===null&&e===""){return true}if(r.getAttribute("slot")===e){return true}return false}if(r["s-sn"]===e){return true}return e===""};var Ze=function(r){return typeof r["s-sn"]==="string"?r["s-sn"]:r.nodeType===1&&r.getAttribute("slot")||void 0};function Ve(r){if(r.assignedElements||r.assignedNodes||!r["s-sr"])return;var e=function(e){return function(r){var n=[];var t=this["s-sn"];if(r==null?void 0:r.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var i=this["s-cr"].parentElement;var a=i.__childNodes?i.childNodes:He(i.childNodes);a.forEach((function(r){if(t===Ze(r)){n.push(r)}}));if(e){return n.filter((function(r){return r.nodeType===1}))}return n}.bind(r)};r.assignedElements=e(true);r.assignedNodes=e(false)}function $e(r,e){if("__"+e in r){var n=r["__"+e];if(typeof n!=="function")return n;return n.bind(r)}else{if(typeof r[e]!=="function")return r[e];return r[e].bind(r)}}var Be=function(r,e){if(e===void 0){e=""}{return function(){return}}};var Te=function(r,e){{return function(){return}}};var Ne=r("M",(function(r,e){var n=[];for(var t=2;t<arguments.length;t++){n[t-2]=arguments[t]}var i=null;var a=null;var o=null;var u=false;var f=false;var l=[];var s=function(e){for(var n=0;n<e.length;n++){i=e[n];if(Array.isArray(i)){s(i)}else if(i!=null&&typeof i!=="boolean"){if(u=typeof r!=="function"&&!pe(i)){i=String(i)}if(u&&f){l[l.length-1].L+=i}else{l.push(u?Ee(null,i):i)}f=u}}};s(n);if(e){if(e.key){a=e.key}if(e.name){o=e.name}{var v=e.className||e.class;if(v){e.class=typeof v!=="object"?v:Object.keys(v).filter((function(r){return v[r]})).join(" ")}}}if(typeof r==="function"){return r(e===null?{}:e,l,Re)}var c=Ee(r,null);c.j=e;if(l.length>0){c.k=l}{c.O=a}{c.A=o}return c}));var Ee=function(r,e){var n={i:0,H:r,L:e,M:null,k:null};{n.j=null}{n.O=null}{n.A=null}return n};var Pe=r("N",{});var De=function(r){return r&&r.H===Pe};var Re={forEach:function(r,e){return r.map(Fe).forEach(e)},map:function(r,e){return r.map(Fe).map(e).map(Ue)}};var Fe=function(r){return{vattrs:r.j,vchildren:r.k,vkey:r.O,vname:r.A,vtag:r.H,vtext:r.L}};var Ue=function(r){if(typeof r.vtag==="function"){var e=__assign({},r.vattrs);if(r.vkey){e.key=r.vkey}if(r.vname){e.name=r.vname}return Ne.apply(void 0,__spreadArray([r.vtag,e],r.vchildren||[],false))}var n=Ee(r.vtag,r.vtext);n.j=r.vattrs;n.k=r.vchildren;n.O=r.vkey;n.A=r.vname;return n};var ze=function(r){var e=me(r);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(e,"))(").concat(e,"\\b)"),"g")};ze("::slotted");ze(":host");ze(":host-context");var Ge=function(r,e,n){if(r!=null&&!pe(r)){if(e&4){{return r==="false"?false:r===""||!!r}}if(e&2){return typeof r==="string"?parseFloat(r):typeof r==="number"?r:NaN}if(e&1){return String(r)}return r}return r};var We=r("O",(function(r){return Gr(r).$hostElement$}));var qe=r("P",(function(r,e,n){var t=We(r);return{emit:function(r){return Ye(t,e,{bubbles:true,composed:true,cancelable:true,detail:r})}}}));var Ye=function(r,e,n){var t=ie.ce(e,n);r.dispatchEvent(t);return t};var Je=new WeakMap;var Xe=function(r,e,n){var t=Qr.get(r);if(fe&&n){t=t||new CSSStyleSheet;if(typeof t==="string"){t=e}else{t.replaceSync(e)}}else{t=e}Qr.set(r,t)};var Ke=function(r,e,n){var t;var i=rn(e);var a=Qr.get(i);if(!te.document){return i}r=r.nodeType===11?r:te.document;if(a){if(typeof a==="string"){r=r.head||r;var o=Je.get(r);var u=void 0;if(!o){Je.set(r,o=new Set)}if(!o.has(i)){{u=te.document.createElement("style");u.innerHTML=a;var f=(t=ie.S)!=null?t:ge(te.document);if(f!=null){u.setAttribute("nonce",f)}if(!(e.i&1)){if(r.nodeName==="HEAD"){var l=r.querySelectorAll("link[rel=preconnect]");var s=l.length>0?l[l.length-1].nextSibling:r.querySelector("style");r.insertBefore(u,(s==null?void 0:s.parentNode)===r?s:null)}else if("host"in r){if(fe){var v=new CSSStyleSheet;v.replaceSync(a);r.adoptedStyleSheets=__spreadArray([v],r.adoptedStyleSheets,true)}else{var c=r.querySelector("style");if(c){c.innerHTML=a+c.innerHTML}else{r.prepend(u)}}}else{r.append(u)}}if(e.i&1){r.insertBefore(u,null)}}if(e.i&4){u.innerHTML+=ee}if(o){o.add(i)}}}else if(!r.adoptedStyleSheets.includes(a)){r.adoptedStyleSheets=__spreadArray(__spreadArray([],r.adoptedStyleSheets,true),[a],false)}}return i};var Qe=function(r){var e=r.o;var n=r.$hostElement$;var t=e.i;var i=Be("attachStyles",e.p);var a=Ke(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);if(t&10){n["s-sc"]=a;n.classList.add(a+"-h")}i()};var rn=function(r,e){return"sc-"+r.p};var en=function(r,e,n,t,i,a,o){if(n===t){return}var u=Yr(r,e);var f=e.toLowerCase();if(e==="class"){var l=r.classList;var s=tn(n);var v=tn(t);{l.remove.apply(l,s.filter((function(r){return r&&!v.includes(r)})));l.add.apply(l,v.filter((function(r){return r&&!s.includes(r)})))}}else if(e==="style"){{for(var c in n){if(!t||t[c]==null){if(c.includes("-")){r.style.removeProperty(c)}else{r.style[c]=""}}}}for(var c in t){if(!n||t[c]!==n[c]){if(c.includes("-")){r.style.setProperty(c,t[c])}else{r.style[c]=t[c]}}}}else if(e==="key");else if(e==="ref"){if(t){t(r)}}else if(!u&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"){e=e.slice(3)}else if(Yr(te,f)){e=f.slice(2)}else{e=f[2]+e.slice(3)}if(n||t){var d=e.endsWith(an);e=e.replace(on,"");if(n){ie.rel(r,e,n,d)}if(t){ie.ael(r,e,t,d)}}}else{var h=pe(t);if((u||h&&t!==null)&&!i){try{if(!r.tagName.includes("-")){var b=t==null?"":t;if(e==="list"){u=false}else if(n==null||r[e]!=b){if(typeof r.__lookupSetter__(e)==="function"){r[e]=b}else{r.setAttribute(e,b)}}}else if(r[e]!==t){r[e]=t}}catch(r){}}var C=false;{if(f!==(f=f.replace(/^xlink\:?/,""))){e=f;C=true}}if(t==null||t===false){if(t!==false||r.getAttribute(e)===""){if(C){r.removeAttributeNS(ne,e)}else{r.removeAttribute(e)}}}else if((!u||a&4||i)&&!h&&r.nodeType===1){t=t===true?"":t;if(C){r.setAttributeNS(ne,e,t)}else{r.setAttribute(e,t)}}}};var nn=/\s/;var tn=function(r){if(typeof r==="object"&&r&&"baseVal"in r){r=r.baseVal}if(!r||typeof r!=="string"){return[]}return r.split(nn)};var an="Capture";var on=new RegExp(an+"$");var un=function(r,e,n,t){var i=e.M.nodeType===11&&e.M.host?e.M.host:e.M;var a=r&&r.j||{};var o=e.j||{};{for(var u=0,f=fn(Object.keys(a));u<f.length;u++){var l=f[u];if(!(l in o)){en(i,l,a[l],void 0,n,e.i)}}}for(var s=0,v=fn(Object.keys(o));s<v.length;s++){var l=v[s];en(i,l,a[l],o[l],n,e.i)}};function fn(r){return r.includes("ref")?__spreadArray(__spreadArray([],r.filter((function(r){return r!=="ref"})),true),["ref"],false):r}var ln;var sn;var vn;var cn=false;var dn=false;var hn=false;var bn=false;var Cn=function(r,e,n){var t;var a=e.k[n];var o=0;var u;var f;var l;if(!cn){hn=true;if(a.H==="slot"){a.i|=a.k?2:1}}if(a.L!==null){u=a.M=te.document.createTextNode(a.L)}else if(a.i&1){u=a.M=te.document.createTextNode("");{un(null,a,bn)}}else{if(!bn){bn=a.H==="svg"}if(!te.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}u=a.M=te.document.createElementNS(bn?Ur:zr,!cn&&i.slotRelocation&&a.i&2?"slot-fb":a.H);if(bn&&a.H==="foreignObject"){bn=false}{un(null,a,bn)}if(we(ln)&&u["s-si"]!==ln){u.classList.add(u["s-si"]=ln)}if(a.k){for(o=0;o<a.k.length;++o){f=Cn(r,a,o);if(f){u.appendChild(f)}}}{if(a.H==="svg"){bn=false}else if(u.tagName==="foreignObject"){bn=true}}}u["s-hn"]=vn;{if(a.i&(2|1)){u["s-sr"]=true;u["s-cr"]=sn;u["s-sn"]=a.A||"";u["s-rf"]=(t=a.j)==null?void 0:t.ref;Ve(u);l=r&&r.k&&r.k[n];if(l&&l.H===a.H&&r.M){{wn(r.M,false)}}{An(sn,u,e.M,r==null?void 0:r.M)}}}return u};var wn=function(r,e){ie.i|=1;var n=Array.from(r.__childNodes||r.childNodes);for(var t=n.length-1;t>=0;t--){var i=n[t];if(i["s-hn"]!==vn&&i["s-ol"]){On(_n(i).parentNode,i,_n(i));i["s-ol"].remove();i["s-ol"]=void 0;i["s-sh"]=void 0;hn=true}if(e){wn(i,e)}}ie.i&=-2};var pn=function(r,e,n,t,i,a){var o=r["s-cr"]&&r["s-cr"].parentNode||r;var u;if(o.shadowRoot&&o.tagName===vn){o=o.shadowRoot}for(;i<=a;++i){if(t[i]){u=Cn(null,n,i);if(u){t[i].M=u;On(o,u,_n(e))}}}};var gn=function(r,e,n){for(var t=e;t<=n;++t){var i=r[t];if(i){var a=i.M;kn(i);if(a){{dn=true;if(a["s-ol"]){a["s-ol"].remove()}else{wn(a,true)}}a.remove()}}}};var mn=function(r,e,n,t,i){if(i===void 0){i=false}var a=0;var o=0;var u=0;var f=0;var l=e.length-1;var s=e[0];var v=e[l];var c=t.length-1;var d=t[0];var h=t[c];var b;var C;while(a<=l&&o<=c){if(s==null){s=e[++a]}else if(v==null){v=e[--l]}else if(d==null){d=t[++o]}else if(h==null){h=t[--c]}else if(yn(s,d,i)){Ln(s,d,i);s=e[++a];d=t[++o]}else if(yn(v,h,i)){Ln(v,h,i);v=e[--l];h=t[--c]}else if(yn(s,h,i)){if(s.H==="slot"||h.H==="slot"){wn(s.M.parentNode,false)}Ln(s,h,i);On(r,s.M,v.M.nextSibling);s=e[++a];h=t[--c]}else if(yn(v,d,i)){if(s.H==="slot"||h.H==="slot"){wn(v.M.parentNode,false)}Ln(v,d,i);On(r,v.M,s.M);v=e[--l];d=t[++o]}else{u=-1;{for(f=a;f<=l;++f){if(e[f]&&e[f].O!==null&&e[f].O===d.O){u=f;break}}}if(u>=0){C=e[u];if(C.H!==d.H){b=Cn(e&&e[o],n,u)}else{Ln(C,d,i);e[u]=void 0;b=C.M}d=t[++o]}else{b=Cn(e&&e[o],n,o);d=t[++o]}if(b){{On(_n(s.M).parentNode,b,_n(s.M))}}}}if(a>l){pn(r,t[c+1]==null?null:t[c+1].M,n,t,o,c)}else if(o>c){gn(e,a,l)}};var yn=function(r,e,n){if(n===void 0){n=false}if(r.H===e.H){if(r.H==="slot"){return r.A===e.A}if(!n){return r.O===e.O}if(n&&!r.O&&e.O){r.O=e.O}return true}return false};var _n=function(r){return r&&r["s-ol"]||r};var Ln=function(r,e,n){if(n===void 0){n=false}var t=e.M=r.M;var a=r.k;var o=e.k;var u=e.H;var f=e.L;var l;if(f===null){{bn=u==="svg"?true:u==="foreignObject"?false:bn}{un(r,e,bn)}if(a!==null&&o!==null){mn(t,a,e,o,n)}else if(o!==null){if(r.L!==null){t.textContent=""}pn(t,null,e,o,0,o.length-1)}else if(!n&&i.updatable&&a!==null){gn(a,0,a.length-1)}if(bn&&u==="svg"){bn=false}}else if(l=t["s-cr"]){l.parentNode.textContent=f}else if(r.L!==f){t.data=f}};var jn=[];var xn=function(r){var e;var n;var t;var i=r.__childNodes||r.childNodes;for(var a=0,o=i;a<o.length;a++){var u=o[a];if(u["s-sr"]&&(e=u["s-cr"])&&e.parentNode){n=e.parentNode.__childNodes||e.parentNode.childNodes;var f=u["s-sn"];var l=function(){e=n[t];if(!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==u["s-hn"]&&true){if(Ie(e,f)){var r=jn.find((function(r){return r.I===e}));dn=true;e["s-sn"]=e["s-sn"]||f;if(r){r.I["s-sh"]=u["s-hn"];r.Z=u}else{e["s-sh"]=u["s-hn"];jn.push({Z:u,I:e})}if(e["s-sr"]){jn.map((function(n){if(Ie(n.I,e["s-sn"])){r=jn.find((function(r){return r.I===e}));if(r&&!n.Z){n.Z=r.Z}}}))}}else if(!jn.some((function(r){return r.I===e}))){jn.push({I:e})}}};for(t=n.length-1;t>=0;t--){l()}}if(u.nodeType===1){xn(u)}}};var kn=function(r){{r.j&&r.j.ref&&r.j.ref(null);r.k&&r.k.map(kn)}};var On=function(r,e,n){if(typeof e["s-sn"]==="string"&&!!e["s-sr"]&&!!e["s-cr"]){An(e["s-cr"],e,r,e.parentElement)}{return r==null?void 0:r.insertBefore(e,n)}};function An(r,e,n,t){var i,a;var o;if(r&&typeof e["s-sn"]==="string"&&!!e["s-sr"]&&r.parentNode&&r.parentNode["s-sc"]&&(o=e["s-si"]||r.parentNode["s-sc"])){var u=e["s-sn"];var f=e["s-hn"];(i=n.classList)==null?void 0:i.add(o+"-s");if(t&&((a=t.classList)==null?void 0:a.contains(o+"-s"))){var l=(t.__childNodes||t.childNodes)[0];var s=false;while(l){if(l["s-sn"]!==u&&l["s-hn"]===f&&!!l["s-sr"]){s=true;break}l=l.nextSibling}if(!s)t.classList.remove(o+"-s")}}}var Hn=function(r,e,n){if(n===void 0){n=false}var t,i,a,o;var u=r.$hostElement$;var f=r.o;var l=r.V||Ee(null,null);var s=De(e);var v=s?e:Ne(null,null,e);vn=u.tagName;if(f.$){v.j=v.j||{};f.$.map((function(r){var e=r[0],n=r[1];return v.j[n]=u[e]}))}if(n&&v.j){for(var c=0,d=Object.keys(v.j);c<d.length;c++){var h=d[c];if(u.hasAttribute(h)&&!["key","ref","style","class"].includes(h)){v.j[h]=u[h]}}}v.H=null;v.i|=4;r.V=v;v.M=l.M=u.shadowRoot||u;{ln=u["s-sc"]}cn=!!(f.i&1)&&!(f.i&128);{sn=u["s-cr"];dn=false}Ln(l,v,n);{ie.i|=1;if(hn){xn(v.M);for(var b=0,C=jn;b<C.length;b++){var w=C[b];var p=w.I;if(!p["s-ol"]&&te.document){var g=te.document.createTextNode("");g["s-nr"]=p;On(p.parentNode,p["s-ol"]=g,p)}}for(var m=0,y=jn;m<y.length;m++){var w=y[m];var p=w.I;var _=w.Z;if(_){var L=_.parentNode;var j=_.nextSibling;{var g=(t=p["s-ol"])==null?void 0:t.previousSibling;while(g){var x=(i=g["s-nr"])!=null?i:null;if(x&&x["s-sn"]===p["s-sn"]&&L===(x.__parentNode||x.parentNode)){x=x.nextSibling;while(x===p||(x==null?void 0:x["s-sr"])){x=x==null?void 0:x.nextSibling}if(!x||!x["s-nr"]){j=x;break}}g=g.previousSibling}}var k=p.__parentNode||p.parentNode;var O=p.__nextSibling||p.nextSibling;if(!j&&L!==k||O!==j){if(p!==j){if(!p["s-hn"]&&p["s-ol"]){p["s-hn"]=p["s-ol"].parentNode.nodeName}On(L,p,j);if(p.nodeType===1&&p.tagName!=="SLOT-FB"){p.hidden=(a=p["s-ih"])!=null?a:false}}}p&&typeof _["s-rf"]==="function"&&_["s-rf"](_)}else{if(p.nodeType===1){if(n){p["s-ih"]=(o=p.hidden)!=null?o:false}p.hidden=true}}}}if(dn){Ae(v.M)}ie.i&=-2;jn.length=0}sn=void 0};var Mn=function(r,e){if(e&&!r.B&&e["s-p"]){var n=e["s-p"].push(new Promise((function(t){return r.B=function(){e["s-p"].splice(n-1,1);t()}})))}};var Sn=function(r,e){{r.i|=16}if(r.i&4){r.i|=512;return}Mn(r,r.T);var n=function(){return In(r,e)};return Ce(n)};var In=function(r,e){var n=r.$hostElement$;var t=Be("scheduleUpdate",r.o.p);var i=r.t;if(!i){throw new Error("Can't render component <".concat(n.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var a;if(e){{r.i|=256;if(r.N){r.N.map((function(r){var e=r[0],t=r[1];return En(i,e,t,n)}));r.N=void 0}}a=En(i,"componentWillLoad",void 0,n)}else{a=En(i,"componentWillUpdate",void 0,n)}a=Zn(a,(function(){return En(i,"componentWillRender",void 0,n)}));t();return Zn(a,(function(){return $n(r,i,e)}))};var Zn=function(r,e){return Vn(r)?r.then(e).catch((function(r){console.error(r);e()})):e()};var Vn=function(r){return r instanceof Promise||r&&r.then&&typeof r.then==="function"};var $n=function(r,e,t){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,u,f,l;return __generator(this,(function(s){i=r.$hostElement$;a=Be("update",r.o.p);o=i["s-rc"];if(t){Qe(r)}u=Be("render",r.o.p);{Bn(r,e,i,t)}if(o){o.map((function(r){return r()}));i["s-rc"]=void 0}u();a();{f=(n=i["s-p"])!=null?n:[];l=function(){return Tn(r)};if(f.length===0){l()}else{Promise.all(f).then(l);r.i|=4;f.length=0}}return[2]}))}))};var Bn=function(r,e,n,t){try{e=e.render();{r.i&=-17}{r.i|=2}{{{Hn(r,e,t)}}}}catch(e){Jr(e,r.$hostElement$)}return null};var Tn=function(r){var e=r.o.p;var n=r.$hostElement$;var t=Be("postUpdate",e);var i=r.t;var a=r.T;En(i,"componentDidRender",void 0,n);if(!(r.i&64)){r.i|=64;{Pn(n)}En(i,"componentDidLoad",void 0,n);t();{r.C(n);if(!a){Nn()}}}else{En(i,"componentDidUpdate",void 0,n);t()}{r.v(n)}{if(r.B){r.B();r.B=void 0}if(r.i&512){be((function(){return Sn(r,false)}))}r.i&=-517}};var Nn=function(r){be((function(){return Ye(te,"appload",{detail:{namespace:t}})}))};var En=function(r,e,n,t){if(r&&r[e]){try{return r[e](n)}catch(r){Jr(r,t)}}return void 0};var Pn=function(r){var e;return r.classList.add((e=i.hydratedSelectorName)!=null?e:"hydrated")};var Dn=function(r,e){return Gr(r).u.get(e)};var Rn=function(r,e,n,t){var i=Gr(r);if(!i){throw new Error("Couldn't find host element for \"".concat(t.p,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var a=i.$hostElement$;var o=i.u.get(e);var u=i.i;var f=i.t;n=Ge(n,t.P[e][0]);var l=Number.isNaN(o)&&Number.isNaN(n);var s=n!==o&&!l;if((!(u&8)||o===void 0)&&s){i.u.set(e,n);if(f){if(t.D&&u&128){var v=t.D[e];if(v){v.map((function(r){try{f[r](n,o,e)}catch(r){Jr(r,a)}}))}}if((u&(2|16))===2){if(f.componentShouldUpdate){if(f.componentShouldUpdate(n,o,e)===false){return}}Sn(i,false)}}}};var Fn=function(r,e,n){var t,a;var o=r.prototype;if(e.P||(e.D||r.watchers)){if(r.watchers&&!e.D){e.D=r.watchers}var u=Object.entries((t=e.P)!=null?t:{});u.map((function(r){var t=r[0],i=r[1][0];if(i&31||n&2&&i&32){var a=Object.getOwnPropertyDescriptor(o,t)||{},u=a.get,f=a.set;if(u)e.P[t][0]|=2048;if(f)e.P[t][0]|=4096;if(n&1||!u){Object.defineProperty(o,t,{get:function(){{if((e.P[t][0]&2048)===0){return Dn(this,t)}var r=Gr(this);var n=r?r.t:o;if(!n)return;return n[t]}},configurable:true,enumerable:true})}Object.defineProperty(o,t,{set:function(r){var a=this;var o=Gr(this);if(f){var u=i&32?this[t]:o.$hostElement$[t];if(typeof u==="undefined"&&o.u.get(t)){r=o.u.get(t)}else if(!o.u.get(t)&&u){o.u.set(t,u)}f.apply(this,[Ge(r,i)]);r=i&32?this[t]:o.$hostElement$[t];Rn(this,t,r,e);return}{if((n&1)===0||(e.P[t][0]&4096)===0){Rn(this,t,r,e);if(n&1&&!o.t){o.h.then((function(){if(e.P[t][0]&4096&&o.t[t]!==o.u.get(t)){o.t[t]=r}}))}return}var l=function(){var n=o.t[t];if(!o.u.get(t)&&n){o.u.set(t,n)}o.t[t]=Ge(r,i);Rn(a,t,o.t[t],e)};if(o.t){l()}else{o.h.then((function(){return l()}))}}}})}else if(n&1&&i&64){Object.defineProperty(o,t,{value:function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}var n;var i=Gr(this);return(n=i==null?void 0:i.l)==null?void 0:n.then((function(){var e;return(e=i.t)==null?void 0:e[t].apply(e,r)}))}})}}));if(n&1){var f=new Map;o.attributeChangedCallback=function(r,n,t){var a=this;ie.jmp((function(){var u;var l=f.get(r);if(a.hasOwnProperty(l)&&i.lazyLoad){t=a[l];delete a[l]}else if(o.hasOwnProperty(l)&&typeof a[l]==="number"&&a[l]==t){return}else if(l==null){var s=Gr(a);var v=s==null?void 0:s.i;if(v&&!(v&8)&&v&128&&t!==n){var c=s.t;var d=(u=e.D)==null?void 0:u[r];d==null?void 0:d.forEach((function(e){if(c[e]!=null){c[e].call(c,t,n,r)}}))}return}var h=Object.getOwnPropertyDescriptor(o,l);t=t===null&&typeof a[l]==="boolean"?false:t;if(t!==a[l]&&(!h.get||!!h.set)){a[l]=t}}))};r.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((a=e.D)!=null?a:{}),true),u.filter((function(r){var e=r[0],n=r[1];return n[0]&15})).map((function(r){var n=r[0],t=r[1];var i;var a=t[1]||n;f.set(a,n);if(t[0]&512){(i=e.$)==null?void 0:i.push([n,a])}return a})),true)))}}return r};var Un=function(r,e,t,i){return __awaiter(n,void 0,void 0,(function(){var n,i,a,o,u,f,l,s,v,c,d;return __generator(this,(function(h){switch(h.label){case 0:if(!((e.i&32)===0))return[3,6];e.i|=32;i=t.m;if(!i)return[3,4];a=Kr(t,e);if(!(a&&"then"in a))return[3,2];o=Te();return[4,a];case 1:n=h.sent();o();return[3,3];case 2:n=a;h.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t.p,"#").concat(e.R,'" was not found'))}if(!n.isProxied){{t.D=n.watchers}Fn(n,t,2);n.isProxied=true}u=Be("createInstance",t.p);{e.i|=8}try{new n(e)}catch(e){Jr(e,r)}{e.i&=-9}{e.i|=128}u();zn(e.t,r);return[3,5];case 4:n=r.constructor;f=r.localName;customElements.whenDefined(f).then((function(){return e.i|=128}));h.label=5;case 5:if(n&&n.style){l=void 0;if(typeof n.style==="string"){l=n.style}s=rn(t);if(!Qr.has(s)){v=Be("registerStyles",t.p);Xe(s,l,!!(t.i&1));v()}}h.label=6;case 6:c=e.T;d=function(){return Sn(e,true)};if(c&&c["s-rc"]){c["s-rc"].push(d)}else{d()}return[2]}}))}))};var zn=function(r,e){{En(r,"connectedCallback",void 0,e)}};var Gn=function(r){if((ie.i&1)===0){var e=Gr(r);var n=e.o;var t=Be("connectedCallback",n.p);if(!(e.i&1)){e.i|=1;{if(n.i&(4|8)){Wn(r)}}{var i=r;while(i=i.parentNode||i.host){if(i["s-p"]){Mn(e,e.T=i);break}}}if(n.P){Object.entries(n.P).map((function(e){var n=e[0],t=e[1][0];if(t&31&&r.hasOwnProperty(n)){var i=r[n];delete r[n];r[n]=i}}))}{be((function(){return Un(r,e,n)}))}}else{Xn(r,e,n.F);if(e==null?void 0:e.t){zn(e.t,r)}else if(e==null?void 0:e.h){e.h.then((function(){return zn(e.t,r)}))}}t()}};var Wn=function(r){if(!te.document){return}var e=r["s-cr"]=te.document.createComment("");e["s-cn"]=true;On(r,e,r.firstChild)};var qn=function(r,e){{En(r,"disconnectedCallback",void 0,e||r)}};var Yn=function(r){return __awaiter(n,void 0,void 0,(function(){var e;return __generator(this,(function(n){if((ie.i&1)===0){e=Gr(r);{if(e.U){e.U.map((function(r){return r()}));e.U=void 0}}if(e==null?void 0:e.t){qn(e.t,r)}else if(e==null?void 0:e.h){e.h.then((function(){return qn(e.t,r)}))}}if(Je.has(r)){Je.delete(r)}if(r.shadowRoot&&Je.has(r.shadowRoot)){Je.delete(r.shadowRoot)}return[2]}))}))};var Jn=r("b",(function(r,e){if(e===void 0){e={}}var n;if(!te.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var t=Be();var i=[];var a=e.exclude||[];var o=te.customElements;var u=te.document.head;var f=u.querySelector("meta[charset]");var l=te.document.createElement("style");var s=[];var v;var c=true;Object.assign(ie,e);ie._=new URL(e.resourcesUrl||"./",te.document.baseURI).href;var d=false;r.map((function(r){r[1].map((function(e){var n;var t={i:e[0],p:e[1],P:e[2],F:e[3]};if(t.i&4){d=true}{t.P=e[2]}{t.F=e[3]}{t.$=[]}{t.D=(n=e[4])!=null?n:{}}var u=t.p;var f=function(r){__extends(e,r);function e(e){var n=r.call(this,e)||this;n.hasRegisteredEventListeners=false;e=n;qr(e,t);if(t.i&1){{if(!e.shadowRoot){Oe.call(e,t)}else{if(e.shadowRoot.mode!=="open"){throw new Error("Unable to re-use existing shadow root for ".concat(t.p,"! Mode is set to ").concat(e.shadowRoot.mode," but Stencil only supports open shadow roots."))}}}}return n}e.prototype.connectedCallback=function(){var r=this;var e=Gr(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;Xn(this,e,t.F)}if(v){clearTimeout(v);v=null}if(c){s.push(this)}else{ie.jmp((function(){return Gn(r)}))}};e.prototype.disconnectedCallback=function(){var r=this;ie.jmp((function(){return Yn(r)}));ie.raf((function(){var e;var n=Gr(r);var t=s.findIndex((function(e){return e===r}));if(t>-1){s.splice(t,1)}if(((e=n==null?void 0:n.V)==null?void 0:e.M)instanceof Node&&!n.V.M.isConnected){delete n.V.M}}))};e.prototype.componentOnReady=function(){return Gr(this).h};return e}(HTMLElement);t.m=r[0];if(!a.includes(u)&&!o.get(u)){i.push(u);o.define(u,Fn(f,t,1))}}))}));if(i.length>0){if(d){l.textContent+=ee}{l.textContent+=i.sort()+re}if(l.innerHTML.length){l.setAttribute("data-styles","");var h=(n=ie.S)!=null?n:ge(te.document);if(h!=null){l.setAttribute("nonce",h)}u.insertBefore(l,f?f.nextSibling:u.firstChild)}}c=false;if(s.length){s.map((function(r){return r.connectedCallback()}))}else{{ie.jmp((function(){return v=setTimeout(Nn,30)}))}}t()}));var Xn=function(r,e,n,t){if(n&&te.document){n.map((function(n){var t=n[0],i=n[1],a=n[2];var o=Qn(te.document,r,t);var u=Kn(e,a);var f=rt(t);ie.ael(o,i,u,f);(e.U=e.U||[]).push((function(){return ie.rel(o,i,u,f)}))}))}};var Kn=function(r,e){return function(n){var t;try{{if(r.i&256){(t=r.t)==null?void 0:t[e](n)}else{(r.N=r.N||[]).push([e,n])}}}catch(e){Jr(e,r.$hostElement$)}}};var Qn=function(r,e,n){if(n&4){return r}if(n&8){return te}return e};var rt=function(r){return oe?{passive:(r&1)!==0,capture:(r&2)!==0}:(r&2)!==0};var et=r("s",(function(r){return ie.S=r}))}}}));